Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x0f1e49d6dcfC9eeFcCE9D5ae3c660f8eAD75061a
Balance 0 ETH
Nonce 1
Code Size 23869 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

23869 bytes
0x60806040526004361061036f5760003560e01c806399ab04a7116101c6578063c8c8ebe4116100f7578063e2f4560511610095578063f5648a4f1161006f578063f5648a4f14610cb9578063f637434214610cd0578063f8b45b0514610cfb578063fc155d1d14610d2657610376565b8063e2f4560514610c3a578063f11a24d314610c65578063f2fde38b14610c9057610376565b8063d257b34f116100d1578063d257b34f14610b6c578063d85ba06314610ba9578063dd62ed3e14610bd4578063e083e92214610c1157610376565b8063c8c8ebe414610aeb578063cbdcfd8114610b16578063cc2ffe7c14610b4157610376565b8063b62496f511610164578063c04a54141161013e578063c04a541414610a45578063c17b5b8c14610a70578063c18bc19514610a99578063c79c04fd14610ac257610376565b8063b62496f5146109b6578063c00f04d1146109f3578063c024666814610a1c57610376565b80639fccce32116101a05780639fccce32146108e6578063a0d82dc514610911578063a457c2d71461093c578063a9059cbb1461097957610376565b806399ab04a71461087b5780639a7a23d6146108925780639c3b4fdc146108bb57610376565b80634626402b116102a057806370a082311161023e5780638095d564116102185780638095d564146107d35780638da5cb5b146107fc578063924de9b71461082757806395d89b411461085057610376565b806370a0823114610756578063715018a6146107935780637571336a146107aa57610376565b80634fbee1931161027a5780634fbee193146106985780635e015739146106d55780636a486a8e146107005780636ddd17131461072b57610376565b80634626402b1461061757806347535d7b1461064257806349bd5a5e1461066d57610376565b806318160ddd1161030d57806327c8f835116102e757806327c8f8351461055b5780632955ede614610586578063313ce567146105af57806339509351146105da57610376565b806318160ddd146104c85780631a8145bb146104f357806323b872dd1461051e57610376565b8063095ea7b311610349578063095ea7b3146103fa578063106b5da11461043757806310d5de53146104605780631694505e1461049d57610376565b806304fdf86f1461037b57806306fdde03146103a45780630805d787146103cf57610376565b3661037657005b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190614714565b610d4f565b005b3480156103b057600080fd5b506103b9610e81565b6040516103c691906147dc565b60405180910390f35b3480156103db57600080fd5b506103e4610f13565b6040516103f19190614817565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c919061485e565b610f19565b60405161042e91906148b9565b60405180910390f35b34801561044357600080fd5b5061045e600480360381019061045991906148d4565b610f37565b005b34801561046c57600080fd5b5061048760048036038101906104829190614901565b611059565b60405161049491906148b9565b60405180910390f35b3480156104a957600080fd5b506104b2611079565b6040516104bf919061498d565b60405180910390f35b3480156104d457600080fd5b506104dd61109d565b6040516104ea9190614817565b60405180910390f35b3480156104ff57600080fd5b506105086110a7565b6040516105159190614817565b60405180910390f35b34801561052a57600080fd5b50610545600480360381019061054091906149a8565b6110ad565b60405161055291906148b9565b60405180910390f35b34801561056757600080fd5b50610570611186565b60405161057d9190614a0a565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190614901565b61118c565b005b3480156105bb57600080fd5b506105c46112e3565b6040516105d19190614a41565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc919061485e565b6112ec565b60405161060e91906148b9565b60405180910390f35b34801561062357600080fd5b5061062c61139f565b6040516106399190614a0a565b60405180910390f35b34801561064e57600080fd5b506106576113c5565b60405161066491906148b9565b60405180910390f35b34801561067957600080fd5b506106826113d8565b60405161068f9190614a0a565b60405180910390f35b3480156106a457600080fd5b506106bf60048036038101906106ba9190614901565b6113fc565b6040516106cc91906148b9565b60405180910390f35b3480156106e157600080fd5b506106ea611452565b6040516106f79190614817565b60405180910390f35b34801561070c57600080fd5b50610715611458565b6040516107229190614817565b60405180910390f35b34801561073757600080fd5b5061074061145e565b60405161074d91906148b9565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190614901565b611471565b60405161078a9190614817565b60405180910390f35b34801561079f57600080fd5b506107a86114b9565b005b3480156107b657600080fd5b506107d160048036038101906107cc9190614a88565b611611565b005b3480156107df57600080fd5b506107fa60048036038101906107f59190614ac8565b611703565b005b34801561080857600080fd5b5061081161181d565b60405161081e9190614a0a565b60405180910390f35b34801561083357600080fd5b5061084e60048036038101906108499190614b1b565b611847565b005b34801561085c57600080fd5b506108656118fb565b60405161087291906147dc565b60405180910390f35b34801561088757600080fd5b5061089061198d565b005b34801561089e57600080fd5b506108b960048036038101906108b49190614a88565b611a61565b005b3480156108c757600080fd5b506108d0611b94565b6040516108dd9190614817565b60405180910390f35b3480156108f257600080fd5b506108fb611b9a565b6040516109089190614817565b60405180910390f35b34801561091d57600080fd5b50610926611ba0565b6040516109339190614817565b60405180910390f35b34801561094857600080fd5b50610963600480360381019061095e919061485e565b611ba6565b60405161097091906148b9565b60405180910390f35b34801561098557600080fd5b506109a0600480360381019061099b919061485e565b611c73565b6040516109ad91906148b9565b60405180910390f35b3480156109c257600080fd5b506109dd60048036038101906109d89190614901565b611c91565b6040516109ea91906148b9565b60405180910390f35b3480156109ff57600080fd5b50610a1a6004803603810190610a159190614b1b565b611cb1565b005b348015610a2857600080fd5b50610a436004803603810190610a3e9190614a88565b611df5565b005b348015610a5157600080fd5b50610a5a611f35565b604051610a679190614a0a565b60405180910390f35b348015610a7c57600080fd5b50610a976004803603810190610a929190614ac8565b611f5b565b005b348015610aa557600080fd5b50610ac06004803603810190610abb91906148d4565b612075565b005b348015610ace57600080fd5b50610ae96004803603810190610ae49190614901565b612197565b005b348015610af757600080fd5b50610b006122ee565b604051610b0d9190614817565b60405180910390f35b348015610b2257600080fd5b50610b2b6122f4565b604051610b389190614a0a565b60405180910390f35b348015610b4d57600080fd5b50610b5661231a565b604051610b639190614817565b60405180910390f35b348015610b7857600080fd5b50610b936004803603810190610b8e91906148d4565b612320565b604051610ba091906148b9565b60405180910390f35b348015610bb557600080fd5b50610bbe612490565b604051610bcb9190614817565b60405180910390f35b348015610be057600080fd5b50610bfb6004803603810190610bf69190614b48565b612496565b604051610c089190614817565b60405180910390f35b348015610c1d57600080fd5b50610c386004803603810190610c339190614901565b61251d565b005b348015610c4657600080fd5b50610c4f6127e0565b604051610c5c9190614817565b60405180910390f35b348015610c7157600080fd5b50610c7a6127e6565b604051610c879190614817565b60405180910390f35b348015610c9c57600080fd5b50610cb76004803603810190610cb29190614901565b6127ec565b005b348015610cc557600080fd5b50610cce6129b2565b005b348015610cdc57600080fd5b50610ce5612adc565b604051610cf29190614817565b60405180910390f35b348015610d0757600080fd5b50610d10612ae2565b604051610d1d9190614817565b60405180910390f35b348015610d3257600080fd5b50610d4d6004803603810190610d4891906148d4565b612ae8565b005b610d57612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddd90614bd4565b60405180910390fd5b60005b81518160ff161015610e7d57600160066000848460ff1681518110610e1157610e10614bf4565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610e7590614c52565b915050610de9565b5050565b606060038054610e9090614caa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebc90614caa565b8015610f095780601f10610ede57610100808354040283529160200191610f09565b820191906000526020600020905b815481529060010190602001808311610eec57829003601f168201915b5050505050905090565b60115481565b6000610f2d610f26612e27565b8484612e2f565b6001905092915050565b610f3f612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc590614bd4565b60405180910390fd5b633b9aca006103e86005610fe061109d565b610fea9190614cdb565b610ff49190614d4c565b610ffe9190614d4c565b811015611040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103790614def565b60405180910390fd5b633b9aca00816110509190614cdb565b600a8190555050565b601a6020528060005260406000206000915054906101000a900460ff1681565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b60175481565b60006110ba848484612ff8565b61117b846110c6612e27565b61117685604051806060016040528060288152602001615cbb60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061112c612e27565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613a659092919063ffffffff16565b612e2f565b600190509392505050565b61dead81565b611194612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614bd4565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63560405160405180910390a380600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006009905090565b60006113956112f9612e27565b84611390856001600061130a612e27565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612dc990919063ffffffff16565b612e2f565b6001905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560149054906101000a900460ff1681565b7f000000000000000000000000d20a4c12d7041f9495f93dabb5426dd409e7d35481565b6000601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60155481565b60125481565b600d60009054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114c1612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790614bd4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611619612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90614bd4565b60405180910390fd5b80601a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61170b612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461179a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179190614bd4565b60405180910390fd5b82600f819055508160108190555080601181905550601154601054600f546117c29190614e0f565b6117cc9190614e0f565b600e81905550601e600e541115611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f90614e8f565b60405180910390fd5b505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61184f612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146118de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d590614bd4565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b60606004805461190a90614caa565b80601f016020809104026020016040519081016040528092919081815260200182805461193690614caa565b80156119835780601f1061195857610100808354040283529160200191611983565b820191906000526020600020905b81548152906001019060200180831161196657829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1490614efb565b60405180910390fd5b6000600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611a69612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aef90614bd4565b60405180910390fd5b7f000000000000000000000000d20a4c12d7041f9495f93dabb5426dd409e7d35473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90614f8d565b60405180910390fd5b611b908282613ac9565b5050565b600f5481565b60165481565b60135481565b6000611c69611bb3612e27565b84611c6485604051806060016040528060258152602001615ce36025913960016000611bdd612e27565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613a659092919063ffffffff16565b612e2f565b6001905092915050565b6000611c87611c80612e27565b8484612ff8565b6001905092915050565b601b6020528060005260406000206000915054906101000a900460ff1681565b611cb9612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3f90614bd4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611dd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcf90614efb565b60405180910390fd5b80600560146101000a81548160ff02191690831515021790555050565b611dfd612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8390614bd4565b60405180910390fd5b80601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df782604051611f2991906148b9565b60405180910390a25050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611f63612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe990614bd4565b60405180910390fd5b82601381905550816014819055508060158190555060155460145460135461201a9190614e0f565b6120249190614e0f565b601281905550601e6012541115612070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206790614e8f565b60405180910390fd5b505050565b61207d612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461210c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210390614bd4565b60405180910390fd5b633b9aca006103e8600361211e61109d565b6121289190614cdb565b6121329190614d4c565b61213c9190614d4c565b81101561217e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121759061501f565b60405180910390fd5b633b9aca008161218e9190614cdb565b600c8190555050565b61219f612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461222e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222590614bd4565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167ffaf1b77ed79f6e898c44dd8ab36b330c7b2fd39bcaab05ed6362480df870396560405160405180910390a380600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60185481565b600061232a612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146123b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b090614bd4565b60405180910390fd5b620186a060016123c761109d565b6123d19190614cdb565b6123db9190614d4c565b82101561241d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612414906150b1565b60405180910390fd5b6103e8600561242a61109d565b6124349190614cdb565b61243e9190614d4c565b821115612480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247790615143565b60405180910390fd5b81600b8190555060019050919050565b600e5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b612525612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146125b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ab90614bd4565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612622576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612619906151d5565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161265d9190614a0a565b602060405180830381865afa15801561267a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269e919061520a565b116126de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d590615283565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61270261181d565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161273b9190614a0a565b602060405180830381865afa158015612758573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277c919061520a565b6040518363ffffffff1660e01b81526004016127999291906152a3565b6020604051808303816000875af11580156127b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127dc91906152e1565b5050565b600b5481565b60105481565b6127f4612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287a90614bd4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036128f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e990615380565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6129ba612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4090614bd4565b60405180910390fd5b60004711612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a83906153ec565b60405180910390fd5b612a9461181d565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015612ad9573d6000803e3d6000fd5b50565b60145481565b600c5481565b612af0612e27565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7690614bd4565b60405180910390fd5b6000600267ffffffffffffffff811115612b9c57612b9b614573565b5b604051908082528060200260200182016040528015612bca5781602001602082028036833780820191505090505b5090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5c9190615421565b81600081518110612c7057612c6f614bf4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503081600181518110612cbf57612cbe614bf4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663b6f9de958360008461dead426040518663ffffffff1660e01b8152600401612d5c9493929190615547565b6000604051808303818588803b158015612d7557600080fd5b505af1158015612d89573d6000803e3d6000fd5b50505050507fa017c1567cfcdd2d750a8c01e39fe2a846bcebc293c7d078477014d68482056882604051612dbd9190614817565b60405180910390a15050565b6000808284612dd89190614e0f565b905083811015612e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e14906155df565b60405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9590615671565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0490615703565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612feb9190614817565b60405180910390a3505050565b8183600560149054906101000a900460ff168061305e5750600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806130b25750600660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6130f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e89061576f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315790615801565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036131cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c690615893565b60405180910390fd5b600083036131e8576131e385856000613b6a565b613a5e565b6131f061181d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415801561325e575061322e61181d565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156132975750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156132d1575061dead73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b80156132ea5750600760149054906101000a900460ff16155b1561358657601b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156133925750601a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561343957600a548311156133dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d390615925565b60405180910390fd5b600c546133e885611471565b846133f39190614e0f565b1115613434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161342b90615991565b60405180910390fd5b613585565b601b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156134dc5750601a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561352b57600a54831115613526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351d90615a23565b60405180910390fd5b613584565b600c5461353785611471565b846135429190614e0f565b1115613583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357a90615991565b60405180910390fd5b5b5b5b600061359130611471565b90506000600b5482101590508080156135b65750600d60009054906101000a900460ff165b80156135cf5750600760149054906101000a900460ff16155b80156136255750601b60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561367b5750601960008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156136d15750601960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15613715576001600760146101000a81548160ff0219169083151502179055506136f9613dfd565b6000600760146101000a81548160ff0219169083151502179055505b6000600760149054906101000a900460ff16159050601960008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806137cb5750601960008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b156137d557600090505b60008115613a4e57601b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561383857506000601254115b156139055761386560646138576012548a6140ba90919063ffffffff16565b61413490919063ffffffff16565b9050601254601454826138789190614cdb565b6138829190614d4c565b601760008282546138939190614e0f565b92505081905550601254601554826138ab9190614cdb565b6138b59190614d4c565b601860008282546138c69190614e0f565b92505081905550601254601354826138de9190614cdb565b6138e89190614d4c565b601660008282546138f99190614e0f565b92505081905550613a2a565b601b60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561396057506000600e54115b15613a295761398d606461397f600e548a6140ba90919063ffffffff16565b61413490919063ffffffff16565b9050600e54601054826139a09190614cdb565b6139aa9190614d4c565b601760008282546139bb9190614e0f565b92505081905550600e54601154826139d39190614cdb565b6139dd9190614d4c565b601860008282546139ee9190614e0f565b92505081905550600e54600f5482613a069190614cdb565b613a109190614d4c565b60166000828254613a219190614e0f565b925050819055505b5b6000811115613a3f57613a3e893083613b6a565b5b8087613a4b9190615a43565b96505b613a59898989613b6a565b505050505b5050505050565b6000838311158290613aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aa491906147dc565b60405180910390fd5b5060008385613abc9190615a43565b9050809150509392505050565b80601b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd090615801565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c3f90615893565b60405180910390fd5b613c5383838361417e565b613cbe81604051806060016040528060268152602001615c95602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613a659092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613d51816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612dc990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051613df09190614817565b60405180910390a3505050565b6000613e0830611471565b90506000601854601654601754613e1f9190614e0f565b613e299190614e0f565b90506000821480613e3a5750600081145b15613e465750506140b8565b600060028260175485613e599190614cdb565b613e639190614d4c565b613e6d9190614d4c565b90506000613e84828561418390919063ffffffff16565b90506000479050613e94826141cd565b6000613ea9824761418390919063ffffffff16565b90506000613ed486613ec6601654856140ba90919063ffffffff16565b61413490919063ffffffff16565b90506000613eff87613ef1601854866140ba90919063ffffffff16565b61413490919063ffffffff16565b90506000818385613f109190615a43565b613f1a9190615a43565b90506000601781905550600060168190555060006018819055506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1684604051613f7c90615aa8565b60006040518083038185875af1925050503d8060008114613fb9576040519150601f19603f3d011682016040523d82523d6000602084013e613fbe565b606091505b50509050600088118015613fd25750600082115b1561401f57613fe1888361440a565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561878360175460405161401693929190615abd565b60405180910390a15b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161406590615aa8565b60006040518083038185875af1925050503d80600081146140a2576040519150601f19603f3d011682016040523d82523d6000602084013e6140a7565b606091505b505080915050505050505050505050505b565b60008083036140cc576000905061412e565b600082846140da9190614cdb565b90508284826140e99190614d4c565b14614129576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161412090615b66565b60405180910390fd5b809150505b92915050565b600061417683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506144e6565b905092915050565b505050565b60006141c583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250613a65565b905092915050565b6000600267ffffffffffffffff8111156141ea576141e9614573565b5b6040519080825280602002602001820160405280156142185781602001602082028036833780820191505090505b50905030816000815181106142305761422f614bf4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156142d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142f99190615421565b8160018151811061430d5761430c614bf4565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050614372307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612e2f565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b81526004016143d4959493929190615b86565b600060405180830381600087803b1580156143ee57600080fd5b505af1158015614402573d6000803e3d6000fd5b505050505050565b614435307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612e2f565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d71982308560008061dead426040518863ffffffff1660e01b815260040161449c96959493929190615be0565b60606040518083038185885af11580156144ba573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906144df9190615c41565b5050505050565b6000808311829061452d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161452491906147dc565b60405180910390fd5b506000838561453c9190614d4c565b9050809150509392505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6145ab82614562565b810181811067ffffffffffffffff821117156145ca576145c9614573565b5b80604052505050565b60006145dd614549565b90506145e982826145a2565b919050565b600067ffffffffffffffff82111561460957614608614573565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061464a8261461f565b9050919050565b61465a8161463f565b811461466557600080fd5b50565b60008135905061467781614651565b92915050565b600061469061468b846145ee565b6145d3565b905080838252602082019050602084028301858111156146b3576146b261461a565b5b835b818110156146dc57806146c88882614668565b8452602084019350506020810190506146b5565b5050509392505050565b600082601f8301126146fb576146fa61455d565b5b813561470b84826020860161467d565b91505092915050565b60006020828403121561472a57614729614553565b5b600082013567ffffffffffffffff81111561474857614747614558565b5b614754848285016146e6565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561479757808201518184015260208101905061477c565b60008484015250505050565b60006147ae8261475d565b6147b88185614768565b93506147c8818560208601614779565b6147d181614562565b840191505092915050565b600060208201905081810360008301526147f681846147a3565b905092915050565b6000819050919050565b614811816147fe565b82525050565b600060208201905061482c6000830184614808565b92915050565b61483b816147fe565b811461484657600080fd5b50565b60008135905061485881614832565b92915050565b6000806040838503121561487557614874614553565b5b600061488385828601614668565b925050602061489485828601614849565b9150509250929050565b60008115159050919050565b6148b38161489e565b82525050565b60006020820190506148ce60008301846148aa565b92915050565b6000602082840312156148ea576148e9614553565b5b60006148f884828501614849565b91505092915050565b60006020828403121561491757614916614553565b5b600061492584828501614668565b91505092915050565b6000819050919050565b600061495361494e6149498461461f565b61492e565b61461f565b9050919050565b600061496582614938565b9050919050565b60006149778261495a565b9050919050565b6149878161496c565b82525050565b60006020820190506149a2600083018461497e565b92915050565b6000806000606084860312156149c1576149c0614553565b5b60006149cf86828701614668565b93505060206149e086828701614668565b92505060406149f186828701614849565b9150509250925092565b614a048161463f565b82525050565b6000602082019050614a1f60008301846149fb565b92915050565b600060ff82169050919050565b614a3b81614a25565b82525050565b6000602082019050614a566000830184614a32565b92915050565b614a658161489e565b8114614a7057600080fd5b50565b600081359050614a8281614a5c565b92915050565b60008060408385031215614a9f57614a9e614553565b5b6000614aad85828601614668565b9250506020614abe85828601614a73565b9150509250929050565b600080600060608486031215614ae157614ae0614553565b5b6000614aef86828701614849565b9350506020614b0086828701614849565b9250506040614b1186828701614849565b9150509250925092565b600060208284031215614b3157614b30614553565b5b6000614b3f84828501614a73565b91505092915050565b60008060408385031215614b5f57614b5e614553565b5b6000614b6d85828601614668565b9250506020614b7e85828601614668565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614bbe602083614768565b9150614bc982614b88565b602082019050919050565b60006020820190508181036000830152614bed81614bb1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c5d82614a25565b915060ff8203614c7057614c6f614c23565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614cc257607f821691505b602082108103614cd557614cd4614c7b565b5b50919050565b6000614ce6826147fe565b9150614cf1836147fe565b9250828202614cff816147fe565b91508282048414831517614d1657614d15614c23565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614d57826147fe565b9150614d62836147fe565b925082614d7257614d71614d1d565b5b828204905092915050565b7f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060008201527f6c6f776572207468616e20302e35250000000000000000000000000000000000602082015250565b6000614dd9602f83614768565b9150614de482614d7d565b604082019050919050565b60006020820190508181036000830152614e0881614dcc565b9050919050565b6000614e1a826147fe565b9150614e25836147fe565b9250828201905080821115614e3d57614e3c614c23565b5b92915050565b7f4d757374206b656570206665657320617420333025206f72206c657373000000600082015250565b6000614e79601d83614768565b9150614e8482614e43565b602082019050919050565b60006020820190508181036000830152614ea881614e6c565b9050919050565b7f696e636f6d70617469626c6520726f6c65210000000000000000000000000000600082015250565b6000614ee5601283614768565b9150614ef082614eaf565b602082019050919050565b60006020820190508181036000830152614f1481614ed8565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b6000614f77603983614768565b9150614f8282614f1b565b604082019050919050565b60006020820190508181036000830152614fa681614f6a565b9050919050565b7f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060008201527f302e332500000000000000000000000000000000000000000000000000000000602082015250565b6000615009602483614768565b915061501482614fad565b604082019050919050565b6000602082019050818103600083015261503881614ffc565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60008201527f20302e3030312520746f74616c20737570706c792e0000000000000000000000602082015250565b600061509b603583614768565b91506150a68261503f565b604082019050919050565b600060208201905081810360008301526150ca8161508e565b9050919050565b7f5377617020616d6f756e742063616e6e6f74206265206869676865722074686160008201527f6e20302e352520746f74616c20737570706c792e000000000000000000000000602082015250565b600061512d603483614768565b9150615138826150d1565b604082019050919050565b6000602082019050818103600083015261515c81615120565b9050919050565b7f43616e277420776974686472617720746f6b656e732064657374696e6564206660008201527f6f72206c69717569646974790000000000000000000000000000000000000000602082015250565b60006151bf602c83614768565b91506151ca82615163565b604082019050919050565b600060208201905081810360008301526151ee816151b2565b9050919050565b60008151905061520481614832565b92915050565b6000602082840312156152205761521f614553565b5b600061522e848285016151f5565b91505092915050565b7f43616e2774207769746864726177203000000000000000000000000000000000600082015250565b600061526d601083614768565b915061527882615237565b602082019050919050565b6000602082019050818103600083015261529c81615260565b9050919050565b60006040820190506152b860008301856149fb565b6152c56020830184614808565b9392505050565b6000815190506152db81614a5c565b92915050565b6000602082840312156152f7576152f6614553565b5b6000615305848285016152cc565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061536a602683614768565b91506153758261530e565b604082019050919050565b600060208201905081810360008301526153998161535d565b9050919050565b7f43616e2774207769746864726177206e65676174697665206f72207a65726f00600082015250565b60006153d6601f83614768565b91506153e1826153a0565b602082019050919050565b60006020820190508181036000830152615405816153c9565b9050919050565b60008151905061541b81614651565b92915050565b60006020828403121561543757615436614553565b5b60006154458482850161540c565b91505092915050565b6000819050919050565b600061547361546e6154698461544e565b61492e565b6147fe565b9050919050565b61548381615458565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6154be8161463f565b82525050565b60006154d083836154b5565b60208301905092915050565b6000602082019050919050565b60006154f482615489565b6154fe8185615494565b9350615509836154a5565b8060005b8381101561553a57815161552188826154c4565b975061552c836154dc565b92505060018101905061550d565b5085935050505092915050565b600060808201905061555c600083018761547a565b818103602083015261556e81866154e9565b905061557d60408301856149fb565b61558a6060830184614808565b95945050505050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b60006155c9601b83614768565b91506155d482615593565b602082019050919050565b600060208201905081810360008301526155f8816155bc565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061565b602483614768565b9150615666826155ff565b604082019050919050565b6000602082019050818103600083015261568a8161564e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006156ed602283614768565b91506156f882615691565b604082019050919050565b6000602082019050818103600083015261571c816156e0565b9050919050565b7f4e6f74204f70656e000000000000000000000000000000000000000000000000600082015250565b6000615759600883614768565b915061576482615723565b602082019050919050565b600060208201905081810360008301526157888161574c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006157eb602583614768565b91506157f68261578f565b604082019050919050565b6000602082019050818103600083015261581a816157de565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061587d602383614768565b915061588882615821565b604082019050919050565b600060208201905081810360008301526158ac81615870565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d61785472616e73616374696f6e416d6f756e742e0000000000000000000000602082015250565b600061590f603583614768565b915061591a826158b3565b604082019050919050565b6000602082019050818103600083015261593e81615902565b9050919050565b7f4d61782077616c6c657420657863656564656400000000000000000000000000600082015250565b600061597b601383614768565b915061598682615945565b602082019050919050565b600060208201905081810360008301526159aa8161596e565b9050919050565b7f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560008201527f206d61785472616e73616374696f6e416d6f756e742e00000000000000000000602082015250565b6000615a0d603683614768565b9150615a18826159b1565b604082019050919050565b60006020820190508181036000830152615a3c81615a00565b9050919050565b6000615a4e826147fe565b9150615a59836147fe565b9250828203905081811115615a7157615a70614c23565b5b92915050565b600081905092915050565b50565b6000615a92600083615a77565b9150615a9d82615a82565b600082019050919050565b6000615ab382615a85565b9150819050919050565b6000606082019050615ad26000830186614808565b615adf6020830185614808565b615aec6040830184614808565b949350505050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b6000615b50602183614768565b9150615b5b82615af4565b604082019050919050565b60006020820190508181036000830152615b7f81615b43565b9050919050565b600060a082019050615b9b6000830188614808565b615ba8602083018761547a565b8181036040830152615bba81866154e9565b9050615bc960608301856149fb565b615bd66080830184614808565b9695505050505050565b600060c082019050615bf560008301896149fb565b615c026020830188614808565b615c0f604083018761547a565b615c1c606083018661547a565b615c2960808301856149fb565b615c3660a0830184614808565b979650505050505050565b600080600060608486031215615c5a57615c59614553565b5b6000615c68868287016151f5565b9350506020615c79868287016151f5565b9250506040615c8a868287016151f5565b915050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204a6feeebac059b73d12390b9bc026fba11b48fd9997eb85a688cb6c22f4df8c964736f6c63430008120033

Verified Source Code Partial Match

Compiler: v0.8.18+commit.87f61d96 EVM: paris Optimization: No
Vinlink.sol 1282 lines
// SPDX-License-Identifier: MIT                                                                               
                                                    
pragma solidity 0.8.18;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint 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 (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint 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 (uint);

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

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

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    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 (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    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(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

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

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


contract ERC20 is Context, IERC20, IERC20Metadata {
    using SafeMath for uint256;

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

    /**
     * @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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 to 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 {}
}

library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}



library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }


    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

library SafeMathUint {
  function toInt256Safe(uint256 a) internal pure returns (int256) {
    int256 b = int256(a);
    require(b >= 0);
    return b;
  }
}


interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

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

contract LockToken is Ownable {
    bool public isOpen = false;
    mapping(address => bool) private _whiteList;
    address public tradingEnablerRole;
    
    modifier open(address from, address to) {
        require(isOpen || _whiteList[from] || _whiteList[to], "Not Open");
        _;
    }

    constructor() {
        _whiteList[msg.sender] = true;
        _whiteList[address(this)] = true;
        tradingEnablerRole = owner();
    }

    function enableTrade(bool _enable) external onlyOwner {
        require(tradingEnablerRole == msg.sender, 'incompatible role!');
        isOpen = _enable;
    }

    function renounceTradingEnablerRole() public {
        require(tradingEnablerRole == msg.sender, 'incompatible role!');
        tradingEnablerRole = address(0x0);
    }

    function preTrade(address[] memory _users) external onlyOwner {
        for(uint8 i = 0; i < _users.length; i++) {
            _whiteList[_users[i]] = true;
        }
    }
}

contract Vinlink is ERC20, LockToken {
    using SafeMath for uint256;

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

    bool private swapping;

    address public developmentWallet;
    address public treasuryWallet;
    
    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

    bool public swapEnabled = true;

    uint256 public buyTotalFees;
    uint256 public buyDevFee;
    uint256 public buyLiquidityFee;
    uint256 public buyTreasury;
    
    uint256 public sellTotalFees;
    uint256 public sellDevFee;
    uint256 public sellLiquidityFee;
    uint256 public sellTreasury;
    
    uint256 public tokensForDev;
    uint256 public tokensForLiquidity;
    uint256 public tokensForTreasury;
    
    /******************/

    // 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 developmentWalletUpdated(address indexed newWallet, address indexed oldWallet);
    
    event treasuryWalletUpdated(address indexed newWallet, address indexed oldWallet);

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

    event BuyBackTriggered(uint256 amount);

    constructor() ERC20("VINLINK", "VINLINK") {

        address newOwner = address(msg.sender);
        
        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 _buyDevFee = 12;
        uint256 _buyLiquidityFee = 12;
        uint256 _buyTreasury = 12;
        
        uint256 _sellDevFee = 12;
        uint256 _sellLiquidityFee = 12;
        uint256 _sellTreasury = 12;
        
        uint256 totalSupply = 100e9 * 1e9;
        
        maxTransactionAmount = 1000000000 * 10e9; // 1% maxTransactionAmountTxn
        swapTokensAtAmount = totalSupply * 5 / 10000; // 0.05% swap wallet
        maxWallet = 1000000000 * 10e9; // 1% max wallet

        buyDevFee = _buyDevFee;
        buyLiquidityFee = _buyLiquidityFee;
        buyTreasury = _buyTreasury;
        buyTotalFees = buyDevFee + buyLiquidityFee + buyTreasury;
        
        sellDevFee = _sellDevFee;
        sellLiquidityFee = _sellLiquidityFee;
        sellTreasury = _sellTreasury;
        sellTotalFees = sellDevFee + sellLiquidityFee + sellTreasury;
        
        developmentWallet = address(0x2d7461c335afaC99A54C859562296bAb655E6060); // set as Development wallet
        treasuryWallet = address(0x841f17161f325c30752d535561D91924a6EB1a95); // set as treasury wallet

        // exclude from paying fees or having max transaction amount
        excludeFromFees(newOwner, true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
        excludeFromFees(treasuryWallet, true);
        
        excludeFromMaxTransaction(newOwner, true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(treasuryWallet, 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(newOwner, totalSupply);
        transferOwnership(newOwner);
    }

    receive() external payable {

    }
    
     // 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 updateMaxAmount(uint256 newNum) external onlyOwner {
        require(newNum >= (totalSupply() * 5 / 1000)/1e9, "Cannot set maxTransactionAmount lower than 0.5%");
        maxTransactionAmount = newNum * (10**9);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require (newNum >= (totalSupply() * 3 / 1000)/1e9, "Cannot set maxWallet lower than 0.3%");
        maxWallet = newNum * (10**9);
    }
    
    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 _devFee, uint256 _liquidityFee, uint256 _treasuryFee) external onlyOwner {
        buyDevFee = _devFee;
        buyLiquidityFee = _liquidityFee;
        buyTreasury = _treasuryFee;
        buyTotalFees = buyDevFee + buyLiquidityFee + buyTreasury;
        require(buyTotalFees <= 30, "Must keep fees at 30% or less");
    }
    
    function updateSellFees(uint256 _devFee, uint256 _liquidityFee, uint256 _treasuryFee) external onlyOwner {
        sellDevFee = _devFee;
        sellLiquidityFee = _liquidityFee;
        sellTreasury = _treasuryFee;
        sellTotalFees = sellDevFee + sellLiquidityFee + sellTreasury;
        require(sellTotalFees <= 30, "Must keep fees at 30% 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 updatedevelopmentWallet(address newdevelopmentWallet) external onlyOwner {
        emit developmentWalletUpdated(newdevelopmentWallet, developmentWallet);
        developmentWallet = newdevelopmentWallet;
    }
    
    function updatetreasuryWallet(address newWallet) external onlyOwner {
        emit treasuryWalletUpdated(newWallet, treasuryWallet);
        treasuryWallet = newWallet;
    }
    

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) open(to, from)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 (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead) &&
                !swapping
            ){
                 
                //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 {
                    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;
        }
        
        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;
                tokensForTreasury += fees * sellTreasury / sellTotalFees;
                tokensForDev += fees * sellDevFee / sellTotalFees;
            }
            // on buy
            else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
                tokensForTreasury += fees * buyTreasury / buyTotalFees;
                tokensForDev += fees * buyDevFee / 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 + tokensForDev + tokensForTreasury;
        
        if(contractBalance == 0 || totalTokensToSwap == 0) {return;}
        
        // 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(tokensForDev).div(totalTokensToSwap);
        uint256 ethForBuyBack = ethBalance.mul(tokensForTreasury).div(totalTokensToSwap);
        
        
        uint256 ethForLiquidity = ethBalance - ethForMarketing - ethForBuyBack;
        
        
        tokensForLiquidity = 0;
        tokensForDev = 0;
        tokensForTreasury = 0;
        
        (bool success,) = address(developmentWallet).call{value: ethForMarketing}("");
        if(liquidityTokens > 0 && ethForLiquidity > 0){
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity);
        }
        
        // keep leftover ETH for buyback
        (success,) = address(treasuryWallet).call{value: address(this).balance}("");
    }
    
    // useful for buybacks or to reclaim any ETH on the contract in a way that helps holders.
    function buyBackTokens(uint256 ETHAmountInWei) external onlyOwner {
        // generate the uniswap pair path of weth -> eth
        address[] memory path = new address[](2);
        path[0] = uniswapV2Router.WETH();
        path[1] = address(this);

        // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ETHAmountInWei}(
            0, // accept any amount of Ethereum
            path,
            address(0xdead),
            block.timestamp
        );
        emit BuyBackTriggered(ETHAmountInWei);
    }

    function withdrawStuckETH() external onlyOwner{
        require (address(this).balance > 0, "Can't withdraw negative or zero");
        payable(owner()).transfer(address(this).balance);
    }

    function removeStuckToken(address _address) external onlyOwner {
        require(_address != address(this), "Can't withdraw tokens destined for liquidity");
        require(IERC20(_address).balanceOf(address(this)) > 0, "Can't withdraw 0");

        IERC20(_address).transfer(owner(), IERC20(_address).balanceOf(address(this)));
    }

}

Read Contract

_isExcludedMaxTransactionAmount 0x10d5de53 → bool
allowance 0xdd62ed3e → uint256
automatedMarketMakerPairs 0xb62496f5 → bool
balanceOf 0x70a08231 → uint256
buyDevFee 0x9c3b4fdc → uint256
buyLiquidityFee 0xf11a24d3 → uint256
buyTotalFees 0xd85ba063 → uint256
buyTreasury 0x0805d787 → uint256
deadAddress 0x27c8f835 → address
decimals 0x313ce567 → uint8
developmentWallet 0xc04a5414 → address
isExcludedFromFees 0x4fbee193 → bool
isOpen 0x47535d7b → bool
maxTransactionAmount 0xc8c8ebe4 → uint256
maxWallet 0xf8b45b05 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellDevFee 0xa0d82dc5 → uint256
sellLiquidityFee 0xf6374342 → uint256
sellTotalFees 0x6a486a8e → uint256
sellTreasury 0x5e015739 → uint256
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
tokensForDev 0x9fccce32 → uint256
tokensForLiquidity 0x1a8145bb → uint256
tokensForTreasury 0xcc2ffe7c → uint256
totalSupply 0x18160ddd → uint256
tradingEnablerRole 0xcbdcfd81 → address
treasuryWallet 0x4626402b → address
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address

Write Contract 24 functions

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

approve 0x095ea7b3
address spender
uint256 amount
returns: bool
buyBackTokens 0xfc155d1d
uint256 ETHAmountInWei
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTrade 0xc00f04d1
bool _enable
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
preTrade 0x04fdf86f
address[] _users
removeStuckToken 0xe083e922
address _address
renounceOwnership 0x715018a6
No parameters
renounceTradingEnablerRole 0x99ab04a7
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateBuyFees 0x8095d564
uint256 _devFee
uint256 _liquidityFee
uint256 _treasuryFee
updateMaxAmount 0x106b5da1
uint256 newNum
updateMaxWalletAmount 0xc18bc195
uint256 newNum
updateSellFees 0xc17b5b8c
uint256 _devFee
uint256 _liquidityFee
uint256 _treasuryFee
updateSwapEnabled 0x924de9b7
bool enabled
updateSwapTokensAtAmount 0xd257b34f
uint256 newAmount
returns: bool
updatedevelopmentWallet 0xc79c04fd
address newdevelopmentWallet
updatetreasuryWallet 0x2955ede6
address newWallet
withdrawStuckETH 0xf5648a4f
No parameters

Recent Transactions

No transactions found for this address