60806040526200001966038d7ea4c680006000196200035f565b620000279060001962000382565b6006556000600881905560046009819055600a829055600b819055600c829055600d819055600e91909155600f55601280546001600160a01b0319908116739126cc6745f3176cc405669dc4900326d3989c1b9081179092556013805490911690911790556015805462ffffff60a01b1916600160b01b1790556512309ce54000601681905560175564e8d4a51000601855348015620000c657600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000184573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001aa9190620003a8565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021e9190620003a8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002929190620003a8565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200035091815260200190565b60405180910390a350620003da565b6000826200037d57634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620003a357634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003bb57600080fd5b81516001600160a01b0381168114620003d357600080fd5b9392505050565b611dff80620003ea6000396000f3fe6080604052600436106101d15760003560e01c80637f2feddc116100f7578063a2a957bb11610095578063c492f04611610064578063c492f04614610557578063dd62ed3e14610577578063ea1644d5146105bd578063f2fde38b146105dd57600080fd5b8063a2a957bb146104d2578063a9059cbb146104f2578063bfd7928414610512578063c3c8cd801461054257600080fd5b80638f9a55c0116100d15780638f9a55c01461044e57806391e288321461046457806395d89b411461048457806398a5c315146104b257600080fd5b80637f2feddc146103e35780638da5cb5b146104105780638f70ccf71461042e57600080fd5b806349bd5a5e1161016f57806370a082311161013e57806370a0823114610378578063715018a61461039857806374010ece146103ad5780637d1db4a5146103cd57600080fd5b806349bd5a5e146103015780636b999053146103215780636d8aa8f8146103435780636fc3eaec1461036357600080fd5b806318160ddd116101ab57806318160ddd1461028b57806323b872dd146102af5780632fd689e3146102cf578063313ce567146102e557600080fd5b806306fdde03146101dd578063095ea7b3146102235780631694505e1461025357600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152600b81526a54535542414b4920494e5560a81b60208201525b60405161021a9190611915565b60405180910390f35b34801561022f57600080fd5b5061024361023e36600461198f565b6105fd565b604051901515815260200161021a565b34801561025f57600080fd5b50601454610273906001600160a01b031681565b6040516001600160a01b03909116815260200161021a565b34801561029757600080fd5b5066038d7ea4c680005b60405190815260200161021a565b3480156102bb57600080fd5b506102436102ca3660046119bb565b610614565b3480156102db57600080fd5b506102a160185481565b3480156102f157600080fd5b506040516009815260200161021a565b34801561030d57600080fd5b50601554610273906001600160a01b031681565b34801561032d57600080fd5b5061034161033c3660046119fc565b61067d565b005b34801561034f57600080fd5b5061034161035e366004611a29565b6106d1565b34801561036f57600080fd5b50610341610719565b34801561038457600080fd5b506102a16103933660046119fc565b610764565b3480156103a457600080fd5b50610341610786565b3480156103b957600080fd5b506103416103c8366004611a44565b6107fa565b3480156103d957600080fd5b506102a160165481565b3480156103ef57600080fd5b506102a16103fe3660046119fc565b60116020526000908152604090205481565b34801561041c57600080fd5b506000546001600160a01b0316610273565b34801561043a57600080fd5b50610341610449366004611a29565b610829565b34801561045a57600080fd5b506102a160175481565b34801561047057600080fd5b5061034161047f366004611a73565b610871565b34801561049057600080fd5b506040805180820190915260058152645453494e5560d81b602082015261020d565b3480156104be57600080fd5b506103416104cd366004611a44565b610907565b3480156104de57600080fd5b506103416104ed366004611b38565b610936565b3480156104fe57600080fd5b5061024361050d36600461198f565b610974565b34801561051e57600080fd5b5061024361052d3660046119fc565b60106020526000908152604090205460ff1681565b34801561054e57600080fd5b50610341610981565b34801561056357600080fd5b50610341610572366004611b6a565b6109d5565b34801561058357600080fd5b506102a1610592366004611bee565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105c957600080fd5b506103416105d8366004611a44565b610a76565b3480156105e957600080fd5b506103416105f83660046119fc565b610aa5565b600061060a338484610b8f565b5060015b92915050565b6000610621848484610cb3565b610673843361066e85604051806060016040528060288152602001611da2602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111ef565b610b8f565b5060019392505050565b6000546001600160a01b031633146106b05760405162461bcd60e51b81526004016106a790611c27565b60405180910390fd5b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146106fb5760405162461bcd60e51b81526004016106a790611c27565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061074e57506013546001600160a01b0316336001600160a01b0316145b61075757600080fd5b4761076181611229565b50565b6001600160a01b03811660009081526002602052604081205461060e90611263565b6000546001600160a01b031633146107b05760405162461bcd60e51b81526004016106a790611c27565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108245760405162461bcd60e51b81526004016106a790611c27565b601655565b6000546001600160a01b031633146108535760405162461bcd60e51b81526004016106a790611c27565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461089b5760405162461bcd60e51b81526004016106a790611c27565b60005b8151811015610903576001601060008484815181106108bf576108bf611c5c565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806108fb81611c88565b91505061089e565b5050565b6000546001600160a01b031633146109315760405162461bcd60e51b81526004016106a790611c27565b601855565b6000546001600160a01b031633146109605760405162461bcd60e51b81526004016106a790611c27565b600893909355600a91909155600955600b55565b600061060a338484610cb3565b6012546001600160a01b0316336001600160a01b031614806109b657506013546001600160a01b0316336001600160a01b0316145b6109bf57600080fd5b60006109ca30610764565b9050610761816112e7565b6000546001600160a01b031633146109ff5760405162461bcd60e51b81526004016106a790611c27565b60005b82811015610a70578160056000868685818110610a2157610a21611c5c565b9050602002016020810190610a3691906119fc565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a6881611c88565b915050610a02565b50505050565b6000546001600160a01b03163314610aa05760405162461bcd60e51b81526004016106a790611c27565b601755565b6000546001600160a01b03163314610acf5760405162461bcd60e51b81526004016106a790611c27565b6001600160a01b038116610b345760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a7565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bf15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a7565b6001600160a01b038216610c525760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a7565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d175760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106a7565b6001600160a01b038216610d795760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106a7565b60008111610ddb5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106a7565b6000546001600160a01b03848116911614801590610e0757506000546001600160a01b03838116911614155b156110e857601554600160a01b900460ff16610ea0576000546001600160a01b03848116911614610ea05760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106a7565b601654811115610ef25760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106a7565b6001600160a01b03831660009081526010602052604090205460ff16158015610f3457506001600160a01b03821660009081526010602052604090205460ff16155b610f8c5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106a7565b6015546001600160a01b038381169116146110115760175481610fae84610764565b610fb89190611ca3565b106110115760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106a7565b600061101c30610764565b6018546016549192508210159082106110355760165491505b80801561104c5750601554600160a81b900460ff16155b801561106657506015546001600160a01b03868116911614155b801561107b5750601554600160b01b900460ff165b80156110a057506001600160a01b03851660009081526005602052604090205460ff16155b80156110c557506001600160a01b03841660009081526005602052604090205460ff16155b156110e5576110d3826112e7565b4780156110e3576110e347611229565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061112a57506001600160a01b03831660009081526005602052604090205460ff165b8061115c57506015546001600160a01b0385811691161480159061115c57506015546001600160a01b03848116911614155b15611169575060006111e3565b6015546001600160a01b03858116911614801561119457506014546001600160a01b03848116911614155b156111a657600854600c55600954600d555b6015546001600160a01b0384811691161480156111d157506014546001600160a01b03858116911614155b156111e357600a54600c55600b54600d555b610a7084848484611461565b600081848411156112135760405162461bcd60e51b81526004016106a79190611915565b5060006112208486611cbb565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610903573d6000803e3d6000fd5b60006006548211156112ca5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106a7565b60006112d461148f565b90506112e083826114b2565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061132f5761132f611c5c565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac9190611cd2565b816001815181106113bf576113bf611c5c565b6001600160a01b0392831660209182029290920101526014546113e59130911684610b8f565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061141e908590600090869030904290600401611cef565b600060405180830381600087803b15801561143857600080fd5b505af115801561144c573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b8061146e5761146e6114f4565b611479848484611522565b80610a7057610a70600e54600c55600f54600d55565b600080600061149c611619565b90925090506114ab82826114b2565b9250505090565b60006112e083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611657565b600c541580156115045750600d54155b1561150b57565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061153487611685565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061156690876116e2565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546115959086611724565b6001600160a01b0389166000908152600260205260409020556115b781611783565b6115c184836117cd565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161160691815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c6800061163382826114b2565b82101561164e5750506006549266038d7ea4c6800092509050565b90939092509050565b600081836116785760405162461bcd60e51b81526004016106a79190611915565b5060006112208486611d60565b60008060008060008060008060006116a28a600c54600d546117f1565b92509250925060006116b261148f565b905060008060006116c58e878787611846565b919e509c509a509598509396509194505050505091939550919395565b60006112e083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111ef565b6000806117318385611ca3565b9050838110156112e05760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106a7565b600061178d61148f565b9050600061179b8383611896565b306000908152600260205260409020549091506117b89082611724565b30600090815260026020526040902055505050565b6006546117da90836116e2565b6006556007546117ea9082611724565b6007555050565b600080808061180b60646118058989611896565b906114b2565b9050600061181e60646118058a89611896565b90506000611836826118308b866116e2565b906116e2565b9992985090965090945050505050565b60008080806118558886611896565b905060006118638887611896565b905060006118718888611896565b905060006118838261183086866116e2565b939b939a50919850919650505050505050565b6000826118a55750600061060e565b60006118b18385611d82565b9050826118be8583611d60565b146112e05760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106a7565b600060208083528351808285015260005b8181101561194257858101830151858201604001528201611926565b81811115611954576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461076157600080fd5b803561198a8161196a565b919050565b600080604083850312156119a257600080fd5b82356119ad8161196a565b946020939093013593505050565b6000806000606084860312156119d057600080fd5b83356119db8161196a565b925060208401356119eb8161196a565b929592945050506040919091013590565b600060208284031215611a0e57600080fd5b81356112e08161196a565b8035801515811461198a57600080fd5b600060208284031215611a3b57600080fd5b6112e082611a19565b600060208284031215611a5657600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611a8657600080fd5b823567ffffffffffffffff80821115611a9e57600080fd5b818501915085601f830112611ab257600080fd5b813581811115611ac457611ac4611a5d565b8060051b604051601f19603f83011681018181108582111715611ae957611ae9611a5d565b604052918252848201925083810185019188831115611b0757600080fd5b938501935b82851015611b2c57611b1d8561197f565b84529385019392850192611b0c565b98975050505050505050565b60008060008060808587031215611b4e57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611b7f57600080fd5b833567ffffffffffffffff80821115611b9757600080fd5b818601915086601f830112611bab57600080fd5b813581811115611bba57600080fd5b8760208260051b8501011115611bcf57600080fd5b602092830195509350611be59186019050611a19565b90509250925092565b60008060408385031215611c0157600080fd5b8235611c0c8161196a565b91506020830135611c1c8161196a565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611c9c57611c9c611c72565b5060010190565b60008219821115611cb657611cb6611c72565b500190565b600082821015611ccd57611ccd611c72565b500390565b600060208284031215611ce457600080fd5b81516112e08161196a565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d3f5784516001600160a01b031683529383019391830191600101611d1a565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d7d57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611d9c57611d9c611c72565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220c7309993a3bffcdd204107a6e92db5d1f8b0dfe09eadc50e6f29e809b3db563964736f6c634300080a0033