feemarketv1

package
v0.5.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_Params_FullMethodName   = "/cosmos.evm.feemarket.v1.Query/Params"
	Query_BaseFee_FullMethodName  = "/cosmos.evm.feemarket.v1.Query/BaseFee"
	Query_BlockGas_FullMethodName = "/cosmos.evm.feemarket.v1.Query/BlockGas"
)
View Source
const (
	Msg_UpdateParams_FullMethodName = "/cosmos.evm.feemarket.v1.Msg/UpdateParams"
)

Variables

View Source
var File_cosmos_evm_feemarket_v1_events_proto protoreflect.FileDescriptor
View Source
var File_cosmos_evm_feemarket_v1_feemarket_proto protoreflect.FileDescriptor
View Source
var File_cosmos_evm_feemarket_v1_genesis_proto protoreflect.FileDescriptor
View Source
var File_cosmos_evm_feemarket_v1_query_proto protoreflect.FileDescriptor
View Source
var File_cosmos_evm_feemarket_v1_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.evm.feemarket.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/evm/feemarket/v1/tx.proto",
}

Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.evm.feemarket.v1.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Params",
			Handler:    _Query_Params_Handler,
		},
		{
			MethodName: "BaseFee",
			Handler:    _Query_BaseFee_Handler,
		},
		{
			MethodName: "BlockGas",
			Handler:    _Query_BlockGas_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/evm/feemarket/v1/query.proto",
}

Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type EventBlockGas

type EventBlockGas struct {

	// height of the block
	Height string `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"`
	// amount of gas wanted by the block
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

EventBlockGas defines an Ethereum block gas event

func (*EventBlockGas) Descriptor deprecated

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

Deprecated: Use EventBlockGas.ProtoReflect.Descriptor instead.

func (*EventBlockGas) GetAmount

func (x *EventBlockGas) GetAmount() string

func (*EventBlockGas) GetHeight

func (x *EventBlockGas) GetHeight() string

func (*EventBlockGas) ProtoMessage

func (*EventBlockGas) ProtoMessage()

func (*EventBlockGas) ProtoReflect

func (x *EventBlockGas) ProtoReflect() protoreflect.Message

func (*EventBlockGas) Reset

func (x *EventBlockGas) Reset()

func (*EventBlockGas) String

func (x *EventBlockGas) String() string

type EventFeeMarket

type EventFeeMarket struct {

	// base_fee for EIP-1559 blocks
	BaseFee string `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	// contains filtered or unexported fields
}

EventFeeMarket is the event type for the feemarket module

func (*EventFeeMarket) Descriptor deprecated

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

Deprecated: Use EventFeeMarket.ProtoReflect.Descriptor instead.

func (*EventFeeMarket) GetBaseFee

func (x *EventFeeMarket) GetBaseFee() string

func (*EventFeeMarket) ProtoMessage

func (*EventFeeMarket) ProtoMessage()

func (*EventFeeMarket) ProtoReflect

func (x *EventFeeMarket) ProtoReflect() protoreflect.Message

func (*EventFeeMarket) Reset

func (x *EventFeeMarket) Reset()

func (*EventFeeMarket) String

func (x *EventFeeMarket) String() string

type GenesisState

type GenesisState struct {

	// params defines all the parameters of the feemarket module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// block_gas is the amount of gas wanted on the last block before the upgrade.
	// Zero by default.
	BlockGas uint64 `protobuf:"varint,3,opt,name=block_gas,json=blockGas,proto3" json:"block_gas,omitempty"`
	// contains filtered or unexported fields
}

GenesisState defines the feemarket module's genesis state.

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetBlockGas

func (x *GenesisState) GetBlockGas() uint64

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

func (x *GenesisState) ProtoReflect() protoreflect.Message

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgClient

type MsgClient interface {
	// UpdateParams defined a governance operation for updating the x/feemarket
	// module parameters. The authority is hard-coded to the Cosmos SDK x/gov
	// module account
	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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgServer

type MsgServer interface {
	// UpdateParams defined a governance operation for updating the x/feemarket
	// module parameters. The authority is hard-coded to the Cosmos SDK x/gov
	// module account
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateParams

type MsgUpdateParams struct {

	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the x/feemarket parameters to update.
	// NOTE: All parameters must be supplied.
	Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

MsgUpdateParams defines a Msg for updating the x/feemarket module parameters.

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
	// contains filtered or unexported fields
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {

	// no_base_fee forces the EIP-1559 base fee to 0 (needed for 0 price calls)
	NoBaseFee bool `protobuf:"varint,1,opt,name=no_base_fee,json=noBaseFee,proto3" json:"no_base_fee,omitempty"`
	// base_fee_change_denominator bounds the amount the base fee can change
	// between blocks.
	BaseFeeChangeDenominator uint32 `` /* 138-byte string literal not displayed */
	// elasticity_multiplier bounds the maximum gas limit an EIP-1559 block may
	// have.
	ElasticityMultiplier uint32 `protobuf:"varint,3,opt,name=elasticity_multiplier,json=elasticityMultiplier,proto3" json:"elasticity_multiplier,omitempty"`
	// enable_height defines at which block height the base fee calculation is
	// enabled.
	EnableHeight int64 `protobuf:"varint,5,opt,name=enable_height,json=enableHeight,proto3" json:"enable_height,omitempty"`
	// base_fee for EIP-1559 blocks.
	BaseFee string `protobuf:"bytes,6,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	// min_gas_price defines the minimum gas price value for cosmos and eth
	// transactions
	MinGasPrice string `protobuf:"bytes,7,opt,name=min_gas_price,json=minGasPrice,proto3" json:"min_gas_price,omitempty"`
	// min_gas_multiplier bounds the minimum gas used to be charged
	// to senders based on gas limit
	MinGasMultiplier string `protobuf:"bytes,8,opt,name=min_gas_multiplier,json=minGasMultiplier,proto3" json:"min_gas_multiplier,omitempty"`
	// contains filtered or unexported fields
}

Params defines the EVM module parameters

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetBaseFee

func (x *Params) GetBaseFee() string

func (*Params) GetBaseFeeChangeDenominator

func (x *Params) GetBaseFeeChangeDenominator() uint32

func (*Params) GetElasticityMultiplier

func (x *Params) GetElasticityMultiplier() uint32

func (*Params) GetEnableHeight

func (x *Params) GetEnableHeight() int64

func (*Params) GetMinGasMultiplier

func (x *Params) GetMinGasMultiplier() string

func (*Params) GetMinGasPrice

func (x *Params) GetMinGasPrice() string

func (*Params) GetNoBaseFee

func (x *Params) GetNoBaseFee() bool

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryBaseFeeRequest

type QueryBaseFeeRequest struct {
	// contains filtered or unexported fields
}

QueryBaseFeeRequest defines the request type for querying the EIP1559 base fee.

func (*QueryBaseFeeRequest) Descriptor deprecated

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

Deprecated: Use QueryBaseFeeRequest.ProtoReflect.Descriptor instead.

func (*QueryBaseFeeRequest) ProtoMessage

func (*QueryBaseFeeRequest) ProtoMessage()

func (*QueryBaseFeeRequest) ProtoReflect

func (x *QueryBaseFeeRequest) ProtoReflect() protoreflect.Message

func (*QueryBaseFeeRequest) Reset

func (x *QueryBaseFeeRequest) Reset()

func (*QueryBaseFeeRequest) String

func (x *QueryBaseFeeRequest) String() string

type QueryBaseFeeResponse

type QueryBaseFeeResponse struct {

	// base_fee is the EIP1559 base fee
	BaseFee string `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	// contains filtered or unexported fields
}

QueryBaseFeeResponse returns the EIP1559 base fee.

func (*QueryBaseFeeResponse) Descriptor deprecated

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

Deprecated: Use QueryBaseFeeResponse.ProtoReflect.Descriptor instead.

func (*QueryBaseFeeResponse) GetBaseFee

func (x *QueryBaseFeeResponse) GetBaseFee() string

func (*QueryBaseFeeResponse) ProtoMessage

func (*QueryBaseFeeResponse) ProtoMessage()

func (*QueryBaseFeeResponse) ProtoReflect

func (x *QueryBaseFeeResponse) ProtoReflect() protoreflect.Message

func (*QueryBaseFeeResponse) Reset

func (x *QueryBaseFeeResponse) Reset()

func (*QueryBaseFeeResponse) String

func (x *QueryBaseFeeResponse) String() string

type QueryBlockGasRequest

type QueryBlockGasRequest struct {
	// contains filtered or unexported fields
}

QueryBlockGasRequest defines the request type for querying the EIP1559 base fee.

func (*QueryBlockGasRequest) Descriptor deprecated

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

Deprecated: Use QueryBlockGasRequest.ProtoReflect.Descriptor instead.

func (*QueryBlockGasRequest) ProtoMessage

func (*QueryBlockGasRequest) ProtoMessage()

func (*QueryBlockGasRequest) ProtoReflect

func (x *QueryBlockGasRequest) ProtoReflect() protoreflect.Message

func (*QueryBlockGasRequest) Reset

func (x *QueryBlockGasRequest) Reset()

func (*QueryBlockGasRequest) String

func (x *QueryBlockGasRequest) String() string

type QueryBlockGasResponse

type QueryBlockGasResponse struct {

	// gas is the returned block gas
	Gas int64 `protobuf:"varint,1,opt,name=gas,proto3" json:"gas,omitempty"`
	// contains filtered or unexported fields
}

QueryBlockGasResponse returns block gas used for a given height.

func (*QueryBlockGasResponse) Descriptor deprecated

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

Deprecated: Use QueryBlockGasResponse.ProtoReflect.Descriptor instead.

func (*QueryBlockGasResponse) GetGas

func (x *QueryBlockGasResponse) GetGas() int64

func (*QueryBlockGasResponse) ProtoMessage

func (*QueryBlockGasResponse) ProtoMessage()

func (*QueryBlockGasResponse) ProtoReflect

func (x *QueryBlockGasResponse) ProtoReflect() protoreflect.Message

func (*QueryBlockGasResponse) Reset

func (x *QueryBlockGasResponse) Reset()

func (*QueryBlockGasResponse) String

func (x *QueryBlockGasResponse) String() string

type QueryClient

type QueryClient interface {
	// Params queries the parameters of x/feemarket module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// BaseFee queries the base fee of the parent block of the current block.
	BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error)
	// BlockGas queries the gas used at a given block height
	BlockGas(ctx context.Context, in *QueryBlockGasRequest, opts ...grpc.CallOption) (*QueryBlockGasResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryParamsRequest

type QueryParamsRequest struct {
	// contains filtered or unexported fields
}

QueryParamsRequest defines the request type for querying x/vm parameters.

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {

	// params define the evm module parameters.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

QueryParamsResponse defines the response type for querying x/vm parameters.

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryServer

type QueryServer interface {
	// Params queries the parameters of x/feemarket module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// BaseFee queries the base fee of the parent block of the current block.
	BaseFee(context.Context, *QueryBaseFeeRequest) (*QueryBaseFeeResponse, error)
	// BlockGas queries the gas used at a given block height
	BlockGas(context.Context, *QueryBlockGasRequest) (*QueryBlockGasResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) BaseFee

func (UnimplementedQueryServer) BlockGas

func (UnimplementedQueryServer) Params

type UnsafeMsgServer

type UnsafeMsgServer interface {
	// contains filtered or unexported methods
}

UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.

type UnsafeQueryServer

type UnsafeQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.

Jump to

Keyboard shortcuts

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