6080604052670de0b6b3a76400006005556019600681905560078190556008819055600955600b80546001600160a01b0319167393178215aebdba93daa5d13450786c295c42ef16179055600d805461010160b01b63ffffffff60a01b19909116179055662386f26fc10000600e819055600f8190556010553480156200008557600080fd5b50620000913362000312565b6005543360009081526001602090815260409182902092909255600c80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a01559260048083019392829003018186803b1580156200010857600080fd5b505afa1580156200011d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000143919062000362565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200018c57600080fd5b505afa158015620001a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c7919062000362565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200021057600080fd5b505af115801562000225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024b919062000362565b600d80546001600160a01b0319166001600160a01b03928316179055600080548216815260046020526040808220805460ff1990811660019081179092553084528284208054821683179055600b805486168552838520805483168417905554909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6005546040516200030391815260200190565b60405180910390a35062000392565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121562000374578081fd5b81516001600160a01b03811681146200038b578182fd5b9392505050565b611fc680620003a26000396000f3fe6080604052600436106101d05760003560e01c8063715018a6116100f757806395d89b4111610095578063c3c8cd8011610064578063c3c8cd8014610561578063dd62ed3e14610576578063ea1644d5146105bc578063f2fde38b146105dc57600080fd5b806395d89b41146104c457806398a5c315146104f1578063a9059cbb14610511578063bfd792841461053157600080fd5b80638da5cb5b116100d15780638da5cb5b1461045b5780638eb59a5f146104795780638f70ccf71461048e5780638f9a55c0146104ae57600080fd5b8063715018a61461041057806374010ece146104255780637d1db4a51461044557600080fd5b80632fd689e31161016f578063672434821161013e578063672434821461037a5780636b9990531461039a5780636d8aa8f8146103ba57806370a08231146103da57600080fd5b80632fd689e314610308578063313ce5671461031e57806349bd5a5e1461033a578063658d4b7f1461035a57600080fd5b80630b78f9c0116101ab5780630b78f9c0146102715780631694505e1461029157806318160ddd146102c957806323b872dd146102e857600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461024157600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611c5f565b6105fc565b005b34801561020a57600080fd5b506040805180820190915260088152674f6479737365757360c01b60208201525b6040516102389190611da6565b60405180910390f35b34801561024d57600080fd5b5061026161025c366004611bcb565b6106a9565b6040519015158152602001610238565b34801561027d57600080fd5b506101fc61028c366004611d58565b6106c0565b34801561029d57600080fd5b50600c546102b1906001600160a01b031681565b6040516001600160a01b039091168152602001610238565b3480156102d557600080fd5b506005545b604051908152602001610238565b3480156102f457600080fd5b50610261610303366004611b57565b6106f5565b34801561031457600080fd5b506102da60105481565b34801561032a57600080fd5b5060405160098152602001610238565b34801561034657600080fd5b50600d546102b1906001600160a01b031681565b34801561036657600080fd5b506101fc610375366004611b97565b61075e565b34801561038657600080fd5b506101fc610395366004611bf6565b6107b3565b3480156103a657600080fd5b506101fc6103b5366004611ae7565b610867565b3480156103c657600080fd5b506101fc6103d5366004611d26565b6108b2565b3480156103e657600080fd5b506102da6103f5366004611ae7565b6001600160a01b031660009081526001602052604090205490565b34801561041c57600080fd5b506101fc6108fa565b34801561043157600080fd5b506101fc610440366004611d40565b610930565b34801561045157600080fd5b506102da600e5481565b34801561046757600080fd5b506000546001600160a01b03166102b1565b34801561048557600080fd5b506101fc61095f565b34801561049a57600080fd5b506101fc6104a9366004611d26565b6109aa565b3480156104ba57600080fd5b506102da600f5481565b3480156104d057600080fd5b506040805180820190915260048152634f44595360e01b602082015261022b565b3480156104fd57600080fd5b506101fc61050c366004611d40565b6109f2565b34801561051d57600080fd5b5061026161052c366004611bcb565b610a21565b34801561053d57600080fd5b5061026161054c366004611ae7565b600a6020526000908152604090205460ff1681565b34801561056d57600080fd5b506101fc610a2e565b34801561058257600080fd5b506102da610591366004611b1f565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156105c857600080fd5b506101fc6105d7366004611d40565b610a74565b3480156105e857600080fd5b506101fc6105f7366004611ae7565b610aa3565b6000546001600160a01b0316331461062f5760405162461bcd60e51b815260040161062690611df9565b60405180910390fd5b60005b81518110156106a5576001600a600084848151811061066157634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061069d81611f0c565b915050610632565b5050565b60006106b6338484610bbe565b5060015b92915050565b6000546001600160a01b031633146106ea5760405162461bcd60e51b815260040161062690611df9565b600691909155600755565b6000610702848484610ce2565b610754843361074f85604051806060016040528060288152602001611f69602891396001600160a01b038a16600090815260036020908152604080832033845290915290205491906112b4565b610bbe565b5060019392505050565b6000546001600160a01b031633146107885760405162461bcd60e51b815260040161062690611df9565b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146107dd5760405162461bcd60e51b815260040161062690611df9565b60005b838110156108605761084d3386868481811061080c57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108219190611ae7565b85858581811061084157634e487b7160e01b600052603260045260246000fd5b905060200201356112ee565b508061085881611f0c565b9150506107e0565b5050505050565b6000546001600160a01b031633146108915760405162461bcd60e51b815260040161062690611df9565b6001600160a01b03166000908152600a60205260409020805460ff19169055565b6000546001600160a01b031633146108dc5760405162461bcd60e51b815260040161062690611df9565b600d8054911515600160b01b0260ff60b01b19909216919091179055565b6000546001600160a01b031633146109245760405162461bcd60e51b815260040161062690611df9565b61092e60006113d4565b565b6000546001600160a01b0316331461095a5760405162461bcd60e51b815260040161062690611df9565b600e55565b6000546001600160a01b031633146109895760405162461bcd60e51b815260040161062690611df9565b600d805460ff60b81b198116600160b81b9182900460ff1615909102179055565b6000546001600160a01b031633146109d45760405162461bcd60e51b815260040161062690611df9565b600d8054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314610a1c5760405162461bcd60e51b815260040161062690611df9565b601055565b60006106b6338484610ce2565b6000546001600160a01b03163314610a585760405162461bcd60e51b815260040161062690611df9565b30600090815260016020526040902054610a7181611424565b50565b6000546001600160a01b03163314610a9e5760405162461bcd60e51b815260040161062690611df9565b600f55565b6000546001600160a01b03163314610acd5760405162461bcd60e51b815260040161062690611df9565b6001600160a01b038116610b325760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610626565b600060046000610b4a6000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055610b7b816113d4565b600160046000610b936000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905550565b6001600160a01b038316610c205760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610626565b6001600160a01b038216610c815760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610626565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d465760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610626565b6001600160a01b038216610da85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610626565b60008111610e0a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610626565b6001600160a01b03821660009081526004602052604090205460ff16158015610e4c57506001600160a01b03831660009081526004602052604090205460ff16155b1561118f57600d54600160a01b900460ff16610eaa5760405162461bcd60e51b815260206004820152601e60248201527f544f4b454e3a2054726164696e67206e6f7420796574207374617274656400006044820152606401610626565b600e54811115610efc5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610626565b6001600160a01b0383166000908152600a602052604090205460ff16158015610f3e57506001600160a01b0382166000908152600a602052604090205460ff16155b610f965760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610626565b600d546001600160a01b0383811691161461110457600d546001600160a01b038481169116148015610fd15750600d54600160b81b900460ff165b1561107e57326000908152600260205260409020544290610ff39060b4611e9e565b10801561102357506001600160a01b03821660009081526002602052604090205442906110219060b4611e9e565b105b61107e5760405162461bcd60e51b815260206004820152602660248201527f544f4b454e3a2033206d696e7574657320636f6f6c646f776e206265747765656044820152656e206275797360d01b6064820152608401610626565b600f54816110a1846001600160a01b031660009081526001602052604090205490565b6110ab9190611e9e565b106111045760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610626565b3060009081526001602052604090205460105481108015906111265760105491505b80801561113d5750600d54600160a81b900460ff16155b80156111575750600d546001600160a01b03868116911614155b801561116c5750600d54600160b01b900460ff165b1561118c5761117a82611424565b47801561118a5761118a47611628565b505b50505b6001600160a01b03831660009081526004602052604090205460019060ff16806111d157506001600160a01b03831660009081526004602052604090205460ff165b806112035750600d546001600160a01b038581169116148015906112035750600d546001600160a01b03848116911614155b156112105750600061127e565b600d546001600160a01b03858116911614801561123b5750600c546001600160a01b03848116911614155b15611247576006546008555b600d546001600160a01b0384811691161480156112725750600c546001600160a01b03858116911614155b1561127e576007546008555b3260009081526002602052604080822042908190556001600160a01b03861683529120556112ae84848484611662565b50505050565b600081848411156112d85760405162461bcd60e51b81526004016106269190611da6565b5060006112e58486611ef5565b95945050505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038616600090815260019091529182205461133f9184906112b4565b6001600160a01b03808616600090815260016020526040808220939093559085168152205461136e9083611683565b6001600160a01b0380851660008181526001602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113c29086815260200190565b60405180910390a35060019392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600d805460ff60a81b1916600160a81b179055600061144f60646114498460556116e9565b90611768565b9050600061145d8284611ef5565b604080516002808252606082018352929350479260009260208301908036833701905050905030816000815181106114a557634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156114f957600080fd5b505afa15801561150d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115319190611b03565b8160018151811061155257634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600c546115789130911687610bbe565b600c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906115b1908790600090869030904290600401611e2e565b600060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b5050505060006115f883476117aa90919063ffffffff16565b90506116138461160e606461144985600f6116e9565b6117ec565b5050600d805460ff60a81b1916905550505050565b600b546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156106a5573d6000803e3d6000fd5b80611678576116728484846112ee565b506112ae565b6112ae8484846118a5565b6000806116908385611e9e565b9050838110156116e25760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610626565b9392505050565b6000826116f8575060006106ba565b60006117048385611ed6565b9050826117118583611eb6565b146116e25760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610626565b60006116e283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506119aa565b60006116e283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112b4565b600c546118049030906001600160a01b031684610bbe565b600c5460405163f305d71960e01b8152306004820152602481018490526000604482018190526064820181905260848201524260a48201526001600160a01b039091169063f305d71990839060c4016060604051808303818588803b15801561186c57600080fd5b505af1158015611880573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108609190611d79565b60006118b184836119d8565b90506119198260405180604001604052806014815260200173496e73756666696369656e742042616c616e636560601b81525060016000886001600160a01b03166001600160a01b03168152602001908152602001600020546112b49092919063ffffffff16565b6001600160a01b0380861660009081526001602052604080822093909355908516815220546119489082611683565b6001600160a01b0380851660008181526001602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061199c9085815260200190565b60405180910390a350505050565b600081836119cb5760405162461bcd60e51b81526004016106269190611da6565b5060006112e58486611eb6565b6000806119f56064611449600854866116e990919063ffffffff16565b30600090815260016020526040902054909150611a129082611683565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a639085815260200190565b60405180910390a3611a7583826117aa565b949350505050565b8035611a8881611f53565b919050565b60008083601f840112611a9e578081fd5b50813567ffffffffffffffff811115611ab5578182fd5b6020830191508360208260051b8501011115611ad057600080fd5b9250929050565b80358015158114611a8857600080fd5b600060208284031215611af8578081fd5b81356116e281611f53565b600060208284031215611b14578081fd5b81516116e281611f53565b60008060408385031215611b31578081fd5b8235611b3c81611f53565b91506020830135611b4c81611f53565b809150509250929050565b600080600060608486031215611b6b578081fd5b8335611b7681611f53565b92506020840135611b8681611f53565b929592945050506040919091013590565b60008060408385031215611ba9578182fd5b8235611bb481611f53565b9150611bc260208401611ad7565b90509250929050565b60008060408385031215611bdd578182fd5b8235611be881611f53565b946020939093013593505050565b60008060008060408587031215611c0b578081fd5b843567ffffffffffffffff80821115611c22578283fd5b611c2e88838901611a8d565b90965094506020870135915080821115611c46578283fd5b50611c5387828801611a8d565b95989497509550505050565b60006020808385031215611c71578182fd5b823567ffffffffffffffff80821115611c88578384fd5b818501915085601f830112611c9b578384fd5b813581811115611cad57611cad611f3d565b8060051b604051601f19603f83011681018181108582111715611cd257611cd2611f3d565b604052828152858101935084860182860187018a1015611cf0578788fd5b8795505b83861015611d1957611d0581611a7d565b855260019590950194938601938601611cf4565b5098975050505050505050565b600060208284031215611d37578081fd5b6116e282611ad7565b600060208284031215611d51578081fd5b5035919050565b60008060408385031215611d6a578182fd5b50508035926020909101359150565b600080600060608486031215611d8d578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b81811015611dd257858101830151858201604001528201611db6565b81811115611de35783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611e7d5784516001600160a01b031683529383019391830191600101611e58565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611eb157611eb1611f27565b500190565b600082611ed157634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611ef057611ef0611f27565b500290565b600082821015611f0757611f07611f27565b500390565b6000600019821415611f2057611f20611f27565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610a7157600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212200133374dec4a12560ca46d4cd23e3a083afb07ad8379e57730494c5c34d18e5764736f6c63430008040033