6080604052610fbb806100136000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063395093511161008c578063a457c2d711610066578063a457c2d71461038d578063a9059cbb146103b9578063c4d66de8146103e5578063dd62ed3e1461040b576100cf565b8063395093511461033357806370a082311461035f57806395d89b4114610385576100cf565b806306fdde03146100d4578063095ea7b3146101515780631624f6c61461019157806318160ddd146102c557806323b872dd146102df578063313ce56714610315575b600080fd5b6100dc610439565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017d6004803603604081101561016757600080fd5b506001600160a01b0381351690602001356104d0565b604080519115158252519081900360200190f35b6102c3600480360360608110156101a757600080fd5b8101906020810181356401000000008111156101c257600080fd5b8201836020820111156101d457600080fd5b803590602001918460018302840111640100000000831117156101f657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561024957600080fd5b82018360208201111561025b57600080fd5b8035906020019184600183028401116401000000008311171561027d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff16915061050c9050565b005b6102cd6105ed565b60408051918252519081900360200190f35b61017d600480360360608110156102f557600080fd5b506001600160a01b038135811691602081013590911690604001356105f3565b61031d610680565b6040805160ff9092168252519081900360200190f35b61017d6004803603604081101561034957600080fd5b506001600160a01b038135169060200135610689565b6102cd6004803603602081101561037557600080fd5b50356001600160a01b03166106e6565b6100dc610701565b61017d600480360360408110156103a357600080fd5b506001600160a01b038135169060200135610762565b61017d600480360360408110156103cf57600080fd5b506001600160a01b0381351690602001356107d0565b6102c3600480360360208110156103fb57600080fd5b50356001600160a01b03166107f3565b6102cd6004803603604081101561042157600080fd5b506001600160a01b0381358116916020013516610918565b60688054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104c55780601f1061049a576101008083540402835291602001916104c5565b820191906000526020600020905b8154815290600101906020018083116104a857829003601f168201915b505050505090505b90565b600081158015906104e957506104e63384610918565b15155b156104f657506000610506565b6105008383610943565b50600190505b92915050565b600054610100900460ff16806105255750610525610957565b80610533575060005460ff16155b151561057357604051600160e51b62461bcd02815260040180806020018281038252602e815260200180610ef4602e913960400191505060405180910390fd5b600054610100900460ff1615801561059e576000805460ff1961ff0019909116610100171660011790555b83516105b1906068906020870190610dc8565b5082516105c5906069906020860190610dc8565b50606a805460ff191660ff841617905580156105e7576000805461ff00191690555b50505050565b60355490565b600061060084848461095d565b6106768461060c610ac5565b61067185604051806060016040528060288152602001610ecc602891396001600160a01b038a1660009081526034602052604081209061064a610ac5565b6001600160a01b03168152602081019190915260400160002054919063ffffffff610ac916565b610b63565b5060019392505050565b606a5460ff1690565b60006106dd610696610ac5565b8461067185603460006106a7610ac5565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610c5916565b50600192915050565b6001600160a01b031660009081526033602052604090205490565b60698054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104c55780601f1061049a576101008083540402835291602001916104c5565b60006106dd61076f610ac5565b8461067185604051806060016040528060258152602001610f6b6025913960346000610799610ac5565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff610ac916565b60006002366044146107de57fe5b6107e88484610cbd565b506001949350505050565b600054610100900460ff168061080c575061080c610957565b8061081a575060005460ff16155b151561085a57604051600160e51b62461bcd02815260040180806020018281038252602e815260200180610ef4602e913960400191505060405180910390fd5b600054610100900460ff16158015610885576000805460ff1961ff0019909116610100171660011790555b6108e46040518060400160405280600c81526020017f46726565776179546f6b656e0000000000000000000000000000000000000000815250604051806040016040528060038152602001600160ea1b621195d502815250601261050c565b610902826108f0610680565b60ff16600a0a6402540be40002610cd1565b8015610914576000805461ff00191690555b5050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60006106dd610950610ac5565b8484610b63565b303b1590565b6001600160a01b03831615156109a757604051600160e51b62461bcd028152600401808060200182810382526025815260200180610f226025913960400191505060405180910390fd5b6001600160a01b03821615156109f157604051600160e51b62461bcd028152600401808060200182810382526023815260200180610e616023913960400191505060405180910390fd5b610a3481604051806060016040528060268152602001610ea6602691396001600160a01b038616600090815260336020526040902054919063ffffffff610ac916565b6001600160a01b038085166000908152603360205260408082209390935590841681522054610a69908263ffffffff610c5916565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b3390565b60008184841115610b5b57604051600160e51b62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b20578181015183820152602001610b08565b50505050905090810190601f168015610b4d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0383161515610bad57604051600160e51b62461bcd028152600401808060200182810382526024815260200180610f476024913960400191505060405180910390fd5b6001600160a01b0382161515610bf757604051600160e51b62461bcd028152600401808060200182810382526022815260200180610e846022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015610cb65760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60006106dd610cca610ac5565b848461095d565b6001600160a01b0382161515610d315760408051600160e51b62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554610d44908263ffffffff610c5916565b6035556001600160a01b038216600090815260336020526040902054610d70908263ffffffff610c5916565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610e0957805160ff1916838001178555610e36565b82800160010185558215610e36579182015b82811115610e36578251825591602001919060010190610e1b565b50610e42929150610e46565b5090565b6104cd91905b80821115610e425760008155600101610e4c56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa165627a7a72305820dbbaa04c1f50d232c8e288b0210360df33f15e3886a38db2f480c6b655fa5a300029