60806040526200001a67016345785d8a000060001962000362565b620000289060001962000385565b60065560006008819055601e600955600a8190556028600b819055600c829055600d819055600e91909155600f55601380546001600160a01b031990811673188072fae42d867baa76a3a7ca1e8c450ece9ea29081179092556014805490911690911790556016805461ffff60a81b1916600160b01b17905566071afd498d00006017819055601855652d79883d2000601955348015620000c857600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000186573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ac9190620003ab565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002209190620003ab565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200026e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002949190620003ab565b601680546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601354851684528284208054821683179055601454909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef67016345785d8a00006040516200035391815260200190565b60405180910390a350620003dd565b6000826200038057634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620003a657634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003be57600080fd5b81516001600160a01b0381168114620003d657600080fd5b9392505050565b61207980620003ed6000396000f3fe6080604052600436106101f15760003560e01c80637d1db4a51161010d578063a9059cbb116100a0578063c3c8cd801161006f578063c3c8cd80146105d2578063c492f046146105e7578063dd62ed3e14610607578063ea1644d51461064d578063f2fde38b1461066d57600080fd5b8063a9059cbb14610532578063b5a6522314610552578063bdd795ef14610572578063bfd79284146105a257600080fd5b80638f9a55c0116100dc5780638f9a55c0146104af57806395d89b41146104c557806398a5c315146104f2578063a2a957bb1461051257600080fd5b80637d1db4a51461042e5780637f2feddc146104445780638da5cb5b146104715780638f70ccf71461048f57600080fd5b806349bd5a5e116101855780636fc3eaec116101545780636fc3eaec146103c457806370a08231146103d9578063715018a6146103f957806374010ece1461040e57600080fd5b806349bd5a5e1461034457806367aadb7e146103645780636b999053146103845780636d8aa8f8146103a457600080fd5b806318160ddd116101c157806318160ddd146102cd57806323b872dd146102f25780632fd689e314610312578063313ce5671461032857600080fd5b8062b8cf2a146101fd57806306fdde031461021f578063095ea7b3146102655780631694505e1461029557600080fd5b366101f857005b600080fd5b34801561020957600080fd5b5061021d610218366004611b6e565b61068d565b005b34801561022b57600080fd5b5060408051808201909152600b81526a436f736d6963205065706560a81b60208201525b60405161025c9190611c33565b60405180910390f35b34801561027157600080fd5b50610285610280366004611c88565b61072c565b604051901515815260200161025c565b3480156102a157600080fd5b506015546102b5906001600160a01b031681565b6040516001600160a01b03909116815260200161025c565b3480156102d957600080fd5b5067016345785d8a00005b60405190815260200161025c565b3480156102fe57600080fd5b5061028561030d366004611cb4565b610743565b34801561031e57600080fd5b506102e460195481565b34801561033457600080fd5b506040516009815260200161025c565b34801561035057600080fd5b506016546102b5906001600160a01b031681565b34801561037057600080fd5b5061021d61037f366004611d41565b6107ac565b34801561039057600080fd5b5061021d61039f366004611d83565b610844565b3480156103b057600080fd5b5061021d6103bf366004611db0565b61088f565b3480156103d057600080fd5b5061021d6108d7565b3480156103e557600080fd5b506102e46103f4366004611d83565b610922565b34801561040557600080fd5b5061021d610944565b34801561041a57600080fd5b5061021d610429366004611dcb565b6109b8565b34801561043a57600080fd5b506102e460175481565b34801561045057600080fd5b506102e461045f366004611d83565b60116020526000908152604090205481565b34801561047d57600080fd5b506000546001600160a01b03166102b5565b34801561049b57600080fd5b5061021d6104aa366004611db0565b6109e7565b3480156104bb57600080fd5b506102e460185481565b3480156104d157600080fd5b50604080518082019091526004815263434f504560e01b602082015261024f565b3480156104fe57600080fd5b5061021d61050d366004611dcb565b610a2f565b34801561051e57600080fd5b5061021d61052d366004611de4565b610a5e565b34801561053e57600080fd5b5061028561054d366004611c88565b610a9c565b34801561055e57600080fd5b5061021d61056d366004611d41565b610aa9565b34801561057e57600080fd5b5061028561058d366004611d83565b60126020526000908152604090205460ff1681565b3480156105ae57600080fd5b506102856105bd366004611d83565b60106020526000908152604090205460ff1681565b3480156105de57600080fd5b5061021d610b45565b3480156105f357600080fd5b5061021d610602366004611e16565b610b99565b34801561061357600080fd5b506102e4610622366004611e6a565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561065957600080fd5b5061021d610668366004611dcb565b610c3a565b34801561067957600080fd5b5061021d610688366004611d83565b610c69565b6000546001600160a01b031633146106c05760405162461bcd60e51b81526004016106b790611ea3565b60405180910390fd5b60005b8151811015610728576001601060008484815181106106e4576106e4611ed8565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061072081611f04565b9150506106c3565b5050565b6000610739338484610d53565b5060015b92915050565b6000610750848484610e77565b6107a2843361079d8560405180606001604052806028815260200161201c602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611408565b610d53565b5060019392505050565b6000546001600160a01b031633146107d65760405162461bcd60e51b81526004016106b790611ea3565b60005b8181101561083f57601260008484848181106107f7576107f7611ed8565b905060200201602081019061080c9190611d83565b6001600160a01b031681526020810191909152604001600020805460ff191690558061083781611f04565b9150506107d9565b505050565b6000546001600160a01b0316331461086e5760405162461bcd60e51b81526004016106b790611ea3565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146108b95760405162461bcd60e51b81526004016106b790611ea3565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6013546001600160a01b0316336001600160a01b0316148061090c57506014546001600160a01b0316336001600160a01b0316145b61091557600080fd5b4761091f81611442565b50565b6001600160a01b03811660009081526002602052604081205461073d9061147c565b6000546001600160a01b0316331461096e5760405162461bcd60e51b81526004016106b790611ea3565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146109e25760405162461bcd60e51b81526004016106b790611ea3565b601755565b6000546001600160a01b03163314610a115760405162461bcd60e51b81526004016106b790611ea3565b60168054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314610a595760405162461bcd60e51b81526004016106b790611ea3565b601955565b6000546001600160a01b03163314610a885760405162461bcd60e51b81526004016106b790611ea3565b600893909355600a91909155600955600b55565b6000610739338484610e77565b6000546001600160a01b03163314610ad35760405162461bcd60e51b81526004016106b790611ea3565b60005b8181101561083f57600160126000858585818110610af657610af6611ed8565b9050602002016020810190610b0b9190611d83565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610b3d81611f04565b915050610ad6565b6013546001600160a01b0316336001600160a01b03161480610b7a57506014546001600160a01b0316336001600160a01b0316145b610b8357600080fd5b6000610b8e30610922565b905061091f81611500565b6000546001600160a01b03163314610bc35760405162461bcd60e51b81526004016106b790611ea3565b60005b82811015610c34578160056000868685818110610be557610be5611ed8565b9050602002016020810190610bfa9190611d83565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c2c81611f04565b915050610bc6565b50505050565b6000546001600160a01b03163314610c645760405162461bcd60e51b81526004016106b790611ea3565b601855565b6000546001600160a01b03163314610c935760405162461bcd60e51b81526004016106b790611ea3565b6001600160a01b038116610cf85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b7565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610db55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106b7565b6001600160a01b038216610e165760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106b7565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610edb5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106b7565b6001600160a01b038216610f3d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106b7565b60008111610f9f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106b7565b6000546001600160a01b03848116911614801590610fcb57506000546001600160a01b03838116911614155b8015610ff057506001600160a01b03831660009081526012602052604090205460ff16155b801561101557506001600160a01b03821660009081526012602052604090205460ff16155b1561130157601654600160a01b900460ff166110b9576001600160a01b03831660009081526012602052604090205460ff166110b95760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106b7565b60175481111561110b5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106b7565b6001600160a01b03831660009081526010602052604090205460ff1615801561114d57506001600160a01b03821660009081526010602052604090205460ff16155b6111a55760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106b7565b6016546001600160a01b0383811691161461122a57601854816111c784610922565b6111d19190611f1d565b1061122a5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106b7565b600061123530610922565b60195460175491925082101590821061124e5760175491505b8080156112655750601654600160a81b900460ff16155b801561127f57506016546001600160a01b03868116911614155b80156112945750601654600160b01b900460ff165b80156112b957506001600160a01b03851660009081526005602052604090205460ff16155b80156112de57506001600160a01b03841660009081526005602052604090205460ff16155b156112fe576112ec82611500565b4780156112fc576112fc47611442565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061134357506001600160a01b03831660009081526005602052604090205460ff165b8061137557506016546001600160a01b0385811691161480159061137557506016546001600160a01b03848116911614155b15611382575060006113fc565b6016546001600160a01b0385811691161480156113ad57506015546001600160a01b03848116911614155b156113bf57600854600c55600954600d555b6016546001600160a01b0384811691161480156113ea57506015546001600160a01b03858116911614155b156113fc57600a54600c55600b54600d555b610c348484848461167a565b6000818484111561142c5760405162461bcd60e51b81526004016106b79190611c33565b5060006114398486611f35565b95945050505050565b6014546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610728573d6000803e3d6000fd5b60006006548211156114e35760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106b7565b60006114ed6116a8565b90506114f983826116cb565b9392505050565b6016805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061154857611548611ed8565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156115a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c59190611f4c565b816001815181106115d8576115d8611ed8565b6001600160a01b0392831660209182029290920101526015546115fe9130911684610d53565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac94790611637908590600090869030904290600401611f69565b600060405180830381600087803b15801561165157600080fd5b505af1158015611665573d6000803e3d6000fd5b50506016805460ff60a81b1916905550505050565b806116875761168761170d565b61169284848461173b565b80610c3457610c34600e54600c55600f54600d55565b60008060006116b5611832565b90925090506116c482826116cb565b9250505090565b60006114f983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611872565b600c5415801561171d5750600d54155b1561172457565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061174d876118a0565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061177f90876118fd565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546117ae908661193f565b6001600160a01b0389166000908152600260205260409020556117d08161199e565b6117da84836119e8565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161181f91815260200190565b60405180910390a3505050505050505050565b600654600090819067016345785d8a000061184d82826116cb565b8210156118695750506006549267016345785d8a000092509050565b90939092509050565b600081836118935760405162461bcd60e51b81526004016106b79190611c33565b5060006114398486611fda565b60008060008060008060008060006118bd8a600c54600d54611a0c565b92509250925060006118cd6116a8565b905060008060006118e08e878787611a61565b919e509c509a509598509396509194505050505091939550919395565b60006114f983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611408565b60008061194c8385611f1d565b9050838110156114f95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106b7565b60006119a86116a8565b905060006119b68383611ab1565b306000908152600260205260409020549091506119d3908261193f565b30600090815260026020526040902055505050565b6006546119f590836118fd565b600655600754611a05908261193f565b6007555050565b6000808080611a266064611a208989611ab1565b906116cb565b90506000611a396064611a208a89611ab1565b90506000611a5182611a4b8b866118fd565b906118fd565b9992985090965090945050505050565b6000808080611a708886611ab1565b90506000611a7e8887611ab1565b90506000611a8c8888611ab1565b90506000611a9e82611a4b86866118fd565b939b939a50919850919650505050505050565b600082600003611ac35750600061073d565b6000611acf8385611ffc565b905082611adc8583611fda565b146114f95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106b7565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461091f57600080fd5b8035611b6981611b49565b919050565b60006020808385031215611b8157600080fd5b823567ffffffffffffffff80821115611b9957600080fd5b818501915085601f830112611bad57600080fd5b813581811115611bbf57611bbf611b33565b8060051b604051601f19603f83011681018181108582111715611be457611be4611b33565b604052918252848201925083810185019188831115611c0257600080fd5b938501935b82851015611c2757611c1885611b5e565b84529385019392850192611c07565b98975050505050505050565b600060208083528351808285015260005b81811015611c6057858101830151858201604001528201611c44565b81811115611c72576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215611c9b57600080fd5b8235611ca681611b49565b946020939093013593505050565b600080600060608486031215611cc957600080fd5b8335611cd481611b49565b92506020840135611ce481611b49565b929592945050506040919091013590565b60008083601f840112611d0757600080fd5b50813567ffffffffffffffff811115611d1f57600080fd5b6020830191508360208260051b8501011115611d3a57600080fd5b9250929050565b60008060208385031215611d5457600080fd5b823567ffffffffffffffff811115611d6b57600080fd5b611d7785828601611cf5565b90969095509350505050565b600060208284031215611d9557600080fd5b81356114f981611b49565b80358015158114611b6957600080fd5b600060208284031215611dc257600080fd5b6114f982611da0565b600060208284031215611ddd57600080fd5b5035919050565b60008060008060808587031215611dfa57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611e2b57600080fd5b833567ffffffffffffffff811115611e4257600080fd5b611e4e86828701611cf5565b9094509250611e61905060208501611da0565b90509250925092565b60008060408385031215611e7d57600080fd5b8235611e8881611b49565b91506020830135611e9881611b49565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611f1657611f16611eee565b5060010190565b60008219821115611f3057611f30611eee565b500190565b600082821015611f4757611f47611eee565b500390565b600060208284031215611f5e57600080fd5b81516114f981611b49565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611fb95784516001600160a01b031683529383019391830191600101611f94565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611ff757634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561201657612016611eee565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122023e28383c28d8861a30272968cb7be13d2a97d7f60ee206738bd6b1bedc982fc64736f6c634300080e0033