60806040525f600755601160085560116009555f600a555f600b556019600c556023600d556023600e555f600f555f6010555f6011556009600a6100439190610642565b6100519063fac03320610657565b6012556100606009600a610642565b61006e9063fac03320610657565b60135561007d6009600a610642565b61008b9063fac03320610657565b60145561009a6009600a610642565b6100a89063fac03320610657565b60155560036018556055601955601a805461ffff191690553480156100cb575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600680546001600160a01b0319163317905561012a6009600a610642565b610139906461f313f880610657565b335f9081526001602081905260408220929092556003906101615f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556017549091168352912080549092161790556101be3390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101f56009600a610642565b610204906461f313f880610657565b60405190815260200160405180910390a3601680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556102649030906102506009600a610642565b61025f906461f313f880610657565b610424565b60165f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d8919061066e565b6001600160a01b031663c9c653963060165f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610337573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061035b919061066e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156103a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103c9919061066e565b601780546001600160a01b0319166001600160a01b0392831690811782555f908152600460209081526040808320805460ff199081166001908117909255945490951683526003909152902080549091169091179055610694565b6001600160a01b03831661048b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166104ec5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610482565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561059a57815f19048211156105805761058061054c565b8085161561058d57918102915b93841c9390800290610565565b509250929050565b5f826105b05750600161063c565b816105bc57505f61063c565b81600181146105d257600281146105dc576105f8565b600191505061063c565b60ff8411156105ed576105ed61054c565b50506001821b61063c565b5060208310610133831016604e8410600b841016171561061b575081810a61063c565b6106258383610560565b805f19048211156106385761063861054c565b0290505b92915050565b5f61065060ff8416836105a2565b9392505050565b808202811582820484141761063c5761063c61054c565b5f6020828403121561067e575f80fd5b81516001600160a01b0381168114610650575f80fd5b61199f806106a15f395ff3fe608060405260043610610134575f3560e01c8063715018a6116100a857806395d89b411161006d57806395d89b4114610155578063a9059cbb14610342578063bf474bed14610361578063dd62ed3e14610376578063f2fde38b146103ba578063f5b3c3bf146103d9575f80fd5b8063715018a6146102d45780637d1db4a5146102e85780638a8c523c146102fd5780638da5cb5b146103115780638f9a55c01461032d575f80fd5b806320800a00116100f957806320800a00146101fc57806323b872dd14610210578063313ce5671461022f57806349bd5a5e1461024a578063573761981461028157806370a08231146102a0575f80fd5b806301ab6ee51461013f57806306fdde0314610155578063095ea7b3146101965780630faee56f146101c557806318160ddd146101e8575f80fd5b3661013b57005b5f80fd5b34801561014a575f80fd5b50610153610407565b005b348015610160575f80fd5b50604080518082018252600a81526921a0aa20a627a924a0a760b11b6020820152905161018d91906115a9565b60405180910390f35b3480156101a1575f80fd5b506101b56101b03660046115f2565b6104c4565b604051901515815260200161018d565b3480156101d0575f80fd5b506101da60155481565b60405190815260200161018d565b3480156101f3575f80fd5b506101da6104da565b348015610207575f80fd5b506101536104fb565b34801561021b575f80fd5b506101b561022a36600461161c565b610553565b34801561023a575f80fd5b506040516009815260200161018d565b348015610255575f80fd5b50601754610269906001600160a01b031681565b6040516001600160a01b03909116815260200161018d565b34801561028c575f80fd5b5061015361029b3660046115f2565b6105ba565b3480156102ab575f80fd5b506101da6102ba36600461165a565b6001600160a01b03165f9081526001602052604090205490565b3480156102df575f80fd5b50610153610652565b3480156102f3575f80fd5b506101da60125481565b348015610308575f80fd5b506101536106c3565b34801561031c575f80fd5b505f546001600160a01b0316610269565b348015610338575f80fd5b506101da60135481565b34801561034d575f80fd5b506101b561035c3660046115f2565b6108b7565b34801561036c575f80fd5b506101da60145481565b348015610381575f80fd5b506101da610390366004611675565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103c5575f80fd5b506101536103d436600461165a565b6108c3565b3480156103e4575f80fd5b506101b56103f336600461165a565b60046020525f908152604090205460ff1681565b5f546001600160a01b031633146104395760405162461bcd60e51b8152600401610430906116ac565b60405180910390fd5b6104456009600a6117d5565b610454906461f313f8806117e3565b6012556104636009600a6117d5565b610472906461f313f8806117e3565b6013557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6104a26009600a6117d5565b6104b1906461f313f8806117e3565b60405190815260200160405180910390a1565b5f6104d03384846109aa565b5060015b92915050565b5f6104e76009600a6117d5565b6104f6906461f313f8806117e3565b905090565b6006546001600160a01b0316336001600160a01b03161461051a575f80fd5b6006546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015610550573d5f803e3d5ffd5b50565b5f61055f848484610acd565b6105b084336105ab85604051806060016040528060288152602001611942602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061122a565b6109aa565b5060019392505050565b6006546001600160a01b0316336001600160a01b0316146105d9575f80fd5b60065460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303815f875af1158015610629573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064d91906117fa565b505050565b5f546001600160a01b0316331461067b5760405162461bcd60e51b8152600401610430906116ac565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146106ec5760405162461bcd60e51b8152600401610430906116ac565b601754600160a01b900460ff16156107465760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610430565b6016546001600160a01b031663f305d7194730610777816001600160a01b03165f9081526001602052604090205490565b5f8061078a5f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156107f0573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906108159190611819565b505060175460165460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af115801561086a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061088e91906117fa565b50601a805461ff0019166101001790556017805460ff60a01b1916600160a01b17905543600755565b5f6104d0338484610acd565b5f546001600160a01b031633146108ec5760405162461bcd60e51b8152600401610430906116ac565b6001600160a01b0381166109515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610430565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610a0c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610430565b6001600160a01b038216610a6d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610430565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b315760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610430565b6001600160a01b038216610b935760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610430565b5f8111610bf45760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610430565b5f80546001600160a01b03858116911614801590610c1f57505f546001600160a01b03848116911614155b156110ed57610c506064610c4a600c54600f5411610c3f57600854610c43565b600a545b8590611262565b906112e7565b90506007544303610cda57601954435f9081526005602052604090205410610cba5760405162461bcd60e51b815260206004820181905260248201527f457863656564732062757973206f6e2074686520666972737420626c6f636b2e6044820152606401610430565b435f908152600560205260408120805491610cd483611844565b91905055505b6001600160a01b0384165f9081526004602052604090205460ff168015610d0f57506016546001600160a01b03848116911614155b8015610d3357506001600160a01b0383165f9081526003602052604090205460ff16155b15610e1957601254821115610d8a5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610430565b60135482610dac856001600160a01b03165f9081526001602052604090205490565b610db6919061185c565b1115610e045760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610430565b600f8054905f610e1383611844565b91905055505b6001600160a01b0383165f9081526004602052604090205460ff16158015610e5957506001600160a01b0383165f9081526003602052604090205460ff16155b15610ed85760135482610e80856001600160a01b03165f9081526001602052604090205490565b610e8a919061185c565b1115610ed85760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610430565b6001600160a01b0383165f9081526004602052604090205460ff168015610f0857506001600160a01b0384163014155b15610f3557610f326064610c4a600d54600f5411610f2857600954610c43565b600b548590611262565b90505b6001600160a01b0384165f9081526004602052604090205460ff16158015610f7557506001600160a01b0383165f9081526004602052604090205460ff16155b8015610f8a57506001600160a01b0384163014155b15610f9257505f5b305f90815260016020526040902054601a5460ff16158015610fcb57506001600160a01b0384165f9081526004602052604090205460ff165b8015610fde5750601a54610100900460ff165b8015610feb575060145481115b8015610ffa5750600e54600f54115b156110685760115443111561100e575f6010555b6018546010541061101d575f80fd5b61103a6110358461103084601554611328565b611328565b61133c565b47801561104a5761104a476114a3565b60108054905f61105983611844565b909155505043601155506110eb565b601a5460ff1615801561109257506001600160a01b0384165f9081526004602052604090205460ff165b80156110a55750601a54610100900460ff165b80156110b2575060145481115b80156110c15750600e54600f54115b156110eb576110d96110358461103084601554611328565b4780156110e9576110e9476114a3565b505b505b801561116557305f9081526001602052604090205461110c90826114de565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061115c9085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054611187908361153c565b6001600160a01b0385165f908152600160205260409020556111ca6111ac838361153c565b6001600160a01b0385165f90815260016020526040902054906114de565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611213858561153c565b60405190815260200160405180910390a350505050565b5f818484111561124d5760405162461bcd60e51b815260040161043091906115a9565b505f611259848661186f565b95945050505050565b5f825f0361127157505f6104d4565b5f61127c83856117e3565b9050826112898583611882565b146112e05760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610430565b9392505050565b5f6112e083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061157d565b5f81831161133657826112e0565b50919050565b601a805460ff191660011790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061137c5761137c6118a1565b6001600160a01b03928316602091820292909201810191909152601654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156113d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113f791906118b5565b8160018151811061140a5761140a6118a1565b6001600160a01b03928316602091820292909201015260165461143091309116846109aa565b60165460405163791ac94760e01b81526001600160a01b039091169063791ac947906114689085905f908690309042906004016118d0565b5f604051808303815f87803b15801561147f575f80fd5b505af1158015611491573d5f803e3d5ffd5b5050601a805460ff1916905550505050565b6006546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156114da573d5f803e3d5ffd5b5050565b5f806114ea838561185c565b9050838110156112e05760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610430565b5f6112e083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061122a565b5f818361159d5760405162461bcd60e51b815260040161043091906115a9565b505f6112598486611882565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610550575f80fd5b5f8060408385031215611603575f80fd5b823561160e816115de565b946020939093013593505050565b5f805f6060848603121561162e575f80fd5b8335611639816115de565b92506020840135611649816115de565b929592945050506040919091013590565b5f6020828403121561166a575f80fd5b81356112e0816115de565b5f8060408385031215611686575f80fd5b8235611691816115de565b915060208301356116a1816115de565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561172f57815f1904821115611715576117156116e1565b8085161561172257918102915b93841c93908002906116fa565b509250929050565b5f82611745575060016104d4565b8161175157505f6104d4565b816001811461176757600281146117715761178d565b60019150506104d4565b60ff841115611782576117826116e1565b50506001821b6104d4565b5060208310610133831016604e8410600b84101617156117b0575081810a6104d4565b6117ba83836116f5565b805f19048211156117cd576117cd6116e1565b029392505050565b5f6112e060ff841683611737565b80820281158282048414176104d4576104d46116e1565b5f6020828403121561180a575f80fd5b815180151581146112e0575f80fd5b5f805f6060848603121561182b575f80fd5b8351925060208401519150604084015190509250925092565b5f60018201611855576118556116e1565b5060010190565b808201808211156104d4576104d46116e1565b818103818111156104d4576104d46116e1565b5f8261189c57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156118c5575f80fd5b81516112e0816115de565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156119205784516001600160a01b0316835293830193918301916001016118fb565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220ea66751d9aa7a5897872b6e09e1295d685060a46450dd070b131ff2b3793c2f064736f6c63430008190033