60806040526200001b683635c9adc5dea000006000196200022a565b620000299060001962000206565b6009556010805462ffffff60a81b19169055683635c9adc5dea000006011553480156200005557600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600d805473dec43163bc940372efd18f413a591f5616d1bf1c6001600160a01b03199182168117909255600e8054909116909117905560095460026000620000dc3390565b6001600160a01b03166001600160a01b031681526020019081526020016000208190555060016006600062000116620001f760201b60201c565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526006909352818320805485166001908117909155600d54821684528284208054861682179055600e54909116835291208054909216179055620001873390565b6001600160a01b031673dec43163bc940372efd18f413a591f5616d1bf1c6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef683635c9adc5dea00000604051620001e991815260200190565b60405180910390a36200024b565b6000546001600160a01b031690565b6000828210156200022557634e487b7160e01b81526011600452602481fd5b500390565b6000826200024657634e487b7160e01b81526012600452602481fd5b500690565b611b75806200025b6000396000f3fe60806040526004361061012e5760003560e01c80638da5cb5b116100ab578063c2d0ffca1161006f578063c2d0ffca14610330578063c3c8cd8014610350578063c9567bf914610365578063cc653b441461037a578063dd62ed3e146103b0578063ff872602146103f657600080fd5b80638da5cb5b1461029b57806395d89b41146102c3578063a9059cbb146102f0578063b515566a14610310578063bc3371821461033057600080fd5b8063313ce567116100f2578063313ce567146102155780635932ead1146102315780636fc3eaec1461025157806370a0823114610266578063715018a61461028657600080fd5b806306fdde031461013a578063095ea7b31461017d57806318160ddd146101ad57806323b872dd146101d3578063273123b7146101f357600080fd5b3661013557005b600080fd5b34801561014657600080fd5b50604080518082019091526008815267434f4f4c2041504560c01b60208201525b6040516101749190611947565b60405180910390f35b34801561018957600080fd5b5061019d6101983660046117d8565b61040b565b6040519015158152602001610174565b3480156101b957600080fd5b50683635c9adc5dea000005b604051908152602001610174565b3480156101df57600080fd5b5061019d6101ee366004611798565b610422565b3480156101ff57600080fd5b5061021361020e366004611728565b61048b565b005b34801561022157600080fd5b5060405160098152602001610174565b34801561023d57600080fd5b5061021361024c3660046118ca565b6104df565b34801561025d57600080fd5b50610213610527565b34801561027257600080fd5b506101c5610281366004611728565b610554565b34801561029257600080fd5b50610213610576565b3480156102a757600080fd5b506000546040516001600160a01b039091168152602001610174565b3480156102cf57600080fd5b506040805180820190915260048152634341504560e01b6020820152610167565b3480156102fc57600080fd5b5061019d61030b3660046117d8565b6105ea565b34801561031c57600080fd5b5061021361032b366004611803565b6105f7565b34801561033c57600080fd5b5061021361034b366004611902565b61069b565b34801561035c57600080fd5b506102136106ca565b34801561037157600080fd5b50610213610700565b34801561038657600080fd5b506101c5610395366004611728565b6001600160a01b031660009081526004602052604090205490565b3480156103bc57600080fd5b506101c56103cb366004611760565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b34801561040257600080fd5b50610213610ac3565b6000610418338484610afc565b5060015b92915050565b600061042f848484610c20565b610481843361047c85604051806060016040528060288152602001611b18602891396001600160a01b038a1660009081526005602090815260408083203384529091529020549190610fc9565b610afc565b5060019392505050565b6000546001600160a01b031633146104be5760405162461bcd60e51b81526004016104b59061199a565b60405180910390fd5b6001600160a01b03166000908152600760205260409020805460ff19169055565b6000546001600160a01b031633146105095760405162461bcd60e51b81526004016104b59061199a565b60108054911515600160b81b0260ff60b81b19909216919091179055565b600d546001600160a01b0316336001600160a01b03161461054757600080fd5b4761055181611003565b50565b6001600160a01b03811660009081526002602052604081205461041c90611088565b6000546001600160a01b031633146105a05760405162461bcd60e51b81526004016104b59061199a565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000610418338484610c20565b6000546001600160a01b031633146106215760405162461bcd60e51b81526004016104b59061199a565b60005b81518110156106975760016007600084848151811061065357634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061068f81611aad565b915050610624565b5050565b6000546001600160a01b031633146106c55760405162461bcd60e51b81526004016104b59061199a565b601155565b600d546001600160a01b0316336001600160a01b0316146106ea57600080fd5b60006106f530610554565b90506105518161110c565b6000546001600160a01b0316331461072a5760405162461bcd60e51b81526004016104b59061199a565b601054600160a01b900460ff16156107845760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104b5565b600f80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556107c13082683635c9adc5dea00000610afc565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156107fa57600080fd5b505afa15801561080e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108329190611744565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561087a57600080fd5b505afa15801561088e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b29190611744565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156108fa57600080fd5b505af115801561090e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109329190611744565b601080546001600160a01b0319166001600160a01b03928316179055600f541663f305d719473061096281610554565b6000806109776000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b1580156109da57600080fd5b505af11580156109ee573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a13919061191a565b505060108054678ac7230489e8000060115563ffff00ff60a01b198116630101000160a01b17909155600f5460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b158015610a8b57600080fd5b505af1158015610a9f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069791906118e6565b6000546001600160a01b03163314610aed5760405162461bcd60e51b81526004016104b59061199a565b683635c9adc5dea00000601155565b6001600160a01b038316610b5e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104b5565b6001600160a01b038216610bbf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104b5565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c845760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104b5565b6001600160a01b038216610ce65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104b5565b60008111610d485760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104b5565b6010546001600160a01b03848116911614610dcb576001600160a01b03831660009081526004602052604090205415801590610da957506001600160a01b0383166000908152600460205260409020544290610da690613840611a3f565b10155b15610dbd576001600b556019600c55610e0e565b6002600b55600c8055610e0e565b6001600160a01b038216600090815260046020526040902054610e04576001600160a01b03821660009081526004602052604090204290555b6002600b55600c80555b6000546001600160a01b03848116911614801590610e3a57506000546001600160a01b03838116911614155b15610fb9576001600160a01b03831660009081526007602052604090205460ff16158015610e8157506001600160a01b03821660009081526007602052604090205460ff16155b610e8a57600080fd5b6010546001600160a01b038481169116148015610eb55750600f546001600160a01b03838116911614155b8015610eda57506001600160a01b03821660009081526006602052604090205460ff16155b8015610eef5750601054600160b81b900460ff165b15610f4c57601154811115610f0357600080fd5b6001600160a01b0382166000908152600860205260409020544211610f2757600080fd5b610f3242601e611a3f565b6001600160a01b0383166000908152600860205260409020555b6000610f5730610554565b601054909150600160a81b900460ff16158015610f8257506010546001600160a01b03858116911614155b8015610f975750601054600160b01b900460ff165b15610fb757610fa58161110c565b478015610fb557610fb547611003565b505b505b610fc48383836112b1565b505050565b60008184841115610fed5760405162461bcd60e51b81526004016104b59190611947565b506000610ffa8486611a96565b95945050505050565b600d546001600160a01b03166108fc61101d8360026112bc565b6040518115909202916000818181858888f19350505050158015611045573d6000803e3d6000fd5b50600e546001600160a01b03166108fc6110608360026112bc565b6040518115909202916000818181858888f19350505050158015610697573d6000803e3d6000fd5b60006009548211156110ef5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016104b5565b60006110f96112fe565b905061110583826112bc565b9392505050565b6010805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061116257634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156111b657600080fd5b505afa1580156111ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ee9190611744565b8160018151811061120f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600f546112359130911684610afc565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac9479061126e9085906000908690309042906004016119cf565b600060405180830381600087803b15801561128857600080fd5b505af115801561129c573d6000803e3d6000fd5b50506010805460ff60a81b1916905550505050565b610fc4838383611321565b600061110583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611418565b600080600061130b611446565b909250905061131a82826112bc565b9250505090565b60008060008060008061133387611488565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061136590876114e5565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546113949086611527565b6001600160a01b0389166000908152600260205260409020556113b681611586565b6113c084836115d0565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161140591815260200190565b60405180910390a3505050505050505050565b600081836114395760405162461bcd60e51b81526004016104b59190611947565b506000610ffa8486611a57565b6009546000908190683635c9adc5dea0000061146282826112bc565b82101561147f57505060095492683635c9adc5dea0000092509050565b90939092509050565b60008060008060008060008060006114a58a600b54600c546115f4565b92509250925060006114b56112fe565b905060008060006114c88e878787611649565b919e509c509a509598509396509194505050505091939550919395565b600061110583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610fc9565b6000806115348385611a3f565b9050838110156111055760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104b5565b60006115906112fe565b9050600061159e8383611699565b306000908152600260205260409020549091506115bb9082611527565b30600090815260026020526040902055505050565b6009546115dd90836114e5565b600955600a546115ed9082611527565b600a555050565b600080808061160e60646116088989611699565b906112bc565b9050600061162160646116088a89611699565b90506000611639826116338b866114e5565b906114e5565b9992985090965090945050505050565b60008080806116588886611699565b905060006116668887611699565b905060006116748888611699565b905060006116868261163386866114e5565b939b939a50919850919650505050505050565b6000826116a85750600061041c565b60006116b48385611a77565b9050826116c18583611a57565b146111055760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104b5565b803561172381611af4565b919050565b600060208284031215611739578081fd5b813561110581611af4565b600060208284031215611755578081fd5b815161110581611af4565b60008060408385031215611772578081fd5b823561177d81611af4565b9150602083013561178d81611af4565b809150509250929050565b6000806000606084860312156117ac578081fd5b83356117b781611af4565b925060208401356117c781611af4565b929592945050506040919091013590565b600080604083850312156117ea578182fd5b82356117f581611af4565b946020939093013593505050565b60006020808385031215611815578182fd5b823567ffffffffffffffff8082111561182c578384fd5b818501915085601f83011261183f578384fd5b81358181111561185157611851611ade565b8060051b604051601f19603f8301168101818110858211171561187657611876611ade565b604052828152858101935084860182860187018a1015611894578788fd5b8795505b838610156118bd576118a981611718565b855260019590950194938601938601611898565b5098975050505050505050565b6000602082840312156118db578081fd5b813561110581611b09565b6000602082840312156118f7578081fd5b815161110581611b09565b600060208284031215611913578081fd5b5035919050565b60008060006060848603121561192e578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b8181101561197357858101830151858201604001528201611957565b818111156119845783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611a1e5784516001600160a01b0316835293830193918301916001016119f9565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611a5257611a52611ac8565b500190565b600082611a7257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611a9157611a91611ac8565b500290565b600082821015611aa857611aa8611ac8565b500390565b6000600019821415611ac157611ac1611ac8565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461055157600080fd5b801515811461055157600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b0a10c7754c0484ca4b029347055d469d71f4135c79db75530e811ac66553b2264736f6c63430008040033