0x6080604052620000196618de76816d800060001962000167565b62000027906000196200018a565b6006908155600060088190556004600955600a819055600b829055600c819055600d829055600e55600f556012805473d9aa412b5e5f146b6bb5d2aa36458dffc271342f6001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b17905566071afd498d00006016556618de76816d800060175564e8d4a51000601855348015620000cb57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360008181526002602090815260408083209490945592516618de76816d80008152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620001b0565b6000826200018557634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620001ab57634e487b7160e01b600052601160045260246000fd5b500390565b611ffa80620001c06000396000f3fe6080604052600436106101d15760003560e01c80637d1db4a5116100f7578063bfd7928411610095578063e21de9e311610064578063e21de9e31461056c578063ea1644d51461058c578063f2fde38b146105ac578063f60ad24d146105cc57600080fd5b8063bfd79284146104c1578063c3c8cd80146104f1578063d0987ff114610506578063dd62ed3e1461052657600080fd5b80638f9a55c0116100d15780638f9a55c01461043e57806395d89b411461045457806398a5c31514610481578063a9059cbb146104a157600080fd5b80637d1db4a5146103dd5780637f2feddc146103f35780638da5cb5b1461042057600080fd5b80632fd689e31161016f5780636fc3eaec1161013e5780636fc3eaec1461037357806370a0823114610388578063715018a6146103a857806374010ece146103bd57600080fd5b80632fd689e314610301578063313ce5671461031757806349bd5a5e146103335780636d8aa8f81461035357600080fd5b80631694505e116101ab5780631694505e1461027057806318160ddd146102a857806323b872dd146102cc578063293230b8146102ec57600080fd5b806306fdde03146101dd57806307c94abb1461021e578063095ea7b31461024057600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b5060408051808201909152600681526542616c75626160d01b60208201525b6040516102159190611b12565b60405180910390f35b34801561022a57600080fd5b5061023e610239366004611b7c565b6105ec565b005b34801561024c57600080fd5b5061026061025b366004611c20565b610696565b6040519015158152602001610215565b34801561027c57600080fd5b50601454610290906001600160a01b031681565b6040516001600160a01b039091168152602001610215565b3480156102b457600080fd5b506618de76816d80005b604051908152602001610215565b3480156102d857600080fd5b506102606102e7366004611c4c565b6106ad565b3480156102f857600080fd5b5061023e610716565b34801561030d57600080fd5b506102be60185481565b34801561032357600080fd5b5060405160098152602001610215565b34801561033f57600080fd5b50601554610290906001600160a01b031681565b34801561035f57600080fd5b5061023e61036e366004611c8d565b61091e565b34801561037f57600080fd5b5061023e610966565b34801561039457600080fd5b506102be6103a3366004611ca8565b6109b1565b3480156103b457600080fd5b5061023e6109d3565b3480156103c957600080fd5b5061023e6103d8366004611cc5565b610a47565b3480156103e957600080fd5b506102be60165481565b3480156103ff57600080fd5b506102be61040e366004611ca8565b60116020526000908152604090205481565b34801561042c57600080fd5b506000546001600160a01b0316610290565b34801561044a57600080fd5b506102be60175481565b34801561046057600080fd5b506040805180820190915260048152634c55424160e01b6020820152610208565b34801561048d57600080fd5b5061023e61049c366004611cc5565b610a76565b3480156104ad57600080fd5b506102606104bc366004611c20565b610aa5565b3480156104cd57600080fd5b506102606104dc366004611ca8565b60106020526000908152604090205460ff1681565b3480156104fd57600080fd5b5061023e610ab2565b34801561051257600080fd5b5061023e610521366004611cde565b610b06565b34801561053257600080fd5b506102be610541366004611d10565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561057857600080fd5b5061023e610587366004611ca8565b610b44565b34801561059857600080fd5b5061023e6105a7366004611cc5565b610b8f565b3480156105b857600080fd5b5061023e6105c7366004611ca8565b610bbe565b3480156105d857600080fd5b5061023e6105e7366004611d5f565b610ca8565b6000546001600160a01b0316331461061f5760405162461bcd60e51b815260040161061690611e24565b60405180910390fd5b60005b8281101561069057816005600086868581811061064157610641611e59565b90506020020160208101906106569190611ca8565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061068881611e85565b915050610622565b50505050565b60006106a3338484610d3e565b5060015b92915050565b60006106ba848484610e62565b61070c843361070785604051806060016040528060288152602001611f9d602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906113e9565b610d3e565b5060019392505050565b6000546001600160a01b031633146107405760405162461bcd60e51b815260040161061690611e24565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa1580156107a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c99190611e9e565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083a9190611e9e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190611e9e565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff199081166001908117909255308452828420805482168317905560125485168452828420805482168317905560135490941683529120805490921617905550565b6000546001600160a01b031633146109485760405162461bcd60e51b815260040161061690611e24565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061099b57506013546001600160a01b0316336001600160a01b0316145b6109a457600080fd5b476109ae81611423565b50565b6001600160a01b0381166000908152600260205260408120546106a79061145d565b6000546001600160a01b031633146109fd5760405162461bcd60e51b815260040161061690611e24565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b03163314610a715760405162461bcd60e51b815260040161061690611e24565b601655565b6000546001600160a01b03163314610aa05760405162461bcd60e51b815260040161061690611e24565b601855565b60006106a3338484610e62565b6012546001600160a01b0316336001600160a01b03161480610ae757506013546001600160a01b0316336001600160a01b0316145b610af057600080fd5b6000610afb306109b1565b90506109ae816114e1565b6000546001600160a01b03163314610b305760405162461bcd60e51b815260040161061690611e24565b600893909355600a91909155600955600b55565b6000546001600160a01b03163314610b6e5760405162461bcd60e51b815260040161061690611e24565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b03163314610bb95760405162461bcd60e51b815260040161061690611e24565b601755565b6000546001600160a01b03163314610be85760405162461bcd60e51b815260040161061690611e24565b6001600160a01b038116610c4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610616565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610cd25760405162461bcd60e51b815260040161061690611e24565b60005b8151811015610d3a57600160106000848481518110610cf657610cf6611e59565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d3281611e85565b915050610cd5565b5050565b6001600160a01b038316610da05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610616565b6001600160a01b038216610e015760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610616565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ec65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610616565b6001600160a01b038216610f285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610616565b60008111610f8a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610616565b6001600160a01b03831660009081526010602052604090205460ff16158015610fcc57506001600160a01b03821660009081526010602052604090205460ff16155b610fd557600080fd5b6000546001600160a01b0384811691161480159061100157506000546001600160a01b03838116911614155b156112e257601554600160a01b900460ff1661109a576000546001600160a01b0384811691161461109a5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610616565b6016548111156110ec5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610616565b6001600160a01b03831660009081526010602052604090205460ff1615801561112e57506001600160a01b03821660009081526010602052604090205460ff16155b6111865760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610616565b6015546001600160a01b0383811691161461120b57601754816111a8846109b1565b6111b29190611ebb565b1061120b5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610616565b6000611216306109b1565b60185460165491925082101590821061122f5760165491505b8080156112465750601554600160a81b900460ff16155b801561126057506015546001600160a01b03868116911614155b80156112755750601554600160b01b900460ff165b801561129a57506001600160a01b03851660009081526005602052604090205460ff16155b80156112bf57506001600160a01b03841660009081526005602052604090205460ff16155b156112df576112cd826114e1565b4780156112dd576112dd47611423565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061132457506001600160a01b03831660009081526005602052604090205460ff165b8061135657506015546001600160a01b0385811691161480159061135657506015546001600160a01b03848116911614155b15611363575060006113dd565b6015546001600160a01b03858116911614801561138e57506014546001600160a01b03848116911614155b156113a057600854600c55600954600d555b6015546001600160a01b0384811691161480156113cb57506014546001600160a01b03858116911614155b156113dd57600a54600c55600b54600d555b6106908484848461165b565b6000818484111561140d5760405162461bcd60e51b81526004016106169190611b12565b50600061141a8486611ed3565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610d3a573d6000803e3d6000fd5b60006006548211156114c45760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610616565b60006114ce611689565b90506114da83826116ac565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061152957611529611e59565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a69190611e9e565b816001815181106115b9576115b9611e59565b6001600160a01b0392831660209182029290920101526014546115df9130911684610d3e565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611618908590600090869030904290600401611eea565b600060405180830381600087803b15801561163257600080fd5b505af1158015611646573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611668576116686116ee565b61167384848461171c565b8061069057610690600e54600c55600f54600d55565b6000806000611696611813565b90925090506116a582826116ac565b9250505090565b60006114da83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611851565b600c541580156116fe5750600d54155b1561170557565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061172e8761187f565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061176090876118dc565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461178f908661191e565b6001600160a01b0389166000908152600260205260409020556117b18161197d565b6117bb84836119c7565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161180091815260200190565b60405180910390a3505050505050505050565b60065460009081906618de76816d800061182d82826116ac565b821015611848575050600654926618de76816d800092509050565b90939092509050565b600081836118725760405162461bcd60e51b81526004016106169190611b12565b50600061141a8486611f5b565b600080600080600080600080600061189c8a600c54600d546119eb565b92509250925060006118ac611689565b905060008060006118bf8e878787611a40565b919e509c509a509598509396509194505050505091939550919395565b60006114da83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113e9565b60008061192b8385611ebb565b9050838110156114da5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610616565b6000611987611689565b905060006119958383611a90565b306000908152600260205260409020549091506119b2908261191e565b30600090815260026020526040902055505050565b6006546119d490836118dc565b6006556007546119e4908261191e565b6007555050565b6000808080611a0560646119ff8989611a90565b906116ac565b90506000611a1860646119ff8a89611a90565b90506000611a3082611a2a8b866118dc565b906118dc565b9992985090965090945050505050565b6000808080611a4f8886611a90565b90506000611a5d8887611a90565b90506000611a6b8888611a90565b90506000611a7d82611a2a86866118dc565b939b939a50919850919650505050505050565b600082600003611aa2575060006106a7565b6000611aae8385611f7d565b905082611abb8583611f5b565b146114da5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610616565b600060208083528351808285015260005b81811015611b3f57858101830151858201604001528201611b23565b81811115611b51576000604083870101525b50601f01601f1916929092016040019392505050565b80358015158114611b7757600080fd5b919050565b600080600060408486031215611b9157600080fd5b833567ffffffffffffffff80821115611ba957600080fd5b818601915086601f830112611bbd57600080fd5b813581811115611bcc57600080fd5b8760208260051b8501011115611be157600080fd5b602092830195509350611bf79186019050611b67565b90509250925092565b6001600160a01b03811681146109ae57600080fd5b8035611b7781611c00565b60008060408385031215611c3357600080fd5b8235611c3e81611c00565b946020939093013593505050565b600080600060608486031215611c6157600080fd5b8335611c6c81611c00565b92506020840135611c7c81611c00565b929592945050506040919091013590565b600060208284031215611c9f57600080fd5b6114da82611b67565b600060208284031215611cba57600080fd5b81356114da81611c00565b600060208284031215611cd757600080fd5b5035919050565b60008060008060808587031215611cf457600080fd5b5050823594602084013594506040840135936060013592509050565b60008060408385031215611d2357600080fd5b8235611d2e81611c00565b91506020830135611d3e81611c00565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215611d7257600080fd5b823567ffffffffffffffff80821115611d8a57600080fd5b818501915085601f830112611d9e57600080fd5b813581811115611db057611db0611d49565b8060051b604051601f19603f83011681018181108582111715611dd557611dd5611d49565b604052918252848201925083810185019188831115611df357600080fd5b938501935b82851015611e1857611e0985611c15565b84529385019392850192611df8565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611e9757611e97611e6f565b5060010190565b600060208284031215611eb057600080fd5b81516114da81611c00565b60008219821115611ece57611ece611e6f565b500190565b600082821015611ee557611ee5611e6f565b500390565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f3a5784516001600160a01b031683529383019391830191600101611f15565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611f7857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611f9757611f97611e6f565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220543622ef22ae8a896e16e3522e392d0e89ad95cec09bd9b878b43a9ead7b20fd64736f6c634300080f0033