Versions in this module Expand all Collapse all v0 v0.9.1 Dec 24, 2021 Changes in this version + const AttributeKeyBaseFee + const EventTypeFeeMarket + const ModuleName + const RouterKey + const StoreKey + var ErrIntOverflowFeemarket = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") + var ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthFeemarket = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupFeemarket = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") + var ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") + var KeyPrefixBaseFee = []byte + var KeyPrefixBlockGasUsed = []byte + var ParamStoreKeyBaseFeeChangeDenominator = []byte("BaseFeeChangeDenominator") + var ParamStoreKeyElasticityMultiplier = []byte("ElasticityMultiplier") + var ParamStoreKeyEnableHeight = []byte("EnableHeight") + var ParamStoreKeyInitialBaseFee = []byte("InitialBaseFee") + var ParamStoreKeyNoBaseFee = []byte("NoBaseFee") + func ParamKeyTable() paramtypes.KeyTable + 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 GenesisState struct + BaseFee github_com_cosmos_cosmos_sdk_types.Int + BlockGas uint64 + Params Params + func DefaultGenesisState() *GenesisState + func NewGenesisState(params Params, baseFee sdk.Int, blockGas uint64) *GenesisState + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (gs GenesisState) Validate() error + func (m *GenesisState) GetBlockGas() uint64 + 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 (m *GenesisState) Reset() + func (m *GenesisState) Size() (n int) + func (m *GenesisState) String() string + func (m *GenesisState) Unmarshal(dAtA []byte) error + func (m *GenesisState) XXX_DiscardUnknown() + func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GenesisState) XXX_Merge(src proto.Message) + func (m *GenesisState) XXX_Size() int + func (m *GenesisState) XXX_Unmarshal(b []byte) error + type Params struct + BaseFeeChangeDenominator uint32 + ElasticityMultiplier uint32 + EnableHeight int64 + InitialBaseFee int64 + NoBaseFee bool + func DefaultParams() Params + func NewParams(noBaseFee bool, baseFeeChangeDenom, elasticityMultiplier uint32, ...) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetBaseFeeChangeDenominator() uint32 + func (m *Params) GetElasticityMultiplier() uint32 + func (m *Params) GetEnableHeight() int64 + func (m *Params) GetInitialBaseFee() int64 + func (m *Params) GetNoBaseFee() bool + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) String() string + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) IsBaseFeeEnabled(height int64) bool + func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs + func (p Params) Validate() error + type QueryBaseFeeRequest struct + func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int) + func (*QueryBaseFeeRequest) ProtoMessage() + func (m *QueryBaseFeeRequest) Marshal() (dAtA []byte, err error) + func (m *QueryBaseFeeRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryBaseFeeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryBaseFeeRequest) Reset() + func (m *QueryBaseFeeRequest) Size() (n int) + func (m *QueryBaseFeeRequest) String() string + func (m *QueryBaseFeeRequest) Unmarshal(dAtA []byte) error + func (m *QueryBaseFeeRequest) XXX_DiscardUnknown() + func (m *QueryBaseFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryBaseFeeRequest) XXX_Merge(src proto.Message) + func (m *QueryBaseFeeRequest) XXX_Size() int + func (m *QueryBaseFeeRequest) XXX_Unmarshal(b []byte) error + type QueryBaseFeeResponse struct + BaseFee *github_com_cosmos_cosmos_sdk_types.Int + func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int) + func (*QueryBaseFeeResponse) ProtoMessage() + func (m *QueryBaseFeeResponse) Marshal() (dAtA []byte, err error) + func (m *QueryBaseFeeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryBaseFeeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryBaseFeeResponse) Reset() + func (m *QueryBaseFeeResponse) Size() (n int) + func (m *QueryBaseFeeResponse) String() string + func (m *QueryBaseFeeResponse) Unmarshal(dAtA []byte) error + func (m *QueryBaseFeeResponse) XXX_DiscardUnknown() + func (m *QueryBaseFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryBaseFeeResponse) XXX_Merge(src proto.Message) + func (m *QueryBaseFeeResponse) XXX_Size() int + func (m *QueryBaseFeeResponse) XXX_Unmarshal(b []byte) error + type QueryBlockGasRequest struct + func (*QueryBlockGasRequest) Descriptor() ([]byte, []int) + func (*QueryBlockGasRequest) ProtoMessage() + func (m *QueryBlockGasRequest) Marshal() (dAtA []byte, err error) + func (m *QueryBlockGasRequest) MarshalTo(dAtA []byte) (int, error) + func (m *QueryBlockGasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryBlockGasRequest) Reset() + func (m *QueryBlockGasRequest) Size() (n int) + func (m *QueryBlockGasRequest) String() string + func (m *QueryBlockGasRequest) Unmarshal(dAtA []byte) error + func (m *QueryBlockGasRequest) XXX_DiscardUnknown() + func (m *QueryBlockGasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryBlockGasRequest) XXX_Merge(src proto.Message) + func (m *QueryBlockGasRequest) XXX_Size() int + func (m *QueryBlockGasRequest) XXX_Unmarshal(b []byte) error + type QueryBlockGasResponse struct + Gas int64 + func (*QueryBlockGasResponse) Descriptor() ([]byte, []int) + func (*QueryBlockGasResponse) ProtoMessage() + func (m *QueryBlockGasResponse) GetGas() int64 + func (m *QueryBlockGasResponse) Marshal() (dAtA []byte, err error) + func (m *QueryBlockGasResponse) MarshalTo(dAtA []byte) (int, error) + func (m *QueryBlockGasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *QueryBlockGasResponse) Reset() + func (m *QueryBlockGasResponse) Size() (n int) + func (m *QueryBlockGasResponse) String() string + func (m *QueryBlockGasResponse) Unmarshal(dAtA []byte) error + func (m *QueryBlockGasResponse) XXX_DiscardUnknown() + func (m *QueryBlockGasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryBlockGasResponse) XXX_Merge(src proto.Message) + func (m *QueryBlockGasResponse) XXX_Size() int + func (m *QueryBlockGasResponse) XXX_Unmarshal(b []byte) error + type QueryClient interface + BaseFee func(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error) + BlockGas func(ctx context.Context, in *QueryBlockGasRequest, opts ...grpc.CallOption) (*QueryBlockGasResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + func NewQueryClient(cc grpc1.ClientConn) QueryClient + type QueryParamsRequest struct + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + 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 (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 struct + Params Params + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + 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 (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 interface + BaseFee func(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error) + BlockGas func(context.Context, *QueryBlockGasRequest) (*QueryBlockGasResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + type UnimplementedQueryServer struct + func (*UnimplementedQueryServer) BaseFee(ctx context.Context, req *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error) + func (*UnimplementedQueryServer) BlockGas(ctx context.Context, req *QueryBlockGasRequest) (*QueryBlockGasResponse, error) + func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)