types

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	DclMaxMemoCharacters          uint64  = authtypes.DefaultMaxMemoCharacters
	DclTxSigLimit                 uint64  = authtypes.DefaultTxSigLimit
	DclTxSizeCostPerByte          uint64  = 0 // gas is not needed in DCL
	DclSigVerifyCostED25519       uint64  = 0 // gas is not needed in DCL
	DclSigVerifyCostSecp256k1     uint64  = 0 // gas is not needed in DCL
	AccountApprovalsPercent       float64 = 2.0 / 3.0
	VendorAccountApprovalsPercent float64 = 1.0 / 3.0
)

Default parameter values.

View Source
const (
	// ModuleName defines the module name.
	ModuleName = "dclauth"

	// ModuleName defines the module name to use in user interactions.
	ModuleNameUser = "auth"

	// command name for the module.
	CmdName = ModuleNameUser

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

	// RouterKey is the message route for slashing.
	RouterKey = ModuleNameUser

	// QuerierRoute defines the module's query routing key.
	QuerierRoute = ModuleNameUser

	// MemStoreKey defines the in-memory store key.
	MemStoreKey = "mem_" + ModuleName
)
View Source
const (
	// AccountKeyPrefix is the prefix to retrieve all Account.
	AccountKeyPrefix = "Account/value/"
)
View Source
const (
	AccountStatKey = "AccountStat-value-"
)
View Source
const DefaultIndex uint64 = 1

TODO issue 99: do we need that DefaultIndex is the default capability global index.

View Source
const (
	// PendingAccountKeyPrefix is the prefix to retrieve all PendingAccount.
	PendingAccountKeyPrefix = "PendingAccount/value/"
)
View Source
const (
	// PendingAccountRevocationKeyPrefix is the prefix to retrieve all PendingAccountRevocation.
	PendingAccountRevocationKeyPrefix = "PendingAccountRevocation/value/"
)
View Source
const (
	// RejectedAccountKeyPrefix is the prefix to retrieve all RejectedAccount.
	RejectedAccountKeyPrefix = "RejectedAccount/value/"
)
View Source
const (
	// RevokedAccountKeyPrefix is the prefix to retrieve all RevokedAccount.
	RevokedAccountKeyPrefix = "RevokedAccount/value/"
)
View Source
const TypeMsgApproveAddAccount = "approve_add_account"
View Source
const TypeMsgApproveRevokeAccount = "approve_revoke_account"
View Source
const TypeMsgProposeAddAccount = "propose_add_account"
View Source
const TypeMsgProposeRevokeAccount = "propose_revoke_account"
View Source
const TypeMsgRejectAddAccount = "reject_add_account"

Variables

View Source
var (
	ErrInvalidLengthAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthAccountStat        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccountStat          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccountStat = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	AccountAlreadyExists                  = errors.Register(ModuleName, 101, "account already exists")
	AccountDoesNotExist                   = errors.Register(ModuleName, 102, "account not found")
	PendingAccountAlreadyExists           = errors.Register(ModuleName, 103, "pending account already exists")
	PendingAccountDoesNotExist            = errors.Register(ModuleName, 104, "pending account not found")
	PendingAccountRevocationAlreadyExists = errors.Register(ModuleName, 105, "pending account revocation already exists")
	PendingAccountRevocationDoesNotExist  = errors.Register(ModuleName, 106, "pending account revocation not found")
	MissingVendorIDForVendorAccount       = errors.Register(ModuleName, 107, "no Vendor ID provided")
	MissingRoles                          = errors.Register(ModuleName, 108, "no roles provided")
)

x/dclauth module sentinel errors.

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 (
	ErrInvalidLengthGrant        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGrant          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGrant = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPendingAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPendingAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPendingAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPendingAccountRevocation        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPendingAccountRevocation          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPendingAccountRevocation = 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 (
	ErrInvalidLengthRejectedAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRejectedAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRejectedAccount = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRevokedAccount        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRevokedAccount          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRevokedAccount = 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 RevokedAccount_Reason_name = map[int32]string{
	0: "TrusteeVoting",
	1: "MaliciousValidator",
}
View Source
var RevokedAccount_Reason_value = map[string]int32{
	"TrusteeVoting":      0,
	"MaliciousValidator": 1,
}

Functions

func AccountKey

func AccountKey(
	address sdk.AccAddress,
) []byte

AccountKey returns the store key to retrieve a Account from the index fields.

func ErrAccountAlreadyExists

func ErrAccountAlreadyExists(address interface{}) error

func ErrAccountDoesNotExist

func ErrAccountDoesNotExist(address interface{}) error

func ErrMissingRoles

func ErrMissingRoles() error

func ErrMissingVendorIDForVendorAccount

func ErrMissingVendorIDForVendorAccount() error

func ErrPendingAccountAlreadyExists

func ErrPendingAccountAlreadyExists(address interface{}) error

func ErrPendingAccountDoesNotExist

func ErrPendingAccountDoesNotExist(address interface{}) error

func ErrPendingAccountRevocationAlreadyExists

func ErrPendingAccountRevocationAlreadyExists(address interface{}) error

func ErrPendingAccountRevocationDoesNotExist

func ErrPendingAccountRevocationDoesNotExist(address interface{}) error

func KeyPrefix

func KeyPrefix(p string) []byte

func PendingAccountKey

func PendingAccountKey(
	address sdk.AccAddress,
) []byte

PendingAccountKey returns the store key to retrieve a PendingAccount from the index fields.

func PendingAccountRevocationKey

func PendingAccountRevocationKey(
	address sdk.AccAddress,
) []byte

PendingAccountRevocationKey returns the store key to retrieve a PendingAccountRevocation 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 RejectedAccountKey added in v0.11.0

func RejectedAccountKey(
	address sdk.AccAddress,
) []byte

RejectedAccountKey returns the store key to retrieve a RejectedAccount from the index fields.

func RevokedAccountKey added in v0.10.0

func RevokedAccountKey(
	address sdk.AccAddress,
) []byte

RevokedAccountKey returns the store key to retrieve a RevokedAccount from the index fields.

Types

type Account

type Account struct {
	*types.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3,embedded=base_account" json:"base_account,omitempty"`
	// NOTE. we do not user AccountRoles casting here to preserve repeated form
	//       so protobuf takes care about repeated items in generated code,
	//       (but that might be not the final solution)
	Roles         []AccountRole         `protobuf:"bytes,2,rep,name=roles,proto3,casttype=AccountRole" json:"roles,omitempty"`
	Approvals     []*Grant              `protobuf:"bytes,3,rep,name=approvals,proto3" json:"approvals,omitempty"`
	VendorID      int32                 `protobuf:"varint,4,opt,name=vendorID,proto3" json:"vendorID,omitempty"`
	Rejects       []*Grant              `protobuf:"bytes,5,rep,name=rejects,proto3" json:"rejects,omitempty"`
	ProductIDs    []*types1.Uint16Range `protobuf:"bytes,6,rep,name=productIDs,proto3" json:"productIDs,omitempty"`
	SchemaVersion uint32                `protobuf:"varint,7,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty"`
}

func NewAccount

func NewAccount(ba *authtypes.BaseAccount, roles AccountRoles, approvals []*Grant, rejects []*Grant, vendorID int32, productIDs []*types.Uint16Range) *Account

NewAccount creates a new Account object.

func (*Account) Descriptor

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

func (Account) GetApprovals added in v0.8.0

func (acc Account) GetApprovals() []*Grant

func (Account) GetProductIDs added in v1.4.0

func (acc Account) GetProductIDs() []*types.Uint16Range

func (Account) GetRejects added in v0.11.0

func (acc Account) GetRejects() []*Grant

func (Account) GetRoles

func (acc Account) GetRoles() []AccountRole

func (Account) GetVendorID

func (acc Account) GetVendorID() int32

func (Account) HasOnlyVendorRole added in v0.11.0

func (acc Account) HasOnlyVendorRole(targetRole AccountRole) bool

func (Account) HasRightsToChange added in v1.4.0

func (acc Account) HasRightsToChange(productID int32) bool

func (Account) HasRole

func (acc Account) HasRole(targetRole AccountRole) bool

func (*Account) Marshal

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

func (*Account) MarshalTo

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

func (*Account) MarshalToSizedBuffer

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

func (*Account) ProtoMessage

func (*Account) ProtoMessage()

func (*Account) Reset

func (m *Account) Reset()

func (*Account) Size

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

func (Account) String

func (acc Account) String() string

func (*Account) Unmarshal

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

func (Account) Validate

func (acc Account) Validate() error

Validate checks for errors on the vesting and module account parameters.

func (*Account) XXX_DiscardUnknown

func (m *Account) XXX_DiscardUnknown()

func (*Account) XXX_Marshal

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

func (*Account) XXX_Merge

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

func (*Account) XXX_Size

func (m *Account) XXX_Size() int

func (*Account) XXX_Unmarshal

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

type AccountRetriever

type AccountRetriever struct{}

AccountRetriever defines the properties of a type that can be used to retrieve accounts.

func (AccountRetriever) EnsureExists

func (ar AccountRetriever) EnsureExists(clientCtx client.Context, addr sdk.AccAddress) error

EnsureExists returns an error if no account exists for the given address else nil.

func (AccountRetriever) GetAccount

func (ar AccountRetriever) GetAccount(clientCtx client.Context, addr sdk.AccAddress) (client.Account, error)

GetAccount queries for an account given an address and a block height. An error is returned if the query or decoding fails.

func (AccountRetriever) GetAccountNumberSequence

func (ar AccountRetriever) GetAccountNumberSequence(clientCtx client.Context, addr sdk.AccAddress) (uint64, uint64, error)

GetAccountNumberSequence returns sequence and account number for the given address. It returns an error if the account couldn't be retrieved from the state.

func (AccountRetriever) GetAccountWithHeight

func (ar AccountRetriever) GetAccountWithHeight(clientCtx client.Context, addr sdk.AccAddress) (client.Account, int64, error)

GetAccountWithHeight queries for an account given an address. Returns the height of the query with the account. An error is returned if the query or decoding fails.

type AccountRole

type AccountRole string
const (
	Vendor              AccountRole = "Vendor"
	CertificationCenter AccountRole = "CertificationCenter"
	Trustee             AccountRole = "Trustee"
	NodeAdmin           AccountRole = "NodeAdmin"
	VendorAdmin         AccountRole = "VendorAdmin"
)

func (AccountRole) Validate

func (role AccountRole) Validate() error

type AccountRoles

type AccountRoles []AccountRole

type AccountStat

type AccountStat struct {
	Number        uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	SchemaVersion uint32 `protobuf:"varint,2,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty"`
}

func (*AccountStat) Descriptor

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

func (*AccountStat) GetNumber

func (m *AccountStat) GetNumber() uint64

func (*AccountStat) GetSchemaVersion added in v1.4.0

func (m *AccountStat) GetSchemaVersion() uint32

func (*AccountStat) Marshal

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

func (*AccountStat) MarshalTo

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

func (*AccountStat) MarshalToSizedBuffer

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

func (*AccountStat) ProtoMessage

func (*AccountStat) ProtoMessage()

func (*AccountStat) Reset

func (m *AccountStat) Reset()

func (*AccountStat) Size

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

func (*AccountStat) String

func (m *AccountStat) String() string

func (*AccountStat) Unmarshal

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

func (*AccountStat) XXX_DiscardUnknown

func (m *AccountStat) XXX_DiscardUnknown()

func (*AccountStat) XXX_Marshal

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

func (*AccountStat) XXX_Merge

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

func (*AccountStat) XXX_Size

func (m *AccountStat) XXX_Size() int

func (*AccountStat) XXX_Unmarshal

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

type DCLAccountI

type DCLAccountI interface {
	authtypes.AccountI

	GetRoles() []AccountRole
	GetVendorID() int32
	GetApprovals() []*Grant
	GetRejects() []*Grant
	GetProductIDs() []*types.Uint16Range
}

type GenesisAccount

type GenesisAccount interface {
	GetAddress() sdk.AccAddress
	Validate() error
}

GenesisAccount defines a genesis account interface that allows account address retrieval.

type GenesisAccountsIterator

type GenesisAccountsIterator struct{}

GenesisAccountsIterator implements genesis account iteration.

func (GenesisAccountsIterator) IterateGenesisAccounts

func (GenesisAccountsIterator) IterateGenesisAccounts(
	cdc codec.JSONCodec, appState map[string]json.RawMessage, cb func(GenesisAccount) (stop bool),
)

IterateGenesisAccounts iterates over all the genesis accounts found in appGenesis and invokes a callback on each genesis account. If any call returns true, iteration stops.

type GenesisState

type GenesisState struct {
	AccountList                  []Account                  `protobuf:"bytes,1,rep,name=accountList,proto3" json:"accountList"`
	PendingAccountList           []PendingAccount           `protobuf:"bytes,2,rep,name=pendingAccountList,proto3" json:"pendingAccountList"`
	PendingAccountRevocationList []PendingAccountRevocation `protobuf:"bytes,3,rep,name=pendingAccountRevocationList,proto3" json:"pendingAccountRevocationList"`
	AccountStat                  *AccountStat               `protobuf:"bytes,4,opt,name=accountStat,proto3" json:"accountStat,omitempty"`
	RevokedAccountList           []RevokedAccount           `protobuf:"bytes,5,rep,name=revokedAccountList,proto3" json:"revokedAccountList"`
	RejectedAccountList          []RejectedAccount          `protobuf:"bytes,6,rep,name=rejectedAccountList,proto3" json:"rejectedAccountList"`
}

GenesisState defines the dclauth module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state.

func GetGenesisStateFromAppState

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

GetGenesisStateFromAppState returns x/bank GenesisState given raw application genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAccountList

func (m *GenesisState) GetAccountList() []Account

func (*GenesisState) GetAccountStat

func (m *GenesisState) GetAccountStat() *AccountStat

func (*GenesisState) GetPendingAccountList

func (m *GenesisState) GetPendingAccountList() []PendingAccount

func (*GenesisState) GetPendingAccountRevocationList

func (m *GenesisState) GetPendingAccountRevocationList() []PendingAccountRevocation

func (*GenesisState) GetRejectedAccountList added in v0.11.0

func (m *GenesisState) GetRejectedAccountList() []RejectedAccount

func (*GenesisState) GetRevokedAccountList added in v0.10.0

func (m *GenesisState) GetRevokedAccountList() []RevokedAccount

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type Grant added in v0.7.0

type Grant struct {
	Address       string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Time          int64  `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
	Info          string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
	SchemaVersion uint32 `protobuf:"varint,4,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty"`
}

func (*Grant) Descriptor added in v0.7.0

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

func (*Grant) GetAddress added in v0.7.0

func (m *Grant) GetAddress() string

func (*Grant) GetInfo added in v0.7.0

func (m *Grant) GetInfo() string

func (*Grant) GetSchemaVersion added in v1.4.0

func (m *Grant) GetSchemaVersion() uint32

func (*Grant) GetTime added in v0.7.0

func (m *Grant) GetTime() int64

func (*Grant) Marshal added in v0.7.0

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

func (*Grant) MarshalTo added in v0.7.0

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

func (*Grant) MarshalToSizedBuffer added in v0.7.0

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

func (*Grant) ProtoMessage added in v0.7.0

func (*Grant) ProtoMessage()

func (*Grant) Reset added in v0.7.0

func (m *Grant) Reset()

func (*Grant) Size added in v0.7.0

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

func (*Grant) String added in v0.7.0

func (m *Grant) String() string

func (*Grant) Unmarshal added in v0.7.0

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

func (*Grant) XXX_DiscardUnknown added in v0.7.0

func (m *Grant) XXX_DiscardUnknown()

func (*Grant) XXX_Marshal added in v0.7.0

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

func (*Grant) XXX_Merge added in v0.7.0

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

func (*Grant) XXX_Size added in v0.7.0

func (m *Grant) XXX_Size() int

func (*Grant) XXX_Unmarshal added in v0.7.0

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

type MsgApproveAddAccount

type MsgApproveAddAccount struct {
	Signer  string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" validate:"required"`
	Info    string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time    int64  `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgApproveAddAccount

func NewMsgApproveAddAccount(signer sdk.AccAddress, address sdk.AccAddress, info string) *MsgApproveAddAccount

func (*MsgApproveAddAccount) Descriptor

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

func (*MsgApproveAddAccount) GetAddress

func (m *MsgApproveAddAccount) GetAddress() string

func (*MsgApproveAddAccount) GetInfo added in v0.7.0

func (m *MsgApproveAddAccount) GetInfo() string

func (*MsgApproveAddAccount) GetSignBytes

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

func (*MsgApproveAddAccount) GetSigner

func (m *MsgApproveAddAccount) GetSigner() string

func (*MsgApproveAddAccount) GetSigners

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

func (*MsgApproveAddAccount) GetTime added in v0.7.0

func (m *MsgApproveAddAccount) GetTime() int64

func (*MsgApproveAddAccount) Marshal

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

func (*MsgApproveAddAccount) MarshalTo

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

func (*MsgApproveAddAccount) MarshalToSizedBuffer

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

func (*MsgApproveAddAccount) ProtoMessage

func (*MsgApproveAddAccount) ProtoMessage()

func (*MsgApproveAddAccount) Reset

func (m *MsgApproveAddAccount) Reset()

func (*MsgApproveAddAccount) Route

func (msg *MsgApproveAddAccount) Route() string

func (*MsgApproveAddAccount) Size

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

func (*MsgApproveAddAccount) String

func (m *MsgApproveAddAccount) String() string

func (*MsgApproveAddAccount) Type

func (msg *MsgApproveAddAccount) Type() string

func (*MsgApproveAddAccount) Unmarshal

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

func (*MsgApproveAddAccount) ValidateBasic

func (msg *MsgApproveAddAccount) ValidateBasic() error

func (*MsgApproveAddAccount) XXX_DiscardUnknown

func (m *MsgApproveAddAccount) XXX_DiscardUnknown()

func (*MsgApproveAddAccount) XXX_Marshal

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

func (*MsgApproveAddAccount) XXX_Merge

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

func (*MsgApproveAddAccount) XXX_Size

func (m *MsgApproveAddAccount) XXX_Size() int

func (*MsgApproveAddAccount) XXX_Unmarshal

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

type MsgApproveAddAccountResponse

type MsgApproveAddAccountResponse struct {
}

func (*MsgApproveAddAccountResponse) Descriptor

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

func (*MsgApproveAddAccountResponse) Marshal

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

func (*MsgApproveAddAccountResponse) MarshalTo

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

func (*MsgApproveAddAccountResponse) MarshalToSizedBuffer

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

func (*MsgApproveAddAccountResponse) ProtoMessage

func (*MsgApproveAddAccountResponse) ProtoMessage()

func (*MsgApproveAddAccountResponse) Reset

func (m *MsgApproveAddAccountResponse) Reset()

func (*MsgApproveAddAccountResponse) Size

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

func (*MsgApproveAddAccountResponse) String

func (*MsgApproveAddAccountResponse) Unmarshal

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

func (*MsgApproveAddAccountResponse) XXX_DiscardUnknown

func (m *MsgApproveAddAccountResponse) XXX_DiscardUnknown()

func (*MsgApproveAddAccountResponse) XXX_Marshal

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

func (*MsgApproveAddAccountResponse) XXX_Merge

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

func (*MsgApproveAddAccountResponse) XXX_Size

func (m *MsgApproveAddAccountResponse) XXX_Size() int

func (*MsgApproveAddAccountResponse) XXX_Unmarshal

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

type MsgApproveRevokeAccount

type MsgApproveRevokeAccount struct {
	Signer  string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" validate:"required"`
	Info    string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time    int64  `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgApproveRevokeAccount

func NewMsgApproveRevokeAccount(signer sdk.AccAddress, address sdk.AccAddress, info string) *MsgApproveRevokeAccount

func (*MsgApproveRevokeAccount) Descriptor

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

func (*MsgApproveRevokeAccount) GetAddress

func (m *MsgApproveRevokeAccount) GetAddress() string

func (*MsgApproveRevokeAccount) GetInfo added in v0.7.0

func (m *MsgApproveRevokeAccount) GetInfo() string

func (*MsgApproveRevokeAccount) GetSignBytes

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

func (*MsgApproveRevokeAccount) GetSigner

func (m *MsgApproveRevokeAccount) GetSigner() string

func (*MsgApproveRevokeAccount) GetSigners

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

func (*MsgApproveRevokeAccount) GetTime added in v0.7.0

func (m *MsgApproveRevokeAccount) GetTime() int64

func (*MsgApproveRevokeAccount) Marshal

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

func (*MsgApproveRevokeAccount) MarshalTo

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

func (*MsgApproveRevokeAccount) MarshalToSizedBuffer

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

func (*MsgApproveRevokeAccount) ProtoMessage

func (*MsgApproveRevokeAccount) ProtoMessage()

func (*MsgApproveRevokeAccount) Reset

func (m *MsgApproveRevokeAccount) Reset()

func (*MsgApproveRevokeAccount) Route

func (msg *MsgApproveRevokeAccount) Route() string

func (*MsgApproveRevokeAccount) Size

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

func (*MsgApproveRevokeAccount) String

func (m *MsgApproveRevokeAccount) String() string

func (*MsgApproveRevokeAccount) Type

func (msg *MsgApproveRevokeAccount) Type() string

func (*MsgApproveRevokeAccount) Unmarshal

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

func (*MsgApproveRevokeAccount) ValidateBasic

func (msg *MsgApproveRevokeAccount) ValidateBasic() error

func (*MsgApproveRevokeAccount) XXX_DiscardUnknown

func (m *MsgApproveRevokeAccount) XXX_DiscardUnknown()

func (*MsgApproveRevokeAccount) XXX_Marshal

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

func (*MsgApproveRevokeAccount) XXX_Merge

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

func (*MsgApproveRevokeAccount) XXX_Size

func (m *MsgApproveRevokeAccount) XXX_Size() int

func (*MsgApproveRevokeAccount) XXX_Unmarshal

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

type MsgApproveRevokeAccountResponse

type MsgApproveRevokeAccountResponse struct {
}

func (*MsgApproveRevokeAccountResponse) Descriptor

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

func (*MsgApproveRevokeAccountResponse) Marshal

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

func (*MsgApproveRevokeAccountResponse) MarshalTo

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

func (*MsgApproveRevokeAccountResponse) MarshalToSizedBuffer

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

func (*MsgApproveRevokeAccountResponse) ProtoMessage

func (*MsgApproveRevokeAccountResponse) ProtoMessage()

func (*MsgApproveRevokeAccountResponse) Reset

func (*MsgApproveRevokeAccountResponse) Size

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

func (*MsgApproveRevokeAccountResponse) String

func (*MsgApproveRevokeAccountResponse) Unmarshal

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

func (*MsgApproveRevokeAccountResponse) XXX_DiscardUnknown

func (m *MsgApproveRevokeAccountResponse) XXX_DiscardUnknown()

func (*MsgApproveRevokeAccountResponse) XXX_Marshal

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

func (*MsgApproveRevokeAccountResponse) XXX_Merge

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

func (*MsgApproveRevokeAccountResponse) XXX_Size

func (m *MsgApproveRevokeAccountResponse) XXX_Size() int

func (*MsgApproveRevokeAccountResponse) XXX_Unmarshal

func (m *MsgApproveRevokeAccountResponse) 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 MsgProposeAddAccount

type MsgProposeAddAccount struct {
	Signer     string                `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Address    string                `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" validate:"required"`
	PubKey     *types.Any            `protobuf:"bytes,3,opt,name=pubKey,proto3" json:"pubKey,omitempty" validate:"required"`
	Roles      []AccountRole         `protobuf:"bytes,4,rep,name=roles,proto3,casttype=AccountRole" json:"roles,omitempty" validate:"required"`
	VendorID   int32                 `protobuf:"varint,5,opt,name=vendorID,proto3" json:"vendorID,omitempty" validate:"gte=0,lte=65535"`
	Info       string                `protobuf:"bytes,6,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time       int64                 `protobuf:"varint,7,opt,name=time,proto3" json:"time,omitempty"`
	ProductIDs []*types1.Uint16Range `protobuf:"bytes,8,rep,name=productIDs,proto3" json:"productIDs,omitempty"`
}

func NewMsgProposeAddAccount

func NewMsgProposeAddAccount(
	signer sdk.AccAddress,
	address sdk.AccAddress,
	pubKey cryptotypes.PubKey,
	roles AccountRoles,

	vendorID int32,
	productIDs []*types.Uint16Range,
	info string,
) (*MsgProposeAddAccount, error)

func (*MsgProposeAddAccount) Descriptor

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

func (*MsgProposeAddAccount) GetAddress

func (m *MsgProposeAddAccount) GetAddress() string

func (*MsgProposeAddAccount) GetInfo added in v0.7.0

func (m *MsgProposeAddAccount) GetInfo() string

func (*MsgProposeAddAccount) GetProductIDs added in v1.4.0

func (m *MsgProposeAddAccount) GetProductIDs() []*types1.Uint16Range

func (*MsgProposeAddAccount) GetPubKey

func (m *MsgProposeAddAccount) GetPubKey() *types.Any

func (*MsgProposeAddAccount) GetRoles

func (m *MsgProposeAddAccount) GetRoles() []AccountRole

func (*MsgProposeAddAccount) GetSignBytes

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

func (*MsgProposeAddAccount) GetSigner

func (m *MsgProposeAddAccount) GetSigner() string

func (*MsgProposeAddAccount) GetSigners

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

func (*MsgProposeAddAccount) GetTime added in v0.7.0

func (m *MsgProposeAddAccount) GetTime() int64

func (*MsgProposeAddAccount) GetVendorID

func (m *MsgProposeAddAccount) GetVendorID() int32

func (*MsgProposeAddAccount) HasRole

func (msg *MsgProposeAddAccount) HasRole(targetRole AccountRole) bool

func (*MsgProposeAddAccount) HasValidProductIDs added in v1.4.0

func (msg *MsgProposeAddAccount) HasValidProductIDs() error

func (*MsgProposeAddAccount) Marshal

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

func (*MsgProposeAddAccount) MarshalTo

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

func (*MsgProposeAddAccount) MarshalToSizedBuffer

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

func (*MsgProposeAddAccount) ProtoMessage

func (*MsgProposeAddAccount) ProtoMessage()

func (*MsgProposeAddAccount) Reset

func (m *MsgProposeAddAccount) Reset()

func (*MsgProposeAddAccount) Route

func (msg *MsgProposeAddAccount) Route() string

func (*MsgProposeAddAccount) Size

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

func (*MsgProposeAddAccount) String

func (m *MsgProposeAddAccount) String() string

func (*MsgProposeAddAccount) Type

func (msg *MsgProposeAddAccount) Type() string

func (*MsgProposeAddAccount) Unmarshal

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

func (MsgProposeAddAccount) UnpackInterfaces

func (msg MsgProposeAddAccount) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces.

func (*MsgProposeAddAccount) ValidateBasic

func (msg *MsgProposeAddAccount) ValidateBasic() error

func (*MsgProposeAddAccount) XXX_DiscardUnknown

func (m *MsgProposeAddAccount) XXX_DiscardUnknown()

func (*MsgProposeAddAccount) XXX_Marshal

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

func (*MsgProposeAddAccount) XXX_Merge

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

func (*MsgProposeAddAccount) XXX_Size

func (m *MsgProposeAddAccount) XXX_Size() int

func (*MsgProposeAddAccount) XXX_Unmarshal

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

type MsgProposeAddAccountResponse

type MsgProposeAddAccountResponse struct {
}

func (*MsgProposeAddAccountResponse) Descriptor

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

func (*MsgProposeAddAccountResponse) Marshal

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

func (*MsgProposeAddAccountResponse) MarshalTo

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

func (*MsgProposeAddAccountResponse) MarshalToSizedBuffer

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

func (*MsgProposeAddAccountResponse) ProtoMessage

func (*MsgProposeAddAccountResponse) ProtoMessage()

func (*MsgProposeAddAccountResponse) Reset

func (m *MsgProposeAddAccountResponse) Reset()

func (*MsgProposeAddAccountResponse) Size

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

func (*MsgProposeAddAccountResponse) String

func (*MsgProposeAddAccountResponse) Unmarshal

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

func (*MsgProposeAddAccountResponse) XXX_DiscardUnknown

func (m *MsgProposeAddAccountResponse) XXX_DiscardUnknown()

func (*MsgProposeAddAccountResponse) XXX_Marshal

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

func (*MsgProposeAddAccountResponse) XXX_Merge

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

func (*MsgProposeAddAccountResponse) XXX_Size

func (m *MsgProposeAddAccountResponse) XXX_Size() int

func (*MsgProposeAddAccountResponse) XXX_Unmarshal

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

type MsgProposeRevokeAccount

type MsgProposeRevokeAccount struct {
	Signer  string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty" validate:"required"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" validate:"required"`
	Info    string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time    int64  `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgProposeRevokeAccount

func NewMsgProposeRevokeAccount(signer sdk.AccAddress, address sdk.AccAddress, info string) *MsgProposeRevokeAccount

func (*MsgProposeRevokeAccount) Descriptor

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

func (*MsgProposeRevokeAccount) GetAddress

func (m *MsgProposeRevokeAccount) GetAddress() string

func (*MsgProposeRevokeAccount) GetInfo added in v0.7.0

func (m *MsgProposeRevokeAccount) GetInfo() string

func (*MsgProposeRevokeAccount) GetSignBytes

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

func (*MsgProposeRevokeAccount) GetSigner

func (m *MsgProposeRevokeAccount) GetSigner() string

func (*MsgProposeRevokeAccount) GetSigners

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

func (*MsgProposeRevokeAccount) GetTime added in v0.7.0

func (m *MsgProposeRevokeAccount) GetTime() int64

func (*MsgProposeRevokeAccount) Marshal

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

func (*MsgProposeRevokeAccount) MarshalTo

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

func (*MsgProposeRevokeAccount) MarshalToSizedBuffer

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

func (*MsgProposeRevokeAccount) ProtoMessage

func (*MsgProposeRevokeAccount) ProtoMessage()

func (*MsgProposeRevokeAccount) Reset

func (m *MsgProposeRevokeAccount) Reset()

func (*MsgProposeRevokeAccount) Route

func (msg *MsgProposeRevokeAccount) Route() string

func (*MsgProposeRevokeAccount) Size

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

func (*MsgProposeRevokeAccount) String

func (m *MsgProposeRevokeAccount) String() string

func (*MsgProposeRevokeAccount) Type

func (msg *MsgProposeRevokeAccount) Type() string

func (*MsgProposeRevokeAccount) Unmarshal

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

func (*MsgProposeRevokeAccount) ValidateBasic

func (msg *MsgProposeRevokeAccount) ValidateBasic() error

func (*MsgProposeRevokeAccount) XXX_DiscardUnknown

func (m *MsgProposeRevokeAccount) XXX_DiscardUnknown()

func (*MsgProposeRevokeAccount) XXX_Marshal

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

func (*MsgProposeRevokeAccount) XXX_Merge

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

func (*MsgProposeRevokeAccount) XXX_Size

func (m *MsgProposeRevokeAccount) XXX_Size() int

func (*MsgProposeRevokeAccount) XXX_Unmarshal

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

type MsgProposeRevokeAccountResponse

type MsgProposeRevokeAccountResponse struct {
}

func (*MsgProposeRevokeAccountResponse) Descriptor

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

func (*MsgProposeRevokeAccountResponse) Marshal

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

func (*MsgProposeRevokeAccountResponse) MarshalTo

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

func (*MsgProposeRevokeAccountResponse) MarshalToSizedBuffer

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

func (*MsgProposeRevokeAccountResponse) ProtoMessage

func (*MsgProposeRevokeAccountResponse) ProtoMessage()

func (*MsgProposeRevokeAccountResponse) Reset

func (*MsgProposeRevokeAccountResponse) Size

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

func (*MsgProposeRevokeAccountResponse) String

func (*MsgProposeRevokeAccountResponse) Unmarshal

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

func (*MsgProposeRevokeAccountResponse) XXX_DiscardUnknown

func (m *MsgProposeRevokeAccountResponse) XXX_DiscardUnknown()

func (*MsgProposeRevokeAccountResponse) XXX_Marshal

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

func (*MsgProposeRevokeAccountResponse) XXX_Merge

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

func (*MsgProposeRevokeAccountResponse) XXX_Size

func (m *MsgProposeRevokeAccountResponse) XXX_Size() int

func (*MsgProposeRevokeAccountResponse) XXX_Unmarshal

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

type MsgRejectAddAccount added in v0.11.0

type MsgRejectAddAccount struct {
	Signer  string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Info    string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty" validate:"max=4096"`
	Time    int64  `protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
}

func NewMsgRejectAddAccount added in v0.11.0

func NewMsgRejectAddAccount(signer sdk.AccAddress, address sdk.AccAddress, info string) *MsgRejectAddAccount

func (*MsgRejectAddAccount) Descriptor added in v0.11.0

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

func (*MsgRejectAddAccount) GetAddress added in v0.11.0

func (m *MsgRejectAddAccount) GetAddress() string

func (*MsgRejectAddAccount) GetInfo added in v0.11.0

func (m *MsgRejectAddAccount) GetInfo() string

func (*MsgRejectAddAccount) GetSignBytes added in v0.11.0

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

func (*MsgRejectAddAccount) GetSigner added in v0.11.0

func (m *MsgRejectAddAccount) GetSigner() string

func (*MsgRejectAddAccount) GetSigners added in v0.11.0

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

func (*MsgRejectAddAccount) GetTime added in v0.11.0

func (m *MsgRejectAddAccount) GetTime() int64

func (*MsgRejectAddAccount) Marshal added in v0.11.0

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

func (*MsgRejectAddAccount) MarshalTo added in v0.11.0

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

func (*MsgRejectAddAccount) MarshalToSizedBuffer added in v0.11.0

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

func (*MsgRejectAddAccount) ProtoMessage added in v0.11.0

func (*MsgRejectAddAccount) ProtoMessage()

func (*MsgRejectAddAccount) Reset added in v0.11.0

func (m *MsgRejectAddAccount) Reset()

func (*MsgRejectAddAccount) Route added in v0.11.0

func (msg *MsgRejectAddAccount) Route() string

func (*MsgRejectAddAccount) Size added in v0.11.0

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

func (*MsgRejectAddAccount) String added in v0.11.0

func (m *MsgRejectAddAccount) String() string

func (*MsgRejectAddAccount) Type added in v0.11.0

func (msg *MsgRejectAddAccount) Type() string

func (*MsgRejectAddAccount) Unmarshal added in v0.11.0

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

func (*MsgRejectAddAccount) ValidateBasic added in v0.11.0

func (msg *MsgRejectAddAccount) ValidateBasic() error

func (*MsgRejectAddAccount) XXX_DiscardUnknown added in v0.11.0

func (m *MsgRejectAddAccount) XXX_DiscardUnknown()

func (*MsgRejectAddAccount) XXX_Marshal added in v0.11.0

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

func (*MsgRejectAddAccount) XXX_Merge added in v0.11.0

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

func (*MsgRejectAddAccount) XXX_Size added in v0.11.0

func (m *MsgRejectAddAccount) XXX_Size() int

func (*MsgRejectAddAccount) XXX_Unmarshal added in v0.11.0

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

type MsgRejectAddAccountResponse added in v0.11.0

type MsgRejectAddAccountResponse struct {
}

func (*MsgRejectAddAccountResponse) Descriptor added in v0.11.0

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

func (*MsgRejectAddAccountResponse) Marshal added in v0.11.0

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

func (*MsgRejectAddAccountResponse) MarshalTo added in v0.11.0

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

func (*MsgRejectAddAccountResponse) MarshalToSizedBuffer added in v0.11.0

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

func (*MsgRejectAddAccountResponse) ProtoMessage added in v0.11.0

func (*MsgRejectAddAccountResponse) ProtoMessage()

func (*MsgRejectAddAccountResponse) Reset added in v0.11.0

func (m *MsgRejectAddAccountResponse) Reset()

func (*MsgRejectAddAccountResponse) Size added in v0.11.0

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

func (*MsgRejectAddAccountResponse) String added in v0.11.0

func (m *MsgRejectAddAccountResponse) String() string

func (*MsgRejectAddAccountResponse) Unmarshal added in v0.11.0

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

func (*MsgRejectAddAccountResponse) XXX_DiscardUnknown added in v0.11.0

func (m *MsgRejectAddAccountResponse) XXX_DiscardUnknown()

func (*MsgRejectAddAccountResponse) XXX_Marshal added in v0.11.0

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

func (*MsgRejectAddAccountResponse) XXX_Merge added in v0.11.0

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

func (*MsgRejectAddAccountResponse) XXX_Size added in v0.11.0

func (m *MsgRejectAddAccountResponse) XXX_Size() int

func (*MsgRejectAddAccountResponse) XXX_Unmarshal added in v0.11.0

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

type PendingAccount

type PendingAccount struct {
	*Account                    `protobuf:"bytes,1,opt,name=account,proto3,embedded=account" json:"account,omitempty"`
	PendingAccountSchemaVersion uint32 `protobuf:"varint,2,opt,name=pendingAccountSchemaVersion,proto3" json:"pendingAccountSchemaVersion,omitempty"`
}

func NewPendingAccount

func NewPendingAccount(acc *Account, approval sdk.AccAddress, info string, time int64) *PendingAccount

NewPendingAccount creates a new PendingAccount object.

func (*PendingAccount) Descriptor

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

func (*PendingAccount) GetPendingAccountSchemaVersion added in v1.4.0

func (m *PendingAccount) GetPendingAccountSchemaVersion() uint32

func (PendingAccount) HasApprovalFrom

func (acc PendingAccount) HasApprovalFrom(address sdk.AccAddress) bool

func (PendingAccount) HasRejectApprovalFrom added in v0.11.0

func (acc PendingAccount) HasRejectApprovalFrom(address sdk.AccAddress) bool

func (*PendingAccount) Marshal

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

func (*PendingAccount) MarshalTo

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

func (*PendingAccount) MarshalToSizedBuffer

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

func (*PendingAccount) ProtoMessage

func (*PendingAccount) ProtoMessage()

func (*PendingAccount) Reset

func (m *PendingAccount) Reset()

func (*PendingAccount) Size

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

func (*PendingAccount) String

func (m *PendingAccount) String() string

func (*PendingAccount) Unmarshal

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

func (*PendingAccount) XXX_DiscardUnknown

func (m *PendingAccount) XXX_DiscardUnknown()

func (*PendingAccount) XXX_Marshal

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

func (*PendingAccount) XXX_Merge

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

func (*PendingAccount) XXX_Size

func (m *PendingAccount) XXX_Size() int

func (*PendingAccount) XXX_Unmarshal

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

type PendingAccountRevocation

type PendingAccountRevocation struct {
	Address       string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Approvals     []*Grant `protobuf:"bytes,2,rep,name=approvals,proto3" json:"approvals,omitempty"`
	SchemaVersion uint32   `protobuf:"varint,3,opt,name=schemaVersion,proto3" json:"schemaVersion,omitempty"`
}

func NewPendingAccountRevocation

func NewPendingAccountRevocation(address sdk.AccAddress,
	info string, time int64, approval sdk.AccAddress,
) PendingAccountRevocation

NewPendingAccountRevocation creates a new PendingAccountRevocation object.

func (*PendingAccountRevocation) Descriptor

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

func (*PendingAccountRevocation) GetAddress

func (m *PendingAccountRevocation) GetAddress() string

func (*PendingAccountRevocation) GetApprovals

func (m *PendingAccountRevocation) GetApprovals() []*Grant

func (*PendingAccountRevocation) GetSchemaVersion added in v1.4.0

func (m *PendingAccountRevocation) GetSchemaVersion() uint32

func (PendingAccountRevocation) HasRevocationFrom added in v0.7.0

func (revoc PendingAccountRevocation) HasRevocationFrom(address sdk.AccAddress) bool

func (*PendingAccountRevocation) Marshal

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

func (*PendingAccountRevocation) MarshalTo

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

func (*PendingAccountRevocation) MarshalToSizedBuffer

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

func (*PendingAccountRevocation) ProtoMessage

func (*PendingAccountRevocation) ProtoMessage()

func (*PendingAccountRevocation) Reset

func (m *PendingAccountRevocation) Reset()

func (*PendingAccountRevocation) Size

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

func (PendingAccountRevocation) String

func (revoc PendingAccountRevocation) String() string

String implements fmt.Stringer.

func (*PendingAccountRevocation) Unmarshal

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

func (PendingAccountRevocation) Validate

func (revoc PendingAccountRevocation) Validate() error

Validate checks for errors on the vesting and module account parameters.

func (*PendingAccountRevocation) XXX_DiscardUnknown

func (m *PendingAccountRevocation) XXX_DiscardUnknown()

func (*PendingAccountRevocation) XXX_Marshal

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

func (*PendingAccountRevocation) XXX_Merge

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

func (*PendingAccountRevocation) XXX_Size

func (m *PendingAccountRevocation) XXX_Size() int

func (*PendingAccountRevocation) XXX_Unmarshal

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

type QueryAllAccountRequest

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

func (*QueryAllAccountRequest) Descriptor

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

func (*QueryAllAccountRequest) GetPagination

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

func (*QueryAllAccountRequest) Marshal

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

func (*QueryAllAccountRequest) MarshalTo

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

func (*QueryAllAccountRequest) MarshalToSizedBuffer

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

func (*QueryAllAccountRequest) ProtoMessage

func (*QueryAllAccountRequest) ProtoMessage()

func (*QueryAllAccountRequest) Reset

func (m *QueryAllAccountRequest) Reset()

func (*QueryAllAccountRequest) Size

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

func (*QueryAllAccountRequest) String

func (m *QueryAllAccountRequest) String() string

func (*QueryAllAccountRequest) Unmarshal

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

func (*QueryAllAccountRequest) XXX_DiscardUnknown

func (m *QueryAllAccountRequest) XXX_DiscardUnknown()

func (*QueryAllAccountRequest) XXX_Marshal

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

func (*QueryAllAccountRequest) XXX_Merge

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

func (*QueryAllAccountRequest) XXX_Size

func (m *QueryAllAccountRequest) XXX_Size() int

func (*QueryAllAccountRequest) XXX_Unmarshal

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

type QueryAllAccountResponse

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

func (*QueryAllAccountResponse) Descriptor

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

func (*QueryAllAccountResponse) GetAccount

func (m *QueryAllAccountResponse) GetAccount() []Account

func (*QueryAllAccountResponse) GetPagination

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

func (*QueryAllAccountResponse) Marshal

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

func (*QueryAllAccountResponse) MarshalTo

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

func (*QueryAllAccountResponse) MarshalToSizedBuffer

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

func (*QueryAllAccountResponse) ProtoMessage

func (*QueryAllAccountResponse) ProtoMessage()

func (*QueryAllAccountResponse) Reset

func (m *QueryAllAccountResponse) Reset()

func (*QueryAllAccountResponse) Size

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

func (*QueryAllAccountResponse) String

func (m *QueryAllAccountResponse) String() string

func (*QueryAllAccountResponse) Unmarshal

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

func (*QueryAllAccountResponse) XXX_DiscardUnknown

func (m *QueryAllAccountResponse) XXX_DiscardUnknown()

func (*QueryAllAccountResponse) XXX_Marshal

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

func (*QueryAllAccountResponse) XXX_Merge

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

func (*QueryAllAccountResponse) XXX_Size

func (m *QueryAllAccountResponse) XXX_Size() int

func (*QueryAllAccountResponse) XXX_Unmarshal

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

type QueryAllPendingAccountRequest

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

func (*QueryAllPendingAccountRequest) Descriptor

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

func (*QueryAllPendingAccountRequest) GetPagination

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

func (*QueryAllPendingAccountRequest) Marshal

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

func (*QueryAllPendingAccountRequest) MarshalTo

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

func (*QueryAllPendingAccountRequest) MarshalToSizedBuffer

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

func (*QueryAllPendingAccountRequest) ProtoMessage

func (*QueryAllPendingAccountRequest) ProtoMessage()

func (*QueryAllPendingAccountRequest) Reset

func (m *QueryAllPendingAccountRequest) Reset()

func (*QueryAllPendingAccountRequest) Size

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

func (*QueryAllPendingAccountRequest) String

func (*QueryAllPendingAccountRequest) Unmarshal

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

func (*QueryAllPendingAccountRequest) XXX_DiscardUnknown

func (m *QueryAllPendingAccountRequest) XXX_DiscardUnknown()

func (*QueryAllPendingAccountRequest) XXX_Marshal

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

func (*QueryAllPendingAccountRequest) XXX_Merge

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

func (*QueryAllPendingAccountRequest) XXX_Size

func (m *QueryAllPendingAccountRequest) XXX_Size() int

func (*QueryAllPendingAccountRequest) XXX_Unmarshal

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

type QueryAllPendingAccountResponse

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

func (*QueryAllPendingAccountResponse) Descriptor

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

func (*QueryAllPendingAccountResponse) GetPagination

func (*QueryAllPendingAccountResponse) GetPendingAccount

func (m *QueryAllPendingAccountResponse) GetPendingAccount() []PendingAccount

func (*QueryAllPendingAccountResponse) Marshal

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

func (*QueryAllPendingAccountResponse) MarshalTo

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

func (*QueryAllPendingAccountResponse) MarshalToSizedBuffer

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

func (*QueryAllPendingAccountResponse) ProtoMessage

func (*QueryAllPendingAccountResponse) ProtoMessage()

func (*QueryAllPendingAccountResponse) Reset

func (m *QueryAllPendingAccountResponse) Reset()

func (*QueryAllPendingAccountResponse) Size

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

func (*QueryAllPendingAccountResponse) String

func (*QueryAllPendingAccountResponse) Unmarshal

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

func (*QueryAllPendingAccountResponse) XXX_DiscardUnknown

func (m *QueryAllPendingAccountResponse) XXX_DiscardUnknown()

func (*QueryAllPendingAccountResponse) XXX_Marshal

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

func (*QueryAllPendingAccountResponse) XXX_Merge

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

func (*QueryAllPendingAccountResponse) XXX_Size

func (m *QueryAllPendingAccountResponse) XXX_Size() int

func (*QueryAllPendingAccountResponse) XXX_Unmarshal

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

type QueryAllPendingAccountRevocationRequest

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

func (*QueryAllPendingAccountRevocationRequest) Descriptor

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

func (*QueryAllPendingAccountRevocationRequest) GetPagination

func (*QueryAllPendingAccountRevocationRequest) Marshal

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

func (*QueryAllPendingAccountRevocationRequest) MarshalTo

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

func (*QueryAllPendingAccountRevocationRequest) MarshalToSizedBuffer

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

func (*QueryAllPendingAccountRevocationRequest) ProtoMessage

func (*QueryAllPendingAccountRevocationRequest) Reset

func (*QueryAllPendingAccountRevocationRequest) Size

func (*QueryAllPendingAccountRevocationRequest) String

func (*QueryAllPendingAccountRevocationRequest) Unmarshal

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

func (*QueryAllPendingAccountRevocationRequest) XXX_DiscardUnknown

func (m *QueryAllPendingAccountRevocationRequest) XXX_DiscardUnknown()

func (*QueryAllPendingAccountRevocationRequest) XXX_Marshal

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

func (*QueryAllPendingAccountRevocationRequest) XXX_Merge

func (*QueryAllPendingAccountRevocationRequest) XXX_Size

func (*QueryAllPendingAccountRevocationRequest) XXX_Unmarshal

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

type QueryAllPendingAccountRevocationResponse

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

func (*QueryAllPendingAccountRevocationResponse) Descriptor

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

func (*QueryAllPendingAccountRevocationResponse) GetPagination

func (*QueryAllPendingAccountRevocationResponse) GetPendingAccountRevocation

func (m *QueryAllPendingAccountRevocationResponse) GetPendingAccountRevocation() []PendingAccountRevocation

func (*QueryAllPendingAccountRevocationResponse) Marshal

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

func (*QueryAllPendingAccountRevocationResponse) MarshalTo

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

func (*QueryAllPendingAccountRevocationResponse) MarshalToSizedBuffer

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

func (*QueryAllPendingAccountRevocationResponse) ProtoMessage

func (*QueryAllPendingAccountRevocationResponse) Reset

func (*QueryAllPendingAccountRevocationResponse) Size

func (*QueryAllPendingAccountRevocationResponse) String

func (*QueryAllPendingAccountRevocationResponse) Unmarshal

func (*QueryAllPendingAccountRevocationResponse) XXX_DiscardUnknown

func (m *QueryAllPendingAccountRevocationResponse) XXX_DiscardUnknown()

func (*QueryAllPendingAccountRevocationResponse) XXX_Marshal

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

func (*QueryAllPendingAccountRevocationResponse) XXX_Merge

func (*QueryAllPendingAccountRevocationResponse) XXX_Size

func (*QueryAllPendingAccountRevocationResponse) XXX_Unmarshal

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

type QueryAllRejectedAccountRequest added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) Descriptor added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) GetPagination added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) Marshal added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) MarshalTo added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) MarshalToSizedBuffer added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) ProtoMessage added in v0.11.0

func (*QueryAllRejectedAccountRequest) ProtoMessage()

func (*QueryAllRejectedAccountRequest) Reset added in v0.11.0

func (m *QueryAllRejectedAccountRequest) Reset()

func (*QueryAllRejectedAccountRequest) Size added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) String added in v0.11.0

func (*QueryAllRejectedAccountRequest) Unmarshal added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) XXX_DiscardUnknown added in v0.11.0

func (m *QueryAllRejectedAccountRequest) XXX_DiscardUnknown()

func (*QueryAllRejectedAccountRequest) XXX_Marshal added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) XXX_Merge added in v0.11.0

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

func (*QueryAllRejectedAccountRequest) XXX_Size added in v0.11.0

func (m *QueryAllRejectedAccountRequest) XXX_Size() int

func (*QueryAllRejectedAccountRequest) XXX_Unmarshal added in v0.11.0

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

type QueryAllRejectedAccountResponse added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) Descriptor added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) GetPagination added in v0.11.0

func (*QueryAllRejectedAccountResponse) GetRejectedAccount added in v0.11.0

func (m *QueryAllRejectedAccountResponse) GetRejectedAccount() []RejectedAccount

func (*QueryAllRejectedAccountResponse) Marshal added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) MarshalTo added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) MarshalToSizedBuffer added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) ProtoMessage added in v0.11.0

func (*QueryAllRejectedAccountResponse) ProtoMessage()

func (*QueryAllRejectedAccountResponse) Reset added in v0.11.0

func (*QueryAllRejectedAccountResponse) Size added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) String added in v0.11.0

func (*QueryAllRejectedAccountResponse) Unmarshal added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) XXX_DiscardUnknown added in v0.11.0

func (m *QueryAllRejectedAccountResponse) XXX_DiscardUnknown()

func (*QueryAllRejectedAccountResponse) XXX_Marshal added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) XXX_Merge added in v0.11.0

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

func (*QueryAllRejectedAccountResponse) XXX_Size added in v0.11.0

func (m *QueryAllRejectedAccountResponse) XXX_Size() int

func (*QueryAllRejectedAccountResponse) XXX_Unmarshal added in v0.11.0

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

type QueryAllRevokedAccountRequest added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) Descriptor added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) GetPagination added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) Marshal added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) MarshalTo added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) ProtoMessage added in v0.10.0

func (*QueryAllRevokedAccountRequest) ProtoMessage()

func (*QueryAllRevokedAccountRequest) Reset added in v0.10.0

func (m *QueryAllRevokedAccountRequest) Reset()

func (*QueryAllRevokedAccountRequest) Size added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) String added in v0.10.0

func (*QueryAllRevokedAccountRequest) Unmarshal added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryAllRevokedAccountRequest) XXX_DiscardUnknown()

func (*QueryAllRevokedAccountRequest) XXX_Marshal added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) XXX_Merge added in v0.10.0

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

func (*QueryAllRevokedAccountRequest) XXX_Size added in v0.10.0

func (m *QueryAllRevokedAccountRequest) XXX_Size() int

func (*QueryAllRevokedAccountRequest) XXX_Unmarshal added in v0.10.0

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

type QueryAllRevokedAccountResponse added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) Descriptor added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) GetPagination added in v0.10.0

func (*QueryAllRevokedAccountResponse) GetRevokedAccount added in v0.10.0

func (m *QueryAllRevokedAccountResponse) GetRevokedAccount() []RevokedAccount

func (*QueryAllRevokedAccountResponse) Marshal added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) MarshalTo added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) ProtoMessage added in v0.10.0

func (*QueryAllRevokedAccountResponse) ProtoMessage()

func (*QueryAllRevokedAccountResponse) Reset added in v0.10.0

func (m *QueryAllRevokedAccountResponse) Reset()

func (*QueryAllRevokedAccountResponse) Size added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) String added in v0.10.0

func (*QueryAllRevokedAccountResponse) Unmarshal added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryAllRevokedAccountResponse) XXX_DiscardUnknown()

func (*QueryAllRevokedAccountResponse) XXX_Marshal added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) XXX_Merge added in v0.10.0

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

func (*QueryAllRevokedAccountResponse) XXX_Size added in v0.10.0

func (m *QueryAllRevokedAccountResponse) XXX_Size() int

func (*QueryAllRevokedAccountResponse) XXX_Unmarshal added in v0.10.0

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

type QueryClient

type QueryClient interface {
	// Queries a account by index.
	Account(ctx context.Context, in *QueryGetAccountRequest, opts ...grpc.CallOption) (*QueryGetAccountResponse, error)
	// Queries a list of account items.
	AccountAll(ctx context.Context, in *QueryAllAccountRequest, opts ...grpc.CallOption) (*QueryAllAccountResponse, error)
	// Queries a pendingAccount by index.
	PendingAccount(ctx context.Context, in *QueryGetPendingAccountRequest, opts ...grpc.CallOption) (*QueryGetPendingAccountResponse, error)
	// Queries a list of pendingAccount items.
	PendingAccountAll(ctx context.Context, in *QueryAllPendingAccountRequest, opts ...grpc.CallOption) (*QueryAllPendingAccountResponse, error)
	// Queries a pendingAccountRevocation by index.
	PendingAccountRevocation(ctx context.Context, in *QueryGetPendingAccountRevocationRequest, opts ...grpc.CallOption) (*QueryGetPendingAccountRevocationResponse, error)
	// Queries a list of pendingAccountRevocation items.
	PendingAccountRevocationAll(ctx context.Context, in *QueryAllPendingAccountRevocationRequest, opts ...grpc.CallOption) (*QueryAllPendingAccountRevocationResponse, error)
	// Queries a accountStat by index.
	AccountStat(ctx context.Context, in *QueryGetAccountStatRequest, opts ...grpc.CallOption) (*QueryGetAccountStatResponse, error)
	// Queries a RevokedAccount by index.
	RevokedAccount(ctx context.Context, in *QueryGetRevokedAccountRequest, opts ...grpc.CallOption) (*QueryGetRevokedAccountResponse, error)
	// Queries a list of RevokedAccount items.
	RevokedAccountAll(ctx context.Context, in *QueryAllRevokedAccountRequest, opts ...grpc.CallOption) (*QueryAllRevokedAccountResponse, error)
	// Queries a RejectedAccount by index.
	RejectedAccount(ctx context.Context, in *QueryGetRejectedAccountRequest, opts ...grpc.CallOption) (*QueryGetRejectedAccountResponse, error)
	// Queries a list of RejectedAccount items.
	RejectedAccountAll(ctx context.Context, in *QueryAllRejectedAccountRequest, opts ...grpc.CallOption) (*QueryAllRejectedAccountResponse, 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 QueryGetAccountRequest

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

func (*QueryGetAccountRequest) Descriptor

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

func (*QueryGetAccountRequest) GetAddress

func (m *QueryGetAccountRequest) GetAddress() string

func (*QueryGetAccountRequest) Marshal

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

func (*QueryGetAccountRequest) MarshalTo

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

func (*QueryGetAccountRequest) MarshalToSizedBuffer

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

func (*QueryGetAccountRequest) ProtoMessage

func (*QueryGetAccountRequest) ProtoMessage()

func (*QueryGetAccountRequest) Reset

func (m *QueryGetAccountRequest) Reset()

func (*QueryGetAccountRequest) Size

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

func (*QueryGetAccountRequest) String

func (m *QueryGetAccountRequest) String() string

func (*QueryGetAccountRequest) Unmarshal

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

func (*QueryGetAccountRequest) XXX_DiscardUnknown

func (m *QueryGetAccountRequest) XXX_DiscardUnknown()

func (*QueryGetAccountRequest) XXX_Marshal

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

func (*QueryGetAccountRequest) XXX_Merge

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

func (*QueryGetAccountRequest) XXX_Size

func (m *QueryGetAccountRequest) XXX_Size() int

func (*QueryGetAccountRequest) XXX_Unmarshal

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

type QueryGetAccountResponse

type QueryGetAccountResponse struct {
	Account Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account"`
}

func (*QueryGetAccountResponse) Descriptor

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

func (*QueryGetAccountResponse) GetAccount

func (m *QueryGetAccountResponse) GetAccount() Account

func (*QueryGetAccountResponse) Marshal

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

func (*QueryGetAccountResponse) MarshalTo

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

func (*QueryGetAccountResponse) MarshalToSizedBuffer

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

func (*QueryGetAccountResponse) ProtoMessage

func (*QueryGetAccountResponse) ProtoMessage()

func (*QueryGetAccountResponse) Reset

func (m *QueryGetAccountResponse) Reset()

func (*QueryGetAccountResponse) Size

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

func (*QueryGetAccountResponse) String

func (m *QueryGetAccountResponse) String() string

func (*QueryGetAccountResponse) Unmarshal

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

func (*QueryGetAccountResponse) XXX_DiscardUnknown

func (m *QueryGetAccountResponse) XXX_DiscardUnknown()

func (*QueryGetAccountResponse) XXX_Marshal

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

func (*QueryGetAccountResponse) XXX_Merge

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

func (*QueryGetAccountResponse) XXX_Size

func (m *QueryGetAccountResponse) XXX_Size() int

func (*QueryGetAccountResponse) XXX_Unmarshal

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

type QueryGetAccountStatRequest

type QueryGetAccountStatRequest struct {
}

func (*QueryGetAccountStatRequest) Descriptor

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

func (*QueryGetAccountStatRequest) Marshal

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

func (*QueryGetAccountStatRequest) MarshalTo

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

func (*QueryGetAccountStatRequest) MarshalToSizedBuffer

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

func (*QueryGetAccountStatRequest) ProtoMessage

func (*QueryGetAccountStatRequest) ProtoMessage()

func (*QueryGetAccountStatRequest) Reset

func (m *QueryGetAccountStatRequest) Reset()

func (*QueryGetAccountStatRequest) Size

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

func (*QueryGetAccountStatRequest) String

func (m *QueryGetAccountStatRequest) String() string

func (*QueryGetAccountStatRequest) Unmarshal

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

func (*QueryGetAccountStatRequest) XXX_DiscardUnknown

func (m *QueryGetAccountStatRequest) XXX_DiscardUnknown()

func (*QueryGetAccountStatRequest) XXX_Marshal

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

func (*QueryGetAccountStatRequest) XXX_Merge

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

func (*QueryGetAccountStatRequest) XXX_Size

func (m *QueryGetAccountStatRequest) XXX_Size() int

func (*QueryGetAccountStatRequest) XXX_Unmarshal

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

type QueryGetAccountStatResponse

type QueryGetAccountStatResponse struct {
	AccountStat AccountStat `protobuf:"bytes,1,opt,name=AccountStat,proto3" json:"AccountStat"`
}

func (*QueryGetAccountStatResponse) Descriptor

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

func (*QueryGetAccountStatResponse) GetAccountStat

func (m *QueryGetAccountStatResponse) GetAccountStat() AccountStat

func (*QueryGetAccountStatResponse) Marshal

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

func (*QueryGetAccountStatResponse) MarshalTo

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

func (*QueryGetAccountStatResponse) MarshalToSizedBuffer

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

func (*QueryGetAccountStatResponse) ProtoMessage

func (*QueryGetAccountStatResponse) ProtoMessage()

func (*QueryGetAccountStatResponse) Reset

func (m *QueryGetAccountStatResponse) Reset()

func (*QueryGetAccountStatResponse) Size

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

func (*QueryGetAccountStatResponse) String

func (m *QueryGetAccountStatResponse) String() string

func (*QueryGetAccountStatResponse) Unmarshal

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

func (*QueryGetAccountStatResponse) XXX_DiscardUnknown

func (m *QueryGetAccountStatResponse) XXX_DiscardUnknown()

func (*QueryGetAccountStatResponse) XXX_Marshal

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

func (*QueryGetAccountStatResponse) XXX_Merge

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

func (*QueryGetAccountStatResponse) XXX_Size

func (m *QueryGetAccountStatResponse) XXX_Size() int

func (*QueryGetAccountStatResponse) XXX_Unmarshal

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

type QueryGetPendingAccountRequest

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

func (*QueryGetPendingAccountRequest) Descriptor

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

func (*QueryGetPendingAccountRequest) GetAddress

func (m *QueryGetPendingAccountRequest) GetAddress() string

func (*QueryGetPendingAccountRequest) Marshal

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

func (*QueryGetPendingAccountRequest) MarshalTo

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

func (*QueryGetPendingAccountRequest) MarshalToSizedBuffer

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

func (*QueryGetPendingAccountRequest) ProtoMessage

func (*QueryGetPendingAccountRequest) ProtoMessage()

func (*QueryGetPendingAccountRequest) Reset

func (m *QueryGetPendingAccountRequest) Reset()

func (*QueryGetPendingAccountRequest) Size

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

func (*QueryGetPendingAccountRequest) String

func (*QueryGetPendingAccountRequest) Unmarshal

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

func (*QueryGetPendingAccountRequest) XXX_DiscardUnknown

func (m *QueryGetPendingAccountRequest) XXX_DiscardUnknown()

func (*QueryGetPendingAccountRequest) XXX_Marshal

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

func (*QueryGetPendingAccountRequest) XXX_Merge

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

func (*QueryGetPendingAccountRequest) XXX_Size

func (m *QueryGetPendingAccountRequest) XXX_Size() int

func (*QueryGetPendingAccountRequest) XXX_Unmarshal

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

type QueryGetPendingAccountResponse

type QueryGetPendingAccountResponse struct {
	PendingAccount PendingAccount `protobuf:"bytes,1,opt,name=pendingAccount,proto3" json:"pendingAccount"`
}

func (*QueryGetPendingAccountResponse) Descriptor

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

func (*QueryGetPendingAccountResponse) GetPendingAccount

func (m *QueryGetPendingAccountResponse) GetPendingAccount() PendingAccount

func (*QueryGetPendingAccountResponse) Marshal

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

func (*QueryGetPendingAccountResponse) MarshalTo

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

func (*QueryGetPendingAccountResponse) MarshalToSizedBuffer

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

func (*QueryGetPendingAccountResponse) ProtoMessage

func (*QueryGetPendingAccountResponse) ProtoMessage()

func (*QueryGetPendingAccountResponse) Reset

func (m *QueryGetPendingAccountResponse) Reset()

func (*QueryGetPendingAccountResponse) Size

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

func (*QueryGetPendingAccountResponse) String

func (*QueryGetPendingAccountResponse) Unmarshal

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

func (*QueryGetPendingAccountResponse) XXX_DiscardUnknown

func (m *QueryGetPendingAccountResponse) XXX_DiscardUnknown()

func (*QueryGetPendingAccountResponse) XXX_Marshal

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

func (*QueryGetPendingAccountResponse) XXX_Merge

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

func (*QueryGetPendingAccountResponse) XXX_Size

func (m *QueryGetPendingAccountResponse) XXX_Size() int

func (*QueryGetPendingAccountResponse) XXX_Unmarshal

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

type QueryGetPendingAccountRevocationRequest

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

func (*QueryGetPendingAccountRevocationRequest) Descriptor

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

func (*QueryGetPendingAccountRevocationRequest) GetAddress

func (*QueryGetPendingAccountRevocationRequest) Marshal

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

func (*QueryGetPendingAccountRevocationRequest) MarshalTo

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

func (*QueryGetPendingAccountRevocationRequest) MarshalToSizedBuffer

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

func (*QueryGetPendingAccountRevocationRequest) ProtoMessage

func (*QueryGetPendingAccountRevocationRequest) Reset

func (*QueryGetPendingAccountRevocationRequest) Size

func (*QueryGetPendingAccountRevocationRequest) String

func (*QueryGetPendingAccountRevocationRequest) Unmarshal

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

func (*QueryGetPendingAccountRevocationRequest) XXX_DiscardUnknown

func (m *QueryGetPendingAccountRevocationRequest) XXX_DiscardUnknown()

func (*QueryGetPendingAccountRevocationRequest) XXX_Marshal

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

func (*QueryGetPendingAccountRevocationRequest) XXX_Merge

func (*QueryGetPendingAccountRevocationRequest) XXX_Size

func (*QueryGetPendingAccountRevocationRequest) XXX_Unmarshal

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

type QueryGetPendingAccountRevocationResponse

type QueryGetPendingAccountRevocationResponse struct {
	PendingAccountRevocation PendingAccountRevocation `protobuf:"bytes,1,opt,name=pendingAccountRevocation,proto3" json:"pendingAccountRevocation"`
}

func (*QueryGetPendingAccountRevocationResponse) Descriptor

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

func (*QueryGetPendingAccountRevocationResponse) GetPendingAccountRevocation

func (m *QueryGetPendingAccountRevocationResponse) GetPendingAccountRevocation() PendingAccountRevocation

func (*QueryGetPendingAccountRevocationResponse) Marshal

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

func (*QueryGetPendingAccountRevocationResponse) MarshalTo

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

func (*QueryGetPendingAccountRevocationResponse) MarshalToSizedBuffer

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

func (*QueryGetPendingAccountRevocationResponse) ProtoMessage

func (*QueryGetPendingAccountRevocationResponse) Reset

func (*QueryGetPendingAccountRevocationResponse) Size

func (*QueryGetPendingAccountRevocationResponse) String

func (*QueryGetPendingAccountRevocationResponse) Unmarshal

func (*QueryGetPendingAccountRevocationResponse) XXX_DiscardUnknown

func (m *QueryGetPendingAccountRevocationResponse) XXX_DiscardUnknown()

func (*QueryGetPendingAccountRevocationResponse) XXX_Marshal

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

func (*QueryGetPendingAccountRevocationResponse) XXX_Merge

func (*QueryGetPendingAccountRevocationResponse) XXX_Size

func (*QueryGetPendingAccountRevocationResponse) XXX_Unmarshal

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

type QueryGetRejectedAccountRequest added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) Descriptor added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) GetAddress added in v0.11.0

func (m *QueryGetRejectedAccountRequest) GetAddress() string

func (*QueryGetRejectedAccountRequest) Marshal added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) MarshalTo added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) MarshalToSizedBuffer added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) ProtoMessage added in v0.11.0

func (*QueryGetRejectedAccountRequest) ProtoMessage()

func (*QueryGetRejectedAccountRequest) Reset added in v0.11.0

func (m *QueryGetRejectedAccountRequest) Reset()

func (*QueryGetRejectedAccountRequest) Size added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) String added in v0.11.0

func (*QueryGetRejectedAccountRequest) Unmarshal added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) XXX_DiscardUnknown added in v0.11.0

func (m *QueryGetRejectedAccountRequest) XXX_DiscardUnknown()

func (*QueryGetRejectedAccountRequest) XXX_Marshal added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) XXX_Merge added in v0.11.0

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

func (*QueryGetRejectedAccountRequest) XXX_Size added in v0.11.0

func (m *QueryGetRejectedAccountRequest) XXX_Size() int

func (*QueryGetRejectedAccountRequest) XXX_Unmarshal added in v0.11.0

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

type QueryGetRejectedAccountResponse added in v0.11.0

type QueryGetRejectedAccountResponse struct {
	RejectedAccount RejectedAccount `protobuf:"bytes,1,opt,name=rejectedAccount,proto3" json:"rejectedAccount"`
}

func (*QueryGetRejectedAccountResponse) Descriptor added in v0.11.0

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

func (*QueryGetRejectedAccountResponse) GetRejectedAccount added in v0.11.0

func (m *QueryGetRejectedAccountResponse) GetRejectedAccount() RejectedAccount

func (*QueryGetRejectedAccountResponse) Marshal added in v0.11.0

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

func (*QueryGetRejectedAccountResponse) MarshalTo added in v0.11.0

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

func (*QueryGetRejectedAccountResponse) MarshalToSizedBuffer added in v0.11.0

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

func (*QueryGetRejectedAccountResponse) ProtoMessage added in v0.11.0

func (*QueryGetRejectedAccountResponse) ProtoMessage()

func (*QueryGetRejectedAccountResponse) Reset added in v0.11.0

func (*QueryGetRejectedAccountResponse) Size added in v0.11.0

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

func (*QueryGetRejectedAccountResponse) String added in v0.11.0

func (*QueryGetRejectedAccountResponse) Unmarshal added in v0.11.0

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

func (*QueryGetRejectedAccountResponse) XXX_DiscardUnknown added in v0.11.0

func (m *QueryGetRejectedAccountResponse) XXX_DiscardUnknown()

func (*QueryGetRejectedAccountResponse) XXX_Marshal added in v0.11.0

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

func (*QueryGetRejectedAccountResponse) XXX_Merge added in v0.11.0

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

func (*QueryGetRejectedAccountResponse) XXX_Size added in v0.11.0

func (m *QueryGetRejectedAccountResponse) XXX_Size() int

func (*QueryGetRejectedAccountResponse) XXX_Unmarshal added in v0.11.0

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

type QueryGetRevokedAccountRequest added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) Descriptor added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) GetAddress added in v0.10.0

func (m *QueryGetRevokedAccountRequest) GetAddress() string

func (*QueryGetRevokedAccountRequest) Marshal added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) MarshalTo added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) ProtoMessage added in v0.10.0

func (*QueryGetRevokedAccountRequest) ProtoMessage()

func (*QueryGetRevokedAccountRequest) Reset added in v0.10.0

func (m *QueryGetRevokedAccountRequest) Reset()

func (*QueryGetRevokedAccountRequest) Size added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) String added in v0.10.0

func (*QueryGetRevokedAccountRequest) Unmarshal added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) XXX_DiscardUnknown added in v0.10.0

func (m *QueryGetRevokedAccountRequest) XXX_DiscardUnknown()

func (*QueryGetRevokedAccountRequest) XXX_Marshal added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) XXX_Merge added in v0.10.0

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

func (*QueryGetRevokedAccountRequest) XXX_Size added in v0.10.0

func (m *QueryGetRevokedAccountRequest) XXX_Size() int

func (*QueryGetRevokedAccountRequest) XXX_Unmarshal added in v0.10.0

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

type QueryGetRevokedAccountResponse added in v0.10.0

type QueryGetRevokedAccountResponse struct {
	RevokedAccount RevokedAccount `protobuf:"bytes,1,opt,name=revokedAccount,proto3" json:"revokedAccount"`
}

func (*QueryGetRevokedAccountResponse) Descriptor added in v0.10.0

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

func (*QueryGetRevokedAccountResponse) GetRevokedAccount added in v0.10.0

func (m *QueryGetRevokedAccountResponse) GetRevokedAccount() RevokedAccount

func (*QueryGetRevokedAccountResponse) Marshal added in v0.10.0

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

func (*QueryGetRevokedAccountResponse) MarshalTo added in v0.10.0

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

func (*QueryGetRevokedAccountResponse) MarshalToSizedBuffer added in v0.10.0

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

func (*QueryGetRevokedAccountResponse) ProtoMessage added in v0.10.0

func (*QueryGetRevokedAccountResponse) ProtoMessage()

func (*QueryGetRevokedAccountResponse) Reset added in v0.10.0

func (m *QueryGetRevokedAccountResponse) Reset()

func (*QueryGetRevokedAccountResponse) Size added in v0.10.0

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

func (*QueryGetRevokedAccountResponse) String added in v0.10.0

func (*QueryGetRevokedAccountResponse) Unmarshal added in v0.10.0

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

func (*QueryGetRevokedAccountResponse) XXX_DiscardUnknown added in v0.10.0

func (m *QueryGetRevokedAccountResponse) XXX_DiscardUnknown()

func (*QueryGetRevokedAccountResponse) XXX_Marshal added in v0.10.0

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

func (*QueryGetRevokedAccountResponse) XXX_Merge added in v0.10.0

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

func (*QueryGetRevokedAccountResponse) XXX_Size added in v0.10.0

func (m *QueryGetRevokedAccountResponse) XXX_Size() int

func (*QueryGetRevokedAccountResponse) XXX_Unmarshal added in v0.10.0

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

type QueryServer

type QueryServer interface {
	// Queries a account by index.
	Account(context.Context, *QueryGetAccountRequest) (*QueryGetAccountResponse, error)
	// Queries a list of account items.
	AccountAll(context.Context, *QueryAllAccountRequest) (*QueryAllAccountResponse, error)
	// Queries a pendingAccount by index.
	PendingAccount(context.Context, *QueryGetPendingAccountRequest) (*QueryGetPendingAccountResponse, error)
	// Queries a list of pendingAccount items.
	PendingAccountAll(context.Context, *QueryAllPendingAccountRequest) (*QueryAllPendingAccountResponse, error)
	// Queries a pendingAccountRevocation by index.
	PendingAccountRevocation(context.Context, *QueryGetPendingAccountRevocationRequest) (*QueryGetPendingAccountRevocationResponse, error)
	// Queries a list of pendingAccountRevocation items.
	PendingAccountRevocationAll(context.Context, *QueryAllPendingAccountRevocationRequest) (*QueryAllPendingAccountRevocationResponse, error)
	// Queries a accountStat by index.
	AccountStat(context.Context, *QueryGetAccountStatRequest) (*QueryGetAccountStatResponse, error)
	// Queries a RevokedAccount by index.
	RevokedAccount(context.Context, *QueryGetRevokedAccountRequest) (*QueryGetRevokedAccountResponse, error)
	// Queries a list of RevokedAccount items.
	RevokedAccountAll(context.Context, *QueryAllRevokedAccountRequest) (*QueryAllRevokedAccountResponse, error)
	// Queries a RejectedAccount by index.
	RejectedAccount(context.Context, *QueryGetRejectedAccountRequest) (*QueryGetRejectedAccountResponse, error)
	// Queries a list of RejectedAccount items.
	RejectedAccountAll(context.Context, *QueryAllRejectedAccountRequest) (*QueryAllRejectedAccountResponse, error)
}

QueryServer is the server API for Query service.

type RejectedAccount added in v0.11.0

type RejectedAccount struct {
	*Account                     `protobuf:"bytes,1,opt,name=account,proto3,embedded=account" json:"account,omitempty"`
	RejectedAccountSchemaVersion uint32 `protobuf:"varint,2,opt,name=rejectedAccountSchemaVersion,proto3" json:"rejectedAccountSchemaVersion,omitempty"`
}

func (*RejectedAccount) Descriptor added in v0.11.0

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

func (*RejectedAccount) GetRejectedAccountSchemaVersion added in v1.4.0

func (m *RejectedAccount) GetRejectedAccountSchemaVersion() uint32

func (*RejectedAccount) Marshal added in v0.11.0

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

func (*RejectedAccount) MarshalTo added in v0.11.0

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

func (*RejectedAccount) MarshalToSizedBuffer added in v0.11.0

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

func (*RejectedAccount) ProtoMessage added in v0.11.0

func (*RejectedAccount) ProtoMessage()

func (*RejectedAccount) Reset added in v0.11.0

func (m *RejectedAccount) Reset()

func (*RejectedAccount) Size added in v0.11.0

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

func (*RejectedAccount) String added in v0.11.0

func (m *RejectedAccount) String() string

func (*RejectedAccount) Unmarshal added in v0.11.0

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

func (*RejectedAccount) XXX_DiscardUnknown added in v0.11.0

func (m *RejectedAccount) XXX_DiscardUnknown()

func (*RejectedAccount) XXX_Marshal added in v0.11.0

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

func (*RejectedAccount) XXX_Merge added in v0.11.0

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

func (*RejectedAccount) XXX_Size added in v0.11.0

func (m *RejectedAccount) XXX_Size() int

func (*RejectedAccount) XXX_Unmarshal added in v0.11.0

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

type RevokedAccount added in v0.10.0

type RevokedAccount struct {
	*Account                    `protobuf:"bytes,1,opt,name=account,proto3,embedded=account" json:"account,omitempty"`
	RevokeApprovals             []*Grant              `protobuf:"bytes,2,rep,name=revokeApprovals,proto3" json:"revokeApprovals,omitempty"`
	Reason                      RevokedAccount_Reason `` /* 144-byte string literal not displayed */
	RevokedAccountSchemaVersion uint32                `protobuf:"varint,4,opt,name=revokedAccountSchemaVersion,proto3" json:"revokedAccountSchemaVersion,omitempty"`
}

func NewRevokedAccount added in v0.10.0

func NewRevokedAccount(acc *Account, approvals []*Grant) *RevokedAccount

NewRevokedAccount creates a new RevokedAccount object.

func (*RevokedAccount) Descriptor added in v0.10.0

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

func (*RevokedAccount) GetReason added in v0.10.0

func (m *RevokedAccount) GetReason() RevokedAccount_Reason

func (*RevokedAccount) GetRevokeApprovals added in v0.10.0

func (m *RevokedAccount) GetRevokeApprovals() []*Grant

func (*RevokedAccount) GetRevokedAccountSchemaVersion added in v1.4.0

func (m *RevokedAccount) GetRevokedAccountSchemaVersion() uint32

func (*RevokedAccount) Marshal added in v0.10.0

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

func (*RevokedAccount) MarshalTo added in v0.10.0

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

func (*RevokedAccount) MarshalToSizedBuffer added in v0.10.0

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

func (*RevokedAccount) ProtoMessage added in v0.10.0

func (*RevokedAccount) ProtoMessage()

func (*RevokedAccount) Reset added in v0.10.0

func (m *RevokedAccount) Reset()

func (*RevokedAccount) Size added in v0.10.0

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

func (*RevokedAccount) String added in v0.10.0

func (m *RevokedAccount) String() string

func (*RevokedAccount) Unmarshal added in v0.10.0

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

func (*RevokedAccount) XXX_DiscardUnknown added in v0.10.0

func (m *RevokedAccount) XXX_DiscardUnknown()

func (*RevokedAccount) XXX_Marshal added in v0.10.0

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

func (*RevokedAccount) XXX_Merge added in v0.10.0

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

func (*RevokedAccount) XXX_Size added in v0.10.0

func (m *RevokedAccount) XXX_Size() int

func (*RevokedAccount) XXX_Unmarshal added in v0.10.0

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

type RevokedAccount_Reason added in v0.10.0

type RevokedAccount_Reason int32
const (
	RevokedAccount_TrusteeVoting      RevokedAccount_Reason = 0
	RevokedAccount_MaliciousValidator RevokedAccount_Reason = 1
)

func (RevokedAccount_Reason) EnumDescriptor added in v0.10.0

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

func (RevokedAccount_Reason) String added in v0.10.0

func (x RevokedAccount_Reason) String() string

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ApproveAddAccount

func (*UnimplementedMsgServer) ApproveRevokeAccount

func (*UnimplementedMsgServer) ProposeAddAccount

func (*UnimplementedMsgServer) ProposeRevokeAccount

func (*UnimplementedMsgServer) RejectAddAccount added in v0.11.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Account

func (*UnimplementedQueryServer) AccountAll

func (*UnimplementedQueryServer) AccountStat

func (*UnimplementedQueryServer) PendingAccount

func (*UnimplementedQueryServer) PendingAccountAll

func (*UnimplementedQueryServer) RejectedAccount added in v0.11.0

func (*UnimplementedQueryServer) RejectedAccountAll added in v0.11.0

func (*UnimplementedQueryServer) RevokedAccount added in v0.10.0

func (*UnimplementedQueryServer) RevokedAccountAll added in v0.10.0

Jump to

Keyboard shortcuts

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