60806040526200001966038d7ea4c68000600019620001cb565b6200002790600019620001a5565b6008556011805462ffffff60a81b191690556512309ce54000601255651b48eb57e0006013553480156200005a57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600f80546001600160a01b03191633908117909155600854600091825260026020526040822055600190600590620000dc6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155600f549091168352912080549092161790556009600c556006600d55603c600e556200014a3390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200019791815260200190565b60405180910390a3620001ee565b600082821015620001c657634e487b7160e01b600052601160045260246000fd5b500390565b600082620001e957634e487b7160e01b600052601260045260246000fd5b500690565b61182980620001fe6000396000f3fe6080604052600436106100f75760003560e01c8063715018a61161008a578063a9059cbb11610059578063a9059cbb146102a9578063c3c8cd80146102c9578063c9567bf9146102de578063dd62ed3e146102f357600080fd5b8063715018a614610229578063751039fc1461023e5780638da5cb5b1461025357806395d89b411461027b57600080fd5b8063313ce567116100c6578063313ce567146101b65780635932ead1146101d25780636fc3eaec146101f457806370a082311461020957600080fd5b806306fdde0314610103578063095ea7b31461014257806318160ddd1461017257806323b872dd1461019657600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b506040805180820190915260048152634772657960e01b60208201525b60405161013991906115fa565b60405180910390f35b34801561014e57600080fd5b5061016261015d366004611566565b610339565b6040519015158152602001610139565b34801561017e57600080fd5b5066038d7ea4c680005b604051908152602001610139565b3480156101a257600080fd5b506101626101b1366004611525565b610350565b3480156101c257600080fd5b5060405160088152602001610139565b3480156101de57600080fd5b506101f26101ed366004611592565b6103b9565b005b34801561020057600080fd5b506101f261040a565b34801561021557600080fd5b506101886102243660046114b2565b610437565b34801561023557600080fd5b506101f2610459565b34801561024a57600080fd5b506101f26104cd565b34801561025f57600080fd5b506000546040516001600160a01b039091168152602001610139565b34801561028757600080fd5b50604080518082019091526005815264244752455960d81b602082015261012c565b3480156102b557600080fd5b506101626102c4366004611566565b610509565b3480156102d557600080fd5b506101f2610516565b3480156102ea57600080fd5b506101f261054c565b3480156102ff57600080fd5b5061018861030e3660046114ec565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6000610346338484610905565b5060015b92915050565b600061035d848484610a29565b6103af84336103aa856040518060600160405280602881526020016117cc602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610dce565b610905565b5060019392505050565b6000546001600160a01b031633146103ec5760405162461bcd60e51b81526004016103e39061164f565b60405180910390fd5b60118054911515600160b81b0260ff60b81b19909216919091179055565b600f546001600160a01b0316336001600160a01b03161461042a57600080fd5b4761043481610e08565b50565b6001600160a01b03811660009081526002602052604081205461034a90610e42565b6000546001600160a01b031633146104835760405162461bcd60e51b81526004016103e39061164f565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146104f75760405162461bcd60e51b81526004016103e39061164f565b66038d7ea4c680006012819055601355565b6000610346338484610a29565b600f546001600160a01b0316336001600160a01b03161461053657600080fd5b600061054130610437565b905061043481610ec6565b6000546001600160a01b031633146105765760405162461bcd60e51b81526004016103e39061164f565b601154600160a01b900460ff16156105d05760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103e3565b601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561060b308266038d7ea4c68000610905565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561064457600080fd5b505afa158015610658573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067c91906114cf565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156106c457600080fd5b505afa1580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc91906114cf565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561074457600080fd5b505af1158015610758573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077c91906114cf565b601180546001600160a01b0319166001600160a01b039283161790556010541663f305d71947306107ac81610437565b6000806107c16000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561082457600080fd5b505af1158015610838573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061085d91906115cc565b50506011805463ffff00ff60a01b198116630101000160a01b1790915560105460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b1580156108c957600080fd5b505af11580156108dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090191906115af565b5050565b6001600160a01b0383166109675760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103e3565b6001600160a01b0382166109c85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103e3565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610a8d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103e3565b6001600160a01b038216610aef5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103e3565b60008111610b515760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103e3565b6000546001600160a01b03848116911614801590610b7d57506000546001600160a01b03838116911614155b15610db3576001600160a01b03831660009081526006602052604090205460ff16158015610bc457506001600160a01b03821660009081526006602052604090205460ff16155b610bcd57600080fd5b6000600a55600e5415610be257600c54610be6565b600d545b600b556011546001600160a01b038481169116148015610c1457506010546001600160a01b03838116911614155b8015610c3957506001600160a01b03821660009081526005602052604090205460ff16155b8015610c4e5750601154600160b81b900460ff165b15610d2857601254811115610ca55760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016103e3565b60135481610cb284610437565b610cbc91906116f5565b1115610d0a5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103e3565b600e5415610d2857600e8054906000610d2283611765565b91905055505b6000610d3330610437565b601154909150600160a81b900460ff16158015610d5e57506011546001600160a01b03858116911614155b8015610d735750601154600160b01b900460ff165b8015610d7f5750600081115b8015610d8d5750601e600e54105b15610dad57610d9b81610ec6565b478015610dab57610dab47610e08565b505b50610dbe565b6000600a819055600b555b610dc983838361104f565b505050565b60008184841115610df25760405162461bcd60e51b81526004016103e391906115fa565b506000610dff848661174e565b95945050505050565b600f546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610901573d6000803e3d6000fd5b6000600854821115610ea95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016103e3565b6000610eb361105a565b9050610ebf838261107d565b9392505050565b6011805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610f0e57610f0e611792565b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015610f6257600080fd5b505afa158015610f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9a91906114cf565b81600181518110610fad57610fad611792565b6001600160a01b039283166020918202929092010152601054610fd39130911684610905565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac9479061100c908590600090869030904290600401611684565b600060405180830381600087803b15801561102657600080fd5b505af115801561103a573d6000803e3d6000fd5b50506011805460ff60a81b1916905550505050565b610dc98383836110bf565b60008060006110676111b6565b9092509050611076828261107d565b9250505090565b6000610ebf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506111f4565b6000806000806000806110d187611222565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150611103908761127f565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461113290866112c1565b6001600160a01b03891660009081526002602052604090205561115481611320565b61115e848361136a565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516111a391815260200190565b60405180910390a3505050505050505050565b600854600090819066038d7ea4c680006111d0828261107d565b8210156111eb5750506008549266038d7ea4c6800092509050565b90939092509050565b600081836112155760405162461bcd60e51b81526004016103e391906115fa565b506000610dff848661170d565b600080600080600080600080600061123f8a600a54600b5461138e565b925092509250600061124f61105a565b905060008060006112628e8787876113e3565b919e509c509a509598509396509194505050505091939550919395565b6000610ebf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610dce565b6000806112ce83856116f5565b905083811015610ebf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103e3565b600061132a61105a565b905060006113388383611433565b3060009081526002602052604090205490915061135590826112c1565b30600090815260026020526040902055505050565b600854611377908361127f565b60085560095461138790826112c1565b6009555050565b60008080806113a860646113a28989611433565b9061107d565b905060006113bb60646113a28a89611433565b905060006113d3826113cd8b8661127f565b9061127f565b9992985090965090945050505050565b60008080806113f28886611433565b905060006114008887611433565b9050600061140e8888611433565b90506000611420826113cd868661127f565b939b939a50919850919650505050505050565b6000826114425750600061034a565b600061144e838561172f565b90508261145b858361170d565b14610ebf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103e3565b6000602082840312156114c457600080fd5b8135610ebf816117a8565b6000602082840312156114e157600080fd5b8151610ebf816117a8565b600080604083850312156114ff57600080fd5b823561150a816117a8565b9150602083013561151a816117a8565b809150509250929050565b60008060006060848603121561153a57600080fd5b8335611545816117a8565b92506020840135611555816117a8565b929592945050506040919091013590565b6000806040838503121561157957600080fd5b8235611584816117a8565b946020939093013593505050565b6000602082840312156115a457600080fd5b8135610ebf816117bd565b6000602082840312156115c157600080fd5b8151610ebf816117bd565b6000806000606084860312156115e157600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b818110156116275785810183015185820160400152820161160b565b81811115611639576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116d45784516001600160a01b0316835293830193918301916001016116af565b50506001600160a01b03969096166060850152505050608001529392505050565b600082198211156117085761170861177c565b500190565b60008261172a57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156117495761174961177c565b500290565b6000828210156117605761176061177c565b500390565b6000816117745761177461177c565b506000190190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461043457600080fd5b801515811461043457600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122043bdc115fca922befff76ac1ce41048bb5445fb04582f918aaa9eea1349ab00964736f6c63430008070033