types

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: LGPL-3.0 Imports: 38 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeSetRecord            = "set"
	EventTypeDeleteName           = "delete-name"
	EventTypeReserveNameAuthority = "reserve-authority"
	EventTypeAuthorityBond        = "authority-bond"
	EventTypeRenewRecord          = "renew-record"
	EventTypeAssociateBond        = "associate-bond"
	EventTypeDissociateBond       = "dissociate-bond"
	EventTypeDissociateRecords    = "dissociate-record"
	EventTypeReAssociateRecords   = "re-associate-records"

	AttributeKeySigner     = "signer"
	AttributeKeyOwner      = "owner"
	AttributeKeyBondID     = "bond-id"
	AttributeKeyPayload    = "payload"
	AttributeKeyOldBondID  = "old-bond-id"
	AttributeKeyNewBondID  = "new-bond-id"
	AttributeKeyCID        = "cid"
	AttributeKeyName       = "name"
	AttributeKeyCRN        = "crn"
	AttributeKeyRecordID   = "record-id"
	AttributeValueCategory = ModuleName
)
View Source
const (
	// ModuleName is the name of the staking module
	ModuleName = "registry"

	// RecordRentModuleAccountName is the name of the module account that keeps track of record rents paid.
	RecordRentModuleAccountName = "record_rent"

	// AuthorityRentModuleAccountName is the name of the module account that keeps track of authority rents paid.
	AuthorityRentModuleAccountName = "authority_rent"

	// StoreKey is the string store representation
	StoreKey = ModuleName

	// QuerierRoute is the querier route for the staking module
	QuerierRoute = ModuleName

	// RouterKey is the msg router key for the staking module
	RouterKey = ModuleName
)
View Source
const (
	AuthorityActive       = "active"
	AuthorityExpired      = "expired"
	AuthorityUnderAuction = "auction"
)

Variables

View Source
var (
	ErrInvalidLengthAttributes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAttributes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAttributes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// DefaultRecordRent is the default record rent for 1 time period (see expiry time).
	DefaultRecordRent = sdk.NewInt(1000000)

	// DefaultRecordExpiryTime is the default record expiry time (1 year).
	DefaultRecordExpiryTime = time.Hour * 24 * 365

	DefaultAuthorityRent        = sdk.NewInt(1000000)
	DefaultAuthorityExpiryTime  = time.Hour * 24 * 365
	DefaultAuthorityGracePeriod = time.Hour * 24 * 2

	DefaultAuthorityAuctionEnabled = false
	DefaultCommitsDuration         = time.Hour * 24
	DefaultRevealsDuration         = time.Hour * 24
	DefaultCommitFee               = sdk.NewInt(1000000)
	DefaultRevealFee               = sdk.NewInt(1000000)
	DefaultMinimumBid              = sdk.NewInt(5000000)
)

Default parameter values.

View Source
var (
	KeyRecordRent         = []byte("RecordRent")
	KeyRecordRentDuration = []byte("RecordRentDuration")

	KeyAuthorityRent         = []byte("AuthorityRent")
	KeyAuthorityRentDuration = []byte("AuthorityRentDuration")
	KeyAuthorityGracePeriod  = []byte("AuthorityGracePeriod")

	KeyAuthorityAuctionEnabled = []byte("AuthorityAuctionEnabled")
	KeyCommitsDuration         = []byte("AuthorityAuctionCommitsDuration")
	KeyRevealsDuration         = []byte("AuthorityAuctionRevealsDuration")
	KeyCommitFee               = []byte("AuthorityAuctionCommitFee")
	KeyRevealFee               = []byte("AuthorityAuctionRevealFee")
	KeyMinimumBid              = []byte("AuthorityAuctionMinimumBid")
)

Keys for parameter access

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRegistry        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRegistry          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRegistry = 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")
)
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func GetJSONBytesFromAny

func GetJSONBytesFromAny(any codectypes.Any) ([]byte, error)

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable ParamTable for staking module

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/bond interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer 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 RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateGenesis

func ValidateGenesis(data GenesisState) error

Types

type AccountBalance

type AccountBalance struct {
	AccountName string                                   `` /* 132-byte string literal not displayed */
	Balance     github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */
}

AccountBalance is registry module account balance

func (*AccountBalance) Descriptor

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

func (*AccountBalance) GetAccountName

func (m *AccountBalance) GetAccountName() string

func (*AccountBalance) GetBalance

func (*AccountBalance) Marshal

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

func (*AccountBalance) MarshalTo

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

func (*AccountBalance) MarshalToSizedBuffer

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

func (*AccountBalance) ProtoMessage

func (*AccountBalance) ProtoMessage()

func (*AccountBalance) Reset

func (m *AccountBalance) Reset()

func (*AccountBalance) Size

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

func (*AccountBalance) String

func (m *AccountBalance) String() string

func (*AccountBalance) Unmarshal

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

func (*AccountBalance) XXX_DiscardUnknown

func (m *AccountBalance) XXX_DiscardUnknown()

func (*AccountBalance) XXX_Marshal

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

func (*AccountBalance) XXX_Merge

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

func (*AccountBalance) XXX_Size

func (m *AccountBalance) XXX_Size() int

func (*AccountBalance) XXX_Unmarshal

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

type Attributes

type Attributes interface {
	GetType() string
}

type AuctionBidInfo

type AuctionBidInfo struct {
	AuctionId     string `protobuf:"bytes,1,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" json:"auctionID" yaml:"auctionID"`
	BidderAddress string `` /* 142-byte string literal not displayed */
}

AuctionBidInfo

func (*AuctionBidInfo) Descriptor

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

func (*AuctionBidInfo) GetAuctionId

func (m *AuctionBidInfo) GetAuctionId() string

func (*AuctionBidInfo) GetBidderAddress

func (m *AuctionBidInfo) GetBidderAddress() string

func (*AuctionBidInfo) Marshal

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

func (*AuctionBidInfo) MarshalTo

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

func (*AuctionBidInfo) MarshalToSizedBuffer

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

func (*AuctionBidInfo) ProtoMessage

func (*AuctionBidInfo) ProtoMessage()

func (*AuctionBidInfo) Reset

func (m *AuctionBidInfo) Reset()

func (*AuctionBidInfo) Size

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

func (*AuctionBidInfo) String

func (m *AuctionBidInfo) String() string

func (*AuctionBidInfo) Unmarshal

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

func (*AuctionBidInfo) XXX_DiscardUnknown

func (m *AuctionBidInfo) XXX_DiscardUnknown()

func (*AuctionBidInfo) XXX_Marshal

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

func (*AuctionBidInfo) XXX_Merge

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

func (*AuctionBidInfo) XXX_Size

func (m *AuctionBidInfo) XXX_Size() int

func (*AuctionBidInfo) XXX_Unmarshal

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

type AuthorityEntry

type AuthorityEntry struct {
	Name  string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Entry *NameAuthority `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
}

AuthorityEntry defines the registry module AuthorityEntries

func (*AuthorityEntry) Descriptor

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

func (*AuthorityEntry) GetEntry

func (m *AuthorityEntry) GetEntry() *NameAuthority

func (*AuthorityEntry) GetName

func (m *AuthorityEntry) GetName() string

func (*AuthorityEntry) Marshal

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

func (*AuthorityEntry) MarshalTo

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

func (*AuthorityEntry) MarshalToSizedBuffer

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

func (*AuthorityEntry) ProtoMessage

func (*AuthorityEntry) ProtoMessage()

func (*AuthorityEntry) Reset

func (m *AuthorityEntry) Reset()

func (*AuthorityEntry) Size

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

func (*AuthorityEntry) String

func (m *AuthorityEntry) String() string

func (*AuthorityEntry) Unmarshal

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

func (*AuthorityEntry) XXX_DiscardUnknown

func (m *AuthorityEntry) XXX_DiscardUnknown()

func (*AuthorityEntry) XXX_Marshal

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

func (*AuthorityEntry) XXX_Merge

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

func (*AuthorityEntry) XXX_Size

func (m *AuthorityEntry) XXX_Size() int

func (*AuthorityEntry) XXX_Unmarshal

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

type BlockChangeSet

type BlockChangeSet struct {
	Height      int64             `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Records     []string          `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"`
	Auctions    []string          `protobuf:"bytes,3,rep,name=auctions,proto3" json:"auctions,omitempty"`
	AuctionBids []*AuctionBidInfo `` /* 132-byte string literal not displayed */
	Authorities []string          `protobuf:"bytes,5,rep,name=authorities,proto3" json:"authorities,omitempty"`
	Names       []string          `protobuf:"bytes,6,rep,name=names,proto3" json:"names,omitempty"`
}

BlockChangeSet

func (*BlockChangeSet) Descriptor

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

func (*BlockChangeSet) GetAuctionBids

func (m *BlockChangeSet) GetAuctionBids() []*AuctionBidInfo

func (*BlockChangeSet) GetAuctions

func (m *BlockChangeSet) GetAuctions() []string

func (*BlockChangeSet) GetAuthorities

func (m *BlockChangeSet) GetAuthorities() []string

func (*BlockChangeSet) GetHeight

func (m *BlockChangeSet) GetHeight() int64

func (*BlockChangeSet) GetNames

func (m *BlockChangeSet) GetNames() []string

func (*BlockChangeSet) GetRecords

func (m *BlockChangeSet) GetRecords() []string

func (*BlockChangeSet) Marshal

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

func (*BlockChangeSet) MarshalTo

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

func (*BlockChangeSet) MarshalToSizedBuffer

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

func (*BlockChangeSet) ProtoMessage

func (*BlockChangeSet) ProtoMessage()

func (*BlockChangeSet) Reset

func (m *BlockChangeSet) Reset()

func (*BlockChangeSet) Size

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

func (*BlockChangeSet) String

func (m *BlockChangeSet) String() string

func (*BlockChangeSet) Unmarshal

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

func (*BlockChangeSet) XXX_DiscardUnknown

func (m *BlockChangeSet) XXX_DiscardUnknown()

func (*BlockChangeSet) XXX_Marshal

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

func (*BlockChangeSet) XXX_Merge

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

func (*BlockChangeSet) XXX_Size

func (m *BlockChangeSet) XXX_Size() int

func (*BlockChangeSet) XXX_Unmarshal

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

type ExpiryQueueRecord

type ExpiryQueueRecord struct {
	Id    string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"`
}

ExpiryQueueRecord

func (*ExpiryQueueRecord) Descriptor

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

func (*ExpiryQueueRecord) GetId

func (m *ExpiryQueueRecord) GetId() string

func (*ExpiryQueueRecord) GetValue

func (m *ExpiryQueueRecord) GetValue() []string

func (*ExpiryQueueRecord) Marshal

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

func (*ExpiryQueueRecord) MarshalTo

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

func (*ExpiryQueueRecord) MarshalToSizedBuffer

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

func (*ExpiryQueueRecord) ProtoMessage

func (*ExpiryQueueRecord) ProtoMessage()

func (*ExpiryQueueRecord) Reset

func (m *ExpiryQueueRecord) Reset()

func (*ExpiryQueueRecord) Size

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

func (*ExpiryQueueRecord) String

func (m *ExpiryQueueRecord) String() string

func (*ExpiryQueueRecord) Unmarshal

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

func (*ExpiryQueueRecord) XXX_DiscardUnknown

func (m *ExpiryQueueRecord) XXX_DiscardUnknown()

func (*ExpiryQueueRecord) XXX_Marshal

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

func (*ExpiryQueueRecord) XXX_Merge

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

func (*ExpiryQueueRecord) XXX_Size

func (m *ExpiryQueueRecord) XXX_Size() int

func (*ExpiryQueueRecord) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// params defines all the params of registry module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// records
	Records []Record `protobuf:"bytes,2,rep,name=records,proto3" json:"records" json:"records" yaml:"records"`
	// authorities
	Authorities []AuthorityEntry `protobuf:"bytes,3,rep,name=authorities,proto3" json:"authorities" json:"authorities" yaml:"authorities"`
	// names
	Names []NameEntry `protobuf:"bytes,4,rep,name=names,proto3" json:"names" json:"names" yaml:"names"`
}

GenesisState defines the registry module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState sets default evm genesis state with empty accounts and default params and chain config values.

func NewGenesisState

func NewGenesisState(params Params, records []Record, authorities []AuthorityEntry, names []NameEntry) GenesisState

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAuthorities

func (m *GenesisState) GetAuthorities() []AuthorityEntry

func (*GenesisState) GetNames

func (m *GenesisState) GetNames() []NameEntry

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetRecords

func (m *GenesisState) GetRecords() []Record

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type GetRegistryModuleBalanceRequest

type GetRegistryModuleBalanceRequest struct {
}

GetRegistryModuleBalanceRequest is request type for registry module accounts balance

func (*GetRegistryModuleBalanceRequest) Descriptor

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

func (*GetRegistryModuleBalanceRequest) Marshal

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

func (*GetRegistryModuleBalanceRequest) MarshalTo

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

func (*GetRegistryModuleBalanceRequest) MarshalToSizedBuffer

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

func (*GetRegistryModuleBalanceRequest) ProtoMessage

func (*GetRegistryModuleBalanceRequest) ProtoMessage()

func (*GetRegistryModuleBalanceRequest) Reset

func (*GetRegistryModuleBalanceRequest) Size

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

func (*GetRegistryModuleBalanceRequest) String

func (*GetRegistryModuleBalanceRequest) Unmarshal

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

func (*GetRegistryModuleBalanceRequest) XXX_DiscardUnknown

func (m *GetRegistryModuleBalanceRequest) XXX_DiscardUnknown()

func (*GetRegistryModuleBalanceRequest) XXX_Marshal

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

func (*GetRegistryModuleBalanceRequest) XXX_Merge

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

func (*GetRegistryModuleBalanceRequest) XXX_Size

func (m *GetRegistryModuleBalanceRequest) XXX_Size() int

func (*GetRegistryModuleBalanceRequest) XXX_Unmarshal

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

type GetRegistryModuleBalanceResponse

type GetRegistryModuleBalanceResponse struct {
	Balances []*AccountBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
}

GetRegistryModuleBalanceResponse is response type for registry module accounts balance

func (*GetRegistryModuleBalanceResponse) Descriptor

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

func (*GetRegistryModuleBalanceResponse) GetBalances

func (*GetRegistryModuleBalanceResponse) Marshal

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

func (*GetRegistryModuleBalanceResponse) MarshalTo

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

func (*GetRegistryModuleBalanceResponse) MarshalToSizedBuffer

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

func (*GetRegistryModuleBalanceResponse) ProtoMessage

func (*GetRegistryModuleBalanceResponse) ProtoMessage()

func (*GetRegistryModuleBalanceResponse) Reset

func (*GetRegistryModuleBalanceResponse) Size

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

func (*GetRegistryModuleBalanceResponse) String

func (*GetRegistryModuleBalanceResponse) Unmarshal

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

func (*GetRegistryModuleBalanceResponse) XXX_DiscardUnknown

func (m *GetRegistryModuleBalanceResponse) XXX_DiscardUnknown()

func (*GetRegistryModuleBalanceResponse) XXX_Marshal

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

func (*GetRegistryModuleBalanceResponse) XXX_Merge

func (*GetRegistryModuleBalanceResponse) XXX_Size

func (m *GetRegistryModuleBalanceResponse) XXX_Size() int

func (*GetRegistryModuleBalanceResponse) XXX_Unmarshal

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

type MsgAssociateBond

type MsgAssociateBond struct {
	RecordId string `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty" json:"recordId" yaml:"recordId"`
	BondId   string `protobuf:"bytes,2,opt,name=bond_id,json=bondId,proto3" json:"bond_id,omitempty" json:"bondId" yaml:"bondId"`
	Signer   string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgAssociateBond

func NewMsgAssociateBond

func NewMsgAssociateBond(recordID, bondID string, signer sdk.AccAddress) MsgAssociateBond

NewMsgAssociateBond is the constructor function for MsgAssociateBond.

func (*MsgAssociateBond) Descriptor

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

func (*MsgAssociateBond) GetBondId

func (m *MsgAssociateBond) GetBondId() string

func (*MsgAssociateBond) GetRecordId

func (m *MsgAssociateBond) GetRecordId() string

func (MsgAssociateBond) GetSignBytes

func (msg MsgAssociateBond) GetSignBytes() []byte

GetSignBytes gets the sign bytes for Msg

func (*MsgAssociateBond) GetSigner

func (m *MsgAssociateBond) GetSigner() string

func (MsgAssociateBond) GetSigners

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

GetSigners Implements Msg.

func (*MsgAssociateBond) Marshal

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

func (*MsgAssociateBond) MarshalTo

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

func (*MsgAssociateBond) MarshalToSizedBuffer

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

func (*MsgAssociateBond) ProtoMessage

func (*MsgAssociateBond) ProtoMessage()

func (*MsgAssociateBond) Reset

func (m *MsgAssociateBond) Reset()

func (MsgAssociateBond) Route

func (msg MsgAssociateBond) Route() string

Route Implements Msg.

func (*MsgAssociateBond) Size

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

func (*MsgAssociateBond) String

func (m *MsgAssociateBond) String() string

func (MsgAssociateBond) Type

func (msg MsgAssociateBond) Type() string

Type Implements Msg.

func (*MsgAssociateBond) Unmarshal

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

func (MsgAssociateBond) ValidateBasic

func (msg MsgAssociateBond) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgAssociateBond) XXX_DiscardUnknown

func (m *MsgAssociateBond) XXX_DiscardUnknown()

func (*MsgAssociateBond) XXX_Marshal

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

func (*MsgAssociateBond) XXX_Merge

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

func (*MsgAssociateBond) XXX_Size

func (m *MsgAssociateBond) XXX_Size() int

func (*MsgAssociateBond) XXX_Unmarshal

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

type MsgAssociateBondResponse

type MsgAssociateBondResponse struct {
}

MsgAssociateBondResponse

func (*MsgAssociateBondResponse) Descriptor

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

func (*MsgAssociateBondResponse) Marshal

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

func (*MsgAssociateBondResponse) MarshalTo

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

func (*MsgAssociateBondResponse) MarshalToSizedBuffer

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

func (*MsgAssociateBondResponse) ProtoMessage

func (*MsgAssociateBondResponse) ProtoMessage()

func (*MsgAssociateBondResponse) Reset

func (m *MsgAssociateBondResponse) Reset()

func (*MsgAssociateBondResponse) Size

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

func (*MsgAssociateBondResponse) String

func (m *MsgAssociateBondResponse) String() string

func (*MsgAssociateBondResponse) Unmarshal

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

func (*MsgAssociateBondResponse) XXX_DiscardUnknown

func (m *MsgAssociateBondResponse) XXX_DiscardUnknown()

func (*MsgAssociateBondResponse) XXX_Marshal

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

func (*MsgAssociateBondResponse) XXX_Merge

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

func (*MsgAssociateBondResponse) XXX_Size

func (m *MsgAssociateBondResponse) XXX_Size() int

func (*MsgAssociateBondResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// SetRecord will records a new record with given payload and bond id
	SetRecord(ctx context.Context, in *MsgSetRecord, opts ...grpc.CallOption) (*MsgSetRecordResponse, error)
	// Renew Record will renew the expire record
	RenewRecord(ctx context.Context, in *MsgRenewRecord, opts ...grpc.CallOption) (*MsgRenewRecordResponse, error)
	// AssociateBond
	AssociateBond(ctx context.Context, in *MsgAssociateBond, opts ...grpc.CallOption) (*MsgAssociateBondResponse, error)
	// DissociateBond
	DissociateBond(ctx context.Context, in *MsgDissociateBond, opts ...grpc.CallOption) (*MsgDissociateBondResponse, error)
	// DissociateRecords
	DissociateRecords(ctx context.Context, in *MsgDissociateRecords, opts ...grpc.CallOption) (*MsgDissociateRecordsResponse, error)
	// ReAssociateRecords
	ReAssociateRecords(ctx context.Context, in *MsgReAssociateRecords, opts ...grpc.CallOption) (*MsgReAssociateRecordsResponse, error)
	// SetName will store the name with given crn and name
	SetName(ctx context.Context, in *MsgSetName, opts ...grpc.CallOption) (*MsgSetNameResponse, error)
	// Reserve name
	ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error)
	// Delete Name method will remove authority name
	DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error)
	// SetAuthorityBond
	SetAuthorityBond(ctx context.Context, in *MsgSetAuthorityBond, opts ...grpc.CallOption) (*MsgSetAuthorityBondResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgDeleteNameAuthority

type MsgDeleteNameAuthority struct {
	Crn    string `protobuf:"bytes,1,opt,name=crn,proto3" json:"crn,omitempty"`
	Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgDeleteNameAuthority is SDK message for DeleteNameAuthority

func NewMsgDeleteNameAuthority

func NewMsgDeleteNameAuthority(crn string, signer sdk.AccAddress) MsgDeleteNameAuthority

NewMsgDeleteNameAuthority is the constructor function for MsgDeleteNameAuthority.

func (*MsgDeleteNameAuthority) Descriptor

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

func (*MsgDeleteNameAuthority) GetCrn

func (m *MsgDeleteNameAuthority) GetCrn() string

func (MsgDeleteNameAuthority) GetSignBytes

func (msg MsgDeleteNameAuthority) GetSignBytes() []byte

GetSignBytes gets the sign bytes for the msg MsgSetName

func (*MsgDeleteNameAuthority) GetSigner

func (m *MsgDeleteNameAuthority) GetSigner() string

func (MsgDeleteNameAuthority) GetSigners

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

GetSigners Implements Msg.

func (*MsgDeleteNameAuthority) Marshal

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

func (*MsgDeleteNameAuthority) MarshalTo

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

func (*MsgDeleteNameAuthority) MarshalToSizedBuffer

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

func (*MsgDeleteNameAuthority) ProtoMessage

func (*MsgDeleteNameAuthority) ProtoMessage()

func (*MsgDeleteNameAuthority) Reset

func (m *MsgDeleteNameAuthority) Reset()

func (MsgDeleteNameAuthority) Route

func (msg MsgDeleteNameAuthority) Route() string

Route Implements Msg.

func (*MsgDeleteNameAuthority) Size

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

func (*MsgDeleteNameAuthority) String

func (m *MsgDeleteNameAuthority) String() string

func (MsgDeleteNameAuthority) Type

func (msg MsgDeleteNameAuthority) Type() string

Type Implements Msg.

func (*MsgDeleteNameAuthority) Unmarshal

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

func (MsgDeleteNameAuthority) ValidateBasic

func (msg MsgDeleteNameAuthority) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgDeleteNameAuthority) XXX_DiscardUnknown

func (m *MsgDeleteNameAuthority) XXX_DiscardUnknown()

func (*MsgDeleteNameAuthority) XXX_Marshal

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

func (*MsgDeleteNameAuthority) XXX_Merge

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

func (*MsgDeleteNameAuthority) XXX_Size

func (m *MsgDeleteNameAuthority) XXX_Size() int

func (*MsgDeleteNameAuthority) XXX_Unmarshal

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

type MsgDeleteNameAuthorityResponse

type MsgDeleteNameAuthorityResponse struct {
}

MsgDeleteNameAuthorityResponse

func (*MsgDeleteNameAuthorityResponse) Descriptor

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

func (*MsgDeleteNameAuthorityResponse) Marshal

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

func (*MsgDeleteNameAuthorityResponse) MarshalTo

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

func (*MsgDeleteNameAuthorityResponse) MarshalToSizedBuffer

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

func (*MsgDeleteNameAuthorityResponse) ProtoMessage

func (*MsgDeleteNameAuthorityResponse) ProtoMessage()

func (*MsgDeleteNameAuthorityResponse) Reset

func (m *MsgDeleteNameAuthorityResponse) Reset()

func (*MsgDeleteNameAuthorityResponse) Size

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

func (*MsgDeleteNameAuthorityResponse) String

func (*MsgDeleteNameAuthorityResponse) Unmarshal

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

func (*MsgDeleteNameAuthorityResponse) XXX_DiscardUnknown

func (m *MsgDeleteNameAuthorityResponse) XXX_DiscardUnknown()

func (*MsgDeleteNameAuthorityResponse) XXX_Marshal

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

func (*MsgDeleteNameAuthorityResponse) XXX_Merge

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

func (*MsgDeleteNameAuthorityResponse) XXX_Size

func (m *MsgDeleteNameAuthorityResponse) XXX_Size() int

func (*MsgDeleteNameAuthorityResponse) XXX_Unmarshal

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

type MsgDissociateBond

type MsgDissociateBond struct {
	RecordId string `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty" json:"recordId" yaml:"recordId"`
	Signer   string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgDissociateBond is SDK message for Msg/DissociateBond

func NewMsgDissociateBond

func NewMsgDissociateBond(recordID string, signer sdk.AccAddress) MsgDissociateBond

NewMsgDissociateBond is the constructor function for MsgDissociateBond.

func (*MsgDissociateBond) Descriptor

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

func (*MsgDissociateBond) GetRecordId

func (m *MsgDissociateBond) GetRecordId() string

func (MsgDissociateBond) GetSignBytes

func (msg MsgDissociateBond) GetSignBytes() []byte

GetSignBytes gets the sign bytes for Msg

func (*MsgDissociateBond) GetSigner

func (m *MsgDissociateBond) GetSigner() string

func (MsgDissociateBond) GetSigners

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

GetSigners Implements Msg.

func (*MsgDissociateBond) Marshal

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

func (*MsgDissociateBond) MarshalTo

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

func (*MsgDissociateBond) MarshalToSizedBuffer

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

func (*MsgDissociateBond) ProtoMessage

func (*MsgDissociateBond) ProtoMessage()

func (*MsgDissociateBond) Reset

func (m *MsgDissociateBond) Reset()

func (MsgDissociateBond) Route

func (msg MsgDissociateBond) Route() string

Route Implements Msg.

func (*MsgDissociateBond) Size

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

func (*MsgDissociateBond) String

func (m *MsgDissociateBond) String() string

func (MsgDissociateBond) Type

func (msg MsgDissociateBond) Type() string

Type Implements Msg.

func (*MsgDissociateBond) Unmarshal

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

func (MsgDissociateBond) ValidateBasic

func (msg MsgDissociateBond) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgDissociateBond) XXX_DiscardUnknown

func (m *MsgDissociateBond) XXX_DiscardUnknown()

func (*MsgDissociateBond) XXX_Marshal

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

func (*MsgDissociateBond) XXX_Merge

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

func (*MsgDissociateBond) XXX_Size

func (m *MsgDissociateBond) XXX_Size() int

func (*MsgDissociateBond) XXX_Unmarshal

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

type MsgDissociateBondResponse

type MsgDissociateBondResponse struct {
}

MsgDissociateBondResponse is response type for MsgDissociateBond

func (*MsgDissociateBondResponse) Descriptor

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

func (*MsgDissociateBondResponse) Marshal

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

func (*MsgDissociateBondResponse) MarshalTo

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

func (*MsgDissociateBondResponse) MarshalToSizedBuffer

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

func (*MsgDissociateBondResponse) ProtoMessage

func (*MsgDissociateBondResponse) ProtoMessage()

func (*MsgDissociateBondResponse) Reset

func (m *MsgDissociateBondResponse) Reset()

func (*MsgDissociateBondResponse) Size

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

func (*MsgDissociateBondResponse) String

func (m *MsgDissociateBondResponse) String() string

func (*MsgDissociateBondResponse) Unmarshal

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

func (*MsgDissociateBondResponse) XXX_DiscardUnknown

func (m *MsgDissociateBondResponse) XXX_DiscardUnknown()

func (*MsgDissociateBondResponse) XXX_Marshal

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

func (*MsgDissociateBondResponse) XXX_Merge

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

func (*MsgDissociateBondResponse) XXX_Size

func (m *MsgDissociateBondResponse) XXX_Size() int

func (*MsgDissociateBondResponse) XXX_Unmarshal

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

type MsgDissociateRecords

type MsgDissociateRecords struct {
	BondId string `protobuf:"bytes,1,opt,name=bond_id,json=bondId,proto3" json:"bond_id,omitempty" json:"bondId" yaml:"bondId"`
	Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgDissociateRecords is SDK message for Msg/DissociateRecords

func NewMsgDissociateRecords

func NewMsgDissociateRecords(bondID string, signer sdk.AccAddress) MsgDissociateRecords

NewMsgDissociateRecords is the constructor function for MsgDissociateRecords.

func (*MsgDissociateRecords) Descriptor

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

func (*MsgDissociateRecords) GetBondId

func (m *MsgDissociateRecords) GetBondId() string

func (MsgDissociateRecords) GetSignBytes

func (msg MsgDissociateRecords) GetSignBytes() []byte

GetSignBytes gets the sign bytes for Msg

func (*MsgDissociateRecords) GetSigner

func (m *MsgDissociateRecords) GetSigner() string

func (MsgDissociateRecords) GetSigners

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

GetSigners Implements Msg.

func (*MsgDissociateRecords) Marshal

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

func (*MsgDissociateRecords) MarshalTo

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

func (*MsgDissociateRecords) MarshalToSizedBuffer

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

func (*MsgDissociateRecords) ProtoMessage

func (*MsgDissociateRecords) ProtoMessage()

func (*MsgDissociateRecords) Reset

func (m *MsgDissociateRecords) Reset()

func (MsgDissociateRecords) Route

func (msg MsgDissociateRecords) Route() string

Route Implements Msg.

func (*MsgDissociateRecords) Size

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

func (*MsgDissociateRecords) String

func (m *MsgDissociateRecords) String() string

func (MsgDissociateRecords) Type

func (msg MsgDissociateRecords) Type() string

Type Implements Msg.

func (*MsgDissociateRecords) Unmarshal

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

func (MsgDissociateRecords) ValidateBasic

func (msg MsgDissociateRecords) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgDissociateRecords) XXX_DiscardUnknown

func (m *MsgDissociateRecords) XXX_DiscardUnknown()

func (*MsgDissociateRecords) XXX_Marshal

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

func (*MsgDissociateRecords) XXX_Merge

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

func (*MsgDissociateRecords) XXX_Size

func (m *MsgDissociateRecords) XXX_Size() int

func (*MsgDissociateRecords) XXX_Unmarshal

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

type MsgDissociateRecordsResponse

type MsgDissociateRecordsResponse struct {
}

MsgDissociateRecordsResponse is response type for MsgDissociateRecords

func (*MsgDissociateRecordsResponse) Descriptor

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

func (*MsgDissociateRecordsResponse) Marshal

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

func (*MsgDissociateRecordsResponse) MarshalTo

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

func (*MsgDissociateRecordsResponse) MarshalToSizedBuffer

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

func (*MsgDissociateRecordsResponse) ProtoMessage

func (*MsgDissociateRecordsResponse) ProtoMessage()

func (*MsgDissociateRecordsResponse) Reset

func (m *MsgDissociateRecordsResponse) Reset()

func (*MsgDissociateRecordsResponse) Size

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

func (*MsgDissociateRecordsResponse) String

func (*MsgDissociateRecordsResponse) Unmarshal

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

func (*MsgDissociateRecordsResponse) XXX_DiscardUnknown

func (m *MsgDissociateRecordsResponse) XXX_DiscardUnknown()

func (*MsgDissociateRecordsResponse) XXX_Marshal

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

func (*MsgDissociateRecordsResponse) XXX_Merge

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

func (*MsgDissociateRecordsResponse) XXX_Size

func (m *MsgDissociateRecordsResponse) XXX_Size() int

func (*MsgDissociateRecordsResponse) XXX_Unmarshal

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

type MsgReAssociateRecords

type MsgReAssociateRecords struct {
	NewBondId string `protobuf:"bytes,1,opt,name=new_bond_id,json=newBondId,proto3" json:"new_bond_id,omitempty" json:"newBondId" yaml:"newBondId"`
	OldBondId string `protobuf:"bytes,2,opt,name=old_bond_id,json=oldBondId,proto3" json:"old_bond_id,omitempty" json:"oldBondId" yaml:"oldBondId"`
	Signer    string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgReAssociateRecords is SDK message for Msg/ReAssociateRecords

func NewMsgReAssociateRecords

func NewMsgReAssociateRecords(oldBondID, newBondID string, signer sdk.AccAddress) MsgReAssociateRecords

NewMsgReAssociateRecords is the constructor function for MsgReAssociateRecords.

func (*MsgReAssociateRecords) Descriptor

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

func (*MsgReAssociateRecords) GetNewBondId

func (m *MsgReAssociateRecords) GetNewBondId() string

func (*MsgReAssociateRecords) GetOldBondId

func (m *MsgReAssociateRecords) GetOldBondId() string

func (MsgReAssociateRecords) GetSignBytes

func (msg MsgReAssociateRecords) GetSignBytes() []byte

GetSignBytes gets the sign bytes for Msg

func (*MsgReAssociateRecords) GetSigner

func (m *MsgReAssociateRecords) GetSigner() string

func (MsgReAssociateRecords) GetSigners

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

GetSigners Implements Msg.

func (*MsgReAssociateRecords) Marshal

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

func (*MsgReAssociateRecords) MarshalTo

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

func (*MsgReAssociateRecords) MarshalToSizedBuffer

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

func (*MsgReAssociateRecords) ProtoMessage

func (*MsgReAssociateRecords) ProtoMessage()

func (*MsgReAssociateRecords) Reset

func (m *MsgReAssociateRecords) Reset()

func (MsgReAssociateRecords) Route

func (msg MsgReAssociateRecords) Route() string

Route Implements Msg.

func (*MsgReAssociateRecords) Size

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

func (*MsgReAssociateRecords) String

func (m *MsgReAssociateRecords) String() string

func (MsgReAssociateRecords) Type

func (msg MsgReAssociateRecords) Type() string

Type Implements Msg.

func (*MsgReAssociateRecords) Unmarshal

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

func (MsgReAssociateRecords) ValidateBasic

func (msg MsgReAssociateRecords) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgReAssociateRecords) XXX_DiscardUnknown

func (m *MsgReAssociateRecords) XXX_DiscardUnknown()

func (*MsgReAssociateRecords) XXX_Marshal

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

func (*MsgReAssociateRecords) XXX_Merge

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

func (*MsgReAssociateRecords) XXX_Size

func (m *MsgReAssociateRecords) XXX_Size() int

func (*MsgReAssociateRecords) XXX_Unmarshal

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

type MsgReAssociateRecordsResponse

type MsgReAssociateRecordsResponse struct {
}

MsgReAssociateRecordsResponse is response type for MsgReAssociateRecords

func (*MsgReAssociateRecordsResponse) Descriptor

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

func (*MsgReAssociateRecordsResponse) Marshal

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

func (*MsgReAssociateRecordsResponse) MarshalTo

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

func (*MsgReAssociateRecordsResponse) MarshalToSizedBuffer

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

func (*MsgReAssociateRecordsResponse) ProtoMessage

func (*MsgReAssociateRecordsResponse) ProtoMessage()

func (*MsgReAssociateRecordsResponse) Reset

func (m *MsgReAssociateRecordsResponse) Reset()

func (*MsgReAssociateRecordsResponse) Size

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

func (*MsgReAssociateRecordsResponse) String

func (*MsgReAssociateRecordsResponse) Unmarshal

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

func (*MsgReAssociateRecordsResponse) XXX_DiscardUnknown

func (m *MsgReAssociateRecordsResponse) XXX_DiscardUnknown()

func (*MsgReAssociateRecordsResponse) XXX_Marshal

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

func (*MsgReAssociateRecordsResponse) XXX_Merge

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

func (*MsgReAssociateRecordsResponse) XXX_Size

func (m *MsgReAssociateRecordsResponse) XXX_Size() int

func (*MsgReAssociateRecordsResponse) XXX_Unmarshal

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

type MsgRenewRecord

type MsgRenewRecord struct {
	RecordId string `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty" json:"recordId" yaml:"recordId"`
	Signer   string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgRenewRecord is SDK message for Renew a record

func NewMsgRenewRecord

func NewMsgRenewRecord(recordID string, signer sdk.AccAddress) MsgRenewRecord

NewMsgRenewRecord is the constructor function for MsgRenewRecord.

func (*MsgRenewRecord) Descriptor

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

func (*MsgRenewRecord) GetRecordId

func (m *MsgRenewRecord) GetRecordId() string

func (MsgRenewRecord) GetSignBytes

func (msg MsgRenewRecord) GetSignBytes() []byte

GetSignBytes gets the sign bytes for Msg

func (*MsgRenewRecord) GetSigner

func (m *MsgRenewRecord) GetSigner() string

func (MsgRenewRecord) GetSigners

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

GetSigners Implements Msg.

func (*MsgRenewRecord) Marshal

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

func (*MsgRenewRecord) MarshalTo

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

func (*MsgRenewRecord) MarshalToSizedBuffer

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

func (*MsgRenewRecord) ProtoMessage

func (*MsgRenewRecord) ProtoMessage()

func (*MsgRenewRecord) Reset

func (m *MsgRenewRecord) Reset()

func (MsgRenewRecord) Route

func (msg MsgRenewRecord) Route() string

Route Implements Msg.

func (*MsgRenewRecord) Size

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

func (*MsgRenewRecord) String

func (m *MsgRenewRecord) String() string

func (MsgRenewRecord) Type

func (msg MsgRenewRecord) Type() string

Type Implements Msg.

func (*MsgRenewRecord) Unmarshal

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

func (MsgRenewRecord) ValidateBasic

func (msg MsgRenewRecord) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgRenewRecord) XXX_DiscardUnknown

func (m *MsgRenewRecord) XXX_DiscardUnknown()

func (*MsgRenewRecord) XXX_Marshal

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

func (*MsgRenewRecord) XXX_Merge

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

func (*MsgRenewRecord) XXX_Size

func (m *MsgRenewRecord) XXX_Size() int

func (*MsgRenewRecord) XXX_Unmarshal

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

type MsgRenewRecordResponse

type MsgRenewRecordResponse struct {
}

MsgRenewRecordResponse

func (*MsgRenewRecordResponse) Descriptor

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

func (*MsgRenewRecordResponse) Marshal

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

func (*MsgRenewRecordResponse) MarshalTo

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

func (*MsgRenewRecordResponse) MarshalToSizedBuffer

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

func (*MsgRenewRecordResponse) ProtoMessage

func (*MsgRenewRecordResponse) ProtoMessage()

func (*MsgRenewRecordResponse) Reset

func (m *MsgRenewRecordResponse) Reset()

func (*MsgRenewRecordResponse) Size

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

func (*MsgRenewRecordResponse) String

func (m *MsgRenewRecordResponse) String() string

func (*MsgRenewRecordResponse) Unmarshal

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

func (*MsgRenewRecordResponse) XXX_DiscardUnknown

func (m *MsgRenewRecordResponse) XXX_DiscardUnknown()

func (*MsgRenewRecordResponse) XXX_Marshal

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

func (*MsgRenewRecordResponse) XXX_Merge

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

func (*MsgRenewRecordResponse) XXX_Size

func (m *MsgRenewRecordResponse) XXX_Size() int

func (*MsgRenewRecordResponse) XXX_Unmarshal

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

type MsgReserveAuthority

type MsgReserveAuthority struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	// if creating a sub-authority.
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
}

MsgReserveName

func NewMsgReserveAuthority

func NewMsgReserveAuthority(name string, signer sdk.AccAddress, owner sdk.AccAddress) MsgReserveAuthority

NewMsgReserveAuthority is the constructor function for MsgReserveName.

func (*MsgReserveAuthority) Descriptor

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

func (*MsgReserveAuthority) GetName

func (m *MsgReserveAuthority) GetName() string

func (*MsgReserveAuthority) GetOwner

func (m *MsgReserveAuthority) GetOwner() string

func (MsgReserveAuthority) GetSignBytes

func (msg MsgReserveAuthority) GetSignBytes() []byte

GetSignBytes gets the sign bytes for the msg MsgSetName

func (*MsgReserveAuthority) GetSigner

func (m *MsgReserveAuthority) GetSigner() string

func (MsgReserveAuthority) GetSigners

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

GetSigners Implements Msg.

func (*MsgReserveAuthority) Marshal

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

func (*MsgReserveAuthority) MarshalTo

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

func (*MsgReserveAuthority) MarshalToSizedBuffer

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

func (*MsgReserveAuthority) ProtoMessage

func (*MsgReserveAuthority) ProtoMessage()

func (*MsgReserveAuthority) Reset

func (m *MsgReserveAuthority) Reset()

func (MsgReserveAuthority) Route

func (msg MsgReserveAuthority) Route() string

Route Implements Msg.

func (*MsgReserveAuthority) Size

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

func (*MsgReserveAuthority) String

func (m *MsgReserveAuthority) String() string

func (MsgReserveAuthority) Type

func (msg MsgReserveAuthority) Type() string

Type Implements Msg.

func (*MsgReserveAuthority) Unmarshal

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

func (MsgReserveAuthority) ValidateBasic

func (msg MsgReserveAuthority) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgReserveAuthority) XXX_DiscardUnknown

func (m *MsgReserveAuthority) XXX_DiscardUnknown()

func (*MsgReserveAuthority) XXX_Marshal

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

func (*MsgReserveAuthority) XXX_Merge

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

func (*MsgReserveAuthority) XXX_Size

func (m *MsgReserveAuthority) XXX_Size() int

func (*MsgReserveAuthority) XXX_Unmarshal

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

type MsgReserveAuthorityResponse

type MsgReserveAuthorityResponse struct {
}

MsgReserveNameResponse

func (*MsgReserveAuthorityResponse) Descriptor

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

func (*MsgReserveAuthorityResponse) Marshal

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

func (*MsgReserveAuthorityResponse) MarshalTo

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

func (*MsgReserveAuthorityResponse) MarshalToSizedBuffer

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

func (*MsgReserveAuthorityResponse) ProtoMessage

func (*MsgReserveAuthorityResponse) ProtoMessage()

func (*MsgReserveAuthorityResponse) Reset

func (m *MsgReserveAuthorityResponse) Reset()

func (*MsgReserveAuthorityResponse) Size

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

func (*MsgReserveAuthorityResponse) String

func (m *MsgReserveAuthorityResponse) String() string

func (*MsgReserveAuthorityResponse) Unmarshal

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

func (*MsgReserveAuthorityResponse) XXX_DiscardUnknown

func (m *MsgReserveAuthorityResponse) XXX_DiscardUnknown()

func (*MsgReserveAuthorityResponse) XXX_Marshal

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

func (*MsgReserveAuthorityResponse) XXX_Merge

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

func (*MsgReserveAuthorityResponse) XXX_Size

func (m *MsgReserveAuthorityResponse) XXX_Size() int

func (*MsgReserveAuthorityResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// SetRecord will records a new record with given payload and bond id
	SetRecord(context.Context, *MsgSetRecord) (*MsgSetRecordResponse, error)
	// Renew Record will renew the expire record
	RenewRecord(context.Context, *MsgRenewRecord) (*MsgRenewRecordResponse, error)
	// AssociateBond
	AssociateBond(context.Context, *MsgAssociateBond) (*MsgAssociateBondResponse, error)
	// DissociateBond
	DissociateBond(context.Context, *MsgDissociateBond) (*MsgDissociateBondResponse, error)
	// DissociateRecords
	DissociateRecords(context.Context, *MsgDissociateRecords) (*MsgDissociateRecordsResponse, error)
	// ReAssociateRecords
	ReAssociateRecords(context.Context, *MsgReAssociateRecords) (*MsgReAssociateRecordsResponse, error)
	// SetName will store the name with given crn and name
	SetName(context.Context, *MsgSetName) (*MsgSetNameResponse, error)
	// Reserve name
	ReserveName(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error)
	// Delete Name method will remove authority name
	DeleteName(context.Context, *MsgDeleteNameAuthority) (*MsgDeleteNameAuthorityResponse, error)
	// SetAuthorityBond
	SetAuthorityBond(context.Context, *MsgSetAuthorityBond) (*MsgSetAuthorityBondResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetAuthorityBond

type MsgSetAuthorityBond struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	BondId string `protobuf:"bytes,2,opt,name=bond_id,json=bondId,proto3" json:"bond_id,omitempty" json:"bondId" yaml:"bondId"`
	Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgSetAuthorityBond is SDK message for SetAuthorityBond

func NewMsgSetAuthorityBond

func NewMsgSetAuthorityBond(name string, bondID string, signer sdk.AccAddress) MsgSetAuthorityBond

NewMsgSetAuthorityBond is the constructor function for MsgSetAuthorityBond.

func (*MsgSetAuthorityBond) Descriptor

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

func (*MsgSetAuthorityBond) GetBondId

func (m *MsgSetAuthorityBond) GetBondId() string

func (*MsgSetAuthorityBond) GetName

func (m *MsgSetAuthorityBond) GetName() string

func (MsgSetAuthorityBond) GetSignBytes

func (msg MsgSetAuthorityBond) GetSignBytes() []byte

GetSignBytes gets the sign bytes for the msg MsgSetName

func (*MsgSetAuthorityBond) GetSigner

func (m *MsgSetAuthorityBond) GetSigner() string

func (MsgSetAuthorityBond) GetSigners

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

GetSigners Implements Msg.

func (*MsgSetAuthorityBond) Marshal

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

func (*MsgSetAuthorityBond) MarshalTo

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

func (*MsgSetAuthorityBond) MarshalToSizedBuffer

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

func (*MsgSetAuthorityBond) ProtoMessage

func (*MsgSetAuthorityBond) ProtoMessage()

func (*MsgSetAuthorityBond) Reset

func (m *MsgSetAuthorityBond) Reset()

func (MsgSetAuthorityBond) Route

func (msg MsgSetAuthorityBond) Route() string

Route Implements Msg.

func (*MsgSetAuthorityBond) Size

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

func (*MsgSetAuthorityBond) String

func (m *MsgSetAuthorityBond) String() string

func (MsgSetAuthorityBond) Type

func (msg MsgSetAuthorityBond) Type() string

Type Implements Msg.

func (*MsgSetAuthorityBond) Unmarshal

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

func (MsgSetAuthorityBond) ValidateBasic

func (msg MsgSetAuthorityBond) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgSetAuthorityBond) XXX_DiscardUnknown

func (m *MsgSetAuthorityBond) XXX_DiscardUnknown()

func (*MsgSetAuthorityBond) XXX_Marshal

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

func (*MsgSetAuthorityBond) XXX_Merge

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

func (*MsgSetAuthorityBond) XXX_Size

func (m *MsgSetAuthorityBond) XXX_Size() int

func (*MsgSetAuthorityBond) XXX_Unmarshal

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

type MsgSetAuthorityBondResponse

type MsgSetAuthorityBondResponse struct {
}

MsgSetAuthorityBondResponse

func (*MsgSetAuthorityBondResponse) Descriptor

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

func (*MsgSetAuthorityBondResponse) Marshal

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

func (*MsgSetAuthorityBondResponse) MarshalTo

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

func (*MsgSetAuthorityBondResponse) MarshalToSizedBuffer

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

func (*MsgSetAuthorityBondResponse) ProtoMessage

func (*MsgSetAuthorityBondResponse) ProtoMessage()

func (*MsgSetAuthorityBondResponse) Reset

func (m *MsgSetAuthorityBondResponse) Reset()

func (*MsgSetAuthorityBondResponse) Size

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

func (*MsgSetAuthorityBondResponse) String

func (m *MsgSetAuthorityBondResponse) String() string

func (*MsgSetAuthorityBondResponse) Unmarshal

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

func (*MsgSetAuthorityBondResponse) XXX_DiscardUnknown

func (m *MsgSetAuthorityBondResponse) XXX_DiscardUnknown()

func (*MsgSetAuthorityBondResponse) XXX_Marshal

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

func (*MsgSetAuthorityBondResponse) XXX_Merge

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

func (*MsgSetAuthorityBondResponse) XXX_Size

func (m *MsgSetAuthorityBondResponse) XXX_Size() int

func (*MsgSetAuthorityBondResponse) XXX_Unmarshal

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

type MsgSetName

type MsgSetName struct {
	Crn    string `protobuf:"bytes,1,opt,name=crn,proto3" json:"crn,omitempty"`
	Cid    string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
	Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgSetName

func NewMsgSetName

func NewMsgSetName(crn string, cid string, signer sdk.AccAddress) MsgSetName

NewMsgSetName is the constructor function for MsgSetName.

func (*MsgSetName) Descriptor

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

func (*MsgSetName) GetCid

func (m *MsgSetName) GetCid() string

func (*MsgSetName) GetCrn

func (m *MsgSetName) GetCrn() string

func (MsgSetName) GetSignBytes

func (msg MsgSetName) GetSignBytes() []byte

GetSignBytes gets the sign bytes for the msg MsgSetName

func (*MsgSetName) GetSigner

func (m *MsgSetName) GetSigner() string

func (MsgSetName) GetSigners

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

GetSigners Implements Msg.

func (*MsgSetName) Marshal

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

func (*MsgSetName) MarshalTo

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

func (*MsgSetName) MarshalToSizedBuffer

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

func (*MsgSetName) ProtoMessage

func (*MsgSetName) ProtoMessage()

func (*MsgSetName) Reset

func (m *MsgSetName) Reset()

func (MsgSetName) Route

func (msg MsgSetName) Route() string

Route Implements Msg.

func (*MsgSetName) Size

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

func (*MsgSetName) String

func (m *MsgSetName) String() string

func (MsgSetName) Type

func (msg MsgSetName) Type() string

Type Implements Msg.

func (*MsgSetName) Unmarshal

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

func (MsgSetName) ValidateBasic

func (msg MsgSetName) ValidateBasic() error

ValidateBasic Implements Msg.

func (*MsgSetName) XXX_DiscardUnknown

func (m *MsgSetName) XXX_DiscardUnknown()

func (*MsgSetName) XXX_Marshal

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

func (*MsgSetName) XXX_Merge

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

func (*MsgSetName) XXX_Size

func (m *MsgSetName) XXX_Size() int

func (*MsgSetName) XXX_Unmarshal

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

type MsgSetNameResponse

type MsgSetNameResponse struct {
}

MsgSetNameResponse

func (*MsgSetNameResponse) Descriptor

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

func (*MsgSetNameResponse) Marshal

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

func (*MsgSetNameResponse) MarshalTo

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

func (*MsgSetNameResponse) MarshalToSizedBuffer

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

func (*MsgSetNameResponse) ProtoMessage

func (*MsgSetNameResponse) ProtoMessage()

func (*MsgSetNameResponse) Reset

func (m *MsgSetNameResponse) Reset()

func (*MsgSetNameResponse) Size

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

func (*MsgSetNameResponse) String

func (m *MsgSetNameResponse) String() string

func (*MsgSetNameResponse) Unmarshal

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

func (*MsgSetNameResponse) XXX_DiscardUnknown

func (m *MsgSetNameResponse) XXX_DiscardUnknown()

func (*MsgSetNameResponse) XXX_Marshal

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

func (*MsgSetNameResponse) XXX_Merge

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

func (*MsgSetNameResponse) XXX_Size

func (m *MsgSetNameResponse) XXX_Size() int

func (*MsgSetNameResponse) XXX_Unmarshal

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

type MsgSetRecord

type MsgSetRecord struct {
	BondId  string  `protobuf:"bytes,1,opt,name=bond_id,json=bondId,proto3" json:"bond_id,omitempty" json:"bondId" yaml:"bondId"`
	Signer  string  `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	Payload Payload `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload"`
}

MsgSetRecord

func NewMsgSetRecord

func NewMsgSetRecord(payload Payload, bondID string, signer sdk.AccAddress) MsgSetRecord

NewMsgSetRecord is the constructor function for MsgSetRecord.

func (*MsgSetRecord) Descriptor

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

func (*MsgSetRecord) GetBondId

func (m *MsgSetRecord) GetBondId() string

func (*MsgSetRecord) GetPayload

func (m *MsgSetRecord) GetPayload() Payload

func (MsgSetRecord) GetSignBytes

func (msg MsgSetRecord) GetSignBytes() []byte

GetSignBytes gets the sign bytes for the msg MsgCreateBond

func (*MsgSetRecord) GetSigner

func (m *MsgSetRecord) GetSigner() string

func (MsgSetRecord) GetSigners

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

func (*MsgSetRecord) Marshal

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

func (*MsgSetRecord) MarshalTo

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

func (*MsgSetRecord) MarshalToSizedBuffer

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

func (*MsgSetRecord) ProtoMessage

func (*MsgSetRecord) ProtoMessage()

func (*MsgSetRecord) Reset

func (m *MsgSetRecord) Reset()

func (MsgSetRecord) Route

func (msg MsgSetRecord) Route() string

Route Implements Msg.

func (*MsgSetRecord) Size

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

func (*MsgSetRecord) String

func (m *MsgSetRecord) String() string

func (MsgSetRecord) Type

func (msg MsgSetRecord) Type() string

Type Implements Msg.

func (*MsgSetRecord) Unmarshal

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

func (MsgSetRecord) UnpackInterfaces

func (msg MsgSetRecord) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (MsgSetRecord) ValidateBasic

func (msg MsgSetRecord) ValidateBasic() error

func (*MsgSetRecord) XXX_DiscardUnknown

func (m *MsgSetRecord) XXX_DiscardUnknown()

func (*MsgSetRecord) XXX_Marshal

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

func (*MsgSetRecord) XXX_Merge

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

func (*MsgSetRecord) XXX_Size

func (m *MsgSetRecord) XXX_Size() int

func (*MsgSetRecord) XXX_Unmarshal

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

type MsgSetRecordResponse

type MsgSetRecordResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

MsgSetRecordResponse

func (*MsgSetRecordResponse) Descriptor

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

func (*MsgSetRecordResponse) GetId

func (m *MsgSetRecordResponse) GetId() string

func (*MsgSetRecordResponse) Marshal

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

func (*MsgSetRecordResponse) MarshalTo

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

func (*MsgSetRecordResponse) MarshalToSizedBuffer

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

func (*MsgSetRecordResponse) ProtoMessage

func (*MsgSetRecordResponse) ProtoMessage()

func (*MsgSetRecordResponse) Reset

func (m *MsgSetRecordResponse) Reset()

func (*MsgSetRecordResponse) Size

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

func (*MsgSetRecordResponse) String

func (m *MsgSetRecordResponse) String() string

func (*MsgSetRecordResponse) Unmarshal

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

func (*MsgSetRecordResponse) XXX_DiscardUnknown

func (m *MsgSetRecordResponse) XXX_DiscardUnknown()

func (*MsgSetRecordResponse) XXX_Marshal

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

func (*MsgSetRecordResponse) XXX_Merge

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

func (*MsgSetRecordResponse) XXX_Size

func (m *MsgSetRecordResponse) XXX_Size() int

func (*MsgSetRecordResponse) XXX_Unmarshal

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

type NameAuthority

type NameAuthority struct {
	// Owner public key.
	OwnerPublicKey string `` /* 149-byte string literal not displayed */
	// Owner address.
	OwnerAddress string `` /* 137-byte string literal not displayed */
	// height at which name/authority was created.
	Height     uint64    `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Status     string    `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	AuctionId  string    `protobuf:"bytes,5,opt,name=auction_id,json=auctionId,proto3" json:"auction_id,omitempty" json:"auctionID" yaml:"auctionID"`
	BondId     string    `protobuf:"bytes,6,opt,name=bond_id,json=bondId,proto3" json:"bond_id,omitempty" json:"bondID" yaml:"bondID"`
	ExpiryTime time.Time `protobuf:"bytes,7,opt,name=expiry_time,json=expiryTime,proto3,stdtime" json:"expiry_time" json:"expiryTime" yaml:"expiryTime"`
}

NameAuthority

func (*NameAuthority) Descriptor

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

func (*NameAuthority) GetAuctionId

func (m *NameAuthority) GetAuctionId() string

func (*NameAuthority) GetBondId

func (m *NameAuthority) GetBondId() string

func (*NameAuthority) GetExpiryTime

func (m *NameAuthority) GetExpiryTime() time.Time

func (*NameAuthority) GetHeight

func (m *NameAuthority) GetHeight() uint64

func (*NameAuthority) GetOwnerAddress

func (m *NameAuthority) GetOwnerAddress() string

func (*NameAuthority) GetOwnerPublicKey

func (m *NameAuthority) GetOwnerPublicKey() string

func (*NameAuthority) GetStatus

func (m *NameAuthority) GetStatus() string

func (*NameAuthority) Marshal

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

func (*NameAuthority) MarshalTo

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

func (*NameAuthority) MarshalToSizedBuffer

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

func (*NameAuthority) ProtoMessage

func (*NameAuthority) ProtoMessage()

func (*NameAuthority) Reset

func (m *NameAuthority) Reset()

func (*NameAuthority) Size

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

func (*NameAuthority) String

func (m *NameAuthority) String() string

func (*NameAuthority) Unmarshal

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

func (*NameAuthority) XXX_DiscardUnknown

func (m *NameAuthority) XXX_DiscardUnknown()

func (*NameAuthority) XXX_Marshal

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

func (*NameAuthority) XXX_Merge

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

func (*NameAuthority) XXX_Size

func (m *NameAuthority) XXX_Size() int

func (*NameAuthority) XXX_Unmarshal

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

type NameEntry

type NameEntry struct {
	Name  string      `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Entry *NameRecord `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
}

NameEntry

func (*NameEntry) Descriptor

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

func (*NameEntry) GetEntry

func (m *NameEntry) GetEntry() *NameRecord

func (*NameEntry) GetName

func (m *NameEntry) GetName() string

func (*NameEntry) Marshal

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

func (*NameEntry) MarshalTo

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

func (*NameEntry) MarshalToSizedBuffer

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

func (*NameEntry) ProtoMessage

func (*NameEntry) ProtoMessage()

func (*NameEntry) Reset

func (m *NameEntry) Reset()

func (*NameEntry) Size

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

func (*NameEntry) String

func (m *NameEntry) String() string

func (*NameEntry) Unmarshal

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

func (*NameEntry) XXX_DiscardUnknown

func (m *NameEntry) XXX_DiscardUnknown()

func (*NameEntry) XXX_Marshal

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

func (*NameEntry) XXX_Merge

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

func (*NameEntry) XXX_Size

func (m *NameEntry) XXX_Size() int

func (*NameEntry) XXX_Unmarshal

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

type NameRecord

type NameRecord struct {
	Latest  *NameRecordEntry   `protobuf:"bytes,1,opt,name=latest,proto3" json:"latest,omitempty"`
	History []*NameRecordEntry `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"`
}

NameRecord

func (*NameRecord) Descriptor

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

func (*NameRecord) GetHistory

func (m *NameRecord) GetHistory() []*NameRecordEntry

func (*NameRecord) GetLatest

func (m *NameRecord) GetLatest() *NameRecordEntry

func (*NameRecord) Marshal

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

func (*NameRecord) MarshalTo

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

func (*NameRecord) MarshalToSizedBuffer

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

func (*NameRecord) ProtoMessage

func (*NameRecord) ProtoMessage()

func (*NameRecord) Reset

func (m *NameRecord) Reset()

func (*NameRecord) Size

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

func (*NameRecord) String

func (m *NameRecord) String() string

func (*NameRecord) Unmarshal

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

func (*NameRecord) XXX_DiscardUnknown

func (m *NameRecord) XXX_DiscardUnknown()

func (*NameRecord) XXX_Marshal

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

func (*NameRecord) XXX_Merge

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

func (*NameRecord) XXX_Size

func (m *NameRecord) XXX_Size() int

func (*NameRecord) XXX_Unmarshal

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

type NameRecordEntry

type NameRecordEntry struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}

NameRecordEntry

func (*NameRecordEntry) Descriptor

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

func (*NameRecordEntry) GetHeight

func (m *NameRecordEntry) GetHeight() uint64

func (*NameRecordEntry) GetId

func (m *NameRecordEntry) GetId() string

func (*NameRecordEntry) Marshal

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

func (*NameRecordEntry) MarshalTo

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

func (*NameRecordEntry) MarshalToSizedBuffer

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

func (*NameRecordEntry) ProtoMessage

func (*NameRecordEntry) ProtoMessage()

func (*NameRecordEntry) Reset

func (m *NameRecordEntry) Reset()

func (*NameRecordEntry) Size

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

func (*NameRecordEntry) String

func (m *NameRecordEntry) String() string

func (*NameRecordEntry) Unmarshal

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

func (*NameRecordEntry) XXX_DiscardUnknown

func (m *NameRecordEntry) XXX_DiscardUnknown()

func (*NameRecordEntry) XXX_Marshal

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

func (*NameRecordEntry) XXX_Merge

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

func (*NameRecordEntry) XXX_Size

func (m *NameRecordEntry) XXX_Size() int

func (*NameRecordEntry) XXX_Unmarshal

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

type Params

type Params struct {
	RecordRent                      types.Coin    `protobuf:"bytes,1,opt,name=record_rent,json=recordRent,proto3" json:"record_rent" json:"record_rent" yaml:"record_rent"`
	RecordRentDuration              time.Duration `` /* 175-byte string literal not displayed */
	AuthorityRent                   types.Coin    `` /* 134-byte string literal not displayed */
	AuthorityRentDuration           time.Duration `` /* 190-byte string literal not displayed */
	AuthorityGracePeriod            time.Duration `` /* 185-byte string literal not displayed */
	AuthorityAuctionEnabled         bool          `` /* 199-byte string literal not displayed */
	AuthorityAuctionCommitsDuration time.Duration `` /* 244-byte string literal not displayed */
	AuthorityAuctionRevealsDuration time.Duration `` /* 244-byte string literal not displayed */
	AuthorityAuctionCommitFee       types.Coin    `` /* 202-byte string literal not displayed */
	AuthorityAuctionRevealFee       types.Coin    `` /* 203-byte string literal not displayed */
	AuthorityAuctionMinimumBid      types.Coin    `` /* 208-byte string literal not displayed */
}

Params defines the registry module parameters

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters.

func NewParams

func NewParams(recordRent sdk.Coin, recordRentDuration time.Duration,
	authorityRent sdk.Coin, authorityRentDuration time.Duration, authorityGracePeriod time.Duration,
	authorityAuctionEnabled bool, commitsDuration time.Duration, revealsDuration time.Duration,
	commitFee sdk.Coin, revealFee sdk.Coin, minimumBid sdk.Coin,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (Params) Equal

func (p Params) Equal(p2 Params) bool

Equal returns a boolean determining if two Params types are identical.

func (*Params) GetAuthorityAuctionCommitFee

func (m *Params) GetAuthorityAuctionCommitFee() types.Coin

func (*Params) GetAuthorityAuctionCommitsDuration

func (m *Params) GetAuthorityAuctionCommitsDuration() time.Duration

func (*Params) GetAuthorityAuctionEnabled

func (m *Params) GetAuthorityAuctionEnabled() bool

func (*Params) GetAuthorityAuctionMinimumBid

func (m *Params) GetAuthorityAuctionMinimumBid() types.Coin

func (*Params) GetAuthorityAuctionRevealFee

func (m *Params) GetAuthorityAuctionRevealFee() types.Coin

func (*Params) GetAuthorityAuctionRevealsDuration

func (m *Params) GetAuthorityAuctionRevealsDuration() time.Duration

func (*Params) GetAuthorityGracePeriod

func (m *Params) GetAuthorityGracePeriod() time.Duration

func (*Params) GetAuthorityRent

func (m *Params) GetAuthorityRent() types.Coin

func (*Params) GetAuthorityRentDuration

func (m *Params) GetAuthorityRentDuration() time.Duration

func (*Params) GetRecordRent

func (m *Params) GetRecordRent() types.Coin

func (*Params) GetRecordRentDuration

func (m *Params) GetRecordRentDuration() time.Duration

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs returns the parameter set pairs.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate a set of params.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type Payload

type Payload struct {
	Record     *Record     `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	Signatures []Signature `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures" json:"signatures" yaml:"signatures"`
}

Payload

func (*Payload) Descriptor

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

func (*Payload) GetRecord

func (m *Payload) GetRecord() *Record

func (*Payload) GetSignatures

func (m *Payload) GetSignatures() []Signature

func (*Payload) Marshal

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

func (*Payload) MarshalTo

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

func (*Payload) MarshalToSizedBuffer

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

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) Reset

func (m *Payload) Reset()

func (*Payload) Size

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

func (*Payload) String

func (m *Payload) String() string

func (Payload) ToReadablePayload

func (payload Payload) ToReadablePayload() PayloadType

ToReadablePayload converts Payload to PayloadType It will unmarshal with record attributes

func (*Payload) Unmarshal

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

func (*Payload) XXX_DiscardUnknown

func (m *Payload) XXX_DiscardUnknown()

func (*Payload) XXX_Marshal

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

func (*Payload) XXX_Merge

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

func (*Payload) XXX_Size

func (m *Payload) XXX_Size() int

func (*Payload) XXX_Unmarshal

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

type PayloadType

type PayloadType struct {
	Record     map[string]interface{} `json:"record"`
	Signatures []Signature            `json:"signatures"`
}

PayloadType represents a signed record payload that can be serialized from/to YAML.

func (*PayloadType) ToPayload

func (payloadObj *PayloadType) ToPayload() (Payload, error)

ToPayload converts PayloadType to Payload object. Why? Because go-amino can't handle maps: https://github.com/tendermint/go-amino/issues/4.

type QueryClient

type QueryClient interface {
	// Params queries the registry module params.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// List records
	ListRecords(ctx context.Context, in *QueryListRecordsRequest, opts ...grpc.CallOption) (*QueryListRecordsResponse, error)
	// Get record by id
	GetRecord(ctx context.Context, in *QueryRecordByIDRequest, opts ...grpc.CallOption) (*QueryRecordByIDResponse, error)
	// Get records by bond id
	GetRecordByBondID(ctx context.Context, in *QueryRecordByBondIDRequest, opts ...grpc.CallOption) (*QueryRecordByBondIDResponse, error)
	// Get registry module balance
	GetRegistryModuleBalance(ctx context.Context, in *GetRegistryModuleBalanceRequest, opts ...grpc.CallOption) (*GetRegistryModuleBalanceResponse, error)
	// List name records
	ListNameRecords(ctx context.Context, in *QueryListNameRecordsRequest, opts ...grpc.CallOption) (*QueryListNameRecordsResponse, error)
	// Whois method retrieve the name authority info
	Whois(ctx context.Context, in *QueryWhoisRequest, opts ...grpc.CallOption) (*QueryWhoisResponse, error)
	// LookupCrn
	LookupCrn(ctx context.Context, in *QueryLookupCrn, opts ...grpc.CallOption) (*QueryLookupCrnResponse, error)
	// ResolveCrn
	ResolveCrn(ctx context.Context, in *QueryResolveCrn, opts ...grpc.CallOption) (*QueryResolveCrnResponse, error)
	// GetRecordExpiryQueue
	GetRecordExpiryQueue(ctx context.Context, in *QueryGetRecordExpiryQueue, opts ...grpc.CallOption) (*QueryGetRecordExpiryQueueResponse, error)
	// GetAuthorityExpiryQueue
	GetAuthorityExpiryQueue(ctx context.Context, in *QueryGetAuthorityExpiryQueue, opts ...grpc.CallOption) (*QueryGetAuthorityExpiryQueueResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetAuthorityExpiryQueue

type QueryGetAuthorityExpiryQueue struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAuthorityExpiryQueue

func (*QueryGetAuthorityExpiryQueue) Descriptor

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

func (*QueryGetAuthorityExpiryQueue) GetPagination

func (m *QueryGetAuthorityExpiryQueue) GetPagination() *query.PageRequest

func (*QueryGetAuthorityExpiryQueue) Marshal

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

func (*QueryGetAuthorityExpiryQueue) MarshalTo

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

func (*QueryGetAuthorityExpiryQueue) MarshalToSizedBuffer

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

func (*QueryGetAuthorityExpiryQueue) ProtoMessage

func (*QueryGetAuthorityExpiryQueue) ProtoMessage()

func (*QueryGetAuthorityExpiryQueue) Reset

func (m *QueryGetAuthorityExpiryQueue) Reset()

func (*QueryGetAuthorityExpiryQueue) Size

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

func (*QueryGetAuthorityExpiryQueue) String

func (*QueryGetAuthorityExpiryQueue) Unmarshal

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

func (*QueryGetAuthorityExpiryQueue) XXX_DiscardUnknown

func (m *QueryGetAuthorityExpiryQueue) XXX_DiscardUnknown()

func (*QueryGetAuthorityExpiryQueue) XXX_Marshal

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

func (*QueryGetAuthorityExpiryQueue) XXX_Merge

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

func (*QueryGetAuthorityExpiryQueue) XXX_Size

func (m *QueryGetAuthorityExpiryQueue) XXX_Size() int

func (*QueryGetAuthorityExpiryQueue) XXX_Unmarshal

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

type QueryGetAuthorityExpiryQueueResponse

type QueryGetAuthorityExpiryQueueResponse struct {
	Authorities []*ExpiryQueueRecord `protobuf:"bytes,1,rep,name=authorities,proto3" json:"authorities,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAuthorityExpiryQueueResponse

func (*QueryGetAuthorityExpiryQueueResponse) Descriptor

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

func (*QueryGetAuthorityExpiryQueueResponse) GetAuthorities

func (*QueryGetAuthorityExpiryQueueResponse) GetPagination

func (*QueryGetAuthorityExpiryQueueResponse) Marshal

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

func (*QueryGetAuthorityExpiryQueueResponse) MarshalTo

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

func (*QueryGetAuthorityExpiryQueueResponse) MarshalToSizedBuffer

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

func (*QueryGetAuthorityExpiryQueueResponse) ProtoMessage

func (*QueryGetAuthorityExpiryQueueResponse) ProtoMessage()

func (*QueryGetAuthorityExpiryQueueResponse) Reset

func (*QueryGetAuthorityExpiryQueueResponse) Size

func (*QueryGetAuthorityExpiryQueueResponse) String

func (*QueryGetAuthorityExpiryQueueResponse) Unmarshal

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

func (*QueryGetAuthorityExpiryQueueResponse) XXX_DiscardUnknown

func (m *QueryGetAuthorityExpiryQueueResponse) XXX_DiscardUnknown()

func (*QueryGetAuthorityExpiryQueueResponse) XXX_Marshal

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

func (*QueryGetAuthorityExpiryQueueResponse) XXX_Merge

func (*QueryGetAuthorityExpiryQueueResponse) XXX_Size

func (*QueryGetAuthorityExpiryQueueResponse) XXX_Unmarshal

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

type QueryGetRecordExpiryQueue

type QueryGetRecordExpiryQueue struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetRecordExpiryQueue

func (*QueryGetRecordExpiryQueue) Descriptor

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

func (*QueryGetRecordExpiryQueue) GetPagination

func (m *QueryGetRecordExpiryQueue) GetPagination() *query.PageRequest

func (*QueryGetRecordExpiryQueue) Marshal

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

func (*QueryGetRecordExpiryQueue) MarshalTo

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

func (*QueryGetRecordExpiryQueue) MarshalToSizedBuffer

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

func (*QueryGetRecordExpiryQueue) ProtoMessage

func (*QueryGetRecordExpiryQueue) ProtoMessage()

func (*QueryGetRecordExpiryQueue) Reset

func (m *QueryGetRecordExpiryQueue) Reset()

func (*QueryGetRecordExpiryQueue) Size

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

func (*QueryGetRecordExpiryQueue) String

func (m *QueryGetRecordExpiryQueue) String() string

func (*QueryGetRecordExpiryQueue) Unmarshal

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

func (*QueryGetRecordExpiryQueue) XXX_DiscardUnknown

func (m *QueryGetRecordExpiryQueue) XXX_DiscardUnknown()

func (*QueryGetRecordExpiryQueue) XXX_Marshal

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

func (*QueryGetRecordExpiryQueue) XXX_Merge

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

func (*QueryGetRecordExpiryQueue) XXX_Size

func (m *QueryGetRecordExpiryQueue) XXX_Size() int

func (*QueryGetRecordExpiryQueue) XXX_Unmarshal

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

type QueryGetRecordExpiryQueueResponse

type QueryGetRecordExpiryQueueResponse struct {
	Records []*ExpiryQueueRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetRecordExpiryQueueResponse

func (*QueryGetRecordExpiryQueueResponse) Descriptor

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

func (*QueryGetRecordExpiryQueueResponse) GetPagination

func (*QueryGetRecordExpiryQueueResponse) GetRecords

func (*QueryGetRecordExpiryQueueResponse) Marshal

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

func (*QueryGetRecordExpiryQueueResponse) MarshalTo

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

func (*QueryGetRecordExpiryQueueResponse) MarshalToSizedBuffer

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

func (*QueryGetRecordExpiryQueueResponse) ProtoMessage

func (*QueryGetRecordExpiryQueueResponse) ProtoMessage()

func (*QueryGetRecordExpiryQueueResponse) Reset

func (*QueryGetRecordExpiryQueueResponse) Size

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

func (*QueryGetRecordExpiryQueueResponse) String

func (*QueryGetRecordExpiryQueueResponse) Unmarshal

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

func (*QueryGetRecordExpiryQueueResponse) XXX_DiscardUnknown

func (m *QueryGetRecordExpiryQueueResponse) XXX_DiscardUnknown()

func (*QueryGetRecordExpiryQueueResponse) XXX_Marshal

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

func (*QueryGetRecordExpiryQueueResponse) XXX_Merge

func (*QueryGetRecordExpiryQueueResponse) XXX_Size

func (m *QueryGetRecordExpiryQueueResponse) XXX_Size() int

func (*QueryGetRecordExpiryQueueResponse) XXX_Unmarshal

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

type QueryListNameRecordsRequest

type QueryListNameRecordsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryListNameRecordsRequest is request type for registry names records

func (*QueryListNameRecordsRequest) Descriptor

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

func (*QueryListNameRecordsRequest) GetPagination

func (m *QueryListNameRecordsRequest) GetPagination() *query.PageRequest

func (*QueryListNameRecordsRequest) Marshal

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

func (*QueryListNameRecordsRequest) MarshalTo

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

func (*QueryListNameRecordsRequest) MarshalToSizedBuffer

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

func (*QueryListNameRecordsRequest) ProtoMessage

func (*QueryListNameRecordsRequest) ProtoMessage()

func (*QueryListNameRecordsRequest) Reset

func (m *QueryListNameRecordsRequest) Reset()

func (*QueryListNameRecordsRequest) Size

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

func (*QueryListNameRecordsRequest) String

func (m *QueryListNameRecordsRequest) String() string

func (*QueryListNameRecordsRequest) Unmarshal

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

func (*QueryListNameRecordsRequest) XXX_DiscardUnknown

func (m *QueryListNameRecordsRequest) XXX_DiscardUnknown()

func (*QueryListNameRecordsRequest) XXX_Marshal

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

func (*QueryListNameRecordsRequest) XXX_Merge

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

func (*QueryListNameRecordsRequest) XXX_Size

func (m *QueryListNameRecordsRequest) XXX_Size() int

func (*QueryListNameRecordsRequest) XXX_Unmarshal

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

type QueryListNameRecordsResponse

type QueryListNameRecordsResponse struct {
	Names []NameEntry `protobuf:"bytes,1,rep,name=names,proto3" json:"names"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryListNameRecordsResponse is response type for registry names records

func (*QueryListNameRecordsResponse) Descriptor

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

func (*QueryListNameRecordsResponse) GetNames

func (m *QueryListNameRecordsResponse) GetNames() []NameEntry

func (*QueryListNameRecordsResponse) GetPagination

func (m *QueryListNameRecordsResponse) GetPagination() *query.PageResponse

func (*QueryListNameRecordsResponse) Marshal

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

func (*QueryListNameRecordsResponse) MarshalTo

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

func (*QueryListNameRecordsResponse) MarshalToSizedBuffer

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

func (*QueryListNameRecordsResponse) ProtoMessage

func (*QueryListNameRecordsResponse) ProtoMessage()

func (*QueryListNameRecordsResponse) Reset

func (m *QueryListNameRecordsResponse) Reset()

func (*QueryListNameRecordsResponse) Size

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

func (*QueryListNameRecordsResponse) String

func (*QueryListNameRecordsResponse) Unmarshal

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

func (*QueryListNameRecordsResponse) XXX_DiscardUnknown

func (m *QueryListNameRecordsResponse) XXX_DiscardUnknown()

func (*QueryListNameRecordsResponse) XXX_Marshal

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

func (*QueryListNameRecordsResponse) XXX_Merge

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

func (*QueryListNameRecordsResponse) XXX_Size

func (m *QueryListNameRecordsResponse) XXX_Size() int

func (*QueryListNameRecordsResponse) XXX_Unmarshal

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

type QueryListRecordsRequest

type QueryListRecordsRequest struct {
	Attributes []*QueryListRecordsRequest_KeyValueInput `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	All        bool                                     `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryListRecordsRequest is request type for registry records list

func (*QueryListRecordsRequest) Descriptor

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

func (*QueryListRecordsRequest) GetAll

func (m *QueryListRecordsRequest) GetAll() bool

func (*QueryListRecordsRequest) GetAttributes

func (*QueryListRecordsRequest) GetPagination

func (m *QueryListRecordsRequest) GetPagination() *query.PageRequest

func (*QueryListRecordsRequest) Marshal

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

func (*QueryListRecordsRequest) MarshalTo

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

func (*QueryListRecordsRequest) MarshalToSizedBuffer

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

func (*QueryListRecordsRequest) ProtoMessage

func (*QueryListRecordsRequest) ProtoMessage()

func (*QueryListRecordsRequest) Reset

func (m *QueryListRecordsRequest) Reset()

func (*QueryListRecordsRequest) Size

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

func (*QueryListRecordsRequest) String

func (m *QueryListRecordsRequest) String() string

func (*QueryListRecordsRequest) Unmarshal

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

func (*QueryListRecordsRequest) XXX_DiscardUnknown

func (m *QueryListRecordsRequest) XXX_DiscardUnknown()

func (*QueryListRecordsRequest) XXX_Marshal

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

func (*QueryListRecordsRequest) XXX_Merge

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

func (*QueryListRecordsRequest) XXX_Size

func (m *QueryListRecordsRequest) XXX_Size() int

func (*QueryListRecordsRequest) XXX_Unmarshal

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

type QueryListRecordsRequest_KeyValueInput

type QueryListRecordsRequest_KeyValueInput struct {
	Key   string                              `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *QueryListRecordsRequest_ValueInput `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*QueryListRecordsRequest_KeyValueInput) Descriptor

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

func (*QueryListRecordsRequest_KeyValueInput) GetKey

func (*QueryListRecordsRequest_KeyValueInput) GetValue

func (*QueryListRecordsRequest_KeyValueInput) Marshal

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

func (*QueryListRecordsRequest_KeyValueInput) MarshalTo

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

func (*QueryListRecordsRequest_KeyValueInput) MarshalToSizedBuffer

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

func (*QueryListRecordsRequest_KeyValueInput) ProtoMessage

func (*QueryListRecordsRequest_KeyValueInput) ProtoMessage()

func (*QueryListRecordsRequest_KeyValueInput) Reset

func (*QueryListRecordsRequest_KeyValueInput) Size

func (*QueryListRecordsRequest_KeyValueInput) String

func (*QueryListRecordsRequest_KeyValueInput) Unmarshal

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

func (*QueryListRecordsRequest_KeyValueInput) XXX_DiscardUnknown

func (m *QueryListRecordsRequest_KeyValueInput) XXX_DiscardUnknown()

func (*QueryListRecordsRequest_KeyValueInput) XXX_Marshal

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

func (*QueryListRecordsRequest_KeyValueInput) XXX_Merge

func (*QueryListRecordsRequest_KeyValueInput) XXX_Size

func (*QueryListRecordsRequest_KeyValueInput) XXX_Unmarshal

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

type QueryListRecordsRequest_ReferenceInput

type QueryListRecordsRequest_ReferenceInput struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryListRecordsRequest_ReferenceInput) Descriptor

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

func (*QueryListRecordsRequest_ReferenceInput) GetId

func (*QueryListRecordsRequest_ReferenceInput) Marshal

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

func (*QueryListRecordsRequest_ReferenceInput) MarshalTo

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

func (*QueryListRecordsRequest_ReferenceInput) MarshalToSizedBuffer

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

func (*QueryListRecordsRequest_ReferenceInput) ProtoMessage

func (*QueryListRecordsRequest_ReferenceInput) Reset

func (*QueryListRecordsRequest_ReferenceInput) Size

func (*QueryListRecordsRequest_ReferenceInput) String

func (*QueryListRecordsRequest_ReferenceInput) Unmarshal

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

func (*QueryListRecordsRequest_ReferenceInput) XXX_DiscardUnknown

func (m *QueryListRecordsRequest_ReferenceInput) XXX_DiscardUnknown()

func (*QueryListRecordsRequest_ReferenceInput) XXX_Marshal

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

func (*QueryListRecordsRequest_ReferenceInput) XXX_Merge

func (*QueryListRecordsRequest_ReferenceInput) XXX_Size

func (*QueryListRecordsRequest_ReferenceInput) XXX_Unmarshal

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

type QueryListRecordsRequest_ValueInput

type QueryListRecordsRequest_ValueInput struct {
	Type      string                                  `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	String_   string                                  `protobuf:"bytes,2,opt,name=string,proto3" json:"string,omitempty"`
	Int       int64                                   `protobuf:"varint,3,opt,name=int,proto3" json:"int,omitempty"`
	Float     float64                                 `protobuf:"fixed64,4,opt,name=float,proto3" json:"float,omitempty"`
	Boolean   bool                                    `protobuf:"varint,5,opt,name=boolean,proto3" json:"boolean,omitempty"`
	Reference *QueryListRecordsRequest_ReferenceInput `protobuf:"bytes,6,opt,name=reference,proto3" json:"reference,omitempty"`
	Values    []*QueryListRecordsRequest_ValueInput   `protobuf:"bytes,7,rep,name=values,proto3" json:"values,omitempty"`
}

func (*QueryListRecordsRequest_ValueInput) Descriptor

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

func (*QueryListRecordsRequest_ValueInput) GetBoolean

func (m *QueryListRecordsRequest_ValueInput) GetBoolean() bool

func (*QueryListRecordsRequest_ValueInput) GetFloat

func (*QueryListRecordsRequest_ValueInput) GetInt

func (*QueryListRecordsRequest_ValueInput) GetReference

func (*QueryListRecordsRequest_ValueInput) GetString_

func (*QueryListRecordsRequest_ValueInput) GetType

func (*QueryListRecordsRequest_ValueInput) GetValues

func (*QueryListRecordsRequest_ValueInput) Marshal

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

func (*QueryListRecordsRequest_ValueInput) MarshalTo

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

func (*QueryListRecordsRequest_ValueInput) MarshalToSizedBuffer

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

func (*QueryListRecordsRequest_ValueInput) ProtoMessage

func (*QueryListRecordsRequest_ValueInput) ProtoMessage()

func (*QueryListRecordsRequest_ValueInput) Reset

func (*QueryListRecordsRequest_ValueInput) Size

func (*QueryListRecordsRequest_ValueInput) String

func (*QueryListRecordsRequest_ValueInput) Unmarshal

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

func (*QueryListRecordsRequest_ValueInput) XXX_DiscardUnknown

func (m *QueryListRecordsRequest_ValueInput) XXX_DiscardUnknown()

func (*QueryListRecordsRequest_ValueInput) XXX_Marshal

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

func (*QueryListRecordsRequest_ValueInput) XXX_Merge

func (*QueryListRecordsRequest_ValueInput) XXX_Size

func (*QueryListRecordsRequest_ValueInput) XXX_Unmarshal

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

type QueryListRecordsResponse

type QueryListRecordsResponse struct {
	Records []Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryListRecordsResponse is response type for registry records list

func (*QueryListRecordsResponse) Descriptor

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

func (*QueryListRecordsResponse) GetPagination

func (m *QueryListRecordsResponse) GetPagination() *query.PageResponse

func (*QueryListRecordsResponse) GetRecords

func (m *QueryListRecordsResponse) GetRecords() []Record

func (*QueryListRecordsResponse) Marshal

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

func (*QueryListRecordsResponse) MarshalTo

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

func (*QueryListRecordsResponse) MarshalToSizedBuffer

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

func (*QueryListRecordsResponse) ProtoMessage

func (*QueryListRecordsResponse) ProtoMessage()

func (*QueryListRecordsResponse) Reset

func (m *QueryListRecordsResponse) Reset()

func (*QueryListRecordsResponse) Size

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

func (*QueryListRecordsResponse) String

func (m *QueryListRecordsResponse) String() string

func (*QueryListRecordsResponse) Unmarshal

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

func (*QueryListRecordsResponse) XXX_DiscardUnknown

func (m *QueryListRecordsResponse) XXX_DiscardUnknown()

func (*QueryListRecordsResponse) XXX_Marshal

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

func (*QueryListRecordsResponse) XXX_Merge

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

func (*QueryListRecordsResponse) XXX_Size

func (m *QueryListRecordsResponse) XXX_Size() int

func (*QueryListRecordsResponse) XXX_Unmarshal

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

type QueryLookupCrn

type QueryLookupCrn struct {
	Crn string `protobuf:"bytes,1,opt,name=crn,proto3" json:"crn,omitempty"`
}

QueryLookupCrn is request type for LookupCrn

func (*QueryLookupCrn) Descriptor

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

func (*QueryLookupCrn) GetCrn

func (m *QueryLookupCrn) GetCrn() string

func (*QueryLookupCrn) Marshal

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

func (*QueryLookupCrn) MarshalTo

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

func (*QueryLookupCrn) MarshalToSizedBuffer

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

func (*QueryLookupCrn) ProtoMessage

func (*QueryLookupCrn) ProtoMessage()

func (*QueryLookupCrn) Reset

func (m *QueryLookupCrn) Reset()

func (*QueryLookupCrn) Size

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

func (*QueryLookupCrn) String

func (m *QueryLookupCrn) String() string

func (*QueryLookupCrn) Unmarshal

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

func (*QueryLookupCrn) XXX_DiscardUnknown

func (m *QueryLookupCrn) XXX_DiscardUnknown()

func (*QueryLookupCrn) XXX_Marshal

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

func (*QueryLookupCrn) XXX_Merge

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

func (*QueryLookupCrn) XXX_Size

func (m *QueryLookupCrn) XXX_Size() int

func (*QueryLookupCrn) XXX_Unmarshal

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

type QueryLookupCrnResponse

type QueryLookupCrnResponse struct {
	Name *NameRecord `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

QueryLookupCrnResponse is response type for QueryLookupCrn

func (*QueryLookupCrnResponse) Descriptor

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

func (*QueryLookupCrnResponse) GetName

func (m *QueryLookupCrnResponse) GetName() *NameRecord

func (*QueryLookupCrnResponse) Marshal

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

func (*QueryLookupCrnResponse) MarshalTo

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

func (*QueryLookupCrnResponse) MarshalToSizedBuffer

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

func (*QueryLookupCrnResponse) ProtoMessage

func (*QueryLookupCrnResponse) ProtoMessage()

func (*QueryLookupCrnResponse) Reset

func (m *QueryLookupCrnResponse) Reset()

func (*QueryLookupCrnResponse) Size

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

func (*QueryLookupCrnResponse) String

func (m *QueryLookupCrnResponse) String() string

func (*QueryLookupCrnResponse) Unmarshal

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

func (*QueryLookupCrnResponse) XXX_DiscardUnknown

func (m *QueryLookupCrnResponse) XXX_DiscardUnknown()

func (*QueryLookupCrnResponse) XXX_Marshal

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

func (*QueryLookupCrnResponse) XXX_Merge

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

func (*QueryLookupCrnResponse) XXX_Size

func (m *QueryLookupCrnResponse) XXX_Size() int

func (*QueryLookupCrnResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for registry params

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

QueryParamsResponse is response type for registry params

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryRecordByBondIDRequest

type QueryRecordByBondIDRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryRecordByBondIdRequest is request type for get the records by bond-id

func (*QueryRecordByBondIDRequest) Descriptor

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

func (*QueryRecordByBondIDRequest) GetId

func (*QueryRecordByBondIDRequest) GetPagination

func (m *QueryRecordByBondIDRequest) GetPagination() *query.PageRequest

func (*QueryRecordByBondIDRequest) Marshal

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

func (*QueryRecordByBondIDRequest) MarshalTo

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

func (*QueryRecordByBondIDRequest) MarshalToSizedBuffer

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

func (*QueryRecordByBondIDRequest) ProtoMessage

func (*QueryRecordByBondIDRequest) ProtoMessage()

func (*QueryRecordByBondIDRequest) Reset

func (m *QueryRecordByBondIDRequest) Reset()

func (*QueryRecordByBondIDRequest) Size

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

func (*QueryRecordByBondIDRequest) String

func (m *QueryRecordByBondIDRequest) String() string

func (*QueryRecordByBondIDRequest) Unmarshal

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

func (*QueryRecordByBondIDRequest) XXX_DiscardUnknown

func (m *QueryRecordByBondIDRequest) XXX_DiscardUnknown()

func (*QueryRecordByBondIDRequest) XXX_Marshal

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

func (*QueryRecordByBondIDRequest) XXX_Merge

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

func (*QueryRecordByBondIDRequest) XXX_Size

func (m *QueryRecordByBondIDRequest) XXX_Size() int

func (*QueryRecordByBondIDRequest) XXX_Unmarshal

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

type QueryRecordByBondIDResponse

type QueryRecordByBondIDResponse struct {
	Records []Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryRecordByBondIdResponse is response type for records list by bond-id

func (*QueryRecordByBondIDResponse) Descriptor

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

func (*QueryRecordByBondIDResponse) GetPagination

func (m *QueryRecordByBondIDResponse) GetPagination() *query.PageResponse

func (*QueryRecordByBondIDResponse) GetRecords

func (m *QueryRecordByBondIDResponse) GetRecords() []Record

func (*QueryRecordByBondIDResponse) Marshal

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

func (*QueryRecordByBondIDResponse) MarshalTo

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

func (*QueryRecordByBondIDResponse) MarshalToSizedBuffer

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

func (*QueryRecordByBondIDResponse) ProtoMessage

func (*QueryRecordByBondIDResponse) ProtoMessage()

func (*QueryRecordByBondIDResponse) Reset

func (m *QueryRecordByBondIDResponse) Reset()

func (*QueryRecordByBondIDResponse) Size

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

func (*QueryRecordByBondIDResponse) String

func (m *QueryRecordByBondIDResponse) String() string

func (*QueryRecordByBondIDResponse) Unmarshal

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

func (*QueryRecordByBondIDResponse) XXX_DiscardUnknown

func (m *QueryRecordByBondIDResponse) XXX_DiscardUnknown()

func (*QueryRecordByBondIDResponse) XXX_Marshal

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

func (*QueryRecordByBondIDResponse) XXX_Merge

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

func (*QueryRecordByBondIDResponse) XXX_Size

func (m *QueryRecordByBondIDResponse) XXX_Size() int

func (*QueryRecordByBondIDResponse) XXX_Unmarshal

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

type QueryRecordByIDRequest

type QueryRecordByIDRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryRecordByIDRequest is request type for registry records by id

func (*QueryRecordByIDRequest) Descriptor

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

func (*QueryRecordByIDRequest) GetId

func (m *QueryRecordByIDRequest) GetId() string

func (*QueryRecordByIDRequest) Marshal

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

func (*QueryRecordByIDRequest) MarshalTo

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

func (*QueryRecordByIDRequest) MarshalToSizedBuffer

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

func (*QueryRecordByIDRequest) ProtoMessage

func (*QueryRecordByIDRequest) ProtoMessage()

func (*QueryRecordByIDRequest) Reset

func (m *QueryRecordByIDRequest) Reset()

func (*QueryRecordByIDRequest) Size

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

func (*QueryRecordByIDRequest) String

func (m *QueryRecordByIDRequest) String() string

func (*QueryRecordByIDRequest) Unmarshal

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

func (*QueryRecordByIDRequest) XXX_DiscardUnknown

func (m *QueryRecordByIDRequest) XXX_DiscardUnknown()

func (*QueryRecordByIDRequest) XXX_Marshal

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

func (*QueryRecordByIDRequest) XXX_Merge

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

func (*QueryRecordByIDRequest) XXX_Size

func (m *QueryRecordByIDRequest) XXX_Size() int

func (*QueryRecordByIDRequest) XXX_Unmarshal

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

type QueryRecordByIDResponse

type QueryRecordByIDResponse struct {
	Record Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record"`
}

QueryRecordByIDResponse is response type for registry records by id

func (*QueryRecordByIDResponse) Descriptor

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

func (*QueryRecordByIDResponse) GetRecord

func (m *QueryRecordByIDResponse) GetRecord() Record

func (*QueryRecordByIDResponse) Marshal

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

func (*QueryRecordByIDResponse) MarshalTo

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

func (*QueryRecordByIDResponse) MarshalToSizedBuffer

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

func (*QueryRecordByIDResponse) ProtoMessage

func (*QueryRecordByIDResponse) ProtoMessage()

func (*QueryRecordByIDResponse) Reset

func (m *QueryRecordByIDResponse) Reset()

func (*QueryRecordByIDResponse) Size

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

func (*QueryRecordByIDResponse) String

func (m *QueryRecordByIDResponse) String() string

func (*QueryRecordByIDResponse) Unmarshal

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

func (*QueryRecordByIDResponse) XXX_DiscardUnknown

func (m *QueryRecordByIDResponse) XXX_DiscardUnknown()

func (*QueryRecordByIDResponse) XXX_Marshal

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

func (*QueryRecordByIDResponse) XXX_Merge

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

func (*QueryRecordByIDResponse) XXX_Size

func (m *QueryRecordByIDResponse) XXX_Size() int

func (*QueryRecordByIDResponse) XXX_Unmarshal

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

type QueryResolveCrn

type QueryResolveCrn struct {
	Crn string `protobuf:"bytes,1,opt,name=crn,proto3" json:"crn,omitempty"`
}

QueryResolveCrn is request type for ResolveCrn

func (*QueryResolveCrn) Descriptor

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

func (*QueryResolveCrn) GetCrn

func (m *QueryResolveCrn) GetCrn() string

func (*QueryResolveCrn) Marshal

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

func (*QueryResolveCrn) MarshalTo

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

func (*QueryResolveCrn) MarshalToSizedBuffer

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

func (*QueryResolveCrn) ProtoMessage

func (*QueryResolveCrn) ProtoMessage()

func (*QueryResolveCrn) Reset

func (m *QueryResolveCrn) Reset()

func (*QueryResolveCrn) Size

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

func (*QueryResolveCrn) String

func (m *QueryResolveCrn) String() string

func (*QueryResolveCrn) Unmarshal

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

func (*QueryResolveCrn) XXX_DiscardUnknown

func (m *QueryResolveCrn) XXX_DiscardUnknown()

func (*QueryResolveCrn) XXX_Marshal

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

func (*QueryResolveCrn) XXX_Merge

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

func (*QueryResolveCrn) XXX_Size

func (m *QueryResolveCrn) XXX_Size() int

func (*QueryResolveCrn) XXX_Unmarshal

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

type QueryResolveCrnResponse

type QueryResolveCrnResponse struct {
	Record *Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
}

QueryResolveCrnResponse is response type for QueryResolveCrn

func (*QueryResolveCrnResponse) Descriptor

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

func (*QueryResolveCrnResponse) GetRecord

func (m *QueryResolveCrnResponse) GetRecord() *Record

func (*QueryResolveCrnResponse) Marshal

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

func (*QueryResolveCrnResponse) MarshalTo

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

func (*QueryResolveCrnResponse) MarshalToSizedBuffer

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

func (*QueryResolveCrnResponse) ProtoMessage

func (*QueryResolveCrnResponse) ProtoMessage()

func (*QueryResolveCrnResponse) Reset

func (m *QueryResolveCrnResponse) Reset()

func (*QueryResolveCrnResponse) Size

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

func (*QueryResolveCrnResponse) String

func (m *QueryResolveCrnResponse) String() string

func (*QueryResolveCrnResponse) Unmarshal

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

func (*QueryResolveCrnResponse) XXX_DiscardUnknown

func (m *QueryResolveCrnResponse) XXX_DiscardUnknown()

func (*QueryResolveCrnResponse) XXX_Marshal

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

func (*QueryResolveCrnResponse) XXX_Merge

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

func (*QueryResolveCrnResponse) XXX_Size

func (m *QueryResolveCrnResponse) XXX_Size() int

func (*QueryResolveCrnResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Params queries the registry module params.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// List records
	ListRecords(context.Context, *QueryListRecordsRequest) (*QueryListRecordsResponse, error)
	// Get record by id
	GetRecord(context.Context, *QueryRecordByIDRequest) (*QueryRecordByIDResponse, error)
	// Get records by bond id
	GetRecordByBondID(context.Context, *QueryRecordByBondIDRequest) (*QueryRecordByBondIDResponse, error)
	// Get registry module balance
	GetRegistryModuleBalance(context.Context, *GetRegistryModuleBalanceRequest) (*GetRegistryModuleBalanceResponse, error)
	// List name records
	ListNameRecords(context.Context, *QueryListNameRecordsRequest) (*QueryListNameRecordsResponse, error)
	// Whois method retrieve the name authority info
	Whois(context.Context, *QueryWhoisRequest) (*QueryWhoisResponse, error)
	// LookupCrn
	LookupCrn(context.Context, *QueryLookupCrn) (*QueryLookupCrnResponse, error)
	// ResolveCrn
	ResolveCrn(context.Context, *QueryResolveCrn) (*QueryResolveCrnResponse, error)
	// GetRecordExpiryQueue
	GetRecordExpiryQueue(context.Context, *QueryGetRecordExpiryQueue) (*QueryGetRecordExpiryQueueResponse, error)
	// GetAuthorityExpiryQueue
	GetAuthorityExpiryQueue(context.Context, *QueryGetAuthorityExpiryQueue) (*QueryGetAuthorityExpiryQueueResponse, error)
}

QueryServer is the server API for Query service.

type QueryWhoisRequest

type QueryWhoisRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}

QueryWhoisRequest is request type for Get NameAuthority

func (*QueryWhoisRequest) Descriptor

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

func (*QueryWhoisRequest) GetName

func (m *QueryWhoisRequest) GetName() string

func (*QueryWhoisRequest) Marshal

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

func (*QueryWhoisRequest) MarshalTo

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

func (*QueryWhoisRequest) MarshalToSizedBuffer

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

func (*QueryWhoisRequest) ProtoMessage

func (*QueryWhoisRequest) ProtoMessage()

func (*QueryWhoisRequest) Reset

func (m *QueryWhoisRequest) Reset()

func (*QueryWhoisRequest) Size

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

func (*QueryWhoisRequest) String

func (m *QueryWhoisRequest) String() string

func (*QueryWhoisRequest) Unmarshal

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

func (*QueryWhoisRequest) XXX_DiscardUnknown

func (m *QueryWhoisRequest) XXX_DiscardUnknown()

func (*QueryWhoisRequest) XXX_Marshal

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

func (*QueryWhoisRequest) XXX_Merge

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

func (*QueryWhoisRequest) XXX_Size

func (m *QueryWhoisRequest) XXX_Size() int

func (*QueryWhoisRequest) XXX_Unmarshal

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

type QueryWhoisResponse

type QueryWhoisResponse struct {
	NameAuthority NameAuthority `` /* 132-byte string literal not displayed */
}

QueryWhoisResponse is response type for whois request

func (*QueryWhoisResponse) Descriptor

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

func (*QueryWhoisResponse) GetNameAuthority

func (m *QueryWhoisResponse) GetNameAuthority() NameAuthority

func (*QueryWhoisResponse) Marshal

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

func (*QueryWhoisResponse) MarshalTo

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

func (*QueryWhoisResponse) MarshalToSizedBuffer

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

func (*QueryWhoisResponse) ProtoMessage

func (*QueryWhoisResponse) ProtoMessage()

func (*QueryWhoisResponse) Reset

func (m *QueryWhoisResponse) Reset()

func (*QueryWhoisResponse) Size

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

func (*QueryWhoisResponse) String

func (m *QueryWhoisResponse) String() string

func (*QueryWhoisResponse) Unmarshal

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

func (*QueryWhoisResponse) XXX_DiscardUnknown

func (m *QueryWhoisResponse) XXX_DiscardUnknown()

func (*QueryWhoisResponse) XXX_Marshal

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

func (*QueryWhoisResponse) XXX_Merge

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

func (*QueryWhoisResponse) XXX_Size

func (m *QueryWhoisResponse) XXX_Size() int

func (*QueryWhoisResponse) XXX_Unmarshal

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

type Record

type Record struct {
	Id         string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" json:"id" yaml:"id"`
	BondId     string      `protobuf:"bytes,2,opt,name=bond_id,json=bondId,proto3" json:"bond_id,omitempty" json:"bondId" yaml:"bondId"`
	CreateTime string      `` /* 127-byte string literal not displayed */
	ExpiryTime string      `` /* 127-byte string literal not displayed */
	Deleted    bool        `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"`
	Owners     []string    `protobuf:"bytes,6,rep,name=owners,proto3" json:"owners,omitempty" json:"owners" yaml:"owners"`
	Attributes *types1.Any `protobuf:"bytes,7,opt,name=attributes,proto3" json:"attributes,omitempty" json:"attributes" yaml:"attributes"`
	Names      []string    `protobuf:"bytes,8,rep,name=names,proto3" json:"names,omitempty" json:"names" yaml:"names"`
	Type       string      `protobuf:"bytes,9,opt,name=type,proto3" json:"type,omitempty" json:"types" yaml:"types"`
}

Params defines the registry module records

func (*Record) Descriptor

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

func (*Record) GetAttributes

func (m *Record) GetAttributes() *types1.Any

func (*Record) GetBondId

func (m *Record) GetBondId() string

func (*Record) GetCreateTime

func (m *Record) GetCreateTime() string

func (*Record) GetDeleted

func (m *Record) GetDeleted() bool

func (*Record) GetExpiryTime

func (m *Record) GetExpiryTime() string

func (*Record) GetId

func (m *Record) GetId() string

func (*Record) GetNames

func (m *Record) GetNames() []string

func (*Record) GetOwners

func (m *Record) GetOwners() []string

func (*Record) GetType

func (m *Record) GetType() string

func (*Record) Marshal

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

func (*Record) MarshalTo

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

func (*Record) MarshalToSizedBuffer

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

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) Reset

func (m *Record) Reset()

func (*Record) Size

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

func (*Record) String

func (m *Record) String() string

func (*Record) ToRecordType

func (r *Record) ToRecordType() RecordType

func (*Record) Unmarshal

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

func (*Record) XXX_DiscardUnknown

func (m *Record) XXX_DiscardUnknown()

func (*Record) XXX_Marshal

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

func (*Record) XXX_Merge

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

func (*Record) XXX_Size

func (m *Record) XXX_Size() int

func (*Record) XXX_Unmarshal

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

type RecordType

type RecordType struct {
	ID         string                 `json:"id,omitempty"`
	Names      []string               `json:"names,omitempty"`
	BondID     string                 `json:"bondId,omitempty"`
	CreateTime string                 `json:"createTime,omitempty"`
	ExpiryTime string                 `json:"expiryTime,omitempty"`
	Deleted    bool                   `json:"deleted,omitempty"`
	Owners     []string               `json:"owners,omitempty"`
	Attributes map[string]interface{} `json:"attributes,omitempty"`
}

RecordType represents a WNS record.

func (*RecordType) CanonicalJSON

func (r *RecordType) CanonicalJSON() []byte

CanonicalJSON returns the canonical JSON representation of the record.

func (*RecordType) GetCID

func (r *RecordType) GetCID() (string, error)

GetCID gets the record CID.

func (*RecordType) GetSignBytes

func (r *RecordType) GetSignBytes() ([]byte, []byte)

GetSignBytes generates a record hash to be signed.

func (*RecordType) ToRecordObj

func (r *RecordType) ToRecordObj() (Record, error)

ToRecordObj converts Record to RecordObj. Why? Because go-amino can't handle maps: https://github.com/tendermint/go-amino/issues/4.

type ServiceProviderRegistration

type ServiceProviderRegistration struct {
	BondId    string `protobuf:"bytes,1,opt,name=bond_id,json=bondId,proto3" json:"bond_id,omitempty" json:"bondId" yaml:"bondId"`
	LaconicId string `protobuf:"bytes,2,opt,name=laconic_id,json=laconicId,proto3" json:"laconic_id,omitempty" json:"laconicId" yaml:"laconicId"`
	X500      *X500  `protobuf:"bytes,3,opt,name=x500,proto3" json:"x500,omitempty" json:"x500" yaml:"x500"`
	Type      string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty" json:"type" yaml:"type"`
	Version   string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty" json:"version" yaml:"version"`
}

func (*ServiceProviderRegistration) Descriptor

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

func (*ServiceProviderRegistration) GetBondId

func (m *ServiceProviderRegistration) GetBondId() string

func (*ServiceProviderRegistration) GetLaconicId

func (m *ServiceProviderRegistration) GetLaconicId() string

func (*ServiceProviderRegistration) GetType

func (m *ServiceProviderRegistration) GetType() string

func (*ServiceProviderRegistration) GetVersion

func (m *ServiceProviderRegistration) GetVersion() string

func (*ServiceProviderRegistration) GetX500

func (m *ServiceProviderRegistration) GetX500() *X500

func (*ServiceProviderRegistration) Marshal

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

func (*ServiceProviderRegistration) MarshalTo

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

func (*ServiceProviderRegistration) MarshalToSizedBuffer

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

func (*ServiceProviderRegistration) ProtoMessage

func (*ServiceProviderRegistration) ProtoMessage()

func (*ServiceProviderRegistration) Reset

func (m *ServiceProviderRegistration) Reset()

func (*ServiceProviderRegistration) Size

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

func (*ServiceProviderRegistration) String

func (m *ServiceProviderRegistration) String() string

func (*ServiceProviderRegistration) Unmarshal

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

func (*ServiceProviderRegistration) XXX_DiscardUnknown

func (m *ServiceProviderRegistration) XXX_DiscardUnknown()

func (*ServiceProviderRegistration) XXX_Marshal

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

func (*ServiceProviderRegistration) XXX_Merge

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

func (*ServiceProviderRegistration) XXX_Size

func (m *ServiceProviderRegistration) XXX_Size() int

func (*ServiceProviderRegistration) XXX_Unmarshal

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

type Signature

type Signature struct {
	Sig    string `protobuf:"bytes,1,opt,name=sig,proto3" json:"sig,omitempty" json:"sig" yaml:"sig"`
	PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty" json:"pubKey" yaml:"pubKey"`
}

Signature

func (*Signature) Descriptor

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

func (*Signature) GetPubKey

func (m *Signature) GetPubKey() string

func (*Signature) GetSig

func (m *Signature) GetSig() string

func (*Signature) Marshal

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

func (*Signature) MarshalTo

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

func (*Signature) MarshalToSizedBuffer

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

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) Reset

func (m *Signature) Reset()

func (*Signature) Size

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

func (*Signature) String

func (m *Signature) String() string

func (*Signature) Unmarshal

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

func (*Signature) XXX_DiscardUnknown

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal

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

func (*Signature) XXX_Merge

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

func (*Signature) XXX_Size

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AssociateBond

func (*UnimplementedMsgServer) DeleteName

func (*UnimplementedMsgServer) DissociateBond

func (*UnimplementedMsgServer) DissociateRecords

func (*UnimplementedMsgServer) ReAssociateRecords

func (*UnimplementedMsgServer) RenewRecord

func (*UnimplementedMsgServer) ReserveName

func (*UnimplementedMsgServer) SetAuthorityBond

func (*UnimplementedMsgServer) SetName

func (*UnimplementedMsgServer) SetRecord

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetAuthorityExpiryQueue

func (*UnimplementedQueryServer) GetRecord

func (*UnimplementedQueryServer) GetRecordByBondID

func (*UnimplementedQueryServer) GetRecordExpiryQueue

func (*UnimplementedQueryServer) GetRegistryModuleBalance

func (*UnimplementedQueryServer) ListNameRecords

func (*UnimplementedQueryServer) ListRecords

func (*UnimplementedQueryServer) LookupCrn

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ResolveCrn

func (*UnimplementedQueryServer) Whois

type WebsiteRegistrationRecord

type WebsiteRegistrationRecord struct {
	Url                       string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" json:"url" yaml:"url"`
	RepoRegistrationRecordCid string `` /* 206-byte string literal not displayed */
	BuildArtifactCid          string `` /* 159-byte string literal not displayed */
	TlsCertCid                string `` /* 129-byte string literal not displayed */
	Type                      string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" json:"type" yaml:"type"`
	Version                   string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty" json:"version" yaml:"version"`
}

func (*WebsiteRegistrationRecord) Descriptor

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

func (*WebsiteRegistrationRecord) GetBuildArtifactCid

func (m *WebsiteRegistrationRecord) GetBuildArtifactCid() string

func (*WebsiteRegistrationRecord) GetRepoRegistrationRecordCid

func (m *WebsiteRegistrationRecord) GetRepoRegistrationRecordCid() string

func (*WebsiteRegistrationRecord) GetTlsCertCid

func (m *WebsiteRegistrationRecord) GetTlsCertCid() string

func (*WebsiteRegistrationRecord) GetType

func (m *WebsiteRegistrationRecord) GetType() string

func (*WebsiteRegistrationRecord) GetUrl

func (m *WebsiteRegistrationRecord) GetUrl() string

func (*WebsiteRegistrationRecord) GetVersion

func (m *WebsiteRegistrationRecord) GetVersion() string

func (*WebsiteRegistrationRecord) Marshal

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

func (*WebsiteRegistrationRecord) MarshalTo

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

func (*WebsiteRegistrationRecord) MarshalToSizedBuffer

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

func (*WebsiteRegistrationRecord) ProtoMessage

func (*WebsiteRegistrationRecord) ProtoMessage()

func (*WebsiteRegistrationRecord) Reset

func (m *WebsiteRegistrationRecord) Reset()

func (*WebsiteRegistrationRecord) Size

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

func (*WebsiteRegistrationRecord) String

func (m *WebsiteRegistrationRecord) String() string

func (*WebsiteRegistrationRecord) Unmarshal

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

func (*WebsiteRegistrationRecord) XXX_DiscardUnknown

func (m *WebsiteRegistrationRecord) XXX_DiscardUnknown()

func (*WebsiteRegistrationRecord) XXX_Marshal

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

func (*WebsiteRegistrationRecord) XXX_Merge

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

func (*WebsiteRegistrationRecord) XXX_Size

func (m *WebsiteRegistrationRecord) XXX_Size() int

func (*WebsiteRegistrationRecord) XXX_Unmarshal

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

type X500

type X500 struct {
	CommonName       string `` /* 127-byte string literal not displayed */
	OrganizationUnit string `` /* 157-byte string literal not displayed */
	OrganizationName string `` /* 157-byte string literal not displayed */
	LocalityName     string `` /* 137-byte string literal not displayed */
	StateName        string `protobuf:"bytes,5,opt,name=state_name,json=stateName,proto3" json:"state_name,omitempty" json:"stateName" yaml:"stateName"`
	Country          string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty" json:"country" yaml:"country"`
}

func (*X500) Descriptor

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

func (*X500) GetCommonName

func (m *X500) GetCommonName() string

func (*X500) GetCountry

func (m *X500) GetCountry() string

func (*X500) GetLocalityName

func (m *X500) GetLocalityName() string

func (*X500) GetOrganizationName

func (m *X500) GetOrganizationName() string

func (*X500) GetOrganizationUnit

func (m *X500) GetOrganizationUnit() string

func (*X500) GetStateName

func (m *X500) GetStateName() string

func (*X500) Marshal

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

func (*X500) MarshalTo

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

func (*X500) MarshalToSizedBuffer

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

func (*X500) ProtoMessage

func (*X500) ProtoMessage()

func (*X500) Reset

func (m *X500) Reset()

func (*X500) Size

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

func (*X500) String

func (m *X500) String() string

func (*X500) Unmarshal

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

func (*X500) XXX_DiscardUnknown

func (m *X500) XXX_DiscardUnknown()

func (*X500) XXX_Marshal

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

func (*X500) XXX_Merge

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

func (*X500) XXX_Size

func (m *X500) XXX_Size() int

func (*X500) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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