60806040526100106004600a610612565b61001e90633b9aca00610620565b600381905561003c906103e89061003690600f610413565b9061049f565b600455600354610055906103e89061003690600f610413565b6005556001600a556003600b555f600c556001600d555f600e55600e54600c54600a54600b54600d546100889190610637565b6100929190610637565b61009c9190610637565b6100a69190610637565b600f5560646010819055601181905560128190556013819055601e601955601a55601d805461ffff60a01b1916600160a81b1790556003546103e8906100ed906014610620565b6100f7919061064a565b601e55348015610105575f80fd5b505f80546001600160a01b031916339081178255808252600160208190526040808420805460ff191690921790915551909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601b80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155604080516315ab88c960e31b8152905163ad5c4648916004808201926020929091908290030181865afa1580156101c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101e59190610669565b600280546001600160a01b0319166001600160a01b03928316179055601b546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa158015610241573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102659190610669565b6002546040516364e329cb60e11b81526001600160a01b03918216600482015230602482015291169063c9c65396906044016020604051808303815f875af11580156102b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d79190610669565b601d80546001600160a01b039283166001600160a01b031991821681178355601c805483169091179055305f818152600760209081526040808320601b548816845282528083205f1990553380845260088352818420805460ff1990811660019081179092556009855283862080548216831790559754891685528285208054891682179055601580549099168552828520805489168217905594845281842080549097169094179095556014805485168417905585548416735690bdc79737824f22ef36868d967a05af2df8e61790955560168054841683179055601780548416831790556018805490931661dead179092556003548183526006855283832081905592519283529290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36106c4565b5f825f0361042257505f610499565b5f61042d8385610620565b90508261043a858361064a565b146104965760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084015b60405180910390fd5b90505b92915050565b5f61049683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506104e660201b60201c565b5f81836105065760405162461bcd60e51b815260040161048d919061068f565b505f610512848661064a565b95945050505050565b634e487b7160e01b5f52601160045260245ffd5b6001815b600184111561056a5780850481111561054e5761054e61051b565b600184161561055c57908102905b60019390931c928002610533565b935093915050565b5f8261058057506001610499565b8161058c57505f610499565b81600181146105a257600281146105ac576105c8565b6001915050610499565b60ff8411156105bd576105bd61051b565b50506001821b610499565b5060208310610133831016604e8410600b84101617156105eb575081810a610499565b6105f75f19848461052f565b805f190482111561060a5761060a61051b565b029392505050565b5f61049660ff841683610572565b80820281158282048414176104995761049961051b565b808201808211156104995761049961051b565b5f8261066457634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215610679575f80fd5b81516001600160a01b0381168114610496575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b61230a806106d15f395ff3fe608060405260043610610215575f3560e01c80637d1db4a51161011e578063b155a054116100a8578063cf4d094b1161006d578063cf4d094b146105fc578063d6aeedca1461061b578063dd62ed3e1461063a578063f2fde38b1461067e578063f887ea401461069d575f80fd5b8063b155a05414610578578063b2bdfa7b1461058c578063b78e7edb146105aa578063c862be31146105c9578063c9567bf9146105e8575f80fd5b80638da5cb5b116100ee5780638da5cb5b146104d157806395d89b41146104ed578063a8aa1b311461051b578063a9059cbb1461053a578063a9d3ce9914610559575f80fd5b80637d1db4a5146104595780637fd4fc9c1461046e57806386f6c3c114610482578063893d20e8146104a1575f80fd5b8063313ce5671161019f578063571ac8b01161016f578063571ac8b0146103c957806370a08231146103e8578063715018a61461041c578063751039fc1461043057806378109e5414610444575f80fd5b8063313ce5671461035b57806337c73d3d1461037657806348b98ef51461039557806355265669146103b5575f80fd5b806318abb635116101e557806318abb635146102d25780631df4ccfc146102f357806323b872dd146103085780632e6ac10614610327578063308302d314610346575f80fd5b806306fdde031461022057806308fd3d0514610265578063095ea7b31461029557806318160ddd146102b4575f80fd5b3661021c57005b5f80fd5b34801561022b575f80fd5b5060408051808201909152600b81526a29b434b5b7b5ba9025b2b760a91b60208201525b60405161025c9190611e41565b60405180910390f35b348015610270575f80fd5b50601d5461028590600160a01b900460ff1681565b604051901515815260200161025c565b3480156102a0575f80fd5b506102856102af366004611e91565b6106bc565b3480156102bf575f80fd5b506003545b60405190815260200161025c565b3480156102dd575f80fd5b506102f16102ec366004611eb9565b610728565b005b3480156102fe575f80fd5b506102c4600f5481565b348015610313575f80fd5b50610285610322366004611f1a565b610808565b348015610332575f80fd5b50610285610341366004611f54565b6108c6565b348015610351575f80fd5b506102c4601e5481565b348015610366575f80fd5b506040516004815260200161025c565b348015610381575f80fd5b506102f1610390366004611f81565b6108d9565b3480156103a0575f80fd5b50601d5461028590600160a81b900460ff1681565b3480156103c0575f80fd5b506102c461096b565b3480156103d4575f80fd5b506102856103e3366004611f9d565b6109db565b3480156103f3575f80fd5b506102c4610402366004611f9d565b6001600160a01b03165f9081526006602052604090205490565b348015610427575f80fd5b506102f16109e7565b34801561043b575f80fd5b506102f1610a58565b34801561044f575f80fd5b506102c460055481565b348015610464575f80fd5b506102c460045481565b348015610479575f80fd5b506102f1610a8e565b34801561048d575f80fd5b506102f161049c366004611fb6565b610ac7565b3480156104ac575f80fd5b505f546001600160a01b03165b6040516001600160a01b03909116815260200161025c565b3480156104dc575f80fd5b505f546001600160a01b03166104b9565b3480156104f8575f80fd5b5060408051808201909152600681526529a424a5a2a760d11b602082015261024f565b348015610526575f80fd5b50601d546104b9906001600160a01b031681565b348015610545575f80fd5b50610285610554366004611e91565b610b94565b348015610564575f80fd5b506102f1610573366004611ff5565b610ba0565b348015610583575f80fd5b506102f1610bda565b348015610597575f80fd5b505f546104b9906001600160a01b031681565b3480156105b5575f80fd5b506102f16105c4366004612066565b610c31565b3480156105d4575f80fd5b506102f16105e33660046120e6565b610e1e565b3480156105f3575f80fd5b506102f1610eaa565b348015610607575f80fd5b506102c46106163660046120e6565b610efa565b348015610626575f80fd5b50610285610635366004611e91565b610f3f565b348015610645575f80fd5b506102c46106543660046120fd565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205490565b348015610689575f80fd5b506102f1610698366004611f9d565b6110cf565b3480156106a8575f80fd5b50601b546104b9906001600160a01b031681565b335f8181526007602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107169086815260200190565b60405180910390a35060015b92915050565b5f546001600160a01b0316331461075a5760405162461bcd60e51b81526004016107519061212e565b60405180910390fd5b601480546001600160a01b038781166001600160a01b031992831617909255601580548784169083168117909155601680548785169084168117909155601880548786169085168117909155601780549587169590941685179093556040805192835260208301949094529281019190915260608101919091527fd57a6cc80e12ea4e450dcae918d555702c8ad353993d8e23acc138382c6c7f649060800160405180910390a15050505050565b6001600160a01b0383165f9081526007602090815260408083203384529091528120545f19146108b1576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387165f90815260078252838120338252909152919091205461088d9184906111b6565b6001600160a01b0385165f9081526007602090815260408083203384529091529020555b6108bc8484846111ee565b90505b9392505050565b5f826108d183610efa565b119392505050565b5f546001600160a01b031633146109025760405162461bcd60e51b81526004016107519061212e565b601d805460ff60a81b1916600160a81b84151581029190911791829055601e8390556040805184815260ff9290930491909116151560208301527f392f1d6148f51babec2021798dc4b53898c421ad141fcd1babe8ac1bff909f79910160405180910390a15050565b60066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f85461dead5f9081527f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e225460035491926109d69290916109d09190611545565b90611545565b905090565b5f610722825f196106bc565b5f546001600160a01b03163314610a105760405162461bcd60e51b81526004016107519061212e565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b03163314610a815760405162461bcd60e51b81526004016107519061212e565b6003546004819055600555565b6016546040516001600160a01b03909116904780156108fc02915f818181858888f19350505050158015610ac4573d5f803e3d5ffd5b50565b5f546001600160a01b03163314610af05760405162461bcd60e51b81526004016107519061212e565b600a869055600d859055600b849055600c839055600e829055610b2182610b1b858188818c8c611586565b90611586565b600f556010819055610b34600482612177565b600f5410610b845760405162461bcd60e51b815260206004820152601d60248201527f466565732063616e206e6f74206265206d6f7265207468616e203235250000006044820152606401610751565b610b8c6115e4565b505050505050565b5f6108bf3384846111ee565b5f546001600160a01b03163314610bc95760405162461bcd60e51b81526004016107519061212e565b601191909155601291909155601355565b5f546001600160a01b03163314610c035760405162461bcd60e51b81526004016107519061212e565b5f60128190556011819055601355600354606490610c22906001612196565b610c2c9190612177565b601e55565b335f9081526009602052604090205460ff16610c4b575f80fd5b6101f58310610cb25760405162461bcd60e51b815260206004820152602d60248201527f474153204572726f723a206d61782061697264726f70206c696d69742069732060448201526c3530302061646472657373657360981b6064820152608401610751565b828114610d125760405162461bcd60e51b815260206004820152602860248201527f4d69736d61746368206265747765656e204164647265737320616e6420746f6b604482015267195b8818dbdd5b9d60c21b6064820152608401610751565b5f805b84811015610d4b57838382818110610d2f57610d2f6121ad565b9050602002013582610d4191906121c1565b9150600101610d15565b5080610d6b876001600160a01b03165f9081526006602052604090205490565b1015610db95760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e7320696e2077616c6c657400000000006044820152606401610751565b5f5b84811015610e1557610e0c87878784818110610dd957610dd96121ad565b9050602002016020810190610dee9190611f9d565b868685818110610e0057610e006121ad565b9050602002013561167f565b50600101610dbb565b50505050505050565b5f546001600160a01b03163314610e475760405162461bcd60e51b81526004016107519061212e565b6001811015610e54575f80fd5b6103e881600354610e659190612196565b610e6f9190612177565b60058190556040519081527f494fd99b13a8a3670e91a40af1b1ffec73968d010de2a178aa17556d7d353f339060200160405180910390a150565b5f546001600160a01b03163314610ed35760405162461bcd60e51b81526004016107519061212e565b601d805460ff60a01b1916600160a01b1790556101f46012556102bc6011556103e8601355565b5f610722610f0661096b565b601d546001600160a01b03165f90815260066020526040902054610f3990610f32906002905b9061174f565b859061174f565b906117cd565b5f306001600160a01b03841603610fa95760405162461bcd60e51b815260206004820152602860248201527f746f6b656e416464726573732063616e206e6f7420626520746865206e6174696044820152673b32903a37b5b2b760c11b6064820152608401610751565b815f03611019576040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610ff2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101691906121d4565b91505b604080516001600160a01b0385168152602081018490527f13baf1e647d68ca9451d9fc896ee1c75b4337b7804451971e549ca6d1e24287d910160405180910390a160145460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018490529084169063a9059cbb906044016020604051808303815f875af11580156110ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108bf91906121eb565b5f546001600160a01b031633146110f85760405162461bcd60e51b81526004016107519061212e565b6001600160a01b03811661115d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610751565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f81848411156111d95760405162461bcd60e51b81526004016107519190611e41565b505f6111e58486612206565b95945050505050565b601f545f9060ff161561120d5761120684848461167f565b90506108bf565b6001600160a01b0384165f9081526001602052604090205460ff1615801561124d57506001600160a01b0383165f9081526001602052604090205460ff16155b156112a257601d54600160a01b900460ff166112a25760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b6044820152606401610751565b6001600160a01b0384165f9081526001602052604090205460ff161580156112d357506001600160a01b0383163014155b80156112ea57506001600160a01b03831661dead14155b80156113045750601d546001600160a01b03848116911614155b801561131e57506018546001600160a01b03848116911614155b801561133857506015546001600160a01b03848116911614155b801561135c57506001600160a01b0383165f9081526009602052604090205460ff16155b156113fc576001600160a01b0383165f9081526006602052604090205460055461138684836121c1565b11156113fa5760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e00006064820152608401610751565b505b611406848361180e565b61140e61187a565b1561141b5761141b6118ce565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0387165f9081526006909152919091205461146c9184906111b6565b6001600160a01b0385165f90815260066020908152604080832093909355600890529081205460ff16806114b757506001600160a01b0384165f9081526008602052604090205460ff165b6114cb576114c6858486611c96565b6114cd565b825b6001600160a01b0385165f908152600660205260409020549091506114f29082611586565b6001600160a01b038086165f8181526006602052604090819020939093559151908716905f805160206122b5833981519152906115329085815260200190565b60405180910390a3506001949350505050565b5f6108bf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111b6565b5f8061159283856121c1565b9050838110156108bf5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610751565b7f8cc651ceed4360bdb07d4dfc17daa4a6fa17092a313d2464a582a73e9b9328006116216064610f39601254600f5461174f90919063ffffffff16565b61163d6064610f39601154600f5461174f90919063ffffffff16565b6116596064610f39601354600f5461174f90919063ffffffff16565b6040805160ff9485168152928416602084015292168183015290519081900360600190a1565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0386165f9081526006909152918220546116cf9184906111b6565b6001600160a01b038086165f9081526006602052604080822093909355908516815220546116fd9083611586565b6001600160a01b038085165f8181526006602052604090819020939093559151908616905f805160206122b58339815191529061173d9086815260200190565b60405180910390a35060019392505050565b5f825f0361175e57505f610722565b5f6117698385612196565b9050826117768583612177565b146108bf5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610751565b5f6108bf83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611e15565b6004548111158061183657506001600160a01b0382165f9081526009602052604090205460ff165b6118765760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610751565b5050565b601d545f906001600160a01b0316331480159061189a5750601f5460ff16155b80156118af5750601d54600160a81b900460ff165b80156109d6575050601e54305f90815260066020526040902054101590565b601f805460ff19166001179055601954601a545f916118ec916108c6565b6118f857600a546118fa565b5f5b90505f61191d6002610f39600f54610f3986601e5461174f90919063ffffffff16565b90505f61193582601e5461154590919063ffffffff16565b6040805160028082526060820183529293505f92909160208301908036833701905050905030815f8151811061196d5761196d6121ad565b6001600160a01b03928316602091820292909201015260025482519116908290600190811061199e5761199e6121ad565b6001600160a01b039283166020918202929092010152601b5460405163791ac94760e01b81524792919091169063791ac947906119e79086905f90879030904290600401612219565b5f604051808303815f87803b1580156119fe575f80fd5b505af1158015611a10573d5f803e3d5ffd5b505050505f611a28824761154590919063ffffffff16565b90505f611a42611a398860026117cd565b600f5490611545565b90505f611a566002610f398481878d61174f565b90505f611a7283610f39600b548761174f90919063ffffffff16565b90505f611a8e84610f39600d548861174f90919063ffffffff16565b90505f611aaa85610f39600c548961174f90919063ffffffff16565b6015546040519192505f916001600160a01b039091169085908381818185875af1925050503d805f8114611af9576040519150601f19603f3d011682016040523d82523d5f602084013e611afe565b606091505b50506016546040519192506001600160a01b03169083905f81818185875af1925050503d805f8114611b4b576040519150601f19603f3d011682016040523d82523d5f602084013e611b50565b606091505b50506017546040519192506001600160a01b03169084905f81818185875af1925050503d805f8114611b9d576040519150601f19603f3d011682016040523d82523d5f602084013e611ba2565b606091505b505f9250508b159050611c7e57601b5460145460405163f305d71960e01b8152306004820152602481018e90525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990879060c40160606040518083038185885af1158015611c1c573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611c419190612289565b505060408051878152602081018e90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b5050601f805460ff1916905550505050505050505050565b601354601d545f91906001600160a01b0390811690841603611cbb5750601154611cd6565b601d546001600160a01b0390811690861603611cd657506012545b5f611d026010546064611ce99190612196565b610f3984610f2c600f548a61174f90919063ffffffff16565b90505f611d20600f54610f39600e548561174f90919063ffffffff16565b90505f611d2d8383611545565b305f90815260066020526040902054909150611d499082611586565b305f90815260066020526040808220929092556018546001600160a01b031681522054611d769083611586565b6018546001600160a01b039081165f9081526006602090815260409182902093909355518381523092918b16915f805160206122b5833981519152910160405180910390a38115611dff57600354611dce9083611545565b6003556040518281525f906001600160a01b038a16905f805160206122b58339815191529060200160405180910390a35b611e098784611545565b98975050505050505050565b5f8183611e355760405162461bcd60e51b81526004016107519190611e41565b505f6111e58486612177565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114611e8c575f80fd5b919050565b5f8060408385031215611ea2575f80fd5b611eab83611e76565b946020939093013593505050565b5f805f805f60a08688031215611ecd575f80fd5b611ed686611e76565b9450611ee460208701611e76565b9350611ef260408701611e76565b9250611f0060608701611e76565b9150611f0e60808701611e76565b90509295509295909350565b5f805f60608486031215611f2c575f80fd5b611f3584611e76565b9250611f4360208501611e76565b929592945050506040919091013590565b5f8060408385031215611f65575f80fd5b50508035926020909101359150565b8015158114610ac4575f80fd5b5f8060408385031215611f92575f80fd5b8235611eab81611f74565b5f60208284031215611fad575f80fd5b6108bf82611e76565b5f805f805f8060c08789031215611fcb575f80fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b5f805f60608486031215612007575f80fd5b505081359360208301359350604090920135919050565b5f8083601f84011261202e575f80fd5b50813567ffffffffffffffff811115612045575f80fd5b6020830191508360208260051b850101111561205f575f80fd5b9250929050565b5f805f805f6060868803121561207a575f80fd5b61208386611e76565b9450602086013567ffffffffffffffff81111561209e575f80fd5b6120aa8882890161201e565b909550935050604086013567ffffffffffffffff8111156120c9575f80fd5b6120d58882890161201e565b969995985093965092949392505050565b5f602082840312156120f6575f80fd5b5035919050565b5f806040838503121561210e575f80fd5b61211783611e76565b915061212560208401611e76565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261219157634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761072257610722612163565b634e487b7160e01b5f52603260045260245ffd5b8082018082111561072257610722612163565b5f602082840312156121e4575f80fd5b5051919050565b5f602082840312156121fb575f80fd5b81516108bf81611f74565b8181038181111561072257610722612163565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156122695783516001600160a01b0316835260209384019390920191600101612242565b50506001600160a01b039590951660608401525050608001529392505050565b5f805f6060848603121561229b575f80fd5b505081516020830151604090930151909492935091905056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205d3c1e2ade1b8bea72c32e359bd9fca7b3dffb4dd72c58a12419a959d2fd21b064736f6c634300081a0033