60806040526200001966038d7ea4c680006000196200033b565b62000027906000196200035e565b600655600e80546008819055600f80546009819055600a928355600b556000600c819055600d92909255915560199055601280546001600160a01b031916732f51118f47e4a6a2f728c6073f3150f2ccbacd571790556512309ce5400060158190556016556509184e72a0006017556018805462ffff00191662010000179055348015620000b457600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000172573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000198919062000386565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020c919062000386565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000280919062000386565b601480546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200032c91815260200190565b60405180910390a350620003b8565b6000826200035957634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200038057634e487b7160e01b600052601160045260246000fd5b92915050565b6000602082840312156200039957600080fd5b81516001600160a01b0381168114620003b157600080fd5b9392505050565b611a9680620003c86000396000f3fe6080604052600436106101695760003560e01c806370a08231116100d157806395d89b411161008a578063bfd7928411610064578063bfd7928414610431578063c3c8cd8014610461578063dd62ed3e14610476578063f2fde38b146104bc57600080fd5b806395d89b41146103c2578063a9059cbb146103f1578063b9b82e6a1461041157600080fd5b806370a082311461032e578063715018a61461034e578063751039fc146103635780637d1db4a5146103785780638da5cb5b1461038e5780638f9a55c0146103ac57600080fd5b80632fd689e3116101235780632fd689e314610287578063313ce5671461029d57806338893a9f146102b957806349bd5a5e146102d95780636b999053146102f95780636fc3eaec1461031957600080fd5b8062b8cf2a1461017557806306fdde0314610197578063095ea7b3146101db5780631694505e1461020b57806318160ddd1461024357806323b872dd1461026757600080fd5b3661017057005b600080fd5b34801561018157600080fd5b506101956101903660046116a7565b6104dc565b005b3480156101a357600080fd5b5060408051808201909152600981526842756e74616963686f60b81b60208201525b6040516101d2919061176c565b60405180910390f35b3480156101e757600080fd5b506101fb6101f63660046117ba565b61057b565b60405190151581526020016101d2565b34801561021757600080fd5b5060135461022b906001600160a01b031681565b6040516001600160a01b0390911681526020016101d2565b34801561024f57600080fd5b5066038d7ea4c680005b6040519081526020016101d2565b34801561027357600080fd5b506101fb6102823660046117e6565b610592565b34801561029357600080fd5b5061025960175481565b3480156102a957600080fd5b50604051600981526020016101d2565b3480156102c557600080fd5b506101956102d4366004611827565b6105fb565b3480156102e557600080fd5b5060145461022b906001600160a01b031681565b34801561030557600080fd5b50610195610314366004611849565b610638565b34801561032557600080fd5b50610195610683565b34801561033a57600080fd5b50610259610349366004611849565b6106b0565b34801561035a57600080fd5b506101956106d2565b34801561036f57600080fd5b50610195610746565b34801561038457600080fd5b5061025960155481565b34801561039a57600080fd5b506000546001600160a01b031661022b565b3480156103b857600080fd5b5061025960165481565b3480156103ce57600080fd5b5060408051808201909152600681526554414943484f60d01b60208201526101c5565b3480156103fd57600080fd5b506101fb61040c3660046117ba565b610782565b34801561041d57600080fd5b5061019561042c366004611866565b61078f565b34801561043d57600080fd5b506101fb61044c366004611849565b60116020526000908152604090205460ff1681565b34801561046d57600080fd5b506101956107cd565b34801561048257600080fd5b50610259610491366004611898565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156104c857600080fd5b506101956104d7366004611849565b610803565b6000546001600160a01b0316331461050f5760405162461bcd60e51b8152600401610506906118d1565b60405180910390fd5b60005b81518110156105775760016011600084848151811061053357610533611906565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061056f81611932565b915050610512565b5050565b60006105883384846108ed565b5060015b92915050565b600061059f848484610a11565b6105f184336105ec85604051806060016040528060288152602001611a39602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610f49565b6108ed565b5060019392505050565b6000546001600160a01b031633146106255760405162461bcd60e51b8152600401610506906118d1565b6018805460ff1916911515919091179055565b6000546001600160a01b031633146106625760405162461bcd60e51b8152600401610506906118d1565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6012546001600160a01b0316336001600160a01b0316146106a357600080fd5b476106ad81610f83565b50565b6001600160a01b03811660009081526002602052604081205461058c90610fbd565b6000546001600160a01b031633146106fc5760405162461bcd60e51b8152600401610506906118d1565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107705760405162461bcd60e51b8152600401610506906118d1565b66038d7ea4c680006016819055601555565b6000610588338484610a11565b6000546001600160a01b031633146107b95760405162461bcd60e51b8152600401610506906118d1565b600c93909355600e91909155600d55600f55565b6012546001600160a01b0316336001600160a01b0316146107ed57600080fd5b60006107f8306106b0565b90506106ad81611041565b6000546001600160a01b0316331461082d5760405162461bcd60e51b8152600401610506906118d1565b6001600160a01b0381166108925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610506565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831661094f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610506565b6001600160a01b0382166109b05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610506565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610a755760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610506565b6001600160a01b038216610ad75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610506565b60008111610b395760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610506565b6000546001600160a01b03848116911614801590610b6557506000546001600160a01b03838116911614155b15610e3c5760185460ff16610bf7576000546001600160a01b03848116911614610bf75760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610506565b601554811115610c495760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610506565b6001600160a01b03831660009081526011602052604090205460ff16158015610c8b57506001600160a01b03821660009081526011602052604090205460ff16155b610ce35760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610506565b6014546001600160a01b03838116911614610d685760165481610d05846106b0565b610d0f919061194b565b10610d685760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610506565b6000610d73306106b0565b601754601554919250821015908210610d8c5760155491505b808015610da15750601854610100900460ff16155b8015610dbb57506014546001600160a01b03868116911614155b8015610dcf575060185462010000900460ff165b8015610df457506001600160a01b03851660009081526005602052604090205460ff16155b8015610e1957506001600160a01b03841660009081526005602052604090205460ff16155b15610e3957610e2782611041565b478015610e3757610e3747610f83565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff1680610e7e57506001600160a01b03831660009081526005602052604090205460ff165b80610eb057506014546001600160a01b03858116911614801590610eb057506014546001600160a01b03848116911614155b15610ebd57506000610f37565b6014546001600160a01b038581169116148015610ee857506013546001600160a01b03848116911614155b15610efa57600c54600855600d546009555b6014546001600160a01b038481169116148015610f2557506013546001600160a01b03858116911614155b15610f3757600e54600855600f546009555b610f43848484846111b5565b50505050565b60008184841115610f6d5760405162461bcd60e51b8152600401610506919061176c565b506000610f7a848661195e565b95945050505050565b6012546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610577573d6000803e3d6000fd5b60006006548211156110245760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610506565b600061102e6111e3565b905061103a8382611206565b9392505050565b6018805461ff001916610100179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061108557611085611906565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156110de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111029190611971565b8160018151811061111557611115611906565b6001600160a01b03928316602091820292909201015260135461113b91309116846108ed565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac9479061117490859060009086903090429060040161198e565b600060405180830381600087803b15801561118e57600080fd5b505af11580156111a2573d6000803e3d6000fd5b50506018805461ff001916905550505050565b806111c2576111c2611248565b6111cd848484611276565b80610f4357610f43600a54600855600b54600955565b60008060006111f061136d565b90925090506111ff8282611206565b9250505090565b600061103a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113ab565b6008541580156112585750600954155b1561125f57565b60088054600a5560098054600b5560009182905555565b600080600080600080611288876113d9565b6001600160a01b038f16600090815260026020526040902054959b509399509197509550935091506112ba9087611436565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546112e99086611478565b6001600160a01b03891660009081526002602052604090205561130b816114d7565b6113158483611521565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161135a91815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c680006113878282611206565b8210156113a25750506006549266038d7ea4c6800092509050565b90939092509050565b600081836113cc5760405162461bcd60e51b8152600401610506919061176c565b506000610f7a84866119ff565b60008060008060008060008060006113f68a600854600954611545565b92509250925060006114066111e3565b905060008060006114198e87878761159a565b919e509c509a509598509396509194505050505091939550919395565b600061103a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f49565b600080611485838561194b565b90508381101561103a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610506565b60006114e16111e3565b905060006114ef83836115ea565b3060009081526002602052604090205490915061150c9082611478565b30600090815260026020526040902055505050565b60065461152e9083611436565b60065560075461153e9082611478565b6007555050565b600080808061155f606461155989896115ea565b90611206565b9050600061157260646115598a896115ea565b9050600061158a826115848b86611436565b90611436565b9992985090965090945050505050565b60008080806115a988866115ea565b905060006115b788876115ea565b905060006115c588886115ea565b905060006115d7826115848686611436565b939b939a50919850919650505050505050565b6000826000036115fc5750600061058c565b60006116088385611a21565b90508261161585836119ff565b1461103a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610506565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106ad57600080fd5b80356116a281611682565b919050565b600060208083850312156116ba57600080fd5b823567ffffffffffffffff808211156116d257600080fd5b818501915085601f8301126116e657600080fd5b8135818111156116f8576116f861166c565b8060051b604051601f19603f8301168101818110858211171561171d5761171d61166c565b60405291825284820192508381018501918883111561173b57600080fd5b938501935b828510156117605761175185611697565b84529385019392850192611740565b98975050505050505050565b600060208083528351808285015260005b818110156117995785810183015185820160400152820161177d565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156117cd57600080fd5b82356117d881611682565b946020939093013593505050565b6000806000606084860312156117fb57600080fd5b833561180681611682565b9250602084013561181681611682565b929592945050506040919091013590565b60006020828403121561183957600080fd5b8135801515811461103a57600080fd5b60006020828403121561185b57600080fd5b813561103a81611682565b6000806000806080858703121561187c57600080fd5b5050823594602084013594506040840135936060013592509050565b600080604083850312156118ab57600080fd5b82356118b681611682565b915060208301356118c681611682565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016119445761194461191c565b5060010190565b8082018082111561058c5761058c61191c565b8181038181111561058c5761058c61191c565b60006020828403121561198357600080fd5b815161103a81611682565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119de5784516001600160a01b0316835293830193918301916001016119b9565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611a1c57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761058c5761058c61191c56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122089ba5136d8b7d4e36eca4801d1fc37579804ff5508cb8ca94af8c7aeb70fe5dd64736f6c63430008110033