changeset

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApproveToken

func ApproveToken(env cldf.Environment, src uint64, tokenAddress common.Address, routerAddress common.Address, amount *big.Int) error

ApproveToken approves routerAddress to pull up to amount of token from the deployer on chain src.

func RunChangeset

func RunChangeset[C any](
	operation deployment.ChangeSetV2[C],
	env deployment.Environment,
	config C,
) (deployment.ChangesetOutput, error)

RunChangeset is used to run a changeset in another changeset It executes VerifyPreconditions internally to handle changeset errors.

Types

type WrappedChangeSet

type WrappedChangeSet[C any] struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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