Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xbde4c4a9057595FA16D38e0BD7871EF119045a84
Balance 0 ETH
Nonce 1
Code Size 14166 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

14166 bytes
0x608060405234801561001057600080fd5b50600436106102325760003560e01c8063715018a611610130578063a457c2d7116100b8578063dd62ed3e1161007c578063dd62ed3e14610669578063f2d2a75114610699578063f2fde38b146106b5578063f9f92be4146106d1578063fa09b9fd1461070157610232565b8063a457c2d7146105a1578063a9059cbb146105d1578063be49e4a814610601578063bf77249114610631578063d477f05f1461064d57610232565b80638da5cb5b116100ff5780638da5cb5b146104f957806391cca3db1461051757806392ff0d311461053557806395d89b4114610553578063a0b0904e1461057157610232565b8063715018a6146104ab5780637911ef9d146104b557806389f9a1d3146104d15780638af66e2b146104ef57610232565b806337d8b995116101be5780634ce982e4116101825780634ce982e4146103f35780635b149feb1461040f5780635e2623f31461042d5780636b1b49871461045d57806370a082311461047b57610232565b806337d8b99514610365578063395093511461036f5780633aeac4e11461039f57806342966c68146103bb5780634437152a146103d757610232565b806318160ddd1161020557806318160ddd146102bf57806323b872dd146102dd57806325e160631461030d5780632bcc7e4414610329578063313ce5671461034757610232565b806306fdde0314610237578063095ea7b31461025557806315c4e3851461028557806316fd96c2146102a1575b600080fd5b61023f610731565b60405161024c91906125ff565b60405180910390f35b61026f600480360381019061026a91906126bf565b6107c3565b60405161027c919061271a565b60405180910390f35b61029f600480360381019061029a9190612735565b6107e6565b005b6102a961093e565b6040516102b6919061271a565b60405180910390f35b6102c7610951565b6040516102d49190612771565b60405180910390f35b6102f760048036038101906102f2919061278c565b61095b565b604051610304919061271a565b60405180910390f35b61032760048036038101906103229190612735565b61098a565b005b610331610a91565b60405161033e919061271a565b60405180910390f35b61034f610aa4565b60405161035c91906127fb565b60405180910390f35b61036d610aad565b005b610389600480360381019061038491906126bf565b610ae1565b604051610396919061271a565b60405180910390f35b6103b960048036038101906103b49190612816565b610b18565b005b6103d560048036038101906103d09190612856565b610c92565b005b6103f160048036038101906103ec9190612735565b610c9f565b005b61040d600480360381019061040891906128af565b610df7565b005b610417610e7c565b6040516104249190612771565b60405180910390f35b61044760048036038101906104429190612735565b610e82565b6040516104549190612771565b60405180910390f35b610465610e9a565b6040516104729190612771565b60405180910390f35b61049560048036038101906104909190612735565b610ea0565b6040516104a29190612771565b60405180910390f35b6104b3610ee9565b005b6104cf60048036038101906104ca9190612954565b610efd565b005b6104d9610ffa565b6040516104e69190612771565b60405180910390f35b6104f7611000565b005b610501611034565b60405161050e91906129b0565b60405180910390f35b61051f61105d565b60405161052c91906129b0565b60405180910390f35b61053d611083565b60405161054a919061271a565b60405180910390f35b61055b611096565b60405161056891906125ff565b60405180910390f35b61058b60048036038101906105869190612735565b611128565b604051610598919061271a565b60405180910390f35b6105bb60048036038101906105b691906126bf565b611148565b6040516105c8919061271a565b60405180910390f35b6105eb60048036038101906105e691906126bf565b6111bf565b6040516105f8919061271a565b60405180910390f35b61061b60048036038101906106169190612816565b6111e2565b6040516106289190612771565b60405180910390f35b61064b60048036038101906106469190612954565b611207565b005b61066760048036038101906106629190612735565b611304565b005b610683600480360381019061067e9190612816565b6114c0565b6040516106909190612771565b60405180910390f35b6106b360048036038101906106ae91906129cb565b611547565b005b6106cf60048036038101906106ca9190612735565b6115a6565b005b6106eb60048036038101906106e69190612735565b61162a565b6040516106f8919061271a565b60405180910390f35b61071b60048036038101906107169190612735565b61164a565b604051610728919061271a565b60405180910390f35b60606004805461074090612a3a565b80601f016020809104026020016040519081016040528092919081815260200182805461076c90612a3a565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b6000806107ce61166a565b90506107db818585611672565b600191505092915050565b6107ee61183d565b600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600d60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615158173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f30757f9f6b8114acbbc655397099fb9a7aa705ec41498de7a514c1eda8a775bd60405160405180910390a450565b600660029054906101000a900460ff1681565b6000600354905090565b60008061096661166a565b90506109738582856118bb565b61097e858585611947565b60019150509392505050565b61099261183d565b60008173ffffffffffffffffffffffffffffffffffffffff1647600067ffffffffffffffff8111156109c7576109c6612a6c565b5b6040519080825280601f01601f1916602001820160405280156109f95781602001600182028036833780820191505090505b50604051610a079190612ae2565b60006040518083038185875af1925050503d8060008114610a44576040519150601f19603f3d011682016040523d82523d6000602084013e610a49565b606091505b5050905080610a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8490612b45565b60405180910390fd5b5050565b600660019054906101000a900460ff1681565b60006012905090565b610ab561183d565b600660009054906101000a900460ff1615600660006101000a81548160ff021916908315150217905550565b600080610aec61166a565b9050610b0d818585610afe85896114c0565b610b089190612b94565b611672565b600191505092915050565b610b2061183d565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790612c5c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610bcb91906129b0565b602060405180830381865afa158015610be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0c9190612c91565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401610c49929190612cbe565b6020604051808303816000875af1158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8c9190612cfc565b50505050565b610c9c3382611cd4565b50565b610ca761183d565b600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615158173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2563c168fd69ef80f00260284837ea144310fa81558e4265a735e74e6c32706460405160405180910390a450565b610dff61183d565b81600660016101000a81548160ff02191690831515021790555080600981905550600954600660019054906101000a900460ff1615153373ffffffffffffffffffffffffffffffffffffffff167fb042f18f8295fa0c50600f909ec7ee9f46ac93c8f9dc7c8a41287de94a4426fa60405160405180910390a45050565b60085481565b600e6020528060005260406000206000915090505481565b60075481565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ef161183d565b610efb6000611ea4565b565b610f0561183d565b60005b82829050811015610fa5576000600c6000858585818110610f2c57610f2b612d29565b5b9050602002016020810190610f419190612735565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610f9d90612d58565b915050610f08565b503373ffffffffffffffffffffffffffffffffffffffff167fb8293b9a53e0474fbb4b753c009c8d9b815388072373c74b5924972a7ce4bced8383604051610fee929190612e64565b60405180910390a25050565b60095481565b61100861183d565b600660029054906101000a900460ff1615600660026101000a81548160ff021916908315150217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600660039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600660009054906101000a900460ff1681565b6060600580546110a590612a3a565b80601f01602080910402602001604051908101604052809291908181526020018280546110d190612a3a565b801561111e5780601f106110f35761010080835404028352916020019161111e565b820191906000526020600020905b81548152906001019060200180831161110157829003601f168201915b5050505050905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b60008061115361166a565b9050600061116182866114c0565b9050838110156111a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119d90612efa565b60405180910390fd5b6111b38286868403611672565b60019250505092915050565b6000806111ca61166a565b90506111d7818585611947565b600191505092915050565b600a602052816000526040600020602052806000526040600020600091509150505481565b61120f61183d565b60005b828290508110156112af576001600c600085858581811061123657611235612d29565b5b905060200201602081019061124b9190612735565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806112a790612d58565b915050611212565b503373ffffffffffffffffffffffffffffffffffffffff167fcc3ffdca5bbed310403c641da58a3bb72535264f23c402a8dcabfdbfbc7e843483836040516112f8929190612e64565b60405180910390a25050565b61130c61183d565b6000600d6000600660039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600660036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600d6000600660039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600660039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fd3bf885886fdaa43a75ee59e6bf15bd38a7f78fe5f67057c57f3804b00aa3e9260405160405180910390a350565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61154f61183d565b816007819055508060088190555080823373ffffffffffffffffffffffffffffffffffffffff167f7ad4ef4cd81b13de60e52aa49a4efc6a1bc6e8bb1849d7e7bce2d790b024f07360405160405180910390a45050565b6115ae61183d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561161e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161590612f8c565b60405180910390fd5b61162781611ea4565b50565b600c6020528060005260406000206000915054906101000a900460ff1681565b600b6020528060005260406000206000915054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d99061301e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611752576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611749906130b0565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118309190612771565b60405180910390a3505050565b61184561166a565b73ffffffffffffffffffffffffffffffffffffffff16611863611034565b73ffffffffffffffffffffffffffffffffffffffff16146118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b09061311c565b60405180910390fd5b565b60006118c784846114c0565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146119415781811015611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192a90613188565b60405180910390fd5b6119408484848403611672565b5b50505050565b6000600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ad357600660029054906101000a900460ff1615611a775743600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a29906131f4565b60405180910390fd5b43600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611ace5760075490505b611c5a565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c5957600660029054906101000a900460ff1615611c015743600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb3906131f4565b60405180910390fd5b43600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c585760085490505b5b5b6000811115611cc3576000670de0b6b3a76400008284611c7a9190613214565b611c84919061329d565b9050611cb385600660039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611f68565b8083611cbf91906132ce565b9250505b611cce848484611f68565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3b90613374565b60405180910390fd5b611d50826000836121e3565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dce90613406565b60405180910390fd5b818103600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600360008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e8b9190612771565b60405180910390a3611e9f83600084612561565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcf90613498565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203f9061352a565b60405180910390fd5b6120538383836121e3565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d1906135bc565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516121ca9190612771565b60405180910390a36121dd848484612561565b50505050565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156122875750600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b6122c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bd90613628565b60405180910390fd5b600660009054906101000a900460ff16612391576122e2611034565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061234d575061231e611034565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b61238c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238390613694565b60405180910390fd5b61255c565b600660019054906101000a900460ff1680156123f65750600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561255b5760095481600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124869190612b94565b11156124c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124be90613700565b60405180910390fd5b80600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125539190612b94565b925050819055505b5b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156125a0578082015181840152602081019050612585565b838111156125af576000848401525b50505050565b6000601f19601f8301169050919050565b60006125d182612566565b6125db8185612571565b93506125eb818560208601612582565b6125f4816125b5565b840191505092915050565b6000602082019050818103600083015261261981846125c6565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126568261262b565b9050919050565b6126668161264b565b811461267157600080fd5b50565b6000813590506126838161265d565b92915050565b6000819050919050565b61269c81612689565b81146126a757600080fd5b50565b6000813590506126b981612693565b92915050565b600080604083850312156126d6576126d5612621565b5b60006126e485828601612674565b92505060206126f5858286016126aa565b9150509250929050565b60008115159050919050565b612714816126ff565b82525050565b600060208201905061272f600083018461270b565b92915050565b60006020828403121561274b5761274a612621565b5b600061275984828501612674565b91505092915050565b61276b81612689565b82525050565b60006020820190506127866000830184612762565b92915050565b6000806000606084860312156127a5576127a4612621565b5b60006127b386828701612674565b93505060206127c486828701612674565b92505060406127d5868287016126aa565b9150509250925092565b600060ff82169050919050565b6127f5816127df565b82525050565b600060208201905061281060008301846127ec565b92915050565b6000806040838503121561282d5761282c612621565b5b600061283b85828601612674565b925050602061284c85828601612674565b9150509250929050565b60006020828403121561286c5761286b612621565b5b600061287a848285016126aa565b91505092915050565b61288c816126ff565b811461289757600080fd5b50565b6000813590506128a981612883565b92915050565b600080604083850312156128c6576128c5612621565b5b60006128d48582860161289a565b92505060206128e5858286016126aa565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f840112612914576129136128ef565b5b8235905067ffffffffffffffff811115612931576129306128f4565b5b60208301915083602082028301111561294d5761294c6128f9565b5b9250929050565b6000806020838503121561296b5761296a612621565b5b600083013567ffffffffffffffff81111561298957612988612626565b5b612995858286016128fe565b92509250509250929050565b6129aa8161264b565b82525050565b60006020820190506129c560008301846129a1565b92915050565b600080604083850312156129e2576129e1612621565b5b60006129f0858286016126aa565b9250506020612a01858286016126aa565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612a5257607f821691505b60208210811415612a6657612a65612a0b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600081519050919050565b600081905092915050565b6000612abc82612a9b565b612ac68185612aa6565b9350612ad6818560208601612582565b80840191505092915050565b6000612aee8284612ab1565b915081905092915050565b7f657468207472616e73666572206661696c656400000000000000000000000000600082015250565b6000612b2f601383612571565b9150612b3a82612af9565b602082019050919050565b60006020820190508181036000830152612b5e81612b22565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612b9f82612689565b9150612baa83612689565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612bdf57612bde612b65565b5b828201905092915050565b7f746f6b656e20616464726573732063616e6e6f74206265207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612c46602483612571565b9150612c5182612bea565b604082019050919050565b60006020820190508181036000830152612c7581612c39565b9050919050565b600081519050612c8b81612693565b92915050565b600060208284031215612ca757612ca6612621565b5b6000612cb584828501612c7c565b91505092915050565b6000604082019050612cd360008301856129a1565b612ce06020830184612762565b9392505050565b600081519050612cf681612883565b92915050565b600060208284031215612d1257612d11612621565b5b6000612d2084828501612ce7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612d6382612689565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d9657612d95612b65565b5b600182019050919050565b600082825260208201905092915050565b6000819050919050565b612dc58161264b565b82525050565b6000612dd78383612dbc565b60208301905092915050565b6000612df26020840184612674565b905092915050565b6000602082019050919050565b6000612e138385612da1565b9350612e1e82612db2565b8060005b85811015612e5757612e348284612de3565b612e3e8882612dcb565b9750612e4983612dfa565b925050600181019050612e22565b5085925050509392505050565b60006020820190508181036000830152612e7f818486612e07565b90509392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612ee4602583612571565b9150612eef82612e88565b604082019050919050565b60006020820190508181036000830152612f1381612ed7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612f76602683612571565b9150612f8182612f1a565b604082019050919050565b60006020820190508181036000830152612fa581612f69565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613008602483612571565b915061301382612fac565b604082019050919050565b6000602082019050818103600083015261303781612ffb565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061309a602283612571565b91506130a58261303e565b604082019050919050565b600060208201905081810360008301526130c98161308d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613106602083612571565b9150613111826130d0565b602082019050919050565b60006020820190508181036000830152613135816130f9565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613172601d83612571565b915061317d8261313c565b602082019050919050565b600060208201905081810360008301526131a181613165565b9050919050565b7f626f74206c696d69740000000000000000000000000000000000000000000000600082015250565b60006131de600983612571565b91506131e9826131a8565b602082019050919050565b6000602082019050818103600083015261320d816131d1565b9050919050565b600061321f82612689565b915061322a83612689565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561326357613262612b65565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006132a882612689565b91506132b383612689565b9250826132c3576132c261326e565b5b828204905092915050565b60006132d982612689565b91506132e483612689565b9250828210156132f7576132f6612b65565b5b828203905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061335e602183612571565b915061336982613302565b604082019050919050565b6000602082019050818103600083015261338d81613351565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b60006133f0602283612571565b91506133fb82613394565b604082019050919050565b6000602082019050818103600083015261341f816133e3565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613482602583612571565b915061348d82613426565b604082019050919050565b600060208201905081810360008301526134b181613475565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613514602383612571565b915061351f826134b8565b604082019050919050565b6000602082019050818103600083015261354381613507565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006135a6602683612571565b91506135b18261354a565b604082019050919050565b600060208201905081810360008301526135d581613599565b9050919050565b7f626c61636b6c6973746564000000000000000000000000000000000000000000600082015250565b6000613612600b83612571565b915061361d826135dc565b602082019050919050565b6000602082019050818103600083015261364181613605565b9050919050565b7f74726164696e67206973206e6f74207374617274656400000000000000000000600082015250565b600061367e601683612571565b915061368982613648565b602082019050919050565b600060208201905081810360008301526136ad81613671565b9050919050565b7f627579206c696d69740000000000000000000000000000000000000000000000600082015250565b60006136ea600983612571565b91506136f5826136b4565b602082019050919050565b60006020820190508181036000830152613719816136dd565b905091905056fea26469706673582212203fe86ed2e12d55cbe966ae14c7a888505aa59a82875493405cfd08cc2e4c72e564736f6c634300080c0033

Verified Source Code Partial Match

Compiler: v0.8.12+commit.f00d7308 EVM: london Optimization: No
FriendToken.sol 652 lines
// SPDX-License-Identifier: MIT

/** 
    FriendRoom
    Redefining how friends interact with each other using web3
    
    Website: https://friendroom.org/
    Telegram: https://t.me/friendroomorg
    Twitter: https://twitter.com/friendroomorg
*/
pragma solidity =0.8.12;
pragma abicoder v2;

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

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

abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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

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

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

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    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;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    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;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    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;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
    unchecked {
        _balances[from] = fromBalance - amount;
        // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
        // decrementing then incrementing.
        _balances[to] += amount;
    }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    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);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    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;
    }

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    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);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    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);
        }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

contract FriendToken is Ownable, ERC20 {
    bool public transferable;
    bool public maxLimited;
    bool public botLimited;
    address public dev;
    uint256 public buyFeeRate;
    uint256 public sellFeeRate;
    uint256 public maxHoldingAmount;
    mapping (address => mapping(address => uint256)) public balanceFromPool;
    mapping (address => bool) public uniswapPool;
    mapping (address => bool) public blacklist;
    mapping (address => bool) public dutyFree;
    mapping (address => uint256) public lastTradingBlock;

    event DevSet(address indexed owner, address indexed account);
    event LimitSet(address indexed owner, bool indexed limited, uint256 indexed amount);
    event PoolSet(address indexed owner, address indexed account, bool indexed value);
    event DutyFreeSet(address indexed owner, address indexed account, bool indexed value);
    event FeeRateSet(address indexed owner, uint256 indexed buyFeeRate, uint256 indexed sellFeeRate);
    event BlacklistSet(address indexed owner, address[] accounts);
    event BlacklistRemoved(address indexed owner, address[] accounts);

    constructor(uint256 totalSupply) ERC20("Friend Room Token", "FRIEND") {
        maxLimited = true;
        botLimited = true;
        maxHoldingAmount = totalSupply;

        buyFeeRate = 0.05 ether;
        sellFeeRate = 0.05 ether;

        dev = msg.sender;
        dutyFree[msg.sender] = true;

        _mint(msg.sender, totalSupply);
    }

    function setTransferable() external onlyOwner {
        transferable = !transferable;
    }

    function setBlacklist(address[] calldata accounts) public onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            blacklist[accounts[i]] = true;
        }
        emit BlacklistSet(msg.sender, accounts);
    }

    function removeBlacklist(address[] calldata accounts) public onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            blacklist[accounts[i]] = false;
        }
        emit BlacklistRemoved(msg.sender, accounts);
    }

    function withdrawToken(address token, address to) external onlyOwner {
        require(token != address(0), "token address cannot be zero address");
        uint256 balance = IERC20(token).balanceOf(address(this));
        IERC20(token).transfer(to, balance);
    }

    function withdrawEth(address to) external onlyOwner {
        (bool success, ) = to.call{value: address(this).balance}(new bytes(0));
        require(success, "eth transfer failed");
    }

    function setMaxLimit(bool _limited, uint256 _amount) external onlyOwner {
        maxLimited = _limited;
        maxHoldingAmount = _amount;
        emit LimitSet(msg.sender, maxLimited, maxHoldingAmount);
    }

    function setBotLimited() external onlyOwner {
        botLimited = !botLimited;
    }

    function setPool(address account) external onlyOwner {
        uniswapPool[account] = !uniswapPool[account];
        emit PoolSet(msg.sender, account, uniswapPool[account]);
    }

    function setDev(address newDev) external onlyOwner {
        dutyFree[dev] = false;

        dev = newDev;
        dutyFree[dev] = true;

        emit DevSet(msg.sender, dev);
    }

    function setDutyFree(address account) public onlyOwner {
        dutyFree[account] = !dutyFree[account];
        emit DutyFreeSet(msg.sender, account, dutyFree[account]);
    }

    function setFeeRate(uint256 _buyFeeRate, uint256 _sellFeeRate) external onlyOwner {
        buyFeeRate = _buyFeeRate;
        sellFeeRate = _sellFeeRate;
        emit FeeRateSet(msg.sender, _buyFeeRate, _sellFeeRate);
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount) internal override {
        require(!blacklist[to] && !blacklist[from], "blacklisted");

        if (!transferable) {
            require(from == owner() || to == owner(), "trading is not started");
            return;
        }

        if (maxLimited && uniswapPool[from]) {
            require(balanceFromPool[to][from] + amount <= maxHoldingAmount, "buy limit");
            balanceFromPool[to][from] += amount;
        }
    }

    function _transfer(address from, address to, uint256 amount) internal override {
        uint256 feeRate = 0;
        if (uniswapPool[from]) {
            if (botLimited) {
                require(lastTradingBlock[to] != block.number, "bot limit");
                lastTradingBlock[to] = block.number;
            }

            if (!dutyFree[to]) {
                feeRate = buyFeeRate;
            }
        } else if (uniswapPool[to]) {
            if (botLimited) {
                require(lastTradingBlock[from] != block.number, "bot limit");
                lastTradingBlock[from] = block.number;
            }

            if (!dutyFree[from]) {
                feeRate = sellFeeRate;
            }
        }

        if (feeRate > 0) {
            uint256 fee = amount * feeRate / 1 ether;
            super._transfer(from, dev, fee);
            amount -= fee;
        }

        super._transfer(from, to, amount);
    }

    function burn(uint256 value) external {
        _burn(msg.sender, value);
    }
}

Read Contract

allowance 0xdd62ed3e → uint256
balanceFromPool 0xbe49e4a8 → uint256
balanceOf 0x70a08231 → uint256
blacklist 0xf9f92be4 → bool
botLimited 0x16fd96c2 → bool
buyFeeRate 0x6b1b4987 → uint256
decimals 0x313ce567 → uint8
dev 0x91cca3db → address
dutyFree 0xa0b0904e → bool
lastTradingBlock 0x5e2623f3 → uint256
maxHoldingAmount 0x89f9a1d3 → uint256
maxLimited 0x2bcc7e44 → bool
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellFeeRate 0x5b149feb → uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
transferable 0x92ff0d31 → bool
uniswapPool 0xfa09b9fd → bool

Write Contract 19 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
burn 0x42966c68
uint256 value
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeBlacklist 0x7911ef9d
address[] accounts
renounceOwnership 0x715018a6
No parameters
setBlacklist 0xbf772491
address[] accounts
setBotLimited 0x8af66e2b
No parameters
setDev 0xd477f05f
address newDev
setDutyFree 0x15c4e385
address account
setFeeRate 0xf2d2a751
uint256 _buyFeeRate
uint256 _sellFeeRate
setMaxLimit 0x4ce982e4
bool _limited
uint256 _amount
setPool 0x4437152a
address account
setTransferable 0x37d8b995
No parameters
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
withdrawEth 0x25e16063
address to
withdrawToken 0x3aeac4e1
address token
address to

Recent Transactions

No transactions found for this address