Address Contract Partially Verified
Address
0x2Ed5Ca750db14526edB1C949c2137A52B5911f9c
Balance
0 ETH
Nonce
1
Code Size
22274 bytes
Creator
0x4Ac08188...EA22 at tx 0xcc83e256...07e9d2
Indexed Transactions
0
Contract Bytecode
22274 bytes
0x6080604052600436106102ad5760003560e01c8063731c888c11610175578063c4ebaede116100dc578063e985e9c511610095578063f242432a1161006f578063f242432a14610a4a578063f2cee92b14610a73578063f2fde38b14610a9c578063fb2956aa14610ac5576102ad565b8063e985e9c5146109b9578063ebb5c732146109f6578063ec9496ba14610a21576102ad565b8063c4ebaede146108de578063c929ccf31461091b578063ccf6723914610944578063d38e1e811461094e578063e48b828614610979578063e80b7ab6146109a2576102ad565b8063a035b1fe1161012e578063a035b1fe146107dd578063a22cb46514610808578063a3330d2514610831578063ae7167c51461085c578063bcd22cc914610878578063c3b754dc146108b5576102ad565b8063731c888c146106cf5780638aca408c1461070c5780638da5cb5b146107355780638e1f9cfe1461076057806391b7f5ed1461078b5780639a266209146107b4576102ad565b80634e1273f41161021957806361de81fd116101d257806361de81fd146105f657806362557c9b1461061f5780636646f34a1461063b57806369538b83146106645780636c0360eb1461068d578063715018a6146106b8576102ad565b80634e1273f4146104d05780634f02c4201461050d578063524513d61461053857806356e49d61146105635780635918df50146105a05780635fd20db4146105cb576102ad565b806317d70f7c1161026b57806317d70f7c146103e657806318160ddd14610411578063210ac6f51461043c5780632eb2c2d61461046557806332cb6b0c1461048e5780633ccfd60b146104b9576102ad565b8062fdd58e146102b2578063019f11d3146102ef57806301ffc9a71461031a57806302fe5305146103575780630b98f975146103805780630e89341c146103a9575b600080fd5b3480156102be57600080fd5b506102d960048036038101906102d49190613ba3565b610aee565b6040516102e69190613bf2565b60405180910390f35b3480156102fb57600080fd5b50610304610bb7565b6040516103119190613bf2565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c9190613c65565b610bbd565b60405161034e9190613cad565b60405180910390f35b34801561036357600080fd5b5061037e60048036038101906103799190613e0e565b610c9f565b005b34801561038c57600080fd5b506103a760048036038101906103a29190613e57565b610d27565b005b3480156103b557600080fd5b506103d060048036038101906103cb9190613e57565b610dd2565b6040516103dd9190613f0c565b60405180910390f35b3480156103f257600080fd5b506103fb610e0d565b6040516104089190613bf2565b60405180910390f35b34801561041d57600080fd5b50610426610e13565b6040516104339190613bf2565b60405180910390f35b34801561044857600080fd5b50610463600480360381019061045e9190613f64565b610e2a565b005b34801561047157600080fd5b5061048c600480360381019061048791906140fa565b610eb0565b005b34801561049a57600080fd5b506104a3610f51565b6040516104b09190613bf2565b60405180910390f35b3480156104c557600080fd5b506104ce610f57565b005b3480156104dc57600080fd5b506104f760048036038101906104f2919061428c565b611023565b60405161050491906143c2565b60405180910390f35b34801561051957600080fd5b5061052261113c565b60405161052f9190613bf2565b60405180910390f35b34801561054457600080fd5b5061054d611142565b60405161055a9190613cad565b60405180910390f35b34801561056f57600080fd5b5061058a600480360381019061058591906143e4565b611155565b6040516105979190613cad565b60405180910390f35b3480156105ac57600080fd5b506105b56111ff565b6040516105c29190613bf2565b60405180910390f35b3480156105d757600080fd5b506105e0611205565b6040516105ed9190613cad565b60405180910390f35b34801561060257600080fd5b5061061d6004803603810190610618919061443d565b611218565b005b610639600480360381019061063491906144c5565b6112b1565b005b34801561064757600080fd5b50610662600480360381019061065d9190614512565b611617565b005b34801561067057600080fd5b5061068b600480360381019061068691906143e4565b611773565b005b34801561069957600080fd5b506106a261184a565b6040516106af9190613f0c565b60405180910390f35b3480156106c457600080fd5b506106cd6118d8565b005b3480156106db57600080fd5b506106f660048036038101906106f19190613e57565b611960565b604051610703919061457d565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e919061443d565b61199f565b005b34801561074157600080fd5b5061074a611a38565b604051610757919061457d565b60405180910390f35b34801561076c57600080fd5b50610775611a62565b60405161078291906145a7565b60405180910390f35b34801561079757600080fd5b506107b260048036038101906107ad9190613e57565b611a68565b005b3480156107c057600080fd5b506107db60048036038101906107d691906143e4565b611aee565b005b3480156107e957600080fd5b506107f2611bc5565b6040516107ff9190613bf2565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a91906145c2565b611bcb565b005b34801561083d57600080fd5b50610846611be1565b6040516108539190613cad565b60405180910390f35b610876600480360381019061087191906144c5565b611bf4565b005b34801561088457600080fd5b5061089f600480360381019061089a91906143e4565b611f5a565b6040516108ac9190613cad565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d7919061443d565b611f7a565b005b3480156108ea57600080fd5b50610905600480360381019061090091906143e4565b612013565b6040516109129190613cad565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d9190613e57565b612033565b005b61094c6120b9565b005b34801561095a57600080fd5b5061096361227f565b6040516109709190613bf2565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b9190613f64565b612285565b005b3480156109ae57600080fd5b506109b761230b565b005b3480156109c557600080fd5b506109e060048036038101906109db9190614602565b612397565b6040516109ed9190613cad565b60405180910390f35b348015610a0257600080fd5b50610a0b61242b565b604051610a1891906145a7565b60405180910390f35b348015610a2d57600080fd5b50610a486004803603810190610a439190613e57565b612431565b005b348015610a5657600080fd5b50610a716004803603810190610a6c9190614642565b6124b7565b005b348015610a7f57600080fd5b50610a9a6004803603810190610a959190613e57565b612558565b005b348015610aa857600080fd5b50610ac36004803603810190610abe91906143e4565b612705565b005b348015610ad157600080fd5b50610aec6004803603810190610ae79190613e57565b6127fd565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b569061474b565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600e5481565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c8857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c985750610c9782612883565b5b9050919050565b610ca76128ed565b73ffffffffffffffffffffffffffffffffffffffff16610cc5611a38565b73ffffffffffffffffffffffffffffffffffffffff1614610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d12906147b7565b60405180910390fd5b610d24816128f5565b50565b610d2f6128ed565b73ffffffffffffffffffffffffffffffffffffffff16610d4d611a38565b73ffffffffffffffffffffffffffffffffffffffff1614610da3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9a906147b7565b60405180910390fd5b60016011600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6060610ddd8261290f565b610de6836129a3565b604051602001610df792919061485f565b6040516020818303038152906040529050919050565b60075481565b6000600e54600d54610e2591906148bd565b905090565b610e326128ed565b73ffffffffffffffffffffffffffffffffffffffff16610e50611a38565b73ffffffffffffffffffffffffffffffffffffffff1614610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d906147b7565b60405180910390fd5b80600c8190555050565b610eb86128ed565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610efe5750610efd85610ef86128ed565b612397565b5b610f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3490614985565b60405180910390fd5b610f4a8585858585612b04565b5050505050565b60055481565b610f5f6128ed565b73ffffffffffffffffffffffffffffffffffffffff16610f7d611a38565b73ffffffffffffffffffffffffffffffffffffffff1614610fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fca906147b7565b60405180910390fd5b610fdb611a38565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611020573d6000803e3d6000fd5b50565b60608151835114611069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106090614a17565b60405180910390fd5b6000835167ffffffffffffffff81111561108657611085613ce3565b5b6040519080825280602002602001820160405280156110b45781602001602082028036833780820191505090505b50905060005b8451811015611131576111018582815181106110d9576110d8614a37565b5b60200260200101518583815181106110f4576110f3614a37565b5b6020026020010151610aee565b82828151811061111457611113614a37565b5b6020026020010181815250508061112a90614a66565b90506110ba565b508091505092915050565b600d5481565b600960009054906101000a900460ff1681565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806111f85750601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b9050919050565b60135481565b600960019054906101000a900460ff1681565b6112206128ed565b73ffffffffffffffffffffffffffffffffffffffff1661123e611a38565b73ffffffffffffffffffffffffffffffffffffffff1614611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b906147b7565b60405180910390fd5b80600960016101000a81548160ff02191690831515021790555050565b600260045414156112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee90614afb565b60405180910390fd5b600260048190555060006113096128ed565b905060003360405160200161131e9190614b63565b604051602081830303815290604052805190602001209050600960019054906101000a900460ff16611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c90614bca565b60405180910390fd5b6006546005546113959190614bea565b601354106113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cf90614c6a565b60405180910390fd5b611426848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483612e26565b611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c90614cd6565b60405180910390fd5b600a5434146114a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a090614d42565b60405180910390fd5b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152d90614dae565b60405180910390fd5b6001601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506012829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506013600081548092919061160490614a66565b9190505550505060016004819055505050565b61161f6128ed565b73ffffffffffffffffffffffffffffffffffffffff1661163d611a38565b73ffffffffffffffffffffffffffffffffffffffff1614611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a906147b7565b60405180910390fd5b600554600e54600d5484516116a891906148bd565b6116b291906148bd565b11156116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea90614c6a565b60405180910390fd5b60005b825181101561176e5760006007549050821561171e57600160075461171b91906148bd565b90505b61174284838151811061173457611733614a37565b5b602002602001015182612e3d565b600e600081548092919061175590614a66565b919050555050808061176690614a66565b9150506116f6565b505050565b61177b6128ed565b73ffffffffffffffffffffffffffffffffffffffff16611799611a38565b73ffffffffffffffffffffffffffffffffffffffff16146117ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e6906147b7565b60405180910390fd5b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6008805461185790614dfd565b80601f016020809104026020016040519081016040528092919081815260200182805461188390614dfd565b80156118d05780601f106118a5576101008083540402835291602001916118d0565b820191906000526020600020905b8154815290600101906020018083116118b357829003601f168201915b505050505081565b6118e06128ed565b73ffffffffffffffffffffffffffffffffffffffff166118fe611a38565b73ffffffffffffffffffffffffffffffffffffffff1614611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b906147b7565b60405180910390fd5b61195e6000612eb0565b565b6012818154811061197057600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6119a76128ed565b73ffffffffffffffffffffffffffffffffffffffff166119c5611a38565b73ffffffffffffffffffffffffffffffffffffffff1614611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a12906147b7565b60405180910390fd5b80600960026101000a81548160ff02191690831515021790555050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b5481565b611a706128ed565b73ffffffffffffffffffffffffffffffffffffffff16611a8e611a38565b73ffffffffffffffffffffffffffffffffffffffff1614611ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adb906147b7565b60405180910390fd5b80600a8190555050565b611af66128ed565b73ffffffffffffffffffffffffffffffffffffffff16611b14611a38565b73ffffffffffffffffffffffffffffffffffffffff1614611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b61906147b7565b60405180910390fd5b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600a5481565b611bdd611bd66128ed565b8383612f76565b5050565b600960029054906101000a900460ff1681565b60026004541415611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3190614afb565b60405180910390fd5b60026004819055506000611c4c6128ed565b9050600033604051602001611c619190614b63565b604051602081830303815290604052805190602001209050600960009054906101000a900460ff16611cc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbf90614bca565b60405180910390fd5b600654600554611cd89190614bea565b60135410611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1290614c6a565b60405180910390fd5b611d69848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483612e26565b611da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9f90614cd6565b60405180910390fd5b600a543414611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390614d42565b60405180910390fd5b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7090614dae565b60405180910390fd5b6001600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506012829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060136000815480929190611f4790614a66565b9190505550505060016004819055505050565b60106020528060005260406000206000915054906101000a900460ff1681565b611f826128ed565b73ffffffffffffffffffffffffffffffffffffffff16611fa0611a38565b73ffffffffffffffffffffffffffffffffffffffff1614611ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fed906147b7565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b600f6020528060005260406000206000915054906101000a900460ff1681565b61203b6128ed565b73ffffffffffffffffffffffffffffffffffffffff16612059611a38565b73ffffffffffffffffffffffffffffffffffffffff16146120af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a6906147b7565b60405180910390fd5b8060078190555050565b600260045414156120ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f690614afb565b60405180910390fd5b600260048190555060006121116128ed565b9050600960029054906101000a900460ff16612162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215990614bca565b60405180910390fd5b6006546005546121729190614bea565b601354106121b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ac90614c6a565b60405180910390fd5b600a5434146121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f090614d42565b60405180910390fd5b6012819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506013600081548092919061226f90614a66565b9190505550506001600481905550565b60065481565b61228d6128ed565b73ffffffffffffffffffffffffffffffffffffffff166122ab611a38565b73ffffffffffffffffffffffffffffffffffffffff1614612301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f8906147b7565b60405180910390fd5b80600b8190555050565b6123136128ed565b73ffffffffffffffffffffffffffffffffffffffff16612331611a38565b73ffffffffffffffffffffffffffffffffffffffff1614612387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237e906147b7565b60405180910390fd5b601260006123959190613a37565b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c5481565b6124396128ed565b73ffffffffffffffffffffffffffffffffffffffff16612457611a38565b73ffffffffffffffffffffffffffffffffffffffff16146124ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a4906147b7565b60405180910390fd5b8060058190555050565b6124bf6128ed565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806125055750612504856124ff6128ed565b612397565b5b612544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253b90614ea1565b60405180910390fd5b61255185858585856130e3565b5050505050565b6125606128ed565b73ffffffffffffffffffffffffffffffffffffffff1661257e611a38565b73ffffffffffffffffffffffffffffffffffffffff16146125d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cb906147b7565b60405180910390fd5b600554600e54600d54836125e891906148bd565b6125f291906148bd565b1115612633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262a90614c6a565b60405180910390fd5b60005b818110156127015760006007549050601160006001600d5461265891906148bd565b815260200190815260200160002060009054906101000a900460ff161561268b57600160075461268891906148bd565b90505b6126d56012600d54815481106126a4576126a3614a37565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612e3d565b600d60008154809291906126e890614a66565b91905055505080806126f990614a66565b915050612636565b5050565b61270d6128ed565b73ffffffffffffffffffffffffffffffffffffffff1661272b611a38565b73ffffffffffffffffffffffffffffffffffffffff1614612781576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612778906147b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e890614f33565b60405180910390fd5b6127fa81612eb0565b50565b6128056128ed565b73ffffffffffffffffffffffffffffffffffffffff16612823611a38565b73ffffffffffffffffffffffffffffffffffffffff1614612879576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612870906147b7565b60405180910390fd5b8060068190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b806002908051906020019061290b929190613a58565b5050565b60606002805461291e90614dfd565b80601f016020809104026020016040519081016040528092919081815260200182805461294a90614dfd565b80156129975780601f1061296c57610100808354040283529160200191612997565b820191906000526020600020905b81548152906001019060200180831161297a57829003601f168201915b50505050509050919050565b606060008214156129eb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612aff565b600082905060005b60008214612a1d578080612a0690614a66565b915050600a82612a169190614f82565b91506129f3565b60008167ffffffffffffffff811115612a3957612a38613ce3565b5b6040519080825280601f01601f191660200182016040528015612a6b5781602001600182028036833780820191505090505b5090505b60008514612af857600182612a849190614bea565b9150600a85612a939190614fb3565b6030612a9f91906148bd565b60f81b818381518110612ab557612ab4614a37565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612af19190614f82565b9450612a6f565b8093505050505b919050565b8151835114612b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3f90615056565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612baf906150e8565b60405180910390fd5b6000612bc26128ed565b9050612bd281878787878761337f565b60005b8451811015612d83576000858281518110612bf357612bf2614a37565b5b602002602001015190506000858381518110612c1257612c11614a37565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612cb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612caa9061517a565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d6891906148bd565b9250508190555050505080612d7c90614a66565b9050612bd5565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612dfa92919061519a565b60405180910390a4612e10818787878787613387565b612e1e81878787878761338f565b505050505050565b600082612e338584613576565b1490509392505050565b600554600e54600d54612e5091906148bd565b10612e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e879061521d565b60405180910390fd5b612eac82826001604051806020016040528060008152506135eb565b5050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fdc906152af565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130d69190613cad565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314a906150e8565b60405180910390fd5b600061315d6128ed565b9050600061316a8561379c565b905060006131778561379c565b905061318783898985858961337f565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561321e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132159061517a565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132d391906148bd565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516133509291906152cf565b60405180910390a4613366848a8a86868a613387565b613374848a8a8a8a8a613816565b505050505050505050565b505050505050565b505050505050565b6133ae8473ffffffffffffffffffffffffffffffffffffffff166139fd565b1561356e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016133f495949392919061534d565b602060405180830381600087803b15801561340e57600080fd5b505af192505050801561343f57506040513d601f19601f8201168201806040525081019061343c91906153ca565b60015b6134e55761344b615404565b806308c379a014156134a85750613460615426565b8061346b57506134aa565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349f9190613f0c565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134dc9061552e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461356c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613563906155c0565b60405180910390fd5b505b505050505050565b60008082905060005b84518110156135e057600085828151811061359d5761359c614a37565b5b602002602001015190508083116135bf576135b88382613a20565b92506135cc565b6135c98184613a20565b92505b5080806135d890614a66565b91505061357f565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561365b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365290615652565b60405180910390fd5b60006136656128ed565b905060006136728561379c565b9050600061367f8561379c565b90506136908360008985858961337f565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136ef91906148bd565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161376d9291906152cf565b60405180910390a461378483600089858589613387565b61379383600089898989613816565b50505050505050565b60606000600167ffffffffffffffff8111156137bb576137ba613ce3565b5b6040519080825280602002602001820160405280156137e95781602001602082028036833780820191505090505b509050828160008151811061380157613800614a37565b5b60200260200101818152505080915050919050565b6138358473ffffffffffffffffffffffffffffffffffffffff166139fd565b156139f5578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161387b959493929190615672565b602060405180830381600087803b15801561389557600080fd5b505af19250505080156138c657506040513d601f19601f820116820180604052508101906138c391906153ca565b60015b61396c576138d2615404565b806308c379a0141561392f57506138e7615426565b806138f25750613931565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139269190613f0c565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139639061552e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146139f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ea906155c0565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b5080546000825590600052602060002090810190613a559190613ade565b50565b828054613a6490614dfd565b90600052602060002090601f016020900481019282613a865760008555613acd565b82601f10613a9f57805160ff1916838001178555613acd565b82800160010185558215613acd579182015b82811115613acc578251825591602001919060010190613ab1565b5b509050613ada9190613ade565b5090565b5b80821115613af7576000816000905550600101613adf565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b3a82613b0f565b9050919050565b613b4a81613b2f565b8114613b5557600080fd5b50565b600081359050613b6781613b41565b92915050565b6000819050919050565b613b8081613b6d565b8114613b8b57600080fd5b50565b600081359050613b9d81613b77565b92915050565b60008060408385031215613bba57613bb9613b05565b5b6000613bc885828601613b58565b9250506020613bd985828601613b8e565b9150509250929050565b613bec81613b6d565b82525050565b6000602082019050613c076000830184613be3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c4281613c0d565b8114613c4d57600080fd5b50565b600081359050613c5f81613c39565b92915050565b600060208284031215613c7b57613c7a613b05565b5b6000613c8984828501613c50565b91505092915050565b60008115159050919050565b613ca781613c92565b82525050565b6000602082019050613cc26000830184613c9e565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d1b82613cd2565b810181811067ffffffffffffffff82111715613d3a57613d39613ce3565b5b80604052505050565b6000613d4d613afb565b9050613d598282613d12565b919050565b600067ffffffffffffffff821115613d7957613d78613ce3565b5b613d8282613cd2565b9050602081019050919050565b82818337600083830152505050565b6000613db1613dac84613d5e565b613d43565b905082815260208101848484011115613dcd57613dcc613ccd565b5b613dd8848285613d8f565b509392505050565b600082601f830112613df557613df4613cc8565b5b8135613e05848260208601613d9e565b91505092915050565b600060208284031215613e2457613e23613b05565b5b600082013567ffffffffffffffff811115613e4257613e41613b0a565b5b613e4e84828501613de0565b91505092915050565b600060208284031215613e6d57613e6c613b05565b5b6000613e7b84828501613b8e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613ebe578082015181840152602081019050613ea3565b83811115613ecd576000848401525b50505050565b6000613ede82613e84565b613ee88185613e8f565b9350613ef8818560208601613ea0565b613f0181613cd2565b840191505092915050565b60006020820190508181036000830152613f268184613ed3565b905092915050565b6000819050919050565b613f4181613f2e565b8114613f4c57600080fd5b50565b600081359050613f5e81613f38565b92915050565b600060208284031215613f7a57613f79613b05565b5b6000613f8884828501613f4f565b91505092915050565b600067ffffffffffffffff821115613fac57613fab613ce3565b5b602082029050602081019050919050565b600080fd5b6000613fd5613fd084613f91565b613d43565b90508083825260208201905060208402830185811115613ff857613ff7613fbd565b5b835b81811015614021578061400d8882613b8e565b845260208401935050602081019050613ffa565b5050509392505050565b600082601f8301126140405761403f613cc8565b5b8135614050848260208601613fc2565b91505092915050565b600067ffffffffffffffff82111561407457614073613ce3565b5b61407d82613cd2565b9050602081019050919050565b600061409d61409884614059565b613d43565b9050828152602081018484840111156140b9576140b8613ccd565b5b6140c4848285613d8f565b509392505050565b600082601f8301126140e1576140e0613cc8565b5b81356140f184826020860161408a565b91505092915050565b600080600080600060a0868803121561411657614115613b05565b5b600061412488828901613b58565b955050602061413588828901613b58565b945050604086013567ffffffffffffffff81111561415657614155613b0a565b5b6141628882890161402b565b935050606086013567ffffffffffffffff81111561418357614182613b0a565b5b61418f8882890161402b565b925050608086013567ffffffffffffffff8111156141b0576141af613b0a565b5b6141bc888289016140cc565b9150509295509295909350565b600067ffffffffffffffff8211156141e4576141e3613ce3565b5b602082029050602081019050919050565b6000614208614203846141c9565b613d43565b9050808382526020820190506020840283018581111561422b5761422a613fbd565b5b835b8181101561425457806142408882613b58565b84526020840193505060208101905061422d565b5050509392505050565b600082601f83011261427357614272613cc8565b5b81356142838482602086016141f5565b91505092915050565b600080604083850312156142a3576142a2613b05565b5b600083013567ffffffffffffffff8111156142c1576142c0613b0a565b5b6142cd8582860161425e565b925050602083013567ffffffffffffffff8111156142ee576142ed613b0a565b5b6142fa8582860161402b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61433981613b6d565b82525050565b600061434b8383614330565b60208301905092915050565b6000602082019050919050565b600061436f82614304565b614379818561430f565b935061438483614320565b8060005b838110156143b557815161439c888261433f565b97506143a783614357565b925050600181019050614388565b5085935050505092915050565b600060208201905081810360008301526143dc8184614364565b905092915050565b6000602082840312156143fa576143f9613b05565b5b600061440884828501613b58565b91505092915050565b61441a81613c92565b811461442557600080fd5b50565b60008135905061443781614411565b92915050565b60006020828403121561445357614452613b05565b5b600061446184828501614428565b91505092915050565b600080fd5b60008083601f84011261448557614484613cc8565b5b8235905067ffffffffffffffff8111156144a2576144a161446a565b5b6020830191508360208202830111156144be576144bd613fbd565b5b9250929050565b600080602083850312156144dc576144db613b05565b5b600083013567ffffffffffffffff8111156144fa576144f9613b0a565b5b6145068582860161446f565b92509250509250929050565b6000806040838503121561452957614528613b05565b5b600083013567ffffffffffffffff81111561454757614546613b0a565b5b6145538582860161425e565b925050602061456485828601614428565b9150509250929050565b61457781613b2f565b82525050565b6000602082019050614592600083018461456e565b92915050565b6145a181613f2e565b82525050565b60006020820190506145bc6000830184614598565b92915050565b600080604083850312156145d9576145d8613b05565b5b60006145e785828601613b58565b92505060206145f885828601614428565b9150509250929050565b6000806040838503121561461957614618613b05565b5b600061462785828601613b58565b925050602061463885828601613b58565b9150509250929050565b600080600080600060a0868803121561465e5761465d613b05565b5b600061466c88828901613b58565b955050602061467d88828901613b58565b945050604061468e88828901613b8e565b935050606061469f88828901613b8e565b925050608086013567ffffffffffffffff8111156146c0576146bf613b0a565b5b6146cc888289016140cc565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614735602b83613e8f565b9150614740826146d9565b604082019050919050565b6000602082019050818103600083015261476481614728565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147a1602083613e8f565b91506147ac8261476b565b602082019050919050565b600060208201905081810360008301526147d081614794565b9050919050565b600081905092915050565b60006147ed82613e84565b6147f781856147d7565b9350614807818560208601613ea0565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006148496005836147d7565b915061485482614813565b600582019050919050565b600061486b82856147e2565b915061487782846147e2565b91506148828261483c565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148c882613b6d565b91506148d383613b6d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149085761490761488e565b5b828201905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061496f603283613e8f565b915061497a82614913565b604082019050919050565b6000602082019050818103600083015261499e81614962565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614a01602983613e8f565b9150614a0c826149a5565b604082019050919050565b60006020820190508181036000830152614a30816149f4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614a7182613b6d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aa457614aa361488e565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614ae5601f83613e8f565b9150614af082614aaf565b602082019050919050565b60006020820190508181036000830152614b1481614ad8565b9050919050565b60008160601b9050919050565b6000614b3382614b1b565b9050919050565b6000614b4582614b28565b9050919050565b614b5d614b5882613b2f565b614b3a565b82525050565b6000614b6f8284614b4c565b60148201915081905092915050565b7f53616c6520697320636c6f736564000000000000000000000000000000000000600082015250565b6000614bb4600e83613e8f565b9150614bbf82614b7e565b602082019050919050565b60006020820190508181036000830152614be381614ba7565b9050919050565b6000614bf582613b6d565b9150614c0083613b6d565b925082821015614c1357614c1261488e565b5b828203905092915050565b7f4d415820537570706c7920726561636865640000000000000000000000000000600082015250565b6000614c54601283613e8f565b9150614c5f82614c1e565b602082019050919050565b60006020820190508181036000830152614c8381614c47565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614cc0600d83613e8f565b9150614ccb82614c8a565b602082019050919050565b60006020820190508181036000830152614cef81614cb3565b9050919050565b7f496e636f72726563742070617961626c6520616d6f756e740000000000000000600082015250565b6000614d2c601883613e8f565b9150614d3782614cf6565b602082019050919050565b60006020820190508181036000830152614d5b81614d1f565b9050919050565b7f416c726561647920726567697374657265640000000000000000000000000000600082015250565b6000614d98601283613e8f565b9150614da382614d62565b602082019050919050565b60006020820190508181036000830152614dc781614d8b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e1557607f821691505b60208210811415614e2957614e28614dce565b5b50919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614e8b602983613e8f565b9150614e9682614e2f565b604082019050919050565b60006020820190508181036000830152614eba81614e7e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f1d602683613e8f565b9150614f2882614ec1565b604082019050919050565b60006020820190508181036000830152614f4c81614f10565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614f8d82613b6d565b9150614f9883613b6d565b925082614fa857614fa7614f53565b5b828204905092915050565b6000614fbe82613b6d565b9150614fc983613b6d565b925082614fd957614fd8614f53565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000615040602883613e8f565b915061504b82614fe4565b604082019050919050565b6000602082019050818103600083015261506f81615033565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006150d2602583613e8f565b91506150dd82615076565b604082019050919050565b60006020820190508181036000830152615101816150c5565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000615164602a83613e8f565b915061516f82615108565b604082019050919050565b6000602082019050818103600083015261519381615157565b9050919050565b600060408201905081810360008301526151b48185614364565b905081810360208301526151c88184614364565b90509392505050565b7f57696c6c20657863656564206d6178696d756d20737570706c79000000000000600082015250565b6000615207601a83613e8f565b9150615212826151d1565b602082019050919050565b60006020820190508181036000830152615236816151fa565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615299602983613e8f565b91506152a48261523d565b604082019050919050565b600060208201905081810360008301526152c88161528c565b9050919050565b60006040820190506152e46000830185613be3565b6152f16020830184613be3565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061531f826152f8565b6153298185615303565b9350615339818560208601613ea0565b61534281613cd2565b840191505092915050565b600060a082019050615362600083018861456e565b61536f602083018761456e565b81810360408301526153818186614364565b905081810360608301526153958185614364565b905081810360808301526153a98184615314565b90509695505050505050565b6000815190506153c481613c39565b92915050565b6000602082840312156153e0576153df613b05565b5b60006153ee848285016153b5565b91505092915050565b60008160e01c9050919050565b600060033d11156154235760046000803e6154206000516153f7565b90505b90565b600060443d1015615436576154b9565b61543e613afb565b60043d036004823e80513d602482011167ffffffffffffffff821117156154665750506154b9565b808201805167ffffffffffffffff81111561548457505050506154b9565b80602083010160043d0385018111156154a15750505050506154b9565b6154b082602001850186613d12565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615518603483613e8f565b9150615523826154bc565b604082019050919050565b600060208201905081810360008301526155478161550b565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006155aa602883613e8f565b91506155b58261554e565b604082019050919050565b600060208201905081810360008301526155d98161559d565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061563c602183613e8f565b9150615647826155e0565b604082019050919050565b6000602082019050818103600083015261566b8161562f565b9050919050565b600060a082019050615687600083018861456e565b615694602083018761456e565b6156a16040830186613be3565b6156ae6060830185613be3565b81810360808301526156c08184615314565b9050969550505050505056fea2646970667358221220919c51108e671de452c51543919bcd2f69f6000dcb05c04097c996655b99089064736f6c63430008090033
Verified Source Code Partial Match
Compiler: v0.8.9+commit.e5eed63a
EVM: london
Optimization: No
Alphalabs.sol 223 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
/*
_____ _____ _____ _____ _____ _____ _____ _____ _____
/\ \ /\ \ /\ \ /\ \ /\ \ /\ \ /\ \ /\ \ /\ \
/::\ \ /::\____\ /::\ \ /::\____\ /::\ \ /::\____\ /::\ \ /::\ \ /::\ \
/::::\ \ /:::/ / /::::\ \ /:::/ / /::::\ \ /:::/ / /::::\ \ /::::\ \ /::::\ \
/::::::\ \ /:::/ / /::::::\ \ /:::/ / /::::::\ \ /:::/ / /::::::\ \ /::::::\ \ /::::::\ \
/:::/\:::\ \ /:::/ / /:::/\:::\ \ /:::/ / /:::/\:::\ \ /:::/ / /:::/\:::\ \ /:::/\:::\ \ /:::/\:::\ \
/:::/__\:::\ \ /:::/ / /:::/__\:::\ \ /:::/____/ /:::/__\:::\ \ /:::/ / /:::/__\:::\ \ /:::/__\:::\ \ /:::/__\:::\ \
/::::\ \:::\ \ /:::/ / /::::\ \:::\ \ /::::\ \ /::::\ \:::\ \ /:::/ / /::::\ \:::\ \ /::::\ \:::\ \ \:::\ \:::\ \
/::::::\ \:::\ \ /:::/ / /::::::\ \:::\ \ /::::::\ \ _____ /::::::\ \:::\ \ /:::/ / /::::::\ \:::\ \ /::::::\ \:::\ \ ___\:::\ \:::\ \
/:::/\:::\ \:::\ \ /:::/ / /:::/\:::\ \:::\____\ /:::/\:::\ \ /\ \ /:::/\:::\ \:::\ \ /:::/ / /:::/\:::\ \:::\ \ /:::/\:::\ \:::\ ___\ /\ \:::\ \:::\ \
/:::/ \:::\ \:::\____\/:::/____/ /:::/ \:::\ \:::| |/:::/ \:::\ /::\____\/:::/ \:::\ \:::\____\/:::/____/ /:::/ \:::\ \:::\____\/:::/__\:::\ \:::| |/::\ \:::\ \:::\____\
\::/ \:::\ /:::/ /\:::\ \ \::/ \:::\ /:::|____|\::/ \:::\ /:::/ /\::/ \:::\ /:::/ /\:::\ \ \::/ \:::\ /:::/ /\:::\ \:::\ /:::|____|\:::\ \:::\ \::/ /
\/____/ \:::\/:::/ / \:::\ \ \/_____/\:::\/:::/ / \/____/ \:::\/:::/ / \/____/ \:::\/:::/ / \:::\ \ \/____/ \:::\/:::/ / \:::\ \:::\/:::/ / \:::\ \:::\ \/____/
\::::::/ / \:::\ \ \::::::/ / \::::::/ / \::::::/ / \:::\ \ \::::::/ / \:::\ \::::::/ / \:::\ \:::\ \
\::::/ / \:::\ \ \::::/ / \::::/ / \::::/ / \:::\ \ \::::/ / \:::\ \::::/ / \:::\ \:::\____\
/:::/ / \:::\ \ \::/____/ /:::/ / /:::/ / \:::\ \ /:::/ / \:::\ /:::/ / \:::\ /:::/ /
/:::/ / \:::\ \ ~~ /:::/ / /:::/ / \:::\ \ /:::/ / \:::\/:::/ / \:::\/:::/ /
/:::/ / \:::\ \ /:::/ / /:::/ / \:::\ \ /:::/ / \::::::/ / \::::::/ /
/:::/ / \:::\____\ /:::/ / /:::/ / \:::\____\ /:::/ / \::::/ / \::::/ /
\::/ / \::/ / \::/ / \::/ / \::/ / \::/ / \::/____/ \::/ /
\/____/ \/____/ \/____/ \/____/ \/____/ \/____/ ~~ \/____/
*/
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";
contract Alphalabs is ERC1155, Ownable, ReentrancyGuard {
using Strings for uint256;
uint256 public MAX_SUPPLY = 777;
uint256 public GIVEAWAY_RESERVED = 50;
uint256 public tokenId = 0;
string public baseURI = "ipfs://QmSmGhGDGFdF2myKwzEdciHYe8UGLcNMJFPZ3jdSK51Mtg/";
bool public isWhitelistActive = false;
bool public isReservedWhitelistActive = false;
bool public isPublicActive = false;
uint256 public price = 0.3 ether;
bytes32 public merkleRootWhitelist;
bytes32 public merkleRootReservedWhitelist;
uint256 public minted = 0;
uint256 public giveawayed = 0;
mapping(address => bool) public _registeredMintWhitelist;
mapping(address => bool) public _registeredMintReservedWhitelist;
mapping(uint256 => bool) private _littleExtra;
address[] public _registeredAddresses;
uint256 public _registerCount = 0;
constructor() ERC1155(baseURI) {}
// Accessors
function setMAX_SUPPLY(uint256 new_supply) public onlyOwner {
MAX_SUPPLY = new_supply;
}
function setGIVEAWAY_RESERVED(uint256 new_amount) public onlyOwner {
GIVEAWAY_RESERVED = new_amount;
}
function setTokenId(uint256 id) public onlyOwner {
tokenId = id;
}
function setPrice(uint256 new_price) public onlyOwner {
price = new_price;
}
function setWhitelistActive(bool _isActive) public onlyOwner {
isWhitelistActive = _isActive;
}
function setReservedWhitelistActive(bool _isActive) public onlyOwner {
isReservedWhitelistActive = _isActive;
}
function setPublicActive(bool _isActive) public onlyOwner {
isPublicActive = _isActive;
}
function setWhitelistMerkleProof(bytes32 _merkleRoot) public onlyOwner {
merkleRootWhitelist = _merkleRoot;
}
function setReservedWhitelistMerkleProof(bytes32 _merkleRoot) public onlyOwner {
merkleRootReservedWhitelist = _merkleRoot;
}
function totalSupply() public view returns (uint256) {
return minted + giveawayed;
}
function setBonus(uint256 new_bonus) public onlyOwner {
_littleExtra[new_bonus] = true;
}
function alreadyRegistered(address wallet) public view returns (bool) {
return (_registeredMintWhitelist[wallet] || _registeredMintReservedWhitelist[wallet]);
}
// Metadata
function setURI(string memory new_uri) public onlyOwner {
_setURI(new_uri);
}
function uri(uint256 _id) public view override returns (string memory) {
return string(abi.encodePacked(super.uri(_id), Strings.toString(_id), ".json"));
}
// Minting
function registerWhitelistMint(bytes32[] calldata merkleProof) public payable nonReentrant {
address sender = _msgSender();
bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
require(isWhitelistActive, "Sale is closed");
require(_registerCount < (MAX_SUPPLY - GIVEAWAY_RESERVED), "MAX Supply reached");
require(MerkleProof.verify(merkleProof, merkleRootWhitelist, leaf), "Invalid proof");
require(msg.value == price, "Incorrect payable amount");
require(!_registeredMintWhitelist[sender], "Already registered");
_registeredMintWhitelist[sender] = true;
_registeredAddresses.push(sender);
_registerCount++;
}
function registerReservedWhitelistMint(bytes32[] calldata merkleProof) public payable nonReentrant {
address sender = _msgSender();
bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
require(isReservedWhitelistActive, "Sale is closed");
require(_registerCount < (MAX_SUPPLY - GIVEAWAY_RESERVED), "MAX Supply reached");
require(MerkleProof.verify(merkleProof, merkleRootReservedWhitelist, leaf), "Invalid proof");
require(msg.value == price, "Incorrect payable amount");
require(!_registeredMintReservedWhitelist[sender], "Already registered");
_registeredMintReservedWhitelist[sender] = true;
_registeredAddresses.push(sender);
_registerCount++;
}
function registerPublicMint() public payable nonReentrant {
address sender = _msgSender();
require(isPublicActive, "Sale is closed");
require(_registerCount < (MAX_SUPPLY - GIVEAWAY_RESERVED), "MAX Supply reached");
require(msg.value == price, "Incorrect payable amount");
_registeredAddresses.push(sender);
_registerCount++;
}
function minting(uint256 amount) public onlyOwner {
require(amount + minted + giveawayed <= MAX_SUPPLY, "MAX Supply reached");
for (uint j = 0; j < amount; j++) {
uint256 id = tokenId;
if(_littleExtra[minted + 1]) {
id = tokenId + 1;
}
_internalMint(_registeredAddresses[minted], id);
minted++;
}
}
function giveaway(address[] memory addresses, bool isExtra) public onlyOwner {
require(addresses.length + minted + giveawayed <= MAX_SUPPLY, "MAX Supply reached");
for (uint j = 0; j < addresses.length; j++) {
uint256 id = tokenId;
if(isExtra) {
id = tokenId + 1;
}
_internalMint(addresses[j], id);
giveawayed++;
}
}
function clearArray() public onlyOwner {
delete _registeredAddresses;
}
function cleanWitelistMapping(address add) public onlyOwner {
_registeredMintWhitelist[add] = false;
}
function cleanReservedWitelistMapping(address add) public onlyOwner {
_registeredMintReservedWhitelist[add] = false;
}
function withdraw() public onlyOwner {
payable(owner()).transfer(address(this).balance);
}
// Private
function _internalMint(address to, uint256 token_id) private {
require(minted + giveawayed < MAX_SUPPLY, "Will exceed maximum supply");
_mint(to, token_id, 1, "");
}
}
Address.sol 222 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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);
}
}
}
}
Context.sol 24 lines
// SPDX-License-Identifier: MIT
// 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;
}
}
Strings.sol 67 lines
// SPDX-License-Identifier: MIT
// 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;
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);
}
}
Ownable.sol 76 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @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.
*/
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 {
_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);
}
}
ERC1155.sol 511 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol)
pragma solidity ^0.8.0;
import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of the basic standard multi-token.
* See https://eips.ethereum.org/EIPS/eip-1155
* Originally based on code by Enjin: https://github.com/enjin/erc-1155
*
* _Available since v3.1._
*/
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
using Address for address;
// Mapping from token ID to account balances
mapping(uint256 => mapping(address => uint256)) private _balances;
// Mapping from account to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
// Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
string private _uri;
/**
* @dev See {_setURI}.
*/
constructor(string memory uri_) {
_setURI(uri_);
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC1155).interfaceId ||
interfaceId == type(IERC1155MetadataURI).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC1155MetadataURI-uri}.
*
* This implementation returns the same URI for *all* token types. It relies
* on the token type ID substitution mechanism
* https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
*
* Clients calling this function must replace the `\{id\}` substring with the
* actual token type ID.
*/
function uri(uint256) public view virtual override returns (string memory) {
return _uri;
}
/**
* @dev See {IERC1155-balanceOf}.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
require(account != address(0), "ERC1155: balance query for the zero address");
return _balances[id][account];
}
/**
* @dev See {IERC1155-balanceOfBatch}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
public
view
virtual
override
returns (uint256[] memory)
{
require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");
uint256[] memory batchBalances = new uint256[](accounts.length);
for (uint256 i = 0; i < accounts.length; ++i) {
batchBalances[i] = balanceOf(accounts[i], ids[i]);
}
return batchBalances;
}
/**
* @dev See {IERC1155-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC1155-isApprovedForAll}.
*/
function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
return _operatorApprovals[account][operator];
}
/**
* @dev See {IERC1155-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) public virtual override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: caller is not owner nor approved"
);
_safeTransferFrom(from, to, id, amount, data);
}
/**
* @dev See {IERC1155-safeBatchTransferFrom}.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) public virtual override {
require(
from == _msgSender() || isApprovedForAll(from, _msgSender()),
"ERC1155: transfer caller is not owner nor approved"
);
_safeBatchTransferFrom(from, to, ids, amounts, data);
}
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function _safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: transfer to the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, from, to, ids, amounts, data);
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
unchecked {
_balances[id][from] = fromBalance - amount;
}
_balances[id][to] += amount;
emit TransferSingle(operator, from, to, id, amount);
_afterTokenTransfer(operator, from, to, ids, amounts, data);
_doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function _safeBatchTransferFrom(
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
require(to != address(0), "ERC1155: transfer to the zero address");
address operator = _msgSender();
_beforeTokenTransfer(operator, from, to, ids, amounts, data);
for (uint256 i = 0; i < ids.length; ++i) {
uint256 id = ids[i];
uint256 amount = amounts[i];
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
unchecked {
_balances[id][from] = fromBalance - amount;
}
_balances[id][to] += amount;
}
emit TransferBatch(operator, from, to, ids, amounts);
_afterTokenTransfer(operator, from, to, ids, amounts, data);
_doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
}
/**
* @dev Sets a new URI for all token types, by relying on the token type ID
* substitution mechanism
* https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
*
* By this mechanism, any occurrence of the `\{id\}` substring in either the
* URI or any of the amounts in the JSON file at said URI will be replaced by
* clients with the token type ID.
*
* For example, the `https://token-cdn-domain/\{id\}.json` URI would be
* interpreted by clients as
* `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
* for token type ID 0x4cce0.
*
* See {uri}.
*
* Because these URIs cannot be meaningfully represented by the {URI} event,
* this function emits no events.
*/
function _setURI(string memory newuri) internal virtual {
_uri = newuri;
}
/**
* @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function _mint(
address to,
uint256 id,
uint256 amount,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: mint to the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, address(0), to, ids, amounts, data);
_balances[id][to] += amount;
emit TransferSingle(operator, address(0), to, id, amount);
_afterTokenTransfer(operator, address(0), to, ids, amounts, data);
_doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function _mintBatch(
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {
require(to != address(0), "ERC1155: mint to the zero address");
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
address operator = _msgSender();
_beforeTokenTransfer(operator, address(0), to, ids, amounts, data);
for (uint256 i = 0; i < ids.length; i++) {
_balances[ids[i]][to] += amounts[i];
}
emit TransferBatch(operator, address(0), to, ids, amounts);
_afterTokenTransfer(operator, address(0), to, ids, amounts, data);
_doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
}
/**
* @dev Destroys `amount` tokens of token type `id` from `from`
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `from` must have at least `amount` tokens of token type `id`.
*/
function _burn(
address from,
uint256 id,
uint256 amount
) internal virtual {
require(from != address(0), "ERC1155: burn from the zero address");
address operator = _msgSender();
uint256[] memory ids = _asSingletonArray(id);
uint256[] memory amounts = _asSingletonArray(amount);
_beforeTokenTransfer(operator, from, address(0), ids, amounts, "");
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
unchecked {
_balances[id][from] = fromBalance - amount;
}
emit TransferSingle(operator, from, address(0), id, amount);
_afterTokenTransfer(operator, from, address(0), ids, amounts, "");
}
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
*/
function _burnBatch(
address from,
uint256[] memory ids,
uint256[] memory amounts
) internal virtual {
require(from != address(0), "ERC1155: burn from the zero address");
require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
address operator = _msgSender();
_beforeTokenTransfer(operator, from, address(0), ids, amounts, "");
for (uint256 i = 0; i < ids.length; i++) {
uint256 id = ids[i];
uint256 amount = amounts[i];
uint256 fromBalance = _balances[id][from];
require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
unchecked {
_balances[id][from] = fromBalance - amount;
}
}
emit TransferBatch(operator, from, address(0), ids, amounts);
_afterTokenTransfer(operator, from, address(0), ids, amounts, "");
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC1155: setting approval status for self");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning, as well as batched variants.
*
* The same hook is called on both single and batched variants. For single
* transfers, the length of the `id` and `amount` arrays will be 1.
*
* Calling conditions (for each `id` and `amount` pair):
*
* - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* of token type `id` will be transferred to `to`.
* - When `from` is zero, `amount` tokens of token type `id` will be minted
* for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
* will be burned.
* - `from` and `to` are never both zero.
* - `ids` and `amounts` have the same, non-zero length.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {}
/**
* @dev Hook that is called after any token transfer. This includes minting
* and burning, as well as batched variants.
*
* The same hook is called on both single and batched variants. For single
* transfers, the length of the `id` and `amount` arrays will be 1.
*
* Calling conditions (for each `id` and `amount` pair):
*
* - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* of token type `id` will be transferred to `to`.
* - When `from` is zero, `amount` tokens of token type `id` will be minted
* for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
* will be burned.
* - `from` and `to` are never both zero.
* - `ids` and `amounts` have the same, non-zero length.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) internal virtual {}
function _doSafeTransferAcceptanceCheck(
address operator,
address from,
address to,
uint256 id,
uint256 amount,
bytes memory data
) private {
if (to.isContract()) {
try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
if (response != IERC1155Receiver.onERC1155Received.selector) {
revert("ERC1155: ERC1155Receiver rejected tokens");
}
} catch Error(string memory reason) {
revert(reason);
} catch {
revert("ERC1155: transfer to non ERC1155Receiver implementer");
}
}
}
function _doSafeBatchTransferAcceptanceCheck(
address operator,
address from,
address to,
uint256[] memory ids,
uint256[] memory amounts,
bytes memory data
) private {
if (to.isContract()) {
try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
bytes4 response
) {
if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
revert("ERC1155: ERC1155Receiver rejected tokens");
}
} catch Error(string memory reason) {
revert(reason);
} catch {
revert("ERC1155: transfer to non ERC1155Receiver implementer");
}
}
}
function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
uint256[] memory array = new uint256[](1);
array[0] = element;
return array;
}
}
IERC1155.sol 125 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC1155 compliant contract, as defined in the
* https://eips.ethereum.org/EIPS/eip-1155[EIP].
*
* _Available since v3.1._
*/
interface IERC1155 is IERC165 {
/**
* @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
*/
event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);
/**
* @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
* transfers.
*/
event TransferBatch(
address indexed operator,
address indexed from,
address indexed to,
uint256[] ids,
uint256[] values
);
/**
* @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
* `approved`.
*/
event ApprovalForAll(address indexed account, address indexed operator, bool approved);
/**
* @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
*
* If an {URI} event was emitted for `id`, the standard
* https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
* returned by {IERC1155MetadataURI-uri}.
*/
event URI(string value, uint256 indexed id);
/**
* @dev Returns the amount of tokens of token type `id` owned by `account`.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function balanceOf(address account, uint256 id) external view returns (uint256);
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
*
* Requirements:
*
* - `accounts` and `ids` must have the same length.
*/
function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
external
view
returns (uint256[] memory);
/**
* @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
*
* Emits an {ApprovalForAll} event.
*
* Requirements:
*
* - `operator` cannot be the caller.
*/
function setApprovalForAll(address operator, bool approved) external;
/**
* @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
*
* See {setApprovalForAll}.
*/
function isApprovedForAll(address account, address operator) external view returns (bool);
/**
* @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
*
* Emits a {TransferSingle} event.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
* - `from` must have a balance of tokens of type `id` of at least `amount`.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
* acceptance magic value.
*/
function safeTransferFrom(
address from,
address to,
uint256 id,
uint256 amount,
bytes calldata data
) external;
/**
* @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
*
* Emits a {TransferBatch} event.
*
* Requirements:
*
* - `ids` and `amounts` must have the same length.
* - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
* acceptance magic value.
*/
function safeBatchTransferFrom(
address from,
address to,
uint256[] calldata ids,
uint256[] calldata amounts,
bytes calldata data
) external;
}
ReentrancyGuard.sol 63 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}
ERC165.sol 29 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @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;
}
}
IERC165.sol 25 lines
// SPDX-License-Identifier: MIT
// 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);
}
IERC1155Receiver.sol 58 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev _Available since v3.1._
*/
interface IERC1155Receiver is IERC165 {
/**
* @dev Handles the receipt of a single ERC1155 token type. This function is
* called at the end of a `safeTransferFrom` after the balance has been updated.
*
* NOTE: To accept the transfer, this must return
* `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
* (i.e. 0xf23a6e61, or its own function selector).
*
* @param operator The address which initiated the transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param id The ID of the token being transferred
* @param value The amount of tokens being transferred
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
*/
function onERC1155Received(
address operator,
address from,
uint256 id,
uint256 value,
bytes calldata data
) external returns (bytes4);
/**
* @dev Handles the receipt of a multiple ERC1155 token types. This function
* is called at the end of a `safeBatchTransferFrom` after the balances have
* been updated.
*
* NOTE: To accept the transfer(s), this must return
* `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
* (i.e. 0xbc197c81, or its own function selector).
*
* @param operator The address which initiated the batch transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param ids An array containing ids of each token being transferred (order and length must match values array)
* @param values An array containing amounts of each token being transferred (order and length must match ids array)
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
*/
function onERC1155BatchReceived(
address operator,
address from,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external returns (bytes4);
}
MerkleProof.sol 65 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
*/
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 Merkle 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)
}
}
}
IERC1155MetadataURI.sol 22 lines
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)
pragma solidity ^0.8.0;
import "../IERC1155.sol";
/**
* @dev Interface of the optional ERC1155MetadataExtension interface, as defined
* in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
*
* _Available since v3.1._
*/
interface IERC1155MetadataURI is IERC1155 {
/**
* @dev Returns the URI for token type `id`.
*
* If the `\{id\}` substring is present in the URI, it must be replaced by
* clients with the actual token type ID.
*/
function uri(uint256 id) external view returns (string memory);
}
Read Contract
GIVEAWAY_RESERVED 0xd38e1e81 → uint256
MAX_SUPPLY 0x32cb6b0c → uint256
_registerCount 0x5918df50 → uint256
_registeredAddresses 0x731c888c → address
_registeredMintReservedWhitelist 0xbcd22cc9 → bool
_registeredMintWhitelist 0xc4ebaede → bool
alreadyRegistered 0x56e49d61 → bool
balanceOf 0x00fdd58e → uint256
balanceOfBatch 0x4e1273f4 → uint256[]
baseURI 0x6c0360eb → string
giveawayed 0x019f11d3 → uint256
isApprovedForAll 0xe985e9c5 → bool
isPublicActive 0xa3330d25 → bool
isReservedWhitelistActive 0x5fd20db4 → bool
isWhitelistActive 0x524513d6 → bool
merkleRootReservedWhitelist 0xebb5c732 → bytes32
merkleRootWhitelist 0x8e1f9cfe → bytes32
minted 0x4f02c420 → uint256
owner 0x8da5cb5b → address
price 0xa035b1fe → uint256
supportsInterface 0x01ffc9a7 → bool
tokenId 0x17d70f7c → uint256
totalSupply 0x18160ddd → uint256
uri 0x0e89341c → string
Write Contract 25 functions
These functions modify contract state and require a wallet transaction to execute.
cleanReservedWitelistMapping 0x9a266209
address add
cleanWitelistMapping 0x69538b83
address add
clearArray 0xe80b7ab6
No parameters
giveaway 0x6646f34a
address[] addresses
bool isExtra
minting 0xf2cee92b
uint256 amount
registerPublicMint 0xccf67239
No parameters
registerReservedWhitelistMint 0x62557c9b
bytes32[] merkleProof
registerWhitelistMint 0xae7167c5
bytes32[] merkleProof
renounceOwnership 0x715018a6
No parameters
safeBatchTransferFrom 0x2eb2c2d6
address from
address to
uint256[] ids
uint256[] amounts
bytes data
safeTransferFrom 0xf242432a
address from
address to
uint256 id
uint256 amount
bytes data
setApprovalForAll 0xa22cb465
address operator
bool approved
setBonus 0x0b98f975
uint256 new_bonus
setGIVEAWAY_RESERVED 0xfb2956aa
uint256 new_amount
setMAX_SUPPLY 0xec9496ba
uint256 new_supply
setPrice 0x91b7f5ed
uint256 new_price
setPublicActive 0x8aca408c
bool _isActive
setReservedWhitelistActive 0x61de81fd
bool _isActive
setReservedWhitelistMerkleProof 0x210ac6f5
bytes32 _merkleRoot
setTokenId 0xc929ccf3
uint256 id
setURI 0x02fe5305
string new_uri
setWhitelistActive 0xc3b754dc
bool _isActive
setWhitelistMerkleProof 0xe48b8286
bytes32 _merkleRoot
transferOwnership 0xf2fde38b
address newOwner
withdraw 0x3ccfd60b
No parameters
Recent Transactions
No transactions found for this address