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 contract changes
  • Infrastucture contract changes

Was this helpful?

Export as PDF
  1. Technical
  2. Updates

Tetu.io contracts update 1.1.0

PreviousUpdatesNextTetu.io contracts update 1.2.0

Last updated 3 years ago

Was this helpful?

The goal of the update adds reward boost functionality and prepare contracts for the Zapping solution.

Contract addresses:

new announcer logic - 0x12e4a470Ed725a0450D543C41006DA678809B2b8

new controller logic - 0x2B2105f79d91196091502476d7F00d482d223Db3

vault controller - 0xC5b3aF6FB4b2ff14642e337F41B86C9494f70b43

new vaultLogic - 0x52646dfb3E1D540D85DC32223A220a6F9c7eD759

Changes

Base contract changes

Announcer

Added announce function for single uint256 variables

Added announce function for stopping vaults

Fixed minor bug for the clear announces function. Now clear announce don't change array ordering and opHash code for multiple announces can be fetched normally.

The clear function is now able to call for DAO address.

Controller

Moved changeVaultsStatuses, addRewardTokens, removeRewardTokens functions to VaultController. The reason - space in the controller ended.

Added VaultController address functionality

Added recipient address for controllerTokenMove function - require for moving tokens from disabled vaults directly to NotifyHelper

New contract - VaultController + VaultControllerStorage

Similar contract as Controller.

Will contain governance functions specified for vaults.

Old non-time-locked functions: changeVaultsStatuses, addRewardTokens, removeRewardTokens

New time-locked function: setRewardBoostDuration, setRewardRatioWithoutBoost, stopVault

SmartVault

Boost Reward functionality added.

Functions: changeActivityStatus, addRewardToken, removeRewardToken now able to call only from VaultController.

Added to function: notifyTargetRewardAmount additional overflow checking.

Added stop function. This action will move all reward tokens to the controller contract.

Infrastucture contract changes

Added new contracts ZapContract and MultiSwap

More details in

https://github.com/tetu-io/tetu-contracts/compare/release-1.0.0...release-1.1.0
Tetu Zap Solution