6080604052620000196611c37937e080006000196200016a565b62000027906000196200018d565b6006556000600881905560056009819055600a829055600b819055600c829055600d819055600e91909155600f556012805473feafaf1b70e7e0f718e06c29e142436a22259c016001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b17905566071afd498d00006016556611c37937e0800060175564e8d4a51000601855348015620000ce57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360008181526002602090815260408083209490945592516611c37937e080008152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620001b3565b6000826200018857634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620001ae57634e487b7160e01b600052601160045260246000fd5b500390565b611fff80620001c36000396000f3fe6080604052600436106101d15760003560e01c80638da5cb5b116100f7578063c9567bf911610095578063ea1644d511610064578063ea1644d514610571578063f1000b1414610591578063f2fde38b146105b1578063f60ad24d146105d157600080fd5b8063c9567bf9146104d6578063d2a09c71146104eb578063dd62ed3e1461050b578063e21de9e31461055157600080fd5b806398a5c315116100d157806398a5c31514610451578063a9059cbb14610471578063bfd7928414610491578063c3c8cd80146104c157600080fd5b80638da5cb5b146103f15780638f9a55c01461040f57806395d89b411461042557600080fd5b8063313ce5671161016f578063715018a61161013e578063715018a61461037957806374010ece1461038e5780637d1db4a5146103ae5780637f2feddc146103c457600080fd5b8063313ce5671461030857806349bd5a5e146103245780636fc3eaec1461034457806370a082311461035957600080fd5b806318160ddd116101ab57806318160ddd1461028c57806323b872dd146102b057806328384c4d146102d05780632fd689e3146102f257600080fd5b806306fdde03146101dd578063095ea7b3146102245780631694505e1461025457600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152600c81526b4f53462045646974696f6e7360a01b60208201525b60405161021b9190611b17565b60405180910390f35b34801561023057600080fd5b5061024461023f366004611b91565b6105f1565b604051901515815260200161021b565b34801561026057600080fd5b50601454610274906001600160a01b031681565b6040516001600160a01b03909116815260200161021b565b34801561029857600080fd5b506611c37937e080005b60405190815260200161021b565b3480156102bc57600080fd5b506102446102cb366004611bbd565b610608565b3480156102dc57600080fd5b506102f06102eb366004611c0e565b610671565b005b3480156102fe57600080fd5b506102a260185481565b34801561031457600080fd5b506040516009815260200161021b565b34801561033057600080fd5b50601554610274906001600160a01b031681565b34801561035057600080fd5b506102f061071b565b34801561036557600080fd5b506102a2610374366004611c92565b610766565b34801561038557600080fd5b506102f0610788565b34801561039a57600080fd5b506102f06103a9366004611caf565b6107fc565b3480156103ba57600080fd5b506102a260165481565b3480156103d057600080fd5b506102a26103df366004611c92565b60116020526000908152604090205481565b3480156103fd57600080fd5b506000546001600160a01b0316610274565b34801561041b57600080fd5b506102a260175481565b34801561043157600080fd5b5060408051808201909152600381526227a9a360e91b602082015261020e565b34801561045d57600080fd5b506102f061046c366004611caf565b61082b565b34801561047d57600080fd5b5061024461048c366004611b91565b61085a565b34801561049d57600080fd5b506102446104ac366004611c92565b60106020526000908152604090205460ff1681565b3480156104cd57600080fd5b506102f0610867565b3480156104e257600080fd5b506102f06108bb565b3480156104f757600080fd5b506102f0610506366004611cc8565b610ac3565b34801561051757600080fd5b506102a2610526366004611ce3565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561055d57600080fd5b506102f061056c366004611c92565b610b0b565b34801561057d57600080fd5b506102f061058c366004611caf565b610b56565b34801561059d57600080fd5b506102f06105ac366004611d1c565b610b85565b3480156105bd57600080fd5b506102f06105cc366004611c92565b610bc3565b3480156105dd57600080fd5b506102f06105ec366004611d64565b610cad565b60006105fe338484610d43565b5060015b92915050565b6000610615848484610e67565b610667843361066285604051806060016040528060288152602001611fa2602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906113ee565b610d43565b5060019392505050565b6000546001600160a01b031633146106a45760405162461bcd60e51b815260040161069b90611e29565b60405180910390fd5b60005b828110156107155781600560008686858181106106c6576106c6611e5e565b90506020020160208101906106db9190611c92565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061070d81611e8a565b9150506106a7565b50505050565b6012546001600160a01b0316336001600160a01b0316148061075057506013546001600160a01b0316336001600160a01b0316145b61075957600080fd5b4761076381611428565b50565b6001600160a01b03811660009081526002602052604081205461060290611462565b6000546001600160a01b031633146107b25760405162461bcd60e51b815260040161069b90611e29565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108265760405162461bcd60e51b815260040161069b90611e29565b601655565b6000546001600160a01b031633146108555760405162461bcd60e51b815260040161069b90611e29565b601855565b60006105fe338484610e67565b6012546001600160a01b0316336001600160a01b0316148061089c57506013546001600160a01b0316336001600160a01b0316145b6108a557600080fd5b60006108b030610766565b9050610763816114e6565b6000546001600160a01b031633146108e55760405162461bcd60e51b815260040161069b90611e29565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190611ea3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109df9190611ea3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a509190611ea3565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff199081166001908117909255308452828420805482168317905560125485168452828420805482168317905560135490941683529120805490921617905550565b6000546001600160a01b03163314610aed5760405162461bcd60e51b815260040161069b90611e29565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6000546001600160a01b03163314610b355760405162461bcd60e51b815260040161069b90611e29565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b03163314610b805760405162461bcd60e51b815260040161069b90611e29565b601755565b6000546001600160a01b03163314610baf5760405162461bcd60e51b815260040161069b90611e29565b600893909355600a91909155600955600b55565b6000546001600160a01b03163314610bed5760405162461bcd60e51b815260040161069b90611e29565b6001600160a01b038116610c525760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161069b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610cd75760405162461bcd60e51b815260040161069b90611e29565b60005b8151811015610d3f57600160106000848481518110610cfb57610cfb611e5e565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d3781611e8a565b915050610cda565b5050565b6001600160a01b038316610da55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161069b565b6001600160a01b038216610e065760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161069b565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ecb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161069b565b6001600160a01b038216610f2d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161069b565b60008111610f8f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161069b565b6001600160a01b03831660009081526010602052604090205460ff16158015610fd157506001600160a01b03821660009081526010602052604090205460ff16155b610fda57600080fd5b6000546001600160a01b0384811691161480159061100657506000546001600160a01b03838116911614155b156112e757601554600160a01b900460ff1661109f576000546001600160a01b0384811691161461109f5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161069b565b6016548111156110f15760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161069b565b6001600160a01b03831660009081526010602052604090205460ff1615801561113357506001600160a01b03821660009081526010602052604090205460ff16155b61118b5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161069b565b6015546001600160a01b0383811691161461121057601754816111ad84610766565b6111b79190611ec0565b106112105760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161069b565b600061121b30610766565b6018546016549192508210159082106112345760165491505b80801561124b5750601554600160a81b900460ff16155b801561126557506015546001600160a01b03868116911614155b801561127a5750601554600160b01b900460ff165b801561129f57506001600160a01b03851660009081526005602052604090205460ff16155b80156112c457506001600160a01b03841660009081526005602052604090205460ff16155b156112e4576112d2826114e6565b4780156112e2576112e247611428565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061132957506001600160a01b03831660009081526005602052604090205460ff165b8061135b57506015546001600160a01b0385811691161480159061135b57506015546001600160a01b03848116911614155b15611368575060006113e2565b6015546001600160a01b03858116911614801561139357506014546001600160a01b03848116911614155b156113a557600854600c55600954600d555b6015546001600160a01b0384811691161480156113d057506014546001600160a01b03858116911614155b156113e257600a54600c55600b54600d555b61071584848484611660565b600081848411156114125760405162461bcd60e51b815260040161069b9190611b17565b50600061141f8486611ed8565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610d3f573d6000803e3d6000fd5b60006006548211156114c95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161069b565b60006114d361168e565b90506114df83826116b1565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061152e5761152e611e5e565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ab9190611ea3565b816001815181106115be576115be611e5e565b6001600160a01b0392831660209182029290920101526014546115e49130911684610d43565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061161d908590600090869030904290600401611eef565b600060405180830381600087803b15801561163757600080fd5b505af115801561164b573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b8061166d5761166d6116f3565b611678848484611721565b8061071557610715600e54600c55600f54600d55565b600080600061169b611818565b90925090506116aa82826116b1565b9250505090565b60006114df83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611856565b600c541580156117035750600d54155b1561170a57565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061173387611884565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061176590876118e1565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546117949086611923565b6001600160a01b0389166000908152600260205260409020556117b681611982565b6117c084836119cc565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161180591815260200190565b60405180910390a3505050505050505050565b60065460009081906611c37937e0800061183282826116b1565b82101561184d575050600654926611c37937e0800092509050565b90939092509050565b600081836118775760405162461bcd60e51b815260040161069b9190611b17565b50600061141f8486611f60565b60008060008060008060008060006118a18a600c54600d546119f0565b92509250925060006118b161168e565b905060008060006118c48e878787611a45565b919e509c509a509598509396509194505050505091939550919395565b60006114df83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113ee565b6000806119308385611ec0565b9050838110156114df5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161069b565b600061198c61168e565b9050600061199a8383611a95565b306000908152600260205260409020549091506119b79082611923565b30600090815260026020526040902055505050565b6006546119d990836118e1565b6006556007546119e99082611923565b6007555050565b6000808080611a0a6064611a048989611a95565b906116b1565b90506000611a1d6064611a048a89611a95565b90506000611a3582611a2f8b866118e1565b906118e1565b9992985090965090945050505050565b6000808080611a548886611a95565b90506000611a628887611a95565b90506000611a708888611a95565b90506000611a8282611a2f86866118e1565b939b939a50919850919650505050505050565b600082600003611aa757506000610602565b6000611ab38385611f82565b905082611ac08583611f60565b146114df5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161069b565b600060208083528351808285015260005b81811015611b4457858101830151858201604001528201611b28565b81811115611b56576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461076357600080fd5b8035611b8c81611b6c565b919050565b60008060408385031215611ba457600080fd5b8235611baf81611b6c565b946020939093013593505050565b600080600060608486031215611bd257600080fd5b8335611bdd81611b6c565b92506020840135611bed81611b6c565b929592945050506040919091013590565b80358015158114611b8c57600080fd5b600080600060408486031215611c2357600080fd5b833567ffffffffffffffff80821115611c3b57600080fd5b818601915086601f830112611c4f57600080fd5b813581811115611c5e57600080fd5b8760208260051b8501011115611c7357600080fd5b602092830195509350611c899186019050611bfe565b90509250925092565b600060208284031215611ca457600080fd5b81356114df81611b6c565b600060208284031215611cc157600080fd5b5035919050565b600060208284031215611cda57600080fd5b6114df82611bfe565b60008060408385031215611cf657600080fd5b8235611d0181611b6c565b91506020830135611d1181611b6c565b809150509250929050565b60008060008060808587031215611d3257600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611d7757600080fd5b823567ffffffffffffffff80821115611d8f57600080fd5b818501915085601f830112611da357600080fd5b813581811115611db557611db5611d4e565b8060051b604051601f19603f83011681018181108582111715611dda57611dda611d4e565b604052918252848201925083810185019188831115611df857600080fd5b938501935b82851015611e1d57611e0e85611b81565b84529385019392850192611dfd565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611e9c57611e9c611e74565b5060010190565b600060208284031215611eb557600080fd5b81516114df81611b6c565b60008219821115611ed357611ed3611e74565b500190565b600082821015611eea57611eea611e74565b500390565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f3f5784516001600160a01b031683529383019391830191600101611f1a565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611f7d57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611f9c57611f9c611e74565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220bc06e042f9ae2ee7d305d73afc02f550bd78b4c58c35dfec6af11bcea5497c6b64736f6c634300080f0033