
The data structures defined by this contract.
-
{ "name": "setconfig", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "admins", "type": "name[]" }, { "name": "fee_token_sym", "type": "symbol" }, { "name": "fee_token_contract", "type": "name" }, { "name": "fee_amount", "type": "int64" }, { "name": "admin_cut_bps", "type": "uint16" }, { "name": "batch_payout_delay_sec", "type": "uint32" }, { "name": "default_max_participants", "type": "uint32" } ] } -
{ "name": "addtoken", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "token_sym", "type": "symbol" }, { "name": "token_contract", "type": "name" }, { "name": "min_balance", "type": "int64" } ] } -
{ "name": "rmtoken", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "token_sym", "type": "symbol" } ] } -
{ "name": "forceend", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" } ] } Action parameter in batchpayout
{ "name": "batchpayout", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "max_pays", "type": "uint32" } ] }Action parameter in createcomp
{ "name": "createcomp", "base": "", "fields": [ { "name": "creator", "type": "name" }, { "name": "name", "type": "string" }, { "name": "image_url", "type": "string" }, { "name": "start_time", "type": "uint64" }, { "name": "end_time", "type": "uint64" }, { "name": "prize_token_sym", "type": "symbol" }, { "name": "prize_token_contract", "type": "name" }, { "name": "prize_amount", "type": "int64" }, { "name": "format_type", "type": "uint8" }, { "name": "format_value", "type": "uint32" }, { "name": "nft_reward_type", "type": "uint8" }, { "name": "nft_reward_value", "type": "uint32" }, { "name": "max_participants", "type": "uint32" }, { "name": "tiers", "type": "TierEntry[]" } ] }-
{ "name": "fundcomp", "base": "", "fields": [ { "name": "funder", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "amount", "type": "int64" } ] } -
{ "name": "joincomp", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "competition_id", "type": "uint64" } ] } -
{ "name": "leavecomp", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "competition_id", "type": "uint64" } ] } -
{ "name": "addpoints", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "user", "type": "name" }, { "name": "points", "type": "uint64" } ] } Action parameter in batchaddpts
{ "name": "batchaddpts", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "entries", "type": "PointsEntry[]" } ] }-
{ "name": "endcomp", "base": "", "fields": [ { "name": "creator", "type": "name" }, { "name": "competition_id", "type": "uint64" } ] } Action parameter in reportuser
{ "name": "reportuser", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "violator", "type": "name" }, { "name": "reason", "type": "string" } ] }-
{ "name": "unreport", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "violator", "type": "name" } ] } -
{ "name": "withdraw", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "token_sym", "type": "symbol" }, { "name": "token_contract", "type": "name" }, { "name": "amount", "type": "int64" } ] } Action parameter in settracking
{ "name": "settracking", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "watch_contract", "type": "name" }, { "name": "watch_action", "type": "name" }, { "name": "account_field", "type": "string" }, { "name": "points_per_event", "type": "uint64" } ] }Action parameter in rmtracking
{ "name": "rmtracking", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "rule_id", "type": "uint64" } ] }Action parameter in addnfttempl
{ "name": "addnfttempl", "base": "", "fields": [ { "name": "caller", "type": "name" }, { "name": "competition_id", "type": "uint64" }, { "name": "template_id", "type": "int32" }, { "name": "collection", "type": "name" }, { "name": "schema", "type": "name" } ] }-
{ "name": "cls", "base": "", "fields": [] } -
{ "name": "configrow", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "admins", "type": "name[]" }, { "name": "fee_token_sym", "type": "symbol" }, { "name": "fee_token_contract", "type": "name" }, { "name": "fee_amount", "type": "int64" }, { "name": "admin_cut_bps", "type": "uint16" }, { "name": "batch_payout_delay_sec", "type": "uint32" }, { "name": "default_max_participants", "type": "uint32" } ] } Table row type of supptokens
{ "name": "supportedtokenrow", "base": "", "fields": [ { "name": "token_sym_raw", "type": "uint64" }, { "name": "token_sym", "type": "symbol" }, { "name": "token_contract", "type": "name" }, { "name": "min_balance", "type": "int64" } ] }Table row type of competitions
{ "name": "competitionrow", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "creator_raw", "type": "uint64" }, { "name": "creator", "type": "name" }, { "name": "name", "type": "string" }, { "name": "image_url", "type": "string" }, { "name": "start_time", "type": "uint64" }, { "name": "end_time", "type": "uint64" }, { "name": "prize_pool", "type": "asset" }, { "name": "prize_contract", "type": "name" }, { "name": "format_type", "type": "uint8" }, { "name": "format_value", "type": "uint32" }, { "name": "nft_reward_type", "type": "uint8" }, { "name": "nft_reward_value", "type": "uint32" }, { "name": "max_participants", "type": "uint32" }, { "name": "participant_count", "type": "uint32" }, { "name": "ended", "type": "uint8" }, { "name": "paid_out", "type": "uint8" } ] }Table row type of payouttiers
{ "name": "payouttierrow", "base": "", "fields": [ { "name": "rank_position", "type": "uint64" }, { "name": "pct_bps", "type": "uint16" } ] }Table row type of participants
{ "name": "participantrow", "base": "", "fields": [ { "name": "account_raw", "type": "uint64" }, { "name": "account", "type": "name" }, { "name": "points", "type": "uint64" }, { "name": "joined_at", "type": "uint64" } ] }Table row type of balances
{ "name": "balancerow", "base": "", "fields": [ { "name": "token_sym_raw", "type": "uint64" }, { "name": "token_sym", "type": "symbol" }, { "name": "token_contract", "type": "name" }, { "name": "amount", "type": "int64" } ] }Table row type of nftrewards
{ "name": "nftrewardrow", "base": "", "fields": [ { "name": "asset_id", "type": "uint64" }, { "name": "template_id", "type": "int32" }, { "name": "collection", "type": "name" }, { "name": "schema", "type": "name" }, { "name": "claimed", "type": "uint8" } ] }Table row type of violations
{ "name": "violationrow", "base": "", "fields": [ { "name": "violator_raw", "type": "uint64" }, { "name": "violator", "type": "name" }, { "name": "reason", "type": "string" }, { "name": "reported_by", "type": "name" }, { "name": "reported_at", "type": "uint64" } ] }Table row type of trackrules
{ "name": "trackingrulerow", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "watch_contract", "type": "name" }, { "name": "watch_action", "type": "name" }, { "name": "account_field", "type": "string" }, { "name": "points_per_event", "type": "uint64" } ] }-
{ "name": "globalrow", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "next_competition_id", "type": "uint64" } ] } Table row type of payoutstate
{ "name": "payoutstaterow", "base": "", "fields": [ { "name": "id", "type": "uint64" }, { "name": "total_count", "type": "uint32" }, { "name": "last_paid_idx", "type": "uint32" }, { "name": "total_points", "type": "uint64" }, { "name": "distributed", "type": "int64" }, { "name": "admin_cut_taken", "type": "uint8" }, { "name": "nft_distributed", "type": "uint8" } ] }Struct property of createcomp
{ "name": "TierEntry", "base": "", "fields": [ { "name": "rank_position", "type": "uint64" }, { "name": "pct_bps", "type": "uint16" } ] }Struct property of batchaddpts
{ "name": "PointsEntry", "base": "", "fields": [ { "name": "user", "type": "name" }, { "name": "points", "type": "uint64" } ] }