60806040526008805460ff60a01b196001600160a01b031990911673fa932d5cbbdc8f6ed6d96cc6513153afa9b7487c171690553480156200004057600080fd5b5060405180604001604052806005815260200164576176657360d81b81525060405180604001604052806005815260200164574156455360d81b81525081600090805190602001906200009592919062000124565b508051620000ab90600190602084019062000124565b505050620000c8620000c2620000ce60201b60201c565b620000d2565b62000207565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013290620001ca565b90600052602060002090601f016020900481019282620001565760008555620001a1565b82601f106200017157805160ff1916838001178555620001a1565b82800160010185558215620001a1579182015b82811115620001a157825182559160200191906001019062000184565b50620001af929150620001b3565b5090565b5b80821115620001af5760008155600101620001b4565b600281046001821680620001df57607f821691505b602082108114156200020157634e487b7160e01b600052602260045260246000fd5b50919050565b611be080620002176000396000f3fe60806040526004361061012a5760003560e01c806370a08231116100ab578063b88d4fde1161006f578063b88d4fde1461032a578063c87b56dd1461034a578063cf6215be1461036a578063e7bc82081461038a578063e985e9c51461039f578063f2fde38b146103e85761012a565b806370a0823114610294578063715018a6146102c25780638da5cb5b146102d757806395d89b41146102f5578063a22cb4651461030a5761012a565b806323b872dd116100f257806323b872dd1461020157806342842e0e1461022157806355f804b3146102415780636352211e146102615780636ba4c138146102815761012a565b806301ffc9a71461012f578063054f7d9c1461016457806306fdde0314610185578063081812fc146101a7578063095ea7b3146101df575b600080fd5b34801561013b57600080fd5b5061014f61014a366004611833565b610408565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b5060085461014f90600160a01b900460ff1681565b34801561019157600080fd5b5061019a61045c565b60405161015b9190611979565b3480156101b357600080fd5b506101c76101c23660046118b1565b6104ee565b6040516001600160a01b03909116815260200161015b565b3480156101eb57600080fd5b506101ff6101fa366004611799565b610588565b005b34801561020d57600080fd5b506101ff61021c3660046116ab565b61069e565b34801561022d57600080fd5b506101ff61023c3660046116ab565b6106cf565b34801561024d57600080fd5b506101ff61025c36600461186b565b6106ea565b34801561026d57600080fd5b506101c761027c3660046118b1565b61077b565b6101ff61028f3660046117c4565b6107f2565b3480156102a057600080fd5b506102b46102af366004611634565b610ac7565b60405190815260200161015b565b3480156102ce57600080fd5b506101ff610b4e565b3480156102e357600080fd5b506007546001600160a01b03166101c7565b34801561030157600080fd5b5061019a610b84565b34801561031657600080fd5b506101ff610325366004611768565b610b93565b34801561033657600080fd5b506101ff6103453660046116eb565b610c65565b34801561035657600080fd5b5061019a6103653660046118b1565b610c9d565b34801561037657600080fd5b506008546101c7906001600160a01b031681565b34801561039657600080fd5b506101ff610cfb565b3480156103ab57600080fd5b5061014f6103ba366004611673565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156103f457600080fd5b506101ff610403366004611634565b610d3a565b60006001600160e01b031982166380ac58cd60e01b148061043957506001600160e01b03198216635b5e139f60e01b145b8061045457506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60606000805461046b90611ad3565b80601f016020809104026020016040519081016040528092919081815260200182805461049790611ad3565b80156104e45780601f106104b9576101008083540402835291602001916104e4565b820191906000526020600020905b8154815290600101906020018083116104c757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661056c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105938261077b565b9050806001600160a01b0316836001600160a01b031614156106015760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610563565b336001600160a01b038216148061061d575061061d81336103ba565b61068f5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610563565b6106998383610dd5565b505050565b6106a83382610e43565b6106c45760405162461bcd60e51b815260040161056390611a13565b610699838383610f3a565b61069983838360405180602001604052806000815250610c65565b6007546001600160a01b031633146107145760405162461bcd60e51b8152600401610563906119de565b600854600160a01b900460ff16156107645760405162461bcd60e51b815260206004820152601360248201527221b7b73a3930b1ba1034b990333937bd32b71760691b6044820152606401610563565b8051610777906009906020840190611525565b5050565b6000818152600260205260408120546001600160a01b0316806104545760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610563565b346611c37937e08000146108485760405162461bcd60e51b815260206004820152601760248201527f596f75206d75737420706179202e3030352065746865720000000000000000006044820152606401610563565b60005b81811015610a7357600083838381811061087557634e487b7160e01b600052603260045260246000fd5b9050602002013590506000811180156109135750600860009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108d757600080fd5b505afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f91906118c9565b8111155b6109745760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e6e6f74206d696e74206f757473696465206f6620746865204960448201526b22399037b3102a3ab732b99760a11b6064820152608401610563565b6008546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b1580156109b857600080fd5b505afa1580156109cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f09190611657565b6001600160a01b031614610a605760405162461bcd60e51b815260206004820152603160248201527f596f75206d757374206f776e2074686520636f72726573706f6e64696e6720546044820152703ab732903a379036b4b73a103a3434b99760791b6064820152608401610563565b5080610a6b81611b0e565b91505061084b565b5060005b81811015610699576000838383818110610aa157634e487b7160e01b600052603260045260246000fd5b905060200201359050610ab433826110da565b5080610abf81611b0e565b915050610a77565b60006001600160a01b038216610b325760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610563565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b03163314610b785760405162461bcd60e51b8152600401610563906119de565b610b8260006110f4565b565b60606001805461046b90611ad3565b6001600160a01b038216331415610bec5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610563565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c59911515815260200190565b60405180910390a35050565b610c6f3383610e43565b610c8b5760405162461bcd60e51b815260040161056390611a13565b610c9784848484611146565b50505050565b60606000610ca9611179565b805190915015610ce55780610cbd84611188565b604051602001610cce92919061190d565b604051602081830303815290604052915050610457565b5050604080516020810190915260008152919050565b6007546001600160a01b03163314610d255760405162461bcd60e51b8152600401610563906119de565b6008805460ff60a01b1916600160a01b179055565b6007546001600160a01b03163314610d645760405162461bcd60e51b8152600401610563906119de565b6001600160a01b038116610dc95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610563565b610dd2816110f4565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e0a8261077b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610ebc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610563565b6000610ec78361077b565b9050806001600160a01b0316846001600160a01b03161480610f025750836001600160a01b0316610ef7846104ee565b6001600160a01b0316145b80610f3257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610f4d8261077b565b6001600160a01b031614610fb55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610563565b6001600160a01b0382166110175760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610563565b611022600082610dd5565b6001600160a01b038316600090815260036020526040812080546001929061104b908490611a90565b90915550506001600160a01b0382166000908152600360205260408120805460019290611079908490611a64565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107778282604051806020016040528060008152506112a3565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611151848484610f3a565b61115d848484846112d6565b610c975760405162461bcd60e51b81526004016105639061198c565b60606009805461046b90611ad3565b6060816111ad57506040805180820190915260018152600360fc1b6020820152610457565b8160005b81156111d757806111c181611b0e565b91506111d09050600a83611a7c565b91506111b1565b60008167ffffffffffffffff81111561120057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561122a576020820181803683370190505b5090505b8415610f325761123f600183611a90565b915061124c600a86611b29565b611257906030611a64565b60f81b81838151811061127a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061129c600a86611a7c565b945061122e565b6112ad83836113e3565b6112ba60008484846112d6565b6106995760405162461bcd60e51b81526004016105639061198c565b60006001600160a01b0384163b156113d857604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061131a90339089908890889060040161193c565b602060405180830381600087803b15801561133457600080fd5b505af1925050508015611364575060408051601f3d908101601f191682019092526113619181019061184f565b60015b6113be573d808015611392576040519150601f19603f3d011682016040523d82523d6000602084013e611397565b606091505b5080516113b65760405162461bcd60e51b81526004016105639061198c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f32565b506001949350505050565b6001600160a01b0382166114395760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610563565b6000818152600260205260409020546001600160a01b03161561149e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610563565b6001600160a01b03821660009081526003602052604081208054600192906114c7908490611a64565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461153190611ad3565b90600052602060002090601f0160209004810192826115535760008555611599565b82601f1061156c57805160ff1916838001178555611599565b82800160010185558215611599579182015b8281111561159957825182559160200191906001019061157e565b506115a59291506115a9565b5090565b5b808211156115a557600081556001016115aa565b600067ffffffffffffffff808411156115d9576115d9611b69565b604051601f8501601f19908116603f0116810190828211818310171561160157611601611b69565b8160405280935085815286868601111561161a57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611645578081fd5b813561165081611b7f565b9392505050565b600060208284031215611668578081fd5b815161165081611b7f565b60008060408385031215611685578081fd5b823561169081611b7f565b915060208301356116a081611b7f565b809150509250929050565b6000806000606084860312156116bf578081fd5b83356116ca81611b7f565b925060208401356116da81611b7f565b929592945050506040919091013590565b60008060008060808587031215611700578081fd5b843561170b81611b7f565b9350602085013561171b81611b7f565b925060408501359150606085013567ffffffffffffffff81111561173d578182fd5b8501601f8101871361174d578182fd5b61175c878235602084016115be565b91505092959194509250565b6000806040838503121561177a578182fd5b823561178581611b7f565b9150602083013580151581146116a0578182fd5b600080604083850312156117ab578182fd5b82356117b681611b7f565b946020939093013593505050565b600080602083850312156117d6578182fd5b823567ffffffffffffffff808211156117ed578384fd5b818501915085601f830112611800578384fd5b81358181111561180e578485fd5b8660208083028501011115611821578485fd5b60209290920196919550909350505050565b600060208284031215611844578081fd5b813561165081611b94565b600060208284031215611860578081fd5b815161165081611b94565b60006020828403121561187c578081fd5b813567ffffffffffffffff811115611892578182fd5b8201601f810184136118a2578182fd5b610f32848235602084016115be565b6000602082840312156118c2578081fd5b5035919050565b6000602082840312156118da578081fd5b5051919050565b600081518084526118f9816020860160208601611aa7565b601f01601f19169290920160200192915050565b6000835161191f818460208801611aa7565b835190830190611933818360208801611aa7565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061196f908301846118e1565b9695505050505050565b60006020825261165060208301846118e1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611a7757611a77611b3d565b500190565b600082611a8b57611a8b611b53565b500490565b600082821015611aa257611aa2611b3d565b500390565b60005b83811015611ac2578181015183820152602001611aaa565b83811115610c975750506000910152565b600281046001821680611ae757607f821691505b60208210811415611b0857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b2257611b22611b3d565b5060010190565b600082611b3857611b38611b53565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610dd257600080fd5b6001600160e01b031981168114610dd257600080fdfea2646970667358221220db1da43942e30514285c664512ccaa90077bd032c33d81bee2a6ad688f2b3a8364736f6c63430008020033