{
"version": "eosio::abi/1.1",
"types": [],
"structs": [
{
"name": "account_history",
"base": "",
"fields": [
{
"name": "record_id",
"type": "uint64"
},
{
"name": "account_id",
"type": "name"
},
{
"name": "exchange",
"type": "name"
},
{
"name": "leverage_id",
"type": "uint64"
},
{
"name": "type",
"type": "uint8"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "contract",
"type": "name"
},
{
"name": "event_time",
"type": "time_point_sec"
},
{
"name": "created_time",
"type": "time_point_sec"
}
]
},
{
"name": "account_lend_record",
"base": "",
"fields": [
{
"name": "lend_id",
"type": "uint64"
},
{
"name": "from_order_id",
"type": "uint64"
},
{
"name": "from",
"type": "name"
},
{
"name": "to",
"type": "name"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "interest",
"type": "asset"
},
{
"name": "contract",
"type": "name"
},
{
"name": "paid_quantity",
"type": "asset"
},
{
"name": "paid_interest",
"type": "asset"
},
{
"name": "created_time",
"type": "time_point_sec"
},
{
"name": "updated_time",
"type": "time_point_sec"
},
{
"name": "period",
"type": "int64"
}
]
},
{
"name": "cashin",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "exchange",
"type": "name"
},
{
"name": "account_id",
"type": "name"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "cashout",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "exchange",
"type": "name"
},
{
"name": "account_id",
"type": "name"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "contract",
"type": "name"
},
{
"name": "force",
"type": "bool"
}
]
},
{
"name": "ex_stat",
"base": "",
"fields": [
{
"name": "pkey",
"type": "uint64"
},
{
"name": "balance",
"type": "extended_asset"
}
]
},
{
"name": "global_config",
"base": "",
"fields": [
{
"name": "whaleextrust",
"type": "name"
},
{
"name": "takeover_account",
"type": "name"
},
{
"name": "interestpool",
"type": "name"
},
{
"name": "whaleexadmin",
"type": "name"
},
{
"name": "quote_ref_id",
"type": "uint32"
},
{
"name": "min_cashout_risk_rate",
"type": "float64"
},
{
"name": "min_lend_risk_rate",
"type": "float64"
},
{
"name": "max_lend_value",
"type": "float64"
},
{
"name": "reserved1",
"type": "uint32"
},
{
"name": "reserved2",
"type": "name"
},
{
"name": "use_history",
"type": "bool"
}
]
},
{
"name": "init",
"base": "",
"fields": [
{
"name": "whaleextrust",
"type": "name"
},
{
"name": "takeoveracct",
"type": "name"
},
{
"name": "interestpool",
"type": "name"
},
{
"name": "whaleexadmin",
"type": "name"
},
{
"name": "quote_symbol",
"type": "symbol"
},
{
"name": "quote_contract",
"type": "name"
},
{
"name": "min_cashout_risk_rate",
"type": "float64"
},
{
"name": "min_lend_risk_rate",
"type": "float64"
},
{
"name": "max_lend_value",
"type": "float64"
},
{
"name": "use_history",
"type": "bool"
}
]
},
{
"name": "lend",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "exchange",
"type": "name"
},
{
"name": "from_account_id",
"type": "name"
},
{
"name": "to_account_id",
"type": "name"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "interest",
"type": "asset"
},
{
"name": "contract",
"type": "name"
},
{
"name": "lend_symbol",
"type": "symbol"
},
{
"name": "from_order_id",
"type": "uint64"
},
{
"name": "interest_fee_rate",
"type": "uint16"
}
]
},
{
"name": "lend_order",
"base": "",
"fields": [
{
"name": "order_id",
"type": "uint64"
},
{
"name": "interest_fee_rate",
"type": "uint16"
},
{
"name": "original_amount",
"type": "int64"
},
{
"name": "total_interest",
"type": "int64"
},
{
"name": "total_lent",
"type": "int64"
}
]
},
{
"name": "lendrepay",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "exchange",
"type": "name"
},
{
"name": "from_account_id",
"type": "name"
},
{
"name": "to_account_id",
"type": "name"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "interest",
"type": "asset"
},
{
"name": "contract",
"type": "name"
},
{
"name": "lend_symbol",
"type": "symbol"
},
{
"name": "from_order_id",
"type": "uint64"
},
{
"name": "interest_fee_rate",
"type": "uint16"
},
{
"name": "lend_id",
"type": "uint64"
},
{
"name": "time",
"type": "uint32"
},
{
"name": "repay_to_id",
"type": "name"
},
{
"name": "repay_interest",
"type": "asset"
},
{
"name": "repay_fee",
"type": "asset"
}
]
},
{
"name": "modify",
"base": "",
"fields": [
{
"name": "lend_id",
"type": "uint64"
},
{
"name": "exchange",
"type": "name"
}
]
},
{
"name": "repay",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "lend_id",
"type": "uint64"
},
{
"name": "time",
"type": "uint32"
},
{
"name": "exchange",
"type": "name"
},
{
"name": "from_account_id",
"type": "name"
},
{
"name": "to_account_id",
"type": "name"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "interest",
"type": "asset"
},
{
"name": "fee",
"type": "asset"
},
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "rmhistory",
"base": "",
"fields": [
{
"name": "max_record",
"type": "uint64"
},
{
"name": "before_created_time",
"type": "uint32"
}
]
},
{
"name": "user_asset",
"base": "",
"fields": [
{
"name": "exchange_ref_id",
"type": "uint32"
},
{
"name": "ext_symbol_ref_id",
"type": "uint32"
},
{
"name": "amount",
"type": "int64"
}
]
}
],
"actions": [
{
"name": "cashin",
"type": "cashin",
"ricardian_contract": ""
},
{
"name": "cashout",
"type": "cashout",
"ricardian_contract": ""
},
{
"name": "init",
"type": "init",
"ricardian_contract": ""
},
{
"name": "lend",
"type": "lend",
"ricardian_contract": ""
},
{
"name": "lendrepay",
"type": "lendrepay",
"ricardian_contract": ""
},
{
"name": "modify",
"type": "modify",
"ricardian_contract": ""
},
{
"name": "repay",
"type": "repay",
"ricardian_contract": ""
},
{
"name": "rmhistory",
"type": "rmhistory",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "accthistory",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "account_history"
},
{
"name": "acctlendrec",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "account_lend_record"
},
{
"name": "exstat",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "ex_stat"
},
{
"name": "globalconfig",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "global_config"
},
{
"name": "lendorder",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "lend_order"
},
{
"name": "userasset",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "user_asset"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}