60806040526200001a67016345785d8a000060001962000365565b620000289060001962000388565b600690815560006008819055600991909155600a819055601e600b819055600c829055600d819055600e91909155600f55601380546001600160a01b031990811673ab9e5df843f8484fee04050b9c4396c05c1213ff9081179092556014805490911690911790556016805461ffff60a81b1916600160b01b17905566071afd498d00006017819055601855652d79883d2000601955348015620000cb57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa15801562000189573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001af9190620003ae565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002239190620003ae565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000271573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002979190620003ae565b601680546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601354851684528284208054821683179055601454909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef67016345785d8a00006040516200035691815260200190565b60405180910390a350620003e0565b6000826200038357634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620003a957634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003c157600080fd5b81516001600160a01b0381168114620003d957600080fd5b9392505050565b61207680620003f06000396000f3fe6080604052600436106101f15760003560e01c80637d1db4a51161010d578063a9059cbb116100a0578063c3c8cd801161006f578063c3c8cd80146105cf578063c492f046146105e4578063dd62ed3e14610604578063ea1644d51461064a578063f2fde38b1461066a57600080fd5b8063a9059cbb1461052f578063b5a652231461054f578063bdd795ef1461056f578063bfd792841461059f57600080fd5b80638f9a55c0116100dc5780638f9a55c0146104ac57806395d89b41146104c257806398a5c315146104ef578063a2a957bb1461050f57600080fd5b80637d1db4a51461042b5780637f2feddc146104415780638da5cb5b1461046e5780638f70ccf71461048c57600080fd5b806349bd5a5e116101855780636fc3eaec116101545780636fc3eaec146103c157806370a08231146103d6578063715018a6146103f657806374010ece1461040b57600080fd5b806349bd5a5e1461034157806367aadb7e146103615780636b999053146103815780636d8aa8f8146103a157600080fd5b806318160ddd116101c157806318160ddd146102ca57806323b872dd146102ef5780632fd689e31461030f578063313ce5671461032557600080fd5b8062b8cf2a146101fd57806306fdde031461021f578063095ea7b3146102625780631694505e1461029257600080fd5b366101f857005b600080fd5b34801561020957600080fd5b5061021d610218366004611b6b565b61068a565b005b34801561022b57600080fd5b50604080518082019091526008815267576f6f6620496e7560c01b60208201525b6040516102599190611c30565b60405180910390f35b34801561026e57600080fd5b5061028261027d366004611c85565b610729565b6040519015158152602001610259565b34801561029e57600080fd5b506015546102b2906001600160a01b031681565b6040516001600160a01b039091168152602001610259565b3480156102d657600080fd5b5067016345785d8a00005b604051908152602001610259565b3480156102fb57600080fd5b5061028261030a366004611cb1565b610740565b34801561031b57600080fd5b506102e160195481565b34801561033157600080fd5b5060405160098152602001610259565b34801561034d57600080fd5b506016546102b2906001600160a01b031681565b34801561036d57600080fd5b5061021d61037c366004611d3e565b6107a9565b34801561038d57600080fd5b5061021d61039c366004611d80565b610841565b3480156103ad57600080fd5b5061021d6103bc366004611dad565b61088c565b3480156103cd57600080fd5b5061021d6108d4565b3480156103e257600080fd5b506102e16103f1366004611d80565b61091f565b34801561040257600080fd5b5061021d610941565b34801561041757600080fd5b5061021d610426366004611dc8565b6109b5565b34801561043757600080fd5b506102e160175481565b34801561044d57600080fd5b506102e161045c366004611d80565b60116020526000908152604090205481565b34801561047a57600080fd5b506000546001600160a01b03166102b2565b34801561049857600080fd5b5061021d6104a7366004611dad565b6109e4565b3480156104b857600080fd5b506102e160185481565b3480156104ce57600080fd5b5060408051808201909152600481526357494e5560e01b602082015261024c565b3480156104fb57600080fd5b5061021d61050a366004611dc8565b610a2c565b34801561051b57600080fd5b5061021d61052a366004611de1565b610a5b565b34801561053b57600080fd5b5061028261054a366004611c85565b610a99565b34801561055b57600080fd5b5061021d61056a366004611d3e565b610aa6565b34801561057b57600080fd5b5061028261058a366004611d80565b60126020526000908152604090205460ff1681565b3480156105ab57600080fd5b506102826105ba366004611d80565b60106020526000908152604090205460ff1681565b3480156105db57600080fd5b5061021d610b42565b3480156105f057600080fd5b5061021d6105ff366004611e13565b610b96565b34801561061057600080fd5b506102e161061f366004611e67565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561065657600080fd5b5061021d610665366004611dc8565b610c37565b34801561067657600080fd5b5061021d610685366004611d80565b610c66565b6000546001600160a01b031633146106bd5760405162461bcd60e51b81526004016106b490611ea0565b60405180910390fd5b60005b8151811015610725576001601060008484815181106106e1576106e1611ed5565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061071d81611f01565b9150506106c0565b5050565b6000610736338484610d50565b5060015b92915050565b600061074d848484610e74565b61079f843361079a85604051806060016040528060288152602001612019602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611405565b610d50565b5060019392505050565b6000546001600160a01b031633146107d35760405162461bcd60e51b81526004016106b490611ea0565b60005b8181101561083c57601260008484848181106107f4576107f4611ed5565b90506020020160208101906108099190611d80565b6001600160a01b031681526020810191909152604001600020805460ff191690558061083481611f01565b9150506107d6565b505050565b6000546001600160a01b0316331461086b5760405162461bcd60e51b81526004016106b490611ea0565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146108b65760405162461bcd60e51b81526004016106b490611ea0565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6013546001600160a01b0316336001600160a01b0316148061090957506014546001600160a01b0316336001600160a01b0316145b61091257600080fd5b4761091c8161143f565b50565b6001600160a01b03811660009081526002602052604081205461073a90611479565b6000546001600160a01b0316331461096b5760405162461bcd60e51b81526004016106b490611ea0565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146109df5760405162461bcd60e51b81526004016106b490611ea0565b601755565b6000546001600160a01b03163314610a0e5760405162461bcd60e51b81526004016106b490611ea0565b60168054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b03163314610a565760405162461bcd60e51b81526004016106b490611ea0565b601955565b6000546001600160a01b03163314610a855760405162461bcd60e51b81526004016106b490611ea0565b600893909355600a91909155600955600b55565b6000610736338484610e74565b6000546001600160a01b03163314610ad05760405162461bcd60e51b81526004016106b490611ea0565b60005b8181101561083c57600160126000858585818110610af357610af3611ed5565b9050602002016020810190610b089190611d80565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610b3a81611f01565b915050610ad3565b6013546001600160a01b0316336001600160a01b03161480610b7757506014546001600160a01b0316336001600160a01b0316145b610b8057600080fd5b6000610b8b3061091f565b905061091c816114fd565b6000546001600160a01b03163314610bc05760405162461bcd60e51b81526004016106b490611ea0565b60005b82811015610c31578160056000868685818110610be257610be2611ed5565b9050602002016020810190610bf79190611d80565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c2981611f01565b915050610bc3565b50505050565b6000546001600160a01b03163314610c615760405162461bcd60e51b81526004016106b490611ea0565b601855565b6000546001600160a01b03163314610c905760405162461bcd60e51b81526004016106b490611ea0565b6001600160a01b038116610cf55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610db25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106b4565b6001600160a01b038216610e135760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106b4565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ed85760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106b4565b6001600160a01b038216610f3a5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106b4565b60008111610f9c5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016106b4565b6000546001600160a01b03848116911614801590610fc857506000546001600160a01b03838116911614155b8015610fed57506001600160a01b03831660009081526012602052604090205460ff16155b801561101257506001600160a01b03821660009081526012602052604090205460ff16155b156112fe57601654600160a01b900460ff166110b6576001600160a01b03831660009081526012602052604090205460ff166110b65760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016106b4565b6017548111156111085760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016106b4565b6001600160a01b03831660009081526010602052604090205460ff1615801561114a57506001600160a01b03821660009081526010602052604090205460ff16155b6111a25760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016106b4565b6016546001600160a01b0383811691161461122757601854816111c48461091f565b6111ce9190611f1a565b106112275760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016106b4565b60006112323061091f565b60195460175491925082101590821061124b5760175491505b8080156112625750601654600160a81b900460ff16155b801561127c57506016546001600160a01b03868116911614155b80156112915750601654600160b01b900460ff165b80156112b657506001600160a01b03851660009081526005602052604090205460ff16155b80156112db57506001600160a01b03841660009081526005602052604090205460ff16155b156112fb576112e9826114fd565b4780156112f9576112f94761143f565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061134057506001600160a01b03831660009081526005602052604090205460ff165b8061137257506016546001600160a01b0385811691161480159061137257506016546001600160a01b03848116911614155b1561137f575060006113f9565b6016546001600160a01b0385811691161480156113aa57506015546001600160a01b03848116911614155b156113bc57600854600c55600954600d555b6016546001600160a01b0384811691161480156113e757506015546001600160a01b03858116911614155b156113f957600a54600c55600b54600d555b610c3184848484611677565b600081848411156114295760405162461bcd60e51b81526004016106b49190611c30565b5060006114368486611f32565b95945050505050565b6014546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610725573d6000803e3d6000fd5b60006006548211156114e05760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016106b4565b60006114ea6116a5565b90506114f683826116c8565b9392505050565b6016805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061154557611545611ed5565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561159e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c29190611f49565b816001815181106115d5576115d5611ed5565b6001600160a01b0392831660209182029290920101526015546115fb9130911684610d50565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac94790611634908590600090869030904290600401611f66565b600060405180830381600087803b15801561164e57600080fd5b505af1158015611662573d6000803e3d6000fd5b50506016805460ff60a81b1916905550505050565b806116845761168461170a565b61168f848484611738565b80610c3157610c31600e54600c55600f54600d55565b60008060006116b261182f565b90925090506116c182826116c8565b9250505090565b60006114f683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061186f565b600c5415801561171a5750600d54155b1561172157565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061174a8761189d565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061177c90876118fa565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546117ab908661193c565b6001600160a01b0389166000908152600260205260409020556117cd8161199b565b6117d784836119e5565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161181c91815260200190565b60405180910390a3505050505050505050565b600654600090819067016345785d8a000061184a82826116c8565b8210156118665750506006549267016345785d8a000092509050565b90939092509050565b600081836118905760405162461bcd60e51b81526004016106b49190611c30565b5060006114368486611fd7565b60008060008060008060008060006118ba8a600c54600d54611a09565b92509250925060006118ca6116a5565b905060008060006118dd8e878787611a5e565b919e509c509a509598509396509194505050505091939550919395565b60006114f683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611405565b6000806119498385611f1a565b9050838110156114f65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106b4565b60006119a56116a5565b905060006119b38383611aae565b306000908152600260205260409020549091506119d0908261193c565b30600090815260026020526040902055505050565b6006546119f290836118fa565b600655600754611a02908261193c565b6007555050565b6000808080611a236064611a1d8989611aae565b906116c8565b90506000611a366064611a1d8a89611aae565b90506000611a4e82611a488b866118fa565b906118fa565b9992985090965090945050505050565b6000808080611a6d8886611aae565b90506000611a7b8887611aae565b90506000611a898888611aae565b90506000611a9b82611a4886866118fa565b939b939a50919850919650505050505050565b600082600003611ac05750600061073a565b6000611acc8385611ff9565b905082611ad98583611fd7565b146114f65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016106b4565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461091c57600080fd5b8035611b6681611b46565b919050565b60006020808385031215611b7e57600080fd5b823567ffffffffffffffff80821115611b9657600080fd5b818501915085601f830112611baa57600080fd5b813581811115611bbc57611bbc611b30565b8060051b604051601f19603f83011681018181108582111715611be157611be1611b30565b604052918252848201925083810185019188831115611bff57600080fd5b938501935b82851015611c2457611c1585611b5b565b84529385019392850192611c04565b98975050505050505050565b600060208083528351808285015260005b81811015611c5d57858101830151858201604001528201611c41565b81811115611c6f576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215611c9857600080fd5b8235611ca381611b46565b946020939093013593505050565b600080600060608486031215611cc657600080fd5b8335611cd181611b46565b92506020840135611ce181611b46565b929592945050506040919091013590565b60008083601f840112611d0457600080fd5b50813567ffffffffffffffff811115611d1c57600080fd5b6020830191508360208260051b8501011115611d3757600080fd5b9250929050565b60008060208385031215611d5157600080fd5b823567ffffffffffffffff811115611d6857600080fd5b611d7485828601611cf2565b90969095509350505050565b600060208284031215611d9257600080fd5b81356114f681611b46565b80358015158114611b6657600080fd5b600060208284031215611dbf57600080fd5b6114f682611d9d565b600060208284031215611dda57600080fd5b5035919050565b60008060008060808587031215611df757600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611e2857600080fd5b833567ffffffffffffffff811115611e3f57600080fd5b611e4b86828701611cf2565b9094509250611e5e905060208501611d9d565b90509250925092565b60008060408385031215611e7a57600080fd5b8235611e8581611b46565b91506020830135611e9581611b46565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611f1357611f13611eeb565b5060010190565b60008219821115611f2d57611f2d611eeb565b500190565b600082821015611f4457611f44611eeb565b500390565b600060208284031215611f5b57600080fd5b81516114f681611b46565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611fb65784516001600160a01b031683529383019391830191600101611f91565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611ff457634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561201357612013611eeb565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220e58895532d6408aaf33c3ad14915ca845dedbf71514abc6bc36dbe2dfa05183664736f6c634300080e0033