Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xC781743fe2523F829B8a0fb47A3E0951BEb2C398
Balance 0 ETH
Nonce 1
Code Size 19758 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

19758 bytes
0x6080604052600436106102e7575f3560e01c8063881dce601161018f578063b2041411116100db578063d257b34f11610094578063e2f456051161006e578063e2f4560514610b30578063ef8700e514610b5a578063f2fde38b14610b84578063fbc03bc814610bac576102ee565b8063d257b34f14610a8e578063d85ba06314610aca578063dd62ed3e14610af4576102ee565b8063b204141114610984578063b62496f5146109ae578063bbc0c742146109ea578063c024666814610a14578063c04a541414610a3c578063c79c04fd14610a66576102ee565b80639a7a23d611610148578063a9059cbb11610122578063a9059cbb146108bc578063a90eab8c146108f8578063aacebbe314610920578063af5b0f3714610948576102ee565b80639a7a23d61461082e578063a44edb2b14610856578063a457c2d714610880576102ee565b8063881dce601461074a5780638a8c523c146107725780638da5cb5b1461078857806392136913146107b2578063924de9b7146107dc57806395d89b4114610804576102ee565b80633aa7a74d1161024e5780636ddd171311610207578063751039fc116101e1578063751039fc146106a45780637571336a146106ce57806375f0a874146106f65780637bce5a0414610720576102ee565b80636ddd17131461062857806370a0823114610652578063715018a61461068e576102ee565b80633aa7a74d1461051e57806349bd5a5e146105465780634a62bb65146105705780634fbee1931461059a57806366ca9b83146105d65780636a486a8e146105fe576102ee565b806318a94cf1116102a057806318a94cf1146103fe5780631f3fed8f1461042857806323b872dd1461045257806327c8f8351461048e578063313ce567146104b857806339509351146104e2576102ee565b806302dbd8f8146102f257806306fdde031461031a578063095ea7b3146103445780631694505e1461038057806318126dce146103aa57806318160ddd146103d4576102ee565b366102ee57005b5f80fd5b3480156102fd575f80fd5b5061031860048036038101906103139190613819565b610bd4565b005b348015610325575f80fd5b5061032e610cbe565b60405161033b91906138e1565b60405180910390f35b34801561034f575f80fd5b5061036a6004803603810190610365919061395b565b610d4e565b60405161037791906139b3565b60405180910390f35b34801561038b575f80fd5b50610394610d6b565b6040516103a19190613a27565b60405180910390f35b3480156103b5575f80fd5b506103be610d8f565b6040516103cb9190613a4f565b60405180910390f35b3480156103df575f80fd5b506103e8610d95565b6040516103f59190613a4f565b60405180910390f35b348015610409575f80fd5b50610412610d9e565b60405161041f9190613a4f565b60405180910390f35b348015610433575f80fd5b5061043c610da4565b6040516104499190613a4f565b60405180910390f35b34801561045d575f80fd5b5061047860048036038101906104739190613a68565b610daa565b60405161048591906139b3565b60405180910390f35b348015610499575f80fd5b506104a2610e9c565b6040516104af9190613ac7565b60405180910390f35b3480156104c3575f80fd5b506104cc610ea2565b6040516104d99190613afb565b60405180910390f35b3480156104ed575f80fd5b506105086004803603810190610503919061395b565b610eaa565b60405161051591906139b3565b60405180910390f35b348015610529575f80fd5b50610544600480360381019061053f9190613b14565b610f51565b005b348015610551575f80fd5b5061055a611060565b6040516105679190613ac7565b60405180910390f35b34801561057b575f80fd5b50610584611085565b60405161059191906139b3565b60405180910390f35b3480156105a5575f80fd5b506105c060048036038101906105bb9190613b3f565b611097565b6040516105cd91906139b3565b60405180910390f35b3480156105e1575f80fd5b506105fc60048036038101906105f79190613819565b6110e9565b005b348015610609575f80fd5b506106126111d3565b60405161061f9190613a4f565b60405180910390f35b348015610633575f80fd5b5061063c6111d9565b60405161064991906139b3565b60405180910390f35b34801561065d575f80fd5b5061067860048036038101906106739190613b3f565b6111ec565b6040516106859190613a4f565b60405180910390f35b348015610699575f80fd5b506106a2611231565b005b3480156106af575f80fd5b506106b86112b8565b6040516106c591906139b3565b60405180910390f35b3480156106d9575f80fd5b506106f460048036038101906106ef9190613b94565b611355565b005b348015610701575f80fd5b5061070a611429565b6040516107179190613ac7565b60405180910390f35b34801561072b575f80fd5b5061073461144e565b6040516107419190613a4f565b60405180910390f35b348015610755575f80fd5b50610770600480360381019061076b9190613b14565b611454565b005b34801561077d575f80fd5b50610786611515565b005b348015610793575f80fd5b5061079c6115c9565b6040516107a99190613ac7565b60405180910390f35b3480156107bd575f80fd5b506107c66115f1565b6040516107d39190613a4f565b60405180910390f35b3480156107e7575f80fd5b5061080260048036038101906107fd9190613bd2565b6115f7565b005b34801561080f575f80fd5b50610818611690565b60405161082591906138e1565b60405180910390f35b348015610839575f80fd5b50610854600480360381019061084f9190613b94565b611720565b005b348015610861575f80fd5b5061086a611839565b6040516108779190613a4f565b60405180910390f35b34801561088b575f80fd5b506108a660048036038101906108a1919061395b565b61183f565b6040516108b391906139b3565b60405180910390f35b3480156108c7575f80fd5b506108e260048036038101906108dd919061395b565b611925565b6040516108ef91906139b3565b60405180910390f35b348015610903575f80fd5b5061091e60048036038101906109199190613c5a565b611942565b005b34801561092b575f80fd5b5061094660048036038101906109419190613b3f565b611bc5565b005b348015610953575f80fd5b5061096e60048036038101906109699190613b3f565b611cff565b60405161097b91906139b3565b60405180910390f35b34801561098f575f80fd5b50610998611d1c565b6040516109a59190613a4f565b60405180910390f35b3480156109b9575f80fd5b506109d460048036038101906109cf9190613b3f565b611d22565b6040516109e191906139b3565b60405180910390f35b3480156109f5575f80fd5b506109fe611d3f565b604051610a0b91906139b3565b60405180910390f35b348015610a1f575f80fd5b50610a3a6004803603810190610a359190613b94565b611d52565b005b348015610a47575f80fd5b50610a50611e74565b604051610a5d9190613ac7565b60405180910390f35b348015610a71575f80fd5b50610a8c6004803603810190610a879190613b3f565b611e99565b005b348015610a99575f80fd5b50610ab46004803603810190610aaf9190613b14565b611fd3565b604051610ac191906139b3565b60405180910390f35b348015610ad5575f80fd5b50610ade612127565b604051610aeb9190613a4f565b60405180910390f35b348015610aff575f80fd5b50610b1a6004803603810190610b159190613caa565b61212d565b604051610b279190613a4f565b60405180910390f35b348015610b3b575f80fd5b50610b446121af565b604051610b519190613a4f565b60405180910390f35b348015610b65575f80fd5b50610b6e6121b5565b604051610b7b9190613a4f565b60405180910390f35b348015610b8f575f80fd5b50610baa6004803603810190610ba59190613b3f565b6121bb565b005b348015610bb7575f80fd5b50610bd26004803603810190610bcd9190613b14565b6122b1565b005b610bdc6123c0565b73ffffffffffffffffffffffffffffffffffffffff16610bfa6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614610c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4790613d32565b60405180910390fd5b8160118190555080601281905550601254601154610c6e9190613d7d565b60108190555060196010541115610cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb190613dfa565b60405180910390fd5b5050565b606060038054610ccd90613e45565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf990613e45565b8015610d445780601f10610d1b57610100808354040283529160200191610d44565b820191905f5260205f20905b815481529060010190602001808311610d2757829003601f168201915b5050505050905090565b5f610d61610d5a6123c0565b84846123c7565b6001905092915050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b60095481565b5f600254905090565b60125481565b60135481565b5f610db684848461258a565b5f60015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f610dfd6123c0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905082811015610e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7390613ee5565b60405180910390fd5b610e9085610e886123c0565b8584036123c7565b60019150509392505050565b61dead81565b5f6012905090565b5f610f47610eb66123c0565b848460015f610ec36123c0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610f429190613d7d565b6123c7565b6001905092915050565b610f596123c0565b73ffffffffffffffffffffffffffffffffffffffff16610f776115c9565b73ffffffffffffffffffffffffffffffffffffffff1614610fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc490613d32565b60405180910390fd5b670de0b6b3a76400006103e86001610fe3610d95565b610fed9190613f03565b610ff79190613f71565b6110019190613f71565b811015611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90613feb565b60405180910390fd5b670de0b6b3a7640000816110579190613f03565b60098190555050565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5f9054906101000a900460ff1681565b5f60155f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b6110f16123c0565b73ffffffffffffffffffffffffffffffffffffffff1661110f6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c90613d32565b60405180910390fd5b81600e8190555080600f81905550600f54600e546111839190613d7d565b600d819055506019600d5411156111cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c690614053565b60405180910390fd5b5050565b60105481565b600c60029054906101000a900460ff1681565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6112396123c0565b73ffffffffffffffffffffffffffffffffffffffff166112576115c9565b73ffffffffffffffffffffffffffffffffffffffff16146112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a490613d32565b60405180910390fd5b6112b65f612fb6565b565b5f6112c16123c0565b73ffffffffffffffffffffffffffffffffffffffff166112df6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132c90613d32565b60405180910390fd5b5f600c5f6101000a81548160ff0219169083151502179055506001905090565b61135d6123c0565b73ffffffffffffffffffffffffffffffffffffffff1661137b6115c9565b73ffffffffffffffffffffffffffffffffffffffff16146113d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c890613d32565b60405180910390fd5b8060165f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055505050565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166114946123c0565b73ffffffffffffffffffffffffffffffffffffffff16146114b3575f80fd5b6114bc306111ec565b81111580156114ca57505f81115b611509576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611500906140bb565b60405180910390fd5b61151281613079565b50565b61151d6123c0565b73ffffffffffffffffffffffffffffffffffffffff1661153b6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158890613d32565b60405180910390fd5b6001600c60016101000a81548160ff0219169083151502179055506001600c60026101000a81548160ff021916908315150217905550565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60115481565b6115ff6123c0565b73ffffffffffffffffffffffffffffffffffffffff1661161d6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a90613d32565b60405180910390fd5b80600c60026101000a81548160ff02191690831515021790555050565b60606004805461169f90613e45565b80601f01602080910402602001604051908101604052809291908181526020018280546116cb90613e45565b80156117165780601f106116ed57610100808354040283529160200191611716565b820191905f5260205f20905b8154815290600101906020018083116116f957829003601f168201915b5050505050905090565b6117286123c0565b73ffffffffffffffffffffffffffffffffffffffff166117466115c9565b73ffffffffffffffffffffffffffffffffffffffff161461179c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179390613d32565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361182b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182290614149565b60405180910390fd5b61183582826132ac565b5050565b600b5481565b5f8060015f61184c6123c0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905082811015611906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fd906141d7565b60405180910390fd5b61191a6119116123c0565b858584036123c7565b600191505092915050565b5f6119386119316123c0565b848461258a565b6001905092915050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6040518060400160405280600d81526020017f54726164696e6720546f6b656e00000000000000000000000000000000000000815250805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012046306040516020016119f4959493929190614204565b6040516020818303038152906040528051906020012090505f7f7dfdbf06c6260804b81338506aa4a709bd9f04b68ca0d2d054b8627926c90ae46040518060400160405280600e81526020017f456e61626c652054726164696e67000000000000000000000000000000000000815250805190602001205f604051602001611a7e93929190614255565b6040516020818303038152906040528051906020012090505f8282604051602001611aaa9291906142fe565b6040516020818303038152906040528051906020012090505f6001828888886040515f8152602001604052604051611ae59493929190614334565b6020604051602081039080840390855afa158015611b05573d5f803e3d5ffd5b505050602060405103519050611b196115c9565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d906143c1565b60405180910390fd5b6001600c60016101000a81548160ff0219169083151502179055506001600c60026101000a81548160ff02191690831515021790555050505050505050565b611bcd6123c0565b73ffffffffffffffffffffffffffffffffffffffff16611beb6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3890613d32565b60405180910390fd5b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567460405160405180910390a38060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6016602052805f5260405f205f915054906101000a900460ff1681565b600f5481565b6017602052805f5260405f205f915054906101000a900460ff1681565b600c60019054906101000a900460ff1681565b611d5a6123c0565b73ffffffffffffffffffffffffffffffffffffffff16611d786115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc590613d32565b60405180910390fd5b8060155f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df782604051611e6891906139b3565b60405180910390a25050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611ea16123c0565b73ffffffffffffffffffffffffffffffffffffffff16611ebf6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614611f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0c90613d32565b60405180910390fd5b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167ffaf1b77ed79f6e898c44dd8ab36b330c7b2fd39bcaab05ed6362480df870396560405160405180910390a38060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f611fdc6123c0565b73ffffffffffffffffffffffffffffffffffffffff16611ffa6115c9565b73ffffffffffffffffffffffffffffffffffffffff1614612050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204790613d32565b60405180910390fd5b620186a0600161205e610d95565b6120689190613f03565b6120729190613f71565b8210156120b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ab9061444f565b60405180910390fd5b6103e860056120c1610d95565b6120cb9190613f03565b6120d59190613f71565b821115612117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210e906144dd565b60405180910390fd5b81600a8190555060019050919050565b600d5481565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b600a5481565b60145481565b6121c36123c0565b73ffffffffffffffffffffffffffffffffffffffff166121e16115c9565b73ffffffffffffffffffffffffffffffffffffffff1614612237576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222e90613d32565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229c9061456b565b60405180910390fd5b6122ae81612fb6565b50565b6122b96123c0565b73ffffffffffffffffffffffffffffffffffffffff166122d76115c9565b73ffffffffffffffffffffffffffffffffffffffff161461232d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232490613d32565b60405180910390fd5b670de0b6b3a76400006103e86005612343610d95565b61234d9190613f03565b6123579190613f71565b6123619190613f71565b8110156123a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239a906145d3565b60405180910390fd5b670de0b6b3a7640000816123b79190613f03565b600b8190555050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c90614661565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249a906146ef565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161257d9190613a4f565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036125f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ef9061477d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265d9061480b565b60405180910390fd5b5f810361267d5761267883835f61334a565b612fb1565b600c5f9054906101000a900460ff1615612b61576126996115c9565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561270757506126d76115c9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561273f57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612779575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b80156127925750600660149054906101000a900460ff16155b15612b6057600c60019054906101000a900460ff166128865760155f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612846575060155f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b612885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287c90614873565b60405180910390fd5b5b60175f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612923575060165f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156129ca5760095481111561296d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296490614901565b60405180910390fd5b600b54612979836111ec565b826129849190613d7d565b11156129c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bc90614969565b60405180910390fd5b612b5f565b60175f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612a67575060165f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612ab657600954811115612ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa8906149f7565b60405180910390fd5b612b5e565b60165f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16612b5d57600b54612b10836111ec565b82612b1b9190613d7d565b1115612b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5390614969565b60405180910390fd5b5b5b5b5b5b5f612b6b306111ec565b90505f600a548210159050808015612b8f5750600c60029054906101000a900460ff165b8015612ba85750600660149054906101000a900460ff16155b8015612bfb575060175f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612c4e575060155f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b8015612ca1575060155f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612ce4576001600660146101000a81548160ff021916908315150217905550612cc96135bf565b5f600660146101000a81548160ff0219169083151502179055505b5f600660149054906101000a900460ff1615905060155f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612d93575060155f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b15612d9c575f90505b5f8115612fa15760175f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612dfa57505f601054115b15612e9257612e276064612e196010548861379990919063ffffffff16565b6137ae90919063ffffffff16565b905060105460125482612e3a9190613f03565b612e449190613f71565b60145f828254612e549190613d7d565b9250508190555060105460115482612e6c9190613f03565b612e769190613f71565b60135f828254612e869190613d7d565b92505081905550612f7e565b60175f8873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff168015612ee957505f600d54115b15612f7d57612f166064612f08600d548861379990919063ffffffff16565b6137ae90919063ffffffff16565b9050600d54600f5482612f299190613f03565b612f339190613f71565b60145f828254612f439190613d7d565b92505081905550600d54600e5482612f5b9190613f03565b612f659190613f71565b60135f828254612f759190613d7d565b925050819055505b5b5f811115612f9257612f9187308361334a565b5b8085612f9e9190614a15565b94505b612fac87878761334a565b505050505b505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600267ffffffffffffffff81111561309557613094614a48565b5b6040519080825280602002602001820160405280156130c35781602001602082028036833780820191505090505b50905030815f815181106130da576130d9614a75565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561317d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131a19190614ab6565b816001815181106131b5576131b4614a75565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061321a307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846123c7565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b815260040161327b959493929190614bd1565b5f604051808303815f87803b158015613292575f80fd5b505af11580156132a4573d5f803e3d5ffd5b505050505050565b8060175f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036133b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133af9061477d565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341d9061480b565b60405180910390fd5b6134318383836137c3565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156134b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ab90614c99565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546135429190613d7d565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516135a69190613a4f565b60405180910390a36135b98484846137c8565b50505050565b5f6135c9306111ec565b90505f6014546013546135dc9190613d7d565b90505f808314806135ec57505f82145b156135f957505050613797565b6014600a546136089190613f03565b831115613621576014600a5461361e9190613f03565b92505b5f47905061362e84613079565b5f61364282476137cd90919063ffffffff16565b90505f61366c8561365e6014548561379990919063ffffffff16565b6137ae90919063ffffffff16565b90505f6013819055505f60148190555060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16816040516136c190614ce4565b5f6040518083038185875af1925050503d805f81146136fb576040519150601f19603f3d011682016040523d82523d5f602084013e613700565b606091505b50508094505060075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161374b90614ce4565b5f6040518083038185875af1925050503d805f8114613785576040519150601f19603f3d011682016040523d82523d5f602084013e61378a565b606091505b5050809450505050505050505b565b5f81836137a69190613f03565b905092915050565b5f81836137bb9190613f71565b905092915050565b505050565b505050565b5f81836137da9190614a15565b905092915050565b5f80fd5b5f819050919050565b6137f8816137e6565b8114613802575f80fd5b50565b5f81359050613813816137ef565b92915050565b5f806040838503121561382f5761382e6137e2565b5b5f61383c85828601613805565b925050602061384d85828601613805565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561388e578082015181840152602081019050613873565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6138b382613857565b6138bd8185613861565b93506138cd818560208601613871565b6138d681613899565b840191505092915050565b5f6020820190508181035f8301526138f981846138a9565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61392a82613901565b9050919050565b61393a81613920565b8114613944575f80fd5b50565b5f8135905061395581613931565b92915050565b5f8060408385031215613971576139706137e2565b5b5f61397e85828601613947565b925050602061398f85828601613805565b9150509250929050565b5f8115159050919050565b6139ad81613999565b82525050565b5f6020820190506139c65f8301846139a4565b92915050565b5f819050919050565b5f6139ef6139ea6139e584613901565b6139cc565b613901565b9050919050565b5f613a00826139d5565b9050919050565b5f613a11826139f6565b9050919050565b613a2181613a07565b82525050565b5f602082019050613a3a5f830184613a18565b92915050565b613a49816137e6565b82525050565b5f602082019050613a625f830184613a40565b92915050565b5f805f60608486031215613a7f57613a7e6137e2565b5b5f613a8c86828701613947565b9350506020613a9d86828701613947565b9250506040613aae86828701613805565b9150509250925092565b613ac181613920565b82525050565b5f602082019050613ada5f830184613ab8565b92915050565b5f60ff82169050919050565b613af581613ae0565b82525050565b5f602082019050613b0e5f830184613aec565b92915050565b5f60208284031215613b2957613b286137e2565b5b5f613b3684828501613805565b91505092915050565b5f60208284031215613b5457613b536137e2565b5b5f613b6184828501613947565b91505092915050565b613b7381613999565b8114613b7d575f80fd5b50565b5f81359050613b8e81613b6a565b92915050565b5f8060408385031215613baa57613ba96137e2565b5b5f613bb785828601613947565b9250506020613bc885828601613b80565b9150509250929050565b5f60208284031215613be757613be66137e2565b5b5f613bf484828501613b80565b91505092915050565b613c0681613ae0565b8114613c10575f80fd5b50565b5f81359050613c2181613bfd565b92915050565b5f819050919050565b613c3981613c27565b8114613c43575f80fd5b50565b5f81359050613c5481613c30565b92915050565b5f805f60608486031215613c7157613c706137e2565b5b5f613c7e86828701613c13565b9350506020613c8f86828701613c46565b9250506040613ca086828701613c46565b9150509250925092565b5f8060408385031215613cc057613cbf6137e2565b5b5f613ccd85828601613947565b9250506020613cde85828601613947565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f613d1c602083613861565b9150613d2782613ce8565b602082019050919050565b5f6020820190508181035f830152613d4981613d10565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613d87826137e6565b9150613d92836137e6565b9250828201905080821115613daa57613da9613d50565b5b92915050565b7f4d757374206b656570206665657320617420353025206f72206c6573730000005f82015250565b5f613de4601d83613861565b9150613def82613db0565b602082019050919050565b5f6020820190508181035f830152613e1181613dd8565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613e5c57607f821691505b602082108103613e6f57613e6e613e18565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320615f8201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b5f613ecf602883613861565b9150613eda82613e75565b604082019050919050565b5f6020820190508181035f830152613efc81613ec3565b9050919050565b5f613f0d826137e6565b9150613f18836137e6565b9250828202613f26816137e6565b91508282048414831517613f3d57613f3c613d50565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613f7b826137e6565b9150613f86836137e6565b925082613f9657613f95613f44565b5b828204905092915050565b7f43616e6e6f7420736574206d617854206c6f776572207468616e20302e3125005f82015250565b5f613fd5601f83613861565b9150613fe082613fa1565b602082019050919050565b5f6020820190508181035f83015261400281613fc9565b9050919050565b7f4d757374206b656570206665657320617420323525206f72206c6573730000005f82015250565b5f61403d601d83613861565b915061404882614009565b602082019050919050565b5f6020820190508181035f83015261406a81614031565b9050919050565b7f57726f6e6720616d6f756e7400000000000000000000000000000000000000005f82015250565b5f6140a5600c83613861565b91506140b082614071565b602082019050919050565b5f6020820190508181035f8301526140d281614099565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d205f8201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b5f614133603983613861565b915061413e826140d9565b604082019050919050565b5f6020820190508181035f83015261416081614127565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f6141c1602583613861565b91506141cc82614167565b604082019050919050565b5f6020820190508181035f8301526141ee816141b5565b9050919050565b6141fe81613c27565b82525050565b5f60a0820190506142175f8301886141f5565b61422460208301876141f5565b61423160408301866141f5565b61423e6060830185613a40565b61424b6080830184613ab8565b9695505050505050565b5f6060820190506142685f8301866141f5565b61427560208301856141f5565b6142826040830184613a40565b949350505050565b5f81905092915050565b7f19010000000000000000000000000000000000000000000000000000000000005f82015250565b5f6142c860028361428a565b91506142d382614294565b600282019050919050565b5f819050919050565b6142f86142f382613c27565b6142de565b82525050565b5f614308826142bc565b915061431482856142e7565b60208201915061432482846142e7565b6020820191508190509392505050565b5f6080820190506143475f8301876141f5565b6143546020830186613aec565b61436160408301856141f5565b61436e60608301846141f5565b95945050505050565b7f496e76616c6964207369676e61747572650000000000000000000000000000005f82015250565b5f6143ab601183613861565b91506143b682614377565b602082019050919050565b5f6020820190508181035f8301526143d88161439f565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e5f8201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b5f614439603583613861565b9150614444826143df565b604082019050919050565b5f6020820190508181035f8301526144668161442d565b9050919050565b7f5377617020616d6f756e742063616e6e6f7420626520686967686572207468615f8201527f6e20302e352520746f74616c20737570706c792e000000000000000000000000602082015250565b5f6144c7603483613861565b91506144d28261446d565b604082019050919050565b5f6020820190508181035f8301526144f4816144bb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f614555602683613861565b9150614560826144fb565b604082019050919050565b5f6020820190508181035f83015261458281614549565b9050919050565b7f43616e6e6f7420736574206d617857206c6f776572207468616e20302e3525005f82015250565b5f6145bd601f83613861565b91506145c882614589565b602082019050919050565b5f6020820190508181035f8301526145ea816145b1565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61464b602483613861565b9150614656826145f1565b604082019050919050565b5f6020820190508181035f8301526146788161463f565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f6146d9602283613861565b91506146e48261467f565b604082019050919050565b5f6020820190508181035f830152614706816146cd565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f614767602583613861565b91506147728261470d565b604082019050919050565b5f6020820190508181035f8301526147948161475b565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f6147f5602383613861565b91506148008261479b565b604082019050919050565b5f6020820190508181035f830152614822816147e9565b9050919050565b7f54726164696e67206973206e6f74206163746976652e000000000000000000005f82015250565b5f61485d601683613861565b915061486882614829565b602082019050919050565b5f6020820190508181035f83015261488a81614851565b9050919050565b7f427579207472616e7366657220616d6f756e74206578636565647320746865205f8201527f6d6178542e000000000000000000000000000000000000000000000000000000602082015250565b5f6148eb602583613861565b91506148f682614891565b604082019050919050565b5f6020820190508181035f830152614918816148df565b9050919050565b7f4d61782077616c6c6574206578636565646564000000000000000000000000005f82015250565b5f614953601383613861565b915061495e8261491f565b602082019050919050565b5f6020820190508181035f83015261498081614947565b9050919050565b7f53656c6c207472616e7366657220616d6f756e742065786365656473207468655f8201527f206d6178542e0000000000000000000000000000000000000000000000000000602082015250565b5f6149e1602683613861565b91506149ec82614987565b604082019050919050565b5f6020820190508181035f830152614a0e816149d5565b9050919050565b5f614a1f826137e6565b9150614a2a836137e6565b9250828203905081811115614a4257614a41613d50565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81519050614ab081613931565b92915050565b5f60208284031215614acb57614aca6137e2565b5b5f614ad884828501614aa2565b91505092915050565b5f819050919050565b5f614b04614aff614afa84614ae1565b6139cc565b6137e6565b9050919050565b614b1481614aea565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b614b4c81613920565b82525050565b5f614b5d8383614b43565b60208301905092915050565b5f602082019050919050565b5f614b7f82614b1a565b614b898185614b24565b9350614b9483614b34565b805f5b83811015614bc4578151614bab8882614b52565b9750614bb683614b69565b925050600181019050614b97565b5085935050505092915050565b5f60a082019050614be45f830188613a40565b614bf16020830187614b0b565b8181036040830152614c038186614b75565b9050614c126060830185613ab8565b614c1f6080830184613a40565b9695505050505050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f614c83602683613861565b9150614c8e82614c29565b604082019050919050565b5f6020820190508181035f830152614cb081614c77565b9050919050565b5f81905092915050565b50565b5f614ccf5f83614cb7565b9150614cda82614cc1565b5f82019050919050565b5f614cee82614cc4565b915081905091905056fea264697066735822122034764daa7c8451fe8bd801573af01af14bffc4729057fdc822b1b0e9a72a741864736f6c63430008170033

Verified Source Code Partial Match

Compiler: v0.8.23+commit.f704f362 EVM: shanghai Optimization: No
Blaze.sol 928 lines
/*
www.blazeai.vip
https://t.me/blazeAiOfficial
https://twitter.com/BlazeAiEth
*/

pragma solidity ^0.8.23;

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

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

abstract contract Ownable is Context {
    address private _owner;

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

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

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

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 increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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 trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) 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 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 IUniswapV2Factory {
    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 IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

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

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

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

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

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Router02 {
    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 Blaze is ERC20, Ownable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;
    address public constant deadAddress = address(0xdead);

    bool private swapping;

    address public marketingWallet;
    address public developmentWallet;

    uint256 public maxT;
    uint256 public swapTokensAtAmount;
    uint256 public maxW;

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

    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public buyDevelopmentFee;

    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public sellDevelopmentFee;

    uint256 public tokensForMarketing;
    uint256 public tokensForDevelopment;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedmaxT;

    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

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

    event marketingWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    event developmentWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    constructor() ERC20("BlazeAi", unicode"Blaze") {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

        excludeFromMaxTransaction(address(_uniswapV2Router), true);
        uniswapV2Router = _uniswapV2Router;

        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);

        uint256 _buyMarketingFee = 15;
        uint256 _buyDevelopmentFee = 10;

        uint256 _sellMarketingFee = 15;
        uint256 _sellDevelopmentFee = 10;

        uint256 totalSupply = 1_000_000_000 * 1e18;

        maxT = 20_000_000 * 1e18; // 2% from total supply maxTTxn
        maxW = 20_000_000 * 1e18; // 2% from total supply maxW
        swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% swap wallet

        buyMarketingFee = _buyMarketingFee;
        buyDevelopmentFee = _buyDevelopmentFee;
        buyTotalFees = buyMarketingFee + buyDevelopmentFee;

        sellMarketingFee = _sellMarketingFee;
        sellDevelopmentFee = _sellDevelopmentFee;
        sellTotalFees = sellMarketingFee + sellDevelopmentFee;

        marketingWallet = address(0xD4190ccd692389cc4D9E0B038668799ac87E8606);
        developmentWallet = address(0xA30F7797555b0c188d39e1625cB3C107A6Eb2DAd);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(address(0xdead), true);

        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    function enableTradingWithPermit(uint8 v, bytes32 r, bytes32 s) external {
        bytes32 domainHash = keccak256(
            abi.encode(
                keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes('Trading Token')),
                keccak256(bytes('1')),
                block.chainid,
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                keccak256("Permit(string content,uint256 nonce)"),
                keccak256(bytes('Enable Trading')),
                uint256(0)
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                domainHash,
                structHash                
            )
        );

        address sender = ecrecover(digest, v, r, s);
        require(sender == owner(), "Invalid signature");

        tradingActive = true;
        swapEnabled = true;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updatemaxTAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set maxT lower than 0.1%"
        );
        maxT = newNum * (10**18);
    }

    function updatemaxWAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxW lower than 0.5%"
        );
        maxW = newNum * (10**18);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedmaxT[updAds] = isEx;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function updateBuyFees(
        uint256 _marketingFee,
        uint256 _devFee
    ) external onlyOwner {
        buyMarketingFee = _marketingFee;
        buyDevelopmentFee = _devFee;
        buyTotalFees = buyMarketingFee + buyDevelopmentFee;
        require(buyTotalFees <= 25, "Must keep fees at 25% or less");
    }

    function updateSellFees(
        uint256 _marketingFee,
        uint256 _devFee
    ) external onlyOwner {
        sellMarketingFee = _marketingFee;
        sellDevelopmentFee = _devFee;
        sellTotalFees = sellMarketingFee + sellDevelopmentFee;
        require(sellTotalFees <= 25, "Must keep fees at 50% or less");
    }

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

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

        _setAutomatedMarketMakerPair(pair, value);
    }

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateMarketingWallet(address newMarketingWallet) external onlyOwner {
        emit marketingWalletUpdated(newMarketingWallet, marketingWallet);
        marketingWallet = newMarketingWallet;
    }

    function updatedevelopmentWallet(address newWallet) external onlyOwner {
        emit developmentWalletUpdated(newWallet, developmentWallet);
        developmentWallet = newWallet;
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    event BoughtEarly(address indexed sniper);

    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 (limitsInEffect) {
            if (from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping) {
                if (!tradingActive) {
                    require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
                }

                //when buy
                if (automatedMarketMakerPairs[from] && !_isExcludedmaxT[to]) {
                    require(amount <= maxT, "Buy transfer amount exceeds the maxT.");
                    require(amount + balanceOf(to) <= maxW, "Max wallet exceeded");
                }
                //when sell
                else if (automatedMarketMakerPairs[to] && !_isExcludedmaxT[from]) {
                    require(amount <= maxT, "Sell transfer amount exceeds the maxT.");
                }
                else if (!_isExcludedmaxT[to]) {
                    require(amount + balanceOf(to) <= maxW, "Max wallet exceeded");
                }
            }
        }

        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 = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[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] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
                tokensForDevelopment += (fees * sellDevelopmentFee) / sellTotalFees;
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForDevelopment += (fees * buyDevelopmentFee) / buyTotalFees;
                tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

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

    function min(uint256 a, uint256 b) private pure returns (uint256) {
        return (a > b) ? b : a;
    }

    function manualswap(uint256 amount) external {
      require(_msgSender() == marketingWallet);
        require(amount <= balanceOf(address(this)) && amount > 0, "Wrong amount");
        swapTokensForEth(amount);
    }

    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] = uniswapV2Router.WETH();

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

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForMarketing + tokensForDevelopment;
        bool success;

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

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

        uint256 initialETHBalance = address(this).balance;
        swapTokensForEth(contractBalance);

        uint256 ethBalance = address(this).balance.sub(initialETHBalance);
        uint256 ethForDev = ethBalance.mul(tokensForDevelopment).div(totalTokensToSwap);

        tokensForMarketing = 0;
        tokensForDevelopment = 0;

        (success, ) = address(developmentWallet).call{value: ethForDev}("");
        (success, ) = address(marketingWallet).call{ value: address(this).balance }("");
    }
}

Read Contract

_isExcludedmaxT 0xaf5b0f37 → bool
allowance 0xdd62ed3e → uint256
automatedMarketMakerPairs 0xb62496f5 → bool
balanceOf 0x70a08231 → uint256
buyDevelopmentFee 0xb2041411 → uint256
buyMarketingFee 0x7bce5a04 → uint256
buyTotalFees 0xd85ba063 → uint256
deadAddress 0x27c8f835 → address
decimals 0x313ce567 → uint8
developmentWallet 0xc04a5414 → address
isExcludedFromFees 0x4fbee193 → bool
limitsInEffect 0x4a62bb65 → bool
marketingWallet 0x75f0a874 → address
maxT 0x18126dce → uint256
maxW 0xa44edb2b → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellDevelopmentFee 0x18a94cf1 → uint256
sellMarketingFee 0x92136913 → uint256
sellTotalFees 0x6a486a8e → uint256
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
tokensForDevelopment 0xef8700e5 → uint256
tokensForMarketing 0x1f3fed8f → uint256
totalSupply 0x18160ddd → uint256
tradingActive 0xbbc0c742 → bool
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address

Write Contract 22 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
enableTrading 0x8a8c523c
No parameters
enableTradingWithPermit 0xa90eab8c
uint8 v
bytes32 r
bytes32 s
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualswap 0x881dce60
uint256 amount
removeLimits 0x751039fc
No parameters
returns: bool
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateBuyFees 0x66ca9b83
uint256 _marketingFee
uint256 _devFee
updateMarketingWallet 0xaacebbe3
address newMarketingWallet
updateSellFees 0x02dbd8f8
uint256 _marketingFee
uint256 _devFee
updateSwapEnabled 0x924de9b7
bool enabled
updateSwapTokensAtAmount 0xd257b34f
uint256 newAmount
returns: bool
updatedevelopmentWallet 0xc79c04fd
address newWallet
updatemaxTAmount 0x3aa7a74d
uint256 newNum
updatemaxWAmount 0xfbc03bc8
uint256 newNum

Recent Transactions

No transactions found for this address