Closed jstashh closed 2 years ago
Remove the if statements from this block of code - https://github.com/yearn/yearn-sdk/blob/master/src/interfaces/token.ts#L67-L79
Use a switch instead, as will be easier to add future chains
I would like to work on this as my first contribution!
Submitted a pull request for this.
Done in https://github.com/yearn/yearn-sdk/pull/234
Remove the if statements from this block of code - https://github.com/yearn/yearn-sdk/blob/master/src/interfaces/token.ts#L67-L79
Use a switch instead, as will be easier to add future chains