contractextension

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package contractextension provides interfaces and utilities for extending contract functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SimulateCall

func SimulateCall(ctx context.Context,
	abiPath,
	selector string,
	contract ContractImplementation,
	params ...interface{},
) error

SimulateCall simulates a contract call to verify implementation

Types

type ContractImplementation

type ContractImplementation interface {
	GetAddress() common.Address
	VerifyTransaction(ctx context.Context, to common.Address, data []byte, value int64) error
}

ContractImplementation defines the interface for contract implementation verification

Jump to

Keyboard shortcuts

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