contract

package
v1.16.10 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Read

func Read[O any](call bindings.TypedCall[O], opts ...txplan.Option) O

Read executes a new message call without creating a transaction on the blockchain. Each call is bounded by readTimeout to prevent hangs under CI resource contention.

func ReadArray

func ReadArray[T any](countCall bindings.TypedCall[*big.Int], elemCall func(i *big.Int) bindings.TypedCall[T]) []T

ReadArray retrieves all data from an array in batches. Each call is bounded by readTimeout to prevent hangs under CI resource contention.

func Write

func Write[O any](user *dsl.EOA, call bindings.TypedCall[O], opts ...txplan.Option) *types.Receipt

Write makes a user to write a tx by using the planned contract bindings. Each call is bounded by writeTimeout to prevent hangs under CI resource contention.

Types

type TestCallView

type TestCallView[O any] interface {
	Test() bindings.BaseTest
}

TestCallView is used in devstack for wrapping errors

Jump to

Keyboard shortcuts

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