Verified contractPartial
Cards
Address0x629cdec6acc980ebeebea9e5003bcd44db9fc5ce
- Balance
0 ETH
- Transactions
533
- Compiler
solc 0.5.11
- Same code
4 more contracts
Details
- Compiler
- solc 0.5.11+commit.c082d0b4
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- petersburg
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,851,110
- Creation transaction
- 0xa397863084…2ec6abd5a8
Read39
- supportsInterface(bytes4) → (bool)
- cardQualities(uint256) → (uint8)
- mythicTradable(uint16) → (bool)
- name() → (string)
- getApproved(uint256) → (address)
- totalSupply() → (uint256)
- addressToUserID(address) → (uint48)
- mythicApproved(uint16,address) → (bool)
- factoryApproved(address,uint256) → (bool)
- MYTHIC_THRESHOLD() → (uint16)
- getTokenKey(uint256,bytes32) → (bytes32)
- getClassKey(bytes32) → (bytes32)
- getBatch(uint256) → (uint48,uint16)
- ownerOf(uint256) → (address)
- userIDToAddress(uint48) → (address)
- baseURI() → (string)
- balanceOf(address) → (uint256)
- getBatchStart(uint256) → (uint256)
- owner() → (address)
- isOwner() → (bool)
- symbol() → (string)
- tokenCount() → (uint256)
- getClassProperty(bytes32) → (bytes32)
- protos(uint256) → (bool,bool,uint8,uint8,uint8,uint8,uint8,uint8,uint8)
- seasonTradable(uint256) → (bool)
- batches(uint256) → (uint48,uint16)
- protoToSeason(uint256) → (uint16)
- getDetails(uint256) → (uint16,uint8)
- properties(bytes32) → (bytes32)
- tokenURI(uint256) → (string)
- getProperty(uint256,bytes32) → (bytes32)
- mythicCreated(uint16) → (bool)
- isTradable(uint256) → (bool)
- propertyManager() → (address)
- nextBatch() → (uint256)
- isApprovedForAll(address,address) → (bool)
- cardProtos(uint256) → (uint16)
- batchSize() → (uint256)
- seasons(uint256) → (uint16,uint16)
Write26
- approve(address,uint256)
- transferAllFrom(address,address,uint256[])
- burnAll(uint256[])
- updateProtos(uint16[],uint8[],uint8[],uint8[],uint8[],uint8[],uint8[],uint8[])
- setPropertyManager(address)
- transferFrom(address,address,uint256)
- lockProtos(uint16[])
- safeTransferFrom(address,address,uint256)
- burn(uint256)
- setProperty(uint256,bytes32,bytes32)
- mintCard(address,uint16,uint8) → (uint256)
- approveForMythic(address,uint16)
- renounceOwnership()
- safeTransferAllFrom(address,address,uint256[])
- startSeason(string,uint16,uint16) → (uint256)
- setApprovalForAll(address,bool)
- setClassProperty(bytes32,bytes32)
- safeTransferBatch(address,address,uint256,uint256)
- safeTransferFrom(address,address,uint256,bytes)
- unlockTrading(uint256)
- transferBatch(address,address,uint256,uint256)
- mintCards(address,uint16[],uint8[]) → (uint256)
- setQuality(uint256,uint8)
- makeMythicTradable(uint16)
- addFactory(address,uint256)
- transferOwnership(address)
Events10
- ProtoUpdated(uint16)
- SeasonStarted(uint16,string,uint16,uint16)
- QualityChanged(uint256,uint8,address)
- CardsMinted(uint256,address,uint16[],uint8[])
- ClassPropertySet(bytes32,bytes32)
- TokenPropertySet(uint256,bytes32,bytes32)
- Transfer(address,address,uint256)
- Approval(address,address,uint256)
- ApprovalForAll(address,address,bool)
- OwnershipTransferred(address,address)
ABI as JSON
[
{
"name": "supportsInterface",
"type": "function",
"inputs": [
{
"name": "interfaceId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "cardQualities",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "mythicTradable",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "name",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "getApproved",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "transferAllFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenIDs",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "burnAll",
"type": "function",
"inputs": [
{
"name": "tokenIDs",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "updateProtos",
"type": "function",
"inputs": [
{
"name": "_ids",
"type": "uint16[]",
"internalType": "uint16[]"
},
{
"name": "_gods",
"type": "uint8[]",
"internalType": "uint8[]"
},
{
"name": "_cardTypes",
"type": "uint8[]",
"internalType": "uint8[]"
},
{
"name": "_rarities",
"type": "uint8[]",
"internalType": "uint8[]"
},
{
"name": "_manas",
"type": "uint8[]",
"internalType": "uint8[]"
},
{
"name": "_attacks",
"type": "uint8[]",
"internalType": "uint8[]"
},
{
"name": "_healths",
"type": "uint8[]",
"internalType": "uint8[]"
},
{
"name": "_tribes",
"type": "uint8[]",
"internalType": "uint8[]"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setPropertyManager",
"type": "function",
"inputs": [
{
"name": "_manager",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "addressToUserID",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint48",
"internalType": "uint48"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "mythicApproved",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "factoryApproved",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "MYTHIC_THRESHOLD",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "lockProtos",
"type": "function",
"inputs": [
{
"name": "_ids",
"type": "uint16[]",
"internalType": "uint16[]"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getTokenKey",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_key",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "pure"
},
{
"name": "getClassKey",
"type": "function",
"inputs": [
{
"name": "_key",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "pure"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "burn",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setProperty",
"type": "function",
"inputs": [
{
"name": "_id",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_key",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_value",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getBatch",
"type": "function",
"inputs": [
{
"name": "index",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "userID",
"type": "uint48",
"internalType": "uint48"
},
{
"name": "size",
"type": "uint16",
"internalType": "uint16"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "mintCard",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "_proto",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "_quality",
"type": "uint8",
"internalType": "uint8"
}
],
"outputs": [
{
"name": "id",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "approveForMythic",
"type": "function",
"inputs": [
{
"name": "_factory",
"type": "address",
"internalType": "address"
},
{
"name": "_mythic",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "ownerOf",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "userIDToAddress",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint48",
"internalType": "uint48"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "baseURI",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "safeTransferAllFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenIDs",
"type": "uint256[]",
"internalType": "uint256[]"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getBatchStart",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "startSeason",
"type": "function",
"inputs": [
{
"name": "name",
"type": "string",
"internalType": "string"
},
{
"name": "low",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "high",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "isOwner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "tokenCount",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "getClassProperty",
"type": "function",
"inputs": [
{
"name": "_key",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "setApprovalForAll",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"internalType": "bool"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setClassProperty",
"type": "function",
"inputs": [
{
"name": "_key",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_value",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "protos",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "locked",
"type": "bool",
"internalType": "bool"
},
{
"name": "exists",
"type": "bool",
"internalType": "bool"
},
{
"name": "god",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "cardType",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "rarity",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "mana",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "attack",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "health",
"type": "uint8",
"internalType": "uint8"
},
{
"name": "tribe",
"type": "uint8",
"internalType": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "safeTransferBatch",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "start",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "end",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "seasonTradable",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "batches",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "userID",
"type": "uint48",
"internalType": "uint48"
},
{
"name": "size",
"type": "uint16",
"internalType": "uint16"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "protoToSeason",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "safeTransferFrom",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_data",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getDetails",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "proto",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "quality",
"type": "uint8",
"internalType": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "unlockTrading",
"type": "function",
"inputs": [
{
"name": "_season",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "properties",
"type": "function",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transferBatch",
"type": "function",
"inputs": [
{
"name": "from",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "start",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "end",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "tokenURI",
"type": "function",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "mintCards",
"type": "function",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "_protos",
"type": "uint16[]",
"internalType": "uint16[]"
},
{
"name": "_qualities",
"type": "uint8[]",
"internalType": "uint8[]"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "getProperty",
"type": "function",
"inputs": [
{
"name": "_id",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_key",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "_value",
"type": "bytes32",
"internalType": "bytes32"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "mythicCreated",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "isTradable",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "setQuality",
"type": "function",
"inputs": [
{
"name": "_tokenId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_quality",
"type": "uint8",
"internalType": "uint8"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "propertyManager",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "nextBatch",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "makeMythicTradable",
"type": "function",
"inputs": [
{
"name": "_mythic",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "isApprovedForAll",
"type": "function",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "addFactory",
"type": "function",
"inputs": [
{
"name": "_factory",
"type": "address",
"internalType": "address"
},
{
"name": "_season",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "cardProtos",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "batchSize",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "seasons",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "high",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "low",
"type": "uint16",
"internalType": "uint16"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"type": "constructor",
"inputs": [
{
"name": "_batchSize",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_name",
"type": "string",
"internalType": "string"
},
{
"name": "_symbol",
"type": "string",
"internalType": "string"
}
],
"payable": false,
"stateMutability": "nonpayable"
},
{
"name": "ProtoUpdated",
"type": "event",
"inputs": [
{
"name": "id",
"type": "uint16",
"indexed": true,
"internalType": "uint16"
}
],
"anonymous": false
},
{
"name": "SeasonStarted",
"type": "event",
"inputs": [
{
"name": "id",
"type": "uint16",
"indexed": true,
"internalType": "uint16"
},
{
"name": "name",
"type": "string",
"indexed": false,
"internalType": "string"
},
{
"name": "low",
"type": "uint16",
"indexed": true,
"internalType": "uint16"
},
{
"name": "high",
"type": "uint16",
"indexed": true,
"internalType": "uint16"
}
],
"anonymous": false
},
{
"name": "QualityChanged",
"type": "event",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "quality",
"type": "uint8",
"indexed": false,
"internalType": "uint8"
},
{
"name": "factory",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "CardsMinted",
"type": "event",
"inputs": [
{
"name": "start",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "to",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "protos",
"type": "uint16[]",
"indexed": false,
"internalType": "uint16[]"
},
{
"name": "qualities",
"type": "uint8[]",
"indexed": false,
"internalType": "uint8[]"
}
],
"anonymous": false
},
{
"name": "ClassPropertySet",
"type": "event",
"inputs": [
{
"name": "key",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "value",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "TokenPropertySet",
"type": "event",
"inputs": [
{
"name": "id",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "key",
"type": "bytes32",
"indexed": true,
"internalType": "bytes32"
},
{
"name": "value",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"name": "Transfer",
"type": "event",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "Approval",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "ApprovalForAll",
"type": "event",
"inputs": [
{
"name": "owner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "operator",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "approved",
"type": "bool",
"indexed": false,
"internalType": "bool"
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.