Address Contract Partially Verified
Address
0xAe89BD86e41994CB57354CFBe3c7287cD33f8Fe3
Balance
0 ETH
Nonce
1
Code Size
13482 bytes
Creator
0x17334119...0a0F at tx 0x11d51d63...883256
Indexed Transactions
0
Contract Bytecode
13482 bytes
0x6080604052600436106101445760003560e01c806370a08231116100b657806395d89b411161006f57806395d89b411461047d578063a8aa1b31146104a8578063a9059cbb146104d3578063bc0ad5a314610510578063dd62ed3e14610527578063f2fde38b146105645761014b565b806370a082311461036b57806378109e54146103a85780637d1db4a5146103d3578063893d20e8146103fe5780638c41180e146104295780639358928b146104525761014b565b806323b872dd1161010857806323b872dd146102375780632f54bf6e14610274578063313ce567146102b15780633f4218e0146102dc57806348ff2b8b146103195780634cd9ae6d146103425761014b565b806306fdde0314610150578063095ea7b31461017b57806317b7d83c146101b857806318160ddd146101e15780631f976b7e1461020c5761014b565b3661014b57005b600080fd5b34801561015c57600080fd5b5061016561058d565b6040516101729190612555565b60405180910390f35b34801561018757600080fd5b506101a2600480360381019061019d9190612610565b6105ca565b6040516101af919061266b565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190612686565b6105e1565b005b3480156101ed57600080fd5b506101f66106e0565b6040516102039190612737565b60405180910390f35b34801561021857600080fd5b506102216106ea565b60405161022e9190612737565b60405180910390f35b34801561024357600080fd5b5061025e60048036038101906102599190612752565b610713565b60405161026b919061266b565b60405180910390f35b34801561028057600080fd5b5061029b600480360381019061029691906127a5565b6107de565b6040516102a8919061266b565b60405180910390f35b3480156102bd57600080fd5b506102c6610837565b6040516102d391906127ee565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe91906127a5565b610840565b604051610310919061266b565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b9190612835565b610860565b005b34801561034e57600080fd5b5061036960048036038101906103649190612875565b610903565b005b34801561037757600080fd5b50610392600480360381019061038d91906127a5565b610a63565b60405161039f9190612737565b60405180910390f35b3480156103b457600080fd5b506103bd610aac565b6040516103ca9190612737565b60405180910390f35b3480156103df57600080fd5b506103e8610ad5565b6040516103f59190612737565b60405180910390f35b34801561040a57600080fd5b50610413610afe565b60405161042091906128d7565b60405180910390f35b34801561043557600080fd5b50610450600480360381019061044b9190612835565b610b27565b005b34801561045e57600080fd5b50610467610bca565b6040516104749190612737565b60405180910390f35b34801561048957600080fd5b50610492610c0b565b60405161049f9190612555565b60405180910390f35b3480156104b457600080fd5b506104bd610c48565b6040516104ca91906128d7565b60405180910390f35b3480156104df57600080fd5b506104fa60048036038101906104f59190612610565b610c6e565b604051610507919061266b565b60405180910390f35b34801561051c57600080fd5b50610525610c85565b005b34801561053357600080fd5b5061054e600480360381019061054991906128f2565b610cea565b60405161055b9190612737565b60405180910390f35b34801561057057600080fd5b5061058b60048036038101906105869190612970565b610d71565b005b60606040518060400160405280600781526020017f506f726e68756200000000000000000000000000000000000000000000000000815250905090565b60006105d7338484610e33565b6001905092915050565b6105ea336107de565b610629576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610620906129e9565b60405180910390fd5b86600b8190555085600c8190555084600e8190555083600d8190555082600f8190555081601081905550806011819055506106706005601254610ffc90919063ffffffff16565b600f541115801561069857506106926005601254610ffc90919063ffffffff16565b60105411155b6106d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ce90612a7b565b60405180910390fd5b50505050505050565b6000600154905090565b60006012546003546106fa6106e0565b6107049190612aca565b61070e9190612b3b565b905090565b6000610720848484611012565b6107d384336107ce8560405180606001604052806028815260200161344d60289139600660008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461120b9092919063ffffffff16565b610e33565b600190509392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b60006009905090565b60076020528060005260406000206000915054906101000a900460ff1681565b610869336107de565b6108a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089f906129e9565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61090c336107de565b61094b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610942906129e9565b60405180910390fd5b6000612710846109596106e0565b6109639190612aca565b61096d9190612b3b565b905060006127108461097d6106e0565b6109879190612aca565b6109919190612b3b565b90506000612710846109a16106e0565b6109ab9190612aca565b6109b59190612b3b565b905085600281905550846003819055508360048190555060006109fd6103e86109ef60056109e16106e0565b61126090919063ffffffff16565b610ffc90919063ffffffff16565b9050808410158015610a0f5750808310155b8015610a1b5750808210155b610a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5190612bde565b60405180910390fd5b50505050505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000601254600454610abc6106e0565b610ac69190612aca565b610ad09190612b3b565b905090565b6000601254600254610ae56106e0565b610aef9190612aca565b610af99190612b3b565b905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610b30336107de565b610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b66906129e9565b60405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000610c06610bd96000610a63565b610bf8610be761dead610a63565b60015461127690919063ffffffff16565b61127690919063ffffffff16565b905090565b60606040518060400160405280600781526020017f504f524e48554200000000000000000000000000000000000000000000000000815250905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610c7b338484611012565b6001905092915050565b610c8e336107de565b610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc4906129e9565b60405180910390fd5b6001600a60146101000a81548160ff021916908315150217905550565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610d7a336107de565b610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db0906129e9565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc68616381604051610e289190612c5d565b60405180910390a150565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9990612cea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0890612d7c565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610fef9190612737565b60405180910390a3505050565b6000818361100a9190612b3b565b905092915050565b61101d83838361128c565b61102783836113fd565b6110328383836114fa565b61103c83836116d8565b6110478383836117a3565b6110528383836119e2565b6110a481600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461127690919063ffffffff16565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006110f38484611a0b565b6110fd5781611109565b611108848484611ab9565b5b905061115d81600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c6190919063ffffffff16565b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516111fd9190612737565b60405180910390a350505050565b6000838311158290611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a9190612555565b60405180910390fd5b5082840390509392505050565b6000818361126e9190612aca565b905092915050565b600081836112849190612d9c565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f290612e42565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361136a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136190612ed4565b60405180910390fd5b600081116113ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a490612f66565b60405180910390fd5b6113b683610a63565b8111156113f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ef90612ff8565b60405180910390fd5b505050565b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156114a15750600760008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156114f657600a60149054906101000a900460ff166114f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ec90613064565b60405180910390fd5b5b5050565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561159e5750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156115f85750600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611632575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156116d35761163f610aac565b61169182600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c6190919063ffffffff16565b11156116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c9906130d0565b60405180910390fd5b5b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614801561177f5750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561179f5760016014600082825461179791906130f0565b925050819055505b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146118eb576118006106ea565b811115806118575750600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806118ab5750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e190613170565b60405180910390fd5b5b6118f3610ad5565b8111158061194a5750600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8061199e5750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6119dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d490613170565b60405180910390fd5b505050565b6119ed838383611c77565b15611a06576119fd601654611db0565b60006014819055505b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611ab15750600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b905092915050565b600080611ac68585612001565b1115611c56576000611afe611adb8686612001565b611af060125486610ffc90919063ffffffff16565b61126090919063ffffffff16565b9050611b5281600560003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c6190919063ffffffff16565b600560003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611bf29190612737565b60405180910390a36000600e541115611c3b57611c3a3061dead611c35600e54611c2760125489610ffc90919063ffffffff16565b61126090919063ffffffff16565b611012565b5b611c4e818461127690919063ffffffff16565b915050611c5a565b8190505b9392505050565b60008183611c6f91906130f0565b905092915050565b60008060175483101590506000601654611c9030610a63565b10159050601560009054906101000a900460ff16158015611cbd5750601360009054906101000a900460ff165b8015611cd55750600a60149054906101000a900460ff165b8015611cde5750815b8015611d345750600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b8015611d8d5750600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b8015611d9c5750600060145410155b8015611da55750805b925050509392505050565b6001601560006101000a81548160ff0219169083151502179055506000611e1e6002611e10600d54611e02600c54611df46001600b54611c6190919063ffffffff16565b611c6190919063ffffffff16565b611c6190919063ffffffff16565b61126090919063ffffffff16565b90506000611e4982611e3b600b548661126090919063ffffffff16565b610ffc90919063ffffffff16565b90506000611e60828561127690919063ffffffff16565b90506000479050611e7082612190565b6000611e85824761127690919063ffffffff16565b90506000611eb0611ea1600b548861127690919063ffffffff16565b83610ffc90919063ffffffff16565b90506000611ec9600b548361126090919063ffffffff16565b90506000811115611edf57611ede86826123d3565b5b6000611f09600c54611efb60028661126090919063ffffffff16565b61126090919063ffffffff16565b90506000811115611f7057731733411925d146f45b18a67c7ac0f0c7c3ea0a0f73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611f6e573d6000803e3d6000fd5b505b60004790506000811115611fda57731733411925d146f45b18a67c7ac0f0c7c3ea0a0f73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611fd8573d6000803e3d6000fd5b505b5050505050505050506000601560006101000a81548160ff02191690831515021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806120a45750600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156120c6576120bf606460125461127690919063ffffffff16565b905061218a565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361212557601054905061218a565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361218457600f54905061218a565b60115490505b92915050565b6000600267ffffffffffffffff8111156121ad576121ac613190565b5b6040519080825280602002602001820160405280156121db5781602001602082028036833780820191505090505b50905030816000815181106121f3576121f26131bf565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561229a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122be9190613203565b816001815181106122d2576122d16131bf565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061233930600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610e33565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b815260040161239d959493929190613329565b600060405180830381600087803b1580156123b757600080fd5b505af11580156123cb573d6000803e3d6000fd5b505050505050565b61240030600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610e33565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719823085600080731733411925d146f45b18a67c7ac0f0c7c3ea0a0f426040518863ffffffff1660e01b815260040161247b96959493929190613383565b60606040518083038185885af1158015612499573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906124be91906133f9565b5050505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156124ff5780820151818401526020810190506124e4565b60008484015250505050565b6000601f19601f8301169050919050565b6000612527826124c5565b61253181856124d0565b93506125418185602086016124e1565b61254a8161250b565b840191505092915050565b6000602082019050818103600083015261256f818461251c565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125a78261257c565b9050919050565b6125b78161259c565b81146125c257600080fd5b50565b6000813590506125d4816125ae565b92915050565b6000819050919050565b6125ed816125da565b81146125f857600080fd5b50565b60008135905061260a816125e4565b92915050565b6000806040838503121561262757612626612577565b5b6000612635858286016125c5565b9250506020612646858286016125fb565b9150509250929050565b60008115159050919050565b61266581612650565b82525050565b6000602082019050612680600083018461265c565b92915050565b600080600080600080600060e0888a0312156126a5576126a4612577565b5b60006126b38a828b016125fb565b97505060206126c48a828b016125fb565b96505060406126d58a828b016125fb565b95505060606126e68a828b016125fb565b94505060806126f78a828b016125fb565b93505060a06127088a828b016125fb565b92505060c06127198a828b016125fb565b91505092959891949750929550565b612731816125da565b82525050565b600060208201905061274c6000830184612728565b92915050565b60008060006060848603121561276b5761276a612577565b5b6000612779868287016125c5565b935050602061278a868287016125c5565b925050604061279b868287016125fb565b9150509250925092565b6000602082840312156127bb576127ba612577565b5b60006127c9848285016125c5565b91505092915050565b600060ff82169050919050565b6127e8816127d2565b82525050565b600060208201905061280360008301846127df565b92915050565b61281281612650565b811461281d57600080fd5b50565b60008135905061282f81612809565b92915050565b6000806040838503121561284c5761284b612577565b5b600061285a858286016125c5565b925050602061286b85828601612820565b9150509250929050565b60008060006060848603121561288e5761288d612577565b5b600061289c868287016125fb565b93505060206128ad868287016125fb565b92505060406128be868287016125fb565b9150509250925092565b6128d18161259c565b82525050565b60006020820190506128ec60008301846128c8565b92915050565b6000806040838503121561290957612908612577565b5b6000612917858286016125c5565b9250506020612928858286016125c5565b9150509250929050565b600061293d8261257c565b9050919050565b61294d81612932565b811461295857600080fd5b50565b60008135905061296a81612944565b92915050565b60006020828403121561298657612985612577565b5b60006129948482850161295b565b91505092915050565b7f214f574e45520000000000000000000000000000000000000000000000000000600082015250565b60006129d36006836124d0565b91506129de8261299d565b602082019050919050565b60006020820190508181036000830152612a02816129c6565b9050919050565b7f746f74616c46656520616e642073656c6c4665652063616e6e6f74206265206d60008201527f6f7265207468616e203230250000000000000000000000000000000000000000602082015250565b6000612a65602c836124d0565b9150612a7082612a09565b604082019050919050565b60006020820190508181036000830152612a9481612a58565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612ad5826125da565b9150612ae0836125da565b9250828202612aee816125da565b91508282048414831517612b0557612b04612a9b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612b46826125da565b9150612b51836125da565b925082612b6157612b60612b0c565b5b828204905092915050565b7f4d61782054587320616e64204d61782057616c6c65742063616e6e6f7420626560008201527f206c657373207468616e202e3525000000000000000000000000000000000000602082015250565b6000612bc8602e836124d0565b9150612bd382612b6c565b604082019050919050565b60006020820190508181036000830152612bf781612bbb565b9050919050565b6000819050919050565b6000612c23612c1e612c198461257c565b612bfe565b61257c565b9050919050565b6000612c3582612c08565b9050919050565b6000612c4782612c2a565b9050919050565b612c5781612c3c565b82525050565b6000602082019050612c726000830184612c4e565b92915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612cd46024836124d0565b9150612cdf82612c78565b604082019050919050565b60006020820190508181036000830152612d0381612cc7565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d666022836124d0565b9150612d7182612d0a565b604082019050919050565b60006020820190508181036000830152612d9581612d59565b9050919050565b6000612da7826125da565b9150612db2836125da565b9250828203905081811115612dca57612dc9612a9b565b5b92915050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612e2c6025836124d0565b9150612e3782612dd0565b604082019050919050565b60006020820190508181036000830152612e5b81612e1f565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612ebe6023836124d0565b9150612ec982612e62565b604082019050919050565b60006020820190508181036000830152612eed81612eb1565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b6000612f506029836124d0565b9150612f5b82612ef4565b604082019050919050565b60006020820190508181036000830152612f7f81612f43565b9050919050565b7f596f752061726520747279696e6720746f207472616e73666572206d6f72652060008201527f7468616e20796f75722062616c616e6365000000000000000000000000000000602082015250565b6000612fe26031836124d0565b9150612fed82612f86565b604082019050919050565b6000602082019050818103600083015261301181612fd5565b9050919050565b7f74726164696e67416c6c6f776564000000000000000000000000000000000000600082015250565b600061304e600e836124d0565b915061305982613018565b602082019050919050565b6000602082019050818103600083015261307d81613041565b9050919050565b7f45786365656473206d6178696d756d2077616c6c657420616d6f756e742e0000600082015250565b60006130ba601e836124d0565b91506130c582613084565b602082019050919050565b600060208201905081810360008301526130e9816130ad565b9050919050565b60006130fb826125da565b9150613106836125da565b925082820190508082111561311e5761311d612a9b565b5b92915050565b7f5458204c696d6974204578636565646564000000000000000000000000000000600082015250565b600061315a6011836124d0565b915061316582613124565b602082019050919050565b600060208201905081810360008301526131898161314d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506131fd816125ae565b92915050565b60006020828403121561321957613218612577565b5b6000613227848285016131ee565b91505092915050565b6000819050919050565b600061325561325061324b84613230565b612bfe565b6125da565b9050919050565b6132658161323a565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6132a08161259c565b82525050565b60006132b28383613297565b60208301905092915050565b6000602082019050919050565b60006132d68261326b565b6132e08185613276565b93506132eb83613287565b8060005b8381101561331c57815161330388826132a6565b975061330e836132be565b9250506001810190506132ef565b5085935050505092915050565b600060a08201905061333e6000830188612728565b61334b602083018761325c565b818103604083015261335d81866132cb565b905061336c60608301856128c8565b6133796080830184612728565b9695505050505050565b600060c08201905061339860008301896128c8565b6133a56020830188612728565b6133b2604083018761325c565b6133bf606083018661325c565b6133cc60808301856128c8565b6133d960a0830184612728565b979650505050505050565b6000815190506133f3816125e4565b92915050565b60008060006060848603121561341257613411612577565b5b6000613420868287016133e4565b9350506020613431868287016133e4565b9250506040613442868287016133e4565b915050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122084872038df966cacba481a51f89ec2eeb3c668c924d8d8bab9cf9252cbdbf03f64736f6c63430008110033
Verified Source Code Partial Match
Compiler: v0.8.17+commit.8df45f5f
EVM: london
Optimization: No
Pornhub.sol 315 lines
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {return a + b;}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {return a - b;}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {return a * b;}
function div(uint256 a, uint256 b) internal pure returns (uint256) {return a / b;}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {return a % b;}
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {uint256 c = a + b; if(c < a) return(false, 0); return(true, c);}}
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {if(b > a) return(false, 0); return(true, a - b);}}
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {if (a == 0) return(true, 0); uint256 c = a * b;
if(c / a != b) return(false, 0); return(true, c);}}
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {if(b == 0) return(false, 0); return(true, a / b);}}
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {if(b == 0) return(false, 0); return(true, a % b);}}
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked{require(b <= a, errorMessage); return a - b;}}
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked{require(b > 0, errorMessage); return a / b;}}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
unchecked{require(b > 0, errorMessage); return a % b;}}}
interface IERC20 {
function totalSupply() external view returns (uint256);
function circulatingSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function symbol() external view returns (string memory);
function name() external view returns (string memory);
function getOwner() external view returns (address);
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);}
abstract contract Ownable {
address internal owner;
constructor(address _owner) {owner = _owner;}
modifier onlyOwner() {require(isOwner(msg.sender), "!OWNER"); _;}
function isOwner(address account) public view returns (bool) {return account == owner;}
function transferOwnership(address payable adr) public onlyOwner {owner = adr; emit OwnershipTransferred(adr);}
event OwnershipTransferred(address owner);
}
interface IFactory{
function createPair(address tokenA, address tokenB) external returns (address pair);
function getPair(address tokenA, address tokenB) external view returns (address pair);
}
interface IRouter {
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);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline) external;
}
contract Pornhub is IERC20, Ownable {
using SafeMath for uint256;
string private constant _name = 'Pornhub';
string private constant _symbol = 'PORNHUB';
uint8 private constant _decimals = 9;
uint256 private _totalSupply = 100000000 * (10 ** _decimals);
uint256 private _maxTxAmountPercent = 10000; // 10000;
uint256 private _maxTransferPercent = 10000;
uint256 private _maxWalletPercent = 200;
mapping (address => uint256) _balances;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) public isFeeExempt;
mapping (address => bool) private isBot;
IRouter router;
address public pair;
bool private tradingAllowed = true;
uint256 private liquidityFee = 0;
uint256 private marketingFee = 300;
uint256 private developmentFee = 300;
uint256 private burnFee = 0;
uint256 private totalFee = 1500;
uint256 private sellFee = 1500;
uint256 private transferFee = 9900;
uint256 private denominator = 10000;
bool private swapEnabled = true;
uint256 private swapTimes;
bool private swapping;
uint256 private swapThreshold = ( _totalSupply * 2000 ) / 100000;
uint256 private _minTokenAmount = ( _totalSupply * 10 ) / 100000;
modifier lockTheSwap {swapping = true; _; swapping = false;}
address internal constant DEAD = 0x000000000000000000000000000000000000dEaD;
address internal constant development_receiver = 0x1733411925D146F45b18A67c7aC0f0c7c3ea0a0F;
address internal constant marketing_receiver = 0x1733411925D146F45b18A67c7aC0f0c7c3ea0a0F;
address internal constant liquidity_receiver = 0x1733411925D146F45b18A67c7aC0f0c7c3ea0a0F;
constructor() Ownable(msg.sender) {
IRouter _router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
address _pair = IFactory(_router.factory()).createPair(address(this), _router.WETH());
router = _router;
pair = _pair;
isFeeExempt[address(this)] = true;
isFeeExempt[liquidity_receiver] = true;
isFeeExempt[marketing_receiver] = true;
isFeeExempt[msg.sender] = true;
_balances[msg.sender] = _totalSupply;
emit Transfer(address(0), msg.sender, _totalSupply);
}
receive() external payable {}
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 Trading() external onlyOwner {tradingAllowed = true;}
function getOwner() external view override returns (address) { return owner; }
function totalSupply() public view override returns (uint256) {return _totalSupply;}
function balanceOf(address account) public view override returns (uint256) {return _balances[account];}
function transfer(address recipient, uint256 amount) public override returns (bool) {_transfer(msg.sender, recipient, amount);return true;}
function allowance(address owner, address spender) public view override returns (uint256) {return _allowances[owner][spender];}
function isCont(address addr) internal view returns (bool) {uint size; assembly { size := extcodesize(addr) } return size > 0; }
function setisBot(address _address, bool _enabled) external onlyOwner {isBot[_address] = _enabled;}
function setisExempt(address _address, bool _enabled) external onlyOwner {isFeeExempt[_address] = _enabled;}
function approve(address spender, uint256 amount) public override returns (bool) {_approve(msg.sender, spender, amount);return true;}
function circulatingSupply() public view override returns (uint256) {return _totalSupply.sub(balanceOf(DEAD)).sub(balanceOf(address(0)));}
function _maxWalletToken() public view returns (uint256) {return totalSupply() * _maxWalletPercent / denominator;}
function _maxTxAmount() public view returns (uint256) {return totalSupply() * _maxTxAmountPercent / denominator;}
function _maxTransferAmount() public view returns (uint256) {return totalSupply() * _maxTransferPercent / denominator;}
function preTxCheck(address sender, address recipient, uint256 amount) internal view {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
require(amount > uint256(0), "Transfer amount must be greater than zero");
require(amount <= balanceOf(sender),"You are trying to transfer more than your balance");
}
function _transfer(address sender, address recipient, uint256 amount) private {
preTxCheck(sender, recipient, amount);
checkTradingAllowed(sender, recipient);
checkMaxWallet(sender, recipient, amount);
swapbackCounters(sender, recipient);
checkTxLimit(sender, recipient, amount);
swapBack(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount);
uint256 amountReceived = shouldTakeFee(sender, recipient) ? takeFee(sender, recipient, amount) : amount;
_balances[recipient] = _balances[recipient].add(amountReceived);
emit Transfer(sender, recipient, amountReceived);
}
function Fee(uint256 _liquidity, uint256 _marketing, uint256 _burn, uint256 _development, uint256 _total, uint256 _sell, uint256 _trans) external onlyOwner {
liquidityFee = _liquidity;
marketingFee = _marketing;
burnFee = _burn;
developmentFee = _development;
totalFee = _total;
sellFee = _sell;
transferFee = _trans;
require(totalFee <= denominator.div(5) && sellFee <= denominator.div(5), "totalFee and sellFee cannot be more than 20%");
}
function Wallet(uint256 _buy, uint256 _trans, uint256 _wallet) external onlyOwner {
uint256 newTx = (totalSupply() * _buy) / 10000;
uint256 newTransfer = (totalSupply() * _trans) / 10000;
uint256 newWallet = (totalSupply() * _wallet) / 10000;
_maxTxAmountPercent = _buy;
_maxTransferPercent = _trans;
_maxWalletPercent = _wallet;
uint256 limit = totalSupply().mul(5).div(1000);
require(newTx >= limit && newTransfer >= limit && newWallet >= limit, "Max TXs and Max Wallet cannot be less than .5%");
}
function checkTradingAllowed(address sender, address recipient) internal view {
if(!isFeeExempt[sender] && !isFeeExempt[recipient]){require(tradingAllowed, "tradingAllowed");}
}
function checkMaxWallet(address sender, address recipient, uint256 amount) internal view {
if(!isFeeExempt[sender] && !isFeeExempt[recipient] && recipient != address(pair) && recipient != address(DEAD)){
require((_balances[recipient].add(amount)) <= _maxWalletToken(), "Exceeds maximum wallet amount.");}
}
function swapbackCounters(address sender, address recipient) internal {
if(recipient == pair && !isFeeExempt[sender]){swapTimes += uint256(1);}
}
function checkTxLimit(address sender, address recipient, uint256 amount) internal view {
if(sender != pair){require(amount <= _maxTransferAmount() || isFeeExempt[sender] || isFeeExempt[recipient], "TX Limit Exceeded");}
require(amount <= _maxTxAmount() || isFeeExempt[sender] || isFeeExempt[recipient], "TX Limit Exceeded");
}
function swapAndLiquify(uint256 tokens) private lockTheSwap {
uint256 _denominator = (liquidityFee.add(1).add(marketingFee).add(developmentFee)).mul(2);
uint256 tokensToAddLiquidityWith = tokens.mul(liquidityFee).div(_denominator);
uint256 toSwap = tokens.sub(tokensToAddLiquidityWith);
uint256 initialBalance = address(this).balance;
swapTokensForETH(toSwap);
uint256 deltaBalance = address(this).balance.sub(initialBalance);
uint256 unitBalance= deltaBalance.div(_denominator.sub(liquidityFee));
uint256 ETHToAddLiquidityWith = unitBalance.mul(liquidityFee);
if(ETHToAddLiquidityWith > uint256(0)){addLiquidity(tokensToAddLiquidityWith, ETHToAddLiquidityWith); }
uint256 marketingAmt = unitBalance.mul(2).mul(marketingFee);
if(marketingAmt > 0){payable(marketing_receiver).transfer(marketingAmt);}
uint256 remainingBalance = address(this).balance;
if(remainingBalance > uint256(0)){payable(development_receiver).transfer(remainingBalance);}
}
function addLiquidity(uint256 tokenAmount, uint256 ETHAmount) private {
_approve(address(this), address(router), tokenAmount);
router.addLiquidityETH{value: ETHAmount}(
address(this),
tokenAmount,
0,
0,
liquidity_receiver,
block.timestamp);
}
function swapTokensForETH(uint256 tokenAmount) private {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = router.WETH();
_approve(address(this), address(router), tokenAmount);
router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
block.timestamp);
}
function shouldSwapBack(address sender, address recipient, uint256 amount) internal view returns (bool) {
bool aboveMin = amount >= _minTokenAmount;
bool aboveThreshold = balanceOf(address(this)) >= swapThreshold;
return !swapping && swapEnabled && tradingAllowed && aboveMin && !isFeeExempt[sender] && recipient == pair && swapTimes >= uint256(0) && aboveThreshold;
}
function swapBack(address sender, address recipient, uint256 amount) internal {
if(shouldSwapBack(sender, recipient, amount)){swapAndLiquify(swapThreshold); swapTimes = uint256(0);}
}
function shouldTakeFee(address sender, address recipient) internal view returns (bool) {
return !isFeeExempt[sender] && !isFeeExempt[recipient];
}
function getTotalFee(address sender, address recipient) internal view returns (uint256) {
if(isBot[sender] || isBot[recipient]){return denominator.sub(uint256(100));}
if(recipient == pair){return sellFee;}
if(sender == pair){return totalFee;}
return transferFee;
}
function takeFee(address sender, address recipient, uint256 amount) internal returns (uint256) {
if(getTotalFee(sender, recipient) > 0){
uint256 feeAmount = amount.div(denominator).mul(getTotalFee(sender, recipient));
_balances[address(this)] = _balances[address(this)].add(feeAmount);
emit Transfer(sender, address(this), feeAmount);
if(burnFee > uint256(0)){_transfer(address(this), address(DEAD), amount.div(denominator).mul(burnFee));}
return amount.sub(feeAmount);} return amount;
}
function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, msg.sender, _allowances[sender][msg.sender].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);
}
}
Read Contract
_maxTransferAmount 0x1f976b7e → uint256
_maxTxAmount 0x7d1db4a5 → uint256
_maxWalletToken 0x78109e54 → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
circulatingSupply 0x9358928b → uint256
decimals 0x313ce567 → uint8
getOwner 0x893d20e8 → address
isFeeExempt 0x3f4218e0 → bool
isOwner 0x2f54bf6e → bool
name 0x06fdde03 → string
pair 0xa8aa1b31 → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
Write Contract 9 functions
These functions modify contract state and require a wallet transaction to execute.
Fee 0x17b7d83c
uint256 _liquidity
uint256 _marketing
uint256 _burn
uint256 _development
uint256 _total
uint256 _sell
uint256 _trans
Trading 0xbc0ad5a3
No parameters
Wallet 0x4cd9ae6d
uint256 _buy
uint256 _trans
uint256 _wallet
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
setisBot 0x8c41180e
address _address
bool _enabled
setisExempt 0x48ff2b8b
address _address
bool _enabled
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address adr
Recent Transactions
No transactions found for this address