60806040526100186706f05b59d3b20000600019610165565b61002490600019610187565b600655600060088190556009819055600a819055600b819055600c819055600d819055600e819055600f55601280547331d71dcaba6b42a5f05fb4687f9511002b1dcb506001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b17905566b1a2bc2ec500006016556802b5e3af16b188000060175564174876e8006018553480156100c957600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360008181526002602090815260408083209490945592516706f05b59d3b200008152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36101ae565b60008261018257634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156101a857634e487b7160e01b600052601160045260246000fd5b92915050565b6119cc806101bd6000396000f3fe6080604052600436106101395760003560e01c806370a08231116100ab5780638f9a55c01161006f5780638f9a55c01461037857806395d89b411461038e578063a9059cbb146103bc578063bfd79284146103dc578063c3c8cd801461040c578063dd62ed3e1461042157600080fd5b806370a08231146102d7578063789dfefe146102f75780637d1db4a5146103175780637f2feddc1461032d5780638da5cb5b1461035a57600080fd5b806323b872dd116100fd57806323b872dd146102305780632fd689e314610250578063313ce5671461026657806340eed21d1461028257806349bd5a5e146102a25780636fc3eaec146102c257600080fd5b806306fdde0314610145578063095ea7b31461018c5780630eb510a3146101bc5780631694505e146101d357806318160ddd1461020b57600080fd5b3661014057005b600080fd5b34801561015157600080fd5b5060408051808201909152600c81526b4261636b20546f20576f726b60a01b60208201525b6040516101839190611624565b60405180910390f35b34801561019857600080fd5b506101ac6101a7366004611687565b610467565b6040519015158152602001610183565b3480156101c857600080fd5b506101d161047e565b005b3480156101df57600080fd5b506014546101f3906001600160a01b031681565b6040516001600160a01b039091168152602001610183565b34801561021757600080fd5b506706f05b59d3b200005b604051908152602001610183565b34801561023c57600080fd5b506101ac61024b3660046116b3565b61068f565b34801561025c57600080fd5b5061022260185481565b34801561027257600080fd5b5060405160098152602001610183565b34801561028e57600080fd5b506101d161029d3660046116f4565b6106f8565b3480156102ae57600080fd5b506015546101f3906001600160a01b031681565b3480156102ce57600080fd5b506101d1610736565b3480156102e357600080fd5b506102226102f2366004611726565b610781565b34801561030357600080fd5b506101d1610312366004611743565b6107a3565b34801561032357600080fd5b5061022260165481565b34801561033957600080fd5b50610222610348366004611726565b60116020526000908152604090205481565b34801561036657600080fd5b506000546001600160a01b03166101f3565b34801561038457600080fd5b5061022260175481565b34801561039a57600080fd5b506040805180820190915260058152644241434b5360d81b6020820152610176565b3480156103c857600080fd5b506101ac6103d7366004611687565b610844565b3480156103e857600080fd5b506101ac6103f7366004611726565b60106020526000908152604090205460ff1681565b34801561041857600080fd5b506101d1610851565b34801561042d57600080fd5b5061022261043c3660046117ce565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b60006104743384846108a5565b5060015b92915050565b6000546001600160a01b031633146104b15760405162461bcd60e51b81526004016104a890611807565b60405180910390fd5b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa158015610516573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053a919061183c565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ab919061183c565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156105f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061c919061183c565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff199081166001908117909255308452828420805482168317905560125485168452828420805482168317905560135490941683529120805490921617905550565b600061069c8484846109c9565b6106ee84336106e98560405180606001604052806028815260200161196f602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190610ef5565b6108a5565b5060019392505050565b6000546001600160a01b031633146107225760405162461bcd60e51b81526004016104a890611807565b600893909355600a91909155600955600b55565b6012546001600160a01b0316336001600160a01b0316148061076b57506013546001600160a01b0316336001600160a01b0316145b61077457600080fd5b4761077e81610f2f565b50565b6001600160a01b03811660009081526002602052604081205461047890610f6d565b6000546001600160a01b031633146107cd5760405162461bcd60e51b81526004016104a890611807565b60005b8281101561083e5781600560008686858181106107ef576107ef611859565b90506020020160208101906108049190611726565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061083681611885565b9150506107d0565b50505050565b60006104743384846109c9565b6012546001600160a01b0316336001600160a01b0316148061088657506013546001600160a01b0316336001600160a01b0316145b61088f57600080fd5b600061089a30610781565b905061077e81610ff1565b6001600160a01b0383166109075760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104a8565b6001600160a01b0382166109685760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104a8565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610a2d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104a8565b6001600160a01b038216610a8f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104a8565b60008111610af15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104a8565b6001600160a01b03831660009081526010602052604090205460ff16158015610b3357506001600160a01b03821660009081526010602052604090205460ff16155b610b3c57600080fd5b6000546001600160a01b03848116911614801590610b6857506000546001600160a01b03838116911614155b15610dee57601554600160a01b900460ff16610bc5576000546001600160a01b03848116911614610bc55760405162461bcd60e51b815260206004820152600760248201526602a27a5a2a71d160cd1b60448201526064016104a8565b601654811115610c0b5760405162461bcd60e51b81526020600482015260116024820152702a27a5a2a71d102b32b93c9036bab1b41760791b60448201526064016104a8565b6001600160a01b03831660009081526010602052604090205460ff16158015610c4d57506001600160a01b03821660009081526010602052604090205460ff16155b610c925760405162461bcd60e51b8152602060048201526016602482015275544f4b454e3a2043616e6e6f7420646f20746861742160501b60448201526064016104a8565b6015546001600160a01b03838116911614610d175760175481610cb484610781565b610cbe919061189e565b10610d175760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016104a8565b6000610d2230610781565b601854601654919250821015908210610d3b5760165491505b808015610d525750601554600160a81b900460ff16155b8015610d6c57506015546001600160a01b03868116911614155b8015610d815750601554600160b01b900460ff165b8015610da657506001600160a01b03851660009081526005602052604090205460ff16155b8015610dcb57506001600160a01b03841660009081526005602052604090205460ff16155b15610deb57610dd982610ff1565b478015610de957610de947610f2f565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff1680610e3057506001600160a01b03831660009081526005602052604090205460ff165b80610e6257506015546001600160a01b03858116911614801590610e6257506015546001600160a01b03848116911614155b15610e6f57506000610ee9565b6015546001600160a01b038581169116148015610e9a57506014546001600160a01b03848116911614155b15610eac57600854600c55600954600d555b6015546001600160a01b038481169116148015610ed757506014546001600160a01b03858116911614155b15610ee957600a54600c55600b54600d555b61083e8484848461116b565b60008184841115610f195760405162461bcd60e51b81526004016104a89190611624565b506000610f2684866118b1565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610f69573d6000803e3d6000fd5b5050565b6000600654821115610fd45760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016104a8565b6000610fde611199565b9050610fea83826111bc565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061103957611039611859565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611092573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b6919061183c565b816001815181106110c9576110c9611859565b6001600160a01b0392831660209182029290920101526014546110ef91309116846108a5565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906111289085906000908690309042906004016118c4565b600060405180830381600087803b15801561114257600080fd5b505af1158015611156573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611178576111786111fe565b61118384848461122c565b8061083e5761083e600e54600c55600f54600d55565b60008060006111a6611323565b90925090506111b582826111bc565b9250505090565b6000610fea83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611363565b600c5415801561120e5750600d54155b1561121557565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061123e87611391565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061127090876113ee565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461129f9086611430565b6001600160a01b0389166000908152600260205260409020556112c18161148f565b6112cb84836114d9565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161131091815260200190565b60405180910390a3505050505050505050565b60065460009081906706f05b59d3b2000061133e82826111bc565b82101561135a575050600654926706f05b59d3b2000092509050565b90939092509050565b600081836113845760405162461bcd60e51b81526004016104a89190611624565b506000610f268486611935565b60008060008060008060008060006113ae8a600c54600d546114fd565b92509250925060006113be611199565b905060008060006113d18e878787611552565b919e509c509a509598509396509194505050505091939550919395565b6000610fea83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ef5565b60008061143d838561189e565b905083811015610fea5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104a8565b6000611499611199565b905060006114a783836115a2565b306000908152600260205260409020549091506114c49082611430565b30600090815260026020526040902055505050565b6006546114e690836113ee565b6006556007546114f69082611430565b6007555050565b6000808080611517606461151189896115a2565b906111bc565b9050600061152a60646115118a896115a2565b905060006115428261153c8b866113ee565b906113ee565b9992985090965090945050505050565b600080808061156188866115a2565b9050600061156f88876115a2565b9050600061157d88886115a2565b9050600061158f8261153c86866113ee565b939b939a50919850919650505050505050565b6000826000036115b457506000610478565b60006115c08385611957565b9050826115cd8583611935565b14610fea5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104a8565b600060208083528351808285015260005b8181101561165157858101830151858201604001528201611635565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461077e57600080fd5b6000806040838503121561169a57600080fd5b82356116a581611672565b946020939093013593505050565b6000806000606084860312156116c857600080fd5b83356116d381611672565b925060208401356116e381611672565b929592945050506040919091013590565b6000806000806080858703121561170a57600080fd5b5050823594602084013594506040840135936060013592509050565b60006020828403121561173857600080fd5b8135610fea81611672565b60008060006040848603121561175857600080fd5b833567ffffffffffffffff8082111561177057600080fd5b818601915086601f83011261178457600080fd5b81358181111561179357600080fd5b8760208260051b85010111156117a857600080fd5b6020928301955093505084013580151581146117c357600080fd5b809150509250925092565b600080604083850312156117e157600080fd5b82356117ec81611672565b915060208301356117fc81611672565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561184e57600080fd5b8151610fea81611672565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016118975761189761186f565b5060010190565b808201808211156104785761047861186f565b818103818111156104785761047861186f565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119145784516001600160a01b0316835293830193918301916001016118ef565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261195257634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176104785761047861186f56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220ff56c7f572ba8aeaee7bbb209ca80fa8bdbfc9ece16c0f9048c33c1223830cf964736f6c63430008110033