sidebar_position |
---|
2 |
{
"create_credit_account": "default"
}
{
"update_credit_account": {
"account_id": "number",
"actions": [
{
"deposit": {
"denom": "uosmo",
"amount": "number"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "number",
"actions": [
{
"deposit": {
"denom": "uosmo",
"amount": "number"
}
},
{
"lend": {
"denom": "uosmo",
"amount": "account_balance"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"withdraw": {
"denom": "uosmo",
"amount": {
"exact": "63793713"
}
}
}
]
}
}
{
"update_credit_account": {
"account_id": "number",
"actions": [
{
"lend": {
"denom": "string",
"amount": {
"exact": "number"
}
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"reclaim": {
"denom": "uosmo",
"amount": {
"exact": "165163425"
}
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"borrow": {
"denom": "uosmo",
"amount": "663131255"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"borrow": {
"denom": "uosmo",
"amount": "179045439"
}
},
{
"withdraw": {
"denom": "uosmo",
"amount": {
"exact": "179045439"
}
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"repay": {
"coin": {
"denom": "uosmo",
"amount": {
"exact": "497354158"
}
}
}
}
]
}
}
{
"update_credit_account": {
"account_id": "number",
"actions": [
{
"swap_exact_in": {
"coin_in": {
"denom": "string",
"amount": {
"exact": "number"
}
},
"denom_out": "string",
"slippage": "0.02"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "22",
"actions": [
{
"borrow": {
"denom": "stablecoin address",
"amount": "number"
}
},
{
"swap_exact_in": {
"coin_in": {
"denom": "stablecoin address",
"amount": {
"exact": "number"
}
},
"denom_out": "long asset",
"slippage": "0.02"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "22",
"actions": [
{
"borrow": {
"denom": "short asset",
"amount": "number"
}
},
{
"swap_exact_in": {
"coin_in": {
"denom": "short asset",
"amount": {
"exact": "number"
}
},
"denom_out": "stabecoin address",
"slippage": "0.02"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"swap_exact_in": {
"coin_in": {
"denom": "uosmo",
"amount": {
"exact": "94983584"
}
},
"denom_out": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"slippage": "0.02"
}
},
{
"lend": {
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": "account_balance"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"reclaim": {
"denom": "uosmo",
"amount": {
"exact": "94983584"
}
}
},
{
"swap_exact_in": {
"coin_in": {
"denom": "uosmo",
"amount": {
"exact": "94983584"
}
},
"denom_out": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"slippage": "0.02"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"borrow": {
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": "39671962"
}
},
{
"swap_exact_in": {
"coin_in": {
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": {
"exact": "39671962"
}
},
"denom_out": "uosmo",
"slippage": "0.02"
}
},
{
"lend": {
"denom": "uosmo",
"amount": "account_balance"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"borrow": {
"denom": "uosmo",
"amount": "343368619"
}
},
{
"swap_exact_in": {
"coin_in": {
"denom": "uosmo",
"amount": {
"exact": "531474119"
}
},
"denom_out": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"slippage": "0.02"
}
},
{
"lend": {
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": "account_balance"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"provide_liquidity": {
"coins_in": [
{
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": {
"exact": "38928713"
}
},
{
"denom": "uosmo",
"amount": {
"exact": "120072695"
}
}
],
"lp_token_out": "gamm/pool/678",
"slippage": "0.02"
}
},
{
"enter_vault": {
"coin": {
"denom": "gamm/pool/678",
"amount": "account_balance"
},
"vault": {
"address": "osmo1jfmwayj8jqp9tfy4v4eks5c2jpnqdumn8x8xvfllng0wfes770qqp7jl4j"
}
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"borrow": {
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": "242378470"
}
},
{
"swap_exact_in": {
"coin_in": {
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": {
"exact": "121189235"
}
},
"denom_out": "uosmo",
"slippage": "0.02"
}
},
{
"provide_liquidity": {
"coins_in": [
{
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": {
"exact": "144599161"
}
},
{
"denom": "uosmo",
"amount": {
"exact": "446005258"
}
}
],
"lp_token_out": "gamm/pool/678",
"slippage": "0.02"
}
},
{
"enter_vault": {
"coin": {
"denom": "gamm/pool/678",
"amount": "account_balance"
},
"vault": {
"address": "osmo1jfmwayj8jqp9tfy4v4eks5c2jpnqdumn8x8xvfllng0wfes770qqp7jl4j"
}
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"request_vault_unlock": {
"vault": {
"address": "osmo1jfmwayj8jqp9tfy4v4eks5c2jpnqdumn8x8xvfllng0wfes770qqp7jl4j"
},
"amount": "37601963208325379423921404"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"provide_liquidity": {
"coins_in": [
{
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": {
"exact": "38928713"
}
},
{
"denom": "uosmo",
"amount": {
"exact": "120072695"
}
}
],
"lp_token_out": "gamm/pool/678",
"slippage": "0.02"
}
},
{
"enter_vault": {
"coin": {
"denom": "gamm/pool/678",
"amount": "account_balance"
},
"vault": {
"address": "osmo1jfmwayj8jqp9tfy4v4eks5c2jpnqdumn8x8xvfllng0wfes770qqp7jl4j"
}
}
},
{
"borrow": {
"denom": "stablecoin address",
"amount": "number"
}
},
{
"swap_exact_in": {
"coin_in": {
"denom": "stablecoin address",
"amount": {
"exact": "number"
}
},
"denom_out": "long asset",
"slippage": "0.02"
}
}
]
}
}
{
"update_credit_account": {
"account_id": "24",
"actions": [
{
"provide_liquidity": {
"coins_in": [
{
"denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
"amount": {
"exact": "38928713"
}
},
{
"denom": "uosmo",
"amount": {
"exact": "120072695"
}
}
],
"lp_token_out": "gamm/pool/678",
"slippage": "0.02"
}
},
{
"enter_vault": {
"coin": {
"denom": "gamm/pool/678",
"amount": "account_balance"
},
"vault": {
"address": "osmo1jfmwayj8jqp9tfy4v4eks5c2jpnqdumn8x8xvfllng0wfes770qqp7jl4j"
}
}
},
{
"borrow": {
"denom": "stablecoin address",
"amount": "number"
}
},
{
"swap_exact_in": {
"coin_in": {
"denom": "stablecoin address",
"amount": {
"exact": "number"
}
},
"denom_out": "long asset",
"slippage": "0.02"
}
},
{
"lend": {
"denom": "string",
"amount": {
"exact": "number"
}
}
}
]
}
}