60806040526200001a670de0b6b3a764000060001962000362565b620000289060001962000385565b600655600060088190556014600955600a8190556028600b819055600c829055600d819055600e91909155600f55601280546001600160a01b031990811673207f465a9ca39b2ae0a535615c0c6dee0c5015559081179092556013805490911690911790556015805461ffff60a81b1916600160b01b17905566470de4df82000060168190556017556509184e72a000601855348015620000c857600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000186573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ac9190620003ad565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002209190620003ad565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002949190620003ad565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef670de0b6b3a76400006040516200035391815260200190565b60405180910390a350620003df565b6000826200038057634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003a757634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003c057600080fd5b81516001600160a01b0381168114620003d857600080fd5b9392505050565b611f5a80620003ef6000396000f3fe6080604052600436106101d05760003560e01c80637d1db4a5116100f7578063a2a957bb11610095578063c492f04611610064578063c492f0461461054f578063dd62ed3e1461056f578063ea1644d5146105b5578063f2fde38b146105d557600080fd5b8063a2a957bb146104ca578063a9059cbb146104ea578063bfd792841461050a578063c3c8cd801461053a57600080fd5b80638f70ccf7116100d15780638f70ccf7146104475780638f9a55c01461046757806395d89b411461047d57806398a5c315146104aa57600080fd5b80637d1db4a5146103e65780637f2feddc146103fc5780638da5cb5b1461042957600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461037c57806370a0823114610391578063715018a6146103b157806374010ece146103c657600080fd5b8063313ce5671461030057806349bd5a5e1461031c5780636b9990531461033c5780636d8aa8f81461035c57600080fd5b80631694505e116101ab5780631694505e1461026d57806318160ddd146102a557806323b872dd146102ca5780632fd689e3146102ea57600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461023d57600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611ac5565b6105f5565b005b34801561020a57600080fd5b5060408051808201909152600481526310da185960e21b60208201525b6040516102349190611b8a565b60405180910390f35b34801561024957600080fd5b5061025d610258366004611bd8565b610694565b6040519015158152602001610234565b34801561027957600080fd5b5060145461028d906001600160a01b031681565b6040516001600160a01b039091168152602001610234565b3480156102b157600080fd5b50670de0b6b3a76400005b604051908152602001610234565b3480156102d657600080fd5b5061025d6102e5366004611c04565b6106ab565b3480156102f657600080fd5b506102bc60185481565b34801561030c57600080fd5b5060405160098152602001610234565b34801561032857600080fd5b5060155461028d906001600160a01b031681565b34801561034857600080fd5b506101fc610357366004611c45565b610714565b34801561036857600080fd5b506101fc610377366004611c72565b61075f565b34801561038857600080fd5b506101fc6107a7565b34801561039d57600080fd5b506102bc6103ac366004611c45565b6107f2565b3480156103bd57600080fd5b506101fc610814565b3480156103d257600080fd5b506101fc6103e1366004611c8d565b610888565b3480156103f257600080fd5b506102bc60165481565b34801561040857600080fd5b506102bc610417366004611c45565b60116020526000908152604090205481565b34801561043557600080fd5b506000546001600160a01b031661028d565b34801561045357600080fd5b506101fc610462366004611c72565b6108b7565b34801561047357600080fd5b506102bc60175481565b34801561048957600080fd5b5060408051808201909152600481526310d2105160e21b6020820152610227565b3480156104b657600080fd5b506101fc6104c5366004611c8d565b6108ff565b3480156104d657600080fd5b506101fc6104e5366004611ca6565b61092e565b3480156104f657600080fd5b5061025d610505366004611bd8565b610ae4565b34801561051657600080fd5b5061025d610525366004611c45565b60106020526000908152604090205460ff1681565b34801561054657600080fd5b506101fc610af1565b34801561055b57600080fd5b506101fc61056a366004611cd8565b610b45565b34801561057b57600080fd5b506102bc61058a366004611d5c565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105c157600080fd5b506101fc6105d0366004611c8d565b610be6565b3480156105e157600080fd5b506101fc6105f0366004611c45565b610c15565b6000546001600160a01b031633146106285760405162461bcd60e51b815260040161061f90611d95565b60405180910390fd5b60005b81518110156106905760016010600084848151811061064c5761064c611dca565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061068881611df6565b91505061062b565b5050565b60006106a1338484610cff565b5060015b92915050565b60006106b8848484610e23565b61070a843361070585604051806060016040528060288152602001611efd602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061135f565b610cff565b5060019392505050565b6000546001600160a01b0316331461073e5760405162461bcd60e51b815260040161061f90611d95565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107895760405162461bcd60e51b815260040161061f90611d95565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107dc57506013546001600160a01b0316336001600160a01b0316145b6107e557600080fd5b476107ef81611399565b50565b6001600160a01b0381166000908152600260205260408120546106a5906113d3565b6000546001600160a01b0316331461083e5760405162461bcd60e51b815260040161061f90611d95565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108b25760405162461bcd60e51b815260040161061f90611d95565b601655565b6000546001600160a01b031633146108e15760405162461bcd60e51b815260040161061f90611d95565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146109295760405162461bcd60e51b815260040161061f90611d95565b601855565b6000546001600160a01b031633146109585760405162461bcd60e51b815260040161061f90611d95565b60048411156109b75760405162461bcd60e51b815260206004820152602560248201527f4275792072657761726473206d757374206265206265747765656e20302520616044820152646e6420342560d81b606482015260840161061f565b6062821115610a135760405162461bcd60e51b815260206004820152602260248201527f42757920746178206d757374206265206265747765656e20302520616e642039604482015261382560f01b606482015260840161061f565b6004831115610a735760405162461bcd60e51b815260206004820152602660248201527f53656c6c2072657761726473206d757374206265206265747765656e20302520604482015265616e6420342560d01b606482015260840161061f565b6062811115610ad05760405162461bcd60e51b815260206004820152602360248201527f53656c6c20746178206d757374206265206265747765656e20302520616e642060448201526239382560e81b606482015260840161061f565b600893909355600a91909155600955600b55565b60006106a1338484610e23565b6012546001600160a01b0316336001600160a01b03161480610b2657506013546001600160a01b0316336001600160a01b0316145b610b2f57600080fd5b6000610b3a306107f2565b90506107ef81611457565b6000546001600160a01b03163314610b6f5760405162461bcd60e51b815260040161061f90611d95565b60005b82811015610be0578160056000868685818110610b9157610b91611dca565b9050602002016020810190610ba69190611c45565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610bd881611df6565b915050610b72565b50505050565b6000546001600160a01b03163314610c105760405162461bcd60e51b815260040161061f90611d95565b601755565b6000546001600160a01b03163314610c3f5760405162461bcd60e51b815260040161061f90611d95565b6001600160a01b038116610ca45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061f565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610d615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161061f565b6001600160a01b038216610dc25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161061f565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161061f565b6001600160a01b038216610ee95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161061f565b60008111610f4b5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161061f565b6000546001600160a01b03848116911614801590610f7757506000546001600160a01b03838116911614155b1561125857601554600160a01b900460ff16611010576000546001600160a01b038481169116146110105760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161061f565b6016548111156110625760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161061f565b6001600160a01b03831660009081526010602052604090205460ff161580156110a457506001600160a01b03821660009081526010602052604090205460ff16155b6110fc5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161061f565b6015546001600160a01b03838116911614611181576017548161111e846107f2565b6111289190611e0f565b106111815760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161061f565b600061118c306107f2565b6018546016549192508210159082106111a55760165491505b8080156111bc5750601554600160a81b900460ff16155b80156111d657506015546001600160a01b03868116911614155b80156111eb5750601554600160b01b900460ff165b801561121057506001600160a01b03851660009081526005602052604090205460ff16155b801561123557506001600160a01b03841660009081526005602052604090205460ff16155b156112555761124382611457565b4780156112535761125347611399565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061129a57506001600160a01b03831660009081526005602052604090205460ff165b806112cc57506015546001600160a01b038581169116148015906112cc57506015546001600160a01b03848116911614155b156112d957506000611353565b6015546001600160a01b03858116911614801561130457506014546001600160a01b03848116911614155b1561131657600854600c55600954600d555b6015546001600160a01b03848116911614801561134157506014546001600160a01b03858116911614155b1561135357600a54600c55600b54600d555b610be0848484846115d1565b600081848411156113835760405162461bcd60e51b815260040161061f9190611b8a565b5060006113908486611e22565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610690573d6000803e3d6000fd5b600060065482111561143a5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161061f565b60006114446115ff565b90506114508382611622565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061149f5761149f611dca565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156114f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151c9190611e35565b8160018151811061152f5761152f611dca565b6001600160a01b0392831660209182029290920101526014546115559130911684610cff565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061158e908590600090869030904290600401611e52565b600060405180830381600087803b1580156115a857600080fd5b505af11580156115bc573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b806115de576115de611664565b6115e9848484611692565b80610be057610be0600e54600c55600f54600d55565b600080600061160c611789565b909250905061161b8282611622565b9250505090565b600061145083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117c9565b600c541580156116745750600d54155b1561167b57565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806116a4876117f7565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506116d69087611854565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546117059086611896565b6001600160a01b038916600090815260026020526040902055611727816118f5565b611731848361193f565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161177691815260200190565b60405180910390a3505050505050505050565b6006546000908190670de0b6b3a76400006117a48282611622565b8210156117c057505060065492670de0b6b3a764000092509050565b90939092509050565b600081836117ea5760405162461bcd60e51b815260040161061f9190611b8a565b5060006113908486611ec3565b60008060008060008060008060006118148a600c54600d54611963565b92509250925060006118246115ff565b905060008060006118378e8787876119b8565b919e509c509a509598509396509194505050505091939550919395565b600061145083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061135f565b6000806118a38385611e0f565b9050838110156114505760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161061f565b60006118ff6115ff565b9050600061190d8383611a08565b3060009081526002602052604090205490915061192a9082611896565b30600090815260026020526040902055505050565b60065461194c9083611854565b60065560075461195c9082611896565b6007555050565b600080808061197d60646119778989611a08565b90611622565b9050600061199060646119778a89611a08565b905060006119a8826119a28b86611854565b90611854565b9992985090965090945050505050565b60008080806119c78886611a08565b905060006119d58887611a08565b905060006119e38888611a08565b905060006119f5826119a28686611854565b939b939a50919850919650505050505050565b600082600003611a1a575060006106a5565b6000611a268385611ee5565b905082611a338583611ec3565b146114505760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161061f565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107ef57600080fd5b8035611ac081611aa0565b919050565b60006020808385031215611ad857600080fd5b823567ffffffffffffffff80821115611af057600080fd5b818501915085601f830112611b0457600080fd5b813581811115611b1657611b16611a8a565b8060051b604051601f19603f83011681018181108582111715611b3b57611b3b611a8a565b604052918252848201925083810185019188831115611b5957600080fd5b938501935b82851015611b7e57611b6f85611ab5565b84529385019392850192611b5e565b98975050505050505050565b600060208083528351808285015260005b81811015611bb757858101830151858201604001528201611b9b565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611beb57600080fd5b8235611bf681611aa0565b946020939093013593505050565b600080600060608486031215611c1957600080fd5b8335611c2481611aa0565b92506020840135611c3481611aa0565b929592945050506040919091013590565b600060208284031215611c5757600080fd5b813561145081611aa0565b80358015158114611ac057600080fd5b600060208284031215611c8457600080fd5b61145082611c62565b600060208284031215611c9f57600080fd5b5035919050565b60008060008060808587031215611cbc57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611ced57600080fd5b833567ffffffffffffffff80821115611d0557600080fd5b818601915086601f830112611d1957600080fd5b813581811115611d2857600080fd5b8760208260051b8501011115611d3d57600080fd5b602092830195509350611d539186019050611c62565b90509250925092565b60008060408385031215611d6f57600080fd5b8235611d7a81611aa0565b91506020830135611d8a81611aa0565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611e0857611e08611de0565b5060010190565b808201808211156106a5576106a5611de0565b818103818111156106a5576106a5611de0565b600060208284031215611e4757600080fd5b815161145081611aa0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611ea25784516001600160a01b031683529383019391830191600101611e7d565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611ee057634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176106a5576106a5611de056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220771581078a8f0bd8a14f261b0907608c3250b7b9f0343ee95ae0802fda3dbfa464736f6c63430008130033