Address Contract Partially Verified
Address
0xDb55b6fF0e5715CE68DD2A58A0453dc831aEae65
Balance
0 ETH
Nonce
1
Code Size
18012 bytes
Creator
0x8fC5C95a...f3Cc at tx 0xab19d914...cb0137
Indexed Transactions
0
Contract Bytecode
18012 bytes
0x60806040526004361061025f575f3560e01c80635de0f2a0116101435780639fccce32116100b5578063be85750411610079578063be857504146108b0578063c0246668146108da578063c3f70b5214610902578063dd62ed3e1461092c578063df6f93be14610968578063f2fde38b1461099257610266565b80639fccce32146107a8578063a457c2d7146107d2578063a9059cbb1461080e578063b62496f51461084a578063b69ef8a81461088657610266565b8063863cf2cc11610107578063863cf2cc146106c45780638da5cb5b146106ec578063945674fe1461071657806395d89b41146107405780639a7a23d61461076a5780639ee2e9241461079257610266565b80635de0f2a0146105f65780636c7e15c91461062057806370a082311461064a578063715018a6146106865780637571336a1461069c57610266565b806322eb6631116101dc5780633373fe83116101a05780633373fe83146104ea578063395093511461050057806346469afb1461053c57806348d791551461056657806349bd5a5e146105905780634fbee193146105ba57610266565b806322eb66311461042e57806323b872dd146104585780632c28f57914610494578063313ae728146104aa578063313ce567146104c057610266565b806318160ddd1161022357806318160ddd146103605780631816467f1461038a5780631a8145bb146103b25780631bff7898146103dc5780631d9305bf1461040657610266565b806306fdde031461026a578063095ea7b3146102945780630e947809146102d057806310d5de53146102fa5780631694505e1461033657610266565b3661026657005b5f80fd5b348015610275575f80fd5b5061027e6109ba565b60405161028b91906135ee565b60405180910390f35b34801561029f575f80fd5b506102ba60048036038101906102b5919061369f565b610a4a565b6040516102c791906136f7565b60405180910390f35b3480156102db575f80fd5b506102e4610a67565b6040516102f191906136f7565b60405180910390f35b348015610305575f80fd5b50610320600480360381019061031b9190613710565b610a79565b60405161032d91906136f7565b60405180910390f35b348015610341575f80fd5b5061034a610a96565b6040516103579190613796565b60405180910390f35b34801561036b575f80fd5b50610374610abb565b60405161038191906137be565b60405180910390f35b348015610395575f80fd5b506103b060048036038101906103ab9190613710565b610ac4565b005b3480156103bd575f80fd5b506103c6610c18565b6040516103d391906137be565b60405180910390f35b3480156103e7575f80fd5b506103f0610c1e565b6040516103fd91906137be565b60405180910390f35b348015610411575f80fd5b5061042c600480360381019061042791906137d7565b610c24565b005b348015610439575f80fd5b50610442610d08565b60405161044f91906137be565b60405180910390f35b348015610463575f80fd5b5061047e6004803603810190610479919061383b565b610d0e565b60405161048b91906136f7565b60405180910390f35b34801561049f575f80fd5b506104a8610de2565b005b3480156104b5575f80fd5b506104be6111d0565b005b3480156104cb575f80fd5b506104d4611379565b6040516104e191906138a6565b60405180910390f35b3480156104f5575f80fd5b506104fe611381565b005b34801561050b575f80fd5b506105266004803603810190610521919061369f565b611432565b60405161053391906136f7565b60405180910390f35b348015610547575f80fd5b506105506114e0565b60405161055d91906137be565b60405180910390f35b348015610571575f80fd5b5061057a6114e6565b60405161058791906137be565b60405180910390f35b34801561059b575f80fd5b506105a46114ec565b6040516105b191906138ce565b60405180910390f35b3480156105c5575f80fd5b506105e060048036038101906105db9190613710565b611511565b6040516105ed91906136f7565b60405180910390f35b348015610601575f80fd5b5061060a611563565b60405161061791906137be565b60405180910390f35b34801561062b575f80fd5b50610634611569565b60405161064191906137be565b60405180910390f35b348015610655575f80fd5b50610670600480360381019061066b9190613710565b61156f565b60405161067d91906137be565b60405180910390f35b348015610691575f80fd5b5061069a6115b4565b005b3480156106a7575f80fd5b506106c260048036038101906106bd9190613911565b611707565b005b3480156106cf575f80fd5b506106ea60048036038101906106e5919061394f565b6117f5565b005b3480156106f7575f80fd5b506107006118a8565b60405161070d91906138ce565b60405180910390f35b348015610721575f80fd5b5061072a6118d0565b60405161073791906136f7565b60405180910390f35b34801561074b575f80fd5b506107546118e3565b60405161076191906135ee565b60405180910390f35b348015610775575f80fd5b50610790600480360381019061078b9190613911565b611973565b005b34801561079d575f80fd5b506107a6611aa6565b005b3480156107b3575f80fd5b506107bc611bb9565b6040516107c991906137be565b60405180910390f35b3480156107dd575f80fd5b506107f860048036038101906107f3919061369f565b611bbf565b60405161080591906136f7565b60405180910390f35b348015610819575f80fd5b50610834600480360381019061082f919061369f565b611c87565b60405161084191906136f7565b60405180910390f35b348015610855575f80fd5b50610870600480360381019061086b9190613710565b611ca4565b60405161087d91906136f7565b60405180910390f35b348015610891575f80fd5b5061089a611cc1565b6040516108a791906137be565b60405180910390f35b3480156108bb575f80fd5b506108c4611cc7565b6040516108d191906137be565b60405180910390f35b3480156108e5575f80fd5b5061090060048036038101906108fb9190613911565b611ccd565b005b34801561090d575f80fd5b50610916611e09565b60405161092391906137be565b60405180910390f35b348015610937575f80fd5b50610952600480360381019061094d919061397a565b611e0f565b60405161095f91906137be565b60405180910390f35b348015610973575f80fd5b5061097c611e91565b60405161098991906137be565b60405180910390f35b34801561099d575f80fd5b506109b860048036038101906109b39190613710565b611e97565b005b6060600380546109c9906139e5565b80601f01602080910402602001604051908101604052809291908181526020018280546109f5906139e5565b8015610a405780601f10610a1757610100808354040283529160200191610a40565b820191905f5260205f20905b815481529060010190602001808311610a2357829003601f168201915b5050505050905090565b5f610a5d610a56611feb565b8484611ff2565b6001905092915050565b600f5f9054906101000a900460ff1681565b601a602052805f5260405f205f915054906101000a900460ff1681565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600254905090565b610acc611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5190613a5f565b60405180910390fd5b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74360405160405180910390a380600b5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60165481565b60135481565b610c2c611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb190613a5f565b60405180910390fd5b8360118190555081601281905550601254601154610cd89190613aaa565b6010819055508260148190555080601581905550601554601454610cfc9190613aaa565b60138190555050505050565b60145481565b5f610d1a8484846121b5565b610dd784610d26611feb565b610dd2856040518060600160405280602881526020016145da6028913960015f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f610d89611feb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054612ada9092919063ffffffff16565b611ff2565b600190509392505050565b610dea611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f90613a5f565b60405180910390fd5b5f737a250d5630b4cf539739df2c5dacb4c659f2488d9050610e9b816001611707565b8060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f489190613af1565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308373ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd19190613af1565b6040518363ffffffff1660e01b8152600401610fee929190613b1c565b6020604051808303815f875af115801561100a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102e9190613af1565b60095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061109960095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001611707565b6110c560095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001612b3c565b5f4790505f6110d33061156f565b90506111013060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611ff2565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7198330845f80600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518863ffffffff1660e01b815260040161118796959493929190613b7c565b60606040518083038185885af11580156111a3573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906111c89190613bef565b505050505050565b6111d8611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90613a5f565b60405180910390fd5b5f4790505f81116112ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a390613caf565b60405180910390fd5b5f600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516112f290613cfa565b5f6040518083038185875af1925050503d805f811461132c576040519150601f19603f3d011682016040523d82523d5f602084013e611331565b606091505b5050905080611375576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136c90613d58565b60405180910390fd5b5050565b5f6012905090565b611389611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611417576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140e90613a5f565b60405180910390fd5b5f600f5f6101000a81548160ff021916908315150217905550565b5f6114d661143e611feb565b846114d18560015f61144e611feb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054612bda90919063ffffffff16565b611ff2565b6001905092915050565b60105481565b600e5481565b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60195f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b600d5481565b60115481565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6115bc611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190613a5f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f60055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61170f611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461179d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179490613a5f565b60405180910390fd5b80601a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b6117fd611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461188b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188290613a5f565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f60019054906101000a900460ff1681565b6060600480546118f2906139e5565b80601f016020809104026020016040519081016040528092919081815260200182805461191e906139e5565b80156119695780601f1061194057610100808354040283529160200191611969565b820191905f5260205f20905b81548152906001019060200180831161194c57829003601f168201915b5050505050905090565b61197b611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0090613a5f565b60405180910390fd5b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8f90613de6565b60405180910390fd5b611aa28282612b3c565b5050565b611aae611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390613a5f565b60405180910390fd5b5f611b463061156f565b90505f8111611b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8190613e74565b60405180910390fd5b611bb630600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836121b5565b50565b60175481565b5f611c7d611bcb611feb565b84611c78856040518060600160405280602581526020016146026025913960015f611bf4611feb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054612ada9092919063ffffffff16565b611ff2565b6001905092915050565b5f611c9a611c93611feb565b84846121b5565b6001905092915050565b601b602052805f5260405f205f915054906101000a900460ff1681565b600a5481565b60155481565b611cd5611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5a90613a5f565b60405180910390fd5b8060195f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df782604051611dfd91906136f7565b60405180910390a25050565b600c5481565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60125481565b611e9f611feb565b73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2490613a5f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a38060055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205790613f02565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c590613f90565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516121a891906137be565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221a9061401e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612291576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612288906140ac565b60405180910390fd5b5f81036122a8576122a383835f612c37565b612ad5565b600f5f9054906101000a900460ff161561269d576122c46118a8565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561233257506123026118a8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561236a57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156123a4575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156123bd5750600960149054906101000a900460ff16155b1561269c57601b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16801561245f5750601a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561250657600c548111156124a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a09061413a565b60405180910390fd5b600e546124b58361156f565b826124c09190613aaa565b1115612501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f8906141a2565b60405180910390fd5b61269b565b601b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680156125a35750601a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156125f257600c548111156125ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e490614230565b60405180910390fd5b61269a565b601a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1661269957600e5461264c8361156f565b826126579190613aaa565b1115612698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268f906141a2565b60405180910390fd5b5b5b5b5b5b5f6126a73061156f565b90505f600d5482101590508080156126cc5750600960149054906101000a900460ff16155b801561271f5750601b5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612772575060195f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b80156127c5575060195f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612808576001600960146101000a81548160ff0219169083151502179055506127ed612ec0565b5f600960146101000a81548160ff0219169083151502179055505b5f600960149054906101000a900460ff1615905060195f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16806128b7575060195f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b156128c0575f90505b5f8115612ac557601b5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16801561291e57505f601354115b156129b65761294b606461293d601354886130e690919063ffffffff16565b61315d90919063ffffffff16565b90506013546015548261295e919061424e565b61296891906142bc565b60165f8282546129789190613aaa565b9250508190555060135460145482612990919061424e565b61299a91906142bc565b60175f8282546129aa9190613aaa565b92505081905550612aa2565b601b5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612a0d57505f601054115b15612aa157612a3a6064612a2c601054886130e690919063ffffffff16565b61315d90919063ffffffff16565b905060105460125482612a4d919061424e565b612a5791906142bc565b60165f828254612a679190613aaa565b9250508190555060105460115482612a7f919061424e565b612a8991906142bc565b60175f828254612a999190613aaa565b925050819055505b5b5f811115612ab657612ab5873083612c37565b5b8085612ac291906142ec565b94505b612ad0878787612c37565b505050505b505050565b5f838311158290612b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1891906135ee565b60405180910390fd5b505f8385612b2f91906142ec565b9050809150509392505050565b80601b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f808284612be89190613aaa565b905083811015612c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2490614369565b60405180910390fd5b8091505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9c9061401e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0a906140ac565b60405180910390fd5b612d1e8383836131a6565b612d87816040518060600160405280602681526020016145b4602691395f808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054612ada9092919063ffffffff16565b5f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550612e16815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054612bda90919063ffffffff16565b5f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612eb391906137be565b60405180910390a3505050565b5f612eca3061156f565b90505f601754601654612edd9190613aaa565b90505f80831480612eed57505f82145b15612efa575050506130e4565b5f1515600f60019054906101000a900460ff16151503612f41576014600d54612f23919061424e565b831115612f3c576014600d54612f39919061424e565b92505b612f4d565b612f4a3061156f565b92505b5f60028360165486612f5f919061424e565b612f6991906142bc565b612f7391906142bc565b90505f612f8982866131ab90919063ffffffff16565b90505f479050612f98826131f4565b5f612fac82476131ab90919063ffffffff16565b90505f612fd687612fc8601754856130e690919063ffffffff16565b61315d90919063ffffffff16565b90505f8183612fe591906142ec565b90505f6016819055505f6017819055505f8611801561300357505f81115b1561305057613012868261342a565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561858260165460405161304793929190614387565b60405180910390a15b600b5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161309590613cfa565b5f6040518083038185875af1925050503d805f81146130cf576040519150601f19603f3d011682016040523d82523d5f602084013e6130d4565b606091505b5050809750505050505050505050505b565b5f8083036130f6575f9050613157565b5f8284613103919061424e565b905082848261311291906142bc565b14613152576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131499061442c565b60405180910390fd5b809150505b92915050565b5f61319e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613503565b905092915050565b505050565b5f6131ec83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612ada565b905092915050565b5f600267ffffffffffffffff8111156132105761320f61444a565b5b60405190808252806020026020018201604052801561323e5781602001602082028036833780820191505090505b50905030815f8151811061325557613254614477565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061331d9190613af1565b8160018151811061333157613330614477565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506133973060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611ff2565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b81526004016133f995949392919061455b565b5f604051808303815f87803b158015613410575f80fd5b505af1158015613422573d5f803e3d5ffd5b505050505050565b6134563060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611ff2565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7198230855f8030426040518863ffffffff1660e01b81526004016134bb96959493929190613b7c565b60606040518083038185885af11580156134d7573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906134fc9190613bef565b5050505050565b5f8083118290613549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354091906135ee565b60405180910390fd5b505f838561355791906142bc565b9050809150509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561359b578082015181840152602081019050613580565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6135c082613564565b6135ca818561356e565b93506135da81856020860161357e565b6135e3816135a6565b840191505092915050565b5f6020820190508181035f83015261360681846135b6565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61363b82613612565b9050919050565b61364b81613631565b8114613655575f80fd5b50565b5f8135905061366681613642565b92915050565b5f819050919050565b61367e8161366c565b8114613688575f80fd5b50565b5f8135905061369981613675565b92915050565b5f80604083850312156136b5576136b461360e565b5b5f6136c285828601613658565b92505060206136d38582860161368b565b9150509250929050565b5f8115159050919050565b6136f1816136dd565b82525050565b5f60208201905061370a5f8301846136e8565b92915050565b5f602082840312156137255761372461360e565b5b5f61373284828501613658565b91505092915050565b5f819050919050565b5f61375e61375961375484613612565b61373b565b613612565b9050919050565b5f61376f82613744565b9050919050565b5f61378082613765565b9050919050565b61379081613776565b82525050565b5f6020820190506137a95f830184613787565b92915050565b6137b88161366c565b82525050565b5f6020820190506137d15f8301846137af565b92915050565b5f805f80608085870312156137ef576137ee61360e565b5b5f6137fc8782880161368b565b945050602061380d8782880161368b565b935050604061381e8782880161368b565b925050606061382f8782880161368b565b91505092959194509250565b5f805f606084860312156138525761385161360e565b5b5f61385f86828701613658565b935050602061387086828701613658565b92505060406138818682870161368b565b9150509250925092565b5f60ff82169050919050565b6138a08161388b565b82525050565b5f6020820190506138b95f830184613897565b92915050565b6138c881613631565b82525050565b5f6020820190506138e15f8301846138bf565b92915050565b6138f0816136dd565b81146138fa575f80fd5b50565b5f8135905061390b816138e7565b92915050565b5f80604083850312156139275761392661360e565b5b5f61393485828601613658565b9250506020613945858286016138fd565b9150509250929050565b5f602082840312156139645761396361360e565b5b5f613971848285016138fd565b91505092915050565b5f80604083850312156139905761398f61360e565b5b5f61399d85828601613658565b92505060206139ae85828601613658565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806139fc57607f821691505b602082108103613a0f57613a0e6139b8565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f613a4960208361356e565b9150613a5482613a15565b602082019050919050565b5f6020820190508181035f830152613a7681613a3d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613ab48261366c565b9150613abf8361366c565b9250828201905080821115613ad757613ad6613a7d565b5b92915050565b5f81519050613aeb81613642565b92915050565b5f60208284031215613b0657613b0561360e565b5b5f613b1384828501613add565b91505092915050565b5f604082019050613b2f5f8301856138bf565b613b3c60208301846138bf565b9392505050565b5f819050919050565b5f613b66613b61613b5c84613b43565b61373b565b61366c565b9050919050565b613b7681613b4c565b82525050565b5f60c082019050613b8f5f8301896138bf565b613b9c60208301886137af565b613ba96040830187613b6d565b613bb66060830186613b6d565b613bc360808301856138bf565b613bd060a08301846137af565b979650505050505050565b5f81519050613be981613675565b92915050565b5f805f60608486031215613c0657613c0561360e565b5b5f613c1386828701613bdb565b9350506020613c2486828701613bdb565b9250506040613c3586828701613bdb565b9150509250925092565b7f4554482062616c616e6365206d7573742062652067726561746572207468616e5f8201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b5f613c9960228361356e565b9150613ca482613c3f565b604082019050919050565b5f6020820190508181035f830152613cc681613c8d565b9050919050565b5f81905092915050565b50565b5f613ce55f83613ccd565b9150613cf082613cd7565b5f82019050919050565b5f613d0482613cda565b9150819050919050565b7f4661696c656420746f20636c656172204554482062616c616e636500000000005f82015250565b5f613d42601b8361356e565b9150613d4d82613d0e565b602082019050919050565b5f6020820190508181035f830152613d6f81613d36565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d205f8201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b5f613dd060398361356e565b9150613ddb82613d76565b604082019050919050565b5f6020820190508181035f830152613dfd81613dc4565b9050919050565b7f546f6b656e2062616c616e6365206d75737420626520677265617465722074685f8201527f616e203000000000000000000000000000000000000000000000000000000000602082015250565b5f613e5e60248361356e565b9150613e6982613e04565b604082019050919050565b5f6020820190508181035f830152613e8b81613e52565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f613eec60248361356e565b9150613ef782613e92565b604082019050919050565b5f6020820190508181035f830152613f1981613ee0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f613f7a60228361356e565b9150613f8582613f20565b604082019050919050565b5f6020820190508181035f830152613fa781613f6e565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f61400860258361356e565b915061401382613fae565b604082019050919050565b5f6020820190508181035f83015261403581613ffc565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61409660238361356e565b91506140a18261403c565b604082019050919050565b5f6020820190508181035f8301526140c38161408a565b9050919050565b7f427579207472616e7366657220616d6f756e74206578636565647320746865205f8201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b5f61412460358361356e565b915061412f826140ca565b604082019050919050565b5f6020820190508181035f83015261415181614118565b9050919050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f61418c60138361356e565b915061419782614158565b602082019050919050565b5f6020820190508181035f8301526141b981614180565b9050919050565b7f53656c6c207472616e7366657220616d6f756e742065786365656473207468655f8201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b5f61421a60368361356e565b9150614225826141c0565b604082019050919050565b5f6020820190508181035f8301526142478161420e565b9050919050565b5f6142588261366c565b91506142638361366c565b92508282026142718161366c565b9150828204841483151761428857614287613a7d565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6142c68261366c565b91506142d18361366c565b9250826142e1576142e061428f565b5b828204905092915050565b5f6142f68261366c565b91506143018361366c565b925082820390508181111561431957614318613a7d565b5b92915050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f614353601b8361356e565b915061435e8261431f565b602082019050919050565b5f6020820190508181035f83015261438081614347565b9050919050565b5f60608201905061439a5f8301866137af565b6143a760208301856137af565b6143b460408301846137af565b949350505050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f61441660218361356e565b9150614421826143bc565b604082019050919050565b5f6020820190508181035f8301526144438161440a565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6144d681613631565b82525050565b5f6144e783836144cd565b60208301905092915050565b5f602082019050919050565b5f614509826144a4565b61451381856144ae565b935061451e836144be565b805f5b8381101561454e57815161453588826144dc565b9750614540836144f3565b925050600181019050614521565b5085935050505092915050565b5f60a08201905061456e5f8301886137af565b61457b6020830187613b6d565b818103604083015261458d81866144ff565b905061459c60608301856138bf565b6145a960808301846137af565b969550505050505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212203aed1fc9eca6499bceedcc1099b22b2b7966bc56884b1b55ff7d1d1b63c467cf64736f6c63430008150033
Verified Source Code Partial Match
Compiler: v0.8.21+commit.d9974bed
EVM: shanghai
Optimization: No
GROKSWIFE.sol 912 lines
/*
https://t.me/GroksWife
https://twitter.com/Groks_Wife
https://x.com/PA4034/status/1733357738715988265?s=20
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity 0.8.21;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string memory);
function decimals() external pure returns (uint8);
function totalSupply() external view returns (uint);
function balanceOf(address owner) external view returns (uint);
function allowance(address owner, address spender) external view returns (uint);
function approve(address spender, uint value) external returns (bool);
function transfer(address to, uint value) external returns (bool);
function transferFrom(address from, address to, uint value) external returns (bool);
function DOMAIN_SEPARATOR() external view returns (bytes32);
function PERMIT_TYPEHASH() external pure returns (bytes32);
function nonces(address owner) external view returns (uint);
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;
event Mint(address indexed sender, uint amount0, uint amount1);
event Swap(
address indexed sender,
uint amount0In,
uint amount1In,
uint amount0Out,
uint amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint);
function factory() external view returns (address);
function token0() external view returns (address);
function token1() external view returns (address);
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function price0CumulativeLast() external view returns (uint);
function price1CumulativeLast() external view returns (uint);
function kLast() external view returns (uint);
function mint(address to) external returns (uint liquidity);
function burn(address to) external returns (uint amount0, uint amount1);
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) external view returns (address pair);
function allPairs(uint) external view returns (address pair);
function allPairsLength() external view returns (uint);
function createPair(address tokenA, address tokenB) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
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);
}
interface IERC20Metadata is IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
}
contract ERC20 is Context, IERC20, IERC20Metadata {
using SafeMath for uint256;
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return 18;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(sender, recipient, amount);
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, amount);
}
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(address(0), account, amount);
}
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(account, address(0), amount);
}
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {}
}
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;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
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);
}
function transferOwnership(address newOwner) public virtual onlyOwner {
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
library SafeMathInt {
int256 private constant MIN_INT256 = int256(1) << 255;
int256 private constant MAX_INT256 = ~(int256(1) << 255);
function mul(int256 a, int256 b) internal pure returns (int256) {
int256 c = a * b;
// Detect overflow when multiplying MIN_INT256 with -1
require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
require((b == 0) || (c / b == a));
return c;
}
function div(int256 a, int256 b) internal pure returns (int256) {
// Prevent overflow when dividing MIN_INT256 by -1
require(b != -1 || a != MIN_INT256);
// Solidity already throws when dividing by 0.
return a / b;
}
function sub(int256 a, int256 b) internal pure returns (int256) {
int256 c = a - b;
require((b >= 0 && c <= a) || (b < 0 && c > a));
return c;
}
function add(int256 a, int256 b) internal pure returns (int256) {
int256 c = a + b;
require((b >= 0 && c >= a) || (b < 0 && c < a));
return c;
}
function abs(int256 a) internal pure returns (int256) {
require(a != MIN_INT256);
return a < 0 ? -a : a;
}
function toUint256Safe(int256 a) internal pure returns (uint256) {
require(a >= 0);
return uint256(a);
}
}
library SafeMathUint {
function toInt256Safe(uint256 a) internal pure returns (int256) {
int256 b = int256(a);
require(b >= 0);
return b;
}
}
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint amountADesired,
uint amountBDesired,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint liquidity,
uint amountAMin,
uint amountBMin,
address to,
uint deadline
) external returns (uint amountA, uint amountB);
function removeLiquidityETH(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountToken, uint amountETH);
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 removeLiquidityETHWithPermit(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
function swapExactTokensForTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapTokensForExactTokens(
uint amountOut,
uint amountInMax,
address[] calldata path,
address to,
uint deadline
) external returns (uint[] memory amounts);
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
external
returns (uint[] memory amounts);
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
external
payable
returns (uint[] memory amounts);
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external returns (uint amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint liquidity,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline,
bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
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 GROKSWIFE is ERC20, Ownable {
string _name = unicode"Groks Wife";
string _symbol = unicode"GROKETTE";
using SafeMath for uint256;
IUniswapV2Router02 public uniswapV2Router;
address public uniswapV2Pair;
bool private isSwppable;
uint256 public balance;
address private devWallet;
uint256 public maxTransaction;
uint256 public contractSellTreshold;
uint256 public maxWalletHolding;
bool public areLimitsOn = true;
bool public emptyContractFull = false;
uint256 public totalBuyTax;
uint256 public devBuyTax;
uint256 public liqBuyTax;
uint256 public totalSellTax;
uint256 public devSellTax;
uint256 public liqSellTax;
uint256 public tokensForLiquidity;
uint256 public tokensForDev;
// block number of opened trading
uint256 launchedAt;
/******************/
// exclude from fees and max transaction amount
mapping (address => bool) private _isExcludedFromFees;
mapping (address => bool) public _isExcludedMaxTransactionAmount;
// store addresses that a automatic market maker pairs. Any transfer *to* these addresses
// could be subject to a maximum transfer amount
mapping (address => bool) public automatedMarketMakerPairs;
event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
event ExcludeFromFees(address indexed account, bool isExcluded);
event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
event devWalletUpdated(address indexed newWallet, address indexed oldWallet);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiquidity
);
event AutoNukeLP();
event ManualNukeLP();
constructor() ERC20(_name, _symbol) {
uint256 _devBuyTax = 25;
uint256 _liqBuyTax = 0;
uint256 _devSellTax = 25;
uint256 _liqSellTax = 0;
uint256 totalSupply = 10000000000 * 1e18;
maxTransaction = totalSupply * 20 / 1000; // 2%
maxWalletHolding = totalSupply * 20 / 1000; // 2%
contractSellTreshold = totalSupply * 1 / 1000; // 0.05%
devBuyTax = _devBuyTax;
liqBuyTax = _liqBuyTax;
totalBuyTax = devBuyTax + liqBuyTax;
devSellTax = _devSellTax;
liqSellTax = _liqSellTax;
totalSellTax = devSellTax + liqSellTax;
devWallet = address(msg.sender);
// exclude from paying fees or having max transaction amount
excludeFromFees(owner(), true);
excludeFromFees(address(this), true);
excludeFromFees(address(0xdead), true);
excludeFromFees(address(devWallet), true);
excludeFromMaxTransaction(owner(), true);
excludeFromMaxTransaction(address(this), true);
excludeFromMaxTransaction(address(0xdead), true);
excludeFromMaxTransaction(address(devWallet), true);
/*
_mint is an internal function in ERC20.sol that is only called here,
and CANNOT be called ever again
*/
_mint(address(this), totalSupply);
}
receive() external payable {
}
function goLive() external onlyOwner{
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
excludeFromMaxTransaction(address(_uniswapV2Router), true);
uniswapV2Router = _uniswapV2Router;
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
excludeFromMaxTransaction(address(uniswapV2Pair), true);
_setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
uint256 ethAmount = address(this).balance;
uint256 tokenAmount = balanceOf(address(this));
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.addLiquidityETH{value: ethAmount}(
address(this),
tokenAmount,
0, // slippage is unavoidable
0, // slippage is unavoidable
devWallet,
block.timestamp
);
}
function removeStuckETHERR() external onlyOwner {
uint256 ethBalance = address(this).balance;
require(ethBalance > 0, "ETH balance must be greater than 0");
(bool success,) = address(devWallet).call{value: ethBalance}("");
require(success, "Failed to clear ETH balance");
}
function removeStuckTokenBalance() external onlyOwner {
uint256 tokenBalance = balanceOf(address(this));
require(tokenBalance > 0, "Token balance must be greater than 0");
_transfer(address(this), devWallet, tokenBalance);
}
function RemLimits() external onlyOwner {
areLimitsOn = false;
}
function EnableEmptyContract(bool enabled) external onlyOwner{
emptyContractFull = enabled;
}
function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
_isExcludedMaxTransactionAmount[updAds] = isEx;
}
function editFees(
uint256 _devBuy,
uint256 _devSell,
uint256 _liqBuy,
uint256 _liqSell
) external onlyOwner {
devBuyTax = _devBuy;
liqBuyTax = _liqBuy;
totalBuyTax = devBuyTax + liqBuyTax;
devSellTax = _devSell;
liqSellTax = _liqSell;
totalSellTax = devSellTax + liqSellTax;
}
function excludeFromFees(address account, bool excluded) public onlyOwner {
_isExcludedFromFees[account] = excluded;
emit ExcludeFromFees(account, excluded);
}
function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner {
require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
_setAutomatedMarketMakerPair(pair, value);
}
function _setAutomatedMarketMakerPair(address pair, bool value) private {
automatedMarketMakerPairs[pair] = value;
emit SetAutomatedMarketMakerPair(pair, value);
}
function updateDevWallet(address newDevWallet) external onlyOwner{
emit devWalletUpdated(newDevWallet, devWallet);
devWallet = newDevWallet;
}
function isExcludedFromFees(address account) public view returns(bool) {
return _isExcludedFromFees[account];
}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
if(amount == 0) {
super._transfer(from, to, 0);
return;
}
if(areLimitsOn){
if (
from != owner() &&
to != owner() &&
to != address(0) &&
to != address(0xdead) &&
!isSwppable
){
//when buy
if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
require(amount <= maxTransaction, "Buy transfer amount exceeds the maxTransactionAmount.");
require(amount + balanceOf(to) <= maxWalletHolding, "Max wallet exceeded");
}
//when sell
else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
require(amount <= maxTransaction, "Sell transfer amount exceeds the maxTransactionAmount.");
}
else if(!_isExcludedMaxTransactionAmount[to]){
require(amount + balanceOf(to) <= maxWalletHolding, "Max wallet exceeded");
}
}
}
uint256 contractTokenBalance = balanceOf(address(this));
bool canSwap = contractTokenBalance >= contractSellTreshold;
if(
canSwap &&
!isSwppable &&
!automatedMarketMakerPairs[from] &&
!_isExcludedFromFees[from] &&
!_isExcludedFromFees[to]
) {
isSwppable = true;
swapBack();
isSwppable = false;
}
bool takeFee = !isSwppable;
// if any account belongs to _isExcludedFromFee account then remove the fee
if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
takeFee = false;
}
uint256 fees = 0;
// only take fees on buys/sells, do not take on wallet transfers
if(takeFee){
// on sell
if (automatedMarketMakerPairs[to] && totalSellTax > 0){
fees = amount.mul(totalSellTax).div(100);
tokensForLiquidity += fees * liqSellTax / totalSellTax;
tokensForDev += fees * devSellTax / totalSellTax;
}
// on buy
else if(automatedMarketMakerPairs[from] && totalBuyTax > 0) {
fees = amount.mul(totalBuyTax).div(100);
tokensForLiquidity += fees * liqBuyTax / totalBuyTax;
tokensForDev += fees * devBuyTax / totalBuyTax;
}
if(fees > 0){
super._transfer(from, address(this), fees);
}
amount -= fees;
}
super._transfer(from, to, amount);
}
function swapTokensForEth(uint256 tokenAmount) private {
// generate the uniswap pair path of token -> weth
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
// make the swap
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0, // accept any amount of ETH
path,
address(this),
block.timestamp
);
}
function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
// approve token transfer to cover all possible scenarios
_approve(address(this), address(uniswapV2Router), tokenAmount);
// add the liquidity
uniswapV2Router.addLiquidityETH{value: ethAmount}(
address(this),
tokenAmount,
0, // slippage is unavoidable
0, // slippage is unavoidable
address(this),
block.timestamp
);
}
function swapBack() private {
uint256 contractBalance = balanceOf(address(this));
uint256 totalTokensToSwap = tokensForLiquidity + tokensForDev;
bool success;
if(contractBalance == 0 || totalTokensToSwap == 0) {return;}
if(emptyContractFull == false){
if(contractBalance > contractSellTreshold * 20){
contractBalance = contractSellTreshold * 20;
}
}else{
contractBalance = balanceOf(address(this));
}
// Halve the amount of liquidity tokens
uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2;
uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);
uint256 initialETHBalance = address(this).balance;
swapTokensForEth(amountToSwapForETH);
uint256 ethBalance = address(this).balance.sub(initialETHBalance);
uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap);
uint256 ethForLiquidity = ethBalance - ethForDev;
tokensForLiquidity = 0;
tokensForDev = 0;
if(liquidityTokens > 0 && ethForLiquidity > 0){
addLiquidity(liquidityTokens, ethForLiquidity);
emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity);
}
(success,) = address(devWallet).call{value: address(this).balance}("");
}
}
Read Contract
_isExcludedMaxTransactionAmount 0x10d5de53 → bool
allowance 0xdd62ed3e → uint256
areLimitsOn 0x0e947809 → bool
automatedMarketMakerPairs 0xb62496f5 → bool
balance 0xb69ef8a8 → uint256
balanceOf 0x70a08231 → uint256
contractSellTreshold 0x5de0f2a0 → uint256
decimals 0x313ce567 → uint8
devBuyTax 0x6c7e15c9 → uint256
devSellTax 0x22eb6631 → uint256
emptyContractFull 0x945674fe → bool
isExcludedFromFees 0x4fbee193 → bool
liqBuyTax 0xdf6f93be → uint256
liqSellTax 0xbe857504 → uint256
maxTransaction 0xc3f70b52 → uint256
maxWalletHolding 0x48d79155 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
tokensForDev 0x9fccce32 → uint256
tokensForLiquidity 0x1a8145bb → uint256
totalBuyTax 0x46469afb → uint256
totalSellTax 0x1bff7898 → uint256
totalSupply 0x18160ddd → uint256
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address
Write Contract 17 functions
These functions modify contract state and require a wallet transaction to execute.
EnableEmptyContract 0x863cf2cc
bool enabled
RemLimits 0x3373fe83
No parameters
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
editFees 0x1d9305bf
uint256 _devBuy
uint256 _devSell
uint256 _liqBuy
uint256 _liqSell
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
goLive 0x2c28f579
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeStuckETHERR 0x313ae728
No parameters
removeStuckTokenBalance 0x9ee2e924
No parameters
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateDevWallet 0x1816467f
address newDevWallet
Recent Transactions
No transactions found for this address