60806040526200001966038d7ea4c680006000196200035f565b620000279060001962000382565b6006556000600881905560056009819055600a829055600b819055600c829055600d819055600e91909155600f55601280546001600160a01b03199081167316350e25ae348a9c26e4dd975ef385ec09a312059081179092556013805490911690911790556015805461ffff60a81b1916600160b01b1790556512309ce5400060168190556017556501d1a94a2000601855348015620000c657600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000184573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001aa9190620003a8565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021e9190620003a8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002929190620003a8565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200035091815260200190565b60405180910390a350620003da565b6000826200037d57634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620003a357634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003bb57600080fd5b81516001600160a01b0381168114620003d357600080fd5b9392505050565b611de980620003ea6000396000f3fe6080604052600436106101c55760003560e01c8063715018a6116100f757806398a5c31511610095578063c3c8cd8011610064578063c3c8cd8014610535578063c492f0461461054a578063dd62ed3e1461056a578063f2fde38b146105b057600080fd5b806398a5c315146104a5578063a2a957bb146104c5578063a9059cbb146104e5578063bfd792841461050557600080fd5b80638da5cb5b116100d15780638da5cb5b146104225780638f70ccf7146104405780638f9a55c01461046057806395d89b411461047657600080fd5b8063715018a6146103ca5780637d1db4a5146103df5780637f2feddc146103f557600080fd5b80632fd689e3116101645780636b9990531161013e5780636b999053146103555780636d8aa8f8146103755780636fc3eaec1461039557806370a08231146103aa57600080fd5b80632fd689e314610303578063313ce5671461031957806349bd5a5e1461033557600080fd5b80631694505e116101a05780631694505e1461026757806318160ddd1461029f5780632188650e146102c357806323b872dd146102e357600080fd5b8062b8cf2a146101d157806306fdde03146101f3578063095ea7b31461023757600080fd5b366101cc57005b600080fd5b3480156101dd57600080fd5b506101f16101ec36600461191a565b6105d0565b005b3480156101ff57600080fd5b5060408051808201909152600981526854776565747265756d60b81b60208201525b60405161022e91906119df565b60405180910390f35b34801561024357600080fd5b50610257610252366004611a34565b61066f565b604051901515815260200161022e565b34801561027357600080fd5b50601454610287906001600160a01b031681565b6040516001600160a01b03909116815260200161022e565b3480156102ab57600080fd5b5066038d7ea4c680005b60405190815260200161022e565b3480156102cf57600080fd5b506101f16102de366004611a60565b610686565b3480156102ef57600080fd5b506102576102fe366004611a82565b6106bb565b34801561030f57600080fd5b506102b560185481565b34801561032557600080fd5b506040516009815260200161022e565b34801561034157600080fd5b50601554610287906001600160a01b031681565b34801561036157600080fd5b506101f1610370366004611ac3565b610724565b34801561038157600080fd5b506101f1610390366004611af0565b61076f565b3480156103a157600080fd5b506101f16107b7565b3480156103b657600080fd5b506102b56103c5366004611ac3565b610802565b3480156103d657600080fd5b506101f1610824565b3480156103eb57600080fd5b506102b560165481565b34801561040157600080fd5b506102b5610410366004611ac3565b60116020526000908152604090205481565b34801561042e57600080fd5b506000546001600160a01b0316610287565b34801561044c57600080fd5b506101f161045b366004611af0565b610898565b34801561046c57600080fd5b506102b560175481565b34801561048257600080fd5b5060408051808201909152600681526554455245554d60d01b6020820152610221565b3480156104b157600080fd5b506101f16104c0366004611b0b565b6108e0565b3480156104d157600080fd5b506101f16104e0366004611b24565b61090f565b3480156104f157600080fd5b50610257610500366004611a34565b61094d565b34801561051157600080fd5b50610257610520366004611ac3565b60106020526000908152604090205460ff1681565b34801561054157600080fd5b506101f161095a565b34801561055657600080fd5b506101f1610565366004611b56565b6109ae565b34801561057657600080fd5b506102b5610585366004611bda565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105bc57600080fd5b506101f16105cb366004611ac3565b610a4f565b6000546001600160a01b031633146106035760405162461bcd60e51b81526004016105fa90611c13565b60405180910390fd5b60005b815181101561066b5760016010600084848151811061062757610627611c48565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061066381611c74565b915050610606565b5050565b600061067c338484610b39565b5060015b92915050565b6000546001600160a01b031633146106b05760405162461bcd60e51b81526004016105fa90611c13565b601691909155601755565b60006106c8848484610c5d565b61071a843361071585604051806060016040528060288152602001611d8c602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111b6565b610b39565b5060019392505050565b6000546001600160a01b0316331461074e5760405162461bcd60e51b81526004016105fa90611c13565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107995760405162461bcd60e51b81526004016105fa90611c13565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107ec57506013546001600160a01b0316336001600160a01b0316145b6107f557600080fd5b476107ff816111f0565b50565b6001600160a01b0381166000908152600260205260408120546106809061122a565b6000546001600160a01b0316331461084e5760405162461bcd60e51b81526004016105fa90611c13565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108c25760405162461bcd60e51b81526004016105fa90611c13565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461090a5760405162461bcd60e51b81526004016105fa90611c13565b601855565b6000546001600160a01b031633146109395760405162461bcd60e51b81526004016105fa90611c13565b600893909355600a91909155600955600b55565b600061067c338484610c5d565b6012546001600160a01b0316336001600160a01b0316148061098f57506013546001600160a01b0316336001600160a01b0316145b61099857600080fd5b60006109a330610802565b90506107ff816112ae565b6000546001600160a01b031633146109d85760405162461bcd60e51b81526004016105fa90611c13565b60005b82811015610a495781600560008686858181106109fa576109fa611c48565b9050602002016020810190610a0f9190611ac3565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a4181611c74565b9150506109db565b50505050565b6000546001600160a01b03163314610a795760405162461bcd60e51b81526004016105fa90611c13565b6001600160a01b038116610ade5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105fa565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610b9b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105fa565b6001600160a01b038216610bfc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105fa565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cc15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105fa565b6001600160a01b038216610d235760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105fa565b60008111610d855760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105fa565b6000546001600160a01b03848116911614801590610db157506000546001600160a01b03838116911614155b156110af57601554600160a01b900460ff16610e4a576000546001600160a01b03848116911614610e4a5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016105fa565b601654811115610e9c5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016105fa565b6001600160a01b03831660009081526010602052604090205460ff16158015610ede57506001600160a01b03821660009081526010602052604090205460ff16155b610f365760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016105fa565b6015546001600160a01b03838116911614610fbb5760175481610f5884610802565b610f629190611c8d565b10610fbb5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016105fa565b6000610fc630610802565b6018549091508082101590610fdc906003611ca5565b8210610ff357601854610ff0906003611ca5565b91505b80801561100a5750601554600160a81b900460ff16155b801561102457506015546001600160a01b03868116911614155b80156110395750601554600160b01b900460ff165b801561105e57506001600160a01b03851660009081526005602052604090205460ff16155b801561108357506001600160a01b03841660009081526005602052604090205460ff16155b156110ac57611091826112ae565b4766b1a2bc2ec500008111156110aa576110aa476111f0565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806110f157506001600160a01b03831660009081526005602052604090205460ff165b8061112357506015546001600160a01b0385811691161480159061112357506015546001600160a01b03848116911614155b15611130575060006111aa565b6015546001600160a01b03858116911614801561115b57506014546001600160a01b03848116911614155b1561116d57600854600c55600954600d555b6015546001600160a01b03848116911614801561119857506014546001600160a01b03858116911614155b156111aa57600a54600c55600b54600d555b610a4984848484611428565b600081848411156111da5760405162461bcd60e51b81526004016105fa91906119df565b5060006111e78486611cc4565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561066b573d6000803e3d6000fd5b60006006548211156112915760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105fa565b600061129b611456565b90506112a78382611479565b9392505050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106112f6576112f6611c48565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561134f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113739190611cdb565b8160018151811061138657611386611c48565b6001600160a01b0392831660209182029290920101526014546113ac9130911684610b39565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113e5908590600090869030904290600401611cf8565b600060405180830381600087803b1580156113ff57600080fd5b505af1158015611413573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611435576114356114bb565b6114408484846114e9565b80610a4957610a49600e54600c55600f54600d55565b60008060006114636115e0565b90925090506114728282611479565b9250505090565b60006112a783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061161e565b600c541580156114cb5750600d54155b156114d257565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806114fb8761164c565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061152d90876116a9565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461155c90866116eb565b6001600160a01b03891660009081526002602052604090205561157e8161174a565b6115888483611794565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516115cd91815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c680006115fa8282611479565b8210156116155750506006549266038d7ea4c6800092509050565b90939092509050565b6000818361163f5760405162461bcd60e51b81526004016105fa91906119df565b5060006111e78486611d69565b60008060008060008060008060006116698a600c54600d546117b8565b9250925092506000611679611456565b9050600080600061168c8e87878761180d565b919e509c509a509598509396509194505050505091939550919395565b60006112a783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111b6565b6000806116f88385611c8d565b9050838110156112a75760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105fa565b6000611754611456565b90506000611762838361185d565b3060009081526002602052604090205490915061177f90826116eb565b30600090815260026020526040902055505050565b6006546117a190836116a9565b6006556007546117b190826116eb565b6007555050565b60008080806117d260646117cc898961185d565b90611479565b905060006117e560646117cc8a8961185d565b905060006117fd826117f78b866116a9565b906116a9565b9992985090965090945050505050565b600080808061181c888661185d565b9050600061182a888761185d565b90506000611838888861185d565b9050600061184a826117f786866116a9565b939b939a50919850919650505050505050565b60008260000361186f57506000610680565b600061187b8385611ca5565b9050826118888583611d69565b146112a75760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105fa565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107ff57600080fd5b8035611915816118f5565b919050565b6000602080838503121561192d57600080fd5b823567ffffffffffffffff8082111561194557600080fd5b818501915085601f83011261195957600080fd5b81358181111561196b5761196b6118df565b8060051b604051601f19603f83011681018181108582111715611990576119906118df565b6040529182528482019250838101850191888311156119ae57600080fd5b938501935b828510156119d3576119c48561190a565b845293850193928501926119b3565b98975050505050505050565b600060208083528351808285015260005b81811015611a0c578581018301518582016040015282016119f0565b81811115611a1e576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215611a4757600080fd5b8235611a52816118f5565b946020939093013593505050565b60008060408385031215611a7357600080fd5b50508035926020909101359150565b600080600060608486031215611a9757600080fd5b8335611aa2816118f5565b92506020840135611ab2816118f5565b929592945050506040919091013590565b600060208284031215611ad557600080fd5b81356112a7816118f5565b8035801515811461191557600080fd5b600060208284031215611b0257600080fd5b6112a782611ae0565b600060208284031215611b1d57600080fd5b5035919050565b60008060008060808587031215611b3a57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611b6b57600080fd5b833567ffffffffffffffff80821115611b8357600080fd5b818601915086601f830112611b9757600080fd5b813581811115611ba657600080fd5b8760208260051b8501011115611bbb57600080fd5b602092830195509350611bd19186019050611ae0565b90509250925092565b60008060408385031215611bed57600080fd5b8235611bf8816118f5565b91506020830135611c08816118f5565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611c8657611c86611c5e565b5060010190565b60008219821115611ca057611ca0611c5e565b500190565b6000816000190483118215151615611cbf57611cbf611c5e565b500290565b600082821015611cd657611cd6611c5e565b500390565b600060208284031215611ced57600080fd5b81516112a7816118f5565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d485784516001600160a01b031683529383019391830191600101611d23565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d8657634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212209f6702c58663b7be279a6b06961ba57a193d13fa165442ef2dbcb9c7ddc0d19a64736f6c634300080f0033