evm

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PellBlockTime is the block time of the Pell network
	PellBlockTime = 6500 * time.Millisecond

	// OutTxInclusionTimeout is the timeout for waiting for an outtx to be included in a block
	OutTxInclusionTimeout = 20 * time.Minute

	// OutTxTrackerReportTimeout is the timeout for waiting for an outtx tracker report
	OutTxTrackerReportTimeout = 10 * time.Minute

	// EthTransferGasLimit is the gas limit for a standard ETH transfer
	EthTransferGasLimit = 21000

	// [signature]
	TopicsPellStakerDeposited = 1

	// [signature, stakerAddress, operatorAddress]
	TopicsPellStakerDelegated = 3

	// [signature]
	TopicsPellWithdrawalQueued = 1

	// [signature, stakerAddress, operatorAddress]
	TopicsPellStakerUndelegated = 3

	TopicsCentralSchedulerToPell        = 1
	TopicsRegisterStakeManagerToPell    = 1
	TopicsRegisterEjectionManagerToPell = 1
	TopicsPellSent                      = 3
)

Variables

This section is empty.

Functions

func ValidateEvmTransaction

func ValidateEvmTransaction(tx *ethrpc.Transaction) error

ValidateEvmTransaction checks the basics of an EVM transaction Note: these checks are to ensure the transaction is well-formed and can be safely used for further processing by pellclient

func ValidateEvmTxLog

func ValidateEvmTxLog(vLog *ethtypes.Log, wantAddress ethcommon.Address, wantHash string, wantTopics int) error

ValidateEvmTxLog checks the basics of an EVM tx log

Types

This section is empty.

Directories

Path Synopsis
handler
staker_delegated.go
staker_delegated.go
Package signer implements the ChainSigner interface for EVM chains
Package signer implements the ChainSigner interface for EVM chains

Jump to

Keyboard shortcuts

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