contracts

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BeaconDepositABI = "" /* 1613-byte string literal not displayed */

BeaconDepositABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconDeposit

type BeaconDeposit struct {
	BeaconDepositCaller     // Read-only binding to the contract
	BeaconDepositTransactor // Write-only binding to the contract
	BeaconDepositFilterer   // Log filterer for contract events
}

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

func NewBeaconDeposit

func NewBeaconDeposit(address common.Address, backend bind.ContractBackend) (*BeaconDeposit, error)

NewBeaconDeposit creates a new instance of BeaconDeposit, bound to a specific deployed contract.

type BeaconDepositCaller

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

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

func NewBeaconDepositCaller

func NewBeaconDepositCaller(address common.Address, caller bind.ContractCaller) (*BeaconDepositCaller, error)

NewBeaconDepositCaller creates a new read-only instance of BeaconDeposit, bound to a specific deployed contract.

func (*BeaconDepositCaller) GetDepositCount

func (_BeaconDeposit *BeaconDepositCaller) GetDepositCount(opts *bind.CallOpts) ([]byte, error)

GetDepositCount is a free data retrieval call binding the contract method 0x621fd130.

Solidity: function get_deposit_count() view returns(bytes)

func (*BeaconDepositCaller) GetDepositRoot

func (_BeaconDeposit *BeaconDepositCaller) GetDepositRoot(opts *bind.CallOpts) ([32]byte, error)

GetDepositRoot is a free data retrieval call binding the contract method 0xc5f2892f.

Solidity: function get_deposit_root() view returns(bytes32)

func (*BeaconDepositCaller) SupportsInterface

func (_BeaconDeposit *BeaconDepositCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

type BeaconDepositCallerRaw

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

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

func (*BeaconDepositCallerRaw) Call

func (_BeaconDeposit *BeaconDepositCallerRaw) 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 BeaconDepositCallerSession

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

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

func (*BeaconDepositCallerSession) GetDepositCount

func (_BeaconDeposit *BeaconDepositCallerSession) GetDepositCount() ([]byte, error)

GetDepositCount is a free data retrieval call binding the contract method 0x621fd130.

Solidity: function get_deposit_count() view returns(bytes)

func (*BeaconDepositCallerSession) GetDepositRoot

func (_BeaconDeposit *BeaconDepositCallerSession) GetDepositRoot() ([32]byte, error)

GetDepositRoot is a free data retrieval call binding the contract method 0xc5f2892f.

Solidity: function get_deposit_root() view returns(bytes32)

func (*BeaconDepositCallerSession) SupportsInterface

func (_BeaconDeposit *BeaconDepositCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

type BeaconDepositDepositEvent

type BeaconDepositDepositEvent struct {
	Pubkey                []byte
	WithdrawalCredentials []byte
	Amount                []byte
	Signature             []byte
	Index                 []byte
	Raw                   types.Log // Blockchain specific contextual infos
}

BeaconDepositDepositEvent represents a DepositEvent event raised by the BeaconDeposit contract.

type BeaconDepositDepositEventIterator

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

BeaconDepositDepositEventIterator is returned from FilterDepositEvent and is used to iterate over the raw logs and unpacked data for DepositEvent events raised by the BeaconDeposit contract.

func (*BeaconDepositDepositEventIterator) Close

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

func (*BeaconDepositDepositEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BeaconDepositDepositEventIterator) 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 BeaconDepositFilterer

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

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

func NewBeaconDepositFilterer

func NewBeaconDepositFilterer(address common.Address, filterer bind.ContractFilterer) (*BeaconDepositFilterer, error)

NewBeaconDepositFilterer creates a new log filterer instance of BeaconDeposit, bound to a specific deployed contract.

func (*BeaconDepositFilterer) FilterDepositEvent

func (_BeaconDeposit *BeaconDepositFilterer) FilterDepositEvent(opts *bind.FilterOpts) (*BeaconDepositDepositEventIterator, error)

FilterDepositEvent is a free log retrieval operation binding the contract event 0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5.

Solidity: event DepositEvent(bytes pubkey, bytes withdrawal_credentials, bytes amount, bytes signature, bytes index)

func (*BeaconDepositFilterer) ParseDepositEvent

func (_BeaconDeposit *BeaconDepositFilterer) ParseDepositEvent(log types.Log) (*BeaconDepositDepositEvent, error)

ParseDepositEvent is a log parse operation binding the contract event 0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5.

Solidity: event DepositEvent(bytes pubkey, bytes withdrawal_credentials, bytes amount, bytes signature, bytes index)

func (*BeaconDepositFilterer) WatchDepositEvent

func (_BeaconDeposit *BeaconDepositFilterer) WatchDepositEvent(opts *bind.WatchOpts, sink chan<- *BeaconDepositDepositEvent) (event.Subscription, error)

WatchDepositEvent is a free log subscription operation binding the contract event 0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5.

Solidity: event DepositEvent(bytes pubkey, bytes withdrawal_credentials, bytes amount, bytes signature, bytes index)

type BeaconDepositRaw

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

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

func (*BeaconDepositRaw) Call

func (_BeaconDeposit *BeaconDepositRaw) 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 (*BeaconDepositRaw) Transact

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

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

func (*BeaconDepositRaw) Transfer

func (_BeaconDeposit *BeaconDepositRaw) 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 BeaconDepositSession

type BeaconDepositSession struct {
	Contract     *BeaconDeposit    // 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
}

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

func (*BeaconDepositSession) Deposit

func (_BeaconDeposit *BeaconDepositSession) Deposit(pubkey []byte, withdrawal_credentials []byte, signature []byte, deposit_data_root [32]byte) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x22895118.

Solidity: function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable returns()

func (*BeaconDepositSession) GetDepositCount

func (_BeaconDeposit *BeaconDepositSession) GetDepositCount() ([]byte, error)

GetDepositCount is a free data retrieval call binding the contract method 0x621fd130.

Solidity: function get_deposit_count() view returns(bytes)

func (*BeaconDepositSession) GetDepositRoot

func (_BeaconDeposit *BeaconDepositSession) GetDepositRoot() ([32]byte, error)

GetDepositRoot is a free data retrieval call binding the contract method 0xc5f2892f.

Solidity: function get_deposit_root() view returns(bytes32)

func (*BeaconDepositSession) SupportsInterface

func (_BeaconDeposit *BeaconDepositSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) pure returns(bool)

type BeaconDepositTransactor

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

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

func NewBeaconDepositTransactor

func NewBeaconDepositTransactor(address common.Address, transactor bind.ContractTransactor) (*BeaconDepositTransactor, error)

NewBeaconDepositTransactor creates a new write-only instance of BeaconDeposit, bound to a specific deployed contract.

func (*BeaconDepositTransactor) Deposit

func (_BeaconDeposit *BeaconDepositTransactor) Deposit(opts *bind.TransactOpts, pubkey []byte, withdrawal_credentials []byte, signature []byte, deposit_data_root [32]byte) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x22895118.

Solidity: function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable returns()

type BeaconDepositTransactorRaw

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

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

func (*BeaconDepositTransactorRaw) Transact

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

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

func (*BeaconDepositTransactorRaw) Transfer

func (_BeaconDeposit *BeaconDepositTransactorRaw) 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 BeaconDepositTransactorSession

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

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

func (*BeaconDepositTransactorSession) Deposit

func (_BeaconDeposit *BeaconDepositTransactorSession) Deposit(pubkey []byte, withdrawal_credentials []byte, signature []byte, deposit_data_root [32]byte) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x22895118.

Solidity: function deposit(bytes pubkey, bytes withdrawal_credentials, bytes signature, bytes32 deposit_data_root) payable returns()

Jump to

Keyboard shortcuts

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