ether static method

CurrencyAmount ether(
  1. BigInt amount
)

Helper that calls the constructor with the ETHER currency @param amount ether amount in wei

Implementation

static CurrencyAmount ether(BigInt amount) {
  return CurrencyAmount(ETHER, amount);
}