fromWallet static method

MintCcc fromWallet({
  1. required Wallet wallet,
  2. required List<StdCoin> amount,
  3. required String id,
})

Creates a MintCcc from the given wallet wallet, deposit amount amount and mint id.

Implementation

static MintCcc fromWallet({
  required Wallet wallet,
  required List<StdCoin> amount,
  required String id,
}) {
  return MintCcc(
    depositAmount: amount,
    signerDid: wallet.bech32Address,
    id: id,
  );
}