60806040526200001966038d7ea4c6800060001962000362565b620000279060001962000385565b60065560006008819055600c6009819055600a8290556018600b81905590829055600d819055600e91909155600f819055601280546001600160a01b031990811673b7747f4accba99ad57944b80ba15c1cfde19eae79081179092556013805490911690911790556015805462ffffff60a01b1916600160b01b1790556512309ce5400060168190556017556509184e72a0009055348015620000c957600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000187573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ad9190620003ad565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002219190620003ad565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002959190620003ad565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200035391815260200190565b60405180910390a350620003df565b6000826200038057634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003a757634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003c057600080fd5b81516001600160a01b0381168114620003d857600080fd5b9392505050565b611cd480620003ef6000396000f3fe6080604052600436106101bb5760003560e01c80637f2feddc116100ec578063a9059cbb1161008a578063c492f04611610064578063c492f046146104fd578063dd62ed3e1461051d578063ea1644d514610563578063f2fde38b1461058357600080fd5b8063a9059cbb14610498578063bfd79284146104b8578063c3c8cd80146104e857600080fd5b80638f9a55c0116100c65780638f9a55c01461041757806395d89b411461042d57806398a5c31514610458578063a2a957bb1461047857600080fd5b80637f2feddc146103ac5780638da5cb5b146103d95780638f70ccf7146103f757600080fd5b806349bd5a5e1161015957806370a082311161013357806370a0823114610341578063715018a61461036157806374010ece146103765780637d1db4a51461039657600080fd5b806349bd5a5e146102ea5780636d8aa8f81461030a5780636fc3eaec1461032c57600080fd5b806318160ddd1161019557806318160ddd1461027457806323b872dd146102985780632fd689e3146102b8578063313ce567146102ce57600080fd5b806306fdde03146101c7578063095ea7b31461020c5780631694505e1461023c57600080fd5b366101c257005b600080fd5b3480156101d357600080fd5b5060408051808201909152600a81526920b734b6b29021b7b4b760b11b60208201525b60405161020391906118e2565b60405180910390f35b34801561021857600080fd5b5061022c610227366004611945565b6105a3565b6040519015158152602001610203565b34801561024857600080fd5b5060145461025c906001600160a01b031681565b6040516001600160a01b039091168152602001610203565b34801561028057600080fd5b5066038d7ea4c680005b604051908152602001610203565b3480156102a457600080fd5b5061022c6102b3366004611971565b6105ba565b3480156102c457600080fd5b5061028a60185481565b3480156102da57600080fd5b5060405160098152602001610203565b3480156102f657600080fd5b5060155461025c906001600160a01b031681565b34801561031657600080fd5b5061032a6103253660046119c7565b610623565b005b34801561033857600080fd5b5061032a610674565b34801561034d57600080fd5b5061028a61035c3660046119e2565b6106bf565b34801561036d57600080fd5b5061032a6106e1565b34801561038257600080fd5b5061032a6103913660046119ff565b610755565b3480156103a257600080fd5b5061028a60165481565b3480156103b857600080fd5b5061028a6103c73660046119e2565b60116020526000908152604090205481565b3480156103e557600080fd5b506000546001600160a01b031661025c565b34801561040357600080fd5b5061032a6104123660046119c7565b610807565b34801561042357600080fd5b5061028a60175481565b34801561043957600080fd5b50604080518082019091526002815261414360f01b60208201526101f6565b34801561046457600080fd5b5061032a6104733660046119ff565b61084f565b34801561048457600080fd5b5061032a610493366004611a18565b61087e565b3480156104a457600080fd5b5061022c6104b3366004611945565b6108bc565b3480156104c457600080fd5b5061022c6104d33660046119e2565b60106020526000908152604090205460ff1681565b3480156104f457600080fd5b5061032a6108c9565b34801561050957600080fd5b5061032a610518366004611a4a565b61091d565b34801561052957600080fd5b5061028a610538366004611ace565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561056f57600080fd5b5061032a61057e3660046119ff565b6109be565b34801561058f57600080fd5b5061032a61059e3660046119e2565b610a6b565b60006105b0338484610b55565b5060015b92915050565b60006105c7848484610c79565b610619843361061485604051806060016040528060288152602001611c77602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111b5565b610b55565b5060019392505050565b6000546001600160a01b031633146106565760405162461bcd60e51b815260040161064d90611b07565b60405180910390fd5b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806106a957506013546001600160a01b0316336001600160a01b0316145b6106b257600080fd5b476106bc816111ef565b50565b6001600160a01b0381166000908152600260205260408120546105b49061122d565b6000546001600160a01b0316331461070b5760405162461bcd60e51b815260040161064d90611b07565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461077f5760405162461bcd60e51b815260040161064d90611b07565b606461079366038d7ea4c680006001611b52565b61079d9190611b71565b8110156108025760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526c6c6f776572207468616e20312560981b606482015260840161064d565b601655565b6000546001600160a01b031633146108315760405162461bcd60e51b815260040161064d90611b07565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146108795760405162461bcd60e51b815260040161064d90611b07565b601855565b6000546001600160a01b031633146108a85760405162461bcd60e51b815260040161064d90611b07565b600893909355600a91909155600955600b55565b60006105b0338484610c79565b6012546001600160a01b0316336001600160a01b031614806108fe57506013546001600160a01b0316336001600160a01b0316145b61090757600080fd5b6000610912306106bf565b90506106bc816112b1565b6000546001600160a01b031633146109475760405162461bcd60e51b815260040161064d90611b07565b60005b828110156109b857816005600086868581811061096957610969611b93565b905060200201602081019061097e91906119e2565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806109b081611ba9565b91505061094a565b50505050565b6000546001600160a01b031633146109e85760405162461bcd60e51b815260040161064d90611b07565b60646109fc66038d7ea4c680006001611b52565b610a069190611b71565b811015610a665760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f7420736574206d617857616c6c6574416d6f756e74206c6f776572604482015267207468616e20312560c01b606482015260840161064d565b601755565b6000546001600160a01b03163314610a955760405162461bcd60e51b815260040161064d90611b07565b6001600160a01b038116610afa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161064d565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bb75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161064d565b6001600160a01b038216610c185760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161064d565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610cdd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161064d565b6001600160a01b038216610d3f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161064d565b60008111610da15760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161064d565b6000546001600160a01b03848116911614801590610dcd57506000546001600160a01b03838116911614155b156110ae57601554600160a01b900460ff16610e66576000546001600160a01b03848116911614610e665760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161064d565b601654811115610eb85760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161064d565b6001600160a01b03831660009081526010602052604090205460ff16158015610efa57506001600160a01b03821660009081526010602052604090205460ff16155b610f525760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161064d565b6015546001600160a01b03838116911614610fd75760175481610f74846106bf565b610f7e9190611bc2565b10610fd75760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161064d565b6000610fe2306106bf565b601854601654919250821015908210610ffb5760165491505b8080156110125750601554600160a81b900460ff16155b801561102c57506015546001600160a01b03868116911614155b80156110415750601554600160b01b900460ff165b801561106657506001600160a01b03851660009081526005602052604090205460ff16155b801561108b57506001600160a01b03841660009081526005602052604090205460ff16155b156110ab57611099826112b1565b4780156110a9576110a9476111ef565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff16806110f057506001600160a01b03831660009081526005602052604090205460ff165b8061112257506015546001600160a01b0385811691161480159061112257506015546001600160a01b03848116911614155b1561112f575060006111a9565b6015546001600160a01b03858116911614801561115a57506014546001600160a01b03848116911614155b1561116c57600854600c55600954600d555b6015546001600160a01b03848116911614801561119757506014546001600160a01b03858116911614155b156111a957600a54600c55600b54600d555b6109b88484848461142b565b600081848411156111d95760405162461bcd60e51b815260040161064d91906118e2565b5060006111e68486611bd5565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611229573d6000803e3d6000fd5b5050565b60006006548211156112945760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161064d565b600061129e611459565b90506112aa838261147c565b9392505050565b6015805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106112f9576112f9611b93565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611352573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113769190611be8565b8160018151811061138957611389611b93565b6001600160a01b0392831660209182029290920101526014546113af9130911684610b55565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac947906113e8908590600090869030904290600401611c05565b600060405180830381600087803b15801561140257600080fd5b505af1158015611416573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611438576114386114be565b6114438484846114ec565b806109b8576109b8600e54600c55600f54600d55565b60008060006114666115e3565b9092509050611475828261147c565b9250505090565b60006112aa83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611621565b600c541580156114ce5750600d54155b156114d557565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806114fe8761164f565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061153090876116ac565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461155f90866116ee565b6001600160a01b0389166000908152600260205260409020556115818161174d565b61158b8483611797565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516115d091815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c680006115fd828261147c565b8210156116185750506006549266038d7ea4c6800092509050565b90939092509050565b600081836116425760405162461bcd60e51b815260040161064d91906118e2565b5060006111e68486611b71565b600080600080600080600080600061166c8a600c54600d546117bb565b925092509250600061167c611459565b9050600080600061168f8e878787611810565b919e509c509a509598509396509194505050505091939550919395565b60006112aa83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111b5565b6000806116fb8385611bc2565b9050838110156112aa5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161064d565b6000611757611459565b905060006117658383611860565b3060009081526002602052604090205490915061178290826116ee565b30600090815260026020526040902055505050565b6006546117a490836116ac565b6006556007546117b490826116ee565b6007555050565b60008080806117d560646117cf8989611860565b9061147c565b905060006117e860646117cf8a89611860565b90506000611800826117fa8b866116ac565b906116ac565b9992985090965090945050505050565b600080808061181f8886611860565b9050600061182d8887611860565b9050600061183b8888611860565b9050600061184d826117fa86866116ac565b939b939a50919850919650505050505050565b600082600003611872575060006105b4565b600061187e8385611b52565b90508261188b8583611b71565b146112aa5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161064d565b600060208083528351808285015260005b8181101561190f578581018301518582016040015282016118f3565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146106bc57600080fd5b6000806040838503121561195857600080fd5b823561196381611930565b946020939093013593505050565b60008060006060848603121561198657600080fd5b833561199181611930565b925060208401356119a181611930565b929592945050506040919091013590565b803580151581146119c257600080fd5b919050565b6000602082840312156119d957600080fd5b6112aa826119b2565b6000602082840312156119f457600080fd5b81356112aa81611930565b600060208284031215611a1157600080fd5b5035919050565b60008060008060808587031215611a2e57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611a5f57600080fd5b833567ffffffffffffffff80821115611a7757600080fd5b818601915086601f830112611a8b57600080fd5b813581811115611a9a57600080fd5b8760208260051b8501011115611aaf57600080fd5b602092830195509350611ac591860190506119b2565b90509250925092565b60008060408385031215611ae157600080fd5b8235611aec81611930565b91506020830135611afc81611930565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611b6c57611b6c611b3c565b500290565b600082611b8e57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201611bbb57611bbb611b3c565b5060010190565b808201808211156105b4576105b4611b3c565b818103818111156105b4576105b4611b3c565b600060208284031215611bfa57600080fd5b81516112aa81611930565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611c555784516001600160a01b031683529383019391830191600101611c30565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220bf4e8992d221582f08b5bc32b19e43e21340571a49c1cca5f1785adb2943e9b164736f6c63430008100033