Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x8D5c2006Ce77Eff78F66cED5E7a7d584D9e16b5E
Balance 0 ETH
Nonce 1
Code Size 13405 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

13405 bytes
0x6080604052600436106101c5575f3560e01c8063578878b4116100f657806395d89b4111610094578063cb4e162b11610063578063cb4e162b146105ec578063d554546214610616578063dd62ed3e1461062c578063f2fde38b14610668576101cc565b806395d89b4114610520578063a457c2d71461054a578063a9059cbb14610586578063b60e06df146105c2576101cc565b8063715018a6116100d0578063715018a6146104a257806372fbf58a146104b8578063751039fc146104e05780638da5cb5b146104f6576101cc565b8063578878b414610428578063697cfc191461045057806370a0823114610466576101cc565b8063293230b811610163578063395093511161013d578063395093511461038257806352d8bfc2146103be57806354c35c28146103d457806354cf2aeb146103fe576101cc565b8063293230b814610318578063313ce5671461032e57806332972e4614610358576101cc565b80630f7b16f01161019f5780630f7b16f01461026057806316114acd1461028a57806318160ddd146102b257806323b872dd146102dc576101cc565b806306fdde03146101d0578063095ea7b3146101fa5780630f51076f14610236576101cc565b366101cc57005b5f80fd5b3480156101db575f80fd5b506101e4610690565b6040516101f191906122c9565b60405180910390f35b348015610205575f80fd5b50610220600480360381019061021b919061237a565b610720565b60405161022d91906123d2565b60405180910390f35b348015610241575f80fd5b5061024a610742565b60405161025791906123fa565b60405180910390f35b34801561026b575f80fd5b50610274610748565b60405161028191906123fa565b60405180910390f35b348015610295575f80fd5b506102b060048036038101906102ab919061244e565b61074e565b005b3480156102bd575f80fd5b506102c66108d8565b6040516102d391906123fa565b60405180910390f35b3480156102e7575f80fd5b5061030260048036038101906102fd9190612479565b6108e1565b60405161030f91906123d2565b60405180910390f35b348015610323575f80fd5b5061032c61090f565b005b348015610339575f80fd5b50610342610b46565b60405161034f91906124e4565b60405180910390f35b348015610363575f80fd5b5061036c610b4e565b604051610379919061250c565b60405180910390f35b34801561038d575f80fd5b506103a860048036038101906103a3919061237a565b610b73565b6040516103b591906123d2565b60405180910390f35b3480156103c9575f80fd5b506103d2610c18565b005b3480156103df575f80fd5b506103e8610cf2565b6040516103f591906123fa565b60405180910390f35b348015610409575f80fd5b50610412610cf8565b60405161041f91906123fa565b60405180910390f35b348015610433575f80fd5b5061044e60048036038101906104499190612525565b610cfe565b005b34801561045b575f80fd5b50610464610e7e565b005b348015610471575f80fd5b5061048c60048036038101906104879190612550565b610f03565b60405161049991906123fa565b60405180910390f35b3480156104ad575f80fd5b506104b6610f48565b005b3480156104c3575f80fd5b506104de60048036038101906104d9919061257b565b610fcf565b005b3480156104eb575f80fd5b506104f46110ae565b005b348015610501575f80fd5b5061050a61113a565b604051610517919061250c565b60405180910390f35b34801561052b575f80fd5b50610534611162565b60405161054191906122c9565b60405180910390f35b348015610555575f80fd5b50610570600480360381019061056b919061237a565b6111f2565b60405161057d91906123d2565b60405180910390f35b348015610591575f80fd5b506105ac60048036038101906105a7919061237a565b6112d6565b6040516105b991906123d2565b60405180910390f35b3480156105cd575f80fd5b506105d66112f8565b6040516105e3919061250c565b60405180910390f35b3480156105f7575f80fd5b5061060061131c565b60405161060d91906123fa565b60405180910390f35b348015610621575f80fd5b5061062a611322565b005b348015610637575f80fd5b50610652600480360381019061064d91906125b9565b6113a7565b60405161065f91906123fa565b60405180910390f35b348015610673575f80fd5b5061068e60048036038101906106899190612550565b611429565b005b60606003805461069f90612624565b80601f01602080910402602001604051908101604052809291908181526020018280546106cb90612624565b80156107165780601f106106ed57610100808354040283529160200191610716565b820191905f5260205f20905b8154815290600101906020018083116106f957829003601f168201915b5050505050905090565b5f8061072a61151f565b9050610737818585611526565b600191505092915050565b60085481565b60075481565b7f000000000000000000000000419735d6fe10b73bb7af45012486bf40ab8e22fe73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806107da57506107ab61113a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6107e2575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610838919061250c565b602060405180830381865afa158015610853573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108779190612668565b6040518363ffffffff1660e01b8152600401610894929190612693565b6020604051808303815f875af11580156108b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108d491906126e4565b5050565b5f600254905090565b5f806108eb61151f565b90506108f88582856116e9565b610903858585611774565b60019150509392505050565b61091761151f565b73ffffffffffffffffffffffffffffffffffffffff1661093561113a565b73ffffffffffffffffffffffffffffffffffffffff161461098b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098290612759565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109e8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0c919061278b565b73ffffffffffffffffffffffffffffffffffffffff1663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa9919061278b565b6040518363ffffffff1660e01b8152600401610ac69291906127b6565b602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b05919061278b565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b5f6012905090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f80610b7d61151f565b9050610c0d81858560015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610c08919061280a565b611526565b600191505092915050565b7f000000000000000000000000419735d6fe10b73bb7af45012486bf40ab8e22fe73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610ca45750610c7561113a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610cac575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610cef573d5f803e3d5ffd5b50565b600b5481565b600a5481565b7f000000000000000000000000419735d6fe10b73bb7af45012486bf40ab8e22fe73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610d8a5750610d5b61113a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d92575f80fd5b610dc2620186a0610db46001610da66108d8565b611c7f90919063ffffffff16565b611c9490919063ffffffff16565b811015610e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfb906128ad565b60405180910390fd5b610e326064610e246002610e166108d8565b611c7f90919063ffffffff16565b611c9490919063ffffffff16565b811115610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b9061293b565b60405180910390fd5b8060098190555050565b610e8661151f565b73ffffffffffffffffffffffffffffffffffffffff16610ea461113a565b73ffffffffffffffffffffffffffffffffffffffff1614610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190612759565b60405180910390fd5b5f600881905550565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610f5061151f565b73ffffffffffffffffffffffffffffffffffffffff16610f6e61113a565b73ffffffffffffffffffffffffffffffffffffffff1614610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb90612759565b60405180910390fd5b610fcd5f611ca9565b565b610fd761151f565b73ffffffffffffffffffffffffffffffffffffffff16610ff561113a565b73ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290612759565b60405180910390fd5b6019821115801561105d575060198111155b61109c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611093906129c9565b60405180910390fd5b81600a8190555080600b819055505050565b6110b661151f565b73ffffffffffffffffffffffffffffffffffffffff166110d461113a565b73ffffffffffffffffffffffffffffffffffffffff161461112a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112190612759565b60405180910390fd5b5f6008819055505f600781905550565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461117190612624565b80601f016020809104026020016040519081016040528092919081815260200182805461119d90612624565b80156111e85780601f106111bf576101008083540402835291602001916111e8565b820191905f5260205f20905b8154815290600101906020018083116111cb57829003601f168201915b5050505050905090565b5f806111fc61151f565b90505f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050838110156112bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b490612a57565b60405180910390fd5b6112ca8286868403611526565b60019250505092915050565b5f806112e061151f565b90506112ed818585611774565b600191505092915050565b7f000000000000000000000000419735d6fe10b73bb7af45012486bf40ab8e22fe81565b60095481565b61132a61151f565b73ffffffffffffffffffffffffffffffffffffffff1661134861113a565b73ffffffffffffffffffffffffffffffffffffffff161461139e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139590612759565b60405180910390fd5b5f600781905550565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61143161151f565b73ffffffffffffffffffffffffffffffffffffffff1661144f61113a565b73ffffffffffffffffffffffffffffffffffffffff16146114a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149c90612759565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90612ae5565b60405180910390fd5b61151c81611ca9565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90612b73565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f990612c01565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116dc91906123fa565b60405180910390a3505050565b5f6116f484846113a7565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461176e5781811015611760576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175790612c69565b60405180910390fd5b61176d8484848403611526565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990612cf7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184790612d85565b60405180910390fd5b5f8111611892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188990612e13565b60405180910390fd5b5f600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168061192e5750600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415806119895750805b6119c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bf90612e7b565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490508080611a775750815b8015611a8457505f600754115b8015611a8e575082155b15611ad957600754841115611ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acf90612f2f565b60405180910390fd5b5b81158015611ae857505f600854115b8015611af2575082155b15611b505760085484611b0487610f03565b611b0e919061280a565b1115611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4690612fe3565b60405180910390fd5b5b600954611b5c30610f03565b10158015611b765750600c5f9054906101000a900460ff16155b8015611b7f5750815b8015611b89575082155b15611bca576001600c5f6101000a81548160ff021916908315150217905550611bb0611d6c565b5f600c5f6101000a81548160ff0219169083151502179055505b5f81611bd857600b54611bdc565b600a545b90505f811115611c6b5783158015611c005750600c5f9054906101000a900460ff16155b8015611c1157508180611c105750825b5b15611c6a575f611c3d6064611c2f8489611c7f90919063ffffffff16565b611c9490919063ffffffff16565b90505f811115611c5357611c52883083611fc5565b5b611c66818761223a90919063ffffffff16565b9550505b5b611c76878787611fc5565b50505050505050565b5f8183611c8c9190613001565b905092915050565b5f8183611ca1919061306f565b905092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611d7630610f03565b90505f8103611d855750611fc3565b600954811115611d955760095490505b5f600267ffffffffffffffff811115611db157611db061309f565b5b604051908082528060200260200182016040528015611ddf5781602001602082028036833780820191505090505b50905030815f81518110611df657611df56130cc565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eb1919061278b565b81600181518110611ec557611ec46130cc565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611f1e30737a250d5630b4cf539739df2c5dacb4c659f2488d84611526565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f847f000000000000000000000000419735d6fe10b73bb7af45012486bf40ab8e22fe426040518663ffffffff1660e01b8152600401611f939594939291906131f2565b5f604051808303815f87803b158015611faa575f80fd5b505af1158015611fbc573d5f803e3d5ffd5b5050505050505b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202a906132ba565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890613348565b60405180910390fd5b6120ac83838361224f565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561212f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612126906133d6565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546121bd919061280a565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161222191906123fa565b60405180910390a3612234848484612254565b50505050565b5f818361224791906133f4565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61229b82612259565b6122a58185612263565b93506122b5818560208601612273565b6122be81612281565b840191505092915050565b5f6020820190508181035f8301526122e18184612291565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612316826122ed565b9050919050565b6123268161230c565b8114612330575f80fd5b50565b5f813590506123418161231d565b92915050565b5f819050919050565b61235981612347565b8114612363575f80fd5b50565b5f8135905061237481612350565b92915050565b5f80604083850312156123905761238f6122e9565b5b5f61239d85828601612333565b92505060206123ae85828601612366565b9150509250929050565b5f8115159050919050565b6123cc816123b8565b82525050565b5f6020820190506123e55f8301846123c3565b92915050565b6123f481612347565b82525050565b5f60208201905061240d5f8301846123eb565b92915050565b5f61241d8261230c565b9050919050565b61242d81612413565b8114612437575f80fd5b50565b5f8135905061244881612424565b92915050565b5f60208284031215612463576124626122e9565b5b5f6124708482850161243a565b91505092915050565b5f805f606084860312156124905761248f6122e9565b5b5f61249d86828701612333565b93505060206124ae86828701612333565b92505060406124bf86828701612366565b9150509250925092565b5f60ff82169050919050565b6124de816124c9565b82525050565b5f6020820190506124f75f8301846124d5565b92915050565b6125068161230c565b82525050565b5f60208201905061251f5f8301846124fd565b92915050565b5f6020828403121561253a576125396122e9565b5b5f61254784828501612366565b91505092915050565b5f60208284031215612565576125646122e9565b5b5f61257284828501612333565b91505092915050565b5f8060408385031215612591576125906122e9565b5b5f61259e85828601612366565b92505060206125af85828601612366565b9150509250929050565b5f80604083850312156125cf576125ce6122e9565b5b5f6125dc85828601612333565b92505060206125ed85828601612333565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061263b57607f821691505b60208210810361264e5761264d6125f7565b5b50919050565b5f8151905061266281612350565b92915050565b5f6020828403121561267d5761267c6122e9565b5b5f61268a84828501612654565b91505092915050565b5f6040820190506126a65f8301856124fd565b6126b360208301846123eb565b9392505050565b6126c3816123b8565b81146126cd575f80fd5b50565b5f815190506126de816126ba565b92915050565b5f602082840312156126f9576126f86122e9565b5b5f612706848285016126d0565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612743602083612263565b915061274e8261270f565b602082019050919050565b5f6020820190508181035f83015261277081612737565b9050919050565b5f815190506127858161231d565b92915050565b5f602082840312156127a05761279f6122e9565b5b5f6127ad84828501612777565b91505092915050565b5f6040820190506127c95f8301856124fd565b6127d660208301846124fd565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61281482612347565b915061281f83612347565b9250828201905080821115612837576128366127dd565b5b92915050565b7f53776170207468726573686f6c642063616e6e6f74206265206c6f77657220745f8201527f68616e20302e3030312520746f74616c20737570706c792e0000000000000000602082015250565b5f612897603883612263565b91506128a28261283d565b604082019050919050565b5f6020820190508181035f8301526128c48161288b565b9050919050565b7f53776170207468726573686f6c642063616e6e6f7420626520686967686572205f8201527f7468616e20322520746f74616c20737570706c792e0000000000000000000000602082015250565b5f612925603583612263565b9150612930826128cb565b604082019050919050565b5f6020820190508181035f83015261295281612919565b9050919050565b7f417474656d7074696e6720746f207365742066656520686967686572207468615f8201527f6e20696e697469616c206665652e000000000000000000000000000000000000602082015250565b5f6129b3602e83612263565b91506129be82612959565b604082019050919050565b5f6020820190508181035f8301526129e0816129a7565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612a41602583612263565b9150612a4c826129e7565b604082019050919050565b5f6020820190508181035f830152612a6e81612a35565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612acf602683612263565b9150612ada82612a75565b604082019050919050565b5f6020820190508181035f830152612afc81612ac3565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612b5d602483612263565b9150612b6882612b03565b604082019050919050565b5f6020820190508181035f830152612b8a81612b51565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612beb602283612263565b9150612bf682612b91565b604082019050919050565b5f6020820190508181035f830152612c1881612bdf565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612c53601d83612263565b9150612c5e82612c1f565b602082019050919050565b5f6020820190508181035f830152612c8081612c47565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f612ce1602b83612263565b9150612cec82612c87565b604082019050919050565b5f6020820190508181035f830152612d0e81612cd5565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f612d6f602983612263565b9150612d7a82612d15565b604082019050919050565b5f6020820190508181035f830152612d9c81612d63565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f612dfd602a83612263565b9150612e0882612da3565b604082019050919050565b5f6020820190508181035f830152612e2a81612df1565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f612e65601f83612263565b9150612e7082612e31565b602082019050919050565b5f6020820190508181035f830152612e9281612e59565b9050919050565b7f537761702076616c75652065786365656473206d6178207377617020616d6f755f8201527f6e742c2074727920616761696e2077697468206c65737320737761702076616c60208201527f75652e0000000000000000000000000000000000000000000000000000000000604082015250565b5f612f19604383612263565b9150612f2482612e99565b606082019050919050565b5f6020820190508181035f830152612f4681612f0d565b9050919050565b7f42616c616e63652065786365656473206d617820686f6c64696e677320616d6f5f8201527f756e742c20636f6e7369646572207573696e672061207365636f6e642077616c60208201527f6c65742e00000000000000000000000000000000000000000000000000000000604082015250565b5f612fcd604483612263565b9150612fd882612f4d565b606082019050919050565b5f6020820190508181035f830152612ffa81612fc1565b9050919050565b5f61300b82612347565b915061301683612347565b925082820261302481612347565b9150828204841483151761303b5761303a6127dd565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61307982612347565b915061308483612347565b92508261309457613093613042565b5b828204905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f819050919050565b5f61312561312061311b846130f9565b613102565b612347565b9050919050565b6131358161310b565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61316d8161230c565b82525050565b5f61317e8383613164565b60208301905092915050565b5f602082019050919050565b5f6131a08261313b565b6131aa8185613145565b93506131b583613155565b805f5b838110156131e55781516131cc8882613173565b97506131d78361318a565b9250506001810190506131b8565b5085935050505092915050565b5f60a0820190506132055f8301886123eb565b613212602083018761312c565b81810360408301526132248186613196565b905061323360608301856124fd565b61324060808301846123eb565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6132a4602583612263565b91506132af8261324a565b604082019050919050565b5f6020820190508181035f8301526132d181613298565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f613332602383612263565b915061333d826132d8565b604082019050919050565b5f6020820190508181035f83015261335f81613326565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6133c0602683612263565b91506133cb82613366565b604082019050919050565b5f6020820190508181035f8301526133ed816133b4565b9050919050565b5f6133fe82612347565b915061340983612347565b9250828203905081811115613421576134206127dd565b5b9291505056fea26469706673582212204785ee5408822dfb633f68d51d113caa25d83bf9f8ec58692543c6e4477aa73f64736f6c634300081a0033

Verified Source Code Partial Match

Compiler: v0.8.26+commit.8a97fa7a EVM: cancun Optimization: No
MOGE.sol 456 lines
// SPDX-License-Identifier: MIT

  /*
      Telegram: https://t.me/muchdogecoin
  */
  
  pragma solidity ^0.8.26;

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

      function _msgData() internal view virtual returns (bytes calldata) {
          return msg.data;
      }
  }

  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 18;
      }

      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();
          _spendAllowance(from, spender, amount);
          _transfer(from, to, 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 {}
  }

  abstract contract Ownable is Context {
      address private _owner;

      event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

      constructor() {
          _transferOwnership(_msgSender());
      }

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

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

      function renounceOwnership() public virtual onlyOwner {
          _transferOwnership(address(0));
      }

      function transferOwnership(address newOwner) public virtual onlyOwner {
          require(newOwner != address(0), "Ownable: new owner is the zero address");
          _transferOwnership(newOwner);
      }

      function _transferOwnership(address newOwner) internal virtual {
          address oldOwner = _owner;
          _owner = newOwner;
          emit OwnershipTransferred(oldOwner, newOwner);
      }
  }

  library SafeMath {
      function add(uint256 a, uint256 b) internal pure returns (uint256) {
          return a + b;
      }

      function sub(uint256 a, uint256 b) internal pure returns (uint256) {
          return a - b;
      }

      function mul(uint256 a, uint256 b) internal pure returns (uint256) {
          return a * b;
      }

      function div(uint256 a, uint256 b) internal pure returns (uint256) {
          return a / b;
      }

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

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

  interface IUniswapV2Factory {
      function createPair(address tokenA, address tokenB) external returns (address pair);
      function getPair(address tokenA, address tokenB) external view 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;
  }

contract MOGE is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public uniPair;
    address public immutable feeRecipientAddr;

    uint256 public maxSwapTx;
    uint256 public maxHoldingsLimit;
    uint256 public feeThreshold;

    uint256 public swapFee;
    uint256 public swapBackFee;

    bool private _inSwap;
    mapping (address => bool) private _excludedLimits;

    constructor() ERC20(unicode"Much DOGE", "MOGE") payable {
        uint256 totalSupply = 1000000000 * 1e18;

        maxSwapTx = totalSupply.mul(2).div(100);
        maxHoldingsLimit = totalSupply.mul(2).div(100);
        feeThreshold = totalSupply.mul(5).div(1000);

        feeRecipientAddr = 0x419735d6FE10b73bb7aF45012486bF40AB8E22fE;

        swapFee = 25;
        swapBackFee = 25;

        _excludedLimits[feeRecipientAddr] = true;
        _excludedLimits[msg.sender] = true;
        _excludedLimits[tx.origin] = true;
        _excludedLimits[address(this)] = true;
        _excludedLimits[address(0xdead)] = true;

        _mint(tx.origin, totalSupply);

    }

    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 = _excludedLimits[from] || _excludedLimits[to];
        require(uniPair != address(0) || excluded, "Liquidity pair not yet created.");

        bool isSell = to == uniPair;
        bool isBuy = from == uniPair;

        if ((isBuy || isSell) && maxSwapTx > 0 && !excluded)
            require(amount <= maxSwapTx, "Swap value exceeds max swap amount, try again with less swap value.");

        if (!isSell && maxHoldingsLimit > 0 && !excluded)
            require(balanceOf(to) + amount <= maxHoldingsLimit, "Balance exceeds max holdings amount, consider using a second wallet.");

        if (
          balanceOf(address(this)) >= feeThreshold &&
          !_inSwap && isSell &&
          !excluded 
        ) {
            _inSwap = true;
            _swapBackFees();
            _inSwap = false;
        }

        uint256 fee = isBuy ? swapFee : swapBackFee;

        if (fee > 0) {
            if (!excluded && !_inSwap && (isBuy || isSell)) {
                uint256 fees = amount.mul(fee).div(100);

                if (fees > 0)
                    super._transfer(from, address(this), fees);

                amount = amount.sub(fees);
            }
        }

        super._transfer(from, to, amount);
    }

    function _swapBackFees() private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) return;
        if (contractBalance > feeThreshold) contractBalance = feeThreshold;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _router.WETH();

        _approve(address(this), address(_router), contractBalance);

        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            contractBalance,
            0,
            path,
            feeRecipientAddr,
            block.timestamp
        );
    }

    function startTrading() external onlyOwner {
        uniPair = IUniswapV2Factory(_router.factory()).getPair(address(this), _router.WETH());
    }

    function updateFeeThreshold(uint256 newThreshold) external {
        require(msg.sender == feeRecipientAddr || msg.sender == owner());
        require(newThreshold >= totalSupply().mul(1).div(100000), "Swap threshold cannot be lower than 0.001% total supply.");
        require(newThreshold <= totalSupply().mul(2).div(100), "Swap threshold cannot be higher than 2% total supply.");
        feeThreshold = newThreshold;
    }

    function setTokenFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner {
        require(newBuyFee <= 25 && newSellFee <= 25, 'Attempting to set fee higher than initial fee.');
        swapFee = newBuyFee;
        swapBackFee = newSellFee;
    }

    function removeLimits() external onlyOwner {
        maxHoldingsLimit = 0;
        maxSwapTx = 0;
    }

    function disableWalletLimit() external onlyOwner {
        maxHoldingsLimit = 0;
    }

    function removeSwapTxLimit() external onlyOwner {
        maxSwapTx = 0;
    }

    function recoverEther() external  {
        require(msg.sender == feeRecipientAddr || msg.sender == owner());
        payable(msg.sender).transfer(address(this).balance);
    }

    function recoverTokens(IERC20 token) external  {
      require(msg.sender == feeRecipientAddr || msg.sender == owner());
        token.transfer(msg.sender, token.balanceOf(address(this)));
    }

    receive() external payable {}
  }

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
feeRecipientAddr 0xb60e06df → address
feeThreshold 0xcb4e162b → uint256
maxHoldingsLimit 0x0f51076f → uint256
maxSwapTx 0x0f7b16f0 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
swapBackFee 0x54c35c28 → uint256
swapFee 0x54cf2aeb → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniPair 0x32972e46 → address

Write Contract 15 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableWalletLimit 0x697cfc19
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
recoverEther 0x52d8bfc2
No parameters
recoverTokens 0x16114acd
address token
removeLimits 0x751039fc
No parameters
removeSwapTxLimit 0xd5545462
No parameters
renounceOwnership 0x715018a6
No parameters
setTokenFees 0x72fbf58a
uint256 newBuyFee
uint256 newSellFee
startTrading 0x293230b8
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateFeeThreshold 0x578878b4
uint256 newThreshold

Recent Transactions

No transactions found for this address