Address Contract Verified
Address
0x791430aFc3bd2C2a1A4dd59d4F3d3608A87a1317
Balance
0 ETH
Nonce
1
Code Size
14054 bytes
Creator
0x24cCA846...0ABa at tx 0x40767c9f...25ec41
Indexed Transactions
0
Contract Bytecode
14054 bytes
0x6080604052600436106103b85760003560e01c8063728324ae116101f2578063aed8a6a41161010d578063e2bae8a3116100a0578063ef39154b1161006f578063ef39154b14610b4f578063f2fde38b14610b65578063fcf66cfb14610b85578063fd1e046c14610bcf57600080fd5b8063e2bae8a314610ad7578063e51ed0d314610b07578063e8a3d48514610b1a578063e985e9c514610b2f57600080fd5b8063c87b56dd116100dc578063c87b56dd14610a51578063d5abeb0114610a71578063dbac26e914610a87578063e1baae1f14610ab757600080fd5b8063aed8a6a414610a0a578063b277332d14610992578063b88d4fde14610a29578063bdc49e4114610a3c57600080fd5b80638da5cb5b116101855780639c8496d0116101545780639c8496d014610992578063a035b1fe146109a7578063a22cb465146109bd578063addeda79146109dd57600080fd5b80638da5cb5b1461091f57806391b7f5ed1461093d578063938e3d7b1461095d57806395d89b411461097d57600080fd5b80637f4e4849116101c15780637f4e484914610867578063847939b2146108af5780638aac2c0f146108cf5780638d0f7c16146108ff57600080fd5b8063728324ae146107bd5780637bb23e3a146107d25780637d5c1914146107e85780637ec4a6591461084757600080fd5b80632fbba115116102e25780634c1ccf12116102755780636352211e116102445780636352211e146107485780636f8b44b01461076857806370a0823114610788578063715018a6146107a857600080fd5b80634c1ccf12146106e357806351bd4a5b146107035780635c975abb14610719578063626746711461073357600080fd5b806342842e0e116102b157806342842e0e14610663578063438b630014610676578063484b973c146106a35780634a5ecb36146106c357600080fd5b80632fbba115146105e857806338e21cce146106085780633bcfc22a146106385780633ccfd60b1461064e57600080fd5b806312105c041161035a578063224201db11610329578063224201db1461054157806323b872dd146105765780632a55205a146105895780632d4c112e146105c857600080fd5b806312105c04146104cf57806316c38b3c146104e457806318160ddd146105045780631ed7852a1461052157600080fd5b806306be0f851161039657806306be0f851461042757806306fdde0314610462578063081812fc14610484578063095ea7b3146104bc57600080fd5b806301ffc9a7146103bd57806303380ea3146103f257806304634d8d14610407575b600080fd5b3480156103c957600080fd5b506103dd6103d8366004612f6b565b610c0c565b60405190151581526020015b60405180910390f35b610405610400366004612fd4565b610c37565b005b34801561041357600080fd5b50610405610422366004613032565b610ed8565b34801561043357600080fd5b50610454610442366004613075565b60156020526000908152604090205481565b6040519081526020016103e9565b34801561046e57600080fd5b50610477610eee565b6040516103e991906130d6565b34801561049057600080fd5b506104a461049f3660046130e9565b610f80565b6040516001600160a01b0390911681526020016103e9565b6104056104ca366004613102565b610fc4565b3480156104db57600080fd5b50610454601981565b3480156104f057600080fd5b506104056104ff36600461313a565b610fdd565b34801561051057600080fd5b506001546000540360001901610454565b34801561052d57600080fd5b5061040561053c3660046130e9565b61102e565b34801561054d57600080fd5b50610556611071565b6040805194855260208501939093529183015260608201526080016103e9565b610405610584366004613157565b611094565b34801561059557600080fd5b506105a96105a4366004613193565b6110af565b604080516001600160a01b0390931683526020830191909152016103e9565b3480156105d457600080fd5b506104546105e3366004612fd4565b6110f1565b3480156105f457600080fd5b506104056106033660046130e9565b611395565b34801561061457600080fd5b506103dd610623366004613075565b60146020526000908152604090205460ff1681565b34801561064457600080fd5b5061045460195481565b34801561065a57600080fd5b506104056115d2565b610405610671366004613157565b6116e0565b34801561068257600080fd5b50610696610691366004613075565b6116f5565b6040516103e991906131b5565b3480156106af57600080fd5b506104056106be366004613102565b6117d1565b3480156106cf57600080fd5b506103dd6106de366004613075565b611926565b3480156106ef57600080fd5b506104a46106fe3660046130e9565b61198f565b34801561070f57600080fd5b50610454601a5481565b34801561072557600080fd5b506011546103dd9060ff1681565b34801561073f57600080fd5b506104056119b9565b34801561075457600080fd5b506104a46107633660046130e9565b611a09565b34801561077457600080fd5b506104056107833660046130e9565b611a14565b34801561079457600080fd5b506104546107a3366004613075565b611ab3565b3480156107b457600080fd5b50610405611b02565b3480156107c957600080fd5b50610405611b16565b3480156107de57600080fd5b5061045460105481565b3480156107f457600080fd5b50610808610803366004613075565b611b62565b6040805197151588529515156020880152931515948601949094529015156060850152608084015260a0830191909152151560c082015260e0016103e9565b34801561085357600080fd5b50610405610862366004613285565b611bfe565b34801561087357600080fd5b5061087c611ce0565b604080519687526020870195909552938501929092521515606084015215156080830152151560a082015260c0016103e9565b3480156108bb57600080fd5b506011546103dd9062010000900460ff1681565b3480156108db57600080fd5b506103dd6108ea366004613075565b60136020526000908152604090205460ff1681565b34801561090b57600080fd5b5061040561091a3660046130e9565b611d2f565b34801561092b57600080fd5b506008546001600160a01b03166104a4565b34801561094957600080fd5b506104056109583660046130e9565b611d72565b34801561096957600080fd5b50610405610978366004613285565b611dba565b34801561098957600080fd5b50610477611dce565b34801561099e57600080fd5b50610454606481565b3480156109b357600080fd5b50610454600d5481565b3480156109c957600080fd5b506104056109d83660046132ce565b611ddd565b3480156109e957600080fd5b506104546109f8366004613075565b60186020526000908152604090205481565b348015610a1657600080fd5b506011546103dd90610100900460ff1681565b610405610a373660046132fa565b611df1565b348015610a4857600080fd5b50610454603281565b348015610a5d57600080fd5b50610477610a6c3660046130e9565b611e0e565b348015610a7d57600080fd5b50610454600c5481565b348015610a9357600080fd5b506103dd610aa2366004613075565b60166020526000908152604090205460ff1681565b348015610ac357600080fd5b50610405610ad2366004613376565b611e6d565b348015610ae357600080fd5b506103dd610af2366004613075565b60126020526000908152604090205460ff1681565b610405610b15366004612fd4565b611f52565b348015610b2657600080fd5b506104776121e3565b348015610b3b57600080fd5b506103dd610b4a3660046133cd565b6121f2565b348015610b5b57600080fd5b50610454600f5481565b348015610b7157600080fd5b50610405610b80366004613075565b612220565b348015610b9157600080fd5b50610ba5610ba0366004613075565b612299565b604080519415158552921515602085015290151591830191909152151560608201526080016103e9565b348015610bdb57600080fd5b50610bef610bea366004613075565b61232f565b6040805193151584526020840192909252908201526060016103e9565b600063152a902d60e11b6001600160e01b031983161480610c315750610c3182612375565b92915050565b610c3f6123c3565b3360009081526016602052604090205460ff1615610c785760405162461bcd60e51b8152600401610c6f906133f7565b60405180910390fd5b6001610c838161240b565b601154610100900460ff16610cd15760405162461bcd60e51b8152602060048201526014602482015273475444207068617365206e6f742061637469766560601b6044820152606401610c6f565b3360009081526014602052604090205460ff1615610d295760405162461bcd60e51b815260206004820152601560248201527415d85b1b195d08185b1c9958591e481b5a5b9d1959605a1b6044820152606401610c6f565b600d543414610d715760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0811551208185b5bdd5b9d60621b6044820152606401610c6f565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610deb84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f5491508490506124b0565b610e2e5760405162461bcd60e51b8152602060048201526014602482015273139bdd081a5b8811d51108185b1b1bdddb1a5cdd60621b6044820152606401610c6f565b3360008181526012602090815260408083208054600160ff19918216811790925560149093529220805490911682179055610e6991906124c6565b60198054906000610e798361343d565b909155503390507f3b1926a26e2eaa0451a5b02441f316e60ce686efc1aa594dd8c5a4ac44faf0e56001610eac60005490565b610eb69190613456565b600f54604080519283526020830191909152015b60405180910390a250505050565b610ee06124e0565b610eea828261253a565b5050565b606060028054610efd90613469565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2990613469565b8015610f765780601f10610f4b57610100808354040283529160200191610f76565b820191906000526020600020905b815481529060010190602001808311610f5957829003601f168201915b5050505050905090565b6000610f8b826125f5565b610fa8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610fce8161262a565b610fd883836126e3565b505050565b610fe56124e0565b6011805460ff191682151590811790915560405190815233907f553d0173aaf3da5fa192882a6593e57e95cbf10b294e2e1d5e60806cbeced4629060200160405180910390a250565b6110366124e0565b60108054908290556040513390839083907fd64fffa6473b9fbe5a2136a8c0a55c332fdde095f94a3a31d3d081143754764290600090a45050565b601954601a546000806110876000546000190190565b9150600c54905090919293565b8261109e81612783565b6110a984848461283d565b50505050565b600e546001600160a01b03811690600090612710906110de90600160a01b90046001600160601b0316856134a3565b6110e891906134ba565b90509250929050565b60006110fb6124e0565b81801580159061110c575060648111155b61114d5760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642062617463682073697a6560701b6044820152606401610c6f565b600c548161115e6000546000190190565b61116891906134dc565b11156111ac5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610c6f565b60005b818110156113365760008585838181106111cb576111cb6134ef565b90506020020160208101906111e09190613075565b6001600160a01b03811660009081526014602052604090205490915060ff161561126c57806001600160a01b03167f946dbdf1f6afa61f775585b9c98e0fd5e63bb7be8dbaca4398908e490ad7d85460405161125e906020808252600e908201526d105b1c9958591e481b5a5b9d195960921b604082015260600190565b60405180910390a250611326565b6001600160a01b0381166112d257806001600160a01b03167f946dbdf1f6afa61f775585b9c98e0fd5e63bb7be8dbaca4398908e490ad7d85460405161125e906020808252600c908201526b5a65726f206164647265737360a01b604082015260600190565b6001600160a01b03811660009081526012602090815260408083208054600160ff199182168117909255601490935292208054909116821790556113179082906124c6565b836113218161343d565b945050505b61132f8161343d565b90506111af565b50811561135557816019600082825461134f91906134dc565b90915550505b60408051848152602081018490527f9e14a27df07d22dd5146788cb1b81f947d652eced05614c81b50bcfcf88d695b910160405180910390a15092915050565b61139d6123c3565b3360009081526016602052604090205460ff16156113cd5760405162461bcd60e51b8152600401610c6f906133f7565b806113d78161240b565b601154610100900460ff16806113f5575060115462010000900460ff165b6114415760405162461bcd60e51b815260206004820152601c60248201527f475444206f722046434653207068617365206e6f7420616374697665000000006044820152606401610c6f565b6000805b6017548110156114a157336001600160a01b03166017828154811061146c5761146c6134ef565b6000918252602090912001546001600160a01b03160361148f57600191506114a1565b806114998161343d565b915050611445565b50806114e35760405162461bcd60e51b8152602060048201526011602482015270139bdd0818481d19585b481dd85b1b195d607a1b6044820152606401610c6f565b336000908152601860205260409020546019906115019085906134dc565b111561154f5760405162461bcd60e51b815260206004820152601760248201527f45786365656473207465616d206d696e74206c696d69740000000000000000006044820152606401610c6f565b336000908152601860205260408120805485929061156e9084906134dc565b9091555050336000818152601460205260409020805460ff1916600117905561159790846124c6565b60405183815233907fb6d73edaff1d078a2be2a4f90b67dc6d7e69362de2c4f98404f75a451ae85ddd906020015b60405180910390a2505050565b6115da6124e0565b60026009540361162c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c6f565b600260095547806116765760405162461bcd60e51b81526020600482015260146024820152734e6f2066756e647320746f20776974686472617760601b6044820152606401610c6f565b61169161168b6008546001600160a01b031690565b826129d6565b600854604080518381524260208201526001600160a01b03909216917ffbc3a599b784fe88772fc5abcc07223f64ca0b13acc341f4fb1e46bef0510eb4910160405180910390a2506001600955565b826116ea81612783565b6110a9848484612aef565b6060600061170283611ab3565b905060008167ffffffffffffffff81111561171f5761171f6131f9565b604051908082528060200260200182016040528015611748578160200160208202803683370190505b50600080549192506001915b808310801561176257508482105b156117c657866001600160a01b031661177a84611a09565b6001600160a01b0316036117b4578284838151811061179b5761179b6134ef565b6020908102919091010152816117b08161343d565b9250505b826117be8161343d565b935050611754565b509195945050505050565b6117d96124e0565b806117e38161240b565b603282111561182b5760405162461bcd60e51b8152602060048201526014602482015273115e18d959591cc81c195c8b5d1e081b1a5b5a5d60621b6044820152606401610c6f565b6001600160a01b0383166000908152601560205260409020546064906118529084906134dc565b11156118a05760405162461bcd60e51b815260206004820152601860248201527f45786365656473207065722d77616c6c6574206c696d697400000000000000006044820152606401610c6f565b6001600160a01b038316600090815260156020526040812080548492906118c89084906134dc565b909155506118d8905083836124c6565b6001600160a01b038316600081815260156020908152604091829020548251868152918201527fbb184cd45b237b8276bbc575df834223aabb537dc1939db9636f085f5213f56c91016115c5565b6000805b60175481101561198657826001600160a01b031660178281548110611951576119516134ef565b6000918252602090912001546001600160a01b0316036119745750600192915050565b8061197e8161343d565b91505061192a565b50600092915050565b6017818154811061199f57600080fd5b6000918252602090912001546001600160a01b0316905081565b6119c16124e0565b6011805461ff0019166101001790556040516001815233907f2aa8f6c2e458c95526f695f9f95572fa89d38b7b0cd92f97d55f075cea680e65906020015b60405180910390a2565b6000610c3182612b0a565b611a1c6124e0565b60005460001901811015611a6b5760405162461bcd60e51b815260206004820152601660248201527513995dc81b585e14dd5c1c1b1e480f081b5a5b9d195960521b6044820152606401610c6f565b600c805490829055604080518281526020810184905233917f0c071305f70a348c011b04c1ea826ce68ea6a3fa54e82426955dfe1fe6a7bf2491015b60405180910390a25050565b60006001600160a01b038216611adc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611b0a6124e0565b611b146000612b80565b565b611b1e6124e0565b6011805462ffff001916620100001790556040516001815233907f1a5c7d0945b044764839bad49e53cf0504d6a71970ccac01cf3c7c8e83d10653906020016119ff565b6000806000806000806000611b7688611926565b6001600160a01b03891660009081526014602090815260408083205460169092529091205491985060ff908116955016905083158015611bb4575080155b955083158015611bc2575080155b94508615611bf3576001600160a01b0388166000908152601860205260409020549250611bf0836019613456565b91505b919395979092949650565b611c066124e0565b6000600a8054611c1590613469565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4190613469565b8015611c8e5780601f10611c6357610100808354040283529160200191611c8e565b820191906000526020600020905b815481529060010190602001808311611c7157829003601f168201915b5050505050905081600a9081611ca4919061354b565b50336001600160a01b03167fde4a818079c189ffcaa015879174f0dea06030e41c60f8c6928a045b53444c918284604051611aa792919061360b565b600080600080600080611cf66000546000190190565b955085600c54611d069190613456565b600d546011549798919790965060ff610100820481169650620100008204811695501692509050565b611d376124e0565b600f8054908290556040513390839083907f9217dd039e8fa012f2332278c2144492442dd396c06e02105c37028042fbb9b490600090a45050565b611d7a6124e0565b600d805490829055604080518281526020810184905233917f378b09391f49d01e482ba75312341912ad0652cb8aa8799b6b33b624bd65d9f29101611aa7565b611dc26124e0565b600b610eea828261354b565b606060038054610efd90613469565b81611de78161262a565b610fd88383612bd2565b83611dfb81612783565b611e0785858585612c3e565b5050505050565b6060611e19826125f5565b611e655760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610c6f565b610c31612c82565b611e756124e0565b8160005b81811015611e07578260166000878785818110611e9857611e986134ef565b9050602002016020810190611ead9190613075565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055848482818110611ee757611ee76134ef565b9050602002016020810190611efc9190613075565b6001600160a01b03167f6a12b3df6cba4203bd7fd06b816789f87de8c594299aed5717ae070fac781bac84604051611f38911515815260200190565b60405180910390a280611f4a8161343d565b915050611e79565b611f5a6123c3565b3360009081526016602052604090205460ff1615611f8a5760405162461bcd60e51b8152600401610c6f906133f7565b6001611f958161240b565b60115462010000900460ff16611fe55760405162461bcd60e51b815260206004820152601560248201527446434653207068617365206e6f742061637469766560581b6044820152606401610c6f565b3360009081526014602052604090205460ff161561203d5760405162461bcd60e51b815260206004820152601560248201527415d85b1b195d08185b1c9958591e481b5a5b9d1959605a1b6044820152606401610c6f565b600d5434146120855760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0811551208185b5bdd5b9d60621b6044820152606401610c6f565b6040516bffffffffffffffffffffffff193360601b1660208201526000906034016040516020818303038152906040528051906020012090506120ff8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060105491508490506124b0565b6121435760405162461bcd60e51b8152602060048201526015602482015274139bdd081a5b881190d194c8185b1b1bdddb1a5cdd605a1b6044820152606401610c6f565b3360008181526013602090815260408083208054600160ff1991821681179092556014909352922080549091168217905561217e91906124c6565b601a805490600061218e8361343d565b909155503390507f273866899e0d6234ca1dac9289235da1525ba0dbfd564def7d90270368089f4860016121c160005490565b6121cb9190613456565b60105460408051928352602083019190915201610eca565b6060600b8054610efd90613469565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6122286124e0565b6001600160a01b03811661228d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c6f565b61229681612b80565b50565b6001600160a01b0381166000908152601460209081526040808320546016909252822054601154839260ff9081169281169161010090041680156122db575081155b80156122e5575080155b80156122f4575060115460ff16155b60115490945062010000900460ff16801561230d575081155b8015612317575080155b8015612326575060115460ff16155b92509193509193565b600080600061233d84611926565b9250821561236e576001600160a01b038416600090815260186020526040902054915061236b826019613456565b90505b9193909250565b60006301ffc9a760e01b6001600160e01b0319831614806123a657506380ac58cd60e01b6001600160e01b03198316145b80610c315750506001600160e01b031916635b5e139f60e01b1490565b60115460ff1615611b145760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b6044820152606401610c6f565b600081116124515760405162461bcd60e51b81526020600482015260136024820152724d696e7420616d6f756e74206973207a65726f60681b6044820152606401610c6f565b600c54816124626000546000190190565b61246c91906134dc565b11156122965760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b6044820152606401610c6f565b6000826124bd8584612c91565b14949350505050565b610eea828260405180602001604052806000815250612d05565b6008546001600160a01b03163314611b145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c6f565b6001600160a01b0382166125835760405162461bcd60e51b815260206004820152601060248201526f24b73b30b634b2103932b1b2b4bb32b960811b6044820152606401610c6f565b6127106001600160601b03821611156125d55760405162461bcd60e51b81526020600482015260146024820152730a4def2c2d8e8f240cccaca40e8dede40d0d2ced60631b6044820152606401610c6f565b6001600160601b0316600160a01b026001600160a01b0390911617600e55565b600081600111158015612609575060005482105b8015610c31575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561229657604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126bb9190613639565b61229657604051633b79c77360e21b81526001600160a01b0382166004820152602401610c6f565b60006126ee82611a09565b9050336001600160a01b038216146127275761270a81336121f2565b612727576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6daaeb6d7670e522a718067333cd4e3b1561229657336001600160a01b038216036127ab5750565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156127fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061281e9190613639565b61229657604051633b79c77360e21b8152336004820152602401610c6f565b600061284882612b0a565b9050836001600160a01b0316816001600160a01b03161461287b5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176128c8576128ab86336121f2565b6128c857604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166128ef57604051633a954ecd60e21b815260040160405180910390fd5b80156128fa57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361298c5760018401600081815260046020526040812054900361298a57600054811461298a5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b80471015612a265760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c6f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612a73576040519150601f19603f3d011682016040523d82523d6000602084013e612a78565b606091505b5050905080610fd85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c6f565b610fd883838360405180602001604052806000815250611df1565b60008180600111612b6757600054811015612b675760008181526004602052604081205490600160e01b82169003612b65575b80600003612b5e575060001901600081815260046020526040902054612b3d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612c49848484611094565b6001600160a01b0383163b156110a957612c6584848484612d6b565b6110a9576040516368d2bf6b60e11b815260040160405180910390fd5b6060600a8054610efd90613469565b600081815b8451811015612cfd576000858281518110612cb357612cb36134ef565b60200260200101519050808311612cd95760008381526020829052604090209250612cea565b600081815260208490526040902092505b5080612cf58161343d565b915050612c96565b509392505050565b612d0f8383612e57565b6001600160a01b0383163b15610fd8576000548281035b612d396000868380600101945086612d6b565b612d56576040516368d2bf6b60e11b815260040160405180910390fd5b818110612d26578160005414611e0757600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612da0903390899088908890600401613656565b6020604051808303816000875af1925050508015612ddb575060408051601f3d908101601f19168201909252612dd891810190613693565b60015b612e39573d808015612e09576040519150601f19603f3d011682016040523d82523d6000602084013e612e0e565b606091505b508051600003612e31576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000805490829003612e7c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114612f2b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612ef3565b5081600003612f4c57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461229657600080fd5b600060208284031215612f7d57600080fd5b8135612b5e81612f55565b60008083601f840112612f9a57600080fd5b50813567ffffffffffffffff811115612fb257600080fd5b6020830191508360208260051b8501011115612fcd57600080fd5b9250929050565b60008060208385031215612fe757600080fd5b823567ffffffffffffffff811115612ffe57600080fd5b61300a85828601612f88565b90969095509350505050565b80356001600160a01b038116811461302d57600080fd5b919050565b6000806040838503121561304557600080fd5b61304e83613016565b915060208301356001600160601b038116811461306a57600080fd5b809150509250929050565b60006020828403121561308757600080fd5b612b5e82613016565b6000815180845260005b818110156130b65760208185018101518683018201520161309a565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000612b5e6020830184613090565b6000602082840312156130fb57600080fd5b5035919050565b6000806040838503121561311557600080fd5b61311e83613016565b946020939093013593505050565b801515811461229657600080fd5b60006020828403121561314c57600080fd5b8135612b5e8161312c565b60008060006060848603121561316c57600080fd5b61317584613016565b925061318360208501613016565b9150604084013590509250925092565b600080604083850312156131a657600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b818110156131ed578351835292840192918401916001016131d1565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561322a5761322a6131f9565b604051601f8501601f19908116603f01168101908282118183101715613252576132526131f9565b8160405280935085815286868601111561326b57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561329757600080fd5b813567ffffffffffffffff8111156132ae57600080fd5b8201601f810184136132bf57600080fd5b612e4f8482356020840161320f565b600080604083850312156132e157600080fd5b6132ea83613016565b9150602083013561306a8161312c565b6000806000806080858703121561331057600080fd5b61331985613016565b935061332760208601613016565b925060408501359150606085013567ffffffffffffffff81111561334a57600080fd5b8501601f8101871361335b57600080fd5b61336a8782356020840161320f565b91505092959194509250565b60008060006040848603121561338b57600080fd5b833567ffffffffffffffff8111156133a257600080fd5b6133ae86828701612f88565b90945092505060208401356133c28161312c565b809150509250925092565b600080604083850312156133e057600080fd5b6133e983613016565b91506110e860208401613016565b6020808252601690820152751059191c995cdcc81a5cc8189b1858dadb1a5cdd195960521b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60006001820161344f5761344f613427565b5060010190565b81810381811115610c3157610c31613427565b600181811c9082168061347d57607f821691505b60208210810361349d57634e487b7160e01b600052602260045260246000fd5b50919050565b8082028115828204841417610c3157610c31613427565b6000826134d757634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610c3157610c31613427565b634e487b7160e01b600052603260045260246000fd5b601f821115610fd857600081815260208120601f850160051c8101602086101561352c5750805b601f850160051c820191505b818110156129ce57828155600101613538565b815167ffffffffffffffff811115613565576135656131f9565b613579816135738454613469565b84613505565b602080601f8311600181146135ae57600084156135965750858301515b600019600386901b1c1916600185901b1785556129ce565b600085815260208120601f198616915b828110156135dd578886015182559484019460019091019084016135be565b50858210156135fb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60408152600061361e6040830185613090565b82810360208401526136308185613090565b95945050505050565b60006020828403121561364b57600080fd5b8151612b5e8161312c565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061368990830184613090565b9695505050505050565b6000602082840312156136a557600080fd5b8151612b5e81612f5556fea2646970667358221220b449d462e9032a753de564165055fa20dab5e283e75a3bc26c51dceecff97e3264736f6c63430008110033
Verified Source Code Full Match
Compiler: v0.8.17+commit.8df45f5f
EVM: london
Optimization: Yes (200 runs)
QuintesNFT.sol 3045 lines
// SPDX-License-Identifier: MIT
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)
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) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
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 = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}
// File: @openzeppelin/contracts/utils/Counters.sol
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @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;
// forge-lint: disable-next-line(unsafe-typecast)
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/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @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/access/Ownable.sol
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @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() {
_transferOwnership(_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.
*/
// forge-lint: disable-next-line(unwrapped-modifier-logic)
modifier onlyOwner() {
_onlyOwner();
_;
}
function _onlyOwner() internal view {
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 {
_transferOwnership(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");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
// File: @openzeppelin/contracts/utils/Address.sol
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)
pragma solidity ^0.8.0;
/**
* @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/token/ERC721/IERC721Receiver.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @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/utils/introspection/IERC165.sol
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @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/utils/introspection/ERC165.sol
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
/**
* @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/IERC721.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
/**
* @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/extensions/IERC721Metadata.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
/**
* @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/token/ERC721/ERC721.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of ERC721A.
*/
interface IERC721A {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the
* ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
/**
* The `quantity` minted with ERC2309 exceeds the safety limit.
*/
error MintERC2309QuantityExceedsLimit();
/**
* The `extraData` cannot be set on an unintialized ownership slot.
*/
error OwnershipNotInitializedForExtraData();
// =============================================================
// STRUCTS
// =============================================================
struct TokenOwnership {
// The address of the owner.
address addr;
// Stores the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
// Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
uint24 extraData;
}
// =============================================================
// TOKEN COUNTERS
// =============================================================
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() external view returns (uint256);
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
// =============================================================
// IERC721
// =============================================================
/**
* @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,
bytes calldata data
) external payable;
/**
* @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external payable;
/**
* @dev Transfers `tokenId` 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 payable;
/**
* @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 payable;
/**
* @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 the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @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);
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @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);
// =============================================================
// IERC2309
// =============================================================
/**
* @dev Emitted when tokens in `fromTokenId` to `toTokenId`
* (inclusive) is transferred from `from` to `to`, as defined in the
* [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
*
* See {_mintERC2309} for more details.
*/
event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
pragma solidity ^0.8.4;
/**
* @dev Interface of ERC721 token receiver.
*/
interface ERC721A__IERC721Receiver {
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
/**
* @title ERC721A
*
* @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
* Non-Fungible Token Standard, including the Metadata extension.
* Optimized for lower gas during batch mints.
*
* Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
* starting from `_startTokenId()`.
*
* Assumptions:
*
* - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
* - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is IERC721A {
// Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
struct TokenApprovalRef {
address value;
}
// =============================================================
// CONSTANTS
// =============================================================
// Mask of an entry in packed address data.
uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;
// The bit position of `numberMinted` in packed address data.
uint256 private constant _BITPOS_NUMBER_MINTED = 64;
// The bit position of `numberBurned` in packed address data.
uint256 private constant _BITPOS_NUMBER_BURNED = 128;
// The bit position of `aux` in packed address data.
uint256 private constant _BITPOS_AUX = 192;
// Mask of all 256 bits in packed address data except the 64 bits for `aux`.
uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;
// The bit position of `startTimestamp` in packed ownership.
uint256 private constant _BITPOS_START_TIMESTAMP = 160;
// The bit mask of the `burned` bit in packed ownership.
uint256 private constant _BITMASK_BURNED = 1 << 224;
// The bit position of the `nextInitialized` bit in packed ownership.
uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;
// The bit mask of the `nextInitialized` bit in packed ownership.
uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;
// The bit position of `extraData` in packed ownership.
uint256 private constant _BITPOS_EXTRA_DATA = 232;
// Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;
// The mask of the lower 160 bits for addresses.
uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;
// The maximum `quantity` that can be minted with {_mintERC2309}.
// This limit is to prevent overflows on the address data entries.
// For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
// is required to cause an overflow, which is unrealistic.
uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;
// The `Transfer` event signature is given by:
// `keccak256(bytes("Transfer(address,address,uint256)"))`.
bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;
// =============================================================
// STORAGE
// =============================================================
// The next token ID to be minted.
uint256 private _currentIndex;
// The number of tokens burned.
uint256 private _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned.
// See {_packedOwnershipOf} implementation for details.
//
// Bits Layout:
// - [0..159] `addr`
// - [160..223] `startTimestamp`
// - [224] `burned`
// - [225] `nextInitialized`
// - [232..255] `extraData`
mapping(uint256 => uint256) private _packedOwnerships;
// Mapping owner address to address data.
//
// Bits Layout:
// - [0..63] `balance`
// - [64..127] `numberMinted`
// - [128..191] `numberBurned`
// - [192..255] `aux`
mapping(address => uint256) private _packedAddressData;
// Mapping from token ID to approved address.
mapping(uint256 => TokenApprovalRef) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// =============================================================
// CONSTRUCTOR
// =============================================================
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
// =============================================================
// TOKEN COUNTING OPERATIONS
// =============================================================
/**
* @dev Returns the starting token ID.
* To change the starting token ID, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 1;
}
/**
* @dev Returns the next token ID to be minted.
*/
function _nextTokenId() internal view virtual returns (uint256) {
return _currentIndex;
}
/**
* @dev Returns the total number of tokens in existence.
* Burned tokens will reduce the count.
* To get the total number of tokens minted, please see {_totalMinted}.
*/
function totalSupply() public view virtual override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than `_currentIndex - _startTokenId()` times.
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* @dev Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view virtual returns (uint256) {
// Counter underflow is impossible as `_currentIndex` does not decrement,
// and it is initialized to `_startTokenId()`.
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @dev Returns the total number of tokens burned.
*/
function _totalBurned() internal view virtual returns (uint256) {
return _burnCounter;
}
// =============================================================
// ADDRESS DATA OPERATIONS
// =============================================================
/**
* @dev Returns the number of tokens in `owner`'s account.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
}
/**
* Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
// forge-lint: disable-next-line(unsafe-typecast)
return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
}
/**
* Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal virtual {
uint256 packed = _packedAddressData[owner];
uint256 auxCasted;
// Cast `aux` with assembly to avoid redundant masking.
assembly {
auxCasted := aux
}
packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
_packedAddressData[owner] = packed;
}
// =============================================================
// IERC165
// =============================================================
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
* to learn more about how these ids are created.
*
* This function call must use less than 30000 gas.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
// The interface IDs are constants representing the first 4 bytes
// of the XOR of all function selectors in the interface.
// See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
// (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
return
interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
}
// =============================================================
// IERC721Metadata
// =============================================================
/**
* @dev Returns the token collection name.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the token collection symbol.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
}
/**
* @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, it can be overridden in child contracts.
*/
// forge-lint: disable-next-line(mixed-case-function)
function _baseURI() internal view virtual returns (string memory) {
return '';
}
// =============================================================
// OWNERSHIPS OPERATIONS
// =============================================================
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
return address(uint160(_packedOwnershipOf(tokenId)));
}
/**
* @dev Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around over time.
*/
function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnershipOf(tokenId));
}
/**
* @dev Returns the unpacked `TokenOwnership` struct at `index`.
*/
function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
return _unpackedOwnership(_packedOwnerships[index]);
}
/**
* @dev Initializes the ownership slot minted at `index` for efficiency purposes.
*/
function _initializeOwnershipAt(uint256 index) internal virtual {
if (_packedOwnerships[index] == 0) {
_packedOwnerships[index] = _packedOwnershipOf(index);
}
}
/**
* Returns the packed ownership data of `tokenId`.
*/
function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr)
if (curr < _currentIndex) {
uint256 packed = _packedOwnerships[curr];
// If not burned.
if (packed & _BITMASK_BURNED == 0) {
// Invariant:
// There will always be an initialized ownership slot
// (i.e. `ownership.addr != address(0) && ownership.burned == false`)
// before an unintialized ownership slot
// (i.e. `ownership.addr == address(0) && ownership.burned == false`)
// Hence, `curr` will not underflow.
//
// We can directly compare the packed value.
// If the address is zero, packed will be zero.
while (packed == 0) {
packed = _packedOwnerships[--curr];
}
return packed;
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev Returns the unpacked `TokenOwnership` struct from `packed`.
*/
function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
// forge-lint: disable-next-line(unsafe-typecast)
ownership.addr = address(uint160(packed));
// forge-lint: disable-next-line(unsafe-typecast)
ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
ownership.burned = packed & _BITMASK_BURNED != 0;
// forge-lint: disable-next-line(unsafe-typecast)
ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
}
/**
* @dev Packs ownership data into a single uint256.
*/
function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
assembly {
// Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
owner := and(owner, _BITMASK_ADDRESS)
// `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
}
}
/**
* @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
*/
function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
// For branchless setting of the `nextInitialized` flag.
assembly {
// `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
}
}
// =============================================================
// APPROVAL OPERATIONS
// ===================================...
// [truncated — 107571 bytes total]
Read Contract
MAX_AIRDROP_BATCH_SIZE 0xb277332d → uint256
MAX_OWNER_MINT_PER_TX 0xbdc49e41 → uint256
MAX_OWNER_MINT_PER_WALLET 0x9c8496d0 → uint256
MAX_TEAM_MINT_PER_WALLET 0x12105c04 → uint256
balanceOf 0x70a08231 → uint256
blacklisted 0xdbac26e9 → bool
contractURI 0xe8a3d485 → string
fcfsMerkleRoot 0x7bb23e3a → bytes32
fcfsMintCount 0x51bd4a5b → uint256
fcfsMinted 0x8aac2c0f → bool
fcfsPhaseActive 0x847939b2 → bool
getApproved 0x081812fc → address
getContractState 0x7f4e4849 → uint256, uint256, uint256, bool, bool, bool
getMintEligibility 0xfcf66cfb → bool, bool, bool, bool
getMintStats 0x224201db → uint256, uint256, uint256, uint256
getTeamMintInfo 0xfd1e046c → bool, uint256, uint256
getWalletInfo 0x7d5c1914 → bool, bool, bool, bool, uint256, uint256, bool
gtdMerkleRoot 0xef39154b → bytes32
gtdMintCount 0x3bcfc22a → uint256
gtdMinted 0xe2bae8a3 → bool
gtdPhaseActive 0xaed8a6a4 → bool
hasMinted 0x38e21cce → bool
isApprovedForAll 0xe985e9c5 → bool
isTeamWallet 0x4a5ecb36 → bool
maxSupply 0xd5abeb01 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
ownerMintedToAddress 0x06be0f85 → uint256
ownerOf 0x6352211e → address
paused 0x5c975abb → bool
price 0xa035b1fe → uint256
royaltyInfo 0x2a55205a → address, uint256
supportsInterface 0x01ffc9a7 → bool
symbol 0x95d89b41 → string
teamMinted 0xaddeda79 → uint256
teamWallets 0x4c1ccf12 → address
tokenURI 0xc87b56dd → string
totalSupply 0x18160ddd → uint256
walletOfOwner 0x438b6300 → uint256[]
Write Contract 24 functions
These functions modify contract state and require a wallet transaction to execute.
airdropGTD 0x2d4c112e
address[] recipients
returns: uint256
approve 0x095ea7b3
address operator
uint256 tokenId
mintFCFS 0xe51ed0d3
bytes32[] merkleProof
mintGTD 0x03380ea3
bytes32[] merkleProof
ownerMint 0x484b973c
address to
uint256 quantity
renounceOwnership 0x715018a6
No parameters
safeTransferFrom 0x42842e0e
address from
address to
uint256 tokenId
safeTransferFrom 0xb88d4fde
address from
address to
uint256 tokenId
bytes data
setApprovalForAll 0xa22cb465
address operator
bool approved
setBlacklisted 0xe1baae1f
address[] accounts
bool status
setContractURI 0x938e3d7b
string newContractURI
setDefaultRoyalty 0x04634d8d
address receiver
uint96 feeNumerator
setFcfsMerkleRoot 0x1ed7852a
bytes32 _root
setGtdMerkleRoot 0x8d0f7c16
bytes32 _root
setMaxSupply 0x6f8b44b0
uint256 _newSupply
setPaused 0x16c38b3c
bool _state
setPrice 0x91b7f5ed
uint256 _newPrice
setUriPrefix 0x7ec4a659
string newPrefix
startFcfsPhase 0x728324ae
No parameters
startGtdPhase 0x62674671
No parameters
teamMint 0x2fbba115
uint256 quantity
transferFrom 0x23b872dd
address from
address to
uint256 tokenId
transferOwnership 0xf2fde38b
address newOwner
withdraw 0x3ccfd60b
No parameters
Recent Transactions
No transactions found for this address