6080604052620000196709a24b38d31380005f196200035a565b62000026905f196200037a565b6006555f600881905560056009819055600a829055600b819055600c829055600d819055600e91909155600f55601280546001600160a01b0319908116736678bfbe80f31a075a51485898dd45ff11ffdda59081179092556013805490911690911790556015805461ffff60a81b1916600160b01b17905566498a8a52d9c0006016556709a24b38d3138000601755653f231a70b800601855348015620000cb575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600654335f9081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000185573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001ab9190620003a0565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200021d9190620003a0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000268573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200028e9190620003a0565b601580546001600160a01b0319166001600160a01b039283161790555f80548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6709a24b38d31380006040516200034b91815260200190565b60405180910390a350620003cf565b5f826200037557634e487b7160e01b5f52601260045260245ffd5b500690565b818103818111156200039a57634e487b7160e01b5f52601160045260245ffd5b92915050565b5f60208284031215620003b1575f80fd5b81516001600160a01b0381168114620003c8575f80fd5b9392505050565b611d0280620003dd5f395ff3fe6080604052600436106101c7575f3560e01c80637d1db4a5116100f2578063a2a957bb11610092578063c492f04611610062578063c492f0461461052e578063dd62ed3e1461054d578063ea1644d514610591578063f2fde38b146105b0575f80fd5b8063a2a957bb146104ae578063a9059cbb146104cd578063bfd79284146104ec578063c3c8cd801461051a575f80fd5b80638f70ccf7116100cd5780638f70ccf71461042f5780638f9a55c01461044e57806395d89b411461046357806398a5c3151461048f575f80fd5b80637d1db4a5146103d35780637f2feddc146103e85780638da5cb5b14610413575f80fd5b8063313ce567116101685780636fc3eaec116101385780636fc3eaec1461036d57806370a0823114610381578063715018a6146103a057806374010ece146103b4575f80fd5b8063313ce567146102f557806349bd5a5e146103105780636b9990531461032f5780636d8aa8f81461034e575f80fd5b80631694505e116101a35780631694505e1461026657806318160ddd1461029d57806323b872dd146102c15780632fd689e3146102e0575f80fd5b8062b8cf2a146101d257806306fdde03146101f3578063095ea7b314610237575f80fd5b366101ce57005b5f80fd5b3480156101dd575f80fd5b506101f16101ec3660046118ae565b6105cf565b005b3480156101fe575f80fd5b5060408051808201909152600a8152697761676d69206475636b60b01b60208201525b60405161022e919061196e565b60405180910390f35b348015610242575f80fd5b506102566102513660046119ba565b610660565b604051901515815260200161022e565b348015610271575f80fd5b50601454610285906001600160a01b031681565b6040516001600160a01b03909116815260200161022e565b3480156102a8575f80fd5b506709a24b38d31380005b60405190815260200161022e565b3480156102cc575f80fd5b506102566102db3660046119e4565b610676565b3480156102eb575f80fd5b506102b360185481565b348015610300575f80fd5b506040516009815260200161022e565b34801561031b575f80fd5b50601554610285906001600160a01b031681565b34801561033a575f80fd5b506101f1610349366004611a22565b6106dd565b348015610359575f80fd5b506101f1610368366004611a4c565b610726565b348015610378575f80fd5b506101f161076d565b34801561038c575f80fd5b506102b361039b366004611a22565b6107b7565b3480156103ab575f80fd5b506101f16107d8565b3480156103bf575f80fd5b506101f16103ce366004611a65565b610849565b3480156103de575f80fd5b506102b360165481565b3480156103f3575f80fd5b506102b3610402366004611a22565b60116020525f908152604090205481565b34801561041e575f80fd5b505f546001600160a01b0316610285565b34801561043a575f80fd5b506101f1610449366004611a4c565b610877565b348015610459575f80fd5b506102b360175481565b34801561046e575f80fd5b506040805180820190915260048152634455434b60e01b6020820152610221565b34801561049a575f80fd5b506101f16104a9366004611a65565b6108be565b3480156104b9575f80fd5b506101f16104c8366004611a7c565b6108ec565b3480156104d8575f80fd5b506102566104e73660046119ba565b610929565b3480156104f7575f80fd5b50610256610506366004611a22565b60106020525f908152604090205460ff1681565b348015610525575f80fd5b506101f1610935565b348015610539575f80fd5b506101f1610548366004611aab565b610987565b348015610558575f80fd5b506102b3610567366004611b28565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b34801561059c575f80fd5b506101f16105ab366004611a65565b610a1a565b3480156105bb575f80fd5b506101f16105ca366004611a22565b610a48565b5f546001600160a01b031633146106015760405162461bcd60e51b81526004016105f890611b5f565b60405180910390fd5b5f5b815181101561065c57600160105f84848151811061062357610623611b94565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610603565b5050565b5f61066c338484610b2f565b5060015b92915050565b5f610682848484610c52565b6106d384336106ce85604051806060016040528060288152602001611ca5602891396001600160a01b038a165f9081526004602090815260408083203384529091529020549190611182565b610b2f565b5060019392505050565b5f546001600160a01b031633146107065760405162461bcd60e51b81526004016105f890611b5f565b6001600160a01b03165f908152601060205260409020805460ff19169055565b5f546001600160a01b0316331461074f5760405162461bcd60e51b81526004016105f890611b5f565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107a257506013546001600160a01b0316336001600160a01b0316145b6107aa575f80fd5b476107b4816111ba565b50565b6001600160a01b0381165f90815260026020526040812054610670906111f1565b5f546001600160a01b031633146108015760405162461bcd60e51b81526004016105f890611b5f565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146108725760405162461bcd60e51b81526004016105f890611b5f565b601655565b5f546001600160a01b031633146108a05760405162461bcd60e51b81526004016105f890611b5f565b60158054911515600160a01b0260ff60a01b19909216919091179055565b5f546001600160a01b031633146108e75760405162461bcd60e51b81526004016105f890611b5f565b601855565b5f546001600160a01b031633146109155760405162461bcd60e51b81526004016105f890611b5f565b600893909355600a91909155600955600b55565b5f61066c338484610c52565b6012546001600160a01b0316336001600160a01b0316148061096a57506013546001600160a01b0316336001600160a01b0316145b610972575f80fd5b5f61097c306107b7565b90506107b481611273565b5f546001600160a01b031633146109b05760405162461bcd60e51b81526004016105f890611b5f565b5f5b82811015610a14578160055f8686858181106109d0576109d0611b94565b90506020020160208101906109e59190611a22565b6001600160a01b0316815260208101919091526040015f20805460ff19169115159190911790556001016109b2565b50505050565b5f546001600160a01b03163314610a435760405162461bcd60e51b81526004016105f890611b5f565b601755565b5f546001600160a01b03163314610a715760405162461bcd60e51b81526004016105f890611b5f565b6001600160a01b038116610ad65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f8565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610b915760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f8565b6001600160a01b038216610bf25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f8565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cb65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105f8565b6001600160a01b038216610d185760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105f8565b5f8111610d795760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105f8565b5f546001600160a01b03848116911614801590610da357505f546001600160a01b03838116911614155b1561107e57601554600160a01b900460ff16610e3b575f546001600160a01b03848116911614610e3b5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016105f8565b601654811115610e8d5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016105f8565b6001600160a01b0383165f9081526010602052604090205460ff16158015610ecd57506001600160a01b0382165f9081526010602052604090205460ff16155b610f255760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016105f8565b6015546001600160a01b03838116911614610faa5760175481610f47846107b7565b610f519190611bbc565b10610faa5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016105f8565b5f610fb4306107b7565b601854601654919250821015908210610fcd5760165491505b808015610fe45750601554600160a81b900460ff16155b8015610ffe57506015546001600160a01b03868116911614155b80156110135750601554600160b01b900460ff165b801561103757506001600160a01b0385165f9081526005602052604090205460ff16155b801561105b57506001600160a01b0384165f9081526005602052604090205460ff16155b1561107b5761106982611273565b47801561107957611079476111ba565b505b50505b6001600160a01b0383165f9081526005602052604090205460019060ff16806110be57506001600160a01b0383165f9081526005602052604090205460ff165b806110f057506015546001600160a01b038581169116148015906110f057506015546001600160a01b03848116911614155b156110fc57505f611176565b6015546001600160a01b03858116911614801561112757506014546001600160a01b03848116911614155b1561113957600854600c55600954600d555b6015546001600160a01b03848116911614801561116457506014546001600160a01b03858116911614155b1561117657600a54600c55600b54600d555b610a14848484846113e3565b5f81848411156111a55760405162461bcd60e51b81526004016105f8919061196e565b505f6111b18486611bcf565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083905f818181858888f1935050505015801561065c573d5f803e3d5ffd5b5f6006548211156112575760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105f8565b5f611260611411565b905061126c8382611432565b9392505050565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106112b9576112b9611b94565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611310573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113349190611be2565b8160018151811061134757611347611b94565b6001600160a01b03928316602091820292909201015260145461136d9130911684610b2f565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113a59085905f90869030904290600401611bfd565b5f604051808303815f87803b1580156113bc575f80fd5b505af11580156113ce573d5f803e3d5ffd5b50506015805460ff60a81b1916905550505050565b806113f0576113f0611473565b6113fb8484846114a0565b80610a1457610a14600e54600c55600f54600d55565b5f805f61141c611591565b909250905061142b8282611432565b9250505090565b5f61126c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115d0565b600c541580156114835750600d54155b1561148a57565b600c8054600e55600d8054600f555f9182905555565b5f805f805f806114af876115fc565b6001600160a01b038f165f90815260026020526040902054959b509399509197509550935091506114e09087611651565b6001600160a01b03808b165f9081526002602052604080822093909355908a168152205461150e9086611692565b6001600160a01b0389165f9081526002602052604090205561152f816116f0565b6115398483611736565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161157e91815260200190565b60405180910390a3505050505050505050565b6006545f9081906709a24b38d31380006115ab8282611432565b8210156115c7575050600654926709a24b38d313800092509050565b90939092509050565b5f81836115f05760405162461bcd60e51b81526004016105f8919061196e565b505f6111b18486611c6e565b5f805f805f805f805f6116148a600c54600d5461175a565b9250925092505f611623611411565b90505f805f6116348e8787876117ac565b919e509c509a509598509396509194505050505091939550919395565b5f61126c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611182565b5f8061169e8385611bbc565b90508381101561126c5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105f8565b5f6116f9611411565b90505f61170683836117f8565b305f908152600260205260409020549091506117229082611692565b305f90815260026020526040902055505050565b6006546117439083611651565b6006556007546117539082611692565b6007555050565b5f808080611773606461176d89896117f8565b90611432565b90505f611785606461176d8a896117f8565b90505f61179c826117968b86611651565b90611651565b9992985090965090945050505050565b5f8080806117ba88866117f8565b90505f6117c788876117f8565b90505f6117d488886117f8565b90505f6117e5826117968686611651565b939b939a50919850919650505050505050565b5f825f0361180757505f610670565b5f6118128385611c8d565b90508261181f8583611c6e565b1461126c5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105f8565b634e487b7160e01b5f52604160045260245ffd5b6001600160a01b03811681146107b4575f80fd5b80356118a98161188a565b919050565b5f60208083850312156118bf575f80fd5b823567ffffffffffffffff808211156118d6575f80fd5b818501915085601f8301126118e9575f80fd5b8135818111156118fb576118fb611876565b8060051b604051601f19603f8301168101818110858211171561192057611920611876565b60405291825284820192508381018501918883111561193d575f80fd5b938501935b82851015611962576119538561189e565b84529385019392850192611942565b98975050505050505050565b5f602080835283518060208501525f5b8181101561199a5785810183015185820160400152820161197e565b505f604082860101526040601f19601f8301168501019250505092915050565b5f80604083850312156119cb575f80fd5b82356119d68161188a565b946020939093013593505050565b5f805f606084860312156119f6575f80fd5b8335611a018161188a565b92506020840135611a118161188a565b929592945050506040919091013590565b5f60208284031215611a32575f80fd5b813561126c8161188a565b803580151581146118a9575f80fd5b5f60208284031215611a5c575f80fd5b61126c82611a3d565b5f60208284031215611a75575f80fd5b5035919050565b5f805f8060808587031215611a8f575f80fd5b5050823594602084013594506040840135936060013592509050565b5f805f60408486031215611abd575f80fd5b833567ffffffffffffffff80821115611ad4575f80fd5b818601915086601f830112611ae7575f80fd5b813581811115611af5575f80fd5b8760208260051b8501011115611b09575f80fd5b602092830195509350611b1f9186019050611a3d565b90509250925092565b5f8060408385031215611b39575f80fd5b8235611b448161188a565b91506020830135611b548161188a565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561067057610670611ba8565b8181038181111561067057610670611ba8565b5f60208284031215611bf2575f80fd5b815161126c8161188a565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611c4d5784516001600160a01b031683529383019391830191600101611c28565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611c8857634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761067057610670611ba856fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122022b19d903be48c939ed481adc440abc768ccc09f3699c99eed86445b50bb11f664736f6c63430008160033