60806040526200001a670de0b6b3a76400006000196200035f565b620000289060001962000382565b600655600060088190556009819055600a819055600b819055600c819055600d819055600e819055600f55601280546001600160a01b031990811673a1c312ff96c0c6af8c668aee24589e253973901a9081179092556013805490911690911790556015805461ffff60a81b1916600160b01b179055666a94d74f43000060168190556017556509184e72a000601855348015620000c557600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000183573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a99190620003aa565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021d9190620003aa565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002919190620003aa565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef670de0b6b3a76400006040516200035091815260200190565b60405180910390a350620003dc565b6000826200037d57634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003a457634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003bd57600080fd5b81516001600160a01b0381168114620003d557600080fd5b9392505050565b611dfc80620003ec6000396000f3fe6080604052600436106101d05760003560e01c80637d1db4a5116100f7578063a2a957bb11610095578063c492f04611610064578063c492f04614610569578063dd62ed3e14610589578063ea1644d5146105cf578063f2fde38b146105ef57600080fd5b8063a2a957bb146104e4578063a9059cbb14610504578063bfd7928414610524578063c3c8cd801461055457600080fd5b80638f70ccf7116100d15780638f70ccf7146104605780638f9a55c01461048057806395d89b411461049657806398a5c315146104c457600080fd5b80637d1db4a5146103ff5780637f2feddc146104155780638da5cb5b1461044257600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461039557806370a08231146103aa578063715018a6146103ca57806374010ece146103df57600080fd5b8063313ce5671461031957806349bd5a5e146103355780636b999053146103555780636d8aa8f81461037557600080fd5b80631694505e116101ab5780631694505e1461028657806318160ddd146102be57806323b872dd146102e35780632fd689e31461030357600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461025657600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611967565b61060f565b005b34801561020a57600080fd5b5060408051808201909152601981527f507265736964656e7420446f6e616c64204a2e205472756d700000000000000060208201525b60405161024d9190611a2c565b60405180910390f35b34801561026257600080fd5b50610276610271366004611a7a565b6106ae565b604051901515815260200161024d565b34801561029257600080fd5b506014546102a6906001600160a01b031681565b6040516001600160a01b03909116815260200161024d565b3480156102ca57600080fd5b50670de0b6b3a76400005b60405190815260200161024d565b3480156102ef57600080fd5b506102766102fe366004611aa6565b6106c5565b34801561030f57600080fd5b506102d560185481565b34801561032557600080fd5b506040516009815260200161024d565b34801561034157600080fd5b506015546102a6906001600160a01b031681565b34801561036157600080fd5b506101fc610370366004611ae7565b61072e565b34801561038157600080fd5b506101fc610390366004611b14565b610779565b3480156103a157600080fd5b506101fc6107c1565b3480156103b657600080fd5b506102d56103c5366004611ae7565b61080c565b3480156103d657600080fd5b506101fc61082e565b3480156103eb57600080fd5b506101fc6103fa366004611b2f565b6108a2565b34801561040b57600080fd5b506102d560165481565b34801561042157600080fd5b506102d5610430366004611ae7565b60116020526000908152604090205481565b34801561044e57600080fd5b506000546001600160a01b03166102a6565b34801561046c57600080fd5b506101fc61047b366004611b14565b6108d1565b34801561048c57600080fd5b506102d560175481565b3480156104a257600080fd5b5060408051808201909152600581526405452554d560dc1b6020820152610240565b3480156104d057600080fd5b506101fc6104df366004611b2f565b610919565b3480156104f057600080fd5b506101fc6104ff366004611b48565b610948565b34801561051057600080fd5b5061027661051f366004611a7a565b610986565b34801561053057600080fd5b5061027661053f366004611ae7565b60106020526000908152604090205460ff1681565b34801561056057600080fd5b506101fc610993565b34801561057557600080fd5b506101fc610584366004611b7a565b6109e7565b34801561059557600080fd5b506102d56105a4366004611bfe565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105db57600080fd5b506101fc6105ea366004611b2f565b610a88565b3480156105fb57600080fd5b506101fc61060a366004611ae7565b610ab7565b6000546001600160a01b031633146106425760405162461bcd60e51b815260040161063990611c37565b60405180910390fd5b60005b81518110156106aa5760016010600084848151811061066657610666611c6c565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806106a281611c98565b915050610645565b5050565b60006106bb338484610ba1565b5060015b92915050565b60006106d2848484610cc5565b610724843361071f85604051806060016040528060288152602001611d9f602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611201565b610ba1565b5060019392505050565b6000546001600160a01b031633146107585760405162461bcd60e51b815260040161063990611c37565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107a35760405162461bcd60e51b815260040161063990611c37565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107f657506013546001600160a01b0316336001600160a01b0316145b6107ff57600080fd5b476108098161123b565b50565b6001600160a01b0381166000908152600260205260408120546106bf90611275565b6000546001600160a01b031633146108585760405162461bcd60e51b815260040161063990611c37565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108cc5760405162461bcd60e51b815260040161063990611c37565b601655565b6000546001600160a01b031633146108fb5760405162461bcd60e51b815260040161063990611c37565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146109435760405162461bcd60e51b815260040161063990611c37565b601855565b6000546001600160a01b031633146109725760405162461bcd60e51b815260040161063990611c37565b600893909355600a91909155600955600b55565b60006106bb338484610cc5565b6012546001600160a01b0316336001600160a01b031614806109c857506013546001600160a01b0316336001600160a01b0316145b6109d157600080fd5b60006109dc3061080c565b9050610809816112f9565b6000546001600160a01b03163314610a115760405162461bcd60e51b815260040161063990611c37565b60005b82811015610a82578160056000868685818110610a3357610a33611c6c565b9050602002016020810190610a489190611ae7565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a7a81611c98565b915050610a14565b50505050565b6000546001600160a01b03163314610ab25760405162461bcd60e51b815260040161063990611c37565b601755565b6000546001600160a01b03163314610ae15760405162461bcd60e51b815260040161063990611c37565b6001600160a01b038116610b465760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610639565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610c035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610639565b6001600160a01b038216610c645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610639565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d295760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610639565b6001600160a01b038216610d8b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610639565b60008111610ded5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610639565b6000546001600160a01b03848116911614801590610e1957506000546001600160a01b03838116911614155b156110fa57601554600160a01b900460ff16610eb2576000546001600160a01b03848116911614610eb25760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610639565b601654811115610f045760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610639565b6001600160a01b03831660009081526010602052604090205460ff16158015610f4657506001600160a01b03821660009081526010602052604090205460ff16155b610f9e5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610639565b6015546001600160a01b038381169116146110235760175481610fc08461080c565b610fca9190611cb1565b106110235760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610639565b600061102e3061080c565b6018546016549192508210159082106110475760165491505b80801561105e5750601554600160a81b900460ff16155b801561107857506015546001600160a01b03868116911614155b801561108d5750601554600160b01b900460ff165b80156110b257506001600160a01b03851660009081526005602052604090205460ff16155b80156110d757506001600160a01b03841660009081526005602052604090205460ff16155b156110f7576110e5826112f9565b4780156110f5576110f54761123b565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061113c57506001600160a01b03831660009081526005602052604090205460ff165b8061116e57506015546001600160a01b0385811691161480159061116e57506015546001600160a01b03848116911614155b1561117b575060006111f5565b6015546001600160a01b0385811691161480156111a657506014546001600160a01b03848116911614155b156111b857600854600c55600954600d555b6015546001600160a01b0384811691161480156111e357506014546001600160a01b03858116911614155b156111f557600a54600c55600b54600d555b610a8284848484611473565b600081848411156112255760405162461bcd60e51b81526004016106399190611a2c565b5060006112328486611cc4565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156106aa573d6000803e3d6000fd5b60006006548211156112dc5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610639565b60006112e66114a1565b90506112f283826114c4565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061134157611341611c6c565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561139a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113be9190611cd7565b816001815181106113d1576113d1611c6c565b6001600160a01b0392831660209182029290920101526014546113f79130911684610ba1565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611430908590600090869030904290600401611cf4565b600060405180830381600087803b15801561144a57600080fd5b505af115801561145e573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b8061148057611480611506565b61148b848484611534565b80610a8257610a82600e54600c55600f54600d55565b60008060006114ae61162b565b90925090506114bd82826114c4565b9250505090565b60006112f283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061166b565b600c541580156115165750600d54155b1561151d57565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061154687611699565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061157890876116f6565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546115a79086611738565b6001600160a01b0389166000908152600260205260409020556115c981611797565b6115d384836117e1565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161161891815260200190565b60405180910390a3505050505050505050565b6006546000908190670de0b6b3a764000061164682826114c4565b82101561166257505060065492670de0b6b3a764000092509050565b90939092509050565b6000818361168c5760405162461bcd60e51b81526004016106399190611a2c565b5060006112328486611d65565b60008060008060008060008060006116b68a600c54600d54611805565b92509250925060006116c66114a1565b905060008060006116d98e87878761185a565b919e509c509a509598509396509194505050505091939550919395565b60006112f283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611201565b6000806117458385611cb1565b9050838110156112f25760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610639565b60006117a16114a1565b905060006117af83836118aa565b306000908152600260205260409020549091506117cc9082611738565b30600090815260026020526040902055505050565b6006546117ee90836116f6565b6006556007546117fe9082611738565b6007555050565b600080808061181f606461181989896118aa565b906114c4565b9050600061183260646118198a896118aa565b9050600061184a826118448b866116f6565b906116f6565b9992985090965090945050505050565b600080808061186988866118aa565b9050600061187788876118aa565b9050600061188588886118aa565b905060006118978261184486866116f6565b939b939a50919850919650505050505050565b6000826000036118bc575060006106bf565b60006118c88385611d87565b9050826118d58583611d65565b146112f25760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610639565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461080957600080fd5b803561196281611942565b919050565b6000602080838503121561197a57600080fd5b823567ffffffffffffffff8082111561199257600080fd5b818501915085601f8301126119a657600080fd5b8135818111156119b8576119b861192c565b8060051b604051601f19603f830116810181811085821117156119dd576119dd61192c565b6040529182528482019250838101850191888311156119fb57600080fd5b938501935b82851015611a2057611a1185611957565b84529385019392850192611a00565b98975050505050505050565b600060208083528351808285015260005b81811015611a5957858101830151858201604001528201611a3d565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611a8d57600080fd5b8235611a9881611942565b946020939093013593505050565b600080600060608486031215611abb57600080fd5b8335611ac681611942565b92506020840135611ad681611942565b929592945050506040919091013590565b600060208284031215611af957600080fd5b81356112f281611942565b8035801515811461196257600080fd5b600060208284031215611b2657600080fd5b6112f282611b04565b600060208284031215611b4157600080fd5b5035919050565b60008060008060808587031215611b5e57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611b8f57600080fd5b833567ffffffffffffffff80821115611ba757600080fd5b818601915086601f830112611bbb57600080fd5b813581811115611bca57600080fd5b8760208260051b8501011115611bdf57600080fd5b602092830195509350611bf59186019050611b04565b90509250925092565b60008060408385031215611c1157600080fd5b8235611c1c81611942565b91506020830135611c2c81611942565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611caa57611caa611c82565b5060010190565b808201808211156106bf576106bf611c82565b818103818111156106bf576106bf611c82565b600060208284031215611ce957600080fd5b81516112f281611942565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d445784516001600160a01b031683529383019391830191600101611d1f565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d8257634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176106bf576106bf611c8256fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220ce7679c3cd058e603f8d6372081395517e54fd6459f5b388a7ca2bd45559751164736f6c63430008120033