608060405262000018664a9b63844880005f196200034d565b62000025905f196200036d565b6006555f6008819055600a6009819055818155600b819055600c829055600d819055600e91909155600f55601280546001600160a01b031990811673bd4dae9c9c0c896752f595af17577cb15e782e049081179092556013805490911690911790556015805461ffff60a81b1916600160b01b179055655f7f37b39000601681905560175564174876e800601855348015620000bf575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600654335f9081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000179573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200019f919062000393565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000211919062000393565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200025c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000282919062000393565b601580546001600160a01b0319166001600160a01b039283161790555f80548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef664a9b63844880006040516200033e91815260200190565b60405180910390a350620003c2565b5f826200036857634e487b7160e01b5f52601260045260245ffd5b500690565b818103818111156200038d57634e487b7160e01b5f52601160045260245ffd5b92915050565b5f60208284031215620003a4575f80fd5b81516001600160a01b0381168114620003bb575f80fd5b9392505050565b611d1280620003d05f395ff3fe6080604052600436106101c7575f3560e01c80637d1db4a5116100f2578063a9059cbb11610092578063dd62ed3e11610062578063dd62ed3e14610540578063ea1644d514610584578063ea9fae80146105a3578063f2fde38b146105c2575f80fd5b8063a9059cbb146104c0578063bfd79284146104df578063c3c8cd801461050d578063c492f04614610521575f80fd5b80638f70ccf7116100cd5780638f70ccf7146104415780638f9a55c01461046057806395d89b411461047557806398a5c315146104a1575f80fd5b80637d1db4a5146103e55780637f2feddc146103fa5780638da5cb5b14610425575f80fd5b8063313ce567116101685780636fc3eaec116101385780636fc3eaec1461037f57806370a0823114610393578063715018a6146103b257806374010ece146103c6575f80fd5b8063313ce5671461030757806349bd5a5e146103225780636b999053146103415780636d8aa8f814610360575f80fd5b80631694505e116101a35780631694505e1461027957806318160ddd146102b057806323b872dd146102d35780632fd689e3146102f2575f80fd5b8062b8cf2a146101d257806306fdde03146101f3578063095ea7b31461024a575f80fd5b366101ce57005b5f80fd5b3480156101dd575f80fd5b506101f16101ec3660046118be565b6105e1565b005b3480156101fe575f80fd5b5060408051808201909152601e81527f4e657572616c2054656e736f722044796e616d69637320436c6173736963000060208201525b604051610241919061197e565b60405180910390f35b348015610255575f80fd5b506102696102643660046119ca565b610672565b6040519015158152602001610241565b348015610284575f80fd5b50601454610298906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b3480156102bb575f80fd5b50664a9b63844880005b604051908152602001610241565b3480156102de575f80fd5b506102696102ed3660046119f4565b610688565b3480156102fd575f80fd5b506102c560185481565b348015610312575f80fd5b5060405160098152602001610241565b34801561032d575f80fd5b50601554610298906001600160a01b031681565b34801561034c575f80fd5b506101f161035b366004611a32565b6106ef565b34801561036b575f80fd5b506101f161037a366004611a5c565b610738565b34801561038a575f80fd5b506101f161077f565b34801561039e575f80fd5b506102c56103ad366004611a32565b6107c9565b3480156103bd575f80fd5b506101f16107ea565b3480156103d1575f80fd5b506101f16103e0366004611a75565b61085b565b3480156103f0575f80fd5b506102c560165481565b348015610405575f80fd5b506102c5610414366004611a32565b60116020525f908152604090205481565b348015610430575f80fd5b505f546001600160a01b0316610298565b34801561044c575f80fd5b506101f161045b366004611a5c565b610889565b34801561046b575f80fd5b506102c560175481565b348015610480575f80fd5b506040805180820190915260048152634e54444360e01b6020820152610234565b3480156104ac575f80fd5b506101f16104bb366004611a75565b6108d0565b3480156104cb575f80fd5b506102696104da3660046119ca565b6108fe565b3480156104ea575f80fd5b506102696104f9366004611a32565b60106020525f908152604090205460ff1681565b348015610518575f80fd5b506101f161090a565b34801561052c575f80fd5b506101f161053b366004611a8c565b61095c565b34801561054b575f80fd5b506102c561055a366004611b09565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b34801561058f575f80fd5b506101f161059e366004611a75565b6109ef565b3480156105ae575f80fd5b506101f16105bd366004611b40565b610a1d565b3480156105cd575f80fd5b506101f16105dc366004611a32565b610a5a565b5f546001600160a01b031633146106135760405162461bcd60e51b815260040161060a90611b6f565b60405180910390fd5b5f5b815181101561066e57600160105f84848151811061063557610635611ba4565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610615565b5050565b5f61067e338484610b41565b5060015b92915050565b5f610694848484610c64565b6106e584336106e085604051806060016040528060288152602001611cb5602891396001600160a01b038a165f9081526004602090815260408083203384529091529020549190611194565b610b41565b5060019392505050565b5f546001600160a01b031633146107185760405162461bcd60e51b815260040161060a90611b6f565b6001600160a01b03165f908152601060205260409020805460ff19169055565b5f546001600160a01b031633146107615760405162461bcd60e51b815260040161060a90611b6f565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107b457506013546001600160a01b0316336001600160a01b0316145b6107bc575f80fd5b476107c6816111cc565b50565b6001600160a01b0381165f9081526002602052604081205461068290611203565b5f546001600160a01b031633146108135760405162461bcd60e51b815260040161060a90611b6f565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146108845760405162461bcd60e51b815260040161060a90611b6f565b601655565b5f546001600160a01b031633146108b25760405162461bcd60e51b815260040161060a90611b6f565b60158054911515600160a01b0260ff60a01b19909216919091179055565b5f546001600160a01b031633146108f95760405162461bcd60e51b815260040161060a90611b6f565b601855565b5f61067e338484610c64565b6012546001600160a01b0316336001600160a01b0316148061093f57506013546001600160a01b0316336001600160a01b0316145b610947575f80fd5b5f610951306107c9565b90506107c681611285565b5f546001600160a01b031633146109855760405162461bcd60e51b815260040161060a90611b6f565b5f5b828110156109e9578160055f8686858181106109a5576109a5611ba4565b90506020020160208101906109ba9190611a32565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610987565b50505050565b5f546001600160a01b03163314610a185760405162461bcd60e51b815260040161060a90611b6f565b601755565b5f546001600160a01b03163314610a465760405162461bcd60e51b815260040161060a90611b6f565b600893909355600a91909155600955600b55565b5f546001600160a01b03163314610a835760405162461bcd60e51b815260040161060a90611b6f565b6001600160a01b038116610ae85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060a565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610ba35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060a565b6001600160a01b038216610c045760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060a565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cc85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060a565b6001600160a01b038216610d2a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060a565b5f8111610d8b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161060a565b5f546001600160a01b03848116911614801590610db557505f546001600160a01b03838116911614155b1561109057601554600160a01b900460ff16610e4d575f546001600160a01b03848116911614610e4d5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161060a565b601654811115610e9f5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161060a565b6001600160a01b0383165f9081526010602052604090205460ff16158015610edf57506001600160a01b0382165f9081526010602052604090205460ff16155b610f375760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161060a565b6015546001600160a01b03838116911614610fbc5760175481610f59846107c9565b610f639190611bcc565b10610fbc5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161060a565b5f610fc6306107c9565b601854601654919250821015908210610fdf5760165491505b808015610ff65750601554600160a81b900460ff16155b801561101057506015546001600160a01b03868116911614155b80156110255750601554600160b01b900460ff165b801561104957506001600160a01b0385165f9081526005602052604090205460ff16155b801561106d57506001600160a01b0384165f9081526005602052604090205460ff16155b1561108d5761107b82611285565b47801561108b5761108b476111cc565b505b50505b6001600160a01b0383165f9081526005602052604090205460019060ff16806110d057506001600160a01b0383165f9081526005602052604090205460ff165b8061110257506015546001600160a01b0385811691161480159061110257506015546001600160a01b03848116911614155b1561110e57505f611188565b6015546001600160a01b03858116911614801561113957506014546001600160a01b03848116911614155b1561114b57600854600c55600954600d555b6015546001600160a01b03848116911614801561117657506014546001600160a01b03858116911614155b1561118857600a54600c55600b54600d555b6109e9848484846113f5565b5f81848411156111b75760405162461bcd60e51b815260040161060a919061197e565b505f6111c38486611bdf565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083905f818181858888f1935050505015801561066e573d5f803e3d5ffd5b5f6006548211156112695760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161060a565b5f611272611423565b905061127e8382611444565b9392505050565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106112cb576112cb611ba4565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611322573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113469190611bf2565b8160018151811061135957611359611ba4565b6001600160a01b03928316602091820292909201015260145461137f9130911684610b41565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113b79085905f90869030904290600401611c0d565b5f604051808303815f87803b1580156113ce575f80fd5b505af11580156113e0573d5f803e3d5ffd5b50506015805460ff60a81b1916905550505050565b8061140257611402611485565b61140d8484846114b2565b806109e9576109e9600e54600c55600f54600d55565b5f805f61142e6115a3565b909250905061143d8282611444565b9250505090565b5f61127e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115e0565b600c541580156114955750600d54155b1561149c57565b600c8054600e55600d8054600f555f9182905555565b5f805f805f806114c18761160c565b6001600160a01b038f165f90815260026020526040902054959b509399509197509550935091506114f29087611661565b6001600160a01b03808b165f9081526002602052604080822093909355908a168152205461152090866116a2565b6001600160a01b0389165f9081526002602052604090205561154181611700565b61154b8483611746565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161159091815260200190565b60405180910390a3505050505050505050565b6006545f908190664a9b63844880006115bc8282611444565b8210156115d757505060065492664a9b638448800092509050565b90939092509050565b5f81836116005760405162461bcd60e51b815260040161060a919061197e565b505f6111c38486611c7e565b5f805f805f805f805f6116248a600c54600d5461176a565b9250925092505f611633611423565b90505f805f6116448e8787876117bc565b919e509c509a509598509396509194505050505091939550919395565b5f61127e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611194565b5f806116ae8385611bcc565b90508381101561127e5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161060a565b5f611709611423565b90505f6117168383611808565b305f9081526002602052604090205490915061173290826116a2565b305f90815260026020526040902055505050565b6006546117539083611661565b60065560075461176390826116a2565b6007555050565b5f808080611783606461177d8989611808565b90611444565b90505f611795606461177d8a89611808565b90505f6117ac826117a68b86611661565b90611661565b9992985090965090945050505050565b5f8080806117ca8886611808565b90505f6117d78887611808565b90505f6117e48888611808565b90505f6117f5826117a68686611661565b939b939a50919850919650505050505050565b5f825f0361181757505f610682565b5f6118228385611c9d565b90508261182f8583611c7e565b1461127e5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161060a565b634e487b7160e01b5f52604160045260245ffd5b6001600160a01b03811681146107c6575f80fd5b80356118b98161189a565b919050565b5f60208083850312156118cf575f80fd5b823567ffffffffffffffff808211156118e6575f80fd5b818501915085601f8301126118f9575f80fd5b81358181111561190b5761190b611886565b8060051b604051601f19603f8301168101818110858211171561193057611930611886565b60405291825284820192508381018501918883111561194d575f80fd5b938501935b8285101561197257611963856118ae565b84529385019392850192611952565b98975050505050505050565b5f602080835283518060208501525f5b818110156119aa5785810183015185820160400152820161198e565b505f604082860101526040601f19601f8301168501019250505092915050565b5f80604083850312156119db575f80fd5b82356119e68161189a565b946020939093013593505050565b5f805f60608486031215611a06575f80fd5b8335611a118161189a565b92506020840135611a218161189a565b929592945050506040919091013590565b5f60208284031215611a42575f80fd5b813561127e8161189a565b803580151581146118b9575f80fd5b5f60208284031215611a6c575f80fd5b61127e82611a4d565b5f60208284031215611a85575f80fd5b5035919050565b5f805f60408486031215611a9e575f80fd5b833567ffffffffffffffff80821115611ab5575f80fd5b818601915086601f830112611ac8575f80fd5b813581811115611ad6575f80fd5b8760208260051b8501011115611aea575f80fd5b602092830195509350611b009186019050611a4d565b90509250925092565b5f8060408385031215611b1a575f80fd5b8235611b258161189a565b91506020830135611b358161189a565b809150509250929050565b5f805f8060808587031215611b53575f80fd5b5050823594602084013594506040840135936060013592509050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561068257610682611bb8565b8181038181111561068257610682611bb8565b5f60208284031215611c02575f80fd5b815161127e8161189a565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611c5d5784516001600160a01b031683529383019391830191600101611c38565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611c9857634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761068257610682611bb856fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220bf17f9f355d28c8d8effcd169cf65351ec988efef0249eadfae95f2da051567664736f6c63430008180033