Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFeesCmd ¶
func NewFeesCmd(walletConfig *clitypes.WalletConfig) *cobra.Command
NewFeesCmd creates a new cobra command for the wallet fees component.
Types ¶
type AccountInfoWrapper ¶
type AccountInfoWrapper struct { AccountNumber uint64 FcrId basetypes.UnitID Balance uint64 LockedReason string }
func (AccountInfoWrapper) String ¶
func (a AccountInfoWrapper) String() string
type FeeCreditManager ¶
type FeeCreditManager interface { GetFeeCredit(ctx context.Context, cmd fees.GetFeeCreditCmd) (*types.FeeCreditRecord, error) AddFeeCredit(ctx context.Context, cmd fees.AddFeeCmd) (*fees.AddFeeCmdResponse, error) ReclaimFeeCredit(ctx context.Context, cmd fees.ReclaimFeeCmd) (*fees.ReclaimFeeCmdResponse, error) LockFeeCredit(ctx context.Context, cmd fees.LockFeeCreditCmd) (*basetypes.TxRecordProof, error) UnlockFeeCredit(ctx context.Context, cmd fees.UnlockFeeCreditCmd) (*basetypes.TxRecordProof, error) MinAddFeeAmount() uint64 MinReclaimFeeAmount() uint64 Close() }
Click to show internal directories.
Click to hide internal directories.