60806040526200001966038d7ea4c680006000196200034d565b620000279060001962000370565b600655600060088190556019600955600a8190556028600b819055600c829055600d819055600e91909155600f5560128054336001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b1790556512309ce5400060168190556017556509184e72a000601855348015620000b457600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000172573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000198919062000396565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020c919062000396565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000280919062000396565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200033e91815260200190565b60405180910390a350620003c8565b6000826200036b57634e487b7160e01b600052601260045260246000fd5b500690565b6000828210156200039157634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003a957600080fd5b81516001600160a01b0381168114620003c157600080fd5b9392505050565b611e1680620003d86000396000f3fe6080604052600436106101d15760003560e01c80637f2feddc116100f7578063a9059cbb11610095578063c492f04611610064578063c492f0461461056d578063dd62ed3e1461058d578063ea1644d5146105d3578063f2fde38b146105f357600080fd5b8063a9059cbb146104e8578063bba4de0014610508578063bfd7928414610528578063c3c8cd801461055857600080fd5b80638f9a55c0116100d15780638f9a55c01461046057806395d89b411461047657806398a5c315146104a8578063a2a957bb146104c857600080fd5b80637f2feddc146103f55780638da5cb5b146104225780638f70ccf71461044057600080fd5b806349bd5a5e1161016f57806370a082311161013e57806370a082311461038a578063715018a6146103aa57806374010ece146103bf5780637d1db4a5146103df57600080fd5b806349bd5a5e1461031357806369b33c6e146103335780636d8aa8f8146103555780636fc3eaec1461037557600080fd5b806318160ddd116101ab57806318160ddd1461029d57806323b872dd146102c15780632fd689e3146102e1578063313ce567146102f757600080fd5b806306fdde03146101dd578063095ea7b3146102355780631694505e1461026557600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152601e81527f5468652046726f67205072696e6365737320e3818be38188e3828be5a7ab000060208201525b60405161022c919061192e565b60405180910390f35b34801561024157600080fd5b506102556102503660046119a8565b610613565b604051901515815260200161022c565b34801561027157600080fd5b50601454610285906001600160a01b031681565b6040516001600160a01b03909116815260200161022c565b3480156102a957600080fd5b5066038d7ea4c680005b60405190815260200161022c565b3480156102cd57600080fd5b506102556102dc3660046119d4565b61062a565b3480156102ed57600080fd5b506102b360185481565b34801561030357600080fd5b506040516009815260200161022c565b34801561031f57600080fd5b50601554610285906001600160a01b031681565b34801561033f57600080fd5b5061035361034e366004611a15565b610693565b005b34801561036157600080fd5b50610353610370366004611a42565b6106e7565b34801561038157600080fd5b5061035361072f565b34801561039657600080fd5b506102b36103a5366004611a15565b61077a565b3480156103b657600080fd5b5061035361079c565b3480156103cb57600080fd5b506103536103da366004611a5d565b610810565b3480156103eb57600080fd5b506102b360165481565b34801561040157600080fd5b506102b3610410366004611a15565b60116020526000908152604090205481565b34801561042e57600080fd5b506000546001600160a01b0316610285565b34801561044c57600080fd5b5061035361045b366004611a42565b61083f565b34801561046c57600080fd5b506102b360175481565b34801561048257600080fd5b50604080518082019091526009815268506550692048696d6560b81b602082015261021f565b3480156104b457600080fd5b506103536104c3366004611a5d565b610887565b3480156104d457600080fd5b506103536104e3366004611a76565b6108b6565b3480156104f457600080fd5b506102556105033660046119a8565b6108f4565b34801561051457600080fd5b50610353610523366004611abe565b610901565b34801561053457600080fd5b50610255610543366004611a15565b60106020526000908152604090205460ff1681565b34801561056457600080fd5b50610353610997565b34801561057957600080fd5b50610353610588366004611b83565b6109eb565b34801561059957600080fd5b506102b36105a8366004611c07565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105df57600080fd5b506103536105ee366004611a5d565b610a8c565b3480156105ff57600080fd5b5061035361060e366004611a15565b610abb565b6000610620338484610ba5565b5060015b92915050565b6000610637848484610cc9565b610689843361068485604051806060016040528060288152602001611db9602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611205565b610ba5565b5060019392505050565b6000546001600160a01b031633146106c65760405162461bcd60e51b81526004016106bd90611c40565b60405180910390fd5b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107115760405162461bcd60e51b81526004016106bd90611c40565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061076457506013546001600160a01b0316336001600160a01b0316145b61076d57600080fd5b476107778161123f565b50565b6001600160a01b03811660009081526002602052604081205461062490611279565b6000546001600160a01b031633146107c65760405162461bcd60e51b81526004016106bd90611c40565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461083a5760405162461bcd60e51b81526004016106bd90611c40565b601655565b6000546001600160a01b031633146108695760405162461bcd60e51b81526004016106bd90611c40565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146108b15760405162461bcd60e51b81526004016106bd90611c40565b601855565b6000546001600160a01b031633146108e05760405162461bcd60e51b81526004016106bd90611c40565b600893909355600a91909155600955600b55565b6000610620338484610cc9565b6000546001600160a01b0316331461092b5760405162461bcd60e51b81526004016106bd90611c40565b60005b81518110156109935760016010600084848151811061094f5761094f611c75565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061098b81611ca1565b91505061092e565b5050565b6012546001600160a01b0316336001600160a01b031614806109cc57506013546001600160a01b0316336001600160a01b0316145b6109d557600080fd5b60006109e03061077a565b9050610777816112fd565b6000546001600160a01b03163314610a155760405162461bcd60e51b81526004016106bd90611c40565b60005b82811015610a86578160056000868685818110610a3757610a37611c75565b9050602002016020810190610a4c9190611a15565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a7e81611ca1565b915050610a18565b50505050565b6000546001600160a01b03163314610ab65760405162461bcd60e51b81526004016106bd90611c40565b601755565b6000546001600160a01b03163314610ae55760405162461bcd60e51b81526004016106bd90611c40565b6001600160a01b038116610b4a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bd565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610c075760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106bd565b6001600160a01b038216610c685760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106bd565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d2d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106bd565b6001600160a01b038216610d8f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106bd565b60008111610df15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106bd565b6000546001600160a01b03848116911614801590610e1d57506000546001600160a01b03838116911614155b156110fe57601554600160a01b900460ff16610eb6576000546001600160a01b03848116911614610eb65760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106bd565b601654811115610f085760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106bd565b6001600160a01b03831660009081526010602052604090205460ff16158015610f4a57506001600160a01b03821660009081526010602052604090205460ff16155b610fa25760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106bd565b6015546001600160a01b038381169116146110275760175481610fc48461077a565b610fce9190611cba565b106110275760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106bd565b60006110323061077a565b60185460165491925082101590821061104b5760165491505b8080156110625750601554600160a81b900460ff16155b801561107c57506015546001600160a01b03868116911614155b80156110915750601554600160b01b900460ff165b80156110b657506001600160a01b03851660009081526005602052604090205460ff16155b80156110db57506001600160a01b03841660009081526005602052604090205460ff16155b156110fb576110e9826112fd565b4780156110f9576110f94761123f565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061114057506001600160a01b03831660009081526005602052604090205460ff165b8061117257506015546001600160a01b0385811691161480159061117257506015546001600160a01b03848116911614155b1561117f575060006111f9565b6015546001600160a01b0385811691161480156111aa57506014546001600160a01b03848116911614155b156111bc57600854600c55600954600d555b6015546001600160a01b0384811691161480156111e757506014546001600160a01b03858116911614155b156111f957600a54600c55600b54600d555b610a8684848484611477565b600081848411156112295760405162461bcd60e51b81526004016106bd919061192e565b5060006112368486611cd2565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610993573d6000803e3d6000fd5b60006006548211156112e05760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106bd565b60006112ea6114a5565b90506112f683826114c8565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061134557611345611c75565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561139e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c29190611ce9565b816001815181106113d5576113d5611c75565b6001600160a01b0392831660209182029290920101526014546113fb9130911684610ba5565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611434908590600090869030904290600401611d06565b600060405180830381600087803b15801561144e57600080fd5b505af1158015611462573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b806114845761148461150a565b61148f848484611538565b80610a8657610a86600e54600c55600f54600d55565b60008060006114b261162f565b90925090506114c182826114c8565b9250505090565b60006112f683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061166d565b600c5415801561151a5750600d54155b1561152157565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061154a8761169b565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061157c90876116f8565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546115ab908661173a565b6001600160a01b0389166000908152600260205260409020556115cd81611799565b6115d784836117e3565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161161c91815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c6800061164982826114c8565b8210156116645750506006549266038d7ea4c6800092509050565b90939092509050565b6000818361168e5760405162461bcd60e51b81526004016106bd919061192e565b5060006112368486611d77565b60008060008060008060008060006116b88a600c54600d54611807565b92509250925060006116c86114a5565b905060008060006116db8e87878761185c565b919e509c509a509598509396509194505050505091939550919395565b60006112f683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611205565b6000806117478385611cba565b9050838110156112f65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106bd565b60006117a36114a5565b905060006117b183836118ac565b306000908152600260205260409020549091506117ce908261173a565b30600090815260026020526040902055505050565b6006546117f090836116f8565b600655600754611800908261173a565b6007555050565b6000808080611821606461181b89896118ac565b906114c8565b90506000611834606461181b8a896118ac565b9050600061184c826118468b866116f8565b906116f8565b9992985090965090945050505050565b600080808061186b88866118ac565b9050600061187988876118ac565b9050600061188788886118ac565b905060006118998261184686866116f8565b939b939a50919850919650505050505050565b6000826000036118be57506000610624565b60006118ca8385611d99565b9050826118d78583611d77565b146112f65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106bd565b600060208083528351808285015260005b8181101561195b5785810183015185820160400152820161193f565b8181111561196d576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461077757600080fd5b80356119a381611983565b919050565b600080604083850312156119bb57600080fd5b82356119c681611983565b946020939093013593505050565b6000806000606084860312156119e957600080fd5b83356119f481611983565b92506020840135611a0481611983565b929592945050506040919091013590565b600060208284031215611a2757600080fd5b81356112f681611983565b803580151581146119a357600080fd5b600060208284031215611a5457600080fd5b6112f682611a32565b600060208284031215611a6f57600080fd5b5035919050565b60008060008060808587031215611a8c57600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611ad157600080fd5b823567ffffffffffffffff80821115611ae957600080fd5b818501915085601f830112611afd57600080fd5b813581811115611b0f57611b0f611aa8565b8060051b604051601f19603f83011681018181108582111715611b3457611b34611aa8565b604052918252848201925083810185019188831115611b5257600080fd5b938501935b82851015611b7757611b6885611998565b84529385019392850192611b57565b98975050505050505050565b600080600060408486031215611b9857600080fd5b833567ffffffffffffffff80821115611bb057600080fd5b818601915086601f830112611bc457600080fd5b813581811115611bd357600080fd5b8760208260051b8501011115611be857600080fd5b602092830195509350611bfe9186019050611a32565b90509250925092565b60008060408385031215611c1a57600080fd5b8235611c2581611983565b91506020830135611c3581611983565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611cb357611cb3611c8b565b5060010190565b60008219821115611ccd57611ccd611c8b565b500190565b600082821015611ce457611ce4611c8b565b500390565b600060208284031215611cfb57600080fd5b81516112f681611983565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d565784516001600160a01b031683529383019391830191600101611d31565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d9457634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611db357611db3611c8b565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122014e036f09a4ae37e151cc5adab40f87fc8b9ebab16ba2ee606a53acc91e812f764736f6c634300080f0033