60806040526200001966038d7ea4c68000600019620003e6565b6200002790600019620003c0565b600655600060098190556028600a819055600b829055600c819055600d829055600e819055600f91909155601055601380546001600160a01b031990811673af57b1b9ac760ded731cbcc2303db87265dc59e89081179092556014805490911690911790556016805461ffff60a81b1916600160b01b1790556512309ce5400060178190556018556402540be400601955348015620000c557600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a01559260048083019392829003018186803b1580156200017e57600080fd5b505afa15801562000193573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b991906200038e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020257600080fd5b505afa15801562000217573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023d91906200038e565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028657600080fd5b505af11580156200029b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c191906200038e565b601680546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601354851684528284208054821683179055601454909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200037f91815260200190565b60405180910390a35062000409565b600060208284031215620003a157600080fd5b81516001600160a01b0381168114620003b957600080fd5b9392505050565b600082821015620003e157634e487b7160e01b600052601160045260246000fd5b500390565b6000826200040457634e487b7160e01b600052601260045260246000fd5b500690565b611e1980620004196000396000f3fe6080604052600436106101d05760003560e01c80637d1db4a5116100f7578063bfd7928411610095578063dd62ed3e11610064578063dd62ed3e14610506578063ea1644d51461054c578063f275f64b1461056c578063f2fde38b1461058c57600080fd5b8063bfd792841461048b578063c3c8cd80146104bb578063c492f046146104d0578063d00efb2f146104f057600080fd5b806395d89b41116100d157806395d89b41146101fe57806398a5c3151461042b578063a2a957bb1461044b578063a9059cbb1461046b57600080fd5b80637d1db4a5146103e15780638da5cb5b146103f75780638f9a55c01461041557600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461037757806370a082311461038c578063715018a6146103ac57806374010ece146103c157600080fd5b8063313ce567146102fb57806349bd5a5e146103175780636b999053146103375780636d8aa8f81461035757600080fd5b80631694505e116101ab5780631694505e1461026957806318160ddd146102a157806323b872dd146102c55780632fd689e3146102e557600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461023957600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611aac565b6105ac565b005b34801561020a57600080fd5b50604080518082018252600381526271435960e91b602082015290516102309190611bde565b60405180910390f35b34801561024557600080fd5b506102596102543660046119fc565b61064b565b6040519015158152602001610230565b34801561027557600080fd5b50601554610289906001600160a01b031681565b6040516001600160a01b039091168152602001610230565b3480156102ad57600080fd5b5066038d7ea4c680005b604051908152602001610230565b3480156102d157600080fd5b506102596102e03660046119bb565b610662565b3480156102f157600080fd5b506102b760195481565b34801561030757600080fd5b5060405160098152602001610230565b34801561032357600080fd5b50601654610289906001600160a01b031681565b34801561034357600080fd5b506101fc610352366004611948565b6106cb565b34801561036357600080fd5b506101fc610372366004611b78565b610716565b34801561038357600080fd5b506101fc61075e565b34801561039857600080fd5b506102b76103a7366004611948565b6107a9565b3480156103b857600080fd5b506101fc6107cb565b3480156103cd57600080fd5b506101fc6103dc366004611b93565b61083f565b3480156103ed57600080fd5b506102b760175481565b34801561040357600080fd5b506000546001600160a01b0316610289565b34801561042157600080fd5b506102b760185481565b34801561043757600080fd5b506101fc610446366004611b93565b61086e565b34801561045757600080fd5b506101fc610466366004611bac565b61089d565b34801561047757600080fd5b506102596104863660046119fc565b6108db565b34801561049757600080fd5b506102596104a6366004611948565b60116020526000908152604090205460ff1681565b3480156104c757600080fd5b506101fc6108e8565b3480156104dc57600080fd5b506101fc6104eb366004611a28565b61093c565b3480156104fc57600080fd5b506102b760085481565b34801561051257600080fd5b506102b7610521366004611982565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561055857600080fd5b506101fc610567366004611b93565b6109dd565b34801561057857600080fd5b506101fc610587366004611b78565b610a0c565b34801561059857600080fd5b506101fc6105a7366004611948565b610a54565b6000546001600160a01b031633146105df5760405162461bcd60e51b81526004016105d690611c33565b60405180910390fd5b60005b81518110156106475760016011600084848151811061060357610603611d7a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061063f81611d49565b9150506105e2565b5050565b6000610658338484610b3e565b5060015b92915050565b600061066f848484610c62565b6106c184336106bc85604051806060016040528060288152602001611dbc602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061119e565b610b3e565b5060019392505050565b6000546001600160a01b031633146106f55760405162461bcd60e51b81526004016105d690611c33565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6000546001600160a01b031633146107405760405162461bcd60e51b81526004016105d690611c33565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6013546001600160a01b0316336001600160a01b0316148061079357506014546001600160a01b0316336001600160a01b0316145b61079c57600080fd5b476107a6816111d8565b50565b6001600160a01b03811660009081526002602052604081205461065c9061126d565b6000546001600160a01b031633146107f55760405162461bcd60e51b81526004016105d690611c33565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108695760405162461bcd60e51b81526004016105d690611c33565b601755565b6000546001600160a01b031633146108985760405162461bcd60e51b81526004016105d690611c33565b601955565b6000546001600160a01b031633146108c75760405162461bcd60e51b81526004016105d690611c33565b600993909355600b91909155600a55600c55565b6000610658338484610c62565b6013546001600160a01b0316336001600160a01b0316148061091d57506014546001600160a01b0316336001600160a01b0316145b61092657600080fd5b6000610931306107a9565b90506107a6816112f1565b6000546001600160a01b031633146109665760405162461bcd60e51b81526004016105d690611c33565b60005b828110156109d757816005600086868581811061098857610988611d7a565b905060200201602081019061099d9190611948565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806109cf81611d49565b915050610969565b50505050565b6000546001600160a01b03163314610a075760405162461bcd60e51b81526004016105d690611c33565b601855565b6000546001600160a01b03163314610a365760405162461bcd60e51b81526004016105d690611c33565b60168054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314610a7e5760405162461bcd60e51b81526004016105d690611c33565b6001600160a01b038116610ae35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105d6565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610ba05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105d6565b6001600160a01b038216610c015760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105d6565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cc65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105d6565b6001600160a01b038216610d285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105d6565b60008111610d8a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105d6565b6000546001600160a01b03848116911614801590610db657506000546001600160a01b03838116911614155b1561109757601654600160a01b900460ff16610e4f576000546001600160a01b03848116911614610e4f5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016105d6565b601754811115610ea15760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016105d6565b6001600160a01b03831660009081526011602052604090205460ff16158015610ee357506001600160a01b03821660009081526011602052604090205460ff16155b610f3b5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016105d6565b6016546001600160a01b03838116911614610fc05760185481610f5d846107a9565b610f679190611cd9565b10610fc05760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016105d6565b6000610fcb306107a9565b601954601754919250821015908210610fe45760175491505b808015610ffb5750601654600160a81b900460ff16155b801561101557506016546001600160a01b03868116911614155b801561102a5750601654600160b01b900460ff165b801561104f57506001600160a01b03851660009081526005602052604090205460ff16155b801561107457506001600160a01b03841660009081526005602052604090205460ff16155b1561109457611082826112f1565b47801561109257611092476111d8565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806110d957506001600160a01b03831660009081526005602052604090205460ff165b8061110b57506016546001600160a01b0385811691161480159061110b57506016546001600160a01b03848116911614155b1561111857506000611192565b6016546001600160a01b03858116911614801561114357506015546001600160a01b03848116911614155b1561115557600954600d55600a54600e555b6016546001600160a01b03848116911614801561118057506015546001600160a01b03858116911614155b1561119257600b54600d55600c54600e555b6109d78484848461147a565b600081848411156111c25760405162461bcd60e51b81526004016105d69190611bde565b5060006111cf8486611d32565b95945050505050565b6013546001600160a01b03166108fc6111fd60646111f785603c6114a8565b90611527565b6040518115909202916000818181858888f19350505050158015611225573d6000803e3d6000fd5b506014546001600160a01b03166108fc61124560646111f78560286114a8565b6040518115909202916000818181858888f19350505050158015610647573d6000803e3d6000fd5b60006006548211156112d45760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105d6565b60006112de611569565b90506112ea8382611527565b9392505050565b6016805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061133957611339611d7a565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561138d57600080fd5b505afa1580156113a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c59190611965565b816001815181106113d8576113d8611d7a565b6001600160a01b0392831660209182029290920101526015546113fe9130911684610b3e565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac94790611437908590600090869030904290600401611c68565b600060405180830381600087803b15801561145157600080fd5b505af1158015611465573d6000803e3d6000fd5b50506016805460ff60a81b1916905550505050565b806114875761148761158c565b6114928484846115ba565b806109d7576109d7600f54600d55601054600e55565b6000826114b75750600061065c565b60006114c38385611d13565b9050826114d08583611cf1565b146112ea5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105d6565b60006112ea83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116b1565b60008060006115766116df565b90925090506115858282611527565b9250505090565b600d5415801561159c5750600e54155b156115a357565b600d8054600f55600e805460105560009182905555565b6000806000806000806115cc8761171d565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506115fe908761177a565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461162d90866117bc565b6001600160a01b03891660009081526002602052604090205561164f8161181b565b6116598483611865565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161169e91815260200190565b60405180910390a3505050505050505050565b600081836116d25760405162461bcd60e51b81526004016105d69190611bde565b5060006111cf8486611cf1565b600654600090819066038d7ea4c680006116f98282611527565b8210156117145750506006549266038d7ea4c6800092509050565b90939092509050565b600080600080600080600080600061173a8a600d54600e54611889565b925092509250600061174a611569565b9050600080600061175d8e8787876118d8565b919e509c509a509598509396509194505050505091939550919395565b60006112ea83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061119e565b6000806117c98385611cd9565b9050838110156112ea5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105d6565b6000611825611569565b9050600061183383836114a8565b3060009081526002602052604090205490915061185090826117bc565b30600090815260026020526040902055505050565b600654611872908361177a565b60065560075461188290826117bc565b6007555050565b600080808061189d60646111f789896114a8565b905060006118b060646111f78a896114a8565b905060006118c8826118c28b8661177a565b9061177a565b9992985090965090945050505050565b60008080806118e788866114a8565b905060006118f588876114a8565b9050600061190388886114a8565b90506000611915826118c2868661177a565b939b939a50919850919650505050505050565b803561193381611da6565b919050565b8035801515811461193357600080fd5b60006020828403121561195a57600080fd5b81356112ea81611da6565b60006020828403121561197757600080fd5b81516112ea81611da6565b6000806040838503121561199557600080fd5b82356119a081611da6565b915060208301356119b081611da6565b809150509250929050565b6000806000606084860312156119d057600080fd5b83356119db81611da6565b925060208401356119eb81611da6565b929592945050506040919091013590565b60008060408385031215611a0f57600080fd5b8235611a1a81611da6565b946020939093013593505050565b600080600060408486031215611a3d57600080fd5b833567ffffffffffffffff80821115611a5557600080fd5b818601915086601f830112611a6957600080fd5b813581811115611a7857600080fd5b8760208260051b8501011115611a8d57600080fd5b602092830195509350611aa39186019050611938565b90509250925092565b60006020808385031215611abf57600080fd5b823567ffffffffffffffff80821115611ad757600080fd5b818501915085601f830112611aeb57600080fd5b813581811115611afd57611afd611d90565b8060051b604051601f19603f83011681018181108582111715611b2257611b22611d90565b604052828152858101935084860182860187018a1015611b4157600080fd5b600095505b83861015611b6b57611b5781611928565b855260019590950194938601938601611b46565b5098975050505050505050565b600060208284031215611b8a57600080fd5b6112ea82611938565b600060208284031215611ba557600080fd5b5035919050565b60008060008060808587031215611bc257600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b81811015611c0b57858101830151858201604001528201611bef565b81811115611c1d576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611cb85784516001600160a01b031683529383019391830191600101611c93565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611cec57611cec611d64565b500190565b600082611d0e57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611d2d57611d2d611d64565b500290565b600082821015611d4457611d44611d64565b500390565b6000600019821415611d5d57611d5d611d64565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107a657600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122001bcb25d87d9d63cfc8d4f75e12f43767100a7ba3504d37575af20062adc0f5564736f6c63430008070033