{
"version": "eosio::abi/1.1",
"types": [],
"structs": [
{
"name": "addprodrate",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "other_symbol",
"type": "symbol"
},
{
"name": "other_contract",
"type": "name"
},
{
"name": "is_fixed_income",
"type": "bool"
},
{
"name": "other_rate",
"type": "float64"
}
]
},
{
"name": "addproduct",
"base": "",
"fields": [
{
"name": "product_name",
"type": "string"
},
{
"name": "product_desc",
"type": "string"
},
{
"name": "base_symbol",
"type": "symbol"
},
{
"name": "base_contract",
"type": "name"
},
{
"name": "can_withdraw",
"type": "bool"
},
{
"name": "withdraw_period",
"type": "uint32"
},
{
"name": "return_period",
"type": "uint32"
},
{
"name": "is_fixed_term",
"type": "bool"
},
{
"name": "return_invalid_period",
"type": "uint32"
},
{
"name": "is_compound_interest",
"type": "bool"
},
{
"name": "is_fixed_income",
"type": "bool"
},
{
"name": "fixed_interest_rate",
"type": "float64"
},
{
"name": "redeem_wait_period",
"type": "uint32"
},
{
"name": "product_max_amount",
"type": "asset"
},
{
"name": "user_min_amount",
"type": "asset"
},
{
"name": "user_max_amount",
"type": "asset"
}
]
},
{
"name": "addrate",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "interest",
"type": "asset"
},
{
"name": "contract",
"type": "name"
},
{
"name": "rate",
"type": "float64"
},
{
"name": "timestamp",
"type": "uint32"
}
]
},
{
"name": "admpurchase",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "product_id",
"type": "uint64"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "balance",
"base": "",
"fields": [
{
"name": "balance_id",
"type": "uint64"
},
{
"name": "user",
"type": "name"
},
{
"name": "contract",
"type": "name"
},
{
"name": "principal_left",
"type": "asset"
},
{
"name": "principal_maturities",
"type": "pair_time_point_sec_asset[]"
},
{
"name": "principal_invalids",
"type": "pair_time_point_sec_asset[]"
},
{
"name": "withdraw_left",
"type": "asset"
},
{
"name": "withdraw_maturities",
"type": "pair_time_point_sec_asset[]"
},
{
"name": "interest_left",
"type": "asset"
},
{
"name": "total_principal",
"type": "asset"
},
{
"name": "total_principal_withdraw",
"type": "asset"
},
{
"name": "total_interest",
"type": "asset"
},
{
"name": "total_interest_withdraw",
"type": "asset"
},
{
"name": "last_interest",
"type": "asset"
},
{
"name": "last_interest_rate",
"type": "float64"
},
{
"name": "last_return_time",
"type": "time_point_sec"
}
]
},
{
"name": "claim",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "product_id",
"type": "uint64"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "contract",
"type": "name"
}
]
},
{
"name": "clearhistory",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "product_id",
"type": "uint64"
}
]
},
{
"name": "clearproduct",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "max_record",
"type": "uint64"
},
{
"name": "max_id",
"type": "uint64"
}
]
},
{
"name": "defi_proxy",
"base": "",
"fields": [
{
"name": "id",
"type": "uint64"
},
{
"name": "contract",
"type": "name"
},
{
"name": "symbol_name",
"type": "symbol"
},
{
"name": "use_pre_transfer",
"type": "bool"
},
{
"name": "use_rebalance",
"type": "bool"
},
{
"name": "defi_contract",
"type": "name"
}
]
},
{
"name": "exclaim",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "product_id",
"type": "uint64"
},
{
"name": "quantity",
"type": "asset"
},
{
"name": "contract",
"type": "name"
},
{
"name": "external_id",
"type": "uint64"
}
]
},
{
"name": "exredeem",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "product_id",
"type": "uint64"
}
]
},
{
"name": "fixproduct",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "begin_balance_id",
"type": "uint64"
},
{
"name": "max_count",
"type": "uint64"
}
]
},
{
"name": "global_config",
"base": "",
"fields": [
{
"name": "whaleexadmin",
"type": "name"
},
{
"name": "walvalidator",
"type": "name"
},
{
"name": "manage_fee_receiver",
"type": "name"
},
{
"name": "interest_receiver",
"type": "name"
},
{
"name": "error_receiver",
"type": "name"
},
{
"name": "forceclose_receiver",
"type": "name"
}
]
},
{
"name": "init",
"base": "",
"fields": [
{
"name": "whaleexadmin",
"type": "name"
},
{
"name": "walvalidator",
"type": "name"
},
{
"name": "manage_fee_receiver",
"type": "name"
},
{
"name": "interest_receiver",
"type": "name"
},
{
"name": "error_receiver",
"type": "name"
},
{
"name": "forceclose_receiver",
"type": "name"
}
]
},
{
"name": "interest_rate",
"base": "",
"fields": [
{
"name": "rate_id",
"type": "uint64"
},
{
"name": "time",
"type": "time_point_sec"
},
{
"name": "interest",
"type": "asset"
},
{
"name": "contract",
"type": "name"
},
{
"name": "rate",
"type": "float64"
}
]
},
{
"name": "pair_time_point_sec_asset",
"base": "",
"fields": [
{
"name": "first",
"type": "time_point_sec"
},
{
"name": "second",
"type": "asset"
}
]
},
{
"name": "product",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "product_name",
"type": "string"
},
{
"name": "product_desc",
"type": "string"
},
{
"name": "base_symbol",
"type": "symbol"
},
{
"name": "base_contract",
"type": "name"
},
{
"name": "state",
"type": "uint8"
},
{
"name": "purchase_begin",
"type": "time_point_sec"
},
{
"name": "purchase_end",
"type": "time_point_sec"
},
{
"name": "return_begin",
"type": "time_point_sec"
},
{
"name": "can_withdraw",
"type": "bool"
},
{
"name": "withdraw_period",
"type": "int32"
},
{
"name": "return_period",
"type": "int32"
},
{
"name": "is_fixed_term",
"type": "bool"
},
{
"name": "return_invalid_period",
"type": "uint32"
},
{
"name": "redeem_wait_period",
"type": "uint32"
},
{
"name": "is_compound_interest",
"type": "bool"
},
{
"name": "is_fixed_income",
"type": "bool"
},
{
"name": "fixed_interest_rate",
"type": "float64"
},
{
"name": "product_max_amount",
"type": "asset"
},
{
"name": "user_min_amount",
"type": "asset"
},
{
"name": "user_total_min_amount",
"type": "asset"
},
{
"name": "user_max_amount",
"type": "asset"
},
{
"name": "last_interest_rate",
"type": "float64"
},
{
"name": "last_return_time",
"type": "time_point_sec"
},
{
"name": "created_time",
"type": "time_point_sec"
}
]
},
{
"name": "product_rate",
"base": "",
"fields": [
{
"name": "other_id",
"type": "uint64"
},
{
"name": "other_symbol",
"type": "symbol"
},
{
"name": "other_contract",
"type": "name"
},
{
"name": "is_fixed_income",
"type": "bool"
},
{
"name": "other_rate",
"type": "float64"
}
]
},
{
"name": "product_record",
"base": "",
"fields": [
{
"name": "record_id",
"type": "uint64"
},
{
"name": "user",
"type": "name"
},
{
"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": "product_status",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "withdrawable",
"type": "bool"
},
{
"name": "escrow_account",
"type": "name"
}
]
},
{
"name": "redeem",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "product_id",
"type": "uint64"
}
]
},
{
"name": "setdefiproxy",
"base": "",
"fields": [
{
"name": "contract",
"type": "name"
},
{
"name": "symbol_name",
"type": "symbol"
},
{
"name": "use_pre_transfer",
"type": "bool"
},
{
"name": "use_rebalance",
"type": "bool"
},
{
"name": "defi_contract",
"type": "name"
},
{
"name": "remove",
"type": "bool"
}
]
},
{
"name": "setprodsts",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "withdrawable",
"type": "bool"
},
{
"name": "escrow_account",
"type": "name?"
}
]
},
{
"name": "settlement",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "begin",
"type": "uint32"
},
{
"name": "max_records",
"type": "uint32"
},
{
"name": "max_terms",
"type": "uint32"
}
]
},
{
"name": "to_redeem",
"base": "",
"fields": [
{
"name": "user",
"type": "name"
},
{
"name": "redeem_maturities",
"type": "pair_time_point_sec_asset[]"
}
]
},
{
"name": "uptproduct",
"base": "",
"fields": [
{
"name": "product_id",
"type": "uint64"
},
{
"name": "product_name",
"type": "string?"
},
{
"name": "product_desc",
"type": "string?"
},
{
"name": "state",
"type": "uint8?"
},
{
"name": "product_max_amount",
"type": "asset?"
},
{
"name": "user_min_amount",
"type": "asset?"
},
{
"name": "user_max_amount",
"type": "asset?"
},
{
"name": "purchase_begin",
"type": "uint32?"
},
{
"name": "is_fixed_term",
"type": "uint8?"
},
{
"name": "fixed_interest_rate",
"type": "float64?"
}
]
},
{
"name": "user_history",
"base": "",
"fields": [
{
"name": "record_id",
"type": "uint64"
},
{
"name": "product_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"
}
]
}
],
"actions": [
{
"name": "addprodrate",
"type": "addprodrate",
"ricardian_contract": ""
},
{
"name": "addproduct",
"type": "addproduct",
"ricardian_contract": ""
},
{
"name": "addrate",
"type": "addrate",
"ricardian_contract": ""
},
{
"name": "admpurchase",
"type": "admpurchase",
"ricardian_contract": ""
},
{
"name": "claim",
"type": "claim",
"ricardian_contract": ""
},
{
"name": "clearhistory",
"type": "clearhistory",
"ricardian_contract": ""
},
{
"name": "clearproduct",
"type": "clearproduct",
"ricardian_contract": ""
},
{
"name": "exclaim",
"type": "exclaim",
"ricardian_contract": ""
},
{
"name": "exredeem",
"type": "exredeem",
"ricardian_contract": ""
},
{
"name": "fixproduct",
"type": "fixproduct",
"ricardian_contract": ""
},
{
"name": "init",
"type": "init",
"ricardian_contract": ""
},
{
"name": "redeem",
"type": "redeem",
"ricardian_contract": ""
},
{
"name": "setdefiproxy",
"type": "setdefiproxy",
"ricardian_contract": ""
},
{
"name": "setprodsts",
"type": "setprodsts",
"ricardian_contract": ""
},
{
"name": "settlement",
"type": "settlement",
"ricardian_contract": ""
},
{
"name": "uptproduct",
"type": "uptproduct",
"ricardian_contract": ""
}
],
"tables": [
{
"name": "balance",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "balance"
},
{
"name": "defiproxy",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "defi_proxy"
},
{
"name": "globalconfig",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "global_config"
},
{
"name": "interestrate",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "interest_rate"
},
{
"name": "product",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "product"
},
{
"name": "productrate",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "product_rate"
},
{
"name": "productrec",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "product_record"
},
{
"name": "productsts",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "product_status"
},
{
"name": "toredeem",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "to_redeem"
},
{
"name": "userhistory",
"index_type": "i64",
"key_names": [],
"key_types": [],
"type": "user_history"
}
],
"ricardian_clauses": [],
"error_messages": [],
"abi_extensions": [],
"variants": [],
"action_results": []
}