60806040526006805460ff19166001908117909155601460075560196008556009818155600a918255600b829055600f600c819055600d555f600e55620000469162000345565b62000056906301312d006200035c565b600f55620000676009600a62000345565b62000077906301312d006200035c565b601055620000886009600a62000345565b6200009790622dc6c06200035c565b601155620000a86009600a62000345565b620000b790629896806200035c565b6012556014805461ffff60a81b19169055348015620000d4575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b03191661010033021790556200013a6009600a62000345565b6200014a90633b9aca006200035c565b335f908152600160208190526040822092909255600390620001735f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620001d63390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200020f6009600a62000345565b6200021f90633b9aca006200035c565b60405190815260200160405180910390a362000376565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200028a57815f19048211156200026e576200026e62000236565b808516156200027c57918102915b93841c93908002906200024f565b509250929050565b5f82620002a2575060016200033f565b81620002b057505f6200033f565b8160018114620002c95760028114620002d457620002f4565b60019150506200033f565b60ff841115620002e857620002e862000236565b50506001821b6200033f565b5060208310610133831016604e8410600b841016171562000319575081810a6200033f565b6200032583836200024a565b805f19048211156200033b576200033b62000236565b0290505b92915050565b5f6200035560ff84168362000292565b9392505050565b80820281158282048414176200033f576200033f62000236565b6117fa80620003845f395ff3fe608060405260043610610113575f3560e01c8063751039fc1161009d578063a9059cbb11610062578063a9059cbb146102f5578063bf474bed14610314578063c876d0b914610329578063c9567bf914610342578063dd62ed3e14610356575f80fd5b8063751039fc146102665780637d1db4a51461027a5780638da5cb5b1461028f5780638f9a55c0146102b557806395d89b41146102ca575f80fd5b806323b872dd116100e357806323b872dd146101ce578063313ce567146101ed57806351bc3c851461020857806370a082311461021e578063715018a614610252575f80fd5b806306fdde031461011e578063095ea7b3146101685780630faee56f1461019757806318160ddd146101ba575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b5060408051808201909152601081526f57616c6c2053747265657420426f797360801b60208201525b60405161015f91906113ed565b60405180910390f35b348015610173575f80fd5b5061018761018236600461144f565b61039a565b604051901515815260200161015f565b3480156101a2575f80fd5b506101ac60125481565b60405190815260200161015f565b3480156101c5575f80fd5b506101ac6103b0565b3480156101d9575f80fd5b506101876101e8366004611479565b6103d0565b3480156101f8575f80fd5b506040516009815260200161015f565b348015610213575f80fd5b5061021c610437565b005b348015610229575f80fd5b506101ac6102383660046114b7565b6001600160a01b03165f9081526001602052604090205490565b34801561025d575f80fd5b5061021c61048d565b348015610271575f80fd5b5061021c610507565b348015610285575f80fd5b506101ac600f5481565b34801561029a575f80fd5b505f546040516001600160a01b03909116815260200161015f565b3480156102c0575f80fd5b506101ac60105481565b3480156102d5575f80fd5b506040805180820190915260038152622ba9a160e91b6020820152610152565b348015610300575f80fd5b5061018761030f36600461144f565b6105c2565b34801561031f575f80fd5b506101ac60115481565b348015610334575f80fd5b506006546101879060ff1681565b34801561034d575f80fd5b5061021c6105ce565b348015610361575f80fd5b506101ac6103703660046114d2565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f6103a6338484610977565b5060015b92915050565b5f6103bd6009600a6115fd565b6103cb90633b9aca0061160b565b905090565b5f6103dc848484610a9a565b61042d84336104288560405180606001604052806028815260200161179d602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190611065565b610977565b5060019392505050565b60065461010090046001600160a01b0316336001600160a01b03161461045b575f80fd5b305f908152600160205260409020548015610479576104798161109d565b478015610489576104898161120d565b5050565b5f546001600160a01b031633146104bf5760405162461bcd60e51b81526004016104b690611622565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146105305760405162461bcd60e51b81526004016104b690611622565b61053c6009600a6115fd565b61054a90633b9aca0061160b565b600f556105596009600a6115fd565b61056790633b9aca0061160b565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105a16009600a6115fd565b6105af90633b9aca0061160b565b60405190815260200160405180910390a1565b5f6103a6338484610a9a565b5f546001600160a01b031633146105f75760405162461bcd60e51b81526004016104b690611622565b601454600160a01b900460ff16156106515760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104b6565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561069a90309061068c6009600a6115fd565b61042890633b9aca0061160b565b60135f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070e9190611657565b6001600160a01b031663c9c653963060135f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561076d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107919190611657565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156107db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ff9190611657565b601480546001600160a01b039283166001600160a01b03199091161790556013541663f305d7194730610846816001600160a01b03165f9081526001602052604090205490565b5f806108595f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156108bf573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906108e49190611672565b505060145460135460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610939573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061095d919061169d565b506014805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166109d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b6565b6001600160a01b038216610a3a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b6565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610afe5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b6565b6001600160a01b038216610b605760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b6565b5f8111610bc15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104b6565b5f80546001600160a01b03858116911614801590610bec57505f546001600160a01b03848116911614155b15610f2857610c1d6064610c17600b54600e5411610c0c57600754610c10565b6009545b8590611248565b906112cd565b60065490915060ff1615610d03576013546001600160a01b03848116911614801590610c5757506014546001600160a01b03848116911614155b15610d0357325f908152600560205260409020544311610cf15760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a4016104b6565b325f9081526005602052604090204390555b6014546001600160a01b038581169116148015610d2e57506013546001600160a01b03848116911614155b8015610d5257506001600160a01b0383165f9081526003602052604090205460ff16155b15610e3857600f54821115610da95760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104b6565b60105482610dcb856001600160a01b03165f9081526001602052604090205490565b610dd591906116bc565b1115610e235760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104b6565b600e8054905f610e32836116cf565b91905055505b6014546001600160a01b038481169116148015610e5e57506001600160a01b0384163014155b15610e8b57610e886064610c17600c54600e5411610e7e57600854610c10565b600a548590611248565b90505b305f90815260016020526040902054601454600160a81b900460ff16158015610ec157506014546001600160a01b038581169116145b8015610ed65750601454600160b01b900460ff165b8015610ee3575060115481115b8015610ef25750600d54600e54115b15610f2657610f14610f0f84610f0a8460125461130e565b61130e565b61109d565b478015610f2457610f244761120d565b505b505b8015610fa057305f90815260016020526040902054610f479082611322565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f979085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610fc29083611380565b6001600160a01b0385165f90815260016020526040902055611005610fe78383611380565b6001600160a01b0385165f9081526001602052604090205490611322565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61104e8585611380565b60405190815260200160405180910390a350505050565b5f81848411156110885760405162461bcd60e51b81526004016104b691906113ed565b505f61109484866116e7565b95945050505050565b6014805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f815181106110e3576110e36116fa565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561113a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115e9190611657565b81600181518110611171576111716116fa565b6001600160a01b0392831660209182029290920101526013546111979130911684610977565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906111cf9085905f9086903090429060040161170e565b5f604051808303815f87803b1580156111e6575f80fd5b505af11580156111f8573d5f803e3d5ffd5b50506014805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f19350505050158015610489573d5f803e3d5ffd5b5f825f0361125757505f6103aa565b5f611262838561160b565b90508261126f858361177d565b146112c65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104b6565b9392505050565b5f6112c683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113c1565b5f81831161131c57826112c6565b50919050565b5f8061132e83856116bc565b9050838110156112c65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104b6565b5f6112c683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611065565b5f81836113e15760405162461bcd60e51b81526004016104b691906113ed565b505f611094848661177d565b5f6020808352835180828501525f5b81811015611418578581018301518582016040015282016113fc565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461144c575f80fd5b50565b5f8060408385031215611460575f80fd5b823561146b81611438565b946020939093013593505050565b5f805f6060848603121561148b575f80fd5b833561149681611438565b925060208401356114a681611438565b929592945050506040919091013590565b5f602082840312156114c7575f80fd5b81356112c681611438565b5f80604083850312156114e3575f80fd5b82356114ee81611438565b915060208301356114fe81611438565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561155757815f190482111561153d5761153d611509565b8085161561154a57918102915b93841c9390800290611522565b509250929050565b5f8261156d575060016103aa565b8161157957505f6103aa565b816001811461158f5760028114611599576115b5565b60019150506103aa565b60ff8411156115aa576115aa611509565b50506001821b6103aa565b5060208310610133831016604e8410600b84101617156115d8575081810a6103aa565b6115e2838361151d565b805f19048211156115f5576115f5611509565b029392505050565b5f6112c660ff84168361155f565b80820281158282048414176103aa576103aa611509565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611667575f80fd5b81516112c681611438565b5f805f60608486031215611684575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156116ad575f80fd5b815180151581146112c6575f80fd5b808201808211156103aa576103aa611509565b5f600182016116e0576116e0611509565b5060010190565b818103818111156103aa576103aa611509565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561175c5784516001600160a01b031683529383019391830191600101611737565b50506001600160a01b03969096166060850152505050608001529392505050565b5f8261179757634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d64591f4cd1a18723e37f0a3a4d58dc9c660a122d90f961423d35a24cbf1f13c64736f6c63430008140033