60806040526006805460ff19166001908117909155601460078190556008556009818155600a9182556011600b819055600c819055600d556000600e5562000047916200034a565b6200005590614e2062000362565b600f55620000666009600a6200034a565b6200007490614e2062000362565b601055620000856009600a6200034a565b620000939061196462000362565b601155620000a46009600a6200034a565b620000b29061196462000362565b6012556014805461ffff60a81b19169055348015620000d057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b0319166101003302179055620001376009600a6200034a565b6200014690620f424062000362565b336000908152600160208190526040822092909255600390620001716000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620001d53390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200020f6009600a6200034a565b6200021e90620f424062000362565b60405190815260200160405180910390a36200037c565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200028c57816000190482111562000270576200027062000235565b808516156200027e57918102915b93841c939080029062000250565b509250929050565b600082620002a55750600162000344565b81620002b45750600062000344565b8160018114620002cd5760028114620002d857620002f8565b600191505062000344565b60ff841115620002ec57620002ec62000235565b50506001821b62000344565b5060208310610133831016604e8410600b84101617156200031d575081810a62000344565b6200032983836200024b565b806000190482111562000340576200034062000235565b0290505b92915050565b60006200035b60ff84168362000294565b9392505050565b808202811582820484141762000344576200034462000235565b611bff806200038c6000396000f3fe6080604052600436106101445760003560e01c8063751039fc116100b6578063bf474bed1161006f578063bf474bed146103af578063c876d0b9146103c5578063c9567bf9146103df578063d34628cc146103f4578063dd62ed3e14610414578063ec1f3f631461045a57600080fd5b8063751039fc146102f65780637d1db4a51461030b5780638da5cb5b146103215780638f9a55c01461034957806395d89b411461035f578063a9059cbb1461038f57600080fd5b8063313ce56711610108578063313ce5671461021f57806331c2d8471461023b5780633bbac5791461025d57806351bc3c851461029657806370a08231146102ab578063715018a6146102e157600080fd5b806306fdde0314610150578063095ea7b3146101965780630faee56f146101c657806318160ddd146101ea57806323b872dd146101ff57600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5060408051808201909152600b81526a0424954434f494e20322e360ac1b60208201525b60405161018d91906116ca565b60405180910390f35b3480156101a257600080fd5b506101b66101b1366004611740565b61047a565b604051901515815260200161018d565b3480156101d257600080fd5b506101dc60125481565b60405190815260200161018d565b3480156101f657600080fd5b506101dc610491565b34801561020b57600080fd5b506101b661021a36600461176c565b6104b1565b34801561022b57600080fd5b506040516009815260200161018d565b34801561024757600080fd5b5061025b6102563660046117c3565b61051a565b005b34801561026957600080fd5b506101b6610278366004611888565b6001600160a01b031660009081526004602052604090205460ff1690565b3480156102a257600080fd5b5061025b6105b9565b3480156102b757600080fd5b506101dc6102c6366004611888565b6001600160a01b031660009081526001602052604090205490565b3480156102ed57600080fd5b5061025b61060d565b34801561030257600080fd5b5061025b610681565b34801561031757600080fd5b506101dc600f5481565b34801561032d57600080fd5b506000546040516001600160a01b03909116815260200161018d565b34801561035557600080fd5b506101dc60105481565b34801561036b57600080fd5b50604080518082019091526007815266042544320322e360cc1b6020820152610180565b34801561039b57600080fd5b506101b66103aa366004611740565b61073a565b3480156103bb57600080fd5b506101dc60115481565b3480156103d157600080fd5b506006546101b69060ff1681565b3480156103eb57600080fd5b5061025b610747565b34801561040057600080fd5b5061025b61040f3660046117c3565b610b02565b34801561042057600080fd5b506101dc61042f3660046118a5565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561046657600080fd5b5061025b6104753660046118de565b610b94565b6000610487338484610be0565b5060015b92915050565b600061049f6009600a6119f1565b6104ac90620f4240611a00565b905090565b60006104be848484610d04565b610510843361050b85604051806060016040528060288152602001611ba2602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611329565b610be0565b5060019392505050565b6000546001600160a01b0316331461054d5760405162461bcd60e51b815260040161054490611a17565b60405180910390fd5b60005b81518110156105b55760006004600084848151811061057157610571611a4c565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806105ad81611a62565b915050610550565b5050565b60065461010090046001600160a01b0316336001600160a01b0316146105de57600080fd5b3060009081526001602052604090205480156105fd576105fd81611363565b4780156105b5576105b5816114dd565b6000546001600160a01b031633146106375760405162461bcd60e51b815260040161054490611a17565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106ab5760405162461bcd60e51b815260040161054490611a17565b6106b76009600a6119f1565b6106c490620f4240611a00565b600f556106d36009600a6119f1565b6106e090620f4240611a00565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61071a6009600a6119f1565b61072790620f4240611a00565b60405190815260200160405180910390a1565b6000610487338484610d04565b6000546001600160a01b031633146107715760405162461bcd60e51b815260040161054490611a17565b601454600160a01b900460ff16156107cb5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610544565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556108139030906108066009600a6119f1565b61050b90620f4240611a00565b601360009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190611a7b565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109109190611a7b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561095d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109819190611a7b565b601480546001600160a01b039283166001600160a01b03199091161790556013541663f305d71947306109c9816001600160a01b031660009081526001602052604090205490565b6000806109de6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a46573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a6b9190611a98565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190611ac6565b506014805462ff00ff60a01b19166201000160a01b179055565b6000546001600160a01b03163314610b2c5760405162461bcd60e51b815260040161054490611a17565b60005b81518110156105b557600160046000848481518110610b5057610b50611a4c565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610b8c81611a62565b915050610b2f565b60065461010090046001600160a01b0316336001600160a01b031614610bb957600080fd5b6009548111158015610bcd5750600a548111155b610bd657600080fd5b6009819055600a55565b6001600160a01b038316610c425760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610544565b6001600160a01b038216610ca35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610544565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d685760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610544565b6001600160a01b038216610dca5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610544565b60008111610e2c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610544565b600080546001600160a01b03858116911614801590610e5957506000546001600160a01b03848116911614155b156111e6576001600160a01b03841660009081526004602052604090205460ff16158015610ea057506001600160a01b03831660009081526004602052604090205460ff16155b610ea957600080fd5b610ed56064610ecf600b54600e5411610ec457600754610ec8565b6009545b859061151b565b906115a4565b60065490915060ff1615610fbd576013546001600160a01b03848116911614801590610f0f57506014546001600160a01b03848116911614155b15610fbd57326000908152600560205260409020544311610faa5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610544565b3260009081526005602052604090204390555b6014546001600160a01b038581169116148015610fe857506013546001600160a01b03848116911614155b801561100d57506001600160a01b03831660009081526003602052604090205460ff16155b156110f557600f548211156110645760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610544565b60105482611087856001600160a01b031660009081526001602052604090205490565b6110919190611ae8565b11156110df5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610544565b600e80549060006110ef83611a62565b91905055505b6014546001600160a01b03848116911614801561111b57506001600160a01b0384163014155b15611148576111456064610ecf600c54600e541161113b57600854610ec8565b600a54859061151b565b90505b30600090815260016020526040902054601454600160a81b900460ff1615801561117f57506014546001600160a01b038581169116145b80156111945750601454600160b01b900460ff165b80156111a1575060115481115b80156111b05750600d54600e54115b156111e4576111d26111cd846111c8846012546115e6565b6115e6565b611363565b4780156111e2576111e2476114dd565b505b505b8015611260573060009081526001602052604090205461120690826115fb565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906112579085815260200190565b60405180910390a35b6001600160a01b038416600090815260016020526040902054611283908361165a565b6001600160a01b0385166000908152600160205260409020556112c86112a9838361165a565b6001600160a01b038516600090815260016020526040902054906115fb565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef611312858561165a565b60405190815260200160405180910390a350505050565b6000818484111561134d5760405162461bcd60e51b815260040161054491906116ca565b50600061135a8486611afb565b95945050505050565b6014805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106113ab576113ab611a4c565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611404573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114289190611a7b565b8160018151811061143b5761143b611a4c565b6001600160a01b0392831660209182029290920101526013546114619130911684610be0565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac9479061149a908590600090869030904290600401611b0e565b600060405180830381600087803b1580156114b457600080fd5b505af11580156114c8573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f193505050501580156105b5573d6000803e3d6000fd5b60008260000361152d5750600061048b565b60006115398385611a00565b9050826115468583611b7f565b1461159d5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610544565b9392505050565b600061159d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061169c565b60008183116115f5578261159d565b50919050565b6000806116088385611ae8565b90508381101561159d5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610544565b600061159d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611329565b600081836116bd5760405162461bcd60e51b815260040161054491906116ca565b50600061135a8486611b7f565b600060208083528351808285015260005b818110156116f7578581018301518582016040015282016116db565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461172d57600080fd5b50565b803561173b81611718565b919050565b6000806040838503121561175357600080fd5b823561175e81611718565b946020939093013593505050565b60008060006060848603121561178157600080fd5b833561178c81611718565b9250602084013561179c81611718565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156117d657600080fd5b823567ffffffffffffffff808211156117ee57600080fd5b818501915085601f83011261180257600080fd5b813581811115611814576118146117ad565b8060051b604051601f19603f83011681018181108582111715611839576118396117ad565b60405291825284820192508381018501918883111561185757600080fd5b938501935b8285101561187c5761186d85611730565b8452938501939285019261185c565b98975050505050505050565b60006020828403121561189a57600080fd5b813561159d81611718565b600080604083850312156118b857600080fd5b82356118c381611718565b915060208301356118d381611718565b809150509250929050565b6000602082840312156118f057600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561194857816000190482111561192e5761192e6118f7565b8085161561193b57918102915b93841c9390800290611912565b509250929050565b60008261195f5750600161048b565b8161196c5750600061048b565b8160018114611982576002811461198c576119a8565b600191505061048b565b60ff84111561199d5761199d6118f7565b50506001821b61048b565b5060208310610133831016604e8410600b84101617156119cb575081810a61048b565b6119d5838361190d565b80600019048211156119e9576119e96118f7565b029392505050565b600061159d60ff841683611950565b808202811582820484141761048b5761048b6118f7565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201611a7457611a746118f7565b5060010190565b600060208284031215611a8d57600080fd5b815161159d81611718565b600080600060608486031215611aad57600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611ad857600080fd5b8151801515811461159d57600080fd5b8082018082111561048b5761048b6118f7565b8181038181111561048b5761048b6118f7565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611b5e5784516001600160a01b031683529383019391830191600101611b39565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b9c57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122035b49ab5068078b3b2596d1df119e8453535000e41f56b9999e23f539afec1f564736f6c63430008110033