608060405262000019670de0b6b3a76400005f1962000355565b62000026905f1962000375565b6006555f600881905560056009819055600a829055600b819055600c829055600d819055600e91909155600f55601280546001600160a01b031990811673c440c59f5b87443af42c8ba3c8e26c29e67366039081179092556013805490911690911790556015805462ffffff60a01b1916600160b01b179055662386f26fc1000060168190556017556611c37937e08000601855348015620000c6575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600654335f9081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000180573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001a691906200039b565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200021891906200039b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000263573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200028991906200039b565b601580546001600160a01b0319166001600160a01b039283161790555f80548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef670de0b6b3a76400006040516200034691815260200190565b60405180910390a350620003ca565b5f826200037057634e487b7160e01b5f52601260045260245ffd5b500690565b818103818111156200039557634e487b7160e01b5f52601160045260245ffd5b92915050565b5f60208284031215620003ac575f80fd5b81516001600160a01b0381168114620003c3575f80fd5b9392505050565b611d3e80620003d85f395ff3fe6080604052600436106101c7575f3560e01c80637d1db4a5116100f2578063a2a957bb11610092578063c492f04611610062578063c492f04614610541578063dd62ed3e14610560578063ea1644d5146105a4578063f2fde38b146105c3575f80fd5b8063a2a957bb146104c1578063a9059cbb146104e0578063bfd79284146104ff578063c3c8cd801461052d575f80fd5b80638f70ccf7116100cd5780638f70ccf7146104425780638f9a55c01461046157806395d89b411461047657806398a5c315146104a2575f80fd5b80637d1db4a5146103e65780637f2feddc146103fb5780638da5cb5b14610426575f80fd5b8063313ce567116101685780636d8aa8f8116101385780636d8aa8f81461037557806370a0823114610394578063715018a6146103b357806374010ece146103c7575f80fd5b8063313ce56714610308578063364333f41461032357806349bd5a5e146103375780636b99905314610356575f80fd5b80631694505e116101a35780631694505e1461027957806318160ddd146102b057806323b872dd146102d45780632fd689e3146102f3575f80fd5b8062b8cf2a146101d257806306fdde03146101f3578063095ea7b31461024a575f80fd5b366101ce57005b5f80fd5b3480156101dd575f80fd5b506101f16101ec3660046118d5565b6105e2565b005b3480156101fe575f80fd5b5060408051808201909152601781527f556e6974656420537461746573205065706520436f696e00000000000000000060208201525b6040516102419190611995565b60405180910390f35b348015610255575f80fd5b506102696102643660046119e0565b61067d565b6040519015158152602001610241565b348015610284575f80fd5b50601454610298906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b3480156102bb575f80fd5b50670de0b6b3a76400005b604051908152602001610241565b3480156102df575f80fd5b506102696102ee366004611a0a565b610693565b3480156102fe575f80fd5b506102c660185481565b348015610313575f80fd5b5060405160098152602001610241565b34801561032e575f80fd5b506101f16106fa565b348015610342575f80fd5b50601554610298906001600160a01b031681565b348015610361575f80fd5b506101f1610370366004611a48565b610744565b348015610380575f80fd5b506101f161038f366004611a72565b61078d565b34801561039f575f80fd5b506102c66103ae366004611a48565b6107d4565b3480156103be575f80fd5b506101f16107f5565b3480156103d2575f80fd5b506101f16103e1366004611a8b565b610866565b3480156103f1575f80fd5b506102c660165481565b348015610406575f80fd5b506102c6610415366004611a48565b60116020525f908152604090205481565b348015610431575f80fd5b505f546001600160a01b0316610298565b34801561044d575f80fd5b506101f161045c366004611a72565b610894565b34801561046c575f80fd5b506102c660175481565b348015610481575f80fd5b506040805180820190915260048152635553504360e01b6020820152610234565b3480156104ad575f80fd5b506101f16104bc366004611a8b565b6108db565b3480156104cc575f80fd5b506101f16104db366004611aa2565b610909565b3480156104eb575f80fd5b506102696104fa3660046119e0565b610946565b34801561050a575f80fd5b50610269610519366004611a48565b60106020525f908152604090205460ff1681565b348015610538575f80fd5b506101f1610952565b34801561054c575f80fd5b506101f161055b366004611ad1565b6109a4565b34801561056b575f80fd5b506102c661057a366004611b4e565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b3480156105af575f80fd5b506101f16105be366004611a8b565b610a41565b3480156105ce575f80fd5b506101f16105dd366004611a48565b610a6f565b5f546001600160a01b031633146106145760405162461bcd60e51b815260040161060b90611b85565b60405180910390fd5b5f5b815181101561067957600160105f84848151811061063657610636611bba565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff19169115159190911790558061067181611be2565b915050610616565b5050565b5f610689338484610b56565b5060015b92915050565b5f61069f848484610c79565b6106f084336106eb85604051806060016040528060288152602001611ce1602891396001600160a01b038a165f90815260046020908152604080832033845290915290205491906111a9565b610b56565b5060019392505050565b6012546001600160a01b0316336001600160a01b0316148061072f57506013546001600160a01b0316336001600160a01b0316145b610737575f80fd5b47610741816111e1565b50565b5f546001600160a01b0316331461076d5760405162461bcd60e51b815260040161060b90611b85565b6001600160a01b03165f908152601060205260409020805460ff19169055565b5f546001600160a01b031633146107b65760405162461bcd60e51b815260040161060b90611b85565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6001600160a01b0381165f9081526002602052604081205461068d90611218565b5f546001600160a01b0316331461081e5760405162461bcd60e51b815260040161060b90611b85565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b0316331461088f5760405162461bcd60e51b815260040161060b90611b85565b601655565b5f546001600160a01b031633146108bd5760405162461bcd60e51b815260040161060b90611b85565b60158054911515600160a01b0260ff60a01b19909216919091179055565b5f546001600160a01b031633146109045760405162461bcd60e51b815260040161060b90611b85565b601855565b5f546001600160a01b031633146109325760405162461bcd60e51b815260040161060b90611b85565b600893909355600a91909155600955600b55565b5f610689338484610c79565b6012546001600160a01b0316336001600160a01b0316148061098757506013546001600160a01b0316336001600160a01b0316145b61098f575f80fd5b5f610999306107d4565b90506107418161129a565b5f546001600160a01b031633146109cd5760405162461bcd60e51b815260040161060b90611b85565b5f5b82811015610a3b578160055f8686858181106109ed576109ed611bba565b9050602002016020810190610a029190611a48565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905580610a3381611be2565b9150506109cf565b50505050565b5f546001600160a01b03163314610a6a5760405162461bcd60e51b815260040161060b90611b85565b601755565b5f546001600160a01b03163314610a985760405162461bcd60e51b815260040161060b90611b85565b6001600160a01b038116610afd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060b565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bb85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060b565b6001600160a01b038216610c195760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060b565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cdd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060b565b6001600160a01b038216610d3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060b565b5f8111610da05760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161060b565b5f546001600160a01b03848116911614801590610dca57505f546001600160a01b03838116911614155b156110a557601554600160a01b900460ff16610e62575f546001600160a01b03848116911614610e625760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161060b565b601654811115610eb45760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161060b565b6001600160a01b0383165f9081526010602052604090205460ff16158015610ef457506001600160a01b0382165f9081526010602052604090205460ff16155b610f4c5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161060b565b6015546001600160a01b03838116911614610fd15760175481610f6e846107d4565b610f789190611bfa565b10610fd15760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161060b565b5f610fdb306107d4565b601854601654919250821015908210610ff45760165491505b80801561100b5750601554600160a81b900460ff16155b801561102557506015546001600160a01b03868116911614155b801561103a5750601554600160b01b900460ff165b801561105e57506001600160a01b0385165f9081526005602052604090205460ff16155b801561108257506001600160a01b0384165f9081526005602052604090205460ff16155b156110a2576110908261129a565b4780156110a0576110a0476111e1565b505b50505b6001600160a01b0383165f9081526005602052604090205460019060ff16806110e557506001600160a01b0383165f9081526005602052604090205460ff165b8061111757506015546001600160a01b0385811691161480159061111757506015546001600160a01b03848116911614155b1561112357505f61119d565b6015546001600160a01b03858116911614801561114e57506014546001600160a01b03848116911614155b1561116057600854600c55600954600d555b6015546001600160a01b03848116911614801561118b57506014546001600160a01b03858116911614155b1561119d57600a54600c55600b54600d555b610a3b8484848461140a565b5f81848411156111cc5760405162461bcd60e51b815260040161060b9190611995565b505f6111d88486611c0d565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610679573d5f803e3d5ffd5b5f60065482111561127e5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161060b565b5f611287611438565b90506112938382611459565b9392505050565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106112e0576112e0611bba565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611337573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061135b9190611c20565b8160018151811061136e5761136e611bba565b6001600160a01b0392831660209182029290920101526014546113949130911684610b56565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113cc9085905f90869030904290600401611c3b565b5f604051808303815f87803b1580156113e3575f80fd5b505af11580156113f5573d5f803e3d5ffd5b50506015805460ff60a81b1916905550505050565b806114175761141761149a565b6114228484846114c7565b80610a3b57610a3b600e54600c55600f54600d55565b5f805f6114436115b8565b90925090506114528282611459565b9250505090565b5f61129383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115f7565b600c541580156114aa5750600d54155b156114b157565b600c8054600e55600d8054600f555f9182905555565b5f805f805f806114d687611623565b6001600160a01b038f165f90815260026020526040902054959b509399509197509550935091506115079087611678565b6001600160a01b03808b165f9081526002602052604080822093909355908a168152205461153590866116b9565b6001600160a01b0389165f9081526002602052604090205561155681611717565b611560848361175d565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516115a591815260200190565b60405180910390a3505050505050505050565b6006545f908190670de0b6b3a76400006115d28282611459565b8210156115ee57505060065492670de0b6b3a764000092509050565b90939092509050565b5f81836116175760405162461bcd60e51b815260040161060b9190611995565b505f6111d88486611caa565b5f805f805f805f805f61163b8a600c54600d54611781565b9250925092505f61164a611438565b90505f805f61165b8e8787876117d3565b919e509c509a509598509396509194505050505091939550919395565b5f61129383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111a9565b5f806116c58385611bfa565b9050838110156112935760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161060b565b5f611720611438565b90505f61172d838361181f565b305f9081526002602052604090205490915061174990826116b9565b305f90815260026020526040902055505050565b60065461176a9083611678565b60065560075461177a90826116b9565b6007555050565b5f80808061179a6064611794898961181f565b90611459565b90505f6117ac60646117948a8961181f565b90505f6117c3826117bd8b86611678565b90611678565b9992985090965090945050505050565b5f8080806117e1888661181f565b90505f6117ee888761181f565b90505f6117fb888861181f565b90505f61180c826117bd8686611678565b939b939a50919850919650505050505050565b5f825f0361182e57505f61068d565b5f6118398385611cc9565b9050826118468583611caa565b146112935760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161060b565b634e487b7160e01b5f52604160045260245ffd5b6001600160a01b0381168114610741575f80fd5b80356118d0816118b1565b919050565b5f60208083850312156118e6575f80fd5b823567ffffffffffffffff808211156118fd575f80fd5b818501915085601f830112611910575f80fd5b8135818111156119225761192261189d565b8060051b604051601f19603f830116810181811085821117156119475761194761189d565b604052918252848201925083810185019188831115611964575f80fd5b938501935b828510156119895761197a856118c5565b84529385019392850192611969565b98975050505050505050565b5f6020808352835180828501525f5b818110156119c0578581018301518582016040015282016119a4565b505f604082860101526040601f19601f8301168501019250505092915050565b5f80604083850312156119f1575f80fd5b82356119fc816118b1565b946020939093013593505050565b5f805f60608486031215611a1c575f80fd5b8335611a27816118b1565b92506020840135611a37816118b1565b929592945050506040919091013590565b5f60208284031215611a58575f80fd5b8135611293816118b1565b803580151581146118d0575f80fd5b5f60208284031215611a82575f80fd5b61129382611a63565b5f60208284031215611a9b575f80fd5b5035919050565b5f805f8060808587031215611ab5575f80fd5b5050823594602084013594506040840135936060013592509050565b5f805f60408486031215611ae3575f80fd5b833567ffffffffffffffff80821115611afa575f80fd5b818601915086601f830112611b0d575f80fd5b813581811115611b1b575f80fd5b8760208260051b8501011115611b2f575f80fd5b602092830195509350611b459186019050611a63565b90509250925092565b5f8060408385031215611b5f575f80fd5b8235611b6a816118b1565b91506020830135611b7a816118b1565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f60018201611bf357611bf3611bce565b5060010190565b8082018082111561068d5761068d611bce565b8181038181111561068d5761068d611bce565b5f60208284031215611c30575f80fd5b8151611293816118b1565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015611c895784516001600160a01b031683529383019391830191600101611c64565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611cc457634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761068d5761068d611bce56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212209168626e763441443cc543319a247e281cd0d612bfa2a68ddd8186513f2a3c8964736f6c63430008140033