60806040526200001b683635c9adc5dea00000600019620001ca565b6200002990600019620001a4565b600855600f805462ffffff60a81b19169055678ac7230489e8000060105568015af1d78b58c400006011553480156200006157600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600d80546001600160a01b03191633908117909155600854600091825260026020526040822055600190600590620000e36000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155600d549091168352912080549092161790556008600c55620001473390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef683635c9adc5dea000006040516200019691815260200190565b60405180910390a3620001ed565b600082821015620001c557634e487b7160e01b600052601160045260246000fd5b500390565b600082620001e857634e487b7160e01b600052601260045260246000fd5b500690565b61182f80620001fd6000396000f3fe6080604052600436106101025760003560e01c8063715018a61161009557806395d89b411161006457806395d89b411461010e578063a9059cbb146102a5578063c3c8cd80146102c5578063c9567bf9146102da578063dd62ed3e146102ef57600080fd5b8063715018a614610233578063751039fc14610248578063843f7be21461025d5780638da5cb5b1461027d57600080fd5b8063313ce567116100d1578063313ce567146101c05780635932ead1146101dc5780636fc3eaec146101fe57806370a082311461021357600080fd5b806306fdde031461010e578063095ea7b31461014a57806318160ddd1461017a57806323b872dd146101a057600080fd5b3661010957005b600080fd5b34801561011a57600080fd5b5060408051808201825260048152631395531360e21b602082015290516101419190611617565b60405180910390f35b34801561015657600080fd5b5061016a61016536600461156a565b610335565b6040519015158152602001610141565b34801561018657600080fd5b50683635c9adc5dea000005b604051908152602001610141565b3480156101ac57600080fd5b5061016a6101bb366004611529565b61034c565b3480156101cc57600080fd5b5060405160098152602001610141565b3480156101e857600080fd5b506101fc6101f7366004611596565b6103b5565b005b34801561020a57600080fd5b506101fc610406565b34801561021f57600080fd5b5061019261022e3660046114b6565b610433565b34801561023f57600080fd5b506101fc610455565b34801561025457600080fd5b506101fc6104c9565b34801561026957600080fd5b506101fc6102783660046115d0565b610507565b34801561028957600080fd5b506000546040516001600160a01b039091168152602001610141565b3480156102b157600080fd5b5061016a6102c036600461156a565b610544565b3480156102d157600080fd5b506101fc610551565b3480156102e657600080fd5b506101fc610587565b3480156102fb57600080fd5b5061019261030a3660046114f0565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6000610342338484610942565b5060015b92915050565b6000610359848484610a66565b6103ab84336103a6856040518060600160405280602881526020016117d2602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610dce565b610942565b5060019392505050565b6000546001600160a01b031633146103e85760405162461bcd60e51b81526004016103df9061166c565b60405180910390fd5b600f8054911515600160b81b0260ff60b81b19909216919091179055565b600d546001600160a01b0316336001600160a01b03161461042657600080fd5b4761043081610e08565b50565b6001600160a01b03811660009081526002602052604081205461034690610e42565b6000546001600160a01b0316331461047f5760405162461bcd60e51b81526004016103df9061166c565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146104f35760405162461bcd60e51b81526004016103df9061166c565b683635c9adc5dea000006010819055601155565b6000546001600160a01b031633146105315760405162461bcd60e51b81526004016103df9061166c565b600c54811061053f57600080fd5b600c55565b6000610342338484610a66565b600d546001600160a01b0316336001600160a01b03161461057157600080fd5b600061057c30610433565b905061043081610ec6565b6000546001600160a01b031633146105b15760405162461bcd60e51b81526004016103df9061166c565b600f54600160a01b900460ff161561060b5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016103df565b600e80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106483082683635c9adc5dea00000610942565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561068157600080fd5b505afa158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b991906114d3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561070157600080fd5b505afa158015610715573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073991906114d3565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b15801561078157600080fd5b505af1158015610795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b991906114d3565b600f80546001600160a01b0319166001600160a01b03928316179055600e541663f305d71947306107e981610433565b6000806107fe6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561086157600080fd5b505af1158015610875573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061089a91906115e9565b5050600f805463ffff00ff60a01b198116630101000160a01b17909155600e5460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b15801561090657600080fd5b505af115801561091a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093e91906115b3565b5050565b6001600160a01b0383166109a45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103df565b6001600160a01b038216610a055760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103df565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610aca5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103df565b6001600160a01b038216610b2c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103df565b60008111610b8e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016103df565b6000546001600160a01b03848116911614801590610bba57506000546001600160a01b03838116911614155b15610db3576001600160a01b03831660009081526006602052604090205460ff16158015610c0157506001600160a01b03821660009081526006602052604090205460ff16155b610c0a57600080fd5b6000600a55600c54600b55600f546001600160a01b038481169116148015610c405750600e546001600160a01b03838116911614155b8015610c6557506001600160a01b03821660009081526005602052604090205460ff16155b8015610c7a5750600f54600160b81b900460ff165b15610d3657601054811115610cd15760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016103df565b60115481610cde84610433565b610ce89190611712565b1115610d365760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016103df565b6000610d4130610433565b600f54909150600160a81b900460ff16158015610d6c5750600f546001600160a01b03858116911614155b8015610d815750600f54600160b01b900460ff165b8015610d8d5750600081115b15610dad57610d9b81610ec6565b478015610dab57610dab47610e08565b505b50610dbe565b6000600a819055600b555b610dc983838361104f565b505050565b60008184841115610df25760405162461bcd60e51b81526004016103df9190611617565b506000610dff848661176b565b95945050505050565b600d546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561093e573d6000803e3d6000fd5b6000600854821115610ea95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016103df565b6000610eb361105a565b9050610ebf838261107d565b9392505050565b600f805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110610f0e57610f0e611798565b6001600160a01b03928316602091820292909201810191909152600e54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015610f6257600080fd5b505afa158015610f76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9a91906114d3565b81600181518110610fad57610fad611798565b6001600160a01b039283166020918202929092010152600e54610fd39130911684610942565b600e5460405163791ac94760e01b81526001600160a01b039091169063791ac9479061100c9085906000908690309042906004016116a1565b600060405180830381600087803b15801561102657600080fd5b505af115801561103a573d6000803e3d6000fd5b5050600f805460ff60a81b1916905550505050565b610dc98383836110bf565b60008060006110676111b6565b9092509050611076828261107d565b9250505090565b6000610ebf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506111f8565b6000806000806000806110d187611226565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506111039087611283565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461113290866112c5565b6001600160a01b03891660009081526002602052604090205561115481611324565b61115e848361136e565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516111a391815260200190565b60405180910390a3505050505050505050565b6008546000908190683635c9adc5dea000006111d2828261107d565b8210156111ef57505060085492683635c9adc5dea0000092509050565b90939092509050565b600081836112195760405162461bcd60e51b81526004016103df9190611617565b506000610dff848661172a565b60008060008060008060008060006112438a600a54600b54611392565b925092509250600061125361105a565b905060008060006112668e8787876113e7565b919e509c509a509598509396509194505050505091939550919395565b6000610ebf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610dce565b6000806112d28385611712565b905083811015610ebf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103df565b600061132e61105a565b9050600061133c8383611437565b3060009081526002602052604090205490915061135990826112c5565b30600090815260026020526040902055505050565b60085461137b9083611283565b60085560095461138b90826112c5565b6009555050565b60008080806113ac60646113a68989611437565b9061107d565b905060006113bf60646113a68a89611437565b905060006113d7826113d18b86611283565b90611283565b9992985090965090945050505050565b60008080806113f68886611437565b905060006114048887611437565b905060006114128888611437565b90506000611424826113d18686611283565b939b939a50919850919650505050505050565b60008261144657506000610346565b6000611452838561174c565b90508261145f858361172a565b14610ebf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016103df565b6000602082840312156114c857600080fd5b8135610ebf816117ae565b6000602082840312156114e557600080fd5b8151610ebf816117ae565b6000806040838503121561150357600080fd5b823561150e816117ae565b9150602083013561151e816117ae565b809150509250929050565b60008060006060848603121561153e57600080fd5b8335611549816117ae565b92506020840135611559816117ae565b929592945050506040919091013590565b6000806040838503121561157d57600080fd5b8235611588816117ae565b946020939093013593505050565b6000602082840312156115a857600080fd5b8135610ebf816117c3565b6000602082840312156115c557600080fd5b8151610ebf816117c3565b6000602082840312156115e257600080fd5b5035919050565b6000806000606084860312156115fe57600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b8181101561164457858101830151858201604001528201611628565b81811115611656576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156116f15784516001600160a01b0316835293830193918301916001016116cc565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561172557611725611782565b500190565b60008261174757634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561176657611766611782565b500290565b60008282101561177d5761177d611782565b500390565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461043057600080fd5b801515811461043057600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212206e3aad29f61d9712acf980a6b9b34f1ed096c35136fe517633d674d0cfd1d01a64736f6c63430008070033