interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
74 lines (73 loc) • 3.1 kB
TypeScript
import { BinaryReader, BinaryWriter } from "../../../../binary";
import { DeepPartial } from "../../../../helpers";
/**
* IncentivizedAcknowledgement is the acknowledgement format to be used by applications wrapped in the fee middleware
* @name IncentivizedAcknowledgement
* @package ibc.applications.fee.v1
* @see proto type: ibc.applications.fee.v1.IncentivizedAcknowledgement
*/
export interface IncentivizedAcknowledgement {
/**
* the underlying app acknowledgement bytes
*/
appAcknowledgement: Uint8Array;
/**
* the relayer address which submits the recv packet message
*/
forwardRelayerAddress: string;
/**
* success flag of the base application callback
*/
underlyingAppSuccess: boolean;
}
export interface IncentivizedAcknowledgementProtoMsg {
typeUrl: "/ibc.applications.fee.v1.IncentivizedAcknowledgement";
value: Uint8Array;
}
/**
* IncentivizedAcknowledgement is the acknowledgement format to be used by applications wrapped in the fee middleware
* @name IncentivizedAcknowledgementAmino
* @package ibc.applications.fee.v1
* @see proto type: ibc.applications.fee.v1.IncentivizedAcknowledgement
*/
export interface IncentivizedAcknowledgementAmino {
/**
* the underlying app acknowledgement bytes
*/
app_acknowledgement: string;
/**
* the relayer address which submits the recv packet message
*/
forward_relayer_address: string;
/**
* success flag of the base application callback
*/
underlying_app_success: boolean;
}
export interface IncentivizedAcknowledgementAminoMsg {
type: "cosmos-sdk/IncentivizedAcknowledgement";
value: IncentivizedAcknowledgementAmino;
}
/**
* IncentivizedAcknowledgement is the acknowledgement format to be used by applications wrapped in the fee middleware
* @name IncentivizedAcknowledgement
* @package ibc.applications.fee.v1
* @see proto type: ibc.applications.fee.v1.IncentivizedAcknowledgement
*/
export declare const IncentivizedAcknowledgement: {
typeUrl: string;
aminoType: string;
is(o: any): o is IncentivizedAcknowledgement;
isAmino(o: any): o is IncentivizedAcknowledgementAmino;
encode(message: IncentivizedAcknowledgement, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): IncentivizedAcknowledgement;
fromPartial(object: DeepPartial<IncentivizedAcknowledgement>): IncentivizedAcknowledgement;
fromAmino(object: IncentivizedAcknowledgementAmino): IncentivizedAcknowledgement;
toAmino(message: IncentivizedAcknowledgement): IncentivizedAcknowledgementAmino;
fromAminoMsg(object: IncentivizedAcknowledgementAminoMsg): IncentivizedAcknowledgement;
toAminoMsg(message: IncentivizedAcknowledgement): IncentivizedAcknowledgementAminoMsg;
fromProtoMsg(message: IncentivizedAcknowledgementProtoMsg): IncentivizedAcknowledgement;
toProto(message: IncentivizedAcknowledgement): Uint8Array;
toProtoMsg(message: IncentivizedAcknowledgement): IncentivizedAcknowledgementProtoMsg;
registerTypeUrl(): void;
};