60806040526200001a678ac7230489e800006000196200036b565b62000028906000196200038e565b6006556000600881905560146009819055600a829055600b819055600c829055600d819055600e91909155600f55601280546001600160a01b0319908116736e8e5efa918c1ee8c806ea33ab51fe79d9305c7d9081179092556013805490911690911790556015805461ffff60a81b1916600160b01b17905567016345785d8a00006016556702c68af0bb1400006017556601c6bf52634000601855348015620000d157600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa1580156200018f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b59190620003b6565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000203573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002299190620003b6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d9190620003b6565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef678ac7230489e800006040516200035c91815260200190565b60405180910390a350620003e8565b6000826200038957634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003b057634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003c957600080fd5b81516001600160a01b0381168114620003e157600080fd5b9392505050565b611dff80620003f86000396000f3fe6080604052600436106101c55760003560e01c80638da5cb5b116100f7578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e14610521578063ea1644d514610567578063ec28438a14610587578063f2fde38b146105a757600080fd5b8063a9059cbb1461049c578063bfd79284146104bc578063c3c8cd80146104ec578063c492f0461461050157600080fd5b806395d89b41116100d157806395d89b411461040e57806398a5c3151461043c578063a0ffefc91461045c578063a2a957bb1461047c57600080fd5b80638da5cb5b146103ba5780638f70ccf7146103d85780638f9a55c0146103f857600080fd5b8063313ce567116101645780636fc3eaec1161013e5780636fc3eaec1461035a57806370a082311461036f578063715018a61461038f5780637d1db4a5146103a457600080fd5b8063313ce567146102fe57806349bd5a5e1461031a5780636d8aa8f81461033a57600080fd5b80631694505e116101a05780631694505e1461026b57806318160ddd146102a357806323b872dd146102c85780632fd689e3146102e857600080fd5b8062b8cf2a146101d157806306fdde03146101f3578063095ea7b31461023b57600080fd5b366101cc57005b600080fd5b3480156101dd57600080fd5b506101f16101ec36600461196a565b6105c7565b005b3480156101ff57600080fd5b5060408051808201909152600d81526c08ce4cac840a8d0ca408cd2e6d609b1b60208201525b6040516102329190611a2f565b60405180910390f35b34801561024757600080fd5b5061025b610256366004611a7d565b610666565b6040519015158152602001610232565b34801561027757600080fd5b5060145461028b906001600160a01b031681565b6040516001600160a01b039091168152602001610232565b3480156102af57600080fd5b50678ac7230489e800005b604051908152602001610232565b3480156102d457600080fd5b5061025b6102e3366004611aa9565b61067d565b3480156102f457600080fd5b506102ba60185481565b34801561030a57600080fd5b5060405160098152602001610232565b34801561032657600080fd5b5060155461028b906001600160a01b031681565b34801561034657600080fd5b506101f1610355366004611afa565b6106e6565b34801561036657600080fd5b506101f161072e565b34801561037b57600080fd5b506102ba61038a366004611b15565b610779565b34801561039b57600080fd5b506101f161079b565b3480156103b057600080fd5b506102ba60165481565b3480156103c657600080fd5b506000546001600160a01b031661028b565b3480156103e457600080fd5b506101f16103f3366004611afa565b61080f565b34801561040457600080fd5b506102ba60175481565b34801561041a57600080fd5b50604080518082019091526005815264091194915160da1b6020820152610225565b34801561044857600080fd5b506101f1610457366004611b32565b610857565b34801561046857600080fd5b506101f1610477366004611b15565b610886565b34801561048857600080fd5b506101f1610497366004611b4b565b6108d1565b3480156104a857600080fd5b5061025b6104b7366004611a7d565b61090f565b3480156104c857600080fd5b5061025b6104d7366004611b15565b60106020526000908152604090205460ff1681565b3480156104f857600080fd5b506101f161091c565b34801561050d57600080fd5b506101f161051c366004611b7d565b610970565b34801561052d57600080fd5b506102ba61053c366004611c01565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561057357600080fd5b506101f1610582366004611b32565b610a11565b34801561059357600080fd5b506101f16105a2366004611b32565b610a40565b3480156105b357600080fd5b506101f16105c2366004611b15565b610a6f565b6000546001600160a01b031633146105fa5760405162461bcd60e51b81526004016105f190611c3a565b60405180910390fd5b60005b81518110156106625760016010600084848151811061061e5761061e611c6f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061065a81611c9b565b9150506105fd565b5050565b6000610673338484610b59565b5060015b92915050565b600061068a848484610c7d565b6106dc84336106d785604051806060016040528060288152602001611da2602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111b9565b610b59565b5060019392505050565b6000546001600160a01b031633146107105760405162461bcd60e51b81526004016105f190611c3a565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061076357506013546001600160a01b0316336001600160a01b0316145b61076c57600080fd5b47610776816111f3565b50565b6001600160a01b03811660009081526002602052604081205461067790611278565b6000546001600160a01b031633146107c55760405162461bcd60e51b81526004016105f190611c3a565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108395760405162461bcd60e51b81526004016105f190611c3a565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146108815760405162461bcd60e51b81526004016105f190611c3a565b601855565b6000546001600160a01b031633146108b05760405162461bcd60e51b81526004016105f190611c3a565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146108fb5760405162461bcd60e51b81526004016105f190611c3a565b600893909355600a91909155600955600b55565b6000610673338484610c7d565b6012546001600160a01b0316336001600160a01b0316148061095157506013546001600160a01b0316336001600160a01b0316145b61095a57600080fd5b600061096530610779565b9050610776816112fc565b6000546001600160a01b0316331461099a5760405162461bcd60e51b81526004016105f190611c3a565b60005b82811015610a0b5781600560008686858181106109bc576109bc611c6f565b90506020020160208101906109d19190611b15565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a0381611c9b565b91505061099d565b50505050565b6000546001600160a01b03163314610a3b5760405162461bcd60e51b81526004016105f190611c3a565b601755565b6000546001600160a01b03163314610a6a5760405162461bcd60e51b81526004016105f190611c3a565b601655565b6000546001600160a01b03163314610a995760405162461bcd60e51b81526004016105f190611c3a565b6001600160a01b038116610afe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f1565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bbb5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f1565b6001600160a01b038216610c1c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f1565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ce15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105f1565b6001600160a01b038216610d435760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105f1565b60008111610da55760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105f1565b6000546001600160a01b03848116911614801590610dd157506000546001600160a01b03838116911614155b156110b257601554600160a01b900460ff16610e6a576000546001600160a01b03848116911614610e6a5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016105f1565b601654811115610ebc5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016105f1565b6001600160a01b03831660009081526010602052604090205460ff16158015610efe57506001600160a01b03821660009081526010602052604090205460ff16155b610f565760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016105f1565b6015546001600160a01b03838116911614610fdb5760175481610f7884610779565b610f829190611cb4565b10610fdb5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016105f1565b6000610fe630610779565b601854601654919250821015908210610fff5760165491505b8080156110165750601554600160a81b900460ff16155b801561103057506015546001600160a01b03868116911614155b80156110455750601554600160b01b900460ff165b801561106a57506001600160a01b03851660009081526005602052604090205460ff16155b801561108f57506001600160a01b03841660009081526005602052604090205460ff16155b156110af5761109d826112fc565b4780156110ad576110ad476111f3565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806110f457506001600160a01b03831660009081526005602052604090205460ff165b8061112657506015546001600160a01b0385811691161480159061112657506015546001600160a01b03848116911614155b15611133575060006111ad565b6015546001600160a01b03858116911614801561115e57506014546001600160a01b03848116911614155b1561117057600854600c55600954600d555b6015546001600160a01b03848116911614801561119b57506014546001600160a01b03858116911614155b156111ad57600a54600c55600b54600d555b610a0b84848484611476565b600081848411156111dd5760405162461bcd60e51b81526004016105f19190611a2f565b5060006111ea8486611cc7565b95945050505050565b6012546001600160a01b03166108fc61120d8360026114a4565b6040518115909202916000818181858888f19350505050158015611235573d6000803e3d6000fd5b506013546001600160a01b03166108fc6112508360026114a4565b6040518115909202916000818181858888f19350505050158015610662573d6000803e3d6000fd5b60006006548211156112df5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105f1565b60006112e96114e6565b90506112f583826114a4565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061134457611344611c6f565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561139d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c19190611cda565b816001815181106113d4576113d4611c6f565b6001600160a01b0392831660209182029290920101526014546113fa9130911684610b59565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611433908590600090869030904290600401611cf7565b600060405180830381600087803b15801561144d57600080fd5b505af1158015611461573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b8061148357611483611509565b61148e848484611537565b80610a0b57610a0b600e54600c55600f54600d55565b60006112f583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061162e565b60008060006114f361165c565b909250905061150282826114a4565b9250505090565b600c541580156115195750600d54155b1561152057565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806115498761169c565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061157b90876116f9565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546115aa908661173b565b6001600160a01b0389166000908152600260205260409020556115cc8161179a565b6115d684836117e4565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161161b91815260200190565b60405180910390a3505050505050505050565b6000818361164f5760405162461bcd60e51b81526004016105f19190611a2f565b5060006111ea8486611d68565b6006546000908190678ac7230489e8000061167782826114a4565b82101561169357505060065492678ac7230489e8000092509050565b90939092509050565b60008060008060008060008060006116b98a600c54600d54611808565b92509250925060006116c96114e6565b905060008060006116dc8e87878761185d565b919e509c509a509598509396509194505050505091939550919395565b60006112f583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111b9565b6000806117488385611cb4565b9050838110156112f55760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105f1565b60006117a46114e6565b905060006117b283836118ad565b306000908152600260205260409020549091506117cf908261173b565b30600090815260026020526040902055505050565b6006546117f190836116f9565b600655600754611801908261173b565b6007555050565b6000808080611822606461181c89896118ad565b906114a4565b90506000611835606461181c8a896118ad565b9050600061184d826118478b866116f9565b906116f9565b9992985090965090945050505050565b600080808061186c88866118ad565b9050600061187a88876118ad565b9050600061188888886118ad565b9050600061189a8261184786866116f9565b939b939a50919850919650505050505050565b6000826000036118bf57506000610677565b60006118cb8385611d8a565b9050826118d88583611d68565b146112f55760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105f1565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461077657600080fd5b803561196581611945565b919050565b6000602080838503121561197d57600080fd5b823567ffffffffffffffff8082111561199557600080fd5b818501915085601f8301126119a957600080fd5b8135818111156119bb576119bb61192f565b8060051b604051601f19603f830116810181811085821117156119e0576119e061192f565b6040529182528482019250838101850191888311156119fe57600080fd5b938501935b82851015611a2357611a148561195a565b84529385019392850192611a03565b98975050505050505050565b600060208083528351808285015260005b81811015611a5c57858101830151858201604001528201611a40565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611a9057600080fd5b8235611a9b81611945565b946020939093013593505050565b600080600060608486031215611abe57600080fd5b8335611ac981611945565b92506020840135611ad981611945565b929592945050506040919091013590565b8035801515811461196557600080fd5b600060208284031215611b0c57600080fd5b6112f582611aea565b600060208284031215611b2757600080fd5b81356112f581611945565b600060208284031215611b4457600080fd5b5035919050565b60008060008060808587031215611b6157600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611b9257600080fd5b833567ffffffffffffffff80821115611baa57600080fd5b818601915086601f830112611bbe57600080fd5b813581811115611bcd57600080fd5b8760208260051b8501011115611be257600080fd5b602092830195509350611bf89186019050611aea565b90509250925092565b60008060408385031215611c1457600080fd5b8235611c1f81611945565b91506020830135611c2f81611945565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611cad57611cad611c85565b5060010190565b8082018082111561067757610677611c85565b8181038181111561067757610677611c85565b600060208284031215611cec57600080fd5b81516112f581611945565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d475784516001600160a01b031683529383019391830191600101611d22565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d8557634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761067757610677611c8556fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220985d7f6aa57ae9616e9d70ff3da073177a7079d3a044b79252b52e6d9f5deace64736f6c63430008110033