
The data structures defined by this contract.
Action parameter in addrenttoken
{ "name": "addrenttoken", "base": "", "fields": [ { "name": "token", "type": "extended_symbol" } ] }
Action parameter in addtokenlog
{ "name": "addtokenlog", "base": "", "fields": [ { "name": "rent_token_id", "type": "uint64" }, { "name": "token", "type": "extended_symbol" } ] }
-
{ "name": "borrow", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "bytes", "type": "uint64" } ] }
Table row type of borrow
{ "name": "borrow_row", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "bytes", "type": "uint64" } ] }
-
{ "name": "borrowlog", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "amount", "type": "uint64" }, { "name": "total_borrow", "type": "uint64" } ] }
-
{ "name": "claim", "base": "", "fields": [ { "name": "account", "type": "name" } ] }
-
{ "name": "claimlog", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "amount", "type": "uint64" }, { "name": "token", "type": "extended_symbol" } ] }
-
{ "name": "config", "base": "", "fields": [ { "name": "config", "type": "config_row" } ] }
-
{ "name": "config_row", "base": "", "fields": [ { "name": "init_done", "type": "bool" }, { "name": "min_unstake_amount", "type": "uint64" }, { "name": "unstake_expire_seconds", "type": "uint64" }, { "name": "max_withdraw_rows", "type": "uint64" }, { "name": "max_stake_amount", "type": "uint64" } ] }
Struct property of addrenttoken
Struct property of addtokenlog
Struct property of claimlog
Struct property of rent_token_row
Struct property of reward_row
{ "name": "extended_symbol", "base": "", "fields": [ { "name": "sym", "type": "symbol" }, { "name": "contract", "type": "name" } ] }
-
{ "name": "init", "base": "", "fields": [] }
-
{ "name": "rams2v", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "amount", "type": "uint64" } ] }
-
{ "name": "rent_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "total_rent_received", "type": "extended_asset" } ] }
Table row type of renttoken
{ "name": "rent_token_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "token", "type": "extended_symbol" }, { "name": "total_rent_received", "type": "uint64" }, { "name": "acc_per_share", "type": "uint128" }, { "name": "last_reward_time", "type": "time_point_sec" }, { "name": "total_reward", "type": "uint64" }, { "name": "reward_balance", "type": "uint64" }, { "name": "enabled", "type": "bool" } ] }
-
{ "name": "repaylog", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "bytes", "type": "int64" }, { "name": "total_borrow", "type": "uint64" } ] }
-
{ "name": "restake", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "id", "type": "uint64" } ] }
Table row type of reward
{ "name": "reward_row", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "token", "type": "extended_symbol" }, { "name": "debt", "type": "uint64" }, { "name": "unclaimed", "type": "uint64" }, { "name": "claimed", "type": "uint64" } ] }
-
{ "name": "stake_row", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "amount", "type": "uint64" }, { "name": "unstaking_amount", "type": "uint64" } ] }
-
{ "name": "stat_row", "base": "", "fields": [ { "name": "stake_amount", "type": "uint64" }, { "name": "used_amount", "type": "uint64" } ] }
-
{ "name": "statlog", "base": "", "fields": [ { "name": "total_stake", "type": "uint64" }, { "name": "total_borrow", "type": "uint64" } ] }
Action parameter in stkchangelog
{ "name": "stkchangelog", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "pre_amount", "type": "uint64" }, { "name": "now_amount", "type": "uint64" } ] }
-
{ "name": "unstake", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "amount", "type": "uint64" } ] }
Table row type of unstake
{ "name": "unstake_row", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "amount", "type": "uint64" }, { "name": "unstaking_time", "type": "time_point_sec" } ] }
-
{ "name": "withdraw", "base": "", "fields": [ { "name": "account", "type": "name" } ] }