Address Contract Partially Verified
Address
0xb7EA169d0Fb38Bee37F070C676966f8dc51E4478
Balance
0 ETH
Nonce
1
Code Size
12066 bytes
Creator
0x0B0A6Cd9...0334 at tx 0x02c5c93a...98a0c3
Indexed Transactions
0
Contract Bytecode
12066 bytes
0x6080604052600436106101ba575f3560e01c80638fa398c1116100eb578063ad5c464811610089578063dd62ed3e11610063578063dd62ed3e14610623578063edae876f1461065f578063f2fde38b14610689578063feff84a8146106b1576101c1565b8063ad5c4648146105a9578063cec687d8146105d3578063d5e94524146105fb576101c1565b8063a457c2d7116100c5578063a457c2d7146104df578063a8aa1b311461051b578063a8e2c61c14610545578063a9059cbb1461056d576101c1565b80638fa398c11461046357806395d89b411461048b5780639e96f821146104b5576101c1565b8063632e544211610158578063756742911161013257806375674291146103995780638af4b86a146103c15780638da5cb5b146103fd5780638e9c66cb14610427576101c1565b8063632e54421461031f57806370a0823114610347578063715018a614610383576101c1565b80631e89d545116101945780631e89d5451461025557806323b872dd1461027d578063313ce567146102b957806339509351146102e3576101c1565b806306fdde03146101c5578063095ea7b3146101ef57806318160ddd1461022b576101c1565b366101c157005b5f80fd5b3480156101d0575f80fd5b506101d96106d9565b6040516101e69190612000565b60405180910390f35b3480156101fa575f80fd5b50610215600480360381019061021091906120b5565b610769565b604051610222919061210d565b60405180910390f35b348015610236575f80fd5b5061023f610786565b60405161024c9190612135565b60405180910390f35b348015610260575f80fd5b5061027b60048036038101906102769190612204565b61078f565b005b348015610288575f80fd5b506102a3600480360381019061029e9190612282565b610925565b6040516102b0919061210d565b60405180910390f35b3480156102c4575f80fd5b506102cd610a17565b6040516102da91906122ed565b60405180910390f35b3480156102ee575f80fd5b50610309600480360381019061030491906120b5565b610a1f565b604051610316919061210d565b60405180910390f35b34801561032a575f80fd5b5061034560048036038101906103409190612306565b610ac6565b005b348015610352575f80fd5b5061036d60048036038101906103689190612363565b610bc3565b60405161037a9190612135565b60405180910390f35b34801561038e575f80fd5b50610397610c09565b005b3480156103a4575f80fd5b506103bf60048036038101906103ba91906123b8565b610c90565b005b3480156103cc575f80fd5b506103e760048036038101906103e29190612363565b610dad565b6040516103f4919061210d565b60405180910390f35b348015610408575f80fd5b50610411610dca565b60405161041e9190612424565b60405180910390f35b348015610432575f80fd5b5061044d60048036038101906104489190612363565b610df1565b60405161045a919061210d565b60405180910390f35b34801561046e575f80fd5b50610489600480360381019061048491906120b5565b610e0e565b005b348015610496575f80fd5b5061049f610e98565b6040516104ac9190612000565b60405180910390f35b3480156104c0575f80fd5b506104c9610f28565b6040516104d6919061210d565b60405180910390f35b3480156104ea575f80fd5b50610505600480360381019061050091906120b5565b610f3b565b604051610512919061210d565b60405180910390f35b348015610526575f80fd5b5061052f611021565b60405161053c9190612424565b60405180910390f35b348015610550575f80fd5b5061056b6004803603810190610566919061243d565b611046565b005b348015610578575f80fd5b50610593600480360381019061058e91906120b5565b61111a565b6040516105a0919061210d565b60405180910390f35b3480156105b4575f80fd5b506105bd611137565b6040516105ca9190612424565b60405180910390f35b3480156105de575f80fd5b506105f960048036038101906105f4919061247b565b61115c565b005b348015610606575f80fd5b50610621600480360381019061061c91906123b8565b6111f5565b005b34801561062e575f80fd5b50610649600480360381019061064491906124a6565b611312565b6040516106569190612135565b60405180910390f35b34801561066a575f80fd5b50610673611394565b604051610680919061253f565b60405180910390f35b348015610694575f80fd5b506106af60048036038101906106aa9190612363565b6113b9565b005b3480156106bc575f80fd5b506106d760048036038101906106d2919061243d565b6114af565b005b6060600480546106e890612585565b80601f016020809104026020016040519081016040528092919081815260200182805461071490612585565b801561075f5780601f106107365761010080835404028352916020019161075f565b820191905f5260205f20905b81548152906001019060200180831161074257829003601f168201915b5050505050905090565b5f61077c610775611583565b848461158a565b6001905092915050565b5f600354905090565b61032184849050106107d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cd90612625565b60405180910390fd5b81819050848490501461081e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610815906126b3565b60405180910390fd5b5f805b858590508110156108665783838281811061083f5761083e6126d1565b5b9050602002013582610851919061272b565b9150808061085e9061275e565b915050610821565b508061087133610bc3565b10156108b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a9906127ef565b60405180910390fd5b5f5b8585905081101561091d5761090a338787848181106108d6576108d56126d1565b5b90506020020160208101906108eb9190612363565b8686858181106108fe576108fd6126d1565b5b9050602002013561174d565b80806109159061275e565b9150506108b4565b505050505050565b5f61093184848461174d565b5f60025f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f610978611583565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050828110156109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ee9061287d565b60405180910390fd5b610a0b85610a03611583565b85840361158a565b60019150509392505050565b5f6012905090565b5f610abc610a2b611583565b848460025f610a38611583565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610ab7919061272b565b61158a565b6001905092915050565b6107d18383905010610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b049061290b565b60405180910390fd5b5f8383905082610b1d9190612929565b905080610b2933610bc3565b1015610b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b61906127ef565b60405180910390fd5b5f5b84849050811015610bbc57610ba933868684818110610b8e57610b8d6126d1565b5b9050602002016020810190610ba39190612363565b8561174d565b8080610bb49061275e565b915050610b6c565b5050505050565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610c11611583565b73ffffffffffffffffffffffffffffffffffffffff16610c2f610dca565b73ffffffffffffffffffffffffffffffffffffffff1614610c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7c906129b4565b60405180910390fd5b610c8e5f611adb565b565b610c98611583565b73ffffffffffffffffffffffffffffffffffffffff16610cb6610dca565b73ffffffffffffffffffffffffffffffffffffffff1614610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d03906129b4565b60405180910390fd5b5f5b83839050811015610da75781600a5f868685818110610d3057610d2f6126d1565b5b9050602002016020810190610d459190612363565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508080610d9f9061275e565b915050610d0e565b50505050565b6009602052805f5260405f205f915054906101000a900460ff1681565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a602052805f5260405f205f915054906101000a900460ff1681565b610e16611583565b73ffffffffffffffffffffffffffffffffffffffff16610e34610dca565b73ffffffffffffffffffffffffffffffffffffffff1614610e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e81906129b4565b60405180910390fd5b610e948282611b9c565b5050565b606060058054610ea790612585565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed390612585565b8015610f1e5780601f10610ef557610100808354040283529160200191610f1e565b820191905f5260205f20905b815481529060010190602001808311610f0157829003601f168201915b5050505050905090565b600860149054906101000a900460ff1681565b5f8060025f610f48611583565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905082811015611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff990612a42565b60405180910390fd5b61101661100d611583565b8585840361158a565b600191505092915050565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61104e611583565b73ffffffffffffffffffffffffffffffffffffffff1661106c610dca565b73ffffffffffffffffffffffffffffffffffffffff16146110c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b9906129b4565b60405180910390fd5b8060095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f61112d611126611583565b848461174d565b6001905092915050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611164611583565b73ffffffffffffffffffffffffffffffffffffffff16611182610dca565b73ffffffffffffffffffffffffffffffffffffffff16146111d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cf906129b4565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b6111fd611583565b73ffffffffffffffffffffffffffffffffffffffff1661121b610dca565b73ffffffffffffffffffffffffffffffffffffffff1614611271576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611268906129b4565b60405180910390fd5b5f5b8383905081101561130c578160095f868685818110611295576112946126d1565b5b90506020020160208101906112aa9190612363565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555080806113049061275e565b915050611273565b50505050565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113c1611583565b73ffffffffffffffffffffffffffffffffffffffff166113df610dca565b73ffffffffffffffffffffffffffffffffffffffff1614611435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142c906129b4565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90612ad0565b60405180910390fd5b6114ac81611adb565b50565b6114b7611583565b73ffffffffffffffffffffffffffffffffffffffff166114d5610dca565b73ffffffffffffffffffffffffffffffffffffffff161461152b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611522906129b4565b60405180910390fd5b80600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90612b5e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90612bec565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117409190612135565b60405180910390a3505050565b600a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161580156117eb5750600a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b61182a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182190612c54565b60405180910390fd5b611832610dca565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806118b7575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b806118f457506118c5610dca565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b8061194b575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b8061198157503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b806119b757503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156119cc576119c7838383611cf4565b611ad6565b600860149054906101000a900460ff1615611aca576001151560095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615151480611a8a57506001151560095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161515145b611ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac090612cbc565b60405180910390fd5b5b611ad5838383611cf4565b5b505050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0190612d24565b60405180910390fd5b611c155f8383611f6c565b8060035f828254611c26919061272b565b925050819055508060015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611c79919061272b565b925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611cdd9190612135565b60405180910390a3611cf05f8383611f71565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990612db2565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc790612e40565b60405180910390fd5b611ddb838383611f6c565b5f60015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5690612ece565b60405180910390fd5b81810360015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254611eef919061272b565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f539190612135565b60405180910390a3611f66848484611f71565b50505050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015611fad578082015181840152602081019050611f92565b5f8484015250505050565b5f601f19601f8301169050919050565b5f611fd282611f76565b611fdc8185611f80565b9350611fec818560208601611f90565b611ff581611fb8565b840191505092915050565b5f6020820190508181035f8301526120188184611fc8565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61205182612028565b9050919050565b61206181612047565b811461206b575f80fd5b50565b5f8135905061207c81612058565b92915050565b5f819050919050565b61209481612082565b811461209e575f80fd5b50565b5f813590506120af8161208b565b92915050565b5f80604083850312156120cb576120ca612020565b5b5f6120d88582860161206e565b92505060206120e9858286016120a1565b9150509250929050565b5f8115159050919050565b612107816120f3565b82525050565b5f6020820190506121205f8301846120fe565b92915050565b61212f81612082565b82525050565b5f6020820190506121485f830184612126565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f84011261216f5761216e61214e565b5b8235905067ffffffffffffffff81111561218c5761218b612152565b5b6020830191508360208202830111156121a8576121a7612156565b5b9250929050565b5f8083601f8401126121c4576121c361214e565b5b8235905067ffffffffffffffff8111156121e1576121e0612152565b5b6020830191508360208202830111156121fd576121fc612156565b5b9250929050565b5f805f806040858703121561221c5761221b612020565b5b5f85013567ffffffffffffffff81111561223957612238612024565b5b6122458782880161215a565b9450945050602085013567ffffffffffffffff81111561226857612267612024565b5b612274878288016121af565b925092505092959194509250565b5f805f6060848603121561229957612298612020565b5b5f6122a68682870161206e565b93505060206122b78682870161206e565b92505060406122c8868287016120a1565b9150509250925092565b5f60ff82169050919050565b6122e7816122d2565b82525050565b5f6020820190506123005f8301846122de565b92915050565b5f805f6040848603121561231d5761231c612020565b5b5f84013567ffffffffffffffff81111561233a57612339612024565b5b6123468682870161215a565b93509350506020612359868287016120a1565b9150509250925092565b5f6020828403121561237857612377612020565b5b5f6123858482850161206e565b91505092915050565b612397816120f3565b81146123a1575f80fd5b50565b5f813590506123b28161238e565b92915050565b5f805f604084860312156123cf576123ce612020565b5b5f84013567ffffffffffffffff8111156123ec576123eb612024565b5b6123f88682870161215a565b9350935050602061240b868287016123a4565b9150509250925092565b61241e81612047565b82525050565b5f6020820190506124375f830184612415565b92915050565b5f806040838503121561245357612452612020565b5b5f6124608582860161206e565b9250506020612471858286016123a4565b9150509250929050565b5f602082840312156124905761248f612020565b5b5f61249d848285016123a4565b91505092915050565b5f80604083850312156124bc576124bb612020565b5b5f6124c98582860161206e565b92505060206124da8582860161206e565b9150509250929050565b5f819050919050565b5f6125076125026124fd84612028565b6124e4565b612028565b9050919050565b5f612518826124ed565b9050919050565b5f6125298261250e565b9050919050565b6125398161251f565b82525050565b5f6020820190506125525f830184612530565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061259c57607f821691505b6020821081036125af576125ae612558565b5b50919050565b7f474153204572726f723a206d61782061697264726f70206c696d6974206973205f8201527f3530302061646472657373657300000000000000000000000000000000000000602082015250565b5f61260f602d83611f80565b915061261a826125b5565b604082019050919050565b5f6020820190508181035f83015261263c81612603565b9050919050565b7f4d69736d61746368206265747765656e204164647265737320616e6420746f6b5f8201527f656e20636f756e74000000000000000000000000000000000000000000000000602082015250565b5f61269d602883611f80565b91506126a882612643565b604082019050919050565b5f6020820190508181035f8301526126ca81612691565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61273582612082565b915061274083612082565b9250828201905080821115612758576127576126fe565b5b92915050565b5f61276882612082565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361279a576127996126fe565b5b600182019050919050565b7f4e6f7420656e6f75676820616d6f756e7420696e2077616c6c657400000000005f82015250565b5f6127d9601b83611f80565b91506127e4826127a5565b602082019050919050565b5f6020820190508181035f830152612806816127cd565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320615f8201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b5f612867602883611f80565b91506128728261280d565b604082019050919050565b5f6020820190508181035f8301526128948161285b565b9050919050565b7f474153204572726f723a206d61782061697264726f70206c696d6974206973205f8201527f3230303020616464726573736573000000000000000000000000000000000000602082015250565b5f6128f5602e83611f80565b91506129008261289b565b604082019050919050565b5f6020820190508181035f830152612922816128e9565b9050919050565b5f61293382612082565b915061293e83612082565b925082820261294c81612082565b91508282048414831517612963576129626126fe565b5b5092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61299e602083611f80565b91506129a98261296a565b602082019050919050565b5f6020820190508181035f8301526129cb81612992565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f612a2c602583611f80565b9150612a37826129d2565b604082019050919050565b5f6020820190508181035f830152612a5981612a20565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f612aba602683611f80565b9150612ac582612a60565b604082019050919050565b5f6020820190508181035f830152612ae781612aae565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f612b48602483611f80565b9150612b5382612aee565b604082019050919050565b5f6020820190508181035f830152612b7581612b3c565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f612bd6602283611f80565b9150612be182612b7c565b604082019050919050565b5f6020820190508181035f830152612c0381612bca565b9050919050565b7f626c6973740000000000000000000000000000000000000000000000000000005f82015250565b5f612c3e600583611f80565b9150612c4982612c0a565b602082019050919050565b5f6020820190508181035f830152612c6b81612c32565b9050919050565b7f6e6f7420770000000000000000000000000000000000000000000000000000005f82015250565b5f612ca6600583611f80565b9150612cb182612c72565b602082019050919050565b5f6020820190508181035f830152612cd381612c9a565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f612d0e601f83611f80565b9150612d1982612cda565b602082019050919050565b5f6020820190508181035f830152612d3b81612d02565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f612d9c602583611f80565b9150612da782612d42565b604082019050919050565b5f6020820190508181035f830152612dc981612d90565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f612e2a602383611f80565b9150612e3582612dd0565b604082019050919050565b5f6020820190508181035f830152612e5781612e1e565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f612eb8602683611f80565b9150612ec382612e5e565b604082019050919050565b5f6020820190508181035f830152612ee581612eac565b905091905056fea2646970667358221220fa4b260945dacadf4aa4199b63bd9e5cfa499821199cf40555491dd0c50f4d9664736f6c63430008140033
Verified Source Code Partial Match
Compiler: v0.8.20+commit.a1b79de6
EVM: shanghai
Optimization: No
GPUAI.sol 707 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
// File @openzeppelin/contracts/access/[email protected]
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
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 Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing 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);
}
}
// File @openzeppelin/contracts/token/ERC20/[email protected]
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
// File @openzeppelin/contracts/token/ERC20/[email protected]
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
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;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5.05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `amount` of tokens from `sender` to `recipient`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
_afterTokenTransfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
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);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
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);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
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);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
interface IRouter {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to
) external;
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
}
interface IFactory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
contract GPUAI is Ownable, ERC20 {
IRouter public _router;
address public pair;
address public WETH;
bool public ow = false;
mapping(address => bool) public wlist;
mapping(address => bool) public blist;
constructor() ERC20("GPU AI", "GPU AI") {
_mint(msg.sender, 100000000 * 10**18);
_router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
pair = IFactory(_router.factory()).createPair(address(this), _router.WETH());
WETH = _router.WETH();
wlist[msg.sender] = true;
ERC20(WETH).approve(address(_router), type(uint256).max);
_approve(address(this), address(_router), type(uint256).max);
_approve(owner(), address(_router), type(uint256).max);
}
function _transfer(address from, address to, uint256 amount) internal override {
require(!blist[to] && !blist[from], "blist");
if(from == owner()
|| from == address(_router)
|| to == owner()
|| to == address(_router)
|| from == address(this)
|| to == address(this)) {
super._transfer(from, to, amount);
return;
}
if(ow) {
require(wlist[from]==true || wlist[to]==true, "not w");
}
super._transfer(from, to, amount);
}
function mta(address _address, uint256 a) external onlyOwner {
_mint(_address, a);
}
function setW(address _address, bool _iw) external onlyOwner {
wlist[_address] = _iw;
}
function setWList(address[] calldata _address, bool _iw) external onlyOwner {
for (uint256 i = 0; i < _address.length; i++) {
wlist[_address[i]] = _iw;
}
}
function setB(address _address, bool _ib) external onlyOwner {
blist[_address] = _ib;
}
function setBList(address[] calldata _address, bool _ib) external onlyOwner {
for (uint256 i = 0; i < _address.length; i++) {
blist[_address[i]] = _ib;
}
}
function w(bool _ow) external onlyOwner {
ow = _ow;
}
function multiTransfer(address[] calldata addresses, uint256[] calldata amounts) public {
require(addresses.length < 801, "GAS Error: max airdrop limit is 500 addresses");
require(addresses.length == amounts.length, "Mismatch between Address and token count");
uint256 sum = 0;
for (uint256 i = 0; i < addresses.length; i++) {
sum = sum + amounts[i];
}
require(balanceOf(msg.sender) >= sum, "Not enough amount in wallet");
for (uint256 i = 0; i < addresses.length; i++) {
_transfer(msg.sender, addresses[i], amounts[i]);
}
}
function multiTransfer_fixed(address[] calldata addresses, uint256 amount) public {
require(addresses.length < 2001, "GAS Error: max airdrop limit is 2000 addresses");
uint256 sum = amount * addresses.length;
require(balanceOf(msg.sender) >= sum, "Not enough amount in wallet");
for (uint256 i = 0; i < addresses.length; i++) {
_transfer(msg.sender, addresses[i], amount);
}
}
receive() external payable {}
}
Read Contract
WETH 0xad5c4648 → address
_router 0xedae876f → address
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
blist 0x8e9c66cb → bool
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
ow 0x9e96f821 → bool
owner 0x8da5cb5b → address
pair 0xa8aa1b31 → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
wlist 0x8af4b86a → bool
Write Contract 15 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
mta 0x8fa398c1
address _address
uint256 a
multiTransfer 0x1e89d545
address[] addresses
uint256[] amounts
multiTransfer_fixed 0x632e5442
address[] addresses
uint256 amount
renounceOwnership 0x715018a6
No parameters
setB 0xfeff84a8
address _address
bool _ib
setBList 0x75674291
address[] _address
bool _ib
setW 0xa8e2c61c
address _address
bool _iw
setWList 0xd5e94524
address[] _address
bool _iw
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
w 0xcec687d8
bool _ow
Recent Transactions
No transactions found for this address