Address Contract Partially Verified
Address
0x31CEaE7A1beEdCd15f5AF6882f36018cf634969C
Balance
0 ETH
Nonce
1
Code Size
14957 bytes
Creator
0x5042cf4C...d6a8 at tx 0xe423d2f7...a506bb
Indexed Transactions
0
Contract Bytecode
14957 bytes
0x6080604052600436106103195760003560e01c806370a08231116101ab578063a22cb465116100f7578063d15c84f111610095578063e6a5931e1161006f578063e6a5931e146108d6578063e8a3d485146108ec578063e985e9c514610901578063f2fde38b1461094a57600080fd5b8063d15c84f114610898578063d6f407c7146108ab578063d75e6110146108c157600080fd5b8063c6ab67a3116100d1578063c6ab67a31461082e578063c82b692c14610843578063c87b56dd14610858578063cc969b581461087857600080fd5b8063a22cb465146107ce578063b88d4fde146107ee578063c2b40ae41461080e57600080fd5b8063808c5f6d116101645780638da5cb5b1161013e5780638da5cb5b1461075b578063938e3d7b1461077957806395d89b4114610799578063996df9a6146107ae57600080fd5b8063808c5f6d146106fd578063884b3c82146107125780638d859f3e1461073f57600080fd5b806370a082311461065c578063715018a61461067c578063723fc5d31461069157806377bbebe6146106a75780637a6685f1146106c75780637f44ab2f146106e757600080fd5b806335c3003a1161026a57806355f804b3116102235780635b5da8a4116101fd5780635b5da8a4146105dc5780635d87f355146105fc5780636352211e1461061c5780636e83843a1461063c57600080fd5b806355f804b314610592578063598dc3b1146105b25780635b0a3843146105c757600080fd5b806335c3003a146104db5780633ccfd60b146104fb57806342842e0e146105105780634e99b800146105305780634f6ccce714610545578063540d11be1461056557600080fd5b8063163e1e61116102d757806322f3e2d4116102b157806322f3e2d41461046157806323b872dd1461047b5780632750fc781461049b5780632f745c59146104bb57600080fd5b8063163e1e611461040257806318160ddd146104225780631be5cd5c1461044157600080fd5b80620dd65d1461031e57806301ffc9a71461033357806306fdde0314610368578063081812fc1461038a578063095ea7b3146103c257806310969523146103e2575b600080fd5b61033161032c366004613594565b61096a565b005b34801561033f57600080fd5b5061035361034e366004613493565b610c4f565b60405190151581526020015b60405180910390f35b34801561037457600080fd5b5061037d610c7a565b60405161035f91906137a9565b34801561039657600080fd5b506103aa6103a536600461357c565b610d0c565b6040516001600160a01b03909116815260200161035f565b3480156103ce57600080fd5b506103316103dd366004613355565b610da1565b3480156103ee57600080fd5b506103316103fd366004613537565b610eb7565b34801561040e57600080fd5b5061033161041d36600461337e565b610f2f565b34801561042e57600080fd5b506008545b60405190815260200161035f565b34801561044d57600080fd5b5061037d61045c36600461357c565b611020565b34801561046d57600080fd5b50600e546103539060ff1681565b34801561048757600080fd5b50610331610496366004613279565b6110cc565b3480156104a757600080fd5b506103316104b6366004613479565b6110fd565b3480156104c757600080fd5b506104336104d6366004613355565b61113a565b3480156104e757600080fd5b506103536104f63660046133bd565b6111d0565b34801561050757600080fd5b5061033161124e565b34801561051c57600080fd5b5061033161052b366004613279565b611324565b34801561053c57600080fd5b5061037d61133f565b34801561055157600080fd5b5061043361056036600461357c565b61134c565b34801561057157600080fd5b5061043361058036600461357c565b60156020526000908152604090205481565b34801561059e57600080fd5b506103316105ad3660046134cb565b6113ed565b3480156105be57600080fd5b50610433611423565b3480156105d357600080fd5b50610331611433565b3480156105e857600080fd5b506103316105f736600461337e565b611569565b34801561060857600080fd5b5061033161061736600461337e565b61159f565b34801561062857600080fd5b506103aa61063736600461357c565b61163f565b34801561064857600080fd5b506103316106573660046134cb565b6116b6565b34801561066857600080fd5b50610433610677366004613226565b6116ec565b34801561068857600080fd5b50610331611773565b34801561069d57600080fd5b5061043361271081565b3480156106b357600080fd5b506104336106c236600461357c565b6117a9565b3480156106d357600080fd5b506103316106e236600461357c565b6117ca565b3480156106f357600080fd5b5061043360105481565b34801561070957600080fd5b50610433606581565b34801561071e57600080fd5b5061043361072d366004613226565b60166020526000908152604090205481565b34801561074b57600080fd5b5061043367011c37937e08000081565b34801561076757600080fd5b50600a546001600160a01b03166103aa565b34801561078557600080fd5b506103316107943660046134cb565b6117f9565b3480156107a557600080fd5b5061037d61182f565b3480156107ba57600080fd5b506103316107c9366004613411565b61183e565b3480156107da57600080fd5b506103316107e936600461332c565b611b22565b3480156107fa57600080fd5b506103316108093660046132b4565b611be7565b34801561081a57600080fd5b5061043361082936600461357c565b611c19565b34801561083a57600080fd5b5061037d611c29565b34801561084f57600080fd5b5061037d611c36565b34801561086457600080fd5b5061037d61087336600461357c565b611c43565b34801561088457600080fd5b5061043361089336600461357c565b611e62565b6103316108a63660046135dd565b611f1c565b3480156108b757600080fd5b5061043360115481565b3480156108cd57600080fd5b50610433600a81565b3480156108e257600080fd5b5061043360125481565b3480156108f857600080fd5b5061037d61241d565b34801561090d57600080fd5b5061035361091c366004613247565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561095657600080fd5b50610331610965366004613226565b61242a565b600e5460ff166109ac5760405162461bcd60e51b8152602060048201526008602482015267496e61637469766560c01b60448201526064015b60405180910390fd5b60146002815481106109ce57634e487b7160e01b600052603260045260246000fd5b90600052602060002001544211610a155760405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b60448201526064016109a3565b61271060125410610a595760405162461bcd60e51b815260206004820152600e60248201526d4578636565647320737570706c7960901b60448201526064016109a3565b600a831115610a9a5760405162461bcd60e51b815260206004820152600d60248201526c115e18d959591cc81b1a5b5a5d609a1b60448201526064016109a3565b828114610adc5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642066616374696f6e7360801b60448201526064016109a3565b34610aef67011c37937e08000085613919565b1115610b305760405162461bcd60e51b815260206004820152601060248201526f092dce6eaccccd2c6d2cadce8408aa8960831b60448201526064016109a3565b60005b83811015610c49576127106012541015610c3757600160126000828254610b5a91906138ed565b9091555050601254600090610b709060656138ed565b9050610b7c33826124c5565b6000848484818110610b9e57634e487b7160e01b600052603260045260246000fd5b905060200201359050600b805490508110610bcb5760405162461bcd60e51b81526004016109a39061380e565b600082815260156020908152604080832084905583835260179091528120805460019290610bfa9084906138ed565b909155505060405181815282907fb84e382455deff81bdfd5a71977d9b39c015561e73468964c83b38377363d8269060200160405180910390a250505b80610c41816139b0565b915050610b33565b50505050565b60006001600160e01b0319821663780e9d6360e01b1480610c745750610c74826124df565b92915050565b606060008054610c899061397b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb59061397b565b8015610d025780601f10610cd757610100808354040283529160200191610d02565b820191906000526020600020905b815481529060010190602001808311610ce557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109a3565b506000908152600460205260409020546001600160a01b031690565b6000610dac8261163f565b9050806001600160a01b0316836001600160a01b03161415610e1a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109a3565b336001600160a01b0382161480610e365750610e36813361091c565b610ea85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109a3565b610eb2838361252f565b505050565b600a546001600160a01b03163314610ee15760405162461bcd60e51b81526004016109a390613837565b8051610ef490600f906020840190612f96565b507f6760362308ca665d8ad5234d7f09a8ac815ee45be8350cad464cb1e4eadd34ee81604051610f2491906137a9565b60405180910390a150565b600a546001600160a01b03163314610f595760405162461bcd60e51b81526004016109a390613837565b601154606590610f6a9083906138ed565b1115610fa95760405162461bcd60e51b815260206004820152600e60248201526d11da599d1cc8199a5b9a5cda195960921b60448201526064016109a3565b60005b81811015610eb257600160116000828254610fc791906138ed565b909155505060115461100d848484818110610ff257634e487b7160e01b600052603260045260246000fd5b90506020020160208101906110079190613226565b826124c5565b5080611018816139b0565b915050610fac565b600b818154811061103057600080fd5b90600052602060002001600091509050805461104b9061397b565b80601f01602080910402602001604051908101604052809291908181526020018280546110779061397b565b80156110c45780601f10611099576101008083540402835291602001916110c4565b820191906000526020600020905b8154815290600101906020018083116110a757829003601f168201915b505050505081565b6110d6338261259d565b6110f25760405162461bcd60e51b81526004016109a39061386c565b610eb2838383612690565b600a546001600160a01b031633146111275760405162461bcd60e51b81526004016109a390613837565b600e805460ff1916911515919091179055565b6000611145836116ec565b82106111a75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109a3565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600061124684601385815481106111f757634e487b7160e01b600052603260045260246000fd5b90600052602060002001548460405160200161122b919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040528051906020012061283b565b949350505050565b4760005b600c5481101561132057600c818154811061127d57634e487b7160e01b600052603260045260246000fd5b600091825260209091200154600d80546001600160a01b03909216916108fc91670de0b6b3a764000091859081106112c557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154856112db9190613919565b6112e59190613905565b6040518115909202916000818181858888f1935050505015801561130d573d6000803e3d6000fd5b5080611318816139b0565b915050611252565b5050565b610eb283838360405180602001604052806000815250611be7565b6019805461104b9061397b565b600061135760085490565b82106113ba5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109a3565b600882815481106113db57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146114175760405162461bcd60e51b81526004016109a390613837565b610eb26019838361301a565b61143061271060656138ed565b81565b600a546001600160a01b0316331461145d5760405162461bcd60e51b81526004016109a390613837565b601460038154811061147f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154620d2f0061149891906138ed565b42116114dc5760405162461bcd60e51b815260206004820152601360248201527210d85b9b9bdd081dda5d1a191c985dc81e595d606a1b60448201526064016109a3565b6040514790600090339083908381818185875af1925050503d8060008114611520576040519150601f19603f3d011682016040523d82523d6000602084013e611525565b606091505b50509050806113205760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109a3565b600a546001600160a01b031633146115935760405162461bcd60e51b81526004016109a390613837565b610eb26013838361308e565b600a546001600160a01b031633146115c95760405162461bcd60e51b81526004016109a390613837565b60146000815481106115eb57634e487b7160e01b600052603260045260246000fd5b906000526020600020015442106116335760405162461bcd60e51b815260206004820152600c60248201526b14d85b19481cdd185c9d195960a21b60448201526064016109a3565b610eb26014838361308e565b6000818152600260205260408120546001600160a01b031680610c745760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109a3565b600a546001600160a01b031633146116e05760405162461bcd60e51b81526004016109a390613837565b610eb2601a838361301a565b60006001600160a01b0382166117575760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109a3565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461179d5760405162461bcd60e51b81526004016109a390613837565b6117a760006128f8565b565b601481815481106117b957600080fd5b600091825260209091200154905081565b600a546001600160a01b031633146117f45760405162461bcd60e51b81526004016109a390613837565b601055565b600a546001600160a01b031633146118235760405162461bcd60e51b81526004016109a390613837565b610eb26018838361301a565b606060018054610c899061397b565b82811461187e5760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420706172616d7360901b60448201526064016109a3565b60005b83811015611b1b576118b88585838181106118ac57634e487b7160e01b600052603260045260246000fd5b9050602002013561163f565b6001600160a01b0316336001600160a01b0316146119095760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b21031b0b63632b960911b60448201526064016109a3565b6015600086868481811061192d57634e487b7160e01b600052603260045260246000fd5b905060200201358152602001908152602001600020546000146119885760405162461bcd60e51b8152602060048201526013602482015272119858dd1a5bdb88185b1c9958591e481cd95d606a1b60448201526064016109a3565b600b548383838181106119ab57634e487b7160e01b600052603260045260246000fd5b90506020020135106119cf5760405162461bcd60e51b81526004016109a39061380e565b8282828181106119ef57634e487b7160e01b600052603260045260246000fd5b9050602002013560156000878785818110611a1a57634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002081905550600160176000858585818110611a5957634e487b7160e01b600052603260045260246000fd5b9050602002013581526020019081526020016000206000828254611a7d91906138ed565b909155508590508482818110611aa357634e487b7160e01b600052603260045260246000fd5b905060200201357fb84e382455deff81bdfd5a71977d9b39c015561e73468964c83b38377363d826848484818110611aeb57634e487b7160e01b600052603260045260246000fd5b90506020020135604051611b0191815260200190565b60405180910390a280611b13816139b0565b915050611881565b5050505050565b6001600160a01b038216331415611b7b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a3565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611bf1338361259d565b611c0d5760405162461bcd60e51b81526004016109a39061386c565b610c498484848461294a565b601381815481106117b957600080fd5b600f805461104b9061397b565b601a805461104b9061397b565b6000818152600260205260409020546060906001600160a01b0316611ca15760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016109a3565b6000601a8054611cb09061397b565b80601f0160208091040260200160405190810160405280929190818152602001828054611cdc9061397b565b8015611d295780601f10611cfe57610100808354040283529160200191611d29565b820191906000526020600020905b815481529060010190602001808311611d0c57829003601f168201915b50505050509050600081511115611dc9576000838152601560205260409020548015611dae5781611d598561297d565b600b8381548110611d7a57634e487b7160e01b600052603260045260246000fd5b90600052602060002001604051602001611d969392919061369b565b60405160208183030381529060405292505050919050565b81611db88561297d565b604051602001611d9692919061366c565b60198054611dd69061397b565b80601f0160208091040260200160405190810160405280929190818152602001828054611e029061397b565b8015611e4f5780601f10611e2457610100808354040283529160200191611e4f565b820191906000526020600020905b815481529060010190602001808311611e3257829003601f168201915b5050505050915050919050565b50919050565b600081611f045760176020527fd8b2bced50346359af71f91110b86cdf684b6ab1c6ca64a7583c044d5c24de5c547fc52df653038b2ad477d8d97f1ddd63cfd138847b628ad8a7b89c109c3f8782ca5460016000527ff36d6bc9642eb6fb6ee9998b09ce990566df752ab06e11f8de7ab633bbd57b8f54611ee661271060656138ed565b611ef09190613938565b611efa9190613938565b610c749190613938565b5060009081526017602052604090205490565b919050565b600e5460ff16611f595760405162461bcd60e51b8152602060048201526008602482015267496e61637469766560c01b60448201526064016109a3565b6014600381548110611f7b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001544210611fca5760405162461bcd60e51b8152602060048201526013602482015272141d589b1a58c81cd85b19481cdd185c9d1959606a1b60448201526064016109a3565b60006014600281548110611fee57634e487b7160e01b600052603260045260246000fd5b906000526020600020015442111561203457601360028154811061202257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050612116565b601460018154811061205657634e487b7160e01b600052603260045260246000fd5b906000526020600020015442111561208a57601360018154811061202257634e487b7160e01b600052603260045260246000fd5b60146000815481106120ac57634e487b7160e01b600052603260045260246000fd5b90600052602060002001544211156120e057601360008154811061202257634e487b7160e01b600052603260045260246000fd5b60405162461bcd60e51b815260206004820152600b60248201526a139bdd081cdd185c9d195960aa1b60448201526064016109a3565b8483146121565760405162461bcd60e51b815260206004820152600e60248201526d496e76616c696420706172616d7360901b60448201526064016109a3565b6127108560125461216791906138ed565b11156121ac5760405162461bcd60e51b8152602060048201526014602482015273115e18d959591cc81cdd5c1c1b1e481b1a5b5a5d60621b60448201526064016109a3565b601054336000908152601660205260409020546121ca9087906138ed565b111561220e5760405162461bcd60e51b8152602060048201526013602482015272115e18d959591cc81b585e08185b1b1bddd959606a1b60448201526064016109a3565b3461222167011c37937e08000087613919565b11156122625760405162461bcd60e51b815260206004820152601060248201526f092dce6eaccccd2c6d2cadce8408aa8960831b60448201526064016109a3565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506122a683838361283b565b6122e25760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b60448201526064016109a3565b33600090815260166020526040812080548892906123019084906138ed565b90915550600090505b868110156124145760016012600082825461232591906138ed565b909155505060125460009061233b9060656138ed565b905061234733826124c5565b600087878481811061236957634e487b7160e01b600052603260045260246000fd5b905060200201359050600b8054905081106123965760405162461bcd60e51b81526004016109a39061380e565b6000828152601560209081526040808320849055838352601790915281208054600192906123c59084906138ed565b909155505060405181815282907fb84e382455deff81bdfd5a71977d9b39c015561e73468964c83b38377363d8269060200160405180910390a25050808061240c906139b0565b91505061230a565b50505050505050565b6018805461104b9061397b565b600a546001600160a01b031633146124545760405162461bcd60e51b81526004016109a390613837565b6001600160a01b0381166124b95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a3565b6124c2816128f8565b50565b611320828260405180602001604052806000815250612a96565b60006001600160e01b031982166380ac58cd60e01b148061251057506001600160e01b03198216635b5e139f60e01b145b80610c7457506301ffc9a760e01b6001600160e01b0319831614610c74565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906125648261163f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166126165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109a3565b60006126218361163f565b9050806001600160a01b0316846001600160a01b0316148061265c5750836001600160a01b031661265184610d0c565b6001600160a01b0316145b8061124657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff16611246565b826001600160a01b03166126a38261163f565b6001600160a01b03161461270b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109a3565b6001600160a01b03821661276d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109a3565b612778838383612ac9565b61278360008261252f565b6001600160a01b03831660009081526003602052604081208054600192906127ac908490613938565b90915550506001600160a01b03821660009081526003602052604081208054600192906127da9084906138ed565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081815b85518110156128ed57600086828151811061286b57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116128ad5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506128da565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806128e5816139b0565b915050612840565b509092149392505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612955848484612690565b61296184848484612b81565b610c495760405162461bcd60e51b81526004016109a3906137bc565b6060816129a15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156129cb57806129b5816139b0565b91506129c49050600a83613905565b91506129a5565b6000816001600160401b038111156129f357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a1d576020820181803683370190505b5090505b841561124657612a32600183613938565b9150612a3f600a866139cb565b612a4a9060306138ed565b60f81b818381518110612a6d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612a8f600a86613905565b9450612a21565b612aa08383612c8e565b612aad6000848484612b81565b610eb25760405162461bcd60e51b81526004016109a3906137bc565b6001600160a01b038316612b2457612b1f81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612b47565b816001600160a01b0316836001600160a01b031614612b4757612b478382612ddc565b6001600160a01b038216612b5e57610eb281612e79565b826001600160a01b0316826001600160a01b031614610eb257610eb28282612f52565b60006001600160a01b0384163b15612c8357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612bc590339089908890889060040161376c565b602060405180830381600087803b158015612bdf57600080fd5b505af1925050508015612c0f575060408051601f3d908101601f19168201909252612c0c918101906134af565b60015b612c69573d808015612c3d576040519150601f19603f3d011682016040523d82523d6000602084013e612c42565b606091505b508051612c615760405162461bcd60e51b81526004016109a3906137bc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611246565b506001949350505050565b6001600160a01b038216612ce45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109a3565b6000818152600260205260409020546001600160a01b031615612d495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a3565b612d5560008383612ac9565b6001600160a01b0382166000908152600360205260408120805460019290612d7e9084906138ed565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001612de9846116ec565b612df39190613938565b600083815260076020526040902054909150808214612e46576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612e8b90600190613938565b60008381526009602052604081205460088054939450909284908110612ec157634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110612ef057634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612f3657634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612f5d836116ec565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612fa29061397b565b90600052602060002090601f016020900481019282612fc4576000855561300a565b82601f10612fdd57805160ff191683800117855561300a565b8280016001018555821561300a579182015b8281111561300a578251825591602001919060010190612fef565b506130169291506130c8565b5090565b8280546130269061397b565b90600052602060002090601f016020900481019282613048576000855561300a565b82601f106130615782800160ff1982351617855561300a565b8280016001018555821561300a579182015b8281111561300a578235825591602001919060010190613073565b82805482825590600052602060002090810192821561300a579160200282018281111561300a578235825591602001919060010190613073565b5b8082111561301657600081556001016130c9565b60006001600160401b038311156130f6576130f6613a0b565b613109601f8401601f19166020016138bd565b905082815283838301111561311d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611f1757600080fd5b60008083601f84011261315c578182fd5b5081356001600160401b03811115613172578182fd5b6020830191508360208260051b850101111561318d57600080fd5b9250929050565b600082601f8301126131a4578081fd5b813560206001600160401b038211156131bf576131bf613a0b565b8160051b6131ce8282016138bd565b8381528281019086840183880185018910156131e8578687fd5b8693505b8584101561320a5780358352600193909301929184019184016131ec565b50979650505050505050565b80358015158114611f1757600080fd5b600060208284031215613237578081fd5b61324082613134565b9392505050565b60008060408385031215613259578081fd5b61326283613134565b915061327060208401613134565b90509250929050565b60008060006060848603121561328d578081fd5b61329684613134565b92506132a460208501613134565b9150604084013590509250925092565b600080600080608085870312156132c9578081fd5b6132d285613134565b93506132e060208601613134565b92506040850135915060608501356001600160401b03811115613301578182fd5b8501601f81018713613311578182fd5b613320878235602084016130dd565b91505092959194509250565b6000806040838503121561333e578182fd5b61334783613134565b915061327060208401613216565b60008060408385031215613367578182fd5b61337083613134565b946020939093013593505050565b60008060208385031215613390578182fd5b82356001600160401b038111156133a5578283fd5b6133b18582860161314b565b90969095509350505050565b6000806000606084860312156133d1578081fd5b83356001600160401b038111156133e6578182fd5b6133f286828701613194565b9350506020840135915061340860408501613134565b90509250925092565b60008060008060408587031215613426578182fd5b84356001600160401b038082111561343c578384fd5b6134488883890161314b565b90965094506020870135915080821115613460578384fd5b5061346d8782880161314b565b95989497509550505050565b60006020828403121561348a578081fd5b61324082613216565b6000602082840312156134a4578081fd5b813561324081613a21565b6000602082840312156134c0578081fd5b815161324081613a21565b600080602083850312156134dd578182fd5b82356001600160401b03808211156134f3578384fd5b818501915085601f830112613506578384fd5b813581811115613514578485fd5b866020828501011115613525578485fd5b60209290920196919550909350505050565b600060208284031215613548578081fd5b81356001600160401b0381111561355d578182fd5b8201601f8101841361356d578182fd5b611246848235602084016130dd565b60006020828403121561358d578081fd5b5035919050565b6000806000604084860312156135a8578081fd5b8335925060208401356001600160401b038111156135c4578182fd5b6135d08682870161314b565b9497909650939450505050565b600080600080606085870312156135f2578182fd5b8435935060208501356001600160401b038082111561360f578384fd5b61361b8883890161314b565b90955093506040870135915080821115613633578283fd5b5061332087828801613194565b6000815180845261365881602086016020860161394f565b601f01601f19169290920160200192915050565b6000835161367e81846020880161394f565b83519083019061369281836020880161394f565b01949350505050565b6000845160206136ae8285838a0161394f565b8551918401916136c18184848a0161394f565b602d60f81b92019182528454600190849080831c818416806136e457607f821691505b85821081141561370257634e487b7160e01b88526022600452602488fd5b808015613716576001811461372b5761375b565b60ff198416888701528288018601945061375b565b60008b815260209020895b848110156137515781548a8201890152908701908801613736565b5050858389010194505b50929b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061379f90830184613640565b9695505050505050565b6020815260006132406020830184613640565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600f908201526e24b73b30b634b2103330b1ba34b7b760891b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b03811182821017156138e5576138e5613a0b565b604052919050565b60008219821115613900576139006139df565b500190565b600082613914576139146139f5565b500490565b6000816000190483118215151615613933576139336139df565b500290565b60008282101561394a5761394a6139df565b500390565b60005b8381101561396a578181015183820152602001613952565b83811115610c495750506000910152565b600181811c9082168061398f57607f821691505b60208210811415611e5c57634e487b7160e01b600052602260045260246000fd5b60006000198214156139c4576139c46139df565b5060010190565b6000826139da576139da6139f5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146124c257600080fdfea2646970667358221220d1c17c6df43962b1c1466a3a0cbc759cb24f753eadd373f87e4fed6c043b8de264736f6c63430008040033
Verified Source Code Partial Match
Compiler: v0.8.4+commit.c7e474f2
EVM: istanbul
Optimization: Yes (200 runs)
DeusX.sol 1533 lines
// .*@@#- .*@@#: // .*@@%- .*@@#: // .::::::::::::.. :::::::::::::::: : . .:::::::::::::. .*@@%- .*@@#: // =@@@@@@@@@@@@@@@*. +@@@@@@@@@@@@@@@: @@* +@@. #@@@@@@@@@@@@@@@: .*@@%- .*@@#: // :::..........-#@@- ::::::::::::::: @@# *@@. +@@=:::::::::::.. .*@@%@@#: // @@# @@# @@@@@@@@@@@@@@@@: @@# *@@. .%@@@@@@@@@@@@@%+ .#@@@@- // @@# +@@+ @@%------------- @@% *@@. .-----------+@@= .*@@#-*@@%- // @@@%%%%%%%%%@@@@= @@@%%%%%%%%%%%%%: =@@@%%%%%%%%%@@@* .%%%%%%%%%%%%%@@@: .*@@#: .*@@%- // =============-: =+++++++++++++++. .-===========-. :==============- .*@@#: .*@@%- // .*@@#: .*@@%- // // Choose your fate. Become a legend. // // File @openzeppelin/contracts/utils/cryptography/[email protected] // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } } // File @openzeppelin/contracts/utils/introspection/[email protected] /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/token/ERC721/[email protected] /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File @openzeppelin/contracts/token/ERC721/[email protected] /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File @openzeppelin/contracts/utils/[email protected] /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/[email protected] /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/utils/introspection/[email protected] /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/token/ERC721/[email protected] /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File @openzeppelin/contracts/access/[email protected] /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File contracts/DeusX.sol contract DeusX is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant DEUSX_GIFT = 101; uint256 public constant DEUSX_PUBLIC = 10000; uint256 public constant DEUSX_MAX = DEUSX_GIFT + DEUSX_PUBLIC; uint256 public constant PURCHASE_LIMIT = 10; // per tx, contracts can still recursively call uint256 public constant PRICE = 0.08 ether; string[] public FACTION_NAMES = [ 'None', 'Valks', 'Roks', 'Monsters' ]; address[] TEAM_ADDRESSES = [ 0x9cc35B5bB5c4fC544eeC96a33baa7BB5c5966095, 0xa2E9986C8936E9Ff788B167e85Ef92ae309ecc4C, 0x64ac893a59096Fc13dBD39c35Ce894833db62b7a, 0x0e6596a739FCEb57fCA595b78EF0F6e586e8938c, 0xa55033bFB357eFDd804f2391E30a52291C77dD51, 0x5B1212FE9b20D32688F5f02973087f828b0a4824, 0x31C5327974f02406b698DB4a51eA860Aa411E8A1, 0x78eEb89ae305cCc774516546b43a11fc74794222, 0xb34C812501bCb190Cf21ed7623F89924549970fb, 0xa096F2F973b91F5E148301f9C4f5BC56165E0865 ]; uint256[] TEAM_PCTS = [ 0.25e18, 0.25e18, 0.20e18, 0.08e18, 0.06e18, 0.0501e18, 0.04e18, 0.01e18, 0.01e18, 0.0499e18 ]; uint256 constant UNIT = 1e18; bool public isActive = true; string public provenanceHash; uint256 public allowListMaxMint = 2; uint256 public totalGiftSupply; uint256 public totalPublicSupply; /** * 0 - presale batch 1 * 1 - presale batch 2 * 2 - waitlist * 3 - public sale */ bytes32[] public roots; uint256[] public startTimes; mapping(uint256 => uint256) public factionOf; mapping(address => uint256) public allowListClaimed; mapping(uint256 => uint256) private factionNumbers; string public contractURI = ''; string public tokenBaseURI = ''; string public tokenRevealedBaseURI = ''; constructor(string memory _name, string memory _symbol, string memory _contractURI, string memory _tokenBaseURI, bytes32[] memory _roots, uint256[] memory _startTimes) ERC721(_name, _symbol) { contractURI = _contractURI; tokenBaseURI = _tokenBaseURI; roots = _roots; startTimes = _startTimes; } function purchase(uint256 numberOfTokens, uint256[] calldata factions) external payable { require(isActive, 'Inactive'); require(block.timestamp > startTimes[2], 'Not started'); require(totalPublicSupply < DEUSX_PUBLIC, 'Exceeds supply'); require(numberOfTokens <= PURCHASE_LIMIT, 'Exceeds limit'); require(numberOfTokens == factions.length, 'Invalid factions'); /** * The last person to purchase might overpay, but this prevents them * from getting sniped. * If this happens, we'll refund the ETH for the unavailable tokens. */ require(numberOfTokens * PRICE <= msg.value, 'Insufficient ETH'); for (uint256 i = 0; i < numberOfTokens; i++) { if (totalPublicSupply < DEUSX_PUBLIC) { /** * Public token numbering starts after DEUSX_GIFT. * Token numbers should start at 1 */ totalPublicSupply += 1; uint256 tokenId = DEUSX_GIFT + totalPublicSupply; _safeMint(msg.sender, tokenId); uint256 _faction = factions[i]; require(_faction < FACTION_NAMES.length, 'Invalid faction'); factionOf[tokenId] = _faction; factionNumbers[_faction] += 1; emit SetFaction(tokenId, _faction); } } } function purchaseAllowList(uint256 numberOfTokens, uint256[] calldata factions, bytes32[] memory merkleProof) external payable { require(isActive, 'Inactive'); require(block.timestamp < startTimes[3], 'Public sale started'); bytes32 root; if (block.timestamp > startTimes[2]) { root = roots[2]; } else if (block.timestamp > startTimes[1]) { root = roots[1]; } else if (block.timestamp > startTimes[0]) { root = roots[0]; } else { revert('Not started'); } require(numberOfTokens == factions.length, 'Invalid params'); require(totalPublicSupply + numberOfTokens <= DEUSX_PUBLIC, 'Exceeds supply limit'); require(allowListClaimed[msg.sender] + numberOfTokens <= allowListMaxMint, 'Exceeds max allowed'); require(numberOfTokens * PRICE <= msg.value, 'Insufficient ETH'); by... // [truncated — 54557 bytes total]
Read Contract
DEUSX_GIFT 0x808c5f6d → uint256
DEUSX_MAX 0x598dc3b1 → uint256
DEUSX_PUBLIC 0x723fc5d3 → uint256
FACTION_NAMES 0x1be5cd5c → string
PRICE 0x8d859f3e → uint256
PURCHASE_LIMIT 0xd75e6110 → uint256
allowListClaimed 0x884b3c82 → uint256
allowListMaxMint 0x7f44ab2f → uint256
balanceOf 0x70a08231 → uint256
contractURI 0xe8a3d485 → string
factionOf 0x540d11be → uint256
getApproved 0x081812fc → address
isActive 0x22f3e2d4 → bool
isApprovedForAll 0xe985e9c5 → bool
name 0x06fdde03 → string
onAccesslist 0x35c3003a → bool
owner 0x8da5cb5b → address
ownerOf 0x6352211e → address
provenanceHash 0xc6ab67a3 → string
roots 0xc2b40ae4 → bytes32
startTimes 0x77bbebe6 → uint256
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
tokenBaseURI 0x4e99b800 → string
tokenByIndex 0x4f6ccce7 → uint256
tokenOfOwnerByIndex 0x2f745c59 → uint256
tokenRevealedBaseURI 0xc82b692c → string
tokenURI 0xc87b56dd → string
totalGiftSupply 0xd6f407c7 → uint256
totalInFaction 0xcc969b58 → uint256
totalPublicSupply 0xe6a5931e → uint256
totalSupply 0x18160ddd → uint256
Write Contract 21 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address to
uint256 tokenId
emergencyWithdrawal 0x5b0a3843
No parameters
gift 0x163e1e61
address[] to
purchase 0x000dd65d
uint256 numberOfTokens
uint256[] factions
purchaseAllowList 0xd15c84f1
uint256 numberOfTokens
uint256[] factions
bytes32[] merkleProof
renounceOwnership 0x715018a6
No parameters
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes _data
setAllowListMaxMint 0x7a6685f1
uint256 maxMint
setApprovalForAll 0xa22cb465
address operator
bool approved
setBaseURI 0x55f804b3
string URI
setContractURI 0x938e3d7b
string URI
setFactions 0x996df9a6
uint256[] _tokenIds
uint256[] _factions
setIsActive 0x2750fc78
bool _isActive
setProvenanceHash 0x10969523
string _provenanceHash
setRevealedBaseURI 0x6e83843a
string revealedBaseURI
setRoots 0x5b5da8a4
bytes32[] _roots
setStartTimes 0x5d87f355
uint256[] _startTimes
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
withdraw 0x3ccfd60b
No parameters
Recent Transactions
No transactions found for this address