v1_1

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRegister        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRegister          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRegister = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Description

type Description struct {
	Moniker         string `protobuf:"bytes,1,opt,name=moniker,proto3" json:"moniker" yaml:"moniker"`
	Identity        string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity" yaml:"identity",omitempty`
	Website         string `protobuf:"bytes,3,opt,name=website,proto3" json:"website" yaml:"website",omitempty`
	SecurityContact string `` /* 130-byte string literal not displayed */
	Details         string `protobuf:"bytes,5,opt,name=details,proto3" json:"details" yaml:"details",omitempty`
}

func (*Description) Descriptor

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

func (*Description) Equal

func (this *Description) Equal(that interface{}) bool

func (*Description) GetDetails

func (m *Description) GetDetails() string

func (*Description) GetIdentity

func (m *Description) GetIdentity() string

func (*Description) GetMoniker

func (m *Description) GetMoniker() string

func (*Description) GetSecurityContact

func (m *Description) GetSecurityContact() string

func (*Description) GetWebsite

func (m *Description) GetWebsite() string

func (*Description) Marshal

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

func (*Description) MarshalTo

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

func (*Description) MarshalToSizedBuffer

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

func (*Description) ProtoMessage

func (*Description) ProtoMessage()

func (*Description) Reset

func (m *Description) Reset()

func (*Description) Size

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

func (*Description) String

func (m *Description) String() string

func (*Description) Unmarshal

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

func (*Description) XXX_DiscardUnknown

func (m *Description) XXX_DiscardUnknown()

func (*Description) XXX_Marshal

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

func (*Description) XXX_Merge

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

func (*Description) XXX_Size

func (m *Description) XXX_Size() int

func (*Description) XXX_Unmarshal

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

type MsgCreateMetaNode

type MsgCreateMetaNode struct {
	NetworkAddress     string      `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"`
	Pubkey             *types.Any  `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"`
	Value              types1.Coin `protobuf:"bytes,3,opt,name=value,proto3" json:"value" yaml:"value"`
	OwnerAddress       string      `protobuf:"bytes,4,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"`
	Description        Description `protobuf:"bytes,5,opt,name=description,proto3" json:"description" yaml:"description"`
	BeneficiaryAddress string      `` /* 132-byte string literal not displayed */
}

MsgCreateMetaNode encapsulates an MsgCreateMetaNodeTx transaction as an SDK message.

func (*MsgCreateMetaNode) Descriptor

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

func (*MsgCreateMetaNode) Equal

func (this *MsgCreateMetaNode) Equal(that interface{}) bool

func (*MsgCreateMetaNode) GetBeneficiaryAddress

func (m *MsgCreateMetaNode) GetBeneficiaryAddress() string

func (*MsgCreateMetaNode) GetDescription

func (m *MsgCreateMetaNode) GetDescription() Description

func (*MsgCreateMetaNode) GetNetworkAddress

func (m *MsgCreateMetaNode) GetNetworkAddress() string

func (*MsgCreateMetaNode) GetOwnerAddress

func (m *MsgCreateMetaNode) GetOwnerAddress() string

func (*MsgCreateMetaNode) GetPubkey

func (m *MsgCreateMetaNode) GetPubkey() *types.Any

func (MsgCreateMetaNode) GetSigners

func (msg MsgCreateMetaNode) GetSigners() []sdk.AccAddress

func (*MsgCreateMetaNode) GetValue

func (m *MsgCreateMetaNode) GetValue() types1.Coin

func (*MsgCreateMetaNode) Marshal

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

func (*MsgCreateMetaNode) MarshalTo

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

func (*MsgCreateMetaNode) MarshalToSizedBuffer

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

func (*MsgCreateMetaNode) ProtoMessage

func (*MsgCreateMetaNode) ProtoMessage()

func (*MsgCreateMetaNode) Reset

func (m *MsgCreateMetaNode) Reset()

func (*MsgCreateMetaNode) Size

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

func (*MsgCreateMetaNode) String

func (m *MsgCreateMetaNode) String() string

func (*MsgCreateMetaNode) Unmarshal

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

func (MsgCreateMetaNode) UnpackInterfaces

func (msg MsgCreateMetaNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (MsgCreateMetaNode) ValidateBasic

func (msg MsgCreateMetaNode) ValidateBasic() error

func (*MsgCreateMetaNode) XXX_DiscardUnknown

func (m *MsgCreateMetaNode) XXX_DiscardUnknown()

func (*MsgCreateMetaNode) XXX_Marshal

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

func (*MsgCreateMetaNode) XXX_Merge

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

func (*MsgCreateMetaNode) XXX_Size

func (m *MsgCreateMetaNode) XXX_Size() int

func (*MsgCreateMetaNode) XXX_Unmarshal

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

type MsgCreateResourceNode

type MsgCreateResourceNode struct {
	NetworkAddress     string      `protobuf:"bytes,1,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"`
	Pubkey             *types.Any  `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey" yaml:"pubkey"`
	Value              types1.Coin `protobuf:"bytes,3,opt,name=value,proto3" json:"value" yaml:"value"`
	OwnerAddress       string      `protobuf:"bytes,4,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"`
	Description        Description `protobuf:"bytes,5,opt,name=description,proto3" json:"description" yaml:"description"`
	NodeType           uint32      `protobuf:"varint,6,opt,name=node_type,json=nodeType,proto3" json:"node_type" yaml:"node_type"`
	BeneficiaryAddress string      `` /* 132-byte string literal not displayed */
}

MsgCreateResourceNode encapsulates an MsgCreateResourceNodeTx transaction as an SDK message.

func (*MsgCreateResourceNode) Descriptor

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

func (*MsgCreateResourceNode) Equal

func (this *MsgCreateResourceNode) Equal(that interface{}) bool

func (*MsgCreateResourceNode) GetBeneficiaryAddress

func (m *MsgCreateResourceNode) GetBeneficiaryAddress() string

func (*MsgCreateResourceNode) GetDescription

func (m *MsgCreateResourceNode) GetDescription() Description

func (*MsgCreateResourceNode) GetNetworkAddress

func (m *MsgCreateResourceNode) GetNetworkAddress() string

func (*MsgCreateResourceNode) GetNodeType

func (m *MsgCreateResourceNode) GetNodeType() uint32

func (*MsgCreateResourceNode) GetOwnerAddress

func (m *MsgCreateResourceNode) GetOwnerAddress() string

func (*MsgCreateResourceNode) GetPubkey

func (m *MsgCreateResourceNode) GetPubkey() *types.Any

func (MsgCreateResourceNode) GetSigners

func (msg MsgCreateResourceNode) GetSigners() []sdk.AccAddress

func (*MsgCreateResourceNode) GetValue

func (m *MsgCreateResourceNode) GetValue() types1.Coin

func (*MsgCreateResourceNode) Marshal

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

func (*MsgCreateResourceNode) MarshalTo

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

func (*MsgCreateResourceNode) MarshalToSizedBuffer

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

func (*MsgCreateResourceNode) ProtoMessage

func (*MsgCreateResourceNode) ProtoMessage()

func (*MsgCreateResourceNode) Reset

func (m *MsgCreateResourceNode) Reset()

func (*MsgCreateResourceNode) Size

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

func (*MsgCreateResourceNode) String

func (m *MsgCreateResourceNode) String() string

func (*MsgCreateResourceNode) Unmarshal

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

func (MsgCreateResourceNode) UnpackInterfaces

func (msg MsgCreateResourceNode) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (MsgCreateResourceNode) ValidateBasic

func (msg MsgCreateResourceNode) ValidateBasic() error

ValidateBasic validity check for the CreateResourceNode

func (*MsgCreateResourceNode) XXX_DiscardUnknown

func (m *MsgCreateResourceNode) XXX_DiscardUnknown()

func (*MsgCreateResourceNode) XXX_Marshal

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

func (*MsgCreateResourceNode) XXX_Merge

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

func (*MsgCreateResourceNode) XXX_Size

func (m *MsgCreateResourceNode) XXX_Size() int

func (*MsgCreateResourceNode) XXX_Unmarshal

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

type MsgUpdateMetaNode

type MsgUpdateMetaNode struct {
	Description        Description `protobuf:"bytes,1,opt,name=description,proto3" json:"description" yaml:"description"`
	NetworkAddress     string      `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"`
	OwnerAddress       string      `protobuf:"bytes,3,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"`
	BeneficiaryAddress string      `` /* 132-byte string literal not displayed */
}

MsgUpdateMetaNode defines a SDK message for updating an existing meta node.

func (*MsgUpdateMetaNode) Descriptor

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

func (*MsgUpdateMetaNode) Equal

func (this *MsgUpdateMetaNode) Equal(that interface{}) bool

func (*MsgUpdateMetaNode) GetBeneficiaryAddress

func (m *MsgUpdateMetaNode) GetBeneficiaryAddress() string

func (*MsgUpdateMetaNode) GetDescription

func (m *MsgUpdateMetaNode) GetDescription() Description

func (*MsgUpdateMetaNode) GetNetworkAddress

func (m *MsgUpdateMetaNode) GetNetworkAddress() string

func (*MsgUpdateMetaNode) GetOwnerAddress

func (m *MsgUpdateMetaNode) GetOwnerAddress() string

func (MsgUpdateMetaNode) GetSigners

func (msg MsgUpdateMetaNode) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgUpdateMetaNode) Marshal

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

func (*MsgUpdateMetaNode) MarshalTo

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

func (*MsgUpdateMetaNode) MarshalToSizedBuffer

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

func (*MsgUpdateMetaNode) ProtoMessage

func (*MsgUpdateMetaNode) ProtoMessage()

func (*MsgUpdateMetaNode) Reset

func (m *MsgUpdateMetaNode) Reset()

func (*MsgUpdateMetaNode) Size

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

func (*MsgUpdateMetaNode) String

func (m *MsgUpdateMetaNode) String() string

func (*MsgUpdateMetaNode) Unmarshal

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

func (MsgUpdateMetaNode) ValidateBasic

func (msg MsgUpdateMetaNode) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgUpdateMetaNode) XXX_DiscardUnknown

func (m *MsgUpdateMetaNode) XXX_DiscardUnknown()

func (*MsgUpdateMetaNode) XXX_Marshal

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

func (*MsgUpdateMetaNode) XXX_Merge

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

func (*MsgUpdateMetaNode) XXX_Size

func (m *MsgUpdateMetaNode) XXX_Size() int

func (*MsgUpdateMetaNode) XXX_Unmarshal

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

type MsgUpdateResourceNode

type MsgUpdateResourceNode struct {
	Description        Description `protobuf:"bytes,1,opt,name=description,proto3" json:"description" yaml:"description"`
	NetworkAddress     string      `protobuf:"bytes,2,opt,name=network_address,json=networkAddress,proto3" json:"network_address" yaml:"network_address"`
	OwnerAddress       string      `protobuf:"bytes,3,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address" yaml:"owner_address"`
	NodeType           uint32      `protobuf:"varint,4,opt,name=node_type,json=nodeType,proto3" json:"node_type" yaml:"node_type"`
	BeneficiaryAddress string      `` /* 132-byte string literal not displayed */
}

MsgUpdateResourceNode defines a SDK message for updating an existing resource node.

func (*MsgUpdateResourceNode) Descriptor

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

func (*MsgUpdateResourceNode) Equal

func (this *MsgUpdateResourceNode) Equal(that interface{}) bool

func (*MsgUpdateResourceNode) GetBeneficiaryAddress

func (m *MsgUpdateResourceNode) GetBeneficiaryAddress() string

func (*MsgUpdateResourceNode) GetDescription

func (m *MsgUpdateResourceNode) GetDescription() Description

func (*MsgUpdateResourceNode) GetNetworkAddress

func (m *MsgUpdateResourceNode) GetNetworkAddress() string

func (*MsgUpdateResourceNode) GetNodeType

func (m *MsgUpdateResourceNode) GetNodeType() uint32

func (*MsgUpdateResourceNode) GetOwnerAddress

func (m *MsgUpdateResourceNode) GetOwnerAddress() string

func (MsgUpdateResourceNode) GetSigners

func (msg MsgUpdateResourceNode) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface.

func (*MsgUpdateResourceNode) Marshal

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

func (*MsgUpdateResourceNode) MarshalTo

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

func (*MsgUpdateResourceNode) MarshalToSizedBuffer

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

func (*MsgUpdateResourceNode) ProtoMessage

func (*MsgUpdateResourceNode) ProtoMessage()

func (*MsgUpdateResourceNode) Reset

func (m *MsgUpdateResourceNode) Reset()

func (*MsgUpdateResourceNode) Size

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

func (*MsgUpdateResourceNode) String

func (m *MsgUpdateResourceNode) String() string

func (*MsgUpdateResourceNode) Unmarshal

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

func (MsgUpdateResourceNode) ValidateBasic

func (msg MsgUpdateResourceNode) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface.

func (*MsgUpdateResourceNode) XXX_DiscardUnknown

func (m *MsgUpdateResourceNode) XXX_DiscardUnknown()

func (*MsgUpdateResourceNode) XXX_Marshal

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

func (*MsgUpdateResourceNode) XXX_Merge

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

func (*MsgUpdateResourceNode) XXX_Size

func (m *MsgUpdateResourceNode) XXX_Size() int

func (*MsgUpdateResourceNode) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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