608060405260008055600060095561015e600f553480156200002057600080fd5b50604051620027d2380380620027d28339810160408190526200004391620002f9565b6040518060400160405280601381526020017f5a6f6f6672656e7a20466c6f61742054616e6b00000000000000000000000000815250604051806040016040528060058152602001645a54414e4b60d81b815250838360008111620001065760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001685760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b6064820152608401620000fd565b83516200017d90600390602087019062000236565b5082516200019390600490602086019062000236565b5060029190915560015550620001ab905033620001e4565b50506001600b55600c80546001600160a01b039384166001600160a01b031991821617909155600d80549290931691161790556200037e565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002449062000341565b90600052602060002090601f016020900481019282620002685760008555620002b3565b82601f106200028357805160ff1916838001178555620002b3565b82800160010185558215620002b3579182015b82811115620002b357825182559160200191906001019062000296565b50620002c1929150620002c5565b5090565b5b80821115620002c15760008155600101620002c6565b80516001600160a01b0381168114620002f457600080fd5b919050565b600080600080608085870312156200031057600080fd5b6200031b85620002dc565b93506200032b60208601620002dc565b6040860151606090960151949790965092505050565b600181811c908216806200035657607f821691505b602082108114156200037857634e487b7160e01b600052602260045260246000fd5b50919050565b612444806200038e6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636c0360eb1161010f57806395d89b41116100a2578063c87b56dd11610071578063c87b56dd146103dd578063d7224ba0146103f0578063e985e9c5146103f9578063f2fde38b1461043557600080fd5b806395d89b411461039c578063a0712d68146103a4578063a22cb465146103b7578063b88d4fde146103ca57600080fd5b80637726bed3116100de5780637726bed3146103525780638be86c74146103655780638da5cb5b1461037857806391b7f5ed1461038957600080fd5b80636c0360eb1461031c5780636f8b44b01461032457806370a0823114610337578063715018a61461034a57600080fd5b80632f745c59116101875780634c0f38c2116101565780634c0f38c2146102db5780634f6ccce7146102e357806355f804b3146102f65780636352211e1461030957600080fd5b80632f745c591461029957806342842e0e146102ac57806342966c68146102bf57806343524338146102d257600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd14610267578063238dafe01461027957806323b872dd1461028657600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f8366004612086565b610448565b60405190151581526020015b60405180910390f35b61021a6104b5565b60405161020991906121e9565b61023a610235366004612132565b610547565b6040516001600160a01b039091168152602001610209565b610265610260366004612022565b6105d7565b005b6000545b604051908152602001610209565b6010546101fd9060ff1681565b610265610294366004611ed3565b6106ef565b61026b6102a7366004612022565b6106fa565b6102656102ba366004611ed3565b610868565b6102656102cd366004612132565b610883565b61026b600f5481565b60015461026b565b61026b6102f1366004612132565b6108e5565b6102656103043660046120c0565b610947565b61023a610317366004612132565b61097d565b61021a61098f565b610265610332366004612132565b610a1d565b61026b610345366004611e85565b610a4c565b610265610add565b61026561036036600461204c565b610b13565b610265610373366004612022565b610b50565b600a546001600160a01b031661023a565b610265610397366004612132565b610b96565b61021a610bc5565b6102656103b2366004612132565b610bd4565b6102656103c5366004611feb565b610e5b565b6102656103d8366004611f0f565b610f20565b61021a6103eb366004612132565b610f59565b61026b60095481565b6101fd610407366004611ea0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b610265610443366004611e85565b610fe4565b60006001600160e01b031982166380ac58cd60e01b148061047957506001600160e01b03198216635b5e139f60e01b145b8061049457506001600160e01b0319821663780e9d6360e01b145b806104af57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546104c490612368565b80601f01602080910402602001604051908101604052809291908181526020018280546104f090612368565b801561053d5780601f106105125761010080835404028352916020019161053d565b820191906000526020600020905b81548152906001019060200180831161052057829003601f168201915b5050505050905090565b6000610554826000541190565b6105bb5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006105e28261097d565b9050806001600160a01b0316836001600160a01b031614156106515760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016105b2565b336001600160a01b038216148061066d575061066d8133610407565b6106df5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016105b2565b6106ea83838361107c565b505050565b6106ea8383836110d8565b600061070583610a4c565b821061075e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016105b2565b600080549080805b83811015610808576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156107b957805192505b876001600160a01b0316836001600160a01b031614156107f557868414156107e7575093506104af92505050565b836107f1816123a3565b9450505b5080610800816123a3565b915050610766565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016105b2565b6106ea83838360405180602001604052806000815250610f20565b61088d3382611460565b6108d95760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656460448201526064016105b2565b6108e28161152c565b50565b6000805482106109435760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016105b2565b5090565b600a546001600160a01b031633146109715760405162461bcd60e51b81526004016105b2906121fc565b6106ea600e8383611dd9565b6000610988826115ee565b5192915050565b600e805461099c90612368565b80601f01602080910402602001604051908101604052809291908181526020018280546109c890612368565b8015610a155780601f106109ea57610100808354040283529160200191610a15565b820191906000526020600020905b8154815290600101906020018083116109f857829003601f168201915b505050505081565b600a546001600160a01b03163314610a475760405162461bcd60e51b81526004016105b2906121fc565b600155565b60006001600160a01b038216610ab85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016105b2565b506001600160a01b03166000908152600660205260409020546001600160801b031690565b600a546001600160a01b03163314610b075760405162461bcd60e51b81526004016105b2906121fc565b610b11600061175d565b565b600a546001600160a01b03163314610b3d5760405162461bcd60e51b81526004016105b2906121fc565b6010805460ff1916911515919091179055565b600a546001600160a01b03163314610b7a5760405162461bcd60e51b81526004016105b2906121fc565b600c54610b92906001600160a01b03163084846117af565b5050565b600a546001600160a01b03163314610bc05760405162461bcd60e51b81526004016105b2906121fc565b600f55565b6060600480546104c490612368565b323314610c235760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016105b2565b6002600b541415610c765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016105b2565b6002600b5560105460ff16610cc25760405162461bcd60e51b815260206004820152601260248201527118dd5c9c995b9d1b1e48191a5cd8589b195960721b60448201526064016105b2565b600d546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610d0657600080fd5b505afa158015610d1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3e919061214b565b11610d8b5760405162461bcd60e51b815260206004820152601960248201527f6174206c65617374206f6e65204170656672656e7a204e46540000000000000060448201526064016105b2565b600254811115610dc85760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b60448201526064016105b2565b60015481610dd560005490565b610ddf91906122af565b1115610e225760405162461bcd60e51b815260206004820152601260248201527165786365656473206d617820737570706c7960701b60448201526064016105b2565b610e49333083600f54610e3591906122c7565b600c546001600160a01b03169291906117af565b610e533382611809565b506001600b55565b6001600160a01b038216331415610eb45760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016105b2565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f2b8484846110d8565b610f3784848484611823565b610f535760405162461bcd60e51b81526004016105b290612231565b50505050565b60606000610f668361097d565b6001600160a01b03161415610fb15760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016105b2565b6000610fbb611930565b90506000815111610fdb5760405180602001604052806000815250610fdd565b805b9392505050565b600a546001600160a01b0316331461100e5760405162461bcd60e51b81526004016105b2906121fc565b6001600160a01b0381166110735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105b2565b6108e28161175d565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006110e3826115ee565b80519091506000906001600160a01b0316336001600160a01b0316148061111a57503361110f84610547565b6001600160a01b0316145b8061112c5750815161112c9033610407565b9050806111965760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016105b2565b846001600160a01b031682600001516001600160a01b03161461120a5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016105b2565b6001600160a01b03841661126e5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016105b2565b61127e600084846000015161107c565b6001600160a01b03851660009081526006602052604081208054600192906112b09084906001600160801b03166122e6565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260066020526040812080546001945090926112fc91859116612284565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526005909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556113848460016122af565b6000818152600560205260409020549091506001600160a01b0316611416576113ae816000541190565b156114165760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600590935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600061146d826000541190565b6114ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105b2565b60006114d98361097d565b9050806001600160a01b0316846001600160a01b031614806115145750836001600160a01b031661150984610547565b6001600160a01b0316145b8061152457506115248185610407565b949350505050565b60006115378261097d565b90506115446000836105d7565b6001600160a01b03811660009081526006602052604081208054600192906115769084906001600160801b03166122e6565b82546001600160801b039182166101009390930a92830291909202199091161790555060008281526005602052604080822080546001600160e01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b604080518082019091526000808252602082015261160d826000541190565b61166c5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016105b2565b6000600254831061169257600254611684908461230e565b61168f9060016122af565b90505b825b8181106116fc576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156116e957949350505050565b50806116f481612351565b915050611694565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016105b2565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610f5390859061193f565b610b92828260405180602001604052806000815250611a11565b60006001600160a01b0384163b1561192557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906118679033908990889088906004016121ac565b602060405180830381600087803b15801561188157600080fd5b505af19250505080156118b1575060408051601f3d908101601f191682019092526118ae918101906120a3565b60015b61190b573d8080156118df576040519150601f19603f3d011682016040523d82523d6000602084013e6118e4565b606091505b5080516119035760405162461bcd60e51b81526004016105b290612231565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611524565b506001949350505050565b6060600e80546104c490612368565b6000611994826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611cce9092919063ffffffff16565b8051909150156106ea57808060200190518101906119b29190612069565b6106ea5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105b2565b6000546001600160a01b038416611a745760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016105b2565b611a7f816000541190565b15611acc5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016105b2565b600254831115611b295760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016105b2565b6001600160a01b0384166000908152600660209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611b85908790612284565b6001600160801b03168152602001858360200151611ba39190612284565b6001600160801b039081169091526001600160a01b0380881660008181526006602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526005909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611cc35760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611c876000888488611823565b611ca35760405162461bcd60e51b81526004016105b290612231565b81611cad816123a3565b9250508080611cbb906123a3565b915050611c3a565b506000819055611458565b6060611524848460008585843b611d275760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105b2565b600080866001600160a01b03168587604051611d439190612190565b60006040518083038185875af1925050503d8060008114611d80576040519150601f19603f3d011682016040523d82523d6000602084013e611d85565b606091505b5091509150611d95828286611da0565b979650505050505050565b60608315611daf575081610fdd565b825115611dbf5782518084602001fd5b8160405162461bcd60e51b81526004016105b291906121e9565b828054611de590612368565b90600052602060002090601f016020900481019282611e075760008555611e4d565b82601f10611e205782800160ff19823516178555611e4d565b82800160010185558215611e4d579182015b82811115611e4d578235825591602001919060010190611e32565b506109439291505b808211156109435760008155600101611e55565b80356001600160a01b0381168114611e8057600080fd5b919050565b600060208284031215611e9757600080fd5b610fdd82611e69565b60008060408385031215611eb357600080fd5b611ebc83611e69565b9150611eca60208401611e69565b90509250929050565b600080600060608486031215611ee857600080fd5b611ef184611e69565b9250611eff60208501611e69565b9150604084013590509250925092565b60008060008060808587031215611f2557600080fd5b611f2e85611e69565b9350611f3c60208601611e69565b925060408501359150606085013567ffffffffffffffff80821115611f6057600080fd5b818701915087601f830112611f7457600080fd5b813581811115611f8657611f866123d4565b604051601f8201601f19908116603f01168101908382118183101715611fae57611fae6123d4565b816040528281528a6020848701011115611fc757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611ffe57600080fd5b61200783611e69565b91506020830135612017816123ea565b809150509250929050565b6000806040838503121561203557600080fd5b61203e83611e69565b946020939093013593505050565b60006020828403121561205e57600080fd5b8135610fdd816123ea565b60006020828403121561207b57600080fd5b8151610fdd816123ea565b60006020828403121561209857600080fd5b8135610fdd816123f8565b6000602082840312156120b557600080fd5b8151610fdd816123f8565b600080602083850312156120d357600080fd5b823567ffffffffffffffff808211156120eb57600080fd5b818501915085601f8301126120ff57600080fd5b81358181111561210e57600080fd5b86602082850101111561212057600080fd5b60209290920196919550909350505050565b60006020828403121561214457600080fd5b5035919050565b60006020828403121561215d57600080fd5b5051919050565b6000815180845261217c816020860160208601612325565b601f01601f19169290920160200192915050565b600082516121a2818460208701612325565b9190910192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121df90830184612164565b9695505050505050565b602081526000610fdd6020830184612164565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b038083168185168083038211156122a6576122a66123be565b01949350505050565b600082198211156122c2576122c26123be565b500190565b60008160001904831182151516156122e1576122e16123be565b500290565b60006001600160801b0383811690831681811015612306576123066123be565b039392505050565b600082821015612320576123206123be565b500390565b60005b83811015612340578181015183820152602001612328565b83811115610f535750506000910152565b600081612360576123606123be565b506000190190565b600181811c9082168061237c57607f821691505b6020821081141561239d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123b7576123b76123be565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146108e257600080fd5b6001600160e01b0319811681146108e257600080fdfea2646970667358221220a38b030f271eccee686db323019a795dd55738c879e98d399011be4f7176ada464736f6c634300080700330000000000000000000000001f5c8f58d92854a50ce505cf5a52616b12bda01e000000000000000000000000ce141c45619e9adbdbdda5af19b3052ff79d566300000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000fa0