60806040526200001966038d7ea4c68000600019620001ce565b6200002790600019620001a8565b6008556011805462ffffff60a81b1916905566038d7ea4c680006012556512309ce540006013553480156200005b57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600f80546001600160a01b03191633908117909155600854600091825260026020526040822055600190600590620000dd6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152600593849052828120805486166001908117909155600f54909216815291909120805490931617909155600c819055600d55603c600e556200014d3390565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200019a91815260200190565b60405180910390a3620001f1565b600082821015620001c957634e487b7160e01b600052601160045260246000fd5b500390565b600082620001ec57634e487b7160e01b600052601260045260246000fd5b500690565b611a6180620002016000396000f3fe60806040526004361061010d5760003560e01c8063715018a611610095578063a9059cbb11610064578063a9059cbb146102e5578063c3c8cd8014610305578063c9567bf91461031a578063d34628cc1461032f578063dd62ed3e1461034f57600080fd5b8063715018a614610267578063751039fc1461027c5780638da5cb5b1461029157806395d89b41146102b957600080fd5b8063273123b7116100dc578063273123b7146101d4578063313ce567146101f65780635932ead1146102125780636fc3eaec1461023257806370a082311461024757600080fd5b806306fdde0314610119578063095ea7b31461016057806318160ddd1461019057806323b872dd146101b457600080fd5b3661011457005b600080fd5b34801561012557600080fd5b5060408051808201909152600c81526b47616d6573746f7020496e7560a01b60208201525b6040516101579190611801565b60405180910390f35b34801561016c57600080fd5b5061018061017b3660046116a1565b610395565b6040519015158152602001610157565b34801561019c57600080fd5b5066038d7ea4c680005b604051908152602001610157565b3480156101c057600080fd5b506101806101cf366004611660565b6103ac565b3480156101e057600080fd5b506101f46101ef3660046115ed565b610415565b005b34801561020257600080fd5b5060405160098152602001610157565b34801561021e57600080fd5b506101f461022d366004611799565b610469565b34801561023e57600080fd5b506101f46104b1565b34801561025357600080fd5b506101a66102623660046115ed565b6104de565b34801561027357600080fd5b506101f4610500565b34801561028857600080fd5b506101f4610574565b34801561029d57600080fd5b506000546040516001600160a01b039091168152602001610157565b3480156102c557600080fd5b50604080518082019091526003815262474d4560e81b602082015261014a565b3480156102f157600080fd5b506101806103003660046116a1565b6105b0565b34801561031157600080fd5b506101f46105bd565b34801561032657600080fd5b506101f46105f3565b34801561033b57600080fd5b506101f461034a3660046116cd565b6109ac565b34801561035b57600080fd5b506101a661036a366004611627565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60006103a2338484610a3e565b5060015b92915050565b60006103b9848484610b62565b61040b843361040685604051806060016040528060288152602001611a04602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610ef9565b610a3e565b5060019392505050565b6000546001600160a01b031633146104485760405162461bcd60e51b815260040161043f90611856565b60405180910390fd5b6001600160a01b03166000908152600660205260409020805460ff19169055565b6000546001600160a01b031633146104935760405162461bcd60e51b815260040161043f90611856565b60118054911515600160b81b0260ff60b81b19909216919091179055565b600f546001600160a01b0316336001600160a01b0316146104d157600080fd5b476104db81610f33565b50565b6001600160a01b0381166000908152600260205260408120546103a690610f6d565b6000546001600160a01b0316331461052a5760405162461bcd60e51b815260040161043f90611856565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461059e5760405162461bcd60e51b815260040161043f90611856565b66038d7ea4c680006012819055601355565b60006103a2338484610b62565b600f546001600160a01b0316336001600160a01b0316146105dd57600080fd5b60006105e8306104de565b90506104db81610ff1565b6000546001600160a01b0316331461061d5760405162461bcd60e51b815260040161043f90611856565b601154600160a01b900460ff16156106775760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161043f565b601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106b2308266038d7ea4c68000610a3e565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156106eb57600080fd5b505afa1580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610723919061160a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561076b57600080fd5b505afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a3919061160a565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156107eb57600080fd5b505af11580156107ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610823919061160a565b601180546001600160a01b0319166001600160a01b039283161790556010541663f305d7194730610853816104de565b6000806108686000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b1580156108cb57600080fd5b505af11580156108df573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061090491906117d3565b50506011805463ffff00ff60a01b198116630101000160a01b1790915560105460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b15801561097057600080fd5b505af1158015610984573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a891906117b6565b5050565b6000546001600160a01b031633146109d65760405162461bcd60e51b815260040161043f90611856565b60005b81518110156109a8576001600660008484815181106109fa576109fa6119b4565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610a3681611983565b9150506109d9565b6001600160a01b038316610aa05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161043f565b6001600160a01b038216610b015760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161043f565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bc65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161043f565b6001600160a01b038216610c285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161043f565b60008111610c8a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161043f565b6000546001600160a01b03848116911614801590610cb657506000546001600160a01b03838116911614155b15610ede576001600160a01b03831660009081526006602052604090205460ff16158015610cfd57506001600160a01b03821660009081526006602052604090205460ff16155b610d0657600080fd5b6000600a55600e5415610d1b57600c54610d1f565b600d545b600b556011546001600160a01b038481169116148015610d4d57506010546001600160a01b03838116911614155b8015610d7257506001600160a01b03821660009081526005602052604090205460ff16155b8015610d875750601154600160b81b900460ff165b15610e6157601254811115610dde5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161043f565b60135481610deb846104de565b610df591906118fc565b1115610e435760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161043f565b600e5415610e6157600e8054906000610e5b8361196c565b91905055505b6000610e6c306104de565b601154909150600160a81b900460ff16158015610e9757506011546001600160a01b03858116911614155b8015610eac5750601154600160b01b900460ff165b8015610eb85750600081115b15610ed857610ec681610ff1565b478015610ed657610ed647610f33565b505b50610ee9565b6000600a819055600b555b610ef483838361117a565b505050565b60008184841115610f1d5760405162461bcd60e51b815260040161043f9190611801565b506000610f2a8486611955565b95945050505050565b600f546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156109a8573d6000803e3d6000fd5b6000600854821115610fd45760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161043f565b6000610fde611185565b9050610fea83826111a8565b9392505050565b6011805460ff60a81b1916600160a81b1790556040805160028082526060820183526000926020830190803683370190505090503081600081518110611039576110396119b4565b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561108d57600080fd5b505afa1580156110a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c5919061160a565b816001815181106110d8576110d86119b4565b6001600160a01b0392831660209182029290920101526010546110fe9130911684610a3e565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac9479061113790859060009086903090429060040161188b565b600060405180830381600087803b15801561115157600080fd5b505af1158015611165573d6000803e3d6000fd5b50506011805460ff60a81b1916905550505050565b610ef48383836111ea565b60008060006111926112e1565b90925090506111a182826111a8565b9250505090565b6000610fea83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061131f565b6000806000806000806111fc8761134d565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061122e90876113aa565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461125d90866113ec565b6001600160a01b03891660009081526002602052604090205561127f8161144b565b6112898483611495565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516112ce91815260200190565b60405180910390a3505050505050505050565b600854600090819066038d7ea4c680006112fb82826111a8565b8210156113165750506008549266038d7ea4c6800092509050565b90939092509050565b600081836113405760405162461bcd60e51b815260040161043f9190611801565b506000610f2a8486611914565b600080600080600080600080600061136a8a600a54600b546114b9565b925092509250600061137a611185565b9050600080600061138d8e87878761150e565b919e509c509a509598509396509194505050505091939550919395565b6000610fea83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ef9565b6000806113f983856118fc565b905083811015610fea5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161043f565b6000611455611185565b90506000611463838361155e565b3060009081526002602052604090205490915061148090826113ec565b30600090815260026020526040902055505050565b6008546114a290836113aa565b6008556009546114b290826113ec565b6009555050565b60008080806114d360646114cd898961155e565b906111a8565b905060006114e660646114cd8a8961155e565b905060006114fe826114f88b866113aa565b906113aa565b9992985090965090945050505050565b600080808061151d888661155e565b9050600061152b888761155e565b90506000611539888861155e565b9050600061154b826114f886866113aa565b939b939a50919850919650505050505050565b60008261156d575060006103a6565b60006115798385611936565b9050826115868583611914565b14610fea5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161043f565b80356115e8816119e0565b919050565b6000602082840312156115ff57600080fd5b8135610fea816119e0565b60006020828403121561161c57600080fd5b8151610fea816119e0565b6000806040838503121561163a57600080fd5b8235611645816119e0565b91506020830135611655816119e0565b809150509250929050565b60008060006060848603121561167557600080fd5b8335611680816119e0565b92506020840135611690816119e0565b929592945050506040919091013590565b600080604083850312156116b457600080fd5b82356116bf816119e0565b946020939093013593505050565b600060208083850312156116e057600080fd5b823567ffffffffffffffff808211156116f857600080fd5b818501915085601f83011261170c57600080fd5b81358181111561171e5761171e6119ca565b8060051b604051601f19603f83011681018181108582111715611743576117436119ca565b604052828152858101935084860182860187018a101561176257600080fd5b600095505b8386101561178c57611778816115dd565b855260019590950194938601938601611767565b5098975050505050505050565b6000602082840312156117ab57600080fd5b8135610fea816119f5565b6000602082840312156117c857600080fd5b8151610fea816119f5565b6000806000606084860312156117e857600080fd5b8351925060208401519150604084015190509250925092565b600060208083528351808285015260005b8181101561182e57858101830151858201604001528201611812565b81811115611840576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118db5784516001600160a01b0316835293830193918301916001016118b6565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111561190f5761190f61199e565b500190565b60008261193157634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156119505761195061199e565b500290565b6000828210156119675761196761199e565b500390565b60008161197b5761197b61199e565b506000190190565b60006000198214156119975761199761199e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146104db57600080fd5b80151581146104db57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d9397b1287614d7f05be0c20c6410aded6c99f85f4c0bd5ae04ebada1677bbdb64736f6c63430008070033