Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetCodeAuthorizationPrefix(codeID uint64) []byte
- func GetContractAuthorizationPrefix(contractAddress sdk.AccAddress) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- type CodeAuthorization
- func (*CodeAuthorization) Descriptor() ([]byte, []int)
- func (m *CodeAuthorization) GetCodeID() uint64
- func (m *CodeAuthorization) GetMethods() []string
- func (m *CodeAuthorization) Marshal() (dAtA []byte, err error)
- func (m *CodeAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *CodeAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CodeAuthorization) ProtoMessage()
- func (m *CodeAuthorization) Reset()
- func (m *CodeAuthorization) Size() (n int)
- func (m *CodeAuthorization) String() string
- func (m *CodeAuthorization) Unmarshal(dAtA []byte) error
- func (ca CodeAuthorization) Validate() error
- func (m *CodeAuthorization) XXX_DiscardUnknown()
- func (m *CodeAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CodeAuthorization) XXX_Merge(src proto.Message)
- func (m *CodeAuthorization) XXX_Size() int
- func (m *CodeAuthorization) XXX_Unmarshal(b []byte) error
- type ContractAuthorization
- func (*ContractAuthorization) Descriptor() ([]byte, []int)
- func (m *ContractAuthorization) GetContractAddress() string
- func (m *ContractAuthorization) GetMethods() []string
- func (m *ContractAuthorization) Marshal() (dAtA []byte, err error)
- func (m *ContractAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractAuthorization) ProtoMessage()
- func (m *ContractAuthorization) Reset()
- func (m *ContractAuthorization) Size() (n int)
- func (m *ContractAuthorization) String() string
- func (m *ContractAuthorization) Unmarshal(dAtA []byte) error
- func (ca ContractAuthorization) Validate() error
- func (m *ContractAuthorization) XXX_DiscardUnknown()
- func (m *ContractAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractAuthorization) XXX_Merge(src proto.Message)
- func (m *ContractAuthorization) XXX_Size() int
- func (m *ContractAuthorization) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetCodeAuthorizations() []CodeAuthorization
- func (m *GenesisState) GetContractAuthorizations() []ContractAuthorization
- func (m *GenesisState) GetParams() Params
- 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 (*GenesisState) ProtoMessage()
- 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) Validate() 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 MsgClient
- type MsgRemoveCodeAuthorization
- func (*MsgRemoveCodeAuthorization) Descriptor() ([]byte, []int)
- func (m *MsgRemoveCodeAuthorization) GetCodeID() uint64
- func (m *MsgRemoveCodeAuthorization) GetSender() string
- func (msg MsgRemoveCodeAuthorization) GetSignBytes() []byte
- func (msg MsgRemoveCodeAuthorization) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveCodeAuthorization) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveCodeAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveCodeAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveCodeAuthorization) ProtoMessage()
- func (m *MsgRemoveCodeAuthorization) Reset()
- func (msg MsgRemoveCodeAuthorization) Route() string
- func (m *MsgRemoveCodeAuthorization) Size() (n int)
- func (m *MsgRemoveCodeAuthorization) String() string
- func (msg MsgRemoveCodeAuthorization) Type() string
- func (m *MsgRemoveCodeAuthorization) Unmarshal(dAtA []byte) error
- func (msg MsgRemoveCodeAuthorization) ValidateBasic() error
- func (m *MsgRemoveCodeAuthorization) XXX_DiscardUnknown()
- func (m *MsgRemoveCodeAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveCodeAuthorization) XXX_Merge(src proto.Message)
- func (m *MsgRemoveCodeAuthorization) XXX_Size() int
- func (m *MsgRemoveCodeAuthorization) XXX_Unmarshal(b []byte) error
- type MsgRemoveCodeAuthorizationResponse
- func (*MsgRemoveCodeAuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveCodeAuthorizationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveCodeAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveCodeAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveCodeAuthorizationResponse) ProtoMessage()
- func (m *MsgRemoveCodeAuthorizationResponse) Reset()
- func (m *MsgRemoveCodeAuthorizationResponse) Size() (n int)
- func (m *MsgRemoveCodeAuthorizationResponse) String() string
- func (m *MsgRemoveCodeAuthorizationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveCodeAuthorizationResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveCodeAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveCodeAuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveCodeAuthorizationResponse) XXX_Size() int
- func (m *MsgRemoveCodeAuthorizationResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveContractAuthorization
- func (*MsgRemoveContractAuthorization) Descriptor() ([]byte, []int)
- func (m *MsgRemoveContractAuthorization) GetContractAddress() string
- func (m *MsgRemoveContractAuthorization) GetSender() string
- func (msg MsgRemoveContractAuthorization) GetSignBytes() []byte
- func (msg MsgRemoveContractAuthorization) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveContractAuthorization) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveContractAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveContractAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveContractAuthorization) ProtoMessage()
- func (m *MsgRemoveContractAuthorization) Reset()
- func (msg MsgRemoveContractAuthorization) Route() string
- func (m *MsgRemoveContractAuthorization) Size() (n int)
- func (m *MsgRemoveContractAuthorization) String() string
- func (msg MsgRemoveContractAuthorization) Type() string
- func (m *MsgRemoveContractAuthorization) Unmarshal(dAtA []byte) error
- func (msg MsgRemoveContractAuthorization) ValidateBasic() error
- func (m *MsgRemoveContractAuthorization) XXX_DiscardUnknown()
- func (m *MsgRemoveContractAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveContractAuthorization) XXX_Merge(src proto.Message)
- func (m *MsgRemoveContractAuthorization) XXX_Size() int
- func (m *MsgRemoveContractAuthorization) XXX_Unmarshal(b []byte) error
- type MsgRemoveContractAuthorizationResponse
- func (*MsgRemoveContractAuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveContractAuthorizationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveContractAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveContractAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveContractAuthorizationResponse) ProtoMessage()
- func (m *MsgRemoveContractAuthorizationResponse) Reset()
- func (m *MsgRemoveContractAuthorizationResponse) Size() (n int)
- func (m *MsgRemoveContractAuthorizationResponse) String() string
- func (m *MsgRemoveContractAuthorizationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveContractAuthorizationResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveContractAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveContractAuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveContractAuthorizationResponse) XXX_Size() int
- func (m *MsgRemoveContractAuthorizationResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSetCodeAuthorization
- func (*MsgSetCodeAuthorization) Descriptor() ([]byte, []int)
- func (m *MsgSetCodeAuthorization) GetCodeAuthorization() *CodeAuthorization
- func (m *MsgSetCodeAuthorization) GetSender() string
- func (msg MsgSetCodeAuthorization) GetSignBytes() []byte
- func (msg MsgSetCodeAuthorization) GetSigners() []sdk.AccAddress
- func (m *MsgSetCodeAuthorization) Marshal() (dAtA []byte, err error)
- func (m *MsgSetCodeAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetCodeAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetCodeAuthorization) ProtoMessage()
- func (m *MsgSetCodeAuthorization) Reset()
- func (msg MsgSetCodeAuthorization) Route() string
- func (m *MsgSetCodeAuthorization) Size() (n int)
- func (m *MsgSetCodeAuthorization) String() string
- func (msg MsgSetCodeAuthorization) Type() string
- func (m *MsgSetCodeAuthorization) Unmarshal(dAtA []byte) error
- func (msg MsgSetCodeAuthorization) ValidateBasic() error
- func (m *MsgSetCodeAuthorization) XXX_DiscardUnknown()
- func (m *MsgSetCodeAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetCodeAuthorization) XXX_Merge(src proto.Message)
- func (m *MsgSetCodeAuthorization) XXX_Size() int
- func (m *MsgSetCodeAuthorization) XXX_Unmarshal(b []byte) error
- type MsgSetCodeAuthorizationResponse
- func (*MsgSetCodeAuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetCodeAuthorizationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetCodeAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetCodeAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetCodeAuthorizationResponse) ProtoMessage()
- func (m *MsgSetCodeAuthorizationResponse) Reset()
- func (m *MsgSetCodeAuthorizationResponse) Size() (n int)
- func (m *MsgSetCodeAuthorizationResponse) String() string
- func (m *MsgSetCodeAuthorizationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetCodeAuthorizationResponse) XXX_DiscardUnknown()
- func (m *MsgSetCodeAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetCodeAuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetCodeAuthorizationResponse) XXX_Size() int
- func (m *MsgSetCodeAuthorizationResponse) XXX_Unmarshal(b []byte) error
- type MsgSetContractAuthorization
- func (*MsgSetContractAuthorization) Descriptor() ([]byte, []int)
- func (m *MsgSetContractAuthorization) GetContractAuthorization() *ContractAuthorization
- func (m *MsgSetContractAuthorization) GetSender() string
- func (msg MsgSetContractAuthorization) GetSignBytes() []byte
- func (msg MsgSetContractAuthorization) GetSigners() []sdk.AccAddress
- func (m *MsgSetContractAuthorization) Marshal() (dAtA []byte, err error)
- func (m *MsgSetContractAuthorization) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetContractAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetContractAuthorization) ProtoMessage()
- func (m *MsgSetContractAuthorization) Reset()
- func (msg MsgSetContractAuthorization) Route() string
- func (m *MsgSetContractAuthorization) Size() (n int)
- func (m *MsgSetContractAuthorization) String() string
- func (msg MsgSetContractAuthorization) Type() string
- func (m *MsgSetContractAuthorization) Unmarshal(dAtA []byte) error
- func (msg MsgSetContractAuthorization) ValidateBasic() error
- func (m *MsgSetContractAuthorization) XXX_DiscardUnknown()
- func (m *MsgSetContractAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetContractAuthorization) XXX_Merge(src proto.Message)
- func (m *MsgSetContractAuthorization) XXX_Size() int
- func (m *MsgSetContractAuthorization) XXX_Unmarshal(b []byte) error
- type MsgSetContractAuthorizationResponse
- func (*MsgSetContractAuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetContractAuthorizationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetContractAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetContractAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetContractAuthorizationResponse) ProtoMessage()
- func (m *MsgSetContractAuthorizationResponse) Reset()
- func (m *MsgSetContractAuthorizationResponse) Size() (n int)
- func (m *MsgSetContractAuthorizationResponse) String() string
- func (m *MsgSetContractAuthorizationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetContractAuthorizationResponse) XXX_DiscardUnknown()
- func (m *MsgSetContractAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetContractAuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetContractAuthorizationResponse) XXX_Size() int
- func (m *MsgSetContractAuthorizationResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) GetSender() string
- func (msg MsgUpdateParams) GetSignBytes() []byte
- func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (msg MsgUpdateParams) Route() string
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (msg MsgUpdateParams) Type() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateParams) ValidateBasic() error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetMinimumGasPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
- func (m *Params) GetPrivilegedAddresses() []string
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() 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 QueryAuthorizationsRequest
- func (*QueryAuthorizationsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAuthorizationsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAuthorizationsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuthorizationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuthorizationsRequest) ProtoMessage()
- func (m *QueryAuthorizationsRequest) Reset()
- func (m *QueryAuthorizationsRequest) Size() (n int)
- func (m *QueryAuthorizationsRequest) String() string
- func (m *QueryAuthorizationsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAuthorizationsRequest) XXX_DiscardUnknown()
- func (m *QueryAuthorizationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuthorizationsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAuthorizationsRequest) XXX_Size() int
- func (m *QueryAuthorizationsRequest) XXX_Unmarshal(b []byte) error
- type QueryAuthorizationsResponse
- func (*QueryAuthorizationsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAuthorizationsResponse) GetCodeAuthorizations() []*CodeAuthorization
- func (m *QueryAuthorizationsResponse) GetContractAuthorizations() []*ContractAuthorization
- func (m *QueryAuthorizationsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAuthorizationsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAuthorizationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAuthorizationsResponse) ProtoMessage()
- func (m *QueryAuthorizationsResponse) Reset()
- func (m *QueryAuthorizationsResponse) Size() (n int)
- func (m *QueryAuthorizationsResponse) String() string
- func (m *QueryAuthorizationsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAuthorizationsResponse) XXX_DiscardUnknown()
- func (m *QueryAuthorizationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAuthorizationsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAuthorizationsResponse) XXX_Size() int
- func (m *QueryAuthorizationsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCodeAuthorizationRequest
- func (*QueryCodeAuthorizationRequest) Descriptor() ([]byte, []int)
- func (m *QueryCodeAuthorizationRequest) GetCodeId() uint64
- func (m *QueryCodeAuthorizationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCodeAuthorizationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodeAuthorizationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodeAuthorizationRequest) ProtoMessage()
- func (m *QueryCodeAuthorizationRequest) Reset()
- func (m *QueryCodeAuthorizationRequest) Size() (n int)
- func (m *QueryCodeAuthorizationRequest) String() string
- func (m *QueryCodeAuthorizationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCodeAuthorizationRequest) XXX_DiscardUnknown()
- func (m *QueryCodeAuthorizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodeAuthorizationRequest) XXX_Merge(src proto.Message)
- func (m *QueryCodeAuthorizationRequest) XXX_Size() int
- func (m *QueryCodeAuthorizationRequest) XXX_Unmarshal(b []byte) error
- type QueryCodeAuthorizationResponse
- func (*QueryCodeAuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *QueryCodeAuthorizationResponse) GetMethods() []string
- func (m *QueryCodeAuthorizationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCodeAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCodeAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCodeAuthorizationResponse) ProtoMessage()
- func (m *QueryCodeAuthorizationResponse) Reset()
- func (m *QueryCodeAuthorizationResponse) Size() (n int)
- func (m *QueryCodeAuthorizationResponse) String() string
- func (m *QueryCodeAuthorizationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCodeAuthorizationResponse) XXX_DiscardUnknown()
- func (m *QueryCodeAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCodeAuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *QueryCodeAuthorizationResponse) XXX_Size() int
- func (m *QueryCodeAuthorizationResponse) XXX_Unmarshal(b []byte) error
- type QueryContractAuthorizationRequest
- func (*QueryContractAuthorizationRequest) Descriptor() ([]byte, []int)
- func (m *QueryContractAuthorizationRequest) GetContractAddress() string
- func (m *QueryContractAuthorizationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryContractAuthorizationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractAuthorizationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractAuthorizationRequest) ProtoMessage()
- func (m *QueryContractAuthorizationRequest) Reset()
- func (m *QueryContractAuthorizationRequest) Size() (n int)
- func (m *QueryContractAuthorizationRequest) String() string
- func (m *QueryContractAuthorizationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryContractAuthorizationRequest) XXX_DiscardUnknown()
- func (m *QueryContractAuthorizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractAuthorizationRequest) XXX_Merge(src proto.Message)
- func (m *QueryContractAuthorizationRequest) XXX_Size() int
- func (m *QueryContractAuthorizationRequest) XXX_Unmarshal(b []byte) error
- type QueryContractAuthorizationResponse
- func (*QueryContractAuthorizationResponse) Descriptor() ([]byte, []int)
- func (m *QueryContractAuthorizationResponse) GetMethods() []string
- func (m *QueryContractAuthorizationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryContractAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryContractAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryContractAuthorizationResponse) ProtoMessage()
- func (m *QueryContractAuthorizationResponse) Reset()
- func (m *QueryContractAuthorizationResponse) Size() (n int)
- func (m *QueryContractAuthorizationResponse) String() string
- func (m *QueryContractAuthorizationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryContractAuthorizationResponse) XXX_DiscardUnknown()
- func (m *QueryContractAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryContractAuthorizationResponse) XXX_Merge(src proto.Message)
- func (m *QueryContractAuthorizationResponse) XXX_Size() int
- func (m *QueryContractAuthorizationResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() *Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type RemoveCodeAuthorizationProposaldeprecated
- func (*RemoveCodeAuthorizationProposal) Descriptor() ([]byte, []int)
- func (m *RemoveCodeAuthorizationProposal) GetCodeID() uint64
- func (m *RemoveCodeAuthorizationProposal) GetDescription() string
- func (m *RemoveCodeAuthorizationProposal) GetTitle() string
- func (m *RemoveCodeAuthorizationProposal) Marshal() (dAtA []byte, err error)
- func (m *RemoveCodeAuthorizationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveCodeAuthorizationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveCodeAuthorizationProposal) ProtoMessage()
- func (m *RemoveCodeAuthorizationProposal) Reset()
- func (m *RemoveCodeAuthorizationProposal) Size() (n int)
- func (m *RemoveCodeAuthorizationProposal) String() string
- func (m *RemoveCodeAuthorizationProposal) Unmarshal(dAtA []byte) error
- func (m *RemoveCodeAuthorizationProposal) XXX_DiscardUnknown()
- func (m *RemoveCodeAuthorizationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveCodeAuthorizationProposal) XXX_Merge(src proto.Message)
- func (m *RemoveCodeAuthorizationProposal) XXX_Size() int
- func (m *RemoveCodeAuthorizationProposal) XXX_Unmarshal(b []byte) error
- type RemoveContractAuthorizationProposaldeprecated
- func (*RemoveContractAuthorizationProposal) Descriptor() ([]byte, []int)
- func (m *RemoveContractAuthorizationProposal) GetContractAddress() string
- func (m *RemoveContractAuthorizationProposal) GetDescription() string
- func (m *RemoveContractAuthorizationProposal) GetTitle() string
- func (m *RemoveContractAuthorizationProposal) Marshal() (dAtA []byte, err error)
- func (m *RemoveContractAuthorizationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *RemoveContractAuthorizationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RemoveContractAuthorizationProposal) ProtoMessage()
- func (m *RemoveContractAuthorizationProposal) Reset()
- func (m *RemoveContractAuthorizationProposal) Size() (n int)
- func (m *RemoveContractAuthorizationProposal) String() string
- func (m *RemoveContractAuthorizationProposal) Unmarshal(dAtA []byte) error
- func (m *RemoveContractAuthorizationProposal) XXX_DiscardUnknown()
- func (m *RemoveContractAuthorizationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveContractAuthorizationProposal) XXX_Merge(src proto.Message)
- func (m *RemoveContractAuthorizationProposal) XXX_Size() int
- func (m *RemoveContractAuthorizationProposal) XXX_Unmarshal(b []byte) error
- type SetCodeAuthorizationProposaldeprecated
- func (*SetCodeAuthorizationProposal) Descriptor() ([]byte, []int)
- func (m *SetCodeAuthorizationProposal) GetCodeAuthorization() *CodeAuthorization
- func (m *SetCodeAuthorizationProposal) GetDescription() string
- func (m *SetCodeAuthorizationProposal) GetTitle() string
- func (m *SetCodeAuthorizationProposal) Marshal() (dAtA []byte, err error)
- func (m *SetCodeAuthorizationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SetCodeAuthorizationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetCodeAuthorizationProposal) ProtoMessage()
- func (m *SetCodeAuthorizationProposal) Reset()
- func (m *SetCodeAuthorizationProposal) Size() (n int)
- func (m *SetCodeAuthorizationProposal) String() string
- func (m *SetCodeAuthorizationProposal) Unmarshal(dAtA []byte) error
- func (m *SetCodeAuthorizationProposal) XXX_DiscardUnknown()
- func (m *SetCodeAuthorizationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetCodeAuthorizationProposal) XXX_Merge(src proto.Message)
- func (m *SetCodeAuthorizationProposal) XXX_Size() int
- func (m *SetCodeAuthorizationProposal) XXX_Unmarshal(b []byte) error
- type SetContractAuthorizationProposaldeprecated
- func (*SetContractAuthorizationProposal) Descriptor() ([]byte, []int)
- func (m *SetContractAuthorizationProposal) GetContractAuthorization() *ContractAuthorization
- func (m *SetContractAuthorizationProposal) GetDescription() string
- func (m *SetContractAuthorizationProposal) GetTitle() string
- func (m *SetContractAuthorizationProposal) Marshal() (dAtA []byte, err error)
- func (m *SetContractAuthorizationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SetContractAuthorizationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetContractAuthorizationProposal) ProtoMessage()
- func (m *SetContractAuthorizationProposal) Reset()
- func (m *SetContractAuthorizationProposal) Size() (n int)
- func (m *SetContractAuthorizationProposal) String() string
- func (m *SetContractAuthorizationProposal) Unmarshal(dAtA []byte) error
- func (m *SetContractAuthorizationProposal) XXX_DiscardUnknown()
- func (m *SetContractAuthorizationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetContractAuthorizationProposal) XXX_Merge(src proto.Message)
- func (m *SetContractAuthorizationProposal) XXX_Size() int
- func (m *SetContractAuthorizationProposal) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) RemoveCodeAuthorization(ctx context.Context, req *MsgRemoveCodeAuthorization) (*MsgRemoveCodeAuthorizationResponse, error)
- func (*UnimplementedMsgServer) RemoveContractAuthorization(ctx context.Context, req *MsgRemoveContractAuthorization) (*MsgRemoveContractAuthorizationResponse, error)
- func (*UnimplementedMsgServer) SetCodeAuthorization(ctx context.Context, req *MsgSetCodeAuthorization) (*MsgSetCodeAuthorizationResponse, error)
- func (*UnimplementedMsgServer) SetContractAuthorization(ctx context.Context, req *MsgSetContractAuthorization) (*MsgSetContractAuthorizationResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Authorizations(ctx context.Context, req *QueryAuthorizationsRequest) (*QueryAuthorizationsResponse, error)
- func (*UnimplementedQueryServer) CodeAuthorization(ctx context.Context, req *QueryCodeAuthorizationRequest) (*QueryCodeAuthorizationResponse, error)
- func (*UnimplementedQueryServer) ContractAuthorization(ctx context.Context, req *QueryContractAuthorizationRequest) (*QueryContractAuthorizationResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- type WasmKeeper
Constants ¶
const ( TypeMsgSetCodeAuthorization = "set_code_authorization" TypeMsgRemoveCodeAuthorization = "remove_code_authorization" )
msg types
const ( TypeMsgSetContractAuthorization = "set_contract_authorization" TypeMsgRemoveContractAuthorization = "remove_contract_authorization" )
msg types
const ( // ModuleName is the module name. ModuleName = "globalfee" // StoreKey is the module KV storage prefix key. StoreKey = ModuleName // QuerierRoute is the querier route for the module. QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_globalfee" // RouterKey is the message route f RouterKey = ModuleName )
const (
TypeMsgUpdateParams = "update_params"
)
msg types
Variables ¶
var ( DefaultCodespace = ModuleName ErrInvalidMethods = errorsmod.Register(DefaultCodespace, 2, "invalid method in code/contract authorization") // Code or Contract Authorizations have invalid methods configured ErrContractNotExist = errorsmod.Register(DefaultCodespace, 3, "contract with given address does not exist") ErrCodeIDNotExist = errorsmod.Register(DefaultCodespace, 4, "code id does not exist") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGlobalfee = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGlobalfee = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGlobalfee = fmt.Errorf("proto: unexpected end of group") )
var ( CodeAuthorizationPrefix = []byte{0x01} ContractAuthorizationPrefix = []byte{0x02} // ParamsKey stores the module params ParamsKey = []byte{0x03} )
var ( KeyPrivilegedAddresses = []byte("PrivilegedAddresses") KeyMinGasPrices = []byte("MinimumGasPricesParam") )
var ( ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var Amino = codec.NewLegacyAmino()
Functions ¶
func GetContractAuthorizationPrefix ¶
func GetContractAuthorizationPrefix(contractAddress sdk.AccAddress) []byte
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterfaces registers interfaces types with the interface registry.
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers the necessary interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type CodeAuthorization ¶
type CodeAuthorization struct { // authorized code ids CodeID uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty" yaml:"code_id"` // authorized contract operation methods Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty" yaml:"methods"` }
Configuration for code Ids which can have zero gas operations
func (*CodeAuthorization) Descriptor ¶
func (*CodeAuthorization) Descriptor() ([]byte, []int)
func (*CodeAuthorization) GetCodeID ¶
func (m *CodeAuthorization) GetCodeID() uint64
func (*CodeAuthorization) GetMethods ¶
func (m *CodeAuthorization) GetMethods() []string
func (*CodeAuthorization) Marshal ¶
func (m *CodeAuthorization) Marshal() (dAtA []byte, err error)
func (*CodeAuthorization) MarshalTo ¶
func (m *CodeAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*CodeAuthorization) MarshalToSizedBuffer ¶
func (m *CodeAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CodeAuthorization) ProtoMessage ¶
func (*CodeAuthorization) ProtoMessage()
func (*CodeAuthorization) Reset ¶
func (m *CodeAuthorization) Reset()
func (*CodeAuthorization) Size ¶
func (m *CodeAuthorization) Size() (n int)
func (*CodeAuthorization) String ¶
func (m *CodeAuthorization) String() string
func (*CodeAuthorization) Unmarshal ¶
func (m *CodeAuthorization) Unmarshal(dAtA []byte) error
func (CodeAuthorization) Validate ¶
func (ca CodeAuthorization) Validate() error
Validate validates the values of code authorizations
func (*CodeAuthorization) XXX_DiscardUnknown ¶
func (m *CodeAuthorization) XXX_DiscardUnknown()
func (*CodeAuthorization) XXX_Marshal ¶
func (m *CodeAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CodeAuthorization) XXX_Merge ¶
func (m *CodeAuthorization) XXX_Merge(src proto.Message)
func (*CodeAuthorization) XXX_Size ¶
func (m *CodeAuthorization) XXX_Size() int
func (*CodeAuthorization) XXX_Unmarshal ¶
func (m *CodeAuthorization) XXX_Unmarshal(b []byte) error
type ContractAuthorization ¶
type ContractAuthorization struct { // authorized contract addresses ContractAddress string `` /* 130-byte string literal not displayed */ // authorized contract operation methods Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty" yaml:"methods"` }
Configuration for contract addresses which can have zero gas operations
func (*ContractAuthorization) Descriptor ¶
func (*ContractAuthorization) Descriptor() ([]byte, []int)
func (*ContractAuthorization) GetContractAddress ¶
func (m *ContractAuthorization) GetContractAddress() string
func (*ContractAuthorization) GetMethods ¶
func (m *ContractAuthorization) GetMethods() []string
func (*ContractAuthorization) Marshal ¶
func (m *ContractAuthorization) Marshal() (dAtA []byte, err error)
func (*ContractAuthorization) MarshalTo ¶
func (m *ContractAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*ContractAuthorization) MarshalToSizedBuffer ¶
func (m *ContractAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractAuthorization) ProtoMessage ¶
func (*ContractAuthorization) ProtoMessage()
func (*ContractAuthorization) Reset ¶
func (m *ContractAuthorization) Reset()
func (*ContractAuthorization) Size ¶
func (m *ContractAuthorization) Size() (n int)
func (*ContractAuthorization) String ¶
func (m *ContractAuthorization) String() string
func (*ContractAuthorization) Unmarshal ¶
func (m *ContractAuthorization) Unmarshal(dAtA []byte) error
func (ContractAuthorization) Validate ¶
func (ca ContractAuthorization) Validate() error
Validate validates the values of contract authorizations
func (*ContractAuthorization) XXX_DiscardUnknown ¶
func (m *ContractAuthorization) XXX_DiscardUnknown()
func (*ContractAuthorization) XXX_Marshal ¶
func (m *ContractAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractAuthorization) XXX_Merge ¶
func (m *ContractAuthorization) XXX_Merge(src proto.Message)
func (*ContractAuthorization) XXX_Size ¶
func (m *ContractAuthorization) XXX_Size() int
func (*ContractAuthorization) XXX_Unmarshal ¶
func (m *ContractAuthorization) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { // Module params Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // Authorizations configured by code id CodeAuthorizations []CodeAuthorization `protobuf:"bytes,2,rep,name=code_authorizations,json=codeAuthorizations,proto3" json:"code_authorizations,omitempty"` // Authorizations configured by contract addresses ContractAuthorizations []ContractAuthorization `` /* 127-byte string literal not displayed */ }
GenesisState defines the globalfee module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesisState returns a default genesis state.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetCodeAuthorizations ¶
func (m *GenesisState) GetCodeAuthorizations() []CodeAuthorization
func (*GenesisState) GetContractAuthorizations ¶
func (m *GenesisState) GetContractAuthorizations() []ContractAuthorization
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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 (m GenesisState) Validate() error
Validate perform object fields validation.
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 MsgClient ¶
type MsgClient interface { // SetCodeAuthorization will set a specific code id fee settings. SetCodeAuthorization(ctx context.Context, in *MsgSetCodeAuthorization, opts ...grpc.CallOption) (*MsgSetCodeAuthorizationResponse, error) // RemoveCodeAuthorization will remove code id configuration. RemoveCodeAuthorization(ctx context.Context, in *MsgRemoveCodeAuthorization, opts ...grpc.CallOption) (*MsgRemoveCodeAuthorizationResponse, error) // SetContractAuthorization will set a specific contract fee settings. SetContractAuthorization(ctx context.Context, in *MsgSetContractAuthorization, opts ...grpc.CallOption) (*MsgSetContractAuthorizationResponse, error) // RemoveContractAuthorization removes specific contract fee settings. RemoveContractAuthorization(ctx context.Context, in *MsgRemoveContractAuthorization, opts ...grpc.CallOption) (*MsgRemoveContractAuthorizationResponse, error) // UpdateParams will update module params, callable by governance only. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgRemoveCodeAuthorization ¶
type MsgRemoveCodeAuthorization struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` CodeID uint64 `protobuf:"varint,2,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"` }
MsgRemoveCodeAuthorization is the request for removing code authorization.
func NewMsgRemoveCodeAuthorization ¶
func NewMsgRemoveCodeAuthorization(sender string, codeID uint64) *MsgRemoveCodeAuthorization
func (*MsgRemoveCodeAuthorization) Descriptor ¶
func (*MsgRemoveCodeAuthorization) Descriptor() ([]byte, []int)
func (*MsgRemoveCodeAuthorization) GetCodeID ¶
func (m *MsgRemoveCodeAuthorization) GetCodeID() uint64
func (*MsgRemoveCodeAuthorization) GetSender ¶
func (m *MsgRemoveCodeAuthorization) GetSender() string
func (MsgRemoveCodeAuthorization) GetSignBytes ¶
func (msg MsgRemoveCodeAuthorization) GetSignBytes() []byte
func (MsgRemoveCodeAuthorization) GetSigners ¶
func (msg MsgRemoveCodeAuthorization) GetSigners() []sdk.AccAddress
func (*MsgRemoveCodeAuthorization) Marshal ¶
func (m *MsgRemoveCodeAuthorization) Marshal() (dAtA []byte, err error)
func (*MsgRemoveCodeAuthorization) MarshalTo ¶
func (m *MsgRemoveCodeAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveCodeAuthorization) MarshalToSizedBuffer ¶
func (m *MsgRemoveCodeAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveCodeAuthorization) ProtoMessage ¶
func (*MsgRemoveCodeAuthorization) ProtoMessage()
func (*MsgRemoveCodeAuthorization) Reset ¶
func (m *MsgRemoveCodeAuthorization) Reset()
func (MsgRemoveCodeAuthorization) Route ¶
func (msg MsgRemoveCodeAuthorization) Route() string
func (*MsgRemoveCodeAuthorization) Size ¶
func (m *MsgRemoveCodeAuthorization) Size() (n int)
func (*MsgRemoveCodeAuthorization) String ¶
func (m *MsgRemoveCodeAuthorization) String() string
func (MsgRemoveCodeAuthorization) Type ¶
func (msg MsgRemoveCodeAuthorization) Type() string
func (*MsgRemoveCodeAuthorization) Unmarshal ¶
func (m *MsgRemoveCodeAuthorization) Unmarshal(dAtA []byte) error
func (MsgRemoveCodeAuthorization) ValidateBasic ¶
func (msg MsgRemoveCodeAuthorization) ValidateBasic() error
func (*MsgRemoveCodeAuthorization) XXX_DiscardUnknown ¶
func (m *MsgRemoveCodeAuthorization) XXX_DiscardUnknown()
func (*MsgRemoveCodeAuthorization) XXX_Marshal ¶
func (m *MsgRemoveCodeAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveCodeAuthorization) XXX_Merge ¶
func (m *MsgRemoveCodeAuthorization) XXX_Merge(src proto.Message)
func (*MsgRemoveCodeAuthorization) XXX_Size ¶
func (m *MsgRemoveCodeAuthorization) XXX_Size() int
func (*MsgRemoveCodeAuthorization) XXX_Unmarshal ¶
func (m *MsgRemoveCodeAuthorization) XXX_Unmarshal(b []byte) error
type MsgRemoveCodeAuthorizationResponse ¶
type MsgRemoveCodeAuthorizationResponse struct { }
MsgRemoveCodeAuthorizationResponse is the response for executing remove authorization.
func (*MsgRemoveCodeAuthorizationResponse) Descriptor ¶
func (*MsgRemoveCodeAuthorizationResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveCodeAuthorizationResponse) Marshal ¶
func (m *MsgRemoveCodeAuthorizationResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveCodeAuthorizationResponse) MarshalTo ¶
func (m *MsgRemoveCodeAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveCodeAuthorizationResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveCodeAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveCodeAuthorizationResponse) ProtoMessage ¶
func (*MsgRemoveCodeAuthorizationResponse) ProtoMessage()
func (*MsgRemoveCodeAuthorizationResponse) Reset ¶
func (m *MsgRemoveCodeAuthorizationResponse) Reset()
func (*MsgRemoveCodeAuthorizationResponse) Size ¶
func (m *MsgRemoveCodeAuthorizationResponse) Size() (n int)
func (*MsgRemoveCodeAuthorizationResponse) String ¶
func (m *MsgRemoveCodeAuthorizationResponse) String() string
func (*MsgRemoveCodeAuthorizationResponse) Unmarshal ¶
func (m *MsgRemoveCodeAuthorizationResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveCodeAuthorizationResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveCodeAuthorizationResponse) XXX_DiscardUnknown()
func (*MsgRemoveCodeAuthorizationResponse) XXX_Marshal ¶
func (m *MsgRemoveCodeAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveCodeAuthorizationResponse) XXX_Merge ¶
func (m *MsgRemoveCodeAuthorizationResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveCodeAuthorizationResponse) XXX_Size ¶
func (m *MsgRemoveCodeAuthorizationResponse) XXX_Size() int
func (*MsgRemoveCodeAuthorizationResponse) XXX_Unmarshal ¶
func (m *MsgRemoveCodeAuthorizationResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveContractAuthorization ¶
type MsgRemoveContractAuthorization struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` }
MsgRemoveContractAuthorization is the request for removing contract authorization.
func NewMsgRemoveContractAuthorization ¶
func NewMsgRemoveContractAuthorization(sender string, contractAddress string) *MsgRemoveContractAuthorization
func (*MsgRemoveContractAuthorization) Descriptor ¶
func (*MsgRemoveContractAuthorization) Descriptor() ([]byte, []int)
func (*MsgRemoveContractAuthorization) GetContractAddress ¶
func (m *MsgRemoveContractAuthorization) GetContractAddress() string
func (*MsgRemoveContractAuthorization) GetSender ¶
func (m *MsgRemoveContractAuthorization) GetSender() string
func (MsgRemoveContractAuthorization) GetSignBytes ¶
func (msg MsgRemoveContractAuthorization) GetSignBytes() []byte
func (MsgRemoveContractAuthorization) GetSigners ¶
func (msg MsgRemoveContractAuthorization) GetSigners() []sdk.AccAddress
func (*MsgRemoveContractAuthorization) Marshal ¶
func (m *MsgRemoveContractAuthorization) Marshal() (dAtA []byte, err error)
func (*MsgRemoveContractAuthorization) MarshalTo ¶
func (m *MsgRemoveContractAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveContractAuthorization) MarshalToSizedBuffer ¶
func (m *MsgRemoveContractAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveContractAuthorization) ProtoMessage ¶
func (*MsgRemoveContractAuthorization) ProtoMessage()
func (*MsgRemoveContractAuthorization) Reset ¶
func (m *MsgRemoveContractAuthorization) Reset()
func (MsgRemoveContractAuthorization) Route ¶
func (msg MsgRemoveContractAuthorization) Route() string
func (*MsgRemoveContractAuthorization) Size ¶
func (m *MsgRemoveContractAuthorization) Size() (n int)
func (*MsgRemoveContractAuthorization) String ¶
func (m *MsgRemoveContractAuthorization) String() string
func (MsgRemoveContractAuthorization) Type ¶
func (msg MsgRemoveContractAuthorization) Type() string
func (*MsgRemoveContractAuthorization) Unmarshal ¶
func (m *MsgRemoveContractAuthorization) Unmarshal(dAtA []byte) error
func (MsgRemoveContractAuthorization) ValidateBasic ¶
func (msg MsgRemoveContractAuthorization) ValidateBasic() error
func (*MsgRemoveContractAuthorization) XXX_DiscardUnknown ¶
func (m *MsgRemoveContractAuthorization) XXX_DiscardUnknown()
func (*MsgRemoveContractAuthorization) XXX_Marshal ¶
func (m *MsgRemoveContractAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveContractAuthorization) XXX_Merge ¶
func (m *MsgRemoveContractAuthorization) XXX_Merge(src proto.Message)
func (*MsgRemoveContractAuthorization) XXX_Size ¶
func (m *MsgRemoveContractAuthorization) XXX_Size() int
func (*MsgRemoveContractAuthorization) XXX_Unmarshal ¶
func (m *MsgRemoveContractAuthorization) XXX_Unmarshal(b []byte) error
type MsgRemoveContractAuthorizationResponse ¶
type MsgRemoveContractAuthorizationResponse struct { }
MsgRemoveContractAuthorizationResponse is the repsonse for executing a contract authorization removal.
func (*MsgRemoveContractAuthorizationResponse) Descriptor ¶
func (*MsgRemoveContractAuthorizationResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveContractAuthorizationResponse) Marshal ¶
func (m *MsgRemoveContractAuthorizationResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveContractAuthorizationResponse) MarshalTo ¶
func (m *MsgRemoveContractAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveContractAuthorizationResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveContractAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveContractAuthorizationResponse) ProtoMessage ¶
func (*MsgRemoveContractAuthorizationResponse) ProtoMessage()
func (*MsgRemoveContractAuthorizationResponse) Reset ¶
func (m *MsgRemoveContractAuthorizationResponse) Reset()
func (*MsgRemoveContractAuthorizationResponse) Size ¶
func (m *MsgRemoveContractAuthorizationResponse) Size() (n int)
func (*MsgRemoveContractAuthorizationResponse) String ¶
func (m *MsgRemoveContractAuthorizationResponse) String() string
func (*MsgRemoveContractAuthorizationResponse) Unmarshal ¶
func (m *MsgRemoveContractAuthorizationResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveContractAuthorizationResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveContractAuthorizationResponse) XXX_DiscardUnknown()
func (*MsgRemoveContractAuthorizationResponse) XXX_Marshal ¶
func (m *MsgRemoveContractAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveContractAuthorizationResponse) XXX_Merge ¶
func (m *MsgRemoveContractAuthorizationResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveContractAuthorizationResponse) XXX_Size ¶
func (m *MsgRemoveContractAuthorizationResponse) XXX_Size() int
func (*MsgRemoveContractAuthorizationResponse) XXX_Unmarshal ¶
func (m *MsgRemoveContractAuthorizationResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { // SetCodeAuthorization will set a specific code id fee settings. SetCodeAuthorization(context.Context, *MsgSetCodeAuthorization) (*MsgSetCodeAuthorizationResponse, error) // RemoveCodeAuthorization will remove code id configuration. RemoveCodeAuthorization(context.Context, *MsgRemoveCodeAuthorization) (*MsgRemoveCodeAuthorizationResponse, error) // SetContractAuthorization will set a specific contract fee settings. SetContractAuthorization(context.Context, *MsgSetContractAuthorization) (*MsgSetContractAuthorizationResponse, error) // RemoveContractAuthorization removes specific contract fee settings. RemoveContractAuthorization(context.Context, *MsgRemoveContractAuthorization) (*MsgRemoveContractAuthorizationResponse, error) // UpdateParams will update module params, callable by governance only. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }
MsgServer is the server API for Msg service.
type MsgSetCodeAuthorization ¶
type MsgSetCodeAuthorization struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` CodeAuthorization *CodeAuthorization `protobuf:"bytes,2,opt,name=code_authorization,json=codeAuthorization,proto3" json:"code_authorization,omitempty"` }
MsgSetCodeAuthorization is the request for setting code fee.
func NewMsgSetCodeAuthorization ¶
func NewMsgSetCodeAuthorization(sender string, codeID uint64, methods []string) *MsgSetCodeAuthorization
func (*MsgSetCodeAuthorization) Descriptor ¶
func (*MsgSetCodeAuthorization) Descriptor() ([]byte, []int)
func (*MsgSetCodeAuthorization) GetCodeAuthorization ¶
func (m *MsgSetCodeAuthorization) GetCodeAuthorization() *CodeAuthorization
func (*MsgSetCodeAuthorization) GetSender ¶
func (m *MsgSetCodeAuthorization) GetSender() string
func (MsgSetCodeAuthorization) GetSignBytes ¶
func (msg MsgSetCodeAuthorization) GetSignBytes() []byte
func (MsgSetCodeAuthorization) GetSigners ¶
func (msg MsgSetCodeAuthorization) GetSigners() []sdk.AccAddress
func (*MsgSetCodeAuthorization) Marshal ¶
func (m *MsgSetCodeAuthorization) Marshal() (dAtA []byte, err error)
func (*MsgSetCodeAuthorization) MarshalTo ¶
func (m *MsgSetCodeAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetCodeAuthorization) MarshalToSizedBuffer ¶
func (m *MsgSetCodeAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetCodeAuthorization) ProtoMessage ¶
func (*MsgSetCodeAuthorization) ProtoMessage()
func (*MsgSetCodeAuthorization) Reset ¶
func (m *MsgSetCodeAuthorization) Reset()
func (MsgSetCodeAuthorization) Route ¶
func (msg MsgSetCodeAuthorization) Route() string
func (*MsgSetCodeAuthorization) Size ¶
func (m *MsgSetCodeAuthorization) Size() (n int)
func (*MsgSetCodeAuthorization) String ¶
func (m *MsgSetCodeAuthorization) String() string
func (MsgSetCodeAuthorization) Type ¶
func (msg MsgSetCodeAuthorization) Type() string
func (*MsgSetCodeAuthorization) Unmarshal ¶
func (m *MsgSetCodeAuthorization) Unmarshal(dAtA []byte) error
func (MsgSetCodeAuthorization) ValidateBasic ¶
func (msg MsgSetCodeAuthorization) ValidateBasic() error
func (*MsgSetCodeAuthorization) XXX_DiscardUnknown ¶
func (m *MsgSetCodeAuthorization) XXX_DiscardUnknown()
func (*MsgSetCodeAuthorization) XXX_Marshal ¶
func (m *MsgSetCodeAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetCodeAuthorization) XXX_Merge ¶
func (m *MsgSetCodeAuthorization) XXX_Merge(src proto.Message)
func (*MsgSetCodeAuthorization) XXX_Size ¶
func (m *MsgSetCodeAuthorization) XXX_Size() int
func (*MsgSetCodeAuthorization) XXX_Unmarshal ¶
func (m *MsgSetCodeAuthorization) XXX_Unmarshal(b []byte) error
type MsgSetCodeAuthorizationResponse ¶
type MsgSetCodeAuthorizationResponse struct { }
MsgSetCodeAuthorizationResponse is the response for executing a set code authorization.
func (*MsgSetCodeAuthorizationResponse) Descriptor ¶
func (*MsgSetCodeAuthorizationResponse) Descriptor() ([]byte, []int)
func (*MsgSetCodeAuthorizationResponse) Marshal ¶
func (m *MsgSetCodeAuthorizationResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetCodeAuthorizationResponse) MarshalTo ¶
func (m *MsgSetCodeAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetCodeAuthorizationResponse) MarshalToSizedBuffer ¶
func (m *MsgSetCodeAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetCodeAuthorizationResponse) ProtoMessage ¶
func (*MsgSetCodeAuthorizationResponse) ProtoMessage()
func (*MsgSetCodeAuthorizationResponse) Reset ¶
func (m *MsgSetCodeAuthorizationResponse) Reset()
func (*MsgSetCodeAuthorizationResponse) Size ¶
func (m *MsgSetCodeAuthorizationResponse) Size() (n int)
func (*MsgSetCodeAuthorizationResponse) String ¶
func (m *MsgSetCodeAuthorizationResponse) String() string
func (*MsgSetCodeAuthorizationResponse) Unmarshal ¶
func (m *MsgSetCodeAuthorizationResponse) Unmarshal(dAtA []byte) error
func (*MsgSetCodeAuthorizationResponse) XXX_DiscardUnknown ¶
func (m *MsgSetCodeAuthorizationResponse) XXX_DiscardUnknown()
func (*MsgSetCodeAuthorizationResponse) XXX_Marshal ¶
func (m *MsgSetCodeAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetCodeAuthorizationResponse) XXX_Merge ¶
func (m *MsgSetCodeAuthorizationResponse) XXX_Merge(src proto.Message)
func (*MsgSetCodeAuthorizationResponse) XXX_Size ¶
func (m *MsgSetCodeAuthorizationResponse) XXX_Size() int
func (*MsgSetCodeAuthorizationResponse) XXX_Unmarshal ¶
func (m *MsgSetCodeAuthorizationResponse) XXX_Unmarshal(b []byte) error
type MsgSetContractAuthorization ¶
type MsgSetContractAuthorization struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` ContractAuthorization *ContractAuthorization `protobuf:"bytes,2,opt,name=contract_authorization,json=contractAuthorization,proto3" json:"contract_authorization,omitempty"` }
MsgSetContractAuthorization is the request for executing set contract authorization.
func NewMsgSetContractAuthorization ¶
func NewMsgSetContractAuthorization(sender string, contractAddress string, methods []string) *MsgSetContractAuthorization
func (*MsgSetContractAuthorization) Descriptor ¶
func (*MsgSetContractAuthorization) Descriptor() ([]byte, []int)
func (*MsgSetContractAuthorization) GetContractAuthorization ¶
func (m *MsgSetContractAuthorization) GetContractAuthorization() *ContractAuthorization
func (*MsgSetContractAuthorization) GetSender ¶
func (m *MsgSetContractAuthorization) GetSender() string
func (MsgSetContractAuthorization) GetSignBytes ¶
func (msg MsgSetContractAuthorization) GetSignBytes() []byte
func (MsgSetContractAuthorization) GetSigners ¶
func (msg MsgSetContractAuthorization) GetSigners() []sdk.AccAddress
func (*MsgSetContractAuthorization) Marshal ¶
func (m *MsgSetContractAuthorization) Marshal() (dAtA []byte, err error)
func (*MsgSetContractAuthorization) MarshalTo ¶
func (m *MsgSetContractAuthorization) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetContractAuthorization) MarshalToSizedBuffer ¶
func (m *MsgSetContractAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetContractAuthorization) ProtoMessage ¶
func (*MsgSetContractAuthorization) ProtoMessage()
func (*MsgSetContractAuthorization) Reset ¶
func (m *MsgSetContractAuthorization) Reset()
func (MsgSetContractAuthorization) Route ¶
func (msg MsgSetContractAuthorization) Route() string
func (*MsgSetContractAuthorization) Size ¶
func (m *MsgSetContractAuthorization) Size() (n int)
func (*MsgSetContractAuthorization) String ¶
func (m *MsgSetContractAuthorization) String() string
func (MsgSetContractAuthorization) Type ¶
func (msg MsgSetContractAuthorization) Type() string
func (*MsgSetContractAuthorization) Unmarshal ¶
func (m *MsgSetContractAuthorization) Unmarshal(dAtA []byte) error
func (MsgSetContractAuthorization) ValidateBasic ¶
func (msg MsgSetContractAuthorization) ValidateBasic() error
func (*MsgSetContractAuthorization) XXX_DiscardUnknown ¶
func (m *MsgSetContractAuthorization) XXX_DiscardUnknown()
func (*MsgSetContractAuthorization) XXX_Marshal ¶
func (m *MsgSetContractAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetContractAuthorization) XXX_Merge ¶
func (m *MsgSetContractAuthorization) XXX_Merge(src proto.Message)
func (*MsgSetContractAuthorization) XXX_Size ¶
func (m *MsgSetContractAuthorization) XXX_Size() int
func (*MsgSetContractAuthorization) XXX_Unmarshal ¶
func (m *MsgSetContractAuthorization) XXX_Unmarshal(b []byte) error
type MsgSetContractAuthorizationResponse ¶
type MsgSetContractAuthorizationResponse struct { }
MsgSetContractAuthorizationResponse is the response for executing contract authorization.
func (*MsgSetContractAuthorizationResponse) Descriptor ¶
func (*MsgSetContractAuthorizationResponse) Descriptor() ([]byte, []int)
func (*MsgSetContractAuthorizationResponse) Marshal ¶
func (m *MsgSetContractAuthorizationResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetContractAuthorizationResponse) MarshalTo ¶
func (m *MsgSetContractAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetContractAuthorizationResponse) MarshalToSizedBuffer ¶
func (m *MsgSetContractAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetContractAuthorizationResponse) ProtoMessage ¶
func (*MsgSetContractAuthorizationResponse) ProtoMessage()
func (*MsgSetContractAuthorizationResponse) Reset ¶
func (m *MsgSetContractAuthorizationResponse) Reset()
func (*MsgSetContractAuthorizationResponse) Size ¶
func (m *MsgSetContractAuthorizationResponse) Size() (n int)
func (*MsgSetContractAuthorizationResponse) String ¶
func (m *MsgSetContractAuthorizationResponse) String() string
func (*MsgSetContractAuthorizationResponse) Unmarshal ¶
func (m *MsgSetContractAuthorizationResponse) Unmarshal(dAtA []byte) error
func (*MsgSetContractAuthorizationResponse) XXX_DiscardUnknown ¶
func (m *MsgSetContractAuthorizationResponse) XXX_DiscardUnknown()
func (*MsgSetContractAuthorizationResponse) XXX_Marshal ¶
func (m *MsgSetContractAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetContractAuthorizationResponse) XXX_Merge ¶
func (m *MsgSetContractAuthorizationResponse) XXX_Merge(src proto.Message)
func (*MsgSetContractAuthorizationResponse) XXX_Size ¶
func (m *MsgSetContractAuthorizationResponse) XXX_Size() int
func (*MsgSetContractAuthorizationResponse) XXX_Unmarshal ¶
func (m *MsgSetContractAuthorizationResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateParams ¶
type MsgUpdateParams struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` }
MsgUpdateParams is the request for updating module's params.
func NewMsgUpdateParams ¶
func NewMsgUpdateParams(sender string, minimumGasPrices sdk.DecCoins, privilegedAddresses []string) *MsgUpdateParams
func (*MsgUpdateParams) Descriptor ¶
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetParams ¶
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) GetSender ¶
func (m *MsgUpdateParams) GetSender() string
func (MsgUpdateParams) GetSignBytes ¶
func (msg MsgUpdateParams) GetSignBytes() []byte
func (MsgUpdateParams) GetSigners ¶
func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress
func (*MsgUpdateParams) Marshal ¶
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err 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 (msg MsgUpdateParams) Route() string
func (*MsgUpdateParams) Size ¶
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶
func (m *MsgUpdateParams) String() string
func (MsgUpdateParams) Type ¶
func (msg MsgUpdateParams) Type() string
func (*MsgUpdateParams) Unmarshal ¶
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (MsgUpdateParams) ValidateBasic ¶
func (msg 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 { }
MsgUpdateParamsResponse is the response for executiong a module's params update.
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 Params ¶
type Params struct { // Addresses which are whitelisted to modify the gas free operations PrivilegedAddresses []string `protobuf:"bytes,1,rep,name=privileged_addresses,json=privilegedAddresses,proto3" json:"privileged_addresses,omitempty"` // Minimum stores the minimum gas price(s) for all TX on the chain. MinimumGasPrices github_com_cosmos_cosmos_sdk_types.DecCoins `` /* 194-byte string literal not displayed */ }
Params holds parameters for the globalfee module.
func (*Params) Descriptor ¶
func (*Params) GetMinimumGasPrices ¶
func (m *Params) GetMinimumGasPrices() github_com_cosmos_cosmos_sdk_types.DecCoins
func (*Params) GetPrivilegedAddresses ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAuthorizationsRequest ¶
type QueryAuthorizationsRequest struct { }
QueryAuthorizationsRequest is the request to get all authorizations.
func (*QueryAuthorizationsRequest) Descriptor ¶
func (*QueryAuthorizationsRequest) Descriptor() ([]byte, []int)
func (*QueryAuthorizationsRequest) Marshal ¶
func (m *QueryAuthorizationsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAuthorizationsRequest) MarshalTo ¶
func (m *QueryAuthorizationsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuthorizationsRequest) MarshalToSizedBuffer ¶
func (m *QueryAuthorizationsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuthorizationsRequest) ProtoMessage ¶
func (*QueryAuthorizationsRequest) ProtoMessage()
func (*QueryAuthorizationsRequest) Reset ¶
func (m *QueryAuthorizationsRequest) Reset()
func (*QueryAuthorizationsRequest) Size ¶
func (m *QueryAuthorizationsRequest) Size() (n int)
func (*QueryAuthorizationsRequest) String ¶
func (m *QueryAuthorizationsRequest) String() string
func (*QueryAuthorizationsRequest) Unmarshal ¶
func (m *QueryAuthorizationsRequest) Unmarshal(dAtA []byte) error
func (*QueryAuthorizationsRequest) XXX_DiscardUnknown ¶
func (m *QueryAuthorizationsRequest) XXX_DiscardUnknown()
func (*QueryAuthorizationsRequest) XXX_Marshal ¶
func (m *QueryAuthorizationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuthorizationsRequest) XXX_Merge ¶
func (m *QueryAuthorizationsRequest) XXX_Merge(src proto.Message)
func (*QueryAuthorizationsRequest) XXX_Size ¶
func (m *QueryAuthorizationsRequest) XXX_Size() int
func (*QueryAuthorizationsRequest) XXX_Unmarshal ¶
func (m *QueryAuthorizationsRequest) XXX_Unmarshal(b []byte) error
type QueryAuthorizationsResponse ¶
type QueryAuthorizationsResponse struct { CodeAuthorizations []*CodeAuthorization `protobuf:"bytes,1,rep,name=code_authorizations,json=codeAuthorizations,proto3" json:"code_authorizations,omitempty"` ContractAuthorizations []*ContractAuthorization `` /* 127-byte string literal not displayed */ }
QueryAuthorizationsResponse is the response for getting all authorizations.
func (*QueryAuthorizationsResponse) Descriptor ¶
func (*QueryAuthorizationsResponse) Descriptor() ([]byte, []int)
func (*QueryAuthorizationsResponse) GetCodeAuthorizations ¶
func (m *QueryAuthorizationsResponse) GetCodeAuthorizations() []*CodeAuthorization
func (*QueryAuthorizationsResponse) GetContractAuthorizations ¶
func (m *QueryAuthorizationsResponse) GetContractAuthorizations() []*ContractAuthorization
func (*QueryAuthorizationsResponse) Marshal ¶
func (m *QueryAuthorizationsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAuthorizationsResponse) MarshalTo ¶
func (m *QueryAuthorizationsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAuthorizationsResponse) MarshalToSizedBuffer ¶
func (m *QueryAuthorizationsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAuthorizationsResponse) ProtoMessage ¶
func (*QueryAuthorizationsResponse) ProtoMessage()
func (*QueryAuthorizationsResponse) Reset ¶
func (m *QueryAuthorizationsResponse) Reset()
func (*QueryAuthorizationsResponse) Size ¶
func (m *QueryAuthorizationsResponse) Size() (n int)
func (*QueryAuthorizationsResponse) String ¶
func (m *QueryAuthorizationsResponse) String() string
func (*QueryAuthorizationsResponse) Unmarshal ¶
func (m *QueryAuthorizationsResponse) Unmarshal(dAtA []byte) error
func (*QueryAuthorizationsResponse) XXX_DiscardUnknown ¶
func (m *QueryAuthorizationsResponse) XXX_DiscardUnknown()
func (*QueryAuthorizationsResponse) XXX_Marshal ¶
func (m *QueryAuthorizationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAuthorizationsResponse) XXX_Merge ¶
func (m *QueryAuthorizationsResponse) XXX_Merge(src proto.Message)
func (*QueryAuthorizationsResponse) XXX_Size ¶
func (m *QueryAuthorizationsResponse) XXX_Size() int
func (*QueryAuthorizationsResponse) XXX_Unmarshal ¶
func (m *QueryAuthorizationsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // CodeAuthorization returns authrozation by specific code id. CodeAuthorization(ctx context.Context, in *QueryCodeAuthorizationRequest, opts ...grpc.CallOption) (*QueryCodeAuthorizationResponse, error) // ContractAuthorization returns authrozation for specific contract address. ContractAuthorization(ctx context.Context, in *QueryContractAuthorizationRequest, opts ...grpc.CallOption) (*QueryContractAuthorizationResponse, error) // Params returns globalfee's module params. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Authorizations returns all authorizations. Authorizations(ctx context.Context, in *QueryAuthorizationsRequest, opts ...grpc.CallOption) (*QueryAuthorizationsResponse, 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 QueryCodeAuthorizationRequest ¶
type QueryCodeAuthorizationRequest struct {
CodeId uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"`
}
QueryCodeAuthorizationRequest is the request for getting a code authorization.
func (*QueryCodeAuthorizationRequest) Descriptor ¶
func (*QueryCodeAuthorizationRequest) Descriptor() ([]byte, []int)
func (*QueryCodeAuthorizationRequest) GetCodeId ¶
func (m *QueryCodeAuthorizationRequest) GetCodeId() uint64
func (*QueryCodeAuthorizationRequest) Marshal ¶
func (m *QueryCodeAuthorizationRequest) Marshal() (dAtA []byte, err error)
func (*QueryCodeAuthorizationRequest) MarshalTo ¶
func (m *QueryCodeAuthorizationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCodeAuthorizationRequest) MarshalToSizedBuffer ¶
func (m *QueryCodeAuthorizationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodeAuthorizationRequest) ProtoMessage ¶
func (*QueryCodeAuthorizationRequest) ProtoMessage()
func (*QueryCodeAuthorizationRequest) Reset ¶
func (m *QueryCodeAuthorizationRequest) Reset()
func (*QueryCodeAuthorizationRequest) Size ¶
func (m *QueryCodeAuthorizationRequest) Size() (n int)
func (*QueryCodeAuthorizationRequest) String ¶
func (m *QueryCodeAuthorizationRequest) String() string
func (*QueryCodeAuthorizationRequest) Unmarshal ¶
func (m *QueryCodeAuthorizationRequest) Unmarshal(dAtA []byte) error
func (*QueryCodeAuthorizationRequest) XXX_DiscardUnknown ¶
func (m *QueryCodeAuthorizationRequest) XXX_DiscardUnknown()
func (*QueryCodeAuthorizationRequest) XXX_Marshal ¶
func (m *QueryCodeAuthorizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodeAuthorizationRequest) XXX_Merge ¶
func (m *QueryCodeAuthorizationRequest) XXX_Merge(src proto.Message)
func (*QueryCodeAuthorizationRequest) XXX_Size ¶
func (m *QueryCodeAuthorizationRequest) XXX_Size() int
func (*QueryCodeAuthorizationRequest) XXX_Unmarshal ¶
func (m *QueryCodeAuthorizationRequest) XXX_Unmarshal(b []byte) error
type QueryCodeAuthorizationResponse ¶
type QueryCodeAuthorizationResponse struct {
Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
}
QueryCodeAuthorizationResponse is the response of QueryCodeAuthorizationRequest.
func (*QueryCodeAuthorizationResponse) Descriptor ¶
func (*QueryCodeAuthorizationResponse) Descriptor() ([]byte, []int)
func (*QueryCodeAuthorizationResponse) GetMethods ¶
func (m *QueryCodeAuthorizationResponse) GetMethods() []string
func (*QueryCodeAuthorizationResponse) Marshal ¶
func (m *QueryCodeAuthorizationResponse) Marshal() (dAtA []byte, err error)
func (*QueryCodeAuthorizationResponse) MarshalTo ¶
func (m *QueryCodeAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCodeAuthorizationResponse) MarshalToSizedBuffer ¶
func (m *QueryCodeAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCodeAuthorizationResponse) ProtoMessage ¶
func (*QueryCodeAuthorizationResponse) ProtoMessage()
func (*QueryCodeAuthorizationResponse) Reset ¶
func (m *QueryCodeAuthorizationResponse) Reset()
func (*QueryCodeAuthorizationResponse) Size ¶
func (m *QueryCodeAuthorizationResponse) Size() (n int)
func (*QueryCodeAuthorizationResponse) String ¶
func (m *QueryCodeAuthorizationResponse) String() string
func (*QueryCodeAuthorizationResponse) Unmarshal ¶
func (m *QueryCodeAuthorizationResponse) Unmarshal(dAtA []byte) error
func (*QueryCodeAuthorizationResponse) XXX_DiscardUnknown ¶
func (m *QueryCodeAuthorizationResponse) XXX_DiscardUnknown()
func (*QueryCodeAuthorizationResponse) XXX_Marshal ¶
func (m *QueryCodeAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCodeAuthorizationResponse) XXX_Merge ¶
func (m *QueryCodeAuthorizationResponse) XXX_Merge(src proto.Message)
func (*QueryCodeAuthorizationResponse) XXX_Size ¶
func (m *QueryCodeAuthorizationResponse) XXX_Size() int
func (*QueryCodeAuthorizationResponse) XXX_Unmarshal ¶
func (m *QueryCodeAuthorizationResponse) XXX_Unmarshal(b []byte) error
type QueryContractAuthorizationRequest ¶
type QueryContractAuthorizationRequest struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
}
QueryContractAuthorizationRequest is the request for getting a contract authorization.
func (*QueryContractAuthorizationRequest) Descriptor ¶
func (*QueryContractAuthorizationRequest) Descriptor() ([]byte, []int)
func (*QueryContractAuthorizationRequest) GetContractAddress ¶
func (m *QueryContractAuthorizationRequest) GetContractAddress() string
func (*QueryContractAuthorizationRequest) Marshal ¶
func (m *QueryContractAuthorizationRequest) Marshal() (dAtA []byte, err error)
func (*QueryContractAuthorizationRequest) MarshalTo ¶
func (m *QueryContractAuthorizationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractAuthorizationRequest) MarshalToSizedBuffer ¶
func (m *QueryContractAuthorizationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractAuthorizationRequest) ProtoMessage ¶
func (*QueryContractAuthorizationRequest) ProtoMessage()
func (*QueryContractAuthorizationRequest) Reset ¶
func (m *QueryContractAuthorizationRequest) Reset()
func (*QueryContractAuthorizationRequest) Size ¶
func (m *QueryContractAuthorizationRequest) Size() (n int)
func (*QueryContractAuthorizationRequest) String ¶
func (m *QueryContractAuthorizationRequest) String() string
func (*QueryContractAuthorizationRequest) Unmarshal ¶
func (m *QueryContractAuthorizationRequest) Unmarshal(dAtA []byte) error
func (*QueryContractAuthorizationRequest) XXX_DiscardUnknown ¶
func (m *QueryContractAuthorizationRequest) XXX_DiscardUnknown()
func (*QueryContractAuthorizationRequest) XXX_Marshal ¶
func (m *QueryContractAuthorizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractAuthorizationRequest) XXX_Merge ¶
func (m *QueryContractAuthorizationRequest) XXX_Merge(src proto.Message)
func (*QueryContractAuthorizationRequest) XXX_Size ¶
func (m *QueryContractAuthorizationRequest) XXX_Size() int
func (*QueryContractAuthorizationRequest) XXX_Unmarshal ¶
func (m *QueryContractAuthorizationRequest) XXX_Unmarshal(b []byte) error
type QueryContractAuthorizationResponse ¶
type QueryContractAuthorizationResponse struct {
Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
}
QueryContractAuthorizationResponse is the response of QueryContractAuthorizationRequest.
func (*QueryContractAuthorizationResponse) Descriptor ¶
func (*QueryContractAuthorizationResponse) Descriptor() ([]byte, []int)
func (*QueryContractAuthorizationResponse) GetMethods ¶
func (m *QueryContractAuthorizationResponse) GetMethods() []string
func (*QueryContractAuthorizationResponse) Marshal ¶
func (m *QueryContractAuthorizationResponse) Marshal() (dAtA []byte, err error)
func (*QueryContractAuthorizationResponse) MarshalTo ¶
func (m *QueryContractAuthorizationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryContractAuthorizationResponse) MarshalToSizedBuffer ¶
func (m *QueryContractAuthorizationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryContractAuthorizationResponse) ProtoMessage ¶
func (*QueryContractAuthorizationResponse) ProtoMessage()
func (*QueryContractAuthorizationResponse) Reset ¶
func (m *QueryContractAuthorizationResponse) Reset()
func (*QueryContractAuthorizationResponse) Size ¶
func (m *QueryContractAuthorizationResponse) Size() (n int)
func (*QueryContractAuthorizationResponse) String ¶
func (m *QueryContractAuthorizationResponse) String() string
func (*QueryContractAuthorizationResponse) Unmarshal ¶
func (m *QueryContractAuthorizationResponse) Unmarshal(dAtA []byte) error
func (*QueryContractAuthorizationResponse) XXX_DiscardUnknown ¶
func (m *QueryContractAuthorizationResponse) XXX_DiscardUnknown()
func (*QueryContractAuthorizationResponse) XXX_Marshal ¶
func (m *QueryContractAuthorizationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryContractAuthorizationResponse) XXX_Merge ¶
func (m *QueryContractAuthorizationResponse) XXX_Merge(src proto.Message)
func (*QueryContractAuthorizationResponse) XXX_Size ¶
func (m *QueryContractAuthorizationResponse) XXX_Size() int
func (*QueryContractAuthorizationResponse) XXX_Unmarshal ¶
func (m *QueryContractAuthorizationResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest request to get module's params.
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 *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
QueryParamsResponse is the resposne for getting module's params.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // CodeAuthorization returns authrozation by specific code id. CodeAuthorization(context.Context, *QueryCodeAuthorizationRequest) (*QueryCodeAuthorizationResponse, error) // ContractAuthorization returns authrozation for specific contract address. ContractAuthorization(context.Context, *QueryContractAuthorizationRequest) (*QueryContractAuthorizationResponse, error) // Params returns globalfee's module params. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Authorizations returns all authorizations. Authorizations(context.Context, *QueryAuthorizationsRequest) (*QueryAuthorizationsResponse, error) }
QueryServer is the server API for Query service.
type RemoveCodeAuthorizationProposal
deprecated
type RemoveCodeAuthorizationProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` CodeID uint64 `protobuf:"varint,3,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty" yaml:"code_id"` }
RemoveCodeAuthorizationProposal
Deprecated: Do not use.
func (*RemoveCodeAuthorizationProposal) Descriptor ¶
func (*RemoveCodeAuthorizationProposal) Descriptor() ([]byte, []int)
func (*RemoveCodeAuthorizationProposal) GetCodeID ¶
func (m *RemoveCodeAuthorizationProposal) GetCodeID() uint64
func (*RemoveCodeAuthorizationProposal) GetDescription ¶
func (m *RemoveCodeAuthorizationProposal) GetDescription() string
func (*RemoveCodeAuthorizationProposal) GetTitle ¶
func (m *RemoveCodeAuthorizationProposal) GetTitle() string
func (*RemoveCodeAuthorizationProposal) Marshal ¶
func (m *RemoveCodeAuthorizationProposal) Marshal() (dAtA []byte, err error)
func (*RemoveCodeAuthorizationProposal) MarshalTo ¶
func (m *RemoveCodeAuthorizationProposal) MarshalTo(dAtA []byte) (int, error)
func (*RemoveCodeAuthorizationProposal) MarshalToSizedBuffer ¶
func (m *RemoveCodeAuthorizationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveCodeAuthorizationProposal) ProtoMessage ¶
func (*RemoveCodeAuthorizationProposal) ProtoMessage()
func (*RemoveCodeAuthorizationProposal) Reset ¶
func (m *RemoveCodeAuthorizationProposal) Reset()
func (*RemoveCodeAuthorizationProposal) Size ¶
func (m *RemoveCodeAuthorizationProposal) Size() (n int)
func (*RemoveCodeAuthorizationProposal) String ¶
func (m *RemoveCodeAuthorizationProposal) String() string
func (*RemoveCodeAuthorizationProposal) Unmarshal ¶
func (m *RemoveCodeAuthorizationProposal) Unmarshal(dAtA []byte) error
func (*RemoveCodeAuthorizationProposal) XXX_DiscardUnknown ¶
func (m *RemoveCodeAuthorizationProposal) XXX_DiscardUnknown()
func (*RemoveCodeAuthorizationProposal) XXX_Marshal ¶
func (m *RemoveCodeAuthorizationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveCodeAuthorizationProposal) XXX_Merge ¶
func (m *RemoveCodeAuthorizationProposal) XXX_Merge(src proto.Message)
func (*RemoveCodeAuthorizationProposal) XXX_Size ¶
func (m *RemoveCodeAuthorizationProposal) XXX_Size() int
func (*RemoveCodeAuthorizationProposal) XXX_Unmarshal ¶
func (m *RemoveCodeAuthorizationProposal) XXX_Unmarshal(b []byte) error
type RemoveContractAuthorizationProposal
deprecated
type RemoveContractAuthorizationProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` ContractAddress string `` /* 130-byte string literal not displayed */ }
RemoveCodeAuthorizationProposal ...
Deprecated: Do not use.
func (*RemoveContractAuthorizationProposal) Descriptor ¶
func (*RemoveContractAuthorizationProposal) Descriptor() ([]byte, []int)
func (*RemoveContractAuthorizationProposal) GetContractAddress ¶
func (m *RemoveContractAuthorizationProposal) GetContractAddress() string
func (*RemoveContractAuthorizationProposal) GetDescription ¶
func (m *RemoveContractAuthorizationProposal) GetDescription() string
func (*RemoveContractAuthorizationProposal) GetTitle ¶
func (m *RemoveContractAuthorizationProposal) GetTitle() string
func (*RemoveContractAuthorizationProposal) Marshal ¶
func (m *RemoveContractAuthorizationProposal) Marshal() (dAtA []byte, err error)
func (*RemoveContractAuthorizationProposal) MarshalTo ¶
func (m *RemoveContractAuthorizationProposal) MarshalTo(dAtA []byte) (int, error)
func (*RemoveContractAuthorizationProposal) MarshalToSizedBuffer ¶
func (m *RemoveContractAuthorizationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RemoveContractAuthorizationProposal) ProtoMessage ¶
func (*RemoveContractAuthorizationProposal) ProtoMessage()
func (*RemoveContractAuthorizationProposal) Reset ¶
func (m *RemoveContractAuthorizationProposal) Reset()
func (*RemoveContractAuthorizationProposal) Size ¶
func (m *RemoveContractAuthorizationProposal) Size() (n int)
func (*RemoveContractAuthorizationProposal) String ¶
func (m *RemoveContractAuthorizationProposal) String() string
func (*RemoveContractAuthorizationProposal) Unmarshal ¶
func (m *RemoveContractAuthorizationProposal) Unmarshal(dAtA []byte) error
func (*RemoveContractAuthorizationProposal) XXX_DiscardUnknown ¶
func (m *RemoveContractAuthorizationProposal) XXX_DiscardUnknown()
func (*RemoveContractAuthorizationProposal) XXX_Marshal ¶
func (m *RemoveContractAuthorizationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveContractAuthorizationProposal) XXX_Merge ¶
func (m *RemoveContractAuthorizationProposal) XXX_Merge(src proto.Message)
func (*RemoveContractAuthorizationProposal) XXX_Size ¶
func (m *RemoveContractAuthorizationProposal) XXX_Size() int
func (*RemoveContractAuthorizationProposal) XXX_Unmarshal ¶
func (m *RemoveContractAuthorizationProposal) XXX_Unmarshal(b []byte) error
type SetCodeAuthorizationProposal
deprecated
type SetCodeAuthorizationProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` CodeAuthorization *CodeAuthorization `` /* 138-byte string literal not displayed */ }
SetCodeAuthorizationProposal ...
Deprecated: Do not use.
func (*SetCodeAuthorizationProposal) Descriptor ¶
func (*SetCodeAuthorizationProposal) Descriptor() ([]byte, []int)
func (*SetCodeAuthorizationProposal) GetCodeAuthorization ¶
func (m *SetCodeAuthorizationProposal) GetCodeAuthorization() *CodeAuthorization
func (*SetCodeAuthorizationProposal) GetDescription ¶
func (m *SetCodeAuthorizationProposal) GetDescription() string
func (*SetCodeAuthorizationProposal) GetTitle ¶
func (m *SetCodeAuthorizationProposal) GetTitle() string
func (*SetCodeAuthorizationProposal) Marshal ¶
func (m *SetCodeAuthorizationProposal) Marshal() (dAtA []byte, err error)
func (*SetCodeAuthorizationProposal) MarshalTo ¶
func (m *SetCodeAuthorizationProposal) MarshalTo(dAtA []byte) (int, error)
func (*SetCodeAuthorizationProposal) MarshalToSizedBuffer ¶
func (m *SetCodeAuthorizationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetCodeAuthorizationProposal) ProtoMessage ¶
func (*SetCodeAuthorizationProposal) ProtoMessage()
func (*SetCodeAuthorizationProposal) Reset ¶
func (m *SetCodeAuthorizationProposal) Reset()
func (*SetCodeAuthorizationProposal) Size ¶
func (m *SetCodeAuthorizationProposal) Size() (n int)
func (*SetCodeAuthorizationProposal) String ¶
func (m *SetCodeAuthorizationProposal) String() string
func (*SetCodeAuthorizationProposal) Unmarshal ¶
func (m *SetCodeAuthorizationProposal) Unmarshal(dAtA []byte) error
func (*SetCodeAuthorizationProposal) XXX_DiscardUnknown ¶
func (m *SetCodeAuthorizationProposal) XXX_DiscardUnknown()
func (*SetCodeAuthorizationProposal) XXX_Marshal ¶
func (m *SetCodeAuthorizationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetCodeAuthorizationProposal) XXX_Merge ¶
func (m *SetCodeAuthorizationProposal) XXX_Merge(src proto.Message)
func (*SetCodeAuthorizationProposal) XXX_Size ¶
func (m *SetCodeAuthorizationProposal) XXX_Size() int
func (*SetCodeAuthorizationProposal) XXX_Unmarshal ¶
func (m *SetCodeAuthorizationProposal) XXX_Unmarshal(b []byte) error
type SetContractAuthorizationProposal
deprecated
type SetContractAuthorizationProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` ContractAuthorization *ContractAuthorization `` /* 154-byte string literal not displayed */ }
RemoveCodeAuthorizationProposal ...
Deprecated: Do not use.
func (*SetContractAuthorizationProposal) Descriptor ¶
func (*SetContractAuthorizationProposal) Descriptor() ([]byte, []int)
func (*SetContractAuthorizationProposal) GetContractAuthorization ¶
func (m *SetContractAuthorizationProposal) GetContractAuthorization() *ContractAuthorization
func (*SetContractAuthorizationProposal) GetDescription ¶
func (m *SetContractAuthorizationProposal) GetDescription() string
func (*SetContractAuthorizationProposal) GetTitle ¶
func (m *SetContractAuthorizationProposal) GetTitle() string
func (*SetContractAuthorizationProposal) Marshal ¶
func (m *SetContractAuthorizationProposal) Marshal() (dAtA []byte, err error)
func (*SetContractAuthorizationProposal) MarshalTo ¶
func (m *SetContractAuthorizationProposal) MarshalTo(dAtA []byte) (int, error)
func (*SetContractAuthorizationProposal) MarshalToSizedBuffer ¶
func (m *SetContractAuthorizationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetContractAuthorizationProposal) ProtoMessage ¶
func (*SetContractAuthorizationProposal) ProtoMessage()
func (*SetContractAuthorizationProposal) Reset ¶
func (m *SetContractAuthorizationProposal) Reset()
func (*SetContractAuthorizationProposal) Size ¶
func (m *SetContractAuthorizationProposal) Size() (n int)
func (*SetContractAuthorizationProposal) String ¶
func (m *SetContractAuthorizationProposal) String() string
func (*SetContractAuthorizationProposal) Unmarshal ¶
func (m *SetContractAuthorizationProposal) Unmarshal(dAtA []byte) error
func (*SetContractAuthorizationProposal) XXX_DiscardUnknown ¶
func (m *SetContractAuthorizationProposal) XXX_DiscardUnknown()
func (*SetContractAuthorizationProposal) XXX_Marshal ¶
func (m *SetContractAuthorizationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetContractAuthorizationProposal) XXX_Merge ¶
func (m *SetContractAuthorizationProposal) XXX_Merge(src proto.Message)
func (*SetContractAuthorizationProposal) XXX_Size ¶
func (m *SetContractAuthorizationProposal) XXX_Size() int
func (*SetContractAuthorizationProposal) XXX_Unmarshal ¶
func (m *SetContractAuthorizationProposal) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RemoveCodeAuthorization ¶
func (*UnimplementedMsgServer) RemoveCodeAuthorization(ctx context.Context, req *MsgRemoveCodeAuthorization) (*MsgRemoveCodeAuthorizationResponse, error)
func (*UnimplementedMsgServer) RemoveContractAuthorization ¶
func (*UnimplementedMsgServer) RemoveContractAuthorization(ctx context.Context, req *MsgRemoveContractAuthorization) (*MsgRemoveContractAuthorizationResponse, error)
func (*UnimplementedMsgServer) SetCodeAuthorization ¶
func (*UnimplementedMsgServer) SetCodeAuthorization(ctx context.Context, req *MsgSetCodeAuthorization) (*MsgSetCodeAuthorizationResponse, error)
func (*UnimplementedMsgServer) SetContractAuthorization ¶
func (*UnimplementedMsgServer) SetContractAuthorization(ctx context.Context, req *MsgSetContractAuthorization) (*MsgSetContractAuthorizationResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Authorizations ¶
func (*UnimplementedQueryServer) Authorizations(ctx context.Context, req *QueryAuthorizationsRequest) (*QueryAuthorizationsResponse, error)
func (*UnimplementedQueryServer) CodeAuthorization ¶
func (*UnimplementedQueryServer) CodeAuthorization(ctx context.Context, req *QueryCodeAuthorizationRequest) (*QueryCodeAuthorizationResponse, error)
func (*UnimplementedQueryServer) ContractAuthorization ¶
func (*UnimplementedQueryServer) ContractAuthorization(ctx context.Context, req *QueryContractAuthorizationRequest) (*QueryContractAuthorizationResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
type WasmKeeper ¶
type WasmKeeper interface { GetCodeInfo(ctx context.Context, codeID uint64) *wasmtypes.CodeInfo // HasContractInfo checks if a contract with given address exists HasContractInfo(ctx context.Context, contractAddr sdk.AccAddress) bool GetContractInfo(ctx context.Context, contractAddress sdk.AccAddress) *wasmtypes.ContractInfo }
WasmKeeper defines the expected interface needed to setup and execute privilege contracts.