
The data structures defined by this contract.
-
{ "name": "Config", "base": "", "fields": [ { "name": "ticket_price", "type": "asset" }, { "name": "slot_price", "type": "asset" }, { "name": "max_slots_num", "type": "uint32" }, { "name": "r_rate", "type": "uint32" }, { "name": "sr_rate", "type": "uint32" }, { "name": "ssr_rate", "type": "uint32" }, { "name": "asset_contract", "type": "name" }, { "name": "oasis_contract", "type": "name" } ] }
Table row type of fragcontrib
{ "name": "FragContrib", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "period", "type": "uint32" }, { "name": "groups_contrib", "type": "pair_uint32_uint64[]" } ] }
Table row type of groupstates
{ "name": "GroupState", "base": "", "fields": [ { "name": "group_id", "type": "uint64" }, { "name": "r1", "type": "uint64" }, { "name": "r2", "type": "uint64" }, { "name": "u", "type": "uint64" }, { "name": "v", "type": "uint64" }, { "name": "nft_num", "type": "uint32" } ] }
Struct property of pair_uint32_Income
{ "name": "Income", "base": "", "fields": [ { "name": "pdh", "type": "asset" }, { "name": "sapl", "type": "asset" } ] }
-
{ "name": "PdhPool", "base": "", "fields": [ { "name": "week", "type": "uint64" }, { "name": "quantity", "type": "asset" } ] }
Table row type of periodstat
{ "name": "PeriodStat", "base": "", "fields": [ { "name": "period", "type": "uint64" }, { "name": "timestamp", "type": "uint32" }, { "name": "pdh_output", "type": "asset" }, { "name": "sapl_output", "type": "asset" }, { "name": "groups_contrib", "type": "pair_uint32_uint64[]" } ] }
-
{ "name": "SaplPool", "base": "", "fields": [ { "name": "year", "type": "uint64" }, { "name": "daily_output", "type": "asset" } ] }
-
{ "name": "Slot", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "capacity", "type": "uint32" }, { "name": "used", "type": "uint32" } ] }
Table row type of stakednfts
{ "name": "StakedNft", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "uuid", "type": "uuid_t" }, { "name": "owner", "type": "name" }, { "name": "stake_time", "type": "uint32" }, { "name": "last_count_time", "type": "uint32" }, { "name": "rate", "type": "uint32" }, { "name": "group_id", "type": "uint32" } ] }
-
{ "name": "State", "base": "", "fields": [ { "name": "next_period", "type": "uint32" }, { "name": "begin_time", "type": "uint32" } ] }
-
{ "name": "Ticket", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "quantity", "type": "asset" } ] }
-
{ "name": "UriToRate", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "uri", "type": "string" }, { "name": "rate", "type": "uint32" } ] }
Table row type of income
{ "name": "UserIncome", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "groups_income", "type": "pair_uint32_Income[]" } ] }
Action parameter in claimincome
{ "name": "claimincome", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "group_id", "type": "uint32" } ] }
-
{ "name": "init", "base": "", "fields": [ { "name": "config", "type": "Config" }, { "name": "sp_rates", "type": "UriToRate[]" }, { "name": "sapl", "type": "SaplPool[]" }, { "name": "begin_time", "type": "uint32" } ] }
Struct property of UserIncome
{ "name": "pair_uint32_Income", "base": "", "fields": [ { "name": "key", "type": "uint32" }, { "name": "value", "type": "Income" } ] }
-
{ "name": "pair_uint32_uint64", "base": "", "fields": [ { "name": "key", "type": "uint32" }, { "name": "value", "type": "uint64" } ] }
-
{ "name": "redeemeos", "base": "", "fields": [ { "name": "user", "type": "name" } ] }
Action parameter in redeemnfts
{ "name": "redeemnfts", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "uuids", "type": "uuid_t[]" } ] }
Action parameter in setassetcntr
{ "name": "setassetcntr", "base": "", "fields": [ { "name": "contract", "type": "name" } ] }
Action parameter in setbegintime
{ "name": "setbegintime", "base": "", "fields": [ { "name": "begin_time", "type": "uint32" } ] }
Action parameter in setmaxnslots
{ "name": "setmaxnslots", "base": "", "fields": [ { "name": "num", "type": "uint32" } ] }
Action parameter in setoasiscntr
{ "name": "setoasiscntr", "base": "", "fields": [ { "name": "contract", "type": "name" } ] }
-
{ "name": "setrates", "base": "", "fields": [ { "name": "r_rate", "type": "uint32" }, { "name": "sr_rate", "type": "uint32" }, { "name": "ssr_rate", "type": "uint32" } ] }
Action parameter in setslotprice
{ "name": "setslotprice", "base": "", "fields": [ { "name": "price", "type": "asset" } ] }
Action parameter in setsprates
{ "name": "setsprates", "base": "", "fields": [ { "name": "uris", "type": "string[]" }, { "name": "rates", "type": "uint32[]" } ] }
Action parameter in settkprice
{ "name": "settkprice", "base": "", "fields": [ { "name": "price", "type": "asset" } ] }