60806040526002600655600f6007555f6008555f600955600a8055600a600b55600f600c555f600d5560646009600a6100389190610493565b61004690633b9aca006104a8565b6100519060026104a8565b61005b91906104bf565b600e55606461006c6009600a610493565b61007a90633b9aca006104a8565b6100859060026104a8565b61008f91906104bf565b600f5560646100a06009600a610493565b6100ae90633b9aca006104a8565b6100b99060016104a8565b6100c391906104bf565b60105560646100d46009600a610493565b6100e290633b9aca006104a8565b6100ed9060016104a8565b6100f791906104bf565b6011556015805462ffffff60a81b1916600160b81b1790555f601681905561011c3390565b5f80546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060128054336001600160a01b03199182161790915560138054909116730341e7e42da743a3305d859ce177a7c5f0fc453217905560646101a76009600a610493565b6101b590633b9aca006104a8565b6101c09060036104a8565b6101ca91906104bf565b335f9081526001602052604090205560646101e76009600a610493565b6101f590633b9aca006104a8565b6102009060616104a8565b61020a91906104bf565b305f9081526001602081905260408220929092556004906102325f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff199687161790556013549091168152600490925281208054909216600190811790925560039061028f5f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556013549091168352912080549092161790556102ec3390565b6001600160a01b03165f5f80516020611dd183398151915260646103126009600a610493565b61032090633b9aca006104a8565b61032b9060036104a8565b61033591906104bf565b60405190815260200160405180910390a3305f5f80516020611dd183398151915260646103646009600a610493565b61037290633b9aca006104a8565b61037d9060616104a8565b61038791906104bf565b60405190815260200160405180910390a36104de565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156103eb57815f19048211156103d1576103d161039d565b808516156103de57918102915b93841c93908002906103b6565b509250929050565b5f826104015750600161048d565b8161040d57505f61048d565b8160018114610423576002811461042d57610449565b600191505061048d565b60ff84111561043e5761043e61039d565b50506001821b61048d565b5060208310610133831016604e8410600b841016171561046c575081810a61048d565b61047683836103b1565b805f19048211156104895761048961039d565b0290505b92915050565b5f6104a160ff8416836103f3565b9392505050565b808202811582820484141761048d5761048d61039d565b5f826104d957634e487b7160e01b5f52601260045260245ffd5b500490565b6118e6806104eb5f395ff3fe608060405260043610610113575f3560e01c806370a082311161009d57806395d89b411161006257806395d89b41146102dd578063a0f2c96414610308578063a9059cbb14610327578063c9567bf914610346578063dd62ed3e1461035a575f80fd5b806370a0823114610246578063715018a61461027a578063751039fc1461028e5780637d1db4a5146102a25780638da5cb5b146102b7575f80fd5b806323b872dd116100e357806323b872dd146101cc578063300d6217146101eb578063313ce5671461020057806333c68c841461021b5780636c0a24eb14610231575f80fd5b806306fdde031461011e578063095ea7b3146101665780630faee56f1461019557806318160ddd146101b8575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b5060408051808201909152600e81526d4e6f74206120536563757269747960901b60208201525b60405161015d919061142b565b60405180910390f35b348015610171575f80fd5b50610185610180366004611484565b61039e565b604051901515815260200161015d565b3480156101a0575f80fd5b506101aa60115481565b60405190815260200161015d565b3480156101c3575f80fd5b506101aa6103e5565b3480156101d7575f80fd5b506101856101e63660046114ae565b610405565b3480156101f6575f80fd5b506101aa60105481565b34801561020b575f80fd5b506040516009815260200161015d565b348015610226575f80fd5b5061022f61046c565b005b34801561023c575f80fd5b506101aa600f5481565b348015610251575f80fd5b506101aa6102603660046114ec565b6001600160a01b03165f9081526001602052604090205490565b348015610285575f80fd5b5061022f6104d8565b348015610299575f80fd5b5061022f610549565b3480156102ad575f80fd5b506101aa600e5481565b3480156102c2575f80fd5b505f546040516001600160a01b03909116815260200161015d565b3480156102e8575f80fd5b506040805180820190915260038152624e415360e81b6020820152610150565b348015610313575f80fd5b5061022f61032236600461151b565b610607565b348015610332575f80fd5b50610185610341366004611484565b6106aa565b348015610351575f80fd5b5061022f6106bf565b348015610365575f80fd5b506101aa6103743660046115db565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6001600160a01b0382165f90815260046020526040812054339060ff16156103ce57506012546001600160a01b03165b6103d98185856109ff565b60019150505b92915050565b5f6103f26009600a611706565b61040090633b9aca00611714565b905090565b5f610411848484610b22565b610462843361045d85604051806060016040528060288152602001611889602891396001600160a01b038a165f90815260026020908152604080832033845290915290205491906110a7565b6109ff565b5060019392505050565b5f546001600160a01b0316331461049e5760405162461bcd60e51b81526004016104959061172b565b60405180910390fd5b5f80546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156104d5573d5f803e3d5ffd5b50565b5f546001600160a01b031633146105015760405162461bcd60e51b81526004016104959061172b565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146105725760405162461bcd60e51b81526004016104959061172b565b6015805460ff60b81b1916905561058b6009600a611706565b61059990633b9aca00611714565b600e556105a86009600a611706565b6105b690633b9aca00611714565b600f557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105e66009600a611706565b6105f490633b9aca00611714565b60405190815260200160405180910390a1565b5f5b81518110156106a65760155482516001600160a01b039091169083908390811061063557610635611760565b60200260200101516001600160a01b03160361064f575050565b61065b6009600a611706565b610666906064611714565b60015f84848151811061067b5761067b611760565b6020908102919091018101516001600160a01b031682528101919091526040015f2055600101610609565b5050565b5f6106b6338484610b22565b50600192915050565b5f546001600160a01b031633146106e85760405162461bcd60e51b81526004016104959061172b565b601554600160a01b900460ff16156107425760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610495565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561078b90309061077d6009600a611706565b61045d90633b9aca00611714565b60145f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ff9190611774565b6001600160a01b031663c9c653963060145f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561085e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108829190611774565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156108cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f09190611774565b601280546001600160a01b039283166001600160a01b031991821681179092556015805490911690911790556014541663f305d7194730610945816001600160a01b03165f9081526001602052604090205490565b5f806109585f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109be573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109e3919061178f565b50506015805462ff00ff60a01b19166201000160a01b17905550565b6001600160a01b038316610a615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610495565b6001600160a01b038216610ac25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610495565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b865760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610495565b6001600160a01b038216610be85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610495565b5f8111610c495760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610495565b5f80546001600160a01b03858116911614801590610c7457505f546001600160a01b03848116911614155b15610f6a576001600160a01b0384165f9081526005602052604090205460ff16158015610cb957506001600160a01b0383165f9081526005602052604090205460ff16155b610cc1575f80fd5b610ced6064610ce7600a54600d5411610cdc57600654610ce0565b6008545b85906110df565b90611164565b6015549091506001600160a01b038581169116148015610d1b57506014546001600160a01b03848116911614155b8015610d3f57506001600160a01b0383165f9081526003602052604090205460ff16155b15610e2557600e54821115610d965760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610495565b600f5482610db8856001600160a01b03165f9081526001602052604090205490565b610dc291906117ba565b1115610e105760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610495565b600d8054905f610e1f836117cd565b91905055505b6015546001600160a01b038481169116148015610e4b57506001600160a01b0384163014155b15610e8357610e756064610ce7600b54600d5411610e6b57600754610ce0565b60095485906110df565b905047610e81476111a5565b505b305f90815260016020526040902054601554600160a81b900460ff16158015610eb957506015546001600160a01b038581169116145b8015610ece5750601554600160b01b900460ff165b8015610edb575060105481115b8015610eea5750600c54600d54115b15610f6857601554600160b81b900460ff1615610f4357436016541015610f3e57610f28610f2384610f1e846011546111dc565b6111dc565b6111f0565b478015610f3857610f38476111a5565b50436016555b610f68565b610f56610f2384610f1e846011546111dc565b478015610f6657610f66476111a5565b505b505b8015610fe257305f90815260016020526040902054610f899082611360565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fd99085815260200190565b60405180910390a35b6001600160a01b0384165f9081526001602052604090205461100490836113be565b6001600160a01b0385165f9081526001602052604090205561104761102983836113be565b6001600160a01b0385165f9081526001602052604090205490611360565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61109085856113be565b60405190815260200160405180910390a350505050565b5f81848411156110ca5760405162461bcd60e51b8152600401610495919061142b565b505f6110d684866117e5565b95945050505050565b5f825f036110ee57505f6103df565b5f6110f98385611714565b90508261110685836117f8565b1461115d5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610495565b9392505050565b5f61115d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113ff565b6013546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156106a6573d5f803e3d5ffd5b5f8183116111ea578261115d565b50919050565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061123657611236611760565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561128d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b19190611774565b816001815181106112c4576112c4611760565b6001600160a01b0392831660209182029290920101526014546112ea91309116846109ff565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113229085905f90869030904290600401611817565b5f604051808303815f87803b158015611339575f80fd5b505af115801561134b573d5f803e3d5ffd5b50506015805460ff60a81b1916905550505050565b5f8061136c83856117ba565b90508381101561115d5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610495565b5f61115d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110a7565b5f818361141f5760405162461bcd60e51b8152600401610495919061142b565b505f6110d684866117f8565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146104d5575f80fd5b803561147f81611460565b919050565b5f8060408385031215611495575f80fd5b82356114a081611460565b946020939093013593505050565b5f805f606084860312156114c0575f80fd5b83356114cb81611460565b925060208401356114db81611460565b929592945050506040919091013590565b5f602082840312156114fc575f80fd5b813561115d81611460565b634e487b7160e01b5f52604160045260245ffd5b5f602080838503121561152c575f80fd5b823567ffffffffffffffff80821115611543575f80fd5b818501915085601f830112611556575f80fd5b81358181111561156857611568611507565b8060051b604051601f19603f8301168101818110858211171561158d5761158d611507565b6040529182528482019250838101850191888311156115aa575f80fd5b938501935b828510156115cf576115c085611474565b845293850193928501926115af565b98975050505050505050565b5f80604083850312156115ec575f80fd5b82356115f781611460565b9150602083013561160781611460565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561166057815f190482111561164657611646611612565b8085161561165357918102915b93841c939080029061162b565b509250929050565b5f82611676575060016103df565b8161168257505f6103df565b816001811461169857600281146116a2576116be565b60019150506103df565b60ff8411156116b3576116b3611612565b50506001821b6103df565b5060208310610133831016604e8410600b84101617156116e1575081810a6103df565b6116eb8383611626565b805f19048211156116fe576116fe611612565b029392505050565b5f61115d60ff841683611668565b80820281158282048414176103df576103df611612565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611784575f80fd5b815161115d81611460565b5f805f606084860312156117a1575f80fd5b8351925060208401519150604084015190509250925092565b808201808211156103df576103df611612565b5f600182016117de576117de611612565b5060010190565b818103818111156103df576103df611612565b5f8261181257634e487b7160e01b5f52601260045260245ffd5b500490565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156118675784516001600160a01b031683529383019391830191600101611842565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220397884f55ea50ba308be0207029c02953b5a4d6ff6ca2cf0dfc849720f2e35ad64736f6c63430008190033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef