60806040526200001c69021e19e0c9bab240000060001962000350565b6200002a9060001962000373565b60065560006008819055601e600955600a8190556028600b819055600c829055600d819055600e91909155600f55601280546001600160a01b0319908116339081179092556013805490911690911790556015805462ffffff60a01b1916600160b01b17905568056bc75e2d6310000060168190556017819055601855348015620000b457600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000172573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000198919062000399565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020c919062000399565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000280919062000399565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef69021e19e0c9bab24000006040516200034191815260200190565b60405180910390a350620003cb565b6000826200036e57634e487b7160e01b600052601260045260246000fd5b500690565b6000828210156200039457634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003ac57600080fd5b81516001600160a01b0381168114620003c457600080fd5b9392505050565b611e0780620003db6000396000f3fe6080604052600436106101d15760003560e01c80637f2feddc116100f7578063a9059cbb11610095578063c492f04611610064578063c492f04614610558578063dd62ed3e14610578578063ea1644d5146105be578063f2fde38b146105de57600080fd5b8063a9059cbb146104d3578063bba4de00146104f3578063bfd7928414610513578063c3c8cd801461054357600080fd5b80638f9a55c0116100d15780638f9a55c01461044f57806395d89b411461046557806398a5c31514610493578063a2a957bb146104b357600080fd5b80637f2feddc146103e45780638da5cb5b146104115780638f70ccf71461042f57600080fd5b806349bd5a5e1161016f57806370a082311161013e57806370a0823114610379578063715018a61461039957806374010ece146103ae5780637d1db4a5146103ce57600080fd5b806349bd5a5e1461030257806369b33c6e146103225780636d8aa8f8146103445780636fc3eaec1461036457600080fd5b806318160ddd116101ab57806318160ddd1461028957806323b872dd146102b05780632fd689e3146102d0578063313ce567146102e657600080fd5b806306fdde03146101dd578063095ea7b3146102215780631694505e1461025157600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506040805180820190915260098152682137b932b2102232bb60b91b60208201525b604051610218919061191f565b60405180910390f35b34801561022d57600080fd5b5061024161023c366004611999565b6105fe565b6040519015158152602001610218565b34801561025d57600080fd5b50601454610271906001600160a01b031681565b6040516001600160a01b039091168152602001610218565b34801561029557600080fd5b5069021e19e0c9bab24000005b604051908152602001610218565b3480156102bc57600080fd5b506102416102cb3660046119c5565b610615565b3480156102dc57600080fd5b506102a260185481565b3480156102f257600080fd5b5060405160098152602001610218565b34801561030e57600080fd5b50601554610271906001600160a01b031681565b34801561032e57600080fd5b5061034261033d366004611a06565b61067e565b005b34801561035057600080fd5b5061034261035f366004611a33565b6106d2565b34801561037057600080fd5b5061034261071a565b34801561038557600080fd5b506102a2610394366004611a06565b610765565b3480156103a557600080fd5b50610342610787565b3480156103ba57600080fd5b506103426103c9366004611a4e565b6107fb565b3480156103da57600080fd5b506102a260165481565b3480156103f057600080fd5b506102a26103ff366004611a06565b60116020526000908152604090205481565b34801561041d57600080fd5b506000546001600160a01b0316610271565b34801561043b57600080fd5b5061034261044a366004611a33565b61082a565b34801561045b57600080fd5b506102a260175481565b34801561047157600080fd5b506040805180820190915260058152641093d4915160da1b602082015261020b565b34801561049f57600080fd5b506103426104ae366004611a4e565b610872565b3480156104bf57600080fd5b506103426104ce366004611a67565b6108a1565b3480156104df57600080fd5b506102416104ee366004611999565b6108df565b3480156104ff57600080fd5b5061034261050e366004611aaf565b6108ec565b34801561051f57600080fd5b5061024161052e366004611a06565b60106020526000908152604090205460ff1681565b34801561054f57600080fd5b50610342610982565b34801561056457600080fd5b50610342610573366004611b74565b6109d6565b34801561058457600080fd5b506102a2610593366004611bf8565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105ca57600080fd5b506103426105d9366004611a4e565b610a77565b3480156105ea57600080fd5b506103426105f9366004611a06565b610aa6565b600061060b338484610b90565b5060015b92915050565b6000610622848484610cb4565b610674843361066f85604051806060016040528060288152602001611daa602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111f0565b610b90565b5060019392505050565b6000546001600160a01b031633146106b15760405162461bcd60e51b81526004016106a890611c31565b60405180910390fd5b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146106fc5760405162461bcd60e51b81526004016106a890611c31565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061074f57506013546001600160a01b0316336001600160a01b0316145b61075857600080fd5b476107628161122a565b50565b6001600160a01b03811660009081526002602052604081205461060f90611264565b6000546001600160a01b031633146107b15760405162461bcd60e51b81526004016106a890611c31565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108255760405162461bcd60e51b81526004016106a890611c31565b601655565b6000546001600160a01b031633146108545760405162461bcd60e51b81526004016106a890611c31565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461089c5760405162461bcd60e51b81526004016106a890611c31565b601855565b6000546001600160a01b031633146108cb5760405162461bcd60e51b81526004016106a890611c31565b600893909355600a91909155600955600b55565b600061060b338484610cb4565b6000546001600160a01b031633146109165760405162461bcd60e51b81526004016106a890611c31565b60005b815181101561097e5760016010600084848151811061093a5761093a611c66565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061097681611c92565b915050610919565b5050565b6012546001600160a01b0316336001600160a01b031614806109b757506013546001600160a01b0316336001600160a01b0316145b6109c057600080fd5b60006109cb30610765565b9050610762816112e8565b6000546001600160a01b03163314610a005760405162461bcd60e51b81526004016106a890611c31565b60005b82811015610a71578160056000868685818110610a2257610a22611c66565b9050602002016020810190610a379190611a06565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a6981611c92565b915050610a03565b50505050565b6000546001600160a01b03163314610aa15760405162461bcd60e51b81526004016106a890611c31565b601755565b6000546001600160a01b03163314610ad05760405162461bcd60e51b81526004016106a890611c31565b6001600160a01b038116610b355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a8565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bf25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106a8565b6001600160a01b038216610c535760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106a8565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d185760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106a8565b6001600160a01b038216610d7a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106a8565b60008111610ddc5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106a8565b6000546001600160a01b03848116911614801590610e0857506000546001600160a01b03838116911614155b156110e957601554600160a01b900460ff16610ea1576000546001600160a01b03848116911614610ea15760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106a8565b601654811115610ef35760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106a8565b6001600160a01b03831660009081526010602052604090205460ff16158015610f3557506001600160a01b03821660009081526010602052604090205460ff16155b610f8d5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106a8565b6015546001600160a01b038381169116146110125760175481610faf84610765565b610fb99190611cab565b106110125760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106a8565b600061101d30610765565b6018546016549192508210159082106110365760165491505b80801561104d5750601554600160a81b900460ff16155b801561106757506015546001600160a01b03868116911614155b801561107c5750601554600160b01b900460ff165b80156110a157506001600160a01b03851660009081526005602052604090205460ff16155b80156110c657506001600160a01b03841660009081526005602052604090205460ff16155b156110e6576110d4826112e8565b4780156110e4576110e44761122a565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061112b57506001600160a01b03831660009081526005602052604090205460ff165b8061115d57506015546001600160a01b0385811691161480159061115d57506015546001600160a01b03848116911614155b1561116a575060006111e4565b6015546001600160a01b03858116911614801561119557506014546001600160a01b03848116911614155b156111a757600854600c55600954600d555b6015546001600160a01b0384811691161480156111d257506014546001600160a01b03858116911614155b156111e457600a54600c55600b54600d555b610a7184848484611462565b600081848411156112145760405162461bcd60e51b81526004016106a8919061191f565b5060006112218486611cc3565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561097e573d6000803e3d6000fd5b60006006548211156112cb5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106a8565b60006112d5611490565b90506112e183826114b3565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061133057611330611c66565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611389573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ad9190611cda565b816001815181106113c0576113c0611c66565b6001600160a01b0392831660209182029290920101526014546113e69130911684610b90565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061141f908590600090869030904290600401611cf7565b600060405180830381600087803b15801561143957600080fd5b505af115801561144d573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b8061146f5761146f6114f5565b61147a848484611523565b80610a7157610a71600e54600c55600f54600d55565b600080600061149d61161a565b90925090506114ac82826114b3565b9250505090565b60006112e183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061165e565b600c541580156115055750600d54155b1561150c57565b600c8054600e55600d8054600f5560009182905555565b6000806000806000806115358761168c565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061156790876116e9565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054611596908661172b565b6001600160a01b0389166000908152600260205260409020556115b88161178a565b6115c284836117d4565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161160791815260200190565b60405180910390a3505050505050505050565b600654600090819069021e19e0c9bab240000061163782826114b3565b8210156116555750506006549269021e19e0c9bab240000092509050565b90939092509050565b6000818361167f5760405162461bcd60e51b81526004016106a8919061191f565b5060006112218486611d68565b60008060008060008060008060006116a98a600c54600d546117f8565b92509250925060006116b9611490565b905060008060006116cc8e87878761184d565b919e509c509a509598509396509194505050505091939550919395565b60006112e183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111f0565b6000806117388385611cab565b9050838110156112e15760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106a8565b6000611794611490565b905060006117a2838361189d565b306000908152600260205260409020549091506117bf908261172b565b30600090815260026020526040902055505050565b6006546117e190836116e9565b6006556007546117f1908261172b565b6007555050565b6000808080611812606461180c898961189d565b906114b3565b90506000611825606461180c8a8961189d565b9050600061183d826118378b866116e9565b906116e9565b9992985090965090945050505050565b600080808061185c888661189d565b9050600061186a888761189d565b90506000611878888861189d565b9050600061188a8261183786866116e9565b939b939a50919850919650505050505050565b6000826000036118af5750600061060f565b60006118bb8385611d8a565b9050826118c88583611d68565b146112e15760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106a8565b600060208083528351808285015260005b8181101561194c57858101830151858201604001528201611930565b8181111561195e576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461076257600080fd5b803561199481611974565b919050565b600080604083850312156119ac57600080fd5b82356119b781611974565b946020939093013593505050565b6000806000606084860312156119da57600080fd5b83356119e581611974565b925060208401356119f581611974565b929592945050506040919091013590565b600060208284031215611a1857600080fd5b81356112e181611974565b8035801515811461199457600080fd5b600060208284031215611a4557600080fd5b6112e182611a23565b600060208284031215611a6057600080fd5b5035919050565b60008060008060808587031215611a7d57600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611ac257600080fd5b823567ffffffffffffffff80821115611ada57600080fd5b818501915085601f830112611aee57600080fd5b813581811115611b0057611b00611a99565b8060051b604051601f19603f83011681018181108582111715611b2557611b25611a99565b604052918252848201925083810185019188831115611b4357600080fd5b938501935b82851015611b6857611b5985611989565b84529385019392850192611b48565b98975050505050505050565b600080600060408486031215611b8957600080fd5b833567ffffffffffffffff80821115611ba157600080fd5b818601915086601f830112611bb557600080fd5b813581811115611bc457600080fd5b8760208260051b8501011115611bd957600080fd5b602092830195509350611bef9186019050611a23565b90509250925092565b60008060408385031215611c0b57600080fd5b8235611c1681611974565b91506020830135611c2681611974565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611ca457611ca4611c7c565b5060010190565b60008219821115611cbe57611cbe611c7c565b500190565b600082821015611cd557611cd5611c7c565b500390565b600060208284031215611cec57600080fd5b81516112e181611974565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d475784516001600160a01b031683529383019391830191600101611d22565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d8557634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611da457611da4611c7c565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212201c8cc190ebbe84ca2cbb8abb3597f59d8660adb18df36836d0fb8acbe47e259564736f6c634300080f0033