6080604052600880546001600160a81b03191674ef2777990cd3c15d2e27b32635d4a270c3e09f0b01179055600a805460ff60a01b191690553480156200004557600080fd5b50620000513362000413565b336000908152600260205260409020805460ff1916600117905546603803620000a057600980546001600160a01b0319167310ed43c718714eb63d5aa57b78b54704e256024e179055620001cd565b46606103620000d557600980546001600160a01b03191673d99d1c33f9fc3444f8101754abc46c52416550d1179055620001cd565b4660011480620000e55750466004145b80620000f15750466003145b156200012357600980546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d179055620001cd565b4661a86a036200015957600980546001600160a01b0319167360ae616a2155ee3d9a68541ba4544862310933d4179055620001cd565b4660fa036200018e57600980546001600160a01b03191673f491e7b69e4244ad4002bc14e878a34207e38c29179055620001cd565b60405162461bcd60e51b815260206004820152600f60248201526e10da185a5b881b9bdd081d985b1a59608a1b60448201526064015b60405180910390fd5b336000818152600360209081526040808320805460ff1916600117905560068252808320695915a68d88da6a0800009081905590519081527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3600960009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000284573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002aa91906200052b565b6001600160a01b031663c9c65396600960009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200030c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200033291906200052b565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af11580156200037f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a591906200052b565b600a80546001600160a01b0319166001600160a01b039283169081179091556000908152600460205260409020805460ff19166001179055600954620003f19133911660001962000463565b6009546200040d9030906001600160a01b031660001962000463565b6200055d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316620004b15760405162461bcd60e51b815260206004820152601360248201527245524332303a205a65726f204164647265737360681b6044820152606401620001c4565b6001600160a01b038216620004ff5760405162461bcd60e51b815260206004820152601360248201527245524332303a205a65726f204164647265737360681b6044820152606401620001c4565b6001600160a01b0392831660009081526001602090815260408083209490951682529290925291902055565b6000602082840312156200053e57600080fd5b81516001600160a01b03811681146200055657600080fd5b9392505050565b611943806200056d6000396000f3fe6080604052600436106101dc5760003560e01c806354de7bee11610102578063bf86239111610095578063dc9d75b011610064578063dc9d75b01461056e578063dd62ed3e14610584578063e9451f5f14610323578063f2fde38b146105ca57600080fd5b8063bf862391146104f8578063c31c9c071461050e578063c4ab12b51461052e578063d5914dc01461054e57600080fd5b8063893d20e8116100d1578063893d20e81461048b5780638da5cb5b1461048b57806395d89b41146104a9578063a9059cbb146104d857600080fd5b806354de7bee1461040b57806370a0823114610420578063715018a61461045657806382aa7c681461046b57600080fd5b806318160ddd1161017a578063313ce56711610149578063313ce567146103915780633cd17c96146103ad5780633eaaf86b146103cd578063452ed4f1146103eb57600080fd5b806318160ddd1461030e5780631dc369451461032357806323b872dd14610338578063278898621461035857600080fd5b806306fdde03116101b657806306fdde031461026f578063095ea7b3146102ac5780630faba554146102cc578063111a60b0146102ee57600080fd5b806303fd2a45146101e85780630445b6671461021b578063064a59d01461023e57600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b506101fe61dead81565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561022757600080fd5b506102306105ea565b604051908152602001610212565b34801561024a57600080fd5b50600a5461025f90600160a01b900460ff1681565b6040519015158152602001610212565b34801561027b57600080fd5b5060408051808201909152600b81526a2227a3a290252aa724a7a960a91b60208201525b6040516102129190611614565b3480156102b857600080fd5b5061025f6102c7366004611677565b610603565b3480156102d857600080fd5b506102ec6102e73660046116b8565b61061a565b005b3480156102fa57600080fd5b506102ec6103093660046116ed565b610678565b34801561031a57600080fd5b50610230610737565b34801561032f57600080fd5b50610230600a81565b34801561034457600080fd5b5061025f61035336600461170f565b61077f565b34801561036457600080fd5b5061025f610373366004611750565b6001600160a01b031660009081526002602052604090205460ff1690565b34801561039d57600080fd5b5060405160098152602001610212565b3480156103b957600080fd5b506102ec6103c83660046116b8565b6107f7565b3480156103d957600080fd5b50610230695915a68d88da6a08000081565b3480156103f757600080fd5b50600a546101fe906001600160a01b031681565b34801561041757600080fd5b50610230600081565b34801561042c57600080fd5b5061023061043b366004611750565b6001600160a01b031660009081526006602052604090205490565b34801561046257600080fd5b506102ec610904565b34801561047757600080fd5b506102ec61048636600461176d565b61093a565b34801561049757600080fd5b506000546001600160a01b03166101fe565b3480156104b557600080fd5b506040805180820190915260068152652227a3a2a52960d11b602082015261029f565b3480156104e457600080fd5b5061025f6104f3366004611677565b610a5b565b34801561050457600080fd5b506102306103de81565b34801561051a57600080fd5b506009546101fe906001600160a01b031681565b34801561053a57600080fd5b506102ec610549366004611750565b610a72565b34801561055a57600080fd5b506102ec610569366004611750565b610af2565b34801561057a57600080fd5b506102306103e881565b34801561059057600080fd5b5061023061059f366004611786565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105d657600080fd5b506102ec6105e5366004611750565b610b70565b610600611b58695915a68d88da6a0800006117d5565b81565b6000610610338484610c0b565b5060015b92915050565b6000546001600160a01b0316331461064d5760405162461bcd60e51b8152600401610644906117f7565b60405180910390fd5b6001600160a01b03919091166000908152600260205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146106a25760405162461bcd60e51b8152600401610644906117f7565b60085481151560ff9091161515036106ef5760405162461bcd60e51b815260206004820152601060248201526f426f6f6c206973207468652073616d6560801b6044820152606401610644565b6008805460ff19168215159081179091556040519081527f4686eea8d0ea8d72497b77f908906325d7bbafd9f1d6753522573258958656e8906020015b60405180910390a150565b600061dead60005260066020527f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e225461077a90695915a68d88da6a08000061182c565b905090565b6001600160a01b0383166000908152600160209081526040808320338452909152812054600019146107e4576001600160a01b0384166000908152600160209081526040808320338452909152812080548492906107de90849061182c565b90915550505b6107ef848484610ccf565b949350505050565b6000546001600160a01b031633146108215760405162461bcd60e51b8152600401610644906117f7565b6001600160a01b03821660009081526005602052604090205481151560ff90911615150361087d5760405162461bcd60e51b815260206004820152600960248201526814d85b5948189bdbdb60ba1b6044820152606401610644565b6001600160a01b0382166000818152600560209081526040808320805486151560ff1991821681179092556002845282852080548216831790556003845293829020805490941681179093558051938452908301919091527f7f7f90cb020c1deb8939c26cf0790751e539157b1fd2039166fcd09a8b764513910160405180910390a15050565b6000546001600160a01b0316331461092e5760405162461bcd60e51b8152600401610644906117f7565b610938600061102b565b565b6000546001600160a01b031633146109645760405162461bcd60e51b8152600401610644906117f7565b600781106109a85760405162461bcd60e51b8152602060048201526011602482015270088cac2c8d8d2dcca40e8dede40d0d2ced607b1b6044820152606401610644565b600a54600160a01b900460ff1615610a025760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610644565b610a0d81600561183f565b600a805460ff60a01b1916600160a01b1790559050610a2c814361183f565b6007556040517fa0ac5e19ca3a09af9a3a13c5c51f911c89eefd4b9eb548f4766b991b14ad686890600090a150565b6000610a68338484610ccf565b5060019392505050565b6000546001600160a01b03163314610a9c5760405162461bcd60e51b8152600401610644906117f7565b60088054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527fb074145dac98cbf04c5e3a6d58501e8e3aa6eb107008ec598af2309ae5179dfe9060200161072c565b6000546001600160a01b03163314610b1c5760405162461bcd60e51b8152600401610644906117f7565b6001600160a01b038116600081815260046020908152604091829020805460ff1916600117905590519182527f03b62011431502c791d443ee6149c9ec9b43632aeb5eb55c621104c128fe02f7910161072c565b6000546001600160a01b03163314610b9a5760405162461bcd60e51b8152600401610644906117f7565b6001600160a01b038116610bff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610644565b610c088161102b565b50565b6001600160a01b038316610c575760405162461bcd60e51b815260206004820152601360248201527245524332303a205a65726f204164647265737360681b6044820152606401610644565b6001600160a01b038216610ca35760405162461bcd60e51b815260206004820152601360248201527245524332303a205a65726f204164647265737360681b6044820152606401610644565b6001600160a01b0392831660009081526001602090815260408083209490951682529290925291902055565b600060016001600160a01b038416610d355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610644565b6001600160a01b038516610d995760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610644565b60008311610dfb5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610644565b6000610e07868661107b565b8015610e1c5750600a54600160a01b900460ff165b8015610e2a57506007544311155b9050610e36868661107b565b15610e8d57600a54600160a01b900460ff16610e8d5760405162461bcd60e51b8152602060048201526016602482015275151c98591a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610644565b610e978686611167565b8015610ead5750600a54600160a81b900460ff16155b8015610ebe5750610ebe86866111ae565b15610efa5730600090815260066020526040902054610ee9611b58695915a68d88da6a0800006117d5565b8110610ef857610ef881611208565b505b6001600160a01b03861660009081526002602052604090205460ff1680610f3957506001600160a01b03851660009081526002602052604090205460ff165b15610f4357600091505b6001600160a01b03861660009081526006602052604081208054869290610f6b90849061182c565b909155506000905082610f7e5784610f9d565b610f9d87610f8c8989611434565b610f968a8a611167565b888661147b565b6001600160a01b038716600090815260066020526040812080549293508392909190610fca90849061183f565b92505081905550856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161101691815260200190565b60405180910390a35060019695505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806110906000546001600160a01b031690565b6001600160a01b0316846001600160a01b0316141580156110bf57506000546001600160a01b03848116911614155b80156110d657506000546001600160a01b03163314155b80156110fb57506001600160a01b03841660009081526003602052604090205460ff16155b801561112057506001600160a01b03831660009081526003602052604090205460ff16155b801561113757506001600160a01b03831661dead14155b801561114b57506001600160a01b03831615155b80156107ef57506001600160a01b038316301415949350505050565b6001600160a01b038116600090815260046020526040812054819060ff1680156107ef57505050506001600160a01b031660009081526004602052604090205460ff161590565b600854600090819060ff1680156111de57506001600160a01b03841660009081526005602052604090205460ff16155b80156107ef575050506001600160a01b031660009081526005602052604090205460ff1615919050565b600a805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061125057611250611852565b6001600160a01b03928316602091820292909201810191909152600954604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112cd9190611868565b816001815181106112e0576112e0611852565b6001600160a01b0392831660209182029290920181019190915230600090815260018252604080822060095490941682529290915220546000191461134a573060009081526001602090815260408083206009546001600160a01b03168452909152902060001990555b60095460405163791ac94760e01b81526001600160a01b039091169063791ac94790611383908590600090869030904290600401611885565b600060405180830381600087803b15801561139d57600080fd5b505af19250505080156113ae575060015b6113b85750611424565b60004715611421576008546040516101009091046001600160a01b0316906188b89047906000818181858888f193505050503d8060008114611416576040519150601f19603f3d011682016040523d82523d6000602084013e61141b565b606091505b50909150505b50505b50600a805460ff60a81b19169055565b6001600160a01b038116600090815260046020526040812054819060ff161580156107ef57505050506001600160a01b031660009081526004602052604090205460ff1690565b600080851561148c5750600a61149e565b841561149a5750600a61149e565b5060005b82156114a957506103de5b806000036114ba578391505061160b565b60006103e86114c983876118f6565b6114d391906117d5565b905080156115fc5730600090815260066020526040812080548392906114fa90849061183f565b909155505060405181815230906001600160a01b038a16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a38380156115565750600a54600160a81b900460ff16155b156115fc57306000908152600660205260408120805483929061157a90849061182c565b909155505061dead600090815260066020527f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e2280548392906115bd90849061183f565b909155505060405181815261dead9030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b611606818661182c565b925050505b95945050505050565b600060208083528351808285015260005b8181101561164157858101830151858201604001528201611625565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610c0857600080fd5b6000806040838503121561168a57600080fd5b823561169581611662565b946020939093013593505050565b803580151581146116b357600080fd5b919050565b600080604083850312156116cb57600080fd5b82356116d681611662565b91506116e4602084016116a3565b90509250929050565b6000602082840312156116ff57600080fd5b611708826116a3565b9392505050565b60008060006060848603121561172457600080fd5b833561172f81611662565b9250602084013561173f81611662565b929592945050506040919091013590565b60006020828403121561176257600080fd5b813561170881611662565b60006020828403121561177f57600080fd5b5035919050565b6000806040838503121561179957600080fd5b82356117a481611662565b915060208301356117b481611662565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b6000826117f257634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b81810381811115610614576106146117bf565b80820180821115610614576106146117bf565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561187a57600080fd5b815161170881611662565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118d55784516001600160a01b0316835293830193918301916001016118b0565b50506001600160a01b03969096166060850152505050608001529392505050565b8082028115828204841417610614576106146117bf56fea2646970667358221220dabe2673b73df4c2a1d7fca3f45021c38f203198649b77ae5a5faaeb841ea48664736f6c63430008130033