60806040526200001e6b012a220cc65e2fba0f2eb40060001962000371565b6200002c9060001962000394565b60065560006008819055601e600955600a8190556023600b819055600c829055600d819055600e91909155600f55601280546001600160a01b031990811673d1910d051b296c89cd6902cb7a06f51bbc212ff59081179092556013805490911690911790556015805462ffffff60a01b1916600160b01b1790556a05f670e53f52dfb1e662006016819055601755675fc1b97136320000601855348015620000d357600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000191573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b79190620003bc565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000205573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022b9190620003bc565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000279573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029f9190620003bc565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6b012a220cc65e2fba0f2eb4006040516200036291815260200190565b60405180910390a350620003ee565b6000826200038f57634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003b657634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003cf57600080fd5b81516001600160a01b0381168114620003e757600080fd5b9392505050565b611df380620003fe6000396000f3fe6080604052600436106101d15760003560e01c8063715018a6116100f7578063a9059cbb11610095578063d5f5d33011610064578063d5f5d33014610558578063dd62ed3e14610578578063e2ee677d146105be578063f2fde38b146105de57600080fd5b8063a9059cbb146104d3578063bfd79284146104f3578063c3c8cd8014610523578063d3e5eb221461053857600080fd5b80638da5cb5b116100d15780638da5cb5b146104535780638ebc7ec6146104715780638f9a55c01461049157806395d89b41146104a757600080fd5b8063715018a6146103fb5780637d1db4a5146104105780637f2feddc1461042657600080fd5b80632fd689e31161016f5780636b9990531161013e5780636b999053146103865780636d8aa8f8146103a65780636fc3eaec146103c657806370a08231146103db57600080fd5b80632fd689e314610314578063313ce5671461032a57806349bd5a5e146103465780636a7406591461036657600080fd5b80631694505e116101ab5780631694505e1461027357806318160ddd146102ab5780631ffe1e3b146102d457806323b872dd146102f457600080fd5b806306fdde03146101dd578063095ea7b3146102215780630d5cfaf91461025157600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506040805180820190915260098152684d4c4720444f47475960b81b60208201525b6040516102189190611923565b60405180910390f35b34801561022d57600080fd5b5061024161023c366004611996565b6105fe565b6040519015158152602001610218565b34801561025d57600080fd5b5061027161026c3660046119c2565b610615565b005b34801561027f57600080fd5b50601454610293906001600160a01b031681565b6040516001600160a01b039091168152602001610218565b3480156102b757600080fd5b506b012a220cc65e2fba0f2eb4005b604051908152602001610218565b3480156102e057600080fd5b506102716102ef3660046119f1565b61064d565b34801561030057600080fd5b5061024161030f366004611ab6565b6106e3565b34801561032057600080fd5b506102c660185481565b34801561033657600080fd5b5060405160098152602001610218565b34801561035257600080fd5b50601554610293906001600160a01b031681565b34801561037257600080fd5b506102716103813660046119c2565b61074c565b34801561039257600080fd5b506102716103a1366004611af7565b61077b565b3480156103b257600080fd5b506102716103c1366004611b24565b6107c6565b3480156103d257600080fd5b5061027161080e565b3480156103e757600080fd5b506102c66103f6366004611af7565b610859565b34801561040757600080fd5b5061027161087b565b34801561041c57600080fd5b506102c660165481565b34801561043257600080fd5b506102c6610441366004611af7565b60116020526000908152604090205481565b34801561045f57600080fd5b506000546001600160a01b0316610293565b34801561047d57600080fd5b5061027161048c366004611b3f565b6108ef565b34801561049d57600080fd5b506102c660175481565b3480156104b357600080fd5b5060408051808201909152600381526213531160ea1b602082015261020b565b3480156104df57600080fd5b506102416104ee366004611996565b610990565b3480156104ff57600080fd5b5061024161050e366004611af7565b60106020526000908152604090205460ff1681565b34801561052f57600080fd5b5061027161099d565b34801561054457600080fd5b50610271610553366004611b24565b6109f1565b34801561056457600080fd5b50610271610573366004611bc3565b610a39565b34801561058457600080fd5b506102c6610593366004611bf5565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105ca57600080fd5b506102716105d93660046119c2565b610a77565b3480156105ea57600080fd5b506102716105f9366004611af7565b610aa6565b600061060b338484610b90565b5060015b92915050565b6000546001600160a01b031633146106485760405162461bcd60e51b815260040161063f90611c2e565b60405180910390fd5b601755565b6000546001600160a01b031633146106775760405162461bcd60e51b815260040161063f90611c2e565b60005b81518110156106df5760016010600084848151811061069b5761069b611c63565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806106d781611c8f565b91505061067a565b5050565b60006106f0848484610cb4565b610742843361073d85604051806060016040528060288152602001611d96602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111f0565b610b90565b5060019392505050565b6000546001600160a01b031633146107765760405162461bcd60e51b815260040161063f90611c2e565b601655565b6000546001600160a01b031633146107a55760405162461bcd60e51b815260040161063f90611c2e565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107f05760405162461bcd60e51b815260040161063f90611c2e565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061084357506013546001600160a01b0316336001600160a01b0316145b61084c57600080fd5b476108568161122a565b50565b6001600160a01b03811660009081526002602052604081205461060f90611264565b6000546001600160a01b031633146108a55760405162461bcd60e51b815260040161063f90611c2e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146109195760405162461bcd60e51b815260040161063f90611c2e565b60005b8281101561098a57816005600086868581811061093b5761093b611c63565b90506020020160208101906109509190611af7565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061098281611c8f565b91505061091c565b50505050565b600061060b338484610cb4565b6012546001600160a01b0316336001600160a01b031614806109d257506013546001600160a01b0316336001600160a01b0316145b6109db57600080fd5b60006109e630610859565b9050610856816112e8565b6000546001600160a01b03163314610a1b5760405162461bcd60e51b815260040161063f90611c2e565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314610a635760405162461bcd60e51b815260040161063f90611c2e565b600893909355600a91909155600955600b55565b6000546001600160a01b03163314610aa15760405162461bcd60e51b815260040161063f90611c2e565b601855565b6000546001600160a01b03163314610ad05760405162461bcd60e51b815260040161063f90611c2e565b6001600160a01b038116610b355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063f565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bf25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161063f565b6001600160a01b038216610c535760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161063f565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d185760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161063f565b6001600160a01b038216610d7a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161063f565b60008111610ddc5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161063f565b6000546001600160a01b03848116911614801590610e0857506000546001600160a01b03838116911614155b156110e957601554600160a01b900460ff16610ea1576000546001600160a01b03848116911614610ea15760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161063f565b601654811115610ef35760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161063f565b6001600160a01b03831660009081526010602052604090205460ff16158015610f3557506001600160a01b03821660009081526010602052604090205460ff16155b610f8d5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161063f565b6015546001600160a01b038381169116146110125760175481610faf84610859565b610fb99190611ca8565b106110125760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161063f565b600061101d30610859565b6018546016549192508210159082106110365760165491505b80801561104d5750601554600160a81b900460ff16155b801561106757506015546001600160a01b03868116911614155b801561107c5750601554600160b01b900460ff165b80156110a157506001600160a01b03851660009081526005602052604090205460ff16155b80156110c657506001600160a01b03841660009081526005602052604090205460ff16155b156110e6576110d4826112e8565b4780156110e4576110e44761122a565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061112b57506001600160a01b03831660009081526005602052604090205460ff165b8061115d57506015546001600160a01b0385811691161480159061115d57506015546001600160a01b03848116911614155b1561116a575060006111e4565b6015546001600160a01b03858116911614801561119557506014546001600160a01b03848116911614155b156111a757600854600c55600954600d555b6015546001600160a01b0384811691161480156111d257506014546001600160a01b03858116911614155b156111e457600a54600c55600b54600d555b61098a84848484611462565b600081848411156112145760405162461bcd60e51b815260040161063f9190611923565b5060006112218486611cbb565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156106df573d6000803e3d6000fd5b60006006548211156112cb5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161063f565b60006112d5611490565b90506112e183826114b3565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061133057611330611c63565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611389573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ad9190611cce565b816001815181106113c0576113c0611c63565b6001600160a01b0392831660209182029290920101526014546113e69130911684610b90565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061141f908590600090869030904290600401611ceb565b600060405180830381600087803b15801561143957600080fd5b505af115801561144d573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b8061146f5761146f6114f5565b61147a848484611523565b8061098a5761098a600e54600c55600f54600d55565b600080600061149d61161a565b90925090506114ac82826114b3565b9250505090565b60006112e183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611662565b600c541580156115055750600d54155b1561150c57565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061153587611690565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061156790876116ed565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054611596908661172f565b6001600160a01b0389166000908152600260205260409020556115b88161178e565b6115c284836117d8565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161160791815260200190565b60405180910390a3505050505050505050565b60065460009081906b012a220cc65e2fba0f2eb40061163982826114b3565b821015611659575050600654926b012a220cc65e2fba0f2eb40092509050565b90939092509050565b600081836116835760405162461bcd60e51b815260040161063f9190611923565b5060006112218486611d5c565b60008060008060008060008060006116ad8a600c54600d546117fc565b92509250925060006116bd611490565b905060008060006116d08e878787611851565b919e509c509a509598509396509194505050505091939550919395565b60006112e183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111f0565b60008061173c8385611ca8565b9050838110156112e15760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161063f565b6000611798611490565b905060006117a683836118a1565b306000908152600260205260409020549091506117c3908261172f565b30600090815260026020526040902055505050565b6006546117e590836116ed565b6006556007546117f5908261172f565b6007555050565b6000808080611816606461181089896118a1565b906114b3565b9050600061182960646118108a896118a1565b905060006118418261183b8b866116ed565b906116ed565b9992985090965090945050505050565b600080808061186088866118a1565b9050600061186e88876118a1565b9050600061187c88886118a1565b9050600061188e8261183b86866116ed565b939b939a50919850919650505050505050565b6000826000036118b35750600061060f565b60006118bf8385611d7e565b9050826118cc8583611d5c565b146112e15760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161063f565b600060208083528351808285015260005b8181101561195057858101830151858201604001528201611934565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461085657600080fd5b803561199181611971565b919050565b600080604083850312156119a957600080fd5b82356119b481611971565b946020939093013593505050565b6000602082840312156119d457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611a0457600080fd5b823567ffffffffffffffff80821115611a1c57600080fd5b818501915085601f830112611a3057600080fd5b813581811115611a4257611a426119db565b8060051b604051601f19603f83011681018181108582111715611a6757611a676119db565b604052918252848201925083810185019188831115611a8557600080fd5b938501935b82851015611aaa57611a9b85611986565b84529385019392850192611a8a565b98975050505050505050565b600080600060608486031215611acb57600080fd5b8335611ad681611971565b92506020840135611ae681611971565b929592945050506040919091013590565b600060208284031215611b0957600080fd5b81356112e181611971565b8035801515811461199157600080fd5b600060208284031215611b3657600080fd5b6112e182611b14565b600080600060408486031215611b5457600080fd5b833567ffffffffffffffff80821115611b6c57600080fd5b818601915086601f830112611b8057600080fd5b813581811115611b8f57600080fd5b8760208260051b8501011115611ba457600080fd5b602092830195509350611bba9186019050611b14565b90509250925092565b60008060008060808587031215611bd957600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215611c0857600080fd5b8235611c1381611971565b91506020830135611c2381611971565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611ca157611ca1611c79565b5060010190565b8082018082111561060f5761060f611c79565b8181038181111561060f5761060f611c79565b600060208284031215611ce057600080fd5b81516112e181611971565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d3b5784516001600160a01b031683529383019391830191600101611d16565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d7957634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761060f5761060f611c7956fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122042ecbb9485afd4f8dbb4b5cb01ecd2b07b4ec2e0f9f695c37deccaeac62a9cee64736f6c63430008120033