60806040526200001b683635c9adc5dea00000600019620003f3565b6200002990600019620003cd565b600655600060098190556019600a819055600b829055602d600c819055600d839055600e819055600f92909255601091909155601380546001600160a01b031990811673ec62e925822d65c143c6cb19b9ac83fcfc76fbb89081179092556014805490911690911790556016805461ffff60a81b1916600160b01b1790556801158e460913d000006017819055601855662386f26fc100009055348015620000d057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a01559260048083019392829003018186803b1580156200018957600080fd5b505afa1580156200019e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c491906200039b565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020d57600080fd5b505afa15801562000222573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024891906200039b565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200029157600080fd5b505af1158015620002a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002cc91906200039b565b601680546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601354851684528284208054821683179055601454909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef683635c9adc5dea000006040516200038c91815260200190565b60405180910390a35062000416565b600060208284031215620003ae57600080fd5b81516001600160a01b0381168114620003c657600080fd5b9392505050565b600082821015620003ee57634e487b7160e01b600052601160045260246000fd5b500390565b6000826200041157634e487b7160e01b600052601260045260246000fd5b500690565b611e5980620004266000396000f3fe6080604052600436106101d05760003560e01c80637d1db4a5116100f7578063a9059cbb11610095578063d00efb2f11610064578063d00efb2f1461054c578063dd62ed3e14610562578063ea1644d5146105a8578063f2fde38b146105c857600080fd5b8063a9059cbb146104c7578063bfd79284146104e7578063c3c8cd8014610517578063c492f0461461052c57600080fd5b80638f9a55c0116100d15780638f9a55c01461044557806395d89b411461045b57806398a5c31514610487578063a2a957bb146104a757600080fd5b80637d1db4a5146103f15780638da5cb5b146104075780638f70ccf71461042557600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461038757806370a082311461039c578063715018a6146103bc57806374010ece146103d157600080fd5b8063313ce5671461030b57806349bd5a5e146103275780636b999053146103475780636d8aa8f81461036757600080fd5b80631694505e116101ab5780631694505e1461027757806318160ddd146102af57806323b872dd146102d55780632fd689e3146102f557600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461024757600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611aec565b6105e8565b005b34801561020a57600080fd5b5060408051808201909152600e81526d4c48415341204150534f20494e5560901b60208201525b60405161023e9190611c1e565b60405180910390f35b34801561025357600080fd5b50610267610262366004611a3c565b610687565b604051901515815260200161023e565b34801561028357600080fd5b50601554610297906001600160a01b031681565b6040516001600160a01b03909116815260200161023e565b3480156102bb57600080fd5b50683635c9adc5dea000005b60405190815260200161023e565b3480156102e157600080fd5b506102676102f03660046119fb565b61069e565b34801561030157600080fd5b506102c760195481565b34801561031757600080fd5b506040516009815260200161023e565b34801561033357600080fd5b50601654610297906001600160a01b031681565b34801561035357600080fd5b506101fc610362366004611988565b610707565b34801561037357600080fd5b506101fc610382366004611bb8565b610752565b34801561039357600080fd5b506101fc61079a565b3480156103a857600080fd5b506102c76103b7366004611988565b6107e5565b3480156103c857600080fd5b506101fc610807565b3480156103dd57600080fd5b506101fc6103ec366004611bd3565b61087b565b3480156103fd57600080fd5b506102c760175481565b34801561041357600080fd5b506000546001600160a01b0316610297565b34801561043157600080fd5b506101fc610440366004611bb8565b6108aa565b34801561045157600080fd5b506102c760185481565b34801561046757600080fd5b506040805180820190915260038152624c414960e81b6020820152610231565b34801561049357600080fd5b506101fc6104a2366004611bd3565b6108f2565b3480156104b357600080fd5b506101fc6104c2366004611bec565b610921565b3480156104d357600080fd5b506102676104e2366004611a3c565b61095f565b3480156104f357600080fd5b50610267610502366004611988565b60116020526000908152604090205460ff1681565b34801561052357600080fd5b506101fc61096c565b34801561053857600080fd5b506101fc610547366004611a68565b6109c0565b34801561055857600080fd5b506102c760085481565b34801561056e57600080fd5b506102c761057d3660046119c2565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105b457600080fd5b506101fc6105c3366004611bd3565b610a61565b3480156105d457600080fd5b506101fc6105e3366004611988565b610a90565b6000546001600160a01b0316331461061b5760405162461bcd60e51b815260040161061290611c73565b60405180910390fd5b60005b81518110156106835760016011600084848151811061063f5761063f611dba565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061067b81611d89565b91505061061e565b5050565b6000610694338484610b7a565b5060015b92915050565b60006106ab848484610c9e565b6106fd84336106f885604051806060016040528060288152602001611dfc602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111da565b610b7a565b5060019392505050565b6000546001600160a01b031633146107315760405162461bcd60e51b815260040161061290611c73565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6000546001600160a01b0316331461077c5760405162461bcd60e51b815260040161061290611c73565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6013546001600160a01b0316336001600160a01b031614806107cf57506014546001600160a01b0316336001600160a01b0316145b6107d857600080fd5b476107e281611214565b50565b6001600160a01b038116600090815260026020526040812054610698906112a9565b6000546001600160a01b031633146108315760405162461bcd60e51b815260040161061290611c73565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108a55760405162461bcd60e51b815260040161061290611c73565b601755565b6000546001600160a01b031633146108d45760405162461bcd60e51b815260040161061290611c73565b60168054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461091c5760405162461bcd60e51b815260040161061290611c73565b601955565b6000546001600160a01b0316331461094b5760405162461bcd60e51b815260040161061290611c73565b600993909355600b91909155600a55600c55565b6000610694338484610c9e565b6013546001600160a01b0316336001600160a01b031614806109a157506014546001600160a01b0316336001600160a01b0316145b6109aa57600080fd5b60006109b5306107e5565b90506107e28161132d565b6000546001600160a01b031633146109ea5760405162461bcd60e51b815260040161061290611c73565b60005b82811015610a5b578160056000868685818110610a0c57610a0c611dba565b9050602002016020810190610a219190611988565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a5381611d89565b9150506109ed565b50505050565b6000546001600160a01b03163314610a8b5760405162461bcd60e51b815260040161061290611c73565b601855565b6000546001600160a01b03163314610aba5760405162461bcd60e51b815260040161061290611c73565b6001600160a01b038116610b1f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610612565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bdc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610612565b6001600160a01b038216610c3d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610612565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d025760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610612565b6001600160a01b038216610d645760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610612565b60008111610dc65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610612565b6000546001600160a01b03848116911614801590610df257506000546001600160a01b03838116911614155b156110d357601654600160a01b900460ff16610e8b576000546001600160a01b03848116911614610e8b5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610612565b601754811115610edd5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610612565b6001600160a01b03831660009081526011602052604090205460ff16158015610f1f57506001600160a01b03821660009081526011602052604090205460ff16155b610f775760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610612565b6016546001600160a01b03838116911614610ffc5760185481610f99846107e5565b610fa39190611d19565b10610ffc5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610612565b6000611007306107e5565b6019546017549192508210159082106110205760175491505b8080156110375750601654600160a81b900460ff16155b801561105157506016546001600160a01b03868116911614155b80156110665750601654600160b01b900460ff165b801561108b57506001600160a01b03851660009081526005602052604090205460ff16155b80156110b057506001600160a01b03841660009081526005602052604090205460ff16155b156110d0576110be8261132d565b4780156110ce576110ce47611214565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061111557506001600160a01b03831660009081526005602052604090205460ff165b8061114757506016546001600160a01b0385811691161480159061114757506016546001600160a01b03848116911614155b15611154575060006111ce565b6016546001600160a01b03858116911614801561117f57506015546001600160a01b03848116911614155b1561119157600954600d55600a54600e555b6016546001600160a01b0384811691161480156111bc57506015546001600160a01b03858116911614155b156111ce57600b54600d55600c54600e555b610a5b848484846114b6565b600081848411156111fe5760405162461bcd60e51b81526004016106129190611c1e565b50600061120b8486611d72565b95945050505050565b6013546001600160a01b03166108fc61123960646112338560326114e4565b90611563565b6040518115909202916000818181858888f19350505050158015611261573d6000803e3d6000fd5b506014546001600160a01b03166108fc61128160646112338560326114e4565b6040518115909202916000818181858888f19350505050158015610683573d6000803e3d6000fd5b60006006548211156113105760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610612565b600061131a6115a5565b90506113268382611563565b9392505050565b6016805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061137557611375611dba565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156113c957600080fd5b505afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140191906119a5565b8160018151811061141457611414611dba565b6001600160a01b03928316602091820292909201015260155461143a9130911684610b7a565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac94790611473908590600090869030904290600401611ca8565b600060405180830381600087803b15801561148d57600080fd5b505af11580156114a1573d6000803e3d6000fd5b50506016805460ff60a81b1916905550505050565b806114c3576114c36115c8565b6114ce8484846115f6565b80610a5b57610a5b600f54600d55601054600e55565b6000826114f357506000610698565b60006114ff8385611d53565b90508261150c8583611d31565b146113265760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610612565b600061132683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116ed565b60008060006115b261171b565b90925090506115c18282611563565b9250505090565b600d541580156115d85750600e54155b156115df57565b600d8054600f55600e805460105560009182905555565b6000806000806000806116088761175d565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061163a90876117ba565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461166990866117fc565b6001600160a01b03891660009081526002602052604090205561168b8161185b565b61169584836118a5565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516116da91815260200190565b60405180910390a3505050505050505050565b6000818361170e5760405162461bcd60e51b81526004016106129190611c1e565b50600061120b8486611d31565b6006546000908190683635c9adc5dea000006117378282611563565b82101561175457505060065492683635c9adc5dea0000092509050565b90939092509050565b600080600080600080600080600061177a8a600d54600e546118c9565b925092509250600061178a6115a5565b9050600080600061179d8e878787611918565b919e509c509a509598509396509194505050505091939550919395565b600061132683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111da565b6000806118098385611d19565b9050838110156113265760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610612565b60006118656115a5565b9050600061187383836114e4565b3060009081526002602052604090205490915061189090826117fc565b30600090815260026020526040902055505050565b6006546118b290836117ba565b6006556007546118c290826117fc565b6007555050565b60008080806118dd606461123389896114e4565b905060006118f060646112338a896114e4565b90506000611908826119028b866117ba565b906117ba565b9992985090965090945050505050565b600080808061192788866114e4565b9050600061193588876114e4565b9050600061194388886114e4565b905060006119558261190286866117ba565b939b939a50919850919650505050505050565b803561197381611de6565b919050565b8035801515811461197357600080fd5b60006020828403121561199a57600080fd5b813561132681611de6565b6000602082840312156119b757600080fd5b815161132681611de6565b600080604083850312156119d557600080fd5b82356119e081611de6565b915060208301356119f081611de6565b809150509250929050565b600080600060608486031215611a1057600080fd5b8335611a1b81611de6565b92506020840135611a2b81611de6565b929592945050506040919091013590565b60008060408385031215611a4f57600080fd5b8235611a5a81611de6565b946020939093013593505050565b600080600060408486031215611a7d57600080fd5b833567ffffffffffffffff80821115611a9557600080fd5b818601915086601f830112611aa957600080fd5b813581811115611ab857600080fd5b8760208260051b8501011115611acd57600080fd5b602092830195509350611ae39186019050611978565b90509250925092565b60006020808385031215611aff57600080fd5b823567ffffffffffffffff80821115611b1757600080fd5b818501915085601f830112611b2b57600080fd5b813581811115611b3d57611b3d611dd0565b8060051b604051601f19603f83011681018181108582111715611b6257611b62611dd0565b604052828152858101935084860182860187018a1015611b8157600080fd5b600095505b83861015611bab57611b9781611968565b855260019590950194938601938601611b86565b5098975050505050505050565b600060208284031215611bca57600080fd5b61132682611978565b600060208284031215611be557600080fd5b5035919050565b60008060008060808587031215611c0257600080fd5b5050823594602084013594506040840135936060013592509050565b600060208083528351808285015260005b81811015611c4b57858101830151858201604001528201611c2f565b81811115611c5d576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611cf85784516001600160a01b031683529383019391830191600101611cd3565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611d2c57611d2c611da4565b500190565b600082611d4e57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611d6d57611d6d611da4565b500290565b600082821015611d8457611d84611da4565b500390565b6000600019821415611d9d57611d9d611da4565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107e257600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122063e552a10b487732cb7a10d630a13a9dac74ba7ce4e38deb55cf41c4018768be64736f6c63430008070033