60806040526200001966038d7ea4c6800060001962000390565b6200002790600019620003b3565b6006556000600881905560056009819055600a829055600b819055600c829055600d819055600e91909155600f55601280546001600160a01b03199081167340ba950568aca65ed82d5d803b77042366bd28489081179092556013805490911690911790556015805461ffff60a81b1916600160b01b17905566038d7ea4c680006016556512309ce540006017819055601855348015620000c757600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a01559260048083019392829003018186803b1580156200018057600080fd5b505afa15801562000195573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bb9190620003d9565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020457600080fd5b505afa15801562000219573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023f9190620003d9565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028857600080fd5b505af11580156200029d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c39190620003d9565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200038191815260200190565b60405180910390a3506200040b565b600082620003ae57634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620003d457634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003ec57600080fd5b81516001600160a01b03811681146200040457600080fd5b9392505050565b611ce9806200041b6000396000f3fe6080604052600436106101ba5760003560e01c80637d1db4a5116100ec578063a9059cbb1161008a578063c492f04611610064578063c492f046146104d1578063dd62ed3e146104f1578063ea1644d514610537578063f2fde38b1461055757600080fd5b8063a9059cbb1461046c578063bfd792841461048c578063c3c8cd80146104bc57600080fd5b80638f70ccf7116100c65780638f70ccf7146104165780638f9a55c01461043657806395d89b41146101e857806398a5c3151461044c57600080fd5b80637d1db4a5146103b55780637f2feddc146103cb5780638da5cb5b146103f857600080fd5b8063313ce567116101595780636d8aa8f8116101335780636d8aa8f81461034b5780636fc3eaec1461036b57806370a0823114610380578063715018a6146103a057600080fd5b8063313ce567146102ef57806349bd5a5e1461030b5780636b9990531461032b57600080fd5b80631694505e116101955780631694505e1461025d57806318160ddd1461029557806323b872dd146102b95780632fd689e3146102d957600080fd5b8062b8cf2a146101c657806306fdde03146101e8578063095ea7b31461022d57600080fd5b366101c157005b600080fd5b3480156101d257600080fd5b506101e66101e136600461186c565b610577565b005b3480156101f457600080fd5b50604080518082018252600d81526c53686b72656c696e6f6d69637360981b602082015290516102249190611931565b60405180910390f35b34801561023957600080fd5b5061024d610248366004611986565b610616565b6040519015158152602001610224565b34801561026957600080fd5b5060145461027d906001600160a01b031681565b6040516001600160a01b039091168152602001610224565b3480156102a157600080fd5b5066038d7ea4c680005b604051908152602001610224565b3480156102c557600080fd5b5061024d6102d43660046119b2565b61062d565b3480156102e557600080fd5b506102ab60185481565b3480156102fb57600080fd5b5060405160098152602001610224565b34801561031757600080fd5b5060155461027d906001600160a01b031681565b34801561033757600080fd5b506101e66103463660046119f3565b610696565b34801561035757600080fd5b506101e6610366366004611a20565b6106e1565b34801561037757600080fd5b506101e6610729565b34801561038c57600080fd5b506102ab61039b3660046119f3565b610774565b3480156103ac57600080fd5b506101e6610796565b3480156103c157600080fd5b506102ab60165481565b3480156103d757600080fd5b506102ab6103e63660046119f3565b60116020526000908152604090205481565b34801561040457600080fd5b506000546001600160a01b031661027d565b34801561042257600080fd5b506101e6610431366004611a20565b61080a565b34801561044257600080fd5b506102ab60175481565b34801561045857600080fd5b506101e6610467366004611a3b565b610852565b34801561047857600080fd5b5061024d610487366004611986565b610881565b34801561049857600080fd5b5061024d6104a73660046119f3565b60106020526000908152604090205460ff1681565b3480156104c857600080fd5b506101e661088e565b3480156104dd57600080fd5b506101e66104ec366004611a54565b6108e2565b3480156104fd57600080fd5b506102ab61050c366004611ad8565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561054357600080fd5b506101e6610552366004611a3b565b610983565b34801561056357600080fd5b506101e66105723660046119f3565b6109b2565b6000546001600160a01b031633146105aa5760405162461bcd60e51b81526004016105a190611b11565b60405180910390fd5b60005b8151811015610612576001601060008484815181106105ce576105ce611b46565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061060a81611b72565b9150506105ad565b5050565b6000610623338484610a9c565b5060015b92915050565b600061063a848484610bc0565b61068c843361068785604051806060016040528060288152602001611c8c602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906110fc565b610a9c565b5060019392505050565b6000546001600160a01b031633146106c05760405162461bcd60e51b81526004016105a190611b11565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b0316331461070b5760405162461bcd60e51b81526004016105a190611b11565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061075e57506013546001600160a01b0316336001600160a01b0316145b61076757600080fd5b4761077181611136565b50565b6001600160a01b03811660009081526002602052604081205461062790611170565b6000546001600160a01b031633146107c05760405162461bcd60e51b81526004016105a190611b11565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108345760405162461bcd60e51b81526004016105a190611b11565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461087c5760405162461bcd60e51b81526004016105a190611b11565b601855565b6000610623338484610bc0565b6012546001600160a01b0316336001600160a01b031614806108c357506013546001600160a01b0316336001600160a01b0316145b6108cc57600080fd5b60006108d730610774565b9050610771816111f4565b6000546001600160a01b0316331461090c5760405162461bcd60e51b81526004016105a190611b11565b60005b8281101561097d57816005600086868581811061092e5761092e611b46565b905060200201602081019061094391906119f3565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061097581611b72565b91505061090f565b50505050565b6000546001600160a01b031633146109ad5760405162461bcd60e51b81526004016105a190611b11565b601755565b6000546001600160a01b031633146109dc5760405162461bcd60e51b81526004016105a190611b11565b6001600160a01b038116610a415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105a1565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610afe5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105a1565b6001600160a01b038216610b5f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105a1565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c245760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105a1565b6001600160a01b038216610c865760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105a1565b60008111610ce85760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105a1565b6000546001600160a01b03848116911614801590610d1457506000546001600160a01b03838116911614155b15610ff557601554600160a01b900460ff16610dad576000546001600160a01b03848116911614610dad5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016105a1565b601654811115610dff5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016105a1565b6001600160a01b03831660009081526010602052604090205460ff16158015610e4157506001600160a01b03821660009081526010602052604090205460ff16155b610e995760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016105a1565b6015546001600160a01b03838116911614610f1e5760175481610ebb84610774565b610ec59190611b8d565b10610f1e5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016105a1565b6000610f2930610774565b601854601654919250821015908210610f425760165491505b808015610f595750601554600160a81b900460ff16155b8015610f7357506015546001600160a01b03868116911614155b8015610f885750601554600160b01b900460ff165b8015610fad57506001600160a01b03851660009081526005602052604090205460ff16155b8015610fd257506001600160a01b03841660009081526005602052604090205460ff16155b15610ff257610fe0826111f4565b478015610ff057610ff047611136565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061103757506001600160a01b03831660009081526005602052604090205460ff165b8061106957506015546001600160a01b0385811691161480159061106957506015546001600160a01b03848116911614155b15611076575060006110f0565b6015546001600160a01b0385811691161480156110a157506014546001600160a01b03848116911614155b156110b357600854600c55600954600d555b6015546001600160a01b0384811691161480156110de57506014546001600160a01b03858116911614155b156110f057600a54600c55600b54600d555b61097d8484848461137d565b600081848411156111205760405162461bcd60e51b81526004016105a19190611931565b50600061112d8486611ba5565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610612573d6000803e3d6000fd5b60006006548211156111d75760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105a1565b60006111e16113ab565b90506111ed83826113ce565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061123c5761123c611b46565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561129057600080fd5b505afa1580156112a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c89190611bbc565b816001815181106112db576112db611b46565b6001600160a01b0392831660209182029290920101526014546113019130911684610a9c565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061133a908590600090869030904290600401611bd9565b600060405180830381600087803b15801561135457600080fd5b505af1158015611368573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b8061138a5761138a611410565b61139584848461143e565b8061097d5761097d600e54600c55600f54600d55565b60008060006113b8611535565b90925090506113c782826113ce565b9250505090565b60006111ed83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611573565b600c541580156114205750600d54155b1561142757565b600c8054600e55600d8054600f5560009182905555565b600080600080600080611450876115a1565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061148290876115fe565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546114b19086611640565b6001600160a01b0389166000908152600260205260409020556114d38161169f565b6114dd84836116e9565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161152291815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c6800061154f82826113ce565b82101561156a5750506006549266038d7ea4c6800092509050565b90939092509050565b600081836115945760405162461bcd60e51b81526004016105a19190611931565b50600061112d8486611c4a565b60008060008060008060008060006115be8a600c54600d5461170d565b92509250925060006115ce6113ab565b905060008060006115e18e878787611762565b919e509c509a509598509396509194505050505091939550919395565b60006111ed83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110fc565b60008061164d8385611b8d565b9050838110156111ed5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105a1565b60006116a96113ab565b905060006116b783836117b2565b306000908152600260205260409020549091506116d49082611640565b30600090815260026020526040902055505050565b6006546116f690836115fe565b6006556007546117069082611640565b6007555050565b6000808080611727606461172189896117b2565b906113ce565b9050600061173a60646117218a896117b2565b905060006117528261174c8b866115fe565b906115fe565b9992985090965090945050505050565b600080808061177188866117b2565b9050600061177f88876117b2565b9050600061178d88886117b2565b9050600061179f8261174c86866115fe565b939b939a50919850919650505050505050565b6000826117c157506000610627565b60006117cd8385611c6c565b9050826117da8583611c4a565b146111ed5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105a1565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461077157600080fd5b803561186781611847565b919050565b6000602080838503121561187f57600080fd5b823567ffffffffffffffff8082111561189757600080fd5b818501915085601f8301126118ab57600080fd5b8135818111156118bd576118bd611831565b8060051b604051601f19603f830116810181811085821117156118e2576118e2611831565b60405291825284820192508381018501918883111561190057600080fd5b938501935b82851015611925576119168561185c565b84529385019392850192611905565b98975050505050505050565b600060208083528351808285015260005b8181101561195e57858101830151858201604001528201611942565b81811115611970576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561199957600080fd5b82356119a481611847565b946020939093013593505050565b6000806000606084860312156119c757600080fd5b83356119d281611847565b925060208401356119e281611847565b929592945050506040919091013590565b600060208284031215611a0557600080fd5b81356111ed81611847565b8035801515811461186757600080fd5b600060208284031215611a3257600080fd5b6111ed82611a10565b600060208284031215611a4d57600080fd5b5035919050565b600080600060408486031215611a6957600080fd5b833567ffffffffffffffff80821115611a8157600080fd5b818601915086601f830112611a9557600080fd5b813581811115611aa457600080fd5b8760208260051b8501011115611ab957600080fd5b602092830195509350611acf9186019050611a10565b90509250925092565b60008060408385031215611aeb57600080fd5b8235611af681611847565b91506020830135611b0681611847565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611b8657611b86611b5c565b5060010190565b60008219821115611ba057611ba0611b5c565b500190565b600082821015611bb757611bb7611b5c565b500390565b600060208284031215611bce57600080fd5b81516111ed81611847565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611c295784516001600160a01b031683529383019391830191600101611c04565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611c6757634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611c8657611c86611b5c565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122065b68e5ccba193f95310e27069cba9565cfa1472a2dc0536cfe6b67f7d5e8bf164736f6c63430008090033