6080604052600080546001600160a01b03199081167343cdbf2177cf8164b9ade4e89c216f860f7a4bce17825560058054821673f057d77ba8ca6dc51427c1dfd66ddba0664fed5417905560068054909116733a28c71c0694696f8e8730b434b15339a56087b9179055635f77bf00600755600881905560095561008a6001600160e01b036100db16565b600380546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36100df565b3390565b61223f806100ee6000396000f3fe6080604052600436106102195760003560e01c80637d5d69a111610123578063a694fc3a116100ab578063df136d651161006f578063df136d651461067a578063e9fad8ee1461068f578063ebe2b12b146106a4578063f2fde38b146106b9578063f42ecd64146106ec57610219565b8063a694fc3a146105de578063c63e237f14610608578063c8f33c911461061d578063cd3daf9d14610632578063d81be7881461064757610219565b80638b876347116100f25780638b876347146105505780638da58897146105835780638da5cb5b146105985780638f32d59b146105ad5780639cd7a72a146105d657610219565b80637d5d69a1146104cd57806380faa57d14610500578063820ff19f1461051557806382b9de0d1461051d57610219565b80633884d635116101a65780635ce65b1d116101755780635ce65b1d1461040a57806370a082311461043d578063715018a614610470578063731e059c146104855780637b0a47ee146104b857610219565b80633884d6351461036d5780633c6b16ab146103825780633d18b912146103ac57806345d71c66146103c157610219565b806318160ddd116101ed57806318160ddd146102fc5780631be05289146103115780632e1a7d4d1461032657806334427c011461035057806338014c061461036557610219565b80628cc2621461021e5780630700037d146102635780630d68b76114610296578063101114cf146102cb575b600080fd5b34801561022a57600080fd5b506102516004803603602081101561024157600080fd5b50356001600160a01b03166106f4565b60408051918252519081900360200190f35b34801561026f57600080fd5b506102516004803603602081101561028657600080fd5b50356001600160a01b031661077a565b3480156102a257600080fd5b506102c9600480360360208110156102b957600080fd5b50356001600160a01b031661078c565b005b3480156102d757600080fd5b506102e0610807565b604080516001600160a01b039092168252519081900360200190f35b34801561030857600080fd5b50610251610816565b34801561031d57600080fd5b5061025161081d565b34801561033257600080fd5b506102c96004803603602081101561034957600080fd5b5035610824565b34801561035c57600080fd5b506102e061094e565b6102c961095d565b34801561037957600080fd5b506102e0610b3e565b34801561038e57600080fd5b506102c9600480360360208110156103a557600080fd5b5035610b4d565b3480156103b857600080fd5b506102c9610d3e565b3480156103cd57600080fd5b506103f4600480360360208110156103e457600080fd5b50356001600160a01b031661116c565b6040805160ff9092168252519081900360200190f35b34801561041657600080fd5b506103f46004803603602081101561042d57600080fd5b50356001600160a01b0316611181565b34801561044957600080fd5b506102516004803603602081101561046057600080fd5b50356001600160a01b0316611196565b34801561047c57600080fd5b506102c96111b1565b34801561049157600080fd5b506103f4600480360360208110156104a857600080fd5b50356001600160a01b0316611254565b3480156104c457600080fd5b50610251611269565b3480156104d957600080fd5b50610251600480360360208110156104f057600080fd5b50356001600160a01b031661126f565b34801561050c57600080fd5b50610251611281565b6102c9611294565b34801561052957600080fd5b506103f46004803603602081101561054057600080fd5b50356001600160a01b031661146d565b34801561055c57600080fd5b506102516004803603602081101561057357600080fd5b50356001600160a01b0316611482565b34801561058f57600080fd5b50610251611494565b3480156105a457600080fd5b506102e061149a565b3480156105b957600080fd5b506105c26114a9565b604080519115158252519081900360200190f35b6102c96114cf565b3480156105ea57600080fd5b506102c96004803603602081101561060157600080fd5b50356116a8565b34801561061457600080fd5b506102e06117cf565b34801561062957600080fd5b506102516117de565b34801561063e57600080fd5b506102516117e4565b34801561065357600080fd5b506103f46004803603602081101561066a57600080fd5b50356001600160a01b0316611838565b34801561068657600080fd5b5061025161184d565b34801561069b57600080fd5b506102c9611853565b3480156106b057600080fd5b5061025161186c565b3480156106c557600080fd5b506102c9600480360360208110156106dc57600080fd5b50356001600160a01b0316611872565b6102c96118d7565b6001600160a01b0381166000908152601360209081526040808320546012909252822054610774919061076890670de0b6b3a76400009061075c906107479061073b6117e4565b9063ffffffff611ab016565b61075088611196565b9063ffffffff611af916565b9063ffffffff611b5216565b9063ffffffff611b9416565b92915050565b60136020526000908152604090205481565b6107946114a9565b6107e5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b62093a8081565b3361082d6117e4565b600b55610838611281565b600a556001600160a01b0381161561087f57610853816106f4565b6001600160a01b038216600090815260136020908152604080832093909355600b546012909152919020555b6007544210156108c2576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000821161090b576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b61091482611bee565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6000546001600160a01b031681565b336000908152600c6020526040902054610e10014210156109b5576040805162461bcd60e51b815260206004820152600d60248201526c185b1c9958591e48189bdbdcdd609a1b604482015290519081900360640190fd5b6007544210156109f8576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b336000908152600f6020819052604082205473ac8efce22d8529f458b6c9ccb053f12f553ae2009291610a4c916103e89161075c91670de0b6b3a7640000916107509160ff1660020a63ffffffff611af916565b9050803414610a8f576040805162461bcd60e51b815260206004820152600a60248201526915dc9bdb99c818dbdcdd60b21b604482015290519081900360640190fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050610af5576040516001600160a01b038316904780156108fc02916000818181858888f19350505050158015610aed573d6000803e3d6000fd5b505050610b3c565b5050336000908152600d60209081526040808320805460ff19908116600417909155600f8352818420805460ff818116600101169216919091179055600c90915290204290555b565b6006546001600160a01b031681565b6004546001600160a01b0316610b61611c4f565b6001600160a01b031614610ba65760405162461bcd60e51b81526004018080602001828103825260218152602001806121c06021913960400191505060405180910390fd5b6000610bb06117e4565b600b55610bbb611281565b600a556001600160a01b03811615610c0257610bd6816106f4565b6001600160a01b038216600090815260136020908152604080832093909355600b546012909152919020555b600754421115610cd2576008544210610c3057610c288262093a8063ffffffff611b5216565b600955610c7e565b600854600090610c46904263ffffffff611ab016565b90506000610c5f60095483611af990919063ffffffff16565b9050610c7862093a8061075c868463ffffffff611b9416565b60095550505b42600a819055610c979062093a8063ffffffff611b9416565b6008556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1610d3a565b610ce58262093a8063ffffffff611b5216565b600955600754600a819055610d039062093a8063ffffffff611b9416565b6008556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b5050565b33610d476117e4565b600b55610d52611281565b600a556001600160a01b03811615610d9957610d6d816106f4565b6001600160a01b038216600090815260136020908152604080832093909355600b546012909152919020555b600754421015610ddc576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000610de7336106f4565b90508015610d3a5733600090815260136020908152604080832083905560055481516312ca0cef60e21b815291516001600160a01b0390911692634b2833bc926004808201939182900301818787803b158015610e4357600080fd5b505af1158015610e57573d6000803e3d6000fd5b505050506040513d6020811015610e6d57600080fd5b505190506000610e8f670de0b6b3a764000061075c858563ffffffff611af916565b6006546040805163cc42adab60e01b815230600482015290519293506000926001600160a01b039092169163cc42adab91602480820192602092909190829003018186803b158015610ee057600080fd5b505afa158015610ef4573d6000803e3d6000fd5b505050506040513d6020811015610f0a57600080fd5b5051336000908152600c6020526040902054909150610e100142108015610f315750600081115b1561111157336000908152600d6020526040812054610f6190849060001960ff918216011663ffffffff611af916565b90508181101561104857600654604080516397dc4a1360e01b81526004810184905290516001600160a01b03909216916397dc4a139160248082019260009290919082900301818387803b158015610fb857600080fd5b505af1158015610fcc573d6000803e3d6000fd5b5050505061100033610fe78386611b9490919063ffffffff16565b6005546001600160a01b0316919063ffffffff611c5316565b337fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486611032858463ffffffff611b9416565b60408051918252519081900360200190a261110b565b600660009054906101000a90046001600160a01b03166001600160a01b031663660c50756040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561109857600080fd5b505af11580156110ac573d6000803e3d6000fd5b505050506110c733610fe78486611b9490919063ffffffff16565b337fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e04866110f9858563ffffffff611b9416565b60408051918252519081900360200190a25b50611165565b60055461112e906001600160a01b0316338463ffffffff611c5316565b60408051838152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050505050565b600f6020526000908152604090205460ff1681565b600d6020526000908152604090205460ff1681565b6001600160a01b031660009081526002602052604090205490565b6111b96114a9565b61120a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60116020526000908152604090205460ff1681565b60095481565b600c6020526000908152604090205481565b600061128f42600854611caa565b905090565b336000908152600c6020526040902054610e10014210156112ec576040805162461bcd60e51b815260206004820152600d60248201526c185b1c9958591e48189bdbdcdd609a1b604482015290519081900360640190fd5b60075442101561132f576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b3360009081526010602052604081205473ac8efce22d8529f458b6c9ccb053f12f553ae2009190611384906103e89061075c90670de0b6b3a76400009061075090600f9060ff1660020a63ffffffff611af916565b90508034146113c7576040805162461bcd60e51b815260206004820152600a60248201526915dc9bdb99c818dbdcdd60b21b604482015290519081900360640190fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050611425576040516001600160a01b038316904780156108fc02916000818181858888f19350505050158015610aed573d6000803e3d6000fd5b5050336000908152600d60209081526040808320805460ff1990811660081790915560108352818420805460ff818116600101169216919091179055600c9091529020429055565b600e6020526000908152604090205460ff1681565b60126020526000908152604090205481565b60075481565b6003546001600160a01b031690565b6003546000906001600160a01b03166114c0611c4f565b6001600160a01b031614905090565b336000908152600c6020526040902054610e1001421015611527576040805162461bcd60e51b815260206004820152600d60248201526c185b1c9958591e48189bdbdcdd609a1b604482015290519081900360640190fd5b60075442101561156a576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b3360009081526011602052604081205473ac8efce22d8529f458b6c9ccb053f12f553ae20091906115bf906103e89061075c90670de0b6b3a76400009061075090600f9060ff1660020a63ffffffff611af916565b9050803414611602576040805162461bcd60e51b815260206004820152600a60248201526915dc9bdb99c818dbdcdd60b21b604482015290519081900360640190fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050611660576040516001600160a01b038316904780156108fc02916000818181858888f19350505050158015610aed573d6000803e3d6000fd5b5050336000908152600d60209081526040808320805460ff19908116600a1790915560118352818420805460ff818116600101169216919091179055600c9091529020429055565b336116b16117e4565b600b556116bc611281565b600a556001600160a01b03811615611703576116d7816106f4565b6001600160a01b038216600090815260136020908152604080832093909355600b546012909152919020555b600754421015611746576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b6000821161178c576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b61179582611cc0565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b6005546001600160a01b031681565b600a5481565b60006117ee610816565b6117fb5750600b5461081a565b61128f611829611809610816565b61075c670de0b6b3a7640000610750600954610750600a5461073b611281565b600b549063ffffffff611b9416565b60106020526000908152604090205460ff1681565b600b5481565b61186461185f33611196565b610824565b610b3c610d3e565b60085481565b61187a6114a9565b6118cb576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6118d481611d87565b50565b336000908152600c6020526040902054610e100142101561192f576040805162461bcd60e51b815260206004820152600d60248201526c185b1c9958591e48189bdbdcdd609a1b604482015290519081900360640190fd5b600754421015611972576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b336000908152600e602052604081205473ac8efce22d8529f458b6c9ccb053f12f553ae20091906119c7906103e89061075c90670de0b6b3a76400009061075090600f9060ff1660020a63ffffffff611af916565b9050803414611a0a576040805162461bcd60e51b815260206004820152600a60248201526915dc9bdb99c818dbdcdd60b21b604482015290519081900360640190fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050611a68576040516001600160a01b038316904780156108fc02916000818181858888f19350505050158015610aed573d6000803e3d6000fd5b5050336000908152600d60209081526040808320805460ff19908116600217909155600e8352818420805460ff818116600101169216919091179055600c9091529020429055565b6000611af283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e28565b9392505050565b600082611b0857506000610774565b82820282848281611b1557fe5b0414611af25760405162461bcd60e51b815260040180806020018281038252602181526020018061219f6021913960400191505060405180910390fd5b6000611af283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611ebf565b600082820183811015611af2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600154611c01908263ffffffff611ab016565b60015533600090815260026020526040902054611c24908263ffffffff611ab016565b3360008181526002602052604081209290925590546118d4916001600160a01b039091169083611c53565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611ca5908490611f24565b505050565b6000818310611cb95781611af2565b5090919050565b6000611cd8606361075084606463ffffffff611b5216565b600154909150611cee908263ffffffff611b9416565b60015533600090815260026020526040902054611d11908263ffffffff611b9416565b33600081815260026020526040812092909255905473ac8efce22d8529f458b6c9ccb053f12f553ae20091611d57916001600160a01b031690308563ffffffff6120e216565b611ca53382611d6d86606463ffffffff611b5216565b6000546001600160a01b031692919063ffffffff6120e216565b6001600160a01b038116611dcc5760405162461bcd60e51b81526004018080602001828103825260268152602001806121796026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b60008184841115611eb75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611e7c578181015183820152602001611e64565b50505050905090810190601f168015611ea95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611f0e5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611e7c578181015183820152602001611e64565b506000838581611f1a57fe5b0495945050505050565b611f36826001600160a01b031661213c565b611f87576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611fc55780518252601f199092019160209182019101611fa6565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612027576040519150601f19603f3d011682016040523d82523d6000602084013e61202c565b606091505b509150915081612083576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156120dc5780806020019051602081101561209f57600080fd5b50516120dc5760405162461bcd60e51b815260040180806020018281038252602a8152602001806121e1602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526120dc908590611f24565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906121705750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820a3e6005c716e240bf5daace2cca9b8096fd7b5e84a60e72d70b6ebf70c0ce44064736f6c63430005110032