base
Base zapper
contract.
Links
- Deployments: https://github.com/mars-protocol/rover/tree/master/scripts/deploy/addresses
- Types:
- Contract repo: https://github.com/mars-protocol/rover/blob/master/contracts/v2-zapper/base/src/contract.rs
- Audits: https://github.com/mars-protocol/mars-audits/tree/main/rover
InstantiateMsg
_1interface InstantiateMsg {}
ExecuteMsg
provide_liquidity
_7{_7 "provide_liquidity": {_7 "lp_token_out": "string",_7 "minimum_receive": "Uint128",_7 "recipient"?: "string" | null_7 }_7}
withdraw_liquidity
_6{_6 "withdraw_liquidity": {_6 "minimum_receive": Coin[],_6 "recipient"?: "string" | null_6 }_6}
Coin
_4{_4 "amount": "Uint128",_4 "denom": "string"_4}
callback
_3{_3 "callback": CallbackMsg_3}
CallbackMsg
_6{_6 "return_coin": {_6 "balance_before": Coin,_6 "recipient": "Addr"_6 }_6}
Coin
See above.
QueryMsg
estimate_provide_liquidity
_6{_6 "estimate_provide_liquidity": {_6 'coins_in': Coin[],_6 "lp_token_out": "string"_6 }_6}
Coin
See above.
estimate_withdraw_liquidity
_5{_5 "estimate_withdraw_liquidity": {_5 "coin_in": Coin_5 }_5}
Coin
See above.