60806040526200001c691787586c4fa8997d060060001962000357565b6200002a906000196200037a565b600655600060088190556009819055600a819055600b819055600c819055600d819055600e819055600f5560128054336001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b179055691787586c4fa8997d06006016819055601755680605f9f6dd121d0600601855348015620000bb57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000179573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019f9190620003a2565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002139190620003a2565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000261573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002879190620003a2565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef691787586c4fa8997d06006040516200034891815260200190565b60405180910390a350620003d4565b6000826200037557634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200039c57634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003b557600080fd5b81516001600160a01b0381168114620003cd57600080fd5b9392505050565b611dfe80620003e46000396000f3fe6080604052600436106101d15760003560e01c80637f2feddc116100f7578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e1461055f578063ea1644d5146105a5578063f2fde38b146105c5578063f50c7c29146105e557600080fd5b8063a9059cbb146104da578063bfd79284146104fa578063c3c8cd801461052a578063c492f0461461053f57600080fd5b80638f9a55c0116100d15780638f9a55c01461045457806395d89b411461046a57806398a5c3151461049a578063a2a957bb146104ba57600080fd5b80637f2feddc146103e95780638da5cb5b146104165780638f70ccf71461043457600080fd5b8063313ce5671161016f57806370a082311161013e57806370a082311461037e578063715018a61461039e57806374010ece146103b35780637d1db4a5146103d357600080fd5b8063313ce5671461030d57806349bd5a5e146103295780636d8aa8f8146103495780636fc3eaec1461036957600080fd5b806318160ddd116101ab57806318160ddd1461028e57806318570f88146102b557806323b872dd146102d75780632fd689e3146102f757600080fd5b806306fdde03146101dd578063095ea7b3146102265780631694505e1461025657600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152600e81526d21b7b7b5b4b29026b7b739ba32b960911b60208201525b60405161021d9190611926565b60405180910390f35b34801561023257600080fd5b50610246610241366004611999565b610605565b604051901515815260200161021d565b34801561026257600080fd5b50601454610276906001600160a01b031681565b6040516001600160a01b03909116815260200161021d565b34801561029a57600080fd5b50691787586c4fa8997d06005b60405190815260200161021d565b3480156102c157600080fd5b506102d56102d03660046119db565b61061c565b005b3480156102e357600080fd5b506102466102f2366004611aa0565b6106bb565b34801561030357600080fd5b506102a760185481565b34801561031957600080fd5b506040516009815260200161021d565b34801561033557600080fd5b50601554610276906001600160a01b031681565b34801561035557600080fd5b506102d5610364366004611af1565b610724565b34801561037557600080fd5b506102d561076c565b34801561038a57600080fd5b506102a7610399366004611b0c565b6107b7565b3480156103aa57600080fd5b506102d56107d9565b3480156103bf57600080fd5b506102d56103ce366004611b29565b61084d565b3480156103df57600080fd5b506102a760165481565b3480156103f557600080fd5b506102a7610404366004611b0c565b60116020526000908152604090205481565b34801561042257600080fd5b506000546001600160a01b0316610276565b34801561044057600080fd5b506102d561044f366004611af1565b61087c565b34801561046057600080fd5b506102a760175481565b34801561047657600080fd5b5060408051808201909152600781526626a7a729aa22a960c91b6020820152610210565b3480156104a657600080fd5b506102d56104b5366004611b29565b6108c4565b3480156104c657600080fd5b506102d56104d5366004611b42565b6108f3565b3480156104e657600080fd5b506102466104f5366004611999565b610931565b34801561050657600080fd5b50610246610515366004611b0c565b60106020526000908152604090205460ff1681565b34801561053657600080fd5b506102d561093e565b34801561054b57600080fd5b506102d561055a366004611b74565b610992565b34801561056b57600080fd5b506102a761057a366004611bf8565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105b157600080fd5b506102d56105c0366004611b29565b610a33565b3480156105d157600080fd5b506102d56105e0366004611b0c565b610a62565b3480156105f157600080fd5b506102d5610600366004611b0c565b610b4c565b6000610612338484610b97565b5060015b92915050565b6000546001600160a01b0316331461064f5760405162461bcd60e51b815260040161064690611c31565b60405180910390fd5b60005b81518110156106b75760016010600084848151811061067357610673611c66565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806106af81611c92565b915050610652565b5050565b60006106c8848484610cbb565b61071a843361071585604051806060016040528060288152602001611da1602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111f7565b610b97565b5060019392505050565b6000546001600160a01b0316331461074e5760405162461bcd60e51b815260040161064690611c31565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107a157506013546001600160a01b0316336001600160a01b0316145b6107aa57600080fd5b476107b481611231565b50565b6001600160a01b0381166000908152600260205260408120546106169061126b565b6000546001600160a01b031633146108035760405162461bcd60e51b815260040161064690611c31565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108775760405162461bcd60e51b815260040161064690611c31565b601655565b6000546001600160a01b031633146108a65760405162461bcd60e51b815260040161064690611c31565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146108ee5760405162461bcd60e51b815260040161064690611c31565b601855565b6000546001600160a01b0316331461091d5760405162461bcd60e51b815260040161064690611c31565b600893909355600a91909155600955600b55565b6000610612338484610cbb565b6012546001600160a01b0316336001600160a01b0316148061097357506013546001600160a01b0316336001600160a01b0316145b61097c57600080fd5b6000610987306107b7565b90506107b4816112ef565b6000546001600160a01b031633146109bc5760405162461bcd60e51b815260040161064690611c31565b60005b82811015610a2d5781600560008686858181106109de576109de611c66565b90506020020160208101906109f39190611b0c565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a2581611c92565b9150506109bf565b50505050565b6000546001600160a01b03163314610a5d5760405162461bcd60e51b815260040161064690611c31565b601755565b6000546001600160a01b03163314610a8c5760405162461bcd60e51b815260040161064690611c31565b6001600160a01b038116610af15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610646565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610b765760405162461bcd60e51b815260040161064690611c31565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6001600160a01b038316610bf95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610646565b6001600160a01b038216610c5a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610646565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d1f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610646565b6001600160a01b038216610d815760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610646565b60008111610de35760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610646565b6000546001600160a01b03848116911614801590610e0f57506000546001600160a01b03838116911614155b156110f057601554600160a01b900460ff16610ea8576000546001600160a01b03848116911614610ea85760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610646565b601654811115610efa5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610646565b6001600160a01b03831660009081526010602052604090205460ff16158015610f3c57506001600160a01b03821660009081526010602052604090205460ff16155b610f945760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610646565b6015546001600160a01b038381169116146110195760175481610fb6846107b7565b610fc09190611cab565b106110195760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610646565b6000611024306107b7565b60185460165491925082101590821061103d5760165491505b8080156110545750601554600160a81b900460ff16155b801561106e57506015546001600160a01b03868116911614155b80156110835750601554600160b01b900460ff165b80156110a857506001600160a01b03851660009081526005602052604090205460ff16155b80156110cd57506001600160a01b03841660009081526005602052604090205460ff16155b156110ed576110db826112ef565b4780156110eb576110eb47611231565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061113257506001600160a01b03831660009081526005602052604090205460ff165b8061116457506015546001600160a01b0385811691161480159061116457506015546001600160a01b03848116911614155b15611171575060006111eb565b6015546001600160a01b03858116911614801561119c57506014546001600160a01b03848116911614155b156111ae57600854600c55600954600d555b6015546001600160a01b0384811691161480156111d957506014546001600160a01b03858116911614155b156111eb57600a54600c55600b54600d555b610a2d84848484611469565b6000818484111561121b5760405162461bcd60e51b81526004016106469190611926565b5060006112288486611cbe565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156106b7573d6000803e3d6000fd5b60006006548211156112d25760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610646565b60006112dc611497565b90506112e883826114ba565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061133757611337611c66565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611390573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b49190611cd1565b816001815181106113c7576113c7611c66565b6001600160a01b0392831660209182029290920101526014546113ed9130911684610b97565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611426908590600090869030904290600401611cee565b600060405180830381600087803b15801561144057600080fd5b505af1158015611454573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611476576114766114fc565b61148184848461152a565b80610a2d57610a2d600e54600c55600f54600d55565b60008060006114a4611621565b90925090506114b382826114ba565b9250505090565b60006112e883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611665565b600c5415801561150c5750600d54155b1561151357565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061153c87611693565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061156e90876116f0565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461159d9086611732565b6001600160a01b0389166000908152600260205260409020556115bf81611791565b6115c984836117db565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161160e91815260200190565b60405180910390a3505050505050505050565b6006546000908190691787586c4fa8997d060061163e82826114ba565b82101561165c57505060065492691787586c4fa8997d060092509050565b90939092509050565b600081836116865760405162461bcd60e51b81526004016106469190611926565b5060006112288486611d5f565b60008060008060008060008060006116b08a600c54600d546117ff565b92509250925060006116c0611497565b905060008060006116d38e878787611854565b919e509c509a509598509396509194505050505091939550919395565b60006112e883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111f7565b60008061173f8385611cab565b9050838110156112e85760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610646565b600061179b611497565b905060006117a983836118a4565b306000908152600260205260409020549091506117c69082611732565b30600090815260026020526040902055505050565b6006546117e890836116f0565b6006556007546117f89082611732565b6007555050565b6000808080611819606461181389896118a4565b906114ba565b9050600061182c60646118138a896118a4565b905060006118448261183e8b866116f0565b906116f0565b9992985090965090945050505050565b600080808061186388866118a4565b9050600061187188876118a4565b9050600061187f88886118a4565b905060006118918261183e86866116f0565b939b939a50919850919650505050505050565b6000826000036118b657506000610616565b60006118c28385611d81565b9050826118cf8583611d5f565b146112e85760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610646565b600060208083528351808285015260005b8181101561195357858101830151858201604001528201611937565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146107b457600080fd5b803561199481611974565b919050565b600080604083850312156119ac57600080fd5b82356119b781611974565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156119ee57600080fd5b823567ffffffffffffffff80821115611a0657600080fd5b818501915085601f830112611a1a57600080fd5b813581811115611a2c57611a2c6119c5565b8060051b604051601f19603f83011681018181108582111715611a5157611a516119c5565b604052918252848201925083810185019188831115611a6f57600080fd5b938501935b82851015611a9457611a8585611989565b84529385019392850192611a74565b98975050505050505050565b600080600060608486031215611ab557600080fd5b8335611ac081611974565b92506020840135611ad081611974565b929592945050506040919091013590565b8035801515811461199457600080fd5b600060208284031215611b0357600080fd5b6112e882611ae1565b600060208284031215611b1e57600080fd5b81356112e881611974565b600060208284031215611b3b57600080fd5b5035919050565b60008060008060808587031215611b5857600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611b8957600080fd5b833567ffffffffffffffff80821115611ba157600080fd5b818601915086601f830112611bb557600080fd5b813581811115611bc457600080fd5b8760208260051b8501011115611bd957600080fd5b602092830195509350611bef9186019050611ae1565b90509250925092565b60008060408385031215611c0b57600080fd5b8235611c1681611974565b91506020830135611c2681611974565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611ca457611ca4611c7c565b5060010190565b8082018082111561061657610616611c7c565b8181038181111561061657610616611c7c565b600060208284031215611ce357600080fd5b81516112e881611974565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d3e5784516001600160a01b031683529383019391830191600101611d19565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d7c57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611d9b57611d9b611c7c565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122026c5b6a4afa48dc0a35f47f690a5aa19a412de9880686743704fd6323e3d670464736f6c63430008100033