608060405260646100126009600a6102f0565b61002090633b9aca00610306565b61002a919061031d565b600555606461003b6009600a6102f0565b61004990633b9aca00610306565b610053919061031d565b600655600780546001600160a01b03191661dead1790556009805460ff60a81b191690556001600a556000600b819055600f600c819055600d819055600e82905581905560108190556100a33390565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600480546001600160a01b031916737d205707c632819d43999db332ed884efb8fde3f17905560016003600061012b6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790556004549091168152600390925290208054909116600117905561017e6009600a6102f0565b61018c90633b9aca00610306565b33600081815260016020526040812092909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101cd6009600a6102f0565b6101db90633b9aca00610306565b60405190815260200160405180910390a361033f565b634e487b7160e01b600052601160045260246000fd5b6001815b600184111561024257808504811115610226576102266101f1565b600184161561023457908102905b60019390931c92800261020b565b935093915050565b600082610259575060016102ea565b81610266575060006102ea565b816001811461027c5760028114610286576102a2565b60019150506102ea565b60ff841115610297576102976101f1565b50506001821b6102ea565b5060208310610133831016604e8410600b84101617156102c5575081810a6102ea565b6102d26000198484610207565b80600019048211156102e6576102e66101f1565b0290505b92915050565b60006102ff60ff84168361024a565b9392505050565b80820281158282048414176102ea576102ea6101f1565b60008261033a57634e487b7160e01b600052601260045260246000fd5b500490565b6115e48061034e6000396000f3fe6080604052600436106100ec5760003560e01c806370a082311161008a578063a9059cbb11610059578063a9059cbb14610266578063bf474bed14610286578063c9567bf91461029c578063dd62ed3e146102b157600080fd5b806370a08231146101f3578063715018a6146102295780638da5cb5b1461023e57806395d89b41146100f857600080fd5b806318160ddd116100c657806318160ddd1461018b57806320800a00146101a057806323b872dd146101b7578063313ce567146101d757600080fd5b806306fdde03146100f8578063095ea7b3146101375780630faee56f1461016757600080fd5b366100f357005b600080fd5b34801561010457600080fd5b506040805180820182526007815266474f47474c455360c81b6020820152905161012e91906111b2565b60405180910390f35b34801561014357600080fd5b50610157610152366004611215565b6102f7565b604051901515815260200161012e565b34801561017357600080fd5b5061017d60065481565b60405190815260200161012e565b34801561019757600080fd5b5061017d61030e565b3480156101ac57600080fd5b506101b561032f565b005b3480156101c357600080fd5b506101576101d2366004611241565b610391565b3480156101e357600080fd5b506040516009815260200161012e565b3480156101ff57600080fd5b5061017d61020e366004611282565b6001600160a01b031660009081526001602052604090205490565b34801561023557600080fd5b506101b56103eb565b34801561024a57600080fd5b506000546040516001600160a01b03909116815260200161012e565b34801561027257600080fd5b50610157610281366004611215565b61045f565b34801561029257600080fd5b5061017d60055481565b3480156102a857600080fd5b506101b561046c565b3480156102bd57600080fd5b5061017d6102cc36600461129f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600061030433848461083d565b5060015b92915050565b600061031c6009600a6113d5565b61032a90633b9aca006113e4565b905090565b6000546001600160a01b031633146103625760405162461bcd60e51b8152600401610359906113fb565b60405180910390fd5b60405133904780156108fc02916000818181858888f1935050505015801561038e573d6000803e3d6000fd5b50565b600061039e848484610961565b6103e184336103dc856103b18988610dcb565b6001600160a01b038a1660009081526002602090815260408083203384529091529020549190610e11565b61083d565b5060019392505050565b6000546001600160a01b031633146104155760405162461bcd60e51b8152600401610359906113fb565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610304338484610961565b6000546001600160a01b031633146104965760405162461bcd60e51b8152600401610359906113fb565b600954600160a01b900460ff16156104f05760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610359565b600880546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561053990309061052b6009600a6113d5565b6103dc90633b9aca006113e4565b600860009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561058c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b09190611430565b6001600160a01b031663c9c6539630600860009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610612573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106369190611430565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610683573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a79190611430565b600980546001600160a01b039283166001600160a01b03199091161790556008541663f305d71947306103e86106f2826001600160a01b031660009081526001602052604090205490565b6106fe906103c46113e4565b610708919061144d565b60008061071d6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610785573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107aa919061146f565b505060095460085460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610803573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610827919061149d565b506009805460ff60a01b1916600160a01b179055565b6001600160a01b03831661089f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610359565b6001600160a01b0382166109005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610359565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166109c55760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610359565b6001600160a01b038216610a275760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610359565b60008111610a895760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610359565b600080546001600160a01b03858116911614801590610ab657506000546001600160a01b03848116911614155b8015610acb57506001600160a01b0384163014155b8015610ae057506001600160a01b0383163014155b15610c7257610b056064610aff600e5485610e4b90919063ffffffff16565b90610ed4565b6009549091506001600160a01b038581169116148015610b3357506008546001600160a01b03848116911614155b8015610b5857506001600160a01b03831660009081526003602052604090205460ff16155b15610b9b57610b836064610aff600c54600f5411610b7857600a54610b7c565b600b545b8590610e4b565b600f80549192506000610b95836114bf565b91905055505b6009546001600160a01b038481169116148015610bc157506001600160a01b0384163014155b15610bec57610be16064610aff600c54600f5411610b7857600a54610b7c565b9050610bec47610f16565b30600090815260016020526040902054600954600160a81b900460ff16158015610c2357506009546001600160a01b038581169116145b8015610c325750600d54600f54115b15610c7057600554811115610c5e57610c5e610c5984610c5484600654610f54565b610f54565b610f69565b478015610c6e57610c6e47610f16565b505b505b8015610cec5730600090815260016020526040902054610c9290826110e3565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610ce39085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610d0f9083611142565b6001600160a01b038516600090815260016020526040902055610d54610d358383611142565b6001600160a01b038516600090815260016020526040902054906110e3565b6001600160a01b038085166000818152600160205260409020929092556007541614610dc5576001600160a01b038084169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610db38585611142565b60405190815260200160405180910390a35b50505050565b3360009081526003602052604090205460609060ff1615610df157610df183338461083d565b604051806060016040528060288152602001611587602891399392505050565b60008184841115610e355760405162461bcd60e51b815260040161035991906111b2565b506000610e4284866114d8565b95945050505050565b600082600003610e5d57506000610308565b6000610e6983856113e4565b905082610e76858361144d565b14610ecd5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610359565b9392505050565b6000610ecd83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611184565b6004546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610f50573d6000803e3d6000fd5b5050565b6000818311610f635782610ecd565b50919050565b6009805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610fb157610fb16114eb565b6001600160a01b03928316602091820292909201810191909152600854604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561100a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102e9190611430565b81600181518110611041576110416114eb565b6001600160a01b039283166020918202929092010152600854611067913091168461083d565b60085460405163791ac94760e01b81526001600160a01b039091169063791ac947906110a0908590600090869030904290600401611501565b600060405180830381600087803b1580156110ba57600080fd5b505af11580156110ce573d6000803e3d6000fd5b50506009805460ff60a81b1916905550505050565b6000806110f08385611573565b905083811015610ecd5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610359565b6000610ecd83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e11565b600081836111a55760405162461bcd60e51b815260040161035991906111b2565b506000610e42848661144d565b602081526000825180602084015260005b818110156111e057602081860181015160408684010152016111c3565b506000604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461038e57600080fd5b6000806040838503121561122857600080fd5b823561123381611200565b946020939093013593505050565b60008060006060848603121561125657600080fd5b833561126181611200565b9250602084013561127181611200565b929592945050506040919091013590565b60006020828403121561129457600080fd5b8135610ecd81611200565b600080604083850312156112b257600080fd5b82356112bd81611200565b915060208301356112cd81611200565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b6001815b60018411156113295780850481111561130d5761130d6112d8565b600184161561131b57908102905b60019390931c9280026112f2565b935093915050565b60008261134057506001610308565b8161134d57506000610308565b8160018114611363576002811461136d57611389565b6001915050610308565b60ff84111561137e5761137e6112d8565b50506001821b610308565b5060208310610133831016604e8410600b84101617156113ac575081810a610308565b6113b960001984846112ee565b80600019048211156113cd576113cd6112d8565b029392505050565b6000610ecd60ff841683611331565b8082028115828204841417610308576103086112d8565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561144257600080fd5b8151610ecd81611200565b60008261146a57634e487b7160e01b600052601260045260246000fd5b500490565b60008060006060848603121561148457600080fd5b5050815160208301516040909301519094929350919050565b6000602082840312156114af57600080fd5b81518015158114610ecd57600080fd5b6000600182016114d1576114d16112d8565b5060010190565b81810381811115610308576103086112d8565b634e487b7160e01b600052603260045260246000fd5b600060a0820187835286602084015260a0604084015280865180835260c08501915060208801925060005b818110156115535783516001600160a01b031683526020938401939092019160010161152c565b50506001600160a01b039590951660608401525050608001529392505050565b80820180821115610308576103086112d856fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220f8db767ed624cdd91556e7b02617ad05737148ed22f53b786364eb2e89a25e5864736f6c634300081a0033