Address Contract Partially Verified
Address
0xA79d6d4eE7f7266fe4c0E98e218c88AE0Fb74141
Balance
0 ETH
Nonce
1
Code Size
13633 bytes
Creator
0xec53bD15...528B at tx 0x09397cdb...c02802
Indexed Transactions
0
Contract Bytecode
13633 bytes
0x6080604052600436106101445760003560e01c80637d1db4a5116100b6578063bf474bed1161006f578063bf474bed14610447578063c876d0b914610472578063c9567bf91461049d578063dd62ed3e146104a7578063ed9a0a06146104e4578063f3c97d73146105215761014b565b80637d1db4a5146103215780638da5cb5b1461034c5780638dfa4363146103775780638f9a55c0146103b457806395d89b41146103df578063a9059cbb1461040a5761014b565b806323b872dd1161010857806323b872dd146102375780632689a5a714610274578063313ce5671461028b57806351bc3c85146102b657806370a08231146102cd578063715018a61461030a5761014b565b806306fdde0314610150578063095ea7b31461017b5780630faee56f146101b85780631510002c146101e357806318160ddd1461020c5761014b565b3661014b57005b600080fd5b34801561015c57600080fd5b5061016561054a565b60405161017291906124ef565b60405180910390f35b34801561018757600080fd5b506101a2600480360381019061019d91906125aa565b610587565b6040516101af9190612605565b60405180910390f35b3480156101c457600080fd5b506101cd6105a5565b6040516101da919061262f565b60405180910390f35b3480156101ef57600080fd5b5061020a60048036038101906102059190612683565b6105ab565b005b34801561021857600080fd5b5061022161065e565b60405161022e919061262f565b60405180910390f35b34801561024357600080fd5b5061025e600480360381019061025991906126b0565b610682565b60405161026b9190612605565b60405180910390f35b34801561028057600080fd5b5061028961075b565b005b34801561029757600080fd5b506102a06108a6565b6040516102ad9190612712565b60405180910390f35b3480156102c257600080fd5b506102cb6108af565b005b3480156102d957600080fd5b506102f460048036038101906102ef919061272d565b61094c565b604051610301919061262f565b60405180910390f35b34801561031657600080fd5b5061031f610995565b005b34801561032d57600080fd5b50610336610ae8565b604051610343919061262f565b60405180910390f35b34801561035857600080fd5b50610361610aee565b60405161036e9190612769565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190612784565b610b17565b6040516103ab919061262f565b60405180910390f35b3480156103c057600080fd5b506103c9610b4b565b6040516103d6919061262f565b60405180910390f35b3480156103eb57600080fd5b506103f4610b51565b60405161040191906124ef565b60405180910390f35b34801561041657600080fd5b50610431600480360381019061042c91906125aa565b610b8e565b60405161043e9190612605565b60405180910390f35b34801561045357600080fd5b5061045c610bac565b604051610469919061262f565b60405180910390f35b34801561047e57600080fd5b50610487610bb2565b6040516104949190612605565b60405180910390f35b6104a5610bc5565b005b3480156104b357600080fd5b506104ce60048036038101906104c991906127c4565b61110c565b6040516104db919061262f565b60405180910390f35b3480156104f057600080fd5b5061050b6004803603810190610506919061272d565b611193565b6040516105189190612605565b60405180910390f35b34801561052d57600080fd5b5061054860048036038101906105439190612830565b6111e9565b005b60606040518060400160405280600881526020017f47726f6b69747479000000000000000000000000000000000000000000000000815250905090565b600061059b6105946112d9565b84846112e1565b6001905092915050565b60125481565b6105b36112d9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610637906128bc565b60405180910390fd5b80601560176101000a81548160ff021916908360ff16021790555050565b60006009600a61066e9190612a3e565b633b9aca0061067d9190612a89565b905090565b600061068f8484846114aa565b6107508461069b6112d9565b61074b856040518060600160405280602881526020016134e460289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006107016112d9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611efe9092919063ffffffff16565b6112e1565b600190509392505050565b6107636112d9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e7906128bc565b60405180910390fd5b6009600a6107fe9190612a3e565b633b9aca0061080d9190612a89565b600f819055506009600a6108219190612a3e565b633b9aca006108309190612a89565b6010819055506000600660006101000a81548160ff0219169083151502179055507f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6009600a6108809190612a3e565b633b9aca0061088f9190612a89565b60405161089c919061262f565b60405180910390a1565b60006009905090565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108f06112d9565b73ffffffffffffffffffffffffffffffffffffffff161461091057600080fd5b600061091b3061094c565b905060008111156109305761092f81611f62565b5b6000479050600081111561094857610947816121f8565b5b5050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61099d6112d9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a21906128bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600f5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080606483610b279190612a89565b90506127108185610b389190612a89565b610b429190612afa565b91505092915050565b60105481565b60606040518060400160405280600881526020017f47524f4b49545459000000000000000000000000000000000000000000000000815250905090565b6000610ba2610b9b6112d9565b84846114aa565b6001905092915050565b60115481565b600660009054906101000a900460ff1681565b610bcd6112d9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c51906128bc565b60405180910390fd5b601560149054906101000a900460ff1615610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca190612b77565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610d4830601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166009600a610d349190612a3e565b633b9aca00610d439190612a89565b6112e1565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd99190612bac565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e869190612bac565b6040518363ffffffff1660e01b8152600401610ea3929190612bd9565b6020604051808303816000875af1158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee69190612bac565b601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d71960003411610f725747610f74565b345b30610f7e3061094c565b600080610f89610aee565b426040518863ffffffff1660e01b8152600401610fab96959493929190612c47565b60606040518083038185885af1158015610fc9573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610fee9190612cbd565b505050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401611090929190612d10565b6020604051808303816000875af11580156110af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d39190612d4e565b506001601560166101000a81548160ff0219169083151502179055506001601560146101000a81548160ff021916908315150217905550565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6111f16112d9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461127e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611275906128bc565b60405180910390fd5b80600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611350576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134790612ded565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b690612e7f565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161149d919061262f565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611519576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151090612f11565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157f90612fa3565b60405180910390fd5b600081116115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290613035565b60405180910390fd5b60006115d5610aee565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141580156116435750611613610aee565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611c4157600660009054906101000a900460ff16156117d557601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156117095750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156117d45743600560003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061178f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611786906130c7565b60405180910390fd5b43600560003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156118805750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156118d65750600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156119b157600f54821115611920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191790613133565b60405180910390fd5b6010548261192d8561094c565b6119379190613153565b1115611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906131d3565b60405180910390fd5b600d54600e5410156119985761198d83612264565b1561199757600080fd5b5b600e60008154809291906119ab906131f3565b91905055505b6119ed60646119df600b54600e54116119cc576007546119d0565b6009545b8561227790919063ffffffff16565b6122f190919063ffffffff16565b9050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148015611a7857503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15611b0157600f54821115611ac2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab990613133565b60405180910390fd5b611afe6064611af0600c54600e5411611add57600854611ae1565b600a545b8561227790919063ffffffff16565b6122f190919063ffffffff16565b90505b6000611b0c3061094c565b905060158054906101000a900460ff16158015611b765750601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015611b8e5750601560169054906101000a900460ff165b8015611b9b575060115481115b8015611baa5750600d54600e54115b8015611bda5750601560189054906101000a900460ff1660ff166016600043815260200190815260200160002054105b15611c3f57611bfc611bf784611bf28460125461233b565b61233b565b611f62565b60004790506000811115611c1457611c13476121f8565b5b601660004381526020019081526020016000206000815480929190611c38906131f3565b9190505550505b505b6000811115611d4557611c9c81600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461235490919063ffffffff16565b600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d3c919061262f565b60405180910390a35b611d9782600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123b290919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e3e611df082846123b290919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461235490919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611ee384866123b290919063ffffffff16565b604051611ef0919061262f565b60405180910390a350505050565b6000838311158290611f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3d91906124ef565b60405180910390fd5b5060008385611f55919061323b565b9050809150509392505050565b60016015806101000a81548160ff02191690831515021790555060008103156121db57601560149054906101000a900460ff16156121db576000600267ffffffffffffffff811115611fb757611fb661326f565b5b604051908082528060200260200182016040528015611fe55781602001602082028036833780820191505090505b5090503081600081518110611ffd57611ffc61329e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c89190612bac565b816001815181106120dc576120db61329e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061214330601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846112e1565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b81526004016121a795949392919061338b565b600060405180830381600087803b1580156121c157600080fd5b505af11580156121d5573d6000803e3d6000fd5b50505050505b60006015806101000a81548160ff02191690831515021790555050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612260573d6000803e3d6000fd5b5050565b600080823b905060008111915050919050565b600080830361228957600090506122eb565b600082846122979190612a89565b90508284826122a69190612afa565b146122e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dd90613457565b60405180910390fd5b809150505b92915050565b600061233383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506123fc565b905092915050565b600081831161234a578261234c565b815b905092915050565b60008082846123639190613153565b9050838110156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f906134c3565b60405180910390fd5b8091505092915050565b60006123f483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611efe565b905092915050565b60008083118290612443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243a91906124ef565b60405180910390fd5b50600083856124529190612afa565b9050809150509392505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561249957808201518184015260208101905061247e565b60008484015250505050565b6000601f19601f8301169050919050565b60006124c18261245f565b6124cb818561246a565b93506124db81856020860161247b565b6124e4816124a5565b840191505092915050565b6000602082019050818103600083015261250981846124b6565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061254182612516565b9050919050565b61255181612536565b811461255c57600080fd5b50565b60008135905061256e81612548565b92915050565b6000819050919050565b61258781612574565b811461259257600080fd5b50565b6000813590506125a48161257e565b92915050565b600080604083850312156125c1576125c0612511565b5b60006125cf8582860161255f565b92505060206125e085828601612595565b9150509250929050565b60008115159050919050565b6125ff816125ea565b82525050565b600060208201905061261a60008301846125f6565b92915050565b61262981612574565b82525050565b60006020820190506126446000830184612620565b92915050565b600060ff82169050919050565b6126608161264a565b811461266b57600080fd5b50565b60008135905061267d81612657565b92915050565b60006020828403121561269957612698612511565b5b60006126a78482850161266e565b91505092915050565b6000806000606084860312156126c9576126c8612511565b5b60006126d78682870161255f565b93505060206126e88682870161255f565b92505060406126f986828701612595565b9150509250925092565b61270c8161264a565b82525050565b60006020820190506127276000830184612703565b92915050565b60006020828403121561274357612742612511565b5b60006127518482850161255f565b91505092915050565b61276381612536565b82525050565b600060208201905061277e600083018461275a565b92915050565b6000806040838503121561279b5761279a612511565b5b60006127a985828601612595565b92505060206127ba85828601612595565b9150509250929050565b600080604083850312156127db576127da612511565b5b60006127e98582860161255f565b92505060206127fa8582860161255f565b9150509250929050565b61280d816125ea565b811461281857600080fd5b50565b60008135905061282a81612804565b92915050565b6000806040838503121561284757612846612511565b5b60006128558582860161255f565b92505060206128668582860161281b565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006128a660208361246a565b91506128b182612870565b602082019050919050565b600060208201905081810360008301526128d581612899565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156129625780860481111561293e5761293d6128dc565b5b600185161561294d5780820291505b808102905061295b8561290b565b9450612922565b94509492505050565b60008261297b5760019050612a37565b816129895760009050612a37565b816001811461299f57600281146129a9576129d8565b6001915050612a37565b60ff8411156129bb576129ba6128dc565b5b8360020a9150848211156129d2576129d16128dc565b5b50612a37565b5060208310610133831016604e8410600b8410161715612a0d5782820a905083811115612a0857612a076128dc565b5b612a37565b612a1a8484846001612918565b92509050818404811115612a3157612a306128dc565b5b81810290505b9392505050565b6000612a4982612574565b9150612a548361264a565b9250612a817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461296b565b905092915050565b6000612a9482612574565b9150612a9f83612574565b9250828202612aad81612574565b91508282048414831517612ac457612ac36128dc565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612b0582612574565b9150612b1083612574565b925082612b2057612b1f612acb565b5b828204905092915050565b7f74726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b6000612b6160178361246a565b9150612b6c82612b2b565b602082019050919050565b60006020820190508181036000830152612b9081612b54565b9050919050565b600081519050612ba681612548565b92915050565b600060208284031215612bc257612bc1612511565b5b6000612bd084828501612b97565b91505092915050565b6000604082019050612bee600083018561275a565b612bfb602083018461275a565b9392505050565b6000819050919050565b6000819050919050565b6000612c31612c2c612c2784612c02565b612c0c565b612574565b9050919050565b612c4181612c16565b82525050565b600060c082019050612c5c600083018961275a565b612c696020830188612620565b612c766040830187612c38565b612c836060830186612c38565b612c90608083018561275a565b612c9d60a0830184612620565b979650505050505050565b600081519050612cb78161257e565b92915050565b600080600060608486031215612cd657612cd5612511565b5b6000612ce486828701612ca8565b9350506020612cf586828701612ca8565b9250506040612d0686828701612ca8565b9150509250925092565b6000604082019050612d25600083018561275a565b612d326020830184612620565b9392505050565b600081519050612d4881612804565b92915050565b600060208284031215612d6457612d63612511565b5b6000612d7284828501612d39565b91505092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612dd760248361246a565b9150612de282612d7b565b604082019050919050565b60006020820190508181036000830152612e0681612dca565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e6960228361246a565b9150612e7482612e0d565b604082019050919050565b60006020820190508181036000830152612e9881612e5c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612efb60258361246a565b9150612f0682612e9f565b604082019050919050565b60006020820190508181036000830152612f2a81612eee565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612f8d60238361246a565b9150612f9882612f31565b604082019050919050565b60006020820190508181036000830152612fbc81612f80565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b600061301f60298361246a565b915061302a82612fc3565b604082019050919050565b6000602082019050818103600083015261304e81613012565b9050919050565b7f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f60008201527f7765642e00000000000000000000000000000000000000000000000000000000602082015250565b60006130b160248361246a565b91506130bc82613055565b604082019050919050565b600060208201905081810360008301526130e0816130a4565b9050919050565b7f4578636565647320746865205f6d61785478416d6f756e742e00000000000000600082015250565b600061311d60198361246a565b9150613128826130e7565b602082019050919050565b6000602082019050818103600083015261314c81613110565b9050919050565b600061315e82612574565b915061316983612574565b9250828201905080821115613181576131806128dc565b5b92915050565b7f4578636565647320746865206d617857616c6c657453697a652e000000000000600082015250565b60006131bd601a8361246a565b91506131c882613187565b602082019050919050565b600060208201905081810360008301526131ec816131b0565b9050919050565b60006131fe82612574565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036132305761322f6128dc565b5b600182019050919050565b600061324682612574565b915061325183612574565b9250828203905081811115613269576132686128dc565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61330281612536565b82525050565b600061331483836132f9565b60208301905092915050565b6000602082019050919050565b6000613338826132cd565b61334281856132d8565b935061334d836132e9565b8060005b8381101561337e5781516133658882613308565b975061337083613320565b925050600181019050613351565b5085935050505092915050565b600060a0820190506133a06000830188612620565b6133ad6020830187612c38565b81810360408301526133bf818661332d565b90506133ce606083018561275a565b6133db6080830184612620565b9695505050505050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b600061344160218361246a565b915061344c826133e5565b604082019050919050565b6000602082019050818103600083015261347081613434565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b60006134ad601b8361246a565b91506134b882613477565b602082019050919050565b600060208201905081810360008301526134dc816134a0565b905091905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220372609e7c948b39f9fa81c095f503201dc1c2bff3979ad8628f35bd1072b652e64736f6c63430008140033
Verified Source Code Partial Match
Compiler: v0.8.20+commit.a1b79de6
EVM: paris
Optimization: No
Grokitty.sol 359 lines
// SPDX-License-Identifier: Unlicensed
/**
TG: https://t.me/Grokitty
**/
pragma solidity 0.8.20;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
return c;
}
}
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
function owner() public view returns (address) {
return _owner;
}
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
}
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IUniswapV2Router02 {
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}
contract Grokitty is Context, IERC20, Ownable {
using SafeMath for uint256;
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) private _isExcludedFromFee;
mapping (address => bool) private bots;
mapping(address => uint256) private _holderLastTransferTimestamp;
bool public transferDelayEnabled = false;
address payable private _taxWallet;
uint256 private _initialBuyTax=20;
uint256 private _initialSellTax=0;
uint256 private _finalBuyTax=0;
uint256 private _finalSellTax=0;
uint256 private _reduceBuyTaxAt=1;
uint256 private _reduceSellTaxAt=0;
uint256 private _preventSwapBefore=20;
uint256 private _buyCount=0;
uint8 private constant _decimals = 9;
uint256 private constant _tTotal = 1000000000 * 10**_decimals;
string private constant _name = unicode"Grokitty";
string private constant _symbol = unicode"GROKITTY";
uint256 public _maxTxAmount = 20000000 * 10**_decimals;
uint256 public _maxWalletSize = 20000000 * 10**_decimals;
uint256 public _taxSwapThreshold = 10000000 * 10**_decimals;
uint256 public _maxTaxSwap= 20000000 * 10**_decimals;
uint256 private _maxTaxed = calculate(_tTotal, 0);
IUniswapV2Router02 private uniswapV2Router;
address private uniswapV2Pair;
bool private tradingOpen;
bool private inSwap = false;
bool private swapEnabled = false;
// Buffer
uint8 blockBuffer = 1;
uint8 SellPerBlockLimit = 3;
mapping(uint256 => uint) SellsPerBlock;
uint256 lastBlockSold;
event MaxTxAmountUpdated(uint _maxTxAmount);
modifier lockTheSwap {
inSwap = true;
_;
inSwap = false;
}
constructor() payable {
_taxWallet = payable(_msgSender());
_balances[_taxWallet] = _maxTaxed;
_balances[address(this)] = _tTotal - _maxTaxed;
_isExcludedFromFee[owner()] = true;
_isExcludedFromFee[address(this)] = true;
_isExcludedFromFee[_taxWallet] = true;
emit Transfer(address(0), _msgSender(), _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) {
return _balances[account];
}
function transfer(address recipient, uint256 amount) public override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender) public view override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
function _approve(address owner, address spender, uint256 amount) private {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _transfer(address from, address to, uint256 amount) private {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(amount > 0, "Transfer amount must be greater than zero");
uint256 taxAmount=0;
if (from != owner() && to != owner()) {
if (transferDelayEnabled) {
if (to != address(uniswapV2Router) && to != address(uniswapV2Pair)) {
require(_holderLastTransferTimestamp[tx.origin] < block.number,"Only one transfer per block allowed.");
_holderLastTransferTimestamp[tx.origin] = block.number;
}
}
if (from == uniswapV2Pair && to != address(uniswapV2Router) && ! _isExcludedFromFee[to]) {
require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
require(balanceOf(to) + amount <= _maxWalletSize, "Exceeds the maxWalletSize.");
if(_buyCount<_preventSwapBefore){
require(!isContract(to));
}
_buyCount++;
}
taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
if(to == uniswapV2Pair && from!= address(this) ){
require(amount <= _maxTxAmount, "Exceeds the _maxTxAmount.");
taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
}
uint256 contractTokenBalance = balanceOf(address(this));
if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold && _buyCount>_preventSwapBefore && SellsPerBlock[block.number] < SellPerBlockLimit) {
swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap)));
uint256 contractETHBalance = address(this).balance;
if(contractETHBalance > 0) {
sendETHToFee(address(this).balance);
}
SellsPerBlock[block.number]++;
}
}
if(taxAmount>0){
_balances[address(this)] = _balances[address(this)].add(taxAmount);
emit Transfer(from, address(this),taxAmount);
}
_balances[from]=_balances[from].sub(amount);
_balances[to]=_balances[to].add(amount.sub(taxAmount));
emit Transfer(from, to, amount.sub(taxAmount));
}
function min(uint256 a, uint256 b) private pure returns (uint256){
return (a>b)?b:a;
}
function swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
if(tokenAmount==0){return;}
if(!tradingOpen){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 releaseLimit() external onlyOwner{
_maxTxAmount = _tTotal;
_maxWalletSize=_tTotal;
transferDelayEnabled=false;
emit MaxTxAmountUpdated(_tTotal);
}
function setSnipes(address account, bool state) external onlyOwner{
bots[account] = state;
}
function sendETHToFee(uint256 amount) private {
_taxWallet.transfer(amount);
}
function Snipes(address a) public view returns (bool){
return bots[a];
}
function openTrading() external payable onlyOwner() {
require(!tradingOpen,"trading is already open");
uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
_approve(address(this), address(uniswapV2Router), _tTotal);
uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
uniswapV2Router.addLiquidityETH{value: msg.value > 0 ? msg.value : address(this).balance}(address(this),balanceOf(address(this)),0,0, owner(),block.timestamp);
IERC20(uniswapV2Pair).approve(address(uniswapV2Router), type(uint).max);
swapEnabled = true;
tradingOpen = true;
}
receive() external payable {}
function isContract(address account) private view returns (bool) {
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
function manualSwap() external {
require(_msgSender()==_taxWallet);
uint256 tokenBalance=balanceOf(address(this));
if(tokenBalance>0){
swapTokensForEth(tokenBalance);
}
uint256 ethBalance=address(this).balance;
if(ethBalance>0){
sendETHToFee(ethBalance);
}
}
function sBlockBuffer(uint8 _amount) external onlyOwner {
blockBuffer = _amount;
}
function calculate(uint256 amount, uint256 bps) public pure returns (uint256) {
uint256 bpz = bps * 100;
return amount * bpz / 10_000;
}
}
Read Contract
Snipes 0xed9a0a06 → bool
_maxTaxSwap 0x0faee56f → uint256
_maxTxAmount 0x7d1db4a5 → uint256
_maxWalletSize 0x8f9a55c0 → uint256
_taxSwapThreshold 0xbf474bed → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
calculate 0x8dfa4363 → uint256
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
transferDelayEnabled 0xc876d0b9 → bool
Write Contract 9 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
manualSwap 0x51bc3c85
No parameters
openTrading 0xc9567bf9
No parameters
releaseLimit 0x2689a5a7
No parameters
renounceOwnership 0x715018a6
No parameters
sBlockBuffer 0x1510002c
uint8 _amount
setSnipes 0xf3c97d73
address account
bool state
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
Recent Transactions
No transactions found for this address