60806040523480156200001157600080fd5b506040518060400160405280600a8152602001690accac6e8dee4408aa8960b31b815250604051806040016040528060048152602001630ec8aa8960e31b815250816003908162000063919062000190565b50600462000072828262000190565b5050506200008f620000896200009560201b60201c565b62000099565b6200025c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011657607f821691505b6020821081036200013757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200018b57600081815260208120601f850160051c81016020861015620001665750805b601f850160051c820191505b81811015620001875782815560010162000172565b5050505b505050565b81516001600160401b03811115620001ac57620001ac620000eb565b620001c481620001bd845462000101565b846200013d565b602080601f831160018114620001fc5760008415620001e35750858301515b600019600386901b1c1916600185901b17855562000187565b600085815260208120601f198616915b828110156200022d578886015182559484019460019091019084016200020c565b50858210156200024c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61279a806200026c6000396000f3fe608060405234801561001057600080fd5b50600436106102c85760003560e01c806395d89b411161017b578063d59c8a36116100d8578063f21594161161008c578063f3d88cb311610071578063f3d88cb3146105fb578063fa7292621461060e578063ff15c7731461062157600080fd5b8063f2159416146105bf578063f2fde38b146105e857600080fd5b8063dd62ed3e116100bd578063dd62ed3e14610553578063e8836d4a1461058c578063eca478401461059f57600080fd5b8063d59c8a3614610520578063d60e12171461054057600080fd5b8063a9059cbb1161012f578063c3f81cc511610114578063c3f81cc5146104e2578063c4ecdee4146104ea578063c53a2ced146104fd57600080fd5b8063a9059cbb146104bc578063b3961af6146104cf57600080fd5b806396c705e51161016057806396c705e51461048d5780639e546c3814610496578063a457c2d7146104a957600080fd5b806395d89b411461047857806396be161a1461048057600080fd5b8063549c46271161022957806370a08231116101dd57806375a44363116101c257806375a44363146104385780638340f549146104405780638da5cb5b1461045357600080fd5b806370a0823114610407578063715018a61461043057600080fd5b806360303ff41161020e57806360303ff4146103d957806366f114e9146103e15780636af67546146103f457600080fd5b8063549c4627146103b45780635f3e849f146103c657600080fd5b80632332519111610280578063313ce56711610265578063313ce5671461037f578063395093511461038e57806347a2797e146103a157600080fd5b8063233251911461035957806323b872dd1461036c57600080fd5b8063095ea7b3116102b1578063095ea7b3146103195780630e6dfcd51461033c57806318160ddd1461035157600080fd5b806306fdde03146102cd57806308195ee6146102eb575b600080fd5b6102d5610644565b6040516102e291906123c9565b60405180910390f35b61030b6102f9366004612418565b60076020526000908152604090205481565b6040519081526020016102e2565b61032c61032736600461243a565b6106d6565b60405190151581526020016102e2565b61034f61034a366004612464565b6106f0565b005b60025461030b565b61034f61036736600461243a565b61094c565b61032c61037a366004612464565b610acc565b604051601281526020016102e2565b61032c61039c36600461243a565b610af0565b61034f6103af366004612464565b610b2f565b600d5461032c90610100900460ff1681565b61034f6103d4366004612464565b610c79565b61034f610d03565b61034f6103ef3660046124a0565b610d43565b61034f610402366004612418565b610e1f565b61030b610415366004612418565b6001600160a01b031660009081526020819052604090205490565b61034f61100c565b61034f611020565b61034f61044e366004612464565b61105d565b6005546001600160a01b03165b6040516001600160a01b0390911681526020016102e2565b6102d561132b565b600d5461032c9060ff1681565b61030b600e5481565b61030b6104a4366004612418565b61133a565b61032c6104b736600461243a565b611412565b61032c6104ca36600461243a565b6114bc565b61034f6104dd366004612418565b6114ca565b61034f61152a565b61034f6104f836600461243a565b6115c4565b61032c61050b366004612418565b600c6020526000908152604090205460ff1681565b61030b61052e366004612418565b60096020526000908152604090205481565b61034f61054e366004612418565b611678565b61030b6105613660046124a0565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61034f61059a366004612418565b6116d4565b61030b6105ad366004612418565b60086020526000908152604090205481565b6104606105cd366004612418565b600a602052600090815260409020546001600160a01b031681565b61034f6105f6366004612418565b611800565b6104606106093660046124d3565b611890565b61034f61061c36600461243a565b6118ba565b61032c61062f366004612418565b600b6020526000908152604090205460ff1681565b606060038054610653906124ec565b80601f016020809104026020016040519081016040528092919081815260200182805461067f906124ec565b80156106cc5780601f106106a1576101008083540402835291602001916106cc565b820191906000526020600020905b8154815290600101906020018083116106af57829003601f168201915b5050505050905090565b6000336106e48185856119fd565b60019150505b92915050565b600d5460ff166107475760405162461bcd60e51b815260206004820152601560248201527f526564656d74696f6e73206e6f7420616374697665000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b0383166000908152600b602052604090205460ff166107a25760405162461bcd60e51b815260206004820152601060248201526f139bdd081c995cdd185ad959081314d560821b604482015260640161073e565b600060096000856001600160a01b03166001600160a01b031681526020019081526020016000205482856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082d9190612526565b61083890600a612643565b6108429190612652565b61084c9190612669565b6001600160a01b0385166000908152600760205260409020549091508111156108b75760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f7567682066756e647320746f2072656465656d204c53540000604482015260640161073e565b6001600160a01b038416600090815260076020526040812080548392906108df90849061268b565b909155506108ef90503383611b4d565b6109036001600160a01b0385168483611cb6565b826001600160a01b03167f4896181ff8f4543cc00db9fe9b6fb7e6f032b7eb772c72ab1ec1b4d2e03b93698360405161093e91815260200190565b60405180910390a250505050565b336000908152600c602052604090205460ff166109ab5760405162461bcd60e51b815260206004820152601460248201527f4e6f7420617070726f766564206d616e61676572000000000000000000000000604482015260640161073e565b6001600160a01b0382166000908152600b602052604090205460ff16610a065760405162461bcd60e51b815260206004820152601060248201526f139bdd081c995cdd185ad959081314d560821b604482015260640161073e565b6001600160a01b038216600090815260086020526040902054811115610a44576001600160a01b038216600090815260086020526040812055610a72565b6001600160a01b03821660009081526008602052604081208054839290610a6c90849061268b565b90915550505b610a876001600160a01b038316333084611d5f565b6040518181526001600160a01b0383169033907fa7fd4c9c28dd3fd667f7b40000eaa499f3aabca6455ef44a5e0353dc7b48c165906020015b60405180910390a35050565b600033610ada858285611db0565b610ae5858585611e3c565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906106e49082908690610b2a90879061269e565b6119fd565b336000908152600c602052604090205460ff16610b8e5760405162461bcd60e51b815260206004820152601460248201527f4e6f7420617070726f766564206d616e61676572000000000000000000000000604482015260640161073e565b6001600160a01b0383166000908152600b602052604090205460ff16610be95760405162461bcd60e51b815260206004820152601060248201526f139bdd081c995cdd185ad959081314d560821b604482015260640161073e565b610bf2836116d4565b610c066001600160a01b0384168383611cb6565b6001600160a01b03831660009081526008602052604081208054839290610c2e90849061269e565b90915550506040518181526001600160a01b0384169033907f6575fcff0d82da58f4778580adc86f7932e8dae160f7202cd12a50304f9022ae906020015b60405180910390a3505050565b610c81612029565b6001600160a01b0382166000908152600b602052604090205460ff1615610cea5760405162461bcd60e51b815260206004820152601d60248201527f43616e204e6f74207472616e736665722072657374616b6564204c5354000000604482015260640161073e565b610cfe6001600160a01b0383168483611cb6565b505050565b610d0b612029565b600d805460ff191660011790556040517f4970bdaa4064103d1bed778693908e0ff28014070ecf559f34387aa7ae8746ca90600090a1565b610d4b612029565b6001600160a01b0382166000908152600b602052604090205460ff16610da65760405162461bcd60e51b815260206004820152601060248201526f139bdd081c995cdd185ad959081314d560821b604482015260640161073e565b6001600160a01b038281166000818152600a6020908152604091829020805473ffffffffffffffffffffffffffffffffffffffff1916948616948517905581519283528201929092527f7a67ca1f57903f175257511522d890735fbbc27954f1f89cde5a8cc0de5505ed91015b60405180910390a15050565b610e27612029565b6001600160a01b0381166000908152600b602052604090205460ff16610e825760405162461bcd60e51b815260206004820152601060248201526f139bdd081c995cdd185ad959081314d560821b604482015260640161073e565b6001600160a01b0381166000908152600b60209081526040808320805460ff1916905560099091528120819055600654905b81811015610fbf57826001600160a01b031660068281548110610ed957610ed96126b1565b6000918252602090912001546001600160a01b031603610faf576006610f0060018461268b565b81548110610f1057610f106126b1565b600091825260209091200154600680546001600160a01b039092169183908110610f3c57610f3c6126b1565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506006805480610f7b57610f7b6126c7565b6000828152602090208101600019908101805473ffffffffffffffffffffffffffffffffffffffff19169055019055610fbf565b610fb8816126dd565b9050610eb4565b50600e60008154610fcf906126f6565b909155506040516001600160a01b03831681527f5521ba30e01d3b6624049ade770a53b3c7f2f37336f0d29eefb3d88976a78a5090602001610e13565b611014612029565b61101e6000612083565b565b611028612029565b600d805460ff191690556040517f950c628a0800376ef5559fb6018224eb67fe5428d1c91265dea13b624daade7890600090a1565b600d54610100900460ff166110c6576005546001600160a01b031633146110c65760405162461bcd60e51b815260206004820152601160248201527f4465706f73697473206e6f74206f70656e000000000000000000000000000000604482015260640161073e565b6001600160a01b0383166000908152600b602052604090205460ff1661112e5760405162461bcd60e51b815260206004820152601960248201527f4e6f7420617070726f7665642072657374616b6564204c535400000000000000604482015260640161073e565b6000811161117e5760405162461bcd60e51b815260206004820152601160248201527f43616e206e6f74206465706f7369742030000000000000000000000000000000604482015260640161073e565b6000836001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190612526565b6111ed90600a612643565b6001600160a01b038516600090815260096020526040902054611211908490612652565b61121b9190612669565b905061122783826120e2565b826001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c8260405161126291815260200190565b60405180910390a26001600160a01b0384166000908152600760205260408120805484929061129290849061269e565b90915550506001600160a01b038481166000908152600a6020526040902054166112d0576112cb6001600160a01b038516333085611d5f565b611325565b6001600160a01b038481166000818152600a60205260409020546112f79233911685611d5f565b6001600160a01b0384166000908152600860205260408120805484929061131f90849061269e565b90915550505b50505050565b606060048054610653906124ec565b6001600160a01b038116600090815260086020908152604080832054600790925282205482916113699161268b565b6040516370a0823160e01b815230600482015290915060009082906001600160a01b038616906370a0823190602401602060405180830381865afa1580156113b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d9919061270d565b6113e3919061268b565b6001600160a01b03851660009081526007602052604090205490915061140a90829061269e565b949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156114af5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161073e565b610ae582868684036119fd565b6000336106e4818585611e3c565b6114d2612029565b6001600160a01b0381166000818152600c6020908152604091829020805460ff1916905590519182527f1baf958f35b2f9f5101da644dfa498b61850ef0e1d4bac1cceb9e759929aea4691015b60405180910390a150565b611532612029565b600d54610100900460ff161561158a5760405162461bcd60e51b815260206004820152601760248201527f4465706f7369747320616c7265616479206f70656e6564000000000000000000604482015260640161073e565b600d805461ff0019166101001790556040517fbd0d1cedfd4b96931ddded2368f63c090b88e5e313b383f6f95480bd4835acde90600090a1565b6115cc612029565b6001600160a01b0382166000908152600b602052604090205460ff166116275760405162461bcd60e51b815260206004820152601060248201526f139bdd081c995cdd185ad959081314d560821b604482015260640161073e565b6001600160a01b038216600081815260096020908152604091829020849055815192835282018390527fb17332318aa2c6e1338beb2b53ac19707f1a79cf215f4ac2cb3a40923820967a9101610e13565b611680612029565b6001600160a01b0381166000818152600c6020908152604091829020805460ff1916600117905590519182527f5ea5c05050a8c10862f7c18e9dc7f4e70eb53881a67a1f7b55e562a65dfc7109910161151f565b6001600160a01b0381166000908152600860209081526040808320546007909252822054611702919061268b565b6040516370a0823160e01b815230600482015290915060009082906001600160a01b038516906370a0823190602401602060405180830381865afa15801561174e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611772919061270d565b61177c919061268b565b6001600160a01b0384166000908152600760205260408120805492935083929091906117a990849061269e565b90915550506001600160a01b0383166000818152600760209081526040918290205491519182527fe45c01138e54bb610afd62c8b625077319978702155f247426c51b533c04c5d2910160405180910390a2505050565b611808612029565b6001600160a01b0381166118845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161073e565b61188d81612083565b50565b600681815481106118a057600080fd5b6000918252602090912001546001600160a01b0316905081565b6118c2612029565b6001600160a01b0382166000908152600b602052604090205460ff161561192b5760405162461bcd60e51b815260206004820152600d60248201527f416c726561647920616464656400000000000000000000000000000000000000604482015260640161073e565b6001600160a01b0382166000818152600b60209081526040808320805460ff191660019081179091556009909252822084905560068054918201815582527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f01805473ffffffffffffffffffffffffffffffffffffffff1916909217909155600e80549091906119ba906126dd565b90915550604080516001600160a01b0384168152602081018390527f45db53fa0ccfc42c516974052a8699fd6a35f22b3a961ef319fc36ee4a258ac69101610e13565b6001600160a01b038316611a785760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b038216611af45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259101610c6c565b6001600160a01b038216611bc95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b03821660009081526020819052604090205481811015611c585760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6040516001600160a01b038316602482015260448101829052610cfe9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261219a565b6040516001600160a01b03808516602483015283166044820152606481018290526113259085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401611cfb565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146113255781811015611e2f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161073e565b61132584848484036119fd565b6001600160a01b038316611eb85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b038216611f345760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b03831660009081526020819052604090205481811015611fc35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161073e565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611325565b6005546001600160a01b0316331461101e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073e565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166121385760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161073e565b806002600082825461214a919061269e565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610ac0565b60006121ef826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166122829092919063ffffffff16565b90508051600014806122105750808060200190518101906122109190612726565b610cfe5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161073e565b606061140a848460008585600080866001600160a01b031685876040516122a99190612748565b60006040518083038185875af1925050503d80600081146122e6576040519150601f19603f3d011682016040523d82523d6000602084013e6122eb565b606091505b50915091506122fc87838387612307565b979650505050505050565b6060831561237657825160000361236f576001600160a01b0385163b61236f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161073e565b508161140a565b61140a838381511561238b5781518083602001fd5b8060405162461bcd60e51b815260040161073e91906123c9565b60005b838110156123c05781810151838201526020016123a8565b50506000910152565b60208152600082518060208401526123e88160408501602087016123a5565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461241357600080fd5b919050565b60006020828403121561242a57600080fd5b612433826123fc565b9392505050565b6000806040838503121561244d57600080fd5b612456836123fc565b946020939093013593505050565b60008060006060848603121561247957600080fd5b612482846123fc565b9250612490602085016123fc565b9150604084013590509250925092565b600080604083850312156124b357600080fd5b6124bc836123fc565b91506124ca602084016123fc565b90509250929050565b6000602082840312156124e557600080fd5b5035919050565b600181811c9082168061250057607f821691505b60208210810361252057634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561253857600080fd5b815160ff8116811461243357600080fd5b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561259a57816000190482111561258057612580612549565b8085161561258d57918102915b93841c9390800290612564565b509250929050565b6000826125b1575060016106ea565b816125be575060006106ea565b81600181146125d457600281146125de576125fa565b60019150506106ea565b60ff8411156125ef576125ef612549565b50506001821b6106ea565b5060208310610133831016604e8410600b841016171561261d575081810a6106ea565b612627838361255f565b806000190482111561263b5761263b612549565b029392505050565b600061243360ff8416836125a2565b80820281158282048414176106ea576106ea612549565b60008261268657634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156106ea576106ea612549565b808201808211156106ea576106ea612549565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000600182016126ef576126ef612549565b5060010190565b60008161270557612705612549565b506000190190565b60006020828403121561271f57600080fd5b5051919050565b60006020828403121561273857600080fd5b8151801515811461243357600080fd5b6000825161275a8184602087016123a5565b919091019291505056fea26469706673582212204709ce247730141a656dd5a34b288a46ae3afdbcd4b2dc5b2d1820cdfc6bde1f64736f6c63430008130033