Comment on page
Token represents an ERC20 token with a unique address and additional data on whether the token is a native currency. The Token class ensures Token equivalence when executing functions.
Note that the
mintproperty was previously used to manage Solana tokens but support for Solana on KyberSwap has since been deprecated.
Returns whether the token passed in the argument is functionally equivalent to the token implementing this class (i.e. same contract address on the same chain).
Returns true if the token's contract address sorts before the input token contract address. Also checks if the tokens are equivalent else throws an error (i.e. same contract address and chain).
Accessor that returns this ERC20 token.