{
"version": "eosio::abi/1.1",
"types": [],
"structs": [
{
"name": "addinpath",
"base": "",
"fields": [
{
"name": "in_token_id",
"type": "uint64"
},
{
"name": "out_token_id",
"type": "uint64"
},
{
"name": "swap_path",
"type": "string"
}
]
},
{
"name": "addintoken",
"base": "",
"fields": [
{
"name": "token_id",
"type": "uint64"
},
{
"name": "weight",
"type": "uint16"
}
]
},
{
"name": "addtoken",
"base": "",
"fields": [
{
"name": "creator",
"type": "name"
},
{
"name": "contract",
"type": "name"
},
{
"name": "sym_code",
"type": "symbol_code"
},
{
"name": "logo_url",
"type": "string"
},
{
"name": "is_white_coin",
"type": "bool"
}
]
},
{
"name": "balances",
"base": "",
"fields": [
{
"name": "balance",
"type": "asset"
}
]
},
{
"name": "cancel",
"base": "",
"fields": [
{
"name": "maker",
"type": "name"
},
{
"name": "pool_id",
"type": "uint64"
}
]
},
{
"name": "createpool",
"base": "",
"fields": [
{
"name": "creator",
"type": "name"
},
{
"name": "tokens",
"type": "extended_symbol[]"
},
{
"name": "weights",
"type": "uint16[]"
},
{
"name": "trade_fee",
"type": "uint16"
},
{
"name": "is_private",
"type": "bool"
}
]
},
{
"name": "delinpath",
"base": "",
"fields": [
{
"name": "in_path_id",
"type": "uint64"
}
]
},
{
"name": "delintoken",
"base": "",
"fields": [
{
"name": "token_id",
"type": "uint64"
}
]
},
{
"name": "execcall",
"base": "",
"fields": [
{
"name": "account",
"type": "name"
},
{
"name": "call_data",
"type": "string"
}
]
},
{
"name": "extended_symbol",
"base": "",
"fields": [
{
"name": "symbol",
"type": "symbol"
},
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "global_config",
"base": "",
"fields": [
{
"name": "admin",
"type": "name"
},
{
"name": "rebater",
"type": "name"
},
{
"name": "asset_contract",
"type": "name"
},
{
"name": "mining_contract",
"type": "name"
},
{
"name": "swap_route_contract",
"type": "name"
},
{
"name": "token_link_contract",
"type": "name"
},
{
"name": "allow_private",
"type": "bool"
},
{
"name": "max_pool_tokens",
"type": "uint8"
},
{
"name": "trade_fee",
"type": "uint16"
},
{
"name": "rebate_fee",
"type": "uint16"
},
{
"name": "exit_fee",
"type": "uint16"
},
{
"name": "token_id",
"type": "uint32"
},
{
"name": "pool_id",
"type": "uint32"
},
{
"name": "status",
"type": "uint8"
}
]
},
{
"name": "inter_paths",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "in_token_id",
"type": "uint64"
},
{
"name": "out_token_id",
"type": "uint64"
},
{
"name": "swap_path",
"type": "string"
}
]
},
{
"name": "inter_tokens",
"base": "",
"fields": [
{
"name": "token_id",
"type": "uint64"
},
{
"name": "weight",
"type": "uint16"
}
]
},
{
"name": "link_status",
"base": "",
"fields": [
{
"name": "from",
"type": "name"
},
{
"name": "memo",
"type": "string"
},
{
"name": "contract",
"type": "name"
},
{
"name": "quantity",
"type": "asset"
}
]
},
{
"name": "liquidity",
"base": "",
"fields": [
{
"name": "maker",
"type": "name"
},
{
"name": "lp_token",
"type": "uint64"
}
]
},
{
"name": "orders",
"base": "",
"fields": [
{
"name": "maker",
"type": "name"
},
{
"name": "quantity",
"type": "asset[]"
}
]
},
{
"name": "paths",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "token_id_0",
"type": "uint64"
},
{
"name": "token_id_1",
"type": "uint64"
},
{
"name": "pool_ids",
"type": "uint64[]"
}
]
},
{
"name": "pools",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "creator",
"type": "name"
},
{
"name": "lp_token",
"type": "uint64"
},
{
"name": "tokens",
"type": "uint64[]"
},
{
"name": "weights",
"type": "uint16[]"
},
{
"name": "reserves",
"type": "asset[]"
},
{
"name": "trade_fee",
"type": "uint16"
},
{
"name": "is_private",
"type": "bool"
},
{
"name": "desc",
"type": "string"
},
{
"name": "last_update_time",
"type": "time_point_sec"
}
]
},
{
"name": "token_info",
"base": "",
"fields": [
{
"name": "token_id",
"type": "uint64"
},
{
"name": "contract",
"type": "name"
},
{
"name": "sym",
"type": "symbol"
},
{
"name": "logo_url",
"type": "string"
},
{
"name": "desc",
"type": "string"
},
{
"name": "is_white_coin",
"type": "bool"
},
{
"name": "creator",
"type": "name"
},
{
"name": "create_time",
"type": "time_point_sec"
},
{
"name": "reserve_x",
"type": "uint64"
},
{
"name": "reserve_y",
"type": "uint64"
}
]
},
{
"name": "tokens",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "contract",
"type": "name"
},
{
"name": "sym",
"type": "symbol"
}
]
},
{
"name": "updateconfig",
"base": "",
"fields": [
{
"name": "admin",
"type": "name"
},
{
"name": "rebater",
"type": "name"
},
{
"name": "asset_contract",
"type": "name"
},
{
"name": "mining_contract",
"type": "name"
},
{
"name": "swap_route_contract",
"type": "name"
},
{
"name": "token_link_contract",
"type": "name"
},
{
"name": "allow_private",
"type": "bool"
},
{
"name": "max_pool_tokens",
"type": "uint8"
},
{
"name": "trade_fee",
"type": "uint16"
},
{
"name": "rebate_fee",
"type": "uint16"
},
{
"name": "status",
"type": "uint8"
}
]
},
{
"name": "updatepool",
"base": "",
"fields": [
{
"name": "pool_id",
"type": "uint64"
},
{
"name": "desc",
"type": "string"
}
]
},
{
"name": "updatetoken",
"base": "",
"fields": [
{
"name": "token_id",
"type": "uint64"
},
{
"name": "logo_url",
"type": "string?"
},
{
"name": "is_white_coin",
"type": "uint8?"
},
{
"name": "desc",
"type": "string?"
},
{
"name": "remove",
"type": "bool"
}
]
},
{
"name": "withdraw",
"base": "",
"fields": [
{
"name": "maker",
"type": "name"
},
{
"name": "pool_id",
"type": "uint64"
},
{
"name": "lp_token",
"type": "uint64"
},
{
"name": "amount",
"type": "int64[]"
},
{
"name": "slippage",
"type": "float64"
}
]
}
],
"actions": [
{
"name": "addinpath",
"type": "addinpath",
"ricardian_contract": ""
},
{
"name": "addintoken",
"type": "addintoken",
"ricardian_contract": ""
},
{
"name": "addtoken",
"type": "addtoken",
"ricardian_contract": ""
},
{
"name": "cancel",
"type": "cancel",
"ricardian_contract": ""
},
{
"name": "createpool",
"type": "createpool",
"ricardian_contract": ""
},
{
"name": "delinpath",
"type": "delinpath",
"ricardian_contract": ""
},
{
"name": "delintoken",
"type": "delintoken",
"ricardian_contract": ""
},
{
"name": "execcall",
"type": "execcall",
"ricardian_contract": ""
},
{
"name": "updateconfig",
"type": "updateconfig",
"ricardian_contract": ""
},
{
"name": "updatepool",
"type": "updatepool",
"ricardian_contract": ""
},
{
"name": "updatetoken",
"type": "updatetoken",
"ricardian_contract": ""
},
{
"name": "withdraw",
"type": "withdraw",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "balances",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "balances"
},
{
"name": "globalconfig",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "global_config"
},
{
"name": "interpaths",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "inter_paths"
},
{
"name": "intertokens",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "inter_tokens"
},
{
"name": "linkstatus",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "link_status"
},
{
"name": "liquidity",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "liquidity"
},
{
"name": "orders",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "orders"
},
{
"name": "paths",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "paths"
},
{
"name": "pools",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "pools"
},
{
"name": "tokeninfo",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "token_info"
},
{
"name": "tokens",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "tokens"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}