Documentation ¶
Index ¶
- Variables
- type HopL2CctpImplementation
- type HopL2CctpImplementationCCTPTransferSent
- type HopL2CctpImplementationCCTPTransferSentIterator
- type HopL2CctpImplementationCaller
- func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) ActiveChainIds(opts *bind.CallOpts, arg0 *big.Int) (bool, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) Amm(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) BridgedToken(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) Cctp(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) DestinationDomains(opts *bind.CallOpts, arg0 *big.Int) (uint32, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) FeeCollectorAddress(opts *bind.CallOpts) (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) MinBonderFee(opts *bind.CallOpts) (*big.Int, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) NativeToken(opts *bind.CallOpts) (common.Address, error)
- type HopL2CctpImplementationCallerRaw
- type HopL2CctpImplementationCallerSession
- func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) ActiveChainIds(arg0 *big.Int) (bool, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) Amm() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) BridgedToken() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) Cctp() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) DestinationDomains(arg0 *big.Int) (uint32, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) FeeCollectorAddress() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) MinBonderFee() (*big.Int, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) NativeToken() (common.Address, error)
- type HopL2CctpImplementationFilterer
- func (_HopL2CctpImplementation *HopL2CctpImplementationFilterer) FilterCCTPTransferSent(opts *bind.FilterOpts, cctpNonce []uint64, chainId []*big.Int, ...) (*HopL2CctpImplementationCCTPTransferSentIterator, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationFilterer) ParseCCTPTransferSent(log types.Log) (*HopL2CctpImplementationCCTPTransferSent, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationFilterer) WatchCCTPTransferSent(opts *bind.WatchOpts, sink chan<- *HopL2CctpImplementationCCTPTransferSent, ...) (event.Subscription, error)
- type HopL2CctpImplementationRaw
- func (_HopL2CctpImplementation *HopL2CctpImplementationRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_HopL2CctpImplementation *HopL2CctpImplementationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HopL2CctpImplementationSession
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) ActiveChainIds(arg0 *big.Int) (bool, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) Amm() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) BridgedToken() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) Cctp() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) DestinationDomains(arg0 *big.Int) (uint32, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) FeeCollectorAddress() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) MinBonderFee() (*big.Int, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) NativeToken() (common.Address, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationSession) SwapAndSend(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type HopL2CctpImplementationTransactor
- func (_HopL2CctpImplementation *HopL2CctpImplementationTransactor) Send(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationTransactor) SwapAndSend(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- type HopL2CctpImplementationTransactorRaw
- func (_HopL2CctpImplementation *HopL2CctpImplementationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HopL2CctpImplementationTransactorSession
- func (_HopL2CctpImplementation *HopL2CctpImplementationTransactorSession) Send(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- func (_HopL2CctpImplementation *HopL2CctpImplementationTransactorSession) SwapAndSend(chainId *big.Int, recipient common.Address, amount *big.Int, ...) (*types.Transaction, error)
- type IAMMExactInputParams
Constants ¶
This section is empty.
Variables ¶
var HopL2CctpImplementationABI = HopL2CctpImplementationMetaData.ABI
HopL2CctpImplementationABI is the input ABI used to generate the binding from. Deprecated: Use HopL2CctpImplementationMetaData.ABI instead.
var HopL2CctpImplementationMetaData = &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[]\"},{\"internalType\":\"address\",\"name\":\"bridgedTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"ammAddress\",\"type\":\"address\"}],\"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\":\"amm\",\"outputs\":[{\"internalType\":\"contractIAMM\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bridgedToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"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\"},{\"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\"},{\"components\":[{\"internalType\":\"bytes\",\"name\":\"path\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMinimum\",\"type\":\"uint256\"}],\"internalType\":\"structIAMM.ExactInputParams\",\"name\":\"swapParams\",\"type\":\"tuple\"}],\"name\":\"swapAndSend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
HopL2CctpImplementationMetaData contains all meta data concerning the HopL2CctpImplementation contract.
Functions ¶
This section is empty.
Types ¶
type HopL2CctpImplementation ¶
type HopL2CctpImplementation struct { HopL2CctpImplementationCaller // Read-only binding to the contract HopL2CctpImplementationTransactor // Write-only binding to the contract HopL2CctpImplementationFilterer // Log filterer for contract events }
HopL2CctpImplementation is an auto generated Go binding around an Ethereum contract.
func NewHopL2CctpImplementation ¶
func NewHopL2CctpImplementation(address common.Address, backend bind.ContractBackend) (*HopL2CctpImplementation, error)
NewHopL2CctpImplementation creates a new instance of HopL2CctpImplementation, bound to a specific deployed contract.
type HopL2CctpImplementationCCTPTransferSent ¶
type HopL2CctpImplementationCCTPTransferSent struct { CctpNonce uint64 ChainId *big.Int Recipient common.Address Amount *big.Int BonderFee *big.Int Raw types.Log // Blockchain specific contextual infos }
HopL2CctpImplementationCCTPTransferSent represents a CCTPTransferSent event raised by the HopL2CctpImplementation contract.
type HopL2CctpImplementationCCTPTransferSentIterator ¶
type HopL2CctpImplementationCCTPTransferSentIterator struct { Event *HopL2CctpImplementationCCTPTransferSent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HopL2CctpImplementationCCTPTransferSentIterator is returned from FilterCCTPTransferSent and is used to iterate over the raw logs and unpacked data for CCTPTransferSent events raised by the HopL2CctpImplementation contract.
func (*HopL2CctpImplementationCCTPTransferSentIterator) Close ¶
func (it *HopL2CctpImplementationCCTPTransferSentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HopL2CctpImplementationCCTPTransferSentIterator) Error ¶
func (it *HopL2CctpImplementationCCTPTransferSentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HopL2CctpImplementationCCTPTransferSentIterator) Next ¶
func (it *HopL2CctpImplementationCCTPTransferSentIterator) Next() bool
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 HopL2CctpImplementationCaller ¶
type HopL2CctpImplementationCaller struct {
// contains filtered or unexported fields
}
HopL2CctpImplementationCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHopL2CctpImplementationCaller ¶
func NewHopL2CctpImplementationCaller(address common.Address, caller bind.ContractCaller) (*HopL2CctpImplementationCaller, error)
NewHopL2CctpImplementationCaller creates a new read-only instance of HopL2CctpImplementation, bound to a specific deployed contract.
func (*HopL2CctpImplementationCaller) ActiveChainIds ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) 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 (*HopL2CctpImplementationCaller) Amm ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) Amm(opts *bind.CallOpts) (common.Address, error)
Amm is a free data retrieval call binding the contract method 0x2a943945.
Solidity: function amm() view returns(address)
func (*HopL2CctpImplementationCaller) BridgedToken ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) BridgedToken(opts *bind.CallOpts) (common.Address, error)
BridgedToken is a free data retrieval call binding the contract method 0xee383937.
Solidity: function bridgedToken() view returns(address)
func (*HopL2CctpImplementationCaller) Cctp ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) 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 (*HopL2CctpImplementationCaller) DestinationDomains ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) 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 (*HopL2CctpImplementationCaller) FeeCollectorAddress ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) 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 (*HopL2CctpImplementationCaller) MinBonderFee ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) 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 (*HopL2CctpImplementationCaller) NativeToken ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCaller) 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 HopL2CctpImplementationCallerRaw ¶
type HopL2CctpImplementationCallerRaw struct {
Contract *HopL2CctpImplementationCaller // Generic read-only contract binding to access the raw methods on
}
HopL2CctpImplementationCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HopL2CctpImplementationCallerRaw) Call ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerRaw) 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 HopL2CctpImplementationCallerSession ¶
type HopL2CctpImplementationCallerSession struct { Contract *HopL2CctpImplementationCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HopL2CctpImplementationCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HopL2CctpImplementationCallerSession) ActiveChainIds ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) 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 (*HopL2CctpImplementationCallerSession) Amm ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) Amm() (common.Address, error)
Amm is a free data retrieval call binding the contract method 0x2a943945.
Solidity: function amm() view returns(address)
func (*HopL2CctpImplementationCallerSession) BridgedToken ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) BridgedToken() (common.Address, error)
BridgedToken is a free data retrieval call binding the contract method 0xee383937.
Solidity: function bridgedToken() view returns(address)
func (*HopL2CctpImplementationCallerSession) Cctp ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) Cctp() (common.Address, error)
Cctp is a free data retrieval call binding the contract method 0xe3329e32.
Solidity: function cctp() view returns(address)
func (*HopL2CctpImplementationCallerSession) DestinationDomains ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) 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 (*HopL2CctpImplementationCallerSession) FeeCollectorAddress ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) FeeCollectorAddress() (common.Address, error)
FeeCollectorAddress is a free data retrieval call binding the contract method 0xf108e225.
Solidity: function feeCollectorAddress() view returns(address)
func (*HopL2CctpImplementationCallerSession) MinBonderFee ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) MinBonderFee() (*big.Int, error)
MinBonderFee is a free data retrieval call binding the contract method 0x50fc2401.
Solidity: function minBonderFee() view returns(uint256)
func (*HopL2CctpImplementationCallerSession) NativeToken ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationCallerSession) NativeToken() (common.Address, error)
NativeToken is a free data retrieval call binding the contract method 0xe1758bd8.
Solidity: function nativeToken() view returns(address)
type HopL2CctpImplementationFilterer ¶
type HopL2CctpImplementationFilterer struct {
// contains filtered or unexported fields
}
HopL2CctpImplementationFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHopL2CctpImplementationFilterer ¶
func NewHopL2CctpImplementationFilterer(address common.Address, filterer bind.ContractFilterer) (*HopL2CctpImplementationFilterer, error)
NewHopL2CctpImplementationFilterer creates a new log filterer instance of HopL2CctpImplementation, bound to a specific deployed contract.
func (*HopL2CctpImplementationFilterer) FilterCCTPTransferSent ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationFilterer) FilterCCTPTransferSent(opts *bind.FilterOpts, cctpNonce []uint64, chainId []*big.Int, recipient []common.Address) (*HopL2CctpImplementationCCTPTransferSentIterator, 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 (*HopL2CctpImplementationFilterer) ParseCCTPTransferSent ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationFilterer) ParseCCTPTransferSent(log types.Log) (*HopL2CctpImplementationCCTPTransferSent, 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 (*HopL2CctpImplementationFilterer) WatchCCTPTransferSent ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationFilterer) WatchCCTPTransferSent(opts *bind.WatchOpts, sink chan<- *HopL2CctpImplementationCCTPTransferSent, 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 HopL2CctpImplementationRaw ¶
type HopL2CctpImplementationRaw struct {
Contract *HopL2CctpImplementation // Generic contract binding to access the raw methods on
}
HopL2CctpImplementationRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HopL2CctpImplementationRaw) Call ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationRaw) 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 (*HopL2CctpImplementationRaw) Transact ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopL2CctpImplementationRaw) Transfer ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationRaw) 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 HopL2CctpImplementationSession ¶
type HopL2CctpImplementationSession struct { Contract *HopL2CctpImplementation // 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 }
HopL2CctpImplementationSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HopL2CctpImplementationSession) ActiveChainIds ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) 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 (*HopL2CctpImplementationSession) Amm ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) Amm() (common.Address, error)
Amm is a free data retrieval call binding the contract method 0x2a943945.
Solidity: function amm() view returns(address)
func (*HopL2CctpImplementationSession) BridgedToken ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) BridgedToken() (common.Address, error)
BridgedToken is a free data retrieval call binding the contract method 0xee383937.
Solidity: function bridgedToken() view returns(address)
func (*HopL2CctpImplementationSession) Cctp ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) Cctp() (common.Address, error)
Cctp is a free data retrieval call binding the contract method 0xe3329e32.
Solidity: function cctp() view returns(address)
func (*HopL2CctpImplementationSession) DestinationDomains ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) 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 (*HopL2CctpImplementationSession) FeeCollectorAddress ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) FeeCollectorAddress() (common.Address, error)
FeeCollectorAddress is a free data retrieval call binding the contract method 0xf108e225.
Solidity: function feeCollectorAddress() view returns(address)
func (*HopL2CctpImplementationSession) MinBonderFee ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) MinBonderFee() (*big.Int, error)
MinBonderFee is a free data retrieval call binding the contract method 0x50fc2401.
Solidity: function minBonderFee() view returns(uint256)
func (*HopL2CctpImplementationSession) NativeToken ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) NativeToken() (common.Address, error)
NativeToken is a free data retrieval call binding the contract method 0xe1758bd8.
Solidity: function nativeToken() view returns(address)
func (*HopL2CctpImplementationSession) Send ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) 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()
func (*HopL2CctpImplementationSession) SwapAndSend ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationSession) SwapAndSend(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, swapParams IAMMExactInputParams) (*types.Transaction, error)
SwapAndSend is a paid mutator transaction binding the contract method 0x070d46e4.
Solidity: function swapAndSend(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, (bytes,address,uint256,uint256) swapParams) returns()
type HopL2CctpImplementationTransactor ¶
type HopL2CctpImplementationTransactor struct {
// contains filtered or unexported fields
}
HopL2CctpImplementationTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHopL2CctpImplementationTransactor ¶
func NewHopL2CctpImplementationTransactor(address common.Address, transactor bind.ContractTransactor) (*HopL2CctpImplementationTransactor, error)
NewHopL2CctpImplementationTransactor creates a new write-only instance of HopL2CctpImplementation, bound to a specific deployed contract.
func (*HopL2CctpImplementationTransactor) Send ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationTransactor) 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()
func (*HopL2CctpImplementationTransactor) SwapAndSend ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationTransactor) SwapAndSend(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, swapParams IAMMExactInputParams) (*types.Transaction, error)
SwapAndSend is a paid mutator transaction binding the contract method 0x070d46e4.
Solidity: function swapAndSend(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, (bytes,address,uint256,uint256) swapParams) returns()
type HopL2CctpImplementationTransactorRaw ¶
type HopL2CctpImplementationTransactorRaw struct {
Contract *HopL2CctpImplementationTransactor // Generic write-only contract binding to access the raw methods on
}
HopL2CctpImplementationTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HopL2CctpImplementationTransactorRaw) Transact ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HopL2CctpImplementationTransactorRaw) Transfer ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationTransactorRaw) 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 HopL2CctpImplementationTransactorSession ¶
type HopL2CctpImplementationTransactorSession struct { Contract *HopL2CctpImplementationTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HopL2CctpImplementationTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HopL2CctpImplementationTransactorSession) Send ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationTransactorSession) 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()
func (*HopL2CctpImplementationTransactorSession) SwapAndSend ¶
func (_HopL2CctpImplementation *HopL2CctpImplementationTransactorSession) SwapAndSend(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, swapParams IAMMExactInputParams) (*types.Transaction, error)
SwapAndSend is a paid mutator transaction binding the contract method 0x070d46e4.
Solidity: function swapAndSend(uint256 chainId, address recipient, uint256 amount, uint256 bonderFee, (bytes,address,uint256,uint256) swapParams) returns()