Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x3998dCa747a4468Bd183b8D8c4609Ded5969fAB2
Balance 0 ETH
Nonce 1
Code Size 14746 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

14746 bytes
0x6080604052600436106101db575f3560e01c8063715018a611610101578063a9059cbb11610094578063d01dd6d211610063578063d01dd6d214610642578063dbac26e91461066a578063dd62ed3e146106a6578063f2fde38b146106e2576101e2565b8063a9059cbb1461059c578063aa4bde28146105d8578063cb4e162b14610602578063cbbda29b1461062c576101e2565b80638a8c523c116100d05780638a8c523c146104f65780638da5cb5b1461050c57806395d89b4114610536578063a457c2d714610560576101e2565b8063715018a61461048c57806372fbf58a146104a2578063751039fc146104ca57806387dd95c0146104e0576101e2565b8063313ce56711610179578063470624021161014857806347062402146103e85780635564ad7114610412578063578878b41461042857806370a0823114610450576101e2565b8063313ce5671461032e57806332972e4614610358578063395093511461038257806339e7fddc146103be576101e2565b806318160ddd116101b557806318160ddd1461027457806323b872dd1461029e5780632b14ca56146102da5780632f2dae7f14610304576101e2565b806306fdde03146101e6578063095ea7b3146102105780630ee092fd1461024c576101e2565b366101e257005b5f80fd5b3480156101f1575f80fd5b506101fa61070a565b6040516102079190612672565b60405180910390f35b34801561021b575f80fd5b5061023660048036038101906102319190612723565b61079a565b604051610243919061277b565b60405180910390f35b348015610257575f80fd5b50610272600480360381019061026d91906127cf565b6107bc565b005b34801561027f575f80fd5b50610288610946565b6040516102959190612809565b60405180910390f35b3480156102a9575f80fd5b506102c460048036038101906102bf9190612822565b61094f565b6040516102d1919061277b565b60405180910390f35b3480156102e5575f80fd5b506102ee61097d565b6040516102fb9190612809565b60405180910390f35b34801561030f575f80fd5b50610318610983565b6040516103259190612809565b60405180910390f35b348015610339575f80fd5b50610342610989565b60405161034f919061288d565b60405180910390f35b348015610363575f80fd5b5061036c610991565b60405161037991906128b5565b60405180910390f35b34801561038d575f80fd5b506103a860048036038101906103a39190612723565b6109b6565b6040516103b5919061277b565b60405180910390f35b3480156103c9575f80fd5b506103d2610a5b565b6040516103df91906128b5565b60405180910390f35b3480156103f3575f80fd5b506103fc610a7f565b6040516104099190612809565b60405180910390f35b34801561041d575f80fd5b50610426610a85565b005b348015610433575f80fd5b5061044e600480360381019061044991906128ce565b610b0a565b005b34801561045b575f80fd5b50610476600480360381019061047191906128f9565b610c8a565b6040516104839190612809565b60405180910390f35b348015610497575f80fd5b506104a0610ccf565b005b3480156104ad575f80fd5b506104c860048036038101906104c39190612924565b610d56565b005b3480156104d5575f80fd5b506104de610e35565b005b3480156104eb575f80fd5b506104f4610ec1565b005b348015610501575f80fd5b5061050a610f9b565b005b348015610517575f80fd5b506105206111d2565b60405161052d91906128b5565b60405180910390f35b348015610541575f80fd5b5061054a6111fa565b6040516105579190612672565b60405180910390f35b34801561056b575f80fd5b5061058660048036038101906105819190612723565b61128a565b604051610593919061277b565b60405180910390f35b3480156105a7575f80fd5b506105c260048036038101906105bd9190612723565b61136e565b6040516105cf919061277b565b60405180910390f35b3480156105e3575f80fd5b506105ec611390565b6040516105f99190612809565b60405180910390f35b34801561060d575f80fd5b50610616611396565b6040516106239190612809565b60405180910390f35b348015610637575f80fd5b5061064061139c565b005b34801561064d575f80fd5b506106686004803603810190610663919061298c565b611421565b005b348015610675575f80fd5b50610690600480360381019061068b91906128f9565b611584565b60405161069d919061277b565b60405180910390f35b3480156106b1575f80fd5b506106cc60048036038101906106c791906129ca565b6115a1565b6040516106d99190612809565b60405180910390f35b3480156106ed575f80fd5b50610708600480360381019061070391906128f9565b611623565b005b60606003805461071990612a35565b80601f016020809104026020016040519081016040528092919081815260200182805461074590612a35565b80156107905780601f1061076757610100808354040283529160200191610790565b820191905f5260205f20905b81548152906001019060200180831161077357829003601f168201915b5050505050905090565b5f806107a4611719565b90506107b1818585611720565b600191505092915050565b7f0000000000000000000000005cb71ef5979858edd0b6142045af4fd10f0a287c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061084857506108196111d2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610850575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108a691906128b5565b602060405180830381865afa1580156108c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e59190612a79565b6040518363ffffffff1660e01b8152600401610902929190612aa4565b6020604051808303815f875af115801561091e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109429190612adf565b5050565b5f600254905090565b5f80610959611719565b90506109668582856118e3565b61097185858561196e565b60019150509392505050565b600b5481565b60075481565b5f6012905090565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f806109c0611719565b9050610a5081858560015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610a4b9190612b37565b611720565b600191505092915050565b7f0000000000000000000000005cb71ef5979858edd0b6142045af4fd10f0a287c81565b600a5481565b610a8d611719565b73ffffffffffffffffffffffffffffffffffffffff16610aab6111d2565b73ffffffffffffffffffffffffffffffffffffffff1614610b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af890612bb4565b60405180910390fd5b5f600881905550565b7f0000000000000000000000005cb71ef5979858edd0b6142045af4fd10f0a287c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b965750610b676111d2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610b9e575f80fd5b610bce620186a0610bc06001610bb2610946565b611f0390919063ffffffff16565b611f1890919063ffffffff16565b811015610c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0790612c42565b60405180910390fd5b610c3e6064610c306002610c22610946565b611f0390919063ffffffff16565b611f1890919063ffffffff16565b811115610c80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7790612cd0565b60405180910390fd5b8060098190555050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610cd7611719565b73ffffffffffffffffffffffffffffffffffffffff16610cf56111d2565b73ffffffffffffffffffffffffffffffffffffffff1614610d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4290612bb4565b60405180910390fd5b610d545f611f2d565b565b610d5e611719565b73ffffffffffffffffffffffffffffffffffffffff16610d7c6111d2565b73ffffffffffffffffffffffffffffffffffffffff1614610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc990612bb4565b60405180910390fd5b60148211158015610de45750601e8111155b610e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1a90612d5e565b60405180910390fd5b81600a8190555080600b819055505050565b610e3d611719565b73ffffffffffffffffffffffffffffffffffffffff16610e5b6111d2565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea890612bb4565b60405180910390fd5b5f6008819055505f600781905550565b7f0000000000000000000000005cb71ef5979858edd0b6142045af4fd10f0a287c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610f4d5750610f1e6111d2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610f55575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610f98573d5f803e3d5ffd5b50565b610fa3611719565b73ffffffffffffffffffffffffffffffffffffffff16610fc16111d2565b73ffffffffffffffffffffffffffffffffffffffff1614611017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100e90612bb4565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611074573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110989190612d90565b73ffffffffffffffffffffffffffffffffffffffff1663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611111573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111359190612d90565b6040518363ffffffff1660e01b8152600401611152929190612dbb565b602060405180830381865afa15801561116d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111919190612d90565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461120990612a35565b80601f016020809104026020016040519081016040528092919081815260200182805461123590612a35565b80156112805780601f1061125757610100808354040283529160200191611280565b820191905f5260205f20905b81548152906001019060200180831161126357829003601f168201915b5050505050905090565b5f80611294611719565b90505f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905083811015611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c90612e52565b60405180910390fd5b6113628286868403611720565b60019250505092915050565b5f80611378611719565b905061138581858561196e565b600191505092915050565b60085481565b60095481565b6113a4611719565b73ffffffffffffffffffffffffffffffffffffffff166113c26111d2565b73ffffffffffffffffffffffffffffffffffffffff1614611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f90612bb4565b60405180910390fd5b5f600781905550565b611429611719565b73ffffffffffffffffffffffffffffffffffffffff166114476111d2565b73ffffffffffffffffffffffffffffffffffffffff161461149d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149490612bb4565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361152c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152390612ee0565b60405180910390fd5b80600e5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b600e602052805f5260405f205f915054906101000a900460ff1681565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b61162b611719565b73ffffffffffffffffffffffffffffffffffffffff166116496111d2565b73ffffffffffffffffffffffffffffffffffffffff161461169f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169690612bb4565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361170d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170490612f6e565b60405180910390fd5b61171681611f2d565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361178e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178590612ffc565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f39061308a565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118d69190612809565b60405180910390a3505050565b5f6118ee84846115a1565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611968578181101561195a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611951906130f2565b60405180910390fd5b6119678484848403611720565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d390613180565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a419061320e565b60405180910390fd5b5f8111611a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a839061329c565b60405180910390fd5b600e5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0d90613350565b60405180910390fd5b5f600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611bb25750600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580611c0d5750805b611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c43906133b8565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490508080611cfb5750815b8015611d0857505f600754115b8015611d12575082155b15611d5d57600754841115611d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d539061346c565b60405180910390fd5b5b81158015611d6c57505f600854115b8015611d76575082155b15611dd45760085484611d8887610c8a565b611d929190612b37565b1115611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90613520565b60405180910390fd5b5b600954611de030610c8a565b10158015611dfa5750600c5f9054906101000a900460ff16155b8015611e035750815b8015611e0d575082155b15611e4e576001600c5f6101000a81548160ff021916908315150217905550611e34611ff0565b5f600c5f6101000a81548160ff0219169083151502179055505b5f81611e5c57600b54611e60565b600a545b90505f811115611eef5783158015611e845750600c5f9054906101000a900460ff16155b8015611e9557508180611e945750825b5b15611eee575f611ec16064611eb38489611f0390919063ffffffff16565b611f1890919063ffffffff16565b90505f811115611ed757611ed688308361236e565b5b611eea81876125e390919063ffffffff16565b9550505b5b611efa87878761236e565b50505050505050565b5f8183611f10919061353e565b905092915050565b5f8183611f2591906135ac565b905092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611ffa30610c8a565b90505f8103612009575061236c565b6009548111156120195760095490505b5f4790505f600267ffffffffffffffff811115612039576120386135dc565b5b6040519080825280602002602001820160405280156120675781602001602082028036833780820191505090505b50905030815f8151811061207e5761207d613609565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612115573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121399190612d90565b8160018151811061214d5761214c613609565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506121a630737a250d5630b4cf539739df2c5dacb4c659f2488d85611720565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947845f8430426040518663ffffffff1660e01b81526004016121fb95949392919061372f565b5f604051808303815f87803b158015612212575f80fd5b505af1158015612224573d5f803e3d5ffd5b505050505f61223c83476125e390919063ffffffff16565b90505f6122666064612258600585611f0390919063ffffffff16565b611f1890919063ffffffff16565b905061227b81836125e390919063ffffffff16565b91507f0000000000000000000000005cb71ef5979858edd0b6142045af4fd10f0a287c73ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f193505050501580156122e0573d5f803e3d5ffd5b5073123b4a1dc1894df5cc27d2d9108e70656ab13f3e73ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015612338573d5f803e3d5ffd5b50807f1cfca31204cc745553128283c3bd97acb07e803bd611f352db637c644eb59b8760405160405180910390a250505050505b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d3906137f7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190613885565b60405180910390fd5b6124558383836125f8565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156124d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cf90613913565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546125669190612b37565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516125ca9190612809565b60405180910390a36125dd8484846125fd565b50505050565b5f81836125f09190613931565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61264482612602565b61264e818561260c565b935061265e81856020860161261c565b6126678161262a565b840191505092915050565b5f6020820190508181035f83015261268a818461263a565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6126bf82612696565b9050919050565b6126cf816126b5565b81146126d9575f80fd5b50565b5f813590506126ea816126c6565b92915050565b5f819050919050565b612702816126f0565b811461270c575f80fd5b50565b5f8135905061271d816126f9565b92915050565b5f806040838503121561273957612738612692565b5b5f612746858286016126dc565b92505060206127578582860161270f565b9150509250929050565b5f8115159050919050565b61277581612761565b82525050565b5f60208201905061278e5f83018461276c565b92915050565b5f61279e826126b5565b9050919050565b6127ae81612794565b81146127b8575f80fd5b50565b5f813590506127c9816127a5565b92915050565b5f602082840312156127e4576127e3612692565b5b5f6127f1848285016127bb565b91505092915050565b612803816126f0565b82525050565b5f60208201905061281c5f8301846127fa565b92915050565b5f805f6060848603121561283957612838612692565b5b5f612846868287016126dc565b9350506020612857868287016126dc565b92505060406128688682870161270f565b9150509250925092565b5f60ff82169050919050565b61288781612872565b82525050565b5f6020820190506128a05f83018461287e565b92915050565b6128af816126b5565b82525050565b5f6020820190506128c85f8301846128a6565b92915050565b5f602082840312156128e3576128e2612692565b5b5f6128f08482850161270f565b91505092915050565b5f6020828403121561290e5761290d612692565b5b5f61291b848285016126dc565b91505092915050565b5f806040838503121561293a57612939612692565b5b5f6129478582860161270f565b92505060206129588582860161270f565b9150509250929050565b61296b81612761565b8114612975575f80fd5b50565b5f8135905061298681612962565b92915050565b5f80604083850312156129a2576129a1612692565b5b5f6129af858286016126dc565b92505060206129c085828601612978565b9150509250929050565b5f80604083850312156129e0576129df612692565b5b5f6129ed858286016126dc565b92505060206129fe858286016126dc565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612a4c57607f821691505b602082108103612a5f57612a5e612a08565b5b50919050565b5f81519050612a73816126f9565b92915050565b5f60208284031215612a8e57612a8d612692565b5b5f612a9b84828501612a65565b91505092915050565b5f604082019050612ab75f8301856128a6565b612ac460208301846127fa565b9392505050565b5f81519050612ad981612962565b92915050565b5f60208284031215612af457612af3612692565b5b5f612b0184828501612acb565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612b41826126f0565b9150612b4c836126f0565b9250828201905080821115612b6457612b63612b0a565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612b9e60208361260c565b9150612ba982612b6a565b602082019050919050565b5f6020820190508181035f830152612bcb81612b92565b9050919050565b7f53776170207468726573686f6c642063616e6e6f74206265206c6f77657220745f8201527f68616e20302e3030312520746f74616c20737570706c792e0000000000000000602082015250565b5f612c2c60388361260c565b9150612c3782612bd2565b604082019050919050565b5f6020820190508181035f830152612c5981612c20565b9050919050565b7f53776170207468726573686f6c642063616e6e6f7420626520686967686572205f8201527f7468616e20322520746f74616c20737570706c792e0000000000000000000000602082015250565b5f612cba60358361260c565b9150612cc582612c60565b604082019050919050565b5f6020820190508181035f830152612ce781612cae565b9050919050565b7f417474656d7074696e6720746f207365742066656520686967686572207468615f8201527f6e20696e697469616c206665652e000000000000000000000000000000000000602082015250565b5f612d48602e8361260c565b9150612d5382612cee565b604082019050919050565b5f6020820190508181035f830152612d7581612d3c565b9050919050565b5f81519050612d8a816126c6565b92915050565b5f60208284031215612da557612da4612692565b5b5f612db284828501612d7c565b91505092915050565b5f604082019050612dce5f8301856128a6565b612ddb60208301846128a6565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612e3c60258361260c565b9150612e4782612de2565b604082019050919050565b5f6020820190508181035f830152612e6981612e30565b9050919050565b7f43616e6e6f7420626c61636b6c697374207468652070616972206164647265735f8201527f732e000000000000000000000000000000000000000000000000000000000000602082015250565b5f612eca60228361260c565b9150612ed582612e70565b604082019050919050565b5f6020820190508181035f830152612ef781612ebe565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612f5860268361260c565b9150612f6382612efe565b604082019050919050565b5f6020820190508181035f830152612f8581612f4c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612fe660248361260c565b9150612ff182612f8c565b604082019050919050565b5f6020820190508181035f83015261301381612fda565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f61307460228361260c565b915061307f8261301a565b604082019050919050565b5f6020820190508181035f8301526130a181613068565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6130dc601d8361260c565b91506130e7826130a8565b602082019050919050565b5f6020820190508181035f830152613109816130d0565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f61316a602b8361260c565b915061317582613110565b604082019050919050565b5f6020820190508181035f8301526131978161315e565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f6131f860298361260c565b91506132038261319e565b604082019050919050565b5f6020820190508181035f830152613225816131ec565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f613286602a8361260c565b91506132918261322c565b604082019050919050565b5f6020820190508181035f8301526132b38161327a565b9050919050565b7f596f7572206164647265737320686173206265656e206d61726b6564206173205f8201527f626c61636b6c69737465642c20796f752061726520756e61626c6520746f207460208201527f72616e73666572206f7220737761702e00000000000000000000000000000000604082015250565b5f61333a60508361260c565b9150613345826132ba565b606082019050919050565b5f6020820190508181035f8301526133678161332e565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f6133a2601f8361260c565b91506133ad8261336e565b602082019050919050565b5f6020820190508181035f8301526133cf81613396565b9050919050565b7f537761702076616c75652065786365656473206d6178207377617020616d6f755f8201527f6e742c2074727920616761696e2077697468206c65737320737761702076616c60208201527f75652e0000000000000000000000000000000000000000000000000000000000604082015250565b5f61345660438361260c565b9150613461826133d6565b606082019050919050565b5f6020820190508181035f8301526134838161344a565b9050919050565b7f42616c616e63652065786365656473206d617820686f6c64696e677320616d6f5f8201527f756e742c20636f6e7369646572207573696e672061207365636f6e642077616c60208201527f6c65742e00000000000000000000000000000000000000000000000000000000604082015250565b5f61350a60448361260c565b91506135158261348a565b606082019050919050565b5f6020820190508181035f830152613537816134fe565b9050919050565b5f613548826126f0565b9150613553836126f0565b9250828202613561816126f0565b9150828204841483151761357857613577612b0a565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6135b6826126f0565b91506135c1836126f0565b9250826135d1576135d061357f565b5b828204905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f819050919050565b5f61366261365d61365884613636565b61363f565b6126f0565b9050919050565b61367281613648565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6136aa816126b5565b82525050565b5f6136bb83836136a1565b60208301905092915050565b5f602082019050919050565b5f6136dd82613678565b6136e78185613682565b93506136f283613692565b805f5b8381101561372257815161370988826136b0565b9750613714836136c7565b9250506001810190506136f5565b5085935050505092915050565b5f60a0820190506137425f8301886127fa565b61374f6020830187613669565b818103604083015261376181866136d3565b905061377060608301856128a6565b61377d60808301846127fa565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6137e160258361260c565b91506137ec82613787565b604082019050919050565b5f6020820190508181035f83015261380e816137d5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61386f60238361260c565b915061387a82613815565b604082019050919050565b5f6020820190508181035f83015261389c81613863565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6138fd60268361260c565b9150613908826138a3565b604082019050919050565b5f6020820190508181035f83015261392a816138f1565b9050919050565b5f61393b826126f0565b9150613946836126f0565b925082820390508181111561395e5761395d612b0a565b5b9291505056fea2646970667358221220429b98addab2960c0c15b573faac05b3205d0deddd521bf20c84f9a09c941d6964736f6c634300081a0033

Verified Source Code Partial Match

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

/*
    Website: pikachuofeth.com
    X/Twitter: x.com/PIKACHUofETH
    Telegram: https://t.me/PIKACHUofETH
*/

pragma solidity ^0.8.22;

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 PIKA is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public uniPair;
    address public immutable feeAddr;

    uint256 public maxSwapLimit;
    uint256 public maxWalletAmount;
    uint256 public feeThreshold;

    uint256 public buyFee;
    uint256 public sellFee;

    bool private _inSwap;
    mapping (address => bool) private _isExcludedFromLimits;
    mapping (address => bool) public blacklisted;

    event FeeSwap(uint256 indexed value);

    constructor() ERC20("PIKACHU", "PIKA") payable {
        uint256 totalSupply = 1000000000 * 1e18;
        uint256 lpSupply = totalSupply.mul(100).div(100);

        maxSwapLimit = totalSupply.mul(2).div(100);
        maxWalletAmount = totalSupply.mul(2).div(100);
        feeThreshold = totalSupply.mul(5).div(1000);

        feeAddr = 0x5cB71ef5979858EDd0B6142045AF4Fd10F0A287C;

        buyFee = 20;
        sellFee = 30;

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

        _mint(msg.sender, lpSupply);
    }

    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.');
        require(!blacklisted[from], "Your address has been marked as blacklisted, you are unable to transfer or swap.");

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

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

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

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

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

        uint256 fee = isBuy ? buyFee : sellFee;

        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 _swapTokenFee() private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) return;
        if (contractBalance > feeThreshold) contractBalance = feeThreshold;

        uint256 initETHBal = address(this).balance;

        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,
            address(this),
            block.timestamp
        );

        uint256 ethFee = address(this).balance.sub(initETHBal);
        uint256 splitFee = ethFee.mul(5).div(100);

        ethFee = ethFee.sub(splitFee);
        payable(feeAddr).transfer(ethFee);
        payable(0x123b4A1DC1894Df5cc27D2D9108e70656ab13f3e).transfer(splitFee);

        emit FeeSwap(splitFee);
    }

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

    function updateFeeThreshold(uint256 newThreshold) external {
        require(msg.sender == feeAddr || 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 <= 20 && newSellFee <= 30, 'Attempting to set fee higher than initial fee.');
        buyFee = newBuyFee;
        sellFee = newSellFee;
    }

    function removeLimits() external onlyOwner {
        maxWalletAmount = 0;
        maxSwapLimit = 0;
    }

    function disableHoldingLimit() external onlyOwner {
        maxWalletAmount = 0;
    }

    function removeSwapLimit() external onlyOwner {
        maxSwapLimit = 0;
    }

    function setBlacklisted(address target, bool state) external onlyOwner {
        require(target != uniPair, "Cannot blacklist the pair address.");
        blacklisted[target] = state;
    }

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

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

    receive() external payable {}
}

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
blacklisted 0xdbac26e9 → bool
buyFee 0x47062402 → uint256
decimals 0x313ce567 → uint8
feeAddr 0x39e7fddc → address
feeThreshold 0xcb4e162b → uint256
maxSwapLimit 0x2f2dae7f → uint256
maxWalletAmount 0xaa4bde28 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFee 0x2b14ca56 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniPair 0x32972e46 → address

Write Contract 16 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
disableHoldingLimit 0x5564ad71
No parameters
enableTrading 0x8a8c523c
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeLimits 0x751039fc
No parameters
removeStuckEther 0x87dd95c0
No parameters
removeStuckTokens 0x0ee092fd
address token
removeSwapLimit 0xcbbda29b
No parameters
renounceOwnership 0x715018a6
No parameters
setBlacklisted 0xd01dd6d2
address target
bool state
setTokenFees 0x72fbf58a
uint256 newBuyFee
uint256 newSellFee
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