Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x2A882780BCDF113eC230f6629f5c28827D7B5027
Balance 0 ETH
Nonce 1
Code Size 16363 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

16363 bytes
0x608060405260043610610233575f3560e01c8063715018a61161012d578063c0246668116100aa578063dd62ed3e1161006e578063dd62ed3e146107b6578063e2f45605146107f2578063f2fde38b1461081c578063f8b45b0514610844578063ffb54a991461086e5761023a565b8063c0246668146106fc578063c876d0b914610724578063c8c8ebe41461074e578063c9567bf914610778578063cc274b291461078e5761023a565b80639a7a23d6116100f15780639a7a23d614610630578063a0ef91df14610658578063a457c2d71461066e578063a9059cbb146106aa578063bc37e1a3146106e65761023a565b8063715018a61461057657806371f5f01a1461058c5780637571336a146105b45780638da5cb5b146105dc57806395d89b41146106065761023a565b8063313ce567116101bb5780634fbee1931161017f5780634fbee1931461048257806352f7c988146104be578063583e0568146104e65780636ddd17131461051057806370a082311461053a5761023a565b8063313ce567146103a057806339509351146103ca57806342966c6814610406578063470624021461042e57806349bd5a5e146104585761023a565b806323b872dd1161020257806323b872dd146102e45780632b14ca56146103205780632c8206ea1461034a57806330c74e0414610360578063311028af146103765761023a565b806306fdde031461023e578063095ea7b314610268578063139864a8146102a457806318160ddd146102ba5761023a565b3661023a57005b5f80fd5b348015610249575f80fd5b50610252610898565b60405161025f9190612bf2565b60405180910390f35b348015610273575f80fd5b5061028e60048036038101906102899190612ca3565b610928565b60405161029b9190612cfb565b60405180910390f35b3480156102af575f80fd5b506102b861094a565b005b3480156102c5575f80fd5b506102ce610966565b6040516102db9190612d23565b60405180910390f35b3480156102ef575f80fd5b5061030a60048036038101906103059190612d3c565b61096f565b6040516103179190612cfb565b60405180910390f35b34801561032b575f80fd5b5061033461099d565b6040516103419190612d23565b60405180910390f35b348015610355575f80fd5b5061035e6109a3565b005b34801561036b575f80fd5b50610374610a16565b005b348015610381575f80fd5b5061038a610ab0565b6040516103979190612d23565b60405180910390f35b3480156103ab575f80fd5b506103b4610ab6565b6040516103c19190612da7565b60405180910390f35b3480156103d5575f80fd5b506103f060048036038101906103eb9190612ca3565b610abe565b6040516103fd9190612cfb565b60405180910390f35b348015610411575f80fd5b5061042c60048036038101906104279190612dc0565b610af4565b005b348015610439575f80fd5b50610442610b08565b60405161044f9190612d23565b60405180910390f35b348015610463575f80fd5b5061046c610b0e565b6040516104799190612dfa565b60405180910390f35b34801561048d575f80fd5b506104a860048036038101906104a39190612e13565b610b33565b6040516104b59190612cfb565b60405180910390f35b3480156104c9575f80fd5b506104e460048036038101906104df9190612e3e565b610b85565b005b3480156104f1575f80fd5b506104fa610b9f565b6040516105079190612ed7565b60405180910390f35b34801561051b575f80fd5b50610524610bc3565b6040516105319190612cfb565b60405180910390f35b348015610545575f80fd5b50610560600480360381019061055b9190612e13565b610bd6565b60405161056d9190612d23565b60405180910390f35b348015610581575f80fd5b5061058a610c1b565b005b348015610597575f80fd5b506105b260048036038101906105ad9190612dc0565b610c2e565b005b3480156105bf575f80fd5b506105da60048036038101906105d59190612f1a565b610cc2565b005b3480156105e7575f80fd5b506105f0610d22565b6040516105fd9190612dfa565b60405180910390f35b348015610611575f80fd5b5061061a610d4a565b6040516106279190612bf2565b60405180910390f35b34801561063b575f80fd5b5061065660048036038101906106519190612f1a565b610dda565b005b348015610663575f80fd5b5061066c610e7f565b005b348015610679575f80fd5b50610694600480360381019061068f9190612ca3565b610f66565b6040516106a19190612cfb565b60405180910390f35b3480156106b5575f80fd5b506106d060048036038101906106cb9190612ca3565b610fdb565b6040516106dd9190612cfb565b60405180910390f35b3480156106f1575f80fd5b506106fa610ffd565b005b348015610707575f80fd5b50610722600480360381019061071d9190612f1a565b611224565b005b34801561072f575f80fd5b506107386112d2565b6040516107459190612cfb565b60405180910390f35b348015610759575f80fd5b506107626112e5565b60405161076f9190612d23565b60405180910390f35b348015610783575f80fd5b5061078c6112eb565b005b348015610799575f80fd5b506107b460048036038101906107af9190612dc0565b61132a565b005b3480156107c1575f80fd5b506107dc60048036038101906107d79190612f58565b611354565b6040516107e99190612d23565b60405180910390f35b3480156107fd575f80fd5b506108066113d6565b6040516108139190612d23565b60405180910390f35b348015610827575f80fd5b50610842600480360381019061083d9190612e13565b6113dc565b005b34801561084f575f80fd5b5061085861145e565b6040516108659190612d23565b60405180910390f35b348015610879575f80fd5b50610882611464565b60405161088f9190612cfb565b60405180910390f35b6060600380546108a790612fc3565b80601f01602080910402602001604051908101604052809291908181526020018280546108d390612fc3565b801561091e5780601f106108f55761010080835404028352916020019161091e565b820191905f5260205f20905b81548152906001019060200180831161090157829003601f168201915b5050505050905090565b5f80610932611476565b905061093f81858561147d565b600191505092915050565b610952611640565b600b54600d81905550600b54600c81905550565b5f600254905090565b5f80610979611476565b90506109868582856116be565b610991858585611749565b60019150509392505050565b600a5481565b6109ab611640565b600e60019054906101000a900460ff166109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f19061303d565b60405180910390fd5b5f600e60016101000a81548160ff021916908315150217905550565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a56611476565b73ffffffffffffffffffffffffffffffffffffffff1614610a75575f80fd5b5f610a7f30610bd6565b9050610aad3060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611749565b50565b600b5481565b5f6009905090565b5f80610ac8611476565b9050610ae9818585610ada8589611354565b610ae49190613088565b61147d565b600191505092915050565b610b05610aff611476565b8261232f565b50565b60095481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f60125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b610b8d611640565b80600a81905550816009819055505050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b601160019054906101000a900460ff1681565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610c23611640565b610c2c5f6124f2565b565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610c6e611476565b73ffffffffffffffffffffffffffffffffffffffff1614610c8d575f80fd5b5f610c9730610bd6565b90505f60648383610ca891906130bb565b610cb29190613129565b9050610cbd816125b5565b505050565b610cca611640565b8060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610d5990612fc3565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8590612fc3565b8015610dd05780601f10610da757610100808354040283529160200191610dd0565b820191905f5260205f20905b815481529060010190602001808311610db357829003601f168201915b5050505050905090565b610de2611640565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e68906131c9565b60405180910390fd5b610e7b8282612809565b5050565b5f4711610ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb890613231565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f01611476565b73ffffffffffffffffffffffffffffffffffffffff1614610f20575f80fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610f63573d5f803e3d5ffd5b50565b5f80610f70611476565b90505f610f7d8286611354565b905083811015610fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb9906132bf565b60405180910390fd5b610fcf828686840361147d565b60019250505092915050565b5f80610fe5611476565b9050610ff2818585611749565b600191505092915050565b611005611640565b60115f9054906101000a900460ff1615611054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104b90613327565b60405180910390fd5b611081307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d600b5461147d565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d71947306110c830610bd6565b5f80730aad1d896525c23f65d911d29b08ed35b1e4a50e426040518863ffffffff1660e01b81526004016111019695949392919061337e565b60606040518083038185885af115801561111d573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061114291906133f1565b50505060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016111e1929190613441565b6020604051808303815f875af11580156111fd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611221919061347c565b50565b61122c611640565b8060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516112c69190612cfb565b60405180910390a25050565b600e60019054906101000a900460ff1681565b600d5481565b6112f3611640565b6001601160016101000a81548160ff021916908315150217905550600160115f6101000a81548160ff021916908315150217905550565b611332611640565b6009600a61134091906135d6565b8161134b91906130bb565b60108190555050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60105481565b6113e4611640565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611452576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144990613690565b60405180910390fd5b61145b816124f2565b50565b600c5481565b60115f9054906101000a900460ff1681565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e29061371e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611559576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611550906137ac565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116339190612d23565b60405180910390a3505050565b611648611476565b73ffffffffffffffffffffffffffffffffffffffff16611666610d22565b73ffffffffffffffffffffffffffffffffffffffff16146116bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b390613814565b60405180910390fd5b565b5f6116c98484611354565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146117435781811015611735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172c9061387c565b60405180910390fd5b611742848484840361147d565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae9061390a565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c90613998565b60405180910390fd5b5f810361183c5761183783835f6128a7565b61232a565b611844610d22565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156118b25750611882610d22565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156118ea57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015611924575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561193c5750600e5f9054906101000a900460ff16155b15611fbf5760115f9054906101000a900460ff16611a2f5760125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16806119ef575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b611a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2590613a00565b60405180910390fd5b5b600e60019054906101000a900460ff168015611a92575060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015611ae5575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611ce5577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611b93575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15611ce45743600f5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054108015611c20575043600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054105b611c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5690613a8e565b60405180910390fd5b43600f5f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555043600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5b60145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611d82575060135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611e2957600d54811115611dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc390613b1c565b60405180910390fd5b600c54611dd883610bd6565b82611de39190613088565b1115611e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1b90613b84565b60405180910390fd5b611fbe565b60145f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611ec6575060135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15611f1557600d54811115611f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0790613c12565b60405180910390fd5b611fbd565b60135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16611fbc57600c54611f6f83610bd6565b82611f7a9190613088565b1115611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb290613b84565b60405180910390fd5b5b5b5b5b5f611fc930610bd6565b90505f60105482119050808015611fec5750601160019054906101000a900460ff165b80156120045750600e5f9054906101000a900460ff16155b8015612057575060145f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b80156120aa575060125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b80156120fd575060125f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561213e576001600e5f6101000a81548160ff021916908315150217905550612124612b13565b5f600e5f6101000a81548160ff0219169083151502179055505b5f600e5f9054906101000a900460ff161580156121a2575060125f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b80156121f5575060125f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b90505f811561231a5760145f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff161561227c576122756064612267600a5488612b4e90919063ffffffff16565b612b6390919063ffffffff16565b90506122f7565b60145f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16156122f6576122f360646122e560095488612b4e90919063ffffffff16565b612b6390919063ffffffff16565b90505b5b5f81111561230b5761230a8730836128a7565b5b80856123179190613c30565b94505b6123258787876128a7565b505050505b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361239d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239490613cd3565b60405180910390fd5b6123a8825f83612b78565b5f805f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561242b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242290613d61565b60405180910390fd5b8181035f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508160025f82825403925050819055505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124da9190612d23565b60405180910390a36124ed835f84612b7d565b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff8111156125d1576125d0613d7f565b5b6040519080825280602002602001820160405280156125ff5781602001602082028036833780820191505090505b50905030815f8151811061261657612615613dac565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126dd9190613ded565b816001815181106126f1576126f0613dac565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050612756307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461147d565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8460085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518663ffffffff1660e01b81526004016127d8959493929190613ecf565b5f604051808303815f87803b1580156127ef575f80fd5b505af1158015612801573d5f803e3d5ffd5b505050505050565b8060145f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290c9061390a565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297a90613998565b60405180910390fd5b61298e838383612b78565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015612a11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0890613f97565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612afa9190612d23565b60405180910390a3612b0d848484612b7d565b50505050565b5f612b1d30610bd6565b90505f8103612b2c5750612b4c565b5f819050601054811115612b405760105490505b612b49816125b5565b50505b565b5f8183612b5b91906130bb565b905092915050565b5f8183612b709190613129565b905092915050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612bc482612b82565b612bce8185612b8c565b9350612bde818560208601612b9c565b612be781612baa565b840191505092915050565b5f6020820190508181035f830152612c0a8184612bba565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612c3f82612c16565b9050919050565b612c4f81612c35565b8114612c59575f80fd5b50565b5f81359050612c6a81612c46565b92915050565b5f819050919050565b612c8281612c70565b8114612c8c575f80fd5b50565b5f81359050612c9d81612c79565b92915050565b5f8060408385031215612cb957612cb8612c12565b5b5f612cc685828601612c5c565b9250506020612cd785828601612c8f565b9150509250929050565b5f8115159050919050565b612cf581612ce1565b82525050565b5f602082019050612d0e5f830184612cec565b92915050565b612d1d81612c70565b82525050565b5f602082019050612d365f830184612d14565b92915050565b5f805f60608486031215612d5357612d52612c12565b5b5f612d6086828701612c5c565b9350506020612d7186828701612c5c565b9250506040612d8286828701612c8f565b9150509250925092565b5f60ff82169050919050565b612da181612d8c565b82525050565b5f602082019050612dba5f830184612d98565b92915050565b5f60208284031215612dd557612dd4612c12565b5b5f612de284828501612c8f565b91505092915050565b612df481612c35565b82525050565b5f602082019050612e0d5f830184612deb565b92915050565b5f60208284031215612e2857612e27612c12565b5b5f612e3584828501612c5c565b91505092915050565b5f8060408385031215612e5457612e53612c12565b5b5f612e6185828601612c8f565b9250506020612e7285828601612c8f565b9150509250929050565b5f819050919050565b5f612e9f612e9a612e9584612c16565b612e7c565b612c16565b9050919050565b5f612eb082612e85565b9050919050565b5f612ec182612ea6565b9050919050565b612ed181612eb7565b82525050565b5f602082019050612eea5f830184612ec8565b92915050565b612ef981612ce1565b8114612f03575f80fd5b50565b5f81359050612f1481612ef0565b92915050565b5f8060408385031215612f3057612f2f612c12565b5b5f612f3d85828601612c5c565b9250506020612f4e85828601612f06565b9150509250929050565b5f8060408385031215612f6e57612f6d612c12565b5b5f612f7b85828601612c5c565b9250506020612f8c85828601612c5c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612fda57607f821691505b602082108103612fed57612fec612f96565b5b50919050565b7f416c72656164792064697361626c6564210000000000000000000000000000005f82015250565b5f613027601183612b8c565b915061303282612ff3565b602082019050919050565b5f6020820190508181035f8301526130548161301b565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61309282612c70565b915061309d83612c70565b92508282019050808211156130b5576130b461305b565b5b92915050565b5f6130c582612c70565b91506130d083612c70565b92508282026130de81612c70565b915082820484148315176130f5576130f461305b565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61313382612c70565b915061313e83612c70565b92508261314e5761314d6130fc565b5b828204905092915050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d205f8201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b5f6131b3603983612b8c565b91506131be82613159565b604082019050919050565b5f6020820190508181035f8301526131e0816131a7565b9050919050565b7f546f6b656e3a206e6f2045544820696e2074686520636f6e74726163740000005f82015250565b5f61321b601d83612b8c565b9150613226826131e7565b602082019050919050565b5f6020820190508181035f8301526132488161320f565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f6132a9602583612b8c565b91506132b48261324f565b604082019050919050565b5f6020820190508181035f8301526132d68161329d565b9050919050565b7f54726164696e6720697320616c7265616479206f70656e0000000000000000005f82015250565b5f613311601783612b8c565b915061331c826132dd565b602082019050919050565b5f6020820190508181035f83015261333e81613305565b9050919050565b5f819050919050565b5f61336861336361335e84613345565b612e7c565b612c70565b9050919050565b6133788161334e565b82525050565b5f60c0820190506133915f830189612deb565b61339e6020830188612d14565b6133ab604083018761336f565b6133b8606083018661336f565b6133c56080830185612deb565b6133d260a0830184612d14565b979650505050505050565b5f815190506133eb81612c79565b92915050565b5f805f6060848603121561340857613407612c12565b5b5f613415868287016133dd565b9350506020613426868287016133dd565b9250506040613437868287016133dd565b9150509250925092565b5f6040820190506134545f830185612deb565b6134616020830184612d14565b9392505050565b5f8151905061347681612ef0565b92915050565b5f6020828403121561349157613490612c12565b5b5f61349e84828501613468565b91505092915050565b5f8160011c9050919050565b5f808291508390505b60018511156134fc578086048111156134d8576134d761305b565b5b60018516156134e75780820291505b80810290506134f5856134a7565b94506134bc565b94509492505050565b5f8261351457600190506135cf565b81613521575f90506135cf565b8160018114613537576002811461354157613570565b60019150506135cf565b60ff8411156135535761355261305b565b5b8360020a91508482111561356a5761356961305b565b5b506135cf565b5060208310610133831016604e8410600b84101617156135a55782820a9050838111156135a05761359f61305b565b5b6135cf565b6135b284848460016134b3565b925090508184048111156135c9576135c861305b565b5b81810290505b9392505050565b5f6135e082612c70565b91506135eb83612d8c565b92506136187fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613505565b905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f61367a602683612b8c565b915061368582613620565b604082019050919050565b5f6020820190508181035f8301526136a78161366e565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f613708602483612b8c565b9150613713826136ae565b604082019050919050565b5f6020820190508181035f830152613735816136fc565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f613796602283612b8c565b91506137a18261373c565b604082019050919050565b5f6020820190508181035f8301526137c38161378a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6137fe602083612b8c565b9150613809826137ca565b602082019050919050565b5f6020820190508181035f83015261382b816137f2565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f613866601d83612b8c565b915061387182613832565b602082019050919050565b5f6020820190508181035f8301526138938161385a565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f6138f4602583612b8c565b91506138ff8261389a565b604082019050919050565b5f6020820190508181035f830152613921816138e8565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f613982602383612b8c565b915061398d82613928565b604082019050919050565b5f6020820190508181035f8301526139af81613976565b9050919050565b7f54726164696e67206973206e6f74206163746976652e000000000000000000005f82015250565b5f6139ea601683612b8c565b91506139f5826139b6565b602082019050919050565b5f6020820190508181035f830152613a17816139de565b9050919050565b7f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c5f8201527f65642e202054727920616761696e206c617465722e0000000000000000000000602082015250565b5f613a78603583612b8c565b9150613a8382613a1e565b604082019050919050565b5f6020820190508181035f830152613aa581613a6c565b9050919050565b7f427579207472616e7366657220616d6f756e74206578636565647320746865205f8201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b5f613b06603583612b8c565b9150613b1182613aac565b604082019050919050565b5f6020820190508181035f830152613b3381613afa565b9050919050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f613b6e601383612b8c565b9150613b7982613b3a565b602082019050919050565b5f6020820190508181035f830152613b9b81613b62565b9050919050565b7f53656c6c207472616e7366657220616d6f756e742065786365656473207468655f8201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b5f613bfc603683612b8c565b9150613c0782613ba2565b604082019050919050565b5f6020820190508181035f830152613c2981613bf0565b9050919050565b5f613c3a82612c70565b9150613c4583612c70565b9250828203905081811115613c5d57613c5c61305b565b5b92915050565b7f45524332303a206275726e2066726f6d20746865207a65726f206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f613cbd602183612b8c565b9150613cc882613c63565b604082019050919050565b5f6020820190508181035f830152613cea81613cb1565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f613d4b602283612b8c565b9150613d5682613cf1565b604082019050919050565b5f6020820190508181035f830152613d7881613d3f565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050613de781612c46565b92915050565b5f60208284031215613e0257613e01612c12565b5b5f613e0f84828501613dd9565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613e4a81612c35565b82525050565b5f613e5b8383613e41565b60208301905092915050565b5f602082019050919050565b5f613e7d82613e18565b613e878185613e22565b9350613e9283613e32565b805f5b83811015613ec2578151613ea98882613e50565b9750613eb483613e67565b925050600181019050613e95565b5085935050505092915050565b5f60a082019050613ee25f830188612d14565b613eef602083018761336f565b8181036040830152613f018186613e73565b9050613f106060830185612deb565b613f1d6080830184612d14565b9695505050505050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f613f81602683612b8c565b9150613f8c82613f27565b604082019050919050565b5f6020820190508181035f830152613fae81613f75565b905091905056fea26469706673582212208e3300b774d42621aea69f21d8276adc63df754198c7291456c983539374965c64736f6c634300081a0033

Verified Source Code Partial Match

Compiler: v0.8.26+commit.8a97fa7a EVM: cancun Optimization: No
CNINE.sol 737 lines
/*

https://x.com/CnineETH
https://t.me/cnineentry

*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
pragma experimental ABIEncoderV2;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

interface IERC20 {

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    function totalSupply() external view returns (uint256);

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

    function transfer(address to, 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 from, address to, uint256 amount) external returns (bool);
}

interface IERC20Metadata is IERC20 {

    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);
}

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 Mint(address indexed sender, uint256 amount0, uint256 amount1);

    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 mint(address to) external returns (uint256 liquidity);

    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 IUniswapV2Router02 {
    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 swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

library SafeMath {

    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

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

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

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

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

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

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

    function per(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= 100, "Percentage must be between 0 and 100");
        return a * b / 100;
    }

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

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    function decimals() public view virtual override returns (uint8) {
        return 9;
    }

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

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

    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

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

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

    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

contract CNINE is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable _uniswapV2Router;
    address public uniswapV2Pair;
    address private devWallet;
    address private marketingWallet;
    address private constant deadAddress = address(0xdead);

    uint256 public buyFee = 30;
    uint256 public sellFee = 30;

    uint8 private constant _decimals = 9;
    uint256 public initialTotalSupply = 420690000000 * 10**_decimals;

    // 1% is max wallet
    uint256 public maxWallet = (initialTotalSupply * 10)/1000;
    uint256 public maxTransactionAmount = maxWallet;

    bool private swapping;

    bool public transferDelayEnabled = true;
    mapping(address => uint256) private _holderLastTransferTimestamp;
    
    //swap for 0.3%
    uint256 public swapTokensAtAmount = (initialTotalSupply * 3)/1000;

    bool public tradingOpen = false;
    bool public swapEnabled = false;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    constructor() ERC20("SpaceX Crew-9", "CNINE"){
        _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        marketingWallet = payable(0x0aAD1d896525C23f65D911D29B08eD35B1e4A50E);
        devWallet = payable(_msgSender());

        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);
        excludeFromMaxTransaction(address(_msgSender()), true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(devWallet, true);
        excludeFromFees(address(_msgSender()), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(devWallet, true);

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
        // mint
        _mint(devWallet, initialTotalSupply);
    }

    receive() external payable {}

    function addLP() external onlyOwner() {
        require(!tradingOpen,"Trading is already open");
        _approve(address(this), address(_uniswapV2Router), initialTotalSupply);
        _uniswapV2Router.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            0x0aAD1d896525C23f65D911D29B08eD35B1e4A50E,
            block.timestamp
        );
        IERC20(uniswapV2Pair).approve(address(_uniswapV2Router), type(uint).max);
    }

    function burn(uint256 amount) external {
        _burn(_msgSender(), amount);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }


    function openTrading() external onlyOwner() {
        swapEnabled = true;
        tradingOpen = true;
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
    public
    onlyOwner
    {
        require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function _transfer(address from, address to, uint256 amount) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping) {
            if (!tradingOpen) {
                require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
            }

            if (transferDelayEnabled && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]){
                    if (to != address(_uniswapV2Router) && to != address(uniswapV2Pair)){
                        require(_holderLastTransferTimestamp[tx.origin] < block.number && _holderLastTransferTimestamp[to] < block.number, "_transfer:: Transfer Delay enabled.  Try again later.");
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                        _holderLastTransferTimestamp[to] = block.number;
                    }
            }

            if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
                require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }
            else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
                require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
            }
            else if (!_isExcludedMaxTransactionAmount[to]) {
                require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance > swapTokensAtAmount;
        if (canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
            swapping = true;
            swapBack();
            swapping = false;
        }

        bool takeFee = !swapping && !_isExcludedFromFees[from] && !_isExcludedFromFees[to];

        uint256 fees = 0;
        if (takeFee) {
            if (automatedMarketMakerPairs[to]) {
                fees = amount.mul(sellFee).div(100);
            }
            else if(automatedMarketMakerPairs[from]) {
                fees = amount.mul(buyFee).div(100);
            }
            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }
            amount -= fees;
        }
        super._transfer(from, to, amount);
    }

    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,
            marketingWallet,
            block.timestamp
        );
    }

    function stopDelay() external onlyOwner{
        require(transferDelayEnabled, "Already disabled!");
        transferDelayEnabled = false;
    }


    function setFee(uint256 _buyFee, uint256 _sellFee) external onlyOwner {
        sellFee = _sellFee;
        buyFee = _buyFee;
    }

    function updateSwapThreshold(uint256 newAmmount) external onlyOwner {
        swapTokensAtAmount = newAmmount * 10**_decimals;
    }

    function removeTheLimits() external onlyOwner {
        maxTransactionAmount = initialTotalSupply;
        maxWallet = initialTotalSupply;
    }

    function manualSwapToken(uint256 percent) external {
        require(_msgSender() == devWallet);
        uint256 contractBalance = balanceOf(address(this));
        uint256 swapAmount = contractBalance * percent / 100;
        swapTokensForEth(swapAmount);
    }

    function tokenWithdraw() external {
        require(_msgSender() == devWallet);
        uint256 amount = balanceOf(address(this));
        _transfer(address(this), devWallet, amount);
    }

    function withdrawEth() external {
        require(address(this).balance > 0, "Token: no ETH in the contract");
        require(_msgSender() == devWallet);
        payable(msg.sender).transfer(address(this).balance);
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        if (contractBalance == 0) {
            return;
        }
        uint256 tokensToSwap = contractBalance;

        if (tokensToSwap > swapTokensAtAmount) {
            tokensToSwap = swapTokensAtAmount;
        }

        swapTokensForEth(tokensToSwap);
    }
}

Read Contract

_uniswapV2Router 0x583e0568 → address
allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
buyFee 0x47062402 → uint256
decimals 0x313ce567 → uint8
initialTotalSupply 0x311028af → uint256
isExcludedFromFees 0x4fbee193 → bool
maxTransactionAmount 0xc8c8ebe4 → uint256
maxWallet 0xf8b45b05 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFee 0x2b14ca56 → uint256
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
tradingOpen 0xffb54a99 → bool
transferDelayEnabled 0xc876d0b9 → bool
uniswapV2Pair 0x49bd5a5e → address

Write Contract 20 functions

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

addLP 0xbc37e1a3
No parameters
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
burn 0x42966c68
uint256 amount
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualSwapToken 0x71f5f01a
uint256 percent
openTrading 0xc9567bf9
No parameters
removeTheLimits 0x139864a8
No parameters
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setFee 0x52f7c988
uint256 _buyFee
uint256 _sellFee
stopDelay 0x2c8206ea
No parameters
tokenWithdraw 0x30c74e04
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateSwapThreshold 0xcc274b29
uint256 newAmmount
withdrawEth 0xa0ef91df
No parameters

Recent Transactions

No transactions found for this address