
The data structures defined by this contract.
-
{ "name": "addconfig", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "sym", "type": "symbol" }, { "name": "status", "type": "uint8" }, { "name": "base_interest", "type": "uint64" }, { "name": "base_reward", "type": "uint64" }, { "name": "base_reward_borrow_rate", "type": "uint64" }, { "name": "reserve_factor", "type": "uint64" }, { "name": "stake_price", "type": "float64" }, { "name": "total_reward", "type": "asset" }, { "name": "released_reward", "type": "asset" }, { "name": "total_cash", "type": "asset" }, { "name": "total_borrow", "type": "asset" }, { "name": "total_reservers", "type": "asset" }, { "name": "current_interest", "type": "float64" }, { "name": "liquid_threshold", "type": "uint64" }, { "name": "borrow_threshold", "type": "uint64" }, { "name": "over_stake_threshold", "type": "uint64" }, { "name": "liquid_reward", "type": "uint64" } ] }
-
{ "name": "addkink", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "min", "type": "float64" }, { "name": "max", "type": "float64" }, { "name": "jump_interest", "type": "uint64" }, { "name": "jump_reward", "type": "uint64" }, { "name": "jump_borrow", "type": "uint64" } ] }
-
{ "name": "borrow", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "contract", "type": "name" }, { "name": "borrow_asset", "type": "asset" }, { "name": "memo", "type": "string" } ] }
-
{ "name": "borrowed", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "account", "type": "name" }, { "name": "unclaimed", "type": "asset" }, { "name": "claimed", "type": "asset" }, { "name": "interest", "type": "float64" }, { "name": "time", "type": "uint64" }, { "name": "count", "type": "uint64" }, { "name": "contract", "type": "name" }, { "name": "borrow", "type": "asset" } ] }
-
{ "name": "claim", "base": "", "fields": [ { "name": "account", "type": "name" } ] }
Action parameter in claimborrow
{ "name": "claimborrow", "base": "", "fields": [ { "name": "account", "type": "name" } ] }
Action parameter in claimsupply
{ "name": "claimsupply", "base": "", "fields": [ { "name": "account", "type": "name" } ] }
-
{ "name": "clear", "base": "", "fields": [] }
-
{ "name": "config", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "sym", "type": "symbol" }, { "name": "status", "type": "uint8" }, { "name": "base_interest", "type": "uint64" }, { "name": "base_reward", "type": "uint64" }, { "name": "base_reward_borrow_rate", "type": "uint64" }, { "name": "reserve_factor", "type": "uint64" }, { "name": "stake_price", "type": "float64" }, { "name": "total_cash", "type": "asset" }, { "name": "total_borrow", "type": "asset" }, { "name": "total_reservers", "type": "asset" }, { "name": "total_reward", "type": "asset" }, { "name": "released_reward", "type": "asset" }, { "name": "current_interest", "type": "float64" }, { "name": "interest_count", "type": "uint64" }, { "name": "reward_count", "type": "uint64" }, { "name": "liquid_threshold", "type": "uint64" }, { "name": "borrow_threshold", "type": "uint64" }, { "name": "over_stake_threshold", "type": "uint64" }, { "name": "liquid_reward", "type": "uint64" }, { "name": "editprice_count", "type": "uint64" } ] }
-
{ "name": "delconfig", "base": "", "fields": [ { "name": "contract", "type": "name" } ] }
-
{ "name": "delkink", "base": "", "fields": [ { "name": "id", "type": "uint64" } ] }
Action parameter in editconfig
{ "name": "editconfig", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "status", "type": "uint64" } ] }
-
{ "name": "editprice", "base": "", "fields": [ { "name": "price", "type": "string" } ] }
-
{ "name": "interest", "base": "", "fields": [ { "name": "reward_count", "type": "uint64" }, { "name": "page_size", "type": "uint64" } ] }
-
{ "name": "kink", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "contract", "type": "name" }, { "name": "min", "type": "float64" }, { "name": "max", "type": "float64" }, { "name": "jump_interest", "type": "uint64" }, { "name": "jump_reward", "type": "uint64" }, { "name": "jump_borrow", "type": "uint64" } ] }
-
{ "name": "liquid", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "account", "type": "name" }, { "name": "contract", "type": "name" }, { "name": "stake", "type": "asset" }, { "name": "borrow", "type": "asset" }, { "name": "time", "type": "uint64" }, { "name": "stake_contract", "type": "name" } ] }
-
{ "name": "liquiding", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "account", "type": "name" }, { "name": "contract", "type": "name" } ] }
-
{ "name": "redeem", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "contract", "type": "name" }, { "name": "token", "type": "asset" } ] }
-
{ "name": "reserve", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "rate", "type": "uint64" } ] }
-
{ "name": "stake", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "contract", "type": "name" } ] }
-
{ "name": "supply", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "account", "type": "name" }, { "name": "unclaimed", "type": "asset" }, { "name": "claimed", "type": "asset" }, { "name": "stake", "type": "asset" }, { "name": "interest", "type": "float64" }, { "name": "pub_key", "type": "string" }, { "name": "time", "type": "uint64" }, { "name": "count", "type": "uint64" }, { "name": "status", "type": "uint8" }, { "name": "contract", "type": "name" } ] }
-
{ "name": "unstake", "base": "", "fields": [ { "name": "account", "type": "name" }, { "name": "contract", "type": "name" } ] }