Address Contract Partially Verified
Address
0x70d53f3D7CBB60cd2dB36df7Ca129c8573F1aFf0
Balance
0 ETH
Nonce
1
Code Size
12862 bytes
Creator
0xCa2fd555...C583 at tx 0x26ba1dfe...2c91d3
Indexed Transactions
0
Contract Bytecode
12862 bytes
0x60806040526004361061012e5760003560e01c8063751039fc116100ab578063a9059cbb1161006f578063a9059cbb146103cb578063bf474bed14610408578063c876d0b914610433578063c9567bf91461045e578063dd62ed3e14610475578063ec1f3f63146104b257610135565b8063751039fc146103085780637d1db4a51461031f5780638da5cb5b1461034a5780638f9a55c01461037557806395d89b41146103a057610135565b8063313ce567116100f2578063313ce567146102355780633bbac5791461026057806351bc3c851461029d57806370a08231146102b4578063715018a6146102f157610135565b806306fdde031461013a578063095ea7b3146101655780630faee56f146101a257806318160ddd146101cd57806323b872dd146101f857610135565b3661013557005b600080fd5b34801561014657600080fd5b5061014f6104db565b60405161015c91906122ad565b60405180910390f35b34801561017157600080fd5b5061018c60048036038101906101879190612368565b610518565b60405161019991906123c3565b60405180910390f35b3480156101ae57600080fd5b506101b7610536565b6040516101c491906123ed565b60405180910390f35b3480156101d957600080fd5b506101e261053c565b6040516101ef91906123ed565b60405180910390f35b34801561020457600080fd5b5061021f600480360381019061021a9190612408565b61055f565b60405161022c91906123c3565b60405180910390f35b34801561024157600080fd5b5061024a610638565b6040516102579190612477565b60405180910390f35b34801561026c57600080fd5b5061028760048036038101906102829190612492565b610641565b60405161029491906123c3565b60405180910390f35b3480156102a957600080fd5b506102b2610697565b005b3480156102c057600080fd5b506102db60048036038101906102d69190612492565b610734565b6040516102e891906123ed565b60405180910390f35b3480156102fd57600080fd5b5061030661077d565b005b34801561031457600080fd5b5061031d6108d0565b005b34801561032b57600080fd5b50610334610a18565b60405161034191906123ed565b60405180910390f35b34801561035657600080fd5b5061035f610a1e565b60405161036c91906124ce565b60405180910390f35b34801561038157600080fd5b5061038a610a47565b60405161039791906123ed565b60405180910390f35b3480156103ac57600080fd5b506103b5610a4d565b6040516103c291906122ad565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190612368565b610a8a565b6040516103ff91906123c3565b60405180910390f35b34801561041457600080fd5b5061041d610aa8565b60405161042a91906123ed565b60405180910390f35b34801561043f57600080fd5b50610448610aae565b60405161045591906123c3565b60405180910390f35b34801561046a57600080fd5b50610473610ac1565b005b34801561048157600080fd5b5061049c600480360381019061049791906124e9565b610ff5565b6040516104a991906123ed565b60405180910390f35b3480156104be57600080fd5b506104d960048036038101906104d49190612529565b61107c565b005b60606040518060400160405280600c81526020017f546865204f776c20536167650000000000000000000000000000000000000000815250905090565b600061052c6105256110b9565b84846110c1565b6001905092915050565b60125481565b60006008600a61054c91906126b8565b620f424061055a9190612703565b905090565b600061056c84848461128a565b61062d846105786110b9565b610628856040518060600160405280602881526020016131e160289139600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006105de6110b9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ccf9092919063ffffffff16565b6110c1565b600190509392505050565b60006008905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166106d86110b9565b73ffffffffffffffffffffffffffffffffffffffff16146106f857600080fd5b600061070330610734565b905060008111156107185761071781611d33565b5b600047905060008111156107305761072f81611fc9565b5b5050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6107856110b9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080990612791565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6108d86110b9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095c90612791565b60405180910390fd5b6008600a61097391906126b8565b620f42406109819190612703565b600f819055506008600a61099591906126b8565b620f42406109a39190612703565b6010819055506000600660006101000a81548160ff0219169083151502179055507f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6008600a6109f391906126b8565b620f4240610a019190612703565b604051610a0e91906123ed565b60405180910390a1565b600f5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b60606040518060400160405280600481526020017f484f4f5400000000000000000000000000000000000000000000000000000000815250905090565b6000610a9e610a976110b9565b848461128a565b6001905092915050565b60115481565b600660009054906101000a900460ff1681565b610ac96110b9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4d90612791565b60405180910390fd5b60148054906101000a900460ff1615610ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9b906127fd565b60405180910390fd5b737a250d5630b4cf539739df2c5dacb4c659f2488d601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610c4130601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166008600a610c2e91906126b8565b620f4240610c3c9190612703565b6110c1565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd29190612832565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539630601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7f9190612832565b6040518363ffffffff1660e01b8152600401610d9c92919061285f565b6020604051808303816000875af1158015610dbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddf9190612832565b601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610e6830610734565b600080610e73610a1e565b426040518863ffffffff1660e01b8152600401610e95969594939291906128cd565b60606040518083038185885af1158015610eb3573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610ed89190612943565b505050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401610f7a929190612996565b6020604051808303816000875af1158015610f99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbd91906129eb565b506001601460166101000a81548160ff02191690831515021790555060016014806101000a81548160ff021916908315150217905550565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a600e541161108b57600080fd5b600a54811115801561109f57506009548111155b6110a857600080fd5b80600a819055508060098190555050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112790612a8a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690612b1c565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161127d91906123ed565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f090612bae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f90612c40565b60405180910390fd5b600081116113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a290612cd2565b60405180910390fd5b60006113b5610a1e565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415801561142357506113f3610a1e565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611a1257600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156114cc5750600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b6114d557600080fd5b600660009054906101000a900460ff161561166257601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156115965750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156116615743600560003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061161c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161390612d64565b60405180910390fd5b43600560003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614801561170d5750601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156117635750600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561181e57600f548211156117ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a490612dd0565b60405180910390fd5b601054826117ba85610734565b6117c49190612df0565b1115611805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fc90612e70565b60405180910390fd5b600e600081548092919061181890612e90565b91905055505b61185a606461184c600b54600e54116118395760075461183d565b6009545b8561203590919063ffffffff16565b6120af90919063ffffffff16565b9050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480156118e557503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15611929576119266064611918600c54600e541161190557600854611909565b600a545b8561203590919063ffffffff16565b6120af90919063ffffffff16565b90505b600061193430610734565b9050601460159054906101000a900460ff161580156119a05750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80156119b85750601460169054906101000a900460ff165b80156119c5575060115481115b80156119d45750600d54600e54115b15611a10576119f66119f1846119ec846012546120f9565b6120f9565b611d33565b60004790506000811115611a0e57611a0d47611fc9565b5b505b505b6000811115611b1657611a6d81600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461211290919063ffffffff16565b600160003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b0d91906123ed565b60405180910390a35b611b6882600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461217090919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c0f611bc1828461217090919063ffffffff16565b600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461211290919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611cb4848661217090919063ffffffff16565b604051611cc191906123ed565b60405180910390a350505050565b6000838311158290611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e91906122ad565b60405180910390fd5b5060008385611d269190612ed8565b9050809150509392505050565b6001601460156101000a81548160ff0219169083151502179055506000810315611fab5760148054906101000a900460ff1615611fab576000600267ffffffffffffffff811115611d8757611d86612f0c565b5b604051908082528060200260200182016040528015611db55781602001602082028036833780820191505090505b5090503081600081518110611dcd57611dcc612f3b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e989190612832565b81600181518110611eac57611eab612f3b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611f1330601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846110c1565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401611f77959493929190613028565b600060405180830381600087803b158015611f9157600080fd5b505af1158015611fa5573d6000803e3d6000fd5b50505050505b6000601460156101000a81548160ff02191690831515021790555050565b600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612031573d6000803e3d6000fd5b5050565b600080830361204757600090506120a9565b600082846120559190612703565b905082848261206491906130b1565b146120a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209b90613154565b60405180910390fd5b809150505b92915050565b60006120f183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506121ba565b905092915050565b6000818311612108578261210a565b815b905092915050565b60008082846121219190612df0565b905083811015612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d906131c0565b60405180910390fd5b8091505092915050565b60006121b283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611ccf565b905092915050565b60008083118290612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f891906122ad565b60405180910390fd5b506000838561221091906130b1565b9050809150509392505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561225757808201518184015260208101905061223c565b60008484015250505050565b6000601f19601f8301169050919050565b600061227f8261221d565b6122898185612228565b9350612299818560208601612239565b6122a281612263565b840191505092915050565b600060208201905081810360008301526122c78184612274565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006122ff826122d4565b9050919050565b61230f816122f4565b811461231a57600080fd5b50565b60008135905061232c81612306565b92915050565b6000819050919050565b61234581612332565b811461235057600080fd5b50565b6000813590506123628161233c565b92915050565b6000806040838503121561237f5761237e6122cf565b5b600061238d8582860161231d565b925050602061239e85828601612353565b9150509250929050565b60008115159050919050565b6123bd816123a8565b82525050565b60006020820190506123d860008301846123b4565b92915050565b6123e781612332565b82525050565b600060208201905061240260008301846123de565b92915050565b600080600060608486031215612421576124206122cf565b5b600061242f8682870161231d565b93505060206124408682870161231d565b925050604061245186828701612353565b9150509250925092565b600060ff82169050919050565b6124718161245b565b82525050565b600060208201905061248c6000830184612468565b92915050565b6000602082840312156124a8576124a76122cf565b5b60006124b68482850161231d565b91505092915050565b6124c8816122f4565b82525050565b60006020820190506124e360008301846124bf565b92915050565b60008060408385031215612500576124ff6122cf565b5b600061250e8582860161231d565b925050602061251f8582860161231d565b9150509250929050565b60006020828403121561253f5761253e6122cf565b5b600061254d84828501612353565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156125dc578086048111156125b8576125b7612556565b5b60018516156125c75780820291505b80810290506125d585612585565b945061259c565b94509492505050565b6000826125f557600190506126b1565b8161260357600090506126b1565b8160018114612619576002811461262357612652565b60019150506126b1565b60ff84111561263557612634612556565b5b8360020a91508482111561264c5761264b612556565b5b506126b1565b5060208310610133831016604e8410600b84101617156126875782820a90508381111561268257612681612556565b5b6126b1565b6126948484846001612592565b925090508184048111156126ab576126aa612556565b5b81810290505b9392505050565b60006126c382612332565b91506126ce8361245b565b92506126fb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846125e5565b905092915050565b600061270e82612332565b915061271983612332565b925082820261272781612332565b9150828204841483151761273e5761273d612556565b5b5092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061277b602083612228565b915061278682612745565b602082019050919050565b600060208201905081810360008301526127aa8161276e565b9050919050565b7f74726164696e6720697320616c7265616479206f70656e000000000000000000600082015250565b60006127e7601783612228565b91506127f2826127b1565b602082019050919050565b60006020820190508181036000830152612816816127da565b9050919050565b60008151905061282c81612306565b92915050565b600060208284031215612848576128476122cf565b5b60006128568482850161281d565b91505092915050565b600060408201905061287460008301856124bf565b61288160208301846124bf565b9392505050565b6000819050919050565b6000819050919050565b60006128b76128b26128ad84612888565b612892565b612332565b9050919050565b6128c78161289c565b82525050565b600060c0820190506128e260008301896124bf565b6128ef60208301886123de565b6128fc60408301876128be565b61290960608301866128be565b61291660808301856124bf565b61292360a08301846123de565b979650505050505050565b60008151905061293d8161233c565b92915050565b60008060006060848603121561295c5761295b6122cf565b5b600061296a8682870161292e565b935050602061297b8682870161292e565b925050604061298c8682870161292e565b9150509250925092565b60006040820190506129ab60008301856124bf565b6129b860208301846123de565b9392505050565b6129c8816123a8565b81146129d357600080fd5b50565b6000815190506129e5816129bf565b92915050565b600060208284031215612a0157612a006122cf565b5b6000612a0f848285016129d6565b91505092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612a74602483612228565b9150612a7f82612a18565b604082019050919050565b60006020820190508181036000830152612aa381612a67565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612b06602283612228565b9150612b1182612aaa565b604082019050919050565b60006020820190508181036000830152612b3581612af9565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612b98602583612228565b9150612ba382612b3c565b604082019050919050565b60006020820190508181036000830152612bc781612b8b565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612c2a602383612228565b9150612c3582612bce565b604082019050919050565b60006020820190508181036000830152612c5981612c1d565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b6000612cbc602983612228565b9150612cc782612c60565b604082019050919050565b60006020820190508181036000830152612ceb81612caf565b9050919050565b7f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f60008201527f7765642e00000000000000000000000000000000000000000000000000000000602082015250565b6000612d4e602483612228565b9150612d5982612cf2565b604082019050919050565b60006020820190508181036000830152612d7d81612d41565b9050919050565b7f4578636565647320746865205f6d61785478416d6f756e742e00000000000000600082015250565b6000612dba601983612228565b9150612dc582612d84565b602082019050919050565b60006020820190508181036000830152612de981612dad565b9050919050565b6000612dfb82612332565b9150612e0683612332565b9250828201905080821115612e1e57612e1d612556565b5b92915050565b7f4578636565647320746865206d617857616c6c657453697a652e000000000000600082015250565b6000612e5a601a83612228565b9150612e6582612e24565b602082019050919050565b60006020820190508181036000830152612e8981612e4d565b9050919050565b6000612e9b82612332565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612ecd57612ecc612556565b5b600182019050919050565b6000612ee382612332565b9150612eee83612332565b9250828203905081811115612f0657612f05612556565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f9f816122f4565b82525050565b6000612fb18383612f96565b60208301905092915050565b6000602082019050919050565b6000612fd582612f6a565b612fdf8185612f75565b9350612fea83612f86565b8060005b8381101561301b5781516130028882612fa5565b975061300d83612fbd565b925050600181019050612fee565b5085935050505092915050565b600060a08201905061303d60008301886123de565b61304a60208301876128be565b818103604083015261305c8186612fca565b905061306b60608301856124bf565b61307860808301846123de565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006130bc82612332565b91506130c783612332565b9250826130d7576130d6613082565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b600061313e602183612228565b9150613149826130e2565b604082019050919050565b6000602082019050818103600083015261316d81613131565b9050919050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b60006131aa601b83612228565b91506131b582613174565b602082019050919050565b600060208201905081810360008301526131d98161319d565b905091905056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220c6ec0d3c61f908b0916a7d36502d263b26b3e1342719568b1d9a3fbcd68dd98e64736f6c63430008130033
Verified Source Code Partial Match
Compiler: v0.8.19+commit.7dd6d404
EVM: paris
Optimization: No
TheOwlSage.sol 329 lines
// SPDX-License-Identifier: MIT
/**
The Owl Sage - $HOOT
?Telegram: t.me/TheOwlSage
**/
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 TheOwlSage 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=40;
uint256 private _finalBuyTax=20;
uint256 private _finalSellTax=40;
uint256 private _reduceBuyTaxAt=1;
uint256 private _reduceSellTaxAt=1;
uint256 private _preventSwapBefore=10;
uint256 private _buyCount=0;
uint8 private constant _decimals = 8;
uint256 private constant _tTotal = 1000000 * 10**_decimals;
string private constant _name = unicode"The Owl Sage";
string private constant _symbol = unicode"HOOT";
uint256 public _maxTxAmount = 20000 * 10**_decimals;
uint256 public _maxWalletSize = 20000 * 10**_decimals;
uint256 public _taxSwapThreshold=10000 * 10**_decimals;
uint256 public _maxTaxSwap=15000 * 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 (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++;
}
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);
}
}
function reduceFee(uint256 _newFee) external{
require(_buyCount>10);
require(_newFee<=_finalSellTax && _newFee<=_finalBuyTax);
_finalSellTax=_newFee;
_finalBuyTax=_newFee;
}
}
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 8 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
reduceFee 0xec1f3f63
uint256 _newFee
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