60806040526200001b69021e19e0c9bab24000005f196200034a565b62000028905f196200036a565b6006555f600881905560186009819055600a829055600b819055600c829055600d819055600e91909155600f819055601280546001600160a01b0319908116339081179092556013805490911690911790556015805462ffffff60a01b1916600160b01b179055680ad78ebc5ac6200000601681905560175568056bc75e2d631000009055348015620000b9575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600654335f9081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000173573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000199919062000390565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200020b919062000390565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000256573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200027c919062000390565b601580546001600160a01b0319166001600160a01b039283161790555f80548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef69021e19e0c9bab24000006040516200033b91815260200190565b60405180910390a350620003bf565b5f826200036557634e487b7160e01b5f52601260045260245ffd5b500690565b818103818111156200038a57634e487b7160e01b5f52601160045260245ffd5b92915050565b5f60208284031215620003a1575f80fd5b81516001600160a01b0381168114620003b8575f80fd5b9392505050565b611d3280620003cd5f395ff3fe6080604052600436106101c8575f3560e01c80637f2feddc116100f2578063a9059cbb11610092578063c492f04611610062578063c492f04614610531578063dd62ed3e14610550578063ea1644d514610594578063f2fde38b146105b3575f80fd5b8063a9059cbb146104b1578063bba4de00146104d0578063bfd79284146104ef578063c3c8cd801461051d575f80fd5b80638f9a55c0116100cd5780638f9a55c01461042f57806395d89b411461044457806398a5c31514610473578063a2a957bb14610492575f80fd5b80637f2feddc146103c95780638da5cb5b146103f45780638f70ccf714610410575f80fd5b806349bd5a5e1161016857806370a082311161013857806370a0823114610362578063715018a61461038157806374010ece146103955780637d1db4a5146103b4575f80fd5b806349bd5a5e146102ef57806369b33c6e1461030e5780636d8aa8f81461032f5780636fc3eaec1461034e575f80fd5b806318160ddd116101a357806318160ddd1461027a57806323b872dd146102a05780632fd689e3146102bf578063313ce567146102d4575f80fd5b806306fdde03146101d3578063095ea7b3146102145780631694505e14610243575f80fd5b366101cf57005b5f80fd5b3480156101de575f80fd5b50604080518082019091526007815266213630b9ba30b960c91b60208201525b60405161020b9190611891565b60405180910390f35b34801561021f575f80fd5b5061023361022e366004611900565b6105d2565b604051901515815260200161020b565b34801561024e575f80fd5b50601454610262906001600160a01b031681565b6040516001600160a01b03909116815260200161020b565b348015610285575f80fd5b5069021e19e0c9bab24000005b60405190815260200161020b565b3480156102ab575f80fd5b506102336102ba36600461192a565b6105e8565b3480156102ca575f80fd5b5061029260185481565b3480156102df575f80fd5b506040516009815260200161020b565b3480156102fa575f80fd5b50601554610262906001600160a01b031681565b348015610319575f80fd5b5061032d610328366004611968565b61064f565b005b34801561033a575f80fd5b5061032d610349366004611992565b6106a1565b348015610359575f80fd5b5061032d6106e8565b34801561036d575f80fd5b5061029261037c366004611968565b610732565b34801561038c575f80fd5b5061032d610753565b3480156103a0575f80fd5b5061032d6103af3660046119ab565b6107c4565b3480156103bf575f80fd5b5061029260165481565b3480156103d4575f80fd5b506102926103e3366004611968565b60116020525f908152604090205481565b3480156103ff575f80fd5b505f546001600160a01b0316610262565b34801561041b575f80fd5b5061032d61042a366004611992565b6107f2565b34801561043a575f80fd5b5061029260175481565b34801561044f575f80fd5b50604080518082019091526007815266212620a9aa20a960c91b60208201526101fe565b34801561047e575f80fd5b5061032d61048d3660046119ab565b610839565b34801561049d575f80fd5b5061032d6104ac3660046119c2565b610867565b3480156104bc575f80fd5b506102336104cb366004611900565b6108a4565b3480156104db575f80fd5b5061032d6104ea366004611a05565b6108b0565b3480156104fa575f80fd5b50610233610509366004611968565b60106020525f908152604090205460ff1681565b348015610528575f80fd5b5061032d610942565b34801561053c575f80fd5b5061032d61054b366004611ac5565b610994565b34801561055b575f80fd5b5061029261056a366004611b42565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b34801561059f575f80fd5b5061032d6105ae3660046119ab565b610a31565b3480156105be575f80fd5b5061032d6105cd366004611968565b610a5f565b5f6105de338484610b46565b5060015b92915050565b5f6105f4848484610c69565b610645843361064085604051806060016040528060288152602001611cd5602891396001600160a01b038a165f9081526004602090815260408083203384529091529020549190611199565b610b46565b5060019392505050565b5f546001600160a01b031633146106815760405162461bcd60e51b815260040161067890611b79565b60405180910390fd5b6001600160a01b03165f908152601060205260409020805460ff19169055565b5f546001600160a01b031633146106ca5760405162461bcd60e51b815260040161067890611b79565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061071d57506013546001600160a01b0316336001600160a01b0316145b610725575f80fd5b4761072f816111d1565b50565b6001600160a01b0381165f908152600260205260408120546105e290611208565b5f546001600160a01b0316331461077c5760405162461bcd60e51b815260040161067890611b79565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146107ed5760405162461bcd60e51b815260040161067890611b79565b601655565b5f546001600160a01b0316331461081b5760405162461bcd60e51b815260040161067890611b79565b60158054911515600160a01b0260ff60a01b19909216919091179055565b5f546001600160a01b031633146108625760405162461bcd60e51b815260040161067890611b79565b601855565b5f546001600160a01b031633146108905760405162461bcd60e51b815260040161067890611b79565b600893909355600a91909155600955600b55565b5f6105de338484610c69565b5f546001600160a01b031633146108d95760405162461bcd60e51b815260040161067890611b79565b5f5b815181101561093e57600160105f8484815181106108fb576108fb611bae565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff19169115159190911790558061093681611bd6565b9150506108db565b5050565b6012546001600160a01b0316336001600160a01b0316148061097757506013546001600160a01b0316336001600160a01b0316145b61097f575f80fd5b5f61098930610732565b905061072f8161128a565b5f546001600160a01b031633146109bd5760405162461bcd60e51b815260040161067890611b79565b5f5b82811015610a2b578160055f8686858181106109dd576109dd611bae565b90506020020160208101906109f29190611968565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905580610a2381611bd6565b9150506109bf565b50505050565b5f546001600160a01b03163314610a5a5760405162461bcd60e51b815260040161067890611b79565b601755565b5f546001600160a01b03163314610a885760405162461bcd60e51b815260040161067890611b79565b6001600160a01b038116610aed5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610678565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610ba85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610678565b6001600160a01b038216610c095760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610678565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ccd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610678565b6001600160a01b038216610d2f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610678565b5f8111610d905760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610678565b5f546001600160a01b03848116911614801590610dba57505f546001600160a01b03838116911614155b1561109557601554600160a01b900460ff16610e52575f546001600160a01b03848116911614610e525760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610678565b601654811115610ea45760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610678565b6001600160a01b0383165f9081526010602052604090205460ff16158015610ee457506001600160a01b0382165f9081526010602052604090205460ff16155b610f3c5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610678565b6015546001600160a01b03838116911614610fc15760175481610f5e84610732565b610f689190611bee565b10610fc15760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610678565b5f610fcb30610732565b601854601654919250821015908210610fe45760165491505b808015610ffb5750601554600160a81b900460ff16155b801561101557506015546001600160a01b03868116911614155b801561102a5750601554600160b01b900460ff165b801561104e57506001600160a01b0385165f9081526005602052604090205460ff16155b801561107257506001600160a01b0384165f9081526005602052604090205460ff16155b15611092576110808261128a565b47801561109057611090476111d1565b505b50505b6001600160a01b0383165f9081526005602052604090205460019060ff16806110d557506001600160a01b0383165f9081526005602052604090205460ff165b8061110757506015546001600160a01b0385811691161480159061110757506015546001600160a01b03848116911614155b1561111357505f61118d565b6015546001600160a01b03858116911614801561113e57506014546001600160a01b03848116911614155b1561115057600854600c55600954600d555b6015546001600160a01b03848116911614801561117b57506014546001600160a01b03858116911614155b1561118d57600a54600c55600b54600d555b610a2b848484846113fa565b5f81848411156111bc5760405162461bcd60e51b81526004016106789190611891565b505f6111c88486611c01565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083905f818181858888f1935050505015801561093e573d5f803e3d5ffd5b5f60065482111561126e5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610678565b5f611277611428565b90506112838382611449565b9392505050565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106112d0576112d0611bae565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611327573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134b9190611c14565b8160018151811061135e5761135e611bae565b6001600160a01b0392831660209182029290920101526014546113849130911684610b46565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113bc9085905f90869030904290600401611c2f565b5f604051808303815f87803b1580156113d3575f80fd5b505af11580156113e5573d5f803e3d5ffd5b50506015805460ff60a81b1916905550505050565b806114075761140761148a565b6114128484846114b7565b80610a2b57610a2b600e54600c55600f54600d55565b5f805f6114336115a8565b90925090506114428282611449565b9250505090565b5f61128383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115eb565b600c5415801561149a5750600d54155b156114a157565b600c8054600e55600d8054600f555f9182905555565b5f805f805f806114c687611617565b6001600160a01b038f165f90815260026020526040902054959b509399509197509550935091506114f7908761166c565b6001600160a01b03808b165f9081526002602052604080822093909355908a168152205461152590866116ad565b6001600160a01b0389165f908152600260205260409020556115468161170b565b6115508483611751565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161159591815260200190565b60405180910390a3505050505050505050565b6006545f90819069021e19e0c9bab24000006115c48282611449565b8210156115e25750506006549269021e19e0c9bab240000092509050565b90939092509050565b5f818361160b5760405162461bcd60e51b81526004016106789190611891565b505f6111c88486611c9e565b5f805f805f805f805f61162f8a600c54600d54611775565b9250925092505f61163e611428565b90505f805f61164f8e8787876117c7565b919e509c509a509598509396509194505050505091939550919395565b5f61128383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611199565b5f806116b98385611bee565b9050838110156112835760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610678565b5f611714611428565b90505f6117218383611813565b305f9081526002602052604090205490915061173d90826116ad565b305f90815260026020526040902055505050565b60065461175e908361166c565b60065560075461176e90826116ad565b6007555050565b5f80808061178e60646117888989611813565b90611449565b90505f6117a060646117888a89611813565b90505f6117b7826117b18b8661166c565b9061166c565b9992985090965090945050505050565b5f8080806117d58886611813565b90505f6117e28887611813565b90505f6117ef8888611813565b90505f611800826117b1868661166c565b939b939a50919850919650505050505050565b5f825f0361182257505f6105e2565b5f61182d8385611cbd565b90508261183a8583611c9e565b146112835760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610678565b5f6020808352835180828501525f5b818110156118bc578581018301518582016040015282016118a0565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461072f575f80fd5b80356118fb816118dc565b919050565b5f8060408385031215611911575f80fd5b823561191c816118dc565b946020939093013593505050565b5f805f6060848603121561193c575f80fd5b8335611947816118dc565b92506020840135611957816118dc565b929592945050506040919091013590565b5f60208284031215611978575f80fd5b8135611283816118dc565b803580151581146118fb575f80fd5b5f602082840312156119a2575f80fd5b61128382611983565b5f602082840312156119bb575f80fd5b5035919050565b5f805f80608085870312156119d5575f80fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215611a16575f80fd5b823567ffffffffffffffff80821115611a2d575f80fd5b818501915085601f830112611a40575f80fd5b813581811115611a5257611a526119f1565b8060051b604051601f19603f83011681018181108582111715611a7757611a776119f1565b604052918252848201925083810185019188831115611a94575f80fd5b938501935b82851015611ab957611aaa856118f0565b84529385019392850192611a99565b98975050505050505050565b5f805f60408486031215611ad7575f80fd5b833567ffffffffffffffff80821115611aee575f80fd5b818601915086601f830112611b01575f80fd5b813581811115611b0f575f80fd5b8760208260051b8501011115611b23575f80fd5b602092830195509350611b399186019050611983565b90509250925092565b5f8060408385031215611b53575f80fd5b8235611b5e816118dc565b91506020830135611b6e816118dc565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f60018201611be757611be7611bc2565b5060010190565b808201808211156105e2576105e2611bc2565b818103818111156105e2576105e2611bc2565b5f60208284031215611c24575f80fd5b8151611283816118dc565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015611c7d5784516001600160a01b031683529383019391830191600101611c58565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611cb857634e487b7160e01b5f52601260045260245ffd5b500490565b80820281158282048414176105e2576105e2611bc256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220fbd746100f46cf6cd6a14106a86a14194b17b6d6d97b22a780f72c3612e2823764736f6c63430008140033