60806040526200001966038d7ea4c6800060001962000348565b62000027906000196200036b565b60065560006008819055600f6009819055600a829055602d600b819055600c839055600d819055600e929092555560128054336001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b1790556512309ce5400060168190556017819055601855348015620000af57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa1580156200016d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000193919062000393565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000207919062000393565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000255573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027b919062000393565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200033991815260200190565b60405180910390a350620003c5565b6000826200036657634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200038d57634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003a657600080fd5b81516001600160a01b0381168114620003be57600080fd5b9392505050565b611dee80620003d56000396000f3fe6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063bba4de0011610095578063dd62ed3e11610064578063dd62ed3e1461055d578063ea1644d5146105a3578063f2fde38b146105c3578063f50c7c29146105e357600080fd5b8063bba4de00146104d8578063bfd79284146104f8578063c3c8cd8014610528578063c492f0461461053d57600080fd5b806395d89b41116100d157806395d89b411461044657806398a5c31514610478578063a2a957bb14610498578063a9059cbb146104b857600080fd5b80638da5cb5b146103f25780638f70ccf7146104105780638f9a55c01461043057600080fd5b806349bd5a5e1161016f578063715018a61161013e578063715018a61461037a57806374010ece1461038f5780637d1db4a5146103af5780637f2feddc146103c557600080fd5b806349bd5a5e146103035780636d8aa8f8146103235780636fc3eaec1461034557806370a082311461035a57600080fd5b806318160ddd116101ab57806318160ddd1461028d57806323b872dd146102b15780632fd689e3146102d1578063313ce567146102e757600080fd5b806306fdde03146101dd578063095ea7b3146102255780631694505e1461025557600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152600d81526c151c9d5d1a111bd9d94811d415609a1b60208201525b60405161021c919061191e565b60405180910390f35b34801561023157600080fd5b50610245610240366004611991565b610603565b604051901515815260200161021c565b34801561026157600080fd5b50601454610275906001600160a01b031681565b6040516001600160a01b03909116815260200161021c565b34801561029957600080fd5b5066038d7ea4c680005b60405190815260200161021c565b3480156102bd57600080fd5b506102456102cc3660046119bd565b61061a565b3480156102dd57600080fd5b506102a360185481565b3480156102f357600080fd5b506040516009815260200161021c565b34801561030f57600080fd5b50601554610275906001600160a01b031681565b34801561032f57600080fd5b5061034361033e366004611a0e565b610683565b005b34801561035157600080fd5b506103436106d4565b34801561036657600080fd5b506102a3610375366004611a29565b61071f565b34801561038657600080fd5b50610343610741565b34801561039b57600080fd5b506103436103aa366004611a46565b6107b5565b3480156103bb57600080fd5b506102a360165481565b3480156103d157600080fd5b506102a36103e0366004611a29565b60116020526000908152604090205481565b3480156103fe57600080fd5b506000546001600160a01b0316610275565b34801561041c57600080fd5b5061034361042b366004611a0e565b6107e4565b34801561043c57600080fd5b506102a360175481565b34801561045257600080fd5b506040805180820190915260098152685452555448444f474560b81b602082015261020f565b34801561048457600080fd5b50610343610493366004611a46565b61082c565b3480156104a457600080fd5b506103436104b3366004611a5f565b61085b565b3480156104c457600080fd5b506102456104d3366004611991565b610899565b3480156104e457600080fd5b506103436104f3366004611aa7565b6108a6565b34801561050457600080fd5b50610245610513366004611a29565b60106020526000908152604090205460ff1681565b34801561053457600080fd5b5061034361093c565b34801561054957600080fd5b50610343610558366004611b6c565b610990565b34801561056957600080fd5b506102a3610578366004611bf0565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105af57600080fd5b506103436105be366004611a46565b610a31565b3480156105cf57600080fd5b506103436105de366004611a29565b610a60565b3480156105ef57600080fd5b506103436105fe366004611a29565b610b4a565b6000610610338484610b95565b5060015b92915050565b6000610627848484610cb9565b610679843361067485604051806060016040528060288152602001611d91602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111f5565b610b95565b5060019392505050565b6000546001600160a01b031633146106b65760405162461bcd60e51b81526004016106ad90611c29565b60405180910390fd5b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061070957506013546001600160a01b0316336001600160a01b0316145b61071257600080fd5b4761071c8161122f565b50565b6001600160a01b03811660009081526002602052604081205461061490611269565b6000546001600160a01b0316331461076b5760405162461bcd60e51b81526004016106ad90611c29565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107df5760405162461bcd60e51b81526004016106ad90611c29565b601655565b6000546001600160a01b0316331461080e5760405162461bcd60e51b81526004016106ad90611c29565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146108565760405162461bcd60e51b81526004016106ad90611c29565b601855565b6000546001600160a01b031633146108855760405162461bcd60e51b81526004016106ad90611c29565b600893909355600a91909155600955600b55565b6000610610338484610cb9565b6000546001600160a01b031633146108d05760405162461bcd60e51b81526004016106ad90611c29565b60005b8151811015610938576001601060008484815181106108f4576108f4611c5e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061093081611c8a565b9150506108d3565b5050565b6012546001600160a01b0316336001600160a01b0316148061097157506013546001600160a01b0316336001600160a01b0316145b61097a57600080fd5b60006109853061071f565b905061071c816112ed565b6000546001600160a01b031633146109ba5760405162461bcd60e51b81526004016106ad90611c29565b60005b82811015610a2b5781600560008686858181106109dc576109dc611c5e565b90506020020160208101906109f19190611a29565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a2381611c8a565b9150506109bd565b50505050565b6000546001600160a01b03163314610a5b5760405162461bcd60e51b81526004016106ad90611c29565b601755565b6000546001600160a01b03163314610a8a5760405162461bcd60e51b81526004016106ad90611c29565b6001600160a01b038116610aef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ad565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610b745760405162461bcd60e51b81526004016106ad90611c29565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6001600160a01b038316610bf75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ad565b6001600160a01b038216610c585760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ad565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d1d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ad565b6001600160a01b038216610d7f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ad565b60008111610de15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106ad565b6000546001600160a01b03848116911614801590610e0d57506000546001600160a01b03838116911614155b156110ee57601554600160a01b900460ff16610ea6576000546001600160a01b03848116911614610ea65760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106ad565b601654811115610ef85760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106ad565b6001600160a01b03831660009081526010602052604090205460ff16158015610f3a57506001600160a01b03821660009081526010602052604090205460ff16155b610f925760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106ad565b6015546001600160a01b038381169116146110175760175481610fb48461071f565b610fbe9190611ca3565b106110175760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106ad565b60006110223061071f565b60185460165491925082101590821061103b5760165491505b8080156110525750601554600160a81b900460ff16155b801561106c57506015546001600160a01b03868116911614155b80156110815750601554600160b01b900460ff165b80156110a657506001600160a01b03851660009081526005602052604090205460ff16155b80156110cb57506001600160a01b03841660009081526005602052604090205460ff16155b156110eb576110d9826112ed565b4780156110e9576110e94761122f565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061113057506001600160a01b03831660009081526005602052604090205460ff165b8061116257506015546001600160a01b0385811691161480159061116257506015546001600160a01b03848116911614155b1561116f575060006111e9565b6015546001600160a01b03858116911614801561119a57506014546001600160a01b03848116911614155b156111ac57600854600c55600954600d555b6015546001600160a01b0384811691161480156111d757506014546001600160a01b03858116911614155b156111e957600a54600c55600b54600d555b610a2b84848484611467565b600081848411156112195760405162461bcd60e51b81526004016106ad919061191e565b5060006112268486611cb6565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610938573d6000803e3d6000fd5b60006006548211156112d05760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106ad565b60006112da611495565b90506112e683826114b8565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061133557611335611c5e565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561138e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b29190611cc9565b816001815181106113c5576113c5611c5e565b6001600160a01b0392831660209182029290920101526014546113eb9130911684610b95565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611424908590600090869030904290600401611ce6565b600060405180830381600087803b15801561143e57600080fd5b505af1158015611452573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611474576114746114fa565b61147f848484611528565b80610a2b57610a2b600e54600c55600f54600d55565b60008060006114a261161f565b90925090506114b182826114b8565b9250505090565b60006112e683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061165d565b600c5415801561150a5750600d54155b1561151157565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061153a8761168b565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061156c90876116e8565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461159b908661172a565b6001600160a01b0389166000908152600260205260409020556115bd81611789565b6115c784836117d3565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161160c91815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c6800061163982826114b8565b8210156116545750506006549266038d7ea4c6800092509050565b90939092509050565b6000818361167e5760405162461bcd60e51b81526004016106ad919061191e565b5060006112268486611d57565b60008060008060008060008060006116a88a600c54600d546117f7565b92509250925060006116b8611495565b905060008060006116cb8e87878761184c565b919e509c509a509598509396509194505050505091939550919395565b60006112e683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111f5565b6000806117378385611ca3565b9050838110156112e65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106ad565b6000611793611495565b905060006117a1838361189c565b306000908152600260205260409020549091506117be908261172a565b30600090815260026020526040902055505050565b6006546117e090836116e8565b6006556007546117f0908261172a565b6007555050565b6000808080611811606461180b898961189c565b906114b8565b90506000611824606461180b8a8961189c565b9050600061183c826118368b866116e8565b906116e8565b9992985090965090945050505050565b600080808061185b888661189c565b90506000611869888761189c565b90506000611877888861189c565b905060006118898261183686866116e8565b939b939a50919850919650505050505050565b6000826000036118ae57506000610614565b60006118ba8385611d79565b9050826118c78583611d57565b146112e65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106ad565b600060208083528351808285015260005b8181101561194b5785810183015185820160400152820161192f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461071c57600080fd5b803561198c8161196c565b919050565b600080604083850312156119a457600080fd5b82356119af8161196c565b946020939093013593505050565b6000806000606084860312156119d257600080fd5b83356119dd8161196c565b925060208401356119ed8161196c565b929592945050506040919091013590565b8035801515811461198c57600080fd5b600060208284031215611a2057600080fd5b6112e6826119fe565b600060208284031215611a3b57600080fd5b81356112e68161196c565b600060208284031215611a5857600080fd5b5035919050565b60008060008060808587031215611a7557600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611aba57600080fd5b823567ffffffffffffffff80821115611ad257600080fd5b818501915085601f830112611ae657600080fd5b813581811115611af857611af8611a91565b8060051b604051601f19603f83011681018181108582111715611b1d57611b1d611a91565b604052918252848201925083810185019188831115611b3b57600080fd5b938501935b82851015611b6057611b5185611981565b84529385019392850192611b40565b98975050505050505050565b600080600060408486031215611b8157600080fd5b833567ffffffffffffffff80821115611b9957600080fd5b818601915086601f830112611bad57600080fd5b813581811115611bbc57600080fd5b8760208260051b8501011115611bd157600080fd5b602092830195509350611be791860190506119fe565b90509250925092565b60008060408385031215611c0357600080fd5b8235611c0e8161196c565b91506020830135611c1e8161196c565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611c9c57611c9c611c74565b5060010190565b8082018082111561061457610614611c74565b8181038181111561061457610614611c74565b600060208284031215611cdb57600080fd5b81516112e68161196c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d365784516001600160a01b031683529383019391830191600101611d11565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d7457634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761061457610614611c7456fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212200d8fc74a65991c483cdf6ccbe579ae0ae8780099d9e29581669ba981df7ed5d564736f6c63430008110033