
The data structures defined by this contract.
-
{ "name": "calculate", "base": "", "fields": [] }
-
{ "name": "create", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "sym", "type": "symbol" }, { "name": "mid", "type": "uint64" }, { "name": "epoch_time", "type": "uint32" }, { "name": "duration", "type": "uint32" }, { "name": "min_feed", "type": "asset" } ] }
-
{ "name": "market", "base": "", "fields": [ { "name": "mid", "type": "uint64" }, { "name": "contract0", "type": "name" }, { "name": "contract1", "type": "name" }, { "name": "sym0", "type": "symbol" }, { "name": "sym1", "type": "symbol" }, { "name": "reserve0", "type": "asset" }, { "name": "reserve1", "type": "asset" }, { "name": "liquidity_token", "type": "uint64" }, { "name": "price0_last", "type": "float64" }, { "name": "price1_last", "type": "float64" }, { "name": "price0_cumulative_last", "type": "uint64" }, { "name": "price1_cumulative_last", "type": "uint64" }, { "name": "last_update", "type": "time_point_sec" } ] }
-
{ "name": "miner", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "feed", "type": "asset" } ] }
-
{ "name": "pool", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "mid", "type": "uint64" }, { "name": "contract", "type": "name" }, { "name": "sym", "type": "symbol" }, { "name": "total_feed", "type": "asset" }, { "name": "epoch_time", "type": "uint32" }, { "name": "duration", "type": "uint32" }, { "name": "min_feed", "type": "asset" } ] }
-
{ "name": "power", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "amount", "type": "uint64" } ] }
-
{ "name": "update", "base": "", "fields": [ { "name": "pool_id", "type": "uint64" }, { "name": "user", "type": "name" } ] }