EOS

defisswapcnt

Contract

{ "version": "eosio::abi/1.1", "types": [], "structs": [ { "name": "cancel", "base": "", "fields": [ { "name": "user", "type": "name" } ] }, { "name": "deposit", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "mid", "type": "uint64" } ] }, { "name": "liquidity", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "token", "type": "uint64" } ] }, { "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": "newmarket", "base": "", "fields": [ { "name": "mid", "type": "uint64" }, { "name": "contract0", "type": "name" }, { "name": "contract1", "type": "name" }, { "name": "sym0", "type": "symbol" }, { "name": "sym1", "type": "symbol" } ] }, { "name": "order", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "mid", "type": "uint64" }, { "name": "quantity0", "type": "asset" }, { "name": "quantity1", "type": "asset" } ] }, { "name": "withdraw", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "mid", "type": "uint64" }, { "name": "amount", "type": "uint64" } ] } ], "actions": [ { "name": "cancel", "type": "cancel", "ricardian_contract": "" }, { "name": "deposit", "type": "deposit", "ricardian_contract": "" }, { "name": "newmarket", "type": "newmarket", "ricardian_contract": "" }, { "name": "withdraw", "type": "withdraw", "ricardian_contract": "" } ], "tables": [ { "name": "liquidity", "index_type": "i64", "key_names": [], "key_types": [], "type": "liquidity" }, { "name": "markets", "index_type": "i64", "key_names": [], "key_types": [], "type": "market" }, { "name": "orders", "index_type": "i64", "key_names": [], "key_types": [], "type": "order" } ], "ricardian_clauses": [], "error_messages": [], "abi_extensions": [], "variants": [], "action_results": [] }