hopL1CctpImplementation

package
v0.184.46 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HopL1CctpImplementationABI = HopL1CctpImplementationMetaData.ABI

HopL1CctpImplementationABI is the input ABI used to generate the binding from. Deprecated: Use HopL1CctpImplementationMetaData.ABI instead.

View Source
var HopL1CctpImplementationMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"nativeTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"cctpAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCollectorAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minBonderFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"chainIds\",\"type\":\"uint256[]\"},{\"internalType\":\"uint32[]\",\"name\":\"domains\",\"type\":\"uint32[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"cctpNonce\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"}],\"name\":\"CCTPTransferSent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeChainIds\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cctp\",\"outputs\":[{\"internalType\":\"contractICCTP\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"destinationDomains\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollectorAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minBonderFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nativeToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bonderFee\",\"type\":\"uint256\"}],\"name\":\"send\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

HopL1CctpImplementationMetaData contains all meta data concerning the HopL1CctpImplementation contract.

Functions

This section is empty.

Types

type HopL1CctpImplementation

type HopL1CctpImplementation struct {
	HopL1CctpImplementationCaller     // Read-only binding to the contract
	HopL1CctpImplementationTransactor // Write-only binding to the contract
	HopL1CctpImplementationFilterer   // Log filterer for contract events
}

HopL1CctpImplementation is an auto generated Go binding around an Ethereum contract.

func NewHopL1CctpImplementation

func NewHopL1CctpImplementation(address common.Address, backend bind.ContractBackend) (*HopL1CctpImplementation, error)

NewHopL1CctpImplementation creates a new instance of HopL1CctpImplementation, bound to a specific deployed contract.

type HopL1CctpImplementationCCTPTransferSent

type HopL1CctpImplementationCCTPTransferSent struct {
	CctpNonce uint64
	ChainId   *big.Int
	Recipient common.Address
	Amount    *big.Int
	BonderFee *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

HopL1CctpImplementationCCTPTransferSent represents a CCTPTransferSent event raised by the HopL1CctpImplementation contract.

type HopL1CctpImplementationCCTPTransferSentIterator

type HopL1CctpImplementationCCTPTransferSentIterator struct {
	Event *HopL1CctpImplementationCCTPTransferSent // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

HopL1CctpImplementationCCTPTransferSentIterator is returned from FilterCCTPTransferSent and is used to iterate over the raw logs and unpacked data for CCTPTransferSent events raised by the HopL1CctpImplementation contract.

func (*HopL1CctpImplementationCCTPTransferSentIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*HopL1CctpImplementationCCTPTransferSentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*HopL1CctpImplementationCCTPTransferSentIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type HopL1CctpImplementationCaller

type HopL1CctpImplementationCaller struct {
	// contains filtered or unexported fields
}

HopL1CctpImplementationCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewHopL1CctpImplementationCaller

func NewHopL1CctpImplementationCaller(address common.Address, caller bind.ContractCaller) (*HopL1CctpImplementationCaller, error)

NewHopL1CctpImplementationCaller creates a new read-only instance of HopL1CctpImplementation, bound to a specific deployed contract.

func (*HopL1CctpImplementationCaller) ActiveChainIds

func (_HopL1CctpImplementation *HopL1CctpImplementationCaller) ActiveChainIds(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.

Solidity: function activeChainIds(uint256 ) view returns(bool)

func (*HopL1CctpImplementationCaller) Cctp

func (_HopL1CctpImplementation *HopL1CctpImplementationCaller) Cctp(opts *bind.CallOpts) (common.Address, error)

Cctp is a free data retrieval call binding the contract method 0xe3329e32.

Solidity: function cctp() view returns(address)

func (*HopL1CctpImplementationCaller) DestinationDomains

func (_HopL1CctpImplementation *HopL1CctpImplementationCaller) DestinationDomains(opts *bind.CallOpts, arg0 *big.Int) (uint32, error)

DestinationDomains is a free data retrieval call binding the contract method 0x89aad5dc.

Solidity: function destinationDomains(uint256 ) view returns(uint32)

func (*HopL1CctpImplementationCaller) FeeCollectorAddress

func (_HopL1CctpImplementation *HopL1CctpImplementationCaller) FeeCollectorAddress(opts *bind.CallOpts) (common.Address, error)

FeeCollectorAddress is a free data retrieval call binding the contract method 0xf108e225.

Solidity: function feeCollectorAddress() view returns(address)

func (*HopL1CctpImplementationCaller) MinBonderFee

func (_HopL1CctpImplementation *HopL1CctpImplementationCaller) MinBonderFee(opts *bind.CallOpts) (*big.Int, error)

MinBonderFee is a free data retrieval call binding the contract method 0x50fc2401.

Solidity: function minBonderFee() view returns(uint256)

func (*HopL1CctpImplementationCaller) NativeToken

func (_HopL1CctpImplementation *HopL1CctpImplementationCaller) NativeToken(opts *bind.CallOpts) (common.Address, error)

NativeToken is a free data retrieval call binding the contract method 0xe1758bd8.

Solidity: function nativeToken() view returns(address)

type HopL1CctpImplementationCallerRaw

type HopL1CctpImplementationCallerRaw struct {
	Contract *HopL1CctpImplementationCaller // Generic read-only contract binding to access the raw methods on
}

HopL1CctpImplementationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*HopL1CctpImplementationCallerRaw) Call

func (_HopL1CctpImplementation *HopL1CctpImplementationCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type HopL1CctpImplementationCallerSession

type HopL1CctpImplementationCallerSession struct {
	Contract *HopL1CctpImplementationCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                  // Call options to use throughout this session
}

HopL1CctpImplementationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*HopL1CctpImplementationCallerSession) ActiveChainIds

func (_HopL1CctpImplementation *HopL1CctpImplementationCallerSession) ActiveChainIds(arg0 *big.Int) (bool, error)

ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.

Solidity: function activeChainIds(uint256 ) view returns(bool)

func (*HopL1CctpImplementationCallerSession) Cctp

func (_HopL1CctpImplementation *HopL1CctpImplementationCallerSession) Cctp() (common.Address, error)

Cctp is a free data retrieval call binding the contract method 0xe3329e32.

Solidity: function cctp() view returns(address)

func (*HopL1CctpImplementationCallerSession) DestinationDomains

func (_HopL1CctpImplementation *HopL1CctpImplementationCallerSession) DestinationDomains(arg0 *big.Int) (uint32, error)

DestinationDomains is a free data retrieval call binding the contract method 0x89aad5dc.

Solidity: function destinationDomains(uint256 ) view returns(uint32)

func (*HopL1CctpImplementationCallerSession) FeeCollectorAddress

func (_HopL1CctpImplementation *HopL1CctpImplementationCallerSession) FeeCollectorAddress() (common.Address, error)

FeeCollectorAddress is a free data retrieval call binding the contract method 0xf108e225.

Solidity: function feeCollectorAddress() view returns(address)

func (*HopL1CctpImplementationCallerSession) MinBonderFee

func (_HopL1CctpImplementation *HopL1CctpImplementationCallerSession) MinBonderFee() (*big.Int, error)

MinBonderFee is a free data retrieval call binding the contract method 0x50fc2401.

Solidity: function minBonderFee() view returns(uint256)

func (*HopL1CctpImplementationCallerSession) NativeToken

func (_HopL1CctpImplementation *HopL1CctpImplementationCallerSession) NativeToken() (common.Address, error)

NativeToken is a free data retrieval call binding the contract method 0xe1758bd8.

Solidity: function nativeToken() view returns(address)

type HopL1CctpImplementationFilterer

type HopL1CctpImplementationFilterer struct {
	// contains filtered or unexported fields
}

HopL1CctpImplementationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewHopL1CctpImplementationFilterer

func NewHopL1CctpImplementationFilterer(address common.Address, filterer bind.ContractFilterer) (*HopL1CctpImplementationFilterer, error)

NewHopL1CctpImplementationFilterer creates a new log filterer instance of HopL1CctpImplementation, bound to a specific deployed contract.

func (*HopL1CctpImplementationFilterer) FilterCCTPTransferSent

func (_HopL1CctpImplementation *HopL1CctpImplementationFilterer) FilterCCTPTransferSent(opts *bind.FilterOpts, cctpNonce []uint64, chainId []*big.Int, recipient []common.Address) (*HopL1CctpImplementationCCTPTransferSentIterator, error)

FilterCCTPTransferSent is a free log retrieval operation binding the contract event 0x10bf4019e09db5876a05d237bfcc676cd84eee2c23f820284906dd7cfa70d2c4.

Solidity: event CCTPTransferSent(uint64 indexed cctpNonce, uint256 indexed chainId, address indexed recipient, uint256 amount, uint256 bonderFee)

func (*HopL1CctpImplementationFilterer) ParseCCTPTransferSent

func (_HopL1CctpImplementation *HopL1CctpImplementationFilterer) ParseCCTPTransferSent(log types.Log) (*HopL1CctpImplementationCCTPTransferSent, error)

ParseCCTPTransferSent is a log parse operation binding the contract event 0x10bf4019e09db5876a05d237bfcc676cd84eee2c23f820284906dd7cfa70d2c4.

Solidity: event CCTPTransferSent(uint64 indexed cctpNonce, uint256 indexed chainId, address indexed recipient, uint256 amount, uint256 bonderFee)

func (*HopL1CctpImplementationFilterer) WatchCCTPTransferSent

func (_HopL1CctpImplementation *HopL1CctpImplementationFilterer) WatchCCTPTransferSent(opts *bind.WatchOpts, sink chan<- *HopL1CctpImplementationCCTPTransferSent, cctpNonce []uint64, chainId []*big.Int, recipient []common.Address) (event.Subscription, error)

WatchCCTPTransferSent is a free log subscription operation binding the contract event 0x10bf4019e09db5876a05d237bfcc676cd84eee2c23f820284906dd7cfa70d2c4.

Solidity: event CCTPTransferSent(uint64 indexed cctpNonce, uint256 indexed chainId, address indexed recipient, uint256 amount, uint256 bonderFee)

type HopL1CctpImplementationRaw

type HopL1CctpImplementationRaw struct {
	Contract *HopL1CctpImplementation // Generic contract binding to access the raw methods on
}

HopL1CctpImplementationRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*HopL1CctpImplementationRaw) Call

func (_HopL1CctpImplementation *HopL1CctpImplementationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*HopL1CctpImplementationRaw) Transact

func (_HopL1CctpImplementation *HopL1CctpImplementationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HopL1CctpImplementationRaw) Transfer

func (_HopL1CctpImplementation *HopL1CctpImplementationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type HopL1CctpImplementationSession

type HopL1CctpImplementationSession struct {
	Contract     *HopL1CctpImplementation // Generic contract binding to set the session for
	CallOpts     bind.CallOpts            // Call options to use throughout this session
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

HopL1CctpImplementationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*HopL1CctpImplementationSession) ActiveChainIds

func (_HopL1CctpImplementation *HopL1CctpImplementationSession) ActiveChainIds(arg0 *big.Int) (bool, error)

ActiveChainIds is a free data retrieval call binding the contract method 0xc97d172e.

Solidity: function activeChainIds(uint256 ) view returns(bool)

func (*HopL1CctpImplementationSession) Cctp

func (_HopL1CctpImplementation *HopL1CctpImplementationSession) Cctp() (common.Address, error)

Cctp is a free data retrieval call binding the contract method 0xe3329e32.

Solidity: function cctp() view returns(address)

func (*HopL1CctpImplementationSession) DestinationDomains

func (_HopL1CctpImplementation *HopL1CctpImplementationSession) DestinationDomains(arg0 *big.Int) (uint32, error)

DestinationDomains is a free data retrieval call binding the contract method 0x89aad5dc.

Solidity: function destinationDomains(uint256 ) view returns(uint32)

func (*HopL1CctpImplementationSession) FeeCollectorAddress

func (_HopL1CctpImplementation *HopL1CctpImplementationSession) FeeCollectorAddress() (common.Address, error)

FeeCollectorAddress is a free data retrieval call binding the contract method 0xf108e225.

Solidity: function feeCollectorAddress() view returns(address)

func (*HopL1CctpImplementationSession) MinBonderFee

func (_HopL1CctpImplementation *HopL1CctpImplementationSession) MinBonderFee() (*big.Int, error)

MinBonderFee is a free data retrieval call binding the contract method 0x50fc2401.

Solidity: function minBonderFee() view returns(uint256)

func (*HopL1CctpImplementationSession) NativeToken

func (_HopL1CctpImplementation *HopL1CctpImplementationSession) NativeToken() (common.Address, error)

NativeToken is a free data retrieval call binding the contract method 0xe1758bd8.

Solidity: function nativeToken() view returns(address)

func (*HopL1CctpImplementationSession) Send

func (_HopL1CctpImplementation *HopL1CctpImplementationSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa134ce5b.

Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee) returns()

type HopL1CctpImplementationTransactor

type HopL1CctpImplementationTransactor struct {
	// contains filtered or unexported fields
}

HopL1CctpImplementationTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewHopL1CctpImplementationTransactor

func NewHopL1CctpImplementationTransactor(address common.Address, transactor bind.ContractTransactor) (*HopL1CctpImplementationTransactor, error)

NewHopL1CctpImplementationTransactor creates a new write-only instance of HopL1CctpImplementation, bound to a specific deployed contract.

func (*HopL1CctpImplementationTransactor) Send

func (_HopL1CctpImplementation *HopL1CctpImplementationTransactor) Send(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa134ce5b.

Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee) returns()

type HopL1CctpImplementationTransactorRaw

type HopL1CctpImplementationTransactorRaw struct {
	Contract *HopL1CctpImplementationTransactor // Generic write-only contract binding to access the raw methods on
}

HopL1CctpImplementationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*HopL1CctpImplementationTransactorRaw) Transact

func (_HopL1CctpImplementation *HopL1CctpImplementationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*HopL1CctpImplementationTransactorRaw) Transfer

func (_HopL1CctpImplementation *HopL1CctpImplementationTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type HopL1CctpImplementationTransactorSession

type HopL1CctpImplementationTransactorSession struct {
	Contract     *HopL1CctpImplementationTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                  // Transaction auth options to use throughout this session
}

HopL1CctpImplementationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*HopL1CctpImplementationTransactorSession) Send

func (_HopL1CctpImplementation *HopL1CctpImplementationTransactorSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xa134ce5b.

Solidity: function send(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee) returns()

Jump to

Keyboard shortcuts

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