6080604052620000196703782dace9d900005f196200035d565b62000026905f196200037d565b60069081555f60088190556009829055600a819055600b829055600c819055600d829055600e55600f55601280546001600160a01b03199081167352881033fc5061a7714f5f36a1d0ea0c06f2dc609081179092556013805490911690911790556015805461ffff60a81b1916600160b01b1790556608e1bc9bf0400060168190556017556516bcc41e90006018556019805463ffffffff19169055348015620000ce575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600654335f9081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000188573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001ae9190620003a3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002209190620003a3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200026b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002919190620003a3565b601580546001600160a01b0319166001600160a01b039283161790555f80548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6703782dace9d900006040516200034e91815260200190565b60405180910390a350620003d2565b5f826200037857634e487b7160e01b5f52601260045260245ffd5b500690565b818103818111156200039d57634e487b7160e01b5f52601160045260245ffd5b92915050565b5f60208284031215620003b4575f80fd5b81516001600160a01b0381168114620003cb575f80fd5b9392505050565b611e9a80620003e05f395ff3fe6080604052600436106101c7575f3560e01c80637d1db4a5116100f2578063bd6bba9111610092578063dd62ed3e11610062578063dd62ed3e1461052e578063ea9fae8014610572578063f2fde38b14610591578063fc7d9469146105b0575f80fd5b8063bd6bba91146104ae578063bfd79284146104cd578063c3c8cd80146104fb578063c492f0461461050f575f80fd5b80638f9a55c0116100cd5780638f9a55c01461042e57806395d89b411461044357806398a5c31514610470578063a9059cbb1461048f575f80fd5b80637d1db4a5146103d25780637f2feddc146103e75780638da5cb5b14610412575f80fd5b80632fd689e3116101685780636d8aa8f8116101385780636d8aa8f81461036c5780636fc3eaec1461038b57806370a082311461039f578063715018a6146103be575f80fd5b80632fd689e3146102fe578063313ce5671461031357806349bd5a5e1461032e5780636b9990531461034d575f80fd5b80631694505e116101a35780631694505e1461026557806318160ddd1461029c57806323b872dd146102c05780632796f8ab146102df575f80fd5b8062b8cf2a146101d257806306fdde03146101f3578063095ea7b314610236575f80fd5b366101ce57005b5f80fd5b3480156101dd575f80fd5b506101f16101ec366004611a19565b6105cf565b005b3480156101fe575f80fd5b50604080518082019091526009815268494e54454c4741544560b81b60208201525b60405161022d9190611ad9565b60405180910390f35b348015610241575f80fd5b50610255610250366004611b25565b610660565b604051901515815260200161022d565b348015610270575f80fd5b50601454610284906001600160a01b031681565b6040516001600160a01b03909116815260200161022d565b3480156102a7575f80fd5b506703782dace9d900005b60405190815260200161022d565b3480156102cb575f80fd5b506102556102da366004611b4f565b610676565b3480156102ea575f80fd5b506101f16102f9366004611b9c565b6106dd565b348015610309575f80fd5b506102b260185481565b34801561031e575f80fd5b506040516009815260200161022d565b348015610339575f80fd5b50601554610284906001600160a01b031681565b348015610358575f80fd5b506101f1610367366004611bb5565b610724565b348015610377575f80fd5b506101f1610386366004611b9c565b61076d565b348015610396575f80fd5b506101f16107b4565b3480156103aa575f80fd5b506102b26103b9366004611bb5565b6107fe565b3480156103c9575f80fd5b506101f161081f565b3480156103dd575f80fd5b506102b260165481565b3480156103f2575f80fd5b506102b2610401366004611bb5565b60116020525f908152604090205481565b34801561041d575f80fd5b505f546001600160a01b0316610284565b348015610439575f80fd5b506102b260175481565b34801561044e575f80fd5b50604080518082019091526005815264494741544560d81b6020820152610220565b34801561047b575f80fd5b506101f161048a366004611bd0565b610890565b34801561049a575f80fd5b506102556104a9366004611b25565b6108be565b3480156104b9575f80fd5b506101f16104c8366004611be7565b6108ca565b3480156104d8575f80fd5b506102556104e7366004611bb5565b60106020525f908152604090205460ff1681565b348015610506575f80fd5b506101f1610922565b34801561051a575f80fd5b506101f1610529366004611c20565b610974565b348015610539575f80fd5b506102b2610548366004611c94565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b34801561057d575f80fd5b506101f161058c366004611ccb565b610a07565b34801561059c575f80fd5b506101f16105ab366004611bb5565b610bbc565b3480156105bb575f80fd5b506101f16105ca366004611be7565b610ca3565b5f546001600160a01b031633146106015760405162461bcd60e51b81526004016105f890611cfa565b60405180910390fd5b5f5b815181101561065c57600160105f84848151811061062357610623611d2f565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101610603565b5050565b5f61066c338484610d02565b5060015b92915050565b5f610682848484610e0e565b6106d384336106ce85604051806060016040528060258152602001611e40602591396001600160a01b038a165f90815260046020908152604080832033845290915290205491906112eb565b610d02565b5060019392505050565b5f546001600160a01b031633146107065760405162461bcd60e51b81526004016105f890611cfa565b60158054911515600160a01b0260ff60a01b19909216919091179055565b5f546001600160a01b0316331461074d5760405162461bcd60e51b81526004016105f890611cfa565b6001600160a01b03165f908152601060205260409020805460ff19169055565b5f546001600160a01b031633146107965760405162461bcd60e51b81526004016105f890611cfa565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107e957506013546001600160a01b0316336001600160a01b0316145b6107f1575f80fd5b476107fb81611323565b50565b6001600160a01b0381165f908152600260205260408120546106709061135a565b5f546001600160a01b031633146108485760405162461bcd60e51b81526004016105f890611cfa565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146108b95760405162461bcd60e51b81526004016105f890611cfa565b601855565b5f61066c338484610e0e565b5f546001600160a01b031633146108f35760405162461bcd60e51b81526004016105f890611cfa565b60169290925560198054921515620100000262ff0000199215159290921662ff00ff1990931692909217179055565b6012546001600160a01b0316336001600160a01b0316148061095757506013546001600160a01b0316336001600160a01b0316145b61095f575f80fd5b5f610969306107fe565b90506107fb816113de565b5f546001600160a01b0316331461099d5760405162461bcd60e51b81526004016105f890611cfa565b5f5b82811015610a01578160055f8686858181106109bd576109bd611d2f565b90506020020160208101906109d29190611bb5565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905560010161099f565b50505050565b5f546001600160a01b03163314610a305760405162461bcd60e51b81526004016105f890611cfa565b6004841115610a8f5760405162461bcd60e51b815260206004820152602560248201527f4275792072657761726473206d757374206265206265747765656e20302520616044820152646e6420342560d81b60648201526084016105f8565b605f821115610aeb5760405162461bcd60e51b815260206004820152602260248201527f42757920746178206d757374206265206265747765656e20302520616e642039604482015261352560f01b60648201526084016105f8565b6004831115610b4b5760405162461bcd60e51b815260206004820152602660248201527f53656c6c2072657761726473206d757374206265206265747765656e20302520604482015265616e6420342560d01b60648201526084016105f8565b605f811115610ba85760405162461bcd60e51b815260206004820152602360248201527f53656c6c20746178206d757374206265206265747765656e20302520616e642060448201526239352560e81b60648201526084016105f8565b600893909355600a91909155600955600b55565b5f546001600160a01b03163314610be55760405162461bcd60e51b81526004016105f890611cfa565b6001600160a01b038116610c4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f8565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314610ccc5760405162461bcd60e51b81526004016105f890611cfa565b6017929092556019805492151563010000000263ff00000019921515610100029290921663ff00ff001990931692909217179055565b6001600160a01b038316610d585760405162461bcd60e51b815260206004820152601f60248201527f43616e277420617070726f76652066726f6d207a65726f20616464726573730060448201526064016105f8565b6001600160a01b038216610dae5760405162461bcd60e51b815260206004820152601d60248201527f43616e277420617070726f766520746f207a65726f206164647265737300000060448201526064016105f8565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e645760405162461bcd60e51b815260206004820152601f60248201527f43616e74207472616e736665722066726f6d2061646472657373207a65726f0060448201526064016105f8565b6001600160a01b038216610eba5760405162461bcd60e51b815260206004820152601d60248201527f43616e74207472616e7366657220746f2061646472657373207a65726f00000060448201526064016105f8565b5f8111610f095760405162461bcd60e51b815260206004820152601b60248201527f416d6f756e742073686f756c642062652061626f7665207a65726f000000000060448201526064016105f8565b5f546001600160a01b03848116911614801590610f3357505f546001600160a01b03838116911614155b156111e757601554600160a01b900460ff16610fbc575f546001600160a01b03848116911614610fbc5760405162461bcd60e51b815260206004820152602e60248201527f4f6e6c79206f776e65722063616e207472616465206265666f7265207472616460448201526d34b7339030b1ba34bb30ba34b7b760911b60648201526084016105f8565b60165481111561100e5760405162461bcd60e51b815260206004820152601e60248201527f4578636565646564206d6178207472616e73616374696f6e206c696d6974000060448201526064016105f8565b6001600160a01b0383165f9081526010602052604090205460ff1615801561104e57506001600160a01b0382165f9081526010602052604090205460ff16155b61109a5760405162461bcd60e51b815260206004820181905260248201527f54686973206163636f756e74206973206f6e2074686520626c61636b6c69737460448201526064016105f8565b6015546001600160a01b0383811691161461111357601754816110bc846107fe565b6110c69190611d57565b106111135760405162461bcd60e51b815260206004820152601a60248201527f45786365656473206d61782077616c6c65742062616c616e636500000000000060448201526064016105f8565b5f61111d306107fe565b6018546016549192508210159082106111365760165491505b80801561114d5750601554600160a81b900460ff16155b801561116757506015546001600160a01b03868116911614155b801561117c5750601554600160b01b900460ff165b80156111a057506001600160a01b0385165f9081526005602052604090205460ff16155b80156111c457506001600160a01b0384165f9081526005602052604090205460ff16155b156111e4576111d2826113de565b4780156111e2576111e247611323565b505b50505b6001600160a01b0383165f9081526005602052604090205460019060ff168061122757506001600160a01b0383165f9081526005602052604090205460ff165b8061125957506015546001600160a01b0385811691161480159061125957506015546001600160a01b03848116911614155b1561126557505f6112df565b6015546001600160a01b03858116911614801561129057506014546001600160a01b03848116911614155b156112a257600854600c55600954600d555b6015546001600160a01b0384811691161480156112cd57506014546001600160a01b03858116911614155b156112df57600a54600c55600b54600d555b610a018484848461154e565b5f818484111561130e5760405162461bcd60e51b81526004016105f89190611ad9565b505f61131a8486611d6a565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083905f818181858888f1935050505015801561065c573d5f803e3d5ffd5b5f6006548211156113c25760405162461bcd60e51b815260206004820152602c60248201527f416d6f756e742068617320746f206265206c657373207468616e20746f74616c60448201526b207265666c656374696f6e7360a01b60648201526084016105f8565b5f6113cb61157c565b90506113d7838261159d565b9392505050565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061142457611424611d2f565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561147b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061149f9190611d7d565b816001815181106114b2576114b2611d2f565b6001600160a01b0392831660209182029290920101526014546114d89130911684610d02565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906115109085905f90869030904290600401611d98565b5f604051808303815f87803b158015611527575f80fd5b505af1158015611539573d5f803e3d5ffd5b50506015805460ff60a81b1916905550505050565b8061155b5761155b6115de565b61156684848461160b565b80610a0157610a01600e54600c55600f54600d55565b5f805f6115876116fc565b9092509050611596828261159d565b9250505090565b5f6113d783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061173b565b600c541580156115ee5750600d54155b156115f557565b600c8054600e55600d8054600f555f9182905555565b5f805f805f8061161a87611767565b6001600160a01b038f165f90815260026020526040902054959b5093995091975095509350915061164b90876117bc565b6001600160a01b03808b165f9081526002602052604080822093909355908a168152205461167990866117fd565b6001600160a01b0389165f9081526002602052604090205561169a8161185b565b6116a484836118a1565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516116e991815260200190565b60405180910390a3505050505050505050565b6006545f9081906703782dace9d90000611716828261159d565b821015611732575050600654926703782dace9d9000092509050565b90939092509050565b5f818361175b5760405162461bcd60e51b81526004016105f89190611ad9565b505f61131a8486611e09565b5f805f805f805f805f61177f8a600c54600d546118c5565b9250925092505f61178e61157c565b90505f805f61179f8e878787611917565b919e509c509a509598509396509194505050505091939550919395565b5f6113d783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112eb565b5f806118098385611d57565b9050838110156113d75760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105f8565b5f61186461157c565b90505f6118718383611963565b305f9081526002602052604090205490915061188d90826117fd565b305f90815260026020526040902055505050565b6006546118ae90836117bc565b6006556007546118be90826117fd565b6007555050565b5f8080806118de60646118d88989611963565b9061159d565b90505f6118f060646118d88a89611963565b90505f611907826119018b866117bc565b906117bc565b9992985090965090945050505050565b5f8080806119258886611963565b90505f6119328887611963565b90505f61193f8888611963565b90505f6119508261190186866117bc565b939b939a50919850919650505050505050565b5f825f0361197257505f610670565b5f61197d8385611e28565b90508261198a8583611e09565b146113d75760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105f8565b634e487b7160e01b5f52604160045260245ffd5b6001600160a01b03811681146107fb575f80fd5b8035611a14816119f5565b919050565b5f6020808385031215611a2a575f80fd5b823567ffffffffffffffff80821115611a41575f80fd5b818501915085601f830112611a54575f80fd5b813581811115611a6657611a666119e1565b8060051b604051601f19603f83011681018181108582111715611a8b57611a8b6119e1565b604052918252848201925083810185019188831115611aa8575f80fd5b938501935b82851015611acd57611abe85611a09565b84529385019392850192611aad565b98975050505050505050565b5f602080835283518060208501525f5b81811015611b0557858101830151858201604001528201611ae9565b505f604082860101526040601f19601f8301168501019250505092915050565b5f8060408385031215611b36575f80fd5b8235611b41816119f5565b946020939093013593505050565b5f805f60608486031215611b61575f80fd5b8335611b6c816119f5565b92506020840135611b7c816119f5565b929592945050506040919091013590565b80358015158114611a14575f80fd5b5f60208284031215611bac575f80fd5b6113d782611b8d565b5f60208284031215611bc5575f80fd5b81356113d7816119f5565b5f60208284031215611be0575f80fd5b5035919050565b5f805f60608486031215611bf9575f80fd5b83359250611c0960208501611b8d565b9150611c1760408501611b8d565b90509250925092565b5f805f60408486031215611c32575f80fd5b833567ffffffffffffffff80821115611c49575f80fd5b818601915086601f830112611c5c575f80fd5b813581811115611c6a575f80fd5b8760208260051b8501011115611c7e575f80fd5b602092830195509350611c179186019050611b8d565b5f8060408385031215611ca5575f80fd5b8235611cb0816119f5565b91506020830135611cc0816119f5565b809150509250929050565b5f805f8060808587031215611cde575f80fd5b5050823594602084013594506040840135936060013592509050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561067057610670611d43565b8181038181111561067057610670611d43565b5f60208284031215611d8d575f80fd5b81516113d7816119f5565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611de85784516001600160a01b031683529383019391830191600101611dc3565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611e2357634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761067057610670611d4356fe746865207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220636354ae851c87c3112bd46ce3e8a1c54a8fb40a8620f71ebbbfe31b8f204e5f64736f6c63430008180033