Documentation ¶
Overview ¶
Package utils nolint: interfacer
Index ¶
- Variables
- type ChainLinkJSON
- func (*ChainLinkJSON) Descriptor() ([]byte, []int)
- func (this *ChainLinkJSON) Equal(that interface{}) bool
- func (m *ChainLinkJSON) GetAddress() *types.Any
- func (m *ChainLinkJSON) GetChainConfig() types1.ChainConfig
- func (m *ChainLinkJSON) GetProof() types1.Proof
- func (m *ChainLinkJSON) Marshal() (dAtA []byte, err error)
- func (m *ChainLinkJSON) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainLinkJSON) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainLinkJSON) ProtoMessage()
- func (m *ChainLinkJSON) Reset()
- func (m *ChainLinkJSON) Size() (n int)
- func (m *ChainLinkJSON) String() string
- func (m *ChainLinkJSON) Unmarshal(dAtA []byte) error
- func (link *ChainLinkJSON) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *ChainLinkJSON) XXX_DiscardUnknown()
- func (m *ChainLinkJSON) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainLinkJSON) XXX_Merge(src proto.Message)
- func (m *ChainLinkJSON) XXX_Size() int
- func (m *ChainLinkJSON) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ChainLinkJSON ¶
type ChainLinkJSON struct { // Address contains the data of the external chain address to be connected // with the Desmos profile Address *types.Any `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"` // Proof contains the ownership proof of the external chain address Proof types1.Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof" yaml:"proof"` // ChainConfig contains the configuration of the external chain ChainConfig types1.ChainConfig `protobuf:"bytes,3,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config" yaml:"chain_config"` }
ChainLinkJSON contains the data required to create a ChainLink using the CLI command
func NewChainLinkJSON ¶
func NewChainLinkJSON(data types.AddressData, proof types.Proof, chainConfig types.ChainConfig) ChainLinkJSON
NewChainLinkJSON allows to build a new ChainLinkJSON instance
func ParseChainLinkJSON ¶
func ParseChainLinkJSON(cdc codec.Codec, dataFile string) (ChainLinkJSON, error)
ParseChainLinkJSON reads and parses a ChainLinkJSON from file.
func (*ChainLinkJSON) Descriptor ¶
func (*ChainLinkJSON) Descriptor() ([]byte, []int)
func (*ChainLinkJSON) Equal ¶
func (this *ChainLinkJSON) Equal(that interface{}) bool
func (*ChainLinkJSON) GetAddress ¶
func (m *ChainLinkJSON) GetAddress() *types.Any
func (*ChainLinkJSON) GetChainConfig ¶
func (m *ChainLinkJSON) GetChainConfig() types1.ChainConfig
func (*ChainLinkJSON) GetProof ¶
func (m *ChainLinkJSON) GetProof() types1.Proof
func (*ChainLinkJSON) Marshal ¶
func (m *ChainLinkJSON) Marshal() (dAtA []byte, err error)
func (*ChainLinkJSON) MarshalToSizedBuffer ¶
func (m *ChainLinkJSON) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainLinkJSON) ProtoMessage ¶
func (*ChainLinkJSON) ProtoMessage()
func (*ChainLinkJSON) Reset ¶
func (m *ChainLinkJSON) Reset()
func (*ChainLinkJSON) Size ¶
func (m *ChainLinkJSON) Size() (n int)
func (*ChainLinkJSON) String ¶
func (m *ChainLinkJSON) String() string
func (*ChainLinkJSON) Unmarshal ¶
func (m *ChainLinkJSON) Unmarshal(dAtA []byte) error
func (*ChainLinkJSON) UnpackInterfaces ¶
func (link *ChainLinkJSON) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements codectypes.UnpackInterfacesMessage
func (*ChainLinkJSON) XXX_DiscardUnknown ¶
func (m *ChainLinkJSON) XXX_DiscardUnknown()
func (*ChainLinkJSON) XXX_Marshal ¶
func (m *ChainLinkJSON) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainLinkJSON) XXX_Merge ¶
func (m *ChainLinkJSON) XXX_Merge(src proto.Message)
func (*ChainLinkJSON) XXX_Size ¶
func (m *ChainLinkJSON) XXX_Size() int
func (*ChainLinkJSON) XXX_Unmarshal ¶
func (m *ChainLinkJSON) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.