Namespace: feegrant
@shareledgerjs/client.feegrant
Interfaces
- AminoMsgGrantAllowance
- AminoMsgRevokeAllowance
- FeegrantQueryExtension
- FeegrantQueryExtensionMethods
- FeegrantTxExtension
- FeegrantTxExtensionMethods
- MsgGrantAllowanceEncodeObject
- MsgRevokeAllowanceEncodeObject
Type Aliases
Allowance
Ƭ Allowance: Object
Type declaration
| Name | Type |
|---|---|
allowance? | BasicAllowance | PeriodicAllowance |
grantee | string |
granter | string |
AllowancesResponse
Ƭ AllowancesResponse: Object
Type declaration
| Name | Type |
|---|---|
allowances | Allowance[] |
pagination? | PageResponse |
FeegrantExtension
Ƭ FeegrantExtension: FeegrantQueryExtension & FeegrantTxExtension
FeegrantExtensionMethods
Ƭ FeegrantExtensionMethods: FeegrantQueryExtensionMethods & FeegrantTxExtensionMethods
Functions
FeegrantExtension
▸ FeegrantExtension<T>(constructor): T
Type parameters
| Name | Type |
|---|---|
T | extends (...args: any[]) => BaseClient & FeegrantQueryExtension & FeegrantTxExtension |
Parameters
| Name | Type |
|---|---|
constructor | T |
Returns
T
FeegrantQueryExtension
▸ FeegrantQueryExtension<T>(constructor): T
Type parameters
| Name | Type |
|---|---|
T | extends (...args: any[]) => BaseClient & FeegrantQueryExtension |
Parameters
| Name | Type |
|---|---|
constructor | T |
Returns
T
FeegrantTxExtension
▸ FeegrantTxExtension<T>(constructor): T
Type parameters
| Name | Type |
|---|---|
T | extends (...args: any[]) => BaseClient & FeegrantTxExtension |
Parameters
| Name | Type |
|---|---|
constructor | T |
Returns
T
createFeegrantActions
▸ createFeegrantActions(): Record<string, string>
Returns
Record<string, string>
createFeegrantAminoConverters
▸ createFeegrantAminoConverters(): Record<string, AminoConverter | "not_supported_by_chain">
Returns
Record<string, AminoConverter | "not_supported_by_chain">
createFeegrantTypes
▸ createFeegrantTypes(): ReadonlyArray<[string, GeneratedType]>
Returns
ReadonlyArray<[string, GeneratedType]>
isAminoMsgGrantAllowance
▸ isAminoMsgGrantAllowance(msg): msg is AminoMsgGrantAllowance
Parameters
| Name | Type |
|---|---|
msg | AminoMsg |
Returns
msg is AminoMsgGrantAllowance
isAminoMsgRevokeAllowance
▸ isAminoMsgRevokeAllowance(msg): msg is AminoMsgRevokeAllowance
Parameters
| Name | Type |
|---|---|
msg | AminoMsg |
Returns
msg is AminoMsgRevokeAllowance