Address Contract Verified
Address
0x188b67f8a3a37AF476C6a448d898A5A3D496264E
Balance
0.304348 ETH
Nonce
1
Code Size
12747 bytes
Creator
0xe6b1A94A...CC85 at tx 0xca5a5fe5...ec537e
Indexed Transactions
0
Contract Bytecode
12747 bytes
0x6080604052600436106101235760003560e01c8063751039fc116100a0578063a9059cbb11610064578063a9059cbb146103c0578063bf474bed146103fd578063c876d0b914610428578063c9567bf914610453578063dd62ed3e1461046a5761012a565b8063751039fc146102fd5780637d1db4a5146103145780638da5cb5b1461033f5780638f9a55c01461036a57806395d89b41146103955761012a565b8063313ce567116100e7578063313ce5671461022a5780633bbac5791461025557806351bc3c851461029257806370a08231146102a9578063715018a6146102e65761012a565b806306fdde031461012f578063095ea7b31461015a5780630faee56f1461019757806318160ddd146101c257806323b872dd146101ed5761012a565b3661012a57005b600080fd5b34801561013b57600080fd5b506101446104a7565b6040516101519190612267565b60405180910390f35b34801561016657600080fd5b50610181600480360381019061017c9190612322565b6104e4565b60405161018e919061237d565b60405180910390f35b3480156101a357600080fd5b506101ac610502565b6040516101b991906123a7565b60405180910390f35b3480156101ce57600080fd5b506101d7610508565b6040516101e491906123a7565b60405180910390f35b3480156101f957600080fd5b50610214600480360381019061020f91906123c2565b61052b565b604051610221919061237d565b60405180910390f35b34801561023657600080fd5b5061023f610604565b60405161024c9190612431565b60405180910390f35b34801561026157600080fd5b5061027c6004803603810190610277919061244c565b61060d565b604051610289919061237d565b60405180910390f35b34801561029e57600080fd5b506102a7610663565b005b3480156102b557600080fd5b506102d060048036038101906102cb919061244c565b610700565b6040516102dd91906123a7565b60405180910390f35b3480156102f257600080fd5b506102fb610749565b005b34801561030957600080fd5b5061031261089c565b005b34801561032057600080fd5b506103296109e4565b60405161033691906123a7565b60405180910390f35b34801561034b57600080fd5b506103546109ea565b6040516103619190612488565b60405180910390f35b34801561037657600080fd5b5061037f610a13565b60405161038c91906123a7565b60405180910390f35b3480156103a157600080fd5b506103aa610a19565b6040516103b79190612267565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e29190612322565b610a56565b6040516103f4919061237d565b60405180910390f35b34801561040957600080fd5b50610412610a74565b60405161041f91906123a7565b60405180910390f35b34801561043457600080fd5b5061043d610a7a565b60405161044a919061237d565b60405180910390f35b34801561045f57600080fd5b50610468610a8d565b005b34801561047657600080fd5b50610491600480360381019061048c91906124a3565b610fc1565b60405161049e91906123a7565b60405180910390f35b60606040518060400160405280600881526020017f4775646574616d61000000000000000000000000000000000000000000000000815250905090565b60006104f86104f1611048565b8484611050565b6001905092915050565b60125481565b60006008600a6105189190612645565b620f90606105269190612690565b905090565b6000610538848484611219565b6105f984610544611048565b6105f48560405180606001604052806028815260200161316e60289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006105aa611048565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c899092919063ffffffff16565b611050565b600190509392505050565b60006008905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166106a4611048565b73ffffffffffffffffffffffffffffffffffffffff16146106c457600080fd5b60006106cf30610700565b905060008111156106e4576106e381611ced565b5b600047905060008111156106fc576106fb81611f83565b5b5050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610751611048565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146107de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d59061271e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6108a4611048565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610931576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109289061271e565b60405180910390fd5b6008600a61093f9190612645565b620f906061094d9190612690565b600f819055506008600a6109619190612645565b620f906061096f9190612690565b6010819055506000600660006101000a81548160ff0219169083151502179055507f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6008600a6109bf9190612645565b620f90606109cd9190612690565b6040516109da91906123a7565b60405180910390a1565b600f5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b60606040518060400160405280600881526020017f4755444554414d41000000000000000000000000000000000000000000000000815250905090565b6000610a6a610a63611048565b8484611219565b6001905092915050565b60115481565b600660009054906101000a900460ff1681565b610a95611048565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b199061271e565b60405180910390fd5b60148054906101000a900460ff1615610b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b679061278a565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610c0d30601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166008600a610bfa9190612645565b620f9060610c089190612690565b611050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9e91906127bf565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4b91906127bf565b6040518363ffffffff1660e01b8152600401610d689291906127ec565b6020604051808303816000875af1158015610d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dab91906127bf565b601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610e3430610700565b600080610e3f6109ea565b426040518863ffffffff1660e01b8152600401610e619695949392919061285a565b60606040518083038185885af1158015610e7f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ea491906128d0565b505050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610f46929190612923565b6020604051808303816000875af1158015610f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f899190612978565b506001601460166101000a81548160ff02191690831515021790555060016014806101000a81548160ff021916908315150217905550565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690612a17565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590612aa9565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161120c91906123a7565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90612b3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee90612bcd565b60405180910390fd5b6000811161133a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133190612c5f565b60405180910390fd5b60006113446109ea565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141580156113b257506113826109ea565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156119cc57600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561145b5750600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b61146457600080fd5b60148054906101000a900460ff16801561148a5750600660009054906101000a900460ff165b1561160757601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561153b5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156116065743600560003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106115c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b890612cf1565b60405180910390fd5b43600560003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480156116b25750601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156117085750600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156117c357600f54821115611752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174990612d5d565b60405180910390fd5b6010548261175f85610700565b6117699190612d7d565b11156117aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a190612dfd565b60405180910390fd5b600e60008154809291906117bd90612e1d565b91905055505b601460159054906101000a900460ff166118e3576118136064611805600b54600e54116117f2576007546117f6565b6009545b85611fef90919063ffffffff16565b61206990919063ffffffff16565b9050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614801561189e57503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b156118e2576118df60646118d1600c54600e54116118be576008546118c2565b600a545b85611fef90919063ffffffff16565b61206990919063ffffffff16565b90505b5b60006118ee30610700565b9050601460159054906101000a900460ff1615801561195a5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80156119725750601460169054906101000a900460ff165b801561197f575060115481115b801561198e5750600d54600e54115b156119ca576119b06119ab846119a6846012546120b3565b6120b3565b611ced565b600047905060008111156119c8576119c747611f83565b5b505b505b6000811115611ad057611a2781600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120cc90919063ffffffff16565b600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611ac791906123a7565b60405180910390a35b611b2282600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461212a90919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611bc9611b7b828461212a90919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120cc90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611c6e848661212a90919063ffffffff16565b604051611c7b91906123a7565b60405180910390a350505050565b6000838311158290611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc89190612267565b60405180910390fd5b5060008385611ce09190612e65565b9050809150509392505050565b6001601460156101000a81548160ff0219169083151502179055506000810315611f655760148054906101000a900460ff1615611f65576000600267ffffffffffffffff811115611d4157611d40612e99565b5b604051908082528060200260200182016040528015611d6f5781602001602082028036833780820191505090505b5090503081600081518110611d8757611d86612ec8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5291906127bf565b81600181518110611e6657611e65612ec8565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611ecd30601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401611f31959493929190612fb5565b600060405180830381600087803b158015611f4b57600080fd5b505af1158015611f5f573d6000803e3d6000fd5b50505050505b6000601460156101000a81548160ff02191690831515021790555050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611feb573d6000803e3d6000fd5b5050565b60008083036120015760009050612063565b6000828461200f9190612690565b905082848261201e919061303e565b1461205e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612055906130e1565b60405180910390fd5b809150505b92915050565b60006120ab83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612174565b905092915050565b60008183116120c257826120c4565b815b905092915050565b60008082846120db9190612d7d565b905083811015612120576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121179061314d565b60405180910390fd5b8091505092915050565b600061216c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c89565b905092915050565b600080831182906121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b29190612267565b60405180910390fd5b50600083856121ca919061303e565b9050809150509392505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156122115780820151818401526020810190506121f6565b60008484015250505050565b6000601f19601f8301169050919050565b6000612239826121d7565b61224381856121e2565b93506122538185602086016121f3565b61225c8161221d565b840191505092915050565b60006020820190508181036000830152612281818461222e565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006122b98261228e565b9050919050565b6122c9816122ae565b81146122d457600080fd5b50565b6000813590506122e6816122c0565b92915050565b6000819050919050565b6122ff816122ec565b811461230a57600080fd5b50565b60008135905061231c816122f6565b92915050565b6000806040838503121561233957612338612289565b5b6000612347858286016122d7565b92505060206123588582860161230d565b9150509250929050565b60008115159050919050565b61237781612362565b82525050565b6000602082019050612392600083018461236e565b92915050565b6123a1816122ec565b82525050565b60006020820190506123bc6000830184612398565b92915050565b6000806000606084860312156123db576123da612289565b5b60006123e9868287016122d7565b93505060206123fa868287016122d7565b925050604061240b8682870161230d565b9150509250925092565b600060ff82169050919050565b61242b81612415565b82525050565b60006020820190506124466000830184612422565b92915050565b60006020828403121561246257612461612289565b5b6000612470848285016122d7565b91505092915050565b612482816122ae565b82525050565b600060208201905061249d6000830184612479565b92915050565b600080604083850312156124ba576124b9612289565b5b60006124c8858286016122d7565b92505060206124d9858286016122d7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111561256957808604811115612545576125446124e3565b5b60018516156125545780820291505b808102905061256285612512565b9450612529565b94509492505050565b600082612582576001905061263e565b81612590576000905061263e565b81600181146125a657600281146125b0576125df565b600191505061263e565b60ff8411156125c2576125c16124e3565b5b8360020a9150848211156125d9576125d86124e3565b5b5061263e565b5060208310610133831016604e8410600b84101617156126145782820a90508381111561260f5761260e6124e3565b5b61263e565b612621848484600161251f565b92509050818404811115612638576126376124e3565b5b81810290505b9392505050565b6000612650826122ec565b915061265b83612415565b92506126887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612572565b905092915050565b600061269b826122ec565b91506126a6836122ec565b92508282026126b4816122ec565b915082820484148315176126cb576126ca6124e3565b5b5092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006127086020836121e2565b9150612713826126d2565b602082019050919050565b60006020820190508181036000830152612737816126fb565b9050919050565b7f74726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b60006127746017836121e2565b915061277f8261273e565b602082019050919050565b600060208201905081810360008301526127a381612767565b9050919050565b6000815190506127b9816122c0565b92915050565b6000602082840312156127d5576127d4612289565b5b60006127e3848285016127aa565b91505092915050565b60006040820190506128016000830185612479565b61280e6020830184612479565b9392505050565b6000819050919050565b6000819050919050565b600061284461283f61283a84612815565b61281f565b6122ec565b9050919050565b61285481612829565b82525050565b600060c08201905061286f6000830189612479565b61287c6020830188612398565b612889604083018761284b565b612896606083018661284b565b6128a36080830185612479565b6128b060a0830184612398565b979650505050505050565b6000815190506128ca816122f6565b92915050565b6000806000606084860312156128e9576128e8612289565b5b60006128f7868287016128bb565b9350506020612908868287016128bb565b9250506040612919868287016128bb565b9150509250925092565b60006040820190506129386000830185612479565b6129456020830184612398565b9392505050565b61295581612362565b811461296057600080fd5b50565b6000815190506129728161294c565b92915050565b60006020828403121561298e5761298d612289565b5b600061299c84828501612963565b91505092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612a016024836121e2565b9150612a0c826129a5565b604082019050919050565b60006020820190508181036000830152612a30816129f4565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a936022836121e2565b9150612a9e82612a37565b604082019050919050565b60006020820190508181036000830152612ac281612a86565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612b256025836121e2565b9150612b3082612ac9565b604082019050919050565b60006020820190508181036000830152612b5481612b18565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612bb76023836121e2565b9150612bc282612b5b565b604082019050919050565b60006020820190508181036000830152612be681612baa565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b6000612c496029836121e2565b9150612c5482612bed565b604082019050919050565b60006020820190508181036000830152612c7881612c3c565b9050919050565b7f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f60008201527f7765642e00000000000000000000000000000000000000000000000000000000602082015250565b6000612cdb6024836121e2565b9150612ce682612c7f565b604082019050919050565b60006020820190508181036000830152612d0a81612cce565b9050919050565b7f4578636565647320746865205f6d61785478416d6f756e742e00000000000000600082015250565b6000612d476019836121e2565b9150612d5282612d11565b602082019050919050565b60006020820190508181036000830152612d7681612d3a565b9050919050565b6000612d88826122ec565b9150612d93836122ec565b9250828201905080821115612dab57612daa6124e3565b5b92915050565b7f4578636565647320746865206d617857616c6c657453697a652e000000000000600082015250565b6000612de7601a836121e2565b9150612df282612db1565b602082019050919050565b60006020820190508181036000830152612e1681612dda565b9050919050565b6000612e28826122ec565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612e5a57612e596124e3565b5b600182019050919050565b6000612e70826122ec565b9150612e7b836122ec565b9250828203905081811115612e9357612e926124e3565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f2c816122ae565b82525050565b6000612f3e8383612f23565b60208301905092915050565b6000602082019050919050565b6000612f6282612ef7565b612f6c8185612f02565b9350612f7783612f13565b8060005b83811015612fa8578151612f8f8882612f32565b9750612f9a83612f4a565b925050600181019050612f7b565b5085935050505092915050565b600060a082019050612fca6000830188612398565b612fd7602083018761284b565b8181036040830152612fe98186612f57565b9050612ff86060830185612479565b6130056080830184612398565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613049826122ec565b9150613054836122ec565b9250826130645761306361300f565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b60006130cb6021836121e2565b91506130d68261306f565b604082019050919050565b600060208201905081810360008301526130fa816130be565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b6000613137601b836121e2565b915061314282613101565b602082019050919050565b600060208201905081810360008301526131668161312a565b905091905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122085e5859829106dc95fa2891c52871e840779ab09811478a4d782efd1b8b3754464736f6c63430008130033
Verified Source Code Full Match
Compiler: v0.8.19+commit.7dd6d404
EVM: paris
Optimization: No
GUDETAMA.sol 324 lines
// SPDX-License-Identifier: MIT
/**
https://www.gudetamatoken.com/
https://t.me/gudetamaeth
**/
pragma solidity 0.8.19;
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 GUDETAMA 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=15;
uint256 private _initialSellTax=25;
uint256 private _finalBuyTax=0;
uint256 private _finalSellTax=0;
uint256 private _reduceBuyTaxAt=15;
uint256 private _reduceSellTaxAt=28;
uint256 private _preventSwapBefore=20;
uint256 private _buyCount=0;
uint8 private constant _decimals = 8;
uint256 private constant _tTotal = 1020000 * 10**_decimals;
string private constant _name = unicode"Gudetama";
string private constant _symbol = unicode"GUDETAMA";
uint256 public _maxTxAmount = 30000 * 10**_decimals;
uint256 public _maxWalletSize = 30000 * 10**_decimals;
uint256 public _taxSwapThreshold=10000 * 10**_decimals;
uint256 public _maxTaxSwap=10000 * 10**_decimals;
IUniswapV2Router02 private uniswapV2Router;
address private uniswapV2Pair;
bool private tradingOpen;
bool private inSwap = false;
bool private swapEnabled = false;
event MaxTxAmountUpdated(uint _maxTxAmount);
modifier lockTheSwap {
inSwap = true;
_;
inSwap = false;
}
constructor () {
_taxWallet = payable(_msgSender());
_balances[_msgSender()] = _tTotal;
_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()) {
require(!bots[from] && !bots[to]);
if (tradingOpen && 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.");
_buyCount++;
}
if(!inSwap){
taxAmount = amount.mul((_buyCount>_reduceBuyTaxAt)?_finalBuyTax:_initialBuyTax).div(100);
if(to == uniswapV2Pair && from!= address(this) ){
taxAmount = amount.mul((_buyCount>_reduceSellTaxAt)?_finalSellTax:_initialSellTax).div(100);
}
}
uint256 contractTokenBalance = balanceOf(address(this));
if (!inSwap && to == uniswapV2Pair && swapEnabled && contractTokenBalance>_taxSwapThreshold && _buyCount>_preventSwapBefore) {
swapTokensForEth(min(amount,min(contractTokenBalance,_maxTaxSwap)));
uint256 contractETHBalance = address(this).balance;
if(contractETHBalance > 0) {
sendETHToFee(address(this).balance);
}
}
}
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 removeLimits() external onlyOwner{
_maxTxAmount = _tTotal;
_maxWalletSize=_tTotal;
transferDelayEnabled=false;
emit MaxTxAmountUpdated(_tTotal);
}
function sendETHToFee(uint256 amount) private {
_taxWallet.transfer(amount);
}
function isBot(address a) public view returns (bool){
return bots[a];
}
function openTrading() external 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: 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 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);
}
}
}
Read Contract
_maxTaxSwap 0x0faee56f → uint256
_maxTxAmount 0x7d1db4a5 → uint256
_maxWalletSize 0x8f9a55c0 → uint256
_taxSwapThreshold 0xbf474bed → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
isBot 0x3bbac579 → bool
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
transferDelayEnabled 0xc876d0b9 → bool
Write Contract 7 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
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
Recent Transactions
No transactions found for this address