fromWallet static method

BurnCcc fromWallet({
  1. required Wallet wallet,
  2. required StdCoin amount,
  3. required String id,
})

Creates a BurnCcc from the given wallet, amount to be burned and mint id.

Implementation

static BurnCcc fromWallet({
  required Wallet wallet,
  required StdCoin amount,
  required String id,
}) {
  return BurnCcc(
    signerDid: wallet.bech32Address,
    amount: amount,
    id: id,
  );
}