contract

package
v1.13.7 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 9 Imported by: 0

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

func ReadArray added in v1.13.6

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

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

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