Address Contract Partially Verified
Address
0x120488048DF6b234fd3696FB728bC4B808fCED7f
Balance
0 ETH
Nonce
1
Code Size
24467 bytes
Creator
0x5e6F217b...b2E5 at tx 0xc10e056a...e675b6
Indexed Transactions
0
Contract Bytecode
24467 bytes
0x6080604052600436106103bc5760003560e01c80638da5cb5b116101f2578063c02466681161010d578063dd62ed3e116100a0578063f2fde38b1161006f578063f2fde38b14610e37578063f637434214610e60578063f8b45b0514610e8b578063fe72b27a14610eb6576103c3565b8063dd62ed3e14610d79578063e2f4560514610db6578063e884f26014610de1578063f11a24d314610e0c576103c3565b8063c876d0b9116100dc578063c876d0b914610cbb578063c8c8ebe414610ce6578063d257b34f14610d11578063d85ba06314610d4e576103c3565b8063c024666814610c17578063c17b5b8c14610c40578063c18bc19514610c69578063c68639f014610c92576103c3565b80639fccce3211610185578063a9059cbb11610154578063a9059cbb14610b49578063aacebbe314610b86578063b62496f514610baf578063bbc0c74214610bec576103c3565b80639fccce3214610a8b578063a0d82dc514610ab6578063a457c2d714610ae1578063a4c82a0014610b1e576103c3565b806395d89b41116101c157806395d89b41146109e15780639a7a23d614610a0c5780639c3b4fdc14610a355780639ec22c0e14610a60576103c3565b80638da5cb5b146109375780638ea5220f14610962578063921369131461098d578063924de9b7146109b8576103c3565b8063313ce567116102e2578063715018a61161027557806375f0a8741161024457806375f0a874146108a15780637bce5a04146108cc5780638095d564146108f75780638a8c523c14610920576103c3565b8063715018a61461080d578063730c188814610824578063751039fc1461084d5780637571336a14610878576103c3565b80634fbee193116102b15780634fbee1931461073d5780636a486a8e1461077a5780636ddd1713146107a557806370a08231146107d0576103c3565b8063313ce5671461067f57806339509351146106aa57806349bd5a5e146106e75780634a62bb6514610712576103c3565b8063199ffc721161035a57806323b872dd1161032957806323b872dd146105c157806327c8f835146105fe5780632c3e486c146106295780632e82f1a014610654576103c3565b8063199ffc72146105175780631a8145bb146105425780631f3fed8f1461056d578063203e727e14610598576103c3565b80631694505e116103965780631694505e1461046d57806318160ddd146104985780631816467f146104c3578063184c16c5146104ec576103c3565b806306fdde03146103c8578063095ea7b3146103f357806310d5de5314610430576103c3565b366103c357005b600080fd5b3480156103d457600080fd5b506103dd610ef3565b6040516103ea9190614675565b60405180910390f35b3480156103ff57600080fd5b5061041a6004803603810190610415919061473f565b610f85565b604051610427919061479a565b60405180910390f35b34801561043c57600080fd5b50610457600480360381019061045291906147b5565b610fa3565b604051610464919061479a565b60405180910390f35b34801561047957600080fd5b50610482610fc2565b60405161048f9190614841565b60405180910390f35b3480156104a457600080fd5b506104ad610fe6565b6040516104ba919061486b565b60405180910390f35b3480156104cf57600080fd5b506104ea60048036038101906104e591906147b5565b610ff0565b005b3480156104f857600080fd5b5061050161112c565b60405161050e919061486b565b60405180910390f35b34801561052357600080fd5b5061052c611132565b604051610539919061486b565b60405180910390f35b34801561054e57600080fd5b50610557611138565b604051610564919061486b565b60405180910390f35b34801561057957600080fd5b5061058261113e565b60405161058f919061486b565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190614886565b611144565b005b3480156105cd57600080fd5b506105e860048036038101906105e391906148b3565b611253565b6040516105f5919061479a565b60405180910390f35b34801561060a57600080fd5b5061061361134b565b6040516106209190614915565b60405180910390f35b34801561063557600080fd5b5061063e611351565b60405161064b919061486b565b60405180910390f35b34801561066057600080fd5b50610669611357565b604051610676919061479a565b60405180910390f35b34801561068b57600080fd5b5061069461136a565b6040516106a1919061494c565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc919061473f565b611373565b6040516106de919061479a565b60405180910390f35b3480156106f357600080fd5b506106fc61141f565b6040516107099190614915565b60405180910390f35b34801561071e57600080fd5b50610727611443565b604051610734919061479a565b60405180910390f35b34801561074957600080fd5b50610764600480360381019061075f91906147b5565b611456565b604051610771919061479a565b60405180910390f35b34801561078657600080fd5b5061078f6114ac565b60405161079c919061486b565b60405180910390f35b3480156107b157600080fd5b506107ba6114b2565b6040516107c7919061479a565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906147b5565b6114c5565b604051610804919061486b565b60405180910390f35b34801561081957600080fd5b5061082261150d565b005b34801561083057600080fd5b5061084b60048036038101906108469190614993565b611595565b005b34801561085957600080fd5b506108626116d5565b60405161086f919061479a565b60405180910390f35b34801561088457600080fd5b5061089f600480360381019061089a91906149e6565b611775565b005b3480156108ad57600080fd5b506108b661184c565b6040516108c39190614915565b60405180910390f35b3480156108d857600080fd5b506108e1611872565b6040516108ee919061486b565b60405180910390f35b34801561090357600080fd5b5061091e60048036038101906109199190614a26565b611878565b005b34801561092c57600080fd5b50610935611977565b005b34801561094357600080fd5b5061094c611a32565b6040516109599190614915565b60405180910390f35b34801561096e57600080fd5b50610977611a5c565b6040516109849190614915565b60405180910390f35b34801561099957600080fd5b506109a2611a82565b6040516109af919061486b565b60405180910390f35b3480156109c457600080fd5b506109df60048036038101906109da9190614a79565b611a88565b005b3480156109ed57600080fd5b506109f6611b21565b604051610a039190614675565b60405180910390f35b348015610a1857600080fd5b50610a336004803603810190610a2e91906149e6565b611bb3565b005b348015610a4157600080fd5b50610a4a611ccc565b604051610a57919061486b565b60405180910390f35b348015610a6c57600080fd5b50610a75611cd2565b604051610a82919061486b565b60405180910390f35b348015610a9757600080fd5b50610aa0611cd8565b604051610aad919061486b565b60405180910390f35b348015610ac257600080fd5b50610acb611cde565b604051610ad8919061486b565b60405180910390f35b348015610aed57600080fd5b50610b086004803603810190610b03919061473f565b611ce4565b604051610b15919061479a565b60405180910390f35b348015610b2a57600080fd5b50610b33611dcf565b604051610b40919061486b565b60405180910390f35b348015610b5557600080fd5b50610b706004803603810190610b6b919061473f565b611dd5565b604051610b7d919061479a565b60405180910390f35b348015610b9257600080fd5b50610bad6004803603810190610ba891906147b5565b611df3565b005b348015610bbb57600080fd5b50610bd66004803603810190610bd191906147b5565b611f2f565b604051610be3919061479a565b60405180910390f35b348015610bf857600080fd5b50610c01611f4f565b604051610c0e919061479a565b60405180910390f35b348015610c2357600080fd5b50610c3e6004803603810190610c3991906149e6565b611f62565b005b348015610c4c57600080fd5b50610c676004803603810190610c629190614a26565b612087565b005b348015610c7557600080fd5b50610c906004803603810190610c8b9190614886565b612186565b005b348015610c9e57600080fd5b50610cb96004803603810190610cb49190614c2c565b612295565b005b348015610cc757600080fd5b50610cd06123f4565b604051610cdd919061479a565b60405180910390f35b348015610cf257600080fd5b50610cfb612407565b604051610d08919061486b565b60405180910390f35b348015610d1d57600080fd5b50610d386004803603810190610d339190614886565b61240d565b604051610d45919061479a565b60405180910390f35b348015610d5a57600080fd5b50610d63612562565b604051610d70919061486b565b60405180910390f35b348015610d8557600080fd5b50610da06004803603810190610d9b9190614c75565b612568565b604051610dad919061486b565b60405180910390f35b348015610dc257600080fd5b50610dcb6125ef565b604051610dd8919061486b565b60405180910390f35b348015610ded57600080fd5b50610df66125f5565b604051610e03919061479a565b60405180910390f35b348015610e1857600080fd5b50610e21612695565b604051610e2e919061486b565b60405180910390f35b348015610e4357600080fd5b50610e5e6004803603810190610e5991906147b5565b61269b565b005b348015610e6c57600080fd5b50610e75612793565b604051610e82919061486b565b60405180910390f35b348015610e9757600080fd5b50610ea0612799565b604051610ead919061486b565b60405180910390f35b348015610ec257600080fd5b50610edd6004803603810190610ed89190614886565b61279f565b604051610eea919061479a565b60405180910390f35b606060038054610f0290614ce4565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2e90614ce4565b8015610f7b5780601f10610f5057610100808354040283529160200191610f7b565b820191906000526020600020905b815481529060010190602001808311610f5e57829003601f168201915b5050505050905090565b6000610f99610f92612a77565b8484612a7f565b6001905092915050565b602080528060005260406000206000915054906101000a900460ff1681565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b610ff8612a77565b73ffffffffffffffffffffffffffffffffffffffff16611016611a32565b73ffffffffffffffffffffffffffffffffffffffff161461106c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106390614d62565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f90b8024c4923d3873ff5b9fcb43d0360d4b9217fa41225d07ba379993552e74360405160405180910390a380600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5481565b600b5481565b601d5481565b601c5481565b61114c612a77565b73ffffffffffffffffffffffffffffffffffffffff1661116a611a32565b73ffffffffffffffffffffffffffffffffffffffff16146111c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b790614d62565b60405180910390fd5b670de0b6b3a76400006103e860016111d6610fe6565b6111e09190614db1565b6111ea9190614e3a565b6111f49190614e3a565b811015611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90614edd565b60405180910390fd5b670de0b6b3a76400008161124a9190614db1565b60088190555050565b6000611260848484612c4a565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006112ab612a77565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561132b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132290614f6f565b60405180910390fd5b61133f85611337612a77565b858403612a7f565b60019150509392505050565b61dead81565b600d5481565b600c60009054906101000a900460ff1681565b60006012905090565b6000611415611380612a77565b84846001600061138e612a77565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114109190614f8f565b612a7f565b6001905092915050565b7f000000000000000000000000471448c5e645a26323f3ec61f5075545ff52242781565b601160009054906101000a900460ff1681565b6000601f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60185481565b601160029054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611515612a77565b73ffffffffffffffffffffffffffffffffffffffff16611533611a32565b73ffffffffffffffffffffffffffffffffffffffff1614611589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158090614d62565b60405180910390fd5b61159360006139e2565b565b61159d612a77565b73ffffffffffffffffffffffffffffffffffffffff166115bb611a32565b73ffffffffffffffffffffffffffffffffffffffff1614611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890614d62565b60405180910390fd5b610258831015611656576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164d90615057565b60405180910390fd5b6103e88211158015611669575060008210155b6116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f906150e9565b60405180910390fd5b82600d8190555081600b8190555080600c60006101000a81548160ff021916908315150217905550505050565b60006116df612a77565b73ffffffffffffffffffffffffffffffffffffffff166116fd611a32565b73ffffffffffffffffffffffffffffffffffffffff1614611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90614d62565b60405180910390fd5b6000601160006101000a81548160ff0219169083151502179055506001905090565b61177d612a77565b73ffffffffffffffffffffffffffffffffffffffff1661179b611a32565b73ffffffffffffffffffffffffffffffffffffffff16146117f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e890614d62565b60405180910390fd5b80602060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60155481565b611880612a77565b73ffffffffffffffffffffffffffffffffffffffff1661189e611a32565b73ffffffffffffffffffffffffffffffffffffffff16146118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb90614d62565b60405180910390fd5b82601581905550816016819055508060178190555060175460165460155461191c9190614f8f565b6119269190614f8f565b60148190555060196014541115611972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196990615155565b60405180910390fd5b505050565b61197f612a77565b73ffffffffffffffffffffffffffffffffffffffff1661199d611a32565b73ffffffffffffffffffffffffffffffffffffffff16146119f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ea90614d62565b60405180910390fd5b6001601160016101000a81548160ff0219169083151502179055506001601160026101000a81548160ff02191690831515021790555042600e81905550565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60195481565b611a90612a77565b73ffffffffffffffffffffffffffffffffffffffff16611aae611a32565b73ffffffffffffffffffffffffffffffffffffffff1614611b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afb90614d62565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b606060048054611b3090614ce4565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5c90614ce4565b8015611ba95780601f10611b7e57610100808354040283529160200191611ba9565b820191906000526020600020905b815481529060010190602001808311611b8c57829003601f168201915b5050505050905090565b611bbb612a77565b73ffffffffffffffffffffffffffffffffffffffff16611bd9611a32565b73ffffffffffffffffffffffffffffffffffffffff1614611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614d62565b60405180910390fd5b7f000000000000000000000000471448c5e645a26323f3ec61f5075545ff52242773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb5906151e7565b60405180910390fd5b611cc88282613aa8565b5050565b60175481565b60105481565b601e5481565b601b5481565b60008060016000611cf3612a77565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da790615279565b60405180910390fd5b611dc4611dbb612a77565b85858403612a7f565b600191505092915050565b600e5481565b6000611de9611de2612a77565b8484612c4a565b6001905092915050565b611dfb612a77565b73ffffffffffffffffffffffffffffffffffffffff16611e19611a32565b73ffffffffffffffffffffffffffffffffffffffff1614611e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6690614d62565b60405180910390fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567460405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60216020528060005260406000206000915054906101000a900460ff1681565b601160019054906101000a900460ff1681565b611f6a612a77565b73ffffffffffffffffffffffffffffffffffffffff16611f88611a32565b73ffffffffffffffffffffffffffffffffffffffff1614611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd590614d62565b60405180910390fd5b80601f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df78260405161207b919061479a565b60405180910390a25050565b61208f612a77565b73ffffffffffffffffffffffffffffffffffffffff166120ad611a32565b73ffffffffffffffffffffffffffffffffffffffff1614612103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fa90614d62565b60405180910390fd5b8260198190555081601a8190555080601b81905550601b54601a5460195461212b9190614f8f565b6121359190614f8f565b60188190555060196018541115612181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217890615155565b60405180910390fd5b505050565b61218e612a77565b73ffffffffffffffffffffffffffffffffffffffff166121ac611a32565b73ffffffffffffffffffffffffffffffffffffffff1614612202576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f990614d62565b60405180910390fd5b670de0b6b3a76400006103e86005612218610fe6565b6122229190614db1565b61222c9190614e3a565b6122369190614e3a565b811015612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f9061530b565b60405180910390fd5b670de0b6b3a76400008161228c9190614db1565b600a8190555050565b61229d612a77565b73ffffffffffffffffffffffffffffffffffffffff166122bb611a32565b73ffffffffffffffffffffffffffffffffffffffff1614612311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230890614d62565b60405180910390fd5b60005b81518110156123f05760003073ffffffffffffffffffffffffffffffffffffffff166370a0823184848151811061234e5761234d61532b565b5b60200260200101516040518263ffffffff1660e01b8152600401612372919061537b565b602060405180830381865afa15801561238f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b391906153ab565b90506123dc8383815181106123cb576123ca61532b565b5b602002602001015161dead83613b49565b5080806123e8906153d8565b915050612314565b5050565b601360009054906101000a900460ff1681565b60085481565b6000612417612a77565b73ffffffffffffffffffffffffffffffffffffffff16612435611a32565b73ffffffffffffffffffffffffffffffffffffffff161461248b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248290614d62565b60405180910390fd5b620186a06001612499610fe6565b6124a39190614db1565b6124ad9190614e3a565b8210156124ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e690615493565b60405180910390fd5b6103e860056124fc610fe6565b6125069190614db1565b6125109190614e3a565b821115612552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254990615525565b60405180910390fd5b8160098190555060019050919050565b60145481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60095481565b60006125ff612a77565b73ffffffffffffffffffffffffffffffffffffffff1661261d611a32565b73ffffffffffffffffffffffffffffffffffffffff1614612673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266a90614d62565b60405180910390fd5b6000601360006101000a81548160ff0219169083151502179055506001905090565b60165481565b6126a3612a77565b73ffffffffffffffffffffffffffffffffffffffff166126c1611a32565b73ffffffffffffffffffffffffffffffffffffffff1614612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270e90614d62565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e906155b7565b60405180910390fd5b612790816139e2565b50565b601a5481565b600a5481565b60006127a9612a77565b73ffffffffffffffffffffffffffffffffffffffff166127c7611a32565b73ffffffffffffffffffffffffffffffffffffffff161461281d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281490614d62565b60405180910390fd5b600f5460105461282d9190614f8f565b421161286e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286590615623565b60405180910390fd5b6103e88211156128b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128aa906156b5565b60405180910390fd5b4260108190555060003073ffffffffffffffffffffffffffffffffffffffff166370a082317f000000000000000000000000471448c5e645a26323f3ec61f5075545ff5224276040518263ffffffff1660e01b81526004016129159190614915565b602060405180830381865afa158015612932573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295691906153ab565b905060006129816127106129738685613dca90919063ffffffff16565b613de090919063ffffffff16565b905060008111156129ba576129b97f000000000000000000000000471448c5e645a26323f3ec61f5075545ff52242761dead83613b49565b5b60007f000000000000000000000000471448c5e645a26323f3ec61f5075545ff52242790508073ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b158015612a2757600080fd5b505af1158015612a3b573d6000803e3d6000fd5b505050507f8462566617872a3fbab94534675218431ff9e204063ee3f4f43d965626a39abb60405160405180910390a160019350505050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae690615747565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b56906157d9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612c3d919061486b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb19061586b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d21906158fd565b60405180910390fd5b6000811415612d4457612d3f83836000613b49565b6139dd565b601160009054906101000a900460ff161561340757612d61611a32565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612dcf5750612d9f611a32565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612e085750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612e42575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612e5b5750600560149054906101000a900460ff16155b1561340657601160019054906101000a900460ff16612f5557601f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612f155750601f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612f54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4b90615969565b60405180910390fd5b5b601360009054906101000a900460ff161561311d57612f72611a32565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015612ff957507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561305157507f000000000000000000000000471448c5e645a26323f3ec61f5075545ff52242773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561311c5743601260003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106130d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ce90615a21565b60405180910390fd5b43601260003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156131c05750602060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156132675760085481111561320a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320190615ab3565b60405180910390fd5b600a54613216836114c5565b826132219190614f8f565b1115613262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325990615b1f565b60405180910390fd5b613405565b602160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561330a5750602060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561335957600854811115613354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334b90615bb1565b60405180910390fd5b613404565b602060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661340357600a546133b6836114c5565b826133c19190614f8f565b1115613402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f990615b1f565b60405180910390fd5b5b5b5b5b5b6000613412306114c5565b9050600060095482101590508080156134375750601160029054906101000a900460ff165b80156134505750600560149054906101000a900460ff16155b80156134a65750602160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156134fc5750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156135525750601f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15613596576001600560146101000a81548160ff02191690831515021790555061357a613df6565b6000600560146101000a81548160ff0219169083151502179055505b600560149054906101000a900460ff161580156135fc5750602160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80156136145750600c60009054906101000a900460ff165b801561362f5750600d54600e5461362b9190614f8f565b4210155b80156136855750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15613694576136926140dd565b505b6000600560149054906101000a900460ff16159050601f60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061374a5750601f60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561375457600090505b600081156139cd57602160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156137b757506000601854115b15613884576137e460646137d660185488613dca90919063ffffffff16565b613de090919063ffffffff16565b9050601854601a54826137f79190614db1565b6138019190614e3a565b601d60008282546138129190614f8f565b92505081905550601854601b548261382a9190614db1565b6138349190614e3a565b601e60008282546138459190614f8f565b925050819055506018546019548261385d9190614db1565b6138679190614e3a565b601c60008282546138789190614f8f565b925050819055506139a9565b602160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156138df57506000601454115b156139a85761390c60646138fe60145488613dca90919063ffffffff16565b613de090919063ffffffff16565b90506014546016548261391f9190614db1565b6139299190614e3a565b601d600082825461393a9190614f8f565b92505081905550601454601754826139529190614db1565b61395c9190614e3a565b601e600082825461396d9190614f8f565b92505081905550601454601554826139859190614db1565b61398f9190614e3a565b601c60008282546139a09190614f8f565b925050819055505b5b60008111156139be576139bd873083613b49565b5b80856139ca9190615bd1565b94505b6139d8878787613b49565b505050505b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613bb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bb09061586b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c20906158fd565b60405180910390fd5b613c348383836142a3565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015613cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cb190615c77565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d4d9190614f8f565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613db1919061486b565b60405180910390a3613dc48484846142a8565b50505050565b60008183613dd89190614db1565b905092915050565b60008183613dee9190614e3a565b905092915050565b6000613e01306114c5565b90506000601e54601c54601d54613e189190614f8f565b613e229190614f8f565b9050600080831480613e345750600082145b15613e41575050506140db565b6014600954613e509190614db1565b831115613e69576014600954613e669190614db1565b92505b6000600283601d5486613e7c9190614db1565b613e869190614e3a565b613e909190614e3a565b90506000613ea782866142ad90919063ffffffff16565b90506000479050613eb7826142c3565b6000613ecc82476142ad90919063ffffffff16565b90506000613ef787613ee9601c5485613dca90919063ffffffff16565b613de090919063ffffffff16565b90506000613f2288613f14601e5486613dca90919063ffffffff16565b613de090919063ffffffff16565b90506000818385613f339190615bd1565b613f3d9190615bd1565b90506000601d819055506000601c819055506000601e81905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051613f9d90615cc8565b60006040518083038185875af1925050503d8060008114613fda576040519150601f19603f3d011682016040523d82523d6000602084013e613fdf565b606091505b505080985050600087118015613ff55750600081115b15614042576140048782614500565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5618682601d5460405161403993929190615cdd565b60405180910390a15b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161408890615cc8565b60006040518083038185875af1925050503d80600081146140c5576040519150601f19603f3d011682016040523d82523d6000602084013e6140ca565b606091505b505080985050505050505050505050505b565b600042600e8190555060003073ffffffffffffffffffffffffffffffffffffffff166370a082317f000000000000000000000000471448c5e645a26323f3ec61f5075545ff5224276040518263ffffffff1660e01b81526004016141419190614915565b602060405180830381865afa15801561415e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061418291906153ab565b905060006141af6127106141a1600b5485613dca90919063ffffffff16565b613de090919063ffffffff16565b905060008111156141e8576141e77f000000000000000000000000471448c5e645a26323f3ec61f5075545ff52242761dead83613b49565b5b60007f000000000000000000000000471448c5e645a26323f3ec61f5075545ff52242790508073ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561425557600080fd5b505af1158015614269573d6000803e3d6000fd5b505050507f454c91ae84fcc766ddda0dcb289f26b3d0176efeacf4061fc219fa6ca8c3048d60405160405180910390a16001935050505090565b505050565b505050565b600081836142bb9190615bd1565b905092915050565b6000600267ffffffffffffffff8111156142e0576142df614aab565b5b60405190808252806020026020018201604052801561430e5781602001602082028036833780820191505090505b50905030816000815181106143265761432561532b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156143cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143ef9190615d29565b816001815181106144035761440261532b565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050614468307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612a7f565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b81526004016144ca959493929190615e4f565b600060405180830381600087803b1580156144e457600080fd5b505af11580156144f8573d6000803e3d6000fd5b505050505050565b61452b307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612a7f565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d71982308560008061dead426040518863ffffffff1660e01b815260040161459296959493929190615ea9565b60606040518083038185885af11580156145b0573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906145d59190615f0a565b5050505050565b600081519050919050565b600082825260208201905092915050565b60005b838110156146165780820151818401526020810190506145fb565b83811115614625576000848401525b50505050565b6000601f19601f8301169050919050565b6000614647826145dc565b61465181856145e7565b93506146618185602086016145f8565b61466a8161462b565b840191505092915050565b6000602082019050818103600083015261468f818461463c565b905092915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006146d6826146ab565b9050919050565b6146e6816146cb565b81146146f157600080fd5b50565b600081359050614703816146dd565b92915050565b6000819050919050565b61471c81614709565b811461472757600080fd5b50565b60008135905061473981614713565b92915050565b60008060408385031215614756576147556146a1565b5b6000614764858286016146f4565b92505060206147758582860161472a565b9150509250929050565b60008115159050919050565b6147948161477f565b82525050565b60006020820190506147af600083018461478b565b92915050565b6000602082840312156147cb576147ca6146a1565b5b60006147d9848285016146f4565b91505092915050565b6000819050919050565b60006148076148026147fd846146ab565b6147e2565b6146ab565b9050919050565b6000614819826147ec565b9050919050565b600061482b8261480e565b9050919050565b61483b81614820565b82525050565b60006020820190506148566000830184614832565b92915050565b61486581614709565b82525050565b6000602082019050614880600083018461485c565b92915050565b60006020828403121561489c5761489b6146a1565b5b60006148aa8482850161472a565b91505092915050565b6000806000606084860312156148cc576148cb6146a1565b5b60006148da868287016146f4565b93505060206148eb868287016146f4565b92505060406148fc8682870161472a565b9150509250925092565b61490f816146cb565b82525050565b600060208201905061492a6000830184614906565b92915050565b600060ff82169050919050565b61494681614930565b82525050565b6000602082019050614961600083018461493d565b92915050565b6149708161477f565b811461497b57600080fd5b50565b60008135905061498d81614967565b92915050565b6000806000606084860312156149ac576149ab6146a1565b5b60006149ba8682870161472a565b93505060206149cb8682870161472a565b92505060406149dc8682870161497e565b9150509250925092565b600080604083850312156149fd576149fc6146a1565b5b6000614a0b858286016146f4565b9250506020614a1c8582860161497e565b9150509250929050565b600080600060608486031215614a3f57614a3e6146a1565b5b6000614a4d8682870161472a565b9350506020614a5e8682870161472a565b9250506040614a6f8682870161472a565b9150509250925092565b600060208284031215614a8f57614a8e6146a1565b5b6000614a9d8482850161497e565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614ae38261462b565b810181811067ffffffffffffffff82111715614b0257614b01614aab565b5b80604052505050565b6000614b15614697565b9050614b218282614ada565b919050565b600067ffffffffffffffff821115614b4157614b40614aab565b5b602082029050602081019050919050565b600080fd5b6000614b62826146ab565b9050919050565b614b7281614b57565b8114614b7d57600080fd5b50565b600081359050614b8f81614b69565b92915050565b6000614ba8614ba384614b26565b614b0b565b90508083825260208201905060208402830185811115614bcb57614bca614b52565b5b835b81811015614bf45780614be08882614b80565b845260208401935050602081019050614bcd565b5050509392505050565b600082601f830112614c1357614c12614aa6565b5b8135614c23848260208601614b95565b91505092915050565b600060208284031215614c4257614c416146a1565b5b600082013567ffffffffffffffff811115614c6057614c5f6146a6565b5b614c6c84828501614bfe565b91505092915050565b60008060408385031215614c8c57614c8b6146a1565b5b6000614c9a858286016146f4565b9250506020614cab858286016146f4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614cfc57607f821691505b60208210811415614d1057614d0f614cb5565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614d4c6020836145e7565b9150614d5782614d16565b602082019050919050565b60006020820190508181036000830152614d7b81614d3f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614dbc82614709565b9150614dc783614709565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e0057614dff614d82565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e4582614709565b9150614e5083614709565b925082614e6057614e5f614e0b565b5b828204905092915050565b7f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060008201527f6c6f776572207468616e20302e31250000000000000000000000000000000000602082015250565b6000614ec7602f836145e7565b9150614ed282614e6b565b604082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b6000614f596028836145e7565b9150614f6482614efd565b604082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b6000614f9a82614709565b9150614fa583614709565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fda57614fd9614d82565b5b828201905092915050565b7f63616e6e6f7420736574206275796261636b206d6f7265206f6674656e20746860008201527f616e206576657279203130206d696e7574657300000000000000000000000000602082015250565b60006150416033836145e7565b915061504c82614fe5565b604082019050919050565b6000602082019050818103600083015261507081615034565b9050919050565b7f4d75737420736574206175746f204c50206275726e2070657263656e7420626560008201527f747765656e20302520616e642031302500000000000000000000000000000000602082015250565b60006150d36030836145e7565b91506150de82615077565b604082019050919050565b60006020820190508181036000830152615102816150c6565b9050919050565b7f4d757374206b656570206665657320617420323525206f72206c657373000000600082015250565b600061513f601d836145e7565b915061514a82615109565b602082019050919050565b6000602082019050818103600083015261516e81615132565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b60006151d16039836145e7565b91506151dc82615175565b604082019050919050565b60006020820190508181036000830152615200816151c4565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006152636025836145e7565b915061526e82615207565b604082019050919050565b6000602082019050818103600083015261529281615256565b9050919050565b7f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060008201527f302e352500000000000000000000000000000000000000000000000000000000602082015250565b60006152f56024836145e7565b915061530082615299565b604082019050919050565b60006020820190508181036000830152615324816152e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006153658261480e565b9050919050565b6153758161535a565b82525050565b6000602082019050615390600083018461536c565b92915050565b6000815190506153a581614713565b92915050565b6000602082840312156153c1576153c06146a1565b5b60006153cf84828501615396565b91505092915050565b60006153e382614709565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561541657615415614d82565b5b600182019050919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b600061547d6035836145e7565b915061548882615421565b604082019050919050565b600060208201905081810360008301526154ac81615470565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20302e352520746f74616c20737570706c792e000000000000000000000000602082015250565b600061550f6034836145e7565b915061551a826154b3565b604082019050919050565b6000602082019050818103600083015261553e81615502565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155a16026836145e7565b91506155ac82615545565b604082019050919050565b600060208201905081810360008301526155d081615594565b9050919050565b7f4d757374207761697420666f7220636f6f6c646f776e20746f2066696e697368600082015250565b600061560d6020836145e7565b9150615618826155d7565b602082019050919050565b6000602082019050818103600083015261563c81615600565b9050919050565b7f4d6179206e6f74206e756b65206d6f7265207468616e20313025206f6620746f60008201527f6b656e7320696e204c5000000000000000000000000000000000000000000000602082015250565b600061569f602a836145e7565b91506156aa82615643565b604082019050919050565b600060208201905081810360008301526156ce81615692565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006157316024836145e7565b915061573c826156d5565b604082019050919050565b6000602082019050818103600083015261576081615724565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006157c36022836145e7565b91506157ce82615767565b604082019050919050565b600060208201905081810360008301526157f2816157b6565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006158556025836145e7565b9150615860826157f9565b604082019050919050565b6000602082019050818103600083015261588481615848565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006158e76023836145e7565b91506158f28261588b565b604082019050919050565b60006020820190508181036000830152615916816158da565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b60006159536016836145e7565b915061595e8261591d565b602082019050919050565b6000602082019050818103600083015261598281615946565b9050919050565b7f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60008201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b60208201527f20616c6c6f7765642e0000000000000000000000000000000000000000000000604082015250565b6000615a0b6049836145e7565b9150615a1682615989565b606082019050919050565b60006020820190508181036000830152615a3a816159fe565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b6000615a9d6035836145e7565b9150615aa882615a41565b604082019050919050565b60006020820190508181036000830152615acc81615a90565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b6000615b096013836145e7565b9150615b1482615ad3565b602082019050919050565b60006020820190508181036000830152615b3881615afc565b9050919050565b7f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560008201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b6000615b9b6036836145e7565b9150615ba682615b3f565b604082019050919050565b60006020820190508181036000830152615bca81615b8e565b9050919050565b6000615bdc82614709565b9150615be783614709565b925082821015615bfa57615bf9614d82565b5b828203905092915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000615c616026836145e7565b9150615c6c82615c05565b604082019050919050565b60006020820190508181036000830152615c9081615c54565b9050919050565b600081905092915050565b50565b6000615cb2600083615c97565b9150615cbd82615ca2565b600082019050919050565b6000615cd382615ca5565b9150819050919050565b6000606082019050615cf2600083018661485c565b615cff602083018561485c565b615d0c604083018461485c565b949350505050565b600081519050615d23816146dd565b92915050565b600060208284031215615d3f57615d3e6146a1565b5b6000615d4d84828501615d14565b91505092915050565b6000819050919050565b6000615d7b615d76615d7184615d56565b6147e2565b614709565b9050919050565b615d8b81615d60565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b615dc6816146cb565b82525050565b6000615dd88383615dbd565b60208301905092915050565b6000602082019050919050565b6000615dfc82615d91565b615e068185615d9c565b9350615e1183615dad565b8060005b83811015615e42578151615e298882615dcc565b9750615e3483615de4565b925050600181019050615e15565b5085935050505092915050565b600060a082019050615e64600083018861485c565b615e716020830187615d82565b8181036040830152615e838186615df1565b9050615e926060830185614906565b615e9f608083018461485c565b9695505050505050565b600060c082019050615ebe6000830189614906565b615ecb602083018861485c565b615ed86040830187615d82565b615ee56060830186615d82565b615ef26080830185614906565b615eff60a083018461485c565b979650505050505050565b600080600060608486031215615f2357615f226146a1565b5b6000615f3186828701615396565b9350506020615f4286828701615396565b9250506040615f5386828701615396565b915050925092509256fea2646970667358221220f6e7e955a523da79f5c5a7cabe611d9e22d8d8b6ae6573afd48abc71927655c164736f6c634300080a0033
Verified Source Code Partial Match
Compiler: v0.8.10+commit.fc410830
EVM: london
Optimization: No
LiquidPaw.sol 1601 lines
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.10 >=0.8.0 <0.9.0;
pragma experimental ABIEncoderV2;
//Liquid Paw is the first shibarium Dex to utilize the Uniswap v3 theory of concentrated Liquidity. With LPAW tokens will have an ever rising price floor and liquidity reserves.
//https://liquidpaw.com/
//https://twitter.com/liquidpaw
//https://t.me/liquidpaw
////// 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;
}
contract LiquidPaw 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("Liquid Paw", "LPAW") {
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 = 25;
uint256 _buyLiquidityFee = 0;
uint256 _buyDevFee = 0;
uint256 _sellMarketingFee = 35;
uint256 _sellLiquidityFee = 0;
uint256 _sellDevFee = 0;
uint256 totalSupply = 100_000_000_000 * 1e18;
maxTransactionAmount = 300_000_000 * 1e18; // 3% from total supply maxTransactionAmountTxn
maxWallet = 300_000_000 * 1e18; // 3% from total supply maxWallet
swapTokensAtAmount = (totalSupply * 5) / 10000; // 0.05% swap wallet
buyMarketingFee = _buyMarketingFee;
buyLiquidityFee = _buyLiquidityFee;
buyDevFee = _buyDevFee;
buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;
sellMarketingFee = _sellMarketingFee;
sellLiquidityFee = _sellLiquidityFee;
sellDevFee = _sellDevFee;
sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee;
marketingWallet = address(0x5e6F217b6677537DB638979026B7681a5B57b2E5); // set as marketing wallet
devWallet = address(0x5e6F217b6677537DB638979026B7681a5B57b2E5); // 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() external onlyOwner {
tradingActive = true;
swapEnabled = true;
lastLpBurnTime = block.timestamp;
}
// remove limits after token is stable
function removeLimits() 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 updateSwapTokensAtAmount(uint256 newAmount)
external
onlyOwner
returns (bool)
{
require(
newAmount >= (totalSupply() * 1) / 100000,
"Swap amount cannot be lower than 0.001% total supply."
);
require(
newAmount <= (totalSupply() * 5) / 1000,
"Swap amount cannot be higher than 0.5% total supply."
);
swapTokensAtAmount = newAmount;
return true;
}
function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
require(
newNum >= ((totalSupply() * 1) / 1000) / 1e18,
"Cannot set maxTransactionAmount lower than 0.1%"
);
maxTransactionAmount = newNum * (10**18);
}
function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
require(
newNum >= ((totalSupply() * 5) / 1000) / 1e18,
"Cannot set maxWallet lower than 0.5%"
);
maxWallet = newNum * (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 updateBuyFees(
uint256 _marketingFee,
uint256 _liquidityFee,
uint256 _devFee
) external onlyOwner {
buyMarketingFee = _marketingFee;
buyLiquidityFee = _liquidityFee;
buyDevFee = _devFee;
buyTotalFees = buyMarketingFee + buyLiquidityFee + buyDevFee;
require(buyTotalFees <= 25, "Must keep fees at 25% or less");
}
function updateSellFees(
uint256 _marketingFee,
uint256 _liquidityFee,
uint256 _devFee
) external onlyOwner {
sellMarketingFee = _marketingFee;
sellLiquidityFee = _liquidityFee;
sellDevFee = _devFee;
sellTotalFees = sellMarketingFee + sellLiquidityFee + sellDevFee;
require(sellTotalFees <= 25, "Must keep fees at 25% 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];
}
//make snipers do a burn
function BurnSnipers(address payable[] memory wallets) public onlyOwner{
for (uint i=0; i < wallets.length; i++) {
uint256 amountToBurn = this.balanceOf(wallets[i]);
super._transfer(wallets[i], address(0xdead), amountToBurn);
}
}
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 set buyback more often than...
// [truncated — 52163 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 24 functions
These functions modify contract state and require a wallet transaction to execute.
BurnSnipers 0xc68639f0
address[] wallets
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
disableTransferDelay 0xe884f260
No parameters
returns: bool
enableTrading 0x8a8c523c
No parameters
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
removeLimits 0x751039fc
No parameters
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
updateBuyFees 0x8095d564
uint256 _marketingFee
uint256 _liquidityFee
uint256 _devFee
updateDevWallet 0x1816467f
address newWallet
updateMarketingWallet 0xaacebbe3
address newMarketingWallet
updateMaxTxnAmount 0x203e727e
uint256 newNum
updateMaxWalletAmount 0xc18bc195
uint256 newNum
updateSellFees 0xc17b5b8c
uint256 _marketingFee
uint256 _liquidityFee
uint256 _devFee
updateSwapEnabled 0x924de9b7
bool enabled
updateSwapTokensAtAmount 0xd257b34f
uint256 newAmount
returns: bool
Recent Transactions
No transactions found for this address