docs(client): Update setFeeGranter and setFeePayer comments (#22526)

This commit is contained in:
Eric Mokaya 2024-11-20 13:20:23 +03:00 committed by GitHub
parent 3d618f500e
commit 6351dc3a73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,11 +47,17 @@ type (
SetSignatures(signatures ...signingtypes.SignatureV2) error
SetMemo(memo string)
SetFeeAmount(amount sdk.Coins)
// SetFeePayer sets the address of who will pay the fees for this transaction.
// Note: The fee payer must sign the transaction in addition to any other required signers.
SetFeePayer(feePayer sdk.AccAddress)
SetGasLimit(limit uint64)
SetTimeoutHeight(height uint64)
SetTimeoutTimestamp(timestamp time.Time)
SetUnordered(v bool)
// SetFeeGranter sets the address of the fee granter for this transaction.
// A fee granter is an account that has given permission (via the feegrant module)
// to pay fees on behalf of another account. Unlike the fee payer, the fee granter
// does not need to sign the transaction.
SetFeeGranter(feeGranter sdk.AccAddress)
AddAuxSignerData(tx.AuxSignerData) error
}