{
"version": "eosio::abi/1.1",
"types": [],
"structs": [
{
"name": "buyrex",
"base": "",
"fields": [
{
"name": "amount",
"type": "asset"
}
]
},
{
"name": "calculate",
"base": "",
"fields": [
{
"name": "amount",
"type": "uint64"
},
{
"name": "reserve_in",
"type": "uint64"
},
{
"name": "reserve_out",
"type": "uint64"
},
{
"name": "amplifier",
"type": "uint64"
},
{
"name": "fee",
"type": "uint64"
},
{
"name": "protocol",
"type": "name"
}
]
},
{
"name": "cancel",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "pair_id",
"type": "uint64"
}
]
},
{
"name": "checkstake",
"base": "",
"fields": []
},
{
"name": "claimrewards",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
}
]
},
{
"name": "config_row",
"base": "",
"fields": [
{
"name": "status",
"type": "name"
},
{
"name": "protocol_fee",
"type": "uint8"
},
{
"name": "admin_account",
"type": "name"
},
{
"name": "fee_account",
"type": "name"
},
{
"name": "token_contract",
"type": "name"
},
{
"name": "notifiers",
"type": "name[]"
},
{
"name": "fee_exempt",
"type": "name[]"
},
{
"name": "blocked",
"type": "name[]"
},
{
"name": "listing_fee",
"type": "extended_asset"
},
{
"name": "issue_reward",
"type": "bool"
},
{
"name": "last_pair_id",
"type": "uint32"
}
]
},
{
"name": "createpair",
"base": "",
"fields": [
{
"name": "creator",
"type": "name"
},
{
"name": "reserve0",
"type": "extended_symbol"
},
{
"name": "reserve1",
"type": "extended_symbol"
},
{
"name": "amplifier",
"type": "uint64"
},
{
"name": "protocol",
"type": "name"
}
]
},
{
"name": "deposit",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "pair_id",
"type": "uint64"
},
{
"name": "min_amount",
"type": "int64?"
}
]
},
{
"name": "extended_symbol",
"base": "",
"fields": [
{
"name": "sym",
"type": "symbol"
},
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "init",
"base": "",
"fields": [
{
"name": "token_contract",
"type": "name"
}
]
},
{
"name": "initstaking",
"base": "",
"fields": []
},
{
"name": "liquiditylog",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
},
{
"name": "owner",
"type": "name"
},
{
"name": "action",
"type": "name"
},
{
"name": "liquidity",
"type": "asset"
},
{
"name": "quantity0",
"type": "asset"
},
{
"name": "quantity1",
"type": "asset"
},
{
"name": "total_liquidity",
"type": "asset"
},
{
"name": "reserve0",
"type": "asset"
},
{
"name": "reserve1",
"type": "asset"
}
]
},
{
"name": "orders_row",
"base": "",
"fields": [
{
"name": "owner",
"type": "name"
},
{
"name": "quantity0",
"type": "extended_asset"
},
{
"name": "quantity1",
"type": "extended_asset"
}
]
},
{
"name": "pair_gains_row",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "int64"
},
{
"name": "last_claim_id",
"type": "int64"
},
{
"name": "last_claimed",
"type": "time_point_sec"
},
{
"name": "stake_weight",
"type": "int64"
}
]
},
{
"name": "pair_name_string",
"base": "",
"fields": [
{
"name": "key",
"type": "name"
},
{
"name": "value",
"type": "string"
}
]
},
{
"name": "pairexists",
"base": "",
"fields": [
{
"name": "token_a",
"type": "extended_symbol"
},
{
"name": "token_b",
"type": "extended_symbol"
}
]
},
{
"name": "pairs_row",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "reserve0",
"type": "extended_asset"
},
{
"name": "reserve1",
"type": "extended_asset"
},
{
"name": "liquidity",
"type": "extended_asset"
},
{
"name": "trade_fee",
"type": "uint8"
},
{
"name": "amplifier",
"type": "uint64"
},
{
"name": "multiplier",
"type": "float64"
},
{
"name": "virtual_price",
"type": "float64"
},
{
"name": "price0_last",
"type": "float64"
},
{
"name": "price1_last",
"type": "float64"
},
{
"name": "volume0",
"type": "asset"
},
{
"name": "volume1",
"type": "asset"
},
{
"name": "trades",
"type": "uint64"
},
{
"name": "last_updated",
"type": "time_point_sec"
},
{
"name": "protocol",
"type": "name"
},
{
"name": "creator",
"type": "name"
},
{
"name": "trust",
"type": "uint8"
},
{
"name": "tags",
"type": "pair_name_string[]"
}
]
},
{
"name": "ramp",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
},
{
"name": "target_amplifier",
"type": "uint64"
},
{
"name": "minutes",
"type": "int64"
}
]
},
{
"name": "ramp_row",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
},
{
"name": "start_amplifier",
"type": "uint64"
},
{
"name": "target_amplifier",
"type": "uint64"
},
{
"name": "start_time",
"type": "time_point_sec"
},
{
"name": "end_time",
"type": "time_point_sec"
}
]
},
{
"name": "removepair",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
}
]
},
{
"name": "reset",
"base": "",
"fields": []
},
{
"name": "rexgains_row",
"base": "",
"fields": [
{
"name": "id",
"type": "int64"
},
{
"name": "stake_weight",
"type": "int64"
},
{
"name": "total_gain",
"type": "asset"
},
{
"name": "stake_remaining",
"type": "int64"
},
{
"name": "share_remaining",
"type": "asset"
}
]
},
{
"name": "rexstate_row",
"base": "",
"fields": [
{
"name": "min_stake",
"type": "float64"
},
{
"name": "target_stake",
"type": "float64"
},
{
"name": "max_stake",
"type": "float64"
},
{
"name": "last_id",
"type": "int64"
},
{
"name": "last_reward",
"type": "time_point_sec"
},
{
"name": "stake_weight",
"type": "int64"
},
{
"name": "rex_balance",
"type": "asset"
}
]
},
{
"name": "sellrex",
"base": "",
"fields": [
{
"name": "amount",
"type": "asset"
}
]
},
{
"name": "setfee",
"base": "",
"fields": [
{
"name": "protocol_fee",
"type": "uint8?"
},
{
"name": "fee_account",
"type": "name?"
},
{
"name": "listing_fee",
"type": "extended_asset?"
}
]
},
{
"name": "setnotifiers",
"base": "",
"fields": [
{
"name": "notifiers",
"type": "name[]"
}
]
},
{
"name": "setstaking",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
},
{
"name": "weight",
"type": "uint64"
}
]
},
{
"name": "setstatus",
"base": "",
"fields": [
{
"name": "status",
"type": "name"
}
]
},
{
"name": "settradefee",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
},
{
"name": "trade_fee",
"type": "uint8"
}
]
},
{
"name": "stopramp",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
}
]
},
{
"name": "swaplog",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
},
{
"name": "owner",
"type": "name"
},
{
"name": "action",
"type": "name"
},
{
"name": "quantity_in",
"type": "extended_asset"
},
{
"name": "quantity_out",
"type": "extended_asset"
},
{
"name": "fee",
"type": "asset"
},
{
"name": "protocol_fee",
"type": "asset"
},
{
"name": "trade_fee",
"type": "asset"
},
{
"name": "trade_price",
"type": "float64"
},
{
"name": "reserve0",
"type": "asset"
},
{
"name": "reserve1",
"type": "asset"
}
]
},
{
"name": "topuplog",
"base": "",
"fields": [
{
"name": "pair_id",
"type": "uint64"
},
{
"name": "quantity",
"type": "extended_asset"
}
]
},
{
"name": "wallet",
"base": "",
"fields": [
{
"name": "balance",
"type": "asset"
},
{
"name": "contract",
"type": "name"
}
]
}
],
"actions": [
{
"name": "buyrex",
"type": "buyrex",
"ricardian_contract": ""
},
{
"name": "calculate",
"type": "calculate",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: calculate\nsummary: calculate\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "cancel",
"type": "cancel",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: cancel\nsummary: {{owner}} cancels liquidity deposit from {{pair_id}} pair ID.\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "checkstake",
"type": "checkstake",
"ricardian_contract": ""
},
{
"name": "claimrewards",
"type": "claimrewards",
"ricardian_contract": ""
},
{
"name": "createpair",
"type": "createpair",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: createpair\nsummary: createpair\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "deposit",
"type": "deposit",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: deposit\nsummary: {{owner}} deposits to {{pair_id}} liquidity pair ID.\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "init",
"type": "init",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: init\nsummary: init\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "initstaking",
"type": "initstaking",
"ricardian_contract": ""
},
{
"name": "liquiditylog",
"type": "liquiditylog",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: liquiditylog\nsummary: liquiditylog\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "pairexists",
"type": "pairexists",
"ricardian_contract": ""
},
{
"name": "ramp",
"type": "ramp",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: ramp\nsummary: ramp\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "removepair",
"type": "removepair",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: removepair\nsummary: removepair\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "reset",
"type": "reset",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: reset\nsummary: reset\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "sellrex",
"type": "sellrex",
"ricardian_contract": ""
},
{
"name": "setfee",
"type": "setfee",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: setfee\nsummary: setfee\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "setnotifiers",
"type": "setnotifiers",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: setnotifiers\nsummary: setnotifiers\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "setstaking",
"type": "setstaking",
"ricardian_contract": ""
},
{
"name": "setstatus",
"type": "setstatus",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: setstatus\nsummary: setstatus\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "settradefee",
"type": "settradefee",
"ricardian_contract": ""
},
{
"name": "stopramp",
"type": "stopramp",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: stopramp\nsummary: stopramp\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "swaplog",
"type": "swaplog",
"ricardian_contract": "---\nspec_version: \"0.2.0\"\ntitle: swaplog\nsummary: swaplog\nicon: https://avatars1.githubusercontent.com/u/60660770#d6a1df4bbf2942f23c3a4485eb9942cb37c5348945e84be8c53e2ef9254ed8da\n---"
},
{
"name": "topuplog",
"type": "topuplog",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "config",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "config_row"
},
{
"name": "orders",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "orders_row"
},
{
"name": "pairgains",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "pair_gains_row"
},
{
"name": "pairs",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "pairs_row"
},
{
"name": "ramp",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "ramp_row"
},
{
"name": "rexgains",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "rexgains_row"
},
{
"name": "rexstate",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "rexstate_row"
},
{
"name": "wallets",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "wallet"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}