
The data structures defined by this contract.
-
{ "name": "claim", "base": "", "fields": [ { "name": "account", "type": "name" } ] }
-
{ "name": "init", "base": "", "fields": [] }
Action parameter in liquiditylog
{ "name": "liquiditylog", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "liquidity_id", "type": "uint64" }, { "name": "type", "type": "string" }, { "name": "in_token", "type": "token_t" }, { "name": "out_token", "type": "token_t" }, { "name": "in_asset", "type": "asset" }, { "name": "out_asset", "type": "asset" }, { "name": "liquidity_token", "type": "uint64" }, { "name": "in_balance", "type": "asset" }, { "name": "out_balance", "type": "asset" }, { "name": "balance_ltoken", "type": "uint64" } ] }
Action parameter in minemarket
{ "name": "minemarket", "base": "", "fields": [ { "name": "round_id", "type": "uint64" } ] }
Action parameter in minemarkets
{ "name": "minemarkets", "base": "", "fields": [] }
-
{ "name": "mineswap", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "quantity", "type": "asset" } ] }
Action parameter in newliquidity
{ "name": "newliquidity", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "token1", "type": "token_t" }, { "name": "token2", "type": "token_t" } ] }
-
{ "name": "oauth", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "status", "type": "uint8" } ] }
Table row type of account
{ "name": "st_defi_account", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "quantity", "type": "uint64[]" }, { "name": "market_quantity", "type": "uint64[]" }, { "name": "swap_quantity", "type": "asset" }, { "name": "mine_quantity", "type": "asset" }, { "name": "market_round", "type": "uint64" }, { "name": "timestamp", "type": "uint64" }, { "name": "oauth", "type": "uint8" } ] }
Table row type of config
{ "name": "st_defi_config", "base": "", "fields": [ { "name": "swap_time", "type": "uint64" }, { "name": "swap_quantity", "type": "uint64" }, { "name": "swap_suply", "type": "uint64" }, { "name": "swap_counter", "type": "uint64" }, { "name": "swap_issue", "type": "uint64" }, { "name": "market_suply", "type": "uint64[]" }, { "name": "market_time", "type": "uint64" }, { "name": "last_swap_suply", "type": "uint64" }, { "name": "market_quantity", "type": "uint64[]" }, { "name": "market_issue", "type": "uint64" } ] }
Table row type of market
{ "name": "st_defi_market", "base": "", "fields": [ { "name": "round", "type": "uint64" }, { "name": "amount", "type": "uint64" }, { "name": "quantity", "type": "uint64[]" }, { "name": "total", "type": "uint64" }, { "name": "executed", "type": "uint64" }, { "name": "timestamp", "type": "uint64" } ] }
Table row type of defipools
{ "name": "st_defi_pools", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "liquidity_token", "type": "uint64" }, { "name": "quantity1", "type": "asset" }, { "name": "quantity2", "type": "asset" }, { "name": "timestamp", "type": "uint64" } ] }
Table row type of round
{ "name": "st_defi_round", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "account", "type": "name" }, { "name": "round_id", "type": "uint64" }, { "name": "amount", "type": "uint64" } ] }
-
{ "name": "token_t", "base": "", "fields": [ { "name": "address", "type": "name" }, { "name": "symbol", "type": "symbol" } ] }
Action parameter in updateweight
{ "name": "updateweight", "base": "", "fields": [ { "name": "liquidity_id", "type": "uint64" }, { "name": "type", "type": "uint64" }, { "name": "weight", "type": "float32" } ] }
-
{ "name": "upgrade", "base": "", "fields": [] }