fromWallet static method
Creates a RewardPoolDeposit from the given wallet
,
and deposit amount
.
Implementation
static RewardPoolDeposit fromWallet({
required Wallet wallet,
required List<StdCoin> amount,
}) {
return RewardPoolDeposit(
depositAmount: amount,
depositorDid: wallet.bech32Address,
);
}