base
Links
- Deployments:
- Types:
- Rust:
- Typescript:
- Contract repo:
- Audits: https://github.com/mars-protocol/mars-audits
InstantiateMsg
_3{_3 "owner": "string"_3}
ExecuteMsg
update_owner
_3{_3 "update_owner": OwnerUpdate_3}
OwnerUpdate
_14| {_14 "propose_new_owner": {_14 "proposed": "string"_14 }_14 }_14| "clear_proposed"_14| "accept_proposed"_14| "abolish_owner_role"_14| {_14 "set_emergency_owner": {_14 "emergency_owner": "string"_14 }_14 }_14| "clear_emergency_owner"
set_route
_7{_7 "set_route": {_7 "denom_in": "string",_7 "denom_out": "string",_7 "route": <Route>_7 }_7}
swap_exact_in
_7{_7 "swap_exact_in": {_7 "coin_in": Coin,_7 "denom_out": "string",_7 "slippage": "Decimal"_7 }_7}
Coin
_4{_4 "amount": "Uint128",_4 "denom": "string"_4}
transfer_result
_7{_7 "transfer_result": {_7 "denom_in": "string",_7 "denom_out": "string",_7 "recipient": "Addr"_7 }_7}
QueryMsg
owner
_3{_3 "owner": {}_3}
route
_6{_6 "route": {_6 "denom_in": "string",_6 "denom_out": "string"_6 }_6}
routes
_6{_6 "routes": {_6 "limit"?: number | null,_6 "start_after"?: ["string", "string"] | null_6 }_6}
estimate_exact_in_swap
_6{_6 "estimate_exact_in_swap": {_6 "coin_in": Coin,_6 "denom_out": "string"_6 }_6}
Coin
See above.