Cryo Explorer Ethereum Mainnet

Address Contract Verified

Address 0x27af9E086873f1f82D52d487b59e1eFCcc782e14
Balance 0 ETH
Nonce 1
Code Size 12379 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

12379 bytes
0x608060405260043610610138575f3560e01c80636b8ed0cf116100aa5780638da5cb5b1161006e5780638da5cb5b146103c557806395d89b41146103ef578063a9059cbb14610419578063bdda444a14610455578063dd62ed3e1461046b578063fc547079146104a75761013f565b80636b8ed0cf146102f957806370a0823114610321578063715018a61461035d5780637362377b1461037357806386cf09f8146103895761013f565b806323b872dd116100fc57806323b872dd146102275780632db88f8114610263578063313ce5671461028d5780634bc9ba0b146102b7578063593c52e4146102cd578063645c3b86146102e35761013f565b806306fdde0314610143578063095ea7b31461016d5780630a28aa43146101a95780630b062be6146101d357806318160ddd146101fd5761013f565b3661013f57005b5f80fd5b34801561014e575f80fd5b506101576104d1565b604051610164919061207e565b60405180910390f35b348015610178575f80fd5b50610193600480360381019061018e919061212f565b610561565b6040516101a09190612187565b60405180910390f35b3480156101b4575f80fd5b506101bd61057e565b6040516101ca91906121af565b60405180910390f35b3480156101de575f80fd5b506101e7610584565b6040516101f491906121af565b60405180910390f35b348015610208575f80fd5b5061021161058a565b60405161021e91906121af565b60405180910390f35b348015610232575f80fd5b5061024d600480360381019061024891906121c8565b6105ad565b60405161025a9190612187565b60405180910390f35b34801561026e575f80fd5b50610277610681565b60405161028491906121af565b60405180910390f35b348015610298575f80fd5b506102a1610687565b6040516102ae9190612233565b60405180910390f35b3480156102c2575f80fd5b506102cb61068f565b005b3480156102d8575f80fd5b506102e1610726565b005b3480156102ee575f80fd5b506102f7610927565b005b348015610304575f80fd5b5061031f600480360381019061031a919061212f565b610a56565b005b34801561032c575f80fd5b506103476004803603810190610342919061224c565b610b56565b60405161035491906121af565b60405180910390f35b348015610368575f80fd5b50610371610b9c565b005b34801561037e575f80fd5b50610387610cea565b005b348015610394575f80fd5b506103af60048036038101906103aa9190612277565b610db0565b6040516103bc9190612187565b60405180910390f35b3480156103d0575f80fd5b506103d9610ea0565b6040516103e691906122b1565b60405180910390f35b3480156103fa575f80fd5b50610403610ec7565b604051610410919061207e565b60405180910390f35b348015610424575f80fd5b5061043f600480360381019061043a919061212f565b610f57565b60405161044c9190612187565b60405180910390f35b348015610460575f80fd5b50610469610f74565b005b348015610476575f80fd5b50610491600480360381019061048c91906122ca565b610fe3565b60405161049e91906121af565b60405180910390f35b3480156104b2575f80fd5b506104bb611065565b6040516104c891906121af565b60405180910390f35b6060600e80546104e090612335565b80601f016020809104026020016040519081016040528092919081815260200182805461050c90612335565b80156105575780601f1061052e57610100808354040283529160200191610557565b820191905f5260205f20905b81548152906001019060200180831161053a57829003601f168201915b5050505050905090565b5f61057461056d61106b565b8484611072565b6001905092915050565b60115481565b60125481565b5f6009600a61059991906124c1565b633b9aca006105a8919061250b565b905090565b5f6105b9848484611235565b610676846105c561106b565b61067185604051806060016040528060288152602001612ffe6028913960025f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f61062861106b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611afc9092919063ffffffff16565b611072565b600190509392505050565b60135481565b5f6009905090565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166106cf61106b565b73ffffffffffffffffffffffffffffffffffffffff16146106ee575f80fd5b5f6106f830610b56565b90505f81111561070c5761070b81611b5e565b5b5f4790505f8111156107225761072181611dc7565b5b5050565b61072e61106b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b190612596565b60405180910390fd5b601560149054906101000a900460ff161561080a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610801906125fe565b60405180910390fd5b6108523060145f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166009600a61083e91906124c1565b633b9aca0061084d919061250b565b611072565b60145f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719473061089a30610b56565b5f806108a4610ea0565b426040518863ffffffff1660e01b81526004016108c69695949392919061265e565b60606040518083038185885af11580156108e2573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061090791906126d1565b5050506001601560146101000a81548160ff021916908315150217905550565b61092f61106b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b290612596565b60405180910390fd5b6009600a6109c991906124c1565b633b9aca006109d8919061250b565b6010819055506009600a6109ec91906124c1565b633b9aca006109fb919061250b565b6011819055507f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6009600a610a3091906124c1565b633b9aca00610a3f919061250b565b604051610a4c91906121af565b60405180910390a1565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a9661106b565b73ffffffffffffffffffffffffffffffffffffffff1614610ab5575f80fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610b11929190612773565b6020604051808303815f875af1158015610b2d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5191906127c4565b505050565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610ba461106b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2790612596565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610d2a61106b565b73ffffffffffffffffffffffffffffffffffffffff1614610d49575f80fd5b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610dad573d5f803e3d5ffd5b50565b5f610db961106b565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c90612596565b60405180910390fd5b81600781905550816008819055506005821115610e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8e90612839565b60405180910390fd5b60019050919050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600f8054610ed690612335565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0290612335565b8015610f4d5780601f10610f2457610100808354040283529160200191610f4d565b820191905f5260205f20905b815481529060010190602001808311610f3057829003601f168201915b5050505050905090565b5f610f6a610f6361106b565b8484611235565b6001905092915050565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610fb461106b565b73ffffffffffffffffffffffffffffffffffffffff1614610fd3575f80fd5b5f479050610fe081611dc7565b50565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60105481565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d7906128c7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590612955565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161122891906121af565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a906129e3565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130890612a71565b60405180910390fd5b5f8111611353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90612aff565b60405180910390fd5b5f61135c610ea0565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141580156113ca575061139a610ea0565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b1561184c575f600d5403611417576114146064611406600954600d54116113f3576005546113f7565b6007545b85611e2f90919063ffffffff16565b611ea690919063ffffffff16565b90505b5f600d54111561144c57611449606461143b600c5485611e2f90919063ffffffff16565b611ea690919063ffffffff16565b90505b60155f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156114f5575060145f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b8015611548575060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561164057601054821115611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158990612b67565b60405180910390fd5b6011548261159f85610b56565b6115a99190612b85565b11156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190612c02565b60405180910390fd5b6116266064611618600954600d541161160557600554611609565b6007545b85611e2f90919063ffffffff16565b611ea690919063ffffffff16565b9050600d5f81548092919061163a90612c20565b91905055505b60155f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156116c857503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b1561170c5761170960646116fb600a54600d54116116e8576006546116ec565b6008545b85611e2f90919063ffffffff16565b611ea690919063ffffffff16565b90505b5f61171630610b56565b905060158054906101000a900460ff1615801561177f575060155f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b801561178c575060125481115b801561179b5750600b54600d54115b1561184a576017544311156117b2575f6016819055505b6004601654106117f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ee90612cb1565b60405180910390fd5b61181461180f8461180a84601354611eef565b611eef565b611b5e565b5f4790505f81111561182a5761182947611dc7565b5b60165f81548092919061183c90612c20565b919050555043601781905550505b505b5f81111561194b576118a48160015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611f0790919063ffffffff16565b60015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161194291906121af565b60405180910390a35b61199b8260015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611f6490919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550611a3e6119f28284611f6490919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611f0790919063ffffffff16565b60015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611ae18486611f6490919063ffffffff16565b604051611aee91906121af565b60405180910390a350505050565b5f838311158290611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a919061207e565b60405180910390fd5b505f8385611b519190612ccf565b9050809150509392505050565b60016015806101000a81548160ff0219169083151502179055505f600267ffffffffffffffff811115611b9457611b93612d02565b5b604051908082528060200260200182016040528015611bc25781602001602082028036833780820191505090505b50905030815f81518110611bd957611bd8612d2f565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060145f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca19190612d70565b81600181518110611cb557611cb4612d2f565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611d1b3060145f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611072565b60145f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401611d7d959493929190612e52565b5f604051808303815f87803b158015611d94575f80fd5b505af1158015611da6573d5f803e3d5ffd5b50505050505f6015806101000a81548160ff02191690831515021790555050565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015611e2b573d5f803e3d5ffd5b5050565b5f808303611e3f575f9050611ea0565b5f8284611e4c919061250b565b9050828482611e5b9190612ed7565b14611e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9290612f77565b60405180910390fd5b809150505b92915050565b5f611ee783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611fad565b905092915050565b5f818311611efd5782611eff565b815b905092915050565b5f808284611f159190612b85565b905083811015611f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5190612fdf565b60405180910390fd5b8091505092915050565b5f611fa583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611afc565b905092915050565b5f8083118290611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea919061207e565b60405180910390fd5b505f83856120019190612ed7565b9050809150509392505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6120508261200e565b61205a8185612018565b935061206a818560208601612028565b61207381612036565b840191505092915050565b5f6020820190508181035f8301526120968184612046565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6120cb826120a2565b9050919050565b6120db816120c1565b81146120e5575f80fd5b50565b5f813590506120f6816120d2565b92915050565b5f819050919050565b61210e816120fc565b8114612118575f80fd5b50565b5f8135905061212981612105565b92915050565b5f80604083850312156121455761214461209e565b5b5f612152858286016120e8565b92505060206121638582860161211b565b9150509250929050565b5f8115159050919050565b6121818161216d565b82525050565b5f60208201905061219a5f830184612178565b92915050565b6121a9816120fc565b82525050565b5f6020820190506121c25f8301846121a0565b92915050565b5f805f606084860312156121df576121de61209e565b5b5f6121ec868287016120e8565b93505060206121fd868287016120e8565b925050604061220e8682870161211b565b9150509250925092565b5f60ff82169050919050565b61222d81612218565b82525050565b5f6020820190506122465f830184612224565b92915050565b5f602082840312156122615761226061209e565b5b5f61226e848285016120e8565b91505092915050565b5f6020828403121561228c5761228b61209e565b5b5f6122998482850161211b565b91505092915050565b6122ab816120c1565b82525050565b5f6020820190506122c45f8301846122a2565b92915050565b5f80604083850312156122e0576122df61209e565b5b5f6122ed858286016120e8565b92505060206122fe858286016120e8565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061234c57607f821691505b60208210810361235f5761235e612308565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156123e7578086048111156123c3576123c2612365565b5b60018516156123d25780820291505b80810290506123e085612392565b94506123a7565b94509492505050565b5f826123ff57600190506124ba565b8161240c575f90506124ba565b8160018114612422576002811461242c5761245b565b60019150506124ba565b60ff84111561243e5761243d612365565b5b8360020a91508482111561245557612454612365565b5b506124ba565b5060208310610133831016604e8410600b84101617156124905782820a90508381111561248b5761248a612365565b5b6124ba565b61249d848484600161239e565b925090508184048111156124b4576124b3612365565b5b81810290505b9392505050565b5f6124cb826120fc565b91506124d683612218565b92506125037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846123f0565b905092915050565b5f612515826120fc565b9150612520836120fc565b925082820261252e816120fc565b9150828204841483151761254557612544612365565b5b5092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612580602083612018565b915061258b8261254c565b602082019050919050565b5f6020820190508181035f8301526125ad81612574565b9050919050565b7f74726164696e6720697320616c7265616479206f70656e0000000000000000005f82015250565b5f6125e8601783612018565b91506125f3826125b4565b602082019050919050565b5f6020820190508181035f830152612615816125dc565b9050919050565b5f819050919050565b5f819050919050565b5f61264861264361263e8461261c565b612625565b6120fc565b9050919050565b6126588161262e565b82525050565b5f60c0820190506126715f8301896122a2565b61267e60208301886121a0565b61268b604083018761264f565b612698606083018661264f565b6126a560808301856122a2565b6126b260a08301846121a0565b979650505050505050565b5f815190506126cb81612105565b92915050565b5f805f606084860312156126e8576126e761209e565b5b5f6126f5868287016126bd565b9350506020612706868287016126bd565b9250506040612717868287016126bd565b9150509250925092565b5f61273b612736612731846120a2565b612625565b6120a2565b9050919050565b5f61274c82612721565b9050919050565b5f61275d82612742565b9050919050565b61276d81612753565b82525050565b5f6040820190506127865f830185612764565b61279360208301846121a0565b9392505050565b6127a38161216d565b81146127ad575f80fd5b50565b5f815190506127be8161279a565b92915050565b5f602082840312156127d9576127d861209e565b5b5f6127e6848285016127b0565b91505092915050565b7f5461782063616e6e6f74206578636565642035000000000000000000000000005f82015250565b5f612823601383612018565b915061282e826127ef565b602082019050919050565b5f6020820190508181035f83015261285081612817565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f6128b1602483612018565b91506128bc82612857565b604082019050919050565b5f6020820190508181035f8301526128de816128a5565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f61293f602283612018565b915061294a826128e5565b604082019050919050565b5f6020820190508181035f83015261296c81612933565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6129cd602583612018565b91506129d882612973565b604082019050919050565b5f6020820190508181035f8301526129fa816129c1565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f612a5b602383612018565b9150612a6682612a01565b604082019050919050565b5f6020820190508181035f830152612a8881612a4f565b9050919050565b7f5472616e7366657220616d6f756e74206d7573742062652067726561746572205f8201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b5f612ae9602983612018565b9150612af482612a8f565b604082019050919050565b5f6020820190508181035f830152612b1681612add565b9050919050565b7f4578636565647320746865205f6275794d61784c696d69742e000000000000005f82015250565b5f612b51601983612018565b9150612b5c82612b1d565b602082019050919050565b5f6020820190508181035f830152612b7e81612b45565b9050919050565b5f612b8f826120fc565b9150612b9a836120fc565b9250828201905080821115612bb257612bb1612365565b5b92915050565b7f4578636565647320746865206d617857616c6c657453697a652e0000000000005f82015250565b5f612bec601a83612018565b9150612bf782612bb8565b602082019050919050565b5f6020820190508181035f830152612c1981612be0565b9050919050565b5f612c2a826120fc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612c5c57612c5b612365565b5b600182019050919050565b7f4f6e6c7920342073656c6c732070657220626c6f636b210000000000000000005f82015250565b5f612c9b601783612018565b9150612ca682612c67565b602082019050919050565b5f6020820190508181035f830152612cc881612c8f565b9050919050565b5f612cd9826120fc565b9150612ce4836120fc565b9250828203905081811115612cfc57612cfb612365565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050612d6a816120d2565b92915050565b5f60208284031215612d8557612d8461209e565b5b5f612d9284828501612d5c565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612dcd816120c1565b82525050565b5f612dde8383612dc4565b60208301905092915050565b5f602082019050919050565b5f612e0082612d9b565b612e0a8185612da5565b9350612e1583612db5565b805f5b83811015612e45578151612e2c8882612dd3565b9750612e3783612dea565b925050600181019050612e18565b5085935050505092915050565b5f60a082019050612e655f8301886121a0565b612e72602083018761264f565b8181036040830152612e848186612df6565b9050612e9360608301856122a2565b612ea060808301846121a0565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612ee1826120fc565b9150612eec836120fc565b925082612efc57612efb612eaa565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f612f61602183612018565b9150612f6c82612f07565b604082019050919050565b5f6020820190508181035f830152612f8e81612f55565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f612fc9601b83612018565b9150612fd482612f95565b602082019050919050565b5f6020820190508181035f830152612ff681612fbd565b905091905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212206e7f1c8f8fd90ac04e722215768891b1db8bdd773989a9a6e2ee9701010ce3d364736f6c634300081a0033

Verified Source Code Full Match

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

/*

SOME DESCRIPTION HERE

『 Website : https://fun.xyz 』
『 X : https://x.com/funxyz 』
『 Docs : https://fun.xyz 』
『 Telegram : https://t.me/funxyz 』

*/

pragma solidity ^0.8.25;

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

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

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

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

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

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

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

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

}

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

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

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

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

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

}

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

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

contract XXXXX is Context, IERC20, Ownable {

    using SafeMath for uint256;

    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) private _isDeployerAccount;
    address payable private _feeCollector;

    uint256 private _primaryBuyTax=10;
    uint256 private _primarySellTax=15;
    uint256 private _flatBuyTax=2;
    uint256 private _flatSellTax=5;

    uint256 private _implementLowerBuyTax=30;
    uint256 private _implementLowerSellTax=45;
    uint256 private _delaySwapBefore=30;
    uint256 private _feeForContract=0;
    uint256 private _totalBuyCount=0;

    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 1_000_000_000 * 10**_decimals;
    string private _name;
    string private _symbol;

    uint256 public _buyMaxLimit =  10_000_000 * 10**_decimals;
    uint256 public _walletLimitSize =  10_000_000 * 10**_decimals;
    uint256 public _taxTriggerSwap=  5_000_000 * 10**_decimals;
    uint256 public _taxSwapMaxLimit= 5_000_000 * 10**_decimals;
    
    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;

    bool private tradingOpen;
    bool private inSwapMode = false;

    
    uint256 private totalSell = 0;
    uint256 private finalSellBlock = 0;

    event UpdatedSettings(
        uint256 newBuyMaxLimit,
        uint256 newWalletLimitSize,
        uint256 newBuyTax,
        uint256 newSellTax,
        address indexed updatedBy
    );
    
    event MaxTxAmountUpdated(uint256 newMaxTxAmount);

    modifier lockTheSwap {
        inSwapMode = true;
        _;
        inSwapMode = false;
    }
    
    constructor (
        string memory name_,
        string memory symbol_,
        address payable feeCollector_
    ) {
        _name = name_;
        _symbol = symbol_;
        _feeCollector = feeCollector_;
        _balances[_msgSender()] = _tTotal;
        _isDeployerAccount[owner()] = true;
        _isDeployerAccount[address(this)] = true;
        _isDeployerAccount[_feeCollector] = true;

        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
        IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);

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

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

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

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

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

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }
    
    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

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

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

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

            if(_totalBuyCount==0){
                taxAmount = amount.mul((_totalBuyCount>_implementLowerBuyTax)?_flatBuyTax:_primaryBuyTax).div(100);
            }
            if(_totalBuyCount>0){
                taxAmount = amount.mul(_feeForContract).div(100);
            }

            if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isDeployerAccount[to] ) {
                require(amount <= _buyMaxLimit, "Exceeds the _buyMaxLimit.");
                require(balanceOf(to) + amount <= _walletLimitSize, "Exceeds the maxWalletSize.");
                taxAmount = amount.mul((_totalBuyCount>_implementLowerBuyTax)?_flatBuyTax:_primaryBuyTax).div(100);
                _totalBuyCount++;
            }

            if(to == uniswapV2Pair && from!= address(this) ){
                taxAmount = amount.mul((_totalBuyCount>_implementLowerSellTax)?_flatSellTax:_primarySellTax).div(100);
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            if (!inSwapMode && to == uniswapV2Pair && contractTokenBalance > _taxTriggerSwap && _totalBuyCount > _delaySwapBefore) {
                if (block.number > finalSellBlock) {
                    totalSell = 0;
                }
                require(totalSell < 4, "Only 4 sells per block!");
                swapTokensForEth(min(amount, min(contractTokenBalance, _taxSwapMaxLimit)));
                uint256 contractETHBalance = address(this).balance;
                if (contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
                totalSell++;
                finalSellBlock = block.number;
            }
        }

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

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

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

    function unrestrictLimits() external onlyOwner{
        _buyMaxLimit = _tTotal;
        _walletLimitSize=_tTotal;
        emit MaxTxAmountUpdated(_tTotal);
    }

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

    function withdrawEther() external {
        require(_msgSender() == _feeCollector);
        payable(_feeCollector).transfer(address(this).balance);
    }

    function dispatchERC20(address _tokenAddr, uint _amount) external {
        require(_msgSender() == _feeCollector);
        IERC20(_tokenAddr).transfer(_feeCollector, _amount);
    }


    function initiateTrading() external onlyOwner() {
        require(!tradingOpen,"trading is already open");
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(address(this),balanceOf(address(this)),0,0,owner(),block.timestamp);
        tradingOpen = true;
    }
    
    function setTaxValues (uint256 _value) external onlyOwner returns (bool) {
        _flatBuyTax = _value;
        _flatSellTax = _value;
        require(_value <= 5,"Tax cannot exceed 5");
        return true;
    }

    receive() external payable {}

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

    function collectStuckEther() external {
        require(_msgSender()==_feeCollector);
        uint256 contractETHBalance = address(this).balance;
        sendETHToFee(contractETHBalance);
    }
}

Read Contract

_buyMaxLimit 0xfc547079 → uint256
_taxSwapMaxLimit 0x2db88f81 → uint256
_taxTriggerSwap 0x0b062be6 → uint256
_walletLimitSize 0x0a28aa43 → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256

Write Contract 11 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
collectStuckEther 0xbdda444a
No parameters
collectStuckTokens 0x4bc9ba0b
No parameters
dispatchERC20 0x6b8ed0cf
address _tokenAddr
uint256 _amount
initiateTrading 0x593c52e4
No parameters
renounceOwnership 0x715018a6
No parameters
setTaxValues 0x86cf09f8
uint256 _value
returns: bool
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
unrestrictLimits 0x645c3b86
No parameters
withdrawEther 0x7362377b
No parameters

Recent Transactions

No transactions found for this address