60806040526006805460ff19169055600a6007819055602c60089081556001600981905582556014600b819055600c819055600d555f600e5562000043916200033d565b6200005290621e848062000354565b600f55620000636008600a6200033d565b6200007290621e848062000354565b601055620000836008600a6200033d565b6200008f905f62000354565b601155620000a06008600a6200033d565b620000af90621e848062000354565b6012556014805461ffff60a81b19169055348015620000cc575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b0319166101003302179055620001326008600a6200033d565b62000142906305f5e10062000354565b335f9081526001602081905260408220929092556003906200016b5f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620001ce3390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002076008600a6200033d565b62000217906305f5e10062000354565b60405190815260200160405180910390a36200036e565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200028257815f19048211156200026657620002666200022e565b808516156200027457918102915b93841c939080029062000247565b509250929050565b5f826200029a5750600162000337565b81620002a857505f62000337565b8160018114620002c15760028114620002cc57620002ec565b600191505062000337565b60ff841115620002e057620002e06200022e565b50506001821b62000337565b5060208310610133831016604e8410600b841016171562000311575081810a62000337565b6200031d838362000242565b805f19048211156200033357620003336200022e565b0290505b92915050565b5f6200034d60ff8416836200028a565b9392505050565b80820281158282048414176200033757620003376200022e565b611a6e806200037c5f395ff3fe608060405260043610610129575f3560e01c8063715018a6116100a857806395d89b411161006d57806395d89b4114610335578063a9059cbb14610361578063bf474bed14610380578063c876d0b914610395578063c9567bf9146103ae578063dd62ed3e146103c2575f80fd5b8063715018a6146102bd578063751039fc146102d15780637d1db4a5146102e55780638da5cb5b146102fa5780638f9a55c014610320575f80fd5b8063313ce567116100ee578063313ce567146102025780633bbac5791461021d57806351bc3c85146102545780636de7bcbd1461026a57806370a0823114610289575f80fd5b806306fdde0314610134578063095ea7b31461017d5780630faee56f146101ac57806318160ddd146101cf57806323b872dd146101e3575f80fd5b3661013057005b5f80fd5b34801561013f575f80fd5b5060408051808201909152600f81526e517565656e646f6d206f66204b656b60881b60208201525b604051610174919061157d565b60405180910390f35b348015610188575f80fd5b5061019c6101973660046115ef565b610406565b6040519015158152602001610174565b3480156101b7575f80fd5b506101c160125481565b604051908152602001610174565b3480156101da575f80fd5b506101c161041c565b3480156101ee575f80fd5b5061019c6101fd366004611619565b61043c565b34801561020d575f80fd5b5060405160088152602001610174565b348015610228575f80fd5b5061019c610237366004611657565b6001600160a01b03165f9081526004602052604090205460ff1690565b34801561025f575f80fd5b506102686104a3565b005b348015610275575f80fd5b50610268610284366004611686565b6104f9565b348015610294575f80fd5b506101c16102a3366004611657565b6001600160a01b03165f9081526001602052604090205490565b3480156102c8575f80fd5b50610268610590565b3480156102dc575f80fd5b50610268610601565b3480156102f0575f80fd5b506101c1600f5481565b348015610305575f80fd5b505f546040516001600160a01b039091168152602001610174565b34801561032b575f80fd5b506101c160105481565b348015610340575f80fd5b506040805180820190915260048152635145514560e01b6020820152610167565b34801561036c575f80fd5b5061019c61037b3660046115ef565b6106bc565b34801561038b575f80fd5b506101c160115481565b3480156103a0575f80fd5b5060065461019c9060ff1681565b3480156103b9575f80fd5b506102686106c8565b3480156103cd575f80fd5b506101c16103dc366004611746565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f610412338484610a71565b5060015b92915050565b5f6104296008600a611871565b610437906305f5e10061187f565b905090565b5f610448848484610b94565b610499843361049485604051806060016040528060288152602001611a11602891396001600160a01b038a165f90815260026020908152604080832033845290915290205491906111dc565b610a71565b5060019392505050565b60065461010090046001600160a01b0316336001600160a01b0316146104c7575f80fd5b305f9081526001602052604090205480156104e5576104e581611214565b4780156104f5576104f58161139d565b5050565b5f546001600160a01b0316331461052b5760405162461bcd60e51b815260040161052290611896565b60405180910390fd5b5f5b81518110156104f557600160045f84848151811061054d5761054d6118cb565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff191691151591909117905580610588816118df565b91505061052d565b5f546001600160a01b031633146105b95760405162461bcd60e51b815260040161052290611896565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b0316331461062a5760405162461bcd60e51b815260040161052290611896565b6106366008600a611871565b610644906305f5e10061187f565b600f556106536008600a611871565b610661906305f5e10061187f565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61069b6008600a611871565b6106a9906305f5e10061187f565b60405190815260200160405180910390a1565b5f610412338484610b94565b5f546001600160a01b031633146106f15760405162461bcd60e51b815260040161052290611896565b601454600160a01b900460ff161561074b5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610522565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556107949030906107866008600a611871565b610494906305f5e10061187f565b60135f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080891906118f7565b6001600160a01b031663c9c653963060135f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088b91906118f7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156108d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f991906118f7565b601480546001600160a01b039283166001600160a01b03199091161790556013541663f305d7194730610940816001600160a01b03165f9081526001602052604090205490565b5f806109535f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109b9573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109de9190611912565b505060145460135460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610a33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a57919061193d565b506014805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610ad35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610522565b6001600160a01b038216610b345760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610522565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bf85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610522565b6001600160a01b038216610c5a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610522565b5f8111610cbb5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610522565b5f80546001600160a01b03858116911614801590610ce657505f546001600160a01b03848116911614155b1561109f576001600160a01b0384165f9081526004602052604090205460ff16158015610d2b57506001600160a01b0383165f9081526004602052604090205460ff16155b610d33575f80fd5b60065460ff1615610dea576013546001600160a01b03848116911614801590610d6a57506014546001600160a01b03848116911614155b15610dea57325f908152600560205260409020544311610dd85760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f6044820152633bb2b21760e11b6064820152608401610522565b325f9081526005602052604090204390555b6014546001600160a01b038581169116148015610e1557506013546001600160a01b03848116911614155b8015610e3957506001600160a01b0383165f9081526003602052604090205460ff16155b15610f3257600f54821115610e8c5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b6044820152606401610522565b60105482610eae856001600160a01b03165f9081526001602052604090205490565b610eb8919061195c565b1115610f065760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610522565b600d54600e541015610f1d57823b15610f1d575f80fd5b600e8054905f610f2c836118df565b91905055505b610f5e6064610f58600b54600e5411610f4d57600754610f51565b6009545b85906113d8565b9061145d565b6014549091506001600160a01b038481169116148015610f8757506001600160a01b0384163014155b1561100257600f54821115610fda5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b6044820152606401610522565b610fff6064610f58600c54600e5411610ff557600854610f51565b600a5485906113d8565b90505b305f90815260016020526040902054601454600160a81b900460ff1615801561103857506014546001600160a01b038581169116145b801561104d5750601454600160b01b900460ff165b801561105a575060115481115b80156110695750600d54600e54115b1561109d5761108b611086846110818460125461149e565b61149e565b611214565b47801561109b5761109b4761139d565b505b505b801561111757305f908152600160205260409020546110be90826114b2565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061110e9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546111399083611510565b6001600160a01b0385165f9081526001602052604090205561117c61115e8383611510565b6001600160a01b0385165f90815260016020526040902054906114b2565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6111c58585611510565b60405190815260200160405180910390a350505050565b5f81848411156111ff5760405162461bcd60e51b8152600401610522919061157d565b505f61120b848661196f565b95945050505050565b6014805460ff60a81b1916600160a81b179055801561138d57601454600160a01b900460ff161561138d576040805160028082526060820183525f9260208301908036833701905050905030815f81518110611272576112726118cb565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ed91906118f7565b81600181518110611300576113006118cb565b6001600160a01b0392831660209182029290920101526013546113269130911684610a71565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac9479061135e9085905f90869030904290600401611982565b5f604051808303815f87803b158015611375575f80fd5b505af1158015611387573d5f803e3d5ffd5b50505050505b506014805460ff60a81b19169055565b6006546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f193505050501580156104f5573d5f803e3d5ffd5b5f825f036113e757505f610416565b5f6113f2838561187f565b9050826113ff85836119f1565b146114565760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610522565b9392505050565b5f61145683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611551565b5f8183116114ac5782611456565b50919050565b5f806114be838561195c565b9050838110156114565760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610522565b5f61145683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111dc565b5f81836115715760405162461bcd60e51b8152600401610522919061157d565b505f61120b84866119f1565b5f6020808352835180828501525f5b818110156115a85785810183015185820160400152820161158c565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146115dc575f80fd5b50565b80356115ea816115c8565b919050565b5f8060408385031215611600575f80fd5b823561160b816115c8565b946020939093013593505050565b5f805f6060848603121561162b575f80fd5b8335611636816115c8565b92506020840135611646816115c8565b929592945050506040919091013590565b5f60208284031215611667575f80fd5b8135611456816115c8565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215611697575f80fd5b823567ffffffffffffffff808211156116ae575f80fd5b818501915085601f8301126116c1575f80fd5b8135818111156116d3576116d3611672565b8060051b604051601f19603f830116810181811085821117156116f8576116f8611672565b604052918252848201925083810185019188831115611715575f80fd5b938501935b8285101561173a5761172b856115df565b8452938501939285019261171a565b98975050505050505050565b5f8060408385031215611757575f80fd5b8235611762816115c8565b91506020830135611772816115c8565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156117cb57815f19048211156117b1576117b161177d565b808516156117be57918102915b93841c9390800290611796565b509250929050565b5f826117e157506001610416565b816117ed57505f610416565b8160018114611803576002811461180d57611829565b6001915050610416565b60ff84111561181e5761181e61177d565b50506001821b610416565b5060208310610133831016604e8410600b841016171561184c575081810a610416565b6118568383611791565b805f19048211156118695761186961177d565b029392505050565b5f61145660ff8416836117d3565b80820281158282048414176104165761041661177d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f600182016118f0576118f061177d565b5060010190565b5f60208284031215611907575f80fd5b8151611456816115c8565b5f805f60608486031215611924575f80fd5b8351925060208401519150604084015190509250925092565b5f6020828403121561194d575f80fd5b81518015158114611456575f80fd5b808201808211156104165761041661177d565b818103818111156104165761041661177d565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156119d05784516001600160a01b0316835293830193918301916001016119ab565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611a0b57634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122034eec809852e46b5dd7500fd65e83372415e7bd288642c211daaf31dd07b888464736f6c63430008140033