0x60806040526121a6806100136000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636082af94116100de57806395d89b4111610097578063b195297a11610071578063b195297a146105a2578063b19a5eb0146105d0578063c4d66de8146105fe578063dd62ed3e1461062457610173565b806395d89b4114610542578063a457c2d71461054a578063a9059cbb1461057657610173565b80636082af94146104845780636ef8d66d146104ba57806370a08231146104c257806379cc6790146104e857806382dc1ec4146105145780638456cb591461053a57610173565b8063395093511161013057806339509351146103d75780633f4ba83a1461040357806342966c681461040b57806346fbf68e14610428578063485cc9551461044e5780635c975abb1461047c57610173565b806306fdde0314610178578063095ea7b3146101f55780631624f6c61461023557806318160ddd1461036957806323b872dd14610383578063313ce567146103b9575b600080fd5b610180610652565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102216004803603604081101561020b57600080fd5b506001600160a01b0381351690602001356106e9565b604080519115158252519081900360200190f35b6103676004803603606081101561024b57600080fd5b81019060208101813564010000000081111561026657600080fd5b82018360208201111561027857600080fd5b8035906020019184600183028401116401000000008311171561029a57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156102ed57600080fd5b8201836020820111156102ff57600080fd5b8035906020019184600183028401116401000000008311171561032157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050903560ff16915061074b9050565b005b610371610827565b60408051918252519081900360200190f35b6102216004803603606081101561039957600080fd5b506001600160a01b0381358116916020810135909116906040013561082d565b6103c161088f565b6040805160ff9092168252519081900360200190f35b610221600480360360408110156103ed57600080fd5b506001600160a01b038135169060200135610898565b6103676108f1565b6103676004803603602081101561042157600080fd5b50356109dc565b6102216004803603602081101561043e57600080fd5b50356001600160a01b03166109f0565b6103676004803603604081101561046457600080fd5b506001600160a01b0381358116916020013516610a03565b610221610b3c565b6103676004803603606081101561049a57600080fd5b506001600160a01b03813581169160208101359091169060400135610b46565b610367610ba6565b610371600480360360208110156104d857600080fd5b50356001600160a01b0316610bb8565b610367600480360360408110156104fe57600080fd5b506001600160a01b038135169060200135610bd3565b6103676004803603602081101561052a57600080fd5b50356001600160a01b0316610be1565b610367610c30565b610180610cf9565b6102216004803603604081101561056057600080fd5b506001600160a01b038135169060200135610d5a565b6102216004803603604081101561058c57600080fd5b506001600160a01b038135169060200135610db3565b610367600480360360408110156105b857600080fd5b506001600160a01b0381358116916020013516610e0c565b610367600480360360408110156105e657600080fd5b506001600160a01b0381358116916020013516610ef0565b6103676004803603602081101561061457600080fd5b50356001600160a01b0316610feb565b6103716004803603604081101561063a57600080fd5b506001600160a01b0381358116916020013516611096565b60688054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106de5780601f106106b3576101008083540402835291602001916106de565b820191906000526020600020905b8154815290600101906020018083116106c157829003601f168201915b505050505090505b90565b6101025460009060ff1615610738576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61074283836110c1565b90505b92915050565b600054610100900460ff168061076457506107646110de565b80610772575060005460ff16155b6107ad5760405162461bcd60e51b815260040180806020018281038252602e815260200180612067602e913960400191505060405180910390fd5b600054610100900460ff161580156107d8576000805460ff1961ff0019909116610100171660011790555b83516107eb906068906020870190611e85565b5082516107ff906069906020860190611e85565b50606a805460ff191660ff84161790558015610821576000805461ff00191690555b50505050565b60355490565b6101025460009060ff161561087c576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6108878484846110e4565b949350505050565b606a5460ff1690565b6101025460009060ff16156108e7576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107428383611171565b6109016108fc6111c5565b6109f0565b61093c5760405162461bcd60e51b8152600401808060200182810382526030815260200180611f636030913960400191505060405180910390fd5b6101025460ff1661098b576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610102805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6109bf6111c5565b604080516001600160a01b039092168252519081900360200190a1565b6109ed6109e76111c5565b826111c9565b50565b600061074560cf8363ffffffff6112c516565b600054610100900460ff1680610a1c5750610a1c6110de565b80610a2a575060005460ff16155b610a655760405162461bcd60e51b815260040180806020018281038252602e815260200180612067602e913960400191505060405180910390fd5b600054610100900460ff16158015610a90576000805460ff1961ff0019909116610100171660011790555b610ae4604051806040016040528060158152602001742930b9349023b7bb32b93730b731b2902a37b5b2b760591b815250604051806040016040528060038152602001621491d560ea1b815250601261074b565b610aed33610feb565b610b0983610af961088f565b60ff16600a0a628583b00261132c565b610b2582610b1561088f565b60ff16600a0a621312d00261132c565b8015610b37576000805461ff00191690555b505050565b6101025460ff1690565b610b516108fc6111c5565b610b8c5760405162461bcd60e51b8152600401808060200182810382526030815260200180611f636030913960400191505060405180910390fd5b610b376001600160a01b038416838363ffffffff61141e16565b610bb6610bb16111c5565b611470565b565b6001600160a01b031660009081526033602052604090205490565b610bdd82826114b8565b5050565b610bec6108fc6111c5565b610c275760405162461bcd60e51b8152600401808060200182810382526030815260200180611f636030913960400191505060405180910390fd5b6109ed8161150c565b610c3b6108fc6111c5565b610c765760405162461bcd60e51b8152600401808060200182810382526030815260200180611f636030913960400191505060405180910390fd5b6101025460ff1615610cc2576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610102805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586109bf6111c5565b60698054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106de5780601f106106b3576101008083540402835291602001916106de565b6101025460009060ff1615610da9576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6107428383611554565b6101025460009060ff1615610e02576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b61074283836115c2565b610e176108fc6111c5565b610e525760405162461bcd60e51b8152600401808060200182810382526030815260200180611f636030913960400191505060405180910390fd5b61016754610100900460ff1615610ea4576040805162461bcd60e51b815260206004820152601160248201527020b63932b0b23c903ab833b930b232b21760791b604482015290519081900360640190fd5b610ec082610eb061088f565b60ff16600a0a622dc6c00261132c565b610edc81610ecc61088f565b60ff16600a0a626acfc00261132c565b5050610167805461ff001916610100179055565b610efb6108fc6111c5565b610f365760405162461bcd60e51b8152600401808060200182810382526030815260200180611f636030913960400191505060405180910390fd5b6101675460ff1615610f83576040805162461bcd60e51b815260206004820152601160248201527020b63932b0b23c903ab833b930b232b21760791b604482015290519081900360640190fd5b69786e4137247a64dcaeea6000610fb26064610fa684605063ffffffff6115d616565b9063ffffffff61162f16565b9050610fbe848261132c565b610fd783610fd2848463ffffffff61167116565b61132c565b5050610167805460ff191660011790555050565b600054610100900460ff168061100457506110046110de565b80611012575060005460ff16155b61104d5760405162461bcd60e51b815260040180806020018281038252602e815260200180612067602e913960400191505060405180910390fd5b600054610100900460ff16158015611078576000805460ff1961ff0019909116610100171660011790555b611081826116b3565b8015610bdd576000805461ff00191690555050565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60006110d56110ce6111c5565b8484611769565b50600192915050565b303b1590565b60006110f1848484611855565b611167846110fd6111c5565b6111628560405180606001604052806028815260200161201d602891396001600160a01b038a1660009081526034602052604081209061113b6111c5565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6119b316565b611769565b5060019392505050565b60006110d561117e6111c5565b84611162856034600061118f6111c5565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611a4a16565b3390565b6001600160a01b03821661120e5760405162461bcd60e51b81526004018080602001828103825260218152602001806120b96021913960400191505060405180910390fd5b61125181604051806060016040528060228152602001611f41602291396001600160a01b038516600090815260336020526040902054919063ffffffff6119b316565b6001600160a01b03831660009081526033602052604090205560355461127d908263ffffffff61167116565b6035556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006001600160a01b03821661130c5760405162461bcd60e51b81526004018080602001828103825260228152602001806120456022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038216611387576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60355461139a908263ffffffff611a4a16565b6035556001600160a01b0382166000908152603360205260409020546113c6908263ffffffff611a4a16565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b37908490611aa4565b61148160cf8263ffffffff611c5c16565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6114c282826111c9565b610bdd826114ce6111c5565b61116284604051806060016040528060248152602001612095602491396001600160a01b03881660009081526034602052604081209061113b6111c5565b61151d60cf8263ffffffff611cc316565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b60006110d56115616111c5565b846111628560405180606001604052806025815260200161214d602591396034600061158b6111c5565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6119b316565b60006110d56115cf6111c5565b8484611855565b6000826115e557506000610745565b828202828482816115f257fe5b04146107425760405162461bcd60e51b8152600401808060200182810382526021815260200180611ffc6021913960400191505060405180910390fd5b600061074283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611d44565b600061074283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119b3565b600054610100900460ff16806116cc57506116cc6110de565b806116da575060005460ff16155b6117155760405162461bcd60e51b815260040180806020018281038252602e815260200180612067602e913960400191505060405180910390fd5b600054610100900460ff16158015611740576000805460ff1961ff0019909116610100171660011790555b61174982611da9565b610102805460ff191690558015610bdd576000805461ff00191690555050565b6001600160a01b0383166117ae5760405162461bcd60e51b81526004018080602001828103825260248152602001806120ff6024913960400191505060405180910390fd5b6001600160a01b0382166117f35760405162461bcd60e51b8152600401808060200182810382526022815260200180611f936022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03831661189a5760405162461bcd60e51b81526004018080602001828103825260258152602001806120da6025913960400191505060405180910390fd5b6001600160a01b0382166118df5760405162461bcd60e51b8152600401808060200182810382526023815260200180611f1e6023913960400191505060405180910390fd5b61192281604051806060016040528060268152602001611fb5602691396001600160a01b038616600090815260336020526040902054919063ffffffff6119b316565b6001600160a01b038085166000908152603360205260408082209390935590841681522054611957908263ffffffff611a4a16565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115611a425760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a075781810151838201526020016119ef565b50505050905090810190601f168015611a345780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610742576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b611ab6826001600160a01b0316611e4c565b611b07576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611b455780518252601f199092019160209182019101611b26565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611ba7576040519150601f19603f3d011682016040523d82523d6000602084013e611bac565b606091505b509150915081611c03576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561082157808060200190516020811015611c1f57600080fd5b50516108215760405162461bcd60e51b815260040180806020018281038252602a815260200180612123602a913960400191505060405180910390fd5b611c6682826112c5565b611ca15760405162461bcd60e51b8152600401808060200182810382526021815260200180611fdb6021913960400191505060405180910390fd5b6001600160a01b0316600090815260209190915260409020805460ff19169055565b611ccd82826112c5565b15611d1f576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60008183611d935760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a075781810151838201526020016119ef565b506000838581611d9f57fe5b0495945050505050565b600054610100900460ff1680611dc25750611dc26110de565b80611dd0575060005460ff16155b611e0b5760405162461bcd60e51b815260040180806020018281038252602e815260200180612067602e913960400191505060405180910390fd5b600054610100900460ff16158015611e36576000805460ff1961ff0019909116610100171660011790555b611e3f826109f0565b611081576110818261150c565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610887575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611ec657805160ff1916838001178555611ef3565b82800160010185558215611ef3579182015b82811115611ef3578251825591602001919060010190611ed8565b50611eff929150611f03565b5090565b6106e691905b80821115611eff5760008155600101611f0956fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a656445524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa265627a7a723158208b6d427c03d87bf3f8b3fdaaa208953ba725c28306cc69a9668edab64121f9b464736f6c63430005110032