Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xA83ADe301417B038852D1b15C1BE7697f06B908f
Balance 0 ETH
Nonce 1
Code Size 11601 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

11601 bytes
0x60806040526004361061024c575f3560e01c806370a0823111610134578063a8aa1b31116100b3578063dd62ed3e11610078578063dd62ed3e1461071a578063ea13c9ab1461075e578063ef98589414610773578063f0f4426014610792578063f2fde38b146107b1578063ffa1ad74146107d0575f5ffd5b8063a8aa1b3114610675578063a9059cbb146106a8578063bd4d935d146106c7578063d505accf146106e6578063d8454a8214610705575f5ffd5b806384b0196e116100f957806384b0196e146105e05780638a8c523c146106075780638da5cb5b1461061b57806395d89b4114610638578063a25ba1831461064c575f5ffd5b806370a082311461055057806370fa0ab814610584578063715018a6146105985780637a47c3ca146105ac5780637ecebe00146105c1575f5ffd5b8063313ce567116101cb5780634fbee193116101905780634fbee19314610460578063533ab3081461048e57806356b09616146104ad578063590ffdce146104cc57806361d027b3146104eb5780636dd3d39f14610522575f5ffd5b8063313ce567146103ca57806332cb6b0c146103e55780633644e51514610418578063412201041461042c57806348cd4cb11461044b575f5ffd5b806310c2e3f41161021157806310c2e3f41461032a57806318160ddd1461033e57806321b0248614610352578063235911701461037d57806323b872dd146103ab575f5ffd5b8063018bcf5c1461025757806306fdde0314610278578063095ea7b3146102a25780630c18d4ce146102d15780630fe3fe7d146102f4575f5ffd5b3661025357005b5f5ffd5b348015610262575f5ffd5b506102766102713660046127e1565b610800565b005b348015610283575f5ffd5b5061028c610963565b604051610299919061282f565b60405180910390f35b3480156102ad575f5ffd5b506102c16102bc366004612841565b6109f3565b6040519015158152602001610299565b3480156102dc575f5ffd5b506102e6600c5481565b604051908152602001610299565b3480156102ff575f5ffd5b506102e661030e366004612841565b601460209081525f928352604080842090915290825290205481565b348015610335575f5ffd5b506102e6610a0c565b348015610349575f5ffd5b506002546102e6565b34801561035d575f5ffd5b506102e661036c366004612869565b60166020525f908152604090205481565b348015610388575f5ffd5b506102c1610397366004612869565b600f6020525f908152604090205460ff1681565b3480156103b6575f5ffd5b506102c16103c5366004612880565b610bb3565b3480156103d5575f5ffd5b5060405160128152602001610299565b3480156103f0575f5ffd5b506102e67f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000081565b348015610423575f5ffd5b506102e6610bd6565b348015610437575f5ffd5b506102766104463660046128c7565b610be4565b348015610456575f5ffd5b506102e6600b5481565b34801561046b575f5ffd5b506102c161047a3660046127e1565b60126020525f908152604090205460ff1681565b348015610499575f5ffd5b506102c16104a83660046127e1565b610c16565b3480156104b8575f5ffd5b506102766104c73660046127e1565b610c69565b3480156104d7575f5ffd5b506102766104e63660046128c7565b610da3565b3480156104f6575f5ffd5b50600a5461050a906001600160a01b031681565b6040516001600160a01b039091168152602001610299565b34801561052d575f5ffd5b506102c161053c3660046127e1565b60136020525f908152604090205460ff1681565b34801561055b575f5ffd5b506102e661056a3660046127e1565b6001600160a01b03165f9081526020819052604090205490565b34801561058f575f5ffd5b506102c1610dd5565b3480156105a3575f5ffd5b50610276610dfa565b3480156105b7575f5ffd5b506102e6600e5481565b3480156105cc575f5ffd5b506102e66105db3660046127e1565b610e0d565b3480156105eb575f5ffd5b506105f4610e2a565b60405161029997969594939291906128fc565b348015610612575f5ffd5b50610276610e6c565b348015610626575f5ffd5b506008546001600160a01b031661050a565b348015610643575f5ffd5b5061028c610f11565b348015610657575f5ffd5b50610660610f20565b60408051928352602083019190915201610299565b348015610680575f5ffd5b5061050a7f0000000000000000000000000c73b467817ae1f162a1e767116a2a5c5d21d72681565b3480156106b3575f5ffd5b506102c16106c2366004612841565b610f32565b3480156106d2575f5ffd5b506102766106e1366004612992565b610f3f565b3480156106f1575f5ffd5b506102766107003660046129c2565b611140565b348015610710575f5ffd5b506102e660105481565b348015610725575f5ffd5b506102e6610734366004612a2f565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610769575f5ffd5b506102e660115481565b34801561077e575f5ffd5b5061027661078d366004612869565b611276565b34801561079d575f5ffd5b506102766107ac3660046127e1565b61141a565b3480156107bc575f5ffd5b506102766107cb3660046127e1565b611529565b3480156107db575f5ffd5b5061028c604051806040016040528060058152602001640312e302e360dc1b81525081565b610808611566565b306001600160a01b038216036108655760405162461bcd60e51b815260206004820152601860248201527f43616e6e6f74207265636f766572206f776e20746f6b656e000000000000000060448201526064015b60405180910390fd5b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156108a9573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108cd9190612a60565b9050816001600160a01b031663a9059cbb6108f06008546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af115801561093a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095e9190612a77565b505050565b60606003805461097290612a92565b80601f016020809104026020016040519081016040528092919081815260200182805461099e90612a92565b80156109e95780601f106109c0576101008083540402835291602001916109e9565b820191905f5260205f20905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b5f33610a00818585611593565b60019150505b92915050565b5f600c545f03610a1b57505f90565b5f600c5442610a2a9190612ade565b90506104b08110610a3c575f91505090565b60408051600780825261010082019092525f916020820160e0803683370190505090506078815f81518110610a7357610a73612b05565b60200260200101818152505060f081600181518110610a9457610a94612b05565b60200260200101818152505061016881600281518110610ab657610ab6612b05565b6020026020010181815250506101e081600381518110610ad857610ad8612b05565b6020026020010181815250506102d081600481518110610afa57610afa612b05565b6020026020010181815250506103c081600581518110610b1c57610b1c612b05565b6020026020010181815250506104b081600681518110610b3e57610b3e612b05565b60209081029190910101525f5b8151811015610baa57818181518110610b6657610b66612b05565b6020026020010151831015610ba25782828281518110610b8857610b88612b05565b6020026020010151610b9a9190612ade565b935050505090565b600101610b4b565b505f9250505090565b5f33610bc08582856115a0565b610bcb85858561161c565b506001949350505050565b5f610bdf611679565b905090565b610bec611566565b6001600160a01b03919091165f908152601360205260409020805460ff1916911515919091179055565b5f6001600160a01b0382163b15610c2f57506001919050565b6001600160a01b0382165f90815260146020908152604080832043845290915290205460021015610c6257506001919050565b505f919050565b336001600160a01b037f000000000000000000000000d6333d8d4eb57e78a86ef3e7958ddf71ac762f221614610cb15760405162461bcd60e51b815260040161085c90612b19565b6001600160a01b038116610d075760405162461bcd60e51b815260206004820152601f60248201527f54726561737572792063616e6e6f74206265207a65726f206164647265737300604482015260640161085c565b600a80546001600160a01b038381166001600160a01b031983168117909355165f818152601260208181526040808420805460ff19908116909155601380845282862080548316905587865293835281852080548216600190811790915593909252808420805490921690921790555191929183917f4ab5be82436d353e61ca18726e984e561f5c1cc7c6d38b29d2553c790434705a91a35050565b610dab611566565b6001600160a01b03919091165f908152601260205260409020805460ff1916911515919091179055565b5f600c545f03610de457505f90565b600c54610df3906104b0612b40565b4210905090565b610e02611566565b610e0b5f6117a2565b565b6001600160a01b0381165f90815260076020526040812054610a06565b5f6060805f5f5f6060610e3b6117f3565b610e43611820565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b610e74611566565b600b5415610ec45760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c6564000000000000000000604482015260640161085c565b43600b81905542600c8190556040517f7920707bc1e04048b254e37287ad152443d9f95ea809f714fbee15fd3cc966d092610f0792908252602082015260400190565b60405180910390a1565b60606004805461097290612a92565b5f5f610f2a61184d565b915091509091565b5f33610a0081858561161c565b610f47611a91565b336001600160a01b037f000000000000000000000000d6333d8d4eb57e78a86ef3e7958ddf71ac762f221614610f8f5760405162461bcd60e51b815260040161085c90612b19565b6001600160a01b038316610fd75760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161085c565b811561104957305f908152602081905260409020548083111561103c5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e7420746f6b656e2062616c616e6365000000000000604482015260640161085c565b61104730858561161c565b505b8015611136574781111561109f5760405162461bcd60e51b815260206004820152601860248201527f496e73756666696369656e74204554482062616c616e63650000000000000000604482015260640161085c565b5f836001600160a01b0316826040515f6040518083038185875af1925050503d805f81146110e8576040519150601f19603f3d011682016040523d82523d5f602084013e6110ed565b606091505b50509050806111345760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b604482015260640161085c565b505b61095e6001600955565b834211156111645760405163313c898160e11b81526004810185905260240161085c565b5f7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886111af8c6001600160a01b03165f90815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090505f61120982611aea565b90505f61121882878787611b16565b9050896001600160a01b0316816001600160a01b03161461125f576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161085c565b61126a8a8a8a611593565b50505050505050505050565b336001600160a01b037f000000000000000000000000d6333d8d4eb57e78a86ef3e7958ddf71ac762f2216146112be5760405162461bcd60e51b815260040161085c90612b19565b6127108111156113095760405162461bcd60e51b81526020600482015260166024820152754665652063616e6e6f7420657863656564203130302560501b604482015260640161085c565b5f61131261184d565b5090505f19600e541461136f57600e54821061136a5760405162461bcd60e51b815260206004820152601760248201527615185e0818d85b881bdb9b1e481899481c99591d58d959604a1b604482015260640161085c565b6113b8565b8082106113b85760405162461bcd60e51b815260206004820152601760248201527615185e0818d85b881bdb9b1e481899481c99591d58d959604a1b604482015260640161085c565b5f5f19600e54146113cb57600e546113cd565b815b600e8490556040805182815260208101869052428183015290519192507fbacf8039bc275a7dac5b30d5c05d8d2c638625733094ef23e41ca4afb90c5ad1919081900360600190a1505050565b6001600160a01b0381166114605760405162461bcd60e51b815260206004820152600d60248201526c05472656173757279206973203609c1b604482015260640161085c565b336001600160a01b037f000000000000000000000000d6333d8d4eb57e78a86ef3e7958ddf71ac762f2216146114a85760405162461bcd60e51b815260040161085c90612b19565b600a80546001600160a01b038381166001600160a01b0319831681179093555f838152601260209081526040808320805460ff19908116600190811790925560139093528184208054909316179091555191909216929183917f4ab5be82436d353e61ca18726e984e561f5c1cc7c6d38b29d2553c790434705a9190a35050565b611531611566565b6001600160a01b03811661155a57604051631e4fbdf760e01b81525f600482015260240161085c565b611563816117a2565b50565b6008546001600160a01b03163314610e0b5760405163118cdaa760e01b815233600482015260240161085c565b61095e8383836001611b42565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015611616578181101561160857604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161085c565b61161684848484035f611b42565b50505050565b6001600160a01b03831661164557604051634b637e8f60e11b81525f600482015260240161085c565b6001600160a01b03821661166e5760405163ec442f0560e01b81525f600482015260240161085c565b61095e838383611c14565b5f306001600160a01b037f000000000000000000000000a83ade301417b038852d1b15c1be7697f06b908f161480156116d157507f000000000000000000000000000000000000000000000000000000000000000146145b156116fb57507f81f76170fd7a6403cc71ff7062fc8244dee854f3b1993ddb0b79ef5511dffa1890565b610bdf604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f63ce367c0674081efe6d8eb01c6a52707678fc7c8229b946119d9bea92d400a5918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6060610bdf7f44656d6f4d4452000000000000000000000000000000000000000000000000076005612062565b6060610bdf7f31000000000000000000000000000000000000000000000000000000000000016006612062565b5f5f600c545f0361186057505f91829150565b5f19600e5414611894575050600e54907f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000090565b5f600c54426118a39190612ade565b90506104b0811015611a655760788110156118fc57610bb892506127106118eb7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000006005612b53565b6118f59190612b6a565b9150509091565b60f0811015611938576109c492506127106118eb7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000006005612b53565b610168811015611973576107d092506118f56103e87f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000612b6a565b6101e08110156119b0576105dc92506127106118eb7f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000600f612b53565b6102d08110156119eb576104b092506118f56101f47f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000612b6a565b6103c0811015611a285761038492506127106118eb7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000006019612b53565b6104b0811015611a655761025892506127106118eb7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000006019612b53565b50610190927f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000092509050565b600260095403611ae35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161085c565b6002600955565b5f610a06611af6611679565b8360405161190160f01b8152600281019290925260228201526042902090565b5f5f5f5f611b268888888861210b565b925092509250611b3682826121d3565b50909695505050505050565b6001600160a01b038416611b6b5760405163e602df0560e01b81525f600482015260240161085c565b6001600160a01b038316611b9457604051634a1406b160e11b81525f600482015260240161085c565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561161657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611c0691815260200190565b60405180910390a350505050565b600d54610100900460ff1615611c2f5761095e83838361228f565b5f5f611c3961184d565b90925090506001600160a01b038581167f0000000000000000000000000c73b467817ae1f162a1e767116a2a5c5d21d7268216908114918616148180611c7c5750805b15611fb5575f600b541180611ca857506001600160a01b0386165f9081526012602052604090205460ff165b611cea5760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b604482015260640161085c565b8315611f8357818015611d1557506001600160a01b0386165f9081526012602052604090205460ff16155b15611f02575f600c54118015611d38575060b4600c5442611d369190612ade565b105b15611eb957601554325f90815260146020908152604080832043845290915290205410611db95760405162461bcd60e51b815260206004820152602960248201527f4d617820627579207478732070657220626c6f636b20706572206f726967696e60448201526808195e18d95959195960ba1b606482015260840161085c565b325f9081526014602090815260408083204384529091528120805491611dde83612b89565b9091555050601754435f9081526016602052604090205410611e425760405162461bcd60e51b815260206004820152601e60248201527f4d617820627579207478732070657220626c6f636b2065786365656465640000604482015260640161085c565b435f908152601660205260408120805491611e5c83612b89565b9091555050325f90815260146020908152604080832043845290915290205460051015611eb95760405143815232907f99c293efe82a3ef3312126ae84d020090de7008c510cb704c963ac1c3c04e2159060200160405180910390a25b5f612710611ec78688612b53565b611ed19190612b6a565b9050611edd8187612ade565b9550611eea88308361228f565b8060105f828254611efb9190612b40565b9091555050505b808015611f2757506001600160a01b0387165f9081526012602052604090205460ff16155b15611f7e575f612710611f3a8688612b53565b611f449190612b6a565b9050611f508187612ade565b9550611f5d88308361228f565b8060105f828254611f6e9190612b40565b90915550611f7c90506123b5565b505b611fb5565b808015611fa857506001600160a01b0387165f9081526012602052604090205460ff16155b15611fb557611fb56123b5565b6001600160a01b0386165f9081526013602052604090205460ff1680612002575082611ff5876001600160a01b03165f9081526020819052604090205490565b611fff9087612b40565b11155b61204e5760405162461bcd60e51b815260206004820152601860248201527f4d61782077616c6c65742073697a652065786365656465640000000000000000604482015260640161085c565b61205987878761228f565b50505050505050565b606060ff831461207c5761207583612762565b9050610a06565b81805461208890612a92565b80601f01602080910402602001604051908101604052809291908181526020018280546120b490612a92565b80156120ff5780601f106120d6576101008083540402835291602001916120ff565b820191905f5260205f20905b8154815290600101906020018083116120e257829003601f168201915b50505050509050610a06565b5f80807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561214457505f915060039050826121c9565b604080515f808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015612195573d5f5f3e3d5ffd5b5050604051601f1901519150506001600160a01b0381166121c057505f9250600191508290506121c9565b92505f91508190505b9450945094915050565b5f8260038111156121e6576121e6612ba1565b036121ef575050565b600182600381111561220357612203612ba1565b036122215760405163f645eedf60e01b815260040160405180910390fd5b600282600381111561223557612235612ba1565b036122565760405163fce698f760e01b81526004810182905260240161085c565b600382600381111561226a5761226a612ba1565b0361228b576040516335e2f38360e21b81526004810182905260240161085c565b5050565b6001600160a01b0383166122b9578060025f8282546122ae9190612b40565b909155506123299050565b6001600160a01b0383165f908152602081905260409020548181101561230b5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161085c565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661234557600280548290039055612363565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516123a891815260200190565b60405180910390a3505050565b6123bd611a91565b5f600c54426123cc9190612ade565b435f908152600f602052604090205490915060ff16156123ec5750612758565b305f908152602081905260408120549081900361240a575050612758565b5f6101e08310156124245750671bc16d674ec80000612448565b6102d083101561243d57506714d1120d7b160000612448565b50670de0b6b3a76400005b6040805160028082526060820183525f926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2815f8151811061249b5761249b612b05565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106124cf576124cf612b05565b6001600160a01b039092166020928302919091019091015260405163d06ca61f60e01b81525f90737a250d5630b4cf539739df2c5dacb4c659f2488d9063d06ca61f906125229086908690600401612bf8565b5f60405180830381865afa92505050801561255e57506040513d5f823e601f3d908101601f1916820160405261255b9190810190612c18565b60015b612569575082612588565b8060018151811061257c5761257c612b05565b60200260200101519150505b80841115612594578093505b5f6125c16127107f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000612b6a565b9050808510156125d657505050505050612758565b30835f815181106125e9576125e9612b05565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28360018151811061263d5761263d612b05565b6001600160a01b03928316602091820292909201810191909152435f908152600f9091526040808220805460ff19166001179055600a54905163791ac94760e01b81529216803192737a250d5630b4cf539739df2c5dacb4c659f2488d9263791ac947926126b4928b92918a914290600401612ce0565b5f604051808303815f87803b1580156126cb575f5ffd5b505af11580156126dd573d5f5f3e3d5ffd5b5050600a54601180546001600160a01b03909216319350899250905f90612705908490612b40565b909155507ff5b1caace4f27dc52b88770c86bd438f840e96d6503b0116e9f183d838320f3e9050876127378484612ade565b6040805192835260208301919091520160405180910390a150505050505050505b610e0b6001600955565b60605f61276e8361279f565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f811115610a0657604051632cd44ac360e21b815260040160405180910390fd5b80356001600160a01b03811681146127dc575f5ffd5b919050565b5f602082840312156127f1575f5ffd5b6127fa826127c6565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f6127fa6020830184612801565b5f5f60408385031215612852575f5ffd5b61285b836127c6565b946020939093013593505050565b5f60208284031215612879575f5ffd5b5035919050565b5f5f5f60608486031215612892575f5ffd5b61289b846127c6565b92506128a9602085016127c6565b929592945050506040919091013590565b8015158114611563575f5ffd5b5f5f604083850312156128d8575f5ffd5b6128e1836127c6565b915060208301356128f1816128ba565b809150509250929050565b60ff60f81b8816815260e060208201525f61291a60e0830189612801565b828103604084015261292c8189612801565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152845180825260208087019350909101905f5b81811015612981578351835260209384019390920191600101612963565b50909b9a5050505050505050505050565b5f5f5f606084860312156129a4575f5ffd5b6129ad846127c6565b95602085013595506040909401359392505050565b5f5f5f5f5f5f5f60e0888a0312156129d8575f5ffd5b6129e1886127c6565b96506129ef602089016127c6565b95506040880135945060608801359350608088013560ff81168114612a12575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f60408385031215612a40575f5ffd5b612a49836127c6565b9150612a57602084016127c6565b90509250929050565b5f60208284031215612a70575f5ffd5b5051919050565b5f60208284031215612a87575f5ffd5b81516127fa816128ba565b600181811c90821680612aa657607f821691505b602082108103612ac457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610a0657610a06612aca565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b6020808252600d908201526c27b7363c903232b83637bcb2b960991b604082015260600190565b80820180821115610a0657610a06612aca565b8082028115828204841417610a0657610a06612aca565b5f82612b8457634e487b7160e01b5f52601260045260245ffd5b500490565b5f60018201612b9a57612b9a612aca565b5060010190565b634e487b7160e01b5f52602160045260245ffd5b5f8151808452602084019350602083015f5b82811015612bee5781516001600160a01b0316865260209586019590910190600101612bc7565b5093949350505050565b828152604060208201525f612c106040830184612bb5565b949350505050565b5f60208284031215612c28575f5ffd5b815167ffffffffffffffff811115612c3e575f5ffd5b8201601f81018413612c4e575f5ffd5b805167ffffffffffffffff811115612c6857612c68612af1565b8060051b604051601f19603f830116810181811067ffffffffffffffff82111715612c9557612c95612af1565b604052918252602081840181019290810187841115612cb2575f5ffd5b6020850194505b83851015612cd557845180825260209586019590935001612cb9565b509695505050505050565b85815284602082015260a060408201525f612cfe60a0830186612bb5565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212208b645f13ae383b94c68c672a6d6857a3c64c0fb9249ce86fd8a8675e0f506c5964736f6c634300081c0033

Verified Source Code Partial Match

Compiler: v0.8.28+commit.7893614a EVM: cancun Optimization: Yes (200 runs)
DemoMDR.sol 4759 lines
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity >=0.6.2;


/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol


// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * Both values are immutable: they can only be set once during construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /// @inheritdoc IERC20
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /// @inheritdoc IERC20
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /// @inheritdoc IERC20
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner`'s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol


// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.20;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS
    }

    /**
     * @dev The signature derives the `address(0)`.
     */
    error ECDSAInvalidSignature();

    /**
     * @dev The signature has an invalid length.
     */
    error ECDSAInvalidSignatureLength(uint256 length);

    /**
     * @dev The signature has an S value that is in the upper half order.
     */
    error ECDSAInvalidSignatureS(bytes32 s);

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not
     * return address(0) without also returning an error description. Errors are documented using an enum (error type)
     * and a bytes32 providing additional information about the error.
     *
     * If no error is returned, then the address can be used for verification purposes.
     *
     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     */
    function tryRecover(
        bytes32 hash,
        bytes memory signature
    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly ("memory-safe") {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {
        unchecked {
            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
            // We do not check for an overflow here since the shift operation results in 0 or 1.
            uint8 v = uint8((uint256(vs) >> 255) + 27);
            return tryRecover(hash, v, r, s);
        }
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS, s);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature, bytes32(0));
        }

        return (signer, RecoverError.NoError, bytes32(0));
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
     */
    function _throwError(RecoverError error, bytes32 errorArg) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert ECDSAInvalidSignature();
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert ECDSAInvalidSignatureLength(uint256(errorArg));
        } else if (error == RecoverError.InvalidSignatureS) {
            revert ECDSAInvalidSignatureS(errorArg);
        }
    }
}

// File: @openzeppelin/contracts/utils/Panic.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)

pragma solidity ^0.8.20;

/**
 * @dev Helper library for emitting standardized panic codes.
 *
 * ```solidity
 * contract Example {
 *      using Panic for uint256;
 *
 *      // Use any of the declared internal constants
 *      function foo() { Panic.GENERIC.panic(); }
 *
 *      // Alternatively
 *      function foo() { Panic.panic(Panic.GENERIC); }
 * }
 * ```
 *
 * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].
 *
 * _Available since v5.1._
 */
// slither-disable-next-line unused-state
library Panic {
    /// @dev generic / unspecified error
    uint256 internal constant GENERIC = 0x00;
    /// @dev used by the assert() builtin
    uint256 internal constant ASSERT = 0x01;
    /// @dev arithmetic underflow or overflow
    uint256 internal constant UNDER_OVERFLOW = 0x11;
    /// @dev division or modulo by zero
    uint256 internal constant DIVISION_BY_ZERO = 0x12;
    /// @dev enum conversion error
    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;
    /// @dev invalid encoding in storage
    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;
    /// @dev empty array pop
    uint256 internal constant EMPTY_ARRAY_POP = 0x31;
    /// @dev array out of bounds access
    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;
    /// @dev resource error (too large allocation or too large array)
    uint256 internal constant RESOURCE_ERROR = 0x41;
    /// @dev calling invalid internal function
    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;

    /// @dev Reverts with a panic code. Recommended to use with
    /// the internal constants with predefined codes.
    function panic(uint256 code) internal pure {
        assembly ("memory-safe") {
            mstore(0x00, 0x4e487b71)
            mstore(0x20, code)
            revert(0x1c, 0x24)
        }
    }
}

// File: @openzeppelin/contracts/utils/math/SafeCast.sol


// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)
// This file was procedurally generated from scripts/generate/templates/SafeCast.js.

pragma solidity ^0.8.20;

/**
 * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeCast {
    /**
     * @dev Value doesn't fit in an uint of `bits` size.
     */
    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);

    /**
     * @dev An int value doesn't fit in an uint of `bits` size.
     */
    error SafeCastOverflowedIntToUint(int256 value);

    /**
     * @dev Value doesn't fit in an int of `bits` size.
     */
    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);

    /**
     * @dev An uint value doesn't fit in an int of `bits` size.
     */
    error SafeCastOverflowedUintToInt(uint256 value);

    /**
     * @dev Returns the downcasted uint248 from uint256, reverting on
     * overflow (when the input is greater than largest uint248).
     *
     * Counterpart to Solidity's `uint248` operator.
     *
     * Requirements:
     *
     * - input must fit into 248 bits
     */
    function toUint248(uint256 value) internal pure returns (uint248) {
        if (value > type(uint248).max) {
            revert SafeCastOverflowedUintDowncast(248, value);
        }
        return uint248(value);
    }

    /**
     * @dev Returns the downcasted uint240 from uint256, reverting on
     * overflow (when the input is greater than largest uint240).
     *
     * Counterpart to Solidity's `uint240` operator.
     *
     * Requirements:
     *
     * - input must fit into 240 bits
     */
    function toUint240(uint256 value) internal pure returns (uint240) {
        if (value > type(uint240).max) {
            revert SafeCastOverflowedUintDowncast(240, value);
        }
        return uint240(value);
    }

    /**
     * @dev Returns the downcasted uint232 from uint256, reverting on
     * overflow (when the input is greater than largest uint232).
     *
     * Counterpart to Solidity's `uint232` operator.
     *
     * Requirements:
     *
     * - input must fit into 232 bits
     */
    function toUint232(uint256 value) internal pure returns (uint232) {
        if (value > type(uint232).max) {
            revert SafeCastOverflowedUintDowncast(232, value);
        }
        return uint232(value);
    }

    /**
     * @dev Returns the downcasted uint224 from uint256, reverting on
     * overflow (when the input is greater than largest uint224).
     *
     * Counterpart to Solidity's `uint224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     */
    function toUint224(uint256 value) internal pure returns (uint224) {
        if (value > type(uint224).max) {
            revert SafeCastOverflowedUintDowncast(224, value);
        }
        return uint224(value);
    }

    /**
     * @dev Returns the downcasted uint216 from uint256, reverting on
     * overflow (when the input is greater than largest uint216).
     *
     * Counterpart to Solidity's `uint216` operator.
     *
     * Requirements:
     *
     * - input must fit into 216 bits
     */
    function toUint216(uint256 value) internal pure returns (uint216) {
        if (value > type(uint216).max) {
            revert SafeCastOverflowedUintDowncast(216, value);
        }
        return uint216(value);
    }

    /**
     * @dev Returns the downcasted uint208 from uint256, reverting on
     * overflow (when the input is greater than largest uint208).
     *
     * Counterpart to Solidity's `uint208` operator.
     *
     * Requirements:
     *
     * - input must fit into 208 bits
     */
    function toUint208(uint256 value) internal pure returns (uint208) {
        if (value > type(uint208).max) {
            revert SafeCastOverflowedUintDowncast(208, value);
        }
        return uint208(value);
    }

    /**
     * @dev Returns the downcasted uint200 from uint256, reverting on
     * overflow (when the input is greater than largest uint200).
     *
     * Counterpart to Solidity's `uint200` operator.
     *
     * Requirements:
     *
     * - input must fit into 200 bits
     */
    function toUint200(uint256 value) internal pure returns (uint200) {
        if (value > type(uint200).max) {
            revert SafeCastOverflowedUintDowncast(200, value);
        }
        return uint200(value);
    }

    /**
     * @dev Returns the downcasted uint192 from uint256, reverting on
     * overflow (when the input is greater than largest uint192).
     *
     * Counterpart to Solidity's `uint192` operator.
     *
     * Requirements:
     *
     * - input must fit into 192 bits
     */
    function toUint192(uint256 value) internal pure returns (uint192) {
        if (value > type(uint192).max) {
            revert SafeCastOverflowedUintDowncast(192, value);
        }
        return uint192(value);
    }

    /**
     * @dev Returns the downcasted uint184 from uint256, reverting on
     * overflow (when the input is greater than largest uint184).
     *
     * Counterpart to Solidity's `uint184` operator.
     *
     * Requirements:
     *
     * - input must fit into 184 bits
     */
    function toUint184(uint256 value) internal pure returns (uint184) {
        if (value > type(uint184).max) {
            revert SafeCastOverflowedUintDowncast(184, value);
        }
        return uint184(value);
    }

    /**
     * @dev Returns the downcasted uint176 from uint256, reverting on
     * overflow (when the input is greater than largest uint176).
     *
     * Counterpart to Solidity's `uint176` operator.
     *
     * Requirements:
     *
     * - input must fit into 176 bits
     */
    function toUint176(uint256 value) internal pure returns (uint176) {
        if (value > type(uint176).max) {
            revert SafeCastOverflowedUintDowncast(176, value);
        }
        return uint176(value);
    }

    /**
     * @dev Returns the downcasted uint168 from uint256, reverting on
     * overflow (when the input is greater than largest uint168).
     *
     * Counterpart to Solidity's `uint168` operator.
     *
     * Requirements:
     *
     * - input must fit into 168 bits
     */
    function toUint168(uint256 value) internal pure returns (uint168) {
        if (value > type(uint168).max) {
            revert SafeCastOverflowedUintDowncast(168, value);
        }
        return uint168(value);
    }

    /**
     * @dev Returns the downcasted uint160 from uint256, reverting on
     * overflow (when the input is greater than largest uint160).
     *
     * Counterpart to Solidity's `uint160` operator.
     *
     * Requirements:
     *
     * - input must fit into 160 bits
     */
    function toUint160(uint256 value) internal pure returns (uint160) {
        if (value > type(uint160).max) {
            revert SafeCastOverflowedUintDowncast(160, value);
        }
        return uint160(value);
    }

    /**
     * @dev Returns the downcasted uint152 from uint256, reverting on
     * overflow (when the input is greater than largest uint152).
     *
     * Counterpart to Solidity's `uint152` operator.
     *
     * Requirements:
     *
     * - input must fit into 152 bits
     */
    function toUint152(uint256 value) internal pure returns (uint152) {
        if (value > type(uint152).max) {
            revert SafeCastOverflowedUintDowncast(152, value);
        }
        return uint152(value);
    }

    /**
     * @dev Returns the downcasted uint144 from uint256, reverting on
     * overflow (when the input is greater than largest uint144).
     *
     * Counterpart to Solidity's `uint144` operator.
     *
     * Requirements:
     *
     * - input must fit into 144 bits
     */
    function toUint144(uint256 value) internal pure returns (uint144) {
        if (value > type(uint144).max) {
            revert SafeCastOverflowedUintDowncast(144, value);
        }
        return uint144(value);
    }

    /**
     * @dev Returns the downcasted uint136 from uint256, reverting on
     * overflow (when the input is greater than largest uint136).
     *
     * Counterpart to Solidity's `uint136` operator.
     *
     * Requirements:
     *
     * - input must fit into 136 bits
     */
    function toUint136(uint256 value) internal pure returns (uint136) {
        if (value > type(uint136).max) {
            revert SafeCastOverflowedUintDowncast(136, value);
        }
        return uint136(value);
    }

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        if (value > type(uint128).max) {
            revert SafeCastOverflowedUintDowncast(128, value);
        }
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint120 from uint256, reverting on
     * overflow (when the input is greater than largest uint120).
     *
     * Counterpart to Solidity's `uint120` operator.
     *
     * Requirements:
     *
     * - input must fit into 120 bits
     */
    function toUint120(uint256 value) internal pure returns (uint120) {
        if (value > type(uint120).max) {
            revert SafeCastOverflowedUintDowncast(120, value);
        }
        return uint120(value);
    }

    /**
     * @dev Returns the downcasted uint112 from uint256, reverting on
     * overflow (when the input is greater than largest uint112).
     *
     * Counterpart to Solidity's `uint112` operator.
     *
     * Requirements:
     *
     * - input must fit into 112 bits
     */
    function toUint112(uint256 value) internal pure returns (uint112) {
        if (value > type(uint112).max) {
            revert SafeCastOverflowedUintDowncast(112, value);
        }
        return uint112(value);
    }

    /**
     * @dev Returns the downcasted uint104 from uint256, reverting on
     * overflow (when the input is greater than largest uint104).
     *
     * Counterpart to Solidity's `uint104` operator.
     *
     * Requirements:
     *
     * - input must fit into 104 bits
     */
    function toUint104(uint256 value) internal pure returns (uint104) {
        if (value > type(uint104).max) {
            revert SafeCastOverflowedUintDowncast(104, value);
        }
        return uint104(value);
    }

    /**
     * @dev Returns the downcasted uint96 from uint256, reverting on
     * overflow (when the input is greater than largest uint96).
     *
     * Counterpart to Solidity's `uint96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     */
    function toUint96(uint256 value) internal pure returns (uint96) {
        if (value > type(uint96).max) {
            revert SafeCastOverflowedUintDowncast(96, value);
        }
        return uint96(value);
    }

    /**
     * @dev Returns the downcasted uint88 from uint256, reverting on
     * overflow (when the input is greater than largest uint88).
     *
     * Counterpart to Solidity's `uint88` operator.
     *
     * Requirements:
     *
     * - input must fit into 88 bits
     */
    function toUint88(uint256 value) internal pure returns (uint88) {
        if (value > type(uint88).max) {
            revert SafeCastOverflowedUintDowncast(88, value);
        }
        return uint88(value);
    }

    /**
     * @dev Returns the downcasted uint80 from uint256, reverting on
     * overflow (when the input is greater than largest uint80).
     *
     * Counterpart to Solidity's `uint80` operator.
     *
     * Requirements:
     *
     * - input must fit into 80 bits
     */
    function toUint80(uint256 value) internal pure returns (uint80) {
        if (value > type(uint80).max) {
            revert SafeCastOverflowedUintDowncast(80, value);
        }
        return uint80(value);
    }

    /**
     * @dev Returns the downcasted uint72 from uint256, reverting on
     * overflow (when the input is greater than largest uint72).
     *
     * Counterpart to Solidity's `uint72` operator.
     *
     * Requirements:
     *
     * - input must fit into 72 bits
     */
    function toUint72(uint256 value) internal pure returns (uint72) {
        if (value > type(uint72).max) {
            revert SafeCastOverflowedUintDowncast(72, value);
        }
        return uint72(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Re...

// [truncated — 175155 bytes total]

Read Contract

DOMAIN_SEPARATOR 0x3644e515 → bytes32
MAX_SUPPLY 0x32cb6b0c → uint256
VERSION 0xffa1ad74 → string
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
eip712Domain 0x84b0196e → bytes1, string, string, uint256, address, bytes32, uint256[]
feesAndMaxWallet 0xa25ba183 → uint256, uint256
hasSwappedInBlock 0x23591170 → bool
isExcludedFromFees 0x4fbee193 → bool
isExcludedFromMaxWallet 0x6dd3d39f → bool
isLaunchPhase 0x70fa0ab8 → bool
isSus 0x533ab308 → bool
manualFeeBps 0x7a47c3ca → uint256
maxBuyTxsPerBlock 0x21b02486 → uint256
maxBuyTxsPerBlockPerOrigin 0x0fe3fe7d → uint256
name 0x06fdde03 → string
nonces 0x7ecebe00 → uint256
owner 0x8da5cb5b → address
pair 0xa8aa1b31 → address
startBlock 0x48cd4cb1 → uint256
startBlockTime 0x0c18d4ce → uint256
symbol 0x95d89b41 → string
timeUntilNextPhase 0x10c2e3f4 → uint256
totalSupply 0x18160ddd → uint256
totalTaxCollected 0xd8454a82 → uint256
totalTaxSwapped 0xea13c9ab → uint256
treasury 0x61d027b3 → address

Write Contract 14 functions

These functions modify contract state and require a wallet transaction to execute.

approve 0x095ea7b3
address spender
uint256 value
returns: bool
enableTrading 0x8a8c523c
No parameters
manualSend 0xbd4d935d
address to
uint256 tokenAmount
uint256 ethAmount
permit 0xd505accf
address owner
address spender
uint256 value
uint256 deadline
uint8 v
bytes32 r
bytes32 s
recoverWrongToken 0x018bcf5c
address token
reduceTax 0xef985894
uint256 newFeeBps
renounceOwnership 0x715018a6
No parameters
setExcludedFromFees 0x590ffdce
address account
bool excluded
setExcludedFromMaxWallet 0x41220104
address account
bool excluded
setTreasury 0xf0f44260
address newTreasury
transfer 0xa9059cbb
address to
uint256 value
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 value
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateTaxReceiver 0x56b09616
address newTreasury

Recent Transactions

No transactions found for this address