types

package
v4.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName is the name of this module
	ModuleName = "entity"

	// DefaultParamspace is the default param space for this module
	DefaultParamspace = ModuleName

	// StoreKey is the default store key for this module
	StoreKey = ModuleName

	// RouterKey is the message route for this module
	RouterKey = ModuleName
)
View Source
const (
	EntityAdminAccountName         = "admin"
	EntityOracleRevenueAccountName = "oracle revenue"
)
View Source
const (
	ProposalTypeInitializeNftContract = "InitializeNftContract"
)
View Source
const TypeMsgCreateEntity = "create_entity"

-------------------------- CREATE ENTITY --------------------------

View Source
const TypeMsgCreateEntityAccount = "create_entity_account"

-------------------------- CREATE ENTITY ACCOUNT --------------------------

View Source
const TypeMsgGrantEntityAccountAuthz = "grant_entity_account_authz"

-------------------------- GRANT ENTITY ACCOUNT AUTHZ --------------------------

View Source
const TypeMsgRevokeEntityAccountAuthz = "revoke_entity_account_authz"

-------------------------- REVOKE ENTITY ACCOUNT AUTHZ --------------------------

View Source
const TypeMsgTransferEntity = "transfer_entity"

-------------------------- TRANSFER ENTITY --------------------------

View Source
const TypeMsgUpdateEntity = "update_entity"

-------------------------- UPDATE ENTITY --------------------------

View Source
const TypeMsgUpdateEntityVerified = "update_entity_verification"

-------------------------- UPDATE ENTITY VERIFIED --------------------------

Variables

View Source
var (
	ErrInvalidLengthCosmos        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCosmos          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCosmos = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthEntity        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEntity          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEntity = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrEntityNotFound       = errorsmod.Register(ModuleName, 1001, "entity not found")
	ErrUpdateVerifiedFailed = errorsmod.Register(ModuleName, 1002, "update entity verified failed")
	ErrAccountNotFound      = errorsmod.Register(ModuleName, 1003, "entity account with name not found")
	ErrAccountDuplicate     = errorsmod.Register(ModuleName, 1004, "entity account with name already exists")
	ErrEntityUnauthorized   = errorsmod.Register(ModuleName, 1005, "unauthorized, owner not same as nft owner")
)

x/entity module sentinel errors

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = 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 (
	KeyNftContractAddress = []byte("NftContractAddress")
	KeyNftContractMinter  = []byte("NftContractMinter")
	KeyCreateSequence     = []byte("CreateSequence")
)
View Source
var (
	ErrInvalidLengthProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposal = 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 (
	EntityKey = []byte{0x01}
)

Functions

func GetModuleAccountAddress

func GetModuleAccountAddress(id, name string) sdk.AccAddress

Helper to get module account address

func GetModuleAccountKey

func GetModuleAccountKey(id, name string) string

Helper to get module account key in form of id#name

func IsEmpty

func IsEmpty(input string) bool

IsEmpty tells if the trimmed input is empty

func IsValidEntity

func IsValidEntity(entity *Entity) bool

IsValidEntity tells if a Entity is valid, that is if it has a non empty versionId and a non-zero create date

func KeyPrefix

func KeyPrefix(p string) []byte

func NftModuleAddress

func NftModuleAddress() string

func ParamKeyTable

func ParamKeyTable() paramstypes.KeyTable

ParamTable for project module.

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers interfaces and implementations of the x/entity module.

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterCodec registers the necessary x/entity 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 UpdateEntityMetadata

func UpdateEntityMetadata(meta *EntityMetadata, versionData []byte, updated time.Time)

UpdateEntityMetadata updates a entity metadata time and version id

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(context.Context, sdk.AccAddress) sdk.AccountI
	SetAccount(context.Context, sdk.AccountI)
	NewAccountWithAddress(context.Context, sdk.AccAddress) sdk.AccountI
}

type AuthzKeeper

type AuthzKeeper interface {
	SaveGrant(ctx context.Context, grantee, granter sdk.AccAddress, authorization authz.Authorization, expiration *time.Time) error
	DeleteGrant(ctx context.Context, grantee, granter sdk.AccAddress, msgType string) error
}

type Entity

type Entity struct {
	// id represents the id for the entity document.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Type of entity, eg protocol or asset
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Start Date of the Entity as defined by the implementer and interpreted by
	// Client applications
	StartDate *time.Time `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"`
	// End Date of the Entity as defined by the implementer and interpreted by
	// Client applications
	EndDate *time.Time `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"`
	// Status of the Entity as defined by the implementer and interpreted by
	// Client applications
	Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	// Did of the operator through which the Entity was created
	RelayerNode string `protobuf:"bytes,6,opt,name=relayer_node,json=relayerNode,proto3" json:"relayer_node,omitempty"`
	// Credentials of the entity to be verified
	Credentials []string `protobuf:"bytes,7,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// Used as check whether the credentials of entity is verified
	EntityVerified bool `protobuf:"varint,8,opt,name=entity_verified,json=entityVerified,proto3" json:"entity_verified,omitempty"`
	// Metadata concerning the Entity such as versionId, created, updated and
	// deactivated
	Metadata *EntityMetadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// module accounts created for entity
	Accounts []*EntityAccount `protobuf:"bytes,10,rep,name=accounts,proto3" json:"accounts,omitempty"`
}

func (Entity) ContainsAccountAddress

func (e Entity) ContainsAccountAddress(address string) bool

func (Entity) ContainsAccountName

func (e Entity) ContainsAccountName(name string) bool

func (*Entity) Descriptor

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

func (*Entity) Equal

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

func (*Entity) GetAccounts

func (m *Entity) GetAccounts() []*EntityAccount

func (*Entity) GetCredentials

func (m *Entity) GetCredentials() []string

func (*Entity) GetEndDate

func (m *Entity) GetEndDate() *time.Time

func (Entity) GetEntityAccountByName

func (e Entity) GetEntityAccountByName(name string) (string, error)

func (*Entity) GetEntityVerified

func (m *Entity) GetEntityVerified() bool

func (*Entity) GetId

func (m *Entity) GetId() string

func (*Entity) GetMetadata

func (m *Entity) GetMetadata() *EntityMetadata

func (*Entity) GetRelayerNode

func (m *Entity) GetRelayerNode() string

func (*Entity) GetStartDate

func (m *Entity) GetStartDate() *time.Time

func (*Entity) GetStatus

func (m *Entity) GetStatus() int32

func (*Entity) GetType

func (m *Entity) GetType() string

func (*Entity) Marshal

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

func (*Entity) MarshalTo

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

func (*Entity) MarshalToSizedBuffer

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

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) Reset

func (m *Entity) Reset()

func (*Entity) Size

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

func (*Entity) String

func (m *Entity) String() string

func (*Entity) Unmarshal

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

func (*Entity) XXX_DiscardUnknown

func (m *Entity) XXX_DiscardUnknown()

func (*Entity) XXX_Marshal

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

func (*Entity) XXX_Merge

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

func (*Entity) XXX_Size

func (m *Entity) XXX_Size() int

func (*Entity) XXX_Unmarshal

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

type EntityAccount

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

func (*EntityAccount) Descriptor

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

func (*EntityAccount) Equal

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

func (*EntityAccount) GetAddress

func (m *EntityAccount) GetAddress() string

func (*EntityAccount) GetName

func (m *EntityAccount) GetName() string

func (*EntityAccount) Marshal

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

func (*EntityAccount) MarshalTo

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

func (*EntityAccount) MarshalToSizedBuffer

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

func (*EntityAccount) ProtoMessage

func (*EntityAccount) ProtoMessage()

func (*EntityAccount) Reset

func (m *EntityAccount) Reset()

func (*EntityAccount) Size

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

func (*EntityAccount) String

func (m *EntityAccount) String() string

func (*EntityAccount) Unmarshal

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

func (*EntityAccount) XXX_DiscardUnknown

func (m *EntityAccount) XXX_DiscardUnknown()

func (*EntityAccount) XXX_Marshal

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

func (*EntityAccount) XXX_Merge

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

func (*EntityAccount) XXX_Size

func (m *EntityAccount) XXX_Size() int

func (*EntityAccount) XXX_Unmarshal

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

type EntityAccountAuthzCreatedEvent

type EntityAccountAuthzCreatedEvent struct {
	Id          string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Signer      string       `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	AccountName string       `protobuf:"bytes,3,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	Granter     string       `protobuf:"bytes,4,opt,name=granter,proto3" json:"granter,omitempty"`
	Grantee     string       `protobuf:"bytes,5,opt,name=grantee,proto3" json:"grantee,omitempty"`
	Grant       *authz.Grant `protobuf:"bytes,6,opt,name=grant,proto3" json:"grant,omitempty"`
}

EntityAccountCreatedEvent is an event triggered on a entity account authz creation

func (*EntityAccountAuthzCreatedEvent) Descriptor

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

func (*EntityAccountAuthzCreatedEvent) GetAccountName

func (m *EntityAccountAuthzCreatedEvent) GetAccountName() string

func (*EntityAccountAuthzCreatedEvent) GetGrant

func (*EntityAccountAuthzCreatedEvent) GetGrantee

func (m *EntityAccountAuthzCreatedEvent) GetGrantee() string

func (*EntityAccountAuthzCreatedEvent) GetGranter

func (m *EntityAccountAuthzCreatedEvent) GetGranter() string

func (*EntityAccountAuthzCreatedEvent) GetId

func (*EntityAccountAuthzCreatedEvent) GetSigner

func (m *EntityAccountAuthzCreatedEvent) GetSigner() string

func (*EntityAccountAuthzCreatedEvent) Marshal

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

func (*EntityAccountAuthzCreatedEvent) MarshalTo

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

func (*EntityAccountAuthzCreatedEvent) MarshalToSizedBuffer

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

func (*EntityAccountAuthzCreatedEvent) ProtoMessage

func (*EntityAccountAuthzCreatedEvent) ProtoMessage()

func (*EntityAccountAuthzCreatedEvent) Reset

func (m *EntityAccountAuthzCreatedEvent) Reset()

func (*EntityAccountAuthzCreatedEvent) Size

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

func (*EntityAccountAuthzCreatedEvent) String

func (*EntityAccountAuthzCreatedEvent) Unmarshal

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

func (*EntityAccountAuthzCreatedEvent) XXX_DiscardUnknown

func (m *EntityAccountAuthzCreatedEvent) XXX_DiscardUnknown()

func (*EntityAccountAuthzCreatedEvent) XXX_Marshal

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

func (*EntityAccountAuthzCreatedEvent) XXX_Merge

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

func (*EntityAccountAuthzCreatedEvent) XXX_Size

func (m *EntityAccountAuthzCreatedEvent) XXX_Size() int

func (*EntityAccountAuthzCreatedEvent) XXX_Unmarshal

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

type EntityAccountAuthzRevokedEvent

type EntityAccountAuthzRevokedEvent struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Signer      string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	AccountName string `protobuf:"bytes,3,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	Granter     string `protobuf:"bytes,4,opt,name=granter,proto3" json:"granter,omitempty"`
	Grantee     string `protobuf:"bytes,5,opt,name=grantee,proto3" json:"grantee,omitempty"`
	MsgTypeUrl  string `protobuf:"bytes,6,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
}

EntityAccountAuthzRevokedEvent is an event triggered on a entity account authz revocation

func (*EntityAccountAuthzRevokedEvent) Descriptor

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

func (*EntityAccountAuthzRevokedEvent) GetAccountName

func (m *EntityAccountAuthzRevokedEvent) GetAccountName() string

func (*EntityAccountAuthzRevokedEvent) GetGrantee

func (m *EntityAccountAuthzRevokedEvent) GetGrantee() string

func (*EntityAccountAuthzRevokedEvent) GetGranter

func (m *EntityAccountAuthzRevokedEvent) GetGranter() string

func (*EntityAccountAuthzRevokedEvent) GetId

func (*EntityAccountAuthzRevokedEvent) GetMsgTypeUrl

func (m *EntityAccountAuthzRevokedEvent) GetMsgTypeUrl() string

func (*EntityAccountAuthzRevokedEvent) GetSigner

func (m *EntityAccountAuthzRevokedEvent) GetSigner() string

func (*EntityAccountAuthzRevokedEvent) Marshal

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

func (*EntityAccountAuthzRevokedEvent) MarshalTo

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

func (*EntityAccountAuthzRevokedEvent) MarshalToSizedBuffer

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

func (*EntityAccountAuthzRevokedEvent) ProtoMessage

func (*EntityAccountAuthzRevokedEvent) ProtoMessage()

func (*EntityAccountAuthzRevokedEvent) Reset

func (m *EntityAccountAuthzRevokedEvent) Reset()

func (*EntityAccountAuthzRevokedEvent) Size

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

func (*EntityAccountAuthzRevokedEvent) String

func (*EntityAccountAuthzRevokedEvent) Unmarshal

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

func (*EntityAccountAuthzRevokedEvent) XXX_DiscardUnknown

func (m *EntityAccountAuthzRevokedEvent) XXX_DiscardUnknown()

func (*EntityAccountAuthzRevokedEvent) XXX_Marshal

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

func (*EntityAccountAuthzRevokedEvent) XXX_Merge

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

func (*EntityAccountAuthzRevokedEvent) XXX_Size

func (m *EntityAccountAuthzRevokedEvent) XXX_Size() int

func (*EntityAccountAuthzRevokedEvent) XXX_Unmarshal

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

type EntityAccountCreatedEvent

type EntityAccountCreatedEvent struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Signer         string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	AccountName    string `protobuf:"bytes,3,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
	AccountAddress string `protobuf:"bytes,4,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
}

EntityAccountCreatedEvent is an event triggered on a entity account creation

func (*EntityAccountCreatedEvent) Descriptor

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

func (*EntityAccountCreatedEvent) GetAccountAddress

func (m *EntityAccountCreatedEvent) GetAccountAddress() string

func (*EntityAccountCreatedEvent) GetAccountName

func (m *EntityAccountCreatedEvent) GetAccountName() string

func (*EntityAccountCreatedEvent) GetId

func (m *EntityAccountCreatedEvent) GetId() string

func (*EntityAccountCreatedEvent) GetSigner

func (m *EntityAccountCreatedEvent) GetSigner() string

func (*EntityAccountCreatedEvent) Marshal

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

func (*EntityAccountCreatedEvent) MarshalTo

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

func (*EntityAccountCreatedEvent) MarshalToSizedBuffer

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

func (*EntityAccountCreatedEvent) ProtoMessage

func (*EntityAccountCreatedEvent) ProtoMessage()

func (*EntityAccountCreatedEvent) Reset

func (m *EntityAccountCreatedEvent) Reset()

func (*EntityAccountCreatedEvent) Size

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

func (*EntityAccountCreatedEvent) String

func (m *EntityAccountCreatedEvent) String() string

func (*EntityAccountCreatedEvent) Unmarshal

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

func (*EntityAccountCreatedEvent) XXX_DiscardUnknown

func (m *EntityAccountCreatedEvent) XXX_DiscardUnknown()

func (*EntityAccountCreatedEvent) XXX_Marshal

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

func (*EntityAccountCreatedEvent) XXX_Merge

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

func (*EntityAccountCreatedEvent) XXX_Size

func (m *EntityAccountCreatedEvent) XXX_Size() int

func (*EntityAccountCreatedEvent) XXX_Unmarshal

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

type EntityCreatedEvent

type EntityCreatedEvent struct {
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Signer string  `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

EntityCreatedEvent is an event triggered on a Entity creation

func (*EntityCreatedEvent) Descriptor

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

func (*EntityCreatedEvent) GetEntity

func (m *EntityCreatedEvent) GetEntity() *Entity

func (*EntityCreatedEvent) GetSigner

func (m *EntityCreatedEvent) GetSigner() string

func (*EntityCreatedEvent) Marshal

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

func (*EntityCreatedEvent) MarshalTo

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

func (*EntityCreatedEvent) MarshalToSizedBuffer

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

func (*EntityCreatedEvent) ProtoMessage

func (*EntityCreatedEvent) ProtoMessage()

func (*EntityCreatedEvent) Reset

func (m *EntityCreatedEvent) Reset()

func (*EntityCreatedEvent) Size

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

func (*EntityCreatedEvent) String

func (m *EntityCreatedEvent) String() string

func (*EntityCreatedEvent) Unmarshal

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

func (*EntityCreatedEvent) XXX_DiscardUnknown

func (m *EntityCreatedEvent) XXX_DiscardUnknown()

func (*EntityCreatedEvent) XXX_Marshal

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

func (*EntityCreatedEvent) XXX_Merge

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

func (*EntityCreatedEvent) XXX_Size

func (m *EntityCreatedEvent) XXX_Size() int

func (*EntityCreatedEvent) XXX_Unmarshal

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

type EntityMetadata

type EntityMetadata struct {
	VersionId string     `protobuf:"bytes,1,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	Created   *time.Time `protobuf:"bytes,2,opt,name=created,proto3,stdtime" json:"created,omitempty"`
	Updated   *time.Time `protobuf:"bytes,3,opt,name=updated,proto3,stdtime" json:"updated,omitempty"`
}

EntityMetadata defines metadata associated to a entity

func NewEntityMetadata

func NewEntityMetadata(versionData []byte, created time.Time) EntityMetadata

func (*EntityMetadata) Descriptor

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

func (*EntityMetadata) Equal

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

func (*EntityMetadata) GetCreated

func (m *EntityMetadata) GetCreated() *time.Time

func (*EntityMetadata) GetUpdated

func (m *EntityMetadata) GetUpdated() *time.Time

func (*EntityMetadata) GetVersionId

func (m *EntityMetadata) GetVersionId() string

func (*EntityMetadata) Marshal

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

func (*EntityMetadata) MarshalTo

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

func (*EntityMetadata) MarshalToSizedBuffer

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

func (*EntityMetadata) ProtoMessage

func (*EntityMetadata) ProtoMessage()

func (*EntityMetadata) Reset

func (m *EntityMetadata) Reset()

func (*EntityMetadata) Size

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

func (*EntityMetadata) String

func (m *EntityMetadata) String() string

func (*EntityMetadata) Unmarshal

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

func (*EntityMetadata) XXX_DiscardUnknown

func (m *EntityMetadata) XXX_DiscardUnknown()

func (*EntityMetadata) XXX_Marshal

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

func (*EntityMetadata) XXX_Merge

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

func (*EntityMetadata) XXX_Size

func (m *EntityMetadata) XXX_Size() int

func (*EntityMetadata) XXX_Unmarshal

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

type EntityTransferredEvent

type EntityTransferredEvent struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	To   string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
}

EntityTransferredEvent is an event triggered on a entity transfer

func (*EntityTransferredEvent) Descriptor

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

func (*EntityTransferredEvent) GetFrom

func (m *EntityTransferredEvent) GetFrom() string

func (*EntityTransferredEvent) GetId

func (m *EntityTransferredEvent) GetId() string

func (*EntityTransferredEvent) GetTo

func (m *EntityTransferredEvent) GetTo() string

func (*EntityTransferredEvent) Marshal

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

func (*EntityTransferredEvent) MarshalTo

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

func (*EntityTransferredEvent) MarshalToSizedBuffer

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

func (*EntityTransferredEvent) ProtoMessage

func (*EntityTransferredEvent) ProtoMessage()

func (*EntityTransferredEvent) Reset

func (m *EntityTransferredEvent) Reset()

func (*EntityTransferredEvent) Size

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

func (*EntityTransferredEvent) String

func (m *EntityTransferredEvent) String() string

func (*EntityTransferredEvent) Unmarshal

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

func (*EntityTransferredEvent) XXX_DiscardUnknown

func (m *EntityTransferredEvent) XXX_DiscardUnknown()

func (*EntityTransferredEvent) XXX_Marshal

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

func (*EntityTransferredEvent) XXX_Merge

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

func (*EntityTransferredEvent) XXX_Size

func (m *EntityTransferredEvent) XXX_Size() int

func (*EntityTransferredEvent) XXX_Unmarshal

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

type EntityUpdatedEvent

type EntityUpdatedEvent struct {
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Signer string  `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

EntityUpdatedEvent is an event triggered on a entity document update

func (*EntityUpdatedEvent) Descriptor

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

func (*EntityUpdatedEvent) GetEntity

func (m *EntityUpdatedEvent) GetEntity() *Entity

func (*EntityUpdatedEvent) GetSigner

func (m *EntityUpdatedEvent) GetSigner() string

func (*EntityUpdatedEvent) Marshal

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

func (*EntityUpdatedEvent) MarshalTo

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

func (*EntityUpdatedEvent) MarshalToSizedBuffer

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

func (*EntityUpdatedEvent) ProtoMessage

func (*EntityUpdatedEvent) ProtoMessage()

func (*EntityUpdatedEvent) Reset

func (m *EntityUpdatedEvent) Reset()

func (*EntityUpdatedEvent) Size

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

func (*EntityUpdatedEvent) String

func (m *EntityUpdatedEvent) String() string

func (*EntityUpdatedEvent) Unmarshal

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

func (*EntityUpdatedEvent) XXX_DiscardUnknown

func (m *EntityUpdatedEvent) XXX_DiscardUnknown()

func (*EntityUpdatedEvent) XXX_Marshal

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

func (*EntityUpdatedEvent) XXX_Merge

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

func (*EntityUpdatedEvent) XXX_Size

func (m *EntityUpdatedEvent) XXX_Size() int

func (*EntityUpdatedEvent) XXX_Unmarshal

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

type EntityVerifiedUpdatedEvent

type EntityVerifiedUpdatedEvent struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Signer         string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	EntityVerified bool   `protobuf:"varint,3,opt,name=entity_verified,json=entityVerified,proto3" json:"entity_verified,omitempty"`
}

EntityVerifiedUpdatedEvent is an event triggered on a entity verified document update

func (*EntityVerifiedUpdatedEvent) Descriptor

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

func (*EntityVerifiedUpdatedEvent) GetEntityVerified

func (m *EntityVerifiedUpdatedEvent) GetEntityVerified() bool

func (*EntityVerifiedUpdatedEvent) GetId

func (*EntityVerifiedUpdatedEvent) GetSigner

func (m *EntityVerifiedUpdatedEvent) GetSigner() string

func (*EntityVerifiedUpdatedEvent) Marshal

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

func (*EntityVerifiedUpdatedEvent) MarshalTo

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

func (*EntityVerifiedUpdatedEvent) MarshalToSizedBuffer

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

func (*EntityVerifiedUpdatedEvent) ProtoMessage

func (*EntityVerifiedUpdatedEvent) ProtoMessage()

func (*EntityVerifiedUpdatedEvent) Reset

func (m *EntityVerifiedUpdatedEvent) Reset()

func (*EntityVerifiedUpdatedEvent) Size

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

func (*EntityVerifiedUpdatedEvent) String

func (m *EntityVerifiedUpdatedEvent) String() string

func (*EntityVerifiedUpdatedEvent) Unmarshal

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

func (*EntityVerifiedUpdatedEvent) XXX_DiscardUnknown

func (m *EntityVerifiedUpdatedEvent) XXX_DiscardUnknown()

func (*EntityVerifiedUpdatedEvent) XXX_Marshal

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

func (*EntityVerifiedUpdatedEvent) XXX_Merge

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

func (*EntityVerifiedUpdatedEvent) XXX_Size

func (m *EntityVerifiedUpdatedEvent) XXX_Size() int

func (*EntityVerifiedUpdatedEvent) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Entities []Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities"`
	Params   Params   `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

GenesisState defines the project module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

func (*GenesisState) Descriptor

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

func (*GenesisState) GetEntities

func (m *GenesisState) GetEntities() []Entity

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

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

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

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 Grant

type Grant struct {
	Authorization *types.Any `protobuf:"bytes,1,opt,name=authorization,proto3" json:"authorization,omitempty"`
	Expiration    time.Time  `protobuf:"bytes,2,opt,name=expiration,proto3,stdtime" json:"expiration"`
}

Grant gives permissions to execute the provide method with expiration time.

func (*Grant) Descriptor

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

func (*Grant) GetAuthorization

func (m *Grant) GetAuthorization() *types.Any

func (*Grant) GetExpiration

func (m *Grant) GetExpiration() time.Time

func (*Grant) Marshal

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

func (*Grant) MarshalTo

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

func (*Grant) MarshalToSizedBuffer

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

func (*Grant) ProtoMessage

func (*Grant) ProtoMessage()

func (*Grant) Reset

func (m *Grant) Reset()

func (*Grant) Size

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

func (*Grant) String

func (m *Grant) String() string

func (*Grant) Unmarshal

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

func (Grant) UnpackInterfaces

func (g Grant) UnpackInterfaces(unpacker cdctypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces Require to run this to add the Any for Authorization to cache

func (*Grant) XXX_DiscardUnknown

func (m *Grant) XXX_DiscardUnknown()

func (*Grant) XXX_Marshal

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

func (*Grant) XXX_Merge

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

func (*Grant) XXX_Size

func (m *Grant) XXX_Size() int

func (*Grant) XXX_Unmarshal

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

type IidKeeper

type IidKeeper interface {
	ResolveDid(ctx sdk.Context, did iidtypes.DID) (doc iidtypes.IidDocument, err error)
	GetDidDocument(ctx sdk.Context, key []byte) (iidtypes.IidDocument, bool)
	SetDidDocument(ctx sdk.Context, key []byte, document iidtypes.IidDocument)
}

type InitializeNftContract

type InitializeNftContract struct {
	NftContractCodeId uint64 `protobuf:"varint,1,opt,name=NftContractCodeId,proto3" json:"NftContractCodeId,omitempty"`
	NftMinterAddress  string `protobuf:"bytes,2,opt,name=NftMinterAddress,proto3" json:"NftMinterAddress,omitempty"`
}

func NewInitializeNftContract

func NewInitializeNftContract(nftContractCodeId uint64, nftminteraddress string) InitializeNftContract

func (*InitializeNftContract) Descriptor

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

func (*InitializeNftContract) GetDescription

func (p *InitializeNftContract) GetDescription() string

func (*InitializeNftContract) GetNftContractCodeId

func (m *InitializeNftContract) GetNftContractCodeId() uint64

func (*InitializeNftContract) GetNftMinterAddress

func (m *InitializeNftContract) GetNftMinterAddress() string

func (*InitializeNftContract) GetTitle

func (p *InitializeNftContract) GetTitle() string

func (*InitializeNftContract) Marshal

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

func (*InitializeNftContract) MarshalTo

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

func (*InitializeNftContract) MarshalToSizedBuffer

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

func (*InitializeNftContract) ProposalRoute

func (p *InitializeNftContract) ProposalRoute() string

func (*InitializeNftContract) ProposalType

func (p *InitializeNftContract) ProposalType() string

func (*InitializeNftContract) ProtoMessage

func (*InitializeNftContract) ProtoMessage()

func (*InitializeNftContract) Reset

func (m *InitializeNftContract) Reset()

func (*InitializeNftContract) Size

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

func (*InitializeNftContract) String

func (m *InitializeNftContract) String() string

func (*InitializeNftContract) Unmarshal

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

func (*InitializeNftContract) ValidateBasic

func (p *InitializeNftContract) ValidateBasic() error

func (*InitializeNftContract) XXX_DiscardUnknown

func (m *InitializeNftContract) XXX_DiscardUnknown()

func (*InitializeNftContract) XXX_Marshal

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

func (*InitializeNftContract) XXX_Merge

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

func (*InitializeNftContract) XXX_Size

func (m *InitializeNftContract) XXX_Size() int

func (*InitializeNftContract) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// CreateEntity defines a method for creating a entity.
	CreateEntity(ctx context.Context, in *MsgCreateEntity, opts ...grpc.CallOption) (*MsgCreateEntityResponse, error)
	// UpdateEntity defines a method for updating a entity
	UpdateEntity(ctx context.Context, in *MsgUpdateEntity, opts ...grpc.CallOption) (*MsgUpdateEntityResponse, error)
	// UpdateEntityVerified defines a method for updating if an entity is verified
	UpdateEntityVerified(ctx context.Context, in *MsgUpdateEntityVerified, opts ...grpc.CallOption) (*MsgUpdateEntityVerifiedResponse, error)
	// Transfers an entity and its nft to the recipient
	TransferEntity(ctx context.Context, in *MsgTransferEntity, opts ...grpc.CallOption) (*MsgTransferEntityResponse, error)
	// Create a module account for an entity,
	CreateEntityAccount(ctx context.Context, in *MsgCreateEntityAccount, opts ...grpc.CallOption) (*MsgCreateEntityAccountResponse, error)
	// Create an authz grant from entity account
	GrantEntityAccountAuthz(ctx context.Context, in *MsgGrantEntityAccountAuthz, opts ...grpc.CallOption) (*MsgGrantEntityAccountAuthzResponse, error)
	// Revoke an authz grant from entity account
	RevokeEntityAccountAuthz(ctx context.Context, in *MsgRevokeEntityAccountAuthz, opts ...grpc.CallOption) (*MsgRevokeEntityAccountAuthzResponse, 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 MsgCreateEntity

type MsgCreateEntity struct {
	// An Entity Type as defined by the implementer
	EntityType string `protobuf:"bytes,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
	// Status of the Entity as defined by the implementer and interpreted by
	// Client applications
	EntityStatus int32 `protobuf:"varint,2,opt,name=entity_status,json=entityStatus,proto3" json:"entity_status,omitempty"`
	// the list of controller DIDs
	Controller     []string                `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"`
	Context        []*types.Context        `protobuf:"bytes,4,rep,name=context,proto3" json:"context,omitempty"`
	Verification   []*types.Verification   `protobuf:"bytes,5,rep,name=verification,proto3" json:"verification,omitempty"`
	Service        []*types.Service        `protobuf:"bytes,6,rep,name=service,proto3" json:"service,omitempty"`
	AccordedRight  []*types.AccordedRight  `protobuf:"bytes,7,rep,name=accorded_right,json=accordedRight,proto3" json:"accorded_right,omitempty"`
	LinkedResource []*types.LinkedResource `protobuf:"bytes,8,rep,name=linked_resource,json=linkedResource,proto3" json:"linked_resource,omitempty"`
	LinkedEntity   []*types.LinkedEntity   `protobuf:"bytes,9,rep,name=linked_entity,json=linkedEntity,proto3" json:"linked_entity,omitempty"`
	// Start Date of the Entity as defined by the implementer and interpreted by
	// Client applications
	StartDate *time.Time `protobuf:"bytes,10,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"`
	// End Date of the Entity as defined by the implementer and interpreted by
	// Client applications
	EndDate *time.Time `protobuf:"bytes,11,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"`
	// Did of the operator through which the Entity was created
	RelayerNode string `protobuf:"bytes,12,opt,name=relayer_node,json=relayerNode,proto3" json:"relayer_node,omitempty"`
	// Content ID or Hash of public Verifiable Credentials associated with the
	// subject
	Credentials  []string                                                           `protobuf:"bytes,13,rep,name=credentials,proto3" json:"credentials,omitempty"`
	OwnerDid     github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 162-byte string literal not displayed */
	OwnerAddress string                                                             `protobuf:"bytes,15,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Data         encoding_json.RawMessage                                           `protobuf:"bytes,16,opt,name=data,proto3,casttype=encoding/json.RawMessage" json:"data,omitempty"`
	AlsoKnownAs  string                                                             `protobuf:"bytes,17,opt,name=alsoKnownAs,proto3" json:"alsoKnownAs,omitempty"`
	LinkedClaim  []*types.LinkedClaim                                               `protobuf:"bytes,18,rep,name=linked_claim,json=linkedClaim,proto3" json:"linked_claim,omitempty"`
}

func NewMsgCreateEntity

func NewMsgCreateEntity(
	entityType string,
	entityStatus int32,
	controller []string,
	context []*iidtypes.Context,
	verification []*iidtypes.Verification,
	service []*iidtypes.Service,
	accordedRight []*iidtypes.AccordedRight,
	linkedResource []*iidtypes.LinkedResource,
	linkedEntity []*iidtypes.LinkedEntity,
	startDate *time.Time,
	endDate *time.Time,
	relayerNode string,
	credentials []string,
	ownerDid iidtypes.DIDFragment,
	ownerAddress string,
	data []byte,
) *MsgCreateEntity

func (*MsgCreateEntity) Descriptor

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

func (*MsgCreateEntity) GetAccordedRight

func (m *MsgCreateEntity) GetAccordedRight() []*types.AccordedRight

func (*MsgCreateEntity) GetAlsoKnownAs

func (m *MsgCreateEntity) GetAlsoKnownAs() string

func (*MsgCreateEntity) GetContext

func (m *MsgCreateEntity) GetContext() []*types.Context

func (*MsgCreateEntity) GetController

func (m *MsgCreateEntity) GetController() []string

func (*MsgCreateEntity) GetCredentials

func (m *MsgCreateEntity) GetCredentials() []string

func (*MsgCreateEntity) GetData

func (*MsgCreateEntity) GetEndDate

func (m *MsgCreateEntity) GetEndDate() *time.Time

func (*MsgCreateEntity) GetEntityStatus

func (m *MsgCreateEntity) GetEntityStatus() int32

func (*MsgCreateEntity) GetEntityType

func (m *MsgCreateEntity) GetEntityType() string

func (MsgCreateEntity) GetIidController

func (msg MsgCreateEntity) GetIidController() iidtypes.DIDFragment

func (*MsgCreateEntity) GetLinkedClaim

func (m *MsgCreateEntity) GetLinkedClaim() []*types.LinkedClaim

func (*MsgCreateEntity) GetLinkedEntity

func (m *MsgCreateEntity) GetLinkedEntity() []*types.LinkedEntity

func (*MsgCreateEntity) GetLinkedResource

func (m *MsgCreateEntity) GetLinkedResource() []*types.LinkedResource

func (*MsgCreateEntity) GetOwnerAddress

func (m *MsgCreateEntity) GetOwnerAddress() string

func (*MsgCreateEntity) GetRelayerNode

func (m *MsgCreateEntity) GetRelayerNode() string

func (*MsgCreateEntity) GetService

func (m *MsgCreateEntity) GetService() []*types.Service

func (*MsgCreateEntity) GetStartDate

func (m *MsgCreateEntity) GetStartDate() *time.Time

func (*MsgCreateEntity) GetVerification

func (m *MsgCreateEntity) GetVerification() []*types.Verification

func (*MsgCreateEntity) Marshal

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

func (*MsgCreateEntity) MarshalTo

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

func (*MsgCreateEntity) MarshalToSizedBuffer

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

func (*MsgCreateEntity) ProtoMessage

func (*MsgCreateEntity) ProtoMessage()

func (*MsgCreateEntity) Reset

func (m *MsgCreateEntity) Reset()

func (MsgCreateEntity) Route

func (msg MsgCreateEntity) Route() string

func (*MsgCreateEntity) Size

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

func (*MsgCreateEntity) String

func (m *MsgCreateEntity) String() string

func (MsgCreateEntity) Type

func (msg MsgCreateEntity) Type() string

func (*MsgCreateEntity) Unmarshal

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

func (MsgCreateEntity) ValidateBasic

func (msg MsgCreateEntity) ValidateBasic() error

-------------------------- CREATE ENTITY --------------------------

func (*MsgCreateEntity) XXX_DiscardUnknown

func (m *MsgCreateEntity) XXX_DiscardUnknown()

func (*MsgCreateEntity) XXX_Marshal

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

func (*MsgCreateEntity) XXX_Merge

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

func (*MsgCreateEntity) XXX_Size

func (m *MsgCreateEntity) XXX_Size() int

func (*MsgCreateEntity) XXX_Unmarshal

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

type MsgCreateEntityAccount

type MsgCreateEntityAccount struct {
	// entity id (did) to create account for
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name of account
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The owner_address used to sign this transaction.
	OwnerAddress string `protobuf:"bytes,3,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
}

create a module account for an entity

func NewMsgCreateEntityAccount

func NewMsgCreateEntityAccount(
	id, name string,
	ownerAddress string,
) *MsgCreateEntityAccount

func (*MsgCreateEntityAccount) Descriptor

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

func (*MsgCreateEntityAccount) GetId

func (m *MsgCreateEntityAccount) GetId() string

func (*MsgCreateEntityAccount) GetName

func (m *MsgCreateEntityAccount) GetName() string

func (*MsgCreateEntityAccount) GetOwnerAddress

func (m *MsgCreateEntityAccount) GetOwnerAddress() string

func (*MsgCreateEntityAccount) Marshal

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

func (*MsgCreateEntityAccount) MarshalTo

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

func (*MsgCreateEntityAccount) MarshalToSizedBuffer

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

func (*MsgCreateEntityAccount) ProtoMessage

func (*MsgCreateEntityAccount) ProtoMessage()

func (*MsgCreateEntityAccount) Reset

func (m *MsgCreateEntityAccount) Reset()

func (MsgCreateEntityAccount) Route

func (msg MsgCreateEntityAccount) Route() string

func (*MsgCreateEntityAccount) Size

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

func (*MsgCreateEntityAccount) String

func (m *MsgCreateEntityAccount) String() string

func (MsgCreateEntityAccount) Type

func (msg MsgCreateEntityAccount) Type() string

func (*MsgCreateEntityAccount) Unmarshal

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

func (MsgCreateEntityAccount) ValidateBasic

func (msg MsgCreateEntityAccount) ValidateBasic() error

-------------------------- CREATE ENTITY ACCOUNT --------------------------

func (*MsgCreateEntityAccount) XXX_DiscardUnknown

func (m *MsgCreateEntityAccount) XXX_DiscardUnknown()

func (*MsgCreateEntityAccount) XXX_Marshal

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

func (*MsgCreateEntityAccount) XXX_Merge

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

func (*MsgCreateEntityAccount) XXX_Size

func (m *MsgCreateEntityAccount) XXX_Size() int

func (*MsgCreateEntityAccount) XXX_Unmarshal

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

type MsgCreateEntityAccountResponse

type MsgCreateEntityAccountResponse struct {
	// account address that was created for specific entity and account name
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

func (*MsgCreateEntityAccountResponse) Descriptor

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

func (*MsgCreateEntityAccountResponse) GetAccount

func (m *MsgCreateEntityAccountResponse) GetAccount() string

func (*MsgCreateEntityAccountResponse) Marshal

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

func (*MsgCreateEntityAccountResponse) MarshalTo

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

func (*MsgCreateEntityAccountResponse) MarshalToSizedBuffer

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

func (*MsgCreateEntityAccountResponse) ProtoMessage

func (*MsgCreateEntityAccountResponse) ProtoMessage()

func (*MsgCreateEntityAccountResponse) Reset

func (m *MsgCreateEntityAccountResponse) Reset()

func (*MsgCreateEntityAccountResponse) Size

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

func (*MsgCreateEntityAccountResponse) String

func (*MsgCreateEntityAccountResponse) Unmarshal

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

func (*MsgCreateEntityAccountResponse) XXX_DiscardUnknown

func (m *MsgCreateEntityAccountResponse) XXX_DiscardUnknown()

func (*MsgCreateEntityAccountResponse) XXX_Marshal

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

func (*MsgCreateEntityAccountResponse) XXX_Merge

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

func (*MsgCreateEntityAccountResponse) XXX_Size

func (m *MsgCreateEntityAccountResponse) XXX_Size() int

func (*MsgCreateEntityAccountResponse) XXX_Unmarshal

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

type MsgCreateEntityResponse

type MsgCreateEntityResponse struct {
	EntityId     string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	EntityType   string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
	EntityStatus int32  `protobuf:"varint,3,opt,name=entity_status,json=entityStatus,proto3" json:"entity_status,omitempty"`
}

func (*MsgCreateEntityResponse) Descriptor

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

func (*MsgCreateEntityResponse) GetEntityId

func (m *MsgCreateEntityResponse) GetEntityId() string

func (*MsgCreateEntityResponse) GetEntityStatus

func (m *MsgCreateEntityResponse) GetEntityStatus() int32

func (*MsgCreateEntityResponse) GetEntityType

func (m *MsgCreateEntityResponse) GetEntityType() string

func (*MsgCreateEntityResponse) Marshal

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

func (*MsgCreateEntityResponse) MarshalTo

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

func (*MsgCreateEntityResponse) MarshalToSizedBuffer

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

func (*MsgCreateEntityResponse) ProtoMessage

func (*MsgCreateEntityResponse) ProtoMessage()

func (*MsgCreateEntityResponse) Reset

func (m *MsgCreateEntityResponse) Reset()

func (*MsgCreateEntityResponse) Size

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

func (*MsgCreateEntityResponse) String

func (m *MsgCreateEntityResponse) String() string

func (*MsgCreateEntityResponse) Unmarshal

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

func (*MsgCreateEntityResponse) XXX_DiscardUnknown

func (m *MsgCreateEntityResponse) XXX_DiscardUnknown()

func (*MsgCreateEntityResponse) XXX_Marshal

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

func (*MsgCreateEntityResponse) XXX_Merge

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

func (*MsgCreateEntityResponse) XXX_Size

func (m *MsgCreateEntityResponse) XXX_Size() int

func (*MsgCreateEntityResponse) XXX_Unmarshal

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

type MsgGrantEntityAccountAuthz

type MsgGrantEntityAccountAuthz struct {
	// entity id (did) which has the account
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name of account
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// the grantee address that will be able to execute the authz authorization
	GranteeAddress string `protobuf:"bytes,3,opt,name=grantee_address,json=granteeAddress,proto3" json:"grantee_address,omitempty"`
	// grant to be Authorized in authz grant
	Grant authz.Grant `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant"`
	// the owner_address used to sign this transaction.
	OwnerAddress string `protobuf:"bytes,5,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
}

Create a authz grant from entity account (as grantor) to recipient in msg as grantee for the specific authorization

func NewMsgGrantEntityAccountAuthz

func NewMsgGrantEntityAccountAuthz(
	id, name, ownerAddress, granteeAddress string,
	grant authz.Grant,
) *MsgGrantEntityAccountAuthz

func (*MsgGrantEntityAccountAuthz) Descriptor

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

func (*MsgGrantEntityAccountAuthz) GetGrant

func (m *MsgGrantEntityAccountAuthz) GetGrant() authz.Grant

func (*MsgGrantEntityAccountAuthz) GetGranteeAddress

func (m *MsgGrantEntityAccountAuthz) GetGranteeAddress() string

func (*MsgGrantEntityAccountAuthz) GetId

func (*MsgGrantEntityAccountAuthz) GetName

func (m *MsgGrantEntityAccountAuthz) GetName() string

func (*MsgGrantEntityAccountAuthz) GetOwnerAddress

func (m *MsgGrantEntityAccountAuthz) GetOwnerAddress() string

func (*MsgGrantEntityAccountAuthz) Marshal

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

func (*MsgGrantEntityAccountAuthz) MarshalTo

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

func (*MsgGrantEntityAccountAuthz) MarshalToSizedBuffer

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

func (*MsgGrantEntityAccountAuthz) ProtoMessage

func (*MsgGrantEntityAccountAuthz) ProtoMessage()

func (*MsgGrantEntityAccountAuthz) Reset

func (m *MsgGrantEntityAccountAuthz) Reset()

func (MsgGrantEntityAccountAuthz) Route

func (msg MsgGrantEntityAccountAuthz) Route() string

func (*MsgGrantEntityAccountAuthz) Size

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

func (*MsgGrantEntityAccountAuthz) String

func (m *MsgGrantEntityAccountAuthz) String() string

func (MsgGrantEntityAccountAuthz) Type

func (*MsgGrantEntityAccountAuthz) Unmarshal

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

func (MsgGrantEntityAccountAuthz) ValidateBasic

func (msg MsgGrantEntityAccountAuthz) ValidateBasic() error

-------------------------- GRANT ENTITY ACCOUNT AUTHZ --------------------------

func (*MsgGrantEntityAccountAuthz) XXX_DiscardUnknown

func (m *MsgGrantEntityAccountAuthz) XXX_DiscardUnknown()

func (*MsgGrantEntityAccountAuthz) XXX_Marshal

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

func (*MsgGrantEntityAccountAuthz) XXX_Merge

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

func (*MsgGrantEntityAccountAuthz) XXX_Size

func (m *MsgGrantEntityAccountAuthz) XXX_Size() int

func (*MsgGrantEntityAccountAuthz) XXX_Unmarshal

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

type MsgGrantEntityAccountAuthzResponse

type MsgGrantEntityAccountAuthzResponse struct {
}

func (*MsgGrantEntityAccountAuthzResponse) Descriptor

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

func (*MsgGrantEntityAccountAuthzResponse) Marshal

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

func (*MsgGrantEntityAccountAuthzResponse) MarshalTo

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

func (*MsgGrantEntityAccountAuthzResponse) MarshalToSizedBuffer

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

func (*MsgGrantEntityAccountAuthzResponse) ProtoMessage

func (*MsgGrantEntityAccountAuthzResponse) ProtoMessage()

func (*MsgGrantEntityAccountAuthzResponse) Reset

func (*MsgGrantEntityAccountAuthzResponse) Size

func (*MsgGrantEntityAccountAuthzResponse) String

func (*MsgGrantEntityAccountAuthzResponse) Unmarshal

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

func (*MsgGrantEntityAccountAuthzResponse) XXX_DiscardUnknown

func (m *MsgGrantEntityAccountAuthzResponse) XXX_DiscardUnknown()

func (*MsgGrantEntityAccountAuthzResponse) XXX_Marshal

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

func (*MsgGrantEntityAccountAuthzResponse) XXX_Merge

func (*MsgGrantEntityAccountAuthzResponse) XXX_Size

func (*MsgGrantEntityAccountAuthzResponse) XXX_Unmarshal

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

type MsgRevokeEntityAccountAuthz

type MsgRevokeEntityAccountAuthz struct {
	// entity id (did) which has the account
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name of account
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// the grantee address for which the authz grant will be revoked
	GranteeAddress string `protobuf:"bytes,3,opt,name=grantee_address,json=granteeAddress,proto3" json:"grantee_address,omitempty"`
	// the msg type url of the grant to be revoked for the specific grantee
	MsgTypeUrl string `protobuf:"bytes,4,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
	// the owner_address used to sign this transaction.
	OwnerAddress string `protobuf:"bytes,5,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
}

Revoke an existing authz grant from entity account (as grantor) to recipient

func NewMsgRevokeEntityAccountAuthz

func NewMsgRevokeEntityAccountAuthz(
	id, name, ownerAddress, granteeAddress, msgTypeUrl string,
) *MsgRevokeEntityAccountAuthz

func (*MsgRevokeEntityAccountAuthz) Descriptor

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

func (*MsgRevokeEntityAccountAuthz) GetGranteeAddress

func (m *MsgRevokeEntityAccountAuthz) GetGranteeAddress() string

func (*MsgRevokeEntityAccountAuthz) GetId

func (*MsgRevokeEntityAccountAuthz) GetMsgTypeUrl

func (m *MsgRevokeEntityAccountAuthz) GetMsgTypeUrl() string

func (*MsgRevokeEntityAccountAuthz) GetName

func (m *MsgRevokeEntityAccountAuthz) GetName() string

func (*MsgRevokeEntityAccountAuthz) GetOwnerAddress

func (m *MsgRevokeEntityAccountAuthz) GetOwnerAddress() string

func (*MsgRevokeEntityAccountAuthz) Marshal

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

func (*MsgRevokeEntityAccountAuthz) MarshalTo

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

func (*MsgRevokeEntityAccountAuthz) MarshalToSizedBuffer

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

func (*MsgRevokeEntityAccountAuthz) ProtoMessage

func (*MsgRevokeEntityAccountAuthz) ProtoMessage()

func (*MsgRevokeEntityAccountAuthz) Reset

func (m *MsgRevokeEntityAccountAuthz) Reset()

func (MsgRevokeEntityAccountAuthz) Route

func (msg MsgRevokeEntityAccountAuthz) Route() string

func (*MsgRevokeEntityAccountAuthz) Size

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

func (*MsgRevokeEntityAccountAuthz) String

func (m *MsgRevokeEntityAccountAuthz) String() string

func (MsgRevokeEntityAccountAuthz) Type

func (*MsgRevokeEntityAccountAuthz) Unmarshal

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

func (MsgRevokeEntityAccountAuthz) ValidateBasic

func (msg MsgRevokeEntityAccountAuthz) ValidateBasic() error

-------------------------- REVOKE ENTITY ACCOUNT AUTHZ --------------------------

func (*MsgRevokeEntityAccountAuthz) XXX_DiscardUnknown

func (m *MsgRevokeEntityAccountAuthz) XXX_DiscardUnknown()

func (*MsgRevokeEntityAccountAuthz) XXX_Marshal

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

func (*MsgRevokeEntityAccountAuthz) XXX_Merge

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

func (*MsgRevokeEntityAccountAuthz) XXX_Size

func (m *MsgRevokeEntityAccountAuthz) XXX_Size() int

func (*MsgRevokeEntityAccountAuthz) XXX_Unmarshal

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

type MsgRevokeEntityAccountAuthzResponse

type MsgRevokeEntityAccountAuthzResponse struct {
}

func (*MsgRevokeEntityAccountAuthzResponse) Descriptor

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

func (*MsgRevokeEntityAccountAuthzResponse) Marshal

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

func (*MsgRevokeEntityAccountAuthzResponse) MarshalTo

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

func (*MsgRevokeEntityAccountAuthzResponse) MarshalToSizedBuffer

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

func (*MsgRevokeEntityAccountAuthzResponse) ProtoMessage

func (*MsgRevokeEntityAccountAuthzResponse) ProtoMessage()

func (*MsgRevokeEntityAccountAuthzResponse) Reset

func (*MsgRevokeEntityAccountAuthzResponse) Size

func (*MsgRevokeEntityAccountAuthzResponse) String

func (*MsgRevokeEntityAccountAuthzResponse) Unmarshal

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

func (*MsgRevokeEntityAccountAuthzResponse) XXX_DiscardUnknown

func (m *MsgRevokeEntityAccountAuthzResponse) XXX_DiscardUnknown()

func (*MsgRevokeEntityAccountAuthzResponse) XXX_Marshal

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

func (*MsgRevokeEntityAccountAuthzResponse) XXX_Merge

func (*MsgRevokeEntityAccountAuthzResponse) XXX_Size

func (*MsgRevokeEntityAccountAuthzResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// CreateEntity defines a method for creating a entity.
	CreateEntity(context.Context, *MsgCreateEntity) (*MsgCreateEntityResponse, error)
	// UpdateEntity defines a method for updating a entity
	UpdateEntity(context.Context, *MsgUpdateEntity) (*MsgUpdateEntityResponse, error)
	// UpdateEntityVerified defines a method for updating if an entity is verified
	UpdateEntityVerified(context.Context, *MsgUpdateEntityVerified) (*MsgUpdateEntityVerifiedResponse, error)
	// Transfers an entity and its nft to the recipient
	TransferEntity(context.Context, *MsgTransferEntity) (*MsgTransferEntityResponse, error)
	// Create a module account for an entity,
	CreateEntityAccount(context.Context, *MsgCreateEntityAccount) (*MsgCreateEntityAccountResponse, error)
	// Create an authz grant from entity account
	GrantEntityAccountAuthz(context.Context, *MsgGrantEntityAccountAuthz) (*MsgGrantEntityAccountAuthzResponse, error)
	// Revoke an authz grant from entity account
	RevokeEntityAccountAuthz(context.Context, *MsgRevokeEntityAccountAuthz) (*MsgRevokeEntityAccountAuthzResponse, error)
}

MsgServer is the server API for Msg service.

type MsgTransferEntity

type MsgTransferEntity struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The owner_did used to sign this transaction.
	OwnerDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 161-byte string literal not displayed */
	// The owner_address used to sign this transaction.
	OwnerAddress string                                                             `protobuf:"bytes,3,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	RecipientDid github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 173-byte string literal not displayed */
}

func NewMsgTransferEntity

func NewMsgTransferEntity(
	id string,
	ownerDid iidtypes.DIDFragment,
	ownerAddress string,
	recipientDid iidtypes.DIDFragment,
) *MsgTransferEntity

func (*MsgTransferEntity) Descriptor

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

func (*MsgTransferEntity) GetId

func (m *MsgTransferEntity) GetId() string

func (MsgTransferEntity) GetIidController

func (msg MsgTransferEntity) GetIidController() iidtypes.DIDFragment

func (*MsgTransferEntity) GetOwnerAddress

func (m *MsgTransferEntity) GetOwnerAddress() string

func (*MsgTransferEntity) Marshal

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

func (*MsgTransferEntity) MarshalTo

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

func (*MsgTransferEntity) MarshalToSizedBuffer

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

func (*MsgTransferEntity) ProtoMessage

func (*MsgTransferEntity) ProtoMessage()

func (*MsgTransferEntity) Reset

func (m *MsgTransferEntity) Reset()

func (MsgTransferEntity) Route

func (msg MsgTransferEntity) Route() string

func (*MsgTransferEntity) Size

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

func (*MsgTransferEntity) String

func (m *MsgTransferEntity) String() string

func (MsgTransferEntity) Type

func (msg MsgTransferEntity) Type() string

func (*MsgTransferEntity) Unmarshal

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

func (MsgTransferEntity) ValidateBasic

func (msg MsgTransferEntity) ValidateBasic() error

-------------------------- TRANSFER ENTITY --------------------------

func (*MsgTransferEntity) XXX_DiscardUnknown

func (m *MsgTransferEntity) XXX_DiscardUnknown()

func (*MsgTransferEntity) XXX_Marshal

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

func (*MsgTransferEntity) XXX_Merge

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

func (*MsgTransferEntity) XXX_Size

func (m *MsgTransferEntity) XXX_Size() int

func (*MsgTransferEntity) XXX_Unmarshal

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

type MsgTransferEntityResponse

type MsgTransferEntityResponse struct {
}

func (*MsgTransferEntityResponse) Descriptor

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

func (*MsgTransferEntityResponse) Marshal

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

func (*MsgTransferEntityResponse) MarshalTo

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

func (*MsgTransferEntityResponse) MarshalToSizedBuffer

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

func (*MsgTransferEntityResponse) ProtoMessage

func (*MsgTransferEntityResponse) ProtoMessage()

func (*MsgTransferEntityResponse) Reset

func (m *MsgTransferEntityResponse) Reset()

func (*MsgTransferEntityResponse) Size

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

func (*MsgTransferEntityResponse) String

func (m *MsgTransferEntityResponse) String() string

func (*MsgTransferEntityResponse) Unmarshal

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

func (*MsgTransferEntityResponse) XXX_DiscardUnknown

func (m *MsgTransferEntityResponse) XXX_DiscardUnknown()

func (*MsgTransferEntityResponse) XXX_Marshal

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

func (*MsgTransferEntityResponse) XXX_Merge

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

func (*MsgTransferEntityResponse) XXX_Size

func (m *MsgTransferEntityResponse) XXX_Size() int

func (*MsgTransferEntityResponse) XXX_Unmarshal

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

type MsgUpdateEntity

type MsgUpdateEntity struct {
	// Id of entity to be updated
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Status of the Entity as defined by the implementer and interpreted by
	// Client applications
	EntityStatus int32 `protobuf:"varint,2,opt,name=entity_status,json=entityStatus,proto3" json:"entity_status,omitempty"`
	// Start Date of the Entity as defined by the implementer and interpreted by
	// Client applications
	StartDate *time.Time `protobuf:"bytes,3,opt,name=start_date,json=startDate,proto3,stdtime" json:"start_date,omitempty"`
	// End Date of the Entity as defined by the implementer and interpreted by
	// Client applications
	EndDate *time.Time `protobuf:"bytes,4,opt,name=end_date,json=endDate,proto3,stdtime" json:"end_date,omitempty"`
	// Content ID or Hash of public Verifiable Credentials associated with the
	// subject
	Credentials       []string                                                           `protobuf:"bytes,5,rep,name=credentials,proto3" json:"credentials,omitempty"`
	ControllerDid     github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 176-byte string literal not displayed */
	ControllerAddress string                                                             `protobuf:"bytes,7,opt,name=controller_address,json=controllerAddress,proto3" json:"controller_address,omitempty"`
}

Updates the entity with all the fields, so if field empty will be updated with default go type, aka never null

func NewMsgUpdateEntity

func NewMsgUpdateEntity(
	id string,
	entityStatus int32,
	startDate *time.Time,
	endDate *time.Time,
	credentials []string,
	controllerDid iidtypes.DIDFragment,
	controllerAddress string,
) *MsgUpdateEntity

func (*MsgUpdateEntity) Descriptor

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

func (*MsgUpdateEntity) GetControllerAddress

func (m *MsgUpdateEntity) GetControllerAddress() string

func (*MsgUpdateEntity) GetCredentials

func (m *MsgUpdateEntity) GetCredentials() []string

func (*MsgUpdateEntity) GetEndDate

func (m *MsgUpdateEntity) GetEndDate() *time.Time

func (*MsgUpdateEntity) GetEntityStatus

func (m *MsgUpdateEntity) GetEntityStatus() int32

func (*MsgUpdateEntity) GetId

func (m *MsgUpdateEntity) GetId() string

func (MsgUpdateEntity) GetIidController

func (msg MsgUpdateEntity) GetIidController() iidtypes.DIDFragment

func (*MsgUpdateEntity) GetStartDate

func (m *MsgUpdateEntity) GetStartDate() *time.Time

func (*MsgUpdateEntity) Marshal

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

func (*MsgUpdateEntity) MarshalTo

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

func (*MsgUpdateEntity) MarshalToSizedBuffer

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

func (*MsgUpdateEntity) ProtoMessage

func (*MsgUpdateEntity) ProtoMessage()

func (*MsgUpdateEntity) Reset

func (m *MsgUpdateEntity) Reset()

func (MsgUpdateEntity) Route

func (msg MsgUpdateEntity) Route() string

func (*MsgUpdateEntity) Size

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

func (*MsgUpdateEntity) String

func (m *MsgUpdateEntity) String() string

func (MsgUpdateEntity) Type

func (msg MsgUpdateEntity) Type() string

func (*MsgUpdateEntity) Unmarshal

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

func (MsgUpdateEntity) ValidateBasic

func (msg MsgUpdateEntity) ValidateBasic() error

-------------------------- UPDATE ENTITY --------------------------

func (*MsgUpdateEntity) XXX_DiscardUnknown

func (m *MsgUpdateEntity) XXX_DiscardUnknown()

func (*MsgUpdateEntity) XXX_Marshal

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

func (*MsgUpdateEntity) XXX_Merge

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

func (*MsgUpdateEntity) XXX_Size

func (m *MsgUpdateEntity) XXX_Size() int

func (*MsgUpdateEntity) XXX_Unmarshal

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

type MsgUpdateEntityResponse

type MsgUpdateEntityResponse struct {
}

func (*MsgUpdateEntityResponse) Descriptor

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

func (*MsgUpdateEntityResponse) Marshal

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

func (*MsgUpdateEntityResponse) MarshalTo

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

func (*MsgUpdateEntityResponse) MarshalToSizedBuffer

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

func (*MsgUpdateEntityResponse) ProtoMessage

func (*MsgUpdateEntityResponse) ProtoMessage()

func (*MsgUpdateEntityResponse) Reset

func (m *MsgUpdateEntityResponse) Reset()

func (*MsgUpdateEntityResponse) Size

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

func (*MsgUpdateEntityResponse) String

func (m *MsgUpdateEntityResponse) String() string

func (*MsgUpdateEntityResponse) Unmarshal

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

func (*MsgUpdateEntityResponse) XXX_DiscardUnknown

func (m *MsgUpdateEntityResponse) XXX_DiscardUnknown()

func (*MsgUpdateEntityResponse) XXX_Marshal

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

func (*MsgUpdateEntityResponse) XXX_Merge

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

func (*MsgUpdateEntityResponse) XXX_Size

func (m *MsgUpdateEntityResponse) XXX_Size() int

func (*MsgUpdateEntityResponse) XXX_Unmarshal

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

type MsgUpdateEntityVerified

type MsgUpdateEntityVerified struct {
	// Id of entity to be updated
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Whether entity is verified or not based on credentials
	EntityVerified     bool                                                               `protobuf:"varint,2,opt,name=entity_verified,json=entityVerified,proto3" json:"entity_verified,omitempty"`
	RelayerNodeDid     github_com_ixofoundation_ixo_blockchain_v4_x_iid_types.DIDFragment `` /* 181-byte string literal not displayed */
	RelayerNodeAddress string                                                             `protobuf:"bytes,4,opt,name=relayer_node_address,json=relayerNodeAddress,proto3" json:"relayer_node_address,omitempty"`
}

Only relayer nodes can update entity field 'entityVerified'

func NewMsgUpdateEntityVerified

func NewMsgUpdateEntityVerified(
	id string,
	entityVerified bool,
	relayerNodeDid iidtypes.DIDFragment,
	relayerNodeAddress string,
) *MsgUpdateEntityVerified

func (*MsgUpdateEntityVerified) Descriptor

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

func (*MsgUpdateEntityVerified) GetEntityVerified

func (m *MsgUpdateEntityVerified) GetEntityVerified() bool

func (*MsgUpdateEntityVerified) GetId

func (m *MsgUpdateEntityVerified) GetId() string

func (MsgUpdateEntityVerified) GetIidController

func (msg MsgUpdateEntityVerified) GetIidController() iidtypes.DIDFragment

func (*MsgUpdateEntityVerified) GetRelayerNodeAddress

func (m *MsgUpdateEntityVerified) GetRelayerNodeAddress() string

func (*MsgUpdateEntityVerified) Marshal

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

func (*MsgUpdateEntityVerified) MarshalTo

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

func (*MsgUpdateEntityVerified) MarshalToSizedBuffer

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

func (*MsgUpdateEntityVerified) ProtoMessage

func (*MsgUpdateEntityVerified) ProtoMessage()

func (*MsgUpdateEntityVerified) Reset

func (m *MsgUpdateEntityVerified) Reset()

func (MsgUpdateEntityVerified) Route

func (msg MsgUpdateEntityVerified) Route() string

func (*MsgUpdateEntityVerified) Size

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

func (*MsgUpdateEntityVerified) String

func (m *MsgUpdateEntityVerified) String() string

func (MsgUpdateEntityVerified) Type

func (msg MsgUpdateEntityVerified) Type() string

func (*MsgUpdateEntityVerified) Unmarshal

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

func (MsgUpdateEntityVerified) ValidateBasic

func (msg MsgUpdateEntityVerified) ValidateBasic() error

-------------------------- UPDATE ENTITY VERIFIED --------------------------

func (*MsgUpdateEntityVerified) XXX_DiscardUnknown

func (m *MsgUpdateEntityVerified) XXX_DiscardUnknown()

func (*MsgUpdateEntityVerified) XXX_Marshal

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

func (*MsgUpdateEntityVerified) XXX_Merge

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

func (*MsgUpdateEntityVerified) XXX_Size

func (m *MsgUpdateEntityVerified) XXX_Size() int

func (*MsgUpdateEntityVerified) XXX_Unmarshal

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

type MsgUpdateEntityVerifiedResponse

type MsgUpdateEntityVerifiedResponse struct {
}

func (*MsgUpdateEntityVerifiedResponse) Descriptor

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

func (*MsgUpdateEntityVerifiedResponse) Marshal

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

func (*MsgUpdateEntityVerifiedResponse) MarshalTo

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

func (*MsgUpdateEntityVerifiedResponse) MarshalToSizedBuffer

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

func (*MsgUpdateEntityVerifiedResponse) ProtoMessage

func (*MsgUpdateEntityVerifiedResponse) ProtoMessage()

func (*MsgUpdateEntityVerifiedResponse) Reset

func (*MsgUpdateEntityVerifiedResponse) Size

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

func (*MsgUpdateEntityVerifiedResponse) String

func (*MsgUpdateEntityVerifiedResponse) Unmarshal

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

func (*MsgUpdateEntityVerifiedResponse) XXX_DiscardUnknown

func (m *MsgUpdateEntityVerifiedResponse) XXX_DiscardUnknown()

func (*MsgUpdateEntityVerifiedResponse) XXX_Marshal

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

func (*MsgUpdateEntityVerifiedResponse) XXX_Merge

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

func (*MsgUpdateEntityVerifiedResponse) XXX_Size

func (m *MsgUpdateEntityVerifiedResponse) XXX_Size() int

func (*MsgUpdateEntityVerifiedResponse) XXX_Unmarshal

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

type Params

type Params struct {
	NftContractAddress string `protobuf:"bytes,1,opt,name=nftContractAddress,proto3" json:"nftContractAddress,omitempty"`
	NftContractMinter  string `protobuf:"bytes,2,opt,name=nftContractMinter,proto3" json:"nftContractMinter,omitempty"`
	CreateSequence     uint64 `protobuf:"varint,3,opt,name=createSequence,proto3" json:"createSequence,omitempty"`
}

func DefaultParams

func DefaultParams() Params

func NewParams

func NewParams(nftContractAddress string, nftContractMinter string, createSequence uint64) Params

func (*Params) Descriptor

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

func (*Params) GetCreateSequence

func (m *Params) GetCreateSequence() uint64

func (*Params) GetNftContractAddress

func (m *Params) GetNftContractAddress() string

func (*Params) GetNftContractMinter

func (m *Params) GetNftContractMinter() string

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() paramstypes.ParamSetPairs

Implements params.ParamSet

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 validates the 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 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 QueryEntityIidDocumentRequest

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

func (*QueryEntityIidDocumentRequest) Descriptor

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

func (*QueryEntityIidDocumentRequest) GetId

func (*QueryEntityIidDocumentRequest) Marshal

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

func (*QueryEntityIidDocumentRequest) MarshalTo

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

func (*QueryEntityIidDocumentRequest) MarshalToSizedBuffer

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

func (*QueryEntityIidDocumentRequest) ProtoMessage

func (*QueryEntityIidDocumentRequest) ProtoMessage()

func (*QueryEntityIidDocumentRequest) Reset

func (m *QueryEntityIidDocumentRequest) Reset()

func (*QueryEntityIidDocumentRequest) Size

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

func (*QueryEntityIidDocumentRequest) String

func (*QueryEntityIidDocumentRequest) Unmarshal

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

func (*QueryEntityIidDocumentRequest) XXX_DiscardUnknown

func (m *QueryEntityIidDocumentRequest) XXX_DiscardUnknown()

func (*QueryEntityIidDocumentRequest) XXX_Marshal

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

func (*QueryEntityIidDocumentRequest) XXX_Merge

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

func (*QueryEntityIidDocumentRequest) XXX_Size

func (m *QueryEntityIidDocumentRequest) XXX_Size() int

func (*QueryEntityIidDocumentRequest) XXX_Unmarshal

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

type QueryEntityIidDocumentResponse

type QueryEntityIidDocumentResponse struct {
	IidDocument types.IidDocument `protobuf:"bytes,1,opt,name=iidDocument,proto3" json:"iidDocument"`
}

func (*QueryEntityIidDocumentResponse) Descriptor

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

func (*QueryEntityIidDocumentResponse) GetIidDocument

func (m *QueryEntityIidDocumentResponse) GetIidDocument() types.IidDocument

func (*QueryEntityIidDocumentResponse) Marshal

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

func (*QueryEntityIidDocumentResponse) MarshalTo

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

func (*QueryEntityIidDocumentResponse) MarshalToSizedBuffer

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

func (*QueryEntityIidDocumentResponse) ProtoMessage

func (*QueryEntityIidDocumentResponse) ProtoMessage()

func (*QueryEntityIidDocumentResponse) Reset

func (m *QueryEntityIidDocumentResponse) Reset()

func (*QueryEntityIidDocumentResponse) Size

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

func (*QueryEntityIidDocumentResponse) String

func (*QueryEntityIidDocumentResponse) Unmarshal

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

func (*QueryEntityIidDocumentResponse) XXX_DiscardUnknown

func (m *QueryEntityIidDocumentResponse) XXX_DiscardUnknown()

func (*QueryEntityIidDocumentResponse) XXX_Marshal

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

func (*QueryEntityIidDocumentResponse) XXX_Merge

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

func (*QueryEntityIidDocumentResponse) XXX_Size

func (m *QueryEntityIidDocumentResponse) XXX_Size() int

func (*QueryEntityIidDocumentResponse) XXX_Unmarshal

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

type QueryEntityListRequest

type QueryEntityListRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryEntityListRequest) Descriptor

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

func (*QueryEntityListRequest) GetPagination

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

func (*QueryEntityListRequest) Marshal

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

func (*QueryEntityListRequest) MarshalTo

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

func (*QueryEntityListRequest) MarshalToSizedBuffer

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

func (*QueryEntityListRequest) ProtoMessage

func (*QueryEntityListRequest) ProtoMessage()

func (*QueryEntityListRequest) Reset

func (m *QueryEntityListRequest) Reset()

func (*QueryEntityListRequest) Size

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

func (*QueryEntityListRequest) String

func (m *QueryEntityListRequest) String() string

func (*QueryEntityListRequest) Unmarshal

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

func (*QueryEntityListRequest) XXX_DiscardUnknown

func (m *QueryEntityListRequest) XXX_DiscardUnknown()

func (*QueryEntityListRequest) XXX_Marshal

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

func (*QueryEntityListRequest) XXX_Merge

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

func (*QueryEntityListRequest) XXX_Size

func (m *QueryEntityListRequest) XXX_Size() int

func (*QueryEntityListRequest) XXX_Unmarshal

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

type QueryEntityListResponse

type QueryEntityListResponse struct {
	Entities   []Entity            `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryEntityListResponse) Descriptor

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

func (*QueryEntityListResponse) GetEntities

func (m *QueryEntityListResponse) GetEntities() []Entity

func (*QueryEntityListResponse) GetPagination

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

func (*QueryEntityListResponse) Marshal

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

func (*QueryEntityListResponse) MarshalTo

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

func (*QueryEntityListResponse) MarshalToSizedBuffer

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

func (*QueryEntityListResponse) ProtoMessage

func (*QueryEntityListResponse) ProtoMessage()

func (*QueryEntityListResponse) Reset

func (m *QueryEntityListResponse) Reset()

func (*QueryEntityListResponse) Size

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

func (*QueryEntityListResponse) String

func (m *QueryEntityListResponse) String() string

func (*QueryEntityListResponse) Unmarshal

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

func (*QueryEntityListResponse) XXX_DiscardUnknown

func (m *QueryEntityListResponse) XXX_DiscardUnknown()

func (*QueryEntityListResponse) XXX_Marshal

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

func (*QueryEntityListResponse) XXX_Merge

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

func (*QueryEntityListResponse) XXX_Size

func (m *QueryEntityListResponse) XXX_Size() int

func (*QueryEntityListResponse) XXX_Unmarshal

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

type QueryEntityMetadataRequest

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

func (*QueryEntityMetadataRequest) Descriptor

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

func (*QueryEntityMetadataRequest) GetId

func (*QueryEntityMetadataRequest) Marshal

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

func (*QueryEntityMetadataRequest) MarshalTo

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

func (*QueryEntityMetadataRequest) MarshalToSizedBuffer

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

func (*QueryEntityMetadataRequest) ProtoMessage

func (*QueryEntityMetadataRequest) ProtoMessage()

func (*QueryEntityMetadataRequest) Reset

func (m *QueryEntityMetadataRequest) Reset()

func (*QueryEntityMetadataRequest) Size

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

func (*QueryEntityMetadataRequest) String

func (m *QueryEntityMetadataRequest) String() string

func (*QueryEntityMetadataRequest) Unmarshal

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

func (*QueryEntityMetadataRequest) XXX_DiscardUnknown

func (m *QueryEntityMetadataRequest) XXX_DiscardUnknown()

func (*QueryEntityMetadataRequest) XXX_Marshal

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

func (*QueryEntityMetadataRequest) XXX_Merge

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

func (*QueryEntityMetadataRequest) XXX_Size

func (m *QueryEntityMetadataRequest) XXX_Size() int

func (*QueryEntityMetadataRequest) XXX_Unmarshal

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

type QueryEntityMetadataResponse

type QueryEntityMetadataResponse struct {
	Entity Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity"`
}

func (*QueryEntityMetadataResponse) Descriptor

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

func (*QueryEntityMetadataResponse) GetEntity

func (m *QueryEntityMetadataResponse) GetEntity() Entity

func (*QueryEntityMetadataResponse) Marshal

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

func (*QueryEntityMetadataResponse) MarshalTo

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

func (*QueryEntityMetadataResponse) MarshalToSizedBuffer

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

func (*QueryEntityMetadataResponse) ProtoMessage

func (*QueryEntityMetadataResponse) ProtoMessage()

func (*QueryEntityMetadataResponse) Reset

func (m *QueryEntityMetadataResponse) Reset()

func (*QueryEntityMetadataResponse) Size

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

func (*QueryEntityMetadataResponse) String

func (m *QueryEntityMetadataResponse) String() string

func (*QueryEntityMetadataResponse) Unmarshal

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

func (*QueryEntityMetadataResponse) XXX_DiscardUnknown

func (m *QueryEntityMetadataResponse) XXX_DiscardUnknown()

func (*QueryEntityMetadataResponse) XXX_Marshal

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

func (*QueryEntityMetadataResponse) XXX_Merge

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

func (*QueryEntityMetadataResponse) XXX_Size

func (m *QueryEntityMetadataResponse) XXX_Size() int

func (*QueryEntityMetadataResponse) XXX_Unmarshal

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

type QueryEntityRequest

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

func (*QueryEntityRequest) Descriptor

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

func (*QueryEntityRequest) GetId

func (m *QueryEntityRequest) GetId() string

func (*QueryEntityRequest) Marshal

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

func (*QueryEntityRequest) MarshalTo

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

func (*QueryEntityRequest) MarshalToSizedBuffer

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

func (*QueryEntityRequest) ProtoMessage

func (*QueryEntityRequest) ProtoMessage()

func (*QueryEntityRequest) Reset

func (m *QueryEntityRequest) Reset()

func (*QueryEntityRequest) Size

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

func (*QueryEntityRequest) String

func (m *QueryEntityRequest) String() string

func (*QueryEntityRequest) Unmarshal

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

func (*QueryEntityRequest) XXX_DiscardUnknown

func (m *QueryEntityRequest) XXX_DiscardUnknown()

func (*QueryEntityRequest) XXX_Marshal

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

func (*QueryEntityRequest) XXX_Merge

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

func (*QueryEntityRequest) XXX_Size

func (m *QueryEntityRequest) XXX_Size() int

func (*QueryEntityRequest) XXX_Unmarshal

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

type QueryEntityResponse

type QueryEntityResponse struct {
	Entity      Entity            `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity"`
	IidDocument types.IidDocument `protobuf:"bytes,2,opt,name=iidDocument,proto3" json:"iidDocument"`
}

func (*QueryEntityResponse) Descriptor

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

func (*QueryEntityResponse) GetEntity

func (m *QueryEntityResponse) GetEntity() Entity

func (*QueryEntityResponse) GetIidDocument

func (m *QueryEntityResponse) GetIidDocument() types.IidDocument

func (*QueryEntityResponse) Marshal

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

func (*QueryEntityResponse) MarshalTo

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

func (*QueryEntityResponse) MarshalToSizedBuffer

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

func (*QueryEntityResponse) ProtoMessage

func (*QueryEntityResponse) ProtoMessage()

func (*QueryEntityResponse) Reset

func (m *QueryEntityResponse) Reset()

func (*QueryEntityResponse) Size

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

func (*QueryEntityResponse) String

func (m *QueryEntityResponse) String() string

func (*QueryEntityResponse) Unmarshal

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

func (*QueryEntityResponse) XXX_DiscardUnknown

func (m *QueryEntityResponse) XXX_DiscardUnknown()

func (*QueryEntityResponse) XXX_Marshal

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

func (*QueryEntityResponse) XXX_Merge

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

func (*QueryEntityResponse) XXX_Size

func (m *QueryEntityResponse) XXX_Size() int

func (*QueryEntityResponse) XXX_Unmarshal

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

type QueryEntityVerifiedRequest

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

func (*QueryEntityVerifiedRequest) Descriptor

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

func (*QueryEntityVerifiedRequest) GetId

func (*QueryEntityVerifiedRequest) Marshal

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

func (*QueryEntityVerifiedRequest) MarshalTo

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

func (*QueryEntityVerifiedRequest) MarshalToSizedBuffer

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

func (*QueryEntityVerifiedRequest) ProtoMessage

func (*QueryEntityVerifiedRequest) ProtoMessage()

func (*QueryEntityVerifiedRequest) Reset

func (m *QueryEntityVerifiedRequest) Reset()

func (*QueryEntityVerifiedRequest) Size

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

func (*QueryEntityVerifiedRequest) String

func (m *QueryEntityVerifiedRequest) String() string

func (*QueryEntityVerifiedRequest) Unmarshal

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

func (*QueryEntityVerifiedRequest) XXX_DiscardUnknown

func (m *QueryEntityVerifiedRequest) XXX_DiscardUnknown()

func (*QueryEntityVerifiedRequest) XXX_Marshal

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

func (*QueryEntityVerifiedRequest) XXX_Merge

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

func (*QueryEntityVerifiedRequest) XXX_Size

func (m *QueryEntityVerifiedRequest) XXX_Size() int

func (*QueryEntityVerifiedRequest) XXX_Unmarshal

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

type QueryEntityVerifiedResponse

type QueryEntityVerifiedResponse struct {
	EntityVerified bool `protobuf:"varint,1,opt,name=entity_verified,json=entityVerified,proto3" json:"entity_verified,omitempty"`
}

func (*QueryEntityVerifiedResponse) Descriptor

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

func (*QueryEntityVerifiedResponse) GetEntityVerified

func (m *QueryEntityVerifiedResponse) GetEntityVerified() bool

func (*QueryEntityVerifiedResponse) Marshal

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

func (*QueryEntityVerifiedResponse) MarshalTo

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

func (*QueryEntityVerifiedResponse) MarshalToSizedBuffer

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

func (*QueryEntityVerifiedResponse) ProtoMessage

func (*QueryEntityVerifiedResponse) ProtoMessage()

func (*QueryEntityVerifiedResponse) Reset

func (m *QueryEntityVerifiedResponse) Reset()

func (*QueryEntityVerifiedResponse) Size

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

func (*QueryEntityVerifiedResponse) String

func (m *QueryEntityVerifiedResponse) String() string

func (*QueryEntityVerifiedResponse) Unmarshal

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

func (*QueryEntityVerifiedResponse) XXX_DiscardUnknown

func (m *QueryEntityVerifiedResponse) XXX_DiscardUnknown()

func (*QueryEntityVerifiedResponse) XXX_Marshal

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

func (*QueryEntityVerifiedResponse) XXX_Merge

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

func (*QueryEntityVerifiedResponse) XXX_Size

func (m *QueryEntityVerifiedResponse) XXX_Size() int

func (*QueryEntityVerifiedResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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 holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"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 UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateEntity

func (*UnimplementedMsgServer) CreateEntityAccount

func (*UnimplementedMsgServer) GrantEntityAccountAuthz

func (*UnimplementedMsgServer) RevokeEntityAccountAuthz

func (*UnimplementedMsgServer) TransferEntity

func (*UnimplementedMsgServer) UpdateEntity

func (*UnimplementedMsgServer) UpdateEntityVerified

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Entity

func (*UnimplementedQueryServer) EntityIidDocument

func (*UnimplementedQueryServer) EntityList

func (*UnimplementedQueryServer) EntityMetaData

func (*UnimplementedQueryServer) EntityVerified

func (*UnimplementedQueryServer) Params

type WasmKeeper

type WasmKeeper interface {
	Instantiate(
		ctx sdk.Context,
		codeID uint64,
		creator, admin sdk.AccAddress,
		initMsg []byte,
		label string,
		deposit sdk.Coins,
	) (sdk.AccAddress, []byte, error)
	Execute(ctx sdk.Context, contractAddress sdk.AccAddress, caller sdk.AccAddress, msg []byte, coins sdk.Coins) ([]byte, error)
}

type WasmViewKeeper

type WasmViewKeeper interface {
	QuerySmart(ctx context.Context, contractAddress sdk.AccAddress, queryMsg []byte) ([]byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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