Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xa5b9305797768dF2e8D3Ae3B7ac670144643EfCa
Balance 0 ETH
Nonce 1
Code Size 11282 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

11282 bytes
0x608060405260043610610184575f3560e01c80636d65adb0116100d057806395d89b4111610089578063be23553e11610063578063be23553e14610541578063bf474bed14610569578063dd62ed3e14610593578063f2fde38b146105cf5761018b565b806395d89b41146104b3578063983e9158146104dd578063a9059cbb146105055761018b565b80636d65adb0146103a957806370a08231146103d1578063715018a61461040d578063768dc710146104235780637a42caa71461045f5780638da5cb5b146104895761018b565b806318160ddd1161013d578063313ce56711610117578063313ce56714610315578063469132ce1461033f57806351bc3c851461036957806357ec25621461037f5761018b565b806318160ddd146102995780631b86658c146102c357806323b872dd146102d95761018b565b8063034832bd1461018f57806304f41d73146101b757806306fdde03146101e1578063095ea7b31461020b5780630c176be914610247578063131e00b7146102715761018b565b3661018b57005b5f80fd5b34801561019a575f80fd5b506101b560048036038101906101b09190611cc5565b6105f7565b005b3480156101c2575f80fd5b506101cb61064b565b6040516101d89190611d0a565b60405180910390f35b3480156101ec575f80fd5b506101f561065e565b6040516102029190611d93565b60405180910390f35b348015610216575f80fd5b50610231600480360381019061022c9190611e0d565b61069b565b60405161023e9190611d0a565b60405180910390f35b348015610252575f80fd5b5061025b6106b8565b6040516102689190611e6b565b60405180910390f35b34801561027c575f80fd5b5061029760048036038101906102929190611e84565b6106dd565b005b3480156102a4575f80fd5b506102ad61073d565b6040516102ba9190611ebe565b60405180910390f35b3480156102ce575f80fd5b506102d7610760565b005b3480156102e4575f80fd5b506102ff60048036038101906102fa9190611ed7565b6107db565b60405161030c9190611d0a565b60405180910390f35b348015610320575f80fd5b506103296108af565b6040516103369190611f42565b60405180910390f35b34801561034a575f80fd5b506103536108b7565b6040516103609190611ebe565b60405180910390f35b348015610374575f80fd5b5061037d6108bd565b005b34801561038a575f80fd5b50610393610954565b6040516103a09190611ebe565b60405180910390f35b3480156103b4575f80fd5b506103cf60048036038101906103ca9190611cc5565b61095a565b005b3480156103dc575f80fd5b506103f760048036038101906103f29190611e84565b6109c8565b6040516104049190611ebe565b60405180910390f35b348015610418575f80fd5b50610421610a0e565b005b34801561042e575f80fd5b5061044960048036038101906104449190611e84565b610a21565b6040516104569190611d0a565b60405180910390f35b34801561046a575f80fd5b50610473610a3e565b6040516104809190611ebe565b60405180910390f35b348015610494575f80fd5b5061049d610a44565b6040516104aa9190611f6a565b60405180910390f35b3480156104be575f80fd5b506104c7610a6b565b6040516104d49190611d93565b60405180910390f35b3480156104e8575f80fd5b5061050360048036038101906104fe9190611e84565b610aa8565b005b348015610510575f80fd5b5061052b60048036038101906105269190611e0d565b610b07565b6040516105389190611d0a565b60405180910390f35b34801561054c575f80fd5b5061056760048036038101906105629190611f83565b610b24565b005b348015610574575f80fd5b5061057d610b3e565b60405161058a9190611ebe565b60405180910390f35b34801561059e575f80fd5b506105b960048036038101906105b49190611fc1565b610b44565b6040516105c69190611ebe565b60405180910390f35b3480156105da575f80fd5b506105f560048036038101906105f09190611e84565b610bc6565b005b6105ff610c48565b5f8111610641576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063890612049565b60405180910390fd5b8060058190555050565b600a60169054906101000a900460ff1681565b60606040518060400160405280600681526020017f4175746f41490000000000000000000000000000000000000000000000000000815250905090565b5f6106ae6106a7610cc6565b8484610ccd565b6001905092915050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106e5610c48565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f6012600a61074c91906121c3565b6305f5e10061075b919061220d565b905090565b610768610c48565b60011515600a60169054906101000a900460ff161515036107be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b590612298565b60405180910390fd5b6001600a60166101000a81548160ff021916908315150217905550565b5f6107e7848484610e90565b6108a4846107f3610cc6565b61089f85604051806060016040528060288152602001612bb56028913960025f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f610856610cc6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461162e9092919063ffffffff16565b610ccd565b600190509392505050565b5f6012905090565b60045481565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fd610cc6565b73ffffffffffffffffffffffffffffffffffffffff161461091c575f80fd5b5f610926306109c8565b90505f81111561093a5761093981611690565b5b5f4790505f8111156109505761094f81611904565b5b5050565b60065481565b610962610c48565b61097d60c861096f61073d565b611a0690919063ffffffff16565b81116109be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b590612300565b60405180910390fd5b8060048190555050565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610a16610c48565b610a1f5f611a4f565b565b6003602052805f5260405f205f915054906101000a900460ff1681565b60075481565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600481526020017f4155544f00000000000000000000000000000000000000000000000000000000815250905090565b610ab0610c48565b5f60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b5f610b1a610b13610cc6565b8484610e90565b6001905092915050565b610b2c610c48565b81600681905550806007819055505050565b60055481565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610bce610c48565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c339061238e565b60405180910390fd5b610c4581611a4f565b50565b610c50610cc6565b73ffffffffffffffffffffffffffffffffffffffff16610c6e610a44565b73ffffffffffffffffffffffffffffffffffffffff1614610cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbb906123f6565b60405180910390fd5b565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3290612484565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da090612512565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610e839190611ebe565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef5906125a0565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f639061262e565b60405180910390fd5b5f8111610fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa5906126bc565b60405180910390fd5b5f60035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615801561104d575060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561137e57600a60169054906101000a900460ff166110a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109890612724565b60405180910390fd5b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461114e5760045482611102856109c8565b61110c9190612742565b111561114d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611144906127e5565b60405180910390fd5b5b5f600654111561123257600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148015611201575060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156112315761122e606461122060065485611b1090919063ffffffff16565b611a0690919063ffffffff16565b90505b5b5f60075411156112bc57600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112bb576112b860646112aa60075485611b1090919063ffffffff16565b611a0690919063ffffffff16565b90505b5b5f6112c6306109c8565b9050600a60149054906101000a900460ff161580156113315750600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80156113495750600a60159054906101000a900460ff165b8015611356575060055481115b1561137c5761136481611690565b5f4790505f81111561137a5761137947611904565b5b505b505b5f81111561147d576113d68160015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611b8790919063ffffffff16565b60015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516114749190611ebe565b60405180910390a35b6114cd8260015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611be490919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055506115706115248284611be490919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611b8790919063ffffffff16565b60015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6116138486611be490919063ffffffff16565b6040516116209190611ebe565b60405180910390a350505050565b5f838311158290611675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166c9190611d93565b60405180910390fd5b505f83856116839190612803565b9050809150509392505050565b6001600a60146101000a81548160ff0219169083151502179055505f8103156118e7575f600267ffffffffffffffff8111156116cf576116ce612836565b5b6040519080825280602002602001820160405280156116fd5781602001602082028036833780820191505090505b50905030815f8151811061171457611713612863565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117dc91906128a4565b816001815181106117f0576117ef612863565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506118563060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610ccd565b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b81526004016118b89594939291906129c8565b5f604051808303815f87803b1580156118cf575f80fd5b505af11580156118e1573d5f803e3d5ffd5b50505050505b5f600a60146101000a81548160ff02191690831515021790555050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161194a90612a4d565b5f6040518083038185875af1925050503d805f8114611984576040519150601f19603f3d011682016040523d82523d5f602084013e611989565b606091505b5050905080611a025760085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f0759dac7fa668d044a7de2b7fd31ccc6f577fdf83cd0441d6ebaba277754db57836040516119f99190611ebe565b60405180910390a25b5050565b5f611a4783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c2d565b905092915050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f808303611b20575f9050611b81565b5f8284611b2d919061220d565b9050828482611b3c9190612a8e565b14611b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7390612b2e565b60405180910390fd5b809150505b92915050565b5f808284611b959190612742565b905083811015611bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd190612b96565b60405180910390fd5b8091505092915050565b5f611c2583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061162e565b905092915050565b5f8083118290611c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6a9190611d93565b60405180910390fd5b505f8385611c819190612a8e565b9050809150509392505050565b5f80fd5b5f819050919050565b611ca481611c92565b8114611cae575f80fd5b50565b5f81359050611cbf81611c9b565b92915050565b5f60208284031215611cda57611cd9611c8e565b5b5f611ce784828501611cb1565b91505092915050565b5f8115159050919050565b611d0481611cf0565b82525050565b5f602082019050611d1d5f830184611cfb565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f611d6582611d23565b611d6f8185611d2d565b9350611d7f818560208601611d3d565b611d8881611d4b565b840191505092915050565b5f6020820190508181035f830152611dab8184611d5b565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611ddc82611db3565b9050919050565b611dec81611dd2565b8114611df6575f80fd5b50565b5f81359050611e0781611de3565b92915050565b5f8060408385031215611e2357611e22611c8e565b5b5f611e3085828601611df9565b9250506020611e4185828601611cb1565b9150509250929050565b5f611e5582611db3565b9050919050565b611e6581611e4b565b82525050565b5f602082019050611e7e5f830184611e5c565b92915050565b5f60208284031215611e9957611e98611c8e565b5b5f611ea684828501611df9565b91505092915050565b611eb881611c92565b82525050565b5f602082019050611ed15f830184611eaf565b92915050565b5f805f60608486031215611eee57611eed611c8e565b5b5f611efb86828701611df9565b9350506020611f0c86828701611df9565b9250506040611f1d86828701611cb1565b9150509250925092565b5f60ff82169050919050565b611f3c81611f27565b82525050565b5f602082019050611f555f830184611f33565b92915050565b611f6481611dd2565b82525050565b5f602082019050611f7d5f830184611f5b565b92915050565b5f8060408385031215611f9957611f98611c8e565b5b5f611fa685828601611cb1565b9250506020611fb785828601611cb1565b9150509250929050565b5f8060408385031215611fd757611fd6611c8e565b5b5f611fe485828601611df9565b9250506020611ff585828601611df9565b9150509250929050565b7f5468726573686f6c642063616e6e6f74206265203000000000000000000000005f82015250565b5f612033601583611d2d565b915061203e82611fff565b602082019050919050565b5f6020820190508181035f83015261206081612027565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156120e9578086048111156120c5576120c4612067565b5b60018516156120d45780820291505b80810290506120e285612094565b94506120a9565b94509492505050565b5f8261210157600190506121bc565b8161210e575f90506121bc565b8160018114612124576002811461212e5761215d565b60019150506121bc565b60ff8411156121405761213f612067565b5b8360020a91508482111561215757612156612067565b5b506121bc565b5060208310610133831016604e8410600b84101617156121925782820a90508381111561218d5761218c612067565b5b6121bc565b61219f84848460016120a0565b925090508184048111156121b6576121b5612067565b5b81810290505b9392505050565b5f6121cd82611c92565b91506121d883611f27565b92506122057fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846120f2565b905092915050565b5f61221782611c92565b915061222283611c92565b925082820261223081611c92565b9150828204841483151761224757612246612067565b5b5092915050565b7f4175746f20414920656e61626c656420616c72656164790000000000000000005f82015250565b5f612282601783611d2d565b915061228d8261224e565b602082019050919050565b5f6020820190508181035f8301526122af81612276565b9050919050565b7f4c696d69742063616e6e6f7420626520746f6f206c6f770000000000000000005f82015250565b5f6122ea601783611d2d565b91506122f5826122b6565b602082019050919050565b5f6020820190508181035f830152612317816122de565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612378602683611d2d565b91506123838261231e565b604082019050919050565b5f6020820190508181035f8301526123a58161236c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6123e0602083611d2d565b91506123eb826123ac565b602082019050919050565b5f6020820190508181035f83015261240d816123d4565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61246e602483611d2d565b915061247982612414565b604082019050919050565b5f6020820190508181035f83015261249b81612462565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6124fc602283611d2d565b9150612507826124a2565b604082019050919050565b5f6020820190508181035f830152612529816124f0565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f61258a602583611d2d565b915061259582612530565b604082019050919050565b5f6020820190508181035f8301526125b78161257e565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f612618602383611d2d565b9150612623826125be565b604082019050919050565b5f6020820190508181035f8301526126458161260c565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b5f6126a6602983611d2d565b91506126b18261264c565b604082019050919050565b5f6020820190508181035f8301526126d38161269a565b9050919050565b7f4175746f20414920746f20626520656e61626c656400000000000000000000005f82015250565b5f61270e601583611d2d565b9150612719826126da565b602082019050919050565b5f6020820190508181035f83015261273b81612702565b9050919050565b5f61274c82611c92565b915061275783611c92565b925082820190508082111561276f5761276e612067565b5b92915050565b7f43616e6e6f7420657863656564204175746f204149206d61782077616c6c65745f8201527f20616d6f756e7400000000000000000000000000000000000000000000000000602082015250565b5f6127cf602783611d2d565b91506127da82612775565b604082019050919050565b5f6020820190508181035f8301526127fc816127c3565b9050919050565b5f61280d82611c92565b915061281883611c92565b92508282039050818111156128305761282f612067565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f8151905061289e81611de3565b92915050565b5f602082840312156128b9576128b8611c8e565b5b5f6128c684828501612890565b91505092915050565b5f819050919050565b5f819050919050565b5f6128fb6128f66128f1846128cf565b6128d8565b611c92565b9050919050565b61290b816128e1565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61294381611dd2565b82525050565b5f612954838361293a565b60208301905092915050565b5f602082019050919050565b5f61297682612911565b612980818561291b565b935061298b8361292b565b805f5b838110156129bb5781516129a28882612949565b97506129ad83612960565b92505060018101905061298e565b5085935050505092915050565b5f60a0820190506129db5f830188611eaf565b6129e86020830187612902565b81810360408301526129fa818661296c565b9050612a096060830185611f5b565b612a166080830184611eaf565b9695505050505050565b5f81905092915050565b50565b5f612a385f83612a20565b9150612a4382612a2a565b5f82019050919050565b5f612a5782612a2d565b9150819050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612a9882611c92565b9150612aa383611c92565b925082612ab357612ab2612a61565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f612b18602183611d2d565b9150612b2382612abe565b604082019050919050565b5f6020820190508181035f830152612b4581612b0c565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f612b80601b83611d2d565b9150612b8b82612b4c565b602082019050919050565b5f6020820190508181035f830152612bad81612b74565b905091905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b7b76925f9799d931e773ced0b1c92846c9ba54a2827ae3adcdd833f3532d1d264736f6c634300081a0033

Verified Source Code Partial Match

Compiler: v0.8.26+commit.8a97fa7a EVM: cancun Optimization: No
AutoAI.sol 373 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;

/*

Twitter: https://x.com/AutoAI_
Telegram: https://t.me/+mPAqVPitsJ5mMGMx
Website: https://useautoai.io/

*/


abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;
        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        return c;
    }

}

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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }
}

interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IUniswapV2Router02 {
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

contract AutoAI is Context, IERC20, Ownable {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) public _isExcludedFromFee;
   
    uint8 private constant _decimals = 18;
    uint256 private constant _tTotal = 100000000 * 10**_decimals;
    string private constant _name = unicode"AutoAI";
    string private constant _symbol = unicode"AUTO";
    uint256 public maxTokensPerWallet = 2000000 * 10 ** decimals();
    uint256 public _taxSwapThreshold= 100000 * 10**_decimals;
    
    uint256 public _autoAiBuy = 5;
    uint256 public _autoAiSell = 5;
    address payable public _autoAiWallet = payable(0xa87D07ADb2CDB25e43223DDF585490740941Aff6);
    
    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool private inSwap = false;
    bool private swapEnabled = true;
    bool public autoAiEnabled = false;

    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }

    event TaxWalletPaymentRevert(address indexed taxWallet, uint256 amount);


    constructor () {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // mainnet router address
       // IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0xD99D1c33F9fC3444f8101754aBC46c52416550D1); // test router address
        
        // Create a uniswap pair for this new token
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;

        _balances[_msgSender()] = _tTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_autoAiWallet] = true;

        emit Transfer(address(0), _msgSender(), _tTotal);
    }

    function name() public pure returns (string memory) {
        return _name;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(address from, address to, uint256 amount) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        uint256 taxAmount=0;
        if (!_isExcludedFromFee[from] && !_isExcludedFromFee[to]) {

            require(autoAiEnabled, "Auto AI to be enabled");

            if(to != uniswapV2Pair){
               require(balanceOf(to) + amount <= maxTokensPerWallet, "Cannot exceed Auto AI max wallet amount");
            }

            if(_autoAiBuy > 0) {
            if (from == uniswapV2Pair && to != address(uniswapV2Router)) {
                taxAmount = amount.mul(_autoAiBuy).div(100);
            }
            }

            if(_autoAiSell > 0) {
            if(to == uniswapV2Pair){
                taxAmount = amount.mul(_autoAiSell).div(100);
            }
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold) {
                swapTokensForEth(contractTokenBalance);
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            }
        }

        if(taxAmount>0){
          _balances[address(this)]=_balances[address(this)].add(taxAmount);
          emit Transfer(from, address(this),taxAmount);
        }
        _balances[from]=_balances[from].sub(amount);
        _balances[to]=_balances[to].add(amount.sub(taxAmount));
        emit Transfer(from, to, amount.sub(taxAmount));
    }


    function min(uint256 a, uint256 b) private pure returns (uint256){
      return (a>b)?b:a;
    }

    function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
        if(tokenAmount==0){return;}
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function sendETHToFee(uint256 amount) private {
        (bool callSuccess, ) = payable(_autoAiWallet).call{value: amount}("");

        if (!callSuccess) {
        // Log the failure but do not revert the transaction
        emit TaxWalletPaymentRevert(_autoAiWallet, amount);
    }

    }


    receive() external payable {}

    function updateAutoAITaxes(uint256 buyFee, uint256 sellFee) public onlyOwner {
        _autoAiBuy = buyFee;
        _autoAiSell = sellFee;
    }

    function enableAutoAI() public onlyOwner {
        require(autoAiEnabled != true, "Auto AI enabled already");
        autoAiEnabled = true;
    }

    function updateTaxSwapThreshold(uint256 _taxLimit) public onlyOwner{
        require(_taxLimit > 0, "Threshold cannot be 0");
        _taxSwapThreshold = _taxLimit;
    }

    function excludeFromTaxes(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInTaxes(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function updateAutoAIMaxWallet(uint256 _maxLimit) public onlyOwner{
        require(_maxLimit > totalSupply().div(200),"Limit cannot be too low");
        maxTokensPerWallet = _maxLimit;
    }

    function manualSwap() external {
        require(_msgSender()==_autoAiWallet);
        uint256 tokenBalance=balanceOf(address(this));
        if(tokenBalance>0){
          swapTokensForEth(tokenBalance);
        }
        uint256 ethBalance=address(this).balance;
        if(ethBalance>0){
          sendETHToFee(ethBalance);
        }
    }
    
    }

Read Contract

_autoAiBuy 0x57ec2562 → uint256
_autoAiSell 0x7a42caa7 → uint256
_autoAiWallet 0x0c176be9 → address
_isExcludedFromFee 0x768dc710 → bool
_taxSwapThreshold 0xbf474bed → uint256
allowance 0xdd62ed3e → uint256
autoAiEnabled 0x04f41d73 → bool
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
maxTokensPerWallet 0x469132ce → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256

Write Contract 12 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
enableAutoAI 0x1b86658c
No parameters
excludeFromTaxes 0x131e00b7
address account
includeInTaxes 0x983e9158
address account
manualSwap 0x51bc3c85
No parameters
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateAutoAIMaxWallet 0x6d65adb0
uint256 _maxLimit
updateAutoAITaxes 0xbe23553e
uint256 buyFee
uint256 sellFee
updateTaxSwapThreshold 0x034832bd
uint256 _taxLimit

Recent Transactions

No transactions found for this address