Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2023 Changes in this version + const ModuleName + const QuerierRoute + const RouterKey + const StoreKey + var AdminAccountStorePrefix = []byte + var AdminType_name = map[int32]string + var AdminType_value = map[string]int32 + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrPermissionDenied = sdkerrors.Register(ModuleName, 1, "permission denied") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewAminoCodec(amino) + var ParamsStorePrefix = []byte + func GetAdminAccountKey(adminAccount AdminAccount) []byte + func RegisterInterfaces(registry cdctypes.InterfaceRegistry) + func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) + func RegisterMsgServer(s grpc1.Server, srv MsgServer) + func RegisterQueryServer(s grpc1.Server, srv QueryServer) + func StringCompare(a, b string) bool + type AdminAccount struct + AdminAddress string + AdminType AdminType + func InitialAdminAccounts() []*AdminAccount + func ProdAdminAccounts() []*AdminAccount + func (*AdminAccount) Descriptor() ([]byte, []int) + func (*AdminAccount) ProtoMessage() + func (m *AdminAccount) GetAdminAddress() string + func (m *AdminAccount) GetAdminType() AdminType + func (m *AdminAccount) Marshal() (dAtA []byte, err error) + func (m *AdminAccount) MarshalTo(dAtA []byte) (int, error) + func (m *AdminAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *AdminAccount) Reset() + func (m *AdminAccount) Size() (n int) + func (m *AdminAccount) String() string + func (m *AdminAccount) Unmarshal(dAtA []byte) error + func (m *AdminAccount) XXX_DiscardUnknown() + func (m *AdminAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AdminAccount) XXX_Merge(src proto.Message) + func (m *AdminAccount) XXX_Size() int + func (m *AdminAccount) XXX_Unmarshal(b []byte) error + type AdminType int32 + const AdminType_ADMIN + const AdminType_CLPDEX + const AdminType_ETHBRIDGE + const AdminType_MARGIN + const AdminType_PMTPREWARDS + const AdminType_TOKENREGISTRY + func (AdminType) EnumDescriptor() ([]byte, []int) + func (x AdminType) String() string + type GenesisState struct + AdminAccounts []*AdminAccount + func UnmarshalGenesis(marshaler codec.JSONCodec, state json.RawMessage) GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (m *GenesisState) GetAdminAccounts() []*AdminAccount + func (m *GenesisState) Marshal() (dAtA []byte, err error) + func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) + func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type GetParamsRequest struct + func (*GetParamsRequest) Descriptor() ([]byte, []int) + func (*GetParamsRequest) ProtoMessage() + func (m *GetParamsRequest) Marshal() (dAtA []byte, err error) + func (m *GetParamsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *GetParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetParamsRequest) Reset() + func (m *GetParamsRequest) Size() (n int) + func (m *GetParamsRequest) String() string + func (m *GetParamsRequest) Unmarshal(dAtA []byte) error + func (m *GetParamsRequest) XXX_DiscardUnknown() + func (m *GetParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetParamsRequest) XXX_Merge(src proto.Message) + func (m *GetParamsRequest) XXX_Size() int + func (m *GetParamsRequest) XXX_Unmarshal(b []byte) error + type GetParamsResponse struct + Params *Params + func (*GetParamsResponse) Descriptor() ([]byte, []int) + func (*GetParamsResponse) ProtoMessage() + func (m *GetParamsResponse) GetParams() *Params + func (m *GetParamsResponse) Marshal() (dAtA []byte, err error) + func (m *GetParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *GetParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *GetParamsResponse) Reset() + func (m *GetParamsResponse) Size() (n int) + func (m *GetParamsResponse) String() string + func (m *GetParamsResponse) Unmarshal(dAtA []byte) error + func (m *GetParamsResponse) XXX_DiscardUnknown() + func (m *GetParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetParamsResponse) XXX_Merge(src proto.Message) + func (m *GetParamsResponse) XXX_Size() int + func (m *GetParamsResponse) XXX_Unmarshal(b []byte) error + type ListAccountsRequest struct + func (*ListAccountsRequest) Descriptor() ([]byte, []int) + func (*ListAccountsRequest) ProtoMessage() + func (m *ListAccountsRequest) Marshal() (dAtA []byte, err error) + func (m *ListAccountsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ListAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ListAccountsRequest) Reset() + func (m *ListAccountsRequest) Size() (n int) + func (m *ListAccountsRequest) String() string + func (m *ListAccountsRequest) Unmarshal(dAtA []byte) error + func (m *ListAccountsRequest) XXX_DiscardUnknown() + func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListAccountsRequest) XXX_Merge(src proto.Message) + func (m *ListAccountsRequest) XXX_Size() int + func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error + type ListAccountsResponse struct + Keys []*AdminAccount + func (*ListAccountsResponse) Descriptor() ([]byte, []int) + func (*ListAccountsResponse) ProtoMessage() + func (m *ListAccountsResponse) GetKeys() []*AdminAccount + func (m *ListAccountsResponse) Marshal() (dAtA []byte, err error) + func (m *ListAccountsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ListAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ListAccountsResponse) Reset() + func (m *ListAccountsResponse) Size() (n int) + func (m *ListAccountsResponse) String() string + func (m *ListAccountsResponse) Unmarshal(dAtA []byte) error + func (m *ListAccountsResponse) XXX_DiscardUnknown() + func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListAccountsResponse) XXX_Merge(src proto.Message) + func (m *ListAccountsResponse) XXX_Size() int + func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error + type MsgAddAccount struct + Account *AdminAccount + Signer string + func (*MsgAddAccount) Descriptor() ([]byte, []int) + func (*MsgAddAccount) ProtoMessage() + func (m *MsgAddAccount) GetAccount() *AdminAccount + func (m *MsgAddAccount) GetSignBytes() []byte + func (m *MsgAddAccount) GetSigner() string + func (m *MsgAddAccount) GetSigners() []sdk.AccAddress + func (m *MsgAddAccount) Marshal() (dAtA []byte, err error) + func (m *MsgAddAccount) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddAccount) Reset() + func (m *MsgAddAccount) Route() string + func (m *MsgAddAccount) Size() (n int) + func (m *MsgAddAccount) String() string + func (m *MsgAddAccount) Type() string + func (m *MsgAddAccount) Unmarshal(dAtA []byte) error + func (m *MsgAddAccount) ValidateBasic() error + func (m *MsgAddAccount) XXX_DiscardUnknown() + func (m *MsgAddAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddAccount) XXX_Merge(src proto.Message) + func (m *MsgAddAccount) XXX_Size() int + func (m *MsgAddAccount) XXX_Unmarshal(b []byte) error + type MsgAddAccountResponse struct + func (*MsgAddAccountResponse) Descriptor() ([]byte, []int) + func (*MsgAddAccountResponse) ProtoMessage() + func (m *MsgAddAccountResponse) Marshal() (dAtA []byte, err error) + func (m *MsgAddAccountResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddAccountResponse) Reset() + func (m *MsgAddAccountResponse) Size() (n int) + func (m *MsgAddAccountResponse) String() string + func (m *MsgAddAccountResponse) Unmarshal(dAtA []byte) error + func (m *MsgAddAccountResponse) XXX_DiscardUnknown() + func (m *MsgAddAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddAccountResponse) XXX_Merge(src proto.Message) + func (m *MsgAddAccountResponse) XXX_Size() int + func (m *MsgAddAccountResponse) XXX_Unmarshal(b []byte) error + type MsgClient interface + AddAccount func(ctx context.Context, in *MsgAddAccount, opts ...grpc.CallOption) (*MsgAddAccountResponse, error) + RemoveAccount func(ctx context.Context, in *MsgRemoveAccount, opts ...grpc.CallOption) (*MsgRemoveAccountResponse, error) + SetParams func(ctx context.Context, in *MsgSetParams, opts ...grpc.CallOption) (*MsgSetParamsResponse, error) + func NewMsgClient(cc grpc1.ClientConn) MsgClient + type MsgRemoveAccount struct + Account *AdminAccount + Signer string + func (*MsgRemoveAccount) Descriptor() ([]byte, []int) + func (*MsgRemoveAccount) ProtoMessage() + func (m *MsgRemoveAccount) GetAccount() *AdminAccount + func (m *MsgRemoveAccount) GetSignBytes() []byte + func (m *MsgRemoveAccount) GetSigner() string + func (m *MsgRemoveAccount) GetSigners() []sdk.AccAddress + func (m *MsgRemoveAccount) Marshal() (dAtA []byte, err error) + func (m *MsgRemoveAccount) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRemoveAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRemoveAccount) Reset() + func (m *MsgRemoveAccount) Route() string + func (m *MsgRemoveAccount) Size() (n int) + func (m *MsgRemoveAccount) String() string + func (m *MsgRemoveAccount) Type() string + func (m *MsgRemoveAccount) Unmarshal(dAtA []byte) error + func (m *MsgRemoveAccount) ValidateBasic() error + func (m *MsgRemoveAccount) XXX_DiscardUnknown() + func (m *MsgRemoveAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRemoveAccount) XXX_Merge(src proto.Message) + func (m *MsgRemoveAccount) XXX_Size() int + func (m *MsgRemoveAccount) XXX_Unmarshal(b []byte) error + type MsgRemoveAccountResponse struct + func (*MsgRemoveAccountResponse) Descriptor() ([]byte, []int) + func (*MsgRemoveAccountResponse) ProtoMessage() + func (m *MsgRemoveAccountResponse) Marshal() (dAtA []byte, err error) + func (m *MsgRemoveAccountResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRemoveAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRemoveAccountResponse) Reset() + func (m *MsgRemoveAccountResponse) Size() (n int) + func (m *MsgRemoveAccountResponse) String() string + func (m *MsgRemoveAccountResponse) Unmarshal(dAtA []byte) error + func (m *MsgRemoveAccountResponse) XXX_DiscardUnknown() + func (m *MsgRemoveAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRemoveAccountResponse) XXX_Merge(src proto.Message) + func (m *MsgRemoveAccountResponse) XXX_Size() int + func (m *MsgRemoveAccountResponse) XXX_Unmarshal(b []byte) error + type MsgServer interface + AddAccount func(context.Context, *MsgAddAccount) (*MsgAddAccountResponse, error) + RemoveAccount func(context.Context, *MsgRemoveAccount) (*MsgRemoveAccountResponse, error) + SetParams func(context.Context, *MsgSetParams) (*MsgSetParamsResponse, error) + type MsgSetParams struct + Params *Params + Signer string + func (*MsgSetParams) Descriptor() ([]byte, []int) + func (*MsgSetParams) ProtoMessage() + func (m *MsgSetParams) GetParams() *Params + func (m *MsgSetParams) GetSignBytes() []byte + func (m *MsgSetParams) GetSigner() string + func (m *MsgSetParams) GetSigners() []sdk.AccAddress + func (m *MsgSetParams) Marshal() (dAtA []byte, err error) + func (m *MsgSetParams) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSetParams) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSetParams) Reset() + func (m *MsgSetParams) Route() string + func (m *MsgSetParams) Size() (n int) + func (m *MsgSetParams) String() string + func (m *MsgSetParams) Type() string + func (m *MsgSetParams) Unmarshal(dAtA []byte) error + func (m *MsgSetParams) ValidateBasic() error + func (m *MsgSetParams) XXX_DiscardUnknown() + func (m *MsgSetParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSetParams) XXX_Merge(src proto.Message) + func (m *MsgSetParams) XXX_Size() int + func (m *MsgSetParams) XXX_Unmarshal(b []byte) error + type MsgSetParamsResponse struct + func (*MsgSetParamsResponse) Descriptor() ([]byte, []int) + func (*MsgSetParamsResponse) ProtoMessage() + func (m *MsgSetParamsResponse) Marshal() (dAtA []byte, err error) + func (m *MsgSetParamsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSetParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSetParamsResponse) Reset() + func (m *MsgSetParamsResponse) Size() (n int) + func (m *MsgSetParamsResponse) String() string + func (m *MsgSetParamsResponse) Unmarshal(dAtA []byte) error + func (m *MsgSetParamsResponse) XXX_DiscardUnknown() + func (m *MsgSetParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSetParamsResponse) XXX_Merge(src proto.Message) + func (m *MsgSetParamsResponse) XXX_Size() int + func (m *MsgSetParamsResponse) XXX_Unmarshal(b []byte) error + type Params struct + SubmitProposalFee github_com_cosmos_cosmos_sdk_types.Uint + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + type QueryClient interface + GetParams func(ctx context.Context, in *GetParamsRequest, opts ...grpc.CallOption) (*GetParamsResponse, error) + ListAccounts func(ctx context.Context, in *ListAccountsRequest, opts ...grpc.CallOption) (*ListAccountsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryServer interface + GetParams func(context.Context, *GetParamsRequest) (*GetParamsResponse, error) + ListAccounts func(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) + type UnimplementedMsgServer struct + func (*UnimplementedMsgServer) AddAccount(ctx context.Context, req *MsgAddAccount) (*MsgAddAccountResponse, error) + func (*UnimplementedMsgServer) RemoveAccount(ctx context.Context, req *MsgRemoveAccount) (*MsgRemoveAccountResponse, error) + func (*UnimplementedMsgServer) SetParams(ctx context.Context, req *MsgSetParams) (*MsgSetParamsResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) GetParams(ctx context.Context, req *GetParamsRequest) (*GetParamsResponse, error) + func (*UnimplementedQueryServer) ListAccounts(ctx context.Context, req *ListAccountsRequest) (*ListAccountsResponse, error)