Skip to content

erisprotocol/contracts-terra

 
 

Repository files navigation

Eris Amplified Staking

Terra liquid staking derivative. Of the community, by the community, for the community.

The version (v1.1.1) of the Eris Amplifier Hub + Token is audited by SCV Security (link).

Also a previous version (v1.0.0-rc0) of Steak was audited by SCV Security (link).

Contracts

Contract Description
erist-staking-hub Manages minting/burning of ampLUNA token and bonded Luna
eris-staking-token Modified CW20 token contract

Deployment

Mainnet

Contract Address
Eris Staking Hub terra10788fkzah89xrdm27zkj5yvhj9x3494lxawzm5qq3vvxcqz2yzaqyd3enk
Eris Liquid Staking Token terra1ecgazyd0waaj3g7l9cmy5gulhxkps2gmxu9ghducvuypjq68mq2s5lvsct
ampLUNA-LUNA Pair terra1ccxwgew8aup6fysd7eafjzjz6hw89n40h273sgu3pl4lxrajnk5st2hvfh
ampLUNA-LUNA LP Token terra1eh2aulwsyc9m45ggeznav402xcck4ll0yn0xgtlxyf4zkwch7juqsxvfzr

Testnet

Contract Address
Eris Staking Hub terra1cgurv08h780ygh3a4l2tjtxndksywskxp4mypkazuuazqas5m8kqleeupz
Eris Liquid Staking Token terra1ucfhdxddqs37lkfpv5lze7lr73lf90jy7zcjppredcxc3v2pgakqppaflr
ampLUNA-LUNA Pair terra14lr9zdfn0d5gxjwafh3mg5nrrculj4dndunynve452zws2lzyd3smx46ta
ampLUNA-LUNA LP Token terra1evucal9yqpa9fcgvfdengy7vldrgsa623900f6s6605dwnf4qpnqke06cc

Building

For interacting with the smart contract clone https://github.com/erisprotocol/liquid-staking-scripts into the same parent folder.

Changes

  • Renaming
  • Update to CosmWasm 1.0.0
  • added a reward fee for running the protocol
  • added schema generation
  • added a more detailed unbonding query
  • Fixed an issue in reconciliation when the expected Luna was correct the unbinding queue items were not marked reconciled
  • move scripts to another repository, so that the repo of the smart contracts will not be touched as much https://github.com/erisprotocol/liquid-staking-scripts

Changelog

Hub Version 1.1.0

  • Support new execute operation "donate" to add LUNA without minting ampLUNA. Will be used to increase the exchange_rate
  • Extended "state" query to include the full tvl in uluna.
  • Added migration version handling

Hub Version 1.1.1

  • Integrate audit feedback

WARNINGS

Amp Compounder/Compound Proxy - ERIS Zapper

This contract never holds any funds after an execution. Do not send funds to the contract without providing the right ExecuteMsg. Funds can and will get lost if they are sent to the contract with a normal MsgSend operation.

License

Part of the contents of this repository are open source under GNU General Public License v3 or later.

Part of the repository (amp-compounder) is a fork from https://github.com/spectrumprotocol/spectrum-core and is licensed under Apache v2.

Part of the repository (arb-vault) is not licensed and not allowed to be used in other products or projects.

About

Liquid staking protocol for Terra 2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.7%
  • Other 0.3%