60806040526000600455600580546001600160a01b031990811673ee0810d34f2defcea5ba38c4829317a42a9427101790915560068054909116734d2b962f5a663cc07be96a820a300a6a4a8e468c1790556019600755602d600855620000696009600a62000534565b62000079906301312d006200054c565b600a556009600a6200008c919062000534565b6200009c906301312d006200054c565b600b55620000ad6009600a62000534565b620000bc90627a12006200054c565b600c55600e805462ffffff60a01b19169055348015620000db57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600d80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000182573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a8919062000566565b6001600160a01b031663c9c6539630600d60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200020b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000231919062000566565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200027f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a5919062000566565b600e80546001600160a01b0319166001600160a01b0392909216919091179055620002d36009600a62000534565b620002e390633b9aca006200054c565b3360009081526001602081905260408220929092556003906200030e6000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff19958616179055308152600392839052908120805490931660019081179093556200035b3390565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055600554821681526003909352818320805485166001908117909155600654909116835291208054909216179055620003be3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620003f86009600a62000534565b6200040890633b9aca006200054c565b60405190815260200160405180910390a362000591565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620004765781600019048211156200045a576200045a6200041f565b808516156200046857918102915b93841c93908002906200043a565b509250929050565b6000826200048f575060016200052e565b816200049e575060006200052e565b8160018114620004b75760028114620004c257620004e2565b60019150506200052e565b60ff841115620004d657620004d66200041f565b50506001821b6200052e565b5060208310610133831016604e8410600b841016171562000507575081810a6200052e565b62000513838362000435565b80600019048211156200052a576200052a6200041f565b0290505b92915050565b60006200054560ff8416836200047e565b9392505050565b80820281158282048414176200052e576200052e6200041f565b6000602082840312156200057957600080fd5b81516001600160a01b03811681146200054557600080fd5b61162b80620005a16000396000f3fe60806040526004361061012e5760003560e01c8063751039fc116100ab5780639036ed4d1161006f5780639036ed4d1461033c57806395d89b411461035c578063a9059cbb1461038a578063bf474bed146103aa578063dd62ed3e146103c0578063f42938901461040657600080fd5b8063751039fc146102c85780637d1db4a5146102dd5780638a8c523c146102f35780638da5cb5b146103085780638f9a55c01461032657600080fd5b8063313ce567116100f2578063313ce5671461021457806349bd5a5e1461023057806351bc3c851461026857806370a082311461027d578063715018a6146102b357600080fd5b806306fdde031461013a578063095ea7b31461017f57806318160ddd146101af578063193c17d0146101d257806323b872dd146101f457600080fd5b3661013557005b600080fd5b34801561014657600080fd5b5060408051808201909152600a81526923b7b6322334b73232b960b11b60208201525b6040516101769190611222565b60405180910390f35b34801561018b57600080fd5b5061019f61019a366004611285565b61041b565b6040519015158152602001610176565b3480156101bb57600080fd5b506101c4610432565b604051908152602001610176565b3480156101de57600080fd5b506101f26101ed366004611285565b610453565b005b34801561020057600080fd5b5061019f61020f3660046112b1565b6104e4565b34801561022057600080fd5b5060405160098152602001610176565b34801561023c57600080fd5b50600e54610250906001600160a01b031681565b6040516001600160a01b039091168152602001610176565b34801561027457600080fd5b506101f261054d565b34801561028957600080fd5b506101c46102983660046112f2565b6001600160a01b031660009081526001602052604090205490565b3480156102bf57600080fd5b506101f26105a0565b3480156102d457600080fd5b506101f261061d565b3480156102e957600080fd5b506101c4600a5481565b3480156102ff57600080fd5b506101f26106ed565b34801561031457600080fd5b506000546001600160a01b0316610250565b34801561033257600080fd5b506101c4600b5481565b34801561034857600080fd5b506101f261035736600461130f565b61078e565b34801561036857600080fd5b5060408051808201909152600581526423a7a6222360d91b6020820152610169565b34801561039657600080fd5b5061019f6103a5366004611285565b6107c3565b3480156103b657600080fd5b506101c4600c5481565b3480156103cc57600080fd5b506101c46103db366004611331565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561041257600080fd5b506101f26107d0565b6000610428338484610814565b5060015b92915050565b60006104406009600a611464565b61044e90633b9aca00611473565b905090565b306001600160a01b0383160361046857600080fd5b60065460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af11580156104bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104df919061148a565b505050565b60006104f1848484610938565b610543843361053e856040518060600160405280602881526020016115ce602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610e3d565b610814565b5060019392505050565b6005546001600160a01b0316336001600160a01b03161461056d57600080fd5b30600090815260016020526040902054801561058c5761058c81610e77565b47801561059c5761059c81610ff1565b5050565b6000546001600160a01b031633146105d35760405162461bcd60e51b81526004016105ca906114ac565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106475760405162461bcd60e51b81526004016105ca906114ac565b6106536009600a611464565b61066190633b9aca00611473565b600a90815561067290600990611464565b61068090633b9aca00611473565b600b5561068f6009600a611464565b61069c90621e8480611473565b600c557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6106cc6009600a611464565b6106da90633b9aca00611473565b60405190815260200160405180910390a1565b6000546001600160a01b031633146107175760405162461bcd60e51b81526004016105ca906114ac565b600e54600160a01b900460ff16156107715760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a2054726164696e6720616c7265616479206f70656e000000000060448201526064016105ca565b600e805462ff00ff60a01b19166201000160a01b17905543600955565b6000546001600160a01b031633146107b85760405162461bcd60e51b81526004016105ca906114ac565b600791909155600855565b6000610428338484610938565b478015610811576006546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561059c573d6000803e3d6000fd5b50565b6001600160a01b0383166108765760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105ca565b6001600160a01b0382166108d75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105ca565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661099c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105ca565b6001600160a01b0382166109fe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105ca565b60008111610a605760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105ca565b600080546001600160a01b03858116911614801590610a8d57506000546001600160a01b03848116911614155b15610cfa57600e546001600160a01b038581169116148015610abd5750600d546001600160a01b03848116911614155b8015610ae257506001600160a01b03831660009081526003602052604090205460ff16155b15610c2357600e54600160a01b900460ff16610b335760405162461bcd60e51b815260206004820152601060248201526f2a3930b234b733903737ba1037b832b760811b60448201526064016105ca565b600a54821115610b855760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016105ca565b600b5482610ba8856001600160a01b031660009081526001602052604090205490565b610bb291906114e1565b1115610c005760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016105ca565b610c206064610c1a6007548561108890919063ffffffff16565b90611111565b90505b600e546001600160a01b038481169116148015610c4957506001600160a01b0384163014155b15610c6b57610c686064610c1a6008548561108890919063ffffffff16565b90505b30600090815260016020526040902054600e54600160a81b900460ff16158015610ca25750600e546001600160a01b038581169116145b8015610cb75750600e54600160b01b900460ff165b8015610cc45750600c5481115b8015610cd257504360095414155b15610cf857610ce2600c54610e77565b478015610cf257610cf247610ff1565b50436009555b505b8015610d745730600090815260016020526040902054610d1a9082611153565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d6b9085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054610d9790836111b2565b6001600160a01b038516600090815260016020526040902055610ddc610dbd83836111b2565b6001600160a01b03851660009081526001602052604090205490611153565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610e2685856111b2565b60405190815260200160405180910390a350505050565b60008184841115610e615760405162461bcd60e51b81526004016105ca9190611222565b506000610e6e84866114f4565b95945050505050565b600e805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610ebf57610ebf611507565b6001600160a01b03928316602091820292909201810191909152600d54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015610f18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3c919061151d565b81600181518110610f4f57610f4f611507565b6001600160a01b039283166020918202929092010152600d54610f759130911684610814565b600d5460405163791ac94760e01b81526001600160a01b039091169063791ac94790610fae90859060009086903090429060040161153a565b600060405180830381600087803b158015610fc857600080fd5b505af1158015610fdc573d6000803e3d6000fd5b5050600e805460ff60a81b1916905550505050565b6000610ffe826002611111565b9050600061100c82846114f4565b6005546040519192506001600160a01b03169083156108fc029084906000818181858888f19350505050158015611047573d6000803e3d6000fd5b506006546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611082573d6000803e3d6000fd5b50505050565b60008260000361109a5750600061042c565b60006110a68385611473565b9050826110b385836115ab565b1461110a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105ca565b9392505050565b600061110a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506111f4565b60008061116083856114e1565b90508381101561110a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105ca565b600061110a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e3d565b600081836112155760405162461bcd60e51b81526004016105ca9190611222565b506000610e6e84866115ab565b600060208083528351808285015260005b8181101561124f57858101830151858201604001528201611233565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461081157600080fd5b6000806040838503121561129857600080fd5b82356112a381611270565b946020939093013593505050565b6000806000606084860312156112c657600080fd5b83356112d181611270565b925060208401356112e181611270565b929592945050506040919091013590565b60006020828403121561130457600080fd5b813561110a81611270565b6000806040838503121561132257600080fd5b50508035926020909101359150565b6000806040838503121561134457600080fd5b823561134f81611270565b9150602083013561135f81611270565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156113bb5781600019048211156113a1576113a161136a565b808516156113ae57918102915b93841c9390800290611385565b509250929050565b6000826113d25750600161042c565b816113df5750600061042c565b81600181146113f557600281146113ff5761141b565b600191505061042c565b60ff8411156114105761141061136a565b50506001821b61042c565b5060208310610133831016604e8410600b841016171561143e575081810a61042c565b6114488383611380565b806000190482111561145c5761145c61136a565b029392505050565b600061110a60ff8416836113c3565b808202811582820484141761042c5761042c61136a565b60006020828403121561149c57600080fd5b8151801515811461110a57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8082018082111561042c5761042c61136a565b8181038181111561042c5761042c61136a565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561152f57600080fd5b815161110a81611270565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561158a5784516001600160a01b031683529383019391830191600101611565565b50506001600160a01b03969096166060850152505050608001529392505050565b6000826115c857634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122008b73d3d41c48faff847c48422cd02e38f3107b015b68c46430eefdd923b119a64736f6c63430008110033