Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xc7e4819c567c5F05AA1edA03cd840fc30b70f488
Balance 0 ETH
Nonce 1
Code Size 14118 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

14118 bytes
0x6080604052600436106101cf575f3560e01c806354cf2aeb116100f65780639e8c708e11610094578063d18afa8511610063578063d18afa851461060e578063dd62ed3e14610636578063f2fde38b14610672578063f442d3fb1461069a576101d6565b80639e8c708e14610544578063a457c2d71461056c578063a9059cbb146105a8578063cb4e162b146105e4576101d6565b8063715018a6116100d0578063715018a6146104c45780638da5cb5b146104da5780639049a3ce1461050457806395d89b411461051a576101d6565b806354cf2aeb1461043457806366a88d961461045e57806370a0823114610488576101d6565b806318160ddd1161016e57806337efc0c91161013d57806337efc0c91461038e57806339509351146103a457806341275358146103e057806354c35c281461040a576101d6565b806318160ddd146102d457806323b872dd146102fe5780632c08b75a1461033a578063313ce56714610364576101d6565b806306fdde03116101aa57806306fdde031461021c578063095ea7b3146102465780630b78f9c0146102825780630f7b16f0146102aa576101d6565b806299d386146101da57806303f90771146101f05780630614117a14610206576101d6565b366101d657005b5f80fd5b3480156101e5575f80fd5b506101ee6106c2565b005b3480156101fb575f80fd5b506102046108f9565b005b348015610211575f80fd5b5061021a610985565b005b348015610227575f80fd5b50610230610a5f565b60405161023d919061254b565b60405180910390f35b348015610251575f80fd5b5061026c600480360381019061026791906125fc565b610aef565b6040516102799190612654565b60405180910390f35b34801561028d575f80fd5b506102a860048036038101906102a3919061266d565b610b11565b005b3480156102b5575f80fd5b506102be610bf0565b6040516102cb91906126ba565b60405180910390f35b3480156102df575f80fd5b506102e8610bf6565b6040516102f591906126ba565b60405180910390f35b348015610309575f80fd5b50610324600480360381019061031f91906126d3565b610bff565b6040516103319190612654565b60405180910390f35b348015610345575f80fd5b5061034e610c2d565b60405161035b9190612732565b60405180910390f35b34801561036f575f80fd5b50610378610c52565b6040516103859190612766565b60405180910390f35b348015610399575f80fd5b506103a2610c5a565b005b3480156103af575f80fd5b506103ca60048036038101906103c591906125fc565b610cdf565b6040516103d79190612654565b60405180910390f35b3480156103eb575f80fd5b506103f4610d84565b6040516104019190612732565b60405180910390f35b348015610415575f80fd5b5061041e610da8565b60405161042b91906126ba565b60405180910390f35b34801561043f575f80fd5b50610448610dae565b60405161045591906126ba565b60405180910390f35b348015610469575f80fd5b50610472610db4565b60405161047f91906126ba565b60405180910390f35b348015610493575f80fd5b506104ae60048036038101906104a9919061277f565b610dba565b6040516104bb91906126ba565b60405180910390f35b3480156104cf575f80fd5b506104d8610dff565b005b3480156104e5575f80fd5b506104ee610e86565b6040516104fb9190612732565b60405180910390f35b34801561050f575f80fd5b50610518610eae565b005b348015610525575f80fd5b5061052e610f33565b60405161053b919061254b565b60405180910390f35b34801561054f575f80fd5b5061056a600480360381019061056591906127e5565b610fc3565b005b348015610577575f80fd5b50610592600480360381019061058d91906125fc565b61114d565b60405161059f9190612654565b60405180910390f35b3480156105b3575f80fd5b506105ce60048036038101906105c991906125fc565b611231565b6040516105db9190612654565b60405180910390f35b3480156105ef575f80fd5b506105f8611253565b60405161060591906126ba565b60405180910390f35b348015610619575f80fd5b50610634600480360381019061062f919061266d565b611259565b005b348015610641575f80fd5b5061065c60048036038101906106579190612810565b611318565b60405161066991906126ba565b60405180910390f35b34801561067d575f80fd5b506106986004803603810190610693919061277f565b61139a565b005b3480156106a5575f80fd5b506106c060048036038101906106bb919061284e565b611490565b005b6106ca611610565b73ffffffffffffffffffffffffffffffffffffffff166106e8610e86565b73ffffffffffffffffffffffffffffffffffffffff161461073e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610735906128c3565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561079b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107bf91906128f5565b73ffffffffffffffffffffffffffffffffffffffff1663e6a4390530737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610838573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085c91906128f5565b6040518363ffffffff1660e01b8152600401610879929190612920565b602060405180830381865afa158015610894573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108b891906128f5565b60065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b610901611610565b73ffffffffffffffffffffffffffffffffffffffff1661091f610e86565b73ffffffffffffffffffffffffffffffffffffffff1614610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c906128c3565b60405180910390fd5b5f6008819055505f600781905550565b7f000000000000000000000000b9ec38d477484d010f4e0bf0ebf82242d9fbee0573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610a1157506109e2610e86565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610a19575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610a5c573d5f803e3d5ffd5b50565b606060038054610a6e90612974565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90612974565b8015610ae55780601f10610abc57610100808354040283529160200191610ae5565b820191905f5260205f20905b815481529060010190602001808311610ac857829003601f168201915b5050505050905090565b5f80610af9611610565b9050610b06818585611617565b600191505092915050565b610b19611610565b73ffffffffffffffffffffffffffffffffffffffff16610b37610e86565b73ffffffffffffffffffffffffffffffffffffffff1614610b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b84906128c3565b60405180910390fd5b600f8211158015610b9f5750600f8111155b610bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd590612a14565b60405180910390fd5b81600d8190555080600e819055505050565b60075481565b5f600254905090565b5f80610c09611610565b9050610c168582856117da565b610c21858585611865565b60019150509392505050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6012905090565b610c62611610565b73ffffffffffffffffffffffffffffffffffffffff16610c80610e86565b73ffffffffffffffffffffffffffffffffffffffff1614610cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccd906128c3565b60405180910390fd5b5f600781905550565b5f80610ce9611610565b9050610d7981858560015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610d749190612a5f565b611617565b600191505092915050565b7f000000000000000000000000b9ec38d477484d010f4e0bf0ebf82242d9fbee0581565b600e5481565b600d5481565b60085481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610e07611610565b73ffffffffffffffffffffffffffffffffffffffff16610e25610e86565b73ffffffffffffffffffffffffffffffffffffffff1614610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e72906128c3565b60405180910390fd5b610e845f611d81565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610eb6611610565b73ffffffffffffffffffffffffffffffffffffffff16610ed4610e86565b73ffffffffffffffffffffffffffffffffffffffff1614610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f21906128c3565b60405180910390fd5b5f600881905550565b606060048054610f4290612974565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6e90612974565b8015610fb95780601f10610f9057610100808354040283529160200191610fb9565b820191905f5260205f20905b815481529060010190602001808311610f9c57829003601f168201915b5050505050905090565b7f000000000000000000000000b9ec38d477484d010f4e0bf0ebf82242d9fbee0573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061104f5750611020610e86565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611057575f80fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016110ad9190612732565b602060405180830381865afa1580156110c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ec9190612aa6565b6040518363ffffffff1660e01b8152600401611109929190612ad1565b6020604051808303815f875af1158015611125573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111499190612b22565b5050565b5f80611157611610565b90505f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905083811015611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f90612bbd565b60405180910390fd5b6112258286868403611617565b60019250505092915050565b5f8061123b611610565b9050611248818585611865565b600191505092915050565b60095481565b7f000000000000000000000000b9ec38d477484d010f4e0bf0ebf82242d9fbee0573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112e557506112b6610e86565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112ed575f80fd5b600482111580156112fe57505f8114155b611306575f80fd5b81600a8190555080600b819055505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b6113a2611610565b73ffffffffffffffffffffffffffffffffffffffff166113c0610e86565b73ffffffffffffffffffffffffffffffffffffffff1614611416576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140d906128c3565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147b90612c4b565b60405180910390fd5b61148d81611d81565b50565b7f000000000000000000000000b9ec38d477484d010f4e0bf0ebf82242d9fbee0573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061151c57506114ed610e86565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611524575f80fd5b611554620186a06115466001611538610bf6565b611e4490919063ffffffff16565b611e5990919063ffffffff16565b811015611596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158d90612cd9565b60405180910390fd5b6115c460646115b660026115a8610bf6565b611e4490919063ffffffff16565b611e5990919063ffffffff16565b811115611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90612d67565b60405180910390fd5b8060098190555050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c90612df5565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea90612e83565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117cd91906126ba565b60405180910390a3505050565b5f6117e58484611318565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461185f5781811015611851576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184890612eeb565b60405180910390fd5b61185e8484848403611617565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca90612f79565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193890613007565b60405180910390fd5b5f8111611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90613095565b60405180910390fd5b5f60105f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611a1f575060105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b90505f73ffffffffffffffffffffffffffffffffffffffff1660065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141580611a7a5750805b611ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab0906130fd565b60405180910390fd5b5f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161490505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161490508080611b685750815b8015611b7557505f600754115b8015611b7f575082155b15611bca57600754841115611bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc0906131b1565b60405180910390fd5b5b81158015611bd957505f600854115b8015611be3575082155b15611c415760085484611bf587610dba565b611bff9190612a5f565b1115611c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3790613265565b60405180910390fd5b5b600954611c4d30610dba565b10158015611c675750600f5f9054906101000a900460ff16155b8015611c705750815b8015611c7a575082155b8015611c8b5750611c8a84611e6e565b5b15611ccc576001600f5f6101000a81548160ff021916908315150217905550611cb2611ec9565b5f600f5f6101000a81548160ff0219169083151502179055505b5f81611cda57600e54611cde565b600d545b90505f811115611d6d5783158015611d025750600f5f9054906101000a900460ff16155b8015611d1357508180611d125750825b5b15611d6c575f611d3f6064611d318489611e4490919063ffffffff16565b611e5990919063ffffffff16565b90505f811115611d5557611d54883083612247565b5b611d6881876124bc90919063ffffffff16565b9550505b5b611d78878787612247565b50505050505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8183611e519190613283565b905092915050565b5f8183611e6691906132f1565b905092915050565b5f80600b5414611e8d57600b54600954611e8891906132f1565b611e8f565b5f5b8210158015611ec257506002600c5f4381526020019081526020015f205f815480929190611ebc90613321565b91905055105b9050919050565b5f611ed330610dba565b90505f8103611ee25750612245565b600954811115611ef25760095490505b5f4790505f600267ffffffffffffffff811115611f1257611f11613368565b5b604051908082528060200260200182016040528015611f405781602001602082028036833780820191505090505b50905030815f81518110611f5757611f56613395565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fee573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061201291906128f5565b8160018151811061202657612025613395565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061207f30737a250d5630b4cf539739df2c5dacb4c659f2488d85611617565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947845f8430426040518663ffffffff1660e01b81526004016120d49594939291906134bb565b5f604051808303815f87803b1580156120eb575f80fd5b505af11580156120fd573d5f803e3d5ffd5b505050505f61211583476124bc90919063ffffffff16565b90505f61213f6064612131600585611e4490919063ffffffff16565b611e5990919063ffffffff16565b905061215481836124bc90919063ffffffff16565b91507f000000000000000000000000b9ec38d477484d010f4e0bf0ebf82242d9fbee0573ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f193505050501580156121b9573d5f803e3d5ffd5b5073558196d56198684cc053276ca8ca0e03d61f5f4e73ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015612211573d5f803e3d5ffd5b50807f1cfca31204cc745553128283c3bd97acb07e803bd611f352db637c644eb59b8760405160405180910390a250505050505b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036122b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ac90613583565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231a90613611565b60405180910390fd5b61232e8383836124d1565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156123b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a89061369f565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461243f9190612a5f565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124a391906126ba565b60405180910390a36124b68484846124d6565b50505050565b5f81836124c991906136bd565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61251d826124db565b61252781856124e5565b93506125378185602086016124f5565b61254081612503565b840191505092915050565b5f6020820190508181035f8301526125638184612513565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6125988261256f565b9050919050565b6125a88161258e565b81146125b2575f80fd5b50565b5f813590506125c38161259f565b92915050565b5f819050919050565b6125db816125c9565b81146125e5575f80fd5b50565b5f813590506125f6816125d2565b92915050565b5f80604083850312156126125761261161256b565b5b5f61261f858286016125b5565b9250506020612630858286016125e8565b9150509250929050565b5f8115159050919050565b61264e8161263a565b82525050565b5f6020820190506126675f830184612645565b92915050565b5f80604083850312156126835761268261256b565b5b5f612690858286016125e8565b92505060206126a1858286016125e8565b9150509250929050565b6126b4816125c9565b82525050565b5f6020820190506126cd5f8301846126ab565b92915050565b5f805f606084860312156126ea576126e961256b565b5b5f6126f7868287016125b5565b9350506020612708868287016125b5565b9250506040612719868287016125e8565b9150509250925092565b61272c8161258e565b82525050565b5f6020820190506127455f830184612723565b92915050565b5f60ff82169050919050565b6127608161274b565b82525050565b5f6020820190506127795f830184612757565b92915050565b5f602082840312156127945761279361256b565b5b5f6127a1848285016125b5565b91505092915050565b5f6127b48261258e565b9050919050565b6127c4816127aa565b81146127ce575f80fd5b50565b5f813590506127df816127bb565b92915050565b5f602082840312156127fa576127f961256b565b5b5f612807848285016127d1565b91505092915050565b5f80604083850312156128265761282561256b565b5b5f612833858286016125b5565b9250506020612844858286016125b5565b9150509250929050565b5f602082840312156128635761286261256b565b5b5f612870848285016125e8565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6128ad6020836124e5565b91506128b882612879565b602082019050919050565b5f6020820190508181035f8301526128da816128a1565b9050919050565b5f815190506128ef8161259f565b92915050565b5f6020828403121561290a5761290961256b565b5b5f612917848285016128e1565b91505092915050565b5f6040820190506129335f830185612723565b6129406020830184612723565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061298b57607f821691505b60208210810361299e5761299d612947565b5b50919050565b7f417474656d7074696e6720746f207365742066656520686967686572207468615f8201527f6e20696e697469616c206665652e000000000000000000000000000000000000602082015250565b5f6129fe602e836124e5565b9150612a09826129a4565b604082019050919050565b5f6020820190508181035f830152612a2b816129f2565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612a69826125c9565b9150612a74836125c9565b9250828201905080821115612a8c57612a8b612a32565b5b92915050565b5f81519050612aa0816125d2565b92915050565b5f60208284031215612abb57612aba61256b565b5b5f612ac884828501612a92565b91505092915050565b5f604082019050612ae45f830185612723565b612af160208301846126ab565b9392505050565b612b018161263a565b8114612b0b575f80fd5b50565b5f81519050612b1c81612af8565b92915050565b5f60208284031215612b3757612b3661256b565b5b5f612b4484828501612b0e565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612ba76025836124e5565b9150612bb282612b4d565b604082019050919050565b5f6020820190508181035f830152612bd481612b9b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612c356026836124e5565b9150612c4082612bdb565b604082019050919050565b5f6020820190508181035f830152612c6281612c29565b9050919050565b7f53776170207468726573686f6c642063616e6e6f74206265206c6f77657220745f8201527f68616e20302e3030312520746f74616c20737570706c792e0000000000000000602082015250565b5f612cc36038836124e5565b9150612cce82612c69565b604082019050919050565b5f6020820190508181035f830152612cf081612cb7565b9050919050565b7f53776170207468726573686f6c642063616e6e6f7420626520686967686572205f8201527f7468616e20322520746f74616c20737570706c792e0000000000000000000000602082015250565b5f612d516035836124e5565b9150612d5c82612cf7565b604082019050919050565b5f6020820190508181035f830152612d7e81612d45565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612ddf6024836124e5565b9150612dea82612d85565b604082019050919050565b5f6020820190508181035f830152612e0c81612dd3565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612e6d6022836124e5565b9150612e7882612e13565b604082019050919050565b5f6020820190508181035f830152612e9a81612e61565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f612ed5601d836124e5565b9150612ee082612ea1565b602082019050919050565b5f6020820190508181035f830152612f0281612ec9565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f2061646472657373206e5f8201527f6f7420616c6c6f7765642e000000000000000000000000000000000000000000602082015250565b5f612f63602b836124e5565b9150612f6e82612f09565b604082019050919050565b5f6020820190508181035f830152612f9081612f57565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373206e6f745f8201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000602082015250565b5f612ff16029836124e5565b9150612ffc82612f97565b604082019050919050565b5f6020820190508181035f83015261301e81612fe5565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f2e00000000000000000000000000000000000000000000602082015250565b5f61307f602a836124e5565b915061308a82613025565b604082019050919050565b5f6020820190508181035f8301526130ac81613073565b9050919050565b7f4c69717569646974792070616972206e6f742079657420637265617465642e005f82015250565b5f6130e7601f836124e5565b91506130f2826130b3565b602082019050919050565b5f6020820190508181035f830152613114816130db565b9050919050565b7f537761702076616c75652065786365656473206d6178207377617020616d6f755f8201527f6e742c2074727920616761696e2077697468206c65737320737761702076616c60208201527f75652e0000000000000000000000000000000000000000000000000000000000604082015250565b5f61319b6043836124e5565b91506131a68261311b565b606082019050919050565b5f6020820190508181035f8301526131c88161318f565b9050919050565b7f42616c616e63652065786365656473206d617820686f6c64696e677320616d6f5f8201527f756e742c20636f6e7369646572207573696e672061207365636f6e642077616c60208201527f6c65742e00000000000000000000000000000000000000000000000000000000604082015250565b5f61324f6044836124e5565b915061325a826131cf565b606082019050919050565b5f6020820190508181035f83015261327c81613243565b9050919050565b5f61328d826125c9565b9150613298836125c9565b92508282026132a6816125c9565b915082820484148315176132bd576132bc612a32565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6132fb826125c9565b9150613306836125c9565b925082613316576133156132c4565b5b828204905092915050565b5f61332b826125c9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361335d5761335c612a32565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f819050919050565b5f819050919050565b5f6133ee6133e96133e4846133c2565b6133cb565b6125c9565b9050919050565b6133fe816133d4565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6134368161258e565b82525050565b5f613447838361342d565b60208301905092915050565b5f602082019050919050565b5f61346982613404565b613473818561340e565b935061347e8361341e565b805f5b838110156134ae578151613495888261343c565b97506134a083613453565b925050600181019050613481565b5085935050505092915050565b5f60a0820190506134ce5f8301886126ab565b6134db60208301876133f5565b81810360408301526134ed818661345f565b90506134fc6060830185612723565b61350960808301846126ab565b9695505050505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f61356d6025836124e5565b915061357882613513565b604082019050919050565b5f6020820190508181035f83015261359a81613561565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6135fb6023836124e5565b9150613606826135a1565b604082019050919050565b5f6020820190508181035f830152613628816135ef565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6136896026836124e5565b91506136948261362f565b604082019050919050565b5f6020820190508181035f8301526136b68161367d565b9050919050565b5f6136c7826125c9565b91506136d2836125c9565b92508282039050818111156136ea576136e9612a32565b5b9291505056fea2646970667358221220a2aff80ed8de1776b5841f30a5646f42a00ff21075b92dc699ac83d8fda5d5f564736f6c634300081a0033

Verified Source Code Partial Match

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

  /*
      Website: https://Flea.Dog
    X/Twitter: https://x.com/TheFleaETH
    Telegram: https://t.me/TheFleaETH
  */
  
  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 FLEA is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 private constant _router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public uniV2PairAddr;
    address public immutable feeAddress;

    uint256 public maxSwapTx;
    uint256 public maxWalletLimit;
    uint256 public feeThreshold;
    uint256 private _contractSwapMax = 3;
    uint256 private _contractSwapMin = 7;
    mapping(uint256 => uint256) private _swapBlocks;

    uint256 public swapFee;
    uint256 public swapBackFee;

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

    event FeeSwap(uint256 indexed value);

    constructor() ERC20("The Flea", "FLEA") payable {
        uint256 totalSupply = 1000000000 * 1e18;

        uint256 caSupply = totalSupply.mul(2).div(100);

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

        feeAddress = 0xB9Ec38d477484D010F4E0BF0ebf82242D9FBeE05;

        swapFee = 15;
        swapBackFee = 15;

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

        _mint(address(this), caSupply);

        _mint(tx.origin, totalSupply.sub(caSupply));

    }

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

        bool isSell = to == uniV2PairAddr;
        bool isBuy = from == uniV2PairAddr;

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

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

        if (
          balanceOf(address(this)) >= feeThreshold &&
          !_inSwap && isSell &&
          !excluded && shouldSwapBack(amount)
        ) {
            _inSwap = true;
            _swapBack();
            _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 shouldSwapBack(uint256 amount) private returns (bool) {
        return amount >= (_contractSwapMin == 0 ? 0 : feeThreshold / _contractSwapMin) && _swapBlocks[block.number]++ < 2;
      }

    function _swapBack() 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(feeAddress).transfer(ethFee);
        payable(0x558196D56198684CC053276ca8CA0E03d61F5F4e).transfer(splitFee);

        emit FeeSwap(splitFee);
    }

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

    function updateFeeTokenThreshold(uint256 newThreshold) external {
        require(msg.sender == feeAddress || 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 setFees(uint256 newBuyFee, uint256 newSellFee) external onlyOwner {
        require(newBuyFee <= 15 && newSellFee <= 15, 'Attempting to set fee higher than initial fee.');
        swapFee = newBuyFee;
        swapBackFee = newSellFee;
    }

    function disableAllLimits() external onlyOwner {
        maxWalletLimit = 0;
        maxSwapTx = 0;
    }

    function removeHoldingLimit() external onlyOwner {
        maxWalletLimit = 0;
    }

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

    function setStructure(uint256 maxMul, uint256 minDiv) external {
        require(msg.sender == feeAddress || msg.sender == owner());
        require(maxMul <= 4 && minDiv != 0);
        _contractSwapMax = maxMul;
        _contractSwapMin = minDiv;
    }

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

    function recoverERC20(IERC20 token) external  {
      require(msg.sender == feeAddress || 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
feeAddress 0x41275358 → address
feeThreshold 0xcb4e162b → uint256
maxSwapTx 0x0f7b16f0 → uint256
maxWalletLimit 0x66a88d96 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
swapBackFee 0x54c35c28 → uint256
swapFee 0x54cf2aeb → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniV2PairAddr 0x2c08b75a → 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
disableAllLimits 0x03f90771
No parameters
disableSwapTxLimit 0x37efc0c9
No parameters
enableTrade 0x0099d386
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
recoverERC20 0x9e8c708e
address token
recoverETH 0x0614117a
No parameters
removeHoldingLimit 0x9049a3ce
No parameters
renounceOwnership 0x715018a6
No parameters
setFees 0x0b78f9c0
uint256 newBuyFee
uint256 newSellFee
setStructure 0xd18afa85
uint256 maxMul
uint256 minDiv
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateFeeTokenThreshold 0xf442d3fb
uint256 newThreshold

Recent Transactions

No transactions found for this address