types

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTxfees        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTxfees          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTxfees = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ModuleCdc = codec.NewLegacyAmino()
)

Functions

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type EipBaseFee

type EipBaseFee struct {
	// The current chain gas price
	BaseFee cosmossdk_io_math.LegacyDec `` /* 127-byte string literal not displayed */
}

func (*EipBaseFee) Descriptor

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

func (*EipBaseFee) Marshal

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

func (*EipBaseFee) MarshalTo

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

func (*EipBaseFee) MarshalToSizedBuffer

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

func (*EipBaseFee) ProtoMessage

func (*EipBaseFee) ProtoMessage()

func (*EipBaseFee) Reset

func (m *EipBaseFee) Reset()

func (*EipBaseFee) Size

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

func (*EipBaseFee) String

func (m *EipBaseFee) String() string

func (*EipBaseFee) Unmarshal

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

func (*EipBaseFee) XXX_DiscardUnknown

func (m *EipBaseFee) XXX_DiscardUnknown()

func (*EipBaseFee) XXX_Marshal

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

func (*EipBaseFee) XXX_Merge

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

func (*EipBaseFee) XXX_Size

func (m *EipBaseFee) XXX_Size() int

func (*EipBaseFee) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

func (*GenesisState) Descriptor

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

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (*GenesisState) 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 {
	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 MsgServer

type MsgServer interface {
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

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 ocr parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

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

func (*MsgUpdateParams) MarshalTo

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

func (*MsgUpdateParams) MarshalToSizedBuffer

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

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

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

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

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

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

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

func (*MsgUpdateParams) XXX_Merge

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

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

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

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

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

func (*MsgUpdateParamsResponse) MarshalTo

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

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

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

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

func (*MsgUpdateParamsResponse) XXX_Merge

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

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

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

type Params

type Params struct {
	MaxGasWantedPerTx                    uint64                      `` /* 148-byte string literal not displayed */
	HighGasTxThreshold                   uint64                      `` /* 149-byte string literal not displayed */
	MinGasPriceForHighGasTx              cosmossdk_io_math.LegacyDec `` /* 206-byte string literal not displayed */
	Mempool1559Enabled                   bool                        `` /* 143-byte string literal not displayed */
	MinGasPrice                          cosmossdk_io_math.LegacyDec `` /* 146-byte string literal not displayed */
	DefaultBaseFeeMultiplier             cosmossdk_io_math.LegacyDec `` /* 201-byte string literal not displayed */
	MaxBaseFeeMultiplier                 cosmossdk_io_math.LegacyDec `` /* 185-byte string literal not displayed */
	ResetInterval                        int64                       `protobuf:"varint,8,opt,name=reset_interval,json=resetInterval,proto3" json:"reset_interval,omitempty" yaml:"reset_interval"`
	MaxBlockChangeRate                   cosmossdk_io_math.LegacyDec `` /* 177-byte string literal not displayed */
	TargetBlockSpacePercentRate          cosmossdk_io_math.LegacyDec `` /* 217-byte string literal not displayed */
	RecheckFeeLowBaseFee                 cosmossdk_io_math.LegacyDec `` /* 189-byte string literal not displayed */
	RecheckFeeHighBaseFee                cosmossdk_io_math.LegacyDec `` /* 193-byte string literal not displayed */
	RecheckFeeBaseFeeThresholdMultiplier cosmossdk_io_math.LegacyDec `` /* 256-byte string literal not displayed */
}

func (*Params) Descriptor

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

func (*Params) Equal

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

func (*Params) GetHighGasTxThreshold

func (m *Params) GetHighGasTxThreshold() uint64

func (*Params) GetMaxGasWantedPerTx

func (m *Params) GetMaxGasWantedPerTx() uint64

func (*Params) GetMempool1559Enabled

func (m *Params) GetMempool1559Enabled() bool

func (*Params) GetResetInterval

func (m *Params) GetResetInterval() int64

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Params defines a gRPC query method that returns the tokenfactory module's
	// parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Returns the current fee market EIP fee.
	GetEipBaseFee(ctx context.Context, in *QueryEipBaseFeeRequest, opts ...grpc.CallOption) (*QueryEipBaseFeeResponse, 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 QueryEipBaseFeeRequest

type QueryEipBaseFeeRequest struct {
}

func (*QueryEipBaseFeeRequest) Descriptor

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

func (*QueryEipBaseFeeRequest) Marshal

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

func (*QueryEipBaseFeeRequest) MarshalTo

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

func (*QueryEipBaseFeeRequest) MarshalToSizedBuffer

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

func (*QueryEipBaseFeeRequest) ProtoMessage

func (*QueryEipBaseFeeRequest) ProtoMessage()

func (*QueryEipBaseFeeRequest) Reset

func (m *QueryEipBaseFeeRequest) Reset()

func (*QueryEipBaseFeeRequest) Size

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

func (*QueryEipBaseFeeRequest) String

func (m *QueryEipBaseFeeRequest) String() string

func (*QueryEipBaseFeeRequest) Unmarshal

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

func (*QueryEipBaseFeeRequest) XXX_DiscardUnknown

func (m *QueryEipBaseFeeRequest) XXX_DiscardUnknown()

func (*QueryEipBaseFeeRequest) XXX_Marshal

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

func (*QueryEipBaseFeeRequest) XXX_Merge

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

func (*QueryEipBaseFeeRequest) XXX_Size

func (m *QueryEipBaseFeeRequest) XXX_Size() int

func (*QueryEipBaseFeeRequest) XXX_Unmarshal

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

type QueryEipBaseFeeResponse

type QueryEipBaseFeeResponse struct {
	BaseFee *EipBaseFee `protobuf:"bytes,1,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
}

func (*QueryEipBaseFeeResponse) Descriptor

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

func (*QueryEipBaseFeeResponse) GetBaseFee

func (m *QueryEipBaseFeeResponse) GetBaseFee() *EipBaseFee

func (*QueryEipBaseFeeResponse) Marshal

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

func (*QueryEipBaseFeeResponse) MarshalTo

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

func (*QueryEipBaseFeeResponse) MarshalToSizedBuffer

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

func (*QueryEipBaseFeeResponse) ProtoMessage

func (*QueryEipBaseFeeResponse) ProtoMessage()

func (*QueryEipBaseFeeResponse) Reset

func (m *QueryEipBaseFeeResponse) Reset()

func (*QueryEipBaseFeeResponse) Size

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

func (*QueryEipBaseFeeResponse) String

func (m *QueryEipBaseFeeResponse) String() string

func (*QueryEipBaseFeeResponse) Unmarshal

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

func (*QueryEipBaseFeeResponse) XXX_DiscardUnknown

func (m *QueryEipBaseFeeResponse) XXX_DiscardUnknown()

func (*QueryEipBaseFeeResponse) XXX_Marshal

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

func (*QueryEipBaseFeeResponse) XXX_Merge

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

func (*QueryEipBaseFeeResponse) XXX_Size

func (m *QueryEipBaseFeeResponse) XXX_Size() int

func (*QueryEipBaseFeeResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

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

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Params defines a gRPC query method that returns the tokenfactory module's
	// parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Returns the current fee market EIP fee.
	GetEipBaseFee(context.Context, *QueryEipBaseFeeRequest) (*QueryEipBaseFeeResponse, error)
}

QueryServer is the server API for Query service.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetEipBaseFee

func (*UnimplementedQueryServer) Params

Jump to

Keyboard shortcuts

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