types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: MIT Imports: 32 Imported by: 11

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// OperationKeyPrefix is the prefix to retrieve all Operation
	OperationKeyPrefix               = "Operation/value/"
	OperationConfirmationIdKeyPrefix = "Operation/ConfirmationId/value/"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "rarimocore"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_rarimocore"

	// ParamsKey defines the store key for module params entry
	ParamsKey = "params"
)
View Source
const (
	TypeMsgStake   = "stake"
	TypeMsgUnstake = "unstake"
)
View Source
const (
	ProposalTypeUnfreezeSignerParty = "rarimocore/UnfreezeSignerParty"
	ProposalTypeReshareKeys         = "rarimocore/ReshareKeys"
	ProposalTypeSlash               = "rarimocore/SlashProposal"
	ProposalTypeDropParties         = "rarimocore/DropPartiesProposal"
)
View Source
const (
	EventTypeNewOperation       = "new_operation"      // emitted only from transactions
	EventTypeNewConfirmation    = "new_confirmation"   // emitted only from transactions
	EventTypeOperationSigned    = "operation_signed"   // emitted only from transactions
	EventTypeParamsUpdated      = "params_updated"     // emitted only from transactions
	EventTypeOperationApproved  = "operation_approved" // emitted only from transactions
	EventTypeOperationRejected  = "operation_rejected" // emitted only from transactions
	EventTypeVoted              = "voted"              // emitted only from transactions
	EventTypeStaked             = "staked"
	EventTypeUnstaked           = "unstaked"
	EventTypePartyFrozen        = "party_frozen"
	EventTypeNewViolationReport = "new_violation_report"

	AttributeKeyParamsUpdateType = "params_update_type"
	AttributeKeyOperationId      = "operation_id"
	AttributeKeyOperationType    = "operation_type"
	AttributeKeyConfirmationId   = "confirmation_id"
	AttributeKeyVotingChoice     = "voting_choice"
	AttributeKeyPartyAccount     = "party_account"
	AttributeKeyViolationType    = "violation_type"
	AttributeKeySessionId        = "session_id"
)
View Source
const (
	// ConfirmationKeyPrefix is the prefix to retrieve all Confirmation
	ConfirmationKeyPrefix = "Confirmation/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	TypeMsgChangePartyAddress = "change_party_address"
)
View Source
const (
	TypeMsgCreateChangePartiesOp = "create_remove_party"
)
View Source
const (
	TypeMsgCreateConfirmation = "create_confirmation"
)
View Source
const (
	TypeMsgCreateViolationReport = "create_violation_report"
)
View Source
const (
	TypeMsgResign = "resign"
)
View Source
const (
	TypeMsgSetupInitial = "setup_initial"
)
View Source
const (
	// ViolationReportKeyPrefix is the prefix to retrieve all ViolationReport
	ViolationReportKeyPrefix = "ViolationReport/value/"
)
View Source
const (
	// VoteKeyPrefix is the prefix to retrieve all Vote
	VoteKeyPrefix = "Vote/value/"
)

Variables

View Source
var (
	ErrInvalidLengthConfirmation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfirmation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupConfirmation = 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 (
	ErrInvalidLengthOpChangeParties        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpChangeParties          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpChangeParties = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpContractUpgrade        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpContractUpgrade          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpContractUpgrade = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpFeeTokenManagement        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpFeeTokenManagement          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpFeeTokenManagement = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpIdentityAggregatedTransfer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpIdentityAggregatedTransfer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpIdentityAggregatedTransfer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpIdentityDefaultTransfer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpIdentityDefaultTransfer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpIdentityDefaultTransfer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpIdentityGistTransfer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpIdentityGistTransfer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpIdentityGistTransfer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpIdentityStateTransfer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpIdentityStateTransfer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpIdentityStateTransfer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpTransfer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpTransfer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpTransfer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOpWorldcoinIdentityTransfer        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOpWorldcoinIdentityTransfer          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOpWorldcoinIdentityTransfer = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOperation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOperation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOperation = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ErrInvalidLengthViolationReport        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowViolationReport          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupViolationReport = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVote        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVote          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVote = fmt.Errorf("proto: unexpected end of group")
)
View Source
var FeeTokenManagementType_name = map[int32]string{
	0: "ADD_FEE_TOKEN",
	1: "REMOVE_FEE_TOKEN",
	2: "UPDATE_FEE_TOKEN",
	3: "WITHDRAW_FEE_TOKEN",
}
View Source
var FeeTokenManagementType_value = map[string]int32{
	"ADD_FEE_TOKEN":      0,
	"REMOVE_FEE_TOKEN":   1,
	"UPDATE_FEE_TOKEN":   2,
	"WITHDRAW_FEE_TOKEN": 3,
}
View Source
var OpStatus_name = map[int32]string{
	0: "INITIALIZED",
	1: "APPROVED",
	2: "NOT_APPROVED",
	3: "SIGNED",
}
View Source
var OpStatus_value = map[string]int32{
	"INITIALIZED":  0,
	"APPROVED":     1,
	"NOT_APPROVED": 2,
	"SIGNED":       3,
}
View Source
var OpType_name = map[int32]string{
	0: "TRANSFER",
	1: "CHANGE_PARTIES",
	2: "FEE_TOKEN_MANAGEMENT",
	3: "CONTRACT_UPGRADE",
	4: "IDENTITY_DEFAULT_TRANSFER",
	5: "IDENTITY_AGGREGATED_TRANSFER",
	6: "IDENTITY_GIST_TRANSFER",
	7: "IDENTITY_STATE_TRANSFER",
	8: "WORLDCOIN_IDENTITY_TRANSFER",
}
View Source
var OpType_value = map[string]int32{
	"TRANSFER":                     0,
	"CHANGE_PARTIES":               1,
	"FEE_TOKEN_MANAGEMENT":         2,
	"CONTRACT_UPGRADE":             3,
	"IDENTITY_DEFAULT_TRANSFER":    4,
	"IDENTITY_AGGREGATED_TRANSFER": 5,
	"IDENTITY_GIST_TRANSFER":       6,
	"IDENTITY_STATE_TRANSFER":      7,
	"WORLDCOIN_IDENTITY_TRANSFER":  8,
}
View Source
var ParamsUpdateType_name = map[int32]string{
	0: "CHANGE_SET",
	1: "OTHER",
}
View Source
var ParamsUpdateType_value = map[string]int32{
	"CHANGE_SET": 0,
	"OTHER":      1,
}
View Source
var PartyStatus_name = map[int32]string{
	0: "Active",
	1: "Frozen",
	2: "Slashed",
	3: "Inactive",
}
View Source
var PartyStatus_value = map[string]int32{
	"Active":   0,
	"Frozen":   1,
	"Slashed":  2,
	"Inactive": 3,
}
View Source
var ViolationType_name = map[int32]string{
	0: "Offline",
	1: "Spam",
	3: "Other",
}
View Source
var ViolationType_value = map[string]int32{
	"Offline": 0,
	"Spam":    1,
	"Other":   3,
}
View Source
var VoteType_name = map[int32]string{
	0: "YES",
	1: "NO",
}
View Source
var VoteType_value = map[string]int32{
	"YES": 0,
	"NO":  1,
}

Functions

func ConfirmationKey

func ConfirmationKey(
	root string,
) []byte

ConfirmationKey returns the store key to retrieve a Confirmation from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func OperationKey

func OperationKey(
	index string,
) []byte

OperationKey returns the store key to retrieve an Operation from the index fields

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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 ViolationReportKey

func ViolationReportKey(
	index *ViolationReportIndex,
) []byte

ViolationReportKey returns the store key to retrieve a ViolationReport from the index fields

func VoteKey

func VoteKey(
	index *VoteIndex,
) []byte

VoteKey returns the store key to retrieve an Vote from the index fields

Types

type AccountKeeper

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

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type ChangeParties

type ChangeParties struct {
	Parties      []*Party `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"`
	NewPublicKey string   `protobuf:"bytes,2,opt,name=newPublicKey,proto3" json:"newPublicKey,omitempty"`
	Signature    string   `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*ChangeParties) Descriptor

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

func (*ChangeParties) GetNewPublicKey

func (m *ChangeParties) GetNewPublicKey() string

func (*ChangeParties) GetParties

func (m *ChangeParties) GetParties() []*Party

func (*ChangeParties) GetSignature

func (m *ChangeParties) GetSignature() string

func (*ChangeParties) Marshal

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

func (*ChangeParties) MarshalTo

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

func (*ChangeParties) MarshalToSizedBuffer

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

func (*ChangeParties) ProtoMessage

func (*ChangeParties) ProtoMessage()

func (*ChangeParties) Reset

func (m *ChangeParties) Reset()

func (*ChangeParties) Size

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

func (*ChangeParties) String

func (m *ChangeParties) String() string

func (*ChangeParties) Unmarshal

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

func (*ChangeParties) XXX_DiscardUnknown

func (m *ChangeParties) XXX_DiscardUnknown()

func (*ChangeParties) XXX_Marshal

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

func (*ChangeParties) XXX_Merge

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

func (*ChangeParties) XXX_Size

func (m *ChangeParties) XXX_Size() int

func (*ChangeParties) XXX_Unmarshal

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

type Confirmation

type Confirmation struct {
	// hex-encoded
	Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	// hex-encoded
	Indexes []string `protobuf:"bytes,2,rep,name=indexes,proto3" json:"indexes,omitempty"`
	// hex-encoded
	SignatureECDSA string `protobuf:"bytes,3,opt,name=signatureECDSA,proto3" json:"signatureECDSA,omitempty"`
	Creator        string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*Confirmation) Descriptor

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

func (*Confirmation) GetCreator

func (m *Confirmation) GetCreator() string

func (*Confirmation) GetIndexes

func (m *Confirmation) GetIndexes() []string

func (*Confirmation) GetRoot

func (m *Confirmation) GetRoot() string

func (*Confirmation) GetSignatureECDSA

func (m *Confirmation) GetSignatureECDSA() string

func (*Confirmation) Marshal

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

func (*Confirmation) MarshalTo

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

func (*Confirmation) MarshalToSizedBuffer

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

func (*Confirmation) ProtoMessage

func (*Confirmation) ProtoMessage()

func (*Confirmation) Reset

func (m *Confirmation) Reset()

func (*Confirmation) Size

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

func (*Confirmation) String

func (m *Confirmation) String() string

func (*Confirmation) Unmarshal

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

func (*Confirmation) XXX_DiscardUnknown

func (m *Confirmation) XXX_DiscardUnknown()

func (*Confirmation) XXX_Marshal

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

func (*Confirmation) XXX_Merge

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

func (*Confirmation) XXX_Size

func (m *Confirmation) XXX_Size() int

func (*Confirmation) XXX_Unmarshal

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

type ContractUpgrade

type ContractUpgrade struct {
	// Target contract address upgrade to
	TargetContract string `protobuf:"bytes,1,opt,name=targetContract,proto3" json:"targetContract,omitempty"`
	// Chain name according to stored in tokenmanager params
	Chain string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// New contract address: used on EVM
	NewImplementationContract string `protobuf:"bytes,3,opt,name=newImplementationContract,proto3" json:"newImplementationContract,omitempty"`
	// byte code hash: used on Solana and Near
	Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	// Solana buffer account
	BufferAccount string `protobuf:"bytes,5,opt,name=bufferAccount,proto3" json:"bufferAccount,omitempty"`
	// dec nonce
	Nonce string            `protobuf:"bytes,6,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Type  types.UpgradeType `protobuf:"varint,7,opt,name=type,proto3,enum=rarimo.rarimocore.tokenmanager.UpgradeType" json:"type,omitempty"`
}

func (*ContractUpgrade) Descriptor

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

func (*ContractUpgrade) GetBufferAccount

func (m *ContractUpgrade) GetBufferAccount() string

func (*ContractUpgrade) GetChain

func (m *ContractUpgrade) GetChain() string

func (*ContractUpgrade) GetHash

func (m *ContractUpgrade) GetHash() string

func (*ContractUpgrade) GetNewImplementationContract

func (m *ContractUpgrade) GetNewImplementationContract() string

func (*ContractUpgrade) GetNonce

func (m *ContractUpgrade) GetNonce() string

func (*ContractUpgrade) GetTargetContract

func (m *ContractUpgrade) GetTargetContract() string

func (*ContractUpgrade) GetType

func (m *ContractUpgrade) GetType() types.UpgradeType

func (*ContractUpgrade) Marshal

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

func (*ContractUpgrade) MarshalTo

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

func (*ContractUpgrade) MarshalToSizedBuffer

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

func (*ContractUpgrade) ProtoMessage

func (*ContractUpgrade) ProtoMessage()

func (*ContractUpgrade) Reset

func (m *ContractUpgrade) Reset()

func (*ContractUpgrade) Size

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

func (*ContractUpgrade) String

func (m *ContractUpgrade) String() string

func (*ContractUpgrade) Unmarshal

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

func (*ContractUpgrade) XXX_DiscardUnknown

func (m *ContractUpgrade) XXX_DiscardUnknown()

func (*ContractUpgrade) XXX_Marshal

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

func (*ContractUpgrade) XXX_Merge

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

func (*ContractUpgrade) XXX_Size

func (m *ContractUpgrade) XXX_Size() int

func (*ContractUpgrade) XXX_Unmarshal

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

type DropPartiesProposal

type DropPartiesProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*DropPartiesProposal) Descriptor

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

func (*DropPartiesProposal) GetDescription

func (m *DropPartiesProposal) GetDescription() string

func (*DropPartiesProposal) GetTitle

func (m *DropPartiesProposal) GetTitle() string

func (*DropPartiesProposal) Marshal

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

func (*DropPartiesProposal) MarshalTo

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

func (*DropPartiesProposal) MarshalToSizedBuffer

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

func (*DropPartiesProposal) ProposalRoute

func (m *DropPartiesProposal) ProposalRoute() string

func (*DropPartiesProposal) ProposalType

func (m *DropPartiesProposal) ProposalType() string

func (*DropPartiesProposal) ProtoMessage

func (*DropPartiesProposal) ProtoMessage()

func (*DropPartiesProposal) Reset

func (m *DropPartiesProposal) Reset()

func (*DropPartiesProposal) Size

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

func (*DropPartiesProposal) String

func (m *DropPartiesProposal) String() string

func (*DropPartiesProposal) Unmarshal

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

func (*DropPartiesProposal) ValidateBasic

func (m *DropPartiesProposal) ValidateBasic() error

func (*DropPartiesProposal) XXX_DiscardUnknown

func (m *DropPartiesProposal) XXX_DiscardUnknown()

func (*DropPartiesProposal) XXX_Marshal

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

func (*DropPartiesProposal) XXX_Merge

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

func (*DropPartiesProposal) XXX_Size

func (m *DropPartiesProposal) XXX_Size() int

func (*DropPartiesProposal) XXX_Unmarshal

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

type FeeTokenManagement

type FeeTokenManagement struct {
	OpType   FeeTokenManagementType `protobuf:"varint,1,opt,name=opType,proto3,enum=rarimo.rarimocore.rarimocore.FeeTokenManagementType" json:"opType,omitempty"`
	Token    types.FeeToken         `protobuf:"bytes,2,opt,name=token,proto3" json:"token"`
	Chain    string                 `protobuf:"bytes,3,opt,name=chain,proto3" json:"chain,omitempty"`
	Receiver string                 `protobuf:"bytes,4,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Nonce    string                 `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*FeeTokenManagement) Descriptor

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

func (*FeeTokenManagement) GetChain

func (m *FeeTokenManagement) GetChain() string

func (*FeeTokenManagement) GetNonce

func (m *FeeTokenManagement) GetNonce() string

func (*FeeTokenManagement) GetOpType

func (*FeeTokenManagement) GetReceiver

func (m *FeeTokenManagement) GetReceiver() string

func (*FeeTokenManagement) GetToken

func (m *FeeTokenManagement) GetToken() types.FeeToken

func (*FeeTokenManagement) Marshal

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

func (*FeeTokenManagement) MarshalTo

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

func (*FeeTokenManagement) MarshalToSizedBuffer

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

func (*FeeTokenManagement) ProtoMessage

func (*FeeTokenManagement) ProtoMessage()

func (*FeeTokenManagement) Reset

func (m *FeeTokenManagement) Reset()

func (*FeeTokenManagement) Size

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

func (*FeeTokenManagement) String

func (m *FeeTokenManagement) String() string

func (*FeeTokenManagement) Unmarshal

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

func (*FeeTokenManagement) XXX_DiscardUnknown

func (m *FeeTokenManagement) XXX_DiscardUnknown()

func (*FeeTokenManagement) XXX_Marshal

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

func (*FeeTokenManagement) XXX_Merge

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

func (*FeeTokenManagement) XXX_Size

func (m *FeeTokenManagement) XXX_Size() int

func (*FeeTokenManagement) XXX_Unmarshal

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

type FeeTokenManagementType

type FeeTokenManagementType int32
const (
	FeeTokenManagementType_ADD_FEE_TOKEN      FeeTokenManagementType = 0
	FeeTokenManagementType_REMOVE_FEE_TOKEN   FeeTokenManagementType = 1
	FeeTokenManagementType_UPDATE_FEE_TOKEN   FeeTokenManagementType = 2
	FeeTokenManagementType_WITHDRAW_FEE_TOKEN FeeTokenManagementType = 3
)

func (FeeTokenManagementType) EnumDescriptor

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

func (FeeTokenManagementType) String

func (x FeeTokenManagementType) String() string

type GenesisState

type GenesisState struct {
	Params              Params            `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	OperationList       []Operation       `protobuf:"bytes,2,rep,name=operationList,proto3" json:"operationList"`
	ConfirmationList    []Confirmation    `protobuf:"bytes,3,rep,name=confirmationList,proto3" json:"confirmationList"`
	VoteList            []Vote            `protobuf:"bytes,4,rep,name=voteList,proto3" json:"voteList"`
	ViolationReportList []ViolationReport `protobuf:"bytes,5,rep,name=violationReportList,proto3" json:"violationReportList"`
}

GenesisState defines the rarimocore module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetConfirmationList

func (m *GenesisState) GetConfirmationList() []Confirmation

func (*GenesisState) GetOperationList

func (m *GenesisState) GetOperationList() []Operation

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetViolationReportList

func (m *GenesisState) GetViolationReportList() []ViolationReport

func (*GenesisState) GetVoteList

func (m *GenesisState) GetVoteList() []Vote

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 IdentityAggregatedTransfer

type IdentityAggregatedTransfer struct {
	// Hex 0x
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	// Rarimo
	Chain string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// Hex 0x
	GISTHash      string `protobuf:"bytes,3,opt,name=GISTHash,proto3" json:"GISTHash,omitempty"`
	StateRootHash string `protobuf:"bytes,5,opt,name=stateRootHash,proto3" json:"stateRootHash,omitempty"`
	// Dec
	Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*IdentityAggregatedTransfer) Descriptor

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

func (*IdentityAggregatedTransfer) GetChain

func (m *IdentityAggregatedTransfer) GetChain() string

func (*IdentityAggregatedTransfer) GetContract

func (m *IdentityAggregatedTransfer) GetContract() string

func (*IdentityAggregatedTransfer) GetGISTHash

func (m *IdentityAggregatedTransfer) GetGISTHash() string

func (*IdentityAggregatedTransfer) GetStateRootHash

func (m *IdentityAggregatedTransfer) GetStateRootHash() string

func (*IdentityAggregatedTransfer) GetTimestamp

func (m *IdentityAggregatedTransfer) GetTimestamp() uint64

func (*IdentityAggregatedTransfer) Marshal

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

func (*IdentityAggregatedTransfer) MarshalTo

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

func (*IdentityAggregatedTransfer) MarshalToSizedBuffer

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

func (*IdentityAggregatedTransfer) ProtoMessage

func (*IdentityAggregatedTransfer) ProtoMessage()

func (*IdentityAggregatedTransfer) Reset

func (m *IdentityAggregatedTransfer) Reset()

func (*IdentityAggregatedTransfer) Size

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

func (*IdentityAggregatedTransfer) String

func (m *IdentityAggregatedTransfer) String() string

func (*IdentityAggregatedTransfer) Unmarshal

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

func (*IdentityAggregatedTransfer) XXX_DiscardUnknown

func (m *IdentityAggregatedTransfer) XXX_DiscardUnknown()

func (*IdentityAggregatedTransfer) XXX_Marshal

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

func (*IdentityAggregatedTransfer) XXX_Merge

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

func (*IdentityAggregatedTransfer) XXX_Size

func (m *IdentityAggregatedTransfer) XXX_Size() int

func (*IdentityAggregatedTransfer) XXX_Unmarshal

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

type IdentityDefaultTransfer

type IdentityDefaultTransfer struct {
	// Hex 0x
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Chain    string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// Hex 0x
	GISTHash string `protobuf:"bytes,3,opt,name=GISTHash,proto3" json:"GISTHash,omitempty"`
	// Hex 0x
	Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// Hex 0x
	StateHash string `protobuf:"bytes,5,opt,name=stateHash,proto3" json:"stateHash,omitempty"`
	// Dec
	StateCreatedAtTimestamp string `protobuf:"bytes,6,opt,name=stateCreatedAtTimestamp,proto3" json:"stateCreatedAtTimestamp,omitempty"`
	StateCreatedAtBlock     string `protobuf:"bytes,7,opt,name=stateCreatedAtBlock,proto3" json:"stateCreatedAtBlock,omitempty"`
	// Hex 0x
	StateReplacedBy string `protobuf:"bytes,10,opt,name=stateReplacedBy,proto3" json:"stateReplacedBy,omitempty"`
	GISTReplacedBy  string `protobuf:"bytes,11,opt,name=GISTReplacedBy,proto3" json:"GISTReplacedBy,omitempty"`
	// Dec
	GISTCreatedAtTimestamp string `protobuf:"bytes,12,opt,name=GISTCreatedAtTimestamp,proto3" json:"GISTCreatedAtTimestamp,omitempty"`
	GISTCreatedAtBlock     string `protobuf:"bytes,13,opt,name=GISTCreatedAtBlock,proto3" json:"GISTCreatedAtBlock,omitempty"`
	// HEX 0x
	ReplacedStateHash string `protobuf:"bytes,16,opt,name=replacedStateHash,proto3" json:"replacedStateHash,omitempty"`
	ReplacedGISTHash  string `protobuf:"bytes,17,opt,name=replacedGISTHash,proto3" json:"replacedGISTHash,omitempty"`
}

func (*IdentityDefaultTransfer) Descriptor

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

func (*IdentityDefaultTransfer) GetChain

func (m *IdentityDefaultTransfer) GetChain() string

func (*IdentityDefaultTransfer) GetContract

func (m *IdentityDefaultTransfer) GetContract() string

func (*IdentityDefaultTransfer) GetGISTCreatedAtBlock

func (m *IdentityDefaultTransfer) GetGISTCreatedAtBlock() string

func (*IdentityDefaultTransfer) GetGISTCreatedAtTimestamp

func (m *IdentityDefaultTransfer) GetGISTCreatedAtTimestamp() string

func (*IdentityDefaultTransfer) GetGISTHash

func (m *IdentityDefaultTransfer) GetGISTHash() string

func (*IdentityDefaultTransfer) GetGISTReplacedBy

func (m *IdentityDefaultTransfer) GetGISTReplacedBy() string

func (*IdentityDefaultTransfer) GetId

func (m *IdentityDefaultTransfer) GetId() string

func (*IdentityDefaultTransfer) GetReplacedGISTHash

func (m *IdentityDefaultTransfer) GetReplacedGISTHash() string

func (*IdentityDefaultTransfer) GetReplacedStateHash

func (m *IdentityDefaultTransfer) GetReplacedStateHash() string

func (*IdentityDefaultTransfer) GetStateCreatedAtBlock

func (m *IdentityDefaultTransfer) GetStateCreatedAtBlock() string

func (*IdentityDefaultTransfer) GetStateCreatedAtTimestamp

func (m *IdentityDefaultTransfer) GetStateCreatedAtTimestamp() string

func (*IdentityDefaultTransfer) GetStateHash

func (m *IdentityDefaultTransfer) GetStateHash() string

func (*IdentityDefaultTransfer) GetStateReplacedBy

func (m *IdentityDefaultTransfer) GetStateReplacedBy() string

func (*IdentityDefaultTransfer) Marshal

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

func (*IdentityDefaultTransfer) MarshalTo

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

func (*IdentityDefaultTransfer) MarshalToSizedBuffer

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

func (*IdentityDefaultTransfer) ProtoMessage

func (*IdentityDefaultTransfer) ProtoMessage()

func (*IdentityDefaultTransfer) Reset

func (m *IdentityDefaultTransfer) Reset()

func (*IdentityDefaultTransfer) Size

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

func (*IdentityDefaultTransfer) String

func (m *IdentityDefaultTransfer) String() string

func (*IdentityDefaultTransfer) Unmarshal

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

func (*IdentityDefaultTransfer) XXX_DiscardUnknown

func (m *IdentityDefaultTransfer) XXX_DiscardUnknown()

func (*IdentityDefaultTransfer) XXX_Marshal

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

func (*IdentityDefaultTransfer) XXX_Merge

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

func (*IdentityDefaultTransfer) XXX_Size

func (m *IdentityDefaultTransfer) XXX_Size() int

func (*IdentityDefaultTransfer) XXX_Unmarshal

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

type IdentityGISTTransfer added in v1.1.0

type IdentityGISTTransfer struct {
	// Hex 0x
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Chain    string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// Hex 0x
	GISTHash string `protobuf:"bytes,3,opt,name=GISTHash,proto3" json:"GISTHash,omitempty"`
	// Dec
	GISTCreatedAtTimestamp string `protobuf:"bytes,5,opt,name=GISTCreatedAtTimestamp,proto3" json:"GISTCreatedAtTimestamp,omitempty"`
	GISTCreatedAtBlock     string `protobuf:"bytes,6,opt,name=GISTCreatedAtBlock,proto3" json:"GISTCreatedAtBlock,omitempty"`
	// HEX 0x
	ReplacedGISTHash string `protobuf:"bytes,7,opt,name=replacedGISTHash,proto3" json:"replacedGISTHash,omitempty"`
}

func (*IdentityGISTTransfer) Descriptor added in v1.1.0

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

func (*IdentityGISTTransfer) GetChain added in v1.1.0

func (m *IdentityGISTTransfer) GetChain() string

func (*IdentityGISTTransfer) GetContract added in v1.1.0

func (m *IdentityGISTTransfer) GetContract() string

func (*IdentityGISTTransfer) GetGISTCreatedAtBlock added in v1.1.0

func (m *IdentityGISTTransfer) GetGISTCreatedAtBlock() string

func (*IdentityGISTTransfer) GetGISTCreatedAtTimestamp added in v1.1.0

func (m *IdentityGISTTransfer) GetGISTCreatedAtTimestamp() string

func (*IdentityGISTTransfer) GetGISTHash added in v1.1.0

func (m *IdentityGISTTransfer) GetGISTHash() string

func (*IdentityGISTTransfer) GetReplacedGISTHash added in v1.1.0

func (m *IdentityGISTTransfer) GetReplacedGISTHash() string

func (*IdentityGISTTransfer) Marshal added in v1.1.0

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

func (*IdentityGISTTransfer) MarshalTo added in v1.1.0

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

func (*IdentityGISTTransfer) MarshalToSizedBuffer added in v1.1.0

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

func (*IdentityGISTTransfer) ProtoMessage added in v1.1.0

func (*IdentityGISTTransfer) ProtoMessage()

func (*IdentityGISTTransfer) Reset added in v1.1.0

func (m *IdentityGISTTransfer) Reset()

func (*IdentityGISTTransfer) Size added in v1.1.0

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

func (*IdentityGISTTransfer) String added in v1.1.0

func (m *IdentityGISTTransfer) String() string

func (*IdentityGISTTransfer) Unmarshal added in v1.1.0

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

func (*IdentityGISTTransfer) XXX_DiscardUnknown added in v1.1.0

func (m *IdentityGISTTransfer) XXX_DiscardUnknown()

func (*IdentityGISTTransfer) XXX_Marshal added in v1.1.0

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

func (*IdentityGISTTransfer) XXX_Merge added in v1.1.0

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

func (*IdentityGISTTransfer) XXX_Size added in v1.1.0

func (m *IdentityGISTTransfer) XXX_Size() int

func (*IdentityGISTTransfer) XXX_Unmarshal added in v1.1.0

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

type IdentityStateTransfer added in v1.1.0

type IdentityStateTransfer struct {
	// Hex 0x
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Chain    string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// Hex 0x
	Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
	// Hex 0x
	StateHash string `protobuf:"bytes,5,opt,name=stateHash,proto3" json:"stateHash,omitempty"`
	// Dec
	StateCreatedAtTimestamp string `protobuf:"bytes,6,opt,name=stateCreatedAtTimestamp,proto3" json:"stateCreatedAtTimestamp,omitempty"`
	StateCreatedAtBlock     string `protobuf:"bytes,7,opt,name=stateCreatedAtBlock,proto3" json:"stateCreatedAtBlock,omitempty"`
	// HEX 0x
	ReplacedStateHash string `protobuf:"bytes,8,opt,name=replacedStateHash,proto3" json:"replacedStateHash,omitempty"`
}

func (*IdentityStateTransfer) Descriptor added in v1.1.0

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

func (*IdentityStateTransfer) GetChain added in v1.1.0

func (m *IdentityStateTransfer) GetChain() string

func (*IdentityStateTransfer) GetContract added in v1.1.0

func (m *IdentityStateTransfer) GetContract() string

func (*IdentityStateTransfer) GetId added in v1.1.0

func (m *IdentityStateTransfer) GetId() string

func (*IdentityStateTransfer) GetReplacedStateHash added in v1.1.0

func (m *IdentityStateTransfer) GetReplacedStateHash() string

func (*IdentityStateTransfer) GetStateCreatedAtBlock added in v1.1.0

func (m *IdentityStateTransfer) GetStateCreatedAtBlock() string

func (*IdentityStateTransfer) GetStateCreatedAtTimestamp added in v1.1.0

func (m *IdentityStateTransfer) GetStateCreatedAtTimestamp() string

func (*IdentityStateTransfer) GetStateHash added in v1.1.0

func (m *IdentityStateTransfer) GetStateHash() string

func (*IdentityStateTransfer) Marshal added in v1.1.0

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

func (*IdentityStateTransfer) MarshalTo added in v1.1.0

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

func (*IdentityStateTransfer) MarshalToSizedBuffer added in v1.1.0

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

func (*IdentityStateTransfer) ProtoMessage added in v1.1.0

func (*IdentityStateTransfer) ProtoMessage()

func (*IdentityStateTransfer) Reset added in v1.1.0

func (m *IdentityStateTransfer) Reset()

func (*IdentityStateTransfer) Size added in v1.1.0

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

func (*IdentityStateTransfer) String added in v1.1.0

func (m *IdentityStateTransfer) String() string

func (*IdentityStateTransfer) Unmarshal added in v1.1.0

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

func (*IdentityStateTransfer) XXX_DiscardUnknown added in v1.1.0

func (m *IdentityStateTransfer) XXX_DiscardUnknown()

func (*IdentityStateTransfer) XXX_Marshal added in v1.1.0

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

func (*IdentityStateTransfer) XXX_Merge added in v1.1.0

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

func (*IdentityStateTransfer) XXX_Size added in v1.1.0

func (m *IdentityStateTransfer) XXX_Size() int

func (*IdentityStateTransfer) XXX_Unmarshal added in v1.1.0

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

type MsgChangePartyAddress

type MsgChangePartyAddress struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	NewAddress string `protobuf:"bytes,2,opt,name=newAddress,proto3" json:"newAddress,omitempty"`
}

func NewMsgChangePartyAddress

func NewMsgChangePartyAddress(
	creator string,
	address string,
) *MsgChangePartyAddress

func (*MsgChangePartyAddress) Descriptor

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

func (*MsgChangePartyAddress) GetCreator

func (m *MsgChangePartyAddress) GetCreator() string

func (*MsgChangePartyAddress) GetNewAddress

func (m *MsgChangePartyAddress) GetNewAddress() string

func (*MsgChangePartyAddress) GetSignBytes

func (msg *MsgChangePartyAddress) GetSignBytes() []byte

func (*MsgChangePartyAddress) GetSigners

func (msg *MsgChangePartyAddress) GetSigners() []sdk.AccAddress

func (*MsgChangePartyAddress) Marshal

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

func (*MsgChangePartyAddress) MarshalTo

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

func (*MsgChangePartyAddress) MarshalToSizedBuffer

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

func (*MsgChangePartyAddress) ProtoMessage

func (*MsgChangePartyAddress) ProtoMessage()

func (*MsgChangePartyAddress) Reset

func (m *MsgChangePartyAddress) Reset()

func (*MsgChangePartyAddress) Route

func (msg *MsgChangePartyAddress) Route() string

func (*MsgChangePartyAddress) Size

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

func (*MsgChangePartyAddress) String

func (m *MsgChangePartyAddress) String() string

func (*MsgChangePartyAddress) Type

func (msg *MsgChangePartyAddress) Type() string

func (*MsgChangePartyAddress) Unmarshal

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

func (*MsgChangePartyAddress) ValidateBasic

func (msg *MsgChangePartyAddress) ValidateBasic() error

func (*MsgChangePartyAddress) XXX_DiscardUnknown

func (m *MsgChangePartyAddress) XXX_DiscardUnknown()

func (*MsgChangePartyAddress) XXX_Marshal

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

func (*MsgChangePartyAddress) XXX_Merge

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

func (*MsgChangePartyAddress) XXX_Size

func (m *MsgChangePartyAddress) XXX_Size() int

func (*MsgChangePartyAddress) XXX_Unmarshal

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

type MsgChangePartyAddressResponse

type MsgChangePartyAddressResponse struct {
}

func (*MsgChangePartyAddressResponse) Descriptor

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

func (*MsgChangePartyAddressResponse) Marshal

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

func (*MsgChangePartyAddressResponse) MarshalTo

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

func (*MsgChangePartyAddressResponse) MarshalToSizedBuffer

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

func (*MsgChangePartyAddressResponse) ProtoMessage

func (*MsgChangePartyAddressResponse) ProtoMessage()

func (*MsgChangePartyAddressResponse) Reset

func (m *MsgChangePartyAddressResponse) Reset()

func (*MsgChangePartyAddressResponse) Size

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

func (*MsgChangePartyAddressResponse) String

func (*MsgChangePartyAddressResponse) Unmarshal

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

func (*MsgChangePartyAddressResponse) XXX_DiscardUnknown

func (m *MsgChangePartyAddressResponse) XXX_DiscardUnknown()

func (*MsgChangePartyAddressResponse) XXX_Marshal

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

func (*MsgChangePartyAddressResponse) XXX_Merge

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

func (*MsgChangePartyAddressResponse) XXX_Size

func (m *MsgChangePartyAddressResponse) XXX_Size() int

func (*MsgChangePartyAddressResponse) XXX_Unmarshal

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

type MsgClient

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 MsgCreateChangePartiesOp

type MsgCreateChangePartiesOp struct {
	Creator      string   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	NewSet       []*Party `protobuf:"bytes,2,rep,name=newSet,proto3" json:"newSet,omitempty"`
	NewPublicKey string   `protobuf:"bytes,3,opt,name=newPublicKey,proto3" json:"newPublicKey,omitempty"`
	Signature    string   `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
}

func NewMsgCreateChangePartiesOp

func NewMsgCreateChangePartiesOp(
	creator string,
	set []*Party,
) *MsgCreateChangePartiesOp

func (*MsgCreateChangePartiesOp) Descriptor

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

func (*MsgCreateChangePartiesOp) GetCreator

func (m *MsgCreateChangePartiesOp) GetCreator() string

func (*MsgCreateChangePartiesOp) GetNewPublicKey

func (m *MsgCreateChangePartiesOp) GetNewPublicKey() string

func (*MsgCreateChangePartiesOp) GetNewSet

func (m *MsgCreateChangePartiesOp) GetNewSet() []*Party

func (*MsgCreateChangePartiesOp) GetSignBytes

func (msg *MsgCreateChangePartiesOp) GetSignBytes() []byte

func (*MsgCreateChangePartiesOp) GetSignature

func (m *MsgCreateChangePartiesOp) GetSignature() string

func (*MsgCreateChangePartiesOp) GetSigners

func (msg *MsgCreateChangePartiesOp) GetSigners() []sdk.AccAddress

func (*MsgCreateChangePartiesOp) Marshal

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

func (*MsgCreateChangePartiesOp) MarshalTo

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

func (*MsgCreateChangePartiesOp) MarshalToSizedBuffer

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

func (*MsgCreateChangePartiesOp) ProtoMessage

func (*MsgCreateChangePartiesOp) ProtoMessage()

func (*MsgCreateChangePartiesOp) Reset

func (m *MsgCreateChangePartiesOp) Reset()

func (*MsgCreateChangePartiesOp) Route

func (msg *MsgCreateChangePartiesOp) Route() string

func (*MsgCreateChangePartiesOp) Size

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

func (*MsgCreateChangePartiesOp) String

func (m *MsgCreateChangePartiesOp) String() string

func (*MsgCreateChangePartiesOp) Type

func (msg *MsgCreateChangePartiesOp) Type() string

func (*MsgCreateChangePartiesOp) Unmarshal

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

func (*MsgCreateChangePartiesOp) ValidateBasic

func (msg *MsgCreateChangePartiesOp) ValidateBasic() error

func (*MsgCreateChangePartiesOp) XXX_DiscardUnknown

func (m *MsgCreateChangePartiesOp) XXX_DiscardUnknown()

func (*MsgCreateChangePartiesOp) XXX_Marshal

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

func (*MsgCreateChangePartiesOp) XXX_Merge

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

func (*MsgCreateChangePartiesOp) XXX_Size

func (m *MsgCreateChangePartiesOp) XXX_Size() int

func (*MsgCreateChangePartiesOp) XXX_Unmarshal

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

type MsgCreateChangePartiesOpResponse

type MsgCreateChangePartiesOpResponse struct {
}

func (*MsgCreateChangePartiesOpResponse) Descriptor

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

func (*MsgCreateChangePartiesOpResponse) Marshal

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

func (*MsgCreateChangePartiesOpResponse) MarshalTo

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

func (*MsgCreateChangePartiesOpResponse) MarshalToSizedBuffer

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

func (*MsgCreateChangePartiesOpResponse) ProtoMessage

func (*MsgCreateChangePartiesOpResponse) ProtoMessage()

func (*MsgCreateChangePartiesOpResponse) Reset

func (*MsgCreateChangePartiesOpResponse) Size

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

func (*MsgCreateChangePartiesOpResponse) String

func (*MsgCreateChangePartiesOpResponse) Unmarshal

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

func (*MsgCreateChangePartiesOpResponse) XXX_DiscardUnknown

func (m *MsgCreateChangePartiesOpResponse) XXX_DiscardUnknown()

func (*MsgCreateChangePartiesOpResponse) XXX_Marshal

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

func (*MsgCreateChangePartiesOpResponse) XXX_Merge

func (*MsgCreateChangePartiesOpResponse) XXX_Size

func (m *MsgCreateChangePartiesOpResponse) XXX_Size() int

func (*MsgCreateChangePartiesOpResponse) XXX_Unmarshal

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

type MsgCreateConfirmation

type MsgCreateConfirmation struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// hex-encoded
	Root    string   `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
	Indexes []string `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"`
	// hex-encoded
	SignatureECDSA string `protobuf:"bytes,4,opt,name=signatureECDSA,proto3" json:"signatureECDSA,omitempty"`
}

func NewMsgCreateConfirmation

func NewMsgCreateConfirmation(
	creator string,
	root string,
	indexes []string,
	sigECDSA string,

) *MsgCreateConfirmation

func (*MsgCreateConfirmation) Descriptor

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

func (*MsgCreateConfirmation) GetCreator

func (m *MsgCreateConfirmation) GetCreator() string

func (*MsgCreateConfirmation) GetIndexes

func (m *MsgCreateConfirmation) GetIndexes() []string

func (*MsgCreateConfirmation) GetRoot

func (m *MsgCreateConfirmation) GetRoot() string

func (*MsgCreateConfirmation) GetSignBytes

func (msg *MsgCreateConfirmation) GetSignBytes() []byte

func (*MsgCreateConfirmation) GetSignatureECDSA

func (m *MsgCreateConfirmation) GetSignatureECDSA() string

func (*MsgCreateConfirmation) GetSigners

func (msg *MsgCreateConfirmation) GetSigners() []sdk.AccAddress

func (*MsgCreateConfirmation) Marshal

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

func (*MsgCreateConfirmation) MarshalTo

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

func (*MsgCreateConfirmation) MarshalToSizedBuffer

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

func (*MsgCreateConfirmation) ProtoMessage

func (*MsgCreateConfirmation) ProtoMessage()

func (*MsgCreateConfirmation) Reset

func (m *MsgCreateConfirmation) Reset()

func (*MsgCreateConfirmation) Route

func (msg *MsgCreateConfirmation) Route() string

func (*MsgCreateConfirmation) Size

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

func (*MsgCreateConfirmation) String

func (m *MsgCreateConfirmation) String() string

func (*MsgCreateConfirmation) Type

func (msg *MsgCreateConfirmation) Type() string

func (*MsgCreateConfirmation) Unmarshal

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

func (*MsgCreateConfirmation) ValidateBasic

func (msg *MsgCreateConfirmation) ValidateBasic() error

func (*MsgCreateConfirmation) XXX_DiscardUnknown

func (m *MsgCreateConfirmation) XXX_DiscardUnknown()

func (*MsgCreateConfirmation) XXX_Marshal

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

func (*MsgCreateConfirmation) XXX_Merge

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

func (*MsgCreateConfirmation) XXX_Size

func (m *MsgCreateConfirmation) XXX_Size() int

func (*MsgCreateConfirmation) XXX_Unmarshal

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

type MsgCreateConfirmationResponse

type MsgCreateConfirmationResponse struct {
}

func (*MsgCreateConfirmationResponse) Descriptor

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

func (*MsgCreateConfirmationResponse) Marshal

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

func (*MsgCreateConfirmationResponse) MarshalTo

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

func (*MsgCreateConfirmationResponse) MarshalToSizedBuffer

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

func (*MsgCreateConfirmationResponse) ProtoMessage

func (*MsgCreateConfirmationResponse) ProtoMessage()

func (*MsgCreateConfirmationResponse) Reset

func (m *MsgCreateConfirmationResponse) Reset()

func (*MsgCreateConfirmationResponse) Size

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

func (*MsgCreateConfirmationResponse) String

func (*MsgCreateConfirmationResponse) Unmarshal

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

func (*MsgCreateConfirmationResponse) XXX_DiscardUnknown

func (m *MsgCreateConfirmationResponse) XXX_DiscardUnknown()

func (*MsgCreateConfirmationResponse) XXX_Marshal

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

func (*MsgCreateConfirmationResponse) XXX_Merge

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

func (*MsgCreateConfirmationResponse) XXX_Size

func (m *MsgCreateConfirmationResponse) XXX_Size() int

func (*MsgCreateConfirmationResponse) XXX_Unmarshal

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

type MsgCreateViolationReport

type MsgCreateViolationReport struct {
	Creator       string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	SessionId     string        `protobuf:"bytes,2,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	ViolationType ViolationType `` /* 128-byte string literal not displayed */
	Offender      string        `protobuf:"bytes,4,opt,name=offender,proto3" json:"offender,omitempty"`
	// Optional message
	Msg string `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"`
}

func NewMsgCreateViolationReport

func NewMsgCreateViolationReport(
	creator,
	sessionId,
	offender string,
	violationType ViolationType,
) *MsgCreateViolationReport

func (*MsgCreateViolationReport) Descriptor

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

func (*MsgCreateViolationReport) GetCreator

func (m *MsgCreateViolationReport) GetCreator() string

func (*MsgCreateViolationReport) GetMsg

func (m *MsgCreateViolationReport) GetMsg() string

func (*MsgCreateViolationReport) GetOffender

func (m *MsgCreateViolationReport) GetOffender() string

func (*MsgCreateViolationReport) GetSessionId

func (m *MsgCreateViolationReport) GetSessionId() string

func (*MsgCreateViolationReport) GetSignBytes

func (msg *MsgCreateViolationReport) GetSignBytes() []byte

func (*MsgCreateViolationReport) GetSigners

func (msg *MsgCreateViolationReport) GetSigners() []sdk.AccAddress

func (*MsgCreateViolationReport) GetViolationType

func (m *MsgCreateViolationReport) GetViolationType() ViolationType

func (*MsgCreateViolationReport) Marshal

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

func (*MsgCreateViolationReport) MarshalTo

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

func (*MsgCreateViolationReport) MarshalToSizedBuffer

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

func (*MsgCreateViolationReport) ProtoMessage

func (*MsgCreateViolationReport) ProtoMessage()

func (*MsgCreateViolationReport) Reset

func (m *MsgCreateViolationReport) Reset()

func (*MsgCreateViolationReport) Route

func (msg *MsgCreateViolationReport) Route() string

func (*MsgCreateViolationReport) Size

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

func (*MsgCreateViolationReport) String

func (m *MsgCreateViolationReport) String() string

func (*MsgCreateViolationReport) Type

func (msg *MsgCreateViolationReport) Type() string

func (*MsgCreateViolationReport) Unmarshal

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

func (*MsgCreateViolationReport) ValidateBasic

func (msg *MsgCreateViolationReport) ValidateBasic() error

func (*MsgCreateViolationReport) XXX_DiscardUnknown

func (m *MsgCreateViolationReport) XXX_DiscardUnknown()

func (*MsgCreateViolationReport) XXX_Marshal

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

func (*MsgCreateViolationReport) XXX_Merge

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

func (*MsgCreateViolationReport) XXX_Size

func (m *MsgCreateViolationReport) XXX_Size() int

func (*MsgCreateViolationReport) XXX_Unmarshal

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

type MsgCreateViolationReportResponse

type MsgCreateViolationReportResponse struct {
}

func (*MsgCreateViolationReportResponse) Descriptor

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

func (*MsgCreateViolationReportResponse) Marshal

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

func (*MsgCreateViolationReportResponse) MarshalTo

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

func (*MsgCreateViolationReportResponse) MarshalToSizedBuffer

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

func (*MsgCreateViolationReportResponse) ProtoMessage

func (*MsgCreateViolationReportResponse) ProtoMessage()

func (*MsgCreateViolationReportResponse) Reset

func (*MsgCreateViolationReportResponse) Size

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

func (*MsgCreateViolationReportResponse) String

func (*MsgCreateViolationReportResponse) Unmarshal

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

func (*MsgCreateViolationReportResponse) XXX_DiscardUnknown

func (m *MsgCreateViolationReportResponse) XXX_DiscardUnknown()

func (*MsgCreateViolationReportResponse) XXX_Marshal

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

func (*MsgCreateViolationReportResponse) XXX_Merge

func (*MsgCreateViolationReportResponse) XXX_Size

func (m *MsgCreateViolationReportResponse) XXX_Size() int

func (*MsgCreateViolationReportResponse) XXX_Unmarshal

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

type MsgResign

type MsgResign struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
}

func NewMsgResign

func NewMsgResign(creator, operation string) *MsgResign

func (*MsgResign) Descriptor

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

func (*MsgResign) GetCreator

func (m *MsgResign) GetCreator() string

func (*MsgResign) GetOperation

func (m *MsgResign) GetOperation() string

func (*MsgResign) GetSignBytes

func (msg *MsgResign) GetSignBytes() []byte

func (*MsgResign) GetSigners

func (msg *MsgResign) GetSigners() []sdk.AccAddress

func (*MsgResign) Marshal

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

func (*MsgResign) MarshalTo

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

func (*MsgResign) MarshalToSizedBuffer

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

func (*MsgResign) ProtoMessage

func (*MsgResign) ProtoMessage()

func (*MsgResign) Reset

func (m *MsgResign) Reset()

func (*MsgResign) Route

func (msg *MsgResign) Route() string

func (*MsgResign) Size

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

func (*MsgResign) String

func (m *MsgResign) String() string

func (*MsgResign) Type

func (msg *MsgResign) Type() string

func (*MsgResign) Unmarshal

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

func (*MsgResign) ValidateBasic

func (msg *MsgResign) ValidateBasic() error

func (*MsgResign) XXX_DiscardUnknown

func (m *MsgResign) XXX_DiscardUnknown()

func (*MsgResign) XXX_Marshal

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

func (*MsgResign) XXX_Merge

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

func (*MsgResign) XXX_Size

func (m *MsgResign) XXX_Size() int

func (*MsgResign) XXX_Unmarshal

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

type MsgResignResponse

type MsgResignResponse struct {
}

func (*MsgResignResponse) Descriptor

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

func (*MsgResignResponse) Marshal

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

func (*MsgResignResponse) MarshalTo

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

func (*MsgResignResponse) MarshalToSizedBuffer

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

func (*MsgResignResponse) ProtoMessage

func (*MsgResignResponse) ProtoMessage()

func (*MsgResignResponse) Reset

func (m *MsgResignResponse) Reset()

func (*MsgResignResponse) Size

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

func (*MsgResignResponse) String

func (m *MsgResignResponse) String() string

func (*MsgResignResponse) Unmarshal

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

func (*MsgResignResponse) XXX_DiscardUnknown

func (m *MsgResignResponse) XXX_DiscardUnknown()

func (*MsgResignResponse) XXX_Marshal

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

func (*MsgResignResponse) XXX_Merge

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

func (*MsgResignResponse) XXX_Size

func (m *MsgResignResponse) XXX_Size() int

func (*MsgResignResponse) XXX_Unmarshal

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

type MsgSetupInitial

type MsgSetupInitial struct {
	Creator        string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	PartyPublicKey string `protobuf:"bytes,2,opt,name=partyPublicKey,proto3" json:"partyPublicKey,omitempty"`
	NewPublicKey   string `protobuf:"bytes,3,opt,name=newPublicKey,proto3" json:"newPublicKey,omitempty"`
}

func NewMsgSetupInitial

func NewMsgSetupInitial(
	creator string,
	partyPubKey,
	pubKey string,
) *MsgSetupInitial

func (*MsgSetupInitial) Descriptor

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

func (*MsgSetupInitial) GetCreator

func (m *MsgSetupInitial) GetCreator() string

func (*MsgSetupInitial) GetNewPublicKey

func (m *MsgSetupInitial) GetNewPublicKey() string

func (*MsgSetupInitial) GetPartyPublicKey

func (m *MsgSetupInitial) GetPartyPublicKey() string

func (*MsgSetupInitial) GetSignBytes

func (msg *MsgSetupInitial) GetSignBytes() []byte

func (*MsgSetupInitial) GetSigners

func (msg *MsgSetupInitial) GetSigners() []sdk.AccAddress

func (*MsgSetupInitial) Marshal

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

func (*MsgSetupInitial) MarshalTo

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

func (*MsgSetupInitial) MarshalToSizedBuffer

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

func (*MsgSetupInitial) ProtoMessage

func (*MsgSetupInitial) ProtoMessage()

func (*MsgSetupInitial) Reset

func (m *MsgSetupInitial) Reset()

func (*MsgSetupInitial) Route

func (msg *MsgSetupInitial) Route() string

func (*MsgSetupInitial) Size

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

func (*MsgSetupInitial) String

func (m *MsgSetupInitial) String() string

func (*MsgSetupInitial) Type

func (msg *MsgSetupInitial) Type() string

func (*MsgSetupInitial) Unmarshal

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

func (*MsgSetupInitial) ValidateBasic

func (msg *MsgSetupInitial) ValidateBasic() error

func (*MsgSetupInitial) XXX_DiscardUnknown

func (m *MsgSetupInitial) XXX_DiscardUnknown()

func (*MsgSetupInitial) XXX_Marshal

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

func (*MsgSetupInitial) XXX_Merge

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

func (*MsgSetupInitial) XXX_Size

func (m *MsgSetupInitial) XXX_Size() int

func (*MsgSetupInitial) XXX_Unmarshal

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

type MsgSetupInitialResponse

type MsgSetupInitialResponse struct {
}

func (*MsgSetupInitialResponse) Descriptor

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

func (*MsgSetupInitialResponse) Marshal

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

func (*MsgSetupInitialResponse) MarshalTo

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

func (*MsgSetupInitialResponse) MarshalToSizedBuffer

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

func (*MsgSetupInitialResponse) ProtoMessage

func (*MsgSetupInitialResponse) ProtoMessage()

func (*MsgSetupInitialResponse) Reset

func (m *MsgSetupInitialResponse) Reset()

func (*MsgSetupInitialResponse) Size

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

func (*MsgSetupInitialResponse) String

func (m *MsgSetupInitialResponse) String() string

func (*MsgSetupInitialResponse) Unmarshal

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

func (*MsgSetupInitialResponse) XXX_DiscardUnknown

func (m *MsgSetupInitialResponse) XXX_DiscardUnknown()

func (*MsgSetupInitialResponse) XXX_Marshal

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

func (*MsgSetupInitialResponse) XXX_Merge

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

func (*MsgSetupInitialResponse) XXX_Size

func (m *MsgSetupInitialResponse) XXX_Size() int

func (*MsgSetupInitialResponse) XXX_Unmarshal

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

type MsgStake

type MsgStake struct {
	Creator        string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Account        string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Address        string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	TrialPublicKey string `protobuf:"bytes,4,opt,name=trialPublicKey,proto3" json:"trialPublicKey,omitempty"`
}

func NewMsgStake

func NewMsgStake(creator, account, address, trialPublicKey string,
) *MsgStake

func (*MsgStake) Descriptor

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

func (*MsgStake) GetAccount

func (m *MsgStake) GetAccount() string

func (*MsgStake) GetAddress

func (m *MsgStake) GetAddress() string

func (*MsgStake) GetCreator

func (m *MsgStake) GetCreator() string

func (*MsgStake) GetSignBytes

func (msg *MsgStake) GetSignBytes() []byte

func (*MsgStake) GetSigners

func (msg *MsgStake) GetSigners() []sdk.AccAddress

func (*MsgStake) GetTrialPublicKey

func (m *MsgStake) GetTrialPublicKey() string

func (*MsgStake) Marshal

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

func (*MsgStake) MarshalTo

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

func (*MsgStake) MarshalToSizedBuffer

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

func (*MsgStake) ProtoMessage

func (*MsgStake) ProtoMessage()

func (*MsgStake) Reset

func (m *MsgStake) Reset()

func (*MsgStake) Route

func (msg *MsgStake) Route() string

func (*MsgStake) Size

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

func (*MsgStake) String

func (m *MsgStake) String() string

func (*MsgStake) Type

func (msg *MsgStake) Type() string

func (*MsgStake) Unmarshal

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

func (*MsgStake) ValidateBasic

func (msg *MsgStake) ValidateBasic() error

func (*MsgStake) XXX_DiscardUnknown

func (m *MsgStake) XXX_DiscardUnknown()

func (*MsgStake) XXX_Marshal

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

func (*MsgStake) XXX_Merge

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

func (*MsgStake) XXX_Size

func (m *MsgStake) XXX_Size() int

func (*MsgStake) XXX_Unmarshal

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

type MsgStakeResponse

type MsgStakeResponse struct {
}

func (*MsgStakeResponse) Descriptor

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

func (*MsgStakeResponse) Marshal

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

func (*MsgStakeResponse) MarshalTo

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

func (*MsgStakeResponse) MarshalToSizedBuffer

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

func (*MsgStakeResponse) ProtoMessage

func (*MsgStakeResponse) ProtoMessage()

func (*MsgStakeResponse) Reset

func (m *MsgStakeResponse) Reset()

func (*MsgStakeResponse) Size

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

func (*MsgStakeResponse) String

func (m *MsgStakeResponse) String() string

func (*MsgStakeResponse) Unmarshal

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

func (*MsgStakeResponse) XXX_DiscardUnknown

func (m *MsgStakeResponse) XXX_DiscardUnknown()

func (*MsgStakeResponse) XXX_Marshal

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

func (*MsgStakeResponse) XXX_Merge

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

func (*MsgStakeResponse) XXX_Size

func (m *MsgStakeResponse) XXX_Size() int

func (*MsgStakeResponse) XXX_Unmarshal

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

type MsgUnstake

type MsgUnstake struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
}

func NewMsgUnstake

func NewMsgUnstake(creator, account string,
) *MsgUnstake

func (*MsgUnstake) Descriptor

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

func (*MsgUnstake) GetAccount

func (m *MsgUnstake) GetAccount() string

func (*MsgUnstake) GetCreator

func (m *MsgUnstake) GetCreator() string

func (*MsgUnstake) GetSignBytes

func (msg *MsgUnstake) GetSignBytes() []byte

func (*MsgUnstake) GetSigners

func (msg *MsgUnstake) GetSigners() []sdk.AccAddress

func (*MsgUnstake) Marshal

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

func (*MsgUnstake) MarshalTo

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

func (*MsgUnstake) MarshalToSizedBuffer

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

func (*MsgUnstake) ProtoMessage

func (*MsgUnstake) ProtoMessage()

func (*MsgUnstake) Reset

func (m *MsgUnstake) Reset()

func (*MsgUnstake) Route

func (msg *MsgUnstake) Route() string

func (*MsgUnstake) Size

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

func (*MsgUnstake) String

func (m *MsgUnstake) String() string

func (*MsgUnstake) Type

func (msg *MsgUnstake) Type() string

func (*MsgUnstake) Unmarshal

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

func (*MsgUnstake) ValidateBasic

func (msg *MsgUnstake) ValidateBasic() error

func (*MsgUnstake) XXX_DiscardUnknown

func (m *MsgUnstake) XXX_DiscardUnknown()

func (*MsgUnstake) XXX_Marshal

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

func (*MsgUnstake) XXX_Merge

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

func (*MsgUnstake) XXX_Size

func (m *MsgUnstake) XXX_Size() int

func (*MsgUnstake) XXX_Unmarshal

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

type MsgUnstakeResponse

type MsgUnstakeResponse struct {
}

func (*MsgUnstakeResponse) Descriptor

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

func (*MsgUnstakeResponse) Marshal

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

func (*MsgUnstakeResponse) MarshalTo

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

func (*MsgUnstakeResponse) MarshalToSizedBuffer

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

func (*MsgUnstakeResponse) ProtoMessage

func (*MsgUnstakeResponse) ProtoMessage()

func (*MsgUnstakeResponse) Reset

func (m *MsgUnstakeResponse) Reset()

func (*MsgUnstakeResponse) Size

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

func (*MsgUnstakeResponse) String

func (m *MsgUnstakeResponse) String() string

func (*MsgUnstakeResponse) Unmarshal

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

func (*MsgUnstakeResponse) XXX_DiscardUnknown

func (m *MsgUnstakeResponse) XXX_DiscardUnknown()

func (*MsgUnstakeResponse) XXX_Marshal

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

func (*MsgUnstakeResponse) XXX_Merge

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

func (*MsgUnstakeResponse) XXX_Size

func (m *MsgUnstakeResponse) XXX_Size() int

func (*MsgUnstakeResponse) XXX_Unmarshal

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

type OpStatus

type OpStatus int32
const (
	OpStatus_INITIALIZED  OpStatus = 0
	OpStatus_APPROVED     OpStatus = 1
	OpStatus_NOT_APPROVED OpStatus = 2
	OpStatus_SIGNED       OpStatus = 3
)

func (OpStatus) EnumDescriptor

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

func (OpStatus) String

func (x OpStatus) String() string

type OpType

type OpType int32
const (
	OpType_TRANSFER                     OpType = 0
	OpType_CHANGE_PARTIES               OpType = 1
	OpType_FEE_TOKEN_MANAGEMENT         OpType = 2
	OpType_CONTRACT_UPGRADE             OpType = 3
	OpType_IDENTITY_DEFAULT_TRANSFER    OpType = 4
	OpType_IDENTITY_AGGREGATED_TRANSFER OpType = 5
	OpType_IDENTITY_GIST_TRANSFER       OpType = 6
	OpType_IDENTITY_STATE_TRANSFER      OpType = 7
	OpType_WORLDCOIN_IDENTITY_TRANSFER  OpType = 8
)

func (OpType) EnumDescriptor

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

func (OpType) String

func (x OpType) String() string

type Operation

type Operation struct {
	// Should be in a hex format 0x...
	Index         string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	OperationType OpType `protobuf:"varint,2,opt,name=operationType,proto3,enum=rarimo.rarimocore.rarimocore.OpType" json:"operationType,omitempty"`
	// Corresponding to type details
	Details   *types.Any `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"`
	Status    OpStatus   `protobuf:"varint,4,opt,name=status,proto3,enum=rarimo.rarimocore.rarimocore.OpStatus" json:"status,omitempty"`
	Creator   string     `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
	Timestamp uint64     `protobuf:"varint,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

func (*Operation) Descriptor

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

func (*Operation) GetCreator

func (m *Operation) GetCreator() string

func (*Operation) GetDetails

func (m *Operation) GetDetails() *types.Any

func (*Operation) GetIndex

func (m *Operation) GetIndex() string

func (*Operation) GetOperationType

func (m *Operation) GetOperationType() OpType

func (*Operation) GetStatus

func (m *Operation) GetStatus() OpStatus

func (*Operation) GetTimestamp

func (m *Operation) GetTimestamp() uint64

func (*Operation) Marshal

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

func (*Operation) MarshalTo

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

func (*Operation) MarshalToSizedBuffer

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

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) Reset

func (m *Operation) Reset()

func (*Operation) Size

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

func (*Operation) String

func (m *Operation) String() string

func (*Operation) Unmarshal

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

func (*Operation) XXX_DiscardUnknown

func (m *Operation) XXX_DiscardUnknown()

func (*Operation) XXX_Marshal

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

func (*Operation) XXX_Merge

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

func (*Operation) XXX_Size

func (m *Operation) XXX_Size() int

func (*Operation) XXX_Unmarshal

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

type Params

type Params struct {
	KeyECDSA           string   `protobuf:"bytes,1,opt,name=keyECDSA,proto3" json:"keyECDSA,omitempty"`
	Threshold          uint64   `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
	Parties            []*Party `protobuf:"bytes,3,rep,name=parties,proto3" json:"parties,omitempty"`
	IsUpdateRequired   bool     `protobuf:"varint,5,opt,name=isUpdateRequired,proto3" json:"isUpdateRequired,omitempty"`
	LastSignature      string   `protobuf:"bytes,6,opt,name=lastSignature,proto3" json:"lastSignature,omitempty"`
	StakeAmount        string   `protobuf:"bytes,7,opt,name=stakeAmount,proto3" json:"stakeAmount,omitempty"`
	StakeDenom         string   `protobuf:"bytes,8,opt,name=stakeDenom,proto3" json:"stakeDenom,omitempty"`
	MaxViolationsCount uint64   `protobuf:"varint,9,opt,name=maxViolationsCount,proto3" json:"maxViolationsCount,omitempty"`
	FreezeBlocksPeriod uint64   `protobuf:"varint,10,opt,name=freezeBlocksPeriod,proto3" json:"freezeBlocksPeriod,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(keyECDSA string) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetFreezeBlocksPeriod

func (m *Params) GetFreezeBlocksPeriod() uint64

func (*Params) GetIsUpdateRequired

func (m *Params) GetIsUpdateRequired() bool

func (*Params) GetKeyECDSA

func (m *Params) GetKeyECDSA() string

func (*Params) GetLastSignature

func (m *Params) GetLastSignature() string

func (*Params) GetMaxViolationsCount

func (m *Params) GetMaxViolationsCount() uint64

func (*Params) GetParties

func (m *Params) GetParties() []*Party

func (*Params) GetStakeAmount

func (m *Params) GetStakeAmount() string

func (*Params) GetStakeDenom

func (m *Params) GetStakeDenom() string

func (*Params) GetThreshold

func (m *Params) GetThreshold() uint64

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

type ParamsUpdateType int32
const (
	ParamsUpdateType_CHANGE_SET ParamsUpdateType = 0
	ParamsUpdateType_OTHER      ParamsUpdateType = 1
)

func (ParamsUpdateType) EnumDescriptor

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

func (ParamsUpdateType) String

func (x ParamsUpdateType) String() string

type Party

type Party struct {
	// PublicKey in hex format
	PubKey string `protobuf:"bytes,1,opt,name=pubKey,proto3" json:"pubKey,omitempty"`
	// Server address connect to
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// Rarimo core account
	Account         string      `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	Status          PartyStatus `protobuf:"varint,4,opt,name=status,proto3,enum=rarimo.rarimocore.rarimocore.PartyStatus" json:"status,omitempty"`
	ViolationsCount uint64      `protobuf:"varint,5,opt,name=violationsCount,proto3" json:"violationsCount,omitempty"`
	FreezeEndBlock  uint64      `protobuf:"varint,6,opt,name=freezeEndBlock,proto3" json:"freezeEndBlock,omitempty"`
	Delegator       string      `protobuf:"bytes,7,opt,name=delegator,proto3" json:"delegator,omitempty"`
	// service information used in initial setup
	CommittedGlobalPublicKey string `protobuf:"bytes,8,opt,name=committedGlobalPublicKey,proto3" json:"committedGlobalPublicKey,omitempty"`
	// session where party was reported and violations count was incremented
	ReportedSessions []string `protobuf:"bytes,9,rep,name=reportedSessions,proto3" json:"reportedSessions,omitempty"`
}

func (*Party) Descriptor

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

func (*Party) GetAccount

func (m *Party) GetAccount() string

func (*Party) GetAddress

func (m *Party) GetAddress() string

func (*Party) GetCommittedGlobalPublicKey

func (m *Party) GetCommittedGlobalPublicKey() string

func (*Party) GetDelegator

func (m *Party) GetDelegator() string

func (*Party) GetFreezeEndBlock

func (m *Party) GetFreezeEndBlock() uint64

func (*Party) GetPubKey

func (m *Party) GetPubKey() string

func (*Party) GetReportedSessions

func (m *Party) GetReportedSessions() []string

func (*Party) GetStatus

func (m *Party) GetStatus() PartyStatus

func (*Party) GetViolationsCount

func (m *Party) GetViolationsCount() uint64

func (*Party) Marshal

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

func (*Party) MarshalTo

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

func (*Party) MarshalToSizedBuffer

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

func (*Party) ProtoMessage

func (*Party) ProtoMessage()

func (*Party) Reset

func (m *Party) Reset()

func (*Party) Size

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

func (*Party) String

func (m *Party) String() string

func (*Party) Unmarshal

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

func (*Party) XXX_DiscardUnknown

func (m *Party) XXX_DiscardUnknown()

func (*Party) XXX_Marshal

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

func (*Party) XXX_Merge

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

func (*Party) XXX_Size

func (m *Party) XXX_Size() int

func (*Party) XXX_Unmarshal

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

type PartyStatus

type PartyStatus int32
const (
	PartyStatus_Active   PartyStatus = 0
	PartyStatus_Frozen   PartyStatus = 1
	PartyStatus_Slashed  PartyStatus = 2
	PartyStatus_Inactive PartyStatus = 3
)

func (PartyStatus) EnumDescriptor

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

func (PartyStatus) String

func (x PartyStatus) String() string

type QueryAllConfirmationRequest

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

func (*QueryAllConfirmationRequest) Descriptor

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

func (*QueryAllConfirmationRequest) GetPagination

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

func (*QueryAllConfirmationRequest) Marshal

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

func (*QueryAllConfirmationRequest) MarshalTo

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

func (*QueryAllConfirmationRequest) MarshalToSizedBuffer

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

func (*QueryAllConfirmationRequest) ProtoMessage

func (*QueryAllConfirmationRequest) ProtoMessage()

func (*QueryAllConfirmationRequest) Reset

func (m *QueryAllConfirmationRequest) Reset()

func (*QueryAllConfirmationRequest) Size

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

func (*QueryAllConfirmationRequest) String

func (m *QueryAllConfirmationRequest) String() string

func (*QueryAllConfirmationRequest) Unmarshal

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

func (*QueryAllConfirmationRequest) XXX_DiscardUnknown

func (m *QueryAllConfirmationRequest) XXX_DiscardUnknown()

func (*QueryAllConfirmationRequest) XXX_Marshal

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

func (*QueryAllConfirmationRequest) XXX_Merge

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

func (*QueryAllConfirmationRequest) XXX_Size

func (m *QueryAllConfirmationRequest) XXX_Size() int

func (*QueryAllConfirmationRequest) XXX_Unmarshal

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

type QueryAllConfirmationResponse

type QueryAllConfirmationResponse struct {
	Confirmation []Confirmation      `protobuf:"bytes,1,rep,name=confirmation,proto3" json:"confirmation"`
	Pagination   *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllConfirmationResponse) Descriptor

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

func (*QueryAllConfirmationResponse) GetConfirmation

func (m *QueryAllConfirmationResponse) GetConfirmation() []Confirmation

func (*QueryAllConfirmationResponse) GetPagination

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

func (*QueryAllConfirmationResponse) Marshal

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

func (*QueryAllConfirmationResponse) MarshalTo

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

func (*QueryAllConfirmationResponse) MarshalToSizedBuffer

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

func (*QueryAllConfirmationResponse) ProtoMessage

func (*QueryAllConfirmationResponse) ProtoMessage()

func (*QueryAllConfirmationResponse) Reset

func (m *QueryAllConfirmationResponse) Reset()

func (*QueryAllConfirmationResponse) Size

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

func (*QueryAllConfirmationResponse) String

func (*QueryAllConfirmationResponse) Unmarshal

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

func (*QueryAllConfirmationResponse) XXX_DiscardUnknown

func (m *QueryAllConfirmationResponse) XXX_DiscardUnknown()

func (*QueryAllConfirmationResponse) XXX_Marshal

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

func (*QueryAllConfirmationResponse) XXX_Merge

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

func (*QueryAllConfirmationResponse) XXX_Size

func (m *QueryAllConfirmationResponse) XXX_Size() int

func (*QueryAllConfirmationResponse) XXX_Unmarshal

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

type QueryAllOperationRequest

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

func (*QueryAllOperationRequest) Descriptor

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

func (*QueryAllOperationRequest) GetPagination

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

func (*QueryAllOperationRequest) Marshal

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

func (*QueryAllOperationRequest) MarshalTo

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

func (*QueryAllOperationRequest) MarshalToSizedBuffer

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

func (*QueryAllOperationRequest) ProtoMessage

func (*QueryAllOperationRequest) ProtoMessage()

func (*QueryAllOperationRequest) Reset

func (m *QueryAllOperationRequest) Reset()

func (*QueryAllOperationRequest) Size

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

func (*QueryAllOperationRequest) String

func (m *QueryAllOperationRequest) String() string

func (*QueryAllOperationRequest) Unmarshal

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

func (*QueryAllOperationRequest) XXX_DiscardUnknown

func (m *QueryAllOperationRequest) XXX_DiscardUnknown()

func (*QueryAllOperationRequest) XXX_Marshal

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

func (*QueryAllOperationRequest) XXX_Merge

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

func (*QueryAllOperationRequest) XXX_Size

func (m *QueryAllOperationRequest) XXX_Size() int

func (*QueryAllOperationRequest) XXX_Unmarshal

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

type QueryAllOperationResponse

type QueryAllOperationResponse struct {
	Operation  []Operation         `protobuf:"bytes,1,rep,name=operation,proto3" json:"operation"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllOperationResponse) Descriptor

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

func (*QueryAllOperationResponse) GetOperation

func (m *QueryAllOperationResponse) GetOperation() []Operation

func (*QueryAllOperationResponse) GetPagination

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

func (*QueryAllOperationResponse) Marshal

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

func (*QueryAllOperationResponse) MarshalTo

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

func (*QueryAllOperationResponse) MarshalToSizedBuffer

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

func (*QueryAllOperationResponse) ProtoMessage

func (*QueryAllOperationResponse) ProtoMessage()

func (*QueryAllOperationResponse) Reset

func (m *QueryAllOperationResponse) Reset()

func (*QueryAllOperationResponse) Size

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

func (*QueryAllOperationResponse) String

func (m *QueryAllOperationResponse) String() string

func (*QueryAllOperationResponse) Unmarshal

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

func (*QueryAllOperationResponse) XXX_DiscardUnknown

func (m *QueryAllOperationResponse) XXX_DiscardUnknown()

func (*QueryAllOperationResponse) XXX_Marshal

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

func (*QueryAllOperationResponse) XXX_Merge

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

func (*QueryAllOperationResponse) XXX_Size

func (m *QueryAllOperationResponse) XXX_Size() int

func (*QueryAllOperationResponse) XXX_Unmarshal

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

type QueryAllViolationReportRequest

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

func (*QueryAllViolationReportRequest) Descriptor

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

func (*QueryAllViolationReportRequest) GetPagination

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

func (*QueryAllViolationReportRequest) Marshal

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

func (*QueryAllViolationReportRequest) MarshalTo

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

func (*QueryAllViolationReportRequest) MarshalToSizedBuffer

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

func (*QueryAllViolationReportRequest) ProtoMessage

func (*QueryAllViolationReportRequest) ProtoMessage()

func (*QueryAllViolationReportRequest) Reset

func (m *QueryAllViolationReportRequest) Reset()

func (*QueryAllViolationReportRequest) Size

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

func (*QueryAllViolationReportRequest) String

func (*QueryAllViolationReportRequest) Unmarshal

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

func (*QueryAllViolationReportRequest) XXX_DiscardUnknown

func (m *QueryAllViolationReportRequest) XXX_DiscardUnknown()

func (*QueryAllViolationReportRequest) XXX_Marshal

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

func (*QueryAllViolationReportRequest) XXX_Merge

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

func (*QueryAllViolationReportRequest) XXX_Size

func (m *QueryAllViolationReportRequest) XXX_Size() int

func (*QueryAllViolationReportRequest) XXX_Unmarshal

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

type QueryAllViolationReportResponse

type QueryAllViolationReportResponse struct {
	ViolationReport []ViolationReport   `protobuf:"bytes,1,rep,name=violationReport,proto3" json:"violationReport"`
	Pagination      *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllViolationReportResponse) Descriptor

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

func (*QueryAllViolationReportResponse) GetPagination

func (*QueryAllViolationReportResponse) GetViolationReport

func (m *QueryAllViolationReportResponse) GetViolationReport() []ViolationReport

func (*QueryAllViolationReportResponse) Marshal

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

func (*QueryAllViolationReportResponse) MarshalTo

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

func (*QueryAllViolationReportResponse) MarshalToSizedBuffer

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

func (*QueryAllViolationReportResponse) ProtoMessage

func (*QueryAllViolationReportResponse) ProtoMessage()

func (*QueryAllViolationReportResponse) Reset

func (*QueryAllViolationReportResponse) Size

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

func (*QueryAllViolationReportResponse) String

func (*QueryAllViolationReportResponse) Unmarshal

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

func (*QueryAllViolationReportResponse) XXX_DiscardUnknown

func (m *QueryAllViolationReportResponse) XXX_DiscardUnknown()

func (*QueryAllViolationReportResponse) XXX_Marshal

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

func (*QueryAllViolationReportResponse) XXX_Merge

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

func (*QueryAllViolationReportResponse) XXX_Size

func (m *QueryAllViolationReportResponse) XXX_Size() int

func (*QueryAllViolationReportResponse) XXX_Unmarshal

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

type QueryAllVoteRequest

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

func (*QueryAllVoteRequest) Descriptor

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

func (*QueryAllVoteRequest) GetPagination

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

func (*QueryAllVoteRequest) Marshal

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

func (*QueryAllVoteRequest) MarshalTo

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

func (*QueryAllVoteRequest) MarshalToSizedBuffer

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

func (*QueryAllVoteRequest) ProtoMessage

func (*QueryAllVoteRequest) ProtoMessage()

func (*QueryAllVoteRequest) Reset

func (m *QueryAllVoteRequest) Reset()

func (*QueryAllVoteRequest) Size

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

func (*QueryAllVoteRequest) String

func (m *QueryAllVoteRequest) String() string

func (*QueryAllVoteRequest) Unmarshal

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

func (*QueryAllVoteRequest) XXX_DiscardUnknown

func (m *QueryAllVoteRequest) XXX_DiscardUnknown()

func (*QueryAllVoteRequest) XXX_Marshal

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

func (*QueryAllVoteRequest) XXX_Merge

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

func (*QueryAllVoteRequest) XXX_Size

func (m *QueryAllVoteRequest) XXX_Size() int

func (*QueryAllVoteRequest) XXX_Unmarshal

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

type QueryAllVoteResponse

type QueryAllVoteResponse struct {
	Vote       []Vote              `protobuf:"bytes,1,rep,name=vote,proto3" json:"vote"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllVoteResponse) Descriptor

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

func (*QueryAllVoteResponse) GetPagination

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

func (*QueryAllVoteResponse) GetVote

func (m *QueryAllVoteResponse) GetVote() []Vote

func (*QueryAllVoteResponse) Marshal

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

func (*QueryAllVoteResponse) MarshalTo

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

func (*QueryAllVoteResponse) MarshalToSizedBuffer

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

func (*QueryAllVoteResponse) ProtoMessage

func (*QueryAllVoteResponse) ProtoMessage()

func (*QueryAllVoteResponse) Reset

func (m *QueryAllVoteResponse) Reset()

func (*QueryAllVoteResponse) Size

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

func (*QueryAllVoteResponse) String

func (m *QueryAllVoteResponse) String() string

func (*QueryAllVoteResponse) Unmarshal

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

func (*QueryAllVoteResponse) XXX_DiscardUnknown

func (m *QueryAllVoteResponse) XXX_DiscardUnknown()

func (*QueryAllVoteResponse) XXX_Marshal

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

func (*QueryAllVoteResponse) XXX_Merge

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

func (*QueryAllVoteResponse) XXX_Size

func (m *QueryAllVoteResponse) XXX_Size() int

func (*QueryAllVoteResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a Deposit by index.
	Operation(ctx context.Context, in *QueryGetOperationRequest, opts ...grpc.CallOption) (*QueryGetOperationResponse, error)
	// Queries a list of Deposit items.
	OperationAll(ctx context.Context, in *QueryAllOperationRequest, opts ...grpc.CallOption) (*QueryAllOperationResponse, error)
	// Queries a Confirmation by index.
	Confirmation(ctx context.Context, in *QueryGetConfirmationRequest, opts ...grpc.CallOption) (*QueryGetConfirmationResponse, error)
	// Queries a list of Confirmation items.
	ConfirmationAll(ctx context.Context, in *QueryAllConfirmationRequest, opts ...grpc.CallOption) (*QueryAllConfirmationResponse, error)
	// Queries a Vote by index.
	Vote(ctx context.Context, in *QueryGetVoteRequest, opts ...grpc.CallOption) (*QueryGetVoteResponse, error)
	// Queries a list of Confirmation items.
	VoteAll(ctx context.Context, in *QueryAllVoteRequest, opts ...grpc.CallOption) (*QueryAllVoteResponse, error)
	ViolationReport(ctx context.Context, in *QueryGetViolationReportRequest, opts ...grpc.CallOption) (*QueryGetViolationReportResponse, error)
	ViolationReportAll(ctx context.Context, in *QueryAllViolationReportRequest, opts ...grpc.CallOption) (*QueryAllViolationReportResponse, error)
	OperationProof(ctx context.Context, in *QueryGetOperationProofRequest, opts ...grpc.CallOption) (*QueryGetOperationProofResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetConfirmationRequest

type QueryGetConfirmationRequest struct {
	Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
}

func (*QueryGetConfirmationRequest) Descriptor

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

func (*QueryGetConfirmationRequest) GetRoot

func (m *QueryGetConfirmationRequest) GetRoot() string

func (*QueryGetConfirmationRequest) Marshal

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

func (*QueryGetConfirmationRequest) MarshalTo

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

func (*QueryGetConfirmationRequest) MarshalToSizedBuffer

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

func (*QueryGetConfirmationRequest) ProtoMessage

func (*QueryGetConfirmationRequest) ProtoMessage()

func (*QueryGetConfirmationRequest) Reset

func (m *QueryGetConfirmationRequest) Reset()

func (*QueryGetConfirmationRequest) Size

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

func (*QueryGetConfirmationRequest) String

func (m *QueryGetConfirmationRequest) String() string

func (*QueryGetConfirmationRequest) Unmarshal

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

func (*QueryGetConfirmationRequest) XXX_DiscardUnknown

func (m *QueryGetConfirmationRequest) XXX_DiscardUnknown()

func (*QueryGetConfirmationRequest) XXX_Marshal

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

func (*QueryGetConfirmationRequest) XXX_Merge

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

func (*QueryGetConfirmationRequest) XXX_Size

func (m *QueryGetConfirmationRequest) XXX_Size() int

func (*QueryGetConfirmationRequest) XXX_Unmarshal

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

type QueryGetConfirmationResponse

type QueryGetConfirmationResponse struct {
	Confirmation Confirmation `protobuf:"bytes,1,opt,name=confirmation,proto3" json:"confirmation"`
}

func (*QueryGetConfirmationResponse) Descriptor

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

func (*QueryGetConfirmationResponse) GetConfirmation

func (m *QueryGetConfirmationResponse) GetConfirmation() Confirmation

func (*QueryGetConfirmationResponse) Marshal

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

func (*QueryGetConfirmationResponse) MarshalTo

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

func (*QueryGetConfirmationResponse) MarshalToSizedBuffer

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

func (*QueryGetConfirmationResponse) ProtoMessage

func (*QueryGetConfirmationResponse) ProtoMessage()

func (*QueryGetConfirmationResponse) Reset

func (m *QueryGetConfirmationResponse) Reset()

func (*QueryGetConfirmationResponse) Size

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

func (*QueryGetConfirmationResponse) String

func (*QueryGetConfirmationResponse) Unmarshal

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

func (*QueryGetConfirmationResponse) XXX_DiscardUnknown

func (m *QueryGetConfirmationResponse) XXX_DiscardUnknown()

func (*QueryGetConfirmationResponse) XXX_Marshal

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

func (*QueryGetConfirmationResponse) XXX_Merge

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

func (*QueryGetConfirmationResponse) XXX_Size

func (m *QueryGetConfirmationResponse) XXX_Size() int

func (*QueryGetConfirmationResponse) XXX_Unmarshal

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

type QueryGetOperationProofRequest

type QueryGetOperationProofRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

Will be removed in future. Builds Merkle proof for certain operation using confirmation info. Be careful: if any operation from confirmation set is no SIGNED now, will fail.

func (*QueryGetOperationProofRequest) Descriptor

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

func (*QueryGetOperationProofRequest) GetIndex

func (m *QueryGetOperationProofRequest) GetIndex() string

func (*QueryGetOperationProofRequest) Marshal

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

func (*QueryGetOperationProofRequest) MarshalTo

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

func (*QueryGetOperationProofRequest) MarshalToSizedBuffer

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

func (*QueryGetOperationProofRequest) ProtoMessage

func (*QueryGetOperationProofRequest) ProtoMessage()

func (*QueryGetOperationProofRequest) Reset

func (m *QueryGetOperationProofRequest) Reset()

func (*QueryGetOperationProofRequest) Size

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

func (*QueryGetOperationProofRequest) String

func (*QueryGetOperationProofRequest) Unmarshal

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

func (*QueryGetOperationProofRequest) XXX_DiscardUnknown

func (m *QueryGetOperationProofRequest) XXX_DiscardUnknown()

func (*QueryGetOperationProofRequest) XXX_Marshal

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

func (*QueryGetOperationProofRequest) XXX_Merge

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

func (*QueryGetOperationProofRequest) XXX_Size

func (m *QueryGetOperationProofRequest) XXX_Size() int

func (*QueryGetOperationProofRequest) XXX_Unmarshal

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

type QueryGetOperationProofResponse

type QueryGetOperationProofResponse struct {
	Path      []string `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"`
	Signature string   `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*QueryGetOperationProofResponse) Descriptor

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

func (*QueryGetOperationProofResponse) GetPath

func (m *QueryGetOperationProofResponse) GetPath() []string

func (*QueryGetOperationProofResponse) GetSignature

func (m *QueryGetOperationProofResponse) GetSignature() string

func (*QueryGetOperationProofResponse) Marshal

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

func (*QueryGetOperationProofResponse) MarshalTo

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

func (*QueryGetOperationProofResponse) MarshalToSizedBuffer

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

func (*QueryGetOperationProofResponse) ProtoMessage

func (*QueryGetOperationProofResponse) ProtoMessage()

func (*QueryGetOperationProofResponse) Reset

func (m *QueryGetOperationProofResponse) Reset()

func (*QueryGetOperationProofResponse) Size

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

func (*QueryGetOperationProofResponse) String

func (*QueryGetOperationProofResponse) Unmarshal

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

func (*QueryGetOperationProofResponse) XXX_DiscardUnknown

func (m *QueryGetOperationProofResponse) XXX_DiscardUnknown()

func (*QueryGetOperationProofResponse) XXX_Marshal

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

func (*QueryGetOperationProofResponse) XXX_Merge

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

func (*QueryGetOperationProofResponse) XXX_Size

func (m *QueryGetOperationProofResponse) XXX_Size() int

func (*QueryGetOperationProofResponse) XXX_Unmarshal

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

type QueryGetOperationRequest

type QueryGetOperationRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetOperationRequest) Descriptor

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

func (*QueryGetOperationRequest) GetIndex

func (m *QueryGetOperationRequest) GetIndex() string

func (*QueryGetOperationRequest) Marshal

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

func (*QueryGetOperationRequest) MarshalTo

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

func (*QueryGetOperationRequest) MarshalToSizedBuffer

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

func (*QueryGetOperationRequest) ProtoMessage

func (*QueryGetOperationRequest) ProtoMessage()

func (*QueryGetOperationRequest) Reset

func (m *QueryGetOperationRequest) Reset()

func (*QueryGetOperationRequest) Size

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

func (*QueryGetOperationRequest) String

func (m *QueryGetOperationRequest) String() string

func (*QueryGetOperationRequest) Unmarshal

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

func (*QueryGetOperationRequest) XXX_DiscardUnknown

func (m *QueryGetOperationRequest) XXX_DiscardUnknown()

func (*QueryGetOperationRequest) XXX_Marshal

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

func (*QueryGetOperationRequest) XXX_Merge

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

func (*QueryGetOperationRequest) XXX_Size

func (m *QueryGetOperationRequest) XXX_Size() int

func (*QueryGetOperationRequest) XXX_Unmarshal

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

type QueryGetOperationResponse

type QueryGetOperationResponse struct {
	Operation Operation `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation"`
}

func (*QueryGetOperationResponse) Descriptor

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

func (*QueryGetOperationResponse) GetOperation

func (m *QueryGetOperationResponse) GetOperation() Operation

func (*QueryGetOperationResponse) Marshal

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

func (*QueryGetOperationResponse) MarshalTo

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

func (*QueryGetOperationResponse) MarshalToSizedBuffer

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

func (*QueryGetOperationResponse) ProtoMessage

func (*QueryGetOperationResponse) ProtoMessage()

func (*QueryGetOperationResponse) Reset

func (m *QueryGetOperationResponse) Reset()

func (*QueryGetOperationResponse) Size

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

func (*QueryGetOperationResponse) String

func (m *QueryGetOperationResponse) String() string

func (*QueryGetOperationResponse) Unmarshal

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

func (*QueryGetOperationResponse) XXX_DiscardUnknown

func (m *QueryGetOperationResponse) XXX_DiscardUnknown()

func (*QueryGetOperationResponse) XXX_Marshal

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

func (*QueryGetOperationResponse) XXX_Merge

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

func (*QueryGetOperationResponse) XXX_Size

func (m *QueryGetOperationResponse) XXX_Size() int

func (*QueryGetOperationResponse) XXX_Unmarshal

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

type QueryGetViolationReportRequest

type QueryGetViolationReportRequest struct {
	SessionId     string        `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	Offender      string        `protobuf:"bytes,2,opt,name=offender,proto3" json:"offender,omitempty"`
	ViolationType ViolationType `` /* 128-byte string literal not displayed */
	Sender        string        `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
}

func (*QueryGetViolationReportRequest) Descriptor

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

func (*QueryGetViolationReportRequest) GetOffender

func (m *QueryGetViolationReportRequest) GetOffender() string

func (*QueryGetViolationReportRequest) GetSender

func (m *QueryGetViolationReportRequest) GetSender() string

func (*QueryGetViolationReportRequest) GetSessionId

func (m *QueryGetViolationReportRequest) GetSessionId() string

func (*QueryGetViolationReportRequest) GetViolationType

func (m *QueryGetViolationReportRequest) GetViolationType() ViolationType

func (*QueryGetViolationReportRequest) Marshal

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

func (*QueryGetViolationReportRequest) MarshalTo

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

func (*QueryGetViolationReportRequest) MarshalToSizedBuffer

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

func (*QueryGetViolationReportRequest) ProtoMessage

func (*QueryGetViolationReportRequest) ProtoMessage()

func (*QueryGetViolationReportRequest) Reset

func (m *QueryGetViolationReportRequest) Reset()

func (*QueryGetViolationReportRequest) Size

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

func (*QueryGetViolationReportRequest) String

func (*QueryGetViolationReportRequest) Unmarshal

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

func (*QueryGetViolationReportRequest) XXX_DiscardUnknown

func (m *QueryGetViolationReportRequest) XXX_DiscardUnknown()

func (*QueryGetViolationReportRequest) XXX_Marshal

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

func (*QueryGetViolationReportRequest) XXX_Merge

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

func (*QueryGetViolationReportRequest) XXX_Size

func (m *QueryGetViolationReportRequest) XXX_Size() int

func (*QueryGetViolationReportRequest) XXX_Unmarshal

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

type QueryGetViolationReportResponse

type QueryGetViolationReportResponse struct {
	ViolationReport ViolationReport `protobuf:"bytes,1,opt,name=violationReport,proto3" json:"violationReport"`
}

func (*QueryGetViolationReportResponse) Descriptor

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

func (*QueryGetViolationReportResponse) GetViolationReport

func (m *QueryGetViolationReportResponse) GetViolationReport() ViolationReport

func (*QueryGetViolationReportResponse) Marshal

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

func (*QueryGetViolationReportResponse) MarshalTo

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

func (*QueryGetViolationReportResponse) MarshalToSizedBuffer

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

func (*QueryGetViolationReportResponse) ProtoMessage

func (*QueryGetViolationReportResponse) ProtoMessage()

func (*QueryGetViolationReportResponse) Reset

func (*QueryGetViolationReportResponse) Size

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

func (*QueryGetViolationReportResponse) String

func (*QueryGetViolationReportResponse) Unmarshal

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

func (*QueryGetViolationReportResponse) XXX_DiscardUnknown

func (m *QueryGetViolationReportResponse) XXX_DiscardUnknown()

func (*QueryGetViolationReportResponse) XXX_Marshal

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

func (*QueryGetViolationReportResponse) XXX_Merge

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

func (*QueryGetViolationReportResponse) XXX_Size

func (m *QueryGetViolationReportResponse) XXX_Size() int

func (*QueryGetViolationReportResponse) XXX_Unmarshal

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

type QueryGetVoteRequest

type QueryGetVoteRequest struct {
	Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
}

func (*QueryGetVoteRequest) Descriptor

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

func (*QueryGetVoteRequest) GetOperation

func (m *QueryGetVoteRequest) GetOperation() string

func (*QueryGetVoteRequest) GetValidator

func (m *QueryGetVoteRequest) GetValidator() string

func (*QueryGetVoteRequest) Marshal

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

func (*QueryGetVoteRequest) MarshalTo

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

func (*QueryGetVoteRequest) MarshalToSizedBuffer

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

func (*QueryGetVoteRequest) ProtoMessage

func (*QueryGetVoteRequest) ProtoMessage()

func (*QueryGetVoteRequest) Reset

func (m *QueryGetVoteRequest) Reset()

func (*QueryGetVoteRequest) Size

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

func (*QueryGetVoteRequest) String

func (m *QueryGetVoteRequest) String() string

func (*QueryGetVoteRequest) Unmarshal

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

func (*QueryGetVoteRequest) XXX_DiscardUnknown

func (m *QueryGetVoteRequest) XXX_DiscardUnknown()

func (*QueryGetVoteRequest) XXX_Marshal

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

func (*QueryGetVoteRequest) XXX_Merge

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

func (*QueryGetVoteRequest) XXX_Size

func (m *QueryGetVoteRequest) XXX_Size() int

func (*QueryGetVoteRequest) XXX_Unmarshal

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

type QueryGetVoteResponse

type QueryGetVoteResponse struct {
	Vote Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote"`
}

func (*QueryGetVoteResponse) Descriptor

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

func (*QueryGetVoteResponse) GetVote

func (m *QueryGetVoteResponse) GetVote() Vote

func (*QueryGetVoteResponse) Marshal

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

func (*QueryGetVoteResponse) MarshalTo

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

func (*QueryGetVoteResponse) MarshalToSizedBuffer

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

func (*QueryGetVoteResponse) ProtoMessage

func (*QueryGetVoteResponse) ProtoMessage()

func (*QueryGetVoteResponse) Reset

func (m *QueryGetVoteResponse) Reset()

func (*QueryGetVoteResponse) Size

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

func (*QueryGetVoteResponse) String

func (m *QueryGetVoteResponse) String() string

func (*QueryGetVoteResponse) Unmarshal

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

func (*QueryGetVoteResponse) XXX_DiscardUnknown

func (m *QueryGetVoteResponse) XXX_DiscardUnknown()

func (*QueryGetVoteResponse) XXX_Marshal

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

func (*QueryGetVoteResponse) XXX_Merge

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

func (*QueryGetVoteResponse) XXX_Size

func (m *QueryGetVoteResponse) XXX_Size() int

func (*QueryGetVoteResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

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"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

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 QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a Deposit by index.
	Operation(context.Context, *QueryGetOperationRequest) (*QueryGetOperationResponse, error)
	// Queries a list of Deposit items.
	OperationAll(context.Context, *QueryAllOperationRequest) (*QueryAllOperationResponse, error)
	// Queries a Confirmation by index.
	Confirmation(context.Context, *QueryGetConfirmationRequest) (*QueryGetConfirmationResponse, error)
	// Queries a list of Confirmation items.
	ConfirmationAll(context.Context, *QueryAllConfirmationRequest) (*QueryAllConfirmationResponse, error)
	// Queries a Vote by index.
	Vote(context.Context, *QueryGetVoteRequest) (*QueryGetVoteResponse, error)
	// Queries a list of Confirmation items.
	VoteAll(context.Context, *QueryAllVoteRequest) (*QueryAllVoteResponse, error)
	ViolationReport(context.Context, *QueryGetViolationReportRequest) (*QueryGetViolationReportResponse, error)
	ViolationReportAll(context.Context, *QueryAllViolationReportRequest) (*QueryAllViolationReportResponse, error)
	OperationProof(context.Context, *QueryGetOperationProofRequest) (*QueryGetOperationProofResponse, error)
}

QueryServer is the server API for Query service.

type ReshareKeysProposal

type ReshareKeysProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*ReshareKeysProposal) Descriptor

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

func (*ReshareKeysProposal) GetDescription

func (m *ReshareKeysProposal) GetDescription() string

func (*ReshareKeysProposal) GetTitle

func (m *ReshareKeysProposal) GetTitle() string

func (*ReshareKeysProposal) Marshal

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

func (*ReshareKeysProposal) MarshalTo

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

func (*ReshareKeysProposal) MarshalToSizedBuffer

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

func (*ReshareKeysProposal) ProposalRoute

func (m *ReshareKeysProposal) ProposalRoute() string

func (*ReshareKeysProposal) ProposalType

func (m *ReshareKeysProposal) ProposalType() string

func (*ReshareKeysProposal) ProtoMessage

func (*ReshareKeysProposal) ProtoMessage()

func (*ReshareKeysProposal) Reset

func (m *ReshareKeysProposal) Reset()

func (*ReshareKeysProposal) Size

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

func (*ReshareKeysProposal) String

func (m *ReshareKeysProposal) String() string

func (*ReshareKeysProposal) Unmarshal

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

func (*ReshareKeysProposal) ValidateBasic

func (m *ReshareKeysProposal) ValidateBasic() error

func (*ReshareKeysProposal) XXX_DiscardUnknown

func (m *ReshareKeysProposal) XXX_DiscardUnknown()

func (*ReshareKeysProposal) XXX_Marshal

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

func (*ReshareKeysProposal) XXX_Merge

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

func (*ReshareKeysProposal) XXX_Size

func (m *ReshareKeysProposal) XXX_Size() int

func (*ReshareKeysProposal) XXX_Unmarshal

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

type SlashProposal

type SlashProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Party       string `protobuf:"bytes,3,opt,name=party,proto3" json:"party,omitempty"`
}

func (*SlashProposal) Descriptor

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

func (*SlashProposal) GetDescription

func (m *SlashProposal) GetDescription() string

func (*SlashProposal) GetParty

func (m *SlashProposal) GetParty() string

func (*SlashProposal) GetTitle

func (m *SlashProposal) GetTitle() string

func (*SlashProposal) Marshal

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

func (*SlashProposal) MarshalTo

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

func (*SlashProposal) MarshalToSizedBuffer

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

func (*SlashProposal) ProposalRoute

func (m *SlashProposal) ProposalRoute() string

func (*SlashProposal) ProposalType

func (m *SlashProposal) ProposalType() string

func (*SlashProposal) ProtoMessage

func (*SlashProposal) ProtoMessage()

func (*SlashProposal) Reset

func (m *SlashProposal) Reset()

func (*SlashProposal) Size

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

func (*SlashProposal) String

func (m *SlashProposal) String() string

func (*SlashProposal) Unmarshal

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

func (*SlashProposal) ValidateBasic

func (m *SlashProposal) ValidateBasic() error

func (*SlashProposal) XXX_DiscardUnknown

func (m *SlashProposal) XXX_DiscardUnknown()

func (*SlashProposal) XXX_Marshal

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

func (*SlashProposal) XXX_Merge

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

func (*SlashProposal) XXX_Size

func (m *SlashProposal) XXX_Size() int

func (*SlashProposal) XXX_Unmarshal

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

type StakingKeeper

type StakingKeeper interface {
	Validator(ctx sdk.Context, address sdk.ValAddress) stakingtypes.ValidatorI
}

StakingKeeper defines the expected interface needed to retrieve validator account.

type TokenmanagerKeeper

type TokenmanagerKeeper interface {
	GetCollectionData(ctx sdk.Context, index *tokenmanagertypes.CollectionDataIndex) (tokenmanagertypes.CollectionData, bool)
	GetCollection(ctx sdk.Context, index string) (tokenmanagertypes.Collection, bool)
	GetOnChainItem(ctx sdk.Context, index *tokenmanagertypes.OnChainItemIndex) (tokenmanagertypes.OnChainItem, bool)
	SetOnChainItem(ctx sdk.Context, item tokenmanagertypes.OnChainItem)
	GetItem(ctx sdk.Context, index string) (tokenmanagertypes.Item, bool)
	SetItem(ctx sdk.Context, item tokenmanagertypes.Item)
	GetNetwork(ctx sdk.Context, name string) (tokenmanagertypes.Network, bool)
	GetSeed(ctx sdk.Context, seed string) (tokenmanagertypes.Seed, bool)
	SetSeed(ctx sdk.Context, seed tokenmanagertypes.Seed)
}

TokenmanagerKeeper defines the expected interface needed to retrieve token and collection data.

type Transfer

type Transfer struct {
	// hex-encoded keccak256 hash for tx||event||chain strings' bytes
	Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
	// Deposit transaction data
	Tx      string `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"`
	EventId string `protobuf:"bytes,3,opt,name=eventId,proto3" json:"eventId,omitempty"`
	Sender  string `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
	// hex-encoded
	Receiver string `protobuf:"bytes,5,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// dec-encoded
	Amount string `protobuf:"bytes,6,opt,name=amount,proto3" json:"amount,omitempty"`
	// hex-encoded
	BundleData string `protobuf:"bytes,7,opt,name=bundleData,proto3" json:"bundleData,omitempty"`
	// hex-encoded
	BundleSalt string `protobuf:"bytes,8,opt,name=bundleSalt,proto3" json:"bundleSalt,omitempty"`
	// Information about current and target chains
	From types.OnChainItemIndex `protobuf:"bytes,9,opt,name=from,proto3" json:"from"`
	To   types.OnChainItemIndex `protobuf:"bytes,10,opt,name=to,proto3" json:"to"`
	// Information about token
	Meta *types.ItemMetadata `protobuf:"bytes,11,opt,name=meta,proto3" json:"meta,omitempty"`
}

func (*Transfer) Descriptor

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

func (*Transfer) GetAmount

func (m *Transfer) GetAmount() string

func (*Transfer) GetBundleData

func (m *Transfer) GetBundleData() string

func (*Transfer) GetBundleSalt

func (m *Transfer) GetBundleSalt() string

func (*Transfer) GetEventId

func (m *Transfer) GetEventId() string

func (*Transfer) GetFrom

func (m *Transfer) GetFrom() types.OnChainItemIndex

func (*Transfer) GetMeta

func (m *Transfer) GetMeta() *types.ItemMetadata

func (*Transfer) GetOrigin

func (m *Transfer) GetOrigin() string

func (*Transfer) GetReceiver

func (m *Transfer) GetReceiver() string

func (*Transfer) GetSender

func (m *Transfer) GetSender() string

func (*Transfer) GetTo

func (m *Transfer) GetTo() types.OnChainItemIndex

func (*Transfer) GetTx

func (m *Transfer) GetTx() string

func (*Transfer) Marshal

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

func (*Transfer) MarshalTo

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

func (*Transfer) MarshalToSizedBuffer

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

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) Reset

func (m *Transfer) Reset()

func (*Transfer) Size

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

func (*Transfer) String

func (m *Transfer) String() string

func (*Transfer) Unmarshal

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

func (*Transfer) XXX_DiscardUnknown

func (m *Transfer) XXX_DiscardUnknown()

func (*Transfer) XXX_Marshal

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

func (*Transfer) XXX_Merge

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

func (*Transfer) XXX_Size

func (m *Transfer) XXX_Size() int

func (*Transfer) XXX_Unmarshal

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

type UnfreezeSignerPartyProposal

type UnfreezeSignerPartyProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Account     string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
}

func (*UnfreezeSignerPartyProposal) Descriptor

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

func (*UnfreezeSignerPartyProposal) GetAccount

func (m *UnfreezeSignerPartyProposal) GetAccount() string

func (*UnfreezeSignerPartyProposal) GetDescription

func (m *UnfreezeSignerPartyProposal) GetDescription() string

func (*UnfreezeSignerPartyProposal) GetTitle

func (m *UnfreezeSignerPartyProposal) GetTitle() string

func (*UnfreezeSignerPartyProposal) Marshal

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

func (*UnfreezeSignerPartyProposal) MarshalTo

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

func (*UnfreezeSignerPartyProposal) MarshalToSizedBuffer

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

func (*UnfreezeSignerPartyProposal) ProposalRoute

func (m *UnfreezeSignerPartyProposal) ProposalRoute() string

func (*UnfreezeSignerPartyProposal) ProposalType

func (m *UnfreezeSignerPartyProposal) ProposalType() string

func (*UnfreezeSignerPartyProposal) ProtoMessage

func (*UnfreezeSignerPartyProposal) ProtoMessage()

func (*UnfreezeSignerPartyProposal) Reset

func (m *UnfreezeSignerPartyProposal) Reset()

func (*UnfreezeSignerPartyProposal) Size

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

func (*UnfreezeSignerPartyProposal) String

func (m *UnfreezeSignerPartyProposal) String() string

func (*UnfreezeSignerPartyProposal) Unmarshal

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

func (*UnfreezeSignerPartyProposal) ValidateBasic

func (m *UnfreezeSignerPartyProposal) ValidateBasic() error

func (*UnfreezeSignerPartyProposal) XXX_DiscardUnknown

func (m *UnfreezeSignerPartyProposal) XXX_DiscardUnknown()

func (*UnfreezeSignerPartyProposal) XXX_Marshal

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

func (*UnfreezeSignerPartyProposal) XXX_Merge

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

func (*UnfreezeSignerPartyProposal) XXX_Size

func (m *UnfreezeSignerPartyProposal) XXX_Size() int

func (*UnfreezeSignerPartyProposal) XXX_Unmarshal

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ChangePartyAddress

func (*UnimplementedMsgServer) CreateChangePartiesOperation

func (*UnimplementedMsgServer) CreateConfirmation

func (*UnimplementedMsgServer) ReportViolation

func (*UnimplementedMsgServer) Resign

func (*UnimplementedMsgServer) SetupInitial

func (*UnimplementedMsgServer) Stake

func (*UnimplementedMsgServer) Unstake

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Confirmation

func (*UnimplementedQueryServer) ConfirmationAll

func (*UnimplementedQueryServer) Operation

func (*UnimplementedQueryServer) OperationAll

func (*UnimplementedQueryServer) OperationProof

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ViolationReport

func (*UnimplementedQueryServer) ViolationReportAll

func (*UnimplementedQueryServer) Vote

func (*UnimplementedQueryServer) VoteAll

type ViolationReport

type ViolationReport struct {
	Index *ViolationReportIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	// Optional message
	Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*ViolationReport) Descriptor

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

func (*ViolationReport) GetIndex

func (m *ViolationReport) GetIndex() *ViolationReportIndex

func (*ViolationReport) GetMsg

func (m *ViolationReport) GetMsg() string

func (*ViolationReport) Marshal

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

func (*ViolationReport) MarshalTo

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

func (*ViolationReport) MarshalToSizedBuffer

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

func (*ViolationReport) ProtoMessage

func (*ViolationReport) ProtoMessage()

func (*ViolationReport) Reset

func (m *ViolationReport) Reset()

func (*ViolationReport) Size

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

func (*ViolationReport) String

func (m *ViolationReport) String() string

func (*ViolationReport) Unmarshal

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

func (*ViolationReport) XXX_DiscardUnknown

func (m *ViolationReport) XXX_DiscardUnknown()

func (*ViolationReport) XXX_Marshal

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

func (*ViolationReport) XXX_Merge

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

func (*ViolationReport) XXX_Size

func (m *ViolationReport) XXX_Size() int

func (*ViolationReport) XXX_Unmarshal

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

type ViolationReportIndex

type ViolationReportIndex struct {
	SessionId     string        `protobuf:"bytes,1,opt,name=sessionId,proto3" json:"sessionId,omitempty"`
	Offender      string        `protobuf:"bytes,2,opt,name=offender,proto3" json:"offender,omitempty"`
	ViolationType ViolationType `` /* 128-byte string literal not displayed */
	Sender        string        `protobuf:"bytes,4,opt,name=sender,proto3" json:"sender,omitempty"`
}

func NewViolationReportIndex

func NewViolationReportIndex(sessionId, offender, sender string, violationType ViolationType) *ViolationReportIndex

func (*ViolationReportIndex) Descriptor

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

func (*ViolationReportIndex) GetOffender

func (m *ViolationReportIndex) GetOffender() string

func (*ViolationReportIndex) GetSender

func (m *ViolationReportIndex) GetSender() string

func (*ViolationReportIndex) GetSessionId

func (m *ViolationReportIndex) GetSessionId() string

func (*ViolationReportIndex) GetViolationType

func (m *ViolationReportIndex) GetViolationType() ViolationType

func (*ViolationReportIndex) Marshal

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

func (*ViolationReportIndex) MarshalTo

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

func (*ViolationReportIndex) MarshalToSizedBuffer

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

func (*ViolationReportIndex) ProtoMessage

func (*ViolationReportIndex) ProtoMessage()

func (*ViolationReportIndex) Reset

func (m *ViolationReportIndex) Reset()

func (*ViolationReportIndex) Size

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

func (*ViolationReportIndex) String

func (m *ViolationReportIndex) String() string

func (*ViolationReportIndex) Unmarshal

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

func (*ViolationReportIndex) XXX_DiscardUnknown

func (m *ViolationReportIndex) XXX_DiscardUnknown()

func (*ViolationReportIndex) XXX_Marshal

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

func (*ViolationReportIndex) XXX_Merge

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

func (*ViolationReportIndex) XXX_Size

func (m *ViolationReportIndex) XXX_Size() int

func (*ViolationReportIndex) XXX_Unmarshal

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

type ViolationType

type ViolationType int32
const (
	ViolationType_Offline ViolationType = 0
	ViolationType_Spam    ViolationType = 1
	ViolationType_Other   ViolationType = 3
)

func (ViolationType) EnumDescriptor

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

func (ViolationType) String

func (x ViolationType) String() string

type Vote

type Vote struct {
	Index *VoteIndex `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Vote  VoteType   `protobuf:"varint,2,opt,name=vote,proto3,enum=rarimo.rarimocore.rarimocore.VoteType" json:"vote,omitempty"`
}

func (*Vote) Descriptor

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

func (*Vote) GetIndex

func (m *Vote) GetIndex() *VoteIndex

func (*Vote) GetVote

func (m *Vote) GetVote() VoteType

func (*Vote) Marshal

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

func (*Vote) MarshalTo

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

func (*Vote) MarshalToSizedBuffer

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

func (*Vote) ProtoMessage

func (*Vote) ProtoMessage()

func (*Vote) Reset

func (m *Vote) Reset()

func (*Vote) Size

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

func (*Vote) String

func (m *Vote) String() string

func (*Vote) Unmarshal

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

func (*Vote) XXX_DiscardUnknown

func (m *Vote) XXX_DiscardUnknown()

func (*Vote) XXX_Marshal

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

func (*Vote) XXX_Merge

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

func (*Vote) XXX_Size

func (m *Vote) XXX_Size() int

func (*Vote) XXX_Unmarshal

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

type VoteIndex

type VoteIndex struct {
	Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	Validator string `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator,omitempty"`
}

func (*VoteIndex) Descriptor

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

func (*VoteIndex) GetOperation

func (m *VoteIndex) GetOperation() string

func (*VoteIndex) GetValidator

func (m *VoteIndex) GetValidator() string

func (*VoteIndex) Marshal

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

func (*VoteIndex) MarshalTo

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

func (*VoteIndex) MarshalToSizedBuffer

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

func (*VoteIndex) ProtoMessage

func (*VoteIndex) ProtoMessage()

func (*VoteIndex) Reset

func (m *VoteIndex) Reset()

func (*VoteIndex) Size

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

func (*VoteIndex) String

func (m *VoteIndex) String() string

func (*VoteIndex) Unmarshal

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

func (*VoteIndex) XXX_DiscardUnknown

func (m *VoteIndex) XXX_DiscardUnknown()

func (*VoteIndex) XXX_Marshal

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

func (*VoteIndex) XXX_Merge

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

func (*VoteIndex) XXX_Size

func (m *VoteIndex) XXX_Size() int

func (*VoteIndex) XXX_Unmarshal

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

type VoteType

type VoteType int32
const (
	VoteType_YES VoteType = 0
	VoteType_NO  VoteType = 1
)

func (VoteType) EnumDescriptor

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

func (VoteType) String

func (x VoteType) String() string

type WorldCoinIdentityTransfer added in v1.1.0

type WorldCoinIdentityTransfer struct {
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Chain    string `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// Hex 0x uint256
	PrevState string `protobuf:"bytes,3,opt,name=prevState,proto3" json:"prevState,omitempty"`
	// Hex 0x uint256
	State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// Dec uint256
	Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// simplifies voting flow
	BlockNumber uint64 `protobuf:"varint,6,opt,name=blockNumber,proto3" json:"blockNumber,omitempty"`
}

func (*WorldCoinIdentityTransfer) Descriptor added in v1.1.0

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

func (*WorldCoinIdentityTransfer) GetBlockNumber added in v1.1.0

func (m *WorldCoinIdentityTransfer) GetBlockNumber() uint64

func (*WorldCoinIdentityTransfer) GetChain added in v1.1.0

func (m *WorldCoinIdentityTransfer) GetChain() string

func (*WorldCoinIdentityTransfer) GetContract added in v1.1.0

func (m *WorldCoinIdentityTransfer) GetContract() string

func (*WorldCoinIdentityTransfer) GetPrevState added in v1.1.0

func (m *WorldCoinIdentityTransfer) GetPrevState() string

func (*WorldCoinIdentityTransfer) GetState added in v1.1.0

func (m *WorldCoinIdentityTransfer) GetState() string

func (*WorldCoinIdentityTransfer) GetTimestamp added in v1.1.0

func (m *WorldCoinIdentityTransfer) GetTimestamp() string

func (*WorldCoinIdentityTransfer) Marshal added in v1.1.0

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

func (*WorldCoinIdentityTransfer) MarshalTo added in v1.1.0

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

func (*WorldCoinIdentityTransfer) MarshalToSizedBuffer added in v1.1.0

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

func (*WorldCoinIdentityTransfer) ProtoMessage added in v1.1.0

func (*WorldCoinIdentityTransfer) ProtoMessage()

func (*WorldCoinIdentityTransfer) Reset added in v1.1.0

func (m *WorldCoinIdentityTransfer) Reset()

func (*WorldCoinIdentityTransfer) Size added in v1.1.0

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

func (*WorldCoinIdentityTransfer) String added in v1.1.0

func (m *WorldCoinIdentityTransfer) String() string

func (*WorldCoinIdentityTransfer) Unmarshal added in v1.1.0

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

func (*WorldCoinIdentityTransfer) XXX_DiscardUnknown added in v1.1.0

func (m *WorldCoinIdentityTransfer) XXX_DiscardUnknown()

func (*WorldCoinIdentityTransfer) XXX_Marshal added in v1.1.0

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

func (*WorldCoinIdentityTransfer) XXX_Merge added in v1.1.0

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

func (*WorldCoinIdentityTransfer) XXX_Size added in v1.1.0

func (m *WorldCoinIdentityTransfer) XXX_Size() int

func (*WorldCoinIdentityTransfer) XXX_Unmarshal added in v1.1.0

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

Jump to

Keyboard shortcuts

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