{
"version": "eosio::abi/1.1",
"types": [],
"structs": [
{
"name": "createpair",
"base": "",
"fields": [
{
"name": "creator",
"type": "name"
},
{
"name": "token0",
"type": "extended_symbol"
},
{
"name": "token1",
"type": "extended_symbol"
}
]
},
{
"name": "deposit",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "quantity0",
"type": "asset"
},
{
"name": "quantity1",
"type": "asset"
}
]
},
{
"name": "extended_symbol",
"base": "",
"fields": [
{
"name": "sym",
"type": "symbol"
},
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "global",
"base": "",
"fields": [
{
"name": "contract_status",
"type": "uint8"
},
{
"name": "mine_status",
"type": "uint8"
},
{
"name": "trade_fee",
"type": "uint8"
},
{
"name": "protocol_fee",
"type": "uint8"
}
]
},
{
"name": "modifyfees",
"base": "",
"fields": [
{
"name": "trade_fee",
"type": "uint8"
},
{
"name": "protocol_fee",
"type": "uint8"
}
]
},
{
"name": "modifystatus",
"base": "",
"fields": [
{
"name": "contract_status",
"type": "uint8"
},
{
"name": "mine_status",
"type": "uint8"
}
]
},
{
"name": "pair",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "code",
"type": "symbol_code"
},
{
"name": "token0",
"type": "extended_symbol"
},
{
"name": "token1",
"type": "extended_symbol"
},
{
"name": "reserve0",
"type": "asset"
},
{
"name": "reserve1",
"type": "asset"
},
{
"name": "total_liquidity",
"type": "uint64"
},
{
"name": "last_update_time",
"type": "uint32"
},
{
"name": "create_time",
"type": "uint32"
}
]
},
{
"name": "refund",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "pair_id",
"type": "uint64"
}
]
},
{
"name": "removepair",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
}
]
}
],
"actions": [
{
"name": "createpair",
"type": "createpair",
"ricardian_contract": ""
},
{
"name": "modifyfees",
"type": "modifyfees",
"ricardian_contract": ""
},
{
"name": "modifystatus",
"type": "modifystatus",
"ricardian_contract": ""
},
{
"name": "refund",
"type": "refund",
"ricardian_contract": ""
},
{
"name": "removepair",
"type": "removepair",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "deposits",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "deposit"
},
{
"name": "global",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "global"
},
{
"name": "pairs",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "pair"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}