60806040526006805460ff19166001908117909155600a6007819055601460089081556005600955918155601e600b819055600c556000600d5562000045919062000350565b62000055906302aea54062000368565b600e55620000666008600a62000350565b6200007690630393870062000368565b600f55620000876008600a62000350565b620000969062e4e1c062000368565b601055620000a76008600a62000350565b620000b69062e4e1c062000368565b6011556013805461ffff60a81b19169055348015620000d457600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b03191661010033021790556200013b6008600a62000350565b6200014b9063b2d05e0062000368565b336000908152600160208190526040822092909255600390620001766000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620001da3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002146008600a62000350565b620002249063b2d05e0062000368565b60405190815260200160405180910390a362000382565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002925781600019048211156200027657620002766200023b565b808516156200028457918102915b93841c939080029062000256565b509250929050565b600082620002ab575060016200034a565b81620002ba575060006200034a565b8160018114620002d35760028114620002de57620002fe565b60019150506200034a565b60ff841115620002f257620002f26200023b565b50506001821b6200034a565b5060208310610133831016604e8410600b841016171562000323575081810a6200034a565b6200032f838362000251565b80600019048211156200034657620003466200023b565b0290505b92915050565b60006200036160ff8416836200029a565b9392505050565b80820281158282048414176200034a576200034a6200023b565b611b6080620003926000396000f3fe6080604052600436106101395760003560e01c8063751039fc116100ab578063a9059cbb1161006f578063a9059cbb1461037e578063bf474bed1461039e578063c876d0b9146103b4578063c9567bf9146103ce578063d34628cc146103e3578063dd62ed3e1461040357600080fd5b8063751039fc146102e65780637d1db4a5146102fb5780638da5cb5b146103115780638f9a55c01461033957806395d89b411461034f57600080fd5b8063313ce567116100fd578063313ce5671461020f57806331c2d8471461022b5780633bbac5791461024d57806351bc3c851461028657806370a082311461029b578063715018a6146102d157600080fd5b806306fdde0314610145578063095ea7b3146101865780630faee56f146101b657806318160ddd146101da57806323b872dd146101ef57600080fd5b3661014057005b600080fd5b34801561015157600080fd5b50604080518082019091526006815265596173756b6560d01b60208201525b60405161017d9190611647565b60405180910390f35b34801561019257600080fd5b506101a66101a13660046116ba565b610449565b604051901515815260200161017d565b3480156101c257600080fd5b506101cc60115481565b60405190815260200161017d565b3480156101e657600080fd5b506101cc610460565b3480156101fb57600080fd5b506101a661020a3660046116e6565b610481565b34801561021b57600080fd5b506040516008815260200161017d565b34801561023757600080fd5b5061024b61024636600461173d565b6104ea565b005b34801561025957600080fd5b506101a6610268366004611802565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561029257600080fd5b5061024b610589565b3480156102a757600080fd5b506101cc6102b6366004611802565b6001600160a01b031660009081526001602052604090205490565b3480156102dd57600080fd5b5061024b6105dd565b3480156102f257600080fd5b5061024b610651565b34801561030757600080fd5b506101cc600e5481565b34801561031d57600080fd5b506000546040516001600160a01b03909116815260200161017d565b34801561034557600080fd5b506101cc600f5481565b34801561035b57600080fd5b50604080518082019091526006815265594153554b4560d01b6020820152610170565b34801561038a57600080fd5b506101a66103993660046116ba565b61070d565b3480156103aa57600080fd5b506101cc60105481565b3480156103c057600080fd5b506006546101a69060ff1681565b3480156103da57600080fd5b5061024b61071a565b3480156103ef57600080fd5b5061024b6103fe36600461173d565b610ad5565b34801561040f57600080fd5b506101cc61041e36600461181f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6000610456338484610b67565b5060015b92915050565b600061046e6008600a611952565b61047c9063b2d05e00611961565b905090565b600061048e848484610c8b565b6104e084336104db85604051806060016040528060288152602001611b03602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906112a6565b610b67565b5060019392505050565b6000546001600160a01b0316331461051d5760405162461bcd60e51b815260040161051490611978565b60405180910390fd5b60005b815181101561058557600060046000848481518110610541576105416119ad565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061057d816119c3565b915050610520565b5050565b60065461010090046001600160a01b0316336001600160a01b0316146105ae57600080fd5b3060009081526001602052604090205480156105cd576105cd816112e0565b478015610585576105858161145a565b6000546001600160a01b031633146106075760405162461bcd60e51b815260040161051490611978565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461067b5760405162461bcd60e51b815260040161051490611978565b6106876008600a611952565b6106959063b2d05e00611961565b600e556106a46008600a611952565b6106b29063b2d05e00611961565b600f556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6106ec6008600a611952565b6106fa9063b2d05e00611961565b60405190815260200160405180910390a1565b6000610456338484610c8b565b6000546001600160a01b031633146107445760405162461bcd60e51b815260040161051490611978565b601354600160a01b900460ff161561079e5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610514565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556107e79030906107d96008600a611952565b6104db9063b2d05e00611961565b601260009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561083a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085e91906119dc565b6001600160a01b031663c9c6539630601260009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e491906119dc565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610931573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095591906119dc565b601380546001600160a01b039283166001600160a01b03199091161790556012541663f305d719473061099d816001600160a01b031660009081526001602052604090205490565b6000806109b26000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a1a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a3f91906119f9565b50506013805462ff00ff60a01b1981166201000160a01b1790915560125460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190611a27565b50565b6000546001600160a01b03163314610aff5760405162461bcd60e51b815260040161051490611978565b60005b815181101561058557600160046000848481518110610b2357610b236119ad565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610b5f816119c3565b915050610b02565b6001600160a01b038316610bc95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610514565b6001600160a01b038216610c2a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610514565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610514565b6001600160a01b038216610d515760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610514565b60008111610db35760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610514565b600080546001600160a01b03858116911614801590610de057506000546001600160a01b03848116911614155b15611163576001600160a01b03841660009081526004602052604090205460ff16158015610e2757506001600160a01b03831660009081526004602052604090205460ff16155b610e3057600080fd5b610e5c6064610e56600a54600d5411610e4b57600754610e4f565b6009545b8590611498565b90611521565b60065490915060ff1615610f44576012546001600160a01b03848116911614801590610e9657506013546001600160a01b03848116911614155b15610f4457326000908152600560205260409020544311610f315760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610514565b3260009081526005602052604090204390555b6013546001600160a01b038581169116148015610f6f57506012546001600160a01b03848116911614155b8015610f9457506001600160a01b03831660009081526003602052604090205460ff16155b1561107c57600e54821115610feb5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610514565b600f548261100e856001600160a01b031660009081526001602052604090205490565b6110189190611a49565b11156110665760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610514565b600d8054906000611076836119c3565b91905055505b6013546001600160a01b0384811691161480156110a257506001600160a01b0384163014155b156110c5576110c26064610e56600b54600d5411610e4b57600854610e4f565b90505b30600090815260016020526040902054601354600160a81b900460ff161580156110fc57506013546001600160a01b038581169116145b80156111115750601354600160b01b900460ff165b801561111e575060105481115b801561112d5750600c54600d54115b156111615761114f61114a8461114584601154611563565b611563565b6112e0565b47801561115f5761115f4761145a565b505b505b6001600160a01b0384166000908152600160205260409020546111869083611578565b6001600160a01b0385166000908152600160205260409020556111cb6111ac8383611578565b6001600160a01b038516600090815260016020526040902054906115ba565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6112158585611578565b60405190815260200160405180910390a380156112a0573060009081526001602052604090205461124690826115ba565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112979085815260200190565b60405180910390a35b50505050565b600081848411156112ca5760405162461bcd60e51b81526004016105149190611647565b5060006112d78486611a5c565b95945050505050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611328576113286119ad565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a591906119dc565b816001815181106113b8576113b86119ad565b6001600160a01b0392831660209182029290920101526012546113de9130911684610b67565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac94790611417908590600090869030904290600401611a6f565b600060405180830381600087803b15801561143157600080fd5b505af1158015611445573d6000803e3d6000fd5b50506013805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610585573d6000803e3d6000fd5b6000826000036114aa5750600061045a565b60006114b68385611961565b9050826114c38583611ae0565b1461151a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610514565b9392505050565b600061151a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611619565b6000818311611572578261151a565b50919050565b600061151a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112a6565b6000806115c78385611a49565b90508381101561151a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610514565b6000818361163a5760405162461bcd60e51b81526004016105149190611647565b5060006112d78486611ae0565b600060208083528351808285015260005b8181101561167457858101830151858201604001528201611658565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ad257600080fd5b80356116b581611695565b919050565b600080604083850312156116cd57600080fd5b82356116d881611695565b946020939093013593505050565b6000806000606084860312156116fb57600080fd5b833561170681611695565b9250602084013561171681611695565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561175057600080fd5b823567ffffffffffffffff8082111561176857600080fd5b818501915085601f83011261177c57600080fd5b81358181111561178e5761178e611727565b8060051b604051601f19603f830116810181811085821117156117b3576117b3611727565b6040529182528482019250838101850191888311156117d157600080fd5b938501935b828510156117f6576117e7856116aa565b845293850193928501926117d6565b98975050505050505050565b60006020828403121561181457600080fd5b813561151a81611695565b6000806040838503121561183257600080fd5b823561183d81611695565b9150602083013561184d81611695565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156118a957816000190482111561188f5761188f611858565b8085161561189c57918102915b93841c9390800290611873565b509250929050565b6000826118c05750600161045a565b816118cd5750600061045a565b81600181146118e357600281146118ed57611909565b600191505061045a565b60ff8411156118fe576118fe611858565b50506001821b61045a565b5060208310610133831016604e8410600b841016171561192c575081810a61045a565b611936838361186e565b806000190482111561194a5761194a611858565b029392505050565b600061151a60ff8416836118b1565b808202811582820484141761045a5761045a611858565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600182016119d5576119d5611858565b5060010190565b6000602082840312156119ee57600080fd5b815161151a81611695565b600080600060608486031215611a0e57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611a3957600080fd5b8151801515811461151a57600080fd5b8082018082111561045a5761045a611858565b8181038181111561045a5761045a611858565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611abf5784516001600160a01b031683529383019391830191600101611a9a565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611afd57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122032aebe644229df59c9aea909d31155d0923557abd03994ae265164130da7093d64736f6c63430008110033