Documentation ¶
Overview ¶
Package publicrpcv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterPublicRPCServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPublicRPCServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PublicRPCServiceClient) error
- func RegisterPublicRPCServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPublicRPCServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PublicRPCServiceServer) error
- func RegisterPublicRPCServiceServer(s grpc.ServiceRegistrar, srv PublicRPCServiceServer)
- type ChainID
- type GetCurrentGuardianSetRequest
- func (*GetCurrentGuardianSetRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetCurrentGuardianSetRequest) ProtoMessage()
- func (x *GetCurrentGuardianSetRequest) ProtoReflect() protoreflect.Message
- func (x *GetCurrentGuardianSetRequest) Reset()
- func (x *GetCurrentGuardianSetRequest) String() string
- type GetCurrentGuardianSetResponse
- func (*GetCurrentGuardianSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCurrentGuardianSetResponse) GetGuardianSet() *GuardianSet
- func (*GetCurrentGuardianSetResponse) ProtoMessage()
- func (x *GetCurrentGuardianSetResponse) ProtoReflect() protoreflect.Message
- func (x *GetCurrentGuardianSetResponse) Reset()
- func (x *GetCurrentGuardianSetResponse) String() string
- type GetLastHeartbeatsRequest
- type GetLastHeartbeatsResponse
- func (*GetLastHeartbeatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastHeartbeatsResponse) GetEntries() []*GetLastHeartbeatsResponse_Entry
- func (*GetLastHeartbeatsResponse) ProtoMessage()
- func (x *GetLastHeartbeatsResponse) ProtoReflect() protoreflect.Message
- func (x *GetLastHeartbeatsResponse) Reset()
- func (x *GetLastHeartbeatsResponse) String() string
- type GetLastHeartbeatsResponse_Entry
- func (*GetLastHeartbeatsResponse_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *GetLastHeartbeatsResponse_Entry) GetP2PNodeAddr() string
- func (x *GetLastHeartbeatsResponse_Entry) GetRawHeartbeat() *v1.Heartbeat
- func (x *GetLastHeartbeatsResponse_Entry) GetVerifiedGuardianAddr() string
- func (*GetLastHeartbeatsResponse_Entry) ProtoMessage()
- func (x *GetLastHeartbeatsResponse_Entry) ProtoReflect() protoreflect.Message
- func (x *GetLastHeartbeatsResponse_Entry) Reset()
- func (x *GetLastHeartbeatsResponse_Entry) String() string
- type GetSignedVAARequest
- func (*GetSignedVAARequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSignedVAARequest) GetMessageId() *MessageID
- func (*GetSignedVAARequest) ProtoMessage()
- func (x *GetSignedVAARequest) ProtoReflect() protoreflect.Message
- func (x *GetSignedVAARequest) Reset()
- func (x *GetSignedVAARequest) String() string
- type GetSignedVAAResponse
- func (*GetSignedVAAResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSignedVAAResponse) GetVaaBytes() []byte
- func (*GetSignedVAAResponse) ProtoMessage()
- func (x *GetSignedVAAResponse) ProtoReflect() protoreflect.Message
- func (x *GetSignedVAAResponse) Reset()
- func (x *GetSignedVAAResponse) String() string
- type GovernorGetAvailableNotionalByChainRequest
- func (*GovernorGetAvailableNotionalByChainRequest) Descriptor() ([]byte, []int)deprecated
- func (*GovernorGetAvailableNotionalByChainRequest) ProtoMessage()
- func (x *GovernorGetAvailableNotionalByChainRequest) ProtoReflect() protoreflect.Message
- func (x *GovernorGetAvailableNotionalByChainRequest) Reset()
- func (x *GovernorGetAvailableNotionalByChainRequest) String() string
- type GovernorGetAvailableNotionalByChainResponse
- func (*GovernorGetAvailableNotionalByChainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GovernorGetAvailableNotionalByChainResponse) GetEntries() []*GovernorGetAvailableNotionalByChainResponse_Entry
- func (*GovernorGetAvailableNotionalByChainResponse) ProtoMessage()
- func (x *GovernorGetAvailableNotionalByChainResponse) ProtoReflect() protoreflect.Message
- func (x *GovernorGetAvailableNotionalByChainResponse) Reset()
- func (x *GovernorGetAvailableNotionalByChainResponse) String() string
- type GovernorGetAvailableNotionalByChainResponse_Entry
- func (*GovernorGetAvailableNotionalByChainResponse_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *GovernorGetAvailableNotionalByChainResponse_Entry) GetBigTransactionSize() uint64
- func (x *GovernorGetAvailableNotionalByChainResponse_Entry) GetChainId() uint32
- func (x *GovernorGetAvailableNotionalByChainResponse_Entry) GetNotionalLimit() uint64
- func (x *GovernorGetAvailableNotionalByChainResponse_Entry) GetRemainingAvailableNotional() uint64
- func (*GovernorGetAvailableNotionalByChainResponse_Entry) ProtoMessage()
- func (x *GovernorGetAvailableNotionalByChainResponse_Entry) ProtoReflect() protoreflect.Message
- func (x *GovernorGetAvailableNotionalByChainResponse_Entry) Reset()
- func (x *GovernorGetAvailableNotionalByChainResponse_Entry) String() string
- type GovernorGetEnqueuedVAAsRequest
- func (*GovernorGetEnqueuedVAAsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GovernorGetEnqueuedVAAsRequest) ProtoMessage()
- func (x *GovernorGetEnqueuedVAAsRequest) ProtoReflect() protoreflect.Message
- func (x *GovernorGetEnqueuedVAAsRequest) Reset()
- func (x *GovernorGetEnqueuedVAAsRequest) String() string
- type GovernorGetEnqueuedVAAsResponse
- func (*GovernorGetEnqueuedVAAsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GovernorGetEnqueuedVAAsResponse) GetEntries() []*GovernorGetEnqueuedVAAsResponse_Entry
- func (*GovernorGetEnqueuedVAAsResponse) ProtoMessage()
- func (x *GovernorGetEnqueuedVAAsResponse) ProtoReflect() protoreflect.Message
- func (x *GovernorGetEnqueuedVAAsResponse) Reset()
- func (x *GovernorGetEnqueuedVAAsResponse) String() string
- type GovernorGetEnqueuedVAAsResponse_Entry
- func (*GovernorGetEnqueuedVAAsResponse_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetEmitterAddress() string
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetEmitterChain() uint32
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetNotionalValue() uint64
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetReleaseTime() uint32
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetSequence() uint64
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetTxHash() string
- func (*GovernorGetEnqueuedVAAsResponse_Entry) ProtoMessage()
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) ProtoReflect() protoreflect.Message
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) Reset()
- func (x *GovernorGetEnqueuedVAAsResponse_Entry) String() string
- type GovernorGetTokenListRequest
- type GovernorGetTokenListResponse
- func (*GovernorGetTokenListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GovernorGetTokenListResponse) GetEntries() []*GovernorGetTokenListResponse_Entry
- func (*GovernorGetTokenListResponse) ProtoMessage()
- func (x *GovernorGetTokenListResponse) ProtoReflect() protoreflect.Message
- func (x *GovernorGetTokenListResponse) Reset()
- func (x *GovernorGetTokenListResponse) String() string
- type GovernorGetTokenListResponse_Entry
- func (*GovernorGetTokenListResponse_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *GovernorGetTokenListResponse_Entry) GetOriginAddress() string
- func (x *GovernorGetTokenListResponse_Entry) GetOriginChainId() uint32
- func (x *GovernorGetTokenListResponse_Entry) GetPrice() float32
- func (*GovernorGetTokenListResponse_Entry) ProtoMessage()
- func (x *GovernorGetTokenListResponse_Entry) ProtoReflect() protoreflect.Message
- func (x *GovernorGetTokenListResponse_Entry) Reset()
- func (x *GovernorGetTokenListResponse_Entry) String() string
- type GovernorIsVAAEnqueuedRequest
- func (*GovernorIsVAAEnqueuedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GovernorIsVAAEnqueuedRequest) GetMessageId() *MessageID
- func (*GovernorIsVAAEnqueuedRequest) ProtoMessage()
- func (x *GovernorIsVAAEnqueuedRequest) ProtoReflect() protoreflect.Message
- func (x *GovernorIsVAAEnqueuedRequest) Reset()
- func (x *GovernorIsVAAEnqueuedRequest) String() string
- type GovernorIsVAAEnqueuedResponse
- func (*GovernorIsVAAEnqueuedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GovernorIsVAAEnqueuedResponse) GetIsEnqueued() bool
- func (*GovernorIsVAAEnqueuedResponse) ProtoMessage()
- func (x *GovernorIsVAAEnqueuedResponse) ProtoReflect() protoreflect.Message
- func (x *GovernorIsVAAEnqueuedResponse) Reset()
- func (x *GovernorIsVAAEnqueuedResponse) String() string
- type GuardianSet
- func (*GuardianSet) Descriptor() ([]byte, []int)deprecated
- func (x *GuardianSet) GetAddresses() []string
- func (x *GuardianSet) GetIndex() uint32
- func (*GuardianSet) ProtoMessage()
- func (x *GuardianSet) ProtoReflect() protoreflect.Message
- func (x *GuardianSet) Reset()
- func (x *GuardianSet) String() string
- type MessageID
- func (*MessageID) Descriptor() ([]byte, []int)deprecated
- func (x *MessageID) GetEmitterAddress() string
- func (x *MessageID) GetEmitterChain() ChainID
- func (x *MessageID) GetSequence() uint64
- func (*MessageID) ProtoMessage()
- func (x *MessageID) ProtoReflect() protoreflect.Message
- func (x *MessageID) Reset()
- func (x *MessageID) String() string
- type PublicRPCServiceClient
- type PublicRPCServiceServer
- type UnimplementedPublicRPCServiceServer
- func (UnimplementedPublicRPCServiceServer) GetCurrentGuardianSet(context.Context, *GetCurrentGuardianSetRequest) (*GetCurrentGuardianSetResponse, error)
- func (UnimplementedPublicRPCServiceServer) GetLastHeartbeats(context.Context, *GetLastHeartbeatsRequest) (*GetLastHeartbeatsResponse, error)
- func (UnimplementedPublicRPCServiceServer) GetSignedVAA(context.Context, *GetSignedVAARequest) (*GetSignedVAAResponse, error)
- func (UnimplementedPublicRPCServiceServer) GovernorGetAvailableNotionalByChain(context.Context, *GovernorGetAvailableNotionalByChainRequest) (*GovernorGetAvailableNotionalByChainResponse, error)
- func (UnimplementedPublicRPCServiceServer) GovernorGetEnqueuedVAAs(context.Context, *GovernorGetEnqueuedVAAsRequest) (*GovernorGetEnqueuedVAAsResponse, error)
- func (UnimplementedPublicRPCServiceServer) GovernorGetTokenList(context.Context, *GovernorGetTokenListRequest) (*GovernorGetTokenListResponse, error)
- func (UnimplementedPublicRPCServiceServer) GovernorIsVAAEnqueued(context.Context, *GovernorIsVAAEnqueuedRequest) (*GovernorIsVAAEnqueuedResponse, error)
- type UnsafePublicRPCServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( ChainID_name = map[int32]string{ 0: "CHAIN_ID_UNSPECIFIED", 1: "CHAIN_ID_SOLANA", 2: "CHAIN_ID_ETHEREUM", 3: "CHAIN_ID_TERRA", 4: "CHAIN_ID_BSC", 5: "CHAIN_ID_POLYGON", 6: "CHAIN_ID_AVALANCHE", 7: "CHAIN_ID_OASIS", 8: "CHAIN_ID_ALGORAND", 9: "CHAIN_ID_AURORA", 10: "CHAIN_ID_FANTOM", 11: "CHAIN_ID_KARURA", 12: "CHAIN_ID_ACALA", 13: "CHAIN_ID_KLAYTN", 14: "CHAIN_ID_CELO", 15: "CHAIN_ID_NEAR", 16: "CHAIN_ID_MOONBEAM", 18: "CHAIN_ID_TERRA2", 19: "CHAIN_ID_INJECTIVE", 20: "CHAIN_ID_OSMOSIS", 21: "CHAIN_ID_SUI", 22: "CHAIN_ID_APTOS", 23: "CHAIN_ID_ARBITRUM", 24: "CHAIN_ID_OPTIMISM", 25: "CHAIN_ID_GNOSIS", 26: "CHAIN_ID_PYTHNET", 28: "CHAIN_ID_XPLA", 29: "CHAIN_ID_BTC", 30: "CHAIN_ID_BASE", 32: "CHAIN_ID_SEI", 33: "CHAIN_ID_ROOTSTOCK", 34: "CHAIN_ID_SCROLL", 35: "CHAIN_ID_MANTLE", 3104: "CHAIN_ID_WORMCHAIN", 4000: "CHAIN_ID_COSMOSHUB", 4001: "CHAIN_ID_EVMOS", 4002: "CHAIN_ID_KUJIRA", 4003: "CHAIN_ID_NEUTRON", 4004: "CHAIN_ID_CELESTIA", 4005: "CHAIN_ID_STARGAZE", 4006: "CHAIN_ID_SEDA", 4007: "CHAIN_ID_DYMENSION", 10002: "CHAIN_ID_SEPOLIA", 10003: "CHAIN_ID_ARBITRUM_SEPOLIA", 10004: "CHAIN_ID_BASE_SEPOLIA", 10005: "CHAIN_ID_OPTIMISM_SEPOLIA", 10006: "CHAIN_ID_HOLESKY", } ChainID_value = map[string]int32{ "CHAIN_ID_UNSPECIFIED": 0, "CHAIN_ID_SOLANA": 1, "CHAIN_ID_ETHEREUM": 2, "CHAIN_ID_TERRA": 3, "CHAIN_ID_BSC": 4, "CHAIN_ID_POLYGON": 5, "CHAIN_ID_AVALANCHE": 6, "CHAIN_ID_OASIS": 7, "CHAIN_ID_ALGORAND": 8, "CHAIN_ID_AURORA": 9, "CHAIN_ID_FANTOM": 10, "CHAIN_ID_KARURA": 11, "CHAIN_ID_ACALA": 12, "CHAIN_ID_KLAYTN": 13, "CHAIN_ID_CELO": 14, "CHAIN_ID_NEAR": 15, "CHAIN_ID_MOONBEAM": 16, "CHAIN_ID_TERRA2": 18, "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, "CHAIN_ID_XPLA": 28, "CHAIN_ID_BTC": 29, "CHAIN_ID_BASE": 30, "CHAIN_ID_SEI": 32, "CHAIN_ID_ROOTSTOCK": 33, "CHAIN_ID_SCROLL": 34, "CHAIN_ID_MANTLE": 35, "CHAIN_ID_WORMCHAIN": 3104, "CHAIN_ID_COSMOSHUB": 4000, "CHAIN_ID_EVMOS": 4001, "CHAIN_ID_KUJIRA": 4002, "CHAIN_ID_NEUTRON": 4003, "CHAIN_ID_CELESTIA": 4004, "CHAIN_ID_STARGAZE": 4005, "CHAIN_ID_SEDA": 4006, "CHAIN_ID_DYMENSION": 4007, "CHAIN_ID_SEPOLIA": 10002, "CHAIN_ID_ARBITRUM_SEPOLIA": 10003, "CHAIN_ID_BASE_SEPOLIA": 10004, "CHAIN_ID_OPTIMISM_SEPOLIA": 10005, "CHAIN_ID_HOLESKY": 10006, } )
Enum value maps for ChainID.
var File_publicrpc_v1_publicrpc_proto protoreflect.FileDescriptor
var PublicRPCService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "publicrpc.v1.PublicRPCService", HandlerType: (*PublicRPCServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLastHeartbeats", Handler: _PublicRPCService_GetLastHeartbeats_Handler, }, { MethodName: "GetSignedVAA", Handler: _PublicRPCService_GetSignedVAA_Handler, }, { MethodName: "GetCurrentGuardianSet", Handler: _PublicRPCService_GetCurrentGuardianSet_Handler, }, { MethodName: "GovernorGetAvailableNotionalByChain", Handler: _PublicRPCService_GovernorGetAvailableNotionalByChain_Handler, }, { MethodName: "GovernorGetEnqueuedVAAs", Handler: _PublicRPCService_GovernorGetEnqueuedVAAs_Handler, }, { MethodName: "GovernorIsVAAEnqueued", Handler: _PublicRPCService_GovernorIsVAAEnqueued_Handler, }, { MethodName: "GovernorGetTokenList", Handler: _PublicRPCService_GovernorGetTokenList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "publicrpc/v1/publicrpc.proto", }
PublicRPCService_ServiceDesc is the grpc.ServiceDesc for PublicRPCService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPublicRPCServiceHandler ¶
func RegisterPublicRPCServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPublicRPCServiceHandler registers the http handlers for service PublicRPCService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPublicRPCServiceHandlerClient ¶
func RegisterPublicRPCServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PublicRPCServiceClient) error
RegisterPublicRPCServiceHandlerClient registers the http handlers for service PublicRPCService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PublicRPCServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PublicRPCServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PublicRPCServiceClient" to call the correct interceptors.
func RegisterPublicRPCServiceHandlerFromEndpoint ¶
func RegisterPublicRPCServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPublicRPCServiceHandlerFromEndpoint is same as RegisterPublicRPCServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPublicRPCServiceHandlerServer ¶
func RegisterPublicRPCServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PublicRPCServiceServer) error
RegisterPublicRPCServiceHandlerServer registers the http handlers for service PublicRPCService to "mux". UnaryRPC :call PublicRPCServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPublicRPCServiceHandlerFromEndpoint instead.
func RegisterPublicRPCServiceServer ¶
func RegisterPublicRPCServiceServer(s grpc.ServiceRegistrar, srv PublicRPCServiceServer)
Types ¶
type ChainID ¶
type ChainID int32
const ( ChainID_CHAIN_ID_UNSPECIFIED ChainID = 0 ChainID_CHAIN_ID_SOLANA ChainID = 1 ChainID_CHAIN_ID_ETHEREUM ChainID = 2 ChainID_CHAIN_ID_TERRA ChainID = 3 ChainID_CHAIN_ID_BSC ChainID = 4 ChainID_CHAIN_ID_POLYGON ChainID = 5 ChainID_CHAIN_ID_AVALANCHE ChainID = 6 ChainID_CHAIN_ID_OASIS ChainID = 7 ChainID_CHAIN_ID_ALGORAND ChainID = 8 ChainID_CHAIN_ID_AURORA ChainID = 9 ChainID_CHAIN_ID_FANTOM ChainID = 10 ChainID_CHAIN_ID_KARURA ChainID = 11 ChainID_CHAIN_ID_ACALA ChainID = 12 ChainID_CHAIN_ID_KLAYTN ChainID = 13 ChainID_CHAIN_ID_CELO ChainID = 14 ChainID_CHAIN_ID_NEAR ChainID = 15 ChainID_CHAIN_ID_MOONBEAM ChainID = 16 // OBSOLETE: CHAIN_ID_NEON = 17; ChainID_CHAIN_ID_TERRA2 ChainID = 18 ChainID_CHAIN_ID_INJECTIVE ChainID = 19 ChainID_CHAIN_ID_OSMOSIS ChainID = 20 ChainID_CHAIN_ID_SUI ChainID = 21 ChainID_CHAIN_ID_APTOS ChainID = 22 ChainID_CHAIN_ID_ARBITRUM ChainID = 23 ChainID_CHAIN_ID_OPTIMISM ChainID = 24 ChainID_CHAIN_ID_GNOSIS ChainID = 25 ChainID_CHAIN_ID_PYTHNET ChainID = 26 ChainID_CHAIN_ID_XPLA ChainID = 28 ChainID_CHAIN_ID_BTC ChainID = 29 ChainID_CHAIN_ID_BASE ChainID = 30 ChainID_CHAIN_ID_SEI ChainID = 32 ChainID_CHAIN_ID_ROOTSTOCK ChainID = 33 ChainID_CHAIN_ID_SCROLL ChainID = 34 ChainID_CHAIN_ID_MANTLE ChainID = 35 ChainID_CHAIN_ID_WORMCHAIN ChainID = 3104 ChainID_CHAIN_ID_COSMOSHUB ChainID = 4000 ChainID_CHAIN_ID_EVMOS ChainID = 4001 ChainID_CHAIN_ID_KUJIRA ChainID = 4002 ChainID_CHAIN_ID_NEUTRON ChainID = 4003 ChainID_CHAIN_ID_CELESTIA ChainID = 4004 ChainID_CHAIN_ID_STARGAZE ChainID = 4005 ChainID_CHAIN_ID_SEDA ChainID = 4006 ChainID_CHAIN_ID_DYMENSION ChainID = 4007 ChainID_CHAIN_ID_SEPOLIA ChainID = 10002 ChainID_CHAIN_ID_ARBITRUM_SEPOLIA ChainID = 10003 ChainID_CHAIN_ID_BASE_SEPOLIA ChainID = 10004 ChainID_CHAIN_ID_OPTIMISM_SEPOLIA ChainID = 10005 ChainID_CHAIN_ID_HOLESKY ChainID = 10006 )
func (ChainID) Descriptor ¶
func (ChainID) Descriptor() protoreflect.EnumDescriptor
func (ChainID) EnumDescriptor
deprecated
func (ChainID) Number ¶
func (x ChainID) Number() protoreflect.EnumNumber
func (ChainID) Type ¶
func (ChainID) Type() protoreflect.EnumType
type GetCurrentGuardianSetRequest ¶
type GetCurrentGuardianSetRequest struct {
// contains filtered or unexported fields
}
func (*GetCurrentGuardianSetRequest) Descriptor
deprecated
func (*GetCurrentGuardianSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentGuardianSetRequest.ProtoReflect.Descriptor instead.
func (*GetCurrentGuardianSetRequest) ProtoMessage ¶
func (*GetCurrentGuardianSetRequest) ProtoMessage()
func (*GetCurrentGuardianSetRequest) ProtoReflect ¶
func (x *GetCurrentGuardianSetRequest) ProtoReflect() protoreflect.Message
func (*GetCurrentGuardianSetRequest) Reset ¶
func (x *GetCurrentGuardianSetRequest) Reset()
func (*GetCurrentGuardianSetRequest) String ¶
func (x *GetCurrentGuardianSetRequest) String() string
type GetCurrentGuardianSetResponse ¶
type GetCurrentGuardianSetResponse struct { GuardianSet *GuardianSet `protobuf:"bytes,1,opt,name=guardian_set,json=guardianSet,proto3" json:"guardian_set,omitempty"` // contains filtered or unexported fields }
func (*GetCurrentGuardianSetResponse) Descriptor
deprecated
func (*GetCurrentGuardianSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCurrentGuardianSetResponse.ProtoReflect.Descriptor instead.
func (*GetCurrentGuardianSetResponse) GetGuardianSet ¶
func (x *GetCurrentGuardianSetResponse) GetGuardianSet() *GuardianSet
func (*GetCurrentGuardianSetResponse) ProtoMessage ¶
func (*GetCurrentGuardianSetResponse) ProtoMessage()
func (*GetCurrentGuardianSetResponse) ProtoReflect ¶
func (x *GetCurrentGuardianSetResponse) ProtoReflect() protoreflect.Message
func (*GetCurrentGuardianSetResponse) Reset ¶
func (x *GetCurrentGuardianSetResponse) Reset()
func (*GetCurrentGuardianSetResponse) String ¶
func (x *GetCurrentGuardianSetResponse) String() string
type GetLastHeartbeatsRequest ¶
type GetLastHeartbeatsRequest struct {
// contains filtered or unexported fields
}
func (*GetLastHeartbeatsRequest) Descriptor
deprecated
func (*GetLastHeartbeatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLastHeartbeatsRequest.ProtoReflect.Descriptor instead.
func (*GetLastHeartbeatsRequest) ProtoMessage ¶
func (*GetLastHeartbeatsRequest) ProtoMessage()
func (*GetLastHeartbeatsRequest) ProtoReflect ¶
func (x *GetLastHeartbeatsRequest) ProtoReflect() protoreflect.Message
func (*GetLastHeartbeatsRequest) Reset ¶
func (x *GetLastHeartbeatsRequest) Reset()
func (*GetLastHeartbeatsRequest) String ¶
func (x *GetLastHeartbeatsRequest) String() string
type GetLastHeartbeatsResponse ¶
type GetLastHeartbeatsResponse struct { Entries []*GetLastHeartbeatsResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*GetLastHeartbeatsResponse) Descriptor
deprecated
func (*GetLastHeartbeatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLastHeartbeatsResponse.ProtoReflect.Descriptor instead.
func (*GetLastHeartbeatsResponse) GetEntries ¶
func (x *GetLastHeartbeatsResponse) GetEntries() []*GetLastHeartbeatsResponse_Entry
func (*GetLastHeartbeatsResponse) ProtoMessage ¶
func (*GetLastHeartbeatsResponse) ProtoMessage()
func (*GetLastHeartbeatsResponse) ProtoReflect ¶
func (x *GetLastHeartbeatsResponse) ProtoReflect() protoreflect.Message
func (*GetLastHeartbeatsResponse) Reset ¶
func (x *GetLastHeartbeatsResponse) Reset()
func (*GetLastHeartbeatsResponse) String ¶
func (x *GetLastHeartbeatsResponse) String() string
type GetLastHeartbeatsResponse_Entry ¶
type GetLastHeartbeatsResponse_Entry struct { // Verified, hex-encoded (with leading 0x) guardian address. This is the guardian address // which signed this heartbeat. The GuardianAddr field inside the heartbeat // is NOT verified - remote nodes can put arbitrary data in it. VerifiedGuardianAddr string `protobuf:"bytes,1,opt,name=verified_guardian_addr,json=verifiedGuardianAddr,proto3" json:"verified_guardian_addr,omitempty"` // Base58-encoded libp2p node address that sent this heartbeat, used to // distinguish between multiple nodes running for the same guardian. P2PNodeAddr string `protobuf:"bytes,2,opt,name=p2p_node_addr,json=p2pNodeAddr,proto3" json:"p2p_node_addr,omitempty"` // Raw heartbeat received from the network. Data is only as trusted // as the guardian node that sent it - none of the fields are verified. RawHeartbeat *v1.Heartbeat `protobuf:"bytes,3,opt,name=raw_heartbeat,json=rawHeartbeat,proto3" json:"raw_heartbeat,omitempty"` // contains filtered or unexported fields }
func (*GetLastHeartbeatsResponse_Entry) Descriptor
deprecated
func (*GetLastHeartbeatsResponse_Entry) Descriptor() ([]byte, []int)
Deprecated: Use GetLastHeartbeatsResponse_Entry.ProtoReflect.Descriptor instead.
func (*GetLastHeartbeatsResponse_Entry) GetP2PNodeAddr ¶
func (x *GetLastHeartbeatsResponse_Entry) GetP2PNodeAddr() string
func (*GetLastHeartbeatsResponse_Entry) GetRawHeartbeat ¶
func (x *GetLastHeartbeatsResponse_Entry) GetRawHeartbeat() *v1.Heartbeat
func (*GetLastHeartbeatsResponse_Entry) GetVerifiedGuardianAddr ¶
func (x *GetLastHeartbeatsResponse_Entry) GetVerifiedGuardianAddr() string
func (*GetLastHeartbeatsResponse_Entry) ProtoMessage ¶
func (*GetLastHeartbeatsResponse_Entry) ProtoMessage()
func (*GetLastHeartbeatsResponse_Entry) ProtoReflect ¶
func (x *GetLastHeartbeatsResponse_Entry) ProtoReflect() protoreflect.Message
func (*GetLastHeartbeatsResponse_Entry) Reset ¶
func (x *GetLastHeartbeatsResponse_Entry) Reset()
func (*GetLastHeartbeatsResponse_Entry) String ¶
func (x *GetLastHeartbeatsResponse_Entry) String() string
type GetSignedVAARequest ¶
type GetSignedVAARequest struct { MessageId *MessageID `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*GetSignedVAARequest) Descriptor
deprecated
func (*GetSignedVAARequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSignedVAARequest.ProtoReflect.Descriptor instead.
func (*GetSignedVAARequest) GetMessageId ¶
func (x *GetSignedVAARequest) GetMessageId() *MessageID
func (*GetSignedVAARequest) ProtoMessage ¶
func (*GetSignedVAARequest) ProtoMessage()
func (*GetSignedVAARequest) ProtoReflect ¶
func (x *GetSignedVAARequest) ProtoReflect() protoreflect.Message
func (*GetSignedVAARequest) Reset ¶
func (x *GetSignedVAARequest) Reset()
func (*GetSignedVAARequest) String ¶
func (x *GetSignedVAARequest) String() string
type GetSignedVAAResponse ¶
type GetSignedVAAResponse struct { VaaBytes []byte `protobuf:"bytes,1,opt,name=vaa_bytes,json=vaaBytes,proto3" json:"vaa_bytes,omitempty"` // contains filtered or unexported fields }
func (*GetSignedVAAResponse) Descriptor
deprecated
func (*GetSignedVAAResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSignedVAAResponse.ProtoReflect.Descriptor instead.
func (*GetSignedVAAResponse) GetVaaBytes ¶
func (x *GetSignedVAAResponse) GetVaaBytes() []byte
func (*GetSignedVAAResponse) ProtoMessage ¶
func (*GetSignedVAAResponse) ProtoMessage()
func (*GetSignedVAAResponse) ProtoReflect ¶
func (x *GetSignedVAAResponse) ProtoReflect() protoreflect.Message
func (*GetSignedVAAResponse) Reset ¶
func (x *GetSignedVAAResponse) Reset()
func (*GetSignedVAAResponse) String ¶
func (x *GetSignedVAAResponse) String() string
type GovernorGetAvailableNotionalByChainRequest ¶
type GovernorGetAvailableNotionalByChainRequest struct {
// contains filtered or unexported fields
}
func (*GovernorGetAvailableNotionalByChainRequest) Descriptor
deprecated
func (*GovernorGetAvailableNotionalByChainRequest) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetAvailableNotionalByChainRequest.ProtoReflect.Descriptor instead.
func (*GovernorGetAvailableNotionalByChainRequest) ProtoMessage ¶
func (*GovernorGetAvailableNotionalByChainRequest) ProtoMessage()
func (*GovernorGetAvailableNotionalByChainRequest) ProtoReflect ¶
func (x *GovernorGetAvailableNotionalByChainRequest) ProtoReflect() protoreflect.Message
func (*GovernorGetAvailableNotionalByChainRequest) Reset ¶
func (x *GovernorGetAvailableNotionalByChainRequest) Reset()
func (*GovernorGetAvailableNotionalByChainRequest) String ¶
func (x *GovernorGetAvailableNotionalByChainRequest) String() string
type GovernorGetAvailableNotionalByChainResponse ¶
type GovernorGetAvailableNotionalByChainResponse struct { // 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 `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*GovernorGetAvailableNotionalByChainResponse) Descriptor
deprecated
func (*GovernorGetAvailableNotionalByChainResponse) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetAvailableNotionalByChainResponse.ProtoReflect.Descriptor instead.
func (*GovernorGetAvailableNotionalByChainResponse) GetEntries ¶
func (x *GovernorGetAvailableNotionalByChainResponse) GetEntries() []*GovernorGetAvailableNotionalByChainResponse_Entry
func (*GovernorGetAvailableNotionalByChainResponse) ProtoMessage ¶
func (*GovernorGetAvailableNotionalByChainResponse) ProtoMessage()
func (*GovernorGetAvailableNotionalByChainResponse) ProtoReflect ¶
func (x *GovernorGetAvailableNotionalByChainResponse) ProtoReflect() protoreflect.Message
func (*GovernorGetAvailableNotionalByChainResponse) Reset ¶
func (x *GovernorGetAvailableNotionalByChainResponse) Reset()
func (*GovernorGetAvailableNotionalByChainResponse) String ¶
func (x *GovernorGetAvailableNotionalByChainResponse) String() string
type GovernorGetAvailableNotionalByChainResponse_Entry ¶
type GovernorGetAvailableNotionalByChainResponse_Entry struct { ChainId uint32 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` RemainingAvailableNotional uint64 `` /* 142-byte string literal not displayed */ NotionalLimit uint64 `protobuf:"varint,3,opt,name=notional_limit,json=notionalLimit,proto3" json:"notional_limit,omitempty"` BigTransactionSize uint64 `protobuf:"varint,4,opt,name=big_transaction_size,json=bigTransactionSize,proto3" json:"big_transaction_size,omitempty"` // contains filtered or unexported fields }
func (*GovernorGetAvailableNotionalByChainResponse_Entry) Descriptor
deprecated
func (*GovernorGetAvailableNotionalByChainResponse_Entry) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetAvailableNotionalByChainResponse_Entry.ProtoReflect.Descriptor instead.
func (*GovernorGetAvailableNotionalByChainResponse_Entry) GetBigTransactionSize ¶
func (x *GovernorGetAvailableNotionalByChainResponse_Entry) GetBigTransactionSize() uint64
func (*GovernorGetAvailableNotionalByChainResponse_Entry) GetChainId ¶
func (x *GovernorGetAvailableNotionalByChainResponse_Entry) GetChainId() uint32
func (*GovernorGetAvailableNotionalByChainResponse_Entry) GetNotionalLimit ¶
func (x *GovernorGetAvailableNotionalByChainResponse_Entry) GetNotionalLimit() uint64
func (*GovernorGetAvailableNotionalByChainResponse_Entry) GetRemainingAvailableNotional ¶
func (x *GovernorGetAvailableNotionalByChainResponse_Entry) GetRemainingAvailableNotional() uint64
func (*GovernorGetAvailableNotionalByChainResponse_Entry) ProtoMessage ¶
func (*GovernorGetAvailableNotionalByChainResponse_Entry) ProtoMessage()
func (*GovernorGetAvailableNotionalByChainResponse_Entry) ProtoReflect ¶
func (x *GovernorGetAvailableNotionalByChainResponse_Entry) ProtoReflect() protoreflect.Message
func (*GovernorGetAvailableNotionalByChainResponse_Entry) Reset ¶
func (x *GovernorGetAvailableNotionalByChainResponse_Entry) Reset()
func (*GovernorGetAvailableNotionalByChainResponse_Entry) String ¶
func (x *GovernorGetAvailableNotionalByChainResponse_Entry) String() string
type GovernorGetEnqueuedVAAsRequest ¶
type GovernorGetEnqueuedVAAsRequest struct {
// contains filtered or unexported fields
}
func (*GovernorGetEnqueuedVAAsRequest) Descriptor
deprecated
func (*GovernorGetEnqueuedVAAsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetEnqueuedVAAsRequest.ProtoReflect.Descriptor instead.
func (*GovernorGetEnqueuedVAAsRequest) ProtoMessage ¶
func (*GovernorGetEnqueuedVAAsRequest) ProtoMessage()
func (*GovernorGetEnqueuedVAAsRequest) ProtoReflect ¶
func (x *GovernorGetEnqueuedVAAsRequest) ProtoReflect() protoreflect.Message
func (*GovernorGetEnqueuedVAAsRequest) Reset ¶
func (x *GovernorGetEnqueuedVAAsRequest) Reset()
func (*GovernorGetEnqueuedVAAsRequest) String ¶
func (x *GovernorGetEnqueuedVAAsRequest) String() string
type GovernorGetEnqueuedVAAsResponse ¶
type GovernorGetEnqueuedVAAsResponse struct { // There is an entry for each enqueued vaa. Entries []*GovernorGetEnqueuedVAAsResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*GovernorGetEnqueuedVAAsResponse) Descriptor
deprecated
func (*GovernorGetEnqueuedVAAsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetEnqueuedVAAsResponse.ProtoReflect.Descriptor instead.
func (*GovernorGetEnqueuedVAAsResponse) GetEntries ¶
func (x *GovernorGetEnqueuedVAAsResponse) GetEntries() []*GovernorGetEnqueuedVAAsResponse_Entry
func (*GovernorGetEnqueuedVAAsResponse) ProtoMessage ¶
func (*GovernorGetEnqueuedVAAsResponse) ProtoMessage()
func (*GovernorGetEnqueuedVAAsResponse) ProtoReflect ¶
func (x *GovernorGetEnqueuedVAAsResponse) ProtoReflect() protoreflect.Message
func (*GovernorGetEnqueuedVAAsResponse) Reset ¶
func (x *GovernorGetEnqueuedVAAsResponse) Reset()
func (*GovernorGetEnqueuedVAAsResponse) String ¶
func (x *GovernorGetEnqueuedVAAsResponse) String() string
type GovernorGetEnqueuedVAAsResponse_Entry ¶
type GovernorGetEnqueuedVAAsResponse_Entry struct { EmitterChain uint32 `protobuf:"varint,1,opt,name=emitter_chain,json=emitterChain,proto3" json:"emitter_chain,omitempty"` EmitterAddress string `protobuf:"bytes,2,opt,name=emitter_address,json=emitterAddress,proto3" json:"emitter_address,omitempty"` // human-readable hex-encoded (leading 0x) Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` ReleaseTime uint32 `protobuf:"varint,4,opt,name=release_time,json=releaseTime,proto3" json:"release_time,omitempty"` NotionalValue uint64 `protobuf:"varint,5,opt,name=notional_value,json=notionalValue,proto3" json:"notional_value,omitempty"` TxHash string `protobuf:"bytes,6,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // contains filtered or unexported fields }
func (*GovernorGetEnqueuedVAAsResponse_Entry) Descriptor
deprecated
func (*GovernorGetEnqueuedVAAsResponse_Entry) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetEnqueuedVAAsResponse_Entry.ProtoReflect.Descriptor instead.
func (*GovernorGetEnqueuedVAAsResponse_Entry) GetEmitterAddress ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetEmitterAddress() string
func (*GovernorGetEnqueuedVAAsResponse_Entry) GetEmitterChain ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetEmitterChain() uint32
func (*GovernorGetEnqueuedVAAsResponse_Entry) GetNotionalValue ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetNotionalValue() uint64
func (*GovernorGetEnqueuedVAAsResponse_Entry) GetReleaseTime ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetReleaseTime() uint32
func (*GovernorGetEnqueuedVAAsResponse_Entry) GetSequence ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetSequence() uint64
func (*GovernorGetEnqueuedVAAsResponse_Entry) GetTxHash ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) GetTxHash() string
func (*GovernorGetEnqueuedVAAsResponse_Entry) ProtoMessage ¶
func (*GovernorGetEnqueuedVAAsResponse_Entry) ProtoMessage()
func (*GovernorGetEnqueuedVAAsResponse_Entry) ProtoReflect ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) ProtoReflect() protoreflect.Message
func (*GovernorGetEnqueuedVAAsResponse_Entry) Reset ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) Reset()
func (*GovernorGetEnqueuedVAAsResponse_Entry) String ¶
func (x *GovernorGetEnqueuedVAAsResponse_Entry) String() string
type GovernorGetTokenListRequest ¶
type GovernorGetTokenListRequest struct {
// contains filtered or unexported fields
}
func (*GovernorGetTokenListRequest) Descriptor
deprecated
func (*GovernorGetTokenListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetTokenListRequest.ProtoReflect.Descriptor instead.
func (*GovernorGetTokenListRequest) ProtoMessage ¶
func (*GovernorGetTokenListRequest) ProtoMessage()
func (*GovernorGetTokenListRequest) ProtoReflect ¶
func (x *GovernorGetTokenListRequest) ProtoReflect() protoreflect.Message
func (*GovernorGetTokenListRequest) Reset ¶
func (x *GovernorGetTokenListRequest) Reset()
func (*GovernorGetTokenListRequest) String ¶
func (x *GovernorGetTokenListRequest) String() string
type GovernorGetTokenListResponse ¶
type GovernorGetTokenListResponse struct { // There is an entry for each token that applies to the notional TVL calcuation. Entries []*GovernorGetTokenListResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*GovernorGetTokenListResponse) Descriptor
deprecated
func (*GovernorGetTokenListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetTokenListResponse.ProtoReflect.Descriptor instead.
func (*GovernorGetTokenListResponse) GetEntries ¶
func (x *GovernorGetTokenListResponse) GetEntries() []*GovernorGetTokenListResponse_Entry
func (*GovernorGetTokenListResponse) ProtoMessage ¶
func (*GovernorGetTokenListResponse) ProtoMessage()
func (*GovernorGetTokenListResponse) ProtoReflect ¶
func (x *GovernorGetTokenListResponse) ProtoReflect() protoreflect.Message
func (*GovernorGetTokenListResponse) Reset ¶
func (x *GovernorGetTokenListResponse) Reset()
func (*GovernorGetTokenListResponse) String ¶
func (x *GovernorGetTokenListResponse) String() string
type GovernorGetTokenListResponse_Entry ¶
type GovernorGetTokenListResponse_Entry struct { OriginChainId uint32 `protobuf:"varint,1,opt,name=origin_chain_id,json=originChainId,proto3" json:"origin_chain_id,omitempty"` OriginAddress string `protobuf:"bytes,2,opt,name=origin_address,json=originAddress,proto3" json:"origin_address,omitempty"` // human-readable hex-encoded (leading 0x) Price float32 `protobuf:"fixed32,3,opt,name=price,proto3" json:"price,omitempty"` // contains filtered or unexported fields }
func (*GovernorGetTokenListResponse_Entry) Descriptor
deprecated
func (*GovernorGetTokenListResponse_Entry) Descriptor() ([]byte, []int)
Deprecated: Use GovernorGetTokenListResponse_Entry.ProtoReflect.Descriptor instead.
func (*GovernorGetTokenListResponse_Entry) GetOriginAddress ¶
func (x *GovernorGetTokenListResponse_Entry) GetOriginAddress() string
func (*GovernorGetTokenListResponse_Entry) GetOriginChainId ¶
func (x *GovernorGetTokenListResponse_Entry) GetOriginChainId() uint32
func (*GovernorGetTokenListResponse_Entry) GetPrice ¶
func (x *GovernorGetTokenListResponse_Entry) GetPrice() float32
func (*GovernorGetTokenListResponse_Entry) ProtoMessage ¶
func (*GovernorGetTokenListResponse_Entry) ProtoMessage()
func (*GovernorGetTokenListResponse_Entry) ProtoReflect ¶
func (x *GovernorGetTokenListResponse_Entry) ProtoReflect() protoreflect.Message
func (*GovernorGetTokenListResponse_Entry) Reset ¶
func (x *GovernorGetTokenListResponse_Entry) Reset()
func (*GovernorGetTokenListResponse_Entry) String ¶
func (x *GovernorGetTokenListResponse_Entry) String() string
type GovernorIsVAAEnqueuedRequest ¶
type GovernorIsVAAEnqueuedRequest struct { MessageId *MessageID `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*GovernorIsVAAEnqueuedRequest) Descriptor
deprecated
func (*GovernorIsVAAEnqueuedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GovernorIsVAAEnqueuedRequest.ProtoReflect.Descriptor instead.
func (*GovernorIsVAAEnqueuedRequest) GetMessageId ¶
func (x *GovernorIsVAAEnqueuedRequest) GetMessageId() *MessageID
func (*GovernorIsVAAEnqueuedRequest) ProtoMessage ¶
func (*GovernorIsVAAEnqueuedRequest) ProtoMessage()
func (*GovernorIsVAAEnqueuedRequest) ProtoReflect ¶
func (x *GovernorIsVAAEnqueuedRequest) ProtoReflect() protoreflect.Message
func (*GovernorIsVAAEnqueuedRequest) Reset ¶
func (x *GovernorIsVAAEnqueuedRequest) Reset()
func (*GovernorIsVAAEnqueuedRequest) String ¶
func (x *GovernorIsVAAEnqueuedRequest) String() string
type GovernorIsVAAEnqueuedResponse ¶
type GovernorIsVAAEnqueuedResponse struct { IsEnqueued bool `protobuf:"varint,1,opt,name=is_enqueued,json=isEnqueued,proto3" json:"is_enqueued,omitempty"` // contains filtered or unexported fields }
func (*GovernorIsVAAEnqueuedResponse) Descriptor
deprecated
func (*GovernorIsVAAEnqueuedResponse) Descriptor() ([]byte, []int)
Deprecated: Use GovernorIsVAAEnqueuedResponse.ProtoReflect.Descriptor instead.
func (*GovernorIsVAAEnqueuedResponse) GetIsEnqueued ¶
func (x *GovernorIsVAAEnqueuedResponse) GetIsEnqueued() bool
func (*GovernorIsVAAEnqueuedResponse) ProtoMessage ¶
func (*GovernorIsVAAEnqueuedResponse) ProtoMessage()
func (*GovernorIsVAAEnqueuedResponse) ProtoReflect ¶
func (x *GovernorIsVAAEnqueuedResponse) ProtoReflect() protoreflect.Message
func (*GovernorIsVAAEnqueuedResponse) Reset ¶
func (x *GovernorIsVAAEnqueuedResponse) Reset()
func (*GovernorIsVAAEnqueuedResponse) String ¶
func (x *GovernorIsVAAEnqueuedResponse) String() string
type GuardianSet ¶
type GuardianSet struct { // Guardian set index Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // List of guardian addresses as human-readable hex-encoded (leading 0x) addresses. Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` // contains filtered or unexported fields }
func (*GuardianSet) Descriptor
deprecated
func (*GuardianSet) Descriptor() ([]byte, []int)
Deprecated: Use GuardianSet.ProtoReflect.Descriptor instead.
func (*GuardianSet) GetAddresses ¶
func (x *GuardianSet) GetAddresses() []string
func (*GuardianSet) GetIndex ¶
func (x *GuardianSet) GetIndex() uint32
func (*GuardianSet) ProtoMessage ¶
func (*GuardianSet) ProtoMessage()
func (*GuardianSet) ProtoReflect ¶
func (x *GuardianSet) ProtoReflect() protoreflect.Message
func (*GuardianSet) Reset ¶
func (x *GuardianSet) Reset()
func (*GuardianSet) String ¶
func (x *GuardianSet) String() string
type MessageID ¶
type MessageID struct { // Emitter chain ID. EmitterChain ChainID `protobuf:"varint,1,opt,name=emitter_chain,json=emitterChain,proto3,enum=publicrpc.v1.ChainID" json:"emitter_chain,omitempty"` // Hex-encoded (without leading 0x) emitter address. EmitterAddress string `protobuf:"bytes,2,opt,name=emitter_address,json=emitterAddress,proto3" json:"emitter_address,omitempty"` // Sequence number for (emitter_chain, emitter_address). Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
MessageID is a VAA's globally unique identifier (see data availability design document).
func (*MessageID) Descriptor
deprecated
func (*MessageID) GetEmitterAddress ¶
func (*MessageID) GetEmitterChain ¶
func (*MessageID) GetSequence ¶
func (*MessageID) ProtoMessage ¶
func (*MessageID) ProtoMessage()
func (*MessageID) ProtoReflect ¶
func (x *MessageID) ProtoReflect() protoreflect.Message
type PublicRPCServiceClient ¶
type PublicRPCServiceClient interface { // GetLastHeartbeats returns the last heartbeat received for each guardian node in the // node's active guardian set. Heartbeats received by nodes not in the guardian set are ignored. // The heartbeat value is null if no heartbeat has yet been received. GetLastHeartbeats(ctx context.Context, in *GetLastHeartbeatsRequest, opts ...grpc.CallOption) (*GetLastHeartbeatsResponse, error) GetSignedVAA(ctx context.Context, in *GetSignedVAARequest, opts ...grpc.CallOption) (*GetSignedVAAResponse, error) GetCurrentGuardianSet(ctx context.Context, in *GetCurrentGuardianSetRequest, opts ...grpc.CallOption) (*GetCurrentGuardianSetResponse, error) GovernorGetAvailableNotionalByChain(ctx context.Context, in *GovernorGetAvailableNotionalByChainRequest, opts ...grpc.CallOption) (*GovernorGetAvailableNotionalByChainResponse, error) GovernorGetEnqueuedVAAs(ctx context.Context, in *GovernorGetEnqueuedVAAsRequest, opts ...grpc.CallOption) (*GovernorGetEnqueuedVAAsResponse, error) GovernorIsVAAEnqueued(ctx context.Context, in *GovernorIsVAAEnqueuedRequest, opts ...grpc.CallOption) (*GovernorIsVAAEnqueuedResponse, error) GovernorGetTokenList(ctx context.Context, in *GovernorGetTokenListRequest, opts ...grpc.CallOption) (*GovernorGetTokenListResponse, error) }
PublicRPCServiceClient is the client API for PublicRPCService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPublicRPCServiceClient ¶
func NewPublicRPCServiceClient(cc grpc.ClientConnInterface) PublicRPCServiceClient
type PublicRPCServiceServer ¶
type PublicRPCServiceServer interface { // GetLastHeartbeats returns the last heartbeat received for each guardian node in the // node's active guardian set. Heartbeats received by nodes not in the guardian set are ignored. // The heartbeat value is null if no heartbeat has yet been received. GetLastHeartbeats(context.Context, *GetLastHeartbeatsRequest) (*GetLastHeartbeatsResponse, error) GetSignedVAA(context.Context, *GetSignedVAARequest) (*GetSignedVAAResponse, error) GetCurrentGuardianSet(context.Context, *GetCurrentGuardianSetRequest) (*GetCurrentGuardianSetResponse, error) GovernorGetAvailableNotionalByChain(context.Context, *GovernorGetAvailableNotionalByChainRequest) (*GovernorGetAvailableNotionalByChainResponse, error) GovernorGetEnqueuedVAAs(context.Context, *GovernorGetEnqueuedVAAsRequest) (*GovernorGetEnqueuedVAAsResponse, error) GovernorIsVAAEnqueued(context.Context, *GovernorIsVAAEnqueuedRequest) (*GovernorIsVAAEnqueuedResponse, error) GovernorGetTokenList(context.Context, *GovernorGetTokenListRequest) (*GovernorGetTokenListResponse, error) // contains filtered or unexported methods }
PublicRPCServiceServer is the server API for PublicRPCService service. All implementations must embed UnimplementedPublicRPCServiceServer for forward compatibility
type UnimplementedPublicRPCServiceServer ¶
type UnimplementedPublicRPCServiceServer struct { }
UnimplementedPublicRPCServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPublicRPCServiceServer) GetCurrentGuardianSet ¶
func (UnimplementedPublicRPCServiceServer) GetCurrentGuardianSet(context.Context, *GetCurrentGuardianSetRequest) (*GetCurrentGuardianSetResponse, error)
func (UnimplementedPublicRPCServiceServer) GetLastHeartbeats ¶
func (UnimplementedPublicRPCServiceServer) GetLastHeartbeats(context.Context, *GetLastHeartbeatsRequest) (*GetLastHeartbeatsResponse, error)
func (UnimplementedPublicRPCServiceServer) GetSignedVAA ¶
func (UnimplementedPublicRPCServiceServer) GetSignedVAA(context.Context, *GetSignedVAARequest) (*GetSignedVAAResponse, error)
func (UnimplementedPublicRPCServiceServer) GovernorGetAvailableNotionalByChain ¶
func (UnimplementedPublicRPCServiceServer) GovernorGetAvailableNotionalByChain(context.Context, *GovernorGetAvailableNotionalByChainRequest) (*GovernorGetAvailableNotionalByChainResponse, error)
func (UnimplementedPublicRPCServiceServer) GovernorGetEnqueuedVAAs ¶
func (UnimplementedPublicRPCServiceServer) GovernorGetEnqueuedVAAs(context.Context, *GovernorGetEnqueuedVAAsRequest) (*GovernorGetEnqueuedVAAsResponse, error)
func (UnimplementedPublicRPCServiceServer) GovernorGetTokenList ¶
func (UnimplementedPublicRPCServiceServer) GovernorGetTokenList(context.Context, *GovernorGetTokenListRequest) (*GovernorGetTokenListResponse, error)
func (UnimplementedPublicRPCServiceServer) GovernorIsVAAEnqueued ¶
func (UnimplementedPublicRPCServiceServer) GovernorIsVAAEnqueued(context.Context, *GovernorIsVAAEnqueuedRequest) (*GovernorIsVAAEnqueuedResponse, error)
type UnsafePublicRPCServiceServer ¶
type UnsafePublicRPCServiceServer interface {
// contains filtered or unexported methods
}
UnsafePublicRPCServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PublicRPCServiceServer will result in compilation errors.