venus

package
v4.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VenusABI = VenusMetaData.ABI

VenusABI is the input ABI used to generate the binding from. Deprecated: Use VenusMetaData.ABI instead.

View Source
var VenusMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_prover\",\"type\":\"address\",\"internalType\":\"contractICrossL2Prover\"},{\"name\":\"_chainId\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"chainId\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastReceivedTransmission\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"prover\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractICrossL2Prover\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"receiveEvent\",\"inputs\":[{\"name\":\"logIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"expectedEmitter\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"expectedTopics\",\"type\":\"bytes[]\",\"internalType\":\"bytes[]\"},{\"name\":\"expectedUnindexedData\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"receiveReceipt\",\"inputs\":[{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"receiveTransmissionEvent\",\"inputs\":[{\"name\":\"logIndex\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"proof\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"expectedEmitter\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"SuccessfulReceipt\",\"inputs\":[{\"name\":\"srcChainId\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"receiptRLP\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TransmissionReceived\",\"inputs\":[{\"name\":\"message\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TransmitToHouston\",\"inputs\":[{\"name\":\"message\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"},{\"name\":\"timestamp\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"ValidCounterpartyEvent\",\"inputs\":[{\"name\":\"counterParty\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"topics\",\"type\":\"bytes[]\",\"indexed\":false,\"internalType\":\"bytes[]\"},{\"name\":\"unindexed\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"invalidChainId\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"invalidCounterpartyEvent\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"invalidEventProof\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"invalidEventSender\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"invalidProverAddress\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"invalidReceiptProof\",\"inputs\":[]}]",
}

VenusMetaData contains all meta data concerning the Venus contract.

Functions

This section is empty.

Types

type Venus

type Venus struct {
	VenusCaller     // Read-only binding to the contract
	VenusTransactor // Write-only binding to the contract
	VenusFilterer   // Log filterer for contract events
}

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

func NewVenus

func NewVenus(address common.Address, backend bind.ContractBackend) (*Venus, error)

NewVenus creates a new instance of Venus, bound to a specific deployed contract.

type VenusCaller

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

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

func NewVenusCaller

func NewVenusCaller(address common.Address, caller bind.ContractCaller) (*VenusCaller, error)

NewVenusCaller creates a new read-only instance of Venus, bound to a specific deployed contract.

func (*VenusCaller) ChainId added in v4.0.17

func (_Venus *VenusCaller) ChainId(opts *bind.CallOpts) (string, error)

ChainId is a free data retrieval call binding the contract method 0x9a8a0592.

Solidity: function chainId() view returns(string)

func (*VenusCaller) LastReceivedTransmission added in v4.0.17

func (_Venus *VenusCaller) LastReceivedTransmission(opts *bind.CallOpts) ([32]byte, error)

LastReceivedTransmission is a free data retrieval call binding the contract method 0xe03d0aac.

Solidity: function lastReceivedTransmission() view returns(bytes32)

func (*VenusCaller) Prover

func (_Venus *VenusCaller) Prover(opts *bind.CallOpts) (common.Address, error)

Prover is a free data retrieval call binding the contract method 0x32a8f30f.

Solidity: function prover() view returns(address)

type VenusCallerRaw

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

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

func (*VenusCallerRaw) Call

func (_Venus *VenusCallerRaw) 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 VenusCallerSession

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

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

func (*VenusCallerSession) ChainId added in v4.0.17

func (_Venus *VenusCallerSession) ChainId() (string, error)

ChainId is a free data retrieval call binding the contract method 0x9a8a0592.

Solidity: function chainId() view returns(string)

func (*VenusCallerSession) LastReceivedTransmission added in v4.0.17

func (_Venus *VenusCallerSession) LastReceivedTransmission() ([32]byte, error)

LastReceivedTransmission is a free data retrieval call binding the contract method 0xe03d0aac.

Solidity: function lastReceivedTransmission() view returns(bytes32)

func (*VenusCallerSession) Prover

func (_Venus *VenusCallerSession) Prover() (common.Address, error)

Prover is a free data retrieval call binding the contract method 0x32a8f30f.

Solidity: function prover() view returns(address)

type VenusFilterer

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

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

func NewVenusFilterer

func NewVenusFilterer(address common.Address, filterer bind.ContractFilterer) (*VenusFilterer, error)

NewVenusFilterer creates a new log filterer instance of Venus, bound to a specific deployed contract.

func (*VenusFilterer) FilterSuccessfulReceipt

func (_Venus *VenusFilterer) FilterSuccessfulReceipt(opts *bind.FilterOpts) (*VenusSuccessfulReceiptIterator, error)

FilterSuccessfulReceipt is a free log retrieval operation binding the contract event 0x4d68957cde09c265c835fd8796e533a4b8208f6f1ba94b0ac437ad860cfe9a4d.

Solidity: event SuccessfulReceipt(string srcChainId, bytes receiptRLP)

func (*VenusFilterer) FilterTransmissionReceived added in v4.0.17

func (_Venus *VenusFilterer) FilterTransmissionReceived(opts *bind.FilterOpts) (*VenusTransmissionReceivedIterator, error)

FilterTransmissionReceived is a free log retrieval operation binding the contract event 0x777932fb4709c8bfb29f9190e22e536eaf00fd97a76a15a41b54e1b619fe5863.

Solidity: event TransmissionReceived(bytes32 message, uint64 timestamp)

func (*VenusFilterer) FilterTransmitToHouston added in v4.0.17

func (_Venus *VenusFilterer) FilterTransmitToHouston(opts *bind.FilterOpts) (*VenusTransmitToHoustonIterator, error)

FilterTransmitToHouston is a free log retrieval operation binding the contract event 0xc134cee5dddcc539de40a587edc2d37fb04e8ec090cb8dcf8ef0c9b23d41908d.

Solidity: event TransmitToHouston(bytes32 message, uint64 timestamp)

func (*VenusFilterer) FilterValidCounterpartyEvent added in v4.0.17

func (_Venus *VenusFilterer) FilterValidCounterpartyEvent(opts *bind.FilterOpts) (*VenusValidCounterpartyEventIterator, error)

FilterValidCounterpartyEvent is a free log retrieval operation binding the contract event 0xe683aa4424de0611da9ae18b5fc355ae68fc1dca14a14c5d7e2ad9ba3711d446.

Solidity: event ValidCounterpartyEvent(address counterParty, bytes[] topics, bytes unindexed)

func (*VenusFilterer) ParseSuccessfulReceipt

func (_Venus *VenusFilterer) ParseSuccessfulReceipt(log types.Log) (*VenusSuccessfulReceipt, error)

ParseSuccessfulReceipt is a log parse operation binding the contract event 0x4d68957cde09c265c835fd8796e533a4b8208f6f1ba94b0ac437ad860cfe9a4d.

Solidity: event SuccessfulReceipt(string srcChainId, bytes receiptRLP)

func (*VenusFilterer) ParseTransmissionReceived added in v4.0.17

func (_Venus *VenusFilterer) ParseTransmissionReceived(log types.Log) (*VenusTransmissionReceived, error)

ParseTransmissionReceived is a log parse operation binding the contract event 0x777932fb4709c8bfb29f9190e22e536eaf00fd97a76a15a41b54e1b619fe5863.

Solidity: event TransmissionReceived(bytes32 message, uint64 timestamp)

func (*VenusFilterer) ParseTransmitToHouston added in v4.0.17

func (_Venus *VenusFilterer) ParseTransmitToHouston(log types.Log) (*VenusTransmitToHouston, error)

ParseTransmitToHouston is a log parse operation binding the contract event 0xc134cee5dddcc539de40a587edc2d37fb04e8ec090cb8dcf8ef0c9b23d41908d.

Solidity: event TransmitToHouston(bytes32 message, uint64 timestamp)

func (*VenusFilterer) ParseValidCounterpartyEvent added in v4.0.17

func (_Venus *VenusFilterer) ParseValidCounterpartyEvent(log types.Log) (*VenusValidCounterpartyEvent, error)

ParseValidCounterpartyEvent is a log parse operation binding the contract event 0xe683aa4424de0611da9ae18b5fc355ae68fc1dca14a14c5d7e2ad9ba3711d446.

Solidity: event ValidCounterpartyEvent(address counterParty, bytes[] topics, bytes unindexed)

func (*VenusFilterer) WatchSuccessfulReceipt

func (_Venus *VenusFilterer) WatchSuccessfulReceipt(opts *bind.WatchOpts, sink chan<- *VenusSuccessfulReceipt) (event.Subscription, error)

WatchSuccessfulReceipt is a free log subscription operation binding the contract event 0x4d68957cde09c265c835fd8796e533a4b8208f6f1ba94b0ac437ad860cfe9a4d.

Solidity: event SuccessfulReceipt(string srcChainId, bytes receiptRLP)

func (*VenusFilterer) WatchTransmissionReceived added in v4.0.17

func (_Venus *VenusFilterer) WatchTransmissionReceived(opts *bind.WatchOpts, sink chan<- *VenusTransmissionReceived) (event.Subscription, error)

WatchTransmissionReceived is a free log subscription operation binding the contract event 0x777932fb4709c8bfb29f9190e22e536eaf00fd97a76a15a41b54e1b619fe5863.

Solidity: event TransmissionReceived(bytes32 message, uint64 timestamp)

func (*VenusFilterer) WatchTransmitToHouston added in v4.0.17

func (_Venus *VenusFilterer) WatchTransmitToHouston(opts *bind.WatchOpts, sink chan<- *VenusTransmitToHouston) (event.Subscription, error)

WatchTransmitToHouston is a free log subscription operation binding the contract event 0xc134cee5dddcc539de40a587edc2d37fb04e8ec090cb8dcf8ef0c9b23d41908d.

Solidity: event TransmitToHouston(bytes32 message, uint64 timestamp)

func (*VenusFilterer) WatchValidCounterpartyEvent added in v4.0.17

func (_Venus *VenusFilterer) WatchValidCounterpartyEvent(opts *bind.WatchOpts, sink chan<- *VenusValidCounterpartyEvent) (event.Subscription, error)

WatchValidCounterpartyEvent is a free log subscription operation binding the contract event 0xe683aa4424de0611da9ae18b5fc355ae68fc1dca14a14c5d7e2ad9ba3711d446.

Solidity: event ValidCounterpartyEvent(address counterParty, bytes[] topics, bytes unindexed)

type VenusRaw

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

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

func (*VenusRaw) Call

func (_Venus *VenusRaw) 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 (*VenusRaw) Transact

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

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

func (*VenusRaw) Transfer

func (_Venus *VenusRaw) 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 VenusSession

type VenusSession struct {
	Contract     *Venus            // 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
}

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

func (*VenusSession) ChainId added in v4.0.17

func (_Venus *VenusSession) ChainId() (string, error)

ChainId is a free data retrieval call binding the contract method 0x9a8a0592.

Solidity: function chainId() view returns(string)

func (*VenusSession) LastReceivedTransmission added in v4.0.17

func (_Venus *VenusSession) LastReceivedTransmission() ([32]byte, error)

LastReceivedTransmission is a free data retrieval call binding the contract method 0xe03d0aac.

Solidity: function lastReceivedTransmission() view returns(bytes32)

func (*VenusSession) Prover

func (_Venus *VenusSession) Prover() (common.Address, error)

Prover is a free data retrieval call binding the contract method 0x32a8f30f.

Solidity: function prover() view returns(address)

func (*VenusSession) ReceiveEvent

func (_Venus *VenusSession) ReceiveEvent(logIndex *big.Int, proof []byte, expectedEmitter common.Address, expectedTopics [][]byte, expectedUnindexedData []byte) (*types.Transaction, error)

ReceiveEvent is a paid mutator transaction binding the contract method 0x932e6cb2.

Solidity: function receiveEvent(uint256 logIndex, bytes proof, address expectedEmitter, bytes[] expectedTopics, bytes expectedUnindexedData) returns()

func (*VenusSession) ReceiveReceipt

func (_Venus *VenusSession) ReceiveReceipt(proof []byte) (*types.Transaction, error)

ReceiveReceipt is a paid mutator transaction binding the contract method 0x273533e1.

Solidity: function receiveReceipt(bytes proof) returns()

func (*VenusSession) ReceiveTransmissionEvent added in v4.0.17

func (_Venus *VenusSession) ReceiveTransmissionEvent(logIndex *big.Int, proof []byte, expectedEmitter common.Address) (*types.Transaction, error)

ReceiveTransmissionEvent is a paid mutator transaction binding the contract method 0x19e819af.

Solidity: function receiveTransmissionEvent(uint256 logIndex, bytes proof, address expectedEmitter) returns()

type VenusSuccessfulReceipt

type VenusSuccessfulReceipt struct {
	SrcChainId string
	ReceiptRLP []byte
	Raw        types.Log // Blockchain specific contextual infos
}

VenusSuccessfulReceipt represents a SuccessfulReceipt event raised by the Venus contract.

type VenusSuccessfulReceiptIterator

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

VenusSuccessfulReceiptIterator is returned from FilterSuccessfulReceipt and is used to iterate over the raw logs and unpacked data for SuccessfulReceipt events raised by the Venus contract.

func (*VenusSuccessfulReceiptIterator) Close

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

func (*VenusSuccessfulReceiptIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusSuccessfulReceiptIterator) 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 VenusTransactor

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

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

func NewVenusTransactor

func NewVenusTransactor(address common.Address, transactor bind.ContractTransactor) (*VenusTransactor, error)

NewVenusTransactor creates a new write-only instance of Venus, bound to a specific deployed contract.

func (*VenusTransactor) ReceiveEvent

func (_Venus *VenusTransactor) ReceiveEvent(opts *bind.TransactOpts, logIndex *big.Int, proof []byte, expectedEmitter common.Address, expectedTopics [][]byte, expectedUnindexedData []byte) (*types.Transaction, error)

ReceiveEvent is a paid mutator transaction binding the contract method 0x932e6cb2.

Solidity: function receiveEvent(uint256 logIndex, bytes proof, address expectedEmitter, bytes[] expectedTopics, bytes expectedUnindexedData) returns()

func (*VenusTransactor) ReceiveReceipt

func (_Venus *VenusTransactor) ReceiveReceipt(opts *bind.TransactOpts, proof []byte) (*types.Transaction, error)

ReceiveReceipt is a paid mutator transaction binding the contract method 0x273533e1.

Solidity: function receiveReceipt(bytes proof) returns()

func (*VenusTransactor) ReceiveTransmissionEvent added in v4.0.17

func (_Venus *VenusTransactor) ReceiveTransmissionEvent(opts *bind.TransactOpts, logIndex *big.Int, proof []byte, expectedEmitter common.Address) (*types.Transaction, error)

ReceiveTransmissionEvent is a paid mutator transaction binding the contract method 0x19e819af.

Solidity: function receiveTransmissionEvent(uint256 logIndex, bytes proof, address expectedEmitter) returns()

type VenusTransactorRaw

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

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

func (*VenusTransactorRaw) Transact

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

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

func (*VenusTransactorRaw) Transfer

func (_Venus *VenusTransactorRaw) 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 VenusTransactorSession

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

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

func (*VenusTransactorSession) ReceiveEvent

func (_Venus *VenusTransactorSession) ReceiveEvent(logIndex *big.Int, proof []byte, expectedEmitter common.Address, expectedTopics [][]byte, expectedUnindexedData []byte) (*types.Transaction, error)

ReceiveEvent is a paid mutator transaction binding the contract method 0x932e6cb2.

Solidity: function receiveEvent(uint256 logIndex, bytes proof, address expectedEmitter, bytes[] expectedTopics, bytes expectedUnindexedData) returns()

func (*VenusTransactorSession) ReceiveReceipt

func (_Venus *VenusTransactorSession) ReceiveReceipt(proof []byte) (*types.Transaction, error)

ReceiveReceipt is a paid mutator transaction binding the contract method 0x273533e1.

Solidity: function receiveReceipt(bytes proof) returns()

func (*VenusTransactorSession) ReceiveTransmissionEvent added in v4.0.17

func (_Venus *VenusTransactorSession) ReceiveTransmissionEvent(logIndex *big.Int, proof []byte, expectedEmitter common.Address) (*types.Transaction, error)

ReceiveTransmissionEvent is a paid mutator transaction binding the contract method 0x19e819af.

Solidity: function receiveTransmissionEvent(uint256 logIndex, bytes proof, address expectedEmitter) returns()

type VenusTransmissionReceived added in v4.0.17

type VenusTransmissionReceived struct {
	Message   [32]byte
	Timestamp uint64
	Raw       types.Log // Blockchain specific contextual infos
}

VenusTransmissionReceived represents a TransmissionReceived event raised by the Venus contract.

type VenusTransmissionReceivedIterator added in v4.0.17

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

VenusTransmissionReceivedIterator is returned from FilterTransmissionReceived and is used to iterate over the raw logs and unpacked data for TransmissionReceived events raised by the Venus contract.

func (*VenusTransmissionReceivedIterator) Close added in v4.0.17

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

func (*VenusTransmissionReceivedIterator) Error added in v4.0.17

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTransmissionReceivedIterator) Next added in v4.0.17

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 VenusTransmitToHouston added in v4.0.17

type VenusTransmitToHouston struct {
	Message   [32]byte
	Timestamp uint64
	Raw       types.Log // Blockchain specific contextual infos
}

VenusTransmitToHouston represents a TransmitToHouston event raised by the Venus contract.

type VenusTransmitToHoustonIterator added in v4.0.17

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

VenusTransmitToHoustonIterator is returned from FilterTransmitToHouston and is used to iterate over the raw logs and unpacked data for TransmitToHouston events raised by the Venus contract.

func (*VenusTransmitToHoustonIterator) Close added in v4.0.17

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

func (*VenusTransmitToHoustonIterator) Error added in v4.0.17

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusTransmitToHoustonIterator) Next added in v4.0.17

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 VenusValidCounterpartyEvent added in v4.0.17

type VenusValidCounterpartyEvent struct {
	CounterParty common.Address
	Topics       [][]byte
	Unindexed    []byte
	Raw          types.Log // Blockchain specific contextual infos
}

VenusValidCounterpartyEvent represents a ValidCounterpartyEvent event raised by the Venus contract.

type VenusValidCounterpartyEventIterator added in v4.0.17

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

VenusValidCounterpartyEventIterator is returned from FilterValidCounterpartyEvent and is used to iterate over the raw logs and unpacked data for ValidCounterpartyEvent events raised by the Venus contract.

func (*VenusValidCounterpartyEventIterator) Close added in v4.0.17

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

func (*VenusValidCounterpartyEventIterator) Error added in v4.0.17

Error returns any retrieval or parsing error occurred during filtering.

func (*VenusValidCounterpartyEventIterator) Next added in v4.0.17

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.

Jump to

Keyboard shortcuts

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