types

package
v1.54.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeMsgUpdateParams         = "update_params"
	TypeMsgCreateNamespace      = "create_namespace"
	TypeMsgDeleteNamespace      = "delete_namespace"
	TypeUpdateNamespace         = "update_namespace"
	TypeMsgUpdateNamespaceRoles = "update_namespace_roles"
	TypeMsgRevokeNamespaceRoles = "revoke_namespace_roles"
	TypeMsgClaimVoucher         = "claim_voucher"
)

constants

View Source
const (
	EVERYONE = "EVERYONE"
	MaxPerm  = uint32(Action_MINT) | uint32(Action_RECEIVE) | uint32(Action_BURN)
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const ModuleName = "permissions"

Variables

View Source
var (
	ErrDenomNamespaceExists = errors.Register(ModuleName, 2, "attempting to create a namespace for denom that already exists")
	ErrUnauthorized         = errors.Register(ModuleName, 3, "unauthorized account")
	ErrInvalidGenesis       = errors.Register(ModuleName, 4, "invalid genesis")
	ErrInvalidNamespace     = errors.Register(ModuleName, 5, "invalid namespace")
	ErrInvalidPermission    = errors.Register(ModuleName, 6, "invalid permissions")
	ErrUnknownRole          = errors.Register(ModuleName, 7, "unknown role")
	ErrUnknownWasmHook      = errors.Register(ModuleName, 8, "unknown contract address")
	ErrRestrictedAction     = errors.Register(ModuleName, 9, "restricted action")
	ErrInvalidRole          = errors.Register(ModuleName, 10, "invalid role")
	ErrUnknownDenom         = errors.Register(ModuleName, 11, "namespace for denom is not existing")
	ErrWasmHookError        = errors.Register(ModuleName, 12, "wasm hook query error")
	ErrVoucherNotFound      = errors.Register(ModuleName, 13, "voucher was not found")
	ErrInvalidWasmHook      = errors.Register(ModuleName, 14, "invalid wasm hook")
)

x/tokenfactory module sentinel errors

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPermissions        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPermissions          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPermissions = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Action_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "MINT",
	2: "RECEIVE",
	4: "BURN",
}
View Source
var Action_value = map[string]int32{
	"UNSPECIFIED": 0,
	"MINT":        1,
	"RECEIVE":     2,
	"BURN":        4,
}
View Source
var (
	ModuleCdc = codec.NewLegacyAmino()
)

Functions

func GetWasmHookMsgBytes

func GetWasmHookMsgBytes(fromAddr, toAddr sdk.AccAddress, action Action, amount sdk.Coin) ([]byte, error)

func NewEmptyVoucher

func NewEmptyVoucher(denom string) sdk.Coin

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamTable

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type Action

type Action int32

each Action enum value should be a power of two

const (
	Action_UNSPECIFIED Action = 0
	Action_MINT        Action = 1
	Action_RECEIVE     Action = 2
	Action_BURN        Action = 4
)

func (Action) DeriveActor

func (a Action) DeriveActor(fromAddr, toAddr sdk.AccAddress) sdk.AccAddress

func (Action) EnumDescriptor

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

func (Action) String

func (x Action) String() string

type AddressRoles

type AddressRoles struct {
	Address string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Roles   []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
}

func (*AddressRoles) Descriptor

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

func (*AddressRoles) GetAddress

func (m *AddressRoles) GetAddress() string

func (*AddressRoles) GetRoles

func (m *AddressRoles) GetRoles() []string

func (*AddressRoles) Marshal

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

func (*AddressRoles) MarshalTo

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

func (*AddressRoles) MarshalToSizedBuffer

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

func (*AddressRoles) ProtoMessage

func (*AddressRoles) ProtoMessage()

func (*AddressRoles) Reset

func (m *AddressRoles) Reset()

func (*AddressRoles) Size

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

func (*AddressRoles) String

func (m *AddressRoles) String() string

func (*AddressRoles) Unmarshal

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

func (*AddressRoles) XXX_DiscardUnknown

func (m *AddressRoles) XXX_DiscardUnknown()

func (*AddressRoles) XXX_Marshal

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

func (*AddressRoles) XXX_Merge

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

func (*AddressRoles) XXX_Size

func (m *AddressRoles) XXX_Size() int

func (*AddressRoles) XXX_Unmarshal

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

type AddressVoucher

type AddressVoucher struct {
	Address string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Voucher *Voucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"`
}

func (*AddressVoucher) Descriptor

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

func (*AddressVoucher) GetAddress

func (m *AddressVoucher) GetAddress() string

func (*AddressVoucher) GetVoucher

func (m *AddressVoucher) GetVoucher() *Voucher

func (*AddressVoucher) Marshal

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

func (*AddressVoucher) MarshalTo

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

func (*AddressVoucher) MarshalToSizedBuffer

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

func (*AddressVoucher) ProtoMessage

func (*AddressVoucher) ProtoMessage()

func (*AddressVoucher) Reset

func (m *AddressVoucher) Reset()

func (*AddressVoucher) Size

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

func (*AddressVoucher) String

func (m *AddressVoucher) String() string

func (*AddressVoucher) Unmarshal

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

func (*AddressVoucher) XXX_DiscardUnknown

func (m *AddressVoucher) XXX_DiscardUnknown()

func (*AddressVoucher) XXX_Marshal

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

func (*AddressVoucher) XXX_Merge

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

func (*AddressVoucher) XXX_Size

func (m *AddressVoucher) XXX_Size() int

func (*AddressVoucher) XXX_Unmarshal

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

type BankKeeper

type BankKeeper interface {
	AppendSendRestriction(restriction banktypes.SendRestrictionFn)
	PrependSendRestriction(restriction banktypes.SendRestrictionFn)
	ClearSendRestriction()
	SendCoinsFromModuleToAccount(ctx context.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
}

type EventSetVoucher

type EventSetVoucher struct {
	Addr    string     `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
	Voucher types.Coin `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher"`
}

func (*EventSetVoucher) Descriptor

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

func (*EventSetVoucher) GetAddr

func (m *EventSetVoucher) GetAddr() string

func (*EventSetVoucher) GetVoucher

func (m *EventSetVoucher) GetVoucher() types.Coin

func (*EventSetVoucher) Marshal

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

func (*EventSetVoucher) MarshalTo

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

func (*EventSetVoucher) MarshalToSizedBuffer

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

func (*EventSetVoucher) ProtoMessage

func (*EventSetVoucher) ProtoMessage()

func (*EventSetVoucher) Reset

func (m *EventSetVoucher) Reset()

func (*EventSetVoucher) Size

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

func (*EventSetVoucher) String

func (m *EventSetVoucher) String() string

func (*EventSetVoucher) Unmarshal

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

func (*EventSetVoucher) XXX_DiscardUnknown

func (m *EventSetVoucher) XXX_DiscardUnknown()

func (*EventSetVoucher) XXX_Marshal

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

func (*EventSetVoucher) XXX_Merge

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

func (*EventSetVoucher) XXX_Size

func (m *EventSetVoucher) XXX_Size() int

func (*EventSetVoucher) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// params defines the parameters of the module.
	Params     Params      `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	Namespaces []Namespace `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces"`
}

GenesisState defines the permissions module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetNamespaces

func (m *GenesisState) GetNamespaces() []Namespace

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type MsgClaimVoucher

type MsgClaimVoucher struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	Denom  string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

func (*MsgClaimVoucher) Descriptor

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

func (*MsgClaimVoucher) GetDenom

func (m *MsgClaimVoucher) GetDenom() string

func (*MsgClaimVoucher) GetSender

func (m *MsgClaimVoucher) GetSender() string

func (*MsgClaimVoucher) GetSignBytes

func (m *MsgClaimVoucher) GetSignBytes() []byte

func (MsgClaimVoucher) GetSigners

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

func (*MsgClaimVoucher) Marshal

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

func (*MsgClaimVoucher) MarshalTo

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

func (*MsgClaimVoucher) MarshalToSizedBuffer

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

func (*MsgClaimVoucher) ProtoMessage

func (*MsgClaimVoucher) ProtoMessage()

func (*MsgClaimVoucher) Reset

func (m *MsgClaimVoucher) Reset()

func (MsgClaimVoucher) Route

func (m MsgClaimVoucher) Route() string

func (*MsgClaimVoucher) Size

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

func (*MsgClaimVoucher) String

func (m *MsgClaimVoucher) String() string

func (MsgClaimVoucher) Type

func (m MsgClaimVoucher) Type() string

func (*MsgClaimVoucher) Unmarshal

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

func (MsgClaimVoucher) ValidateBasic

func (msg MsgClaimVoucher) ValidateBasic() error

func (*MsgClaimVoucher) XXX_DiscardUnknown

func (m *MsgClaimVoucher) XXX_DiscardUnknown()

func (*MsgClaimVoucher) XXX_Marshal

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

func (*MsgClaimVoucher) XXX_Merge

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

func (*MsgClaimVoucher) XXX_Size

func (m *MsgClaimVoucher) XXX_Size() int

func (*MsgClaimVoucher) XXX_Unmarshal

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

type MsgClaimVoucherResponse

type MsgClaimVoucherResponse struct {
}

func (*MsgClaimVoucherResponse) Descriptor

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

func (*MsgClaimVoucherResponse) Marshal

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

func (*MsgClaimVoucherResponse) MarshalTo

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

func (*MsgClaimVoucherResponse) MarshalToSizedBuffer

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

func (*MsgClaimVoucherResponse) ProtoMessage

func (*MsgClaimVoucherResponse) ProtoMessage()

func (*MsgClaimVoucherResponse) Reset

func (m *MsgClaimVoucherResponse) Reset()

func (*MsgClaimVoucherResponse) Size

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

func (*MsgClaimVoucherResponse) String

func (m *MsgClaimVoucherResponse) String() string

func (*MsgClaimVoucherResponse) Unmarshal

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

func (*MsgClaimVoucherResponse) XXX_DiscardUnknown

func (m *MsgClaimVoucherResponse) XXX_DiscardUnknown()

func (*MsgClaimVoucherResponse) XXX_Marshal

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

func (*MsgClaimVoucherResponse) XXX_Merge

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

func (*MsgClaimVoucherResponse) XXX_Size

func (m *MsgClaimVoucherResponse) XXX_Size() int

func (*MsgClaimVoucherResponse) XXX_Unmarshal

func (m *MsgClaimVoucherResponse) 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 MsgCreateNamespace

type MsgCreateNamespace struct {
	Sender    string    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	Namespace Namespace `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace"`
}

func (*MsgCreateNamespace) Descriptor

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

func (*MsgCreateNamespace) GetNamespace

func (m *MsgCreateNamespace) GetNamespace() Namespace

func (*MsgCreateNamespace) GetSender

func (m *MsgCreateNamespace) GetSender() string

func (*MsgCreateNamespace) GetSignBytes

func (m *MsgCreateNamespace) GetSignBytes() []byte

func (MsgCreateNamespace) GetSigners

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

func (*MsgCreateNamespace) Marshal

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

func (*MsgCreateNamespace) MarshalTo

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

func (*MsgCreateNamespace) MarshalToSizedBuffer

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

func (*MsgCreateNamespace) ProtoMessage

func (*MsgCreateNamespace) ProtoMessage()

func (*MsgCreateNamespace) Reset

func (m *MsgCreateNamespace) Reset()

func (MsgCreateNamespace) Route

func (m MsgCreateNamespace) Route() string

func (*MsgCreateNamespace) Size

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

func (*MsgCreateNamespace) String

func (m *MsgCreateNamespace) String() string

func (MsgCreateNamespace) Type

func (m MsgCreateNamespace) Type() string

func (*MsgCreateNamespace) Unmarshal

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

func (MsgCreateNamespace) ValidateBasic

func (msg MsgCreateNamespace) ValidateBasic() error

func (*MsgCreateNamespace) XXX_DiscardUnknown

func (m *MsgCreateNamespace) XXX_DiscardUnknown()

func (*MsgCreateNamespace) XXX_Marshal

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

func (*MsgCreateNamespace) XXX_Merge

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

func (*MsgCreateNamespace) XXX_Size

func (m *MsgCreateNamespace) XXX_Size() int

func (*MsgCreateNamespace) XXX_Unmarshal

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

type MsgCreateNamespaceResponse

type MsgCreateNamespaceResponse struct {
}

func (*MsgCreateNamespaceResponse) Descriptor

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

func (*MsgCreateNamespaceResponse) Marshal

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

func (*MsgCreateNamespaceResponse) MarshalTo

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

func (*MsgCreateNamespaceResponse) MarshalToSizedBuffer

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

func (*MsgCreateNamespaceResponse) ProtoMessage

func (*MsgCreateNamespaceResponse) ProtoMessage()

func (*MsgCreateNamespaceResponse) Reset

func (m *MsgCreateNamespaceResponse) Reset()

func (*MsgCreateNamespaceResponse) Size

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

func (*MsgCreateNamespaceResponse) String

func (m *MsgCreateNamespaceResponse) String() string

func (*MsgCreateNamespaceResponse) Unmarshal

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

func (*MsgCreateNamespaceResponse) XXX_DiscardUnknown

func (m *MsgCreateNamespaceResponse) XXX_DiscardUnknown()

func (*MsgCreateNamespaceResponse) XXX_Marshal

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

func (*MsgCreateNamespaceResponse) XXX_Merge

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

func (*MsgCreateNamespaceResponse) XXX_Size

func (m *MsgCreateNamespaceResponse) XXX_Size() int

func (*MsgCreateNamespaceResponse) XXX_Unmarshal

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

type MsgDeleteNamespace

type MsgDeleteNamespace struct {
	Sender         string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	NamespaceDenom string `protobuf:"bytes,2,opt,name=namespace_denom,json=namespaceDenom,proto3" json:"namespace_denom,omitempty"`
}

func (*MsgDeleteNamespace) Descriptor

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

func (*MsgDeleteNamespace) GetNamespaceDenom

func (m *MsgDeleteNamespace) GetNamespaceDenom() string

func (*MsgDeleteNamespace) GetSender

func (m *MsgDeleteNamespace) GetSender() string

func (*MsgDeleteNamespace) GetSignBytes

func (m *MsgDeleteNamespace) GetSignBytes() []byte

func (MsgDeleteNamespace) GetSigners

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

func (*MsgDeleteNamespace) Marshal

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

func (*MsgDeleteNamespace) MarshalTo

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

func (*MsgDeleteNamespace) MarshalToSizedBuffer

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

func (*MsgDeleteNamespace) ProtoMessage

func (*MsgDeleteNamespace) ProtoMessage()

func (*MsgDeleteNamespace) Reset

func (m *MsgDeleteNamespace) Reset()

func (MsgDeleteNamespace) Route

func (m MsgDeleteNamespace) Route() string

func (*MsgDeleteNamespace) Size

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

func (*MsgDeleteNamespace) String

func (m *MsgDeleteNamespace) String() string

func (MsgDeleteNamespace) Type

func (m MsgDeleteNamespace) Type() string

func (*MsgDeleteNamespace) Unmarshal

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

func (MsgDeleteNamespace) ValidateBasic

func (m MsgDeleteNamespace) ValidateBasic() error

func (*MsgDeleteNamespace) XXX_DiscardUnknown

func (m *MsgDeleteNamespace) XXX_DiscardUnknown()

func (*MsgDeleteNamespace) XXX_Marshal

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

func (*MsgDeleteNamespace) XXX_Merge

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

func (*MsgDeleteNamespace) XXX_Size

func (m *MsgDeleteNamespace) XXX_Size() int

func (*MsgDeleteNamespace) XXX_Unmarshal

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

type MsgDeleteNamespaceResponse

type MsgDeleteNamespaceResponse struct {
}

func (*MsgDeleteNamespaceResponse) Descriptor

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

func (*MsgDeleteNamespaceResponse) Marshal

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

func (*MsgDeleteNamespaceResponse) MarshalTo

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

func (*MsgDeleteNamespaceResponse) MarshalToSizedBuffer

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

func (*MsgDeleteNamespaceResponse) ProtoMessage

func (*MsgDeleteNamespaceResponse) ProtoMessage()

func (*MsgDeleteNamespaceResponse) Reset

func (m *MsgDeleteNamespaceResponse) Reset()

func (*MsgDeleteNamespaceResponse) Size

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

func (*MsgDeleteNamespaceResponse) String

func (m *MsgDeleteNamespaceResponse) String() string

func (*MsgDeleteNamespaceResponse) Unmarshal

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

func (*MsgDeleteNamespaceResponse) XXX_DiscardUnknown

func (m *MsgDeleteNamespaceResponse) XXX_DiscardUnknown()

func (*MsgDeleteNamespaceResponse) XXX_Marshal

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

func (*MsgDeleteNamespaceResponse) XXX_Merge

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

func (*MsgDeleteNamespaceResponse) XXX_Size

func (m *MsgDeleteNamespaceResponse) XXX_Size() int

func (*MsgDeleteNamespaceResponse) XXX_Unmarshal

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

type MsgRevokeNamespaceRoles

type MsgRevokeNamespaceRoles struct {
	Sender               string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	NamespaceDenom       string          `protobuf:"bytes,2,opt,name=namespace_denom,json=namespaceDenom,proto3" json:"namespace_denom,omitempty"`
	AddressRolesToRevoke []*AddressRoles `protobuf:"bytes,3,rep,name=address_roles_to_revoke,json=addressRolesToRevoke,proto3" json:"address_roles_to_revoke,omitempty"`
}

func (*MsgRevokeNamespaceRoles) Descriptor

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

func (*MsgRevokeNamespaceRoles) GetAddressRolesToRevoke

func (m *MsgRevokeNamespaceRoles) GetAddressRolesToRevoke() []*AddressRoles

func (*MsgRevokeNamespaceRoles) GetNamespaceDenom

func (m *MsgRevokeNamespaceRoles) GetNamespaceDenom() string

func (*MsgRevokeNamespaceRoles) GetSender

func (m *MsgRevokeNamespaceRoles) GetSender() string

func (*MsgRevokeNamespaceRoles) GetSignBytes

func (m *MsgRevokeNamespaceRoles) GetSignBytes() []byte

func (MsgRevokeNamespaceRoles) GetSigners

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

func (*MsgRevokeNamespaceRoles) Marshal

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

func (*MsgRevokeNamespaceRoles) MarshalTo

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

func (*MsgRevokeNamespaceRoles) MarshalToSizedBuffer

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

func (*MsgRevokeNamespaceRoles) ProtoMessage

func (*MsgRevokeNamespaceRoles) ProtoMessage()

func (*MsgRevokeNamespaceRoles) Reset

func (m *MsgRevokeNamespaceRoles) Reset()

func (MsgRevokeNamespaceRoles) Route

func (m MsgRevokeNamespaceRoles) Route() string

func (*MsgRevokeNamespaceRoles) Size

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

func (*MsgRevokeNamespaceRoles) String

func (m *MsgRevokeNamespaceRoles) String() string

func (MsgRevokeNamespaceRoles) Type

func (*MsgRevokeNamespaceRoles) Unmarshal

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

func (MsgRevokeNamespaceRoles) ValidateBasic

func (msg MsgRevokeNamespaceRoles) ValidateBasic() error

func (*MsgRevokeNamespaceRoles) XXX_DiscardUnknown

func (m *MsgRevokeNamespaceRoles) XXX_DiscardUnknown()

func (*MsgRevokeNamespaceRoles) XXX_Marshal

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

func (*MsgRevokeNamespaceRoles) XXX_Merge

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

func (*MsgRevokeNamespaceRoles) XXX_Size

func (m *MsgRevokeNamespaceRoles) XXX_Size() int

func (*MsgRevokeNamespaceRoles) XXX_Unmarshal

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

type MsgRevokeNamespaceRolesResponse

type MsgRevokeNamespaceRolesResponse struct {
}

func (*MsgRevokeNamespaceRolesResponse) Descriptor

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

func (*MsgRevokeNamespaceRolesResponse) Marshal

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

func (*MsgRevokeNamespaceRolesResponse) MarshalTo

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

func (*MsgRevokeNamespaceRolesResponse) MarshalToSizedBuffer

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

func (*MsgRevokeNamespaceRolesResponse) ProtoMessage

func (*MsgRevokeNamespaceRolesResponse) ProtoMessage()

func (*MsgRevokeNamespaceRolesResponse) Reset

func (*MsgRevokeNamespaceRolesResponse) Size

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

func (*MsgRevokeNamespaceRolesResponse) String

func (*MsgRevokeNamespaceRolesResponse) Unmarshal

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

func (*MsgRevokeNamespaceRolesResponse) XXX_DiscardUnknown

func (m *MsgRevokeNamespaceRolesResponse) XXX_DiscardUnknown()

func (*MsgRevokeNamespaceRolesResponse) XXX_Marshal

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

func (*MsgRevokeNamespaceRolesResponse) XXX_Merge

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

func (*MsgRevokeNamespaceRolesResponse) XXX_Size

func (m *MsgRevokeNamespaceRolesResponse) XXX_Size() int

func (*MsgRevokeNamespaceRolesResponse) XXX_Unmarshal

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

type MsgUpdateNamespace

type MsgUpdateNamespace struct {
	Sender         string                                `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	NamespaceDenom string                                `protobuf:"bytes,2,opt,name=namespace_denom,json=namespaceDenom,proto3" json:"namespace_denom,omitempty"`
	WasmHook       *MsgUpdateNamespace_MsgSetWasmHook    `protobuf:"bytes,3,opt,name=wasm_hook,json=wasmHook,proto3" json:"wasm_hook,omitempty"`
	MintsPaused    *MsgUpdateNamespace_MsgSetMintsPaused `protobuf:"bytes,4,opt,name=mints_paused,json=mintsPaused,proto3" json:"mints_paused,omitempty"`
	SendsPaused    *MsgUpdateNamespace_MsgSetSendsPaused `protobuf:"bytes,5,opt,name=sends_paused,json=sendsPaused,proto3" json:"sends_paused,omitempty"`
	BurnsPaused    *MsgUpdateNamespace_MsgSetBurnsPaused `protobuf:"bytes,6,opt,name=burns_paused,json=burnsPaused,proto3" json:"burns_paused,omitempty"`
}

func (*MsgUpdateNamespace) Descriptor

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

func (*MsgUpdateNamespace) GetBurnsPaused

func (*MsgUpdateNamespace) GetMintsPaused

func (*MsgUpdateNamespace) GetNamespaceDenom

func (m *MsgUpdateNamespace) GetNamespaceDenom() string

func (*MsgUpdateNamespace) GetSender

func (m *MsgUpdateNamespace) GetSender() string

func (*MsgUpdateNamespace) GetSendsPaused

func (*MsgUpdateNamespace) GetSignBytes

func (m *MsgUpdateNamespace) GetSignBytes() []byte

func (MsgUpdateNamespace) GetSigners

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

func (*MsgUpdateNamespace) GetWasmHook

func (*MsgUpdateNamespace) Marshal

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

func (*MsgUpdateNamespace) MarshalTo

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

func (*MsgUpdateNamespace) MarshalToSizedBuffer

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

func (*MsgUpdateNamespace) ProtoMessage

func (*MsgUpdateNamespace) ProtoMessage()

func (*MsgUpdateNamespace) Reset

func (m *MsgUpdateNamespace) Reset()

func (MsgUpdateNamespace) Route

func (m MsgUpdateNamespace) Route() string

func (*MsgUpdateNamespace) Size

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

func (*MsgUpdateNamespace) String

func (m *MsgUpdateNamespace) String() string

func (MsgUpdateNamespace) Type

func (m MsgUpdateNamespace) Type() string

func (*MsgUpdateNamespace) Unmarshal

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

func (MsgUpdateNamespace) ValidateBasic

func (m MsgUpdateNamespace) ValidateBasic() error

func (*MsgUpdateNamespace) XXX_DiscardUnknown

func (m *MsgUpdateNamespace) XXX_DiscardUnknown()

func (*MsgUpdateNamespace) XXX_Marshal

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

func (*MsgUpdateNamespace) XXX_Merge

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

func (*MsgUpdateNamespace) XXX_Size

func (m *MsgUpdateNamespace) XXX_Size() int

func (*MsgUpdateNamespace) XXX_Unmarshal

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

type MsgUpdateNamespaceResponse

type MsgUpdateNamespaceResponse struct {
}

func (*MsgUpdateNamespaceResponse) Descriptor

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

func (*MsgUpdateNamespaceResponse) Marshal

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

func (*MsgUpdateNamespaceResponse) MarshalTo

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

func (*MsgUpdateNamespaceResponse) MarshalToSizedBuffer

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

func (*MsgUpdateNamespaceResponse) ProtoMessage

func (*MsgUpdateNamespaceResponse) ProtoMessage()

func (*MsgUpdateNamespaceResponse) Reset

func (m *MsgUpdateNamespaceResponse) Reset()

func (*MsgUpdateNamespaceResponse) Size

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

func (*MsgUpdateNamespaceResponse) String

func (m *MsgUpdateNamespaceResponse) String() string

func (*MsgUpdateNamespaceResponse) Unmarshal

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

func (*MsgUpdateNamespaceResponse) XXX_DiscardUnknown

func (m *MsgUpdateNamespaceResponse) XXX_DiscardUnknown()

func (*MsgUpdateNamespaceResponse) XXX_Marshal

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

func (*MsgUpdateNamespaceResponse) XXX_Merge

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

func (*MsgUpdateNamespaceResponse) XXX_Size

func (m *MsgUpdateNamespaceResponse) XXX_Size() int

func (*MsgUpdateNamespaceResponse) XXX_Unmarshal

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

type MsgUpdateNamespaceRoles

type MsgUpdateNamespaceRoles struct {
	Sender          string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"`
	NamespaceDenom  string          `protobuf:"bytes,2,opt,name=namespace_denom,json=namespaceDenom,proto3" json:"namespace_denom,omitempty"`
	RolePermissions []*Role         `protobuf:"bytes,3,rep,name=role_permissions,json=rolePermissions,proto3" json:"role_permissions,omitempty"`
	AddressRoles    []*AddressRoles `protobuf:"bytes,4,rep,name=address_roles,json=addressRoles,proto3" json:"address_roles,omitempty"`
}

func (*MsgUpdateNamespaceRoles) Descriptor

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

func (*MsgUpdateNamespaceRoles) GetAddressRoles

func (m *MsgUpdateNamespaceRoles) GetAddressRoles() []*AddressRoles

func (*MsgUpdateNamespaceRoles) GetNamespaceDenom

func (m *MsgUpdateNamespaceRoles) GetNamespaceDenom() string

func (*MsgUpdateNamespaceRoles) GetRolePermissions

func (m *MsgUpdateNamespaceRoles) GetRolePermissions() []*Role

func (*MsgUpdateNamespaceRoles) GetSender

func (m *MsgUpdateNamespaceRoles) GetSender() string

func (*MsgUpdateNamespaceRoles) GetSignBytes

func (m *MsgUpdateNamespaceRoles) GetSignBytes() []byte

func (MsgUpdateNamespaceRoles) GetSigners

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

func (*MsgUpdateNamespaceRoles) Marshal

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

func (*MsgUpdateNamespaceRoles) MarshalTo

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

func (*MsgUpdateNamespaceRoles) MarshalToSizedBuffer

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

func (*MsgUpdateNamespaceRoles) ProtoMessage

func (*MsgUpdateNamespaceRoles) ProtoMessage()

func (*MsgUpdateNamespaceRoles) Reset

func (m *MsgUpdateNamespaceRoles) Reset()

func (MsgUpdateNamespaceRoles) Route

func (m MsgUpdateNamespaceRoles) Route() string

func (*MsgUpdateNamespaceRoles) Size

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

func (*MsgUpdateNamespaceRoles) String

func (m *MsgUpdateNamespaceRoles) String() string

func (MsgUpdateNamespaceRoles) Type

func (*MsgUpdateNamespaceRoles) Unmarshal

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

func (MsgUpdateNamespaceRoles) ValidateBasic

func (msg MsgUpdateNamespaceRoles) ValidateBasic() error

func (*MsgUpdateNamespaceRoles) XXX_DiscardUnknown

func (m *MsgUpdateNamespaceRoles) XXX_DiscardUnknown()

func (*MsgUpdateNamespaceRoles) XXX_Marshal

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

func (*MsgUpdateNamespaceRoles) XXX_Merge

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

func (*MsgUpdateNamespaceRoles) XXX_Size

func (m *MsgUpdateNamespaceRoles) XXX_Size() int

func (*MsgUpdateNamespaceRoles) XXX_Unmarshal

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

type MsgUpdateNamespaceRolesResponse

type MsgUpdateNamespaceRolesResponse struct {
}

func (*MsgUpdateNamespaceRolesResponse) Descriptor

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

func (*MsgUpdateNamespaceRolesResponse) Marshal

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

func (*MsgUpdateNamespaceRolesResponse) MarshalTo

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

func (*MsgUpdateNamespaceRolesResponse) MarshalToSizedBuffer

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

func (*MsgUpdateNamespaceRolesResponse) ProtoMessage

func (*MsgUpdateNamespaceRolesResponse) ProtoMessage()

func (*MsgUpdateNamespaceRolesResponse) Reset

func (*MsgUpdateNamespaceRolesResponse) Size

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

func (*MsgUpdateNamespaceRolesResponse) String

func (*MsgUpdateNamespaceRolesResponse) Unmarshal

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

func (*MsgUpdateNamespaceRolesResponse) XXX_DiscardUnknown

func (m *MsgUpdateNamespaceRolesResponse) XXX_DiscardUnknown()

func (*MsgUpdateNamespaceRolesResponse) XXX_Marshal

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

func (*MsgUpdateNamespaceRolesResponse) XXX_Merge

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

func (*MsgUpdateNamespaceRolesResponse) XXX_Size

func (m *MsgUpdateNamespaceRolesResponse) XXX_Size() int

func (*MsgUpdateNamespaceRolesResponse) XXX_Unmarshal

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

type MsgUpdateNamespace_MsgSetBurnsPaused

type MsgUpdateNamespace_MsgSetBurnsPaused struct {
	NewValue bool `protobuf:"varint,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
}

func (*MsgUpdateNamespace_MsgSetBurnsPaused) Descriptor

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

func (*MsgUpdateNamespace_MsgSetBurnsPaused) GetNewValue

func (m *MsgUpdateNamespace_MsgSetBurnsPaused) GetNewValue() bool

func (*MsgUpdateNamespace_MsgSetBurnsPaused) Marshal

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

func (*MsgUpdateNamespace_MsgSetBurnsPaused) MarshalTo

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

func (*MsgUpdateNamespace_MsgSetBurnsPaused) MarshalToSizedBuffer

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

func (*MsgUpdateNamespace_MsgSetBurnsPaused) ProtoMessage

func (*MsgUpdateNamespace_MsgSetBurnsPaused) ProtoMessage()

func (*MsgUpdateNamespace_MsgSetBurnsPaused) Reset

func (*MsgUpdateNamespace_MsgSetBurnsPaused) Size

func (*MsgUpdateNamespace_MsgSetBurnsPaused) String

func (*MsgUpdateNamespace_MsgSetBurnsPaused) Unmarshal

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

func (*MsgUpdateNamespace_MsgSetBurnsPaused) XXX_DiscardUnknown

func (m *MsgUpdateNamespace_MsgSetBurnsPaused) XXX_DiscardUnknown()

func (*MsgUpdateNamespace_MsgSetBurnsPaused) XXX_Marshal

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

func (*MsgUpdateNamespace_MsgSetBurnsPaused) XXX_Merge

func (*MsgUpdateNamespace_MsgSetBurnsPaused) XXX_Size

func (*MsgUpdateNamespace_MsgSetBurnsPaused) XXX_Unmarshal

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

type MsgUpdateNamespace_MsgSetMintsPaused

type MsgUpdateNamespace_MsgSetMintsPaused struct {
	NewValue bool `protobuf:"varint,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
}

func (*MsgUpdateNamespace_MsgSetMintsPaused) Descriptor

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

func (*MsgUpdateNamespace_MsgSetMintsPaused) GetNewValue

func (m *MsgUpdateNamespace_MsgSetMintsPaused) GetNewValue() bool

func (*MsgUpdateNamespace_MsgSetMintsPaused) Marshal

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

func (*MsgUpdateNamespace_MsgSetMintsPaused) MarshalTo

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

func (*MsgUpdateNamespace_MsgSetMintsPaused) MarshalToSizedBuffer

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

func (*MsgUpdateNamespace_MsgSetMintsPaused) ProtoMessage

func (*MsgUpdateNamespace_MsgSetMintsPaused) ProtoMessage()

func (*MsgUpdateNamespace_MsgSetMintsPaused) Reset

func (*MsgUpdateNamespace_MsgSetMintsPaused) Size

func (*MsgUpdateNamespace_MsgSetMintsPaused) String

func (*MsgUpdateNamespace_MsgSetMintsPaused) Unmarshal

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

func (*MsgUpdateNamespace_MsgSetMintsPaused) XXX_DiscardUnknown

func (m *MsgUpdateNamespace_MsgSetMintsPaused) XXX_DiscardUnknown()

func (*MsgUpdateNamespace_MsgSetMintsPaused) XXX_Marshal

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

func (*MsgUpdateNamespace_MsgSetMintsPaused) XXX_Merge

func (*MsgUpdateNamespace_MsgSetMintsPaused) XXX_Size

func (*MsgUpdateNamespace_MsgSetMintsPaused) XXX_Unmarshal

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

type MsgUpdateNamespace_MsgSetSendsPaused

type MsgUpdateNamespace_MsgSetSendsPaused struct {
	NewValue bool `protobuf:"varint,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
}

func (*MsgUpdateNamespace_MsgSetSendsPaused) Descriptor

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

func (*MsgUpdateNamespace_MsgSetSendsPaused) GetNewValue

func (m *MsgUpdateNamespace_MsgSetSendsPaused) GetNewValue() bool

func (*MsgUpdateNamespace_MsgSetSendsPaused) Marshal

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

func (*MsgUpdateNamespace_MsgSetSendsPaused) MarshalTo

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

func (*MsgUpdateNamespace_MsgSetSendsPaused) MarshalToSizedBuffer

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

func (*MsgUpdateNamespace_MsgSetSendsPaused) ProtoMessage

func (*MsgUpdateNamespace_MsgSetSendsPaused) ProtoMessage()

func (*MsgUpdateNamespace_MsgSetSendsPaused) Reset

func (*MsgUpdateNamespace_MsgSetSendsPaused) Size

func (*MsgUpdateNamespace_MsgSetSendsPaused) String

func (*MsgUpdateNamespace_MsgSetSendsPaused) Unmarshal

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

func (*MsgUpdateNamespace_MsgSetSendsPaused) XXX_DiscardUnknown

func (m *MsgUpdateNamespace_MsgSetSendsPaused) XXX_DiscardUnknown()

func (*MsgUpdateNamespace_MsgSetSendsPaused) XXX_Marshal

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

func (*MsgUpdateNamespace_MsgSetSendsPaused) XXX_Merge

func (*MsgUpdateNamespace_MsgSetSendsPaused) XXX_Size

func (*MsgUpdateNamespace_MsgSetSendsPaused) XXX_Unmarshal

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

type MsgUpdateNamespace_MsgSetWasmHook

type MsgUpdateNamespace_MsgSetWasmHook struct {
	NewValue string `protobuf:"bytes,1,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"`
}

func (*MsgUpdateNamespace_MsgSetWasmHook) Descriptor

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

func (*MsgUpdateNamespace_MsgSetWasmHook) GetNewValue

func (m *MsgUpdateNamespace_MsgSetWasmHook) GetNewValue() string

func (*MsgUpdateNamespace_MsgSetWasmHook) Marshal

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

func (*MsgUpdateNamespace_MsgSetWasmHook) MarshalTo

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

func (*MsgUpdateNamespace_MsgSetWasmHook) MarshalToSizedBuffer

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

func (*MsgUpdateNamespace_MsgSetWasmHook) ProtoMessage

func (*MsgUpdateNamespace_MsgSetWasmHook) ProtoMessage()

func (*MsgUpdateNamespace_MsgSetWasmHook) Reset

func (*MsgUpdateNamespace_MsgSetWasmHook) Size

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

func (*MsgUpdateNamespace_MsgSetWasmHook) String

func (*MsgUpdateNamespace_MsgSetWasmHook) Unmarshal

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

func (*MsgUpdateNamespace_MsgSetWasmHook) XXX_DiscardUnknown

func (m *MsgUpdateNamespace_MsgSetWasmHook) XXX_DiscardUnknown()

func (*MsgUpdateNamespace_MsgSetWasmHook) XXX_Marshal

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

func (*MsgUpdateNamespace_MsgSetWasmHook) XXX_Merge

func (*MsgUpdateNamespace_MsgSetWasmHook) XXX_Size

func (m *MsgUpdateNamespace_MsgSetWasmHook) XXX_Size() int

func (*MsgUpdateNamespace_MsgSetWasmHook) XXX_Unmarshal

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

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the permissions parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSignBytes

func (m *MsgUpdateParams) GetSignBytes() []byte

func (MsgUpdateParams) GetSigners

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

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (MsgUpdateParams) Route

func (m MsgUpdateParams) Route() string

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (MsgUpdateParams) Type

func (m MsgUpdateParams) Type() string

func (*MsgUpdateParams) Unmarshal

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

func (MsgUpdateParams) ValidateBasic

func (m MsgUpdateParams) ValidateBasic() error

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type Namespace

type Namespace struct {
	Denom           string          `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	WasmHook        string          `protobuf:"bytes,2,opt,name=wasm_hook,json=wasmHook,proto3" json:"wasm_hook,omitempty"`
	MintsPaused     bool            `protobuf:"varint,3,opt,name=mints_paused,json=mintsPaused,proto3" json:"mints_paused,omitempty"`
	SendsPaused     bool            `protobuf:"varint,4,opt,name=sends_paused,json=sendsPaused,proto3" json:"sends_paused,omitempty"`
	BurnsPaused     bool            `protobuf:"varint,5,opt,name=burns_paused,json=burnsPaused,proto3" json:"burns_paused,omitempty"`
	RolePermissions []*Role         `protobuf:"bytes,6,rep,name=role_permissions,json=rolePermissions,proto3" json:"role_permissions,omitempty"`
	AddressRoles    []*AddressRoles `protobuf:"bytes,7,rep,name=address_roles,json=addressRoles,proto3" json:"address_roles,omitempty"`
}

Namespace defines a permissions namespace

func (*Namespace) CheckActionValidity

func (n *Namespace) CheckActionValidity(action Action) error

func (*Namespace) Descriptor

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

func (*Namespace) GetAddressRoles

func (m *Namespace) GetAddressRoles() []*AddressRoles

func (*Namespace) GetBurnsPaused

func (m *Namespace) GetBurnsPaused() bool

func (*Namespace) GetDenom

func (m *Namespace) GetDenom() string

func (*Namespace) GetMintsPaused

func (m *Namespace) GetMintsPaused() bool

func (*Namespace) GetRolePermissions

func (m *Namespace) GetRolePermissions() []*Role

func (*Namespace) GetSendsPaused

func (m *Namespace) GetSendsPaused() bool

func (*Namespace) GetWasmHook

func (m *Namespace) GetWasmHook() string

func (*Namespace) Marshal

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

func (*Namespace) MarshalTo

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

func (*Namespace) MarshalToSizedBuffer

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

func (*Namespace) ProtoMessage

func (*Namespace) ProtoMessage()

func (*Namespace) Reset

func (m *Namespace) Reset()

func (*Namespace) Size

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

func (*Namespace) String

func (m *Namespace) String() string

func (*Namespace) Unmarshal

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

func (*Namespace) Validate

func (n *Namespace) Validate() error

func (*Namespace) ValidateBasicParams

func (n *Namespace) ValidateBasicParams() error

func (*Namespace) ValidateEveryoneRole

func (n *Namespace) ValidateEveryoneRole() error

func (*Namespace) ValidateRoles

func (n *Namespace) ValidateRoles(isForUpdate bool) error

func (*Namespace) XXX_DiscardUnknown

func (m *Namespace) XXX_DiscardUnknown()

func (*Namespace) XXX_Marshal

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

func (*Namespace) XXX_Merge

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

func (*Namespace) XXX_Size

func (m *Namespace) XXX_Size() int

func (*Namespace) XXX_Unmarshal

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

type Params

type Params struct {
	WasmHookQueryMaxGas uint64 `protobuf:"varint,1,opt,name=wasm_hook_query_max_gas,json=wasmHookQueryMaxGas,proto3" json:"wasm_hook_query_max_gas,omitempty"`
}

Params defines the parameters for the permissions module.

func DefaultParams

func DefaultParams() Params

default module parameters.

func NewParams

func NewParams(wasmHookQueryMaxGas uint64) Params

func (*Params) Descriptor

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

func (*Params) Equal

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

func (*Params) GetWasmHookQueryMaxGas

func (m *Params) GetWasmHookQueryMaxGas() uint64

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

Implements params.ParamSet.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

validate params.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryAddressRolesRequest

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

func (*QueryAddressRolesRequest) Descriptor

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

func (*QueryAddressRolesRequest) GetAddress

func (m *QueryAddressRolesRequest) GetAddress() string

func (*QueryAddressRolesRequest) GetDenom

func (m *QueryAddressRolesRequest) GetDenom() string

func (*QueryAddressRolesRequest) Marshal

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

func (*QueryAddressRolesRequest) MarshalTo

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

func (*QueryAddressRolesRequest) MarshalToSizedBuffer

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

func (*QueryAddressRolesRequest) ProtoMessage

func (*QueryAddressRolesRequest) ProtoMessage()

func (*QueryAddressRolesRequest) Reset

func (m *QueryAddressRolesRequest) Reset()

func (*QueryAddressRolesRequest) Size

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

func (*QueryAddressRolesRequest) String

func (m *QueryAddressRolesRequest) String() string

func (*QueryAddressRolesRequest) Unmarshal

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

func (*QueryAddressRolesRequest) XXX_DiscardUnknown

func (m *QueryAddressRolesRequest) XXX_DiscardUnknown()

func (*QueryAddressRolesRequest) XXX_Marshal

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

func (*QueryAddressRolesRequest) XXX_Merge

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

func (*QueryAddressRolesRequest) XXX_Size

func (m *QueryAddressRolesRequest) XXX_Size() int

func (*QueryAddressRolesRequest) XXX_Unmarshal

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

type QueryAddressRolesResponse

type QueryAddressRolesResponse struct {
	Roles []string `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
}

func (*QueryAddressRolesResponse) Descriptor

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

func (*QueryAddressRolesResponse) GetRoles

func (m *QueryAddressRolesResponse) GetRoles() []string

func (*QueryAddressRolesResponse) Marshal

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

func (*QueryAddressRolesResponse) MarshalTo

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

func (*QueryAddressRolesResponse) MarshalToSizedBuffer

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

func (*QueryAddressRolesResponse) ProtoMessage

func (*QueryAddressRolesResponse) ProtoMessage()

func (*QueryAddressRolesResponse) Reset

func (m *QueryAddressRolesResponse) Reset()

func (*QueryAddressRolesResponse) Size

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

func (*QueryAddressRolesResponse) String

func (m *QueryAddressRolesResponse) String() string

func (*QueryAddressRolesResponse) Unmarshal

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

func (*QueryAddressRolesResponse) XXX_DiscardUnknown

func (m *QueryAddressRolesResponse) XXX_DiscardUnknown()

func (*QueryAddressRolesResponse) XXX_Marshal

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

func (*QueryAddressRolesResponse) XXX_Merge

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

func (*QueryAddressRolesResponse) XXX_Size

func (m *QueryAddressRolesResponse) XXX_Size() int

func (*QueryAddressRolesResponse) XXX_Unmarshal

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

type QueryAddressesByRoleRequest

type QueryAddressesByRoleRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Role  string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
}

QueryAddressesByRoleRequest is the request type for the Query/AddressesByRole RPC method.

func (*QueryAddressesByRoleRequest) Descriptor

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

func (*QueryAddressesByRoleRequest) GetDenom

func (m *QueryAddressesByRoleRequest) GetDenom() string

func (*QueryAddressesByRoleRequest) GetRole

func (m *QueryAddressesByRoleRequest) GetRole() string

func (*QueryAddressesByRoleRequest) Marshal

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

func (*QueryAddressesByRoleRequest) MarshalTo

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

func (*QueryAddressesByRoleRequest) MarshalToSizedBuffer

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

func (*QueryAddressesByRoleRequest) ProtoMessage

func (*QueryAddressesByRoleRequest) ProtoMessage()

func (*QueryAddressesByRoleRequest) Reset

func (m *QueryAddressesByRoleRequest) Reset()

func (*QueryAddressesByRoleRequest) Size

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

func (*QueryAddressesByRoleRequest) String

func (m *QueryAddressesByRoleRequest) String() string

func (*QueryAddressesByRoleRequest) Unmarshal

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

func (*QueryAddressesByRoleRequest) XXX_DiscardUnknown

func (m *QueryAddressesByRoleRequest) XXX_DiscardUnknown()

func (*QueryAddressesByRoleRequest) XXX_Marshal

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

func (*QueryAddressesByRoleRequest) XXX_Merge

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

func (*QueryAddressesByRoleRequest) XXX_Size

func (m *QueryAddressesByRoleRequest) XXX_Size() int

func (*QueryAddressesByRoleRequest) XXX_Unmarshal

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

type QueryAddressesByRoleResponse

type QueryAddressesByRoleResponse struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
}

QueryAddressesByRoleResponse is the response type for the Query/AddressesByRole RPC method.

func (*QueryAddressesByRoleResponse) Descriptor

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

func (*QueryAddressesByRoleResponse) GetAddresses

func (m *QueryAddressesByRoleResponse) GetAddresses() []string

func (*QueryAddressesByRoleResponse) Marshal

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

func (*QueryAddressesByRoleResponse) MarshalTo

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

func (*QueryAddressesByRoleResponse) MarshalToSizedBuffer

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

func (*QueryAddressesByRoleResponse) ProtoMessage

func (*QueryAddressesByRoleResponse) ProtoMessage()

func (*QueryAddressesByRoleResponse) Reset

func (m *QueryAddressesByRoleResponse) Reset()

func (*QueryAddressesByRoleResponse) Size

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

func (*QueryAddressesByRoleResponse) String

func (*QueryAddressesByRoleResponse) Unmarshal

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

func (*QueryAddressesByRoleResponse) XXX_DiscardUnknown

func (m *QueryAddressesByRoleResponse) XXX_DiscardUnknown()

func (*QueryAddressesByRoleResponse) XXX_Marshal

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

func (*QueryAddressesByRoleResponse) XXX_Merge

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

func (*QueryAddressesByRoleResponse) XXX_Size

func (m *QueryAddressesByRoleResponse) XXX_Size() int

func (*QueryAddressesByRoleResponse) XXX_Unmarshal

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

type QueryAllNamespacesRequest

type QueryAllNamespacesRequest struct {
}

QueryAllNamespacesRequest is the request type for the Query/AllNamespaces RPC method.

func (*QueryAllNamespacesRequest) Descriptor

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

func (*QueryAllNamespacesRequest) Marshal

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

func (*QueryAllNamespacesRequest) MarshalTo

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

func (*QueryAllNamespacesRequest) MarshalToSizedBuffer

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

func (*QueryAllNamespacesRequest) ProtoMessage

func (*QueryAllNamespacesRequest) ProtoMessage()

func (*QueryAllNamespacesRequest) Reset

func (m *QueryAllNamespacesRequest) Reset()

func (*QueryAllNamespacesRequest) Size

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

func (*QueryAllNamespacesRequest) String

func (m *QueryAllNamespacesRequest) String() string

func (*QueryAllNamespacesRequest) Unmarshal

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

func (*QueryAllNamespacesRequest) XXX_DiscardUnknown

func (m *QueryAllNamespacesRequest) XXX_DiscardUnknown()

func (*QueryAllNamespacesRequest) XXX_Marshal

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

func (*QueryAllNamespacesRequest) XXX_Merge

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

func (*QueryAllNamespacesRequest) XXX_Size

func (m *QueryAllNamespacesRequest) XXX_Size() int

func (*QueryAllNamespacesRequest) XXX_Unmarshal

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

type QueryAllNamespacesResponse

type QueryAllNamespacesResponse struct {
	Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
}

QueryAllNamespacesResponse is the response type for the Query/AllNamespaces RPC method.

func (*QueryAllNamespacesResponse) Descriptor

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

func (*QueryAllNamespacesResponse) GetNamespaces

func (m *QueryAllNamespacesResponse) GetNamespaces() []*Namespace

func (*QueryAllNamespacesResponse) Marshal

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

func (*QueryAllNamespacesResponse) MarshalTo

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

func (*QueryAllNamespacesResponse) MarshalToSizedBuffer

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

func (*QueryAllNamespacesResponse) ProtoMessage

func (*QueryAllNamespacesResponse) ProtoMessage()

func (*QueryAllNamespacesResponse) Reset

func (m *QueryAllNamespacesResponse) Reset()

func (*QueryAllNamespacesResponse) Size

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

func (*QueryAllNamespacesResponse) String

func (m *QueryAllNamespacesResponse) String() string

func (*QueryAllNamespacesResponse) Unmarshal

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

func (*QueryAllNamespacesResponse) XXX_DiscardUnknown

func (m *QueryAllNamespacesResponse) XXX_DiscardUnknown()

func (*QueryAllNamespacesResponse) XXX_Marshal

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

func (*QueryAllNamespacesResponse) XXX_Merge

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

func (*QueryAllNamespacesResponse) XXX_Size

func (m *QueryAllNamespacesResponse) XXX_Size() int

func (*QueryAllNamespacesResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Params defines a gRPC query method that returns the permissions module's
	// parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// AllNamespaces defines a gRPC query method that returns the permissions
	// module's created namespaces.
	AllNamespaces(ctx context.Context, in *QueryAllNamespacesRequest, opts ...grpc.CallOption) (*QueryAllNamespacesResponse, error)
	// NamespaceByDenom defines a gRPC query method that returns the permissions
	// module's namespace associated with the provided denom.
	NamespaceByDenom(ctx context.Context, in *QueryNamespaceByDenomRequest, opts ...grpc.CallOption) (*QueryNamespaceByDenomResponse, error)
	// AddressRoles defines a gRPC query method that returns address roles in the
	// namespace
	AddressRoles(ctx context.Context, in *QueryAddressRolesRequest, opts ...grpc.CallOption) (*QueryAddressRolesResponse, error)
	// AddressesByRole defines a gRPC query method that returns a namespace's
	// roles associated with the provided address.
	AddressesByRole(ctx context.Context, in *QueryAddressesByRoleRequest, opts ...grpc.CallOption) (*QueryAddressesByRoleResponse, error)
	// VouchersForAddress defines a gRPC query method that returns a map of
	// vouchers that are held by permissions module for this address, keyed by the
	// originator address
	VouchersForAddress(ctx context.Context, in *QueryVouchersForAddressRequest, opts ...grpc.CallOption) (*QueryVouchersForAddressResponse, 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 QueryNamespaceByDenomRequest

type QueryNamespaceByDenomRequest struct {
	Denom        string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	IncludeRoles bool   `protobuf:"varint,2,opt,name=include_roles,json=includeRoles,proto3" json:"include_roles,omitempty"`
}

QueryNamespaceByDenomRequest is the request type for the Query/NamespaceByDenom RPC method.

func (*QueryNamespaceByDenomRequest) Descriptor

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

func (*QueryNamespaceByDenomRequest) GetDenom

func (m *QueryNamespaceByDenomRequest) GetDenom() string

func (*QueryNamespaceByDenomRequest) GetIncludeRoles

func (m *QueryNamespaceByDenomRequest) GetIncludeRoles() bool

func (*QueryNamespaceByDenomRequest) Marshal

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

func (*QueryNamespaceByDenomRequest) MarshalTo

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

func (*QueryNamespaceByDenomRequest) MarshalToSizedBuffer

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

func (*QueryNamespaceByDenomRequest) ProtoMessage

func (*QueryNamespaceByDenomRequest) ProtoMessage()

func (*QueryNamespaceByDenomRequest) Reset

func (m *QueryNamespaceByDenomRequest) Reset()

func (*QueryNamespaceByDenomRequest) Size

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

func (*QueryNamespaceByDenomRequest) String

func (*QueryNamespaceByDenomRequest) Unmarshal

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

func (*QueryNamespaceByDenomRequest) XXX_DiscardUnknown

func (m *QueryNamespaceByDenomRequest) XXX_DiscardUnknown()

func (*QueryNamespaceByDenomRequest) XXX_Marshal

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

func (*QueryNamespaceByDenomRequest) XXX_Merge

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

func (*QueryNamespaceByDenomRequest) XXX_Size

func (m *QueryNamespaceByDenomRequest) XXX_Size() int

func (*QueryNamespaceByDenomRequest) XXX_Unmarshal

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

type QueryNamespaceByDenomResponse

type QueryNamespaceByDenomResponse struct {
	Namespace *Namespace `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
}

QueryNamespaceByDenomResponse is the response type for the Query/NamespaceByDenom RPC method.

func (*QueryNamespaceByDenomResponse) Descriptor

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

func (*QueryNamespaceByDenomResponse) GetNamespace

func (m *QueryNamespaceByDenomResponse) GetNamespace() *Namespace

func (*QueryNamespaceByDenomResponse) Marshal

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

func (*QueryNamespaceByDenomResponse) MarshalTo

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

func (*QueryNamespaceByDenomResponse) MarshalToSizedBuffer

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

func (*QueryNamespaceByDenomResponse) ProtoMessage

func (*QueryNamespaceByDenomResponse) ProtoMessage()

func (*QueryNamespaceByDenomResponse) Reset

func (m *QueryNamespaceByDenomResponse) Reset()

func (*QueryNamespaceByDenomResponse) Size

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

func (*QueryNamespaceByDenomResponse) String

func (*QueryNamespaceByDenomResponse) Unmarshal

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

func (*QueryNamespaceByDenomResponse) XXX_DiscardUnknown

func (m *QueryNamespaceByDenomResponse) XXX_DiscardUnknown()

func (*QueryNamespaceByDenomResponse) XXX_Marshal

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

func (*QueryNamespaceByDenomResponse) XXX_Merge

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

func (*QueryNamespaceByDenomResponse) XXX_Size

func (m *QueryNamespaceByDenomResponse) XXX_Size() int

func (*QueryNamespaceByDenomResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

type QueryParamsResponse struct {
	// params defines the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Params defines a gRPC query method that returns the permissions module's
	// parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// AllNamespaces defines a gRPC query method that returns the permissions
	// module's created namespaces.
	AllNamespaces(context.Context, *QueryAllNamespacesRequest) (*QueryAllNamespacesResponse, error)
	// NamespaceByDenom defines a gRPC query method that returns the permissions
	// module's namespace associated with the provided denom.
	NamespaceByDenom(context.Context, *QueryNamespaceByDenomRequest) (*QueryNamespaceByDenomResponse, error)
	// AddressRoles defines a gRPC query method that returns address roles in the
	// namespace
	AddressRoles(context.Context, *QueryAddressRolesRequest) (*QueryAddressRolesResponse, error)
	// AddressesByRole defines a gRPC query method that returns a namespace's
	// roles associated with the provided address.
	AddressesByRole(context.Context, *QueryAddressesByRoleRequest) (*QueryAddressesByRoleResponse, error)
	// VouchersForAddress defines a gRPC query method that returns a map of
	// vouchers that are held by permissions module for this address, keyed by the
	// originator address
	VouchersForAddress(context.Context, *QueryVouchersForAddressRequest) (*QueryVouchersForAddressResponse, error)
}

QueryServer is the server API for Query service.

type QueryVouchersForAddressRequest

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

func (*QueryVouchersForAddressRequest) Descriptor

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

func (*QueryVouchersForAddressRequest) GetAddress

func (m *QueryVouchersForAddressRequest) GetAddress() string

func (*QueryVouchersForAddressRequest) Marshal

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

func (*QueryVouchersForAddressRequest) MarshalTo

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

func (*QueryVouchersForAddressRequest) MarshalToSizedBuffer

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

func (*QueryVouchersForAddressRequest) ProtoMessage

func (*QueryVouchersForAddressRequest) ProtoMessage()

func (*QueryVouchersForAddressRequest) Reset

func (m *QueryVouchersForAddressRequest) Reset()

func (*QueryVouchersForAddressRequest) Size

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

func (*QueryVouchersForAddressRequest) String

func (*QueryVouchersForAddressRequest) Unmarshal

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

func (*QueryVouchersForAddressRequest) XXX_DiscardUnknown

func (m *QueryVouchersForAddressRequest) XXX_DiscardUnknown()

func (*QueryVouchersForAddressRequest) XXX_Marshal

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

func (*QueryVouchersForAddressRequest) XXX_Merge

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

func (*QueryVouchersForAddressRequest) XXX_Size

func (m *QueryVouchersForAddressRequest) XXX_Size() int

func (*QueryVouchersForAddressRequest) XXX_Unmarshal

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

type QueryVouchersForAddressResponse

type QueryVouchersForAddressResponse struct {
	Vouchers github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=vouchers,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"vouchers,omitempty"`
}

func (*QueryVouchersForAddressResponse) Descriptor

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

func (*QueryVouchersForAddressResponse) GetVouchers

func (*QueryVouchersForAddressResponse) Marshal

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

func (*QueryVouchersForAddressResponse) MarshalTo

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

func (*QueryVouchersForAddressResponse) MarshalToSizedBuffer

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

func (*QueryVouchersForAddressResponse) ProtoMessage

func (*QueryVouchersForAddressResponse) ProtoMessage()

func (*QueryVouchersForAddressResponse) Reset

func (*QueryVouchersForAddressResponse) Size

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

func (*QueryVouchersForAddressResponse) String

func (*QueryVouchersForAddressResponse) Unmarshal

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

func (*QueryVouchersForAddressResponse) XXX_DiscardUnknown

func (m *QueryVouchersForAddressResponse) XXX_DiscardUnknown()

func (*QueryVouchersForAddressResponse) XXX_Marshal

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

func (*QueryVouchersForAddressResponse) XXX_Merge

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

func (*QueryVouchersForAddressResponse) XXX_Size

func (m *QueryVouchersForAddressResponse) XXX_Size() int

func (*QueryVouchersForAddressResponse) XXX_Unmarshal

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

type Role

type Role struct {
	Role        string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	Permissions uint32 `protobuf:"varint,2,opt,name=permissions,proto3" json:"permissions,omitempty"`
}

Role is only used for storage

func (*Role) Descriptor

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

func (*Role) GetPermissions

func (m *Role) GetPermissions() uint32

func (*Role) GetRole

func (m *Role) GetRole() string

func (*Role) Marshal

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

func (*Role) MarshalTo

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

func (*Role) MarshalToSizedBuffer

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

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) Reset

func (m *Role) Reset()

func (*Role) Size

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

func (*Role) String

func (m *Role) String() string

func (*Role) Unmarshal

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

func (*Role) XXX_DiscardUnknown

func (m *Role) XXX_DiscardUnknown()

func (*Role) XXX_Marshal

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

func (*Role) XXX_Merge

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

func (*Role) XXX_Size

func (m *Role) XXX_Size() int

func (*Role) XXX_Unmarshal

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

type RoleIDs

type RoleIDs struct {
	RoleIds []uint32 `protobuf:"varint,1,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"`
}

used in storage

func (*RoleIDs) Descriptor

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

func (*RoleIDs) GetRoleIds

func (m *RoleIDs) GetRoleIds() []uint32

func (*RoleIDs) Marshal

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

func (*RoleIDs) MarshalTo

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

func (*RoleIDs) MarshalToSizedBuffer

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

func (*RoleIDs) ProtoMessage

func (*RoleIDs) ProtoMessage()

func (*RoleIDs) Reset

func (m *RoleIDs) Reset()

func (*RoleIDs) Size

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

func (*RoleIDs) String

func (m *RoleIDs) String() string

func (*RoleIDs) Unmarshal

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

func (*RoleIDs) XXX_DiscardUnknown

func (m *RoleIDs) XXX_DiscardUnknown()

func (*RoleIDs) XXX_Marshal

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

func (*RoleIDs) XXX_Merge

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

func (*RoleIDs) XXX_Size

func (m *RoleIDs) XXX_Size() int

func (*RoleIDs) XXX_Unmarshal

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

type TokenFactoryKeeper

type TokenFactoryKeeper interface {
	GetAuthorityMetadata(ctx sdk.Context, denom string) (tftypes.DenomAuthorityMetadata, error)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ClaimVoucher

func (*UnimplementedMsgServer) CreateNamespace

func (*UnimplementedMsgServer) DeleteNamespace

func (*UnimplementedMsgServer) RevokeNamespaceRoles

func (*UnimplementedMsgServer) UpdateNamespace

func (*UnimplementedMsgServer) UpdateNamespaceRoles

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AddressRoles

func (*UnimplementedQueryServer) AddressesByRole

func (*UnimplementedQueryServer) AllNamespaces

func (*UnimplementedQueryServer) NamespaceByDenom

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) VouchersForAddress

type Voucher

type Voucher struct {
	Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

func (*Voucher) Descriptor

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

func (*Voucher) GetCoins

func (*Voucher) Marshal

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

func (*Voucher) MarshalTo

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

func (*Voucher) MarshalToSizedBuffer

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

func (*Voucher) ProtoMessage

func (*Voucher) ProtoMessage()

func (*Voucher) Reset

func (m *Voucher) Reset()

func (*Voucher) Size

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

func (*Voucher) String

func (m *Voucher) String() string

func (*Voucher) Unmarshal

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

func (*Voucher) XXX_DiscardUnknown

func (m *Voucher) XXX_DiscardUnknown()

func (*Voucher) XXX_Marshal

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

func (*Voucher) XXX_Merge

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

func (*Voucher) XXX_Size

func (m *Voucher) XXX_Size() int

func (*Voucher) XXX_Unmarshal

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

type WasmHookMsg

type WasmHookMsg struct {
	From    sdk.AccAddress `json:"from_address"`
	To      sdk.AccAddress `json:"to_address"`
	Action  string         `json:"action"`
	Amounts sdk.Coins      `json:"amounts"`
}

func NewWasmHookMsg

func NewWasmHookMsg(fromAddr, toAddr sdk.AccAddress, action Action, amount sdk.Coin) WasmHookMsg

type WasmKeeper

type WasmKeeper interface {
	HasContractInfo(ctx context.Context, contractAddress sdk.AccAddress) bool
	QuerySmart(ctx context.Context, contractAddr sdk.AccAddress, req []byte) ([]byte, error)
}

Jump to

Keyboard shortcuts

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