6080604052601160055560146006555f6007555f6008555f600955601e600a55600c600b555f600c555f600d5560646009600a61003c919061036c565b61004a906305f5e100610381565b610055906002610381565b61005f9190610398565b600e5560646100706009600a61036c565b61007e906305f5e100610381565b610089906002610381565b6100939190610398565b600f556103e86100a56009600a61036c565b6100b3906305f5e100610381565b6100be906002610381565b6100c89190610398565b60105560646100d96009600a61036c565b6100e7906305f5e100610381565b6100f2906001610381565b6100fc9190610398565b6011556013805461ffff60a81b191690555f60148190556015819055601655348015610126575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b031916331790556101856009600a61036c565b610193906305f5e100610381565b335f9081526001602081905260408220929092556003906101bb5f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556004549091168352912080549092161790556102183390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61024f6009600a61036c565b61025d906305f5e100610381565b60405190815260200160405180910390a36103b7565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102c2578085048111156102a6576102a6610273565b60018416156102b457908102905b60019390931c92800261028b565b935093915050565b5f826102d857506001610366565b816102e457505f610366565b81600181146102fa576002811461030457610320565b6001915050610366565b60ff84111561031557610315610273565b50506001821b610366565b5060208310610133831016604e8410600b8410161715610343575081810a610366565b61034f5f198484610287565b805f190482111561036257610362610273565b0290505b92915050565b5f61037a60ff8416836102ca565b9392505050565b808202811582820484141761036657610366610273565b5f826103b257634e487b7160e01b5f52601260045260245ffd5b500490565b611aee806103c45f395ff3fe608060405260043610610134575f3560e01c806377b54bad116100a8578063a9059cbb1161006d578063a9059cbb1461030f578063bf474bed1461032e578063c9567bf914610343578063dd62ed3e14610357578063ec1f3f631461039b578063f4293890146103ba575f80fd5b806377b54bad146102a05780637d1db4a5146102bf5780638da5cb5b146102d45780638f9a55c0146102fa57806395d89b411461013f575f80fd5b806323b872dd116100f957806323b872dd146101f6578063313ce5671461021557806351bc3c8514610230578063622565891461024457806370a0823114610258578063715018a61461028c575f80fd5b806306fdde031461013f578063095ea7b31461017a5780630faee56f146101a9578063109daa99146101cc57806318160ddd146101e2575f80fd5b3661013b57005b5f80fd5b34801561014a575f80fd5b5060408051808201825260048152633230323560e01b6020820152905161017191906116c8565b60405180910390f35b348015610185575f80fd5b50610199610194366004611711565b6103ce565b6040519015158152602001610171565b3480156101b4575f80fd5b506101be60115481565b604051908152602001610171565b3480156101d7575f80fd5b506101e06103e4565b005b3480156101ed575f80fd5b506101be610452565b348015610201575f80fd5b5061019961021036600461173b565b610472565b348015610220575f80fd5b5060405160098152602001610171565b34801561023b575f80fd5b506101e06104d9565b34801561024f575f80fd5b506101e061052a565b348015610263575f80fd5b506101be610272366004611779565b6001600160a01b03165f9081526001602052604090205490565b348015610297575f80fd5b506101e06105d6565b3480156102ab575f80fd5b506101996102ba366004611711565b610647565b3480156102ca575f80fd5b506101be600e5481565b3480156102df575f80fd5b505f546040516001600160a01b039091168152602001610171565b348015610305575f80fd5b506101be600f5481565b34801561031a575f80fd5b50610199610329366004611711565b610797565b348015610339575f80fd5b506101be60105481565b34801561034e575f80fd5b506101e06107a3565b348015610362575f80fd5b506101be610371366004611794565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103a6575f80fd5b506101e06103b53660046117cb565b610b50565b3480156103c5575f80fd5b506101e0610b95565b5f6103da338484610c21565b5060015b92915050565b5f546001600160a01b031633146104165760405162461bcd60e51b815260040161040d906117e2565b60405180910390fd5b5f600c8190556040519081527fe9b79e1a6c2dc43b4c0c6ff01ce9e3332d810e482270f464c0a21ad6c5fc6de3906020015b60405180910390a1565b5f61045f6009600a61190e565b61046d906305f5e10061191c565b905090565b5f61047e848484610d44565b6104cf84336104ca85604051806060016040528060288152602001611a91602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061134b565b610c21565b5060019392505050565b6004546001600160a01b0316336001600160a01b0316146104f8575f80fd5b305f9081526001602052604090205480156105165761051681611383565b47801561052657610526816114f3565b5050565b5f546001600160a01b031633146105535760405162461bcd60e51b815260040161040d906117e2565b61055f6009600a61190e565b61056d906305f5e10061191c565b600e5561057c6009600a61190e565b61058a906305f5e10061191c565b600f557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105ba6009600a61190e565b6105c8906305f5e10061191c565b604051908152602001610448565b5f546001600160a01b031633146105ff5760405162461bcd60e51b815260040161040d906117e2565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b6004545f906001600160a01b0316336001600160a01b031614610668575f80fd5b815f036106d8576040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa1580156106b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d59190611933565b91505b604080516001600160a01b0385168152602081018490527fda2bc2bedd1f85b5a59d5dbbd6684ff877ef916994a16ec08813101e99ace65f910160405180910390a16004805460405163a9059cbb60e01b81526001600160a01b03918216928101929092526024820184905284169063a9059cbb906044016020604051808303815f875af115801561076c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610790919061194a565b9392505050565b5f6103da338484610d44565b5f546001600160a01b031633146107cc5760405162461bcd60e51b815260040161040d906117e2565b601354600160a01b900460ff16156108265760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161040d565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561086f9030906108616009600a61190e565b6104ca906305f5e10061191c565b60125f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e39190611969565b6001600160a01b031663c9c653963060125f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610942573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109669190611969565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156109b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d49190611969565b601380546001600160a01b039283166001600160a01b03199091161790556012541663f305d7194730610a1b816001600160a01b03165f9081526001602052604090205490565b5f80610a2e5f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a94573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610ab99190611984565b505060135460125460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610b0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b32919061194a565b506013805462ff00ff60a01b19166201000160a01b17905543601655565b6004546001600160a01b0316336001600160a01b031614610b6f575f80fd5b6007548111158015610b8357506008548111155b610b8b575f80fd5b6007819055600855565b6004546001600160a01b0316336001600160a01b031614610bb4575f80fd5b4780610c155760405162461bcd60e51b815260206004820152602a60248201527f436f6e74726163742062616c616e6365206d7573742062652067726561746572604482015269207468616e207a65726f60b01b606482015260840161040d565b610c1e816114f3565b50565b6001600160a01b038316610c835760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161040d565b6001600160a01b038216610ce45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161040d565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610da85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161040d565b6001600160a01b038216610e0a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161040d565b5f8111610e6b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161040d565b5f80546001600160a01b03858116911614801590610e9657505f546001600160a01b03848116911614155b1561120e57600d545f03610ed357610ed06064610eca600954600d5411610ebf57600554610ec3565b6007545b859061152a565b906115a8565b90505b600d5415610ef857610ef56064610eca600c548561152a90919063ffffffff16565b90505b6016544303610f53576023600d5410610f535760405162461bcd60e51b815260206004820181905260248201527f457863656564732062757973206f6e2074686520666972737420626c6f636b2e604482015260640161040d565b6013546001600160a01b038581169116148015610f7e57506012546001600160a01b03848116911614155b8015610fa257506001600160a01b0383165f9081526003602052604090205460ff16155b156110a557600e54821115610ff95760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161040d565b600f548261101b856001600160a01b03165f9081526001602052604090205490565b61102591906119af565b11156110735760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161040d565b61108e6064610eca600954600d5411610ebf57600554610ec3565b600d80549192505f61109f836119c2565b91905055505b6013546001600160a01b0384811691161480156110cb57506001600160a01b0384163014155b156110f8576110f56064610eca600a54600d54116110eb57600654610ec3565b600854859061152a565b90505b305f90815260016020526040902054601354600160a81b900460ff1615801561112e57506013546001600160a01b038581169116145b80156111435750601354600160b01b900460ff165b8015611150575060105481115b801561115f5750600b54600d54115b1561120c57601554431115611173575f6014555b6003601454106111c55760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920332073656c6c732070657220626c6f636b21000000000000000000604482015260640161040d565b6111e26111dd846111d8846011546115e9565b6115e9565b611383565b4780156111f2576111f2476114f3565b60148054905f611201836119c2565b909155505043601555505b505b801561128657305f9081526001602052604090205461122d90826115fd565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061127d9085815260200190565b60405180910390a35b6001600160a01b0384165f908152600160205260409020546112a8908361165b565b6001600160a01b0385165f908152600160205260409020556112eb6112cd838361165b565b6001600160a01b0385165f90815260016020526040902054906115fd565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611334858561165b565b60405190815260200160405180910390a350505050565b5f818484111561136e5760405162461bcd60e51b815260040161040d91906116c8565b505f61137a84866119da565b95945050505050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106113c9576113c96119ed565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611420573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114449190611969565b81600181518110611457576114576119ed565b6001600160a01b03928316602091820292909201015260125461147d9130911684610c21565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac947906114b59085905f90869030904290600401611a01565b5f604051808303815f87803b1580156114cc575f80fd5b505af11580156114de573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6004546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610526573d5f803e3d5ffd5b5f825f0361153957505f6103de565b5f611544838561191c565b9050826115518583611a71565b146107905760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161040d565b5f61079083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061169c565b5f8183116115f75782610790565b50919050565b5f8061160983856119af565b9050838110156107905760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161040d565b5f61079083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061134b565b5f81836116bc5760405162461bcd60e51b815260040161040d91906116c8565b505f61137a8486611a71565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610c1e575f80fd5b5f8060408385031215611722575f80fd5b823561172d816116fd565b946020939093013593505050565b5f805f6060848603121561174d575f80fd5b8335611758816116fd565b92506020840135611768816116fd565b929592945050506040919091013590565b5f60208284031215611789575f80fd5b8135610790816116fd565b5f80604083850312156117a5575f80fd5b82356117b0816116fd565b915060208301356117c0816116fd565b809150509250929050565b5f602082840312156117db575f80fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156118665780850481111561184a5761184a611817565b600184161561185857908102905b60019390931c92800261182f565b935093915050565b5f8261187c575060016103de565b8161188857505f6103de565b816001811461189e57600281146118a8576118c4565b60019150506103de565b60ff8411156118b9576118b9611817565b50506001821b6103de565b5060208310610133831016604e8410600b84101617156118e7575081810a6103de565b6118f35f19848461182b565b805f190482111561190657611906611817565b029392505050565b5f61079060ff84168361186e565b80820281158282048414176103de576103de611817565b5f60208284031215611943575f80fd5b5051919050565b5f6020828403121561195a575f80fd5b81518015158114610790575f80fd5b5f60208284031215611979575f80fd5b8151610790816116fd565b5f805f60608486031215611996575f80fd5b5050815160208301516040909301519094929350919050565b808201808211156103de576103de611817565b5f600182016119d3576119d3611817565b5060010190565b818103818111156103de576103de611817565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611a515783516001600160a01b0316835260209384019390920191600101611a2a565b50506001600160a01b039590951660608401525050608001529392505050565b5f82611a8b57634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122008c649d3a7b2309032a317af409922a75647d5b363ae173d3918b69ad048a46e64736f6c634300081a0033