WAX

kogspack1111

合约

{
  "version": "eosio::abi/1.1",
  "types": [],
  "structs": [
    {
      "name": "OUTCOME",
      "base": "",
      "fields": [
        {
          "name": "odds",
          "type": "uint32"
        },
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    },
    {
      "name": "addpackroll",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "outcomes",
          "type": "OUTCOME[]"
        },
        {
          "name": "total_odds",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "announcepack",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "unlock_time",
          "type": "uint32"
        },
        {
          "name": "display_data",
          "type": "string"
        }
      ]
    },
    {
      "name": "buyramproxy",
      "base": "",
      "fields": [
        {
          "name": "collection_to_credit",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    },
    {
      "name": "claimunboxed",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "origin_roll_ids",
          "type": "uint64[]"
        }
      ]
    },
    {
      "name": "completepack",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "pack_template_id",
          "type": "int32"
        }
      ]
    },
    {
      "name": "delpackroll",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "roll_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "identifier_s",
      "base": "",
      "fields": [
        {
          "name": "contract_type",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        }
      ]
    },
    {
      "name": "lognewpack",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "unlock_time",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "lognewroll",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "roll_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "logresult",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "template_ids",
          "type": "int32[]"
        }
      ]
    },
    {
      "name": "packrolls_s",
      "base": "",
      "fields": [
        {
          "name": "roll_id",
          "type": "uint64"
        },
        {
          "name": "outcomes",
          "type": "OUTCOME[]"
        },
        {
          "name": "total_odds",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "packs_s",
      "base": "",
      "fields": [
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "unlock_time",
          "type": "uint32"
        },
        {
          "name": "pack_template_id",
          "type": "int32"
        },
        {
          "name": "roll_counter",
          "type": "uint64"
        },
        {
          "name": "display_data",
          "type": "string"
        }
      ]
    },
    {
      "name": "rambalances_s",
      "base": "",
      "fields": [
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "byte_balance",
          "type": "int64"
        }
      ]
    },
    {
      "name": "receiverand",
      "base": "",
      "fields": [
        {
          "name": "assoc_id",
          "type": "uint64"
        },
        {
          "name": "random_value",
          "type": "checksum256"
        }
      ]
    },
    {
      "name": "retryrand",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "setident",
      "base": "",
      "fields": [
        {
          "name": "contract_type",
          "type": "string"
        },
        {
          "name": "version",
          "type": "string"
        }
      ]
    },
    {
      "name": "setpackdata",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "display_data",
          "type": "string"
        }
      ]
    },
    {
      "name": "setpacktime",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "new_unlock_time",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "unboxassets_s",
      "base": "",
      "fields": [
        {
          "name": "origin_roll_id",
          "type": "uint64"
        },
        {
          "name": "template_id",
          "type": "int32"
        }
      ]
    },
    {
      "name": "unboxpacks_s",
      "base": "",
      "fields": [
        {
          "name": "pack_asset_id",
          "type": "uint64"
        },
        {
          "name": "pack_id",
          "type": "uint64"
        },
        {
          "name": "unboxer",
          "type": "name"
        }
      ]
    },
    {
      "name": "withdrawram",
      "base": "",
      "fields": [
        {
          "name": "authorized_account",
          "type": "name"
        },
        {
          "name": "collection_name",
          "type": "name"
        },
        {
          "name": "recipient",
          "type": "name"
        },
        {
          "name": "bytes",
          "type": "int64"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "addpackroll",
      "type": "addpackroll",
      "ricardian_contract": ""
    },
    {
      "name": "announcepack",
      "type": "announcepack",
      "ricardian_contract": ""
    },
    {
      "name": "buyramproxy",
      "type": "buyramproxy",
      "ricardian_contract": ""
    },
    {
      "name": "claimunboxed",
      "type": "claimunboxed",
      "ricardian_contract": ""
    },
    {
      "name": "completepack",
      "type": "completepack",
      "ricardian_contract": ""
    },
    {
      "name": "delpackroll",
      "type": "delpackroll",
      "ricardian_contract": ""
    },
    {
      "name": "lognewpack",
      "type": "lognewpack",
      "ricardian_contract": ""
    },
    {
      "name": "lognewroll",
      "type": "lognewroll",
      "ricardian_contract": ""
    },
    {
      "name": "logresult",
      "type": "logresult",
      "ricardian_contract": ""
    },
    {
      "name": "receiverand",
      "type": "receiverand",
      "ricardian_contract": ""
    },
    {
      "name": "retryrand",
      "type": "retryrand",
      "ricardian_contract": ""
    },
    {
      "name": "setident",
      "type": "setident",
      "ricardian_contract": ""
    },
    {
      "name": "setpackdata",
      "type": "setpackdata",
      "ricardian_contract": ""
    },
    {
      "name": "setpacktime",
      "type": "setpacktime",
      "ricardian_contract": ""
    },
    {
      "name": "withdrawram",
      "type": "withdrawram",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "identifier",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "identifier_s"
    },
    {
      "name": "packrolls",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "packrolls_s"
    },
    {
      "name": "packs",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "packs_s"
    },
    {
      "name": "rambalances",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "rambalances_s"
    },
    {
      "name": "unboxassets",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "unboxassets_s"
    },
    {
      "name": "unboxpacks",
      "index_type": "i64",
      "key_names": [],
      "key_types": [],
      "type": "unboxpacks_s"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}