contracts_steps

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchProcessRootTransfers

func BatchProcessRootTransfers(ctx context.Context, sourceName string, batches int, transfersPerBatch, minTransfer int, maxTransfer int) error

func DeployAndCallLogSubscriber

func DeployAndCallLogSubscriber(ctx context.Context, deployer string) (*libcommon.Hash, error)

func DeployChildChainReceiver

func DeployChildChainReceiver(ctx context.Context, deployerName string) (context.Context, error)

func DeployChildChainSender

func DeployChildChainSender(ctx context.Context, deployerName string) (context.Context, error)

func DeployRootChainReceiver

func DeployRootChainReceiver(ctx context.Context, deployerName string) (context.Context, error)

func DeployRootChainSender

func DeployRootChainSender(ctx context.Context, deployerName string) (context.Context, error)

func DeploySubsriptionContract

func DeploySubsriptionContract(node devnet.Node, deployer libcommon.Address) (types.Transaction, libcommon.Address, *contracts.Subscription, *bind.TransactOpts, error)

DeploySubsriptionContract creates and signs a transaction using the developer address, returns the contract and the signed transaction

func EmitFallbackEvent

func EmitFallbackEvent(node devnet.Node, subContract *contracts.Subscription, opts *bind.TransactOpts, logger log.Logger) (libcommon.Hash, error)

EmitFallbackEvent emits an event from the contract using the fallback method

func GenerateSyncEvents

func GenerateSyncEvents(ctx context.Context, senderName string, numberOfTransfers int, minTransfer int, maxTransfer int) error

func ProcessChildTransfers

func ProcessChildTransfers(ctx context.Context, sourceName string, numberOfTransfers int, minTransfer int, maxTransfer int) error

func ProcessRootTransfers

func ProcessRootTransfers(ctx context.Context, sourceName string, numberOfTransfers int, minTransfer int, maxTransfer int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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