types

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthParamsV4        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParamsV4          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParamsV4 = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ExtraEIPs

type ExtraEIPs struct {
	// eips defines the additional EIPs for the vm.Config
	EIPs []int64 `protobuf:"varint,1,rep,packed,name=eips,proto3" json:"eips,omitempty" yaml:"eips"`
}

ExtraEIPs represents extra EIPs for the vm.Config

func (*ExtraEIPs) Descriptor

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

func (*ExtraEIPs) GetEIPs

func (m *ExtraEIPs) GetEIPs() []int64

func (*ExtraEIPs) Marshal

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

func (*ExtraEIPs) MarshalTo

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

func (*ExtraEIPs) MarshalToSizedBuffer

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

func (*ExtraEIPs) ProtoMessage

func (*ExtraEIPs) ProtoMessage()

func (*ExtraEIPs) Reset

func (m *ExtraEIPs) Reset()

func (*ExtraEIPs) Size

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

func (*ExtraEIPs) String

func (m *ExtraEIPs) String() string

func (*ExtraEIPs) Unmarshal

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

func (*ExtraEIPs) XXX_DiscardUnknown

func (m *ExtraEIPs) XXX_DiscardUnknown()

func (*ExtraEIPs) XXX_Marshal

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

func (*ExtraEIPs) XXX_Merge

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

func (*ExtraEIPs) XXX_Size

func (m *ExtraEIPs) XXX_Size() int

func (*ExtraEIPs) XXX_Unmarshal

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

type V4Params

type V4Params struct {
	// evm_denom represents the token denomination used to run the EVM state
	// transitions.
	EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty" yaml:"evm_denom"`
	// enable_create toggles state transitions that use the vm.Create function
	EnableCreate bool `protobuf:"varint,2,opt,name=enable_create,json=enableCreate,proto3" json:"enable_create,omitempty" yaml:"enable_create"`
	// enable_call toggles state transitions that use the vm.Call function
	EnableCall bool `protobuf:"varint,3,opt,name=enable_call,json=enableCall,proto3" json:"enable_call,omitempty" yaml:"enable_call"`
	// extra_eips defines the additional EIPs for the vm.Config
	ExtraEIPs ExtraEIPs `protobuf:"bytes,4,opt,name=extra_eips,json=extraEips,proto3" json:"extra_eips"`
	// chain_config defines the EVM chain configuration parameters
	ChainConfig v0types.V0ChainConfig `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config"`
	// allow_unprotected_txs defines if replay-protected (i.e non EIP155
	// signed) transactions can be executed on the state machine.
	AllowUnprotectedTxs bool `protobuf:"varint,6,opt,name=allow_unprotected_txs,json=allowUnprotectedTxs,proto3" json:"allow_unprotected_txs,omitempty"`
}

V4Params defines the EVM module parameters

func (*V4Params) Descriptor

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

func (*V4Params) GetAllowUnprotectedTxs

func (m *V4Params) GetAllowUnprotectedTxs() bool

func (*V4Params) GetChainConfig

func (m *V4Params) GetChainConfig() v0types.V0ChainConfig

func (*V4Params) GetEnableCall

func (m *V4Params) GetEnableCall() bool

func (*V4Params) GetEnableCreate

func (m *V4Params) GetEnableCreate() bool

func (*V4Params) GetEvmDenom

func (m *V4Params) GetEvmDenom() string

func (*V4Params) GetExtraEIPs

func (m *V4Params) GetExtraEIPs() ExtraEIPs

func (*V4Params) Marshal

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

func (*V4Params) MarshalTo

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

func (*V4Params) MarshalToSizedBuffer

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

func (*V4Params) ProtoMessage

func (*V4Params) ProtoMessage()

func (*V4Params) Reset

func (m *V4Params) Reset()

func (*V4Params) Size

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

func (*V4Params) String

func (m *V4Params) String() string

func (V4Params) ToParams

func (p V4Params) ToParams() currenttypes.Params

func (*V4Params) Unmarshal

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

func (V4Params) Validate

func (p V4Params) Validate() error

Validate performs basic validation on evm parameters.

func (*V4Params) XXX_DiscardUnknown

func (m *V4Params) XXX_DiscardUnknown()

func (*V4Params) XXX_Marshal

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

func (*V4Params) XXX_Merge

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

func (*V4Params) XXX_Size

func (m *V4Params) XXX_Size() int

func (*V4Params) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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