
The data structures defined by this contract.
-
{ "name": "claim", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "pool_id", "type": "uint64" } ] }
-
{ "name": "create", "base": "", "fields": [ { "name": "contract", "type": "name" }, { "name": "sym", "type": "symbol" }, { "name": "reward", "type": "asset" }, { "name": "epoch_time", "type": "uint32" }, { "name": "duration", "type": "uint32" }, { "name": "min_staked", "type": "asset" }, { "name": "box_enable", "type": "uint8" }, { "name": "box_code", "type": "symbol_code" } ] }
-
{ "name": "harvest", "base": "", "fields": [ { "name": "pool_id", "type": "uint64" }, { "name": "round_no", "type": "uint64" }, { "name": "limit", "type": "uint32" } ] }
-
{ "name": "miner", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "staked", "type": "asset" }, { "name": "claimed_crl", "type": "asset" }, { "name": "unclaimed_crl", "type": "asset" }, { "name": "claimed_box", "type": "asset" }, { "name": "unclaimed_box", "type": "asset" } ] }
-
{ "name": "pool", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "contract", "type": "name" }, { "name": "sym", "type": "symbol" }, { "name": "total_staked", "type": "asset" }, { "name": "total_reward", "type": "asset" }, { "name": "released_reward", "type": "asset" }, { "name": "epoch_time", "type": "uint32" }, { "name": "duration", "type": "uint32" }, { "name": "min_staked", "type": "asset" }, { "name": "last_harvest_time", "type": "uint32" }, { "name": "box_enable", "type": "uint8" }, { "name": "box_code", "type": "symbol_code" }, { "name": "box_reward", "type": "asset" } ] }
-
{ "name": "round", "base": "", "fields": [ { "name": "pool_id", "type": "uint64" }, { "name": "no", "type": "uint64" }, { "name": "offset", "type": "name" }, { "name": "crl_amount", "type": "uint64" }, { "name": "box_amount", "type": "uint64" }, { "name": "completed", "type": "bool" } ] }
-
{ "name": "withdraw", "base": "", "fields": [ { "name": "owner", "type": "name" }, { "name": "pool_id", "type": "uint64" } ] }