Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0xBb4DF61B0e9F7b81Dee3b3D04602C67B3f3e9d61
Balance 0 ETH
Nonce 1
Code Size 11715 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

11715 bytes
0x60806040526004361061016a5760003560e01c80638af4b86a116100d1578063a8e2c61c1161008a578063d5e9452411610064578063d5e945241461056d578063dd62ed3e14610596578063f2fde38b146105d3578063feff84a8146105fc57610171565b8063a8e2c61c146104de578063a9059cbb14610507578063cec687d81461054457610171565b80638af4b86a146103a65780638da5cb5b146103e35780638e9c66cb1461040e57806395d89b411461044b5780639e96f82114610476578063a457c2d7146104a157610171565b80633950935111610123578063395093511461029a57806340c10f19146102d7578063632e54421461030057806370a0823114610329578063715018a614610366578063756742911461037d57610171565b806306fdde0314610176578063095ea7b3146101a157806318160ddd146101de5780631e89d5451461020957806323b872dd14610232578063313ce5671461026f57610171565b3661017157005b600080fd5b34801561018257600080fd5b5061018b610625565b6040516101989190611e99565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c39190611f59565b6106b7565b6040516101d59190611fb4565b60405180910390f35b3480156101ea57600080fd5b506101f36106d5565b6040516102009190611fde565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b91906120b4565b6106df565b005b34801561023e57600080fd5b5061025960048036038101906102549190612135565b610877565b6040516102669190611fb4565b60405180910390f35b34801561027b57600080fd5b5061028461096f565b60405161029191906121a4565b60405180910390f35b3480156102a657600080fd5b506102c160048036038101906102bc9190611f59565b610978565b6040516102ce9190611fb4565b60405180910390f35b3480156102e357600080fd5b506102fe60048036038101906102f99190611f59565b610a24565b005b34801561030c57600080fd5b50610327600480360381019061032291906121bf565b610aae565b005b34801561033557600080fd5b50610350600480360381019061034b919061221f565b610bad565b60405161035d9190611fde565b60405180910390f35b34801561037257600080fd5b5061037b610bf6565b005b34801561038957600080fd5b506103a4600480360381019061039f9190612278565b610c7e565b005b3480156103b257600080fd5b506103cd60048036038101906103c8919061221f565b610d9f565b6040516103da9190611fb4565b60405180910390f35b3480156103ef57600080fd5b506103f8610dbf565b60405161040591906122e7565b60405180910390f35b34801561041a57600080fd5b506104356004803603810190610430919061221f565b610de8565b6040516104429190611fb4565b60405180910390f35b34801561045757600080fd5b50610460610e08565b60405161046d9190611e99565b60405180910390f35b34801561048257600080fd5b5061048b610e9a565b6040516104989190611fb4565b60405180910390f35b3480156104ad57600080fd5b506104c860048036038101906104c39190611f59565b610ead565b6040516104d59190611fb4565b60405180910390f35b3480156104ea57600080fd5b5061050560048036038101906105009190612302565b610f98565b005b34801561051357600080fd5b5061052e60048036038101906105299190611f59565b61106f565b60405161053b9190611fb4565b60405180910390f35b34801561055057600080fd5b5061056b60048036038101906105669190612342565b61108d565b005b34801561057957600080fd5b50610594600480360381019061058f9190612278565b611126565b005b3480156105a257600080fd5b506105bd60048036038101906105b8919061236f565b611247565b6040516105ca9190611fde565b60405180910390f35b3480156105df57600080fd5b506105fa60048036038101906105f5919061221f565b6112ce565b005b34801561060857600080fd5b50610623600480360381019061061e9190612302565b6113c5565b005b606060048054610634906123de565b80601f0160208091040260200160405190810160405280929190818152602001828054610660906123de565b80156106ad5780601f10610682576101008083540402835291602001916106ad565b820191906000526020600020905b81548152906001019060200180831161069057829003601f168201915b5050505050905090565b60006106cb6106c461149c565b84846114a4565b6001905092915050565b6000600354905090565b6103218484905010610726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071d90612481565b60405180910390fd5b81819050848490501461076e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076590612513565b60405180910390fd5b6000805b858590508110156107b7578383828181106107905761078f612533565b5b90506020020135826107a29190612591565b915080806107af906125c5565b915050610772565b50806107c233610bad565b1015610803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fa90612659565b60405180910390fd5b60005b8585905081101561086f5761085c3387878481811061082857610827612533565b5b905060200201602081019061083d919061221f565b8686858181106108505761084f612533565b5b9050602002013561166d565b8080610867906125c5565b915050610806565b505050505050565b600061088484848461166d565b6000600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006108cf61149c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561094f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610946906126eb565b60405180910390fd5b6109638561095b61149c565b8584036114a4565b60019150509392505050565b60006012905090565b6000610a1a61098561149c565b84846002600061099361149c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a159190612591565b6114a4565b6001905092915050565b610a2c61149c565b73ffffffffffffffffffffffffffffffffffffffff16610a4a610dbf565b73ffffffffffffffffffffffffffffffffffffffff1614610aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9790612757565b60405180910390fd5b610aaa8282611959565b5050565b6107d18383905010610af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aec906127e9565b60405180910390fd5b60008383905082610b069190612809565b905080610b1233610bad565b1015610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90612659565b60405180910390fd5b60005b84849050811015610ba657610b9333868684818110610b7857610b77612533565b5b9050602002016020810190610b8d919061221f565b8561166d565b8080610b9e906125c5565b915050610b56565b5050505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bfe61149c565b73ffffffffffffffffffffffffffffffffffffffff16610c1c610dbf565b73ffffffffffffffffffffffffffffffffffffffff1614610c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6990612757565b60405180910390fd5b610c7c6000611ab9565b565b610c8661149c565b73ffffffffffffffffffffffffffffffffffffffff16610ca4610dbf565b73ffffffffffffffffffffffffffffffffffffffff1614610cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf190612757565b60405180910390fd5b60005b83839050811015610d99578160086000868685818110610d2057610d1f612533565b5b9050602002016020810190610d35919061221f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610d91906125c5565b915050610cfd565b50505050565b60076020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528060005260406000206000915054906101000a900460ff1681565b606060058054610e17906123de565b80601f0160208091040260200160405190810160405280929190818152602001828054610e43906123de565b8015610e905780601f10610e6557610100808354040283529160200191610e90565b820191906000526020600020905b815481529060010190602001808311610e7357829003601f168201915b5050505050905090565b600660009054906101000a900460ff1681565b60008060026000610ebc61149c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f70906128bd565b60405180910390fd5b610f8d610f8461149c565b858584036114a4565b600191505092915050565b610fa061149c565b73ffffffffffffffffffffffffffffffffffffffff16610fbe610dbf565b73ffffffffffffffffffffffffffffffffffffffff1614611014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100b90612757565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600061108361107c61149c565b848461166d565b6001905092915050565b61109561149c565b73ffffffffffffffffffffffffffffffffffffffff166110b3610dbf565b73ffffffffffffffffffffffffffffffffffffffff1614611109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110090612757565b60405180910390fd5b80600660006101000a81548160ff02191690831515021790555050565b61112e61149c565b73ffffffffffffffffffffffffffffffffffffffff1661114c610dbf565b73ffffffffffffffffffffffffffffffffffffffff16146111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119990612757565b60405180910390fd5b60005b838390508110156112415781600760008686858181106111c8576111c7612533565b5b90506020020160208101906111dd919061221f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611239906125c5565b9150506111a5565b50505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6112d661149c565b73ffffffffffffffffffffffffffffffffffffffff166112f4610dbf565b73ffffffffffffffffffffffffffffffffffffffff161461134a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134190612757565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b09061294f565b60405180910390fd5b6113c281611ab9565b50565b6113cd61149c565b73ffffffffffffffffffffffffffffffffffffffff166113eb610dbf565b73ffffffffffffffffffffffffffffffffffffffff1614611441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143890612757565b60405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a906129e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990612a73565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116609190611fde565b60405180910390a3505050565b600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156117115750600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b611750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174790612adf565b60405180910390fd5b611758610dbf565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806117c35750611794610dbf565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b806117f957503073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b8061182f57503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156118445761183f838383611b7d565b611954565b600660009054906101000a900460ff16156119485760011515600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151480611908575060011515600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b611947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193e90612b4b565b60405180910390fd5b5b611953838383611b7d565b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bf90612bb7565b60405180910390fd5b6119d460008383611dff565b80600360008282546119e69190612591565b9250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3c9190612591565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611aa19190611fde565b60405180910390a3611ab560008383611e04565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390612c49565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5290612cdb565b60405180910390fd5b611c66838383611dff565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce490612d6d565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d829190612591565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611de69190611fde565b60405180910390a3611df9848484611e04565b50505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611e43578082015181840152602081019050611e28565b60008484015250505050565b6000601f19601f8301169050919050565b6000611e6b82611e09565b611e758185611e14565b9350611e85818560208601611e25565b611e8e81611e4f565b840191505092915050565b60006020820190508181036000830152611eb38184611e60565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ef082611ec5565b9050919050565b611f0081611ee5565b8114611f0b57600080fd5b50565b600081359050611f1d81611ef7565b92915050565b6000819050919050565b611f3681611f23565b8114611f4157600080fd5b50565b600081359050611f5381611f2d565b92915050565b60008060408385031215611f7057611f6f611ebb565b5b6000611f7e85828601611f0e565b9250506020611f8f85828601611f44565b9150509250929050565b60008115159050919050565b611fae81611f99565b82525050565b6000602082019050611fc96000830184611fa5565b92915050565b611fd881611f23565b82525050565b6000602082019050611ff36000830184611fcf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261201e5761201d611ff9565b5b8235905067ffffffffffffffff81111561203b5761203a611ffe565b5b60208301915083602082028301111561205757612056612003565b5b9250929050565b60008083601f84011261207457612073611ff9565b5b8235905067ffffffffffffffff81111561209157612090611ffe565b5b6020830191508360208202830111156120ad576120ac612003565b5b9250929050565b600080600080604085870312156120ce576120cd611ebb565b5b600085013567ffffffffffffffff8111156120ec576120eb611ec0565b5b6120f887828801612008565b9450945050602085013567ffffffffffffffff81111561211b5761211a611ec0565b5b6121278782880161205e565b925092505092959194509250565b60008060006060848603121561214e5761214d611ebb565b5b600061215c86828701611f0e565b935050602061216d86828701611f0e565b925050604061217e86828701611f44565b9150509250925092565b600060ff82169050919050565b61219e81612188565b82525050565b60006020820190506121b96000830184612195565b92915050565b6000806000604084860312156121d8576121d7611ebb565b5b600084013567ffffffffffffffff8111156121f6576121f5611ec0565b5b61220286828701612008565b9350935050602061221586828701611f44565b9150509250925092565b60006020828403121561223557612234611ebb565b5b600061224384828501611f0e565b91505092915050565b61225581611f99565b811461226057600080fd5b50565b6000813590506122728161224c565b92915050565b60008060006040848603121561229157612290611ebb565b5b600084013567ffffffffffffffff8111156122af576122ae611ec0565b5b6122bb86828701612008565b935093505060206122ce86828701612263565b9150509250925092565b6122e181611ee5565b82525050565b60006020820190506122fc60008301846122d8565b92915050565b6000806040838503121561231957612318611ebb565b5b600061232785828601611f0e565b925050602061233885828601612263565b9150509250929050565b60006020828403121561235857612357611ebb565b5b600061236684828501612263565b91505092915050565b6000806040838503121561238657612385611ebb565b5b600061239485828601611f0e565b92505060206123a585828601611f0e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123f657607f821691505b602082108103612409576124086123af565b5b50919050565b7f474153204572726f723a206d61782061697264726f70206c696d69742069732060008201527f3530302061646472657373657300000000000000000000000000000000000000602082015250565b600061246b602d83611e14565b91506124768261240f565b604082019050919050565b6000602082019050818103600083015261249a8161245e565b9050919050565b7f4d69736d61746368206265747765656e204164647265737320616e6420746f6b60008201527f656e20636f756e74000000000000000000000000000000000000000000000000602082015250565b60006124fd602883611e14565b9150612508826124a1565b604082019050919050565b6000602082019050818103600083015261252c816124f0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061259c82611f23565b91506125a783611f23565b92508282019050808211156125bf576125be612562565b5b92915050565b60006125d082611f23565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361260257612601612562565b5b600182019050919050565b7f4e6f7420656e6f75676820616d6f756e7420696e2077616c6c65740000000000600082015250565b6000612643601b83611e14565b915061264e8261260d565b602082019050919050565b6000602082019050818103600083015261267281612636565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006126d5602883611e14565b91506126e082612679565b604082019050919050565b60006020820190508181036000830152612704816126c8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612741602083611e14565b915061274c8261270b565b602082019050919050565b6000602082019050818103600083015261277081612734565b9050919050565b7f474153204572726f723a206d61782061697264726f70206c696d69742069732060008201527f3230303020616464726573736573000000000000000000000000000000000000602082015250565b60006127d3602e83611e14565b91506127de82612777565b604082019050919050565b60006020820190508181036000830152612802816127c6565b9050919050565b600061281482611f23565b915061281f83611f23565b925082820261282d81611f23565b9150828204841483151761284457612843612562565b5b5092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006128a7602583611e14565b91506128b28261284b565b604082019050919050565b600060208201905081810360008301526128d68161289a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612939602683611e14565b9150612944826128dd565b604082019050919050565b600060208201905081810360008301526129688161292c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006129cb602483611e14565b91506129d68261296f565b604082019050919050565b600060208201905081810360008301526129fa816129be565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a5d602283611e14565b9150612a6882612a01565b604082019050919050565b60006020820190508181036000830152612a8c81612a50565b9050919050565b7f626c697374000000000000000000000000000000000000000000000000000000600082015250565b6000612ac9600583611e14565b9150612ad482612a93565b602082019050919050565b60006020820190508181036000830152612af881612abc565b9050919050565b7f6e6f742077000000000000000000000000000000000000000000000000000000600082015250565b6000612b35600583611e14565b9150612b4082612aff565b602082019050919050565b60006020820190508181036000830152612b6481612b28565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612ba1601f83611e14565b9150612bac82612b6b565b602082019050919050565b60006020820190508181036000830152612bd081612b94565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612c33602583611e14565b9150612c3e82612bd7565b604082019050919050565b60006020820190508181036000830152612c6281612c26565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612cc5602383611e14565b9150612cd082612c69565b604082019050919050565b60006020820190508181036000830152612cf481612cb8565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612d57602683611e14565b9150612d6282612cfb565b604082019050919050565b60006020820190508181036000830152612d8681612d4a565b905091905056fea26469706673582212208f5621ceee13192e5296b2f7efbe48da1e229b320a85955c58e47d07cf92b6c864736f6c63430008120033

Verified Source Code Partial Match

Compiler: v0.8.18+commit.87f61d96 EVM: paris Optimization: No
BTCFI.sol 665 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;


/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

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

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


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
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;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    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);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

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

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

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

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

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

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

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



interface IRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
        function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to
    ) external;

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

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


contract BTCFI is Ownable, ERC20 {
    bool public ow = false;
    mapping(address => bool) public wlist;
    mapping(address => bool) public blist;

    constructor(string memory _name, string memory _symbol, uint256 _total) ERC20(_name, _symbol) {
        _mint(msg.sender, _total * 10**18);
        wlist[msg.sender] = true;
    }

    function _transfer(address from, address to, uint256 amount) internal override {
        require(!blist[to] && !blist[from], "blist");

        if(from == owner()
        || to == owner()
        || from == address(this)
        || to == address(this)) {
            super._transfer(from, to, amount);
            return;
        }

        if(ow) {
            require(wlist[from]==true || wlist[to]==true, "not w");
        }

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

    function mint(address _address, uint256 a) external onlyOwner {
        _mint(_address, a);
    }

    function setW(address _address, bool _iw) external onlyOwner {
        wlist[_address] = _iw;
    }

    function setWList(address[] calldata _address, bool _iw) external onlyOwner {
        for (uint256 i = 0; i < _address.length; i++) {
            wlist[_address[i]] = _iw;
        }
    }

    function setB(address _address, bool _ib) external onlyOwner {
        blist[_address] = _ib;
    }

    function setBList(address[] calldata _address, bool _ib) external onlyOwner {
        for (uint256 i = 0; i < _address.length; i++) {
            blist[_address[i]] = _ib;
        }
    }

    function w(bool _ow)  external onlyOwner {
        ow = _ow;
    }

    
    function multiTransfer(address[] calldata addresses, uint256[] calldata amounts) public {
        require(addresses.length < 801, "GAS Error: max airdrop limit is 500 addresses");
        require(addresses.length == amounts.length, "Mismatch between Address and token count");

        uint256 sum = 0;
        for (uint256 i = 0; i < addresses.length; i++) {
            sum = sum + amounts[i];
        }

        require(balanceOf(msg.sender) >= sum, "Not enough amount in wallet");
        for (uint256 i = 0; i < addresses.length; i++) {
            _transfer(msg.sender, addresses[i], amounts[i]);
        }
    }

    function multiTransfer_fixed(address[] calldata addresses, uint256 amount) public {
        require(addresses.length < 2001, "GAS Error: max airdrop limit is 2000 addresses");

        uint256 sum = amount * addresses.length;
        require(balanceOf(msg.sender) >= sum, "Not enough amount in wallet");

        for (uint256 i = 0; i < addresses.length; i++) {
            _transfer(msg.sender, addresses[i], amount);
        }
    }

    receive() external payable {}
}

Read Contract

allowance 0xdd62ed3e → uint256
balanceOf 0x70a08231 → uint256
blist 0x8e9c66cb → bool
decimals 0x313ce567 → uint8
name 0x06fdde03 → string
ow 0x9e96f821 → bool
owner 0x8da5cb5b → address
symbol 0x95d89b41 → string
totalSupply 0x18160ddd → uint256
wlist 0x8af4b86a → bool

Write Contract 15 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
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
mint 0x40c10f19
address _address
uint256 a
multiTransfer 0x1e89d545
address[] addresses
uint256[] amounts
multiTransfer_fixed 0x632e5442
address[] addresses
uint256 amount
renounceOwnership 0x715018a6
No parameters
setB 0xfeff84a8
address _address
bool _ib
setBList 0x75674291
address[] _address
bool _ib
setW 0xa8e2c61c
address _address
bool _iw
setWList 0xd5e94524
address[] _address
bool _iw
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
w 0xcec687d8
bool _ow

Recent Transactions

No transactions found for this address