ibcv1alpha1

package
v8.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthIbc        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIbc          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIbc = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ClientConnections

type ClientConnections struct {
	Connections []string `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
}

func (*ClientConnections) Descriptor

func (*ClientConnections) Descriptor() ([]byte, []int)

func (*ClientConnections) GetConnections

func (m *ClientConnections) GetConnections() []string

func (*ClientConnections) Marshal

func (m *ClientConnections) Marshal() (dAtA []byte, err error)

func (*ClientConnections) MarshalTo

func (m *ClientConnections) MarshalTo(dAtA []byte) (int, error)

func (*ClientConnections) MarshalToSizedBuffer

func (m *ClientConnections) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientConnections) ProtoMessage

func (*ClientConnections) ProtoMessage()

func (*ClientConnections) Reset

func (m *ClientConnections) Reset()

func (*ClientConnections) Size

func (m *ClientConnections) Size() (n int)

func (*ClientConnections) String

func (m *ClientConnections) String() string

func (*ClientConnections) Unmarshal

func (m *ClientConnections) Unmarshal(dAtA []byte) error

func (*ClientConnections) XXX_DiscardUnknown

func (m *ClientConnections) XXX_DiscardUnknown()

func (*ClientConnections) XXX_Marshal

func (m *ClientConnections) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientConnections) XXX_Merge

func (m *ClientConnections) XXX_Merge(src proto.Message)

func (*ClientConnections) XXX_Size

func (m *ClientConnections) XXX_Size() int

func (*ClientConnections) XXX_Unmarshal

func (m *ClientConnections) XXX_Unmarshal(b []byte) error

type ClientCounter

type ClientCounter struct {
	Counter uint64 `protobuf:"varint,1,opt,name=counter,proto3" json:"counter,omitempty"`
}

func (*ClientCounter) Descriptor

func (*ClientCounter) Descriptor() ([]byte, []int)

func (*ClientCounter) GetCounter

func (m *ClientCounter) GetCounter() uint64

func (*ClientCounter) Marshal

func (m *ClientCounter) Marshal() (dAtA []byte, err error)

func (*ClientCounter) MarshalTo

func (m *ClientCounter) MarshalTo(dAtA []byte) (int, error)

func (*ClientCounter) MarshalToSizedBuffer

func (m *ClientCounter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientCounter) ProtoMessage

func (*ClientCounter) ProtoMessage()

func (*ClientCounter) Reset

func (m *ClientCounter) Reset()

func (*ClientCounter) Size

func (m *ClientCounter) Size() (n int)

func (*ClientCounter) String

func (m *ClientCounter) String() string

func (*ClientCounter) Unmarshal

func (m *ClientCounter) Unmarshal(dAtA []byte) error

func (*ClientCounter) XXX_DiscardUnknown

func (m *ClientCounter) XXX_DiscardUnknown()

func (*ClientCounter) XXX_Marshal

func (m *ClientCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientCounter) XXX_Merge

func (m *ClientCounter) XXX_Merge(src proto.Message)

func (*ClientCounter) XXX_Size

func (m *ClientCounter) XXX_Size() int

func (*ClientCounter) XXX_Unmarshal

func (m *ClientCounter) XXX_Unmarshal(b []byte) error

type ClientData

type ClientData struct {
	ClientId        string     `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientState     *types.Any `protobuf:"bytes,2,opt,name=client_state,json=clientState,proto3" json:"client_state,omitempty"`
	ProcessedTime   string     `protobuf:"bytes,3,opt,name=processed_time,json=processedTime,proto3" json:"processed_time,omitempty"`
	ProcessedHeight uint64     `protobuf:"varint,4,opt,name=processed_height,json=processedHeight,proto3" json:"processed_height,omitempty"`
}

func (*ClientData) Descriptor

func (*ClientData) Descriptor() ([]byte, []int)

func (*ClientData) GetClientId

func (m *ClientData) GetClientId() string

func (*ClientData) GetClientState

func (m *ClientData) GetClientState() *types.Any

func (*ClientData) GetProcessedHeight

func (m *ClientData) GetProcessedHeight() uint64

func (*ClientData) GetProcessedTime

func (m *ClientData) GetProcessedTime() string

func (*ClientData) Marshal

func (m *ClientData) Marshal() (dAtA []byte, err error)

func (*ClientData) MarshalTo

func (m *ClientData) MarshalTo(dAtA []byte) (int, error)

func (*ClientData) MarshalToSizedBuffer

func (m *ClientData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientData) ProtoMessage

func (*ClientData) ProtoMessage()

func (*ClientData) Reset

func (m *ClientData) Reset()

func (*ClientData) Size

func (m *ClientData) Size() (n int)

func (*ClientData) String

func (m *ClientData) String() string

func (*ClientData) Unmarshal

func (m *ClientData) Unmarshal(dAtA []byte) error

func (*ClientData) XXX_DiscardUnknown

func (m *ClientData) XXX_DiscardUnknown()

func (*ClientData) XXX_Marshal

func (m *ClientData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientData) XXX_Merge

func (m *ClientData) XXX_Merge(src proto.Message)

func (*ClientData) XXX_Size

func (m *ClientData) XXX_Size() int

func (*ClientData) XXX_Unmarshal

func (m *ClientData) XXX_Unmarshal(b []byte) error

type ConnectionCounter

type ConnectionCounter struct {
	Counter uint64 `protobuf:"varint,1,opt,name=counter,proto3" json:"counter,omitempty"`
}

func (*ConnectionCounter) Descriptor

func (*ConnectionCounter) Descriptor() ([]byte, []int)

func (*ConnectionCounter) GetCounter

func (m *ConnectionCounter) GetCounter() uint64

func (*ConnectionCounter) Marshal

func (m *ConnectionCounter) Marshal() (dAtA []byte, err error)

func (*ConnectionCounter) MarshalTo

func (m *ConnectionCounter) MarshalTo(dAtA []byte) (int, error)

func (*ConnectionCounter) MarshalToSizedBuffer

func (m *ConnectionCounter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConnectionCounter) ProtoMessage

func (*ConnectionCounter) ProtoMessage()

func (*ConnectionCounter) Reset

func (m *ConnectionCounter) Reset()

func (*ConnectionCounter) Size

func (m *ConnectionCounter) Size() (n int)

func (*ConnectionCounter) String

func (m *ConnectionCounter) String() string

func (*ConnectionCounter) Unmarshal

func (m *ConnectionCounter) Unmarshal(dAtA []byte) error

func (*ConnectionCounter) XXX_DiscardUnknown

func (m *ConnectionCounter) XXX_DiscardUnknown()

func (*ConnectionCounter) XXX_Marshal

func (m *ConnectionCounter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectionCounter) XXX_Merge

func (m *ConnectionCounter) XXX_Merge(src proto.Message)

func (*ConnectionCounter) XXX_Size

func (m *ConnectionCounter) XXX_Size() int

func (*ConnectionCounter) XXX_Unmarshal

func (m *ConnectionCounter) XXX_Unmarshal(b []byte) error

type ConsensusState

type ConsensusState struct {
	ConsensusState *types.Any `protobuf:"bytes,1,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"`
}

func (*ConsensusState) Descriptor

func (*ConsensusState) Descriptor() ([]byte, []int)

func (*ConsensusState) GetConsensusState

func (m *ConsensusState) GetConsensusState() *types.Any

func (*ConsensusState) Marshal

func (m *ConsensusState) Marshal() (dAtA []byte, err error)

func (*ConsensusState) MarshalTo

func (m *ConsensusState) MarshalTo(dAtA []byte) (int, error)

func (*ConsensusState) MarshalToSizedBuffer

func (m *ConsensusState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsensusState) ProtoMessage

func (*ConsensusState) ProtoMessage()

func (*ConsensusState) Reset

func (m *ConsensusState) Reset()

func (*ConsensusState) Size

func (m *ConsensusState) Size() (n int)

func (*ConsensusState) String

func (m *ConsensusState) String() string

func (*ConsensusState) Unmarshal

func (m *ConsensusState) Unmarshal(dAtA []byte) error

func (*ConsensusState) XXX_DiscardUnknown

func (m *ConsensusState) XXX_DiscardUnknown()

func (*ConsensusState) XXX_Marshal

func (m *ConsensusState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsensusState) XXX_Merge

func (m *ConsensusState) XXX_Merge(src proto.Message)

func (*ConsensusState) XXX_Size

func (m *ConsensusState) XXX_Size() int

func (*ConsensusState) XXX_Unmarshal

func (m *ConsensusState) XXX_Unmarshal(b []byte) error

type FungibleTokenPacketData

type FungibleTokenPacketData struct {
	// the token denomination to be transferred
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// the token amount to be transferred
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// the sender address
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// the recipient address on the destination chain
	Receiver string `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"`
}

FungibleTokenPacketData defines a struct for the packet payload See FungibleTokenPacketData spec: https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures

func (*FungibleTokenPacketData) Descriptor

func (*FungibleTokenPacketData) Descriptor() ([]byte, []int)

func (*FungibleTokenPacketData) GetAmount

func (m *FungibleTokenPacketData) GetAmount() string

func (*FungibleTokenPacketData) GetDenom

func (m *FungibleTokenPacketData) GetDenom() string

func (*FungibleTokenPacketData) GetReceiver

func (m *FungibleTokenPacketData) GetReceiver() string

func (*FungibleTokenPacketData) GetSender

func (m *FungibleTokenPacketData) GetSender() string

func (*FungibleTokenPacketData) Marshal

func (m *FungibleTokenPacketData) Marshal() (dAtA []byte, err error)

func (*FungibleTokenPacketData) MarshalTo

func (m *FungibleTokenPacketData) MarshalTo(dAtA []byte) (int, error)

func (*FungibleTokenPacketData) MarshalToSizedBuffer

func (m *FungibleTokenPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FungibleTokenPacketData) ProtoMessage

func (*FungibleTokenPacketData) ProtoMessage()

func (*FungibleTokenPacketData) Reset

func (m *FungibleTokenPacketData) Reset()

func (*FungibleTokenPacketData) Size

func (m *FungibleTokenPacketData) Size() (n int)

func (*FungibleTokenPacketData) String

func (m *FungibleTokenPacketData) String() string

func (*FungibleTokenPacketData) Unmarshal

func (m *FungibleTokenPacketData) Unmarshal(dAtA []byte) error

func (*FungibleTokenPacketData) XXX_DiscardUnknown

func (m *FungibleTokenPacketData) XXX_DiscardUnknown()

func (*FungibleTokenPacketData) XXX_Marshal

func (m *FungibleTokenPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FungibleTokenPacketData) XXX_Merge

func (m *FungibleTokenPacketData) XXX_Merge(src proto.Message)

func (*FungibleTokenPacketData) XXX_Size

func (m *FungibleTokenPacketData) XXX_Size() int

func (*FungibleTokenPacketData) XXX_Unmarshal

func (m *FungibleTokenPacketData) XXX_Unmarshal(b []byte) error

type IbcAction

type IbcAction struct {
	//
	//oneof action {
	//.ibc.core.connection.v1.MsgConnectionOpenInit connection_open_init = 1;
	//.ibc.core.connection.v1.MsgConnectionOpenTry connection_open_try = 2;
	//.ibc.core.connection.v1.MsgConnectionOpenAck connection_open_ack = 3;
	//.ibc.core.connection.v1.MsgConnectionOpenConfirm connection_open_confirm = 4;
	//
	//.ibc.core.channel.v1.MsgChannelOpenInit channel_open_init = 5;
	//.ibc.core.channel.v1.MsgChannelOpenTry channel_open_try = 6;
	//.ibc.core.channel.v1.MsgChannelOpenAck channel_open_ack = 7;
	//.ibc.core.channel.v1.MsgChannelOpenConfirm channel_open_confirm = 8;
	//.ibc.core.channel.v1.MsgChannelCloseInit channel_close_init = 9;
	//.ibc.core.channel.v1.MsgChannelCloseConfirm channel_close_confirm = 10;
	//
	//.ibc.core.channel.v1.MsgRecvPacket recv_packet = 11;
	//.ibc.core.channel.v1.MsgTimeout timeout = 12;
	//.ibc.core.channel.v1.MsgAcknowledgement acknowledgement = 13;
	//
	//.ibc.core.client.v1.MsgCreateClient create_client = 14;
	//.ibc.core.client.v1.MsgUpdateClient update_client = 15;
	//.ibc.core.client.v1.MsgUpgradeClient upgrade_client = 16;
	//.ibc.core.client.v1.MsgSubmitMisbehaviour submit_misbehaviour = 17;
	//}
	RawAction *types.Any `protobuf:"bytes,1,opt,name=raw_action,json=rawAction,proto3" json:"raw_action,omitempty"`
}

func (*IbcAction) Descriptor

func (*IbcAction) Descriptor() ([]byte, []int)

func (*IbcAction) GetRawAction

func (m *IbcAction) GetRawAction() *types.Any

func (*IbcAction) Marshal

func (m *IbcAction) Marshal() (dAtA []byte, err error)

func (*IbcAction) MarshalTo

func (m *IbcAction) MarshalTo(dAtA []byte) (int, error)

func (*IbcAction) MarshalToSizedBuffer

func (m *IbcAction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IbcAction) ProtoMessage

func (*IbcAction) ProtoMessage()

func (*IbcAction) Reset

func (m *IbcAction) Reset()

func (*IbcAction) Size

func (m *IbcAction) Size() (n int)

func (*IbcAction) String

func (m *IbcAction) String() string

func (*IbcAction) Unmarshal

func (m *IbcAction) Unmarshal(dAtA []byte) error

func (*IbcAction) XXX_DiscardUnknown

func (m *IbcAction) XXX_DiscardUnknown()

func (*IbcAction) XXX_Marshal

func (m *IbcAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IbcAction) XXX_Merge

func (m *IbcAction) XXX_Merge(src proto.Message)

func (*IbcAction) XXX_Size

func (m *IbcAction) XXX_Size() int

func (*IbcAction) XXX_Unmarshal

func (m *IbcAction) XXX_Unmarshal(b []byte) error

type Ics20Withdrawal

type Ics20Withdrawal struct {
	Amount *v1alpha1.Amount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom  *v1alpha1.Denom  `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	// the address on the destination chain to send the transfer to
	DestinationChainAddress string `` /* 132-byte string literal not displayed */
	// a "sender" penumbra address to use to return funds from this withdrawal.
	// this should be an ephemeral address
	ReturnAddress *v1alpha1.Address `protobuf:"bytes,4,opt,name=return_address,json=returnAddress,proto3" json:"return_address,omitempty"`
	// the height (on Penumbra) at which this transfer expires (and funds are sent
	// back to the sender address?). NOTE: if funds are sent back to the sender,
	// we MUST verify a nonexistence proof before accepting the timeout, to
	// prevent relayer censorship attacks. The core IBC implementation does this
	// in its handling of validation of timeouts.
	TimeoutHeight uint64 `protobuf:"varint,5,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
	// the timestamp at which this transfer expires.
	TimeoutTime uint64 `protobuf:"varint,6,opt,name=timeout_time,json=timeoutTime,proto3" json:"timeout_time,omitempty"`
	// the source channel used for the withdrawal
	SourceChannel string `protobuf:"bytes,7,opt,name=source_channel,json=sourceChannel,proto3" json:"source_channel,omitempty"`
}

func (*Ics20Withdrawal) Descriptor

func (*Ics20Withdrawal) Descriptor() ([]byte, []int)

func (*Ics20Withdrawal) GetAmount

func (m *Ics20Withdrawal) GetAmount() *v1alpha1.Amount

func (*Ics20Withdrawal) GetDenom

func (m *Ics20Withdrawal) GetDenom() *v1alpha1.Denom

func (*Ics20Withdrawal) GetDestinationChainAddress

func (m *Ics20Withdrawal) GetDestinationChainAddress() string

func (*Ics20Withdrawal) GetReturnAddress

func (m *Ics20Withdrawal) GetReturnAddress() *v1alpha1.Address

func (*Ics20Withdrawal) GetSourceChannel

func (m *Ics20Withdrawal) GetSourceChannel() string

func (*Ics20Withdrawal) GetTimeoutHeight

func (m *Ics20Withdrawal) GetTimeoutHeight() uint64

func (*Ics20Withdrawal) GetTimeoutTime

func (m *Ics20Withdrawal) GetTimeoutTime() uint64

func (*Ics20Withdrawal) Marshal

func (m *Ics20Withdrawal) Marshal() (dAtA []byte, err error)

func (*Ics20Withdrawal) MarshalTo

func (m *Ics20Withdrawal) MarshalTo(dAtA []byte) (int, error)

func (*Ics20Withdrawal) MarshalToSizedBuffer

func (m *Ics20Withdrawal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Ics20Withdrawal) ProtoMessage

func (*Ics20Withdrawal) ProtoMessage()

func (*Ics20Withdrawal) Reset

func (m *Ics20Withdrawal) Reset()

func (*Ics20Withdrawal) Size

func (m *Ics20Withdrawal) Size() (n int)

func (*Ics20Withdrawal) String

func (m *Ics20Withdrawal) String() string

func (*Ics20Withdrawal) Unmarshal

func (m *Ics20Withdrawal) Unmarshal(dAtA []byte) error

func (*Ics20Withdrawal) XXX_DiscardUnknown

func (m *Ics20Withdrawal) XXX_DiscardUnknown()

func (*Ics20Withdrawal) XXX_Marshal

func (m *Ics20Withdrawal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ics20Withdrawal) XXX_Merge

func (m *Ics20Withdrawal) XXX_Merge(src proto.Message)

func (*Ics20Withdrawal) XXX_Size

func (m *Ics20Withdrawal) XXX_Size() int

func (*Ics20Withdrawal) XXX_Unmarshal

func (m *Ics20Withdrawal) XXX_Unmarshal(b []byte) error

type VerifiedHeights

type VerifiedHeights struct {
	Heights []*types1.Height `protobuf:"bytes,1,rep,name=heights,proto3" json:"heights,omitempty"`
}

func (*VerifiedHeights) Descriptor

func (*VerifiedHeights) Descriptor() ([]byte, []int)

func (*VerifiedHeights) GetHeights

func (m *VerifiedHeights) GetHeights() []*types1.Height

func (*VerifiedHeights) Marshal

func (m *VerifiedHeights) Marshal() (dAtA []byte, err error)

func (*VerifiedHeights) MarshalTo

func (m *VerifiedHeights) MarshalTo(dAtA []byte) (int, error)

func (*VerifiedHeights) MarshalToSizedBuffer

func (m *VerifiedHeights) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifiedHeights) ProtoMessage

func (*VerifiedHeights) ProtoMessage()

func (*VerifiedHeights) Reset

func (m *VerifiedHeights) Reset()

func (*VerifiedHeights) Size

func (m *VerifiedHeights) Size() (n int)

func (*VerifiedHeights) String

func (m *VerifiedHeights) String() string

func (*VerifiedHeights) Unmarshal

func (m *VerifiedHeights) Unmarshal(dAtA []byte) error

func (*VerifiedHeights) XXX_DiscardUnknown

func (m *VerifiedHeights) XXX_DiscardUnknown()

func (*VerifiedHeights) XXX_Marshal

func (m *VerifiedHeights) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifiedHeights) XXX_Merge

func (m *VerifiedHeights) XXX_Merge(src proto.Message)

func (*VerifiedHeights) XXX_Size

func (m *VerifiedHeights) XXX_Size() int

func (*VerifiedHeights) XXX_Unmarshal

func (m *VerifiedHeights) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL