60806040526200001a67016345785d8a000060001962000373565b620000289060001962000396565b600655600060088190556023600955600a8190556046600b819055600c829055600d819055600e91909155600f55601280546001600160a01b031990811673d1908d67ece182c987552e9afeaa5c3dd1d4052c179091556013805490911673e1ee8f64e0c03f7af7359c364b5c2d20f8f0dc2c1790556015805461ffff60a81b1916600160b01b1790556605543df729c0006016819055601755655af3107a4000601855348015620000d957600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000197573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bd9190620003be565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200020b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002319190620003be565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200027f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a59190620003be565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef67016345785d8a00006040516200036491815260200190565b60405180910390a350620003f0565b6000826200039157634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003b857634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003d157600080fd5b81516001600160a01b0381168114620003e957600080fd5b9392505050565b611f6580620004006000396000f3fe6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063bfd7928411610095578063ea1644d511610064578063ea1644d514610580578063efd4e807146105a0578063f2fde38b146105c0578063f8398983146105e057600080fd5b8063bfd79284146104d5578063c3c8cd8014610505578063c492f0461461051a578063dd62ed3e1461053a57600080fd5b80639165b05a116100d15780639165b05a1461044857806395d89b411461046857806398a5c31514610495578063a9059cbb146104b557600080fd5b80638da5cb5b146103f45780638f70ccf7146104125780638f9a55c01461043257600080fd5b806349bd5a5e1161016f578063715018a61161013e578063715018a61461037c57806374010ece146103915780637d1db4a5146103b15780637f2feddc146103c757600080fd5b806349bd5a5e146103055780636d8aa8f8146103255780636fc3eaec1461034757806370a082311461035c57600080fd5b806318160ddd116101ab57806318160ddd1461028e57806323b872dd146102b35780632fd689e3146102d3578063313ce567146102e957600080fd5b806306fdde03146101dd578063095ea7b3146102265780631694505e1461025657600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152600e81526d169bdb9a5b99c813dd5d0810d85d60921b60208201525b60405161021d9190611a95565b60405180910390f35b34801561023257600080fd5b50610246610241366004611b08565b610600565b604051901515815260200161021d565b34801561026257600080fd5b50601454610276906001600160a01b031681565b6040516001600160a01b03909116815260200161021d565b34801561029a57600080fd5b5067016345785d8a00005b60405190815260200161021d565b3480156102bf57600080fd5b506102466102ce366004611b34565b610617565b3480156102df57600080fd5b506102a560185481565b3480156102f557600080fd5b506040516009815260200161021d565b34801561031157600080fd5b50601554610276906001600160a01b031681565b34801561033157600080fd5b50610345610340366004611b85565b610680565b005b34801561035357600080fd5b506103456106d1565b34801561036857600080fd5b506102a5610377366004611ba0565b61071c565b34801561038857600080fd5b5061034561073e565b34801561039d57600080fd5b506103456103ac366004611bbd565b6107b2565b3480156103bd57600080fd5b506102a560165481565b3480156103d357600080fd5b506102a56103e2366004611ba0565b60116020526000908152604090205481565b34801561040057600080fd5b506000546001600160a01b0316610276565b34801561041e57600080fd5b5061034561042d366004611b85565b6107e1565b34801561043e57600080fd5b506102a560175481565b34801561045457600080fd5b50610345610463366004611bec565b610829565b34801561047457600080fd5b506040805180820190915260048152635649564960e01b6020820152610210565b3480156104a157600080fd5b506103456104b0366004611bbd565b6108bf565b3480156104c157600080fd5b506102466104d0366004611b08565b6108ee565b3480156104e157600080fd5b506102466104f0366004611ba0565b60106020526000908152604090205460ff1681565b34801561051157600080fd5b506103456108fb565b34801561052657600080fd5b50610345610535366004611cb1565b61094f565b34801561054657600080fd5b506102a5610555366004611d35565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561058c57600080fd5b5061034561059b366004611bbd565b6109f0565b3480156105ac57600080fd5b506103456105bb366004611d6e565b610a1f565b3480156105cc57600080fd5b506103456105db366004611ba0565b610bd5565b3480156105ec57600080fd5b506103456105fb366004611ba0565b610cbf565b600061060d338484610d0a565b5060015b92915050565b6000610624848484610e2e565b610676843361067185604051806060016040528060288152602001611f08602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061136a565b610d0a565b5060019392505050565b6000546001600160a01b031633146106b35760405162461bcd60e51b81526004016106aa90611da0565b60405180910390fd5b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061070657506013546001600160a01b0316336001600160a01b0316145b61070f57600080fd5b47610719816113a4565b50565b6001600160a01b038116600090815260026020526040812054610611906113de565b6000546001600160a01b031633146107685760405162461bcd60e51b81526004016106aa90611da0565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107dc5760405162461bcd60e51b81526004016106aa90611da0565b601655565b6000546001600160a01b0316331461080b5760405162461bcd60e51b81526004016106aa90611da0565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146108535760405162461bcd60e51b81526004016106aa90611da0565b60005b81518110156108bb5760016010600084848151811061087757610877611dd5565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806108b381611e01565b915050610856565b5050565b6000546001600160a01b031633146108e95760405162461bcd60e51b81526004016106aa90611da0565b601855565b600061060d338484610e2e565b6012546001600160a01b0316336001600160a01b0316148061093057506013546001600160a01b0316336001600160a01b0316145b61093957600080fd5b60006109443061071c565b905061071981611462565b6000546001600160a01b031633146109795760405162461bcd60e51b81526004016106aa90611da0565b60005b828110156109ea57816005600086868581811061099b5761099b611dd5565b90506020020160208101906109b09190611ba0565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806109e281611e01565b91505061097c565b50505050565b6000546001600160a01b03163314610a1a5760405162461bcd60e51b81526004016106aa90611da0565b601755565b6000546001600160a01b03163314610a495760405162461bcd60e51b81526004016106aa90611da0565b6004841115610aa85760405162461bcd60e51b815260206004820152602560248201527f4275792072657761726473206d757374206265206265747765656e20302520616044820152646e6420342560d81b60648201526084016106aa565b605f821115610b045760405162461bcd60e51b815260206004820152602260248201527f42757920746178206d757374206265206265747765656e20302520616e642039604482015261352560f01b60648201526084016106aa565b6004831115610b645760405162461bcd60e51b815260206004820152602660248201527f53656c6c2072657761726473206d757374206265206265747765656e20302520604482015265616e6420342560d01b60648201526084016106aa565b605f811115610bc15760405162461bcd60e51b815260206004820152602360248201527f53656c6c20746178206d757374206265206265747765656e20302520616e642060448201526239352560e81b60648201526084016106aa565b600893909355600a91909155600955600b55565b6000546001600160a01b03163314610bff5760405162461bcd60e51b81526004016106aa90611da0565b6001600160a01b038116610c645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106aa565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ce95760405162461bcd60e51b81526004016106aa90611da0565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6001600160a01b038316610d6c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106aa565b6001600160a01b038216610dcd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106aa565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e925760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106aa565b6001600160a01b038216610ef45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106aa565b60008111610f565760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106aa565b6000546001600160a01b03848116911614801590610f8257506000546001600160a01b03838116911614155b1561126357601554600160a01b900460ff1661101b576000546001600160a01b0384811691161461101b5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106aa565b60165481111561106d5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106aa565b6001600160a01b03831660009081526010602052604090205460ff161580156110af57506001600160a01b03821660009081526010602052604090205460ff16155b6111075760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106aa565b6015546001600160a01b0383811691161461118c57601754816111298461071c565b6111339190611e1a565b1061118c5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106aa565b60006111973061071c565b6018546016549192508210159082106111b05760165491505b8080156111c75750601554600160a81b900460ff16155b80156111e157506015546001600160a01b03868116911614155b80156111f65750601554600160b01b900460ff165b801561121b57506001600160a01b03851660009081526005602052604090205460ff16155b801561124057506001600160a01b03841660009081526005602052604090205460ff16155b156112605761124e82611462565b47801561125e5761125e476113a4565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806112a557506001600160a01b03831660009081526005602052604090205460ff165b806112d757506015546001600160a01b038581169116148015906112d757506015546001600160a01b03848116911614155b156112e45750600061135e565b6015546001600160a01b03858116911614801561130f57506014546001600160a01b03848116911614155b1561132157600854600c55600954600d555b6015546001600160a01b03848116911614801561134c57506014546001600160a01b03858116911614155b1561135e57600a54600c55600b54600d555b6109ea848484846115dc565b6000818484111561138e5760405162461bcd60e51b81526004016106aa9190611a95565b50600061139b8486611e2d565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156108bb573d6000803e3d6000fd5b60006006548211156114455760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106aa565b600061144f61160a565b905061145b838261162d565b9392505050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106114aa576114aa611dd5565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115279190611e40565b8160018151811061153a5761153a611dd5565b6001600160a01b0392831660209182029290920101526014546115609130911684610d0a565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611599908590600090869030904290600401611e5d565b600060405180830381600087803b1580156115b357600080fd5b505af11580156115c7573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b806115e9576115e961166f565b6115f484848461169d565b806109ea576109ea600e54600c55600f54600d55565b6000806000611617611794565b9092509050611626828261162d565b9250505090565b600061145b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117d4565b600c5415801561167f5750600d54155b1561168657565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806116af87611802565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506116e1908761185f565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461171090866118a1565b6001600160a01b03891660009081526002602052604090205561173281611900565b61173c848361194a565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161178191815260200190565b60405180910390a3505050505050505050565b600654600090819067016345785d8a00006117af828261162d565b8210156117cb5750506006549267016345785d8a000092509050565b90939092509050565b600081836117f55760405162461bcd60e51b81526004016106aa9190611a95565b50600061139b8486611ece565b600080600080600080600080600061181f8a600c54600d5461196e565b925092509250600061182f61160a565b905060008060006118428e8787876119c3565b919e509c509a509598509396509194505050505091939550919395565b600061145b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061136a565b6000806118ae8385611e1a565b90508381101561145b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106aa565b600061190a61160a565b905060006119188383611a13565b3060009081526002602052604090205490915061193590826118a1565b30600090815260026020526040902055505050565b600654611957908361185f565b60065560075461196790826118a1565b6007555050565b600080808061198860646119828989611a13565b9061162d565b9050600061199b60646119828a89611a13565b905060006119b3826119ad8b8661185f565b9061185f565b9992985090965090945050505050565b60008080806119d28886611a13565b905060006119e08887611a13565b905060006119ee8888611a13565b90506000611a00826119ad868661185f565b939b939a50919850919650505050505050565b600082600003611a2557506000610611565b6000611a318385611ef0565b905082611a3e8583611ece565b1461145b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106aa565b600060208083528351808285015260005b81811015611ac257858101830151858201604001528201611aa6565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461071957600080fd5b8035611b0381611ae3565b919050565b60008060408385031215611b1b57600080fd5b8235611b2681611ae3565b946020939093013593505050565b600080600060608486031215611b4957600080fd5b8335611b5481611ae3565b92506020840135611b6481611ae3565b929592945050506040919091013590565b80358015158114611b0357600080fd5b600060208284031215611b9757600080fd5b61145b82611b75565b600060208284031215611bb257600080fd5b813561145b81611ae3565b600060208284031215611bcf57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611bff57600080fd5b823567ffffffffffffffff80821115611c1757600080fd5b818501915085601f830112611c2b57600080fd5b813581811115611c3d57611c3d611bd6565b8060051b604051601f19603f83011681018181108582111715611c6257611c62611bd6565b604052918252848201925083810185019188831115611c8057600080fd5b938501935b82851015611ca557611c9685611af8565b84529385019392850192611c85565b98975050505050505050565b600080600060408486031215611cc657600080fd5b833567ffffffffffffffff80821115611cde57600080fd5b818601915086601f830112611cf257600080fd5b813581811115611d0157600080fd5b8760208260051b8501011115611d1657600080fd5b602092830195509350611d2c9186019050611b75565b90509250925092565b60008060408385031215611d4857600080fd5b8235611d5381611ae3565b91506020830135611d6381611ae3565b809150509250929050565b60008060008060808587031215611d8457600080fd5b5050823594602084013594506040840135936060013592509050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611e1357611e13611deb565b5060010190565b8082018082111561061157610611611deb565b8181038181111561061157610611611deb565b600060208284031215611e5257600080fd5b815161145b81611ae3565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611ead5784516001600160a01b031683529383019391830191600101611e88565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611eeb57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761061157610611611deb56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220802553d769e67601e61a31c445b74bd614a1fdf616663abd9aacb863c5ffe25964736f6c63430008120033