types

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Overview

Package types defines the message types for the cert module.

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	EventTypeCertifyCompilation = "certify_compilation"
	EventTypeCertify            = "certify"
	EventTypeRevokeCertificate  = "revoke_certificate"
)
View Source
const (
	TypeMsgProposeCertifier   = "propose_certifier"
	TypeMsgCertifyValidator   = "certify_validator"
	TypeMsgDecertifyValidator = "decertify_validator"
	TypeMsgCertifyGeneral     = "certify_general"
	TypeMsgRevokeCertificate  = "revoke_certificate"
	TypeMsgCertifyCompilation = "certify_compilation"
	TypeMsgCertifyPlatform    = "certify_platform"
)
View Source
const (
	// ModuleName is the name of the cert module
	ModuleName = "cert"

	// StoreKey is the string store representation
	StoreKey = ModuleName

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

	// RouterKey is the msg router key for the cert module
	RouterKey = ModuleName
)
View Source
const (
	Add    AddOrRemove = false
	Remove AddOrRemove = true

	StringAdd    = "add"
	StringRemove = "remove"
)
View Source
const (
	// QueryCertifier is the query endpoint for certifier information.
	QueryCertifier = "certifier"

	// QueryCertifiers is the query endpoint for all certifiers information.
	QueryCertifiers = "certifiers"

	// QueryCertifierByAlias
	QueryCertifierByAlias = "certifieralias"

	// QueryValidator is the query endpoint for validator node certification.
	QueryCertifiedValidator = "validator"

	// QueryValidators is the query endpoint for all certified validator nodes.
	QueryCertifiedValidators = "validators"

	// QueryPlatform is the query endpoint for validator host platform.
	QueryPlatform = "platform"

	// QueryCertificate is the query endpoint for a certificate.
	QueryCertificate = "certificate"

	// QueryCertificate is the query endpoint for a certificate type.
	QueryCertificateType = "certificateType"

	// QueryCertificates is the query endpoint for certificates.
	QueryCertificates = "certificates"
)
View Source
const (
	// ProposalTypeCertifierUpdate defines the type for a CertifierUpdateProposal
	ProposalTypeCertifierUpdate = "CertifierUpdate"
)

Variables

View Source
var (
	ErrInvalidLengthCert        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCert          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCert = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrUnqualifiedCertifier   = sdkerrors.Register(ModuleName, errUnqualifiedCertifier, "certifier not qualified")
	ErrCertifierAlreadyExists = sdkerrors.Register(ModuleName, errCertifierAlreadyExists, "certifier already added")
	ErrCertifierNotExists     = sdkerrors.Register(ModuleName, errCertifierNotExists, "certifier does not exist")
	ErrRepeatedAlias          = sdkerrors.Register(ModuleName, errRepeatedAlias, "the alias has been used by other certifiers")
	ErrUnqualifiedProposer    = sdkerrors.Register(ModuleName, errUnqualifiedProposer, "proposer not qualified")
	ErrEmptyCertifier         = sdkerrors.Register(ModuleName, errEmptyCertifier, "certifier address empty")
	ErrAddOrRemove            = sdkerrors.Register(ModuleName, errAddOrRemove, "must be `add` or `remove`")
	ErrInvalidCertifierAlias  = sdkerrors.Register(ModuleName, errInvalidCertifierAlias, "invalid certifier alias`")
	ErrOnlyOneCertifier       = sdkerrors.Register(ModuleName, errOnlyOneCertifier, "cannot remove only certifier")
)

[1xx] Certifier

View Source
var (
	ErrRejectedValidator    = sdkerrors.Register(ModuleName, errRejectedValidator, "only certifiers can certify or de-certify validators")
	ErrValidatorCertified   = sdkerrors.Register(ModuleName, errValidatorCertified, "validator has already been certified")
	ErrValidatorUncertified = sdkerrors.Register(ModuleName, errValidatorUncertified, "validator has not been certified")
	ErrTombstonedValidator  = sdkerrors.Register(ModuleName, errTombstonedValidator, "validator has already been tombstoned")
	ErrMissingValidator     = sdkerrors.Register(ModuleName, errMissingValidator, "validator missing from staking store")
)

[2xx] Validator

View Source
var (
	ErrCertificateNotExists      = sdkerrors.Register(ModuleName, errCertificateNotExists, "certificate id does not exist")
	ErrCertificateGenesis        = sdkerrors.Register(ModuleName, errCertificateGenesis, "invalid certificate genesis")
	ErrInvalidCertificateType    = sdkerrors.Register(ModuleName, errInvalidCertificateType, "invalid certificate type")
	ErrSourceCodeHash            = sdkerrors.Register(ModuleName, errSourceCodeHash, "invalid source code hash")
	ErrCompiler                  = sdkerrors.Register(ModuleName, errCompiler, "invalid compiler")
	ErrBytecodeHash              = sdkerrors.Register(ModuleName, errBytecodeHash, "invalid bytecode hash")
	ErrInvalidRequestContentType = sdkerrors.Register(ModuleName, errInvalidRequestContentType, "invalid request content type")
	ErrUnqualifiedRevoker        = sdkerrors.Register(ModuleName, errUnqualifiedRevoker, "only certifiers can revoke this certificate")
)

[3xx] Certificate

View Source
var (
	ErrLibraryNotExists     = sdkerrors.Register(ModuleName, errLibraryNotExists, "library does not exist")
	ErrLibraryAlreadyExists = sdkerrors.Register(ModuleName, errLibraryAlreadyExists, "library already exists")
)

[4xx] Library

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 (
	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 (
	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 CertificateType_name = map[int32]string{
	0: "CERT_TYPE_UNSPECIFIED",
	1: "CERT_TYPE_COMPILATION",
	2: "CERT_TYPE_AUDITING",
	3: "CERT_TYPE_PROOF",
	4: "CERT_TYPE_ORACLE_OPERATOR",
	5: "CERT_TYPE_SHIELD_POOL_CREATOR",
	6: "CERT_TYPE_IDENTITY",
	7: "CERT_TYPE_GENERAL",
	8: "CERT_TYPE_BOUNTY_ADMIN",
}
View Source
var CertificateType_value = map[string]int32{
	"CERT_TYPE_UNSPECIFIED":         0,
	"CERT_TYPE_COMPILATION":         1,
	"CERT_TYPE_AUDITING":            2,
	"CERT_TYPE_PROOF":               3,
	"CERT_TYPE_ORACLE_OPERATOR":     4,
	"CERT_TYPE_SHIELD_POOL_CREATOR": 5,
	"CERT_TYPE_IDENTITY":            6,
	"CERT_TYPE_GENERAL":             7,
	"CERT_TYPE_BOUNTY_ADMIN":        8,
}
View Source
var (

	// ModuleCdc references the global x/cert module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/cert and
	// defined at the application level.
	ModuleCdc = codec.NewAminoCodec(amino)
)

Functions

func CertificateStoreKey

func CertificateStoreKey(id uint64) []byte

CertificateStoreKey returns the kv-store key for accessing a given certificate (ID).

func CertificatesStoreKey

func CertificatesStoreKey() []byte

CertificatesStoreKey returns the kv-store key for accessing all certificates.

func CertifierAliasStoreKey

func CertifierAliasStoreKey(alias string) []byte

CertifierAliasStoreKey returns the kv-store key for the certifier alias.

func CertifierAliasesStoreKey

func CertifierAliasesStoreKey() []byte

CertifierAliasesStoreKey returns the kv-store key for accessing aliases of all current certifiers.

func CertifierStoreKey

func CertifierStoreKey(certifier sdk.AccAddress) []byte

CertifierStoreKey returns the kv-store key for the certifier registration.

func CertifiersStoreKey

func CertifiersStoreKey() []byte

CertifiersStoreKey returns the kv-store key for accessing all current certifiers in the security council.

func LibrariesStoreKey

func LibrariesStoreKey() []byte

LibrariesStoreKey returns the kv-store key for accessing all certificate library addresses.

func LibraryStoreKey

func LibraryStoreKey(library sdk.AccAddress) []byte

LibraryStoreKey returns the kv-store key for accessing certificate library address.

func NextCertificateIDStoreKey

func NextCertificateIDStoreKey() []byte

NextCertificateIDStoreKey returns the kv-store key for next certificate ID to assign.

func PlatformStoreKey

func PlatformStoreKey(validator cryptotypes.PubKey) []byte

PlatformStoreKey returns the kv-store key for the validator host platform certificate.

func PlatformsStoreKey

func PlatformsStoreKey() []byte

PlatformsStoreKey returns the kv-store key for accessing all platform certificates.

func RegisterInterfaces

func RegisterInterfaces(registry codectypes.InterfaceRegistry)

RegisterInterfaces registers the x/cert interfaces types with the interface registry

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers concrete types on the LegacyAmino codec

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(bz json.RawMessage) error

ValidateGenesis - validate crisis genesis data

func ValidatorStoreKey

func ValidatorStoreKey(validator cryptotypes.PubKey) []byte

ValidatorStoreKey returns the kv-store key for the validator node certification.

func ValidatorsStoreKey

func ValidatorsStoreKey() []byte

ValidatorsStoreKey returns the kv-store key for accessing all validator node certifications.

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
}

type AddOrRemove

type AddOrRemove bool

func AddOrRemoveFromString

func AddOrRemoveFromString(str string) (AddOrRemove, error)

func (AddOrRemove) MarshalJSON

func (aor AddOrRemove) MarshalJSON() ([]byte, error)

MarshalJSON marshals to JSON using string

func (AddOrRemove) String

func (aor AddOrRemove) String() string

func (*AddOrRemove) UnmarshalJSON

func (aor *AddOrRemove) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals from JSON assuming Bech32 encoding

type Auditing

type Auditing struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*Auditing) Descriptor

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

func (*Auditing) GetContent

func (m *Auditing) GetContent() string

func (*Auditing) Marshal

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

func (*Auditing) MarshalTo

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

func (*Auditing) MarshalToSizedBuffer

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

func (*Auditing) ProtoMessage

func (*Auditing) ProtoMessage()

func (*Auditing) Reset

func (m *Auditing) Reset()

func (*Auditing) Size

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

func (*Auditing) String

func (m *Auditing) String() string

func (*Auditing) Unmarshal

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

func (*Auditing) XXX_DiscardUnknown

func (m *Auditing) XXX_DiscardUnknown()

func (*Auditing) XXX_Marshal

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

func (*Auditing) XXX_Merge

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

func (*Auditing) XXX_Size

func (m *Auditing) XXX_Size() int

func (*Auditing) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

type BountyAdmin added in v2.9.0

type BountyAdmin struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*BountyAdmin) Descriptor added in v2.9.0

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

func (*BountyAdmin) GetContent added in v2.9.0

func (m *BountyAdmin) GetContent() string

func (*BountyAdmin) Marshal added in v2.9.0

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

func (*BountyAdmin) MarshalTo added in v2.9.0

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

func (*BountyAdmin) MarshalToSizedBuffer added in v2.9.0

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

func (*BountyAdmin) ProtoMessage added in v2.9.0

func (*BountyAdmin) ProtoMessage()

func (*BountyAdmin) Reset added in v2.9.0

func (m *BountyAdmin) Reset()

func (*BountyAdmin) Size added in v2.9.0

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

func (*BountyAdmin) String added in v2.9.0

func (m *BountyAdmin) String() string

func (*BountyAdmin) Unmarshal added in v2.9.0

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

func (*BountyAdmin) XXX_DiscardUnknown added in v2.9.0

func (m *BountyAdmin) XXX_DiscardUnknown()

func (*BountyAdmin) XXX_Marshal added in v2.9.0

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

func (*BountyAdmin) XXX_Merge added in v2.9.0

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

func (*BountyAdmin) XXX_Size added in v2.9.0

func (m *BountyAdmin) XXX_Size() int

func (*BountyAdmin) XXX_Unmarshal added in v2.9.0

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

type Certificate

type Certificate struct {
	CertificateId      uint64              `protobuf:"varint,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty" yaml:"certificate_id"`
	Content            *types.Any          `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	CompilationContent *CompilationContent `` /* 142-byte string literal not displayed */
	Description        string              `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
	Certifier          string              `protobuf:"bytes,5,opt,name=certifier,proto3" json:"certifier,omitempty" yaml:"certifier"`
}

func NewCertificate

func NewCertificate(
	certTypeStr, contStr, compiler, bytecodeHash, description string, certifier sdk.AccAddress,
) (Certificate, error)

NewCertificate returns a new certificate.

func (*Certificate) Descriptor

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

func (Certificate) FormattedCompilationContent

func (c Certificate) FormattedCompilationContent() []KVPair

FormattedCompilationContent returns formatted certificate content of the certificate.

func (Certificate) GetCertifier

func (c Certificate) GetCertifier() sdk.AccAddress

GetCertifier returns certificer of the certificate.

func (Certificate) GetContent

func (c Certificate) GetContent() Content

GetContent returns content of the certificate.

func (Certificate) GetContentString

func (c Certificate) GetContentString() string

GetContentString returns string content of the certificate.

func (*Certificate) Marshal

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

func (*Certificate) MarshalTo

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

func (*Certificate) MarshalToSizedBuffer

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

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) Reset

func (m *Certificate) Reset()

func (*Certificate) Size

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

func (*Certificate) String

func (m *Certificate) String() string

func (Certificate) ToString added in v2.8.0

func (c Certificate) ToString() string

func (*Certificate) Unmarshal

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

func (Certificate) UnpackInterfaces

func (c Certificate) UnpackInterfaces(unpacker codecTypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces.

func (*Certificate) XXX_DiscardUnknown

func (m *Certificate) XXX_DiscardUnknown()

func (*Certificate) XXX_Marshal

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

func (*Certificate) XXX_Merge

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

func (*Certificate) XXX_Size

func (m *Certificate) XXX_Size() int

func (*Certificate) XXX_Unmarshal

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

type CertificateType

type CertificateType int32
const (
	CertificateTypeNil               CertificateType = 0
	CertificateTypeCompilation       CertificateType = 1
	CertificateTypeAuditing          CertificateType = 2
	CertificateTypeProof             CertificateType = 3
	CertificateTypeOracleOperator    CertificateType = 4
	CertificateTypeShieldPoolCreator CertificateType = 5
	CertificateTypeIdentity          CertificateType = 6
	CertificateTypeGeneral           CertificateType = 7
	CertificateTypeBountyAdmin       CertificateType = 8
)

func CertificateTypeFromString

func CertificateTypeFromString(s string) CertificateType

CertificateTypeFromString returns a certificate type by parsing a string.

func TranslateCertificateType

func TranslateCertificateType(certificate Certificate) CertificateType

TranslateCertificateType determines certificate type based on content interface type switch.

func (CertificateType) EnumDescriptor

func (CertificateType) EnumDescriptor() ([]byte, []int)

func (CertificateType) String

func (x CertificateType) String() string

type Certifier

type Certifier struct {
	Address     string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" yaml:"address"`
	Alias       string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty" yaml:"alias"`
	Proposer    string `protobuf:"bytes,3,opt,name=proposer,proto3" json:"proposer,omitempty" yaml:"proposer"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
}

func NewCertifier

func NewCertifier(address sdk.AccAddress, alias string, proposer sdk.AccAddress, description string) Certifier

NewCertifier returns a new certifier.

func (*Certifier) Descriptor

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

func (*Certifier) Marshal

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

func (*Certifier) MarshalTo

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

func (*Certifier) MarshalToSizedBuffer

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

func (*Certifier) ProtoMessage

func (*Certifier) ProtoMessage()

func (*Certifier) Reset

func (m *Certifier) Reset()

func (*Certifier) Size

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

func (*Certifier) String

func (m *Certifier) String() string

func (*Certifier) Unmarshal

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

func (*Certifier) XXX_DiscardUnknown

func (m *Certifier) XXX_DiscardUnknown()

func (*Certifier) XXX_Marshal

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

func (*Certifier) XXX_Merge

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

func (*Certifier) XXX_Size

func (m *Certifier) XXX_Size() int

func (*Certifier) XXX_Unmarshal

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

type CertifierUpdateProposal

type CertifierUpdateProposal struct {
	Title       string      `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"`
	Proposer    string      `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty" yaml:"proposer"`
	Alias       string      `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty" yaml:"alias"`
	Certifier   string      `protobuf:"bytes,4,opt,name=certifier,proto3" json:"certifier,omitempty" yaml:"certifier"`
	Description string      `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
	AddOrRemove AddOrRemove `` /* 139-byte string literal not displayed */
}

CertifierUpdateProposal adds or removes a certifier

func NewCertifierUpdateProposal

func NewCertifierUpdateProposal(title,
	description string,
	certifier sdk.AccAddress,
	alias string,
	proposer sdk.AccAddress,
	addorremove AddOrRemove,
) *CertifierUpdateProposal

NewCertifierUpdateProposal creates a new certifier update proposal.

func (*CertifierUpdateProposal) Descriptor

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

func (CertifierUpdateProposal) GetDescription

func (cup CertifierUpdateProposal) GetDescription() string

GetDescription returns the description of a certifier update proposal.

func (CertifierUpdateProposal) GetTitle

func (cup CertifierUpdateProposal) GetTitle() string

GetTitle returns the title of a certifier update proposal.

func (*CertifierUpdateProposal) Marshal

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

func (*CertifierUpdateProposal) MarshalTo

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

func (*CertifierUpdateProposal) MarshalToSizedBuffer

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

func (CertifierUpdateProposal) ProposalRoute

func (cup CertifierUpdateProposal) ProposalRoute() string

ProposalRoute returns the routing key of a certifier update proposal.

func (CertifierUpdateProposal) ProposalType

func (cup CertifierUpdateProposal) ProposalType() string

ProposalType returns the type of a certifier update proposal.

func (*CertifierUpdateProposal) ProtoMessage

func (*CertifierUpdateProposal) ProtoMessage()

func (*CertifierUpdateProposal) Reset

func (m *CertifierUpdateProposal) Reset()

func (*CertifierUpdateProposal) Size

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

func (*CertifierUpdateProposal) String

func (m *CertifierUpdateProposal) String() string

func (*CertifierUpdateProposal) Unmarshal

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

func (CertifierUpdateProposal) ValidateBasic

func (cup CertifierUpdateProposal) ValidateBasic() error

ValidateBasic runs basic stateless validity checks

func (*CertifierUpdateProposal) XXX_DiscardUnknown

func (m *CertifierUpdateProposal) XXX_DiscardUnknown()

func (*CertifierUpdateProposal) XXX_Marshal

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

func (*CertifierUpdateProposal) XXX_Merge

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

func (*CertifierUpdateProposal) XXX_Size

func (m *CertifierUpdateProposal) XXX_Size() int

func (*CertifierUpdateProposal) XXX_Unmarshal

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

type Certifiers

type Certifiers []Certifier

Certifiers is a collection of certifier objects.

func (Certifiers) String

func (c Certifiers) String() (out string)

type Compilation

type Compilation struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*Compilation) Descriptor

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

func (*Compilation) GetContent

func (m *Compilation) GetContent() string

func (*Compilation) Marshal

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

func (*Compilation) MarshalTo

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

func (*Compilation) MarshalToSizedBuffer

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

func (*Compilation) ProtoMessage

func (*Compilation) ProtoMessage()

func (*Compilation) Reset

func (m *Compilation) Reset()

func (*Compilation) Size

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

func (*Compilation) String

func (m *Compilation) String() string

func (*Compilation) Unmarshal

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

func (*Compilation) XXX_DiscardUnknown

func (m *Compilation) XXX_DiscardUnknown()

func (*Compilation) XXX_Marshal

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

func (*Compilation) XXX_Merge

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

func (*Compilation) XXX_Size

func (m *Compilation) XXX_Size() int

func (*Compilation) XXX_Unmarshal

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

type CompilationContent

type CompilationContent struct {
	Compiler     string `protobuf:"bytes,1,opt,name=compiler,proto3" json:"compiler,omitempty" yaml:"compiler"`
	BytecodeHash string `protobuf:"bytes,2,opt,name=bytecode_hash,json=bytecodeHash,proto3" json:"bytecode_hash,omitempty" yaml:"bytecode_hash"`
}

func NewCompilationCertificateContent

func NewCompilationCertificateContent(compiler, bytecodeHash string) CompilationContent

NewCompilationCertificateContent returns a new compilation content.

func (*CompilationContent) Descriptor

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

func (*CompilationContent) Marshal

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

func (*CompilationContent) MarshalTo

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

func (*CompilationContent) MarshalToSizedBuffer

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

func (*CompilationContent) ProtoMessage

func (*CompilationContent) ProtoMessage()

func (*CompilationContent) Reset

func (m *CompilationContent) Reset()

func (*CompilationContent) Size

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

func (*CompilationContent) String

func (m *CompilationContent) String() string

func (*CompilationContent) Unmarshal

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

func (*CompilationContent) XXX_DiscardUnknown

func (m *CompilationContent) XXX_DiscardUnknown()

func (*CompilationContent) XXX_Marshal

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

func (*CompilationContent) XXX_Merge

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

func (*CompilationContent) XXX_Size

func (m *CompilationContent) XXX_Size() int

func (*CompilationContent) XXX_Unmarshal

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

type Content

type Content interface {
	proto.Message

	GetContent() string
}

Content is the interface for all kinds of certificate content.

func AssembleContent

func AssembleContent(certTypeStr, content string) Content

AssembleContent constructs a struct instance that implements content interface.

type ConversionToShentuAddrRequest added in v2.9.0

type ConversionToShentuAddrRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*ConversionToShentuAddrRequest) Descriptor added in v2.9.0

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

func (*ConversionToShentuAddrRequest) GetAddress added in v2.9.0

func (m *ConversionToShentuAddrRequest) GetAddress() string

func (*ConversionToShentuAddrRequest) Marshal added in v2.9.0

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

func (*ConversionToShentuAddrRequest) MarshalTo added in v2.9.0

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

func (*ConversionToShentuAddrRequest) MarshalToSizedBuffer added in v2.9.0

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

func (*ConversionToShentuAddrRequest) ProtoMessage added in v2.9.0

func (*ConversionToShentuAddrRequest) ProtoMessage()

func (*ConversionToShentuAddrRequest) Reset added in v2.9.0

func (m *ConversionToShentuAddrRequest) Reset()

func (*ConversionToShentuAddrRequest) Size added in v2.9.0

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

func (*ConversionToShentuAddrRequest) String added in v2.9.0

func (*ConversionToShentuAddrRequest) Unmarshal added in v2.9.0

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

func (*ConversionToShentuAddrRequest) XXX_DiscardUnknown added in v2.9.0

func (m *ConversionToShentuAddrRequest) XXX_DiscardUnknown()

func (*ConversionToShentuAddrRequest) XXX_Marshal added in v2.9.0

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

func (*ConversionToShentuAddrRequest) XXX_Merge added in v2.9.0

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

func (*ConversionToShentuAddrRequest) XXX_Size added in v2.9.0

func (m *ConversionToShentuAddrRequest) XXX_Size() int

func (*ConversionToShentuAddrRequest) XXX_Unmarshal added in v2.9.0

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

type ConversionToShentuAddrResponse added in v2.9.0

type ConversionToShentuAddrResponse struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*ConversionToShentuAddrResponse) Descriptor added in v2.9.0

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

func (*ConversionToShentuAddrResponse) GetAddress added in v2.9.0

func (m *ConversionToShentuAddrResponse) GetAddress() string

func (*ConversionToShentuAddrResponse) Marshal added in v2.9.0

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

func (*ConversionToShentuAddrResponse) MarshalTo added in v2.9.0

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

func (*ConversionToShentuAddrResponse) MarshalToSizedBuffer added in v2.9.0

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

func (*ConversionToShentuAddrResponse) ProtoMessage added in v2.9.0

func (*ConversionToShentuAddrResponse) ProtoMessage()

func (*ConversionToShentuAddrResponse) Reset added in v2.9.0

func (m *ConversionToShentuAddrResponse) Reset()

func (*ConversionToShentuAddrResponse) Size added in v2.9.0

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

func (*ConversionToShentuAddrResponse) String added in v2.9.0

func (*ConversionToShentuAddrResponse) Unmarshal added in v2.9.0

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

func (*ConversionToShentuAddrResponse) XXX_DiscardUnknown added in v2.9.0

func (m *ConversionToShentuAddrResponse) XXX_DiscardUnknown()

func (*ConversionToShentuAddrResponse) XXX_Marshal added in v2.9.0

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

func (*ConversionToShentuAddrResponse) XXX_Merge added in v2.9.0

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

func (*ConversionToShentuAddrResponse) XXX_Size added in v2.9.0

func (m *ConversionToShentuAddrResponse) XXX_Size() int

func (*ConversionToShentuAddrResponse) XXX_Unmarshal added in v2.9.0

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

type General

type General struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*General) Descriptor

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

func (*General) GetContent

func (m *General) GetContent() string

func (*General) Marshal

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

func (*General) MarshalTo

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

func (*General) MarshalToSizedBuffer

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

func (*General) ProtoMessage

func (*General) ProtoMessage()

func (*General) Reset

func (m *General) Reset()

func (*General) Size

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

func (*General) String

func (m *General) String() string

func (*General) Unmarshal

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

func (*General) XXX_DiscardUnknown

func (m *General) XXX_DiscardUnknown()

func (*General) XXX_Marshal

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

func (*General) XXX_Merge

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

func (*General) XXX_Size

func (m *General) XXX_Size() int

func (*General) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Certifiers        []Certifier   `protobuf:"bytes,1,rep,name=certifiers,proto3" json:"certifiers" yaml:"certifiers"`
	Platforms         []Platform    `protobuf:"bytes,2,rep,name=platforms,proto3" json:"platforms" yaml:"platforms"`
	Certificates      []Certificate `protobuf:"bytes,3,rep,name=certificates,proto3" json:"certificates" yaml:"certificates"`
	Libraries         []Library     `protobuf:"bytes,4,rep,name=libraries,proto3" json:"libraries" yaml:"libraries"`
	NextCertificateId uint64        `` /* 142-byte string literal not displayed */
}

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState creates a default GenesisState object

func GetGenesisStateFromAppState

func GetGenesisStateFromAppState(cdc codec.Codec, appState map[string]json.RawMessage) GenesisState

GetGenesisStateFromAppState returns cert module GenesisState given raw application genesis state.

func NewGenesisState

func NewGenesisState(constantFee sdk.Coin, startingCertificateID uint64) GenesisState

NewGenesisState creates a new GenesisState object

func (*GenesisState) Descriptor

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

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) UnpackInterfaces

func (g GenesisState) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

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 Identity

type Identity struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*Identity) Descriptor

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

func (*Identity) GetContent

func (m *Identity) GetContent() string

func (*Identity) Marshal

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

func (*Identity) MarshalTo

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

func (*Identity) MarshalToSizedBuffer

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

func (*Identity) ProtoMessage

func (*Identity) ProtoMessage()

func (*Identity) Reset

func (m *Identity) Reset()

func (*Identity) Size

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

func (*Identity) String

func (m *Identity) String() string

func (*Identity) Unmarshal

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

func (*Identity) XXX_DiscardUnknown

func (m *Identity) XXX_DiscardUnknown()

func (*Identity) XXX_Marshal

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

func (*Identity) XXX_Merge

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

func (*Identity) XXX_Size

func (m *Identity) XXX_Size() int

func (*Identity) XXX_Unmarshal

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

type KVPair

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

func NewKVPair

func NewKVPair(key string, value string) KVPair

NewKVPair returns a new key-value pair.

func (*KVPair) Descriptor

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

func (*KVPair) GetKey

func (m *KVPair) GetKey() string

func (*KVPair) GetValue

func (m *KVPair) GetValue() string

func (*KVPair) Marshal

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

func (*KVPair) MarshalTo

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

func (*KVPair) MarshalToSizedBuffer

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

func (*KVPair) ProtoMessage

func (*KVPair) ProtoMessage()

func (*KVPair) Reset

func (m *KVPair) Reset()

func (*KVPair) Size

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

func (*KVPair) String

func (m *KVPair) String() string

func (*KVPair) Unmarshal

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

func (*KVPair) XXX_DiscardUnknown

func (m *KVPair) XXX_DiscardUnknown()

func (*KVPair) XXX_Marshal

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

func (*KVPair) XXX_Merge

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

func (*KVPair) XXX_Size

func (m *KVPair) XXX_Size() int

func (*KVPair) XXX_Unmarshal

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

type Libraries

type Libraries []Library

Libraries is a collection of Library objects.

type Library

type Library struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Publisher string `protobuf:"bytes,2,opt,name=publisher,proto3" json:"publisher,omitempty"`
}

Library is a type for certified libraries.

func (*Library) Descriptor

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

func (*Library) Marshal

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

func (*Library) MarshalTo

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

func (*Library) MarshalToSizedBuffer

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

func (*Library) ProtoMessage

func (*Library) ProtoMessage()

func (*Library) Reset

func (m *Library) Reset()

func (*Library) Size

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

func (*Library) String

func (m *Library) String() string

func (*Library) Unmarshal

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

func (*Library) XXX_DiscardUnknown

func (m *Library) XXX_DiscardUnknown()

func (*Library) XXX_Marshal

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

func (*Library) XXX_Merge

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

func (*Library) XXX_Size

func (m *Library) XXX_Size() int

func (*Library) XXX_Unmarshal

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

type MsgCertifyPlatform

type MsgCertifyPlatform struct {
	Certifier       string     `protobuf:"bytes,1,opt,name=certifier,proto3" json:"certifier,omitempty" yaml:"certifier"`
	ValidatorPubkey *types.Any `protobuf:"bytes,2,opt,name=validator_pubkey,json=validatorPubkey,proto3" json:"validator_pubkey,omitempty"`
	Platform        string     `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty" yaml:"platform"`
}

MsgCertifyPlatform is the message for certifying a validator's host platform.

func NewMsgCertifyPlatform

func NewMsgCertifyPlatform(certifier sdk.AccAddress, pk cryptotypes.PubKey, platform string) (*MsgCertifyPlatform, error)

NewMsgCertifyPlatform returns a new validator host platform certification message.

func (*MsgCertifyPlatform) Descriptor

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

func (MsgCertifyPlatform) GetSignBytes

func (m MsgCertifyPlatform) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (MsgCertifyPlatform) GetSigners

func (m MsgCertifyPlatform) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required.

func (*MsgCertifyPlatform) Marshal

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

func (*MsgCertifyPlatform) MarshalTo

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

func (*MsgCertifyPlatform) MarshalToSizedBuffer

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

func (*MsgCertifyPlatform) ProtoMessage

func (*MsgCertifyPlatform) ProtoMessage()

func (*MsgCertifyPlatform) Reset

func (m *MsgCertifyPlatform) Reset()

func (MsgCertifyPlatform) Route

func (m MsgCertifyPlatform) Route() string

Route returns the module name.

func (*MsgCertifyPlatform) Size

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

func (*MsgCertifyPlatform) String

func (m *MsgCertifyPlatform) String() string

func (MsgCertifyPlatform) Type

func (m MsgCertifyPlatform) Type() string

Type returns the action name.

func (*MsgCertifyPlatform) Unmarshal

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

func (MsgCertifyPlatform) UnpackInterfaces

func (m MsgCertifyPlatform) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (MsgCertifyPlatform) ValidateBasic

func (m MsgCertifyPlatform) ValidateBasic() error

ValidateBasic runs stateless checks on the message.

func (*MsgCertifyPlatform) XXX_DiscardUnknown

func (m *MsgCertifyPlatform) XXX_DiscardUnknown()

func (*MsgCertifyPlatform) XXX_Marshal

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

func (*MsgCertifyPlatform) XXX_Merge

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

func (*MsgCertifyPlatform) XXX_Size

func (m *MsgCertifyPlatform) XXX_Size() int

func (*MsgCertifyPlatform) XXX_Unmarshal

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

type MsgCertifyPlatformResponse

type MsgCertifyPlatformResponse struct {
}

func (*MsgCertifyPlatformResponse) Descriptor

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

func (*MsgCertifyPlatformResponse) Marshal

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

func (*MsgCertifyPlatformResponse) MarshalTo

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

func (*MsgCertifyPlatformResponse) MarshalToSizedBuffer

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

func (*MsgCertifyPlatformResponse) ProtoMessage

func (*MsgCertifyPlatformResponse) ProtoMessage()

func (*MsgCertifyPlatformResponse) Reset

func (m *MsgCertifyPlatformResponse) Reset()

func (*MsgCertifyPlatformResponse) Size

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

func (*MsgCertifyPlatformResponse) String

func (m *MsgCertifyPlatformResponse) String() string

func (*MsgCertifyPlatformResponse) Unmarshal

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

func (*MsgCertifyPlatformResponse) XXX_DiscardUnknown

func (m *MsgCertifyPlatformResponse) XXX_DiscardUnknown()

func (*MsgCertifyPlatformResponse) XXX_Marshal

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

func (*MsgCertifyPlatformResponse) XXX_Merge

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

func (*MsgCertifyPlatformResponse) XXX_Size

func (m *MsgCertifyPlatformResponse) XXX_Size() int

func (*MsgCertifyPlatformResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	ProposeCertifier(ctx context.Context, in *MsgProposeCertifier, opts ...grpc.CallOption) (*MsgProposeCertifierResponse, error)
	IssueCertificate(ctx context.Context, in *MsgIssueCertificate, opts ...grpc.CallOption) (*MsgIssueCertificateResponse, error)
	RevokeCertificate(ctx context.Context, in *MsgRevokeCertificate, opts ...grpc.CallOption) (*MsgRevokeCertificateResponse, error)
	CertifyPlatform(ctx context.Context, in *MsgCertifyPlatform, opts ...grpc.CallOption) (*MsgCertifyPlatformResponse, 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 MsgIssueCertificate

type MsgIssueCertificate struct {
	Content      *types.Any `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Compiler     string     `protobuf:"bytes,2,opt,name=compiler,proto3" json:"compiler,omitempty" yaml:"compiler"`
	BytecodeHash string     `protobuf:"bytes,3,opt,name=bytecode_hash,json=bytecodeHash,proto3" json:"bytecode_hash,omitempty" yaml:"bytecodehash"`
	Description  string     `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
	Certifier    string     `protobuf:"bytes,5,opt,name=certifier,proto3" json:"certifier,omitempty" yaml:"certifier"`
}

MsgCertifyGeneral is the message for issuing a general certificate.

func NewMsgIssueCertificate

func NewMsgIssueCertificate(
	content Content, compiler, bytecodeHash, description string, certifier sdk.AccAddress,
) *MsgIssueCertificate

NewMsgIssueCertificate returns a new certification message.

func (*MsgIssueCertificate) Descriptor

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

func (MsgIssueCertificate) GetSignBytes

func (m MsgIssueCertificate) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (MsgIssueCertificate) GetSigners

func (m MsgIssueCertificate) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required.

func (*MsgIssueCertificate) Marshal

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

func (*MsgIssueCertificate) MarshalTo

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

func (*MsgIssueCertificate) MarshalToSizedBuffer

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

func (*MsgIssueCertificate) ProtoMessage

func (*MsgIssueCertificate) ProtoMessage()

func (*MsgIssueCertificate) Reset

func (m *MsgIssueCertificate) Reset()

func (MsgIssueCertificate) Route

func (m MsgIssueCertificate) Route() string

Route returns the module name.

func (*MsgIssueCertificate) Size

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

func (*MsgIssueCertificate) String

func (m *MsgIssueCertificate) String() string

func (MsgIssueCertificate) Type

func (m MsgIssueCertificate) Type() string

Type returns the action name.

func (*MsgIssueCertificate) Unmarshal

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

func (MsgIssueCertificate) UnpackInterfaces

func (m MsgIssueCertificate) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces.

func (MsgIssueCertificate) ValidateBasic

func (m MsgIssueCertificate) ValidateBasic() error

ValidateBasic runs stateless checks on the message.

func (*MsgIssueCertificate) XXX_DiscardUnknown

func (m *MsgIssueCertificate) XXX_DiscardUnknown()

func (*MsgIssueCertificate) XXX_Marshal

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

func (*MsgIssueCertificate) XXX_Merge

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

func (*MsgIssueCertificate) XXX_Size

func (m *MsgIssueCertificate) XXX_Size() int

func (*MsgIssueCertificate) XXX_Unmarshal

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

type MsgIssueCertificateResponse

type MsgIssueCertificateResponse struct {
}

func (*MsgIssueCertificateResponse) Descriptor

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

func (*MsgIssueCertificateResponse) Marshal

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

func (*MsgIssueCertificateResponse) MarshalTo

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

func (*MsgIssueCertificateResponse) MarshalToSizedBuffer

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

func (*MsgIssueCertificateResponse) ProtoMessage

func (*MsgIssueCertificateResponse) ProtoMessage()

func (*MsgIssueCertificateResponse) Reset

func (m *MsgIssueCertificateResponse) Reset()

func (*MsgIssueCertificateResponse) Size

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

func (*MsgIssueCertificateResponse) String

func (m *MsgIssueCertificateResponse) String() string

func (*MsgIssueCertificateResponse) Unmarshal

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

func (*MsgIssueCertificateResponse) XXX_DiscardUnknown

func (m *MsgIssueCertificateResponse) XXX_DiscardUnknown()

func (*MsgIssueCertificateResponse) XXX_Marshal

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

func (*MsgIssueCertificateResponse) XXX_Merge

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

func (*MsgIssueCertificateResponse) XXX_Size

func (m *MsgIssueCertificateResponse) XXX_Size() int

func (*MsgIssueCertificateResponse) XXX_Unmarshal

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

type MsgProposeCertifier

type MsgProposeCertifier struct {
	Proposer    string `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty" yaml:"proposer"`
	Alias       string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty" yaml:"alias"`
	Certifier   string `protobuf:"bytes,3,opt,name=certifier,proto3" json:"certifier,omitempty" yaml:"certifier"`
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
}

MsgProposeCertifier is the message for proposing new certifier.

func NewMsgProposeCertifier

func NewMsgProposeCertifier(proposer, certifier sdk.AccAddress, alias string, description string) *MsgProposeCertifier

NewMsgProposeCertifier returns a new certifier proposal message.

func (*MsgProposeCertifier) Descriptor

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

func (MsgProposeCertifier) GetSignBytes

func (m MsgProposeCertifier) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (MsgProposeCertifier) GetSigners

func (m MsgProposeCertifier) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required.

func (*MsgProposeCertifier) Marshal

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

func (*MsgProposeCertifier) MarshalTo

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

func (*MsgProposeCertifier) MarshalToSizedBuffer

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

func (*MsgProposeCertifier) ProtoMessage

func (*MsgProposeCertifier) ProtoMessage()

func (*MsgProposeCertifier) Reset

func (m *MsgProposeCertifier) Reset()

func (MsgProposeCertifier) Route

func (m MsgProposeCertifier) Route() string

Route returns the module name.

func (*MsgProposeCertifier) Size

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

func (*MsgProposeCertifier) String

func (m *MsgProposeCertifier) String() string

func (MsgProposeCertifier) Type

func (m MsgProposeCertifier) Type() string

Type returns the action name.

func (*MsgProposeCertifier) Unmarshal

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

func (MsgProposeCertifier) ValidateBasic

func (m MsgProposeCertifier) ValidateBasic() error

ValidateBasic runs stateless checks on the message.

func (*MsgProposeCertifier) XXX_DiscardUnknown

func (m *MsgProposeCertifier) XXX_DiscardUnknown()

func (*MsgProposeCertifier) XXX_Marshal

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

func (*MsgProposeCertifier) XXX_Merge

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

func (*MsgProposeCertifier) XXX_Size

func (m *MsgProposeCertifier) XXX_Size() int

func (*MsgProposeCertifier) XXX_Unmarshal

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

type MsgProposeCertifierResponse

type MsgProposeCertifierResponse struct {
}

func (*MsgProposeCertifierResponse) Descriptor

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

func (*MsgProposeCertifierResponse) Marshal

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

func (*MsgProposeCertifierResponse) MarshalTo

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

func (*MsgProposeCertifierResponse) MarshalToSizedBuffer

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

func (*MsgProposeCertifierResponse) ProtoMessage

func (*MsgProposeCertifierResponse) ProtoMessage()

func (*MsgProposeCertifierResponse) Reset

func (m *MsgProposeCertifierResponse) Reset()

func (*MsgProposeCertifierResponse) Size

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

func (*MsgProposeCertifierResponse) String

func (m *MsgProposeCertifierResponse) String() string

func (*MsgProposeCertifierResponse) Unmarshal

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

func (*MsgProposeCertifierResponse) XXX_DiscardUnknown

func (m *MsgProposeCertifierResponse) XXX_DiscardUnknown()

func (*MsgProposeCertifierResponse) XXX_Marshal

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

func (*MsgProposeCertifierResponse) XXX_Merge

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

func (*MsgProposeCertifierResponse) XXX_Size

func (m *MsgProposeCertifierResponse) XXX_Size() int

func (*MsgProposeCertifierResponse) XXX_Unmarshal

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

type MsgRevokeCertificate

type MsgRevokeCertificate struct {
	Revoker     string `protobuf:"bytes,1,opt,name=revoker,proto3" json:"revoker,omitempty" yaml:"revoker"`
	Id          uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty" yaml:"id"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" yaml:"description"`
}

MsgRevokeCertificate returns a certificate revoking operation.

func NewMsgRevokeCertificate

func NewMsgRevokeCertificate(revoker sdk.AccAddress, id uint64, description string) *MsgRevokeCertificate

NewMsgRevokeCertificate creates a new instance of MsgRevokeCertificate.

func (*MsgRevokeCertificate) Descriptor

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

func (MsgRevokeCertificate) GetSignBytes

func (m MsgRevokeCertificate) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (MsgRevokeCertificate) GetSigners

func (m MsgRevokeCertificate) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required.

func (*MsgRevokeCertificate) Marshal

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

func (*MsgRevokeCertificate) MarshalTo

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

func (*MsgRevokeCertificate) MarshalToSizedBuffer

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

func (*MsgRevokeCertificate) ProtoMessage

func (*MsgRevokeCertificate) ProtoMessage()

func (*MsgRevokeCertificate) Reset

func (m *MsgRevokeCertificate) Reset()

func (MsgRevokeCertificate) Route

func (m MsgRevokeCertificate) Route() string

Route returns the module name.

func (*MsgRevokeCertificate) Size

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

func (*MsgRevokeCertificate) String

func (m *MsgRevokeCertificate) String() string

func (MsgRevokeCertificate) Type

func (m MsgRevokeCertificate) Type() string

Type returns the action name.

func (*MsgRevokeCertificate) Unmarshal

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

func (MsgRevokeCertificate) ValidateBasic

func (m MsgRevokeCertificate) ValidateBasic() error

ValidateBasic runs stateless checks on the message.

func (*MsgRevokeCertificate) XXX_DiscardUnknown

func (m *MsgRevokeCertificate) XXX_DiscardUnknown()

func (*MsgRevokeCertificate) XXX_Marshal

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

func (*MsgRevokeCertificate) XXX_Merge

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

func (*MsgRevokeCertificate) XXX_Size

func (m *MsgRevokeCertificate) XXX_Size() int

func (*MsgRevokeCertificate) XXX_Unmarshal

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

type MsgRevokeCertificateResponse

type MsgRevokeCertificateResponse struct {
}

func (*MsgRevokeCertificateResponse) Descriptor

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

func (*MsgRevokeCertificateResponse) Marshal

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

func (*MsgRevokeCertificateResponse) MarshalTo

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

func (*MsgRevokeCertificateResponse) MarshalToSizedBuffer

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

func (*MsgRevokeCertificateResponse) ProtoMessage

func (*MsgRevokeCertificateResponse) ProtoMessage()

func (*MsgRevokeCertificateResponse) Reset

func (m *MsgRevokeCertificateResponse) Reset()

func (*MsgRevokeCertificateResponse) Size

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

func (*MsgRevokeCertificateResponse) String

func (*MsgRevokeCertificateResponse) Unmarshal

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

func (*MsgRevokeCertificateResponse) XXX_DiscardUnknown

func (m *MsgRevokeCertificateResponse) XXX_DiscardUnknown()

func (*MsgRevokeCertificateResponse) XXX_Marshal

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

func (*MsgRevokeCertificateResponse) XXX_Merge

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

func (*MsgRevokeCertificateResponse) XXX_Size

func (m *MsgRevokeCertificateResponse) XXX_Size() int

func (*MsgRevokeCertificateResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

type OracleOperator

type OracleOperator struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*OracleOperator) Descriptor

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

func (*OracleOperator) GetContent

func (m *OracleOperator) GetContent() string

func (*OracleOperator) Marshal

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

func (*OracleOperator) MarshalTo

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

func (*OracleOperator) MarshalToSizedBuffer

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

func (*OracleOperator) ProtoMessage

func (*OracleOperator) ProtoMessage()

func (*OracleOperator) Reset

func (m *OracleOperator) Reset()

func (*OracleOperator) Size

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

func (*OracleOperator) String

func (m *OracleOperator) String() string

func (*OracleOperator) Unmarshal

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

func (*OracleOperator) XXX_DiscardUnknown

func (m *OracleOperator) XXX_DiscardUnknown()

func (*OracleOperator) XXX_Marshal

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

func (*OracleOperator) XXX_Merge

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

func (*OracleOperator) XXX_Size

func (m *OracleOperator) XXX_Size() int

func (*OracleOperator) XXX_Unmarshal

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

type Platform

type Platform struct {
	ValidatorPubkey *types.Any `protobuf:"bytes,1,opt,name=validator_pubkey,json=validatorPubkey,proto3" json:"validator_pubkey,omitempty"`
	Description     string     `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

Platform is a genesis type for certified platform of a validator

func (*Platform) Descriptor

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

func (*Platform) Marshal

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

func (*Platform) MarshalTo

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

func (*Platform) MarshalToSizedBuffer

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

func (*Platform) ProtoMessage

func (*Platform) ProtoMessage()

func (*Platform) Reset

func (m *Platform) Reset()

func (*Platform) Size

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

func (*Platform) String

func (m *Platform) String() string

func (*Platform) Unmarshal

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

func (Platform) UnpackInterfaces

func (p Platform) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (*Platform) XXX_DiscardUnknown

func (m *Platform) XXX_DiscardUnknown()

func (*Platform) XXX_Marshal

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

func (*Platform) XXX_Merge

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

func (*Platform) XXX_Size

func (m *Platform) XXX_Size() int

func (*Platform) XXX_Unmarshal

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

type Proof

type Proof struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*Proof) Descriptor

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

func (*Proof) GetContent

func (m *Proof) GetContent() string

func (*Proof) Marshal

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

func (*Proof) MarshalTo

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

func (*Proof) MarshalToSizedBuffer

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

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) Reset

func (m *Proof) Reset()

func (*Proof) Size

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

func (*Proof) String

func (m *Proof) String() string

func (*Proof) Unmarshal

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

func (*Proof) XXX_DiscardUnknown

func (m *Proof) XXX_DiscardUnknown()

func (*Proof) XXX_Marshal

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

func (*Proof) XXX_Merge

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

func (*Proof) XXX_Size

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal

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

type QueryCertificateRequest

type QueryCertificateRequest struct {
	CertificateId uint64 `protobuf:"varint,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
}

func (*QueryCertificateRequest) Descriptor

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

func (*QueryCertificateRequest) GetCertificateId

func (m *QueryCertificateRequest) GetCertificateId() uint64

func (*QueryCertificateRequest) Marshal

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

func (*QueryCertificateRequest) MarshalTo

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

func (*QueryCertificateRequest) MarshalToSizedBuffer

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

func (*QueryCertificateRequest) ProtoMessage

func (*QueryCertificateRequest) ProtoMessage()

func (*QueryCertificateRequest) Reset

func (m *QueryCertificateRequest) Reset()

func (*QueryCertificateRequest) Size

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

func (*QueryCertificateRequest) String

func (m *QueryCertificateRequest) String() string

func (*QueryCertificateRequest) Unmarshal

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

func (*QueryCertificateRequest) XXX_DiscardUnknown

func (m *QueryCertificateRequest) XXX_DiscardUnknown()

func (*QueryCertificateRequest) XXX_Marshal

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

func (*QueryCertificateRequest) XXX_Merge

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

func (*QueryCertificateRequest) XXX_Size

func (m *QueryCertificateRequest) XXX_Size() int

func (*QueryCertificateRequest) XXX_Unmarshal

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

type QueryCertificateResponse

type QueryCertificateResponse struct {
	Certificate Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate"`
}

func (*QueryCertificateResponse) Descriptor

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

func (*QueryCertificateResponse) GetCertificate

func (m *QueryCertificateResponse) GetCertificate() Certificate

func (*QueryCertificateResponse) Marshal

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

func (*QueryCertificateResponse) MarshalTo

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

func (*QueryCertificateResponse) MarshalToSizedBuffer

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

func (*QueryCertificateResponse) ProtoMessage

func (*QueryCertificateResponse) ProtoMessage()

func (*QueryCertificateResponse) Reset

func (m *QueryCertificateResponse) Reset()

func (*QueryCertificateResponse) Size

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

func (*QueryCertificateResponse) String

func (m *QueryCertificateResponse) String() string

func (*QueryCertificateResponse) Unmarshal

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

func (*QueryCertificateResponse) XXX_DiscardUnknown

func (m *QueryCertificateResponse) XXX_DiscardUnknown()

func (*QueryCertificateResponse) XXX_Marshal

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

func (*QueryCertificateResponse) XXX_Merge

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

func (*QueryCertificateResponse) XXX_Size

func (m *QueryCertificateResponse) XXX_Size() int

func (*QueryCertificateResponse) XXX_Unmarshal

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

type QueryCertificatesParams

type QueryCertificatesParams struct {
	Page            int
	Limit           int
	Certifier       sdk.AccAddress
	CertificateType CertificateType
}

QueryCertificatesParams is the type for parameters of querying certificates.

func NewQueryCertificatesParams

func NewQueryCertificatesParams(page, limit int, certifier sdk.AccAddress, certType CertificateType) QueryCertificatesParams

NewQueryCertificatesParams creates a new instance of QueryCertificatesParams.

type QueryCertificatesRequest

type QueryCertificatesRequest struct {
	Certifier       string `protobuf:"bytes,1,opt,name=certifier,proto3" json:"certifier,omitempty"`
	CertificateType string `protobuf:"bytes,2,opt,name=certificate_type,json=certificateType,proto3" json:"certificate_type,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryCertificatesRequest) Descriptor

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

func (*QueryCertificatesRequest) GetCertificateType

func (m *QueryCertificatesRequest) GetCertificateType() string

func (*QueryCertificatesRequest) GetCertifier

func (m *QueryCertificatesRequest) GetCertifier() string

func (*QueryCertificatesRequest) GetPagination

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

func (*QueryCertificatesRequest) Marshal

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

func (*QueryCertificatesRequest) MarshalTo

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

func (*QueryCertificatesRequest) MarshalToSizedBuffer

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

func (*QueryCertificatesRequest) ProtoMessage

func (*QueryCertificatesRequest) ProtoMessage()

func (*QueryCertificatesRequest) Reset

func (m *QueryCertificatesRequest) Reset()

func (*QueryCertificatesRequest) Size

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

func (*QueryCertificatesRequest) String

func (m *QueryCertificatesRequest) String() string

func (*QueryCertificatesRequest) Unmarshal

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

func (*QueryCertificatesRequest) XXX_DiscardUnknown

func (m *QueryCertificatesRequest) XXX_DiscardUnknown()

func (*QueryCertificatesRequest) XXX_Marshal

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

func (*QueryCertificatesRequest) XXX_Merge

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

func (*QueryCertificatesRequest) XXX_Size

func (m *QueryCertificatesRequest) XXX_Size() int

func (*QueryCertificatesRequest) XXX_Unmarshal

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

type QueryCertificatesResponse

type QueryCertificatesResponse struct {
	Total        uint64                     `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Certificates []QueryCertificateResponse `protobuf:"bytes,2,rep,name=certificates,proto3" json:"certificates"`
}

func (*QueryCertificatesResponse) Descriptor

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

func (*QueryCertificatesResponse) GetCertificates

func (m *QueryCertificatesResponse) GetCertificates() []QueryCertificateResponse

func (*QueryCertificatesResponse) GetTotal

func (m *QueryCertificatesResponse) GetTotal() uint64

func (*QueryCertificatesResponse) Marshal

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

func (*QueryCertificatesResponse) MarshalTo

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

func (*QueryCertificatesResponse) MarshalToSizedBuffer

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

func (*QueryCertificatesResponse) ProtoMessage

func (*QueryCertificatesResponse) ProtoMessage()

func (*QueryCertificatesResponse) Reset

func (m *QueryCertificatesResponse) Reset()

func (*QueryCertificatesResponse) Size

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

func (*QueryCertificatesResponse) String

func (m *QueryCertificatesResponse) String() string

func (*QueryCertificatesResponse) Unmarshal

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

func (*QueryCertificatesResponse) XXX_DiscardUnknown

func (m *QueryCertificatesResponse) XXX_DiscardUnknown()

func (*QueryCertificatesResponse) XXX_Marshal

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

func (*QueryCertificatesResponse) XXX_Merge

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

func (*QueryCertificatesResponse) XXX_Size

func (m *QueryCertificatesResponse) XXX_Size() int

func (*QueryCertificatesResponse) XXX_Unmarshal

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

type QueryCertifierRequest

type QueryCertifierRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Alias   string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
}

func (*QueryCertifierRequest) Descriptor

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

func (*QueryCertifierRequest) GetAddress

func (m *QueryCertifierRequest) GetAddress() string

func (*QueryCertifierRequest) GetAlias

func (m *QueryCertifierRequest) GetAlias() string

func (*QueryCertifierRequest) Marshal

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

func (*QueryCertifierRequest) MarshalTo

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

func (*QueryCertifierRequest) MarshalToSizedBuffer

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

func (*QueryCertifierRequest) ProtoMessage

func (*QueryCertifierRequest) ProtoMessage()

func (*QueryCertifierRequest) Reset

func (m *QueryCertifierRequest) Reset()

func (*QueryCertifierRequest) Size

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

func (*QueryCertifierRequest) String

func (m *QueryCertifierRequest) String() string

func (*QueryCertifierRequest) Unmarshal

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

func (*QueryCertifierRequest) XXX_DiscardUnknown

func (m *QueryCertifierRequest) XXX_DiscardUnknown()

func (*QueryCertifierRequest) XXX_Marshal

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

func (*QueryCertifierRequest) XXX_Merge

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

func (*QueryCertifierRequest) XXX_Size

func (m *QueryCertifierRequest) XXX_Size() int

func (*QueryCertifierRequest) XXX_Unmarshal

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

type QueryCertifierResponse

type QueryCertifierResponse struct {
	Certifier Certifier `protobuf:"bytes,1,opt,name=certifier,proto3" json:"certifier"`
}

func (*QueryCertifierResponse) Descriptor

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

func (*QueryCertifierResponse) GetCertifier

func (m *QueryCertifierResponse) GetCertifier() Certifier

func (*QueryCertifierResponse) Marshal

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

func (*QueryCertifierResponse) MarshalTo

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

func (*QueryCertifierResponse) MarshalToSizedBuffer

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

func (*QueryCertifierResponse) ProtoMessage

func (*QueryCertifierResponse) ProtoMessage()

func (*QueryCertifierResponse) Reset

func (m *QueryCertifierResponse) Reset()

func (*QueryCertifierResponse) Size

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

func (*QueryCertifierResponse) String

func (m *QueryCertifierResponse) String() string

func (*QueryCertifierResponse) Unmarshal

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

func (*QueryCertifierResponse) XXX_DiscardUnknown

func (m *QueryCertifierResponse) XXX_DiscardUnknown()

func (*QueryCertifierResponse) XXX_Marshal

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

func (*QueryCertifierResponse) XXX_Merge

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

func (*QueryCertifierResponse) XXX_Size

func (m *QueryCertifierResponse) XXX_Size() int

func (*QueryCertifierResponse) XXX_Unmarshal

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

type QueryCertifiersRequest

type QueryCertifiersRequest struct {
}

func (*QueryCertifiersRequest) Descriptor

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

func (*QueryCertifiersRequest) Marshal

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

func (*QueryCertifiersRequest) MarshalTo

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

func (*QueryCertifiersRequest) MarshalToSizedBuffer

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

func (*QueryCertifiersRequest) ProtoMessage

func (*QueryCertifiersRequest) ProtoMessage()

func (*QueryCertifiersRequest) Reset

func (m *QueryCertifiersRequest) Reset()

func (*QueryCertifiersRequest) Size

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

func (*QueryCertifiersRequest) String

func (m *QueryCertifiersRequest) String() string

func (*QueryCertifiersRequest) Unmarshal

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

func (*QueryCertifiersRequest) XXX_DiscardUnknown

func (m *QueryCertifiersRequest) XXX_DiscardUnknown()

func (*QueryCertifiersRequest) XXX_Marshal

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

func (*QueryCertifiersRequest) XXX_Merge

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

func (*QueryCertifiersRequest) XXX_Size

func (m *QueryCertifiersRequest) XXX_Size() int

func (*QueryCertifiersRequest) XXX_Unmarshal

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

type QueryCertifiersResponse

type QueryCertifiersResponse struct {
	Certifiers []Certifier `protobuf:"bytes,1,rep,name=certifiers,proto3" json:"certifiers"`
}

func (*QueryCertifiersResponse) Descriptor

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

func (*QueryCertifiersResponse) GetCertifiers

func (m *QueryCertifiersResponse) GetCertifiers() []Certifier

func (*QueryCertifiersResponse) Marshal

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

func (*QueryCertifiersResponse) MarshalTo

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

func (*QueryCertifiersResponse) MarshalToSizedBuffer

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

func (*QueryCertifiersResponse) ProtoMessage

func (*QueryCertifiersResponse) ProtoMessage()

func (*QueryCertifiersResponse) Reset

func (m *QueryCertifiersResponse) Reset()

func (*QueryCertifiersResponse) Size

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

func (*QueryCertifiersResponse) String

func (m *QueryCertifiersResponse) String() string

func (*QueryCertifiersResponse) Unmarshal

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

func (*QueryCertifiersResponse) XXX_DiscardUnknown

func (m *QueryCertifiersResponse) XXX_DiscardUnknown()

func (*QueryCertifiersResponse) XXX_Marshal

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

func (*QueryCertifiersResponse) XXX_Merge

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

func (*QueryCertifiersResponse) XXX_Size

func (m *QueryCertifiersResponse) XXX_Size() int

func (*QueryCertifiersResponse) XXX_Unmarshal

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

type QueryClient

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 QueryPlatformRequest

type QueryPlatformRequest struct {
	Pubkey *types.Any `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
}

func (*QueryPlatformRequest) Descriptor

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

func (*QueryPlatformRequest) GetPubkey

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

func (*QueryPlatformRequest) Marshal

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

func (*QueryPlatformRequest) MarshalTo

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

func (*QueryPlatformRequest) MarshalToSizedBuffer

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

func (*QueryPlatformRequest) ProtoMessage

func (*QueryPlatformRequest) ProtoMessage()

func (*QueryPlatformRequest) Reset

func (m *QueryPlatformRequest) Reset()

func (*QueryPlatformRequest) Size

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

func (*QueryPlatformRequest) String

func (m *QueryPlatformRequest) String() string

func (*QueryPlatformRequest) Unmarshal

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

func (QueryPlatformRequest) UnpackInterfaces

func (q QueryPlatformRequest) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (*QueryPlatformRequest) XXX_DiscardUnknown

func (m *QueryPlatformRequest) XXX_DiscardUnknown()

func (*QueryPlatformRequest) XXX_Marshal

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

func (*QueryPlatformRequest) XXX_Merge

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

func (*QueryPlatformRequest) XXX_Size

func (m *QueryPlatformRequest) XXX_Size() int

func (*QueryPlatformRequest) XXX_Unmarshal

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

type QueryPlatformResponse

type QueryPlatformResponse struct {
	Platform Platform `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform"`
}

func (*QueryPlatformResponse) Descriptor

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

func (*QueryPlatformResponse) GetPlatform

func (m *QueryPlatformResponse) GetPlatform() Platform

func (*QueryPlatformResponse) Marshal

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

func (*QueryPlatformResponse) MarshalTo

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

func (*QueryPlatformResponse) MarshalToSizedBuffer

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

func (*QueryPlatformResponse) ProtoMessage

func (*QueryPlatformResponse) ProtoMessage()

func (*QueryPlatformResponse) Reset

func (m *QueryPlatformResponse) Reset()

func (*QueryPlatformResponse) Size

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

func (*QueryPlatformResponse) String

func (m *QueryPlatformResponse) String() string

func (*QueryPlatformResponse) Unmarshal

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

func (*QueryPlatformResponse) XXX_DiscardUnknown

func (m *QueryPlatformResponse) XXX_DiscardUnknown()

func (*QueryPlatformResponse) XXX_Marshal

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

func (*QueryPlatformResponse) XXX_Merge

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

func (*QueryPlatformResponse) XXX_Size

func (m *QueryPlatformResponse) XXX_Size() int

func (*QueryPlatformResponse) XXX_Unmarshal

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

type QueryResCertifiers

type QueryResCertifiers struct {
	Certifiers Certifiers `json:"certifiers"`
}

QueryResCertifiers is the query result payload for all certifiers.

func (QueryResCertifiers) String

func (q QueryResCertifiers) String() string

String implements fmt.Stringer.

type QueryResValidator

type QueryResValidator struct {
	Certifier sdk.AccAddress `json:"certifier"`
}

QueryResValidator is the query result payload for a certified validator query.

func (QueryResValidator) String

func (q QueryResValidator) String() string

String implements fmt.Stringer.

type QueryResValidators

type QueryResValidators struct {
	Validators []string `json:"validators"`
}

QueryResValidators is the query result payload for all certified validators.

func (QueryResValidators) String

func (q QueryResValidators) String() string

String implements fmt.Stringer.

type ShieldPoolCreator

type ShieldPoolCreator struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}

func (*ShieldPoolCreator) Descriptor

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

func (*ShieldPoolCreator) GetContent

func (m *ShieldPoolCreator) GetContent() string

func (*ShieldPoolCreator) Marshal

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

func (*ShieldPoolCreator) MarshalTo

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

func (*ShieldPoolCreator) MarshalToSizedBuffer

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

func (*ShieldPoolCreator) ProtoMessage

func (*ShieldPoolCreator) ProtoMessage()

func (*ShieldPoolCreator) Reset

func (m *ShieldPoolCreator) Reset()

func (*ShieldPoolCreator) Size

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

func (*ShieldPoolCreator) String

func (m *ShieldPoolCreator) String() string

func (*ShieldPoolCreator) Unmarshal

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

func (*ShieldPoolCreator) XXX_DiscardUnknown

func (m *ShieldPoolCreator) XXX_DiscardUnknown()

func (*ShieldPoolCreator) XXX_Marshal

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

func (*ShieldPoolCreator) XXX_Merge

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

func (*ShieldPoolCreator) XXX_Size

func (m *ShieldPoolCreator) XXX_Size() int

func (*ShieldPoolCreator) XXX_Unmarshal

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

type SlashingKeeper

type SlashingKeeper interface {
	IsTombstoned(sdk.Context, sdk.ConsAddress) bool
	Tombstone(sdk.Context, sdk.ConsAddress)
	Jail(sdk.Context, sdk.ConsAddress)
	JailUntil(sdk.Context, sdk.ConsAddress, time.Time)
}

type StakingKeeper

type StakingKeeper interface {
	ValidatorByConsAddr(sdk.Context, sdk.ConsAddress) stakingtypes.ValidatorI
	GetAllValidators(ctx sdk.Context) []stakingtypes.Validator
	GetValidatorDelegations(ctx sdk.Context, valAddr sdk.ValAddress) []stakingtypes.Delegation
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CertifyPlatform

func (*UnimplementedMsgServer) IssueCertificate

func (*UnimplementedMsgServer) ProposeCertifier

func (*UnimplementedMsgServer) RevokeCertificate

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AddrConversion added in v2.9.0

func (*UnimplementedQueryServer) Certificate

func (*UnimplementedQueryServer) Certificates

func (*UnimplementedQueryServer) Certifier

func (*UnimplementedQueryServer) Certifiers

func (*UnimplementedQueryServer) Platform

Jump to

Keyboard shortcuts

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