608060405234801561001057600080fd5b50612d1e806100206000396000f3fe60806040523480156200001157600080fd5b5060043610620001f55760003560e01c8063715018a61162000119578063a457c2d711620000af578063dd62ed3e116200007a578063dd62ed3e14620004b8578063e7a324dc14620004f4578063f1127ed8146200051c578063f2fde38b146200057757600080fd5b8063a457c2d7146200045c578063a9059cbb1462000473578063b4b5ea57146200048a578063c3cda52014620004a157600080fd5b80637ecebe0011620000f05780637ecebe0014620004095780638da5cb5b146200042c57806395d89b41146200043e578063964bca5f146200044857600080fd5b8063715018a614620003d157806372d1c9fe14620003db578063782d6fe114620003f257600080fd5b806339509351116200018f5780636331e9ae11620001665780636331e9ae146200033b57806364210fa914620003525780636fcfff45146200036657806370a0823114620003a557600080fd5b80633950935114620002c5578063587cde1e14620002dc5780635c19a95c146200032457600080fd5b806318160ddd11620001d057806318160ddd146200025d57806320606b70146200027057806323b872dd1462000298578063313ce56714620002af57600080fd5b806306fdde0314620001fa578063077f224a146200021c578063095ea7b31462000235575b600080fd5b620002046200058e565b60405162000213919062002106565b60405180910390f35b620002336200022d36600462002089565b62000628565b005b6200024c6200024636600462001fbf565b62000844565b604051901515815260200162000213565b6099545b60405190815260200162000213565b620002617f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6200024c620002a936600462001f3e565b6200085d565b609c5460405160ff909116815260200162000213565b6200024c620002d636600462001fbf565b620008cd565b6200030b620002ed36600462001ee8565b6001600160a01b03908116600090815260cc60205260409020541690565b6040516001600160a01b03909116815260200162000213565b620002336200033536600462001ee8565b62000906565b620002336200034c36600462001ee8565b62000915565b60ca546200030b906001600160a01b031681565b6200038f6200037736600462001ee8565b60ce6020526000908152604090205463ffffffff1681565b60405163ffffffff909116815260200162000213565b62000261620003b636600462001ee8565b6001600160a01b031660009081526097602052604090205490565b62000233620009be565b62000233620003ec36600462001f7f565b62000a35565b620002616200040336600462001fbf565b62000a8d565b620002616200041a36600462001ee8565b60cf6020526000908152604090205481565b6065546001600160a01b03166200030b565b6200020462000d13565b60cb546200030b906001600160a01b031681565b6200024c6200046d36600462001fbf565b62000d24565b6200024c6200048436600462001fbf565b62000d77565b620002616200049b36600462001ee8565b62000d86565b62000233620004b236600462001fec565b62000dff565b62000261620004c936600462001f06565b6001600160a01b03918216600090815260986020908152604080832093909416825291909152205490565b620002617fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6200055a6200052d36600462002050565b60cd6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff909316835260208301919091520162000213565b620002336200058836600462001ee8565b620010ea565b6060609a80546200059f906200229b565b80601f0160208091040260200160405190810160405280929190818152602001828054620005cd906200229b565b80156200061e5780601f10620005f2576101008083540402835291602001916200061e565b820191906000526020600020905b8154815290600101906020018083116200060057829003601f168201915b5050505050905090565b600054610100900460ff16806200063e5750303b155b806200064d575060005460ff16155b620006755760405162461bcd60e51b81526004016200066c9062002193565b60405180910390fd5b600054610100900460ff1615801562000698576000805461ffff19166101011790555b620006a2620011da565b620006ae84846200126a565b33620006be4262ed4e00620021e1565b600063018b8200604051620006d39062001d82565b6001600160a01b039094168452602084019290925260408301526060820152608001604051809103906000f08015801562000712573d6000803e3d6000fd5b5060cb80546001600160a01b0319166001600160a01b03929092169190911790553362000743426276a700620021e1565b600062c5c100604051620007579062001d82565b6001600160a01b039094168452602084019290925260408301526060820152608001604051809103906000f08015801562000796573d6000803e3d6000fd5b5060ca80546001600160a01b0319166001600160a01b0392909216919091179055620007ce336a52b7d2dcc80cd2e4000000620012ff565b620007e5826a52b7d2dcc80cd2e4000000620012ff565b60cb5462000808906001600160a01b03166a295be96e64066972000000620012ff565b60ca546200082b906001600160a01b03166a295be96e64066972000000620012ff565b80156200083e576000805461ff00191690555b50505050565b6000620008533384846200131d565b5060015b92915050565b60006200086c84848462001446565b620008c38433620008bd8560405180606001604052806028815260200162002c63602891396001600160a01b038a166000908152609860209081526040808320338452909152902054919062001460565b6200131d565b5060019392505050565b3360008181526098602090815260408083206001600160a01b0387168452909152812054909162000853918590620008bd90866200149f565b62000912338262001502565b50565b6065546001600160a01b03163314620009425760405162461bcd60e51b81526004016200066c906200215e565b60cb54600160a01b900460ff1615620009935760405162461bcd60e51b81526020600482015260126024820152716f6e6c792063616e206d696e74206f6e636560701b60448201526064016200066c565b60cb805460ff60a01b1916600160a01b17905562000912816b024306c4097859c43c000000620012ff565b6065546001600160a01b03163314620009eb5760405162461bcd60e51b81526004016200066c906200215e565b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b6065546001600160a01b0316331462000a625760405162461bcd60e51b81526004016200066c906200215e565b6001600160a01b03919091166000908152609d60205260409020805460ff1916911515919091179055565b600043821062000af55760405162461bcd60e51b815260206004820152602c60248201527f4661726d546f6b656e3a3a6765745072696f72566f7465733a206e6f7420796560448201526b1d0819195d195c9b5a5b995960a21b60648201526084016200066c565b6001600160a01b038316600090815260ce602052604090205463ffffffff168062000b2557600091505062000857565b6001600160a01b038416600090815260cd60205260408120849162000b4c60018562002273565b63ffffffff9081168252602082019290925260400160002054161162000bb9576001600160a01b038416600090815260cd602052604081209062000b9260018462002273565b63ffffffff1663ffffffff1681526020019081526020016000206001015491505062000857565b6001600160a01b038416600090815260cd6020908152604080832083805290915290205463ffffffff1683101562000bf657600091505062000857565b60008062000c0660018462002273565b90505b8163ffffffff168163ffffffff16111562000cdc576000600262000c2e848462002273565b62000c3a919062002227565b62000c46908362002273565b6001600160a01b038816600090815260cd6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915291925087141562000cab57602001519450620008579350505050565b805163ffffffff1687111562000cc45781935062000cd4565b62000cd160018362002273565b92505b505062000c09565b506001600160a01b038516600090815260cd6020908152604080832063ffffffff9094168352929052206001015491505092915050565b6060609b80546200059f906200229b565b6000620008533384620008bd8560405180606001604052806025815260200162002cc4602591393360009081526098602090815260408083206001600160a01b038d168452909152902054919062001460565b60006200085333848462001446565b6001600160a01b038116600090815260ce602052604081205463ffffffff168062000db357600062000df8565b6001600160a01b038316600090815260cd602052604081209062000dd960018462002273565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86662000e2c6200058e565b8051906020012062000e3b4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa15801562000f68573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811662000fe15760405162461bcd60e51b815260206004820152602b60248201527f4661726d546f6b656e3a3a64656c656761746542795369673a20696e76616c6960448201526a64207369676e617475726560a81b60648201526084016200066c565b6001600160a01b038116600090815260cf602052604081208054916200100783620022d8565b9190505589146200106b5760405162461bcd60e51b815260206004820152602760248201527f4661726d546f6b656e3a3a64656c656761746542795369673a20696e76616c6960448201526664206e6f6e636560c81b60648201526084016200066c565b87421115620010d15760405162461bcd60e51b815260206004820152602b60248201527f4661726d546f6b656e3a3a64656c656761746542795369673a207369676e617460448201526a1d5c9948195e1c1a5c995960aa1b60648201526084016200066c565b620010dd818b62001502565b505050505b505050505050565b6065546001600160a01b03163314620011175760405162461bcd60e51b81526004016200066c906200215e565b6001600160a01b0381166200117e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200066c565b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff1680620011f05750303b155b80620011ff575060005460ff16155b6200121e5760405162461bcd60e51b81526004016200066c9062002193565b600054610100900460ff1615801562001241576000805461ffff19166101011790555b6200124b6200157e565b62001255620015f9565b801562000912576000805461ff001916905550565b600054610100900460ff1680620012805750303b155b806200128f575060005460ff16155b620012ae5760405162461bcd60e51b81526004016200066c9062002193565b600054610100900460ff16158015620012d1576000805461ffff19166101011790555b620012db6200157e565b620012e78383620016b8565b8015620012fa576000805461ff00191690555b505050565b6200130b82826200176f565b62001319600083836200186a565b5050565b6001600160a01b038316620013815760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200066c565b6001600160a01b038216620013e45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200066c565b6001600160a01b0383811660008181526098602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b62001453838383620019dd565b620012fa8383836200186a565b60008184841115620014875760405162461bcd60e51b81526004016200066c919062002106565b50600062001496848662002259565b95945050505050565b600080620014ae8385620021e1565b90508381101562000df85760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200066c565b6001600160a01b03828116600081815260cc6020818152604080842080546097845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46200083e8284836200186a565b600054610100900460ff1680620015945750303b155b80620015a3575060005460ff16155b620015c25760405162461bcd60e51b81526004016200066c9062002193565b600054610100900460ff1615801562001255576000805461ffff1916610101179055801562000912576000805461ff001916905550565b600054610100900460ff16806200160f5750303b155b806200161e575060005460ff16155b6200163d5760405162461bcd60e51b81526004016200066c9062002193565b600054610100900460ff1615801562001660576000805461ffff19166101011790555b606580546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801562000912576000805461ff001916905550565b600054610100900460ff1680620016ce5750303b155b80620016dd575060005460ff16155b620016fc5760405162461bcd60e51b81526004016200066c9062002193565b600054610100900460ff161580156200171f576000805461ffff19166101011790555b82516200173490609a90602086019062001d90565b5081516200174a90609b90602085019062001d90565b50609c805460ff191660121790558015620012fa576000805461ff0019169055505050565b6001600160a01b038216620017c75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200066c565b620017d56000838362001b7a565b609954620017e490826200149f565b6099556001600160a01b0382166000908152609760205260409020546200180c90826200149f565b6001600160a01b0383166000818152609760205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200185e9085815260200190565b60405180910390a35050565b816001600160a01b0316836001600160a01b0316141580156200188d5750600081115b15620012fa576001600160a01b038316156200193a576001600160a01b038316600090815260ce602052604081205463ffffffff169081620018d157600062001916565b6001600160a01b038516600090815260cd6020526040812090620018f760018562002273565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600062001926848362002259565b9050620019368684848462001ba1565b5050505b6001600160a01b03821615620012fa576001600160a01b038216600090815260ce602052604081205463ffffffff16908162001978576000620019bd565b6001600160a01b038416600090815260cd60205260408120906200199e60018562002273565b63ffffffff1663ffffffff168152602001908152602001600020600101545b90506000620019cd8483620021e1565b9050620010e28584848462001ba1565b6001600160a01b03831662001a435760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016200066c565b6001600160a01b03821662001aa75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016200066c565b62001ab483838362001b7a565b62001af48160405180606001604052806026815260200162002c3d602691396001600160a01b038616600090815260976020526040902054919062001460565b6001600160a01b03808516600090815260976020526040808220939093559084168152205462001b2590826200149f565b6001600160a01b0380841660008181526097602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620014399085815260200190565b6001600160a01b0383166000908152609d602052604090205460ff1615620012fa57600080fd5b600062001bc84360405180606001604052806039815260200162002c8b6039913962001d4f565b905060008463ffffffff1611801562001c2557506001600160a01b038516600090815260cd6020526040812063ffffffff83169162001c0960018862002273565b63ffffffff908116825260208201929092526040016000205416145b1562001c72576001600160a01b038516600090815260cd60205260408120839162001c5260018862002273565b63ffffffff16815260208101919091526040016000206001015562001d04565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a16600090815260cd83528581208a851682529092529390209151825463ffffffff19169116178155905160019182015562001cd3908590620021fc565b6001600160a01b038616600090815260ce60205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b600081640100000000841062001d7a5760405162461bcd60e51b81526004016200066c919062002106565b509192915050565b61091a806200232383390190565b82805462001d9e906200229b565b90600052602060002090601f01602090048101928262001dc2576000855562001e0d565b82601f1062001ddd57805160ff191683800117855562001e0d565b8280016001018555821562001e0d579182015b8281111562001e0d57825182559160200191906001019062001df0565b5062001e1b92915062001e1f565b5090565b5b8082111562001e1b576000815560010162001e20565b80356001600160a01b038116811462001e4e57600080fd5b919050565b600082601f83011262001e6557600080fd5b813567ffffffffffffffff8082111562001e835762001e836200230c565b604051601f8301601f19908116603f0116810190828211818310171562001eae5762001eae6200230c565b8160405283815286602085880101111562001ec857600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121562001efb57600080fd5b62000df88262001e36565b6000806040838503121562001f1a57600080fd5b62001f258362001e36565b915062001f356020840162001e36565b90509250929050565b60008060006060848603121562001f5457600080fd5b62001f5f8462001e36565b925062001f6f6020850162001e36565b9150604084013590509250925092565b6000806040838503121562001f9357600080fd5b62001f9e8362001e36565b91506020830135801515811462001fb457600080fd5b809150509250929050565b6000806040838503121562001fd357600080fd5b62001fde8362001e36565b946020939093013593505050565b60008060008060008060c087890312156200200657600080fd5b620020118762001e36565b95506020870135945060408701359350606087013560ff811681146200203657600080fd5b9598949750929560808101359460a0909101359350915050565b600080604083850312156200206457600080fd5b6200206f8362001e36565b9150602083013563ffffffff8116811462001fb457600080fd5b6000806000606084860312156200209f57600080fd5b833567ffffffffffffffff80821115620020b857600080fd5b620020c68783880162001e53565b94506020860135915080821115620020dd57600080fd5b50620020ec8682870162001e53565b925050620020fd6040850162001e36565b90509250925092565b600060208083528351808285015260005b81811015620021355785810183015185820160400152820162002117565b8181111562002148576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602e908201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560408201526d195b881a5b9a5d1a585b1a5e995960921b606082015260800190565b60008219821115620021f757620021f7620022f6565b500190565b600063ffffffff8083168185168083038211156200221e576200221e620022f6565b01949350505050565b600063ffffffff808416806200224d57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000828210156200226e576200226e620022f6565b500390565b600063ffffffff83811690831681811015620022935762002293620022f6565b039392505050565b600181811c90821680620022b057607f821691505b60208210811415620022d257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620022ef57620022ef620022f6565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfe608060405234801561001057600080fd5b5060405161091a38038061091a83398101604081905261002f916100fc565b6001600160a01b03841661004257600080fd5b8082111561004f57600080fd5b600080546001600160a01b0319166001600160a01b03861617905560038190556100848383610092602090811b61031b17901c565b60015550506002555061016d565b60008061009f8385610147565b9050838110156100f55760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640160405180910390fd5b9392505050565b6000806000806080858703121561011257600080fd5b84516001600160a01b038116811461012957600080fd5b60208601516040870151606090970151919890975090945092505050565b6000821982111561016857634e487b7160e01b600052601160045260246000fd5b500190565b61079e8061017c6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063384711cc1161005b578063384711cc146100da57806338af3eed146100ed5780639852595c14610118578063be9a65551461013857600080fd5b80630fb5a6b41461008d57806313d033c0146100a95780631726cbc8146100b257806319165587146100c5575b600080fd5b61009660035481565b6040519081526020015b60405180910390f35b61009660015481565b6100966100c03660046105ff565b610141565b6100d86100d33660046105ff565b610173565b005b6100966100e83660046105ff565b610212565b600054610100906001600160a01b031681565b6040516001600160a01b0390911681526020016100a0565b6100966101263660046105ff565b60046020526000908152604090205481565b61009660025481565b6001600160a01b03811660009081526004602052604081205461016d9061016784610212565b90610386565b92915050565b600061017e82610141565b90506000811161018d57600080fd5b6001600160a01b0382166000908152600460205260409020546101b0908261031b565b6001600160a01b0380841660008181526004602052604081209390935591546101db929116836103c8565b6040518181527ffb81f9b30d73d830c3544b34d827c08142579ee75710b490bab0b3995468c5659060200160405180910390a15050565b6040516370a0823160e01b815230600482015260009081906001600160a01b038416906370a082319060240160206040518083038186803b15801561025657600080fd5b505afa15801561026a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028e919061064a565b6001600160a01b038416600090815260046020526040812054919250906102b690839061031b565b90506001544210156102cc575060009392505050565b6003546002546102db9161031b565b42106102e8579392505050565b61031360035461030d6103066002544261038690919063ffffffff16565b84906104d6565b90610555565b949350505050565b60008061032883856106b2565b90508381101561037f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064015b60405180910390fd5b9392505050565b600061037f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610597565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291516000928392908716916104249190610663565b6000604051808303816000865af19150503d8060008114610461576040519150601f19603f3d011682016040523d82523d6000602084013e610466565b606091505b50915091508180156104905750805115806104905750808060200190518101906104909190610628565b6104cf5760405162461bcd60e51b815260206004820152601060248201526f085514905394d1915497d1905253115160821b6044820152606401610376565b5050505050565b6000826104e55750600061016d565b60006104f183856106ec565b9050826104fe85836106ca565b1461037f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610376565b600061037f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506105d1565b600081848411156105bb5760405162461bcd60e51b8152600401610376919061067f565b5060006105c8848661070b565b95945050505050565b600081836105f25760405162461bcd60e51b8152600401610376919061067f565b5060006105c884866106ca565b60006020828403121561061157600080fd5b81356001600160a01b038116811461037f57600080fd5b60006020828403121561063a57600080fd5b8151801515811461037f57600080fd5b60006020828403121561065c57600080fd5b5051919050565b60008251610675818460208701610722565b9190910192915050565b602081526000825180602084015261069e816040850160208701610722565b601f01601f19169190910160400192915050565b600082198211156106c5576106c5610752565b500190565b6000826106e757634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561070657610706610752565b500290565b60008282101561071d5761071d610752565b500390565b60005b8381101561073d578181015183820152602001610725565b8381111561074c576000848401525b50505050565b634e487b7160e01b600052601160045260246000fdfea264697066735822122070c457462bb7730462ebd2c0b1e2dd1431da2cb41c478b92e255f0114c6f7d8a64736f6c6343000806003345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654661726d546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205a27aeb930a3958aa3f9a1d9969711140604cfb033a855792c62550d34f5dcf964736f6c63430008060033