6080604052620000126009600a62000458565b6200002190620f424062000470565b6001818155606460028190556003819055600455600a805460ff60a01b191690556000600b81905561012c600c81905560c8600d55600e919091556107d0600f55610fa060108190556011556127106012556013805460ff1916909217909155620186a091620000919162000470565b6200009d919062000492565b601655620186a0600154600a620000b5919062000470565b620000c1919062000492565b601755348015620000d157600080fd5b50600080546001600160a01b031916331781556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9291839163c45a0155916004808201926020929091908290030181865afa15801562000139573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015f9190620004b5565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d39190620004b5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000221573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002479190620004b5565b600980546001600160a01b038581166001600160a01b031992831617909255600a805492841692909116919091179055306000908152600760209081526040808320805460ff1990811660019081179092557f4ca719456671b7237fb23750240045ddb28208554ed95a73283bc7f2f29d26de80548216831790557f50baad2d918a9e0439c21c39a7d62ff66c213a6b7df4dc9328bd2df757187d648054821683179055338086528386208054909216831790915590546005845282852081905591519182529394507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050620004e0565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200039a5781600019048211156200037e576200037e62000343565b808516156200038c57918102915b93841c93908002906200035e565b509250929050565b600082620003b35750600162000452565b81620003c25750600062000452565b8160018114620003db5760028114620003e65762000406565b600191505062000452565b60ff841115620003fa57620003fa62000343565b50506001821b62000452565b5060208310610133831016604e8410600b84101617156200042b575081810a62000452565b62000437838362000359565b80600019048211156200044e576200044e62000343565b0290505b92915050565b60006200046960ff841683620003a2565b9392505050565b60008160001904831182151516156200048d576200048d62000343565b500290565b600082620004b057634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215620004c857600080fd5b81516001600160a01b03811681146200046957600080fd5b611ac480620004f06000396000f3fe6080604052600436106101395760003560e01c806348ff2b8b116100ab5780638c41180e1161006f5780638c41180e1461039557806395d89b41146103b5578063a8aa1b31146103e0578063a9059cbb14610400578063dd62ed3e14610420578063f2fde38b1461046657600080fd5b806348ff2b8b146102e357806370a082311461030357806378109e54146103395780637d1db4a51461034e578063893d20e81461036357600080fd5b806323b872dd116100fd57806323b872dd14610213578063293230b8146102335780632f54bf6e14610248578063313ce5671461027757806334c5d2ce146102935780633f4218e0146102b357600080fd5b8063044019301461014557806306fdde0314610167578063095ea7b3146101ab57806318160ddd146101db5780631f976b7e146101fe57600080fd5b3661014057005b600080fd5b34801561015157600080fd5b50610165610160366004611723565b610486565b005b34801561017357600080fd5b506040805180820190915260098152684a6f686e20506f726b60b81b60208201525b6040516101a2919061176f565b60405180910390f35b3480156101b757600080fd5b506101cb6101c63660046117d5565b610574565b60405190151581526020016101a2565b3480156101e757600080fd5b506101f061058b565b6040519081526020016101a2565b34801561020a57600080fd5b506101f06105fc565b34801561021f57600080fd5b506101cb61022e366004611801565b610620565b34801561023f57600080fd5b5061016561068a565b34801561025457600080fd5b506101cb610263366004611842565b6000546001600160a01b0391821691161490565b34801561028357600080fd5b50604051600981526020016101a2565b34801561029f57600080fd5b506101656102ae36600461185f565b6106c9565b3480156102bf57600080fd5b506101cb6102ce366004611842565b60076020526000908152604090205460ff1681565b3480156102ef57600080fd5b506101656102fe36600461188b565b610810565b34801561030f57600080fd5b506101f061031e366004611842565b6001600160a01b031660009081526005602052604090205490565b34801561034557600080fd5b506101f0610865565b34801561035a57600080fd5b506101f0610875565b34801561036f57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101a2565b3480156103a157600080fd5b506101656103b036600461188b565b610885565b3480156103c157600080fd5b5060408051808201909152600281526104a560f41b6020820152610195565b3480156103ec57600080fd5b50600a5461037d906001600160a01b031681565b34801561040c57600080fd5b506101cb61041b3660046117d5565b6108da565b34801561042c57600080fd5b506101f061043b3660046118c9565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561047257600080fd5b50610165610481366004611842565b6108e7565b6000546001600160a01b031633146104b95760405162461bcd60e51b81526004016104b0906118f7565b60405180910390fd5b600b879055600c869055600e859055600d849055600f839055601082905560118190556012546104ea906005610965565b600f541115801561050a5750601254610504906005610965565b60105411155b61056b5760405162461bcd60e51b815260206004820152602c60248201527f746f74616c46656520616e642073656c6c4665652063616e6e6f74206265206d60448201526b6f7265207468616e2032302560a01b60648201526084016104b0565b50505050505050565b6000610581338484610971565b5060015b92915050565b60056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc5461dead60009081527f7d509c07f0d4edcc2dd1b53aae68677132eb562dcba78e36381b63ccaf66e6ba5460015491926105f79290916105f19190610a95565b90610a95565b905090565b600060125460035461060c61058b565b610616919061192d565b6105f7919061194c565b600061062d848484610aa1565b61067f843361067a85604051806060016040528060288152602001611a67602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190610bc7565b610971565b5060015b9392505050565b6000546001600160a01b031633146106b45760405162461bcd60e51b81526004016104b0906118f7565b600a805460ff60a01b1916600160a01b179055565b6000546001600160a01b031633146106f35760405162461bcd60e51b81526004016104b0906118f7565b60006127108461070161058b565b61070b919061192d565b610715919061194c565b905060006127108461072561058b565b61072f919061192d565b610739919061194c565b905060006127108461074961058b565b610753919061192d565b61075d919061194c565b6002879055600386905560048590559050600061078f6103e8610789600561078361058b565b90610bf3565b90610965565b90508084101580156107a15750808310155b80156107ad5750808210155b61056b5760405162461bcd60e51b815260206004820152602e60248201527f4d61782054587320616e64204d61782057616c6c65742063616e6e6f7420626560448201526d206c657373207468616e202e352560901b60648201526084016104b0565b6000546001600160a01b0316331461083a5760405162461bcd60e51b81526004016104b0906118f7565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b600060125460045461060c61058b565b600060125460025461060c61058b565b6000546001600160a01b031633146108af5760405162461bcd60e51b81526004016104b0906118f7565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6000610581338484610aa1565b6000546001600160a01b031633146109115760405162461bcd60e51b81526004016104b0906118f7565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc6861639060200160405180910390a150565b6000610683828461194c565b6001600160a01b0383166109d35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b0565b6001600160a01b038216610a345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b0565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610683828461196e565b610aac838383610bff565b610ab68383610dae565b610ac1838383610e43565b610acb8383610f34565b610ad6838383610f8b565b610ae18383836110c2565b6001600160a01b038316600090815260056020526040902054610b049082610a95565b6001600160a01b038416600090815260056020526040812091909155610b2a84846110e7565b610b345781610b3f565b610b3f84848461112d565b6001600160a01b038416600090815260056020526040902054909150610b65908261121b565b6001600160a01b0380851660008181526005602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610bb99085815260200190565b60405180910390a350505050565b60008184841115610beb5760405162461bcd60e51b81526004016104b0919061176f565b505050900390565b6000610683828461192d565b6001600160a01b038316610c635760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b0565b6001600160a01b038216610cc55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b0565b60008111610d275760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104b0565b6001600160a01b038316600090815260056020526040902054811115610da95760405162461bcd60e51b815260206004820152603160248201527f596f752061726520747279696e6720746f207472616e73666572206d6f7265206044820152707468616e20796f75722062616c616e636560781b60648201526084016104b0565b505050565b6001600160a01b03821660009081526007602052604090205460ff16158015610df057506001600160a01b03811660009081526007602052604090205460ff16155b15610e3f57600a54600160a01b900460ff16610e3f5760405162461bcd60e51b815260206004820152600e60248201526d1d1c98591a5b99d05b1b1bddd95960921b60448201526064016104b0565b5050565b6001600160a01b03831660009081526007602052604090205460ff16158015610e8557506001600160a01b03821660009081526007602052604090205460ff16155b8015610e9f5750600a546001600160a01b03838116911614155b8015610eb657506001600160a01b03821661dead14155b15610da957610ec3610865565b6001600160a01b038316600090815260056020526040902054610ee6908361121b565b1115610da95760405162461bcd60e51b815260206004820152601e60248201527f45786365656473206d6178696d756d2077616c6c657420616d6f756e742e000060448201526064016104b0565b600a546001600160a01b038281169116148015610f6a57506001600160a01b03821660009081526007602052604090205460ff16155b15610e3f57600160146000828254610f829190611981565b90915550505050565b600a546001600160a01b0384811691161461103157610fa86105fc565b81111580610fce57506001600160a01b03831660009081526007602052604090205460ff165b80610ff157506001600160a01b03821660009081526007602052604090205460ff165b6110315760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b60448201526064016104b0565b611039610875565b8111158061105f57506001600160a01b03831660009081526007602052604090205460ff165b8061108257506001600160a01b03821660009081526007602052604090205460ff165b610da95760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b60448201526064016104b0565b6110cd838383611227565b15610da9576110dd6016546112d9565b6000601455505050565b6001600160a01b03821660009081526007602052604081205460ff161580156106835750506001600160a01b031660009081526007602052604090205460ff1615919050565b60008061113a8585611464565b111561121457600061115d61114f8686611464565b601254610783908690610965565b3060009081526005602052604090205490915061117a908261121b565b30600081815260056020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111cb9085815260200190565b60405180910390a3600e5415611202576112023061dead6111fd600e546107836012548961096590919063ffffffff16565b610aa1565b61120c8382610a95565b915050610683565b5092915050565b60006106838284611981565b6017546016543060009081526005602052604081205460155491938510159211159060ff1615801561125b575060135460ff165b80156112705750600a54600160a01b900460ff165b80156112795750815b801561129e57506001600160a01b03861660009081526007602052604090205460ff16155b80156112b75750600a546001600160a01b038681169116145b80156112c65750600260145410155b80156112cf5750805b9695505050505050565b6015805460ff19166001908117909155600d54600c54600b546000936113139360029361078393919261130d92839161121b565b9061121b565b9050600061133082610789600b5486610bf390919063ffffffff16565b9050600061133e8483610a95565b90504761134a82611505565b60006113564783610a95565b90506000611379611372600b5488610a9590919063ffffffff16565b8390610965565b90506000611392600b5483610bf390919063ffffffff16565b905080156113a4576113a4868261165f565b600c546000906113b990610783856002610bf3565b9050801561140457604051737cd0903f46feddf57af79d9f824b64130e925a099082156108fc029083906000818181858888f19350505050158015611402573d6000803e3d6000fd5b505b47801561144e57604051730ac4da9dbc5126cb11c27906332d44f4856d7daf9082156108fc029083906000818181858888f1935050505015801561144c573d6000803e3d6000fd5b505b50506015805460ff191690555050505050505050565b6001600160a01b03821660009081526008602052604081205460ff16806114a357506001600160a01b03821660009081526008602052604090205460ff165b156114bd576012546114b6906064610a95565b9050610585565b600a546001600160a01b03908116908316036114dc5750601054610585565b600a546001600160a01b03908116908416036114fb5750600f54610585565b5060115492915050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061153a5761153a611994565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b791906119aa565b816001815181106115ca576115ca611994565b6001600160a01b0392831660209182029290920101526009546115f09130911684610971565b60095460405163791ac94760e01b81526001600160a01b039091169063791ac947906116299085906000908690309042906004016119c7565b600060405180830381600087803b15801561164357600080fd5b505af1158015611657573d6000803e3d6000fd5b505050505050565b6009546116779030906001600160a01b031684610971565b60095460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820152730ac4da9dbc5126cb11c27906332d44f4856d7daf60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af11580156116f7573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061171c9190611a38565b5050505050565b600080600080600080600060e0888a03121561173e57600080fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b600060208083528351808285015260005b8181101561179c57858101830151858201604001528201611780565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146117d257600080fd5b50565b600080604083850312156117e857600080fd5b82356117f3816117bd565b946020939093013593505050565b60008060006060848603121561181657600080fd5b8335611821816117bd565b92506020840135611831816117bd565b929592945050506040919091013590565b60006020828403121561185457600080fd5b8135610683816117bd565b60008060006060848603121561187457600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561189e57600080fd5b82356118a9816117bd565b9150602083013580151581146118be57600080fd5b809150509250929050565b600080604083850312156118dc57600080fd5b82356118e7816117bd565b915060208301356118be816117bd565b60208082526006908201526510a7aba722a960d11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561194757611947611917565b500290565b60008261196957634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561058557610585611917565b8082018082111561058557610585611917565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156119bc57600080fd5b8151610683816117bd565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611a175784516001600160a01b0316835293830193918301916001016119f2565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215611a4d57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220994cf3c49d201b1d6c63f5ba09b7723f9f5d0c20fac93f592f0fe3f03101d8a764736f6c63430008100033