60806040526200001c69bc3ac3627d44cbe8300060001962000357565b6200002a906000196200037a565b600655600060088190556009819055600a819055600b819055600c819055600d819055600e819055600f5560128054336001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b1790556903c3bc3a4a2f476b2a00601681905560175568302fcfb6e890e83000601855348015620000bb57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000179573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019f9190620003a2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002139190620003a2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000261573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002879190620003a2565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef69bc3ac3627d44cbe830006040516200034891815260200190565b60405180910390a350620003d4565b6000826200037557634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200039c57634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003b557600080fd5b81516001600160a01b0381168114620003cd57600080fd5b9392505050565b611dc180620003e46000396000f3fe6080604052600436106101d15760003560e01c80637f2feddc116100f7578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e14610522578063ea1644d514610568578063f2fde38b14610588578063f50c7c29146105a857600080fd5b8063a9059cbb1461049d578063bfd79284146104bd578063c3c8cd80146104ed578063c492f0461461050257600080fd5b80638f9a55c0116100d15780638f9a55c01461044757806395d89b41146101dd57806398a5c3151461045d578063a2a957bb1461047d57600080fd5b80637f2feddc146103dc5780638da5cb5b146104095780638f70ccf71461042757600080fd5b8063313ce5671161016f57806370a082311161013e57806370a0823114610371578063715018a61461039157806374010ece146103a65780637d1db4a5146103c657600080fd5b8063313ce5671461030057806349bd5a5e1461031c5780636d8aa8f81461033c5780636fc3eaec1461035c57600080fd5b806318160ddd116101ab57806318160ddd1461028157806318570f88146102a857806323b872dd146102ca5780632fd689e3146102ea57600080fd5b806306fdde03146101dd578063095ea7b3146102195780631694505e1461024957600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201825260048152632122a2a960e11b6020820152905161021091906118e9565b60405180910390f35b34801561022557600080fd5b5061023961023436600461195c565b6105c8565b6040519015158152602001610210565b34801561025557600080fd5b50601454610269906001600160a01b031681565b6040516001600160a01b039091168152602001610210565b34801561028d57600080fd5b5069bc3ac3627d44cbe830005b604051908152602001610210565b3480156102b457600080fd5b506102c86102c336600461199e565b6105df565b005b3480156102d657600080fd5b506102396102e5366004611a63565b61067e565b3480156102f657600080fd5b5061029a60185481565b34801561030c57600080fd5b5060405160098152602001610210565b34801561032857600080fd5b50601554610269906001600160a01b031681565b34801561034857600080fd5b506102c8610357366004611ab4565b6106e7565b34801561036857600080fd5b506102c861072f565b34801561037d57600080fd5b5061029a61038c366004611acf565b61077a565b34801561039d57600080fd5b506102c861079c565b3480156103b257600080fd5b506102c86103c1366004611aec565b610810565b3480156103d257600080fd5b5061029a60165481565b3480156103e857600080fd5b5061029a6103f7366004611acf565b60116020526000908152604090205481565b34801561041557600080fd5b506000546001600160a01b0316610269565b34801561043357600080fd5b506102c8610442366004611ab4565b61083f565b34801561045357600080fd5b5061029a60175481565b34801561046957600080fd5b506102c8610478366004611aec565b610887565b34801561048957600080fd5b506102c8610498366004611b05565b6108b6565b3480156104a957600080fd5b506102396104b836600461195c565b6108f4565b3480156104c957600080fd5b506102396104d8366004611acf565b60106020526000908152604090205460ff1681565b3480156104f957600080fd5b506102c8610901565b34801561050e57600080fd5b506102c861051d366004611b37565b610955565b34801561052e57600080fd5b5061029a61053d366004611bbb565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561057457600080fd5b506102c8610583366004611aec565b6109f6565b34801561059457600080fd5b506102c86105a3366004611acf565b610a25565b3480156105b457600080fd5b506102c86105c3366004611acf565b610b0f565b60006105d5338484610b5a565b5060015b92915050565b6000546001600160a01b031633146106125760405162461bcd60e51b815260040161060990611bf4565b60405180910390fd5b60005b815181101561067a5760016010600084848151811061063657610636611c29565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061067281611c55565b915050610615565b5050565b600061068b848484610c7e565b6106dd84336106d885604051806060016040528060288152602001611d64602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111ba565b610b5a565b5060019392505050565b6000546001600160a01b031633146107115760405162461bcd60e51b815260040161060990611bf4565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061076457506013546001600160a01b0316336001600160a01b0316145b61076d57600080fd5b47610777816111f4565b50565b6001600160a01b0381166000908152600260205260408120546105d99061122e565b6000546001600160a01b031633146107c65760405162461bcd60e51b815260040161060990611bf4565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461083a5760405162461bcd60e51b815260040161060990611bf4565b601655565b6000546001600160a01b031633146108695760405162461bcd60e51b815260040161060990611bf4565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146108b15760405162461bcd60e51b815260040161060990611bf4565b601855565b6000546001600160a01b031633146108e05760405162461bcd60e51b815260040161060990611bf4565b600893909355600a91909155600955600b55565b60006105d5338484610c7e565b6012546001600160a01b0316336001600160a01b0316148061093657506013546001600160a01b0316336001600160a01b0316145b61093f57600080fd5b600061094a3061077a565b9050610777816112b2565b6000546001600160a01b0316331461097f5760405162461bcd60e51b815260040161060990611bf4565b60005b828110156109f05781600560008686858181106109a1576109a1611c29565b90506020020160208101906109b69190611acf565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806109e881611c55565b915050610982565b50505050565b6000546001600160a01b03163314610a205760405162461bcd60e51b815260040161060990611bf4565b601755565b6000546001600160a01b03163314610a4f5760405162461bcd60e51b815260040161060990611bf4565b6001600160a01b038116610ab45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610609565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610b395760405162461bcd60e51b815260040161060990611bf4565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6001600160a01b038316610bbc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610609565b6001600160a01b038216610c1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610609565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ce25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610609565b6001600160a01b038216610d445760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610609565b60008111610da65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610609565b6000546001600160a01b03848116911614801590610dd257506000546001600160a01b03838116911614155b156110b357601554600160a01b900460ff16610e6b576000546001600160a01b03848116911614610e6b5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610609565b601654811115610ebd5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610609565b6001600160a01b03831660009081526010602052604090205460ff16158015610eff57506001600160a01b03821660009081526010602052604090205460ff16155b610f575760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610609565b6015546001600160a01b03838116911614610fdc5760175481610f798461077a565b610f839190611c6e565b10610fdc5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610609565b6000610fe73061077a565b6018546016549192508210159082106110005760165491505b8080156110175750601554600160a81b900460ff16155b801561103157506015546001600160a01b03868116911614155b80156110465750601554600160b01b900460ff165b801561106b57506001600160a01b03851660009081526005602052604090205460ff16155b801561109057506001600160a01b03841660009081526005602052604090205460ff16155b156110b05761109e826112b2565b4780156110ae576110ae476111f4565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806110f557506001600160a01b03831660009081526005602052604090205460ff165b8061112757506015546001600160a01b0385811691161480159061112757506015546001600160a01b03848116911614155b15611134575060006111ae565b6015546001600160a01b03858116911614801561115f57506014546001600160a01b03848116911614155b1561117157600854600c55600954600d555b6015546001600160a01b03848116911614801561119c57506014546001600160a01b03858116911614155b156111ae57600a54600c55600b54600d555b6109f08484848461142c565b600081848411156111de5760405162461bcd60e51b815260040161060991906118e9565b5060006111eb8486611c81565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561067a573d6000803e3d6000fd5b60006006548211156112955760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610609565b600061129f61145a565b90506112ab838261147d565b9392505050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106112fa576112fa611c29565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611353573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113779190611c94565b8160018151811061138a5761138a611c29565b6001600160a01b0392831660209182029290920101526014546113b09130911684610b5a565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113e9908590600090869030904290600401611cb1565b600060405180830381600087803b15801561140357600080fd5b505af1158015611417573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611439576114396114bf565b6114448484846114ed565b806109f0576109f0600e54600c55600f54600d55565b60008060006114676115e4565b9092509050611476828261147d565b9250505090565b60006112ab83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611628565b600c541580156114cf5750600d54155b156114d657565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806114ff87611656565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061153190876116b3565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461156090866116f5565b6001600160a01b03891660009081526002602052604090205561158281611754565b61158c848361179e565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516115d191815260200190565b60405180910390a3505050505050505050565b600654600090819069bc3ac3627d44cbe83000611601828261147d565b82101561161f5750506006549269bc3ac3627d44cbe8300092509050565b90939092509050565b600081836116495760405162461bcd60e51b815260040161060991906118e9565b5060006111eb8486611d22565b60008060008060008060008060006116738a600c54600d546117c2565b925092509250600061168361145a565b905060008060006116968e878787611817565b919e509c509a509598509396509194505050505091939550919395565b60006112ab83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111ba565b6000806117028385611c6e565b9050838110156112ab5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610609565b600061175e61145a565b9050600061176c8383611867565b3060009081526002602052604090205490915061178990826116f5565b30600090815260026020526040902055505050565b6006546117ab90836116b3565b6006556007546117bb90826116f5565b6007555050565b60008080806117dc60646117d68989611867565b9061147d565b905060006117ef60646117d68a89611867565b90506000611807826118018b866116b3565b906116b3565b9992985090965090945050505050565b60008080806118268886611867565b905060006118348887611867565b905060006118428888611867565b905060006118548261180186866116b3565b939b939a50919850919650505050505050565b600082600003611879575060006105d9565b60006118858385611d44565b9050826118928583611d22565b146112ab5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610609565b600060208083528351808285015260005b81811015611916578581018301518582016040015282016118fa565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461077757600080fd5b803561195781611937565b919050565b6000806040838503121561196f57600080fd5b823561197a81611937565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156119b157600080fd5b823567ffffffffffffffff808211156119c957600080fd5b818501915085601f8301126119dd57600080fd5b8135818111156119ef576119ef611988565b8060051b604051601f19603f83011681018181108582111715611a1457611a14611988565b604052918252848201925083810185019188831115611a3257600080fd5b938501935b82851015611a5757611a488561194c565b84529385019392850192611a37565b98975050505050505050565b600080600060608486031215611a7857600080fd5b8335611a8381611937565b92506020840135611a9381611937565b929592945050506040919091013590565b8035801515811461195757600080fd5b600060208284031215611ac657600080fd5b6112ab82611aa4565b600060208284031215611ae157600080fd5b81356112ab81611937565b600060208284031215611afe57600080fd5b5035919050565b60008060008060808587031215611b1b57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611b4c57600080fd5b833567ffffffffffffffff80821115611b6457600080fd5b818601915086601f830112611b7857600080fd5b813581811115611b8757600080fd5b8760208260051b8501011115611b9c57600080fd5b602092830195509350611bb29186019050611aa4565b90509250925092565b60008060408385031215611bce57600080fd5b8235611bd981611937565b91506020830135611be981611937565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611c6757611c67611c3f565b5060010190565b808201808211156105d9576105d9611c3f565b818103818111156105d9576105d9611c3f565b600060208284031215611ca657600080fd5b81516112ab81611937565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d015784516001600160a01b031683529383019391830191600101611cdc565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d3f57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611d5e57611d5e611c3f565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220dc9f991e6e02bbae8803ea90eb4d1c7d7a3edeccc4e755d08baf1d513170872664736f6c63430008100033