Address Contract Partially Verified
Address
0xa53F9dD70055113e13176e291eDDb773f85B2650
Balance
0.001729 ETH
Nonce
1
Code Size
18607 bytes
Creator
0x2A02bE85...18f7 at tx 0xe1a33f92...28b7bb
Indexed Transactions
0
Contract Bytecode
18607 bytes
0x60806040526004361061021e5760003560e01c80638a8c523c11610123578063ad3026e4116100ab578063e0eb9cb31161006f578063e0eb9cb3146107ca578063ea2f0b37146107f5578063f2fde38b1461081e578063f887ea4014610847578063fc962edb1461087257610225565b8063ad3026e4146106d3578063beffc7d4146106fc578063c5d32bb214610725578063d256413e14610762578063dd62ed3e1461078d57610225565b8063a1e71b57116100f2578063a1e71b57146105ee578063a40f0ce714610617578063a457c2d71461062e578063a8aa1b311461066b578063a9059cbb1461069657610225565b80638a8c523c146105585780638cd4426d1461056f5780638da5cb5b1461059857806395d89b41146105c357610225565b8063437823ec116101a6578063610e34b911610175578063610e34b91461048557806370a08231146104ae578063715018a6146104eb57806375f0a8741461050257806385141a771461052d57610225565b8063437823ec146103df5780634ada218b146104085780635ae34339146104335780635d098b381461045c57610225565b80631d5dace3116101ed5780631d5dace3146102e657806323b872dd1461030f57806329b8cff31461034c578063313ce5671461037757806339509351146103a257610225565b806306fdde031461022a578063095ea7b3146102555780631340538f1461029257806318160ddd146102bb57610225565b3661022557005b600080fd5b34801561023657600080fd5b5061023f61089d565b60405161024c9190612fb1565b60405180910390f35b34801561026157600080fd5b5061027c6004803603810190610277919061307b565b61092f565b60405161028991906130d6565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b4919061311d565b61094d565b005b3480156102c757600080fd5b506102d06109e6565b6040516102dd9190613159565b60405180910390f35b3480156102f257600080fd5b5061030d60048036038101906103089190613174565b6109f0565b005b34801561031b57600080fd5b50610336600480360381019061033191906131b4565b610b43565b60405161034391906130d6565b60405180910390f35b34801561035857600080fd5b50610361610c44565b60405161036e9190613159565b60405180910390f35b34801561038357600080fd5b5061038c610c4a565b6040516103999190613223565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c4919061307b565b610c53565b6040516103d691906130d6565b60405180910390f35b3480156103eb57600080fd5b506104066004803603810190610401919061323e565b610cff565b005b34801561041457600080fd5b5061041d610dd6565b60405161042a91906130d6565b60405180910390f35b34801561043f57600080fd5b5061045a6004803603810190610455919061326b565b610de9565b005b34801561046857600080fd5b50610483600480360381019061047e919061323e565b610ec0565b005b34801561049157600080fd5b506104ac60048036038101906104a79190613174565b6110b5565b005b3480156104ba57600080fd5b506104d560048036038101906104d0919061323e565b611182565b6040516104e29190613159565b60405180910390f35b3480156104f757600080fd5b506105006111ca565b005b34801561050e57600080fd5b50610517611252565b60405161052491906132ba565b60405180910390f35b34801561053957600080fd5b50610542611278565b60405161054f91906132ba565b60405180910390f35b34801561056457600080fd5b5061056d61127e565b005b34801561057b57600080fd5b506105966004803603810190610591919061307b565b611367565b005b3480156105a457600080fd5b506105ad6114db565b6040516105ba91906132ba565b60405180910390f35b3480156105cf57600080fd5b506105d8611505565b6040516105e59190612fb1565b60405180910390f35b3480156105fa57600080fd5b506106156004803603810190610610919061341d565b611597565b005b34801561062357600080fd5b5061062c6116a8565b005b34801561063a57600080fd5b506106556004803603810190610650919061307b565b61177a565b60405161066291906130d6565b60405180910390f35b34801561067757600080fd5b5061068061186e565b60405161068d91906132ba565b60405180910390f35b3480156106a257600080fd5b506106bd60048036038101906106b8919061307b565b611894565b6040516106ca91906130d6565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f59190613174565b6118ab565b005b34801561070857600080fd5b50610723600480360381019061071e9190613174565b611a38565b005b34801561073157600080fd5b5061074c6004803603810190610747919061323e565b611b05565b60405161075991906130d6565b60405180910390f35b34801561076e57600080fd5b50610777611b25565b6040516107849190613159565b60405180910390f35b34801561079957600080fd5b506107b460048036038101906107af9190613479565b611b2b565b6040516107c19190613159565b60405180910390f35b3480156107d657600080fd5b506107df611bb2565b6040516107ec9190613159565b60405180910390f35b34801561080157600080fd5b5061081c6004803603810190610817919061323e565b611bb8565b005b34801561082a57600080fd5b506108456004803603810190610840919061323e565b611c8f565b005b34801561085357600080fd5b5061085c611d86565b6040516108699190613518565b60405180910390f35b34801561087e57600080fd5b50610887611dac565b6040516108949190613159565b60405180910390f35b6060600380546108ac90613562565b80601f01602080910402602001604051908101604052809291908181526020018280546108d890613562565b80156109255780601f106108fa57610100808354040283529160200191610925565b820191906000526020600020905b81548152906001019060200180831161090857829003601f168201915b5050505050905090565b600061094361093c611db2565b8484611dba565b6001905092915050565b610955611db2565b73ffffffffffffffffffffffffffffffffffffffff166109736114db565b73ffffffffffffffffffffffffffffffffffffffff16146109c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c0906135df565b60405180910390fd5b80600760156101000a81548160ff02191690831515021790555050565b6000600254905090565b6109f8611db2565b73ffffffffffffffffffffffffffffffffffffffff16610a166114db565b73ffffffffffffffffffffffffffffffffffffffff1614610a6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a63906135df565b60405180910390fd5b612710821115610ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa890613671565b60405180910390fd5b6064811015610af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aec90613703565b60405180910390fd5b610afd610c4a565b600a610b099190613885565b82610b1491906138d0565b600881905550610b22610c4a565b600a610b2e9190613885565b81610b3991906138d0565b6009819055505050565b6000610b50848484611f83565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b9b611db2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1290613984565b60405180910390fd5b610c3885610c27611db2565b8584610c3391906139a4565b611dba565b60019150509392505050565b600b5481565b60006012905090565b6000610cf5610c60611db2565b848460016000610c6e611db2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610cf091906139d8565b611dba565b6001905092915050565b610d07611db2565b73ffffffffffffffffffffffffffffffffffffffff16610d256114db565b73ffffffffffffffffffffffffffffffffffffffff1614610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d72906135df565b60405180910390fd5b6001601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600760169054906101000a900460ff1681565b610df1611db2565b73ffffffffffffffffffffffffffffffffffffffff16610e0f6114db565b73ffffffffffffffffffffffffffffffffffffffff1614610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c906135df565b60405180910390fd5b80601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610ec8611db2565b73ffffffffffffffffffffffffffffffffffffffff16610ee66114db565b73ffffffffffffffffffffffffffffffffffffffff1614610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f33906135df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290613a7e565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090613aea565b60405180910390fd5b6001601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6110bd611db2565b73ffffffffffffffffffffffffffffffffffffffff166110db6114db565b73ffffffffffffffffffffffffffffffffffffffff1614611131576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611128906135df565b60405180910390fd5b81600d6000018190555080600d600101819055507fa2b219a42aa557965901397e42601390282bb6828cabbd7675dca50ba6aa62ca8282604051611176929190613b0a565b60405180910390a15050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111d2611db2565b73ffffffffffffffffffffffffffffffffffffffff166111f06114db565b73ffffffffffffffffffffffffffffffffffffffff1614611246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123d906135df565b60405180910390fd5b6112506000612636565b565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61dead81565b611286611db2565b73ffffffffffffffffffffffffffffffffffffffff166112a46114db565b73ffffffffffffffffffffffffffffffffffffffff16146112fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f1906135df565b60405180910390fd5b600760169054906101000a900460ff161561134a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134190613b7f565b60405180910390fd5b6001600760166101000a81548160ff021916908315150217905550565b61136f611db2565b73ffffffffffffffffffffffffffffffffffffffff1661138d6114db565b73ffffffffffffffffffffffffffffffffffffffff16146113e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113da906135df565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611451576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144890613c11565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6114756114db565b836040518363ffffffff1660e01b8152600401611493929190613c31565b6020604051808303816000875af11580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190613c6f565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461151490613562565b80601f016020809104026020016040519081016040528092919081815260200182805461154090613562565b801561158d5780601f106115625761010080835404028352916020019161158d565b820191906000526020600020905b81548152906001019060200180831161157057829003601f168201915b5050505050905090565b61159f611db2565b73ffffffffffffffffffffffffffffffffffffffff166115bd6114db565b73ffffffffffffffffffffffffffffffffffffffff1614611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a906135df565b60405180910390fd5b60005b82518110156116a357816014600085848151811061163757611636613c9c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061169b90613ccb565b915050611616565b505050565b6116b0611db2565b73ffffffffffffffffffffffffffffffffffffffff166116ce6114db565b73ffffffffffffffffffffffffffffffffffffffff1614611724576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171b906135df565b60405180910390fd5b60004790506117316114db565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611776573d6000803e3d6000fd5b5050565b60008060016000611789611db2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90613d85565b60405180910390fd5b611863611851611db2565b85858461185e91906139a4565b611dba565b600191505092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006118a1338484611f83565b6001905092915050565b6118b3611db2565b73ffffffffffffffffffffffffffffffffffffffff166118d16114db565b73ffffffffffffffffffffffffffffffffffffffff1614611927576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191e906135df565b60405180910390fd5b61192f610c4a565b600a61193b9190613885565b8261194691906138d0565b600b81905550611954610c4a565b600a6119609190613885565b8161196b91906138d0565b600a819055506103e88210156119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad90613e17565b60405180910390fd5b6103e88110156119fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f290613ea9565b60405180910390fd5b7f202f4712f0dae21d708451caa16ed4b41cb5c9974ab3d34d1f1dc4dfc5a222db8282604051611a2c929190613b0a565b60405180910390a15050565b611a40611db2565b73ffffffffffffffffffffffffffffffffffffffff16611a5e6114db565b73ffffffffffffffffffffffffffffffffffffffff1614611ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aab906135df565b60405180910390fd5b81600f6000018190555080600f600101819055507f7873124e0d91bc71776e2961704366640b879893d05157d7bfa606dd9e58227d8282604051611af9929190613b0a565b60405180910390a15050565b60136020528060005260406000206000915054906101000a900460ff1681565b600a5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60115481565b611bc0611db2565b73ffffffffffffffffffffffffffffffffffffffff16611bde6114db565b73ffffffffffffffffffffffffffffffffffffffff1614611c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2b906135df565b60405180910390fd5b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611c97611db2565b73ffffffffffffffffffffffffffffffffffffffff16611cb56114db565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d02906135df565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190613f3b565b60405180910390fd5b611d8381612636565b50565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60125481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2090613fcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8f9061405f565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611f769190613159565b60405180910390a3505050565b60008111611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd906140f1565b60405180910390fd5b601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561206a5750601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b6120a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a09061415d565b60405180910390fd5b601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561214d5750601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156121a257600760169054906101000a900460ff166121a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612198906141c9565b60405180910390fd5b5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614801561224d5750600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156122a35750601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561234657600a548111156122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e490614235565b60405180910390fd5b600b54816122fa84611182565b61230491906139d8565b1115612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c906142a1565b60405180910390fd5b5b6000806000612353612f07565b600760149054906101000a900460ff16806123b75750601360008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8061240b5750601360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156124195760009150612547565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16036124b157600f60000154600f6001015461248491906139d8565b9350839250600f604051806040016040529081600082015481526020016001820154815250509050612546565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461254557600d60000154600d6001015461251c91906139d8565b9350839250600d6040518060400160405290816000820154815260200160018201548152505090505b5b5b6064838661255591906138d0565b61255f91906142f0565b9150600760159054906101000a900460ff1680156125cb5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614155b156125db576125da84826126fc565b5b6125f1878784886125ec91906139a4565b61287e565b600082111561262d57600084111561262c5760006064858761261391906138d0565b61261d91906142f0565b905061262a88308361287e565b505b5b50505050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600760149054906101000a900460ff1661287a576001600760146101000a81548160ff021916908315150217905550600082031561285e57600061273f30611182565b9050600954811061285c57600060028461275991906138d0565b905060008184602001518461276e91906138d0565b61277891906142f0565b9050600047905061278884612af0565b6000814761279691906139a4565b905060008660200151856127aa91906139a4565b826127b591906142f0565b905060008760200151826127c991906138d0565b905060008111156127df576127de8582612d33565b5b600088600001516002846127f391906138d0565b6127fd91906138d0565b905060008111156128545761285381600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612e1390919063ffffffff16565b5b505050505050505b505b6000600760146101000a81548160ff0219169083151502179055505b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036128ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e490614393565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361295c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295390614425565b60405180910390fd5b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156129e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d9906144b7565b60405180910390fd5b81816129ee91906139a4565b6000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a7e91906139d8565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612ae29190613159565b60405180910390a350505050565b6000600267ffffffffffffffff811115612b0d57612b0c6132da565b5b604051908082528060200260200182016040528015612b3b5781602001602082028036833780820191505090505b5090503081600081518110612b5357612b52613c9c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1e91906144ec565b81600181518110612c3257612c31613c9c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612c9930600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611dba565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401612cfd959493929190614612565b600060405180830381600087803b158015612d1757600080fd5b505af1158015612d2b573d6000803e3d6000fd5b505050505050565b612d6030600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611dba565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d71982308560008061dead426040518863ffffffff1660e01b8152600401612dc99695949392919061466c565b60606040518083038185885af1158015612de7573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e0c91906146e2565b5050505050565b80471015612e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4d90614781565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612e7c906147d2565b60006040518083038185875af1925050503d8060008114612eb9576040519150601f19603f3d011682016040523d82523d6000602084013e612ebe565b606091505b5050905080612f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef990614859565b60405180910390fd5b505050565b604051806040016040528060008152602001600081525090565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f5b578082015181840152602081019050612f40565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f8382612f21565b612f8d8185612f2c565b9350612f9d818560208601612f3d565b612fa681612f67565b840191505092915050565b60006020820190508181036000830152612fcb8184612f78565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061301282612fe7565b9050919050565b61302281613007565b811461302d57600080fd5b50565b60008135905061303f81613019565b92915050565b6000819050919050565b61305881613045565b811461306357600080fd5b50565b6000813590506130758161304f565b92915050565b6000806040838503121561309257613091612fdd565b5b60006130a085828601613030565b92505060206130b185828601613066565b9150509250929050565b60008115159050919050565b6130d0816130bb565b82525050565b60006020820190506130eb60008301846130c7565b92915050565b6130fa816130bb565b811461310557600080fd5b50565b600081359050613117816130f1565b92915050565b60006020828403121561313357613132612fdd565b5b600061314184828501613108565b91505092915050565b61315381613045565b82525050565b600060208201905061316e600083018461314a565b92915050565b6000806040838503121561318b5761318a612fdd565b5b600061319985828601613066565b92505060206131aa85828601613066565b9150509250929050565b6000806000606084860312156131cd576131cc612fdd565b5b60006131db86828701613030565b93505060206131ec86828701613030565b92505060406131fd86828701613066565b9150509250925092565b600060ff82169050919050565b61321d81613207565b82525050565b60006020820190506132386000830184613214565b92915050565b60006020828403121561325457613253612fdd565b5b600061326284828501613030565b91505092915050565b6000806040838503121561328257613281612fdd565b5b600061329085828601613030565b92505060206132a185828601613108565b9150509250929050565b6132b481613007565b82525050565b60006020820190506132cf60008301846132ab565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61331282612f67565b810181811067ffffffffffffffff82111715613331576133306132da565b5b80604052505050565b6000613344612fd3565b90506133508282613309565b919050565b600067ffffffffffffffff8211156133705761336f6132da565b5b602082029050602081019050919050565b600080fd5b600061339961339484613355565b61333a565b905080838252602082019050602084028301858111156133bc576133bb613381565b5b835b818110156133e557806133d18882613030565b8452602084019350506020810190506133be565b5050509392505050565b600082601f830112613404576134036132d5565b5b8135613414848260208601613386565b91505092915050565b6000806040838503121561343457613433612fdd565b5b600083013567ffffffffffffffff81111561345257613451612fe2565b5b61345e858286016133ef565b925050602061346f85828601613108565b9150509250929050565b600080604083850312156134905761348f612fdd565b5b600061349e85828601613030565b92505060206134af85828601613030565b9150509250929050565b6000819050919050565b60006134de6134d96134d484612fe7565b6134b9565b612fe7565b9050919050565b60006134f0826134c3565b9050919050565b6000613502826134e5565b9050919050565b613512816134f7565b82525050565b600060208201905061352d6000830184613509565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061357a57607f821691505b60208210810361358d5761358c613533565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135c9602083612f2c565b91506135d482613593565b602082019050919050565b600060208201905081810360008301526135f8816135bc565b9050919050565b7f6d757374206b656570206d6178205468726573686f6c64206174203125206f7260008201527f206c657373000000000000000000000000000000000000000000000000000000602082015250565b600061365b602583612f2c565b9150613666826135ff565b604082019050919050565b6000602082019050818103600083015261368a8161364e565b9050919050565b7f6d696e205468726573686f6c64206d757374206265206772656174657220746860008201527f616e206f7220657175616c20746f20302e303125000000000000000000000000602082015250565b60006136ed603483612f2c565b91506136f882613691565b604082019050919050565b6000602082019050818103600083015261371c816136e0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156137a95780860481111561378557613784613723565b5b60018516156137945780820291505b80810290506137a285613752565b9450613769565b94509492505050565b6000826137c2576001905061387e565b816137d0576000905061387e565b81600181146137e657600281146137f05761381f565b600191505061387e565b60ff84111561380257613801613723565b5b8360020a91508482111561381957613818613723565b5b5061387e565b5060208310610133831016604e8410600b84101617156138545782820a90508381111561384f5761384e613723565b5b61387e565b613861848484600161375f565b9250905081840481111561387857613877613723565b5b81810290505b9392505050565b600061389082613045565b915061389b83613207565b92506138c87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846137b2565b905092915050565b60006138db82613045565b91506138e683613045565b92508282026138f481613045565b9150828204841483151761390b5761390a613723565b5b5092915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b600061396e602883612f2c565b915061397982613912565b604082019050919050565b6000602082019050818103600083015261399d81613961565b9050919050565b60006139af82613045565b91506139ba83613045565b92508282039050818111156139d2576139d1613723565b5b92915050565b60006139e382613045565b91506139ee83613045565b9250828201905080821115613a0657613a05613723565b5b92915050565b7f46656520416464726573732063616e6e6f74206265207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a68602283612f2c565b9150613a7382613a0c565b604082019050919050565b60006020820190508181036000830152613a9781613a5b565b9050919050565b7f46656520416464726573732063616e6e6f742062652043410000000000000000600082015250565b6000613ad4601883612f2c565b9150613adf82613a9e565b602082019050919050565b60006020820190508181036000830152613b0381613ac7565b9050919050565b6000604082019050613b1f600083018561314a565b613b2c602083018461314a565b9392505050565b7f43616e6e6f742072652d656e61626c652074726164696e670000000000000000600082015250565b6000613b69601883612f2c565b9150613b7482613b33565b602082019050919050565b60006020820190508181036000830152613b9881613b5c565b9050919050565b7f4f776e65722063616e277420636c61696d20636f6e747261637427732062616c60008201527f616e6365206f6620697473206f776e20746f6b656e7300000000000000000000602082015250565b6000613bfb603683612f2c565b9150613c0682613b9f565b604082019050919050565b60006020820190508181036000830152613c2a81613bee565b9050919050565b6000604082019050613c4660008301856132ab565b613c53602083018461314a565b9392505050565b600081519050613c69816130f1565b92915050565b600060208284031215613c8557613c84612fdd565b5b6000613c9384828501613c5a565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613cd682613045565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d0857613d07613723565b5b600182019050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613d6f602583612f2c565b9150613d7a82613d13565b604082019050919050565b60006020820190508181036000830152613d9e81613d62565b9050919050565b7f43616e6e6f7420736574204d617857616c6c657420616d6f756e74206c6f776560008201527f72207468656e20302e3125000000000000000000000000000000000000000000602082015250565b6000613e01602b83612f2c565b9150613e0c82613da5565b604082019050919050565b60006020820190508181036000830152613e3081613df4565b9050919050565b7f43616e6e6f7420736574204d6178547820616d6f756e74206c6f77657220746860008201527f656e20302e312500000000000000000000000000000000000000000000000000602082015250565b6000613e93602783612f2c565b9150613e9e82613e37565b604082019050919050565b60006020820190508181036000830152613ec281613e86565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f25602683612f2c565b9150613f3082613ec9565b604082019050919050565b60006020820190508181036000830152613f5481613f18565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613fb7602483612f2c565b9150613fc282613f5b565b604082019050919050565b60006020820190508181036000830152613fe681613faa565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000614049602283612f2c565b915061405482613fed565b604082019050919050565b600060208201905081810360008301526140788161403c565b9050919050565b7f5472616e7366657220616d6f756e74206d75737420626520677265617465722060008201527f7468616e207a65726f0000000000000000000000000000000000000000000000602082015250565b60006140db602983612f2c565b91506140e68261407f565b604082019050919050565b6000602082019050818103600083015261410a816140ce565b9050919050565b7f596f752063616e2774207472616e7366657220746f6b656e7300000000000000600082015250565b6000614147601983612f2c565b915061415282614111565b602082019050919050565b600060208201905081810360008301526141768161413a565b9050919050565b7f54726164696e67206e6f7420656e61626c656400000000000000000000000000600082015250565b60006141b3601383612f2c565b91506141be8261417d565b602082019050919050565b600060208201905081810360008301526141e2816141a6565b9050919050565b7f4578636565647320746865205f6d61785478416d6f756e742e00000000000000600082015250565b600061421f601983612f2c565b915061422a826141e9565b602082019050919050565b6000602082019050818103600083015261424e81614212565b9050919050565b7f4578636565647320746865206d617857616c6c657453697a652e000000000000600082015250565b600061428b601a83612f2c565b915061429682614255565b602082019050919050565b600060208201905081810360008301526142ba8161427e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142fb82613045565b915061430683613045565b925082614316576143156142c1565b5b828204905092915050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061437d602583612f2c565b915061438882614321565b604082019050919050565b600060208201905081810360008301526143ac81614370565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061440f602383612f2c565b915061441a826143b3565b604082019050919050565b6000602082019050818103600083015261443e81614402565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006144a1602683612f2c565b91506144ac82614445565b604082019050919050565b600060208201905081810360008301526144d081614494565b9050919050565b6000815190506144e681613019565b92915050565b60006020828403121561450257614501612fdd565b5b6000614510848285016144d7565b91505092915050565b6000819050919050565b600061453e61453961453484614519565b6134b9565b613045565b9050919050565b61454e81614523565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61458981613007565b82525050565b600061459b8383614580565b60208301905092915050565b6000602082019050919050565b60006145bf82614554565b6145c9818561455f565b93506145d483614570565b8060005b838110156146055781516145ec888261458f565b97506145f7836145a7565b9250506001810190506145d8565b5085935050505092915050565b600060a082019050614627600083018861314a565b6146346020830187614545565b818103604083015261464681866145b4565b905061465560608301856132ab565b614662608083018461314a565b9695505050505050565b600060c08201905061468160008301896132ab565b61468e602083018861314a565b61469b6040830187614545565b6146a86060830186614545565b6146b560808301856132ab565b6146c260a083018461314a565b979650505050505050565b6000815190506146dc8161304f565b92915050565b6000806000606084860312156146fb576146fa612fdd565b5b6000614709868287016146cd565b935050602061471a868287016146cd565b925050604061472b868287016146cd565b9150509250925092565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061476b601d83612f2c565b915061477682614735565b602082019050919050565b6000602082019050818103600083015261479a8161475e565b9050919050565b600081905092915050565b50565b60006147bc6000836147a1565b91506147c7826147ac565b600082019050919050565b60006147dd826147af565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614843603a83612f2c565b915061484e826147e7565b604082019050919050565b6000602082019050818103600083015261487281614836565b905091905056fea2646970667358221220a44d506ad15e8f1ce49be7f00dc1a29884d4d5432c7f37c634e4596109b4a6ad64736f6c63430008130033
Verified Source Code Partial Match
Compiler: v0.8.19+commit.7dd6d404
EVM: paris
Optimization: No
ZEUS.sol 752 lines
/*
Zeus AI is the first robot that has the form and aspect of a dog. Powered by Elon Musk.
Elon Musk has no plans to send humans on the initial Mars mission; instead, he intends to deploy robots like Zeus and Optimus. These robots possess advanced manoeuvring capabilities and AI technology that can collect extensive data before humans embark on their journey to Mars. While wheeled vehicles are frequently used for new planet landings, a four-legged robot like Zeus could offer an advantage on the Martian terrain.
To learn more about Zeus, search for ‘Elon Zeus Dog’ on Google.
https://t.me/ZeusAiErc20
*/
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
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 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) internal _balances;
mapping(address => mapping(address => uint256)) internal _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The defaut value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account)
public
view
virtual
override
returns (uint256)
{
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount)
public
virtual
override
returns (bool)
{
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender)
public
view
virtual
override
returns (uint256)
{
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount)
public
virtual
override
returns (bool)
{
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(
currentAllowance >= amount,
"ERC20: transfer amount exceeds allowance"
);
_approve(sender, _msgSender(), currentAllowance - amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue)
public
virtual
returns (bool)
{
_approve(
_msgSender(),
spender,
_allowances[_msgSender()][spender] + addedValue
);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue)
public
virtual
returns (bool)
{
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(
currentAllowance >= subtractedValue,
"ERC20: decreased allowance below zero"
);
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
return true;
}
/**
* @dev Moves tokens `amount` from `sender` to `recipient`.
*
* This is internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - `sender` cannot be the zero address.
* - `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
*/
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");
uint256 senderBalance = _balances[sender];
require(
senderBalance >= amount,
"ERC20: transfer amount exceeds balance"
);
_balances[sender] = senderBalance - amount;
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
/** This function will be used to generate the total supply
* while deploying the contract
*
* This function can never be called again after deploying contract
*/
function _tokengeneration(address account, uint256 amount)
internal
virtual
{
_totalSupply = amount;
_balances[account] = amount;
emit Transfer(address(0), account, amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
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);
}
}
library Address {
function sendValue(address payable recipient, uint256 amount) internal {
require(
address(this).balance >= amount,
"Address: insufficient balance"
);
(bool success, ) = recipient.call{value: amount}("");
require(
success,
"Address: unable to send value, recipient may have reverted"
);
}
}
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() {
_setOwner(_msgSender());
}
function owner() public view virtual returns (address) {
return _owner;
}
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
interface IFactory {
function createPair(address tokenA, address tokenB)
external
returns (address pair);
}
interface IRouter {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidityETH(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (
uint256 amountToken,
uint256 amountETH,
uint256 liquidity
);
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
}
contract ZEUS is ERC20, Ownable {
using Address for address payable;
IRouter public router;
address public pair;
bool private _interlock = false;
bool private providingLiquidity = true;
bool public tradingEnabled = false;
uint256 private maxThreshold = 100000 * 10**18;
uint256 private minThrehold = 1000 * 10**18;
uint256 public MaxTxAmount = 200000 * 10**18;
uint256 public MaxWalletSize = 200000 * 10**18;
address public marketingWallet = 0x7ac98F2416E64Ccd4f30DcfEFfFe82C3Ba69Bc20;
address public constant deadWallet = 0x000000000000000000000000000000000000dEaD;
struct Taxes {
uint256 marketing;
uint256 liquidity;
}
Taxes private taxes = Taxes(0, 0);
Taxes private sellTaxes = Taxes(0, 0);
uint256 public BuyTaxes = taxes.marketing + taxes.liquidity;
uint256 public SellTaxes = sellTaxes.marketing + sellTaxes.liquidity;
mapping(address => bool) public exemptFee;
mapping(address => bool) private isearlybuyer;
event MaxTxUpdated(uint256 MaxWalletSize, uint256 MaxTxAmount);
event BuyTaxesUpdated(uint256 marketing, uint256 liquidity);
event SellTaxesUpdated(uint256 marketing, uint256 liquidity);
modifier lockTheSwap() {
if (!_interlock) {
_interlock = true;
_;
_interlock = false;
}
}
constructor() ERC20("Zeus AI", "ZEUS") {
_tokengeneration(msg.sender, 10000000 * 10**decimals());
IRouter _router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
address _pair = IFactory(_router.factory()).createPair(address(this),_router.WETH());
router = _router;
pair = _pair;
exemptFee[msg.sender] = true;
exemptFee[address(this)] = true;
exemptFee[marketingWallet] = true;
exemptFee[deadWallet] = true;
}
function approve(address spender, uint256 amount)
public
override
returns (bool)
{
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(
currentAllowance >= amount,
"ERC20: transfer amount exceeds allowance"
);
_approve(sender, _msgSender(), currentAllowance - amount);
return true;
}
function increaseAllowance(address spender, uint256 addedValue)
public
override
returns (bool)
{
_approve(
_msgSender(),
spender,
_allowances[_msgSender()][spender] + addedValue
);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue)
public
override
returns (bool)
{
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue,"ERC20: decreased allowance below zero");
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
return true;
}
function transfer(address recipient, uint256 amount)
public
override
returns (bool)
{
_transfer(msg.sender, recipient, amount);
return true;
}
function _transfer(address sender, address recipient, uint256 amount) internal override {
require(amount > 0, "Transfer amount must be greater than zero");
require(!isearlybuyer[sender] && !isearlybuyer[recipient],
"You can't transfer tokens"
);
if (!exemptFee[sender] && !exemptFee[recipient]) {
require(tradingEnabled, "Trading not enabled");
}
if (sender == pair && recipient != address(router) && !exemptFee[recipient] ) {
require(amount <= MaxTxAmount, "Exceeds the _maxTxAmount.");
require(balanceOf(recipient) + amount <= MaxWalletSize, "Exceeds the maxWalletSize.");
}
uint256 feeswap;
uint256 feesum;
uint256 fee;
Taxes memory currentTaxes;
//set fee to zero if fees in contract are handled or exempted
if (_interlock || exemptFee[sender] || exemptFee[recipient])
fee = 0;
//calculate fee
else if (recipient == pair) {
feeswap = sellTaxes.liquidity + sellTaxes.marketing;
feesum = feeswap;
currentTaxes = sellTaxes;
} else if (recipient != pair) {
feeswap = taxes.liquidity + taxes.marketing;
feesum = feeswap;
currentTaxes = taxes;
}
fee = (amount * feesum) / 100;
//send fees if threshold has been reached
//don't do this on buys, breaks swap
if (providingLiquidity && sender != pair)
Liquify(feeswap, currentTaxes);
//rest to recipient
super._transfer(sender, recipient, amount - fee);
if (fee > 0) {
//send the fee to the contract
if (feeswap > 0) {
uint256 feeAmount = (amount * feeswap) / 100;
super._transfer(sender, address(this), feeAmount);
}
}
}
function Liquify(uint256 feeswap, Taxes memory swapTaxes) private lockTheSwap {
if (feeswap == 0) {
return;
}
uint256 contractBalance = balanceOf(address(this));
if (contractBalance >= minThrehold) {
if (contractBalance > maxThreshold) {
}
// Split the contract balance into halves
uint256 denominator = feeswap * 2;
uint256 tokensToAddLiquidityWith = (contractBalance * swapTaxes.liquidity) / denominator;
uint256 initialBalance = address(this).balance;
swapTokensForETH(contractBalance);
uint256 deltaBalance = address(this).balance - initialBalance;
uint256 unitBalance = deltaBalance / (denominator - swapTaxes.liquidity);
uint256 ethToAddLiquidityWith = unitBalance * swapTaxes.liquidity;
if (ethToAddLiquidityWith > 0) {
// Add liquidity to pancake
addLiquidity(tokensToAddLiquidityWith, ethToAddLiquidityWith);
}
uint256 marketingAmt = unitBalance * 2 * swapTaxes.marketing;
if (marketingAmt > 0) {
payable(marketingWallet).sendValue(marketingAmt);
}
}
}
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 addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
_approve(address(this), address(router), tokenAmount);
// add the liquidity
router.addLiquidityETH{value: ethAmount}(
address(this),
tokenAmount,
0, // slippage is unavoidable
0, // slippage is unavoidable
deadWallet,
block.timestamp
);
}
function updateLiquidityProvide(bool state) external onlyOwner {
providingLiquidity = state;
}
function UpdateTreshhold(uint256 max_amount, uint256 min_amount) external onlyOwner {
require(max_amount <= 10000, "must keep max Threshold at 1% or less" );
require(min_amount >= 100, "min Threshold must be greater than or equal to 0.01%");
maxThreshold = max_amount * 10**decimals();
minThrehold = min_amount * 10**decimals();
}
function updateBuyFee( uint256 _marketing, uint256 _liquidity) external onlyOwner {
taxes.marketing = _marketing;
taxes.liquidity = _liquidity;
emit BuyTaxesUpdated(_marketing, _liquidity);
}
function updateSellFee( uint256 _marketing, uint256 _liquidity) external onlyOwner {
sellTaxes.marketing = _marketing;
sellTaxes.liquidity = _liquidity;
emit SellTaxesUpdated(_marketing, _liquidity);
}
function setMaxTxLimit(uint256 _maxWallet, uint256 _maxTx) external onlyOwner {
MaxWalletSize = _maxWallet * 10**decimals();
MaxTxAmount = _maxTx * 10**decimals();
require (_maxWallet >= 1000, "Cannot set MaxWallet amount lower then 0.1%");
require (_maxTx >= 1000, "Cannot set MaxTx amount lower then 0.1%");
emit MaxTxUpdated(_maxWallet, _maxTx);
}
function enableTrading() external onlyOwner {
require(!tradingEnabled, "Cannot re-enable trading");
tradingEnabled = true;
}
function setMarketingWallet(address newWallet) external onlyOwner {
require(newWallet != address(0), "Fee Address cannot be zero address");
require(newWallet != address(this), "Fee Address cannot be CA");
exemptFee[newWallet] = true;
marketingWallet = newWallet;
}
function multiBlockSniper(address[] memory accounts, bool state) external onlyOwner {
for (uint256 i = 0; i < accounts.length; i++) {
isearlybuyer[accounts[i]] = state;
}
}
function blockSniper(address account, bool state) external onlyOwner {
isearlybuyer[account] = state;
}
function excludeFromFee(address _address) external onlyOwner {
exemptFee[_address] = true;
}
function includeInFee(address _address) external onlyOwner {
exemptFee[_address] = false;
}
function rescueEHT() external onlyOwner {
uint256 contractETHBalance = address(this).balance;
payable(owner()).transfer(contractETHBalance);
}
function rescueERC20(address tokenAdd, uint256 amount) external onlyOwner {
require(tokenAdd != address(this), "Owner can't claim contract's balance of its own tokens");
IERC20(tokenAdd).transfer(owner(), amount);
}
// fallbacks
receive() external payable {}
}
Read Contract
BuyTaxes 0xe0eb9cb3 → uint256
MaxTxAmount 0xd256413e → uint256
MaxWalletSize 0x29b8cff3 → uint256
SellTaxes 0xfc962edb → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
deadWallet 0x85141a77 → address
decimals 0x313ce567 → uint8
exemptFee 0xc5d32bb2 → bool
marketingWallet 0x75f0a874 → address
name 0x06fdde03 → string
owner 0x8da5cb5b → address
pair 0xa8aa1b31 → address
router 0xf887ea40 → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
tradingEnabled 0x4ada218b → bool
Write Contract 20 functions
These functions modify contract state and require a wallet transaction to execute.
UpdateTreshhold 0x1d5dace3
uint256 max_amount
uint256 min_amount
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
blockSniper 0x5ae34339
address account
bool state
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTrading 0x8a8c523c
No parameters
excludeFromFee 0x437823ec
address _address
includeInFee 0xea2f0b37
address _address
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
multiBlockSniper 0xa1e71b57
address[] accounts
bool state
renounceOwnership 0x715018a6
No parameters
rescueEHT 0xa40f0ce7
No parameters
rescueERC20 0x8cd4426d
address tokenAdd
uint256 amount
setMarketingWallet 0x5d098b38
address newWallet
setMaxTxLimit 0xad3026e4
uint256 _maxWallet
uint256 _maxTx
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateBuyFee 0x610e34b9
uint256 _marketing
uint256 _liquidity
updateLiquidityProvide 0x1340538f
bool state
updateSellFee 0xbeffc7d4
uint256 _marketing
uint256 _liquidity
Recent Transactions
No transactions found for this address