60806040526702c68af0bb14000060075560006008819055600955600a805461ffff19169055600e805460ff191690553480156200003c57600080fd5b50604080518082018252600d81526c537465657a7947656e6573697360981b602080830191825283518085019094526005845264122a22a2ad60d91b9084015281519192916200008f9160009162000165565b508051620000a590600190602084019062000165565b505050620000c2620000bc6200010f60201b60201c565b62000113565b60408051808201909152601f8082527f687474703a2f2f6d696e74737465657a792e78797a2f6d657461646174612f0060209092019182526200010891600d9162000165565b5062000248565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000173906200020b565b90600052602060002090601f016020900481019282620001975760008555620001e2565b82601f10620001b257805160ff1916838001178555620001e2565b82800160010185558215620001e2579182015b82811115620001e2578251825591602001919060010190620001c5565b50620001f0929150620001f4565b5090565b5b80821115620001f05760008155600101620001f5565b600181811c908216806200022057607f821691505b602082108114156200024257634e487b7160e01b600052602260045260246000fd5b50919050565b6124cf80620002586000396000f3fe6080604052600436106101f95760003560e01c806370a082311161010d578063b003c2b8116100a0578063e985e9c51161006f578063e985e9c5146105af578063f2fde38b146105f8578063f5aa406d14610618578063f8226e8814610638578063f98050a71461065857600080fd5b8063b003c2b81461051f578063b88d4fde1461054f578063bcc51ed01461056f578063c87b56dd1461058f57600080fd5b806391b7f5ed116100dc57806391b7f5ed146104b457806395d89b41146104d4578063a035b1fe146104e9578063a22cb465146104ff57600080fd5b806370a0823114610441578063715018a61461046157806376cc269f146104765780638da5cb5b1461049657600080fd5b80633ccfd60b1161019057806355f804b31161015f57806355f804b3146103a4578063603f4d52146103c457806361bc221a146103f05780636352211e1461040b5780636f752c611461042b57600080fd5b80633ccfd60b1461033c5780633eee5eb81461035157806342842e0e1461036457806342966c681461038457600080fd5b806323b872dd116101cc57806323b872dd146102af5780633132c0df146102cf57806332cb6b0c146102ef578063386bfc981461031857600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611f68565b610688565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b506102486106da565b60405161022a919061216a565b34801561026157600080fd5b50610275610270366004611f4f565b61076c565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004611ea1565b610806565b005b3480156102bb57600080fd5b506102ad6102ca366004611dad565b61091c565b3480156102db57600080fd5b506102ad6102ea366004611f4f565b61094e565b3480156102fb57600080fd5b506103056101bc81565b60405161ffff909116815260200161022a565b34801561032457600080fd5b5061032e60095481565b60405190815260200161022a565b34801561034857600080fd5b506102ad61097d565b6102ad61035f366004611ecb565b6109ec565b34801561037057600080fd5b506102ad61037f366004611dad565b610c4e565b34801561039057600080fd5b506102ad61039f366004611f4f565b610c69565b3480156103b057600080fd5b506102ad6103bf366004611fa2565b610ce3565b3480156103d057600080fd5b50600e546103de9060ff1681565b60405160ff909116815260200161022a565b3480156103fc57600080fd5b50600a546103059061ffff1681565b34801561041757600080fd5b50610275610426366004611f4f565b610d24565b34801561043757600080fd5b5061032e60085481565b34801561044d57600080fd5b5061032e61045c366004611d58565b610d9b565b34801561046d57600080fd5b506102ad610e22565b34801561048257600080fd5b506102ad61049136600461200f565b610e58565b3480156104a257600080fd5b506006546001600160a01b0316610275565b3480156104c057600080fd5b506102ad6104cf366004611f4f565b610e98565b3480156104e057600080fd5b50610248610f0b565b3480156104f557600080fd5b5061032e60075481565b34801561050b57600080fd5b506102ad61051a366004611e65565b610f1a565b34801561052b57600080fd5b5061021e61053a366004611d58565b600b6020526000908152604090205460ff1681565b34801561055b57600080fd5b506102ad61056a366004611de9565b610f25565b34801561057b57600080fd5b506102ad61058a366004611feb565b610f5d565b34801561059b57600080fd5b506102486105aa366004611f4f565b611008565b3480156105bb57600080fd5b5061021e6105ca366004611d7a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561060457600080fd5b506102ad610613366004611d58565b611066565b34801561062457600080fd5b506102ad610633366004611f4f565b6110fe565b34801561064457600080fd5b506102ad610653366004611ecb565b61112d565b34801561066457600080fd5b5061021e610673366004611d58565b600c6020526000908152604090205460ff1681565b60006001600160e01b031982166380ac58cd60e01b14806106b957506001600160e01b03198216635b5e139f60e01b145b806106d457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546106e99061239f565b80601f01602080910402602001604051908101604052809291908181526020018280546107159061239f565b80156107625780601f1061073757610100808354040283529160200191610762565b820191906000526020600020905b81548152906001019060200180831161074557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ea5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061081182610d24565b9050806001600160a01b0316836001600160a01b0316141561087f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107e1565b336001600160a01b038216148061089b575061089b81336105ca565b61090d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107e1565b6109178383611308565b505050565b610927335b82611376565b6109435760405162461bcd60e51b81526004016107e190612277565b61091783838361146d565b6006546001600160a01b031633146109785760405162461bcd60e51b81526004016107e190612242565b600855565b6006546001600160a01b031633146109a75760405162461bcd60e51b81526004016107e190612242565b6040514790736569e6b8b90a2d9290ea07fe98e24ae393c7178390819083156108fc029084906000818181858888f19350505050158015610917573d6000803e3d6000fd5b336000908152600c602052604090205460ff1615610a4c5760405162461bcd60e51b815260206004820152601960248201527f57616c6c657420686173206d696e74656420616c72656164790000000000000060448201526064016107e1565b600e5460ff16600214610aa15760405162461bcd60e51b815260206004820152601f60248201527f57686974656c6973742063757272656e746c79206e6f74206d696e74696e670060448201526064016107e1565b610aae60016101bc612339565b600a5461ffff91821691610ac79160ff851691166122c8565b61ffff161115610ae95760405162461bcd60e51b81526004016107e190612213565b8060ff16600754610afa919061231a565b3414610b3d5760405162461bcd60e51b8152602060048201526012602482015271125b98dbdc9c995b9d08195d1a081cd95b9d60721b60448201526064016107e1565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610bb7848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506009549150849050611609565b610bd35760405162461bcd60e51b81526004016107e1906121cf565b336000908152600c60205260408120805460ff191660011790555b8260ff16811015610c4757600a8054610c35913391600090610c139061ffff166123da565b91906101000a81548161ffff021916908361ffff160217905561ffff1661161f565b80610c3f816123fc565b915050610bee565b5050505050565b61091783838360405180602001604052806000815250610f25565b610c7233610921565b610cd75760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b60648201526084016107e1565b610ce081611639565b50565b6006546001600160a01b03163314610d0d5760405162461bcd60e51b81526004016107e190612242565b8051610d2090600d906020840190611c1c565b5050565b6000818152600260205260408120546001600160a01b0316806106d45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107e1565b60006001600160a01b038216610e065760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107e1565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610e4c5760405162461bcd60e51b81526004016107e190612242565b610e5660006116d4565b565b6006546001600160a01b03163314610e825760405162461bcd60e51b81526004016107e190612242565b600e805460ff191660ff92909216919091179055565b6006546001600160a01b03163314610ec25760405162461bcd60e51b81526004016107e190612242565b60008111610f065760405162461bcd60e51b8152602060048201526011602482015270050726963652063616e6e6f74206265203607c1b60448201526064016107e1565b600755565b6060600180546106e99061239f565b610d20338383611726565b610f2f3383611376565b610f4b5760405162461bcd60e51b81526004016107e190612277565b610f57848484846117f5565b50505050565b6006546001600160a01b03163314610f875760405162461bcd60e51b81526004016107e190612242565b600a546101bc90610f9c9061ffff16836122c8565b61ffff161115610fbe5760405162461bcd60e51b81526004016107e190612213565b60005b8161ffff16811015610d2057610ff6610fe26006546001600160a01b031690565b600a8054600090610c139061ffff166123da565b80611000816123fc565b915050610fc1565b60606000600d80546110199061239f565b90501161103557604051806020016040528060008152506106d4565b600d61104083611828565b604051602001611051929190612072565b60405160208183030381529060405292915050565b6006546001600160a01b031633146110905760405162461bcd60e51b81526004016107e190612242565b6001600160a01b0381166110f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107e1565b610ce0816116d4565b6006546001600160a01b031633146111285760405162461bcd60e51b81526004016107e190612242565b600955565b600e5460ff166001146111785760405162461bcd60e51b8152602060048201526013602482015272119c995958db185a5b481a5cc818db1bdcd959606a1b60448201526064016107e1565b61118560016101bc612339565b600a5461ffff9182169161119e9160ff851691166122c8565b61ffff1611156111c05760405162461bcd60e51b81526004016107e190612213565b336000908152600b602052604090205460ff16156112205760405162461bcd60e51b815260206004820152601a60248201527f57616c6c65742068617320636c61696d656420616c726561647900000000000060448201526064016107e1565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061129a848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506008549150849050611609565b6112b65760405162461bcd60e51b81526004016107e1906121cf565b336000908152600b60205260408120805460ff191660011790555b8260ff16811015610c4757600a80546112f6913391600090610c139061ffff166123da565b80611300816123fc565b9150506112d1565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061133d82610d24565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166113ef5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107e1565b60006113fa83610d24565b9050806001600160a01b0316846001600160a01b0316148061144157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806114655750836001600160a01b031661145a8461076c565b6001600160a01b0316145b949350505050565b826001600160a01b031661148082610d24565b6001600160a01b0316146114e45760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107e1565b6001600160a01b0382166115465760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107e1565b611551600082611308565b6001600160a01b038316600090815260036020526040812080546001929061157a90849061235c565b90915550506001600160a01b03821660009081526003602052604081208054600192906115a89084906122ee565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000826116168584611926565b14949350505050565b610d2082826040518060200160405280600081525061199a565b600061164482610d24565b9050611651600083611308565b6001600160a01b038116600090815260036020526040812080546001929061167a90849061235c565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156117885760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107e1565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61180084848461146d565b61180c848484846119cd565b610f575760405162461bcd60e51b81526004016107e19061217d565b60608161184c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156118765780611860816123fc565b915061186f9050600a83612306565b9150611850565b60008167ffffffffffffffff8111156118915761189161246d565b6040519080825280601f01601f1916602001820160405280156118bb576020820181803683370190505b5090505b8415611465576118d060018361235c565b91506118dd600a86612417565b6118e89060306122ee565b60f81b8183815181106118fd576118fd612457565b60200101906001600160f81b031916908160001a90535061191f600a86612306565b94506118bf565b600081815b845181101561199257600085828151811061194857611948612457565b6020026020010151905080831161196e576000838152602082905260409020925061197f565b600081815260208490526040902092505b508061198a816123fc565b91505061192b565b509392505050565b6119a48383611ada565b6119b160008484846119cd565b6109175760405162461bcd60e51b81526004016107e19061217d565b60006001600160a01b0384163b15611acf57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a1190339089908890889060040161212d565b602060405180830381600087803b158015611a2b57600080fd5b505af1925050508015611a5b575060408051601f3d908101601f19168201909252611a5891810190611f85565b60015b611ab5573d808015611a89576040519150601f19603f3d011682016040523d82523d6000602084013e611a8e565b606091505b508051611aad5760405162461bcd60e51b81526004016107e19061217d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611465565b506001949350505050565b6001600160a01b038216611b305760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107e1565b6000818152600260205260409020546001600160a01b031615611b955760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107e1565b6001600160a01b0382166000908152600360205260408120805460019290611bbe9084906122ee565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c289061239f565b90600052602060002090601f016020900481019282611c4a5760008555611c90565b82601f10611c6357805160ff1916838001178555611c90565b82800160010185558215611c90579182015b82811115611c90578251825591602001919060010190611c75565b50611c9c929150611ca0565b5090565b5b80821115611c9c5760008155600101611ca1565b600067ffffffffffffffff80841115611cd057611cd061246d565b604051601f8501601f19908116603f01168101908282118183101715611cf857611cf861246d565b81604052809350858152868686011115611d1157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611d4257600080fd5b919050565b803560ff81168114611d4257600080fd5b600060208284031215611d6a57600080fd5b611d7382611d2b565b9392505050565b60008060408385031215611d8d57600080fd5b611d9683611d2b565b9150611da460208401611d2b565b90509250929050565b600080600060608486031215611dc257600080fd5b611dcb84611d2b565b9250611dd960208501611d2b565b9150604084013590509250925092565b60008060008060808587031215611dff57600080fd5b611e0885611d2b565b9350611e1660208601611d2b565b925060408501359150606085013567ffffffffffffffff811115611e3957600080fd5b8501601f81018713611e4a57600080fd5b611e5987823560208401611cb5565b91505092959194509250565b60008060408385031215611e7857600080fd5b611e8183611d2b565b915060208301358015158114611e9657600080fd5b809150509250929050565b60008060408385031215611eb457600080fd5b611ebd83611d2b565b946020939093013593505050565b600080600060408486031215611ee057600080fd5b833567ffffffffffffffff80821115611ef857600080fd5b818601915086601f830112611f0c57600080fd5b813581811115611f1b57600080fd5b8760208260051b8501011115611f3057600080fd5b602092830195509350611f469186019050611d47565b90509250925092565b600060208284031215611f6157600080fd5b5035919050565b600060208284031215611f7a57600080fd5b8135611d7381612483565b600060208284031215611f9757600080fd5b8151611d7381612483565b600060208284031215611fb457600080fd5b813567ffffffffffffffff811115611fcb57600080fd5b8201601f81018413611fdc57600080fd5b61146584823560208401611cb5565b600060208284031215611ffd57600080fd5b813561ffff81168114611d7357600080fd5b60006020828403121561202157600080fd5b611d7382611d47565b60008151808452612042816020860160208601612373565b601f01601f19169290920160200192915050565b60008151612068818560208601612373565b9290920192915050565b600080845481600182811c91508083168061208e57607f831692505b60208084108214156120ae57634e487b7160e01b86526022600452602486fd5b8180156120c257600181146120d357612100565b60ff19861689528489019650612100565b60008b81526020902060005b868110156120f85781548b8201529085019083016120df565b505084890196505b5050505050506121246121138286612056565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121609083018461202a565b9695505050505050565b602081526000611d73602083018461202a565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526024908201527f41646472657373206973206e6f7420617661696c61626c6520666f72206d696e60408201526374696e6760e01b606082015260800190565b60208082526015908201527413585e1a5b5d5b481d1bdad95b9cc81b5a5b9d1959605a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600061ffff8083168185168083038211156122e5576122e561242b565b01949350505050565b600082198211156123015761230161242b565b500190565b60008261231557612315612441565b500490565b60008160001904831182151516156123345761233461242b565b500290565b600061ffff838116908316818110156123545761235461242b565b039392505050565b60008282101561236e5761236e61242b565b500390565b60005b8381101561238e578181015183820152602001612376565b83811115610f575750506000910152565b600181811c908216806123b357607f821691505b602082108114156123d457634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff808316818114156123f2576123f261242b565b6001019392505050565b60006000198214156124105761241061242b565b5060010190565b60008261242657612426612441565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ce057600080fdfea264697066735822122046e7f6ca86329cb92e771d48eeafd26f29d028fce93b7768410dcc43e7f14bf264736f6c63430008070033