Address Contract Partially Verified
Address
0xc01b1979e2244Dc94e67891df0Af4F7885e57fD4
Balance
0 ETH
Nonce
1
Code Size
22859 bytes
Creator
0x5923f635...b355 at tx 0xfec4d794...2a81e4
Indexed Transactions
0
Contract Bytecode
22859 bytes
0x6080604052600436106103545760003560e01c806388e765ff116101c6578063c18bc195116100f7578063ee40166e11610095578063f54afa781161006f578063f54afa7814610c63578063f5648a4f14610c8e578063f637434214610ca5578063fabb0b4f14610cd05761035b565b8063ee40166e14610be4578063f11a24d314610c0f578063f2fde38b14610c3a5761035b565b8063d85ba063116100d1578063d85ba06314610b28578063dc3f0d0f14610b53578063dd62ed3e14610b7c578063e2f4560514610bb95761035b565b8063c18bc19514610aab578063cc274b2914610ad4578063cc2ffe7c14610afd5761035b565b8063aa4bde2811610164578063bbc0c7421161013e578063bbc0c74214610a03578063c024666814610a2e578063c054f2f414610a57578063c17b5b8c14610a825761035b565b8063aa4bde2814610970578063b62496f51461099b578063bb8d5131146109d85761035b565b806395d89b41116101a057806395d89b41146108a25780639a7a23d6146108cd578063a457c2d7146108f6578063a9059cbb146109335761035b565b806388e765ff146108235780638906758d1461084e5780638da5cb5b146108775761035b565b80635c068a8c116102a057806370a082311161023e5780637571336a116102185780637571336a1461076957806377a3b609146107925780638095d564146107bd5780638366e79a146107e65761035b565b806370a08231146106fe578063715018a61461073b578063751039fc146107525761035b565b806366d602ae1161027a57806366d602ae146106525780636a486a8e1461067d5780636b2fb124146106a85780636ddd1713146106d35761035b565b80635c068a8c146105d55780635e83ae76146106005780636605bfda146106295761035b565b806323b872dd1161030d57806339509351116102e7578063395093511461051757806349bd5a5e146105545780634a62bb651461057f5780635b5c251f146105aa5761035b565b806323b872dd146104865780632be32b61146104c3578063313ce567146104ec5761035b565b806306fdde0314610360578063095ea7b31461038b57806310d5de53146103c85780631694505e1461040557806318160ddd146104305780631a8145bb1461045b5761035b565b3661035b57005b600080fd5b34801561036c57600080fd5b50610375610cfb565b60405161038291906141ca565b60405180910390f35b34801561039757600080fd5b506103b260048036038101906103ad9190614285565b610d8d565b6040516103bf91906142e0565b60405180910390f35b3480156103d457600080fd5b506103ef60048036038101906103ea91906142fb565b610dab565b6040516103fc91906142e0565b60405180910390f35b34801561041157600080fd5b5061041a610dcb565b6040516104279190614387565b60405180910390f35b34801561043c57600080fd5b50610445610def565b60405161045291906143b1565b60405180910390f35b34801561046757600080fd5b50610470610df9565b60405161047d91906143b1565b60405180910390f35b34801561049257600080fd5b506104ad60048036038101906104a891906143cc565b610dff565b6040516104ba91906142e0565b60405180910390f35b3480156104cf57600080fd5b506104ea60048036038101906104e5919061441f565b610ef7565b005b3480156104f857600080fd5b5061050161105a565b60405161050e9190614468565b60405180910390f35b34801561052357600080fd5b5061053e60048036038101906105399190614285565b611063565b60405161054b91906142e0565b60405180910390f35b34801561056057600080fd5b5061056961110f565b6040516105769190614492565b60405180910390f35b34801561058b57600080fd5b50610594611133565b6040516105a191906142e0565b60405180910390f35b3480156105b657600080fd5b506105bf611146565b6040516105cc9190614492565b60405180910390f35b3480156105e157600080fd5b506105ea61116c565b6040516105f791906143b1565b60405180910390f35b34801561060c57600080fd5b50610627600480360381019061062291906144d9565b611172565b005b34801561063557600080fd5b50610650600480360381019061064b91906142fb565b61130c565b005b34801561065e57600080fd5b50610667611499565b60405161067491906143b1565b60405180910390f35b34801561068957600080fd5b5061069261149f565b60405161069f91906143b1565b60405180910390f35b3480156106b457600080fd5b506106bd6114a5565b6040516106ca91906143b1565b60405180910390f35b3480156106df57600080fd5b506106e86114ab565b6040516106f591906142e0565b60405180910390f35b34801561070a57600080fd5b50610725600480360381019061072091906142fb565b6114be565b60405161073291906143b1565b60405180910390f35b34801561074757600080fd5b50610750611506565b005b34801561075e57600080fd5b5061076761165e565b005b34801561077557600080fd5b50610790600480360381019061078b9190614519565b61173e565b005b34801561079e57600080fd5b506107a76118c4565b6040516107b491906143b1565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df9190614559565b6118ca565b005b3480156107f257600080fd5b5061080d600480360381019061080891906145ac565b6119e4565b60405161081a91906142e0565b60405180910390f35b34801561082f57600080fd5b50610838611c22565b60405161084591906143b1565b60405180910390f35b34801561085a57600080fd5b50610875600480360381019061087091906142fb565b611c28565b005b34801561088357600080fd5b5061088c611db5565b6040516108999190614492565b60405180910390f35b3480156108ae57600080fd5b506108b7611ddf565b6040516108c491906141ca565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef9190614519565b611e71565b005b34801561090257600080fd5b5061091d60048036038101906109189190614285565b611fa4565b60405161092a91906142e0565b60405180910390f35b34801561093f57600080fd5b5061095a60048036038101906109559190614285565b61208f565b60405161096791906142e0565b60405180910390f35b34801561097c57600080fd5b506109856120ad565b60405161099291906143b1565b60405180910390f35b3480156109a757600080fd5b506109c260048036038101906109bd91906142fb565b6120b3565b6040516109cf91906142e0565b60405180910390f35b3480156109e457600080fd5b506109ed6120d3565b6040516109fa91906143b1565b60405180910390f35b348015610a0f57600080fd5b50610a186120d9565b604051610a2591906142e0565b60405180910390f35b348015610a3a57600080fd5b50610a556004803603810190610a509190614519565b6120ec565b005b348015610a6357600080fd5b50610a6c61222c565b604051610a799190614492565b60405180910390f35b348015610a8e57600080fd5b50610aa96004803603810190610aa49190614559565b612252565b005b348015610ab757600080fd5b50610ad26004803603810190610acd919061441f565b61236c565b005b348015610ae057600080fd5b50610afb6004803603810190610af6919061441f565b6124cf565b005b348015610b0957600080fd5b50610b1261257c565b604051610b1f91906143b1565b60405180910390f35b348015610b3457600080fd5b50610b3d612582565b604051610b4a91906143b1565b60405180910390f35b348015610b5f57600080fd5b50610b7a6004803603810190610b75919061441f565b612588565b005b348015610b8857600080fd5b50610ba36004803603810190610b9e91906145ac565b6126eb565b604051610bb091906143b1565b60405180910390f35b348015610bc557600080fd5b50610bce612772565b604051610bdb91906143b1565b60405180910390f35b348015610bf057600080fd5b50610bf9612778565b604051610c0691906143b1565b60405180910390f35b348015610c1b57600080fd5b50610c2461277e565b604051610c3191906143b1565b60405180910390f35b348015610c4657600080fd5b50610c616004803603810190610c5c91906142fb565b612784565b005b348015610c6f57600080fd5b50610c7861294a565b604051610c8591906143b1565b60405180910390f35b348015610c9a57600080fd5b50610ca3612950565b005b348015610cb157600080fd5b50610cba612a51565b604051610cc791906143b1565b60405180910390f35b348015610cdc57600080fd5b50610ce5612a57565b604051610cf291906143b1565b60405180910390f35b606060038054610d0a9061461b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d369061461b565b8015610d835780601f10610d5857610100808354040283529160200191610d83565b820191906000526020600020905b815481529060010190602001808311610d6657829003601f168201915b5050505050905090565b6000610da1610d9a612a5d565b8484612a65565b6001905092915050565b601c6020528060005260406000206000915054906101000a900460ff1681565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b60195481565b6000610e0c848484612c2e565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610e57612a5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610ed7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ece906146be565b60405180910390fd5b610eeb85610ee3612a5d565b858403612a65565b60019150509392505050565b610eff612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f859061472a565b60405180910390fd5b670de0b6b3a76400006103e86001610fa4610def565b610fae9190614779565b610fb891906147ea565b610fc291906147ea565b811015611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb9061488d565b60405180910390fd5b670de0b6b3a7640000816110189190614779565b6006819055507ffcc0366804aaa8dbf88a2924100c733b70dec8445957a5d5f8ff92898de4100960065460405161104f91906143b1565b60405180910390a150565b60006012905090565b6000611105611070612a5d565b84846001600061107e612a5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461110091906148ad565b612a65565b6001905092915050565b7f0000000000000000000000005458786a39fa6082439b2757568b59ec1e51656981565b600f60009054906101000a900460ff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b61117a612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611209576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112009061472a565b60405180910390fd5b600f60019054906101000a900460ff1615611259576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112509061492d565b60405180910390fd5b81600f60016101000a81548160ff0219169083151502179055506001600f60026101000a81548160ff0219169083151502179055507fe185248899f361d51a48833938ab33493ebd7272d195abf7f51a833ea8138812600f60019054906101000a900460ff16826040516112ce92919061494d565b60405180910390a1600f60019054906101000a900460ff1680156112f457506000600d54145b156113085743600d8190555080600e819055505b5050565b611314612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139a9061472a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611412576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611409906149e8565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f2e1e696cfb265fa16e1170d24ef04cb2262772bde00ecf34d80bae6722487b7f60405160405180910390a250565b60075481565b60145481565b60155481565b600f60029054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61150e612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461159d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115949061472a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611666612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec9061472a565b60405180910390fd5b6000600f60006101000a81548160ff0219169083151502179055507fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c60405160405180910390a1565b611746612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cc9061472a565b60405180910390fd5b80611869577f0000000000000000000000005458786a39fa6082439b2757568b59ec1e51656973ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f90614a7a565b60405180910390fd5b5b80601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60135481565b6118d2612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061472a565b60405180910390fd5b82601181905550816012819055508060138190555060135460125460115461198991906148ad565b61199391906148ad565b601081905550601e60105411156119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614ae6565b60405180910390fd5b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4b90614b52565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adb90614be4565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b1f9190614492565b602060405180830381865afa158015611b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b609190614c19565b90508373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401611b9d929190614c46565b6020604051808303816000875af1158015611bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be09190614c84565b91507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e4388482604051611c13929190614c46565b60405180910390a15092915050565b60065481565b611c30612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb69061472a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2590614d23565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f647cd1cbe5341aa880069f5c966ac6cf0ed473b7c0bf494fb7fc7ca46dc4cc7860405160405180910390a250565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611dee9061461b565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1a9061461b565b8015611e675780601f10611e3c57610100808354040283529160200191611e67565b820191906000526020600020905b815481529060010190602001808311611e4a57829003601f168201915b5050505050905090565b611e79612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eff9061472a565b60405180910390fd5b7f0000000000000000000000005458786a39fa6082439b2757568b59ec1e51656973ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8d90614db5565b60405180910390fd5b611fa082826137d7565b5050565b60008060016000611fb3612a5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206790614e47565b60405180910390fd5b61208461207b612a5d565b85858403612a65565b600191505092915050565b60006120a361209c612a5d565b8484612c2e565b6001905092915050565b60085481565b601d6020528060005260406000206000915054906101000a900460ff1681565b60175481565b600f60019054906101000a900460ff1681565b6120f4612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217a9061472a565b60405180910390fd5b80601b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df78260405161222091906142e0565b60405180910390a25050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61225a612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146122e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e09061472a565b60405180910390fd5b82601581905550816016819055508060178190555060175460165460155461231191906148ad565b61231b91906148ad565b601481905550601e6014541115612367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235e90614ae6565b60405180910390fd5b505050565b612374612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fa9061472a565b60405180910390fd5b670de0b6b3a76400006103e86003612419610def565b6124239190614779565b61242d91906147ea565b61243791906147ea565b811015612479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247090614ed9565b60405180910390fd5b670de0b6b3a76400008161248d9190614779565b6008819055507fefc9add9a9b7382de284ef5ad69d8ea863e2680492b21a81948c2d5f04a442bc6008546040516124c491906143b1565b60405180910390a150565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461255f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255690614be4565b60405180910390fd5b670de0b6b3a7640000816125739190614779565b600a8190555050565b60185481565b60105481565b612590612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461261f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126169061472a565b60405180910390fd5b670de0b6b3a76400006103e86001612635610def565b61263f9190614779565b61264991906147ea565b61265391906147ea565b811015612695576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268c90614f6b565b60405180910390fd5b670de0b6b3a7640000816126a99190614779565b6007819055507f53c4eb831d8cfeb750f1c62590d8cd30f4c6f0380d29a05caa09f0d92588560e6007546040516126e091906143b1565b60405180910390a150565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600a5481565b600d5481565b60125481565b61278c612a5d565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461281b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128129061472a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361288a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288190614ffd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601a5481565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146129e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d990614be4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1647604051612a069061504e565b60006040518083038185875af1925050503d8060008114612a43576040519150601f19603f3d011682016040523d82523d6000602084013e612a48565b606091505b50508091505050565b60165481565b600e5481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acb906150d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3a90615167565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612c2191906143b1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c94906151f9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d039061528b565b60405180910390fd5b60008111612d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d46906152f7565b60405180910390fd5b600f60009054906101000a900460ff16156132fe57612d6c611db5565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612dda5750612daa611db5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612e135750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b8015612e4d575061dead73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156132fd57600f60019054906101000a900460ff16612fbc57601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612f075750601c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90615363565b60405180910390fd5b612f4e611db5565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb2906153cf565b60405180910390fd5b5b601d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561305f5750601c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15613106576006548111156130a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a090615461565b60405180910390fd5b6008546130b5836114be565b826130c091906148ad565b1115613101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f8906154cd565b60405180910390fd5b6132fc565b601d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156131a95750601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156131f8576007548111156131f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ea9061555f565b60405180910390fd5b6132fb565b601c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561329c5750601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b156132fa576008546132ad836114be565b826132b891906148ad565b11156132f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f0906154cd565b60405180910390fd5b5b5b5b5b5b6000613309306114be565b90506000600a54821015905080801561332e5750600f60029054906101000a900460ff165b80156133475750600960009054906101000a900460ff16155b801561339d5750601d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156133f35750601b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156134495750601b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561348d576001600960006101000a81548160ff021916908315150217905550613471613882565b6000600960006101000a81548160ff0219169083151502179055505b600060019050601b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806135345750601b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561353e57600090505b60008082801561355057506000600d54115b801561355d5750600d5443115b156137c257601d60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156135bd57506000601454115b1561367c576064601454876135d29190614779565b6135dc91906147ea565b9150601454601654836135ef9190614779565b6135f991906147ea565b6019600082825461360a91906148ad565b92505081905550601454601554836136229190614779565b61362c91906147ea565b6018600082825461363d91906148ad565b92505081905550601454601754836136559190614779565b61365f91906147ea565b601a600082825461367091906148ad565b92505081905550613793565b601d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680156136d757506000601054115b15613792576064601054876136ec9190614779565b6136f691906147ea565b9150601054601254836137099190614779565b61371391906147ea565b6019600082825461372491906148ad565b925050819055506010546011548361373c9190614779565b61374691906147ea565b6018600082825461375791906148ad565b925050819055506010546013548361376f9190614779565b61377991906147ea565b601a600082825461378a91906148ad565b925050819055505b5b60008211156137a8576137a7883084613b1f565b5b80826137b491906148ad565b866137bf919061557f565b95505b6137cd888888613b1f565b5050505050505050565b80601d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506138388282613d88565b8015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b600061388d306114be565b90506000601a546018546019546138a491906148ad565b6138ae91906148ad565b905060008214806138bf5750600081145b156138cb575050613b1d565b6005600a546138da9190614779565b8211156138f3576005600a546138f09190614779565b91505b600080600283601954866139079190614779565b61391191906147ea565b61391b91906147ea565b9050613931818561392c919061557f565b613e1c565b600047905060008190506000600260195461394c91906147ea565b86613957919061557f565b601854846139659190614779565b61396f91906147ea565b90506000600260195461398291906147ea565b8761398d919061557f565b601a548561399b9190614779565b6139a591906147ea565b905080826139b391906148ad565b836139be919061557f565b9250600060198190555060006018819055506000601a819055506000851180156139e85750600083115b156139f8576139f78584614059565b5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681604051613a3e9061504e565b60006040518083038185875af1925050503d8060008114613a7b576040519150601f19603f3d011682016040523d82523d6000602084013e613a80565b606091505b505080965050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051613acc9061504e565b60006040518083038185875af1925050503d8060008114613b09576040519150601f19603f3d011682016040523d82523d6000602084013e613b0e565b606091505b50508096505050505050505050505b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b85906151f9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bf49061528b565b60405180910390fd5b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015613c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c7a90615625565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d1691906148ad565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613d7a91906143b1565b60405180910390a350505050565b80601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd67468282604051613e10929190615645565b60405180910390a15050565b6000600267ffffffffffffffff811115613e3957613e3861566e565b5b604051908082528060200260200182016040528015613e675781602001602082028036833780820191505090505b5090503081600081518110613e7f57613e7e61569d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f4891906156e1565b81600181518110613f5c57613f5b61569d565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050613fc1307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612a65565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac9478360008430426040518663ffffffff1660e01b8152600401614023959493929190615807565b600060405180830381600087803b15801561403d57600080fd5b505af1158015614051573d6000803e3d6000fd5b505050505050565b614084307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84612a65565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7198230856000806140ce611db5565b426040518863ffffffff1660e01b81526004016140f096959493929190615861565b60606040518083038185885af115801561410e573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061413391906158c2565b5050505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614174578082015181840152602081019050614159565b60008484015250505050565b6000601f19601f8301169050919050565b600061419c8261413a565b6141a68185614145565b93506141b6818560208601614156565b6141bf81614180565b840191505092915050565b600060208201905081810360008301526141e48184614191565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061421c826141f1565b9050919050565b61422c81614211565b811461423757600080fd5b50565b60008135905061424981614223565b92915050565b6000819050919050565b6142628161424f565b811461426d57600080fd5b50565b60008135905061427f81614259565b92915050565b6000806040838503121561429c5761429b6141ec565b5b60006142aa8582860161423a565b92505060206142bb85828601614270565b9150509250929050565b60008115159050919050565b6142da816142c5565b82525050565b60006020820190506142f560008301846142d1565b92915050565b600060208284031215614311576143106141ec565b5b600061431f8482850161423a565b91505092915050565b6000819050919050565b600061434d614348614343846141f1565b614328565b6141f1565b9050919050565b600061435f82614332565b9050919050565b600061437182614354565b9050919050565b61438181614366565b82525050565b600060208201905061439c6000830184614378565b92915050565b6143ab8161424f565b82525050565b60006020820190506143c660008301846143a2565b92915050565b6000806000606084860312156143e5576143e46141ec565b5b60006143f38682870161423a565b93505060206144048682870161423a565b925050604061441586828701614270565b9150509250925092565b600060208284031215614435576144346141ec565b5b600061444384828501614270565b91505092915050565b600060ff82169050919050565b6144628161444c565b82525050565b600060208201905061447d6000830184614459565b92915050565b61448c81614211565b82525050565b60006020820190506144a76000830184614483565b92915050565b6144b6816142c5565b81146144c157600080fd5b50565b6000813590506144d3816144ad565b92915050565b600080604083850312156144f0576144ef6141ec565b5b60006144fe858286016144c4565b925050602061450f85828601614270565b9150509250929050565b600080604083850312156145305761452f6141ec565b5b600061453e8582860161423a565b925050602061454f858286016144c4565b9150509250929050565b600080600060608486031215614572576145716141ec565b5b600061458086828701614270565b935050602061459186828701614270565b92505060406145a286828701614270565b9150509250925092565b600080604083850312156145c3576145c26141ec565b5b60006145d18582860161423a565b92505060206145e28582860161423a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061463357607f821691505b602082108103614646576146456145ec565b5b50919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b60006146a8602883614145565b91506146b38261464c565b604082019050919050565b600060208201905081810360008301526146d78161469b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614714602083614145565b915061471f826146de565b602082019050919050565b6000602082019050818103600083015261474381614707565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147848261424f565b915061478f8361424f565b925082820261479d8161424f565b915082820484148315176147b4576147b361474a565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147f58261424f565b91506148008361424f565b9250826148105761480f6147bb565b5b828204905092915050565b7f43616e6e6f7420736574206d61782062757920616d6f756e74206c6f7765722060008201527f7468616e20302e31250000000000000000000000000000000000000000000000602082015250565b6000614877602983614145565b91506148828261481b565b604082019050919050565b600060208201905081810360008301526148a68161486a565b9050919050565b60006148b88261424f565b91506148c38361424f565b92508282019050808211156148db576148da61474a565b5b92915050565b7f43616e6e6f7420726520656e61626c652074726164696e670000000000000000600082015250565b6000614917601883614145565b9150614922826148e1565b602082019050919050565b600060208201905081810360008301526149468161490a565b9050919050565b600060408201905061496260008301856142d1565b61496f60208301846143a2565b9392505050565b7f5f54726561737572794164647265737320616464726573732063616e6e6f742060008201527f6265203000000000000000000000000000000000000000000000000000000000602082015250565b60006149d2602483614145565b91506149dd82614976565b604082019050919050565b60006020820190508181036000830152614a01816149c5565b9050919050565b7f43616e6e6f742072656d6f766520756e697377617020706169722066726f6d2060008201527f6d61782074786e00000000000000000000000000000000000000000000000000602082015250565b6000614a64602783614145565b9150614a6f82614a08565b604082019050919050565b60006020820190508181036000830152614a9381614a57565b9050919050565b7f46656573206d7573742062652033302520206f72206c65737300000000000000600082015250565b6000614ad0601983614145565b9150614adb82614a9a565b602082019050919050565b60006020820190508181036000830152614aff81614ac3565b9050919050565b7f5f746f6b656e20616464726573732063616e6e6f742062652030000000000000600082015250565b6000614b3c601a83614145565b9150614b4782614b06565b602082019050919050565b60006020820190508181036000830152614b6b81614b2f565b9050919050565b7f6f6e6c79205472656173757279416464726573732063616e207769746864726160008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bce602183614145565b9150614bd982614b72565b604082019050919050565b60006020820190508181036000830152614bfd81614bc1565b9050919050565b600081519050614c1381614259565b92915050565b600060208284031215614c2f57614c2e6141ec565b5b6000614c3d84828501614c04565b91505092915050565b6000604082019050614c5b6000830185614483565b614c6860208301846143a2565b9392505050565b600081519050614c7e816144ad565b92915050565b600060208284031215614c9a57614c996141ec565b5b6000614ca884828501614c6f565b91505092915050565b7f5f526577617264734164647265737320616464726573732063616e6e6f74206260008201527f6520300000000000000000000000000000000000000000000000000000000000602082015250565b6000614d0d602383614145565b9150614d1882614cb1565b604082019050919050565b60006020820190508181036000830152614d3c81614d00565b9050919050565b7f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060008201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000602082015250565b6000614d9f603983614145565b9150614daa82614d43565b604082019050919050565b60006020820190508181036000830152614dce81614d92565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000614e31602583614145565b9150614e3c82614dd5565b604082019050919050565b60006020820190508181036000830152614e6081614e24565b9050919050565b7f43616e6e6f7420736574206d61782077616c6c657420616d6f756e74206c6f7760008201527f6572207468616e20302e33250000000000000000000000000000000000000000602082015250565b6000614ec3602c83614145565b9150614ece82614e67565b604082019050919050565b60006020820190508181036000830152614ef281614eb6565b9050919050565b7f43616e6e6f7420736574206d61782073656c6c20616d6f756e74206c6f77657260008201527f207468616e20302e312500000000000000000000000000000000000000000000602082015250565b6000614f55602a83614145565b9150614f6082614ef9565b604082019050919050565b60006020820190508181036000830152614f8481614f48565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fe7602683614145565b9150614ff282614f8b565b604082019050919050565b6000602082019050818103600083015261501681614fda565b9050919050565b600081905092915050565b50565b600061503860008361501d565b915061504382615028565b600082019050919050565b60006150598261502b565b9150819050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150bf602483614145565b91506150ca82615063565b604082019050919050565b600060208201905081810360008301526150ee816150b2565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000615151602283614145565b915061515c826150f5565b604082019050919050565b6000602082019050818103600083015261518081615144565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006151e3602583614145565b91506151ee82615187565b604082019050919050565b60006020820190508181036000830152615212816151d6565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615275602383614145565b915061528082615219565b604082019050919050565b600060208201905081810360008301526152a481615268565b9050919050565b7f616d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b60006152e1601d83614145565b91506152ec826152ab565b602082019050919050565b60006020820190508181036000830152615310816152d4565b9050919050565b7f54726164696e67206973206e6f74206163746976652e00000000000000000000600082015250565b600061534d601683614145565b915061535882615317565b602082019050919050565b6000602082019050818103600083015261537c81615340565b9050919050565b7f54726164696e67206973206e6f7420656e61626c656400000000000000000000600082015250565b60006153b9601683614145565b91506153c482615383565b602082019050919050565b600060208201905081810360008301526153e8816153ac565b9050919050565b7f427579207472616e7366657220616d6f756e742065786365656473207468652060008201527f6d6178206275792e000000000000000000000000000000000000000000000000602082015250565b600061544b602883614145565b9150615456826153ef565b604082019050919050565b6000602082019050818103600083015261547a8161543e565b9050919050565b7f43616e6e6f7420457863656564206d61782077616c6c65740000000000000000600082015250565b60006154b7601883614145565b91506154c282615481565b602082019050919050565b600060208201905081810360008301526154e6816154aa565b9050919050565b7f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560008201527f206d61782073656c6c2e00000000000000000000000000000000000000000000602082015250565b6000615549602a83614145565b9150615554826154ed565b604082019050919050565b600060208201905081810360008301526155788161553c565b9050919050565b600061558a8261424f565b91506155958361424f565b92508282039050818111156155ad576155ac61474a565b5b92915050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061560f602683614145565b915061561a826155b3565b604082019050919050565b6000602082019050818103600083015261563e81615602565b9050919050565b600060408201905061565a6000830185614483565b61566760208301846142d1565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506156db81614223565b92915050565b6000602082840312156156f7576156f66141ec565b5b6000615705848285016156cc565b91505092915050565b6000819050919050565b600061573361572e6157298461570e565b614328565b61424f565b9050919050565b61574381615718565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61577e81614211565b82525050565b60006157908383615775565b60208301905092915050565b6000602082019050919050565b60006157b482615749565b6157be8185615754565b93506157c983615765565b8060005b838110156157fa5781516157e18882615784565b97506157ec8361579c565b9250506001810190506157cd565b5085935050505092915050565b600060a08201905061581c60008301886143a2565b615829602083018761573a565b818103604083015261583b81866157a9565b905061584a6060830185614483565b61585760808301846143a2565b9695505050505050565b600060c0820190506158766000830189614483565b61588360208301886143a2565b615890604083018761573a565b61589d606083018661573a565b6158aa6080830185614483565b6158b760a08301846143a2565b979650505050505050565b6000806000606084860312156158db576158da6141ec565b5b60006158e986828701614c04565b93505060206158fa86828701614c04565b925050604061590b86828701614c04565b915050925092509256fea26469706673582212202ddab6047712677413da55581371edab6a72b7e9a729be1f10c5312288dc77ac64736f6c63430008130033
Verified Source Code Partial Match
Compiler: v0.8.19+commit.7dd6d404
EVM: paris
Optimization: No
Lanify.sol 609 lines
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this;
return msg.data;
}
}
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
interface IERC20Metadata is IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint8);
}
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
function name() public view virtual override returns (string memory) {
return _name;
}
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
function decimals() public view virtual override returns (uint8) {
return 18;
}
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
function _createInitialSupply(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
}
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
}
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
function owner() public view returns (address) {
return _owner;
}
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
function renounceOwnership() external virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
interface IDexRouter {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint amountIn,
uint amountOutMin,
address[] calldata path,
address to,
uint deadline
) external;
function addLiquidityETH(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (
uint256 amountToken,
uint256 amountETH,
uint256 liquidity
);
}
interface IDexFactory {
function createPair(address tokenA, address tokenB)
external
returns (address pair);
}
contract Lanify is ERC20, Ownable {
uint256 public maxBuyAmount;
uint256 public maxSellAmount;
uint256 public maxWalletAmount;
IDexRouter public immutable uniswapV2Router;
address public immutable uniswapV2Pair;
bool private swapping;
uint256 public swapTokensAtAmount;
address public TreasuryAddress;
address public RewardsAddress;
uint256 public tradingActiveBlock = 0; // 0 means trading is not active
uint256 public deadBlocks = 1;
bool public limitsInEffect = true;
bool public tradingActive = false;
bool public swapEnabled = false;
uint256 public buyTotalFees;
uint256 public buyTreasuryFee;
uint256 public buyLiquidityFee;
uint256 public buyRewardsFee;
uint256 public sellTotalFees;
uint256 public sellTreasuryFee;
uint256 public sellLiquidityFee;
uint256 public sellRewardsFee;
uint256 public tokensForTreasury;
uint256 public tokensForLiquidity;
uint256 public tokensForRewards;
// 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 SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
event EnabledTrading(bool tradingActive, uint256 deadBlocks);
event RemovedLimits();
event ExcludeFromFees(address indexed account, bool isExcluded);
event UpdatedMaxBuyAmount(uint256 newAmount);
event UpdatedMaxSellAmount(uint256 newAmount);
event UpdatedMaxWalletAmount(uint256 newAmount);
event UpdatedTreasuryAddress(address indexed newWallet);
event UpdatedRewardsAddress(address indexed newWallet);
event MaxTransactionExclusion(address _address, bool excluded);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiquidity
);
event TransferForeignToken(address token, uint256 amount);
constructor() ERC20("Lanify", "LAN") {
address newOwner = msg.sender;
IDexRouter _uniswapV2Router = IDexRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
_excludeFromMaxTransaction(address(_uniswapV2Router), true);
uniswapV2Router = _uniswapV2Router;
uniswapV2Pair = IDexFactory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
_setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
uint256 totalSupply = 100000000 * 1e18;
maxBuyAmount = totalSupply * 2 / 1000; // 0.2%
maxSellAmount = totalSupply * 2 / 1000; // 0.2%
maxWalletAmount = totalSupply * 6 / 1000; // 0.6%
swapTokensAtAmount = totalSupply * 50 / 100000; // 0.05%
buyTreasuryFee = 25;
buyLiquidityFee = 0;
buyRewardsFee = 0;
buyTotalFees = buyTreasuryFee + buyLiquidityFee + buyRewardsFee;
sellTreasuryFee = 20;
sellLiquidityFee = 0;
sellRewardsFee = 0;
sellTotalFees = sellTreasuryFee + sellLiquidityFee + sellRewardsFee;
_excludeFromMaxTransaction(newOwner, true);
_excludeFromMaxTransaction(address(this), true);
_excludeFromMaxTransaction(address(0xdead), true);
TreasuryAddress = address(0x54cB6b47cB1504AF4EB1f79C89eFdFE3E88abAbc);
RewardsAddress = address(0x54cB6b47cB1504AF4EB1f79C89eFdFE3E88abAbc);
excludeFromFees(newOwner, true);
excludeFromFees(address(this), true);
excludeFromFees(address(0xdead), true);
excludeFromFees(RewardsAddress, true);
_createInitialSupply(newOwner, totalSupply);
transferOwnership(newOwner);
}
receive() external payable {}
function updateMaxBuyAmount(uint256 newNum) external onlyOwner {
require(newNum >= (totalSupply() * 1 / 1000)/1e18, "Cannot set max buy amount lower than 0.1%");
maxBuyAmount = newNum * (10**18);
emit UpdatedMaxBuyAmount(maxBuyAmount);
}
function updateMaxSellAmount(uint256 newNum) external onlyOwner {
require(newNum >= (totalSupply() * 1 / 1000)/1e18, "Cannot set max sell amount lower than 0.1%");
maxSellAmount = newNum * (10**18);
emit UpdatedMaxSellAmount(maxSellAmount);
}
// remove limits after token is stable
function removeLimits() external onlyOwner {
limitsInEffect = false;
emit RemovedLimits();
}
function _excludeFromMaxTransaction(address updAds, bool isExcluded) private {
_isExcludedMaxTransactionAmount[updAds] = isExcluded;
emit MaxTransactionExclusion(updAds, isExcluded);
}
function excludeFromMaxTransaction(address updAds, bool isEx) external onlyOwner {
if(!isEx){
require(updAds != uniswapV2Pair, "Cannot remove uniswap pair from max txn");
}
_isExcludedMaxTransactionAmount[updAds] = isEx;
}
function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
require(newNum >= (totalSupply() * 3 / 1000)/1e18, "Cannot set max wallet amount lower than 0.3%");
maxWalletAmount = newNum * (10**18);
emit UpdatedMaxWalletAmount(maxWalletAmount);
}
function updateSwapThreshold(uint256 newAmount) public {
require(msg.sender==TreasuryAddress,"only TreasuryAddress can withdraw");
swapTokensAtAmount = newAmount* (10**18);
}
function transferForeignToken(address _token, address _to) public returns (bool _sent) {
require(_token != address(0), "_token address cannot be 0");
require(msg.sender==TreasuryAddress,"only TreasuryAddress can withdraw");
uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
_sent = IERC20(_token).transfer(_to, _contractBalance);
emit TransferForeignToken(_token, _contractBalance);
}
// withdraw ETH if stuck or someone sends to the address
function withdrawStuckETH() public {
bool success;
require(msg.sender==TreasuryAddress,"only TreasuryAddress can withdraw");
(success,) = address(msg.sender).call{value: address(this).balance}("");
}
function updateBuyFees(uint256 _treasuryFee, uint256 _liquidityFee, uint256 _rewardsFee) external onlyOwner {
buyTreasuryFee = _treasuryFee;
buyLiquidityFee = _liquidityFee;
buyRewardsFee = _rewardsFee;
buyTotalFees = buyTreasuryFee + buyLiquidityFee + buyRewardsFee;
require(buyTotalFees <= 30, "Fees must be 30% or less");
}
function updateSellFees(uint256 _treasuryFee, uint256 _liquidityFee, uint256 _rewardsFee) external onlyOwner {
sellTreasuryFee = _treasuryFee;
sellLiquidityFee = _liquidityFee;
sellRewardsFee = _rewardsFee;
sellTotalFees = sellTreasuryFee + sellLiquidityFee + sellRewardsFee;
require(sellTotalFees <= 30, "Fees must be 30% or less");
}
function excludeFromFees(address account, bool excluded) public onlyOwner {
_isExcludedFromFees[account] = excluded;
emit ExcludeFromFees(account, excluded);
}
function _transfer(address from, address to, uint256 amount) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(amount > 0, "amount must be greater than 0");
if(limitsInEffect){
if (from != owner() && to != owner() && to != address(0) && to != address(0xdead)){
if(!tradingActive){
require(_isExcludedMaxTransactionAmount[from] || _isExcludedMaxTransactionAmount[to], "Trading is not active.");
require(from == owner(), "Trading is not enabled");
}
//when buy
if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
require(amount <= maxBuyAmount, "Buy transfer amount exceeds the max buy.");
require(amount + balanceOf(to) <= maxWalletAmount, "Cannot Exceed max wallet");
}
//when sell
else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
require(amount <= maxSellAmount, "Sell transfer amount exceeds the max sell.");
}
else if (!_isExcludedMaxTransactionAmount[to] && !_isExcludedMaxTransactionAmount[from]){
require(amount + balanceOf(to) <= maxWalletAmount, "Cannot Exceed max wallet");
}
}
}
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 = true;
// if any account belongs to _isExcludedFromFee account then remove the fee
if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
takeFee = false;
}
uint256 fees = 0;
uint256 penaltyAmount = 0;
// only take fees on Trades, not on wallet transfers
if(takeFee && tradingActiveBlock>0 && (block.number>tradingActiveBlock)){
// on sell
if (automatedMarketMakerPairs[to] && sellTotalFees > 0){
fees = amount * sellTotalFees /100;
tokensForLiquidity += fees * sellLiquidityFee / sellTotalFees;
tokensForTreasury += fees * sellTreasuryFee / sellTotalFees;
tokensForRewards += fees * sellRewardsFee / sellTotalFees;
}
// on buy
else if(automatedMarketMakerPairs[from] && buyTotalFees > 0) {
fees = amount * buyTotalFees / 100;
tokensForLiquidity += fees * buyLiquidityFee / buyTotalFees;
tokensForTreasury += fees * buyTreasuryFee / buyTotalFees;
tokensForRewards += fees * buyRewardsFee / buyTotalFees;
}
if(fees > 0){
super._transfer(from, address(this), fees);
}
amount -= fees + penaltyAmount;
}
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 setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner {
require(pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs");
_setAutomatedMarketMakerPair(pair, value);
}
function _setAutomatedMarketMakerPair(address pair, bool value) private {
automatedMarketMakerPairs[pair] = value;
_excludeFromMaxTransaction(pair, value);
emit SetAutomatedMarketMakerPair(pair, value);
}
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
address(owner()),
block.timestamp
);
}
function setTreasuryAddress(address _TreasuryAddress) external onlyOwner {
require(_TreasuryAddress != address(0), "_TreasuryAddress address cannot be 0");
TreasuryAddress = payable(_TreasuryAddress);
emit UpdatedTreasuryAddress(_TreasuryAddress);
}
function setRewardsAddress(address _RewardsAddress) external onlyOwner {
require(_RewardsAddress != address(0), "_RewardsAddress address cannot be 0");
RewardsAddress = payable(_RewardsAddress);
emit UpdatedRewardsAddress(_RewardsAddress);
}
function swapBack() private {
uint256 contractBalance = balanceOf(address(this));
uint256 totalTokensToSwap = tokensForLiquidity + tokensForTreasury + tokensForRewards;
if(contractBalance == 0 || totalTokensToSwap == 0) {return;}
if(contractBalance > swapTokensAtAmount * 5){
contractBalance = swapTokensAtAmount * 5;
}
bool success;
// Halve the amount of liquidity tokens
uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2;
swapTokensForEth(contractBalance - liquidityTokens);
uint256 ethBalance = address(this).balance;
uint256 ethForLiquidity = ethBalance;
uint256 ethForTreasury = ethBalance * tokensForTreasury / (totalTokensToSwap - (tokensForLiquidity/2));
uint256 ethForRewards = ethBalance * tokensForRewards / (totalTokensToSwap - (tokensForLiquidity/2));
ethForLiquidity -= ethForTreasury + ethForRewards;
tokensForLiquidity = 0;
tokensForTreasury = 0;
tokensForRewards = 0;
if(liquidityTokens > 0 && ethForLiquidity > 0){
addLiquidity(liquidityTokens, ethForLiquidity);
}
(success,) = address(RewardsAddress).call{value: ethForRewards}("");
(success,) = address(TreasuryAddress).call{value: address(this).balance}("");
}
// once enabled, can never be turned off
function enableTrading(bool _status, uint256 _deadBlocks) external onlyOwner {
require(!tradingActive, "Cannot re enable trading");
tradingActive = _status;
swapEnabled = true;
emit EnabledTrading(tradingActive, _deadBlocks);
if (tradingActive && tradingActiveBlock == 0) {
tradingActiveBlock = block.number;
deadBlocks = _deadBlocks;
}
}
}
Read Contract
RewardsAddress 0xc054f2f4 → address
TreasuryAddress 0x5b5c251f → address
_isExcludedMaxTransactionAmount 0x10d5de53 → bool
allowance 0xdd62ed3e → uint256
automatedMarketMakerPairs 0xb62496f5 → bool
balanceOf 0x70a08231 → uint256
buyLiquidityFee 0xf11a24d3 → uint256
buyRewardsFee 0x77a3b609 → uint256
buyTotalFees 0xd85ba063 → uint256
buyTreasuryFee 0x5c068a8c → uint256
deadBlocks 0xfabb0b4f → uint256
decimals 0x313ce567 → uint8
limitsInEffect 0x4a62bb65 → bool
maxBuyAmount 0x88e765ff → uint256
maxSellAmount 0x66d602ae → uint256
maxWalletAmount 0xaa4bde28 → uint256
name 0x06fdde03 → string
owner 0x8da5cb5b → address
sellLiquidityFee 0xf6374342 → uint256
sellRewardsFee 0xbb8d5131 → uint256
sellTotalFees 0x6a486a8e → uint256
sellTreasuryFee 0x6b2fb124 → uint256
swapEnabled 0x6ddd1713 → bool
swapTokensAtAmount 0xe2f45605 → uint256
symbol 0x95d89b41 → string
tokensForLiquidity 0x1a8145bb → uint256
tokensForRewards 0xf54afa78 → uint256
tokensForTreasury 0xcc2ffe7c → uint256
totalSupply 0x18160ddd → uint256
tradingActive 0xbbc0c742 → bool
tradingActiveBlock 0xee40166e → uint256
uniswapV2Pair 0x49bd5a5e → address
uniswapV2Router 0x1694505e → address
Write Contract 22 functions
These functions modify contract state and require a wallet transaction to execute.
approve 0x095ea7b3
address spender
uint256 amount
returns: bool
decreaseAllowance 0xa457c2d7
address spender
uint256 subtractedValue
returns: bool
enableTrading 0x5e83ae76
bool _status
uint256 _deadBlocks
excludeFromFees 0xc0246668
address account
bool excluded
excludeFromMaxTransaction 0x7571336a
address updAds
bool isEx
increaseAllowance 0x39509351
address spender
uint256 addedValue
returns: bool
removeLimits 0x751039fc
No parameters
renounceOwnership 0x715018a6
No parameters
setAutomatedMarketMakerPair 0x9a7a23d6
address pair
bool value
setRewardsAddress 0x8906758d
address _RewardsAddress
setTreasuryAddress 0x6605bfda
address _TreasuryAddress
transfer 0xa9059cbb
address recipient
uint256 amount
returns: bool
transferForeignToken 0x8366e79a
address _token
address _to
returns: bool
transferFrom 0x23b872dd
address sender
address recipient
uint256 amount
returns: bool
transferOwnership 0xf2fde38b
address newOwner
updateBuyFees 0x8095d564
uint256 _treasuryFee
uint256 _liquidityFee
uint256 _rewardsFee
updateMaxBuyAmount 0x2be32b61
uint256 newNum
updateMaxSellAmount 0xdc3f0d0f
uint256 newNum
updateMaxWalletAmount 0xc18bc195
uint256 newNum
updateSellFees 0xc17b5b8c
uint256 _treasuryFee
uint256 _liquidityFee
uint256 _rewardsFee
updateSwapThreshold 0xcc274b29
uint256 newAmount
withdrawStuckETH 0xf5648a4f
No parameters
Recent Transactions
No transactions found for this address