Forkchoice Ethereum Mainnet

Address Contract Verified

Address 0x1A802d15Da1B0621726F2969d2b8d06Eab3Ccd2D
Balance 0 ETH
Nonce 1
Code Size 20070 bytes
Indexed Transactions 0 (1 on-chain, 1.1% indexed)
External Etherscan · Sourcify

Contract Bytecode

20070 bytes
0x608060405260043610610353575f3560e01c806385ecfd28116101c5578063c876d0b9116100f6578063e800dff711610094578063ee40166e1161006e578063ee40166e14610c04578063f2fde38b14610c2e578063f5648a4f14610c56578063f8a25a9414610c6c5761035a565b8063e800dff714610b9e578063e884f26014610bc6578063eba4c33314610bdc5761035a565b8063dc3f0d0f116100d0578063dc3f0d0f14610ae6578063dd62ed3e14610b0e578063e2f4560514610b4a578063e620a25c14610b745761035a565b8063c876d0b914610a6a578063d257b34f14610a94578063d85ba06314610abc5761035a565b8063a62068ce11610163578063b62496f51161013d578063b62496f5146109b4578063bbc0c742146109f0578063c024666814610a1a578063c18bc19514610a425761035a565b8063a62068ce14610924578063a9059cbb1461094e578063aa4bde281461098a5761035a565b8063941fa5cd1161019f578063941fa5cd1461086c57806395d89b41146108965780639a7a23d6146108c0578063a457c2d7146108e85761035a565b806385ecfd28146107dc57806388e765ff146108185780638da5cb5b146108425761035a565b806351f205e41161029f5780636ddd17131161023d57806371fc46881161021757806371fc46881461074e578063751039fc146107765780637571336a1461078c57806382aa7c68146107b45761035a565b80636ddd1713146106d257806370a08231146106fc578063715018a6146107385761035a565b806366d602ae1161027957806366d602ae1461062a5780636a486a8e146106545780636b0a894c1461067e5780636d7adcad146106a85761035a565b806351f205e4146105c257806358a6d531146105d85780635adf655a146106025761035a565b806323b872dd1161030c578063313ce567116102e6578063313ce567146105085780633950935114610532578063452ed4f11461056e5780634a62bb65146105985761035a565b806323b872dd1461047c578063281f2a0a146104b85780632be32b61146104e05761035a565b806306fdde031461035e5780630758d92414610388578063095ea7b3146103b257806310d5de53146103ee578063130a2c3c1461042a57806318160ddd146104525761035a565b3661035a57005b5f80fd5b348015610369575f80fd5b50610372610c96565b60405161037f91906137cf565b60405180910390f35b348015610393575f80fd5b5061039c610d26565b6040516103a99190613869565b60405180910390f35b3480156103bd575f80fd5b506103d860048036038101906103d391906138f8565b610d4b565b6040516103e59190613950565b60405180910390f35b3480156103f9575f80fd5b50610414600480360381019061040f9190613969565b610d6d565b6040516104219190613950565b60405180910390f35b348015610435575f80fd5b50610450600480360381019061044b9190613a1f565b610d8a565b005b34801561045d575f80fd5b50610466610e33565b6040516104739190613a8b565b60405180910390f35b348015610487575f80fd5b506104a2600480360381019061049d9190613aa4565b610e3c565b6040516104af9190613950565b60405180910390f35b3480156104c3575f80fd5b506104de60048036038101906104d99190613af4565b610e6a565b005b3480156104eb575f80fd5b5061050660048036038101906105019190613b1f565b610e8f565b005b348015610513575f80fd5b5061051c610f63565b6040516105299190613b65565b60405180910390f35b34801561053d575f80fd5b50610558600480360381019061055391906138f8565b610f6b565b6040516105659190613950565b60405180910390f35b348015610579575f80fd5b50610582610fa1565b60405161058f9190613b8d565b60405180910390f35b3480156105a3575f80fd5b506105ac610fc6565b6040516105b99190613950565b60405180910390f35b3480156105cd575f80fd5b506105d6610fd8565b005b3480156105e3575f80fd5b506105ec6110a3565b6040516105f99190613950565b60405180910390f35b34801561060d575f80fd5b5061062860048036038101906106239190613969565b6110ae565b005b348015610635575f80fd5b5061063e611167565b60405161064b9190613a8b565b60405180910390f35b34801561065f575f80fd5b5061066861116d565b6040516106759190613a8b565b60405180910390f35b348015610689575f80fd5b50610692611173565b60405161069f9190613a8b565b60405180910390f35b3480156106b3575f80fd5b506106bc611179565b6040516106c99190613a8b565b60405180910390f35b3480156106dd575f80fd5b506106e661117f565b6040516106f39190613950565b60405180910390f35b348015610707575f80fd5b50610722600480360381019061071d9190613969565b611192565b60405161072f9190613a8b565b60405180910390f35b348015610743575f80fd5b5061074c6111d7565b005b348015610759575f80fd5b50610774600480360381019061076f9190613b1f565b6111ea565b005b348015610781575f80fd5b5061078a61124b565b005b348015610797575f80fd5b506107b260048036038101906107ad9190613ba6565b6112b3565b005b3480156107bf575f80fd5b506107da60048036038101906107d59190613b1f565b6113a8565b005b3480156107e7575f80fd5b5061080260048036038101906107fd9190613969565b611480565b60405161080f9190613950565b60405180910390f35b348015610823575f80fd5b5061082c61149d565b6040516108399190613a8b565b60405180910390f35b34801561084d575f80fd5b506108566114a3565b6040516108639190613b8d565b60405180910390f35b348015610877575f80fd5b506108806114cb565b60405161088d9190613a8b565b60405180910390f35b3480156108a1575f80fd5b506108aa6114d1565b6040516108b791906137cf565b60405180910390f35b3480156108cb575f80fd5b506108e660048036038101906108e19190613ba6565b611561565b005b3480156108f3575f80fd5b5061090e600480360381019061090991906138f8565b61164c565b60405161091b9190613950565b60405180910390f35b34801561092f575f80fd5b506109386116c1565b6040516109459190613a8b565b60405180910390f35b348015610959575f80fd5b50610974600480360381019061096f91906138f8565b6116c7565b6040516109819190613950565b60405180910390f35b348015610995575f80fd5b5061099e6116e9565b6040516109ab9190613a8b565b60405180910390f35b3480156109bf575f80fd5b506109da60048036038101906109d59190613969565b6116ef565b6040516109e79190613950565b60405180910390f35b3480156109fb575f80fd5b50610a0461170c565b604051610a119190613950565b60405180910390f35b348015610a25575f80fd5b50610a406004803603810190610a3b9190613ba6565b61171f565b005b348015610a4d575f80fd5b50610a686004803603810190610a639190613b1f565b6117cd565b005b348015610a75575f80fd5b50610a7e6118a1565b604051610a8b9190613950565b60405180910390f35b348015610a9f575f80fd5b50610aba6004803603810190610ab59190613b1f565b6118b3565b005b348015610ac7575f80fd5b50610ad061198c565b604051610add9190613a8b565b60405180910390f35b348015610af1575f80fd5b50610b0c6004803603810190610b079190613b1f565b611992565b005b348015610b19575f80fd5b50610b346004803603810190610b2f9190613be4565b611a66565b604051610b419190613a8b565b60405180910390f35b348015610b55575f80fd5b50610b5e611ae8565b604051610b6b9190613a8b565b60405180910390f35b348015610b7f575f80fd5b50610b88611aee565b604051610b959190613950565b60405180910390f35b348015610ba9575f80fd5b50610bc46004803603810190610bbf9190613ba6565b611b01565b005b348015610bd1575f80fd5b50610bda611b61565b005b348015610be7575f80fd5b50610c026004803603810190610bfd9190613b1f565b611b84565b005b348015610c0f575f80fd5b50610c18611be5565b604051610c259190613a8b565b60405180910390f35b348015610c39575f80fd5b50610c546004803603810190610c4f9190613969565b611beb565b005b348015610c61575f80fd5b50610c6a611c6d565b005b348015610c77575f80fd5b50610c80611ce2565b604051610c8d9190613a8b565b60405180910390f35b606060038054610ca590613c4f565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd190613c4f565b8015610d1c5780601f10610cf357610100808354040283529160200191610d1c565b820191905f5260205f20905b815481529060010190602001808311610cff57829003601f168201915b5050505050905090565b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f80610d55611ce8565b9050610d62818585611cef565b600191505092915050565b601a602052805f5260405f205f915054906101000a900460ff1681565b610d92611eb2565b5f5b83839050811015610e2d5781600f5f868685818110610db657610db5613c7f565b5b9050602002016020810190610dcb9190613969565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508080610e2590613cd9565b915050610d94565b50505050565b5f600254905090565b5f80610e46611ce8565b9050610e53858285611f30565b610e5e858585611fbb565b60019150509392505050565b610e72611eb2565b80601160036101000a81548160ff02191690831515021790555050565b610e97611eb2565b670de0b6b3a76400006103e86002610ead610e33565b610eb79190613d20565b610ec19190613d8e565b610ecb9190613d8e565b811015610f0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0490613e2e565b60405180910390fd5b670de0b6b3a764000081610f219190613d20565b6006819055507ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de41009600654604051610f589190613a8b565b60405180910390a150565b5f6012905090565b5f80610f75611ce8565b9050610f96818585610f878589611a66565b610f919190613e4c565b611cef565b600191505092915050565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115f9054906101000a900460ff1681565b610fe0611eb2565b600b54610fec30611192565b101561102d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102490613eef565b60405180910390fd5b6001600a60146101000a81548160ff021916908315150217905550611050612f47565b5f600a60146101000a81548160ff0219169083151502179055507f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb32426040516110999190613a8b565b60405180910390a1565b5f600e544310905090565b6110b6611eb2565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111b90613f57565b60405180910390fd5b80600c5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60075481565b60165481565b60105481565b60185481565b601160029054906101000a900460ff1681565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6111df611eb2565b6111e85f61309d565b565b6111f2611eb2565b80601581905550601554601481905550600a6014541115611248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123f90613fbf565b60405180910390fd5b50565b611253611eb2565b5f60115f6101000a81548160ff0219169083151502179055505f60135f6101000a81548160ff0219169083151502179055507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c60405160405180910390a1565b6112bb611eb2565b8061135057600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361134f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113469061404d565b60405180910390fd5b5b80601a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b6113b0611eb2565b601160019054906101000a900460ff1615611400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f7906140b5565b60405180910390fd5b6001601160016101000a81548160ff0219169083151502179055506001601160026101000a81548160ff02191690831515021790555043600d8190555080600d5461144b9190613e4c565b600e819055507fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb760405160405180910390a150565b600f602052805f5260405f205f915054906101000a900460ff1681565b60065481565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60155481565b6060600480546114e090613c4f565b80601f016020809104026020016040519081016040528092919081815260200182805461150c90613c4f565b80156115575780601f1061152e57610100808354040283529160200191611557565b820191905f5260205f20905b81548152906001019060200180831161153a57829003601f168201915b5050505050905090565b611569611eb2565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90614143565b60405180910390fd5b6116028282613160565b8015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f80611656611ce8565b90505f6116638286611a66565b9050838110156116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f906141d1565b60405180910390fd5b6116b58286868403611cef565b60019250505092915050565b600e5481565b5f806116d1611ce8565b90506116de818585611fbb565b600191505092915050565b60085481565b601b602052805f5260405f205f915054906101000a900460ff1681565b601160019054906101000a900460ff1681565b611727611eb2565b8060195f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516117c19190613950565b60405180910390a25050565b6117d5611eb2565b670de0b6b3a76400006103e860036117eb610e33565b6117f59190613d20565b6117ff9190613d8e565b6118099190613d8e565b81101561184b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118429061425f565b60405180910390fd5b670de0b6b3a76400008161185f9190613d20565b6008819055507fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc6008546040516118969190613a8b565b60405180910390a150565b60135f9054906101000a900460ff1681565b6118bb611eb2565b620186a060016118c9610e33565b6118d39190613d20565b6118dd9190613d8e565b81101561191f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611916906142ed565b60405180910390fd5b6103e8600161192c610e33565b6119369190613d20565b6119409190613d8e565b811115611982576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119799061437b565b60405180910390fd5b80600b8190555050565b60145481565b61199a611eb2565b670de0b6b3a76400006103e860026119b0610e33565b6119ba9190613d20565b6119c49190613d8e565b6119ce9190613d8e565b811015611a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0790614409565b60405180910390fd5b670de0b6b3a764000081611a249190613d20565b6007819055507f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e600754604051611a5b9190613a8b565b60405180910390a150565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600b5481565b601160039054906101000a900460ff1681565b611b09611eb2565b80600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b611b69611eb2565b5f60135f6101000a81548160ff021916908315150217905550565b611b8c611eb2565b80601781905550601754601681905550600a6016541115611be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd990613fbf565b60405180910390fd5b50565b600d5481565b611bf3611eb2565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5890614497565b60405180910390fd5b611c6a8161309d565b50565b611c75611eb2565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051611c9a906144e2565b5f6040518083038185875af1925050503d805f8114611cd4576040519150601f19603f3d011682016040523d82523d5f602084013e611cd9565b606091505b50508091505050565b60175481565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5490614566565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc2906145f4565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611ea59190613a8b565b60405180910390a3505050565b611eba611ce8565b73ffffffffffffffffffffffffffffffffffffffff16611ed86114a3565b73ffffffffffffffffffffffffffffffffffffffff1614611f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f259061465c565b60405180910390fd5b565b5f611f3b8484611a66565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611fb55781811015611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e906146c4565b60405180910390fd5b611fb48484848403611cef565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202090614752565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e906147e0565b60405180910390fd5b5f81116120d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d090614848565b60405180910390fd5b601160019054906101000a900460ff166121c85760195f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612188575060195f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b6121c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121be906148b0565b60405180910390fd5b5b5f600e5411156122d257600f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158061225a575061222b6114a3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80612292575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b6122d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c890614964565b60405180910390fd5b5b60115f9054906101000a900460ff161561297c576122ee6114a3565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561235c575061232c6114a3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561239457505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156123ce575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612421575060195f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612474575060195f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b1561297b5760135f9054906101000a900460ff16156126a15760095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156125375750600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156126a0576002436125499190614982565b60125f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541080156125dc575060024361259c9190614982565b60125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054105b61261b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261290614a25565b60405180910390fd5b4360125f3273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055504360125f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055505b5b601b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16801561273e5750601a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156127e557600654811115612788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277f90614ab3565b60405180910390fd5b60085461279483611192565b8261279f9190613e4c565b11156127e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d790614b1b565b60405180910390fd5b61297a565b601b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680156128825750601a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156128d1576007548111156128cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c390614ba9565b60405180910390fd5b612979565b601a5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff166129785760085461292b83611192565b826129369190613e4c565b1115612977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296e90614b1b565b60405180910390fd5b5b5b5b5b5b5f61298630611192565b90505f600b5482101590508080156129aa5750601160029054906101000a900460ff165b80156129c35750600a60149054906101000a900460ff16155b8015612a165750601b5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612a69575060195f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612abc575060195f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612aff576001600a60146101000a81548160ff021916908315150217905550612ae4612f47565b5f600a60146101000a81548160ff0219169083151502179055505b5f6001905060195f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612b9f575060195f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b15612ba8575f90505b5f8115612f3357612bb76110a3565b8015612c095750601b5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b8015612c5c5750601b5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612c6957505f601454115b15612db457600f5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16612d62576001600f5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600160105f828254612d239190613e4c565b925050819055507f55678e47d0a699d3ab99b0184c4ff14f2246ba80522deb921aa0c8823578c44a86604051612d599190613b8d565b60405180910390a15b6064606386612d719190613d20565b612d7b9190613d8e565b905060145460155482612d8e9190613d20565b612d989190613d8e565b60185f828254612da89190613e4c565b92505081905550612f10565b601b5f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612e0b57505f601654115b15612e6357606460165486612e209190613d20565b612e2a9190613d8e565b905060165460175482612e3d9190613d20565b612e479190613d8e565b60185f828254612e579190613e4c565b92505081905550612f0f565b601b5f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612eba57505f601454115b15612f0e57606460145486612ecf9190613d20565b612ed99190613d8e565b905060145460155482612eec9190613d20565b612ef69190613d8e565b60185f828254612f069190613e4c565b925050819055505b5b5b5f811115612f2457612f23873083613208565b5b8085612f309190614982565b94505b612f3e878787613208565b50505050505050565b5f612f5130611192565b90505f60185490505f821480612f6657505f81145b15612f7257505061309b565b6014600b54612f819190613d20565b821115612f9a576014600b54612f979190613d20565b91505b5f601160039054906101000a900460ff161561304b57612fb983613474565b5f601881905550600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051613005906144e2565b5f6040518083038185875af1925050503d805f811461303f576040519150601f19603f3d011682016040523d82523d5f602084013e613044565b606091505b5050809150505b601160039054906101000a900460ff166130975761308b30600c5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685611fbb565b5f601881905550600190505b5050505b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80601b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506131be82826136aa565b8015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326d90614752565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132db906147e0565b60405180910390fd5b6132ef83838361373b565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990614c37565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161345b9190613a8b565b60405180910390a361346e848484613740565b50505050565b5f600267ffffffffffffffff8111156134905761348f614c55565b5b6040519080825280602002602001820160405280156134be5781602001602082028036833780820191505090505b50905030815f815181106134d5576134d4613c7f565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613579573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061359d9190614c96565b816001815181106135b1576135b0613c7f565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506136173060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684611cef565b60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b8152600401613679959493929190614db1565b5f604051808303815f87803b158015613690575f80fd5b505af11580156136a2573d5f803e3d5ffd5b505050505050565b80601a5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055507f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746828260405161372f929190614e09565b60405180910390a15050565b505050565b505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561377c578082015181840152602081019050613761565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6137a182613745565b6137ab818561374f565b93506137bb81856020860161375f565b6137c481613787565b840191505092915050565b5f6020820190508181035f8301526137e78184613797565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f61383161382c613827846137ef565b61380e565b6137ef565b9050919050565b5f61384282613817565b9050919050565b5f61385382613838565b9050919050565b61386381613849565b82525050565b5f60208201905061387c5f83018461385a565b92915050565b5f80fd5b5f80fd5b5f613894826137ef565b9050919050565b6138a48161388a565b81146138ae575f80fd5b50565b5f813590506138bf8161389b565b92915050565b5f819050919050565b6138d7816138c5565b81146138e1575f80fd5b50565b5f813590506138f2816138ce565b92915050565b5f806040838503121561390e5761390d613882565b5b5f61391b858286016138b1565b925050602061392c858286016138e4565b9150509250929050565b5f8115159050919050565b61394a81613936565b82525050565b5f6020820190506139635f830184613941565b92915050565b5f6020828403121561397e5761397d613882565b5b5f61398b848285016138b1565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126139b5576139b4613994565b5b8235905067ffffffffffffffff8111156139d2576139d1613998565b5b6020830191508360208202830111156139ee576139ed61399c565b5b9250929050565b6139fe81613936565b8114613a08575f80fd5b50565b5f81359050613a19816139f5565b92915050565b5f805f60408486031215613a3657613a35613882565b5b5f84013567ffffffffffffffff811115613a5357613a52613886565b5b613a5f868287016139a0565b93509350506020613a7286828701613a0b565b9150509250925092565b613a85816138c5565b82525050565b5f602082019050613a9e5f830184613a7c565b92915050565b5f805f60608486031215613abb57613aba613882565b5b5f613ac8868287016138b1565b9350506020613ad9868287016138b1565b9250506040613aea868287016138e4565b9150509250925092565b5f60208284031215613b0957613b08613882565b5b5f613b1684828501613a0b565b91505092915050565b5f60208284031215613b3457613b33613882565b5b5f613b41848285016138e4565b91505092915050565b5f60ff82169050919050565b613b5f81613b4a565b82525050565b5f602082019050613b785f830184613b56565b92915050565b613b878161388a565b82525050565b5f602082019050613ba05f830184613b7e565b92915050565b5f8060408385031215613bbc57613bbb613882565b5b5f613bc9858286016138b1565b9250506020613bda85828601613a0b565b9150509250929050565b5f8060408385031215613bfa57613bf9613882565b5b5f613c07858286016138b1565b9250506020613c18858286016138b1565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613c6657607f821691505b602082108103613c7957613c78613c22565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613ce3826138c5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d1557613d14613cac565b5b600182019050919050565b5f613d2a826138c5565b9150613d35836138c5565b9250828202613d43816138c5565b91508282048414831517613d5a57613d59613cac565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613d98826138c5565b9150613da3836138c5565b925082613db357613db2613d61565b5b828204905092915050565b7f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f776572205f8201527f7468616e20302e32250000000000000000000000000000000000000000000000602082015250565b5f613e1860298361374f565b9150613e2382613dbe565b604082019050919050565b5f6020820190508181035f830152613e4581613e0c565b9050919050565b5f613e56826138c5565b9150613e61836138c5565b9250828201905080821115613e7957613e78613cac565b5b92915050565b7f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e74205f8201527f6973206174206f7220686967686572207468616e207265737472696374696f6e602082015250565b5f613ed960408361374f565b9150613ee482613e7f565b604082019050919050565b5f6020820190508181035f830152613f0681613ecd565b9050919050565b7f5f7461784164647265737320616464726573732063616e6e6f742062652030005f82015250565b5f613f41601f8361374f565b9150613f4c82613f0d565b602082019050919050565b5f6020820190508181035f830152613f6e81613f35565b9050919050565b7f4d757374206b656570206665657320617420313025206f72206c6573732e00005f82015250565b5f613fa9601e8361374f565b9150613fb482613f75565b602082019050919050565b5f6020820190508181035f830152613fd681613f9d565b9050919050565b7f43616e6e6f742072656d6f766520556e697377617020706169722066726f6d205f8201527f6d61782074786e00000000000000000000000000000000000000000000000000602082015250565b5f61403760278361374f565b915061404282613fdd565b604082019050919050565b5f6020820190508181035f8301526140648161402b565b9050919050565b7f43616e6e6f74207265656e61626c652074726164696e670000000000000000005f82015250565b5f61409f60178361374f565b91506140aa8261406b565b602082019050919050565b5f6020820190508181035f8301526140cc81614093565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d205f8201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b5f61412d60398361374f565b9150614138826140d3565b604082019050919050565b5f6020820190508181035f83015261415a81614121565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f6141bb60258361374f565b91506141c682614161565b604082019050919050565b5f6020820190508181035f8301526141e8816141af565b9050919050565b7f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f775f8201527f6572207468616e20302e33250000000000000000000000000000000000000000602082015250565b5f614249602c8361374f565b9150614254826141ef565b604082019050919050565b5f6020820190508181035f8301526142768161423d565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e5f8201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b5f6142d760358361374f565b91506142e28261427d565b604082019050919050565b5f6020820190508181035f830152614304816142cb565b9050919050565b7f5377617020616d6f756e742063616e6e6f7420626520686967686572207468615f8201527f6e20302e312520746f74616c20737570706c792e000000000000000000000000602082015250565b5f61436560348361374f565b91506143708261430b565b604082019050919050565b5f6020820190508181035f83015261439281614359565b9050919050565b7f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f7765725f8201527f207468616e20302e322500000000000000000000000000000000000000000000602082015250565b5f6143f3602a8361374f565b91506143fe82614399565b604082019050919050565b5f6020820190508181035f830152614420816143e7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f61448160268361374f565b915061448c82614427565b604082019050919050565b5f6020820190508181035f8301526144ae81614475565b9050919050565b5f81905092915050565b50565b5f6144cd5f836144b5565b91506144d8826144bf565b5f82019050919050565b5f6144ec826144c2565b9150819050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61455060248361374f565b915061455b826144f6565b604082019050919050565b5f6020820190508181035f83015261457d81614544565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6145de60228361374f565b91506145e982614584565b604082019050919050565b5f6020820190508181035f83015261460b816145d2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61464660208361374f565b915061465182614612565b602082019050919050565b5f6020820190508181035f8301526146738161463a565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6146ae601d8361374f565b91506146b98261467a565b602082019050919050565b5f6020820190508181035f8301526146db816146a2565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f61473c60258361374f565b9150614747826146e2565b604082019050919050565b5f6020820190508181035f83015261476981614730565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6147ca60238361374f565b91506147d582614770565b604082019050919050565b5f6020820190508181035f8301526147f7816147be565b9050919050565b7f616d6f756e74206d7573742062652067726561746572207468616e20300000005f82015250565b5f614832601d8361374f565b915061483d826147fe565b602082019050919050565b5f6020820190508181035f83015261485f81614826565b9050919050565b7f54726164696e67206973206e6f74206163746976652e000000000000000000005f82015250565b5f61489a60168361374f565b91506148a582614866565b602082019050919050565b5f6020820190508181035f8301526148c78161488e565b9050919050565b7f426f74732063616e6e6f74207472616e7366657220746f6b656e7320696e206f5f8201527f72206f75742065786365707420746f206f776e6572206f72206465616420616460208201527f64726573732e0000000000000000000000000000000000000000000000000000604082015250565b5f61494e60468361374f565b9150614959826148ce565b606082019050919050565b5f6020820190508181035f83015261497b81614942565b9050919050565b5f61498c826138c5565b9150614997836138c5565b92508282039050818111156149af576149ae613cac565b5b92915050565b7f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c5f8201527f65642e202054727920616761696e206c617465722e0000000000000000000000602082015250565b5f614a0f60358361374f565b9150614a1a826149b5565b604082019050919050565b5f6020820190508181035f830152614a3c81614a03565b9050919050565b7f427579207472616e7366657220616d6f756e74206578636565647320746865205f8201527f6d6178206275792e000000000000000000000000000000000000000000000000602082015250565b5f614a9d60288361374f565b9150614aa882614a43565b604082019050919050565b5f6020820190508181035f830152614aca81614a91565b9050919050565b7f43616e6e6f7420657863656564206d61782077616c6c65742e000000000000005f82015250565b5f614b0560198361374f565b9150614b1082614ad1565b602082019050919050565b5f6020820190508181035f830152614b3281614af9565b9050919050565b7f53656c6c207472616e7366657220616d6f756e742065786365656473207468655f8201527f206d61782073656c6c2e00000000000000000000000000000000000000000000602082015250565b5f614b93602a8361374f565b9150614b9e82614b39565b604082019050919050565b5f6020820190508181035f830152614bc081614b87565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f614c2160268361374f565b9150614c2c82614bc7565b604082019050919050565b5f6020820190508181035f830152614c4e81614c15565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f81519050614c908161389b565b92915050565b5f60208284031215614cab57614caa613882565b5b5f614cb884828501614c82565b91505092915050565b5f819050919050565b5f614ce4614cdf614cda84614cc1565b61380e565b6138c5565b9050919050565b614cf481614cca565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b614d2c8161388a565b82525050565b5f614d3d8383614d23565b60208301905092915050565b5f602082019050919050565b5f614d5f82614cfa565b614d698185614d04565b9350614d7483614d14565b805f5b83811015614da4578151614d8b8882614d32565b9750614d9683614d49565b925050600181019050614d77565b5085935050505092915050565b5f60a082019050614dc45f830188613a7c565b614dd16020830187614ceb565b8181036040830152614de38186614d55565b9050614df26060830185613b7e565b614dff6080830184613a7c565b9695505050505050565b5f604082019050614e1c5f830185613b7e565b614e296020830184613941565b939250505056fea264697066735822122031101e29e730ab174194620b4ccf12a54d9ce67ea941aa9eb8ad5bf9efe3675264736f6c63430008140033

Verified Source Code Full Match

Compiler: v0.8.20+commit.a1b79de6 EVM: shanghai Optimization: No
fortnite.sol 803 lines
/*

https://t.me/fortethtelegram

*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/**
 * OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

/**
 * OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
 */
interface IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address to, 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

/**
 * OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);
}

/**
 * OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)
 */
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 to,
        uint256 amount
    ) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    function allowance(
        address owner,
        address spender
    ) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(
        address spender,
        uint256 amount
    ) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    function increaseAllowance(
        address spender,
        uint256 addedValue
    ) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

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

        return true;
    }

    function _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;
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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;
        unchecked {
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

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

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

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

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

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

    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(
                currentAllowance >= amount,
                "ERC20: insufficient allowance"
            );
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

/**
 * OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
 */
abstract contract Ownable is Context {
    address private _owner;

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

    constructor() {
        _transferOwnership(_msgSender());
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        _transferOwnership(newOwner);
    }

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

interface IDexRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

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

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

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
}

interface IDexFactory {
    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

contract Fortnite is ERC20, Ownable {
    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWalletAmount;

    IDexRouter public dexRouter;
    address public lpPair;

    bool private swapping;
    uint256 public swapTokensAtAmount;

    address taxAddress;

    uint256 public tradingActiveBlock = 0;
    uint256 public blockForPenaltyEnd;
    mapping(address => bool) public boughtEarly;
    uint256 public botsCaught;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;
    bool public swapToEth = true;

    mapping(address => uint256) private _holderLastTransferTimestamp;
    bool public transferDelayEnabled = true;

    uint256 public buyTotalFees;
    uint256 public buyTaxFee;

    uint256 public sellTotalFees;
    uint256 public sellTaxFee;

    uint256 public tokensForTax;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;
    mapping(address => bool) public automatedMarketMakerPairs;

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event EnabledTrading();

    event RemovedLimits();

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event UpdatedMaxBuyAmount(uint256 newAmount);

    event UpdatedMaxSellAmount(uint256 newAmount);

    event UpdatedMaxWalletAmount(uint256 newAmount);

    event MaxTransactionExclusion(address _address, bool excluded);

    event OwnerForcedSwapBack(uint256 timestamp);

    event CaughtEarlyBuyer(address sniper);

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    constructor() ERC20("Fortnite OG", "FORT") {
        address contractOwner = msg.sender;

        IDexRouter _dexRouter = IDexRouter(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        dexRouter = _dexRouter;

        lpPair = IDexFactory(_dexRouter.factory()).createPair(
            address(this),
            _dexRouter.WETH()
        );
        _excludeFromMaxTransaction(address(lpPair), true);
        _setAutomatedMarketMakerPair(address(lpPair), true);

        uint256 totalSupply = 100_000_000_000 * 1e18; //100_000_000_000

        maxBuyAmount = (totalSupply * 10) / 1000;
        maxSellAmount = (totalSupply * 10) / 1000;
        maxWalletAmount = (totalSupply * 10) / 1000;
        swapTokensAtAmount = (totalSupply * 1) / 1000;

        // Initial buy and sell fees to punish bots
        buyTaxFee = 7;
        buyTotalFees = buyTaxFee;

        sellTaxFee = 10;
        sellTotalFees = sellTaxFee;

        taxAddress = msg.sender;

        _excludeFromMaxTransaction(contractOwner, true);
        _excludeFromMaxTransaction(address(this), true);
        _excludeFromMaxTransaction(address(0xdead), true);
        _excludeFromMaxTransaction(taxAddress, true);

        excludeFromFees(contractOwner, true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(taxAddress, true);

        _mint(contractOwner, totalSupply);
        transferOwnership(contractOwner);
    }

    receive() external payable {}

    function enableTrading(uint256 deadBlocks) external onlyOwner {
        require(!tradingActive, "Cannot reenable trading");
        tradingActive = true;
        swapEnabled = true;
        tradingActiveBlock = block.number;
        blockForPenaltyEnd = tradingActiveBlock + deadBlocks;
        emit EnabledTrading();
    }

    function removeLimits() external onlyOwner {
        limitsInEffect = false;
        transferDelayEnabled = false;
        emit RemovedLimits();
    }

    function manageBoughtEarly(address wallet, bool flag) external onlyOwner {
        boughtEarly[wallet] = flag;
    }

    function massManageBoughtEarly(
        address[] calldata wallets,
        bool flag
    ) external onlyOwner {
        for (uint256 i = 0; i < wallets.length; i++) {
            boughtEarly[wallets[i]] = flag;
        }
    }

    function disableTransferDelay() external onlyOwner {
        transferDelayEnabled = false;
    }

    function updateMaxBuyAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 2) / 1000) / 1e18,
            "Cannot set max buy amount lower than 0.2%"
        );
        maxBuyAmount = newNum * (10 ** 18);
        emit UpdatedMaxBuyAmount(maxBuyAmount);
    }

    function updateMaxSellAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 2) / 1000) / 1e18,
            "Cannot set max sell amount lower than 0.2%"
        );
        maxSellAmount = newNum * (10 ** 18);
        emit UpdatedMaxSellAmount(maxSellAmount);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 3) / 1000) / 1e18,
            "Cannot set max wallet amount lower than 0.3%"
        );
        maxWalletAmount = newNum * (10 ** 18);
        emit UpdatedMaxWalletAmount(maxWalletAmount);
    }

    function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 1) / 1000,
            "Swap amount cannot be higher than 0.1% total supply."
        );
        swapTokensAtAmount = newAmount;
    }

    function _excludeFromMaxTransaction(
        address updAds,
        bool isExcluded
    ) private {
        _isExcludedMaxTransactionAmount[updAds] = isExcluded;
        emit MaxTransactionExclusion(updAds, isExcluded);
    }

    function excludeFromMaxTransaction(
        address updAds,
        bool isEx
    ) external onlyOwner {
        if (!isEx) {
            require(
                updAds != lpPair,
                "Cannot remove Uniswap pair from max txn"
            );
        }
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    function setAutomatedMarketMakerPair(
        address pair,
        bool value
    ) external onlyOwner {
        require(
            pair != lpPair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        _excludeFromMaxTransaction(pair, value);
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function setSwapToEth(bool _swapToEth) public onlyOwner {
        swapToEth = _swapToEth;
    }

    function updateBuyFees(uint256 _taxFee) external onlyOwner {
        buyTaxFee = _taxFee;
        buyTotalFees = buyTaxFee;
        require(buyTotalFees <= 10, "Must keep fees at 10% or less.");
    }

    function updateSellFees(uint256 _taxFee) external onlyOwner {
        sellTaxFee = _taxFee;
        sellTotalFees = sellTaxFee;
        require(sellTotalFees <= 10, "Must keep fees at 10% or less.");
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    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");
        require(amount > 0, "amount must be greater than 0");

        if (!tradingActive) {
            require(
                _isExcludedFromFees[from] || _isExcludedFromFees[to],
                "Trading is not active."
            );
        }

        if (blockForPenaltyEnd > 0) {
            require(
                !boughtEarly[from] || to == owner() || to == address(0xdead),
                "Bots cannot transfer tokens in or out except to owner or dead address."
            );
        }

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !_isExcludedFromFees[from] &&
                !_isExcludedFromFees[to]
            ) {
                if (transferDelayEnabled) {
                    if (to != address(dexRouter) && to != address(lpPair)) {
                        require(
                            _holderLastTransferTimestamp[tx.origin] <
                                block.number - 2 &&
                                _holderLastTransferTimestamp[to] <
                                block.number - 2,
                            "_transfer:: Transfer Delay enabled.  Try again later."
                        );
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                        _holderLastTransferTimestamp[to] = block.number;
                    }
                }

                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxBuyAmount,
                        "Buy transfer amount exceeds the max buy."
                    );
                    require(
                        amount + balanceOf(to) <= maxWalletAmount,
                        "Cannot exceed max wallet."
                    );
                } else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxSellAmount,
                        "Sell transfer amount exceeds the max sell."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWalletAmount,
                        "Cannot exceed max wallet."
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            swapBack();

            swapping = false;
        }

        bool takeFee = true;
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
        if (takeFee) {
            if (
                earlyBuyPenaltyInEffect() &&
                automatedMarketMakerPairs[from] &&
                !automatedMarketMakerPairs[to] &&
                buyTotalFees > 0
            ) {
                if (!boughtEarly[to]) {
                    boughtEarly[to] = true;
                    botsCaught += 1;
                    emit CaughtEarlyBuyer(to);
                }

                fees = (amount * 99) / 100;
                tokensForTax += (fees * buyTaxFee) / buyTotalFees;
            } else if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / 100;
                tokensForTax += (fees * sellTaxFee) / sellTotalFees;
            } else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / 100;
                tokensForTax += (fees * buyTaxFee) / buyTotalFees;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }

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

    function earlyBuyPenaltyInEffect() public view returns (bool) {
        return block.number < blockForPenaltyEnd;
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = dexRouter.WETH();

        _approve(address(this), address(dexRouter), tokenAmount);

        dexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForTax;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }

        bool success;

        if (swapToEth) {
            swapTokensForEth(contractBalance);
            tokensForTax = 0;
            (success, ) = address(taxAddress).call{
                value: address(this).balance
            }("");
        }

        if (!swapToEth) {
            _transfer(address(this), taxAddress, contractBalance);
            tokensForTax = 0;
            success = true;
        }
    }

    // Withdraw ETH from contract address
    function withdrawStuckETH() external onlyOwner {
        bool success;
        (success, ) = address(msg.sender).call{value: address(this).balance}(
            ""
        );
    }

    function updateTaxAddress(address _taxAddress) external onlyOwner {
        require(_taxAddress != address(0), "_taxAddress address cannot be 0");
        taxAddress = payable(_taxAddress);
    }

    function forceSwapBack() external onlyOwner {
        require(
            balanceOf(address(this)) >= swapTokensAtAmount,
            "Can only swap when token amount is at or higher than restriction"
        );
        swapping = true;
        swapBack();
        swapping = false;
        emit OwnerForcedSwapBack(block.timestamp);
    }
}

Read Contract

_isExcludedMaxTransactionAmount 0x10d5de53 → bool
allowance 0xdd62ed3e → uint256
automatedMarketMakerPairs 0xb62496f5 → bool
balanceOf 0x70a08231 → uint256
blockForPenaltyEnd 0xa62068ce → uint256
botsCaught 0x6b0a894c → uint256
boughtEarly 0x85ecfd28 → bool
buyTaxFee 0x941fa5cd → uint256
buyTotalFees 0xd85ba063 → uint256
decimals 0x313ce567 → uint8
dexRouter 0x0758d924 → address
earlyBuyPenaltyInEffect 0x58a6d531 → bool
limitsInEffect 0x4a62bb65 → bool
lpPair 0x452ed4f1 → address
maxBuyAmount 0x88e765ff → uint256
maxSellAmount 0x66d602ae → uint256
maxWalletAmount 0xaa4bde28 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellTaxFee 0xf8a25a94 → uint256
sellTotalFees 0x6a486a8e → uint256
swapEnabled 0x6ddd1713 → bool
swapToEth 0xe620a25c → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
tokensForTax 0x6d7adcad → uint256
totalSupply 0x18160ddd → uint256
tradingActive 0xbbc0c742 → bool
tradingActiveBlock 0xee40166e → uint256
transferDelayEnabled 0xc876d0b9 → bool

Write Contract 25 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableTransferDelay 0xe884f260
No parameters
enableTrading 0x82aa7c68
uint256 deadBlocks
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
forceSwapBack 0x51f205e4
No parameters
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manageBoughtEarly 0xe800dff7
address wallet
bool flag
massManageBoughtEarly 0x130a2c3c
address[] wallets
bool flag
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setSwapToEth 0x281f2a0a
bool _swapToEth
transfer 0xa9059cbb
address to
uint256 amount
returns: bool
transferFrom 0x23b872dd
address from
address to
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateBuyFees 0x71fc4688
uint256 _taxFee
updateMaxBuyAmount 0x2be32b61
uint256 newNum
updateMaxSellAmount 0xdc3f0d0f
uint256 newNum
updateMaxWalletAmount 0xc18bc195
uint256 newNum
updateSellFees 0xeba4c333
uint256 _taxFee
updateSwapTokensAtAmount 0xd257b34f
uint256 newAmount
updateTaxAddress 0x5adf655a
address _taxAddress
withdrawStuckETH 0xf5648a4f
No parameters

Recent Transactions

This address has 1 on-chain transactions, but only 1.1% of the chain is indexed. Transactions will appear as indexing progresses. View on Etherscan →