Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xEf27252B567F6B3fe35b34A85bE322917abE524A
Balance 0.078624 ETH
Nonce 1
Code Size 19707 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

19707 bytes
0x6080604052600436106101fd5760003560e01c8063715018a61161010d578063cba0e996116100a0578063dd62ed3e1161006f578063dd62ed3e146106dc578063f2fde38b14610719578063f8b45b0514610742578063f9d0831a1461076d578063fe575a871461079657610204565b8063cba0e99614610636578063ced695a414610673578063cfefd79e1461068a578063d01dc84b146106b357610204565b806395d89b41116100dc57806395d89b4114610568578063a457c2d714610593578063a9059cbb146105d0578063abe4f11d1461060d57610204565b8063715018a6146104e6578063717a8651146104fd5780638456cb59146105265780638da5cb5b1461053d57610204565b8063313ce567116101905780634febf53d1161015f5780634febf53d1461041557806353eb3bcf1461043e5780635c975abb146104555780635d0044ca1461048057806370a08231146104a957610204565b8063313ce5671461036d57806339509351146103985780633f4ba83a146103d557806342966c68146103ec57610204565b806323a38a38116101cc57806323a38a38146102c557806323b872dd146102f0578063247b912d1461032d5780632c32abc21461035657610204565b806305a1f36d1461020957806306fdde0314610232578063095ea7b31461025d57806318160ddd1461029a57610204565b3661020457005b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906133f2565b6107d3565b005b34801561023e57600080fd5b50610247610895565b60405161025491906134cb565b60405180910390f35b34801561026957600080fd5b50610284600480360381019061027f919061354b565b610927565b60405161029191906135a6565b60405180910390f35b3480156102a657600080fd5b506102af610945565b6040516102bc91906135d0565b60405180910390f35b3480156102d157600080fd5b506102da61094f565b6040516102e791906135a6565b60405180910390f35b3480156102fc57600080fd5b50610317600480360381019061031291906135eb565b610962565b60405161032491906135a6565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f91906133f2565b610a5a565b005b34801561036257600080fd5b5061036b610b1c565b005b34801561037957600080fd5b50610382610bca565b60405161038f919061365a565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba919061354b565b610bd3565b6040516103cc91906135a6565b60405180910390f35b3480156103e157600080fd5b506103ea610c7f565b005b3480156103f857600080fd5b50610413600480360381019061040e9190613675565b610d4c565b005b34801561042157600080fd5b5061043c600480360381019061043791906136a2565b610dd5565b005b34801561044a57600080fd5b50610453610ef5565b005b34801561046157600080fd5b5061046a610fde565b60405161047791906135a6565b60405180910390f35b34801561048c57600080fd5b506104a760048036038101906104a29190613675565b610ff5565b005b3480156104b557600080fd5b506104d060048036038101906104cb91906136a2565b6110d2565b6040516104dd91906135d0565b60405180910390f35b3480156104f257600080fd5b506104fb61111a565b005b34801561050957600080fd5b50610524600480360381019061051f91906136a2565b6111a2565b005b34801561053257600080fd5b5061053b611306565b005b34801561054957600080fd5b506105526113d4565b60405161055f91906136de565b60405180910390f35b34801561057457600080fd5b5061057d6113fe565b60405161058a91906134cb565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b5919061354b565b611490565b6040516105c791906135a6565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f2919061354b565b61157b565b60405161060491906135a6565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f91906136a2565b611599565b005b34801561064257600080fd5b5061065d600480360381019061065891906136a2565b6116b8565b60405161066a91906135a6565b60405180910390f35b34801561067f57600080fd5b5061068861170e565b005b34801561069657600080fd5b506106b160048036038101906106ac91906136a2565b6117f6565b005b3480156106bf57600080fd5b506106da60048036038101906106d591906136a2565b611959565b005b3480156106e857600080fd5b5061070360048036038101906106fe91906136f9565b611a33565b60405161071091906135d0565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b91906136a2565b611aba565b005b34801561074e57600080fd5b50610757611bb2565b60405161076491906135d0565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f91906136a2565b611bb8565b005b3480156107a257600080fd5b506107bd60048036038101906107b891906136a2565b611de9565b6040516107ca91906135a6565b60405180910390f35b6107db611e3f565b73ffffffffffffffffffffffffffffffffffffffff166107f96113d4565b73ffffffffffffffffffffffffffffffffffffffff161461084f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084690613785565b60405180910390fd5b81601260405161085e906137fc565b90815260200160405180910390208190555080601260405161087f9061385d565b9081526020016040518091039020819055505050565b6060600380546108a4906138a1565b80601f01602080910402602001604051908101604052809291908181526020018280546108d0906138a1565b801561091d5780601f106108f25761010080835404028352916020019161091d565b820191906000526020600020905b81548152906001019060200180831161090057829003601f168201915b5050505050905090565b600061093b610934611e3f565b8484611e47565b6001905092915050565b6000600254905090565b601560009054906101000a900460ff1681565b600061096f848484612012565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006109ba611e3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3190613945565b60405180910390fd5b610a4e85610a46611e3f565b858403611e47565b60019150509392505050565b610a62611e3f565b73ffffffffffffffffffffffffffffffffffffffff16610a806113d4565b73ffffffffffffffffffffffffffffffffffffffff1614610ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acd90613785565b60405180910390fd5b816013604051610ae5906137fc565b908152602001604051809103902081905550806013604051610b069061385d565b9081526020016040518091039020819055505050565b610b24611e3f565b73ffffffffffffffffffffffffffffffffffffffff16610b426113d4565b73ffffffffffffffffffffffffffffffffffffffff1614610b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8f90613785565b60405180910390fd5b610bc76000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000612168565b50565b60006012905090565b6000610c75610be0611e3f565b848460016000610bee611e3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c709190613994565b611e47565b6001905092915050565b610c87611e3f565b73ffffffffffffffffffffffffffffffffffffffff16610ca56113d4565b73ffffffffffffffffffffffffffffffffffffffff1614610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf290613785565b60405180910390fd5b610d03610fde565b610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3990613a36565b60405180910390fd5b610d4a612d3b565b565b610d54611e3f565b73ffffffffffffffffffffffffffffffffffffffff16610d726113d4565b73ffffffffffffffffffffffffffffffffffffffff1614610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90613785565b60405180910390fd5b610dd23382612ddd565b50565b610ddd611e3f565b73ffffffffffffffffffffffffffffffffffffffff16610dfb6113d4565b73ffffffffffffffffffffffffffffffffffffffff1614610e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4890613785565b60405180910390fd5b610e5a816116b8565b15610e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9190613ac8565b60405180910390fd5b6001601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610efd611e3f565b73ffffffffffffffffffffffffffffffffffffffff16610f1b6113d4565b73ffffffffffffffffffffffffffffffffffffffff1614610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890613785565b60405180910390fd5b601560009054906101000a900460ff1615610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb890613b34565b60405180910390fd5b6001601560006101000a81548160ff021916908315150217905550565b6000600560149054906101000a900460ff16905090565b610ffd611e3f565b73ffffffffffffffffffffffffffffffffffffffff1661101b6113d4565b73ffffffffffffffffffffffffffffffffffffffff1614611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106890613785565b60405180910390fd5b61271081116110b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ac90613ba0565b60405180910390fd5b670de0b6b3a7640000816110c99190613bc0565b600d8190555050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611122611e3f565b73ffffffffffffffffffffffffffffffffffffffff166111406113d4565b73ffffffffffffffffffffffffffffffffffffffff1614611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d90613785565b60405180910390fd5b6111a06000612fb4565b565b6111aa611e3f565b73ffffffffffffffffffffffffffffffffffffffff166111c86113d4565b73ffffffffffffffffffffffffffffffffffffffff161461121e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121590613785565b60405180910390fd5b601060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290613c8c565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61130e611e3f565b73ffffffffffffffffffffffffffffffffffffffff1661132c6113d4565b73ffffffffffffffffffffffffffffffffffffffff1614611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990613785565b60405180910390fd5b61138a610fde565b156113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c190613d1e565b60405180910390fd5b6113d261307a565b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461140d906138a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611439906138a1565b80156114865780601f1061145b57610100808354040283529160200191611486565b820191906000526020600020905b81548152906001019060200180831161146957829003601f168201915b5050505050905090565b6000806001600061149f611e3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561155c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155390613db0565b60405180910390fd5b611570611567611e3f565b85858403611e47565b600191505092915050565b600061158f611588611e3f565b8484612012565b6001905092915050565b6115a1611e3f565b73ffffffffffffffffffffffffffffffffffffffff166115bf6113d4565b73ffffffffffffffffffffffffffffffffffffffff1614611615576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160c90613785565b60405180910390fd5b61161e816116b8565b61165d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165490613e1c565b60405180910390fd5b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611716611e3f565b73ffffffffffffffffffffffffffffffffffffffff166117346113d4565b73ffffffffffffffffffffffffffffffffffffffff161461178a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178190613785565b60405180910390fd5b601560009054906101000a900460ff166117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090613e88565b60405180910390fd5b6000601560006101000a81548160ff021916908315150217905550565b6117fe611e3f565b73ffffffffffffffffffffffffffffffffffffffff1661181c6113d4565b73ffffffffffffffffffffffffffffffffffffffff1614611872576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186990613785565b60405180910390fd5b601060008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166118fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f590613f1a565b60405180910390fd5b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b611961611e3f565b73ffffffffffffffffffffffffffffffffffffffff1661197f6113d4565b73ffffffffffffffffffffffffffffffffffffffff16146119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc90613785565b60405180910390fd5b8060146040516119e4906137fc565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611ac2611e3f565b73ffffffffffffffffffffffffffffffffffffffff16611ae06113d4565b73ffffffffffffffffffffffffffffffffffffffff1614611b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2d90613785565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d90613fac565b60405180910390fd5b611baf81612fb4565b50565b600d5481565b611bc0611e3f565b73ffffffffffffffffffffffffffffffffffffffff16611bde6113d4565b73ffffffffffffffffffffffffffffffffffffffff1614611c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2b90613785565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cbc57611c716113d4565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611cb6573d6000803e3d6000fd5b50611de6565b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611cfc91906136de565b60206040518083038186803b158015611d1457600080fd5b505afa158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c9190613fe1565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611d726113d4565b836040518363ffffffff1660e01b8152600401611d9092919061400e565b602060405180830381600087803b158015611daa57600080fd5b505af1158015611dbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de29190614063565b5050505b50565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611eb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eae90614102565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1e90614194565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161200591906135d0565b60405180910390a3505050565b61201a610fde565b1561205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205190614226565b60405180910390fd5b61206333611de9565b156120a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209a90614292565b60405180910390fd5b6120ac82611de9565b156120ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e3906142fe565b60405180910390fd5b6120f532611de9565b15612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c90614292565b60405180910390fd5b601560009054906101000a900460ff161561215857612155838383612168565b90505b61216383838361311d565b505050565b600080600267ffffffffffffffff8111156121865761218561431e565b5b6040519080825280602002602001820160405280156121b45781602001602082028036833780820191505090505b50905030816000815181106121cc576121cb61434d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050601560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561226e57600080fd5b505afa158015612282573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a69190614391565b816001815181106122ba576122b961434d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506122fd856116b8565b158015612310575061230e846116b8565b155b15612d2f576000806007548561232691906143ed565b9050601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16141561248257601260405161238c906137fc565b908152602001604051809103902054816123a69190613bc0565b826123b19190613994565b915060126040516123c19061385d565b908152602001604051809103902054816123db9190613bc0565b826123e69190613994565b915060008211156123fd576123fc873084612012565b5b601260405161240b906137fc565b908152602001604051809103902054816124259190613bc0565b601860008282546124369190613994565b92505081905550601260405161244b9061385d565b908152602001604051809103902054816124659190613bc0565b601960008282546124769190613994565b92505081905550612c70565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612c6f5760136040516124e6906137fc565b908152602001604051809103902054816125009190613bc0565b8261250b9190613994565b9150601360405161251b9061385d565b908152602001604051809103902054816125359190613bc0565b826125409190613994565b9150600082111561255757612556873084612012565b5b6013604051612565906137fc565b9081526020016040518091039020548161257f9190613bc0565b601860008282546125909190613994565b9250508190555060136040516125a59061385d565b908152602001604051809103902054816125bf9190613bc0565b601960008282546125d09190613994565b9250508190555060006019546018546125e99190613994565b905060008114156126005785945050505050612d34565b6000601560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d06ca61f6019546018546126509190613994565b876040518363ffffffff1660e01b815260040161266e9291906144dc565b60006040518083038186803b15801561268657600080fd5b505afa15801561269a573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126c39190614625565b6001815181106126d6576126d561434d565b5b602002602001015190506008548110612c6c576000479050600060026019546126ff91906143ed565b60185461270c9190613994565b905061273b30601560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611e47565b601560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318cbafe58260008a30426040518663ffffffff1660e01b815260040161279f9594939291906146b3565b600060405180830381600087803b1580156127b957600080fd5b505af11580156127cd573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906127f69190614625565b5060008247612805919061470d565b90506000600260195461281891906143ed565b90506000670de0b6b3a764000087670de0b6b3a7640000600260195461283e91906143ed565b6128489190613bc0565b61285291906143ed565b8461285d9190613bc0565b61286791906143ed565b90506000670de0b6b3a764000088670de0b6b3a764000060185461288b9190613bc0565b61289591906143ed565b856128a09190613bc0565b6128aa91906143ed565b90506128d930601560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685611e47565b601560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719833086600080601460405161292b9061385d565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16426040518863ffffffff1660e01b815260040161297c96959493929190614741565b6060604051808303818588803b15801561299557600080fd5b505af11580156129a9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906129ce91906147a2565b505050600083866129df9190613994565b6019546018546129ef9190613994565b6129f9919061470d565b90506000811115612a4c57612a4b306014604051612a16906137fc565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612012565b5b60006014604051612a5c906137fc565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051612aae90614826565b60006040518083038185875af1925050503d8060008114612aeb576040519150601f19603f3d011682016040523d82523d6000602084013e612af0565b606091505b5050905080612b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2b90614887565b60405180910390fd5b60008484612b429190613994565b87612b4d919061470d565b1115612c535760006014604051612b63906137fc565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168585612bb49190613994565b88612bbf919061470d565b604051612bcb90614826565b60006040518083038185875af1925050503d8060008114612c08576040519150601f19603f3d011682016040523d82523d6000602084013e612c0d565b606091505b5050905080612c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4890614887565b60405180910390fd5b505b6000601881905550600060198190555050505050505050505b50505b5b8185612c7c919061470d565b9450601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614612d2c57600d5485612ce0886110d2565b612cea9190613994565b1115612d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d22906148f3565b60405180910390fd5b5b50505b829150505b9392505050565b612d43610fde565b612d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d799061495f565b60405180910390fd5b6000600560146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612dc6611e3f565b604051612dd391906136de565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e44906149f1565b60405180910390fd5b612e598260008361339e565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed690614a83565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160026000828254612f36919061470d565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f9b91906135d0565b60405180910390a3612faf836000846133a3565b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613082610fde565b156130c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b990614aef565b60405180910390fd5b6001600560146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613106611e3f565b60405161311391906136de565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561318d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318490614b81565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131f490614c13565b60405180910390fd5b61320883838361339e565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561328e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161328590614ca5565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133219190613994565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161338591906135d0565b60405180910390a36133988484846133a3565b50505050565b505050565b505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6133cf816133bc565b81146133da57600080fd5b50565b6000813590506133ec816133c6565b92915050565b60008060408385031215613409576134086133b2565b5b6000613417858286016133dd565b9250506020613428858286016133dd565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561346c578082015181840152602081019050613451565b8381111561347b576000848401525b50505050565b6000601f19601f8301169050919050565b600061349d82613432565b6134a7818561343d565b93506134b781856020860161344e565b6134c081613481565b840191505092915050565b600060208201905081810360008301526134e58184613492565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613518826134ed565b9050919050565b6135288161350d565b811461353357600080fd5b50565b6000813590506135458161351f565b92915050565b60008060408385031215613562576135616133b2565b5b600061357085828601613536565b9250506020613581858286016133dd565b9150509250929050565b60008115159050919050565b6135a08161358b565b82525050565b60006020820190506135bb6000830184613597565b92915050565b6135ca816133bc565b82525050565b60006020820190506135e560008301846135c1565b92915050565b600080600060608486031215613604576136036133b2565b5b600061361286828701613536565b935050602061362386828701613536565b9250506040613634868287016133dd565b9150509250925092565b600060ff82169050919050565b6136548161363e565b82525050565b600060208201905061366f600083018461364b565b92915050565b60006020828403121561368b5761368a6133b2565b5b6000613699848285016133dd565b91505092915050565b6000602082840312156136b8576136b76133b2565b5b60006136c684828501613536565b91505092915050565b6136d88161350d565b82525050565b60006020820190506136f360008301846136cf565b92915050565b600080604083850312156137105761370f6133b2565b5b600061371e85828601613536565b925050602061372f85828601613536565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061376f60208361343d565b915061377a82613739565b602082019050919050565b6000602082019050818103600083015261379e81613762565b9050919050565b600081905092915050565b7f6465760000000000000000000000000000000000000000000000000000000000600082015250565b60006137e66003836137a5565b91506137f1826137b0565b600382019050919050565b6000613807826137d9565b9150819050919050565b7f6c69717569646974790000000000000000000000000000000000000000000000600082015250565b60006138476009836137a5565b915061385282613811565b600982019050919050565b60006138688261383a565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138b957607f821691505b602082108114156138cd576138cc613872565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b600061392f60288361343d565b915061393a826138d3565b604082019050919050565b6000602082019050818103600083015261395e81613922565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061399f826133bc565b91506139aa836133bc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139df576139de613965565b5b828201905092915050565b7f45524332303a20436f6e7472616374206973206e6f7420706175736564000000600082015250565b6000613a20601d8361343d565b9150613a2b826139ea565b602082019050919050565b60006020820190508181036000830152613a4f81613a13565b9050919050565b7f45524332303a204163636f756e7420697320616c7265616479206578636c756460008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ab260228361343d565b9150613abd82613a56565b604082019050919050565b60006020820190508181036000830152613ae181613aa5565b9050919050565b7f45524332303a2054617820697320616c726561647920656e61626c6564000000600082015250565b6000613b1e601d8361343d565b9150613b2982613ae8565b602082019050919050565b60006020820190508181036000830152613b4d81613b11565b9050919050565b7f4e4f207275672070756c6c000000000000000000000000000000000000000000600082015250565b6000613b8a600b8361343d565b9150613b9582613b54565b602082019050919050565b60006020820190508181036000830152613bb981613b7d565b9050919050565b6000613bcb826133bc565b9150613bd6836133bc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c0f57613c0e613965565b5b828202905092915050565b7f45524332303a204163636f756e7420697320616c726561647920626c61636b6c60008201527f6973746564000000000000000000000000000000000000000000000000000000602082015250565b6000613c7660258361343d565b9150613c8182613c1a565b604082019050919050565b60006020820190508181036000830152613ca581613c69565b9050919050565b7f45524332303a20436f6e747261637420697320616c726561647920706175736560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613d0860218361343d565b9150613d1382613cac565b604082019050919050565b60006020820190508181036000830152613d3781613cfb565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613d9a60258361343d565b9150613da582613d3e565b604082019050919050565b60006020820190508181036000830152613dc981613d8d565b9050919050565b7f45524332303a204163636f756e74206973206e6f74206578636c756465640000600082015250565b6000613e06601e8361343d565b9150613e1182613dd0565b602082019050919050565b60006020820190508181036000830152613e3581613df9565b9050919050565b7f45524332303a2054617820697320616c72656164792064697361626c65640000600082015250565b6000613e72601e8361343d565b9150613e7d82613e3c565b602082019050919050565b60006020820190508181036000830152613ea181613e65565b9050919050565b7f45524332303a204163636f756e74206973206e6f7420626c61636b6c6973746560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f0460218361343d565b9150613f0f82613ea8565b604082019050919050565b60006020820190508181036000830152613f3381613ef7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f9660268361343d565b9150613fa182613f3a565b604082019050919050565b60006020820190508181036000830152613fc581613f89565b9050919050565b600081519050613fdb816133c6565b92915050565b600060208284031215613ff757613ff66133b2565b5b600061400584828501613fcc565b91505092915050565b600060408201905061402360008301856136cf565b61403060208301846135c1565b9392505050565b6140408161358b565b811461404b57600080fd5b50565b60008151905061405d81614037565b92915050565b600060208284031215614079576140786133b2565b5b60006140878482850161404e565b91505092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006140ec60248361343d565b91506140f782614090565b604082019050919050565b6000602082019050818103600083015261411b816140df565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061417e60228361343d565b915061418982614122565b604082019050919050565b600060208201905081810360008301526141ad81614171565b9050919050565b7f45524332303a20746f6b656e207472616e73666572207768696c65207061757360008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b600061421060228361343d565b915061421b826141b4565b604082019050919050565b6000602082019050818103600083015261423f81614203565b9050919050565b7f45524332303a2073656e64657220626c61636b6c697374656400000000000000600082015250565b600061427c60198361343d565b915061428782614246565b602082019050919050565b600060208201905081810360008301526142ab8161426f565b9050919050565b7f45524332303a20726563697069656e7420626c61636b6c697374656400000000600082015250565b60006142e8601c8361343d565b91506142f3826142b2565b602082019050919050565b60006020820190508181036000830152614317816142db565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061438b8161351f565b92915050565b6000602082840312156143a7576143a66133b2565b5b60006143b58482850161437c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143f8826133bc565b9150614403836133bc565b925082614413576144126143be565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6144538161350d565b82525050565b6000614465838361444a565b60208301905092915050565b6000602082019050919050565b60006144898261441e565b6144938185614429565b935061449e8361443a565b8060005b838110156144cf5781516144b68882614459565b97506144c183614471565b9250506001810190506144a2565b5085935050505092915050565b60006040820190506144f160008301856135c1565b8181036020830152614503818461447e565b90509392505050565b600080fd5b61451a82613481565b810181811067ffffffffffffffff821117156145395761453861431e565b5b80604052505050565b600061454c6133a8565b90506145588282614511565b919050565b600067ffffffffffffffff8211156145785761457761431e565b5b602082029050602081019050919050565b600080fd5b60006145a161459c8461455d565b614542565b905080838252602082019050602084028301858111156145c4576145c3614589565b5b835b818110156145ed57806145d98882613fcc565b8452602084019350506020810190506145c6565b5050509392505050565b600082601f83011261460c5761460b61450c565b5b815161461c84826020860161458e565b91505092915050565b60006020828403121561463b5761463a6133b2565b5b600082015167ffffffffffffffff811115614659576146586133b7565b5b614665848285016145f7565b91505092915050565b6000819050919050565b6000819050919050565b600061469d6146986146938461466e565b614678565b6133bc565b9050919050565b6146ad81614682565b82525050565b600060a0820190506146c860008301886135c1565b6146d560208301876146a4565b81810360408301526146e7818661447e565b90506146f660608301856136cf565b61470360808301846135c1565b9695505050505050565b6000614718826133bc565b9150614723836133bc565b92508282101561473657614735613965565b5b828203905092915050565b600060c08201905061475660008301896136cf565b61476360208301886135c1565b61477060408301876146a4565b61477d60608301866146a4565b61478a60808301856136cf565b61479760a08301846135c1565b979650505050505050565b6000806000606084860312156147bb576147ba6133b2565b5b60006147c986828701613fcc565b93505060206147da86828701613fcc565b92505060406147eb86828701613fcc565b9150509250925092565b600081905092915050565b50565b60006148106000836147f5565b915061481b82614800565b600082019050919050565b600061483182614803565b9150819050919050565b7f7472616e7366657220746f20206465762077616c6c6574206661696c65640000600082015250565b6000614871601e8361343d565b915061487c8261483b565b602082019050919050565b600060208201905081810360008301526148a081614864565b9050919050565b7f6d617857616c6c6574206c696d69742065786365656465640000000000000000600082015250565b60006148dd60188361343d565b91506148e8826148a7565b602082019050919050565b6000602082019050818103600083015261490c816148d0565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061494960148361343d565b915061495482614913565b602082019050919050565b600060208201905081810360008301526149788161493c565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006149db60218361343d565b91506149e68261497f565b604082019050919050565b60006020820190508181036000830152614a0a816149ce565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a6d60228361343d565b9150614a7882614a11565b604082019050919050565b60006020820190508181036000830152614a9c81614a60565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614ad960108361343d565b9150614ae482614aa3565b602082019050919050565b60006020820190508181036000830152614b0881614acc565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614b6b60258361343d565b9150614b7682614b0f565b604082019050919050565b60006020820190508181036000830152614b9a81614b5e565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614bfd60238361343d565b9150614c0882614ba1565b604082019050919050565b60006020820190508181036000830152614c2c81614bf0565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000614c8f60268361343d565b9150614c9a82614c33565b604082019050919050565b60006020820190508181036000830152614cbe81614c82565b905091905056fea2646970667358221220468c88d080e080eab66bb534d1555223b7a5b69416f84bf6d5b4fe666bf08c4a64736f6c63430008090033

Verified Source Code Partial Match

Compiler: v0.8.9+commit.e5eed63a EVM: london Optimization: No
FLONA.sol 986 lines
// SPDX-License-Identifier: MIT


pragma solidity ^0.8.9;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
   
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

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

    /**

     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @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 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);
}

/*

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

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
    
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
    
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

    /**

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

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

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

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

/**

 */
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() {
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**

     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

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

/**

 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
   
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**

     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

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

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

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

contract FLONA is ERC20, Ownable, Pausable {

    // variables
    
    uint256 private initialSupply;
   
    uint256 private denominator = 100;

    uint256 private swapThreshold = 0.000005 ether; // 
    
    uint256 private devTaxBuy;
    uint256 private liquidityTaxBuy;
   
    
    uint256 private devTaxSell;
    uint256 private liquidityTaxSell;
    uint256 public maxWallet;
    
    address private devTaxWallet;
    address private liquidityTaxWallet;
    
    
    // Mappings
    
    mapping (address => bool) private blacklist;
    mapping (address => bool) private excludeList;
   
    
    mapping (string => uint256) private buyTaxes;
    mapping (string => uint256) private sellTaxes;
    mapping (string => address) private taxWallets;
    
    bool public taxStatus = true;
    
    IUniswapV2Router02 private uniswapV2Router02;
    IUniswapV2Factory private uniswapV2Factory;
    IUniswapV2Pair private uniswapV2Pair;
    
    constructor(string memory _tokenName,string memory _tokenSymbol,uint256 _supply) ERC20(_tokenName, _tokenSymbol) payable
    {
        initialSupply =_supply * (10**18);
        maxWallet = initialSupply * 2 / 100; 
        _setOwner(msg.sender);
        uniswapV2Router02 = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        uniswapV2Factory = IUniswapV2Factory(uniswapV2Router02.factory());
        uniswapV2Pair = IUniswapV2Pair(uniswapV2Factory.createPair(address(this), uniswapV2Router02.WETH()));
        taxWallets["liquidity"] = address(0);
        setBuyTax(10,5); 
        setSellTax(1,98); 
        setTaxWallets(0x971f17636F055d48eCcAa528Bc4b368C74F06eE6); // 
        exclude(msg.sender);
        exclude(address(this));
        exclude(devTaxWallet);
        _mint(msg.sender, initialSupply);
    }
    
    
    uint256 private devTokens;
    uint256 private liquidityTokens;
    
    
    /**
     * @dev Calculates the tax, transfer it to the contract. If the user is selling, and the swap threshold is met, it executes the tax.
     */
    function handleTax(address from, address to, uint256 amount) private returns (uint256) {
        address[] memory sellPath = new address[](2);
        sellPath[0] = address(this);
        sellPath[1] = uniswapV2Router02.WETH();
        
        if(!isExcluded(from) && !isExcluded(to)) {
            uint256 tax;
            uint256 baseUnit = amount / denominator;
            if(from == address(uniswapV2Pair)) {
                tax += baseUnit * buyTaxes["dev"];
                tax += baseUnit * buyTaxes["liquidity"];
               
                
                if(tax > 0) {
                    _transfer(from, address(this), tax);   
                }
                
                
                devTokens += baseUnit * buyTaxes["dev"];
                liquidityTokens += baseUnit * buyTaxes["liquidity"];

            } else if(to == address(uniswapV2Pair)) {
                
                tax += baseUnit * sellTaxes["dev"];
                tax += baseUnit * sellTaxes["liquidity"];
                
                
                if(tax > 0) {
                    _transfer(from, address(this), tax);   
                }
                
               
                devTokens += baseUnit * sellTaxes["dev"];
                liquidityTokens += baseUnit * sellTaxes["liquidity"];
                
                
                uint256 taxSum =  devTokens + liquidityTokens;
                
                if(taxSum == 0) return amount;
                
                uint256 ethValue = uniswapV2Router02.getAmountsOut( devTokens + liquidityTokens, sellPath)[1];
                
                if(ethValue >= swapThreshold) {
                    uint256 startBalance = address(this).balance;

                    uint256 toSell = devTokens + liquidityTokens / 2 ;
                    
                    _approve(address(this), address(uniswapV2Router02), toSell);
            
                    uniswapV2Router02.swapExactTokensForETH(
                        toSell,
                        0,
                        sellPath,
                        address(this),
                        block.timestamp
                    );
                    
                    uint256 ethGained = address(this).balance - startBalance;
                    
                    uint256 liquidityToken = liquidityTokens / 2;
                    uint256 liquidityETH = (ethGained * ((liquidityTokens / 2 * 10**18) / taxSum)) / 10**18;
                    
                    
                    uint256 devETH = (ethGained * ((devTokens * 10**18) / taxSum)) / 10**18;
                   
                    
                    _approve(address(this), address(uniswapV2Router02), liquidityToken);
                    
                    uniswapV2Router02.addLiquidityETH{value: liquidityETH}(
                        address(this),
                        liquidityToken,
                        0,
                        0,
                        taxWallets["liquidity"],
                        block.timestamp
                    );
                    
                    uint256 remainingTokens = (devTokens + liquidityTokens) - (toSell + liquidityToken);
                    
                    if(remainingTokens > 0) {
                        _transfer(address(this), taxWallets["dev"], remainingTokens);
                    }
                    
                    
                   (bool success,) = taxWallets["dev"].call{value: devETH}("");
                   require(success, "transfer to  dev wallet failed");
                    
                    
                    if(ethGained - ( devETH + liquidityETH) > 0) {
                       (bool success1,) = taxWallets["dev"].call{value: ethGained - (devETH + liquidityETH)}("");
                        require(success1, "transfer to  dev wallet failed");
                    }

                    
                    
                    
                    devTokens = 0;
                    liquidityTokens = 0;
                    
                }
                
            }
            
            amount -= tax;
            if (to != address(uniswapV2Pair)){
                require(balanceOf(to) + amount <= maxWallet, "maxWallet limit exceeded");
            }
           
        }
        
        return amount;
    }
    
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal override virtual {
        require(!paused(), "ERC20: token transfer while paused");
        require(!isBlacklisted(msg.sender), "ERC20: sender blacklisted");
        require(!isBlacklisted(recipient), "ERC20: recipient blacklisted");
        require(!isBlacklisted(tx.origin), "ERC20: sender blacklisted");
        
        if(taxStatus) {
            amount = handleTax(sender, recipient, amount);   
        }

        super._transfer(sender, recipient, amount);
    }
    
    /**
     * @dev Triggers the tax handling functionality
     */
    function triggerTax() public onlyOwner {
        handleTax(address(0), address(uniswapV2Pair), 0);
    }
    
    /**
     * @dev Pauses transfers on the token.
     */
    function pause() public onlyOwner {
        require(!paused(), "ERC20: Contract is already paused");
        _pause();
    }

    /**
     * @dev Unpauses transfers on the token.
     */
    function unpause() public onlyOwner {
        require(paused(), "ERC20: Contract is not paused");
        _unpause();
    }

     /**
     * @dev set max wallet limit per address.
     */

    function setMaxWallet (uint256 amount) external onlyOwner {
        require (amount > 10000, "NO rug pull");
        maxWallet = amount * 10**18;
    }
    
    /**
     * @dev Burns tokens from caller address.
     */
    function burn(uint256 amount) public onlyOwner {
        _burn(msg.sender, amount);
    }
    
    /**
     * @dev Blacklists the specified account (Disables transfers to and from the account).
     */
    function enableBlacklist(address account) public onlyOwner {
        require(!blacklist[account], "ERC20: Account is already blacklisted");
        blacklist[account] = true;
    }
    
    /**
     * @dev Remove the specified account from the blacklist.
     */
    function disableBlacklist(address account) public onlyOwner {
        require(blacklist[account], "ERC20: Account is not blacklisted");
        blacklist[account] = false;
    }
    
    /**
     * @dev Excludes the specified account from tax.
     */
    function exclude(address account) public onlyOwner {
        require(!isExcluded(account), "ERC20: Account is already excluded");
        excludeList[account] = true;
    }
    
    /**
     * @dev Re-enables tax on the specified account.
     */
    function removeExclude(address account) public onlyOwner {
        require(isExcluded(account), "ERC20: Account is not excluded");
        excludeList[account] = false;
    }
    
    /**
     * @dev Sets tax for buys.
     */
    function setBuyTax(uint256 dev,uint256 liquidity) public onlyOwner {
        buyTaxes["dev"] = dev;
        buyTaxes["liquidity"] = liquidity;
       
    }
    
    /**
     * @dev Sets tax for sells.
     */
    function setSellTax(uint256 dev, uint256 liquidity) public onlyOwner {

        sellTaxes["dev"] = dev;
        sellTaxes["liquidity"] = liquidity;
        
    }
    
    /**
     * @dev Sets wallets for taxes.
     */
    function setTaxWallets(address dev) public onlyOwner {
        taxWallets["dev"] = dev;
        
    }

    function claimStuckTokens(address _token) external onlyOwner {
 
        if (_token == address(0x0)) {
            payable(owner()).transfer(address(this).balance);
            return;
        }
        IERC20 erc20token = IERC20(_token);
        uint256 balance = erc20token.balanceOf(address(this));
        erc20token.transfer(owner(), balance);
    }
    
    /**
     * @dev Enables tax globally.
     */
    function enableTax() public onlyOwner {
        require(!taxStatus, "ERC20: Tax is already enabled");
        taxStatus = true;
    }
    
    /**
     * @dev Disables tax globally.
     */
    function disableTax() public onlyOwner {
        require(taxStatus, "ERC20: Tax is already disabled");
        taxStatus = false;
    }
    
    /**
     * @dev Returns true if the account is blacklisted, and false otherwise.
     */
    function isBlacklisted(address account) public view returns (bool) {
        return blacklist[account];
    }
    
    /**
     * @dev Returns true if the account is excluded, and false otherwise.
     */
    function isExcluded(address account) public view returns (bool) {
        return excludeList[account];
    }
    
    receive() external payable {}
}

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
decimals 0x313ce567 → uint8
isBlacklisted 0xfe575a87 → bool
isExcluded 0xcba0e996 → bool
maxWallet 0xf8b45b05 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
paused 0x5c975abb → bool
symbol 0x95d89b41 → string
taxStatus 0x23a38a38 → bool
totalSupply 0x18160ddd → uint256

Write Contract 22 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
burn 0x42966c68
uint256 amount
claimStuckTokens 0xf9d0831a
address _token
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableBlacklist 0xcfefd79e
address account
disableTax 0xced695a4
No parameters
enableBlacklist 0x717a8651
address account
enableTax 0x53eb3bcf
No parameters
exclude 0x4febf53d
address account
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
pause 0x8456cb59
No parameters
removeExclude 0xabe4f11d
address account
renounceOwnership 0x715018a6
No parameters
setBuyTax 0x05a1f36d
uint256 dev
uint256 liquidity
setMaxWallet 0x5d0044ca
uint256 amount
setSellTax 0x247b912d
uint256 dev
uint256 liquidity
setTaxWallets 0xd01dc84b
address dev
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
triggerTax 0x2c32abc2
No parameters
unpause 0x3f4ba83a
No parameters

Recent Transactions

No transactions found for this address