Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x13DEf34a6D3B3dA4daF19dFb1c8ca58ab55D3391
Balance 0 ETH
Nonce 1
Code Size 23292 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

23292 bytes
0x60806040526004361061039b5760003560e01c80638ea5220f116101dc578063bf3c2f2a11610102578063e2f45605116100a0578063f2fde38b1161006f578063f2fde38b14610dad578063f637434214610dd6578063f8b45b0514610e01578063fe72b27a14610e2c576103a2565b8063e2f4560514610d03578063e884f26014610d2e578063f11a24d314610d59578063f275f64b14610d84576103a2565b8063c8c8ebe4116100dc578063c8c8ebe414610c45578063d85ba06314610c70578063dd62ed3e14610c9b578063e11d22cf14610cd8576103a2565b8063bf3c2f2a14610bc8578063c024666814610bf1578063c876d0b914610c1a576103a2565b80639fccce321161017a578063a9059cbb11610149578063a9059cbb14610afa578063aacebbe314610b37578063b62496f514610b60578063bbc0c74214610b9d576103a2565b80639fccce3214610a3c578063a0d82dc514610a67578063a457c2d714610a92578063a4c82a0014610acf576103a2565b806395d89b41116101b657806395d89b41146109925780639a7a23d6146109bd5780639c3b4fdc146109e65780639ec22c0e14610a11576103a2565b80638ea5220f14610913578063921369131461093e578063924de9b714610969576103a2565b806339509351116102c1578063715018a61161025f57806378bd4e5d1161022e57806378bd4e5d146108575780637bce5a041461089457806384b0aa66146108bf5780638da5cb5b146108e8576103a2565b8063715018a6146107c3578063730c1888146107da5780637571336a1461080357806375f0a8741461082c576103a2565b80634fbee1931161029b5780634fbee193146106f35780636a486a8e146107305780636ddd17131461075b57806370a0823114610786576103a2565b8063395093511461066057806349bd5a5e1461069d5780634a62bb65146106c8576103a2565b8063199ffc721161033957806327c8f8351161030857806327c8f835146105b45780632c3e486c146105df5780632e82f1a01461060a578063313ce56714610635576103a2565b8063199ffc72146104f65780631a8145bb146105215780631f3fed8f1461054c57806323b872dd14610577576103a2565b80631694505e116103755780631694505e1461044c57806318160ddd146104775780631816467f146104a2578063184c16c5146104cb576103a2565b806306fdde03146103a7578063095ea7b3146103d257806310d5de531461040f576103a2565b366103a257005b600080fd5b3480156103b357600080fd5b506103bc610e69565b6040516103c99190614398565b60405180910390f35b3480156103de57600080fd5b506103f960048036038101906103f49190614453565b610efb565b60405161040691906144ae565b60405180910390f35b34801561041b57600080fd5b50610436600480360381019061043191906144c9565b610f19565b60405161044391906144ae565b60405180910390f35b34801561045857600080fd5b50610461610f38565b60405161046e9190614555565b60405180910390f35b34801561048357600080fd5b5061048c610f5c565b604051610499919061457f565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c491906144c9565b610f66565b005b3480156104d757600080fd5b506104e06110a2565b6040516104ed919061457f565b60405180910390f35b34801561050257600080fd5b5061050b6110a8565b604051610518919061457f565b60405180910390f35b34801561052d57600080fd5b506105366110ae565b604051610543919061457f565b60405180910390f35b34801561055857600080fd5b506105616110b4565b60405161056e919061457f565b60405180910390f35b34801561058357600080fd5b5061059e6004803603810190610599919061459a565b6110ba565b6040516105ab91906144ae565b60405180910390f35b3480156105c057600080fd5b506105c96111b2565b6040516105d691906145fc565b60405180910390f35b3480156105eb57600080fd5b506105f46111b8565b604051610601919061457f565b60405180910390f35b34801561061657600080fd5b5061061f6111be565b60405161062c91906144ae565b60405180910390f35b34801561064157600080fd5b5061064a6111d1565b6040516106579190614633565b60405180910390f35b34801561066c57600080fd5b5061068760048036038101906106829190614453565b6111da565b60405161069491906144ae565b60405180910390f35b3480156106a957600080fd5b506106b2611286565b6040516106bf91906145fc565b60405180910390f35b3480156106d457600080fd5b506106dd6112aa565b6040516106ea91906144ae565b60405180910390f35b3480156106ff57600080fd5b5061071a600480360381019061071591906144c9565b6112bd565b60405161072791906144ae565b60405180910390f35b34801561073c57600080fd5b50610745611313565b604051610752919061457f565b60405180910390f35b34801561076757600080fd5b50610770611319565b60405161077d91906144ae565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a891906144c9565b61132c565b6040516107ba919061457f565b60405180910390f35b3480156107cf57600080fd5b506107d8611374565b005b3480156107e657600080fd5b5061080160048036038101906107fc919061467a565b6113fc565b005b34801561080f57600080fd5b5061082a600480360381019061082591906146cd565b61153c565b005b34801561083857600080fd5b50610841611613565b60405161084e91906145fc565b60405180910390f35b34801561086357600080fd5b5061087e6004803603810190610879919061470d565b611639565b60405161088b91906144ae565b60405180910390f35b3480156108a057600080fd5b506108a961178e565b6040516108b6919061457f565b60405180910390f35b3480156108cb57600080fd5b506108e660048036038101906108e1919061473a565b611794565b005b3480156108f457600080fd5b506108fd611914565b60405161090a91906145fc565b60405180910390f35b34801561091f57600080fd5b5061092861193e565b60405161093591906145fc565b60405180910390f35b34801561094a57600080fd5b50610953611964565b604051610960919061457f565b60405180910390f35b34801561097557600080fd5b50610990600480360381019061098b91906147c7565b61196a565b005b34801561099e57600080fd5b506109a7611a03565b6040516109b49190614398565b60405180910390f35b3480156109c957600080fd5b506109e460048036038101906109df91906146cd565b611a95565b005b3480156109f257600080fd5b506109fb611bae565b604051610a08919061457f565b60405180910390f35b348015610a1d57600080fd5b50610a26611bb4565b604051610a33919061457f565b60405180910390f35b348015610a4857600080fd5b50610a51611bba565b604051610a5e919061457f565b60405180910390f35b348015610a7357600080fd5b50610a7c611bc0565b604051610a89919061457f565b60405180910390f35b348015610a9e57600080fd5b50610ab96004803603810190610ab49190614453565b611bc6565b604051610ac691906144ae565b60405180910390f35b348015610adb57600080fd5b50610ae4611cb1565b604051610af1919061457f565b60405180910390f35b348015610b0657600080fd5b50610b216004803603810190610b1c9190614453565b611cb7565b604051610b2e91906144ae565b60405180910390f35b348015610b4357600080fd5b50610b5e6004803603810190610b5991906144c9565b611cd5565b005b348015610b6c57600080fd5b50610b876004803603810190610b8291906144c9565b611e11565b604051610b9491906144ae565b60405180910390f35b348015610ba957600080fd5b50610bb2611e31565b604051610bbf91906144ae565b60405180910390f35b348015610bd457600080fd5b50610bef6004803603810190610bea91906147f4565b611e44565b005b348015610bfd57600080fd5b50610c186004803603810190610c1391906146cd565b611fe4565b005b348015610c2657600080fd5b50610c2f612109565b604051610c3c91906144ae565b60405180910390f35b348015610c5157600080fd5b50610c5a61211c565b604051610c67919061457f565b60405180910390f35b348015610c7c57600080fd5b50610c85612122565b604051610c92919061457f565b60405180910390f35b348015610ca757600080fd5b50610cc26004803603810190610cbd9190614834565b612128565b604051610ccf919061457f565b60405180910390f35b348015610ce457600080fd5b50610ced6121af565b604051610cfa91906144ae565b60405180910390f35b348015610d0f57600080fd5b50610d1861224f565b604051610d25919061457f565b60405180910390f35b348015610d3a57600080fd5b50610d43612255565b604051610d5091906144ae565b60405180910390f35b348015610d6557600080fd5b50610d6e6122f5565b604051610d7b919061457f565b60405180910390f35b348015610d9057600080fd5b50610dab6004803603810190610da691906147c7565b6122fb565b005b348015610db957600080fd5b50610dd46004803603810190610dcf91906144c9565b6123be565b005b348015610de257600080fd5b50610deb6124b6565b604051610df8919061457f565b60405180910390f35b348015610e0d57600080fd5b50610e166124bc565b604051610e23919061457f565b60405180910390f35b348015610e3857600080fd5b50610e536004803603810190610e4e919061470d565b6124c2565b604051610e6091906144ae565b60405180910390f35b606060038054610e78906148a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea4906148a3565b8015610ef15780601f10610ec657610100808354040283529160200191610ef1565b820191906000526020600020905b815481529060010190602001808311610ed457829003601f168201915b5050505050905090565b6000610f0f610f0861279a565b84846127a2565b6001905092915050565b602080528060005260406000206000915054906101000a900460ff1681565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b610f6e61279a565b73ffffffffffffffffffffffffffffffffffffffff16610f8c611914565b73ffffffffffffffffffffffffffffffffffffffff1614610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990614921565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74360405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5481565b600b5481565b601d5481565b601c5481565b60006110c784848461296d565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061111261279a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611192576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611189906149b3565b60405180910390fd5b6111a68561119e61279a565b8584036127a2565b60019150509392505050565b61dead81565b600d5481565b600c60009054906101000a900460ff1681565b60006012905090565b600061127c6111e761279a565b8484600160006111f561279a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112779190614a02565b6127a2565b6001905092915050565b7f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f1581565b601160009054906101000a900460ff1681565b6000601f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60185481565b601160029054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61137c61279a565b73ffffffffffffffffffffffffffffffffffffffff1661139a611914565b73ffffffffffffffffffffffffffffffffffffffff16146113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e790614921565b60405180910390fd5b6113fa6000613705565b565b61140461279a565b73ffffffffffffffffffffffffffffffffffffffff16611422611914565b73ffffffffffffffffffffffffffffffffffffffff1614611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90614921565b60405180910390fd5b6102588310156114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490614aca565b60405180910390fd5b6103e882111580156114d0575060008210155b61150f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150690614b5c565b60405180910390fd5b82600d8190555081600b8190555080600c60006101000a81548160ff021916908315150217905550505050565b61154461279a565b73ffffffffffffffffffffffffffffffffffffffff16611562611914565b73ffffffffffffffffffffffffffffffffffffffff16146115b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115af90614921565b60405180910390fd5b80602060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061164361279a565b73ffffffffffffffffffffffffffffffffffffffff16611661611914565b73ffffffffffffffffffffffffffffffffffffffff16146116b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ae90614921565b60405180910390fd5b620186a060016116c5610f5c565b6116cf9190614b7c565b6116d99190614c05565b82101561171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290614ca8565b60405180910390fd5b6103e86005611728610f5c565b6117329190614b7c565b61173c9190614c05565b82111561177e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177590614d3a565b60405180910390fd5b8160098190555060019050919050565b60155481565b61179c61279a565b73ffffffffffffffffffffffffffffffffffffffff166117ba611914565b73ffffffffffffffffffffffffffffffffffffffff1614611810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180790614921565b60405180910390fd5b8560158190555084601681905550836017819055506017546016546015546118389190614a02565b6118429190614a02565b601481905550604b601454111561188e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188590614da6565b60405180910390fd5b8260198190555081601a8190555080601b819055506017546016546015546118b69190614a02565b6118c09190614a02565b601881905550604b601454111561190c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190390614da6565b60405180910390fd5b505050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60195481565b61197261279a565b73ffffffffffffffffffffffffffffffffffffffff16611990611914565b73ffffffffffffffffffffffffffffffffffffffff16146119e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dd90614921565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b606060048054611a12906148a3565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3e906148a3565b8015611a8b5780601f10611a6057610100808354040283529160200191611a8b565b820191906000526020600020905b815481529060010190602001808311611a6e57829003601f168201915b5050505050905090565b611a9d61279a565b73ffffffffffffffffffffffffffffffffffffffff16611abb611914565b73ffffffffffffffffffffffffffffffffffffffff1614611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890614921565b60405180910390fd5b7f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f1573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9790614e38565b60405180910390fd5b611baa82826137cb565b5050565b60175481565b60105481565b601e5481565b601b5481565b60008060016000611bd561279a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614eca565b60405180910390fd5b611ca6611c9d61279a565b858584036127a2565b600191505092915050565b600e5481565b6000611ccb611cc461279a565b848461296d565b6001905092915050565b611cdd61279a565b73ffffffffffffffffffffffffffffffffffffffff16611cfb611914565b73ffffffffffffffffffffffffffffffffffffffff1614611d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4890614921565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567460405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60216020528060005260406000206000915054906101000a900460ff1681565b601160019054906101000a900460ff1681565b611e4c61279a565b73ffffffffffffffffffffffffffffffffffffffff16611e6a611914565b73ffffffffffffffffffffffffffffffffffffffff1614611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb790614921565b60405180910390fd5b670de0b6b3a76400006103e86001611ed6610f5c565b611ee09190614b7c565b611eea9190614c05565b611ef49190614c05565b821015611f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2d90614f5c565b60405180910390fd5b670de0b6b3a764000082611f4a9190614b7c565b600881905550670de0b6b3a76400006103e86005611f66610f5c565b611f709190614b7c565b611f7a9190614c05565b611f849190614c05565b811015611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd90614fee565b60405180910390fd5b670de0b6b3a764000081611fda9190614b7c565b600a819055505050565b611fec61279a565b73ffffffffffffffffffffffffffffffffffffffff1661200a611914565b73ffffffffffffffffffffffffffffffffffffffff1614612060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205790614921565b60405180910390fd5b80601f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516120fd91906144ae565b60405180910390a25050565b601360009054906101000a900460ff1681565b60085481565b60145481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006121b961279a565b73ffffffffffffffffffffffffffffffffffffffff166121d7611914565b73ffffffffffffffffffffffffffffffffffffffff161461222d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222490614921565b60405180910390fd5b6000601160006101000a81548160ff0219169083151502179055506001905090565b60095481565b600061225f61279a565b73ffffffffffffffffffffffffffffffffffffffff1661227d611914565b73ffffffffffffffffffffffffffffffffffffffff16146122d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ca90614921565b60405180910390fd5b6000601360006101000a81548160ff0219169083151502179055506001905090565b60165481565b61230361279a565b73ffffffffffffffffffffffffffffffffffffffff16612321611914565b73ffffffffffffffffffffffffffffffffffffffff1614612377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236e90614921565b60405180910390fd5b80156123bb576001601160016101000a81548160ff0219169083151502179055506001601160026101000a81548160ff02191690831515021790555042600e819055505b50565b6123c661279a565b73ffffffffffffffffffffffffffffffffffffffff166123e4611914565b73ffffffffffffffffffffffffffffffffffffffff161461243a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243190614921565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a190615080565b60405180910390fd5b6124b381613705565b50565b601a5481565b600a5481565b60006124cc61279a565b73ffffffffffffffffffffffffffffffffffffffff166124ea611914565b73ffffffffffffffffffffffffffffffffffffffff1614612540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253790614921565b60405180910390fd5b600f546010546125509190614a02565b4211612591576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612588906150ec565b60405180910390fd5b6103e88211156125d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cd9061517e565b60405180910390fd5b4260108190555060003073ffffffffffffffffffffffffffffffffffffffff166370a082317f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f156040518263ffffffff1660e01b815260040161263891906145fc565b602060405180830381865afa158015612655573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061267991906151b3565b905060006126a4612710612696868561386c90919063ffffffff16565b61388290919063ffffffff16565b905060008111156126dd576126dc7f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f1561dead83613898565b5b60007f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f1590508073ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561274a57600080fd5b505af115801561275e573d6000803e3d6000fd5b505050507f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb60405160405180910390a160019350505050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280990615252565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612882576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612879906152e4565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612960919061457f565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d490615376565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4490615408565b60405180910390fd5b6000811415612a6757612a6283836000613898565b613700565b601160009054906101000a900460ff161561312a57612a84611914565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612af25750612ac2611914565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612b2b5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612b65575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612b7e5750600560149054906101000a900460ff16155b1561312957601160019054906101000a900460ff16612c7857601f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612c385750601f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6e90615474565b60405180910390fd5b5b601360009054906101000a900460ff1615612e4057612c95611914565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015612d1c57507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612d7457507f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f1573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15612e3f5743601260003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df19061552c565b60405180910390fd5b43601260003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015612ee35750602060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612f8a57600854811115612f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f24906155be565b60405180910390fd5b600a54612f398361132c565b82612f449190614a02565b1115612f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7c9061562a565b60405180910390fd5b613128565b602160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561302d5750602060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561307c57600854811115613077576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306e906156bc565b60405180910390fd5b613127565b602060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661312657600a546130d98361132c565b826130e49190614a02565b1115613125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311c9061562a565b60405180910390fd5b5b5b5b5b5b60006131353061132c565b90506000600954821015905080801561315a5750601160029054906101000a900460ff165b80156131735750600560149054906101000a900460ff16155b80156131c95750602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561321f5750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156132755750601f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156132b9576001600560146101000a81548160ff02191690831515021790555061329d613b19565b6000600560146101000a81548160ff0219169083151502179055505b600560149054906101000a900460ff1615801561331f5750602160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80156133375750600c60009054906101000a900460ff165b80156133525750600d54600e5461334e9190614a02565b4210155b80156133a85750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156133b7576133b5613e00565b505b6000600560149054906101000a900460ff16159050601f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061346d5750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561347757600090505b600081156136f057602160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156134da57506000601854115b156135a75761350760646134f96018548861386c90919063ffffffff16565b61388290919063ffffffff16565b9050601854601a548261351a9190614b7c565b6135249190614c05565b601d60008282546135359190614a02565b92505081905550601854601b548261354d9190614b7c565b6135579190614c05565b601e60008282546135689190614a02565b92505081905550601854601954826135809190614b7c565b61358a9190614c05565b601c600082825461359b9190614a02565b925050819055506136cc565b602160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561360257506000601454115b156136cb5761362f60646136216014548861386c90919063ffffffff16565b61388290919063ffffffff16565b9050601454601654826136429190614b7c565b61364c9190614c05565b601d600082825461365d9190614a02565b92505081905550601454601754826136759190614b7c565b61367f9190614c05565b601e60008282546136909190614a02565b92505081905550601454601554826136a89190614b7c565b6136b29190614c05565b601c60008282546136c39190614a02565b925050819055505b5b60008111156136e1576136e0873083613898565b5b80856136ed91906156dc565b94505b6136fb878787613898565b505050505b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b6000818361387a9190614b7c565b905092915050565b600081836138909190614c05565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ff90615376565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396f90615408565b60405180910390fd5b613983838383613fc6565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015613a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0090615782565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a9c9190614a02565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613b00919061457f565b60405180910390a3613b13848484613fcb565b50505050565b6000613b243061132c565b90506000601e54601c54601d54613b3b9190614a02565b613b459190614a02565b9050600080831480613b575750600082145b15613b6457505050613dfe565b6014600954613b739190614b7c565b831115613b8c576014600954613b899190614b7c565b92505b6000600283601d5486613b9f9190614b7c565b613ba99190614c05565b613bb39190614c05565b90506000613bca8286613fd090919063ffffffff16565b90506000479050613bda82613fe6565b6000613bef8247613fd090919063ffffffff16565b90506000613c1a87613c0c601c548561386c90919063ffffffff16565b61388290919063ffffffff16565b90506000613c4588613c37601e548661386c90919063ffffffff16565b61388290919063ffffffff16565b90506000818385613c5691906156dc565b613c6091906156dc565b90506000601d819055506000601c819055506000601e81905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051613cc0906157d3565b60006040518083038185875af1925050503d8060008114613cfd576040519150601f19603f3d011682016040523d82523d6000602084013e613d02565b606091505b505080985050600087118015613d185750600081115b15613d6557613d278782614223565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5618682601d54604051613d5c939291906157e8565b60405180910390a15b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051613dab906157d3565b60006040518083038185875af1925050503d8060008114613de8576040519150601f19603f3d011682016040523d82523d6000602084013e613ded565b606091505b505080985050505050505050505050505b565b600042600e8190555060003073ffffffffffffffffffffffffffffffffffffffff166370a082317f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f156040518263ffffffff1660e01b8152600401613e6491906145fc565b602060405180830381865afa158015613e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ea591906151b3565b90506000613ed2612710613ec4600b548561386c90919063ffffffff16565b61388290919063ffffffff16565b90506000811115613f0b57613f0a7f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f1561dead83613898565b5b60007f000000000000000000000000638cf0ef31574908b55ce549ea2e1df15d410f1590508073ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613f7857600080fd5b505af1158015613f8c573d6000803e3d6000fd5b505050507f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d60405160405180910390a16001935050505090565b505050565b505050565b60008183613fde91906156dc565b905092915050565b6000600267ffffffffffffffff8111156140035761400261581f565b5b6040519080825280602002602001820160405280156140315781602001602082028036833780820191505090505b50905030816000815181106140495761404861584e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141129190615892565b816001815181106141265761412561584e565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061418b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846127a2565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b81526004016141ed9594939291906159b8565b600060405180830381600087803b15801561420757600080fd5b505af115801561421b573d6000803e3d6000fd5b505050505050565b61424e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846127a2565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d71982308560008061dead426040518863ffffffff1660e01b81526004016142b596959493929190615a12565b60606040518083038185885af11580156142d3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906142f89190615a73565b5050505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561433957808201518184015260208101905061431e565b83811115614348576000848401525b50505050565b6000601f19601f8301169050919050565b600061436a826142ff565b614374818561430a565b935061438481856020860161431b565b61438d8161434e565b840191505092915050565b600060208201905081810360008301526143b2818461435f565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143ea826143bf565b9050919050565b6143fa816143df565b811461440557600080fd5b50565b600081359050614417816143f1565b92915050565b6000819050919050565b6144308161441d565b811461443b57600080fd5b50565b60008135905061444d81614427565b92915050565b6000806040838503121561446a576144696143ba565b5b600061447885828601614408565b92505060206144898582860161443e565b9150509250929050565b60008115159050919050565b6144a881614493565b82525050565b60006020820190506144c3600083018461449f565b92915050565b6000602082840312156144df576144de6143ba565b5b60006144ed84828501614408565b91505092915050565b6000819050919050565b600061451b614516614511846143bf565b6144f6565b6143bf565b9050919050565b600061452d82614500565b9050919050565b600061453f82614522565b9050919050565b61454f81614534565b82525050565b600060208201905061456a6000830184614546565b92915050565b6145798161441d565b82525050565b60006020820190506145946000830184614570565b92915050565b6000806000606084860312156145b3576145b26143ba565b5b60006145c186828701614408565b93505060206145d286828701614408565b92505060406145e38682870161443e565b9150509250925092565b6145f6816143df565b82525050565b600060208201905061461160008301846145ed565b92915050565b600060ff82169050919050565b61462d81614617565b82525050565b60006020820190506146486000830184614624565b92915050565b61465781614493565b811461466257600080fd5b50565b6000813590506146748161464e565b92915050565b600080600060608486031215614693576146926143ba565b5b60006146a18682870161443e565b93505060206146b28682870161443e565b92505060406146c386828701614665565b9150509250925092565b600080604083850312156146e4576146e36143ba565b5b60006146f285828601614408565b925050602061470385828601614665565b9150509250929050565b600060208284031215614723576147226143ba565b5b60006147318482850161443e565b91505092915050565b60008060008060008060c08789031215614757576147566143ba565b5b600061476589828a0161443e565b965050602061477689828a0161443e565b955050604061478789828a0161443e565b945050606061479889828a0161443e565b93505060806147a989828a0161443e565b92505060a06147ba89828a0161443e565b9150509295509295509295565b6000602082840312156147dd576147dc6143ba565b5b60006147eb84828501614665565b91505092915050565b6000806040838503121561480b5761480a6143ba565b5b60006148198582860161443e565b925050602061482a8582860161443e565b9150509250929050565b6000806040838503121561484b5761484a6143ba565b5b600061485985828601614408565b925050602061486a85828601614408565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806148bb57607f821691505b602082108114156148cf576148ce614874565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061490b60208361430a565b9150614916826148d5565b602082019050919050565b6000602082019050818103600083015261493a816148fe565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b600061499d60288361430a565b91506149a882614941565b604082019050919050565b600060208201905081810360008301526149cc81614990565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a0d8261441d565b9150614a188361441d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a4d57614a4c6149d3565b5b828201905092915050565b7f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e20746860008201527f616e206576657279203130206d696e7574657300000000000000000000000000602082015250565b6000614ab460338361430a565b9150614abf82614a58565b604082019050919050565b60006020820190508181036000830152614ae381614aa7565b9050919050565b7f4d75737420736574206175746f204c50206275726e2070657263656e7420626560008201527f747765656e20302520616e642031302500000000000000000000000000000000602082015250565b6000614b4660308361430a565b9150614b5182614aea565b604082019050919050565b60006020820190508181036000830152614b7581614b39565b9050919050565b6000614b878261441d565b9150614b928361441d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bcb57614bca6149d3565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c108261441d565b9150614c1b8361441d565b925082614c2b57614c2a614bd6565b5b828204905092915050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b6000614c9260358361430a565b9150614c9d82614c36565b604082019050919050565b60006020820190508181036000830152614cc181614c85565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20302e352520746f74616c20737570706c792e000000000000000000000000602082015250565b6000614d2460348361430a565b9150614d2f82614cc8565b604082019050919050565b60006020820190508181036000830152614d5381614d17565b9050919050565b7f4d757374206b656570206665657320617420373525206f72206c657373000000600082015250565b6000614d90601d8361430a565b9150614d9b82614d5a565b602082019050919050565b60006020820190508181036000830152614dbf81614d83565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b6000614e2260398361430a565b9150614e2d82614dc6565b604082019050919050565b60006020820190508181036000830152614e5181614e15565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614eb460258361430a565b9150614ebf82614e58565b604082019050919050565b60006020820190508181036000830152614ee381614ea7565b9050919050565b7f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060008201527f6c6f776572207468616e20302e31250000000000000000000000000000000000602082015250565b6000614f46602f8361430a565b9150614f5182614eea565b604082019050919050565b60006020820190508181036000830152614f7581614f39565b9050919050565b7f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060008201527f302e352500000000000000000000000000000000000000000000000000000000602082015250565b6000614fd860248361430a565b9150614fe382614f7c565b604082019050919050565b6000602082019050818103600083015261500781614fcb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061506a60268361430a565b91506150758261500e565b604082019050919050565b600060208201905081810360008301526150998161505d565b9050919050565b7f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e697368600082015250565b60006150d660208361430a565b91506150e1826150a0565b602082019050919050565b60006020820190508181036000830152615105816150c9565b9050919050565b7f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60008201527f6b656e7320696e204c5000000000000000000000000000000000000000000000602082015250565b6000615168602a8361430a565b91506151738261510c565b604082019050919050565b600060208201905081810360008301526151978161515b565b9050919050565b6000815190506151ad81614427565b92915050565b6000602082840312156151c9576151c86143ba565b5b60006151d78482850161519e565b91505092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061523c60248361430a565b9150615247826151e0565b604082019050919050565b6000602082019050818103600083015261526b8161522f565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006152ce60228361430a565b91506152d982615272565b604082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061536060258361430a565b915061536b82615304565b604082019050919050565b6000602082019050818103600083015261538f81615353565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006153f260238361430a565b91506153fd82615396565b604082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b600061545e60168361430a565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b7f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60008201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b60208201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000604082015250565b600061551660498361430a565b915061552182615494565b606082019050919050565b6000602082019050818103600083015261554581615509565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b60006155a860358361430a565b91506155b38261554c565b604082019050919050565b600060208201905081810360008301526155d78161559b565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b600061561460138361430a565b915061561f826155de565b602082019050919050565b6000602082019050818103600083015261564381615607565b9050919050565b7f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560008201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b60006156a660368361430a565b91506156b18261564a565b604082019050919050565b600060208201905081810360008301526156d581615699565b9050919050565b60006156e78261441d565b91506156f28361441d565b925082821015615705576157046149d3565b5b828203905092915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061576c60268361430a565b915061577782615710565b604082019050919050565b6000602082019050818103600083015261579b8161575f565b9050919050565b600081905092915050565b50565b60006157bd6000836157a2565b91506157c8826157ad565b600082019050919050565b60006157de826157b0565b9150819050919050565b60006060820190506157fd6000830186614570565b61580a6020830185614570565b6158176040830184614570565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008151905061588c816143f1565b92915050565b6000602082840312156158a8576158a76143ba565b5b60006158b68482850161587d565b91505092915050565b6000819050919050565b60006158e46158df6158da846158bf565b6144f6565b61441d565b9050919050565b6158f4816158c9565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61592f816143df565b82525050565b60006159418383615926565b60208301905092915050565b6000602082019050919050565b6000615965826158fa565b61596f8185615905565b935061597a83615916565b8060005b838110156159ab5781516159928882615935565b975061599d8361594d565b92505060018101905061597e565b5085935050505092915050565b600060a0820190506159cd6000830188614570565b6159da60208301876158eb565b81810360408301526159ec818661595a565b90506159fb60608301856145ed565b615a086080830184614570565b9695505050505050565b600060c082019050615a2760008301896145ed565b615a346020830188614570565b615a4160408301876158eb565b615a4e60608301866158eb565b615a5b60808301856145ed565b615a6860a0830184614570565b979650505050505050565b600080600060608486031215615a8c57615a8b6143ba565b5b6000615a9a8682870161519e565b9350506020615aab8682870161519e565b9250506040615abc8682870161519e565b915050925092509256fea2646970667358221220e36e855547958e86b00f331f5ae608a36a11d5b20a62264171da8df9cdd7a48064736f6c634300080a0033

Verified Source Code Partial Match

Compiler: v0.8.10+commit.fc410830 EVM: london Optimization: No
TongyiQianwen.sol 1603 lines
/*


https://t.me/TongyiQianwenPortal

*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10 >=0.8.10 >=0.8.0 <0.9.0;
pragma experimental ABIEncoderV2;

////// lib/openzeppelin-contracts/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

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

////// lib/openzeppelin-contracts/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

/* pragma solidity ^0.8.0; */

/* import "../utils/Context.sol"; */

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

/* pragma solidity ^0.8.0; */

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)

/* pragma solidity ^0.8.0; */

/* import "../IERC20.sol"; */

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)

/* pragma solidity ^0.8.0; */

/* import "./IERC20.sol"; */
/* import "./extensions/IERC20Metadata.sol"; */
/* import "../../utils/Context.sol"; */

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

////// lib/openzeppelin-contracts/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

/* pragma solidity ^0.8.0; */

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    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);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

////// src/IUniswapV2Factory.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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

////// src/IUniswapV2Pair.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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

////// src/IUniswapV2Router02.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

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

/* pragma solidity >=0.8.10; */

/* import {IUniswapV2Router02} from "./IUniswapV2Router02.sol"; */
/* import {IUniswapV2Factory} from "./IUniswapV2Factory.sol"; */
/* import {IUniswapV2Pair} from "./IUniswapV2Pair.sol"; */
/* import {IERC20} from "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol"; */
/* import {ERC20} from "lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol"; */
/* import {Ownable} from "lib/openzeppelin-contracts/contracts/access/Ownable.sol"; */
/* import {SafeMath} from "lib/openzeppelin-contracts/contracts/utils/math/SafeMath.sol"; */

contract TongyiQianwen is ERC20, Ownable {
    using SafeMath for uint256;

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

    bool private swapping;

    address public marketingWallet;
    address public devWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    uint256 public percentForLPBurn = 25; // 25 = .25%
    bool public lpBurnEnabled = true;
    uint256 public lpBurnFrequency = 3600 seconds;
    uint256 public lastLpBurnTime;

    uint256 public manualBurnFrequency = 30 minutes;
    uint256 public lastManualLpBurnTime;

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

    // Anti-bot and anti-whale mappings and variables
    mapping(address => uint256) private _holderLastTransferTimestamp; // to hold last Transfers temporarily during launch
    bool public transferDelayEnabled = true;

    uint256 public buyTotalFees;
    uint256 public buyMarketingFee;
    uint256 public buyLiquidityFee;
    uint256 public buyDevFee;

    uint256 public sellTotalFees;
    uint256 public sellMarketingFee;
    uint256 public sellLiquidityFee;
    uint256 public sellDevFee;

    uint256 public tokensForMarketing;
    uint256 public tokensForLiquidity;
    uint256 public tokensForDev;

    /******************/

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    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 devWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

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

    event AutoNukeLP();

    event ManualNukeLP();

    constructor() ERC20("Tongyi Qianwen", "QIANWEN") {
        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 = 0;
        uint256 _buyLiquidityFee = 0;
        uint256 _buyDevFee = 20;

        uint256 _sellMarketingFee = 0;
        uint256 _sellLiquidityFee = 0;
        uint256 _sellDevFee = 70;

        uint256 totalSupply = 1_000_000_000 * 1e18;

        maxTransactionAmount = 20_000_000 * 1e18; // 2% from total supply maxTransactionAmountTxn
        maxWallet = 20_000_000 * 1e18; // 2% from total supply maxWallet
        swapTokensAtAmount = (totalSupply * 10) / 10000; // 0.1% swap wallet

        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyDevFee = _buyDevFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;

        sellMarketingFee = _sellMarketingFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellDevFee = _sellDevFee;
        sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee;

        marketingWallet = address(0x869063Ce45431aE66a85eD282B3E11c25636d9EC); // set as marketing wallet
        devWallet = address(0x869063Ce45431aE66a85eD282B3E11c25636d9EC); // set as dev wallet

        // 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 is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    // once enabled, can never be turned off
    function enableTrading(bool enabled) external onlyOwner {

        if(enabled){
        tradingActive = true;
        swapEnabled = true;
        lastLpBurnTime = block.timestamp;

        }
        
    }

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

    // disable Transfer delay - cannot be reenabled
    function disableTransferDelay() external onlyOwner returns (bool) {
        transferDelayEnabled = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function adjustSwapTokensAtAmount(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 adjustLimits(uint256 newNumTx, uint256 newNumWallet) external onlyOwner {
        require(
            newNumTx >= ((totalSupply() * 1) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.1%"
        );
        maxTransactionAmount = newNumTx * (10**18);

        require(
            newNumWallet >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newNumWallet * (10**18);
    }

  

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

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

    function adjustFees(uint256 _buyMarketingFee,  uint256 _buyLiquidityFee, uint256 _buyDevFee,  uint256 _sellMarketingFee, uint256 _sellLiquidityFee, uint256 _sellDevFee) external onlyOwner{
        buyMarketingFee = _buyMarketingFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyDevFee = _buyDevFee;
        buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;
        require(buyTotalFees <= 75, "Must keep fees at 75% or less");

        sellMarketingFee = _sellMarketingFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellDevFee = _sellDevFee;
        sellTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;
        require(buyTotalFees <= 75, "Must keep fees at 75% 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 updateDevWallet(address newWallet) external onlyOwner {
        emit devWalletUpdated(newWallet, devWallet);
        devWallet = 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."
                    );
                }

                // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
                if (transferDelayEnabled) {
                    if (
                        to != owner() &&
                        to != address(uniswapV2Router) &&
                        to != address(uniswapV2Pair)
                    ) {
                        require(
                            _holderLastTransferTimestamp[tx.origin] <
                                block.number,
                            "_transfer:: Transfer Delay enabled.  Only one purchase per block allowed."
                        );
                        _holderLastTransferTimestamp[tx.origin] = block.number;
                    }
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "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;
        }

        if (
            !swapping &&
            automatedMarketMakerPairs[to] &&
            lpBurnEnabled &&
            block.timestamp >= lastLpBurnTime + lpBurnFrequency &&
            !_isExcludedFromFees[from]
        ) {
            autoBurnLiquidityPairTokens();
        }

        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);
                tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
                tokensForDev += (fees * sellDevFee) / sellTotalFees;
                tokensForMarketing += (fees * sellMarketingFee) / sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
                tokensForDev += (fees * buyDevFee) / buyTotalFees;
                tokensForMarketing += (fees * buyMarketingFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

        super._transfer(from, to, 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 addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // add the liquidity
        uniswapV2Router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            deadAddress,
            block.timestamp
        );
    }

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

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

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

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance.sub(initialETHBalance);

        uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(
            totalTokensToSwap
        );
        uint256 ethForDev = ethBalance.mul(tokensForDev).div(totalTokensToSwap);

        uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForDev;

        tokensForLiquidity = 0;
        tokensForMarketing = 0;
        tokensForDev = 0;

        (success, ) = address(devWallet).call{value: ethForDev}("");

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }

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

    function setAutoLPBurnSettings(
        uint256 _frequencyInSeconds,
        uint256 _percent,
        bool _Enabled
    ) external onlyOwner {
        require(
            _frequencyInSeconds >= 600,
            "cannot...

// [truncated — 52191 bytes total]

Read Contract

_isExcludedMaxTransactionAmount 0x10d5de53 → bool
allowance 0xdd62ed3e → uint256
automatedMarketMakerPairs 0xb62496f5 → bool
balanceOf 0x70a08231 → uint256
buyDevFee 0x9c3b4fdc → uint256
buyLiquidityFee 0xf11a24d3 → uint256
buyMarketingFee 0x7bce5a04 → uint256
buyTotalFees 0xd85ba063 → uint256
deadAddress 0x27c8f835 → address
decimals 0x313ce567 → uint8
devWallet 0x8ea5220f → address
isExcludedFromFees 0x4fbee193 → bool
lastLpBurnTime 0xa4c82a00 → uint256
lastManualLpBurnTime 0x9ec22c0e → uint256
limitsInEffect 0x4a62bb65 → bool
lpBurnEnabled 0x2e82f1a0 → bool
lpBurnFrequency 0x2c3e486c → uint256
manualBurnFrequency 0x184c16c5 → uint256
marketingWallet 0x75f0a874 → address
maxTransactionAmount 0xc8c8ebe4 → uint256
maxWallet 0xf8b45b05 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
percentForLPBurn 0x199ffc72 → uint256
sellDevFee 0xa0d82dc5 → uint256
sellLiquidityFee 0xf6374342 → uint256
sellMarketingFee 0x92136913 → uint256
sellTotalFees 0x6a486a8e → uint256
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
tokensForDev 0x9fccce32 → uint256
tokensForLiquidity 0x1a8145bb → uint256
tokensForMarketing 0x1f3fed8f → uint256
totalSupply 0x18160ddd → uint256
tradingActive 0xbbc0c742 → bool
transferDelayEnabled 0xc876d0b9 → bool
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address

Write Contract 21 functions

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

adjustFees 0x84b0aa66
uint256 _buyMarketingFee
uint256 _buyLiquidityFee
uint256 _buyDevFee
uint256 _sellMarketingFee
uint256 _sellLiquidityFee
uint256 _sellDevFee
adjustLimits 0xbf3c2f2a
uint256 newNumTx
uint256 newNumWallet
adjustSwapTokensAtAmount 0x78bd4e5d
uint256 newAmount
returns: bool
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableTransferDelay 0xe884f260
No parameters
returns: bool
enableTrading 0xf275f64b
bool enabled
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
manualBurnLiquidityPairTokens 0xfe72b27a
uint256 percent
returns: bool
renounceOwnership 0x715018a6
No parameters
setAutoLPBurnSettings 0x730c1888
uint256 _frequencyInSeconds
uint256 _percent
bool _Enabled
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
updateDevWallet 0x1816467f
address newWallet
updateMarketingWallet 0xaacebbe3
address newMarketingWallet
updateSwapEnabled 0x924de9b7
bool enabled
vanishLimits 0xe11d22cf
No parameters
returns: bool

Recent Transactions

No transactions found for this address