LogoLogo
TwitterDiscordGitHubMedium
  • Introduction
    • About Tetu
    • Links
      • DeFi Integrations
    • Team
  • Protocol
    • Products
    • Tokenomics
    • Governance
      • Past governance proposals
    • Tetu FAQ
  • Tetu v1
    • Yield Farming
      • Strategies
        • Simple rewards farming
        • Single Asset Autocompound
        • Multi Strategy v2
          • AMB v1
        • tetuQi
        • tetuBAL
        • Tetu Boosted Pools
        • tetuMESH
      • SmartVault
      • Tetu Zap Solution
      • Strategy Splitter
      • Vault Shares
      • HardWorks
      • Reward Boosting System
  • Tetu v2
    • Introduction
    • veTETU
      • Utility
    • Delta-neutral strategies
    • Voting System
    • TetuVault V2
    • Security
    • Learning Station
  • PAWNSHOP
    • Introduction & Features
  • Technical
    • Updates
      • Tetu.io contracts update 1.1.0
      • Tetu.io contracts update 1.2.0
      • Tetu.io contracts update 1.3.0
      • Tetu.io contracts update 1.4.0
      • Tetu.io contracts update 1.5.0
      • Tetu.io contracts update 1.6.0
      • Tetu.io contracts update 1.7.0
    • Addresses
    • Security Overview
      • Tetu EOA Protection
      • Multi Sig
      • Time Lock
      • Pausing
      • Guides
      • Bug Bounty Program
      • Audits
  • Second Stage
  • Tetu' Second Stage
    • Investment Fund
  • Archive
  • Old Sections
    • Profit Sharing Pool xTETU
      • Protocol Owned Liquidity
    • Diamond Vault dxTETU
    • Fantom Addresses
    • Folding Strategies
    • LP incentives
    • xtetuQI
    • TetuSwap
      • Fees
    • APR calculation
Powered by GitBook
On this page
  • Base contracts
  • SlotsLib
  • TetuProxyControlled
  • TetuProxyGov
  • Announcer
  • Bookkeeper
  • Controllable
  • Controller
  • ForwarderV2
  • FundKeeper
  • VaultController
  • ProxyStrategyBase
  • StrategyBase
  • Strategies
  • BalStaking
  • MarketStrategy
  • AMB strategy
  • MB Strategy

Was this helpful?

Export as PDF
  1. Technical
  2. Updates

Tetu.io contracts update 1.6.0

These changes were made since version 1.5.0 and deployed during March-April 2022

Huge changes were made for moving OpenZappeling contracts to a local directory and implementing ControllableV2 for base contracts. These changes were needed for cheaper gas usage on ethereum.

https://github.com/tetu-io/tetu-contracts/compare/release-1.5.0...release-1.6.0

Base contracts

SlotsLib

A solution for managing contracts slots directly using byte32

TetuProxyControlled

Added additional protection. Now able to set implementation only with Controllable inheritance.

TetuProxyGov

The same controllable protection.

Announcer

Adopted for ControllableV2

Bookkeeper

Adopted for ControllableV2. Removed SafeMath.

Controllable

Replace OZ lib with a local file.

Controller

Adopted for ControllableV2.

ForwarderV2

Adopted for ControllableV2. OZ libs moved to local. Implemented temporally shortcut for BAL liquidation through Balancer pool.

FundKeeper

Adopted for ControllableV2. OZ libs moved to local.

VaultController

Adopted for ControllableV2. OZ libs moved to local.

ProxyStrategyBase

Added setBuyBackRatio

StrategyBase

OZ libs moved to local. Removed SafeMath.

Strategies

Minor changes for all strategies - moved OZ libs to local, rename some variables, removed SafeMath. Changed buyback ratio for some strategies.

BalStaking

A new solution for cross-chain farming ve tokens.

MarketStrategy

A solution for decompound supply profit for market.xyz

AMB strategy

Moved all contracts to proxies. Fixed some issues.

MB Strategy

Strategy for farming any assets on QiDAO. A part of AMB logic (without AAVE pipe)

PreviousTetu.io contracts update 1.5.0NextTetu.io contracts update 1.7.0

Last updated 3 years ago

Was this helpful?