[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "adventureGoldPerTokenId", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "approve", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "claimAllForOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenId", "type": "uint256" } ], "name": "claimById", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "ownerIndexStart", "type": "uint256" }, { "internalType": "uint256", "name": "ownerIndexEnd", "type": "uint256" } ], "name": "claimRangeForOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "amountDisplayValue", "type": "uint256" } ], "name": "daoMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "adventureGoldDisplayValue", "type": "uint256" } ], "name": "daoSetAdventureGoldPerTokenId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "lootContractAddress_", "type": "address" } ], "name": "daoSetLootContractAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "season_", "type": "uint256" } ], "name": "daoSetSeason", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "season_", "type": "uint256" }, { "internalType": "uint256", "name": "adventureGoldDisplayValue", "type": "uint256" } ], "name": "daoSetSeasonAndAdventureGoldPerTokenID", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokenIdStart_", "type": "uint256" }, { "internalType": "uint256", "name": "tokenIdEnd_", "type": "uint256" } ], "name": "daoSetTokenIdRange", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" } ], "name": "decreaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "lootContract", "outputs": [ { "internalType": "contract IERC721Enumerable", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lootContractAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "season", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "seasonClaimedByTokenId", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "tokenIdEnd", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "tokenIdStart", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
6080604052600680546001600160a01b03191673ff9c1b15b16263c61d017ee9f65c50e4ae0113d717905562000033601290565b6200004090600a62000360565b6200004e906127106200042e565b6008556001600955611f40600a556000600b553480156200006e57600080fd5b506040518060400160405280600e81526020016d10591d995b9d1d5c994811dbdb1960921b815250604051806040016040528060048152602001631051d31160e21b815250620000cd620000c76200014860201b60201c565b6200014c565b8151620000e290600490602085019062000271565b508051620000f890600590602084019062000271565b5050506200012073cd814c83198c15a542f9a13faf84d518d1744ed16200019c60201b60201c565b600654600780546001600160a01b0319166001600160a01b03909216919091179055620004a3565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620002635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620001f3565b6200026e816200014c565b50565b8280546200027f9062000450565b90600052602060002090601f016020900481019282620002a35760008555620002ee565b82601f10620002be57805160ff1916838001178555620002ee565b82800160010185558215620002ee579182015b82811115620002ee578251825591602001919060010190620002d1565b50620002fc92915062000300565b5090565b5b80821115620002fc576000815560010162000301565b600181815b80851115620003585781600019048211156200033c576200033c6200048d565b808516156200034a57918102915b93841c93908002906200031c565b509250929050565b60006200037160ff84168362000378565b9392505050565b600082620003895750600162000428565b81620003985750600062000428565b8160018114620003b15760028114620003bc57620003dc565b600191505062000428565b60ff841115620003d057620003d06200048d565b50506001821b62000428565b5060208310610133831016604e8410600b841016171562000401575081810a62000428565b6200040d838362000317565b80600019048211156200042457620004246200048d565b0290505b92915050565b60008160001904831182151516156200044b576200044b6200048d565b500290565b600181811c908216806200046557607f821691505b602082108114156200048757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61157b80620004b36000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a8af32e9116100a2578063cbf0b27611610071578063cbf0b276146103d3578063dd62ed3e146103db578063e5e808cb14610414578063f2fde38b1461044257600080fd5b8063a8af32e914610391578063a9059cbb146103a4578063becf7741146103b7578063c50b0fb0146103ca57600080fd5b8063878e7ea5116100de578063878e7ea5146103525780638da5cb5b1461036557806395d89b4114610376578063a457c2d71461037e57600080fd5b806370a0823114610318578063715018a614610341578063845f290d1461034957600080fd5b806332565c491161017c57806342e473151161014b57806342e47315146102d657806343f42802146102e95780634da7808a146102f257806362759f6c1461030557600080fd5b806332565c491461027257806332c882041461028557806335b48afd1461029857806339509351146102c357600080fd5b806318f510eb116101b857806318f510eb1461023257806323b872dd146102475780632a3890621461025a578063313ce5671461026357600080fd5b806306fdde03146101df578063095ea7b3146101fd57806318160ddd14610220575b600080fd5b6101e7610455565b6040516101f49190611315565b60405180910390f35b61021061020b366004611295565b6104e7565b60405190151581526020016101f4565b6003545b6040519081526020016101f4565b6102456102403660046112f3565b6104fe565b005b610210610255366004611254565b610547565b61022460095481565b604051601281526020016101f4565b6102456102803660046112c1565b6105f1565b6102456102933660046111da565b610637565b6007546102ab906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b6102106102d1366004611295565b61068d565b6102456102e43660046112c1565b6106c9565b610224600a5481565b6102456103003660046112f3565b6106f8565b6102456103133660046112c1565b61072d565b6102246103263660046111da565b6001600160a01b031660009081526001602052604090205490565b61024561078a565b61022460085481565b6102456103603660046112f3565b6107c0565b6000546001600160a01b03166102ab565b6101e7610990565b61021061038c366004611295565b61099f565b6006546102ab906001600160a01b031681565b6102106103b2366004611295565b610a38565b6102456103c53660046112c1565b610a45565b610224600b5481565b610245610b1f565b6102246103e936600461121b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6102106104223660046112f3565b600c60209081526000928352604080842090915290825290205460ff1681565b6102456104503660046111da565b610c27565b606060048054610464906114c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610490906114c4565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b5050505050905090565b60006104f4338484610cbf565b5060015b92915050565b6000546001600160a01b031633146105315760405162461bcd60e51b81526004016105289061136a565b60405180910390fd5b61053a826106c9565b610543816105f1565b5050565b6000610554848484610de3565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156105d95760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610528565b6105e68533858403610cbf565b506001949350505050565b6000546001600160a01b0316331461061b5760405162461bcd60e51b81526004016105289061136a565b6106276012600a6113fa565b61063190826114a5565b60085550565b6000546001600160a01b031633146106615760405162461bcd60e51b81526004016105289061136a565b600680546001600160a01b039092166001600160a01b0319928316811790915560078054909216179055565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104f49185906106c490869061139f565b610cbf565b6000546001600160a01b031633146106f35760405162461bcd60e51b81526004016105289061136a565b600b55565b6000546001600160a01b031633146107225760405162461bcd60e51b81526004016105289061136a565b600991909155600a55565b6000546001600160a01b031633146107575760405162461bcd60e51b81526004016105289061136a565b61078761076c6000546001600160a01b031690565b6107786012600a6113fa565b61078290846114a5565b610fb1565b50565b6000546001600160a01b031633146107b45760405162461bcd60e51b81526004016105289061136a565b6107be6000611090565b565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b15801561081457600080fd5b505afa158015610828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084c91906112da565b9050600081116108905760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b8082106108d45760405162461bcd60e51b8152602060048201526012602482015271494e4445585f4f55545f4f465f52414e474560701b6044820152606401610528565b825b82811161098a57600754610978906001600160a01b0316632f745c59335b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024810185905260440160206040518083038186803b15801561093a57600080fd5b505afa15801561094e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097291906112da565b336110e0565b80610982816114ff565b9150506108d6565b50505050565b606060058054610464906114c4565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610a215760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610528565b610a2e3385858403610cbf565b5060019392505050565b60006104f4338484610de3565b6007546040516331a9108f60e11b8152600481018390526001600160a01b0390911690636352211e9060240160206040518083038186803b158015610a8957600080fd5b505afa158015610a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac191906111fe565b6001600160a01b0316336001600160a01b031614610b155760405162461bcd60e51b8152602060048201526011602482015270135554d517d3d5d397d513d2d15397d251607a1b6044820152606401610528565b61078781336110e0565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610b7357600080fd5b505afa158015610b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bab91906112da565b905060008111610bef5760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b60005b8181101561054357600754610c15906001600160a01b0316632f745c59336108f4565b80610c1f816114ff565b915050610bf2565b6000546001600160a01b03163314610c515760405162461bcd60e51b81526004016105289061136a565b6001600160a01b038116610cb65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610528565b61078781611090565b6001600160a01b038316610d215760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610d825760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610528565b6001600160a01b038216610ea95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526001602052604090205481811015610f215760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610528565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610f5890849061139f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610fa491815260200190565b60405180910390a361098a565b6001600160a01b0382166110075760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610528565b8060036000828254611019919061139f565b90915550506001600160a01b0382166000908152600160205260408120805483929061104690849061139f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60095482101580156110f45750600a548211155b6111385760405162461bcd60e51b8152602060048201526015602482015274544f4b454e5f49445f4f55545f4f465f52414e474560581b6044820152606401610528565b600b546000908152600c6020908152604080832085845290915290205460ff16156111a55760405162461bcd60e51b815260206004820152601960248201527f474f4c445f434c41494d45445f464f525f544f4b454e5f4944000000000000006044820152606401610528565b600b546000908152600c602090815260408083208584529091529020805460ff19166001179055600854610543908290610fb1565b6000602082840312156111ec57600080fd5b81356111f781611530565b9392505050565b60006020828403121561121057600080fd5b81516111f781611530565b6000806040838503121561122e57600080fd5b823561123981611530565b9150602083013561124981611530565b809150509250929050565b60008060006060848603121561126957600080fd5b833561127481611530565b9250602084013561128481611530565b929592945050506040919091013590565b600080604083850312156112a857600080fd5b82356112b381611530565b946020939093013593505050565b6000602082840312156112d357600080fd5b5035919050565b6000602082840312156112ec57600080fd5b5051919050565b6000806040838503121561130657600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561134257858101830151858201604001528201611326565b81811115611354576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113b2576113b261151a565b500190565b600181815b808511156113f25781600019048211156113d8576113d861151a565b808516156113e557918102915b93841c93908002906113bc565b509250929050565b60006111f760ff841683600082611413575060016104f8565b81611420575060006104f8565b816001811461143657600281146114405761145c565b60019150506104f8565b60ff8411156114515761145161151a565b50506001821b6104f8565b5060208310610133831016604e8410600b841016171561147f575081810a6104f8565b61148983836113b7565b806000190482111561149d5761149d61151a565b029392505050565b60008160001904831182151516156114bf576114bf61151a565b500290565b600181811c908216806114d857607f821691505b602082108114156114f957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156115135761151361151a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461078757600080fdfea264697066735822122018d345deda60bb8be6ec0c2ba2226db04e33cb88103206e8363649e23673249b64736f6c63430008070033