60806040526200001966038d7ea4c680006000196200035f565b620000279060001962000382565b60065560006008819055600f6009819055600a829055602d600b819055600c839055600d819055600e9290925555601280546001600160a01b0319908116735ba16f29a0619296b2eca1a42592dd0c9ec6f1829081179092556013805490911690911790556015805461ffff60a81b1916600160b01b179055650746a528800060168190556017556502ba7def3000601855348015620000c657600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000184573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001aa9190620003aa565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021e9190620003aa565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002929190620003aa565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200035091815260200190565b60405180910390a350620003dc565b6000826200037d57634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003a457634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003bd57600080fd5b81516001600160a01b0381168114620003d557600080fd5b9392505050565b611dad80620003ec6000396000f3fe6080604052600436106101d05760003560e01c80637d1db4a5116100f7578063a2a957bb11610095578063c492f04611610064578063c492f0461461051c578063dd62ed3e1461053c578063ea1644d514610582578063f2fde38b146105a257600080fd5b8063a2a957bb14610497578063a9059cbb146104b7578063bfd79284146104d7578063c3c8cd801461050757600080fd5b80638f70ccf7116100d15780638f70ccf7146104415780638f9a55c01461046157806395d89b41146101fe57806398a5c3151461047757600080fd5b80637d1db4a5146103e05780637f2feddc146103f65780638da5cb5b1461042357600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461037657806370a082311461038b578063715018a6146103ab57806374010ece146103c057600080fd5b8063313ce567146102fa57806349bd5a5e146103165780636b999053146103365780636d8aa8f81461035657600080fd5b80631694505e116101ab5780631694505e1461026857806318160ddd146102a057806323b872dd146102c45780632fd689e3146102e457600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461023857600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611918565b6105c2565b005b34801561020a57600080fd5b506040805180820182526002815261594560f01b6020820152905161022f91906119dd565b60405180910390f35b34801561024457600080fd5b50610258610253366004611a2b565b610661565b604051901515815260200161022f565b34801561027457600080fd5b50601454610288906001600160a01b031681565b6040516001600160a01b03909116815260200161022f565b3480156102ac57600080fd5b5066038d7ea4c680005b60405190815260200161022f565b3480156102d057600080fd5b506102586102df366004611a57565b610678565b3480156102f057600080fd5b506102b660185481565b34801561030657600080fd5b506040516009815260200161022f565b34801561032257600080fd5b50601554610288906001600160a01b031681565b34801561034257600080fd5b506101fc610351366004611a98565b6106e1565b34801561036257600080fd5b506101fc610371366004611ac5565b61072c565b34801561038257600080fd5b506101fc610774565b34801561039757600080fd5b506102b66103a6366004611a98565b6107bf565b3480156103b757600080fd5b506101fc6107e1565b3480156103cc57600080fd5b506101fc6103db366004611ae0565b610855565b3480156103ec57600080fd5b506102b660165481565b34801561040257600080fd5b506102b6610411366004611a98565b60116020526000908152604090205481565b34801561042f57600080fd5b506000546001600160a01b0316610288565b34801561044d57600080fd5b506101fc61045c366004611ac5565b610884565b34801561046d57600080fd5b506102b660175481565b34801561048357600080fd5b506101fc610492366004611ae0565b6108cc565b3480156104a357600080fd5b506101fc6104b2366004611af9565b6108fb565b3480156104c357600080fd5b506102586104d2366004611a2b565b610939565b3480156104e357600080fd5b506102586104f2366004611a98565b60106020526000908152604090205460ff1681565b34801561051357600080fd5b506101fc610946565b34801561052857600080fd5b506101fc610537366004611b2b565b61099a565b34801561054857600080fd5b506102b6610557366004611baf565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561058e57600080fd5b506101fc61059d366004611ae0565b610a3b565b3480156105ae57600080fd5b506101fc6105bd366004611a98565b610a6a565b6000546001600160a01b031633146105f55760405162461bcd60e51b81526004016105ec90611be8565b60405180910390fd5b60005b815181101561065d5760016010600084848151811061061957610619611c1d565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061065581611c49565b9150506105f8565b5050565b600061066e338484610b54565b5060015b92915050565b6000610685848484610c78565b6106d784336106d285604051806060016040528060288152602001611d50602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111b4565b610b54565b5060019392505050565b6000546001600160a01b0316331461070b5760405162461bcd60e51b81526004016105ec90611be8565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107565760405162461bcd60e51b81526004016105ec90611be8565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107a957506013546001600160a01b0316336001600160a01b0316145b6107b257600080fd5b476107bc816111ee565b50565b6001600160a01b03811660009081526002602052604081205461067290611228565b6000546001600160a01b0316331461080b5760405162461bcd60e51b81526004016105ec90611be8565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461087f5760405162461bcd60e51b81526004016105ec90611be8565b601655565b6000546001600160a01b031633146108ae5760405162461bcd60e51b81526004016105ec90611be8565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146108f65760405162461bcd60e51b81526004016105ec90611be8565b601855565b6000546001600160a01b031633146109255760405162461bcd60e51b81526004016105ec90611be8565b600893909355600a91909155600955600b55565b600061066e338484610c78565b6012546001600160a01b0316336001600160a01b0316148061097b57506013546001600160a01b0316336001600160a01b0316145b61098457600080fd5b600061098f306107bf565b90506107bc816112ac565b6000546001600160a01b031633146109c45760405162461bcd60e51b81526004016105ec90611be8565b60005b82811015610a355781600560008686858181106109e6576109e6611c1d565b90506020020160208101906109fb9190611a98565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a2d81611c49565b9150506109c7565b50505050565b6000546001600160a01b03163314610a655760405162461bcd60e51b81526004016105ec90611be8565b601755565b6000546001600160a01b03163314610a945760405162461bcd60e51b81526004016105ec90611be8565b6001600160a01b038116610af95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ec565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bb65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105ec565b6001600160a01b038216610c175760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105ec565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cdc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105ec565b6001600160a01b038216610d3e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105ec565b60008111610da05760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105ec565b6000546001600160a01b03848116911614801590610dcc57506000546001600160a01b03838116911614155b156110ad57601554600160a01b900460ff16610e65576000546001600160a01b03848116911614610e655760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016105ec565b601654811115610eb75760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016105ec565b6001600160a01b03831660009081526010602052604090205460ff16158015610ef957506001600160a01b03821660009081526010602052604090205460ff16155b610f515760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016105ec565b6015546001600160a01b03838116911614610fd65760175481610f73846107bf565b610f7d9190611c62565b10610fd65760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016105ec565b6000610fe1306107bf565b601854601654919250821015908210610ffa5760165491505b8080156110115750601554600160a81b900460ff16155b801561102b57506015546001600160a01b03868116911614155b80156110405750601554600160b01b900460ff165b801561106557506001600160a01b03851660009081526005602052604090205460ff16155b801561108a57506001600160a01b03841660009081526005602052604090205460ff16155b156110aa57611098826112ac565b4780156110a8576110a8476111ee565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806110ef57506001600160a01b03831660009081526005602052604090205460ff165b8061112157506015546001600160a01b0385811691161480159061112157506015546001600160a01b03848116911614155b1561112e575060006111a8565b6015546001600160a01b03858116911614801561115957506014546001600160a01b03848116911614155b1561116b57600854600c55600954600d555b6015546001600160a01b03848116911614801561119657506014546001600160a01b03858116911614155b156111a857600a54600c55600b54600d555b610a3584848484611426565b600081848411156111d85760405162461bcd60e51b81526004016105ec91906119dd565b5060006111e58486611c75565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561065d573d6000803e3d6000fd5b600060065482111561128f5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105ec565b6000611299611454565b90506112a58382611477565b9392505050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106112f4576112f4611c1d565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561134d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113719190611c88565b8160018151811061138457611384611c1d565b6001600160a01b0392831660209182029290920101526014546113aa9130911684610b54565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113e3908590600090869030904290600401611ca5565b600060405180830381600087803b1580156113fd57600080fd5b505af1158015611411573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611433576114336114b9565b61143e8484846114e7565b80610a3557610a35600e54600c55600f54600d55565b60008060006114616115de565b90925090506114708282611477565b9250505090565b60006112a583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061161c565b600c541580156114c95750600d54155b156114d057565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806114f98761164a565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061152b90876116a7565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461155a90866116e9565b6001600160a01b03891660009081526002602052604090205561157c81611748565b6115868483611792565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516115cb91815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c680006115f88282611477565b8210156116135750506006549266038d7ea4c6800092509050565b90939092509050565b6000818361163d5760405162461bcd60e51b81526004016105ec91906119dd565b5060006111e58486611d16565b60008060008060008060008060006116678a600c54600d546117b6565b9250925092506000611677611454565b9050600080600061168a8e87878761180b565b919e509c509a509598509396509194505050505091939550919395565b60006112a583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111b4565b6000806116f68385611c62565b9050838110156112a55760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105ec565b6000611752611454565b90506000611760838361185b565b3060009081526002602052604090205490915061177d90826116e9565b30600090815260026020526040902055505050565b60065461179f90836116a7565b6006556007546117af90826116e9565b6007555050565b60008080806117d060646117ca898961185b565b90611477565b905060006117e360646117ca8a8961185b565b905060006117fb826117f58b866116a7565b906116a7565b9992985090965090945050505050565b600080808061181a888661185b565b90506000611828888761185b565b90506000611836888861185b565b90506000611848826117f586866116a7565b939b939a50919850919650505050505050565b60008260000361186d57506000610672565b60006118798385611d38565b9050826118868583611d16565b146112a55760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105ec565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107bc57600080fd5b8035611913816118f3565b919050565b6000602080838503121561192b57600080fd5b823567ffffffffffffffff8082111561194357600080fd5b818501915085601f83011261195757600080fd5b813581811115611969576119696118dd565b8060051b604051601f19603f8301168101818110858211171561198e5761198e6118dd565b6040529182528482019250838101850191888311156119ac57600080fd5b938501935b828510156119d1576119c285611908565b845293850193928501926119b1565b98975050505050505050565b600060208083528351808285015260005b81811015611a0a578581018301518582016040015282016119ee565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611a3e57600080fd5b8235611a49816118f3565b946020939093013593505050565b600080600060608486031215611a6c57600080fd5b8335611a77816118f3565b92506020840135611a87816118f3565b929592945050506040919091013590565b600060208284031215611aaa57600080fd5b81356112a5816118f3565b8035801515811461191357600080fd5b600060208284031215611ad757600080fd5b6112a582611ab5565b600060208284031215611af257600080fd5b5035919050565b60008060008060808587031215611b0f57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611b4057600080fd5b833567ffffffffffffffff80821115611b5857600080fd5b818601915086601f830112611b6c57600080fd5b813581811115611b7b57600080fd5b8760208260051b8501011115611b9057600080fd5b602092830195509350611ba69186019050611ab5565b90509250925092565b60008060408385031215611bc257600080fd5b8235611bcd816118f3565b91506020830135611bdd816118f3565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611c5b57611c5b611c33565b5060010190565b8082018082111561067257610672611c33565b8181038181111561067257610672611c33565b600060208284031215611c9a57600080fd5b81516112a5816118f3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611cf55784516001600160a01b031683529383019391830191600101611cd0565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d3357634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761067257610672611c3356fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212204db73179d195319ce68572eefcf4b0d3d80bb28e5a8704822af45d7ebf700be964736f6c63430008130033