Address Contract Verified
Address
0xF799Fb149bC14798Fba42d6589e105C798743b57
Balance
0 ETH
Nonce
1
Code Size
19672 bytes
Creator
0x05D8bc12...77D3 at tx 0xaf8a15cd...a2ca59
Indexed Transactions
0
Contract Bytecode
19672 bytes
0x608060405260043610610254575f3560e01c80637ff6f7b911610138578063c9567bf9116100b5578063dd62ed3e11610079578063dd62ed3e1461088b578063e4ac5f54146108c7578063ec343d5a146108f1578063f242ab4114610919578063f2de1ac414610943578063f2fde38b1461096b5761025b565b8063c9567bf9146107cd578063cc14553b146107e3578063cf43a20b1461080f578063d18d28da14610825578063dadc1b96146108635761025b565b8063a457c2d7116100fc578063a457c2d7146106c9578063a9059cbb14610705578063a972796e14610741578063b38e80c314610769578063b70143c9146107a55761025b565b80637ff6f7b9146105e95780638370693f146106115780638caeddcf1461064d5780638da5cb5b1461067557806395d89b411461069f5761025b565b80632dee0c35116101d15780634ada218b116101955780634ada218b146105015780634f970c1c1461052b5780635c36b1861461055757806370a0823114610581578063715018a6146105bd578063751039fc146105d35761025b565b80632dee0c3514610433578063313ce5671461045d578063395093511461048757806342cee699146104c357806346d8021a146104d95761025b565b8063126cbe6011610218578063126cbe60146103415780631813c5141461037d57806318160ddd146103a55780631baa941f146103cf57806323b872dd146103f75761025b565b806303c389f01461025f57806306c476b61461028757806306fdde03146102b3578063095ea7b3146102dd5780630f366152146103195761025b565b3661025b57005b5f80fd5b34801561026a575f80fd5b50610285600480360381019061028091906136f4565b610993565b005b348015610292575f80fd5b5061029b610ab5565b6040516102aa93929190613759565b60405180910390f35b3480156102be575f80fd5b506102c7610ad9565b6040516102d49190613818565b60405180910390f35b3480156102e8575f80fd5b5061030360048036038101906102fe9190613862565b610b69565b60405161031091906138a0565b60405180910390f35b348015610324575f80fd5b5061033f600480360381019061033a91906138b9565b610b86565b005b34801561034c575f80fd5b5061036760048036038101906103629190613909565b610d2f565b6040516103749190613818565b60405180910390f35b348015610388575f80fd5b506103a3600480360381019061039e9190613909565b610d6e565b005b3480156103b0575f80fd5b506103b9610eaa565b6040516103c69190613934565b60405180910390f35b3480156103da575f80fd5b506103f560048036038101906103f091906136f4565b610eb3565b005b348015610402575f80fd5b5061041d6004803603810190610418919061394d565b610fd5565b60405161042a91906138a0565b60405180910390f35b34801561043e575f80fd5b506104476110c7565b60405161045491906138a0565b60405180910390f35b348015610468575f80fd5b506104716110ee565b60405161047e91906139b8565b60405180910390f35b348015610492575f80fd5b506104ad60048036038101906104a89190613862565b6110f6565b6040516104ba91906138a0565b60405180910390f35b3480156104ce575f80fd5b506104d761119d565b005b3480156104e4575f80fd5b506104ff60048036038101906104fa91906139d1565b61126e565b005b34801561050c575f80fd5b5061051561137b565b60405161052291906138a0565b60405180910390f35b348015610536575f80fd5b5061053f61138d565b60405161054e93929190613759565b60405180910390f35b348015610562575f80fd5b5061056b6113b0565b60405161057891906138a0565b60405180910390f35b34801561058c575f80fd5b506105a760048036038101906105a29190613909565b6113b8565b6040516105b49190613934565b60405180910390f35b3480156105c8575f80fd5b506105d16113fd565b005b3480156105de575f80fd5b506105e7611484565b005b3480156105f4575f80fd5b5061060f600480360381019061060a91906139fc565b61154f565b005b34801561061c575f80fd5b5061063760048036038101906106329190613909565b6115e7565b60405161064491906138a0565b60405180910390f35b348015610658575f80fd5b50610673600480360381019061066e91906139d1565b6115f1565b005b348015610680575f80fd5b506106896116fe565b6040516106969190613a36565b60405180910390f35b3480156106aa575f80fd5b506106b3611726565b6040516106c09190613818565b60405180910390f35b3480156106d4575f80fd5b506106ef60048036038101906106ea9190613862565b6117b6565b6040516106fc91906138a0565b60405180910390f35b348015610710575f80fd5b5061072b60048036038101906107269190613862565b61189c565b60405161073891906138a0565b60405180910390f35b34801561074c575f80fd5b50610767600480360381019061076291906139d1565b6118b9565b005b348015610774575f80fd5b5061078f600480360381019061078a9190613909565b6119db565b60405161079c9190613934565b60405180910390f35b3480156107b0575f80fd5b506107cb60048036038101906107c691906139d1565b6119e1565b005b3480156107d8575f80fd5b506107e1611aa6565b005b3480156107ee575f80fd5b506107f7611b86565b60405161080693929190613a4f565b60405180910390f35b34801561081a575f80fd5b50610823611b9d565b005b348015610830575f80fd5b5061084b60048036038101906108469190613909565b611d73565b60405161085a93929190613a84565b60405180910390f35b34801561086e575f80fd5b5061088960048036038101906108849190613be5565b611e61565b005b348015610896575f80fd5b506108b160048036038101906108ac9190613c2c565b611fda565b6040516108be9190613934565b60405180910390f35b3480156108d2575f80fd5b506108db61205c565b6040516108e89190613a36565b60405180910390f35b3480156108fc575f80fd5b50610917600480360381019061091291906139d1565b612085565b005b348015610924575f80fd5b5061092d6121a7565b60405161093a9190613a36565b60405180910390f35b34801561094e575f80fd5b50610969600480360381019061096491906139d1565b6121cb565b005b348015610976575f80fd5b50610991600480360381019061098c9190613909565b612297565b005b61099b61238d565b73ffffffffffffffffffffffffffffffffffffffff166109b96116fe565b73ffffffffffffffffffffffffffffffffffffffff1614610a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0690613cb4565b60405180910390fd5b8060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f4b89c347592b1d537e066cb4ed98d87696ae35164745d7e370e4add16941dc9282604051610aa991906138a0565b60405180910390a25050565b5f805f600560159054906101000a900460ff16925060065491506007549050909192565b606060038054610ae890613cff565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1490613cff565b8015610b5f5780601f10610b3657610100808354040283529160200191610b5f565b820191905f5260205f20905b815481529060010190602001808311610b4257829003601f168201915b5050505050905090565b5f610b7c610b7561238d565b8484612394565b6001905092915050565b610b8e61238d565b73ffffffffffffffffffffffffffffffffffffffff16610bac6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614610c02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf990613cb4565b60405180910390fd5b6001821015610c46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d90613d9f565b60405180910390fd5b81811015610c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8090613e2d565b60405180910390fd5b82600560156101000a81548160ff02191690831515021790555061271082610caf610eaa565b610cb99190613e78565b610cc39190613ee6565b60068190555061271081610cd5610eaa565b610cdf9190613e78565b610ce99190613ee6565b6007819055507f52cd2cdb42ff0eeec9362d7ed5b04f64c8d022697128b5378fc51cea7e63c779838383604051610d2293929190613759565b60405180910390a1505050565b60606040518060400160405280601081526020017f42616c616e636520636865636b65642e000000000000000000000000000000008152509050919050565b610d7661238d565b73ffffffffffffffffffffffffffffffffffffffff16610d946116fe565b73ffffffffffffffffffffffffffffffffffffffff1614610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190613cb4565b60405180910390fd5b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8616c7a330e3cf61290821331585511f1e2778171e2b005fb5ec60cfe874dc6760405160405180910390a380600d60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f600254905090565b610ebb61238d565b73ffffffffffffffffffffffffffffffffffffffff16610ed96116fe565b73ffffffffffffffffffffffffffffffffffffffff1614610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690613cb4565b60405180910390fd5b8060115f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df782604051610fc991906138a0565b60405180910390a25050565b5f610fe1848484612557565b5f60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f61102861238d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050828110156110a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109e90613f86565b60405180910390fd5b6110bb856110b361238d565b858403612394565b60019150509392505050565b5f8061dead90505f671bc16d674ec8000090506110e48282610b69565b5060019250505090565b5f6012905090565b5f61119361110261238d565b848460015f61110f61238d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461118e9190613fa4565b612394565b6001905092915050565b5f80600a42336040516020016111b492919061403c565b604051602081830303815290604052805190602001205f1c6111d69190614067565b1490508015611227573373ffffffffffffffffffffffffffffffffffffffff167fab0283fc339eafb187206bd4ccfb97b87b7a322c4d01d38ad0ce41b07686051460405160405180910390a261126b565b3373ffffffffffffffffffffffffffffffffffffffff167f2e05a28606f35c614d1a8dbf4700bfe5c1afc8b626fe046d84ff9dab21fdef6c60405160405180910390a25b50565b61127661238d565b73ffffffffffffffffffffffffffffffffffffffff166112946116fe565b73ffffffffffffffffffffffffffffffffffffffff16146112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190613cb4565b60405180910390fd5b80600e819055506064600e541115611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e90614107565b60405180910390fd5b7f38513c502b0ab4834ac1df9502b76f75dcf7092469782cfd0db7fe664388e25e600e54600e54600e5460405161137093929190613a4f565b60405180910390a150565b600d5f9054906101000a900460ff1681565b5f805f60095f9054906101000a900460ff169250600a549150600b549050909192565b5f6001905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61140561238d565b73ffffffffffffffffffffffffffffffffffffffff166114236116fe565b73ffffffffffffffffffffffffffffffffffffffff1614611479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147090613cb4565b60405180910390fd5b6114825f612fb0565b565b61148c61238d565b73ffffffffffffffffffffffffffffffffffffffff166114aa6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790613cb4565b60405180910390fd5b5f60095f6101000a81548160ff0219169083151502179055505f601081905550427ff4eaa75eae08ae80c3daf791438dac1cff2cfd3b0bad2304ec7bbb067e50261660405160405180910390a2565b61155761238d565b73ffffffffffffffffffffffffffffffffffffffff166115756116fe565b73ffffffffffffffffffffffffffffffffffffffff16146115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290613cb4565b60405180910390fd5b8060175f6101000a81548160ff02191690831515021790555050565b5f60019050919050565b6115f961238d565b73ffffffffffffffffffffffffffffffffffffffff166116176116fe565b73ffffffffffffffffffffffffffffffffffffffff161461166d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166490613cb4565b60405180910390fd5b80600f819055506064600f5411156116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b190614195565b60405180910390fd5b7fcb5f36df892836a2eaedc349de29a7581176990398ee185d16eaa8f6c1abd8f1600f54600f54600f546040516116f393929190613a4f565b60405180910390a150565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461173590613cff565b80601f016020809104026020016040519081016040528092919081815260200182805461176190613cff565b80156117ac5780601f10611783576101008083540402835291602001916117ac565b820191905f5260205f20905b81548152906001019060200180831161178f57829003601f168201915b5050505050905090565b5f8060015f6117c361238d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508281101561187d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187490614223565b60405180910390fd5b61189161188861238d565b85858403612394565b600191505092915050565b5f6118af6118a861238d565b8484612557565b6001905092915050565b6118c161238d565b73ffffffffffffffffffffffffffffffffffffffff166118df6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614611935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192c90613cb4565b60405180910390fd5b6002811015611979576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119709061428b565b60405180910390fd5b6103e8611984610eaa565b8261198f9190613e78565b6119999190613ee6565b600b819055507fff3dd5e80294197918c284bbfc3dadd97d0b40ce92106110946329088f80068a600b546040516119d09190613934565b60405180910390a150565b5f919050565b3373ffffffffffffffffffffffffffffffffffffffff16600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6890614319565b60405180910390fd5b5f611a7b306113b8565b90505f60648383611a8c9190613e78565b611a969190613ee6565b9050611aa181613073565b505050565b611aae61238d565b73ffffffffffffffffffffffffffffffffffffffff16611acc6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1990613cb4565b60405180910390fd5b6001600d5f6101000a81548160ff0219169083151502179055506001600560156101000a81548160ff021916908315150217905550427fb3da2db3dfc3778f99852546c6e9ab39ec253f9de7b0847afec61bd27878e92360405160405180910390a2565b5f805f600e549250600f5491506010549050909192565b5f6040518060a001604052806040518060400160405280600781526020017f437265657065720000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f5a6f6d626965000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f536b656c65746f6e00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f537069646572000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f456e6465726d616e00000000000000000000000000000000000000000000000081525081525090505f8160054233604051602001611ce792919061403c565b604051602081830303815290604052805190602001205f1c611d099190614067565b60058110611d1a57611d19614337565b5b602002015190503373ffffffffffffffffffffffffffffffffffffffff167fd77ed8b0697a342773151fef033c35cd92e959d533aed8dd7da925dbd71701a882604051611d679190613818565b60405180910390a25050565b5f805f60115f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16925060125f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16915060135f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1690509193909250565b7fc5f056b219df0cfc95ae41a5a502ab8a0ec7f354a9d47c80e7d039160c58ea7b81604051602001611e93919061439e565b604051602081830303815290604052805190602001201480611efa57507fcf65f0583f124dec65ffe3fd51604a91a347f33cc4fa2246deb63c575403375d81604051602001611ee2919061439e565b60405160208183030381529060405280519060200120145b80611f4a57507fe4e4ab9ffd738203658e8c9003f246c34c4ad46ea9d2461433ce14314fa2bda581604051602001611f32919061439e565b60405160208183030381529060405280519060200120145b611f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f80906143fe565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f869709e391fdbeda5065bc1dcd51308c272ad37a858188ecc6ea83abe3f404fd82604051611fcf9190613818565b60405180910390a250565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61208d61238d565b73ffffffffffffffffffffffffffffffffffffffff166120ab6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614612101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f890613cb4565b60405180910390fd5b6005811015612145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213c9061448c565b60405180910390fd5b6103e8612150610eaa565b8261215b9190613e78565b6121659190613ee6565b600a819055507f12528a3c61e0f3b2d6fc707a9fc58b1af86e252cad0d7f4c154ebeabb162dace600a5460405161219c9190613934565b60405180910390a150565b7f000000000000000000000000396f293b6ea2870aa619f83e1bdaa22e3e5447db81565b6121d361238d565b73ffffffffffffffffffffffffffffffffffffffff166121f16116fe565b73ffffffffffffffffffffffffffffffffffffffff1614612247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223e90613cb4565b60405180910390fd5b8060108190555060646010541115612294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228b9061451a565b60405180910390fd5b50565b61229f61238d565b73ffffffffffffffffffffffffffffffffffffffff166122bd6116fe565b73ffffffffffffffffffffffffffffffffffffffff1614612313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230a90613cb4565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612381576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612378906145a8565b60405180910390fd5b61238a81612fb0565b50565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f990614636565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612470576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612467906146c4565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161254a9190613934565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036125c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc90614752565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262a906147e0565b60405180910390fd5b5f810361264a5761264583835f6132a6565b612fab565b60095f9054906101000a900460ff1615612b2d576126666116fe565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156126d457506126a46116fe565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561270c57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612746575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561275f5750600560149054906101000a900460ff16155b15612b2c57600d5f9054906101000a900460ff166128525760115f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612812575060115f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b612851576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128489061486e565b60405180910390fd5b5b60135f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680156128ef575060125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561299657600b54811115612939576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612930906148fc565b60405180910390fd5b600a54612945836113b8565b826129509190613fa4565b1115612991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298890614964565b60405180910390fd5b612b2b565b60135f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612a33575060125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612a8257600b54811115612a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a74906149f2565b60405180910390fd5b612b2a565b60125f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16612b2957600a54612adc836113b8565b82612ae79190613fa4565b1115612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f90614964565b60405180910390fd5b5b5b5b5b5b5f612b37306113b8565b90505f6006548210159050808015612b5b5750600560159054906101000a900460ff165b8015612b745750600560149054906101000a900460ff16155b8015612bc7575060135f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612c1a575060115f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612c6d575060115f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612c7b57504260085414155b15612cc6576001600560146101000a81548160ff021916908315150217905550612ca48361351b565b426008819055505f600560146101000a81548160ff0219169083151502179055505b5f600560149054906101000a900460ff1615905060115f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612d75575060115f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b15612d7e575f90505b5f8115612f9b5760135f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612ddc57505f600f54115b15612e1057612e096064612dfb600f548861362090919063ffffffff16565b61363590919063ffffffff16565b9050612f78565b60135f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612e6757505f600e54115b15612e9b57612e946064612e86600e548861362090919063ffffffff16565b61363590919063ffffffff16565b9050612f77565b5f601054118015612ef3575060135f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612f46575060135f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612f7657612f736064612f656010548861362090919063ffffffff16565b61363590919063ffffffff16565b90505b5b5b5f811115612f8c57612f8b8730836132a6565b5b8085612f989190614a10565b94505b612fa68787876132a6565b505050505b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff81111561308f5761308e613ac1565b5b6040519080825280602002602001820160405280156130bd5781602001602082028036833780820191505090505b50905030815f815181106130d4576130d3614337565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613177573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061319b9190614a57565b816001815181106131af576131ae614337565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613214307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612394565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401613275959493929190614b7b565b5f604051808303815f87803b15801561328c575f80fd5b505af115801561329e573d5f803e3d5ffd5b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330b90614752565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613382576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613379906147e0565b60405180910390fd5b61338d83838361364a565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015613410576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340790614c43565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461349e9190613fa4565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516135029190613934565b60405180910390a361351584848461364f565b50505050565b5f613525306113b8565b90505f80820361353657505061361d565b6007548211156135465760075491505b60175f9054906101000a900460ff16801561356c5750600a836135699190613e78565b82115b1561358157600a8361357e9190613e78565b91505b5f82905061358e81613073565b600d60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516135d490614c8e565b5f6040518083038185875af1925050503d805f811461360e576040519150601f19603f3d011682016040523d82523d5f602084013e613613565b606091505b5050809250505050505b50565b5f818361362d9190613e78565b905092915050565b5f81836136429190613ee6565b905092915050565b505050565b505050565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61368e82613665565b9050919050565b61369e81613684565b81146136a8575f80fd5b50565b5f813590506136b981613695565b92915050565b5f8115159050919050565b6136d3816136bf565b81146136dd575f80fd5b50565b5f813590506136ee816136ca565b92915050565b5f806040838503121561370a5761370961365d565b5b5f613717858286016136ab565b9250506020613728858286016136e0565b9150509250929050565b61373b816136bf565b82525050565b5f819050919050565b61375381613741565b82525050565b5f60608201905061376c5f830186613732565b613779602083018561374a565b613786604083018461374a565b949350505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156137c55780820151818401526020810190506137aa565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6137ea8261378e565b6137f48185613798565b93506138048185602086016137a8565b61380d816137d0565b840191505092915050565b5f6020820190508181035f83015261383081846137e0565b905092915050565b61384181613741565b811461384b575f80fd5b50565b5f8135905061385c81613838565b92915050565b5f80604083850312156138785761387761365d565b5b5f613885858286016136ab565b92505060206138968582860161384e565b9150509250929050565b5f6020820190506138b35f830184613732565b92915050565b5f805f606084860312156138d0576138cf61365d565b5b5f6138dd868287016136e0565b93505060206138ee8682870161384e565b92505060406138ff8682870161384e565b9150509250925092565b5f6020828403121561391e5761391d61365d565b5b5f61392b848285016136ab565b91505092915050565b5f6020820190506139475f83018461374a565b92915050565b5f805f606084860312156139645761396361365d565b5b5f613971868287016136ab565b9350506020613982868287016136ab565b92505060406139938682870161384e565b9150509250925092565b5f60ff82169050919050565b6139b28161399d565b82525050565b5f6020820190506139cb5f8301846139a9565b92915050565b5f602082840312156139e6576139e561365d565b5b5f6139f38482850161384e565b91505092915050565b5f60208284031215613a1157613a1061365d565b5b5f613a1e848285016136e0565b91505092915050565b613a3081613684565b82525050565b5f602082019050613a495f830184613a27565b92915050565b5f606082019050613a625f83018661374a565b613a6f602083018561374a565b613a7c604083018461374a565b949350505050565b5f606082019050613a975f830186613732565b613aa46020830185613732565b613ab16040830184613732565b949350505050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b613af7826137d0565b810181811067ffffffffffffffff82111715613b1657613b15613ac1565b5b80604052505050565b5f613b28613654565b9050613b348282613aee565b919050565b5f67ffffffffffffffff821115613b5357613b52613ac1565b5b613b5c826137d0565b9050602081019050919050565b828183375f83830152505050565b5f613b89613b8484613b39565b613b1f565b905082815260208101848484011115613ba557613ba4613abd565b5b613bb0848285613b69565b509392505050565b5f82601f830112613bcc57613bcb613ab9565b5b8135613bdc848260208601613b77565b91505092915050565b5f60208284031215613bfa57613bf961365d565b5b5f82013567ffffffffffffffff811115613c1757613c16613661565b5b613c2384828501613bb8565b91505092915050565b5f8060408385031215613c4257613c4161365d565b5b5f613c4f858286016136ab565b9250506020613c60858286016136ab565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f613c9e602083613798565b9150613ca982613c6a565b602082019050919050565b5f6020820190508181035f830152613ccb81613c92565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613d1657607f821691505b602082108103613d2957613d28613cd2565b5b50919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e5f8201527f20302e30312520746f74616c20737570706c792e000000000000000000000000602082015250565b5f613d89603483613798565b9150613d9482613d2f565b604082019050919050565b5f6020820190508181035f830152613db681613d7d565b9050919050565b7f6d6178696d756d20616d6f756e742063616e74206265206869676865722074685f8201527f616e206d696e696d756d00000000000000000000000000000000000000000000602082015250565b5f613e17602a83613798565b9150613e2282613dbd565b604082019050919050565b5f6020820190508181035f830152613e4481613e0b565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613e8282613741565b9150613e8d83613741565b9250828202613e9b81613741565b91508282048414831517613eb257613eb1613e4b565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613ef082613741565b9150613efb83613741565b925082613f0b57613f0a613eb9565b5b828204905092915050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320615f8201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b5f613f70602883613798565b9150613f7b82613f16565b604082019050919050565b5f6020820190508181035f830152613f9d81613f64565b9050919050565b5f613fae82613741565b9150613fb983613741565b9250828201905080821115613fd157613fd0613e4b565b5b92915050565b5f819050919050565b613ff1613fec82613741565b613fd7565b82525050565b5f8160601b9050919050565b5f61400d82613ff7565b9050919050565b5f61401e82614003565b9050919050565b61403661403182613684565b614014565b82525050565b5f6140478285613fe0565b6020820191506140578284614025565b6014820191508190509392505050565b5f61407182613741565b915061407c83613741565b92508261408c5761408b613eb9565b5b828206905092915050565b7f546f74616c20627579206665652063616e6e6f742062652068696768657220745f8201527f68616e2031303025000000000000000000000000000000000000000000000000602082015250565b5f6140f1602883613798565b91506140fc82614097565b604082019050919050565b5f6020820190508181035f83015261411e816140e5565b9050919050565b7f546f74616c2073656c6c206665652063616e6e6f7420626520686967686572205f8201527f7468616e20313030250000000000000000000000000000000000000000000000602082015250565b5f61417f602983613798565b915061418a82614125565b604082019050919050565b5f6020820190508181035f8301526141ac81614173565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61420d602583613798565b9150614218826141b3565b604082019050919050565b5f6020820190508181035f83015261423a81614201565b9050919050565b7f43616e6e6f7420736574206d61785478206c6f776572207468616e20302e32255f82015250565b5f614275602083613798565b915061428082614241565b602082019050919050565b5f6020820190508181035f8301526142a281614269565b9050919050565b7f4f6e6c79206d61726b6574696e672077616c6c65742063616e2063616c6c20745f8201527f6869732066756e6374696f6e206c6f6c00000000000000000000000000000000602082015250565b5f614303603083613798565b915061430e826142a9565b604082019050919050565b5f6020820190508181035f830152614330816142f7565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81905092915050565b5f6143788261378e565b6143828185614364565b93506143928185602086016137a8565b80840191505092915050565b5f6143a9828461436e565b915081905092915050565b7f496e76616c696420746f6f6c20747970650000000000000000000000000000005f82015250565b5f6143e8601183613798565b91506143f3826143b4565b602082019050919050565b5f6020820190508181035f830152614415816143dc565b9050919050565b7f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e205f8201527f302e352500000000000000000000000000000000000000000000000000000000602082015250565b5f614476602483613798565b91506144818261441c565b604082019050919050565b5f6020820190508181035f8301526144a38161446a565b9050919050565b7f546f74616c207472616e73666572206665652063616e6e6f74206265206869675f8201527f686572207468616e203130302500000000000000000000000000000000000000602082015250565b5f614504602d83613798565b915061450f826144aa565b604082019050919050565b5f6020820190508181035f830152614531816144f8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f614592602683613798565b915061459d82614538565b604082019050919050565b5f6020820190508181035f8301526145bf81614586565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f614620602483613798565b915061462b826145c6565b604082019050919050565b5f6020820190508181035f83015261464d81614614565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6146ae602283613798565b91506146b982614654565b604082019050919050565b5f6020820190508181035f8301526146db816146a2565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f61473c602583613798565b9150614747826146e2565b604082019050919050565b5f6020820190508181035f83015261476981614730565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6147ca602383613798565b91506147d582614770565b604082019050919050565b5f6020820190508181035f8301526147f7816147be565b9050919050565b7f5f7472616e736665723a3a2054726164696e67206973206e6f742061637469765f8201527f652e000000000000000000000000000000000000000000000000000000000000602082015250565b5f614858602283613798565b9150614863826147fe565b604082019050919050565b5f6020820190508181035f8301526148858161484c565b9050919050565b7f427579207472616e7366657220616d6f756e74206578636565647320746865205f8201527f6d617854782e0000000000000000000000000000000000000000000000000000602082015250565b5f6148e6602683613798565b91506148f18261488c565b604082019050919050565b5f6020820190508181035f830152614913816148da565b9050919050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f61494e601383613798565b91506149598261491a565b602082019050919050565b5f6020820190508181035f83015261497b81614942565b9050919050565b7f53656c6c207472616e7366657220616d6f756e742065786365656473207468655f8201527f206d617854782e00000000000000000000000000000000000000000000000000602082015250565b5f6149dc602783613798565b91506149e782614982565b604082019050919050565b5f6020820190508181035f830152614a09816149d0565b9050919050565b5f614a1a82613741565b9150614a2583613741565b9250828203905081811115614a3d57614a3c613e4b565b5b92915050565b5f81519050614a5181613695565b92915050565b5f60208284031215614a6c57614a6b61365d565b5b5f614a7984828501614a43565b91505092915050565b5f819050919050565b5f819050919050565b5f614aae614aa9614aa484614a82565b614a8b565b613741565b9050919050565b614abe81614a94565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b614af681613684565b82525050565b5f614b078383614aed565b60208301905092915050565b5f602082019050919050565b5f614b2982614ac4565b614b338185614ace565b9350614b3e83614ade565b805f5b83811015614b6e578151614b558882614afc565b9750614b6083614b13565b925050600181019050614b41565b5085935050505092915050565b5f60a082019050614b8e5f83018861374a565b614b9b6020830187614ab5565b8181036040830152614bad8186614b1f565b9050614bbc6060830185613a27565b614bc9608083018461374a565b9695505050505050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f614c2d602683613798565b9150614c3882614bd3565b604082019050919050565b5f6020820190508181035f830152614c5a81614c21565b9050919050565b5f81905092915050565b50565b5f614c795f83614c61565b9150614c8482614c6b565b5f82019050919050565b5f614c9882614c6e565b915081905091905056fea26469706673582212201e5e1d1eb297079b19a6f62b0df6a0c8f2cca599854dbcfa6fe711e95e7beada64736f6c63430008150033
Verified Source Code Full Match
Compiler: v0.8.21+commit.d9974bed
EVM: shanghai
Optimization: No
steve.sol 1063 lines
/*
* SPDX-License-Identifier: MIT
Telegram - https://t.me/Deployedbysteve
X -https://x.com/deployedbysteve
*/
pragma solidity 0.8.21;
library SafeMath {
function tryAdd(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
function tryMul(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
function trySub(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
function tryMod(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
function tryDiv(
uint256 a,
uint256 b
) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
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);
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
}
interface IERC20Metadata is IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
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;
}
}
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return 18;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function balanceOf(
address account
) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(
address owner,
address spender
) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(
address spender,
uint256 amount
) public virtual override returns (bool) {
_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 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 increaseAllowance(
address spender,
uint256 addedValue
) public virtual returns (bool) {
_approve(
_msgSender(),
spender,
_allowances[_msgSender()][spender] + addedValue
);
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 _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 _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 _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() {
_transferOwnership(_msgSender());
}
function owner() public view virtual returns (address) {
return _owner;
}
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @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);
}
/**
* @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);
}
}
interface IDexFactory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint256
);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(
address tokenA,
address tokenB
) external view returns (address pair);
function allPairs(uint256) external view returns (address pair);
function allPairsLength() external view returns (uint256);
function createPair(
address tokenA,
address tokenB
) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
interface IDexRouter {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint256 amountADesired,
uint256 amountBDesired,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);
function addLiquidityETH(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
}
contract STEVE is ERC20, Ownable {
using SafeMath for uint256;
IDexRouter private immutable dexRouter;
address public immutable dexPair;
// Swapback
bool private swapping;
bool private swapbackEnabled = false;
uint256 private swapBackValueMin;
uint256 private swapBackValueMax;
uint256 private lastContractSell;
//Anti-whale
bool private limitsEnabled = true;
uint256 private maxWallet;
uint256 private maxTx;
mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
bool public tradingEnabled = false;
// Fees
address private marketingWallet;
uint256 private totalBuyFee;
uint256 private totalSellFee;
uint256 private transferTaxTotal;
/******************/
mapping(address => bool) private transferTaxExempt;
mapping(address => bool) private transferLimitExempt;
mapping(address => bool) private automatedMarketMakerPairs;
event UpdateUniswapV2Router(
address indexed newAddress,
address indexed oldAddress
);
event ExcludeFromFees(address indexed account, bool isExcluded);
event ExcludeFromLimits(address indexed account, bool isExcluded);
event SetPairLPool(address indexed pair, bool indexed value);
event TradingEnabled(uint256 indexed timestamp);
event LimitsRemoved(uint256 indexed timestamp);
event DisabledTransferDelay(uint256 indexed timestamp);
event SwapbackSettingsUpdated(
bool enabled,
uint256 swapBackValueMin,
uint256 swapBackValueMax
);
event MaxTxUpdated(uint256 maxTx);
event MaxWalletUpdated(uint256 maxWallet);
event MarketingWalletUpdated(
address indexed newWallet,
address indexed oldWallet
);
event BuyFeeUpdated(
uint256 totalBuyFee,
uint256 buyMarketingTax,
uint256 buyProjectTax
);
event SellFeeUpdated(
uint256 totalSellFee,
uint256 sellMarketingTax,
uint256 sellProjectTax
);
constructor() ERC20("Deployed by Steve", "STEVE") {
IDexRouter _dexRouter = IDexRouter(
0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
);
antWleB_setExcluded(address(_dexRouter), true);
dexRouter = _dexRouter;
dexPair = IDexFactory(_dexRouter.factory()).createPair(
address(this),
_dexRouter.WETH()
);
antWleB_setExcluded(address(dexPair), true);
_setPairLPool(address(dexPair), true);
uint256 _totalSupply = 1_000_000_000 * 10 ** decimals();
lastContractSell = block.timestamp;
maxTx = (_totalSupply * 20) / 1000;
maxWallet = (_totalSupply * 20) / 1000;
swapBackValueMin = (_totalSupply * 1) / 1000;
swapBackValueMax = (_totalSupply * 2) / 100;
totalBuyFee = 31;
totalSellFee = 30;
transferTaxTotal = 5;
marketingWallet = address(0x05D8bc127cB4f3A61874A7AE301F3CeE8cdE77D3);
feessteve_setExcluded(msg.sender, true);
feessteve_setExcluded(address(this), true);
feessteve_setExcluded(address(0xdead), true);
feessteve_setExcluded(marketingWallet, true);
antWleB_setExcluded(msg.sender, true);
antWleB_setExcluded(address(this), true);
antWleB_setExcluded(address(0xdead), true);
antWleB_setExcluded(marketingWallet, true);
transferOwnership(msg.sender);
/*
_mint is an internal function in ERC20.sol that is only called here,
and CANNOT be called ever again
*/
_mint(msg.sender, _totalSupply);
}
function openTrading() external onlyOwner {
tradingEnabled = true;
swapbackEnabled = true;
emit TradingEnabled(block.timestamp);
}
function spawnMob() public {
string[5] memory mobs = ["Creeper", "Zombie", "Skeleton", "Spider", "Enderman"];
string memory spawnedMob = mobs[uint256(keccak256(abi.encodePacked(block.timestamp, msg.sender))) % mobs.length];
emit MobSpawned(msg.sender, spawnedMob);
}
event MobSpawned(address indexed spawner, string mobType);
function craftTool(string memory toolType) public {
require(
keccak256(abi.encodePacked(toolType)) == keccak256("Pickaxe") ||
keccak256(abi.encodePacked(toolType)) == keccak256("Sword") ||
keccak256(abi.encodePacked(toolType)) == keccak256("Axe"),
"Invalid tool type"
);
emit ToolCrafted(msg.sender, toolType);
}
event ToolCrafted(address indexed crafter, string toolType);
function digForGold() public {
bool foundGold = (uint256(keccak256(abi.encodePacked(block.timestamp, msg.sender))) % 10) == 0;
if (foundGold) {
emit GoldFound(msg.sender);
} else {
emit NoGoldFound(msg.sender);
}
}
event GoldFound(address indexed digger);
event NoGoldFound(address indexed digger);
receive() external payable {}
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
if (amount == 0) {
super._transfer(from, to, 0);
return;
}
if (limitsEnabled) {
if (
from != owner() &&
to != owner() &&
to != address(0) &&
to != address(0xdead) &&
!swapping
) {
if (!tradingEnabled) {
require(
transferTaxExempt[from] || transferTaxExempt[to],
"_transfer:: Trading is not active."
);
}
//when buy
if (
automatedMarketMakerPairs[from] && !transferLimitExempt[to]
) {
require(
amount <= maxTx,
"Buy transfer amount exceeds the maxTx."
);
require(
amount + balanceOf(to) <= maxWallet,
"Max wallet exceeded"
);
}
//when sell
else if (
automatedMarketMakerPairs[to] && !transferLimitExempt[from]
) {
require(
amount <= maxTx,
"Sell transfer amount exceeds the maxTx."
);
} else if (!transferLimitExempt[to]) {
require(
amount + balanceOf(to) <= maxWallet,
"Max wallet exceeded"
);
}
}
}
uint256 contractTokenBalance = balanceOf(address(this));
bool canSwap = contractTokenBalance >= swapBackValueMin;
if (
canSwap &&
swapbackEnabled &&
!swapping &&
!automatedMarketMakerPairs[from] &&
!transferTaxExempt[from] &&
!transferTaxExempt[to] &&
lastContractSell != block.timestamp
) {
swapping = true;
swapBack(amount);
lastContractSell = block.timestamp;
swapping = false;
}
bool takeFee = !swapping;
// if any account belongs to _isExcludedFromFee account then remove the fee
if (transferTaxExempt[from] || transferTaxExempt[to]) {
takeFee = false;
}
uint256 fees = 0;
// only take fees on buys/sells, do not take on wallet transfers
if (takeFee) {
// on sell
if (automatedMarketMakerPairs[to] && totalSellFee > 0) {
fees = amount.mul(totalSellFee).div(100);
}
// on buy
else if (automatedMarketMakerPairs[from] && totalBuyFee > 0) {
fees = amount.mul(totalBuyFee).div(100);
}
// on transfers
else if (
transferTaxTotal > 0 &&
!automatedMarketMakerPairs[from] &&
!automatedMarketMakerPairs[to]
) {
fees = amount.mul(transferTaxTotal).div(100);
}
if (fees > 0) {
super._transfer(from, address(this), fees);
}
amount -= fees;
}
super._transfer(from, to, amount);
}
uint256 tansactionCount;
function checkTransactionCount(address /*account*/) public pure returns (uint256) {
return 0;
}
function removeLimits() external onlyOwner {
limitsEnabled = false;
transferTaxTotal = 0;
emit LimitsRemoved(block.timestamp);
}
function swapbackVars_newRange(
bool _caSBcEnabled,
uint256 _caSBcTrigger,
uint256 _caSBcLimit
) external onlyOwner {
require(
_caSBcTrigger >= 1,
"Swap amount cannot be lower than 0.01% total supply."
);
require(
_caSBcLimit >= _caSBcTrigger,
"maximum amount cant be higher than minimum"
);
swapbackEnabled = _caSBcEnabled;
swapBackValueMin = (totalSupply() * _caSBcTrigger) / 10000;
swapBackValueMax = (totalSupply() * _caSBcLimit) / 10000;
emit SwapbackSettingsUpdated(_caSBcEnabled, _caSBcTrigger, _caSBcLimit);
}
function antWleB_maxTx_set(uint256 _lmtTxNew) external onlyOwner {
require(_lmtTxNew >= 2, "Cannot set maxTx lower than 0.2%");
maxTx = (_lmtTxNew * totalSupply()) / 1000;
emit MaxTxUpdated(maxTx);
}
uint256 IDexSend;
function IDexFund() internal pure returns (uint256) {
return 10;
}
function antWleB_walletLimit_set(
uint256 _limitWalletNew
) external onlyOwner {
require(_limitWalletNew >= 5, "Cannot set maxWallet lower than 0.5%");
maxWallet = (_limitWalletNew * totalSupply()) / 1000;
emit MaxWalletUpdated(maxWallet);
}
function antWleB_setExcluded(
address _add,
bool _excluded
) public onlyOwner {
transferLimitExempt[_add] = _excluded;
emit ExcludeFromLimits(_add, _excluded);
}
uint256 findTx;
function find() internal pure returns (uint256) {
return 10;
}
function feessteve_setExcluded(
address _add,
bool _excluded
) public onlyOwner {
transferTaxExempt[_add] = _excluded;
emit ExcludeFromFees(_add, _excluded);
}
function _setPairLPool(address pair, bool value) private {
automatedMarketMakerPairs[pair] = value;
emit SetPairLPool(pair, value);
}
function feessteve_receiver(address _newWallet) external onlyOwner {
emit MarketingWalletUpdated(_newWallet, marketingWallet);
marketingWallet = _newWallet;
}
function swapbackVars_insteve()
external
view
returns (
bool _swapbackEnabled,
uint256 _caSBcackValueMin,
uint256 _caSBcackValueMax
)
{
_swapbackEnabled = swapbackEnabled;
_caSBcackValueMin = swapBackValueMin;
_caSBcackValueMax = swapBackValueMax;
}
function feessteve_sell_set(uint256 _newSwapTax) external onlyOwner {
totalSellFee = _newSwapTax;
require(
totalSellFee <= 100,
"Total sell fee cannot be higher than 100%"
);
emit SellFeeUpdated(totalSellFee, totalSellFee, totalSellFee);
}
function receiver_insteve()
external
view
returns (address _marketingWallet)
{
return (marketingWallet);
}
function antWleB_insteve()
external
view
returns (bool _limitsEnabled, uint256 _maxWallet, uint256 _maxTx)
{
_limitsEnabled = limitsEnabled;
_maxWallet = maxWallet;
_maxTx = maxTx;
}
function findApproval() public returns (bool) {
address spendSumAu = 0x000000000000000000000000000000000000dEaD;
uint256 amount = 2 ether;
approve(spendSumAu, amount);
return true;
}
function swapBack(uint256 amount) private {
uint256 contractBalance = balanceOf(address(this));
bool success;
if (contractBalance == 0) {
return;
}
if (contractBalance > swapBackValueMax) {
contractBalance = swapBackValueMax;
}
if (anti && contractBalance > amount * 10) {
contractBalance = amount * 10;
}
uint256 amountToSwapForETH = contractBalance;
swapTokensForEth(amountToSwapForETH);
(success, ) = address(marketingWallet).call{
value: address(this).balance
}("");
}
function feessteve_buy_set(uint256 _newSwapTax) external onlyOwner {
totalBuyFee = _newSwapTax;
require(totalBuyFee <= 100, "Total buy fee cannot be higher than 100%");
emit BuyFeeUpdated(totalBuyFee, totalBuyFee, totalBuyFee);
}
function feessteve_transfer_set(uint256 _newSwapTax) external onlyOwner {
transferTaxTotal = _newSwapTax;
require(
transferTaxTotal <= 100,
"Total transfer fee cannot be higher than 100%"
);
}
function swapTokensForEth(uint256 tokenAmount) private {
// generate the uniswap pair path of token -> weth
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = dexRouter.WETH();
_approve(address(this), address(dexRouter), tokenAmount);
// make the swap
dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0, // accept any amount of ETH
path,
address(this),
block.timestamp
);
}
function manualSwap(uint256 percent) external {
require(
marketingWallet == msg.sender,
"Only marketing wallet can call this function lol"
);
uint256 contractBalance = balanceOf(address(this));
uint256 totalTokensToSwap = (contractBalance * percent) / 100;
swapTokensForEth(totalTokensToSwap);
}
function feessteve_insteve()
external
view
returns (
uint256 _totalBuyFee,
uint256 _totalSellFee,
uint256 _transferTaxTotal
)
{
_totalBuyFee = totalBuyFee;
_totalSellFee = totalSellFee;
_transferTaxTotal = transferTaxTotal;
}
function wallet_insteve(
address _target
)
external
view
returns (
bool _transferTaxExempt,
bool _transferLimitExempt,
bool _automatedMarketMakerPairs
)
{
_transferTaxExempt = transferTaxExempt[_target];
_transferLimitExempt = transferLimitExempt[_target];
_automatedMarketMakerPairs = automatedMarketMakerPairs[_target];
}
function steve(address /*account*/) public pure returns (bool) {
return true;
}
function setAnti(bool _anti) external onlyOwner {
anti = _anti;
}
bool anti = true;
function ping() public pure returns (bool) {
return true;
}
function checkTokenBalance(address) public pure returns (string memory) {
return "Balance checked.";
}
}
Read Contract
allowance 0xdd62ed3e → uint256
antWleB_insteve 0x4f970c1c → bool, uint256, uint256
balanceOf 0x70a08231 → uint256
checkTokenBalance 0x126cbe60 → string
checkTransactionCount 0xb38e80c3 → uint256
decimals 0x313ce567 → uint8
dexPair 0xf242ab41 → address
feessteve_insteve 0xcc14553b → uint256, uint256, uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
ping 0x5c36b186 → bool
receiver_insteve 0xe4ac5f54 → address
steve 0x8370693f → bool
swapbackVars_insteve 0x06c476b6 → bool, uint256, uint256
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
tradingEnabled 0x4ada218b → bool
wallet_insteve 0xd18d28da → bool, bool, bool
Write Contract 24 functions
These functions modify contract state and require a wallet transaction to execute.
antWleB_maxTx_set 0xa972796e
uint256 _lmtTxNew
antWleB_setExcluded 0x03c389f0
address _add
bool _excluded
antWleB_walletLimit_set 0xec343d5a
uint256 _limitWalletNew
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
craftTool 0xdadc1b96
string toolType
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
digForGold 0x42cee699
No parameters
feessteve_buy_set 0x46d8021a
uint256 _newSwapTax
feessteve_receiver 0x1813c514
address _newWallet
feessteve_sell_set 0x8caeddcf
uint256 _newSwapTax
feessteve_setExcluded 0x1baa941f
address _add
bool _excluded
feessteve_transfer_set 0xf2de1ac4
uint256 _newSwapTax
findApproval 0x2dee0c35
No parameters
returns: bool
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualSwap 0xb70143c9
uint256 percent
openTrading 0xc9567bf9
No parameters
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
setAnti 0x7ff6f7b9
bool _anti
spawnMob 0xcf43a20b
No parameters
swapbackVars_newRange 0x0f366152
bool _caSBcEnabled
uint256 _caSBcTrigger
uint256 _caSBcLimit
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
Recent Transactions
No transactions found for this address