60806040526006805460ff1916600190811790915560146007819055602360089081556002600955600a928355600b91909155601e600c819055600d556000600e556200004c916200035d565b6200005d906401f4afef1062000375565b600f556200006e6008600a6200035d565b6200007f906401f4afef1062000375565b601055620000906008600a6200035d565b620000a090637d2bfbc462000375565b601155620000b16008600a6200035d565b620000c190637d2bfbc462000375565b6012556014805461ffff60a81b19169055348015620000df57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b0319166101003302179055620001466008600a6200035d565b62000157906461ca5cb12062000375565b336000908152600160208190526040822092909255600390620001826000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260039093528183208054851660019081179091556006546101009004909116835291208054909216179055620001e63390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002206008600a6200035d565b62000231906461ca5cb12062000375565b60405190815260200160405180910390a36200038f565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200029f57816000190482111562000283576200028362000248565b808516156200029157918102915b93841c939080029062000263565b509250929050565b600082620002b85750600162000357565b81620002c75750600062000357565b8160018114620002e05760028114620002eb576200030b565b600191505062000357565b60ff841115620002ff57620002ff62000248565b50506001821b62000357565b5060208310610133831016604e8410600b841016171562000330575081810a62000357565b6200033c83836200025e565b806000190482111562000353576200035362000248565b0290505b92915050565b60006200036e60ff841683620002a7565b9392505050565b808202811582820484141762000357576200035762000248565b611ca3806200039f6000396000f3fe6080604052600436106101445760003560e01c8063751039fc116100b6578063bf474bed1161006f578063bf474bed14610378578063c876d0b91461038e578063c9567bf9146103a8578063d34628cc146103bd578063dd62ed3e146103dd578063ec1f3f631461042357600080fd5b8063751039fc146102ef5780637d1db4a5146103045780638da5cb5b1461031a5780638f9a55c01461034257806395d89b4114610150578063a9059cbb1461035857600080fd5b8063313ce56711610108578063313ce5671461021857806331c2d847146102345780633bbac5791461025657806351bc3c851461028f57806370a08231146102a4578063715018a6146102da57600080fd5b806306fdde0314610150578063095ea7b31461018f5780630faee56f146101bf57806318160ddd146101e357806323b872dd146101f857600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5060408051808201825260078152664c756c7a73656360c81b602082015290516101869190611771565b60405180910390f35b34801561019b57600080fd5b506101af6101aa3660046117e4565b610443565b6040519015158152602001610186565b3480156101cb57600080fd5b506101d560125481565b604051908152602001610186565b3480156101ef57600080fd5b506101d561045a565b34801561020457600080fd5b506101af610213366004611810565b61047c565b34801561022457600080fd5b5060405160088152602001610186565b34801561024057600080fd5b5061025461024f366004611867565b6104e5565b005b34801561026257600080fd5b506101af61027136600461192c565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561029b57600080fd5b50610254610584565b3480156102b057600080fd5b506101d56102bf36600461192c565b6001600160a01b031660009081526001602052604090205490565b3480156102e657600080fd5b506102546105d8565b3480156102fb57600080fd5b5061025461064c565b34801561031057600080fd5b506101d5600f5481565b34801561032657600080fd5b506000546040516001600160a01b039091168152602001610186565b34801561034e57600080fd5b506101d560105481565b34801561036457600080fd5b506101af6103733660046117e4565b61070b565b34801561038457600080fd5b506101d560115481565b34801561039a57600080fd5b506006546101af9060ff1681565b3480156103b457600080fd5b50610254610718565b3480156103c957600080fd5b506102546103d8366004611867565b610ad4565b3480156103e957600080fd5b506101d56103f8366004611949565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561042f57600080fd5b5061025461043e366004611982565b610b66565b6000610450338484610b9f565b5060015b92915050565b60006104686008600a611a95565b610477906461ca5cb120611aa4565b905090565b6000610489848484610cc3565b6104db84336104d685604051806060016040528060288152602001611c46602891396001600160a01b038a16600090815260026020908152604080832033845290915290205491906113d0565b610b9f565b5060019392505050565b6000546001600160a01b031633146105185760405162461bcd60e51b815260040161050f90611abb565b60405180910390fd5b60005b81518110156105805760006004600084848151811061053c5761053c611af0565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061057881611b06565b91505061051b565b5050565b60065461010090046001600160a01b0316336001600160a01b0316146105a957600080fd5b3060009081526001602052604090205480156105c8576105c88161140a565b4780156105805761058081611584565b6000546001600160a01b031633146106025760405162461bcd60e51b815260040161050f90611abb565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106765760405162461bcd60e51b815260040161050f90611abb565b6106826008600a611a95565b610691906461ca5cb120611aa4565b600f556106a06008600a611a95565b6106af906461ca5cb120611aa4565b6010556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6106e96008600a611a95565b6106f8906461ca5cb120611aa4565b60405190815260200160405180910390a1565b6000610450338484610cc3565b6000546001600160a01b031633146107425760405162461bcd60e51b815260040161050f90611abb565b601454600160a01b900460ff161561079c5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161050f565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556107e69030906107d76008600a611a95565b6104d6906461ca5cb120611aa4565b601360009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085d9190611b1f565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e39190611b1f565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610930573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109549190611b1f565b601480546001600160a01b039283166001600160a01b03199091161790556013541663f305d719473061099c816001600160a01b031660009081526001602052604090205490565b6000806109b16000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610a19573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a3e9190611b3c565b50506014805462ff00ff60a01b1981166201000160a01b1790915560135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610aad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad19190611b6a565b50565b6000546001600160a01b03163314610afe5760405162461bcd60e51b815260040161050f90611abb565b60005b815181101561058057600160046000848481518110610b2257610b22611af0565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610b5e81611b06565b915050610b01565b60065461010090046001600160a01b0316336001600160a01b031614610b8b57600080fd5b600954811115610b9a57600080fd5b600955565b6001600160a01b038316610c015760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161050f565b6001600160a01b038216610c625760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161050f565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161050f565b6001600160a01b038216610d895760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161050f565b60008111610deb5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161050f565b600080610e0e6064610e08600a54866115c290919063ffffffff16565b9061164b565b9050610e226000546001600160a01b031690565b6001600160a01b0316856001600160a01b031614158015610e5157506000546001600160a01b03858116911614155b156111ce576001600160a01b03851660009081526004602052604090205460ff16158015610e9857506001600160a01b03841660009081526004602052604090205460ff16155b610ea157600080fd5b610ec76064610e08600b54600e5411610ebc57600754610ec0565b6009545b86906115c2565b60065490925060ff1615610faf576013546001600160a01b03858116911614801590610f0157506014546001600160a01b03858116911614155b15610faf57326000908152600560205260409020544311610f9c5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a40161050f565b3260009081526005602052604090204390555b6014546001600160a01b038681169116148015610fda57506013546001600160a01b03858116911614155b8015610fff57506001600160a01b03841660009081526003602052604090205460ff16155b156110e757600f548311156110565760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161050f565b60105483611079866001600160a01b031660009081526001602052604090205490565b6110839190611b8c565b11156110d15760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161050f565b600e80549060006110e183611b06565b91905055505b6014546001600160a01b03858116911614801561110d57506001600160a01b0385163014155b156111305761112d6064610e08600c54600e5411610ebc57600854610ec0565b91505b30600090815260016020526040902054601454600160a81b900460ff1615801561116757506014546001600160a01b038681169116145b801561117c5750601454600160b01b900460ff165b8015611189575060115481115b80156111985750600d54600e54115b156111cc576111ba6111b5856111b08460125461168d565b61168d565b61140a565b4780156111ca576111ca47611584565b505b505b6001600160a01b0385166000908152600160205260409020546111f190846116a2565b6001600160a01b0386166000908152600160205260409020556112406112218261121b86866116a2565b906116a2565b6001600160a01b038616600090815260016020526040902054906116e4565b6001600160a01b0380861660008181526001602052604090209290925586167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61128e8461121b88886116a2565b60405190815260200160405180910390a3811561131957306000908152600160205260409020546112bf90836116e4565b30600081815260016020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113109086815260200190565b60405180910390a35b80156113c9576000805260016020527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb495461135490826116e4565b600080805260016020527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49919091556040516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113c09085815260200190565b60405180910390a35b5050505050565b600081848411156113f45760405162461bcd60e51b815260040161050f9190611771565b5060006114018486611b9f565b95945050505050565b6014805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061145257611452611af0565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cf9190611b1f565b816001815181106114e2576114e2611af0565b6001600160a01b0392831660209182029290920101526013546115089130911684610b9f565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac94790611541908590600090869030904290600401611bb2565b600060405180830381600087803b15801561155b57600080fd5b505af115801561156f573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b6006546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610580573d6000803e3d6000fd5b6000826000036115d457506000610454565b60006115e08385611aa4565b9050826115ed8583611c23565b146116445760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161050f565b9392505050565b600061164483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611743565b600081831161169c5782611644565b50919050565b600061164483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113d0565b6000806116f18385611b8c565b9050838110156116445760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161050f565b600081836117645760405162461bcd60e51b815260040161050f9190611771565b5060006114018486611c23565b600060208083528351808285015260005b8181101561179e57858101830151858201604001528201611782565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ad157600080fd5b80356117df816117bf565b919050565b600080604083850312156117f757600080fd5b8235611802816117bf565b946020939093013593505050565b60008060006060848603121561182557600080fd5b8335611830816117bf565b92506020840135611840816117bf565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561187a57600080fd5b823567ffffffffffffffff8082111561189257600080fd5b818501915085601f8301126118a657600080fd5b8135818111156118b8576118b8611851565b8060051b604051601f19603f830116810181811085821117156118dd576118dd611851565b6040529182528482019250838101850191888311156118fb57600080fd5b938501935b8285101561192057611911856117d4565b84529385019392850192611900565b98975050505050505050565b60006020828403121561193e57600080fd5b8135611644816117bf565b6000806040838503121561195c57600080fd5b8235611967816117bf565b91506020830135611977816117bf565b809150509250929050565b60006020828403121561199457600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156119ec5781600019048211156119d2576119d261199b565b808516156119df57918102915b93841c93908002906119b6565b509250929050565b600082611a0357506001610454565b81611a1057506000610454565b8160018114611a265760028114611a3057611a4c565b6001915050610454565b60ff841115611a4157611a4161199b565b50506001821b610454565b5060208310610133831016604e8410600b8410161715611a6f575081810a610454565b611a7983836119b1565b8060001904821115611a8d57611a8d61199b565b029392505050565b600061164460ff8416836119f4565b80820281158282048414176104545761045461199b565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201611b1857611b1861199b565b5060010190565b600060208284031215611b3157600080fd5b8151611644816117bf565b600080600060608486031215611b5157600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611b7c57600080fd5b8151801515811461164457600080fd5b808201808211156104545761045461199b565b818103818111156104545761045461199b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611c025784516001600160a01b031683529383019391830191600101611bdd565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611c4057634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220643ce5dd8de00c1cc551df77a35cd5a32044501d494c67e8bfddd56779f43afe64736f6c63430008130033