60806040526200001a670de0b6b3a764000060001962000360565b620000289060001962000383565b600655600060088190556009819055600a819055600b819055600c819055600d819055600e819055600f55601280546001600160a01b0319908116736d254fc70da3011714ee78b77c09ac093c23897d9081179092556013805490911690911790556015805461ffff60a81b1916600160b01b17905566470de4df82000060168190556017556601c6bf52634000601855348015620000c657600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000184573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001aa9190620003ab565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021e9190620003ab565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002929190620003ab565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef670de0b6b3a76400006040516200035191815260200190565b60405180910390a350620003dd565b6000826200037e57634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003a557634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003be57600080fd5b81516001600160a01b0381168114620003d657600080fd5b9392505050565b611d4680620003ed6000396000f3fe6080604052600436106101bb5760003560e01c80637f2feddc116100ec578063a9059cbb1161008a578063c492f04611610064578063c492f046146104fe578063dd62ed3e1461051e578063ea1644d514610564578063f2fde38b1461058457600080fd5b8063a9059cbb14610499578063bfd79284146104b9578063c3c8cd80146104e957600080fd5b80638f9a55c0116100c65780638f9a55c01461041657806395d89b411461042c57806398a5c31514610459578063a2a957bb1461047957600080fd5b80637f2feddc146103ab5780638da5cb5b146103d85780638f70ccf7146103f657600080fd5b806349bd5a5e1161015957806370a082311161013357806370a0823114610340578063715018a61461036057806374010ece146103755780637d1db4a51461039557600080fd5b806349bd5a5e146102e95780636d8aa8f8146103095780636fc3eaec1461032b57600080fd5b806318160ddd1161019557806318160ddd1461027257806323b872dd146102975780632fd689e3146102b7578063313ce567146102cd57600080fd5b806306fdde03146101c7578063095ea7b31461020a5780631694505e1461023a57600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b506040805180820190915260088152672134ba31b7b4b72560c11b60208201525b604051610201919061195c565b60405180910390f35b34801561021657600080fd5b5061022a6102253660046119bf565b6105a4565b6040519015158152602001610201565b34801561024657600080fd5b5060145461025a906001600160a01b031681565b6040516001600160a01b039091168152602001610201565b34801561027e57600080fd5b50670de0b6b3a76400005b604051908152602001610201565b3480156102a357600080fd5b5061022a6102b23660046119eb565b6105bb565b3480156102c357600080fd5b5061028960185481565b3480156102d957600080fd5b5060405160098152602001610201565b3480156102f557600080fd5b5060155461025a906001600160a01b031681565b34801561031557600080fd5b50610329610324366004611a41565b610624565b005b34801561033757600080fd5b50610329610675565b34801561034c57600080fd5b5061028961035b366004611a5c565b6106c0565b34801561036c57600080fd5b506103296106e2565b34801561038157600080fd5b50610329610390366004611a79565b610756565b3480156103a157600080fd5b5061028960165481565b3480156103b757600080fd5b506102896103c6366004611a5c565b60116020526000908152604090205481565b3480156103e457600080fd5b506000546001600160a01b031661025a565b34801561040257600080fd5b50610329610411366004611a41565b610785565b34801561042257600080fd5b5061028960175481565b34801561043857600080fd5b50604080518082019091526004815263212a21a560e11b60208201526101f4565b34801561046557600080fd5b50610329610474366004611a79565b6107cd565b34801561048557600080fd5b50610329610494366004611a92565b6107fc565b3480156104a557600080fd5b5061022a6104b43660046119bf565b6109b2565b3480156104c557600080fd5b5061022a6104d4366004611a5c565b60106020526000908152604090205460ff1681565b3480156104f557600080fd5b506103296109bf565b34801561050a57600080fd5b50610329610519366004611ac4565b610a13565b34801561052a57600080fd5b50610289610539366004611b48565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561057057600080fd5b5061032961057f366004611a79565b610ab4565b34801561059057600080fd5b5061032961059f366004611a5c565b610ae3565b60006105b1338484610bcd565b5060015b92915050565b60006105c8848484610cf1565b61061a843361061585604051806060016040528060288152602001611ce9602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061122d565b610bcd565b5060019392505050565b6000546001600160a01b031633146106575760405162461bcd60e51b815260040161064e90611b81565b60405180910390fd5b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806106aa57506013546001600160a01b0316336001600160a01b0316145b6106b357600080fd5b476106bd81611267565b50565b6001600160a01b0381166000908152600260205260408120546105b5906112a5565b6000546001600160a01b0316331461070c5760405162461bcd60e51b815260040161064e90611b81565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107805760405162461bcd60e51b815260040161064e90611b81565b601655565b6000546001600160a01b031633146107af5760405162461bcd60e51b815260040161064e90611b81565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146107f75760405162461bcd60e51b815260040161064e90611b81565b601855565b6000546001600160a01b031633146108265760405162461bcd60e51b815260040161064e90611b81565b60048411156108855760405162461bcd60e51b815260206004820152602560248201527f4275792072657761726473206d757374206265206265747765656e20302520616044820152646e6420342560d81b606482015260840161064e565b60628211156108e15760405162461bcd60e51b815260206004820152602260248201527f42757920746178206d757374206265206265747765656e20302520616e642039604482015261382560f01b606482015260840161064e565b60048311156109415760405162461bcd60e51b815260206004820152602660248201527f53656c6c2072657761726473206d757374206265206265747765656e20302520604482015265616e6420342560d01b606482015260840161064e565b606281111561099e5760405162461bcd60e51b815260206004820152602360248201527f53656c6c20746178206d757374206265206265747765656e20302520616e642060448201526239382560e81b606482015260840161064e565b600893909355600a91909155600955600b55565b60006105b1338484610cf1565b6012546001600160a01b0316336001600160a01b031614806109f457506013546001600160a01b0316336001600160a01b0316145b6109fd57600080fd5b6000610a08306106c0565b90506106bd81611329565b6000546001600160a01b03163314610a3d5760405162461bcd60e51b815260040161064e90611b81565b60005b82811015610aae578160056000868685818110610a5f57610a5f611bb6565b9050602002016020810190610a749190611a5c565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610aa681611be2565b915050610a40565b50505050565b6000546001600160a01b03163314610ade5760405162461bcd60e51b815260040161064e90611b81565b601755565b6000546001600160a01b03163314610b0d5760405162461bcd60e51b815260040161064e90611b81565b6001600160a01b038116610b725760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161064e565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610c2f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161064e565b6001600160a01b038216610c905760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161064e565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d555760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161064e565b6001600160a01b038216610db75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161064e565b60008111610e195760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161064e565b6000546001600160a01b03848116911614801590610e4557506000546001600160a01b03838116911614155b1561112657601554600160a01b900460ff16610ede576000546001600160a01b03848116911614610ede5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161064e565b601654811115610f305760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161064e565b6001600160a01b03831660009081526010602052604090205460ff16158015610f7257506001600160a01b03821660009081526010602052604090205460ff16155b610fca5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161064e565b6015546001600160a01b0383811691161461104f5760175481610fec846106c0565b610ff69190611bfb565b1061104f5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161064e565b600061105a306106c0565b6018546016549192508210159082106110735760165491505b80801561108a5750601554600160a81b900460ff16155b80156110a457506015546001600160a01b03868116911614155b80156110b95750601554600160b01b900460ff165b80156110de57506001600160a01b03851660009081526005602052604090205460ff16155b801561110357506001600160a01b03841660009081526005602052604090205460ff16155b156111235761111182611329565b4780156111215761112147611267565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061116857506001600160a01b03831660009081526005602052604090205460ff165b8061119a57506015546001600160a01b0385811691161480159061119a57506015546001600160a01b03848116911614155b156111a757506000611221565b6015546001600160a01b0385811691161480156111d257506014546001600160a01b03848116911614155b156111e457600854600c55600954600d555b6015546001600160a01b03848116911614801561120f57506014546001600160a01b03858116911614155b1561122157600a54600c55600b54600d555b610aae848484846114a3565b600081848411156112515760405162461bcd60e51b815260040161064e919061195c565b50600061125e8486611c0e565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156112a1573d6000803e3d6000fd5b5050565b600060065482111561130c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161064e565b60006113166114d1565b905061132283826114f4565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061137157611371611bb6565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156113ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ee9190611c21565b8160018151811061140157611401611bb6565b6001600160a01b0392831660209182029290920101526014546114279130911684610bcd565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611460908590600090869030904290600401611c3e565b600060405180830381600087803b15801561147a57600080fd5b505af115801561148e573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b806114b0576114b0611536565b6114bb848484611564565b80610aae57610aae600e54600c55600f54600d55565b60008060006114de61165b565b90925090506114ed82826114f4565b9250505090565b600061132283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061169b565b600c541580156115465750600d54155b1561154d57565b600c8054600e55600d8054600f5560009182905555565b600080600080600080611576876116c9565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506115a89087611726565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546115d79086611768565b6001600160a01b0389166000908152600260205260409020556115f9816117c7565b6116038483611811565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161164891815260200190565b60405180910390a3505050505050505050565b6006546000908190670de0b6b3a764000061167682826114f4565b82101561169257505060065492670de0b6b3a764000092509050565b90939092509050565b600081836116bc5760405162461bcd60e51b815260040161064e919061195c565b50600061125e8486611caf565b60008060008060008060008060006116e68a600c54600d54611835565b92509250925060006116f66114d1565b905060008060006117098e87878761188a565b919e509c509a509598509396509194505050505091939550919395565b600061132283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061122d565b6000806117758385611bfb565b9050838110156113225760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161064e565b60006117d16114d1565b905060006117df83836118da565b306000908152600260205260409020549091506117fc9082611768565b30600090815260026020526040902055505050565b60065461181e9083611726565b60065560075461182e9082611768565b6007555050565b600080808061184f606461184989896118da565b906114f4565b9050600061186260646118498a896118da565b9050600061187a826118748b86611726565b90611726565b9992985090965090945050505050565b600080808061189988866118da565b905060006118a788876118da565b905060006118b588886118da565b905060006118c7826118748686611726565b939b939a50919850919650505050505050565b6000826000036118ec575060006105b5565b60006118f88385611cd1565b9050826119058583611caf565b146113225760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161064e565b600060208083528351808285015260005b818110156119895785810183015185820160400152820161196d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146106bd57600080fd5b600080604083850312156119d257600080fd5b82356119dd816119aa565b946020939093013593505050565b600080600060608486031215611a0057600080fd5b8335611a0b816119aa565b92506020840135611a1b816119aa565b929592945050506040919091013590565b80358015158114611a3c57600080fd5b919050565b600060208284031215611a5357600080fd5b61132282611a2c565b600060208284031215611a6e57600080fd5b8135611322816119aa565b600060208284031215611a8b57600080fd5b5035919050565b60008060008060808587031215611aa857600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611ad957600080fd5b833567ffffffffffffffff80821115611af157600080fd5b818601915086601f830112611b0557600080fd5b813581811115611b1457600080fd5b8760208260051b8501011115611b2957600080fd5b602092830195509350611b3f9186019050611a2c565b90509250925092565b60008060408385031215611b5b57600080fd5b8235611b66816119aa565b91506020830135611b76816119aa565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611bf457611bf4611bcc565b5060010190565b808201808211156105b5576105b5611bcc565b818103818111156105b5576105b5611bcc565b600060208284031215611c3357600080fd5b8151611322816119aa565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611c8e5784516001600160a01b031683529383019391830191600101611c69565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611ccc57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176105b5576105b5611bcc56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220c8abbc8b94a17d5e86f071f4eab374f207c16e5674351a5a535f88c98c0fd3fa64736f6c63430008130033