The bond contract allows users to deposit 2 tokens in a 1:1 ratio, and deposits those tokens into two separate strategy contracts, one per deposit denom.
Initializes the contract with required assets and contracts used for strategies.
{
"owner": "wasm...",
"asset_infos": "[native_token:{denom:ATOM}, native_token:{denom:OSMO},]",
"strategy_infos": ["wasm...", "wasm..."],
}
Deposit allow user to deposit the assets in ration 1:1.
{
"deposit": {
"assets":["ATOM","OSMO"]
}
}
Bond not yet bonded assets to strategies in 1:1 ratio.
{
"bond": {}
}
StartUnbond allow user to start ubond proces of the bonded assets.
{
"start_unbond": {
"id": "...",
"amount": 123
}
}
Unbond allow user to unbond assets provided in StartUnbond after lock period is reached.
{
"unbond": {
"id": "..."
}
}