Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@certusone/wormhole-sdk-proto-web

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@certusone/wormhole-sdk-proto-web - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

README.md

94

lib/cjs/node/v1/node.d.ts

@@ -103,2 +103,24 @@ import { grpc } from "@improbable-eng/grpc-web";

}
export interface ChainGovernorStatusRequest {
}
export interface ChainGovernorStatusResponse {
response: string;
}
export interface ChainGovernorReloadRequest {
}
export interface ChainGovernorReloadResponse {
response: string;
}
export interface ChainGovernorDropPendingVAARequest {
vaaId: string;
}
export interface ChainGovernorDropPendingVAAResponse {
response: string;
}
export interface ChainGovernorReleasePendingVAARequest {
vaaId: string;
}
export interface ChainGovernorReleasePendingVAAResponse {
response: string;
}
export declare const InjectGovernanceVAARequest: {

@@ -195,2 +217,58 @@ encode(message: InjectGovernanceVAARequest, writer?: _m0.Writer): _m0.Writer;

};
export declare const ChainGovernorStatusRequest: {
encode(_: ChainGovernorStatusRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorStatusRequest;
fromJSON(_: any): ChainGovernorStatusRequest;
toJSON(_: ChainGovernorStatusRequest): unknown;
fromPartial(_: DeepPartial<ChainGovernorStatusRequest>): ChainGovernorStatusRequest;
};
export declare const ChainGovernorStatusResponse: {
encode(message: ChainGovernorStatusResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorStatusResponse;
fromJSON(object: any): ChainGovernorStatusResponse;
toJSON(message: ChainGovernorStatusResponse): unknown;
fromPartial(object: DeepPartial<ChainGovernorStatusResponse>): ChainGovernorStatusResponse;
};
export declare const ChainGovernorReloadRequest: {
encode(_: ChainGovernorReloadRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorReloadRequest;
fromJSON(_: any): ChainGovernorReloadRequest;
toJSON(_: ChainGovernorReloadRequest): unknown;
fromPartial(_: DeepPartial<ChainGovernorReloadRequest>): ChainGovernorReloadRequest;
};
export declare const ChainGovernorReloadResponse: {
encode(message: ChainGovernorReloadResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorReloadResponse;
fromJSON(object: any): ChainGovernorReloadResponse;
toJSON(message: ChainGovernorReloadResponse): unknown;
fromPartial(object: DeepPartial<ChainGovernorReloadResponse>): ChainGovernorReloadResponse;
};
export declare const ChainGovernorDropPendingVAARequest: {
encode(message: ChainGovernorDropPendingVAARequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorDropPendingVAARequest;
fromJSON(object: any): ChainGovernorDropPendingVAARequest;
toJSON(message: ChainGovernorDropPendingVAARequest): unknown;
fromPartial(object: DeepPartial<ChainGovernorDropPendingVAARequest>): ChainGovernorDropPendingVAARequest;
};
export declare const ChainGovernorDropPendingVAAResponse: {
encode(message: ChainGovernorDropPendingVAAResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorDropPendingVAAResponse;
fromJSON(object: any): ChainGovernorDropPendingVAAResponse;
toJSON(message: ChainGovernorDropPendingVAAResponse): unknown;
fromPartial(object: DeepPartial<ChainGovernorDropPendingVAAResponse>): ChainGovernorDropPendingVAAResponse;
};
export declare const ChainGovernorReleasePendingVAARequest: {
encode(message: ChainGovernorReleasePendingVAARequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorReleasePendingVAARequest;
fromJSON(object: any): ChainGovernorReleasePendingVAARequest;
toJSON(message: ChainGovernorReleasePendingVAARequest): unknown;
fromPartial(object: DeepPartial<ChainGovernorReleasePendingVAARequest>): ChainGovernorReleasePendingVAARequest;
};
export declare const ChainGovernorReleasePendingVAAResponse: {
encode(message: ChainGovernorReleasePendingVAAResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorReleasePendingVAAResponse;
fromJSON(object: any): ChainGovernorReleasePendingVAAResponse;
toJSON(message: ChainGovernorReleasePendingVAAResponse): unknown;
fromPartial(object: DeepPartial<ChainGovernorReleasePendingVAAResponse>): ChainGovernorReleasePendingVAAResponse;
};
/**

@@ -223,2 +301,10 @@ * NodePrivilegedService exposes an administrative API. It runs on a UNIX socket and is authenticated

SendObservationRequest(request: DeepPartial<SendObservationRequestRequest>, metadata?: grpc.Metadata): Promise<SendObservationRequestResponse>;
/** ChainGovernorStatus displays the status of the chain governor. */
ChainGovernorStatus(request: DeepPartial<ChainGovernorStatusRequest>, metadata?: grpc.Metadata): Promise<ChainGovernorStatusResponse>;
/** ChainGovernorReload clears the chain governor history and reloads it from the database. */
ChainGovernorReload(request: DeepPartial<ChainGovernorReloadRequest>, metadata?: grpc.Metadata): Promise<ChainGovernorReloadResponse>;
/** ChainGovernorDropPendingVAA drops a VAA from the chain governor pending list. */
ChainGovernorDropPendingVAA(request: DeepPartial<ChainGovernorDropPendingVAARequest>, metadata?: grpc.Metadata): Promise<ChainGovernorDropPendingVAAResponse>;
/** ChainGovernorReleasePendingVAA release a VAA from the chain governor pending list, publishing it immediately. */
ChainGovernorReleasePendingVAA(request: DeepPartial<ChainGovernorReleasePendingVAARequest>, metadata?: grpc.Metadata): Promise<ChainGovernorReleasePendingVAAResponse>;
}

@@ -231,2 +317,6 @@ export declare class NodePrivilegedServiceClientImpl implements NodePrivilegedService {

SendObservationRequest(request: DeepPartial<SendObservationRequestRequest>, metadata?: grpc.Metadata): Promise<SendObservationRequestResponse>;
ChainGovernorStatus(request: DeepPartial<ChainGovernorStatusRequest>, metadata?: grpc.Metadata): Promise<ChainGovernorStatusResponse>;
ChainGovernorReload(request: DeepPartial<ChainGovernorReloadRequest>, metadata?: grpc.Metadata): Promise<ChainGovernorReloadResponse>;
ChainGovernorDropPendingVAA(request: DeepPartial<ChainGovernorDropPendingVAARequest>, metadata?: grpc.Metadata): Promise<ChainGovernorDropPendingVAAResponse>;
ChainGovernorReleasePendingVAA(request: DeepPartial<ChainGovernorReleasePendingVAARequest>, metadata?: grpc.Metadata): Promise<ChainGovernorReleasePendingVAAResponse>;
}

@@ -239,2 +329,6 @@ export declare const NodePrivilegedServiceDesc: {

export declare const NodePrivilegedServiceSendObservationRequestDesc: UnaryMethodDefinitionish;
export declare const NodePrivilegedServiceChainGovernorStatusDesc: UnaryMethodDefinitionish;
export declare const NodePrivilegedServiceChainGovernorReloadDesc: UnaryMethodDefinitionish;
export declare const NodePrivilegedServiceChainGovernorDropPendingVAADesc: UnaryMethodDefinitionish;
export declare const NodePrivilegedServiceChainGovernorReleasePendingVAADesc: UnaryMethodDefinitionish;
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -241,0 +335,0 @@ requestStream: any;

@@ -26,2 +26,9 @@ import { grpc } from "@improbable-eng/grpc-web";

CHAIN_ID_INJECTIVE = 19,
CHAIN_ID_OSMOSIS = 20,
CHAIN_ID_SUI = 21,
CHAIN_ID_APTOS = 22,
CHAIN_ID_ARBITRUM = 23,
CHAIN_ID_OPTIMISM = 24,
CHAIN_ID_GNOSIS = 25,
CHAIN_ID_PYTHNET = 26,
/**

@@ -85,2 +92,46 @@ * CHAIN_ID_ETHEREUM_ROPSTEN - Special case - Eth has two testnets. CHAIN_ID_ETHEREUM is Goerli,

}
export interface GovernorGetAvailableNotionalByChainRequest {
}
export interface GovernorGetAvailableNotionalByChainResponse {
/**
* There is an entry for each chain that is being governed.
* Chains that are not being governed are not listed, and assumed to be unlimited.
*/
entries: GovernorGetAvailableNotionalByChainResponse_Entry[];
}
export interface GovernorGetAvailableNotionalByChainResponse_Entry {
chainId: number;
remainingAvailableNotional: string;
notionalLimit: string;
}
export interface GovernorGetEnqueuedVAAsRequest {
}
export interface GovernorGetEnqueuedVAAsResponse {
/** There is an entry for each enqueued vaa. */
entries: GovernorGetEnqueuedVAAsResponse_Entry[];
}
export interface GovernorGetEnqueuedVAAsResponse_Entry {
emitterChain: number;
/** human-readable hex-encoded (leading 0x) */
emitterAddress: string;
sequence: string;
}
export interface GovernorIsVAAEnqueuedRequest {
messageId: MessageID | undefined;
}
export interface GovernorIsVAAEnqueuedResponse {
isEnqueued: boolean;
}
export interface GovernorGetTokenListRequest {
}
export interface GovernorGetTokenListResponse {
/** There is an entry for each token that applies to the notional TVL calcuation. */
entries: GovernorGetTokenListResponse_Entry[];
}
export interface GovernorGetTokenListResponse_Entry {
originChainId: number;
/** human-readable hex-encoded (leading 0x) */
originAddress: string;
price: number;
}
export declare const MessageID: {

@@ -149,2 +200,79 @@ encode(message: MessageID, writer?: _m0.Writer): _m0.Writer;

};
export declare const GovernorGetAvailableNotionalByChainRequest: {
encode(_: GovernorGetAvailableNotionalByChainRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetAvailableNotionalByChainRequest;
fromJSON(_: any): GovernorGetAvailableNotionalByChainRequest;
toJSON(_: GovernorGetAvailableNotionalByChainRequest): unknown;
fromPartial(_: DeepPartial<GovernorGetAvailableNotionalByChainRequest>): GovernorGetAvailableNotionalByChainRequest;
};
export declare const GovernorGetAvailableNotionalByChainResponse: {
encode(message: GovernorGetAvailableNotionalByChainResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetAvailableNotionalByChainResponse;
fromJSON(object: any): GovernorGetAvailableNotionalByChainResponse;
toJSON(message: GovernorGetAvailableNotionalByChainResponse): unknown;
fromPartial(object: DeepPartial<GovernorGetAvailableNotionalByChainResponse>): GovernorGetAvailableNotionalByChainResponse;
};
export declare const GovernorGetAvailableNotionalByChainResponse_Entry: {
encode(message: GovernorGetAvailableNotionalByChainResponse_Entry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetAvailableNotionalByChainResponse_Entry;
fromJSON(object: any): GovernorGetAvailableNotionalByChainResponse_Entry;
toJSON(message: GovernorGetAvailableNotionalByChainResponse_Entry): unknown;
fromPartial(object: DeepPartial<GovernorGetAvailableNotionalByChainResponse_Entry>): GovernorGetAvailableNotionalByChainResponse_Entry;
};
export declare const GovernorGetEnqueuedVAAsRequest: {
encode(_: GovernorGetEnqueuedVAAsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetEnqueuedVAAsRequest;
fromJSON(_: any): GovernorGetEnqueuedVAAsRequest;
toJSON(_: GovernorGetEnqueuedVAAsRequest): unknown;
fromPartial(_: DeepPartial<GovernorGetEnqueuedVAAsRequest>): GovernorGetEnqueuedVAAsRequest;
};
export declare const GovernorGetEnqueuedVAAsResponse: {
encode(message: GovernorGetEnqueuedVAAsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetEnqueuedVAAsResponse;
fromJSON(object: any): GovernorGetEnqueuedVAAsResponse;
toJSON(message: GovernorGetEnqueuedVAAsResponse): unknown;
fromPartial(object: DeepPartial<GovernorGetEnqueuedVAAsResponse>): GovernorGetEnqueuedVAAsResponse;
};
export declare const GovernorGetEnqueuedVAAsResponse_Entry: {
encode(message: GovernorGetEnqueuedVAAsResponse_Entry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetEnqueuedVAAsResponse_Entry;
fromJSON(object: any): GovernorGetEnqueuedVAAsResponse_Entry;
toJSON(message: GovernorGetEnqueuedVAAsResponse_Entry): unknown;
fromPartial(object: DeepPartial<GovernorGetEnqueuedVAAsResponse_Entry>): GovernorGetEnqueuedVAAsResponse_Entry;
};
export declare const GovernorIsVAAEnqueuedRequest: {
encode(message: GovernorIsVAAEnqueuedRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorIsVAAEnqueuedRequest;
fromJSON(object: any): GovernorIsVAAEnqueuedRequest;
toJSON(message: GovernorIsVAAEnqueuedRequest): unknown;
fromPartial(object: DeepPartial<GovernorIsVAAEnqueuedRequest>): GovernorIsVAAEnqueuedRequest;
};
export declare const GovernorIsVAAEnqueuedResponse: {
encode(message: GovernorIsVAAEnqueuedResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorIsVAAEnqueuedResponse;
fromJSON(object: any): GovernorIsVAAEnqueuedResponse;
toJSON(message: GovernorIsVAAEnqueuedResponse): unknown;
fromPartial(object: DeepPartial<GovernorIsVAAEnqueuedResponse>): GovernorIsVAAEnqueuedResponse;
};
export declare const GovernorGetTokenListRequest: {
encode(_: GovernorGetTokenListRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetTokenListRequest;
fromJSON(_: any): GovernorGetTokenListRequest;
toJSON(_: GovernorGetTokenListRequest): unknown;
fromPartial(_: DeepPartial<GovernorGetTokenListRequest>): GovernorGetTokenListRequest;
};
export declare const GovernorGetTokenListResponse: {
encode(message: GovernorGetTokenListResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetTokenListResponse;
fromJSON(object: any): GovernorGetTokenListResponse;
toJSON(message: GovernorGetTokenListResponse): unknown;
fromPartial(object: DeepPartial<GovernorGetTokenListResponse>): GovernorGetTokenListResponse;
};
export declare const GovernorGetTokenListResponse_Entry: {
encode(message: GovernorGetTokenListResponse_Entry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetTokenListResponse_Entry;
fromJSON(object: any): GovernorGetTokenListResponse_Entry;
toJSON(message: GovernorGetTokenListResponse_Entry): unknown;
fromPartial(object: DeepPartial<GovernorGetTokenListResponse_Entry>): GovernorGetTokenListResponse_Entry;
};
/** PublicRPCService service exposes endpoints to be consumed externally; GUIs, historical record keeping, etc. */

@@ -160,2 +288,6 @@ export interface PublicRPCService {

GetCurrentGuardianSet(request: DeepPartial<GetCurrentGuardianSetRequest>, metadata?: grpc.Metadata): Promise<GetCurrentGuardianSetResponse>;
GovernorGetAvailableNotionalByChain(request: DeepPartial<GovernorGetAvailableNotionalByChainRequest>, metadata?: grpc.Metadata): Promise<GovernorGetAvailableNotionalByChainResponse>;
GovernorGetEnqueuedVAAs(request: DeepPartial<GovernorGetEnqueuedVAAsRequest>, metadata?: grpc.Metadata): Promise<GovernorGetEnqueuedVAAsResponse>;
GovernorIsVAAEnqueued(request: DeepPartial<GovernorIsVAAEnqueuedRequest>, metadata?: grpc.Metadata): Promise<GovernorIsVAAEnqueuedResponse>;
GovernorGetTokenList(request: DeepPartial<GovernorGetTokenListRequest>, metadata?: grpc.Metadata): Promise<GovernorGetTokenListResponse>;
}

@@ -168,2 +300,6 @@ export declare class PublicRPCServiceClientImpl implements PublicRPCService {

GetCurrentGuardianSet(request: DeepPartial<GetCurrentGuardianSetRequest>, metadata?: grpc.Metadata): Promise<GetCurrentGuardianSetResponse>;
GovernorGetAvailableNotionalByChain(request: DeepPartial<GovernorGetAvailableNotionalByChainRequest>, metadata?: grpc.Metadata): Promise<GovernorGetAvailableNotionalByChainResponse>;
GovernorGetEnqueuedVAAs(request: DeepPartial<GovernorGetEnqueuedVAAsRequest>, metadata?: grpc.Metadata): Promise<GovernorGetEnqueuedVAAsResponse>;
GovernorIsVAAEnqueued(request: DeepPartial<GovernorIsVAAEnqueuedRequest>, metadata?: grpc.Metadata): Promise<GovernorIsVAAEnqueuedResponse>;
GovernorGetTokenList(request: DeepPartial<GovernorGetTokenListRequest>, metadata?: grpc.Metadata): Promise<GovernorGetTokenListResponse>;
}

@@ -176,2 +312,6 @@ export declare const PublicRPCServiceDesc: {

export declare const PublicRPCServiceGetCurrentGuardianSetDesc: UnaryMethodDefinitionish;
export declare const PublicRPCServiceGovernorGetAvailableNotionalByChainDesc: UnaryMethodDefinitionish;
export declare const PublicRPCServiceGovernorGetEnqueuedVAAsDesc: UnaryMethodDefinitionish;
export declare const PublicRPCServiceGovernorIsVAAEnqueuedDesc: UnaryMethodDefinitionish;
export declare const PublicRPCServiceGovernorGetTokenListDesc: UnaryMethodDefinitionish;
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -178,0 +318,0 @@ requestStream: any;

@@ -103,2 +103,24 @@ import { grpc } from "@improbable-eng/grpc-web";

}
export interface ChainGovernorStatusRequest {
}
export interface ChainGovernorStatusResponse {
response: string;
}
export interface ChainGovernorReloadRequest {
}
export interface ChainGovernorReloadResponse {
response: string;
}
export interface ChainGovernorDropPendingVAARequest {
vaaId: string;
}
export interface ChainGovernorDropPendingVAAResponse {
response: string;
}
export interface ChainGovernorReleasePendingVAARequest {
vaaId: string;
}
export interface ChainGovernorReleasePendingVAAResponse {
response: string;
}
export declare const InjectGovernanceVAARequest: {

@@ -195,2 +217,58 @@ encode(message: InjectGovernanceVAARequest, writer?: _m0.Writer): _m0.Writer;

};
export declare const ChainGovernorStatusRequest: {
encode(_: ChainGovernorStatusRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorStatusRequest;
fromJSON(_: any): ChainGovernorStatusRequest;
toJSON(_: ChainGovernorStatusRequest): unknown;
fromPartial(_: DeepPartial<ChainGovernorStatusRequest>): ChainGovernorStatusRequest;
};
export declare const ChainGovernorStatusResponse: {
encode(message: ChainGovernorStatusResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorStatusResponse;
fromJSON(object: any): ChainGovernorStatusResponse;
toJSON(message: ChainGovernorStatusResponse): unknown;
fromPartial(object: DeepPartial<ChainGovernorStatusResponse>): ChainGovernorStatusResponse;
};
export declare const ChainGovernorReloadRequest: {
encode(_: ChainGovernorReloadRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorReloadRequest;
fromJSON(_: any): ChainGovernorReloadRequest;
toJSON(_: ChainGovernorReloadRequest): unknown;
fromPartial(_: DeepPartial<ChainGovernorReloadRequest>): ChainGovernorReloadRequest;
};
export declare const ChainGovernorReloadResponse: {
encode(message: ChainGovernorReloadResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorReloadResponse;
fromJSON(object: any): ChainGovernorReloadResponse;
toJSON(message: ChainGovernorReloadResponse): unknown;
fromPartial(object: DeepPartial<ChainGovernorReloadResponse>): ChainGovernorReloadResponse;
};
export declare const ChainGovernorDropPendingVAARequest: {
encode(message: ChainGovernorDropPendingVAARequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorDropPendingVAARequest;
fromJSON(object: any): ChainGovernorDropPendingVAARequest;
toJSON(message: ChainGovernorDropPendingVAARequest): unknown;
fromPartial(object: DeepPartial<ChainGovernorDropPendingVAARequest>): ChainGovernorDropPendingVAARequest;
};
export declare const ChainGovernorDropPendingVAAResponse: {
encode(message: ChainGovernorDropPendingVAAResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorDropPendingVAAResponse;
fromJSON(object: any): ChainGovernorDropPendingVAAResponse;
toJSON(message: ChainGovernorDropPendingVAAResponse): unknown;
fromPartial(object: DeepPartial<ChainGovernorDropPendingVAAResponse>): ChainGovernorDropPendingVAAResponse;
};
export declare const ChainGovernorReleasePendingVAARequest: {
encode(message: ChainGovernorReleasePendingVAARequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorReleasePendingVAARequest;
fromJSON(object: any): ChainGovernorReleasePendingVAARequest;
toJSON(message: ChainGovernorReleasePendingVAARequest): unknown;
fromPartial(object: DeepPartial<ChainGovernorReleasePendingVAARequest>): ChainGovernorReleasePendingVAARequest;
};
export declare const ChainGovernorReleasePendingVAAResponse: {
encode(message: ChainGovernorReleasePendingVAAResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ChainGovernorReleasePendingVAAResponse;
fromJSON(object: any): ChainGovernorReleasePendingVAAResponse;
toJSON(message: ChainGovernorReleasePendingVAAResponse): unknown;
fromPartial(object: DeepPartial<ChainGovernorReleasePendingVAAResponse>): ChainGovernorReleasePendingVAAResponse;
};
/**

@@ -223,2 +301,10 @@ * NodePrivilegedService exposes an administrative API. It runs on a UNIX socket and is authenticated

SendObservationRequest(request: DeepPartial<SendObservationRequestRequest>, metadata?: grpc.Metadata): Promise<SendObservationRequestResponse>;
/** ChainGovernorStatus displays the status of the chain governor. */
ChainGovernorStatus(request: DeepPartial<ChainGovernorStatusRequest>, metadata?: grpc.Metadata): Promise<ChainGovernorStatusResponse>;
/** ChainGovernorReload clears the chain governor history and reloads it from the database. */
ChainGovernorReload(request: DeepPartial<ChainGovernorReloadRequest>, metadata?: grpc.Metadata): Promise<ChainGovernorReloadResponse>;
/** ChainGovernorDropPendingVAA drops a VAA from the chain governor pending list. */
ChainGovernorDropPendingVAA(request: DeepPartial<ChainGovernorDropPendingVAARequest>, metadata?: grpc.Metadata): Promise<ChainGovernorDropPendingVAAResponse>;
/** ChainGovernorReleasePendingVAA release a VAA from the chain governor pending list, publishing it immediately. */
ChainGovernorReleasePendingVAA(request: DeepPartial<ChainGovernorReleasePendingVAARequest>, metadata?: grpc.Metadata): Promise<ChainGovernorReleasePendingVAAResponse>;
}

@@ -231,2 +317,6 @@ export declare class NodePrivilegedServiceClientImpl implements NodePrivilegedService {

SendObservationRequest(request: DeepPartial<SendObservationRequestRequest>, metadata?: grpc.Metadata): Promise<SendObservationRequestResponse>;
ChainGovernorStatus(request: DeepPartial<ChainGovernorStatusRequest>, metadata?: grpc.Metadata): Promise<ChainGovernorStatusResponse>;
ChainGovernorReload(request: DeepPartial<ChainGovernorReloadRequest>, metadata?: grpc.Metadata): Promise<ChainGovernorReloadResponse>;
ChainGovernorDropPendingVAA(request: DeepPartial<ChainGovernorDropPendingVAARequest>, metadata?: grpc.Metadata): Promise<ChainGovernorDropPendingVAAResponse>;
ChainGovernorReleasePendingVAA(request: DeepPartial<ChainGovernorReleasePendingVAARequest>, metadata?: grpc.Metadata): Promise<ChainGovernorReleasePendingVAAResponse>;
}

@@ -239,2 +329,6 @@ export declare const NodePrivilegedServiceDesc: {

export declare const NodePrivilegedServiceSendObservationRequestDesc: UnaryMethodDefinitionish;
export declare const NodePrivilegedServiceChainGovernorStatusDesc: UnaryMethodDefinitionish;
export declare const NodePrivilegedServiceChainGovernorReloadDesc: UnaryMethodDefinitionish;
export declare const NodePrivilegedServiceChainGovernorDropPendingVAADesc: UnaryMethodDefinitionish;
export declare const NodePrivilegedServiceChainGovernorReleasePendingVAADesc: UnaryMethodDefinitionish;
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -241,0 +335,0 @@ requestStream: any;

@@ -26,2 +26,9 @@ import { grpc } from "@improbable-eng/grpc-web";

CHAIN_ID_INJECTIVE = 19,
CHAIN_ID_OSMOSIS = 20,
CHAIN_ID_SUI = 21,
CHAIN_ID_APTOS = 22,
CHAIN_ID_ARBITRUM = 23,
CHAIN_ID_OPTIMISM = 24,
CHAIN_ID_GNOSIS = 25,
CHAIN_ID_PYTHNET = 26,
/**

@@ -85,2 +92,46 @@ * CHAIN_ID_ETHEREUM_ROPSTEN - Special case - Eth has two testnets. CHAIN_ID_ETHEREUM is Goerli,

}
export interface GovernorGetAvailableNotionalByChainRequest {
}
export interface GovernorGetAvailableNotionalByChainResponse {
/**
* There is an entry for each chain that is being governed.
* Chains that are not being governed are not listed, and assumed to be unlimited.
*/
entries: GovernorGetAvailableNotionalByChainResponse_Entry[];
}
export interface GovernorGetAvailableNotionalByChainResponse_Entry {
chainId: number;
remainingAvailableNotional: string;
notionalLimit: string;
}
export interface GovernorGetEnqueuedVAAsRequest {
}
export interface GovernorGetEnqueuedVAAsResponse {
/** There is an entry for each enqueued vaa. */
entries: GovernorGetEnqueuedVAAsResponse_Entry[];
}
export interface GovernorGetEnqueuedVAAsResponse_Entry {
emitterChain: number;
/** human-readable hex-encoded (leading 0x) */
emitterAddress: string;
sequence: string;
}
export interface GovernorIsVAAEnqueuedRequest {
messageId: MessageID | undefined;
}
export interface GovernorIsVAAEnqueuedResponse {
isEnqueued: boolean;
}
export interface GovernorGetTokenListRequest {
}
export interface GovernorGetTokenListResponse {
/** There is an entry for each token that applies to the notional TVL calcuation. */
entries: GovernorGetTokenListResponse_Entry[];
}
export interface GovernorGetTokenListResponse_Entry {
originChainId: number;
/** human-readable hex-encoded (leading 0x) */
originAddress: string;
price: number;
}
export declare const MessageID: {

@@ -149,2 +200,79 @@ encode(message: MessageID, writer?: _m0.Writer): _m0.Writer;

};
export declare const GovernorGetAvailableNotionalByChainRequest: {
encode(_: GovernorGetAvailableNotionalByChainRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetAvailableNotionalByChainRequest;
fromJSON(_: any): GovernorGetAvailableNotionalByChainRequest;
toJSON(_: GovernorGetAvailableNotionalByChainRequest): unknown;
fromPartial(_: DeepPartial<GovernorGetAvailableNotionalByChainRequest>): GovernorGetAvailableNotionalByChainRequest;
};
export declare const GovernorGetAvailableNotionalByChainResponse: {
encode(message: GovernorGetAvailableNotionalByChainResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetAvailableNotionalByChainResponse;
fromJSON(object: any): GovernorGetAvailableNotionalByChainResponse;
toJSON(message: GovernorGetAvailableNotionalByChainResponse): unknown;
fromPartial(object: DeepPartial<GovernorGetAvailableNotionalByChainResponse>): GovernorGetAvailableNotionalByChainResponse;
};
export declare const GovernorGetAvailableNotionalByChainResponse_Entry: {
encode(message: GovernorGetAvailableNotionalByChainResponse_Entry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetAvailableNotionalByChainResponse_Entry;
fromJSON(object: any): GovernorGetAvailableNotionalByChainResponse_Entry;
toJSON(message: GovernorGetAvailableNotionalByChainResponse_Entry): unknown;
fromPartial(object: DeepPartial<GovernorGetAvailableNotionalByChainResponse_Entry>): GovernorGetAvailableNotionalByChainResponse_Entry;
};
export declare const GovernorGetEnqueuedVAAsRequest: {
encode(_: GovernorGetEnqueuedVAAsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetEnqueuedVAAsRequest;
fromJSON(_: any): GovernorGetEnqueuedVAAsRequest;
toJSON(_: GovernorGetEnqueuedVAAsRequest): unknown;
fromPartial(_: DeepPartial<GovernorGetEnqueuedVAAsRequest>): GovernorGetEnqueuedVAAsRequest;
};
export declare const GovernorGetEnqueuedVAAsResponse: {
encode(message: GovernorGetEnqueuedVAAsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetEnqueuedVAAsResponse;
fromJSON(object: any): GovernorGetEnqueuedVAAsResponse;
toJSON(message: GovernorGetEnqueuedVAAsResponse): unknown;
fromPartial(object: DeepPartial<GovernorGetEnqueuedVAAsResponse>): GovernorGetEnqueuedVAAsResponse;
};
export declare const GovernorGetEnqueuedVAAsResponse_Entry: {
encode(message: GovernorGetEnqueuedVAAsResponse_Entry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetEnqueuedVAAsResponse_Entry;
fromJSON(object: any): GovernorGetEnqueuedVAAsResponse_Entry;
toJSON(message: GovernorGetEnqueuedVAAsResponse_Entry): unknown;
fromPartial(object: DeepPartial<GovernorGetEnqueuedVAAsResponse_Entry>): GovernorGetEnqueuedVAAsResponse_Entry;
};
export declare const GovernorIsVAAEnqueuedRequest: {
encode(message: GovernorIsVAAEnqueuedRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorIsVAAEnqueuedRequest;
fromJSON(object: any): GovernorIsVAAEnqueuedRequest;
toJSON(message: GovernorIsVAAEnqueuedRequest): unknown;
fromPartial(object: DeepPartial<GovernorIsVAAEnqueuedRequest>): GovernorIsVAAEnqueuedRequest;
};
export declare const GovernorIsVAAEnqueuedResponse: {
encode(message: GovernorIsVAAEnqueuedResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorIsVAAEnqueuedResponse;
fromJSON(object: any): GovernorIsVAAEnqueuedResponse;
toJSON(message: GovernorIsVAAEnqueuedResponse): unknown;
fromPartial(object: DeepPartial<GovernorIsVAAEnqueuedResponse>): GovernorIsVAAEnqueuedResponse;
};
export declare const GovernorGetTokenListRequest: {
encode(_: GovernorGetTokenListRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetTokenListRequest;
fromJSON(_: any): GovernorGetTokenListRequest;
toJSON(_: GovernorGetTokenListRequest): unknown;
fromPartial(_: DeepPartial<GovernorGetTokenListRequest>): GovernorGetTokenListRequest;
};
export declare const GovernorGetTokenListResponse: {
encode(message: GovernorGetTokenListResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetTokenListResponse;
fromJSON(object: any): GovernorGetTokenListResponse;
toJSON(message: GovernorGetTokenListResponse): unknown;
fromPartial(object: DeepPartial<GovernorGetTokenListResponse>): GovernorGetTokenListResponse;
};
export declare const GovernorGetTokenListResponse_Entry: {
encode(message: GovernorGetTokenListResponse_Entry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GovernorGetTokenListResponse_Entry;
fromJSON(object: any): GovernorGetTokenListResponse_Entry;
toJSON(message: GovernorGetTokenListResponse_Entry): unknown;
fromPartial(object: DeepPartial<GovernorGetTokenListResponse_Entry>): GovernorGetTokenListResponse_Entry;
};
/** PublicRPCService service exposes endpoints to be consumed externally; GUIs, historical record keeping, etc. */

@@ -160,2 +288,6 @@ export interface PublicRPCService {

GetCurrentGuardianSet(request: DeepPartial<GetCurrentGuardianSetRequest>, metadata?: grpc.Metadata): Promise<GetCurrentGuardianSetResponse>;
GovernorGetAvailableNotionalByChain(request: DeepPartial<GovernorGetAvailableNotionalByChainRequest>, metadata?: grpc.Metadata): Promise<GovernorGetAvailableNotionalByChainResponse>;
GovernorGetEnqueuedVAAs(request: DeepPartial<GovernorGetEnqueuedVAAsRequest>, metadata?: grpc.Metadata): Promise<GovernorGetEnqueuedVAAsResponse>;
GovernorIsVAAEnqueued(request: DeepPartial<GovernorIsVAAEnqueuedRequest>, metadata?: grpc.Metadata): Promise<GovernorIsVAAEnqueuedResponse>;
GovernorGetTokenList(request: DeepPartial<GovernorGetTokenListRequest>, metadata?: grpc.Metadata): Promise<GovernorGetTokenListResponse>;
}

@@ -168,2 +300,6 @@ export declare class PublicRPCServiceClientImpl implements PublicRPCService {

GetCurrentGuardianSet(request: DeepPartial<GetCurrentGuardianSetRequest>, metadata?: grpc.Metadata): Promise<GetCurrentGuardianSetResponse>;
GovernorGetAvailableNotionalByChain(request: DeepPartial<GovernorGetAvailableNotionalByChainRequest>, metadata?: grpc.Metadata): Promise<GovernorGetAvailableNotionalByChainResponse>;
GovernorGetEnqueuedVAAs(request: DeepPartial<GovernorGetEnqueuedVAAsRequest>, metadata?: grpc.Metadata): Promise<GovernorGetEnqueuedVAAsResponse>;
GovernorIsVAAEnqueued(request: DeepPartial<GovernorIsVAAEnqueuedRequest>, metadata?: grpc.Metadata): Promise<GovernorIsVAAEnqueuedResponse>;
GovernorGetTokenList(request: DeepPartial<GovernorGetTokenListRequest>, metadata?: grpc.Metadata): Promise<GovernorGetTokenListResponse>;
}

@@ -176,2 +312,6 @@ export declare const PublicRPCServiceDesc: {

export declare const PublicRPCServiceGetCurrentGuardianSetDesc: UnaryMethodDefinitionish;
export declare const PublicRPCServiceGovernorGetAvailableNotionalByChainDesc: UnaryMethodDefinitionish;
export declare const PublicRPCServiceGovernorGetEnqueuedVAAsDesc: UnaryMethodDefinitionish;
export declare const PublicRPCServiceGovernorIsVAAEnqueuedDesc: UnaryMethodDefinitionish;
export declare const PublicRPCServiceGovernorGetTokenListDesc: UnaryMethodDefinitionish;
interface UnaryMethodDefinitionishR extends grpc.UnaryMethodDefinition<any, any> {

@@ -178,0 +318,0 @@ requestStream: any;

2

package.json
{
"name": "@certusone/wormhole-sdk-proto-web",
"version": "0.0.1",
"version": "0.0.2",
"description": "Web client protobuf for interacting with Wormhole",

@@ -5,0 +5,0 @@ "homepage": "https://wormholenetwork.com",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc