60806040526200001a67016345785d8a000060001962000403565b620000289060001962000430565b60065560006008819055600f6009819055600a8290556037600b819055600c839055600d819055600e92909255556012805473232ac80e77997dee1aad41a6bfb56b8ae52a044f6001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b1790556064620000ba67016345785d8a000060026200044a565b620000c691906200046c565b6016556064620000e067016345785d8a000060026200044a565b620000ec91906200046c565b6017556103e86200010767016345785d8a000060016200044a565b6200011391906200046c565b6018553480156200012357600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a01559260048083019392829003018186803b158015620001dc57600080fd5b505afa158015620001f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000217919062000483565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200026057600080fd5b505afa15801562000275573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029b919062000483565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002e457600080fd5b505af1158015620002f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031f919062000483565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef67016345785d8a0000604051620003de91815260200190565b60405180910390a350620004b5565b634e487b7160e01b600052601260045260246000fd5b600082620004155762000415620003ed565b500690565b634e487b7160e01b600052601160045260246000fd5b6000828210156200044557620004456200041a565b500390565b60008160001904831182151516156200046757620004676200041a565b500290565b6000826200047e576200047e620003ed565b500490565b6000602082840312156200049657600080fd5b81516001600160a01b0381168114620004ae57600080fd5b9392505050565b611e7780620004c56000396000f3fe6080604052600436106101d05760003560e01c80637d1db4a5116100f7578063a2a957bb11610095578063c492f04611610064578063c492f0461461055e578063dd62ed3e1461057e578063ea1644d5146105c4578063f2fde38b146105e457600080fd5b8063a2a957bb146104d9578063a9059cbb146104f9578063bfd7928414610519578063c3c8cd801461054957600080fd5b80638f70ccf7116100d15780638f70ccf7146104545780638f9a55c01461047457806395d89b411461048a57806398a5c315146104b957600080fd5b80637d1db4a5146103f35780637f2feddc146104095780638da5cb5b1461043657600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461038957806370a082311461039e578063715018a6146103be57806374010ece146103d357600080fd5b8063313ce5671461030d57806349bd5a5e146103295780636b999053146103495780636d8aa8f81461036957600080fd5b80631694505e116101ab5780631694505e1461027a57806318160ddd146102b257806323b872dd146102d75780632fd689e3146102f757600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461024a57600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f73660046119c8565b610604565b005b34801561020a57600080fd5b5060408051808201909152601181527029a424a120a924aaa69026a2a4a9aa22a960791b60208201525b6040516102419190611a8d565b60405180910390f35b34801561025657600080fd5b5061026a610265366004611ae2565b6106a3565b6040519015158152602001610241565b34801561028657600080fd5b5060145461029a906001600160a01b031681565b6040516001600160a01b039091168152602001610241565b3480156102be57600080fd5b5067016345785d8a00005b604051908152602001610241565b3480156102e357600080fd5b5061026a6102f2366004611b0e565b6106ba565b34801561030357600080fd5b506102c960185481565b34801561031957600080fd5b5060405160098152602001610241565b34801561033557600080fd5b5060155461029a906001600160a01b031681565b34801561035557600080fd5b506101fc610364366004611b4f565b610723565b34801561037557600080fd5b506101fc610384366004611b7c565b61076e565b34801561039557600080fd5b506101fc6107b6565b3480156103aa57600080fd5b506102c96103b9366004611b4f565b610801565b3480156103ca57600080fd5b506101fc610823565b3480156103df57600080fd5b506101fc6103ee366004611b97565b610897565b3480156103ff57600080fd5b506102c960165481565b34801561041557600080fd5b506102c9610424366004611b4f565b60116020526000908152604090205481565b34801561044257600080fd5b506000546001600160a01b031661029a565b34801561046057600080fd5b506101fc61046f366004611b7c565b6108e6565b34801561048057600080fd5b506102c960175481565b34801561049657600080fd5b50604080518082019091526006815265534849424d4560d01b6020820152610234565b3480156104c557600080fd5b506101fc6104d4366004611b97565b61092e565b3480156104e557600080fd5b506101fc6104f4366004611bb0565b61097d565b34801561050557600080fd5b5061026a610514366004611ae2565b6109bb565b34801561052557600080fd5b5061026a610534366004611b4f565b60106020526000908152604090205460ff1681565b34801561055557600080fd5b506101fc6109c8565b34801561056a57600080fd5b506101fc610579366004611be2565b610a1c565b34801561058a57600080fd5b506102c9610599366004611c66565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105d057600080fd5b506101fc6105df366004611b97565b610abd565b3480156105f057600080fd5b506101fc6105ff366004611b4f565b610b0c565b6000546001600160a01b031633146106375760405162461bcd60e51b815260040161062e90611c9f565b60405180910390fd5b60005b815181101561069f5760016010600084848151811061065b5761065b611cd4565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061069781611d00565b91505061063a565b5050565b60006106b0338484610bf6565b5060015b92915050565b60006106c7848484610d1a565b610719843361071485604051806060016040528060288152602001611e1a602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611256565b610bf6565b5060019392505050565b6000546001600160a01b0316331461074d5760405162461bcd60e51b815260040161062e90611c9f565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107985760405162461bcd60e51b815260040161062e90611c9f565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107eb57506013546001600160a01b0316336001600160a01b0316145b6107f457600080fd5b476107fe81611290565b50565b6001600160a01b0381166000908152600260205260408120546106b4906112ca565b6000546001600160a01b0316331461084d5760405162461bcd60e51b815260040161062e90611c9f565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108c15760405162461bcd60e51b815260040161062e90611c9f565b6103e86108d68267016345785d8a0000611d1b565b6108e09190611d3a565b60165550565b6000546001600160a01b031633146109105760405162461bcd60e51b815260040161062e90611c9f565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146109585760405162461bcd60e51b815260040161062e90611c9f565b6103e861096d8267016345785d8a0000611d1b565b6109779190611d3a565b60185550565b6000546001600160a01b031633146109a75760405162461bcd60e51b815260040161062e90611c9f565b600893909355600a91909155600955600b55565b60006106b0338484610d1a565b6012546001600160a01b0316336001600160a01b031614806109fd57506013546001600160a01b0316336001600160a01b0316145b610a0657600080fd5b6000610a1130610801565b90506107fe8161134e565b6000546001600160a01b03163314610a465760405162461bcd60e51b815260040161062e90611c9f565b60005b82811015610ab7578160056000868685818110610a6857610a68611cd4565b9050602002016020810190610a7d9190611b4f565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610aaf81611d00565b915050610a49565b50505050565b6000546001600160a01b03163314610ae75760405162461bcd60e51b815260040161062e90611c9f565b6103e8610afc8267016345785d8a0000611d1b565b610b069190611d3a565b60175550565b6000546001600160a01b03163314610b365760405162461bcd60e51b815260040161062e90611c9f565b6001600160a01b038116610b9b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161062e565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610c585760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161062e565b6001600160a01b038216610cb95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161062e565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d7e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161062e565b6001600160a01b038216610de05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161062e565b60008111610e425760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161062e565b6000546001600160a01b03848116911614801590610e6e57506000546001600160a01b03838116911614155b1561114f57601554600160a01b900460ff16610f07576000546001600160a01b03848116911614610f075760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161062e565b601654811115610f595760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161062e565b6001600160a01b03831660009081526010602052604090205460ff16158015610f9b57506001600160a01b03821660009081526010602052604090205460ff16155b610ff35760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161062e565b6015546001600160a01b03838116911614611078576017548161101584610801565b61101f9190611d5c565b106110785760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161062e565b600061108330610801565b60185460165491925082101590821061109c5760165491505b8080156110b35750601554600160a81b900460ff16155b80156110cd57506015546001600160a01b03868116911614155b80156110e25750601554600160b01b900460ff165b801561110757506001600160a01b03851660009081526005602052604090205460ff16155b801561112c57506001600160a01b03841660009081526005602052604090205460ff16155b1561114c5761113a8261134e565b47801561114a5761114a47611290565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061119157506001600160a01b03831660009081526005602052604090205460ff165b806111c357506015546001600160a01b038581169116148015906111c357506015546001600160a01b03848116911614155b156111d05750600061124a565b6015546001600160a01b0385811691161480156111fb57506014546001600160a01b03848116911614155b1561120d57600854600c55600954600d555b6015546001600160a01b03848116911614801561123857506014546001600160a01b03858116911614155b1561124a57600a54600c55600b54600d555b610ab7848484846114d7565b6000818484111561127a5760405162461bcd60e51b815260040161062e9190611a8d565b5060006112878486611d74565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561069f573d6000803e3d6000fd5b60006006548211156113315760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161062e565b600061133b611505565b90506113478382611528565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061139657611396611cd4565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156113ea57600080fd5b505afa1580156113fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114229190611d8b565b8160018151811061143557611435611cd4565b6001600160a01b03928316602091820292909201015260145461145b9130911684610bf6565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611494908590600090869030904290600401611da8565b600060405180830381600087803b1580156114ae57600080fd5b505af11580156114c2573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b806114e4576114e461156a565b6114ef848484611598565b80610ab757610ab7600e54600c55600f54600d55565b600080600061151261168f565b90925090506115218282611528565b9250505090565b600061134783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116cf565b600c5415801561157a5750600d54155b1561158157565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806115aa876116fd565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506115dc908761175a565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461160b908661179c565b6001600160a01b03891660009081526002602052604090205561162d816117fb565b6116378483611845565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161167c91815260200190565b60405180910390a3505050505050505050565b600654600090819067016345785d8a00006116aa8282611528565b8210156116c65750506006549267016345785d8a000092509050565b90939092509050565b600081836116f05760405162461bcd60e51b815260040161062e9190611a8d565b5060006112878486611d3a565b600080600080600080600080600061171a8a600c54600d54611869565b925092509250600061172a611505565b9050600080600061173d8e8787876118be565b919e509c509a509598509396509194505050505091939550919395565b600061134783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611256565b6000806117a98385611d5c565b9050838110156113475760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161062e565b6000611805611505565b90506000611813838361190e565b30600090815260026020526040902054909150611830908261179c565b30600090815260026020526040902055505050565b600654611852908361175a565b600655600754611862908261179c565b6007555050565b6000808080611883606461187d898961190e565b90611528565b90506000611896606461187d8a8961190e565b905060006118ae826118a88b8661175a565b9061175a565b9992985090965090945050505050565b60008080806118cd888661190e565b905060006118db888761190e565b905060006118e9888861190e565b905060006118fb826118a8868661175a565b939b939a50919850919650505050505050565b60008261191d575060006106b4565b60006119298385611d1b565b9050826119368583611d3a565b146113475760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161062e565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107fe57600080fd5b80356119c3816119a3565b919050565b600060208083850312156119db57600080fd5b823567ffffffffffffffff808211156119f357600080fd5b818501915085601f830112611a0757600080fd5b813581811115611a1957611a1961198d565b8060051b604051601f19603f83011681018181108582111715611a3e57611a3e61198d565b604052918252848201925083810185019188831115611a5c57600080fd5b938501935b82851015611a8157611a72856119b8565b84529385019392850192611a61565b98975050505050505050565b600060208083528351808285015260005b81811015611aba57858101830151858201604001528201611a9e565b81811115611acc576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215611af557600080fd5b8235611b00816119a3565b946020939093013593505050565b600080600060608486031215611b2357600080fd5b8335611b2e816119a3565b92506020840135611b3e816119a3565b929592945050506040919091013590565b600060208284031215611b6157600080fd5b8135611347816119a3565b803580151581146119c357600080fd5b600060208284031215611b8e57600080fd5b61134782611b6c565b600060208284031215611ba957600080fd5b5035919050565b60008060008060808587031215611bc657600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611bf757600080fd5b833567ffffffffffffffff80821115611c0f57600080fd5b818601915086601f830112611c2357600080fd5b813581811115611c3257600080fd5b8760208260051b8501011115611c4757600080fd5b602092830195509350611c5d9186019050611b6c565b90509250925092565b60008060408385031215611c7957600080fd5b8235611c84816119a3565b91506020830135611c94816119a3565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611d1457611d14611cea565b5060010190565b6000816000190483118215151615611d3557611d35611cea565b500290565b600082611d5757634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611d6f57611d6f611cea565b500190565b600082821015611d8657611d86611cea565b500390565b600060208284031215611d9d57600080fd5b8151611347816119a3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611df85784516001600160a01b031683529383019391830191600101611dd3565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220b49d34ac0d97df270af530d53027f3cac002892b86f4f0aedabf18a7328f2e3164736f6c63430008090033