Address Contract Verified
Address
0xcAD295221f3d9B4040ad7cCF82Cc95d1cB141b32
Balance
0 ETH
Nonce
1
Code Size
12337 bytes
Creator
0x49c94C59...9406 at tx 0xb5e171e7...eacf1c
Indexed Transactions
0
Contract Bytecode
12337 bytes
0x6080604052600436106101bb5760003560e01c80638fa398c1116100ec578063ad5c46481161008a578063dd62ed3e11610064578063dd62ed3e1461063d578063edae876f1461067a578063f2fde38b146106a5578063feff84a8146106ce576101c2565b8063ad5c4648146105c0578063cec687d8146105eb578063d5e9452414610614576101c2565b8063a457c2d7116100c6578063a457c2d7146104f2578063a8aa1b311461052f578063a8e2c61c1461055a578063a9059cbb14610583576101c2565b80638fa398c11461047357806395d89b411461049c5780639e96f821146104c7576101c2565b8063632e544211610159578063756742911161013357806375674291146103a55780638af4b86a146103ce5780638da5cb5b1461040b5780638e9c66cb14610436576101c2565b8063632e54421461032857806370a0823114610351578063715018a61461038e576101c2565b80631e89d545116101955780631e89d5451461025a57806323b872dd14610283578063313ce567146102c057806339509351146102eb576101c2565b806306fdde03146101c7578063095ea7b3146101f257806318160ddd1461022f576101c2565b366101c257005b600080fd5b3480156101d357600080fd5b506101dc6106f7565b6040516101e9919061208d565b60405180910390f35b3480156101fe57600080fd5b506102196004803603810190610214919061214d565b610789565b60405161022691906121a8565b60405180910390f35b34801561023b57600080fd5b506102446107a7565b60405161025191906121d2565b60405180910390f35b34801561026657600080fd5b50610281600480360381019061027c91906122a8565b6107b1565b005b34801561028f57600080fd5b506102aa60048036038101906102a59190612329565b610949565b6040516102b791906121a8565b60405180910390f35b3480156102cc57600080fd5b506102d5610a41565b6040516102e29190612398565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d919061214d565b610a4a565b60405161031f91906121a8565b60405180910390f35b34801561033457600080fd5b5061034f600480360381019061034a91906123b3565b610af6565b005b34801561035d57600080fd5b5061037860048036038101906103739190612413565b610bf5565b60405161038591906121d2565b60405180910390f35b34801561039a57600080fd5b506103a3610c3e565b005b3480156103b157600080fd5b506103cc60048036038101906103c7919061246c565b610cc6565b005b3480156103da57600080fd5b506103f560048036038101906103f09190612413565b610de7565b60405161040291906121a8565b60405180910390f35b34801561041757600080fd5b50610420610e07565b60405161042d91906124db565b60405180910390f35b34801561044257600080fd5b5061045d60048036038101906104589190612413565b610e30565b60405161046a91906121a8565b60405180910390f35b34801561047f57600080fd5b5061049a6004803603810190610495919061214d565b610e50565b005b3480156104a857600080fd5b506104b1610eda565b6040516104be919061208d565b60405180910390f35b3480156104d357600080fd5b506104dc610f6c565b6040516104e991906121a8565b60405180910390f35b3480156104fe57600080fd5b506105196004803603810190610514919061214d565b610f7f565b60405161052691906121a8565b60405180910390f35b34801561053b57600080fd5b5061054461106a565b60405161055191906124db565b60405180910390f35b34801561056657600080fd5b50610581600480360381019061057c91906124f6565b611090565b005b34801561058f57600080fd5b506105aa60048036038101906105a5919061214d565b611167565b6040516105b791906121a8565b60405180910390f35b3480156105cc57600080fd5b506105d5611185565b6040516105e291906124db565b60405180910390f35b3480156105f757600080fd5b50610612600480360381019061060d9190612536565b6111ab565b005b34801561062057600080fd5b5061063b6004803603810190610636919061246c565b611244565b005b34801561064957600080fd5b50610664600480360381019061065f9190612563565b611365565b60405161067191906121d2565b60405180910390f35b34801561068657600080fd5b5061068f6113ec565b60405161069c9190612602565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c79190612413565b611412565b005b3480156106da57600080fd5b506106f560048036038101906106f091906124f6565b611509565b005b6060600480546107069061264c565b80601f01602080910402602001604051908101604052809291908181526020018280546107329061264c565b801561077f5780601f106107545761010080835404028352916020019161077f565b820191906000526020600020905b81548152906001019060200180831161076257829003601f168201915b5050505050905090565b600061079d6107966115e0565b84846115e8565b6001905092915050565b6000600354905090565b61032184849050106107f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ef906126ef565b60405180910390fd5b818190508484905014610840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083790612781565b60405180910390fd5b6000805b8585905081101561088957838382818110610862576108616127a1565b5b905060200201358261087491906127ff565b9150808061088190612833565b915050610844565b508061089433610bf5565b10156108d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cc906128c7565b60405180910390fd5b60005b858590508110156109415761092e338787848181106108fa576108f96127a1565b5b905060200201602081019061090f9190612413565b868685818110610922576109216127a1565b5b905060200201356117b1565b808061093990612833565b9150506108d8565b505050505050565b60006109568484846117b1565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006109a16115e0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1890612959565b60405180910390fd5b610a3585610a2d6115e0565b8584036115e8565b60019150509392505050565b60006012905090565b6000610aec610a576115e0565b848460026000610a656115e0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ae791906127ff565b6115e8565b6001905092915050565b6107d18383905010610b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b34906129eb565b60405180910390fd5b60008383905082610b4e9190612a0b565b905080610b5a33610bf5565b1015610b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b92906128c7565b60405180910390fd5b60005b84849050811015610bee57610bdb33868684818110610bc057610bbf6127a1565b5b9050602002016020810190610bd59190612413565b856117b1565b8080610be690612833565b915050610b9e565b5050505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c466115e0565b73ffffffffffffffffffffffffffffffffffffffff16610c64610e07565b73ffffffffffffffffffffffffffffffffffffffff1614610cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb190612a99565b60405180910390fd5b610cc46000611b4d565b565b610cce6115e0565b73ffffffffffffffffffffffffffffffffffffffff16610cec610e07565b73ffffffffffffffffffffffffffffffffffffffff1614610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3990612a99565b60405180910390fd5b60005b83839050811015610de15781600a6000868685818110610d6857610d676127a1565b5b9050602002016020810190610d7d9190612413565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610dd990612833565b915050610d45565b50505050565b60096020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a6020528060005260406000206000915054906101000a900460ff1681565b610e586115e0565b73ffffffffffffffffffffffffffffffffffffffff16610e76610e07565b73ffffffffffffffffffffffffffffffffffffffff1614610ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec390612a99565b60405180910390fd5b610ed68282611c11565b5050565b606060058054610ee99061264c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f159061264c565b8015610f625780601f10610f3757610100808354040283529160200191610f62565b820191906000526020600020905b815481529060010190602001808311610f4557829003601f168201915b5050505050905090565b600860149054906101000a900460ff1681565b60008060026000610f8e6115e0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290612b2b565b60405180910390fd5b61105f6110566115e0565b858584036115e8565b600191505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110986115e0565b73ffffffffffffffffffffffffffffffffffffffff166110b6610e07565b73ffffffffffffffffffffffffffffffffffffffff161461110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390612a99565b60405180910390fd5b80600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600061117b6111746115e0565b84846117b1565b6001905092915050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111b36115e0565b73ffffffffffffffffffffffffffffffffffffffff166111d1610e07565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90612a99565b60405180910390fd5b80600860146101000a81548160ff02191690831515021790555050565b61124c6115e0565b73ffffffffffffffffffffffffffffffffffffffff1661126a610e07565b73ffffffffffffffffffffffffffffffffffffffff16146112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b790612a99565b60405180910390fd5b60005b8383905081101561135f5781600960008686858181106112e6576112e56127a1565b5b90506020020160208101906112fb9190612413565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061135790612833565b9150506112c3565b50505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61141a6115e0565b73ffffffffffffffffffffffffffffffffffffffff16611438610e07565b73ffffffffffffffffffffffffffffffffffffffff161461148e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148590612a99565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f490612bbd565b60405180910390fd5b61150681611b4d565b50565b6115116115e0565b73ffffffffffffffffffffffffffffffffffffffff1661152f610e07565b73ffffffffffffffffffffffffffffffffffffffff1614611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90612a99565b60405180910390fd5b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164e90612c4f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bd90612ce1565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117a491906121d2565b60405180910390a3505050565b600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156118555750600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90612d4d565b60405180910390fd5b61189c610e07565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119225750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b8061195f5750611930610e07565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b806119b75750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b806119ed57503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b80611a2357503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b15611a3857611a33838383611d71565b611b48565b600860149054906101000a900460ff1615611b3c5760011515600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151480611afc575060011515600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3290612db9565b60405180910390fd5b5b611b47838383611d71565b5b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7790612e25565b60405180910390fd5b611c8c60008383611ff3565b8060036000828254611c9e91906127ff565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cf491906127ff565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d5991906121d2565b60405180910390a3611d6d60008383611ff8565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd790612eb7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4690612f49565b60405180910390fd5b611e5a838383611ff3565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed890612fdb565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f7691906127ff565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611fda91906121d2565b60405180910390a3611fed848484611ff8565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561203757808201518184015260208101905061201c565b60008484015250505050565b6000601f19601f8301169050919050565b600061205f82611ffd565b6120698185612008565b9350612079818560208601612019565b61208281612043565b840191505092915050565b600060208201905081810360008301526120a78184612054565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006120e4826120b9565b9050919050565b6120f4816120d9565b81146120ff57600080fd5b50565b600081359050612111816120eb565b92915050565b6000819050919050565b61212a81612117565b811461213557600080fd5b50565b60008135905061214781612121565b92915050565b60008060408385031215612164576121636120af565b5b600061217285828601612102565b925050602061218385828601612138565b9150509250929050565b60008115159050919050565b6121a28161218d565b82525050565b60006020820190506121bd6000830184612199565b92915050565b6121cc81612117565b82525050565b60006020820190506121e760008301846121c3565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612212576122116121ed565b5b8235905067ffffffffffffffff81111561222f5761222e6121f2565b5b60208301915083602082028301111561224b5761224a6121f7565b5b9250929050565b60008083601f840112612268576122676121ed565b5b8235905067ffffffffffffffff811115612285576122846121f2565b5b6020830191508360208202830111156122a1576122a06121f7565b5b9250929050565b600080600080604085870312156122c2576122c16120af565b5b600085013567ffffffffffffffff8111156122e0576122df6120b4565b5b6122ec878288016121fc565b9450945050602085013567ffffffffffffffff81111561230f5761230e6120b4565b5b61231b87828801612252565b925092505092959194509250565b600080600060608486031215612342576123416120af565b5b600061235086828701612102565b935050602061236186828701612102565b925050604061237286828701612138565b9150509250925092565b600060ff82169050919050565b6123928161237c565b82525050565b60006020820190506123ad6000830184612389565b92915050565b6000806000604084860312156123cc576123cb6120af565b5b600084013567ffffffffffffffff8111156123ea576123e96120b4565b5b6123f6868287016121fc565b9350935050602061240986828701612138565b9150509250925092565b600060208284031215612429576124286120af565b5b600061243784828501612102565b91505092915050565b6124498161218d565b811461245457600080fd5b50565b60008135905061246681612440565b92915050565b600080600060408486031215612485576124846120af565b5b600084013567ffffffffffffffff8111156124a3576124a26120b4565b5b6124af868287016121fc565b935093505060206124c286828701612457565b9150509250925092565b6124d5816120d9565b82525050565b60006020820190506124f060008301846124cc565b92915050565b6000806040838503121561250d5761250c6120af565b5b600061251b85828601612102565b925050602061252c85828601612457565b9150509250929050565b60006020828403121561254c5761254b6120af565b5b600061255a84828501612457565b91505092915050565b6000806040838503121561257a576125796120af565b5b600061258885828601612102565b925050602061259985828601612102565b9150509250929050565b6000819050919050565b60006125c86125c36125be846120b9565b6125a3565b6120b9565b9050919050565b60006125da826125ad565b9050919050565b60006125ec826125cf565b9050919050565b6125fc816125e1565b82525050565b600060208201905061261760008301846125f3565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061266457607f821691505b6020821081036126775761267661261d565b5b50919050565b7f474153204572726f723a206d61782061697264726f70206c696d69742069732060008201527f3530302061646472657373657300000000000000000000000000000000000000602082015250565b60006126d9602d83612008565b91506126e48261267d565b604082019050919050565b60006020820190508181036000830152612708816126cc565b9050919050565b7f4d69736d61746368206265747765656e204164647265737320616e6420746f6b60008201527f656e20636f756e74000000000000000000000000000000000000000000000000602082015250565b600061276b602883612008565b91506127768261270f565b604082019050919050565b6000602082019050818103600083015261279a8161275e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061280a82612117565b915061281583612117565b925082820190508082111561282d5761282c6127d0565b5b92915050565b600061283e82612117565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036128705761286f6127d0565b5b600182019050919050565b7f4e6f7420656e6f75676820616d6f756e7420696e2077616c6c65740000000000600082015250565b60006128b1601b83612008565b91506128bc8261287b565b602082019050919050565b600060208201905081810360008301526128e0816128a4565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b6000612943602883612008565b915061294e826128e7565b604082019050919050565b6000602082019050818103600083015261297281612936565b9050919050565b7f474153204572726f723a206d61782061697264726f70206c696d69742069732060008201527f3230303020616464726573736573000000000000000000000000000000000000602082015250565b60006129d5602e83612008565b91506129e082612979565b604082019050919050565b60006020820190508181036000830152612a04816129c8565b9050919050565b6000612a1682612117565b9150612a2183612117565b9250828202612a2f81612117565b91508282048414831517612a4657612a456127d0565b5b5092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612a83602083612008565b9150612a8e82612a4d565b602082019050919050565b60006020820190508181036000830152612ab281612a76565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612b15602583612008565b9150612b2082612ab9565b604082019050919050565b60006020820190508181036000830152612b4481612b08565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612ba7602683612008565b9150612bb282612b4b565b604082019050919050565b60006020820190508181036000830152612bd681612b9a565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612c39602483612008565b9150612c4482612bdd565b604082019050919050565b60006020820190508181036000830152612c6881612c2c565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ccb602283612008565b9150612cd682612c6f565b604082019050919050565b60006020820190508181036000830152612cfa81612cbe565b9050919050565b7f626c697374000000000000000000000000000000000000000000000000000000600082015250565b6000612d37600583612008565b9150612d4282612d01565b602082019050919050565b60006020820190508181036000830152612d6681612d2a565b9050919050565b7f6e6f742077000000000000000000000000000000000000000000000000000000600082015250565b6000612da3600583612008565b9150612dae82612d6d565b602082019050919050565b60006020820190508181036000830152612dd281612d96565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612e0f601f83612008565b9150612e1a82612dd9565b602082019050919050565b60006020820190508181036000830152612e3e81612e02565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612ea1602583612008565b9150612eac82612e45565b604082019050919050565b60006020820190508181036000830152612ed081612e94565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612f33602383612008565b9150612f3e82612ed7565b604082019050919050565b60006020820190508181036000830152612f6281612f26565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612fc5602683612008565b9150612fd082612f69565b604082019050919050565b60006020820190508181036000830152612ff481612fb8565b905091905056fea26469706673582212206e2136e9dc3645d9d2392bce857318f6dec409524c6356850916cfebcf2fe1e464736f6c63430008120033
Verified Source Code Full Match
Compiler: v0.8.18+commit.87f61d96
EVM: paris
Optimization: No
WOB.sol 706 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 WOB 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("WorkOnNitcoin", "WOB") {
_mint(msg.sender, 21000000 * 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