WAX

d.rplanet

Contract

The data structures defined by this contract.

  • Table row type of accstats

    {
      "name": "AccountStatusModel",
      "base": "",
      "fields": [
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "counter",
          "type": "uint32"
        },
        {
          "name": "last_claim_time",
          "type": "uint32"
        },
        {
          "name": "r1",
          "type": "uint64"
        },
        {
          "name": "r2",
          "type": "uint64"
        },
        {
          "name": "r3",
          "type": "uint64"
        }
      ]
    }
  • Table row type of balances

    Table row type of colbalances

    {
      "name": "BalanceModel",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "quantities",
          "type": "asset[]"
        },
        {
          "name": "r1",
          "type": "uint64"
        },
        {
          "name": "r2",
          "type": "uint64"
        },
        {
          "name": "r3",
          "type": "uint64"
        }
      ]
    }
  • Table row type of config

    {
      "name": "ConfigModel",
      "base": "",
      "fields": [
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "supported_tokens",
          "type": "SupportedToken[]"
        },
        {
          "name": "r1",
          "type": "uint64"
        },
        {
          "name": "r2",
          "type": "uint64"
        },
        {
          "name": "r3",
          "type": "uint64"
        },
        {
          "name": "r4",
          "type": "uint64"
        },
        {
          "name": "r5",
          "type": "uint64"
        }
      ]
    }
  • Table row type of drops

    {
      "name": "DropModel",
      "base": "",
      "fields": [
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "templates_to_mint",
          "type": "int32[]"
        },
        {
          "name": "r1",
          "type": "uint128"
        },
        {
          "name": "account_limit",
          "type": "uint32"
        },
        {
          "name": "account_limit_cooldown",
          "type": "uint32"
        },
        {
          "name": "max_claimable",
          "type": "uint32"
        },
        {
          "name": "current_claimed",
          "type": "uint32"
        },
        {
          "name": "start_time",
          "type": "uint32"
        },
        {
          "name": "end_time",
          "type": "uint32"
        },
        {
          "name": "flags",
          "type": "uint64"
        },
        {
          "name": "fee_rate",
          "type": "float64"
        },
        {
          "name": "display_data",
          "type": "string"
        },
        {
          "name": "listing_prices",
          "type": "asset[]"
        },
        {
          "name": "r2",
          "type": "uint128"
        },
        {
          "name": "r3",
          "type": "uint64"
        },
        {
          "name": "r4",
          "type": "uint16"
        }
      ]
    }
  • Table row type of rambalances

    {
      "name": "RamBalanceModel",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "deposited_bytes",
          "type": "int64"
        },
        {
          "name": "used_bytes",
          "type": "int64"
        },
        {
          "name": "r1",
          "type": "uint64"
        },
        {
          "name": "r2",
          "type": "uint64"
        },
        {
          "name": "r3",
          "type": "uint64"
        }
      ]
    }
  • Struct property of ConfigModel

    Struct property of setsuptokens

    {
      "name": "SupportedToken",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }
  • Table row type of whitelists

    {
      "name": "WhitelistModel",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in addtowl

    {
      "name": "addtowl",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "accounts",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in claimdrop

    {
      "name": "claimdrop",
      "base": "",
      "fields": [
        {
          "name": "claimer",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "amount",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in clearwl

    {
      "name": "clearwl",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "max_accounts_to_clear",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in createdrop

    {
      "name": "createdrop",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "templates_to_mint",
          "type": "int32[]"
        },
        {
          "name": "listing_prices",
          "type": "asset[]"
        },
        {
          "name": "max_claimable",
          "type": "uint64"
        },
        {
          "name": "account_limit",
          "type": "uint32"
        },
        {
          "name": "account_limit_cooldown",
          "type": "uint32"
        },
        {
          "name": "start_time",
          "type": "uint32"
        },
        {
          "name": "end_time",
          "type": "uint32"
        },
        {
          "name": "display_data",
          "type": "string"
        },
        {
          "name": "auth_required",
          "type": "bool"
        },
        {
          "name": "whitelist_used",
          "type": "bool"
        }
      ]
    }
  • Action parameter in disable

    {
      "name": "disable",
      "base": "",
      "fields": []
    }
  • Action parameter in enable

    {
      "name": "enable",
      "base": "",
      "fields": []
    }
  • Action parameter in eraseaccstat

    {
      "name": "eraseaccstat",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in erasedrop

    {
      "name": "erasedrop",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in erasefromwl

    {
      "name": "erasefromwl",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "accounts",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in migrate

    {
      "name": "migrate",
      "base": "",
      "fields": []
    }
  • Action parameter in setdropauth

    {
      "name": "setdropauth",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "auth_required",
          "type": "bool"
        },
        {
          "name": "whitelist_used",
          "type": "bool"
        }
      ]
    }
  • Action parameter in setdropdata

    {
      "name": "setdropdata",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "display_data",
          "type": "string"
        }
      ]
    }
  • Action parameter in setdroplimit

    {
      "name": "setdroplimit",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "account_limit",
          "type": "uint32"
        },
        {
          "name": "account_limit_cooldown",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setdropmax

    {
      "name": "setdropmax",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "max_claimable",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setdropprice

    {
      "name": "setdropprice",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "listing_prices",
          "type": "asset[]"
        }
      ]
    }
  • Action parameter in setdroptimes

    {
      "name": "setdroptimes",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "start_time",
          "type": "uint32"
        },
        {
          "name": "end_time",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in setfeerate

    {
      "name": "setfeerate",
      "base": "",
      "fields": [
        {
          "name": "drop_id",
          "type": "uint64"
        },
        {
          "name": "fee_rate",
          "type": "float64"
        }
      ]
    }
  • Action parameter in setsuptokens

    {
      "name": "setsuptokens",
      "base": "",
      "fields": [
        {
          "name": "supported_tokens",
          "type": "SupportedToken[]"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in withdrawcol

    {
      "name": "withdrawcol",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipient",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in withdrawram

    {
      "name": "withdrawram",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipient",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "int64"
        }
      ]
    }