WAX

comp.pasha

Contract

{
  "version": "eosio::abi/1.2",
  "types": [],
  "structs": [
    {
      "name": "setconfig",
      "base": "",
      "fields": [
        {
          "name": "caller",
          "type": "name"
        },
        {
          "name": "admins",
          "type": "name[]"
        },
        {
          "name": "fee_token_contract",
          "type": "name"
        },
        {
          "name": "fee_amount",
          "type": "asset"
        },
        {
          "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"
        }
      ]
    },
    {
      "name": "batchpayout",
      "base": "",
      "fields": [
        {
          "name": "caller",
          "type": "name"
        },
        {
          "name": "competition_id",
          "type": "uint64"
        },
        {
          "name": "max_pays",
          "type": "uint32"
        }
      ]
    },
    {
      "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_contract",
          "type": "name"
        },
        {
          "name": "prize_amount",
          "type": "asset"
        },
        {
          "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": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "editcomp",
      "base": "",
      "fields": [
        {
          "name": "caller",
          "type": "name"
        },
        {
          "name": "competition_id",
          "type": "uint64"
        },
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "image_url",
          "type": "string"
        },
        {
          "name": "start_time",
          "type": "uint64"
        },
        {
          "name": "end_time",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "kickuser",
      "base": "",
      "fields": [
        {
          "name": "caller",
          "type": "name"
        },
        {
          "name": "competition_id",
          "type": "uint64"
        },
        {
          "name": "user",
          "type": "name"
        }
      ]
    },
    {
      "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_contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "rmtracking",
      "base": "",
      "fields": [
        {
          "name": "caller",
          "type": "name"
        },
        {
          "name": "competition_id",
          "type": "uint64"
        },
        {
          "name": "rule_id",
          "type": "uint64"
        }
      ]
    },
    {
      "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_amount",
          "type": "asset"
        },
        {
          "name": "fee_token_contract",
          "type": "name"
        },
        {
          "name": "admin_cut_bps",
          "type": "uint16"
        },
        {
          "name": "batch_payout_delay_sec",
          "type": "uint32"
        },
        {
          "name": "default_max_participants",
          "type": "uint32"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "payouttierrow",
      "base": "",
      "fields": [
        {
          "name": "rank_position",
          "type": "uint64"
        },
        {
          "name": "pct_bps",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "participantrow",
      "base": "",
      "fields": [
        {
          "name": "account_raw",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "points",
          "type": "uint64"
        },
        {
          "name": "joined_at",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "balancerow",
      "base": "",
      "fields": [
        {
          "name": "token_sym_raw",
          "type": "uint64"
        },
        {
          "name": "token_sym",
          "type": "symbol"
        },
        {
          "name": "token_contract",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "int64"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "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"
        }
      ]
    },
    {
      "name": "TierEntry",
      "base": "",
      "fields": [
        {
          "name": "rank_position",
          "type": "uint64"
        },
        {
          "name": "pct_bps",
          "type": "uint16"
        }
      ]
    },
    {
      "name": "PointsEntry",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "points",
          "type": "uint64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "setconfig",
      "type": "setconfig",
      "ricardian_contract": ""
    },
    {
      "name": "addtoken",
      "type": "addtoken",
      "ricardian_contract": ""
    },
    {
      "name": "rmtoken",
      "type": "rmtoken",
      "ricardian_contract": ""
    },
    {
      "name": "forceend",
      "type": "forceend",
      "ricardian_contract": ""
    },
    {
      "name": "batchpayout",
      "type": "batchpayout",
      "ricardian_contract": ""
    },
    {
      "name": "createcomp",
      "type": "createcomp",
      "ricardian_contract": ""
    },
    {
      "name": "fundcomp",
      "type": "fundcomp",
      "ricardian_contract": ""
    },
    {
      "name": "joincomp",
      "type": "joincomp",
      "ricardian_contract": ""
    },
    {
      "name": "leavecomp",
      "type": "leavecomp",
      "ricardian_contract": ""
    },
    {
      "name": "addpoints",
      "type": "addpoints",
      "ricardian_contract": ""
    },
    {
      "name": "batchaddpts",
      "type": "batchaddpts",
      "ricardian_contract": ""
    },
    {
      "name": "endcomp",
      "type": "endcomp",
      "ricardian_contract": ""
    },
    {
      "name": "editcomp",
      "type": "editcomp",
      "ricardian_contract": ""
    },
    {
      "name": "kickuser",
      "type": "kickuser",
      "ricardian_contract": ""
    },
    {
      "name": "reportuser",
      "type": "reportuser",
      "ricardian_contract": ""
    },
    {
      "name": "unreport",
      "type": "unreport",
      "ricardian_contract": ""
    },
    {
      "name": "withdraw",
      "type": "withdraw",
      "ricardian_contract": ""
    },
    {
      "name": "settracking",
      "type": "settracking",
      "ricardian_contract": ""
    },
    {
      "name": "rmtracking",
      "type": "rmtracking",
      "ricardian_contract": ""
    },
    {
      "name": "addnfttempl",
      "type": "addnfttempl",
      "ricardian_contract": ""
    },
    {
      "name": "cls",
      "type": "cls",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "config",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "configrow"
    },
    {
      "name": "global",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "globalrow"
    },
    {
      "name": "supptokens",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "supportedtokenrow"
    },
    {
      "name": "competitions",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "competitionrow"
    },
    {
      "name": "payouttiers",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "payouttierrow"
    },
    {
      "name": "participants",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "participantrow"
    },
    {
      "name": "balances",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "balancerow"
    },
    {
      "name": "nftrewards",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "nftrewardrow"
    },
    {
      "name": "violations",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "violationrow"
    },
    {
      "name": "trackrules",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "trackingrulerow"
    },
    {
      "name": "payoutstate",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "payoutstaterow"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}