agent

package
v0.0.0-...-ef390af Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SwapAgent

type SwapAgent interface {
	FilterSwapPairRegister(
		opts *bind.FilterOpts,
		sponsor []common.Address,
		tokenAddress []common.Address,
	) (*contractabi.ERC721SwapAgentSwapPairRegisterIterator, error)

	FilterSwapPairCreated(
		opts *bind.FilterOpts, registerTxHash [][32]byte,
		fromTokenAddr []common.Address,
		mirroredTokenAddr []common.Address,
	) (*contractabi.ERC721SwapAgentSwapPairCreatedIterator, error)

	CreateSwapPair(
		opts *bind.TransactOpts,
		registerTxHash [32]byte,
		fromTokenAddr common.Address,
		fromChainId *big.Int, baseURI string,
		tokenName string,
		tokenSymbol string,
	) (*types.Transaction, error)

	FilterSwapStarted(
		opts *bind.FilterOpts,
		tokenAddr []common.Address,
		sender []common.Address,
		recipient []common.Address,
	) (*contractabi.ERC721SwapAgentSwapStartedIterator, error)

	FilterSwapFilled(
		opts *bind.FilterOpts,
		swapTxHash [][32]byte,
		fromTokenAddr []common.Address,
		recipient []common.Address,
	) (*contractabi.ERC721SwapAgentSwapFilledIterator, error)

	Fill(
		opts *bind.TransactOpts,
		swapTxHash [32]byte,
		fromTokenAddr common.Address,
		recipient common.Address,
		fromChainId *big.Int,
		tokenId *big.Int,
		tokenURI string,
	) (*types.Transaction, error)

	FilterBackwardSwapStarted(
		opts *bind.FilterOpts,
		mirroredTokenAddr []common.Address,
		sender []common.Address,
		recipient []common.Address,
	) (*contractabi.ERC721SwapAgentBackwardSwapStartedIterator, error)

	FilterBackwardSwapFilled(
		opts *bind.FilterOpts,
		swapTxHash [][32]byte,
		tokenAddr []common.Address,
		recipient []common.Address,
	) (*contractabi.ERC721SwapAgentBackwardSwapFilledIterator, error)
}

Jump to

Keyboard shortcuts

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