sortsBefore method

bool sortsBefore(
  1. Token other
)

Implementation

bool sortsBefore(Token other) {
  invariant(chainId == other.chainId, '$chainId incorrect');
  invariant(address != other.address, '$address incorrect');
  return address.hex.compareTo(other.address.hex) < 0;
}