0x60806040526200001b683635c9adc5dea0000060001962000368565b62000029906000196200038b565b6006556000600881905560056009819055600a829055600b819055600c829055600d819055600e91909155600f55601280546001600160a01b03199081167322371f902be5f04e69488c1c62231ae74a68c6cb9081179092556013805490911690911790556015805462ffffff60a01b1916600160b01b1790556801158e460913d000006016819055601755662386f26fc10000601855348015620000cd57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa1580156200018b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b19190620003b1565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002259190620003b1565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000273573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002999190620003b1565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef683635c9adc5dea000006040516200035991815260200190565b60405180910390a350620003e3565b6000826200038657634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620003ac57634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003c457600080fd5b81516001600160a01b0381168114620003dc57600080fd5b9392505050565b611f9080620003f36000396000f3fe6080604052600436106101d05760003560e01c80637d1db4a5116100f7578063a2a957bb11610095578063c492f04611610064578063c492f0461461055c578063dd62ed3e1461057c578063ea1644d5146105c2578063f2fde38b146105e257600080fd5b8063a2a957bb146104d7578063a9059cbb146104f7578063bfd7928414610517578063c3c8cd801461054757600080fd5b80638f70ccf7116100d15780638f70ccf7146104515780638f9a55c01461047157806395d89b411461048757806398a5c315146104b757600080fd5b80637d1db4a5146103f05780637f2feddc146104065780638da5cb5b1461043357600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461038657806370a082311461039b578063715018a6146103bb57806374010ece146103d057600080fd5b8063313ce5671461030a57806349bd5a5e146103265780636b999053146103465780636d8aa8f81461036657600080fd5b80631694505e116101ab5780631694505e1461027657806318160ddd146102ae57806323b872dd146102d45780632fd689e3146102f457600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461024657600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611ae1565b610602565b005b34801561020a57600080fd5b5060408051808201909152600d81526c50726f6f66206f66204c69666560981b60208201525b60405161023d9190611ba6565b60405180910390f35b34801561025257600080fd5b50610266610261366004611bfb565b6106a1565b604051901515815260200161023d565b34801561028257600080fd5b50601454610296906001600160a01b031681565b6040516001600160a01b03909116815260200161023d565b3480156102ba57600080fd5b50683635c9adc5dea000005b60405190815260200161023d565b3480156102e057600080fd5b506102666102ef366004611c27565b6106b8565b34801561030057600080fd5b506102c660185481565b34801561031657600080fd5b506040516009815260200161023d565b34801561033257600080fd5b50601554610296906001600160a01b031681565b34801561035257600080fd5b506101fc610361366004611c68565b610721565b34801561037257600080fd5b506101fc610381366004611c95565b61076c565b34801561039257600080fd5b506101fc6107b4565b3480156103a757600080fd5b506102c66103b6366004611c68565b6107ff565b3480156103c757600080fd5b506101fc610821565b3480156103dc57600080fd5b506101fc6103eb366004611cb0565b610895565b3480156103fc57600080fd5b506102c660165481565b34801561041257600080fd5b506102c6610421366004611c68565b60116020526000908152604090205481565b34801561043f57600080fd5b506000546001600160a01b0316610296565b34801561045d57600080fd5b506101fc61046c366004611c95565b6108d4565b34801561047d57600080fd5b506102c660175481565b34801561049357600080fd5b5060408051808201909152600781526608aa89068706c760cb1b6020820152610230565b3480156104c357600080fd5b506101fc6104d2366004611cb0565b61091c565b3480156104e357600080fd5b506101fc6104f2366004611cc9565b61094b565b34801561050357600080fd5b50610266610512366004611bfb565b610b01565b34801561052357600080fd5b50610266610532366004611c68565b60106020526000908152604090205460ff1681565b34801561055357600080fd5b506101fc610b0e565b34801561056857600080fd5b506101fc610577366004611cfb565b610b62565b34801561058857600080fd5b506102c6610597366004611d7f565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105ce57600080fd5b506101fc6105dd366004611cb0565b610c03565b3480156105ee57600080fd5b506101fc6105fd366004611c68565b610c32565b6000546001600160a01b031633146106355760405162461bcd60e51b815260040161062c90611db8565b60405180910390fd5b60005b815181101561069d5760016010600084848151811061065957610659611ded565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061069581611e19565b915050610638565b5050565b60006106ae338484610d1c565b5060015b92915050565b60006106c5848484610e40565b610717843361071285604051806060016040528060288152602001611f33602891396001600160a01b038a166000908152600460209081526040808320338452909152902054919061137c565b610d1c565b5060019392505050565b6000546001600160a01b0316331461074b5760405162461bcd60e51b815260040161062c90611db8565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107965760405162461bcd60e51b815260040161062c90611db8565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107e957506013546001600160a01b0316336001600160a01b0316145b6107f257600080fd5b476107fc816113b6565b50565b6001600160a01b0381166000908152600260205260408120546106b2906113f0565b6000546001600160a01b0316331461084b5760405162461bcd60e51b815260040161062c90611db8565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108bf5760405162461bcd60e51b815260040161062c90611db8565b674563918244f400008111156107fc57601655565b6000546001600160a01b031633146108fe5760405162461bcd60e51b815260040161062c90611db8565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146109465760405162461bcd60e51b815260040161062c90611db8565b601855565b6000546001600160a01b031633146109755760405162461bcd60e51b815260040161062c90611db8565b60048411156109d45760405162461bcd60e51b815260206004820152602560248201527f4275792072657761726473206d757374206265206265747765656e20302520616044820152646e6420342560d81b606482015260840161062c565b6014821115610a305760405162461bcd60e51b815260206004820152602260248201527f42757920746178206d757374206265206265747765656e20302520616e642032604482015261302560f01b606482015260840161062c565b6004831115610a905760405162461bcd60e51b815260206004820152602660248201527f53656c6c2072657761726473206d757374206265206265747765656e20302520604482015265616e6420342560d01b606482015260840161062c565b6063811115610aed5760405162461bcd60e51b815260206004820152602360248201527f53656c6c20746178206d757374206265206265747765656e20302520616e642060448201526239392560e81b606482015260840161062c565b600893909355600a91909155600955600b55565b60006106ae338484610e40565b6012546001600160a01b0316336001600160a01b03161480610b4357506013546001600160a01b0316336001600160a01b0316145b610b4c57600080fd5b6000610b57306107ff565b90506107fc81611474565b6000546001600160a01b03163314610b8c5760405162461bcd60e51b815260040161062c90611db8565b60005b82811015610bfd578160056000868685818110610bae57610bae611ded565b9050602002016020810190610bc39190611c68565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610bf581611e19565b915050610b8f565b50505050565b6000546001600160a01b03163314610c2d5760405162461bcd60e51b815260040161062c90611db8565b601755565b6000546001600160a01b03163314610c5c5760405162461bcd60e51b815260040161062c90611db8565b6001600160a01b038116610cc15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161062c565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610d7e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161062c565b6001600160a01b038216610ddf5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161062c565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ea45760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161062c565b6001600160a01b038216610f065760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161062c565b60008111610f685760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161062c565b6000546001600160a01b03848116911614801590610f9457506000546001600160a01b03838116911614155b1561127557601554600160a01b900460ff1661102d576000546001600160a01b0384811691161461102d5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161062c565b60165481111561107f5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161062c565b6001600160a01b03831660009081526010602052604090205460ff161580156110c157506001600160a01b03821660009081526010602052604090205460ff16155b6111195760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161062c565b6015546001600160a01b0383811691161461119e576017548161113b846107ff565b6111459190611e34565b1061119e5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161062c565b60006111a9306107ff565b6018546016549192508210159082106111c25760165491505b8080156111d95750601554600160a81b900460ff16155b80156111f357506015546001600160a01b03868116911614155b80156112085750601554600160b01b900460ff165b801561122d57506001600160a01b03851660009081526005602052604090205460ff16155b801561125257506001600160a01b03841660009081526005602052604090205460ff16155b156112725761126082611474565b47801561127057611270476113b6565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806112b757506001600160a01b03831660009081526005602052604090205460ff165b806112e957506015546001600160a01b038581169116148015906112e957506015546001600160a01b03848116911614155b156112f657506000611370565b6015546001600160a01b03858116911614801561132157506014546001600160a01b03848116911614155b1561133357600854600c55600954600d555b6015546001600160a01b03848116911614801561135e57506014546001600160a01b03858116911614155b1561137057600a54600c55600b54600d555b610bfd848484846115ee565b600081848411156113a05760405162461bcd60e51b815260040161062c9190611ba6565b5060006113ad8486611e4c565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561069d573d6000803e3d6000fd5b60006006548211156114575760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161062c565b600061146161161c565b905061146d838261163f565b9392505050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106114bc576114bc611ded565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611515573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115399190611e63565b8160018151811061154c5761154c611ded565b6001600160a01b0392831660209182029290920101526014546115729130911684610d1c565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906115ab908590600090869030904290600401611e80565b600060405180830381600087803b1580156115c557600080fd5b505af11580156115d9573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b806115fb576115fb611681565b6116068484846116af565b80610bfd57610bfd600e54600c55600f54600d55565b60008060006116296117a6565b9092509050611638828261163f565b9250505090565b600061146d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117e8565b600c541580156116915750600d54155b1561169857565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806116c187611816565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506116f39087611873565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461172290866118b5565b6001600160a01b03891660009081526002602052604090205561174481611914565b61174e848361195e565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161179391815260200190565b60405180910390a3505050505050505050565b6006546000908190683635c9adc5dea000006117c2828261163f565b8210156117df57505060065492683635c9adc5dea0000092509050565b90939092509050565b600081836118095760405162461bcd60e51b815260040161062c9190611ba6565b5060006113ad8486611ef1565b60008060008060008060008060006118338a600c54600d54611982565b925092509250600061184361161c565b905060008060006118568e8787876119d7565b919e509c509a509598509396509194505050505091939550919395565b600061146d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061137c565b6000806118c28385611e34565b90508381101561146d5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161062c565b600061191e61161c565b9050600061192c8383611a27565b3060009081526002602052604090205490915061194990826118b5565b30600090815260026020526040902055505050565b60065461196b9083611873565b60065560075461197b90826118b5565b6007555050565b600080808061199c60646119968989611a27565b9061163f565b905060006119af60646119968a89611a27565b905060006119c7826119c18b86611873565b90611873565b9992985090965090945050505050565b60008080806119e68886611a27565b905060006119f48887611a27565b90506000611a028888611a27565b90506000611a14826119c18686611873565b939b939a50919850919650505050505050565b600082611a36575060006106b2565b6000611a428385611f13565b905082611a4f8583611ef1565b1461146d5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161062c565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107fc57600080fd5b8035611adc81611abc565b919050565b60006020808385031215611af457600080fd5b823567ffffffffffffffff80821115611b0c57600080fd5b818501915085601f830112611b2057600080fd5b813581811115611b3257611b32611aa6565b8060051b604051601f19603f83011681018181108582111715611b5757611b57611aa6565b604052918252848201925083810185019188831115611b7557600080fd5b938501935b82851015611b9a57611b8b85611ad1565b84529385019392850192611b7a565b98975050505050505050565b600060208083528351808285015260005b81811015611bd357858101830151858201604001528201611bb7565b81811115611be5576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215611c0e57600080fd5b8235611c1981611abc565b946020939093013593505050565b600080600060608486031215611c3c57600080fd5b8335611c4781611abc565b92506020840135611c5781611abc565b929592945050506040919091013590565b600060208284031215611c7a57600080fd5b813561146d81611abc565b80358015158114611adc57600080fd5b600060208284031215611ca757600080fd5b61146d82611c85565b600060208284031215611cc257600080fd5b5035919050565b60008060008060808587031215611cdf57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611d1057600080fd5b833567ffffffffffffffff80821115611d2857600080fd5b818601915086601f830112611d3c57600080fd5b813581811115611d4b57600080fd5b8760208260051b8501011115611d6057600080fd5b602092830195509350611d769186019050611c85565b90509250925092565b60008060408385031215611d9257600080fd5b8235611d9d81611abc565b91506020830135611dad81611abc565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611e2d57611e2d611e03565b5060010190565b60008219821115611e4757611e47611e03565b500190565b600082821015611e5e57611e5e611e03565b500390565b600060208284031215611e7557600080fd5b815161146d81611abc565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611ed05784516001600160a01b031683529383019391830191600101611eab565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611f0e57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611f2d57611f2d611e03565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122084880dea5c8294e2aa0a289472697b2b7413a8637b0701a89cf12090309ad59f64736f6c634300080a0033