depositor

package
v0.0.0-...-789e074 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DepositorABI = DepositorMetaData.ABI

DepositorABI is the input ABI used to generate the binding from. Deprecated: Use DepositorMetaData.ABI instead.

View Source
var DepositorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"mainnet\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"depositContract_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nodesAmount\",\"type\":\"uint256\"}],\"name\":\"DepositEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"collateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"credentialsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"pubkeys\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes[]\",\"name\":\"withdrawal_credentials\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes[]\",\"name\":\"signatures\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"deposit_data_roots\",\"type\":\"bytes32[]\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositContract\",\"outputs\":[{\"internalType\":\"contractIDepositContract\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodesMaxAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodesMinAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pubkeyLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signatureLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

DepositorMetaData contains all meta data concerning the Depositor contract.

Functions

This section is empty.

Types

type Depositor

type Depositor struct {
	DepositorCaller     // Read-only binding to the contract
	DepositorTransactor // Write-only binding to the contract
	DepositorFilterer   // Log filterer for contract events
}

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

func NewDepositor

func NewDepositor(address common.Address, backend bind.ContractBackend) (*Depositor, error)

NewDepositor creates a new instance of Depositor, bound to a specific deployed contract.

type DepositorCaller

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

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

func NewDepositorCaller

func NewDepositorCaller(address common.Address, caller bind.ContractCaller) (*DepositorCaller, error)

NewDepositorCaller creates a new read-only instance of Depositor, bound to a specific deployed contract.

func (*DepositorCaller) Collateral

func (_Depositor *DepositorCaller) Collateral(opts *bind.CallOpts) (*big.Int, error)

Collateral is a free data retrieval call binding the contract method 0xd8dfeb45.

Solidity: function collateral() view returns(uint256)

func (*DepositorCaller) CredentialsLength

func (_Depositor *DepositorCaller) CredentialsLength(opts *bind.CallOpts) (*big.Int, error)

CredentialsLength is a free data retrieval call binding the contract method 0xa5ab1d31.

Solidity: function credentialsLength() view returns(uint256)

func (*DepositorCaller) DepositContract

func (_Depositor *DepositorCaller) DepositContract(opts *bind.CallOpts) (common.Address, error)

DepositContract is a free data retrieval call binding the contract method 0xe94ad65b.

Solidity: function depositContract() view returns(address)

func (*DepositorCaller) NodesMaxAmount

func (_Depositor *DepositorCaller) NodesMaxAmount(opts *bind.CallOpts) (*big.Int, error)

NodesMaxAmount is a free data retrieval call binding the contract method 0x43ba591d.

Solidity: function nodesMaxAmount() view returns(uint256)

func (*DepositorCaller) NodesMinAmount

func (_Depositor *DepositorCaller) NodesMinAmount(opts *bind.CallOpts) (*big.Int, error)

NodesMinAmount is a free data retrieval call binding the contract method 0xf4fbdfac.

Solidity: function nodesMinAmount() view returns(uint256)

func (*DepositorCaller) Owner

func (_Depositor *DepositorCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DepositorCaller) Paused

func (_Depositor *DepositorCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*DepositorCaller) PubkeyLength

func (_Depositor *DepositorCaller) PubkeyLength(opts *bind.CallOpts) (*big.Int, error)

PubkeyLength is a free data retrieval call binding the contract method 0x4903e8be.

Solidity: function pubkeyLength() view returns(uint256)

func (*DepositorCaller) SignatureLength

func (_Depositor *DepositorCaller) SignatureLength(opts *bind.CallOpts) (*big.Int, error)

SignatureLength is a free data retrieval call binding the contract method 0x1b9a9323.

Solidity: function signatureLength() view returns(uint256)

type DepositorCallerRaw

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

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

func (*DepositorCallerRaw) Call

func (_Depositor *DepositorCallerRaw) 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 DepositorCallerSession

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

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

func (*DepositorCallerSession) Collateral

func (_Depositor *DepositorCallerSession) Collateral() (*big.Int, error)

Collateral is a free data retrieval call binding the contract method 0xd8dfeb45.

Solidity: function collateral() view returns(uint256)

func (*DepositorCallerSession) CredentialsLength

func (_Depositor *DepositorCallerSession) CredentialsLength() (*big.Int, error)

CredentialsLength is a free data retrieval call binding the contract method 0xa5ab1d31.

Solidity: function credentialsLength() view returns(uint256)

func (*DepositorCallerSession) DepositContract

func (_Depositor *DepositorCallerSession) DepositContract() (common.Address, error)

DepositContract is a free data retrieval call binding the contract method 0xe94ad65b.

Solidity: function depositContract() view returns(address)

func (*DepositorCallerSession) NodesMaxAmount

func (_Depositor *DepositorCallerSession) NodesMaxAmount() (*big.Int, error)

NodesMaxAmount is a free data retrieval call binding the contract method 0x43ba591d.

Solidity: function nodesMaxAmount() view returns(uint256)

func (*DepositorCallerSession) NodesMinAmount

func (_Depositor *DepositorCallerSession) NodesMinAmount() (*big.Int, error)

NodesMinAmount is a free data retrieval call binding the contract method 0xf4fbdfac.

Solidity: function nodesMinAmount() view returns(uint256)

func (*DepositorCallerSession) Owner

func (_Depositor *DepositorCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DepositorCallerSession) Paused

func (_Depositor *DepositorCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*DepositorCallerSession) PubkeyLength

func (_Depositor *DepositorCallerSession) PubkeyLength() (*big.Int, error)

PubkeyLength is a free data retrieval call binding the contract method 0x4903e8be.

Solidity: function pubkeyLength() view returns(uint256)

func (*DepositorCallerSession) SignatureLength

func (_Depositor *DepositorCallerSession) SignatureLength() (*big.Int, error)

SignatureLength is a free data retrieval call binding the contract method 0x1b9a9323.

Solidity: function signatureLength() view returns(uint256)

type DepositorDepositEvent

type DepositorDepositEvent struct {
	From        common.Address
	NodesAmount *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

DepositorDepositEvent represents a DepositEvent event raised by the Depositor contract.

type DepositorDepositEventIterator

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

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

func (*DepositorDepositEventIterator) Close

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

func (*DepositorDepositEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DepositorDepositEventIterator) 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 DepositorFilterer

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

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

func NewDepositorFilterer

func NewDepositorFilterer(address common.Address, filterer bind.ContractFilterer) (*DepositorFilterer, error)

NewDepositorFilterer creates a new log filterer instance of Depositor, bound to a specific deployed contract.

func (*DepositorFilterer) FilterDepositEvent

func (_Depositor *DepositorFilterer) FilterDepositEvent(opts *bind.FilterOpts) (*DepositorDepositEventIterator, error)

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

Solidity: event DepositEvent(address from, uint256 nodesAmount)

func (*DepositorFilterer) FilterOwnershipTransferred

func (_Depositor *DepositorFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DepositorOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DepositorFilterer) FilterPaused

func (_Depositor *DepositorFilterer) FilterPaused(opts *bind.FilterOpts) (*DepositorPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*DepositorFilterer) FilterUnpaused

func (_Depositor *DepositorFilterer) FilterUnpaused(opts *bind.FilterOpts) (*DepositorUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*DepositorFilterer) ParseDepositEvent

func (_Depositor *DepositorFilterer) ParseDepositEvent(log types.Log) (*DepositorDepositEvent, error)

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

Solidity: event DepositEvent(address from, uint256 nodesAmount)

func (*DepositorFilterer) ParseOwnershipTransferred

func (_Depositor *DepositorFilterer) ParseOwnershipTransferred(log types.Log) (*DepositorOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DepositorFilterer) ParsePaused

func (_Depositor *DepositorFilterer) ParsePaused(log types.Log) (*DepositorPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*DepositorFilterer) ParseUnpaused

func (_Depositor *DepositorFilterer) ParseUnpaused(log types.Log) (*DepositorUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*DepositorFilterer) WatchDepositEvent

func (_Depositor *DepositorFilterer) WatchDepositEvent(opts *bind.WatchOpts, sink chan<- *DepositorDepositEvent) (event.Subscription, error)

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

Solidity: event DepositEvent(address from, uint256 nodesAmount)

func (*DepositorFilterer) WatchOwnershipTransferred

func (_Depositor *DepositorFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DepositorOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DepositorFilterer) WatchPaused

func (_Depositor *DepositorFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *DepositorPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*DepositorFilterer) WatchUnpaused

func (_Depositor *DepositorFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *DepositorUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type DepositorOwnershipTransferred

type DepositorOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

DepositorOwnershipTransferred represents a OwnershipTransferred event raised by the Depositor contract.

type DepositorOwnershipTransferredIterator

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

DepositorOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Depositor contract.

func (*DepositorOwnershipTransferredIterator) Close

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

func (*DepositorOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DepositorOwnershipTransferredIterator) 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 DepositorPaused

type DepositorPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DepositorPaused represents a Paused event raised by the Depositor contract.

type DepositorPausedIterator

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

DepositorPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Depositor contract.

func (*DepositorPausedIterator) Close

func (it *DepositorPausedIterator) Close() error

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

func (*DepositorPausedIterator) Error

func (it *DepositorPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DepositorPausedIterator) Next

func (it *DepositorPausedIterator) 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 DepositorRaw

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

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

func (*DepositorRaw) Call

func (_Depositor *DepositorRaw) 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 (*DepositorRaw) Transact

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

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

func (*DepositorRaw) Transfer

func (_Depositor *DepositorRaw) 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 DepositorSession

type DepositorSession struct {
	Contract     *Depositor        // 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
}

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

func (*DepositorSession) Collateral

func (_Depositor *DepositorSession) Collateral() (*big.Int, error)

Collateral is a free data retrieval call binding the contract method 0xd8dfeb45.

Solidity: function collateral() view returns(uint256)

func (*DepositorSession) CredentialsLength

func (_Depositor *DepositorSession) CredentialsLength() (*big.Int, error)

CredentialsLength is a free data retrieval call binding the contract method 0xa5ab1d31.

Solidity: function credentialsLength() view returns(uint256)

func (*DepositorSession) Deposit

func (_Depositor *DepositorSession) Deposit(pubkeys [][]byte, withdrawal_credentials [][]byte, signatures [][]byte, deposit_data_roots [][32]byte) (*types.Transaction, error)

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

Solidity: function deposit(bytes[] pubkeys, bytes[] withdrawal_credentials, bytes[] signatures, bytes32[] deposit_data_roots) payable returns()

func (*DepositorSession) DepositContract

func (_Depositor *DepositorSession) DepositContract() (common.Address, error)

DepositContract is a free data retrieval call binding the contract method 0xe94ad65b.

Solidity: function depositContract() view returns(address)

func (*DepositorSession) NodesMaxAmount

func (_Depositor *DepositorSession) NodesMaxAmount() (*big.Int, error)

NodesMaxAmount is a free data retrieval call binding the contract method 0x43ba591d.

Solidity: function nodesMaxAmount() view returns(uint256)

func (*DepositorSession) NodesMinAmount

func (_Depositor *DepositorSession) NodesMinAmount() (*big.Int, error)

NodesMinAmount is a free data retrieval call binding the contract method 0xf4fbdfac.

Solidity: function nodesMinAmount() view returns(uint256)

func (*DepositorSession) Owner

func (_Depositor *DepositorSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*DepositorSession) Pause

func (_Depositor *DepositorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*DepositorSession) Paused

func (_Depositor *DepositorSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*DepositorSession) PubkeyLength

func (_Depositor *DepositorSession) PubkeyLength() (*big.Int, error)

PubkeyLength is a free data retrieval call binding the contract method 0x4903e8be.

Solidity: function pubkeyLength() view returns(uint256)

func (*DepositorSession) Receive

func (_Depositor *DepositorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*DepositorSession) RenounceOwnership

func (_Depositor *DepositorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DepositorSession) SignatureLength

func (_Depositor *DepositorSession) SignatureLength() (*big.Int, error)

SignatureLength is a free data retrieval call binding the contract method 0x1b9a9323.

Solidity: function signatureLength() view returns(uint256)

func (*DepositorSession) TransferOwnership

func (_Depositor *DepositorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*DepositorSession) Unpause

func (_Depositor *DepositorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type DepositorTransactor

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

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

func NewDepositorTransactor

func NewDepositorTransactor(address common.Address, transactor bind.ContractTransactor) (*DepositorTransactor, error)

NewDepositorTransactor creates a new write-only instance of Depositor, bound to a specific deployed contract.

func (*DepositorTransactor) Deposit

func (_Depositor *DepositorTransactor) Deposit(opts *bind.TransactOpts, pubkeys [][]byte, withdrawal_credentials [][]byte, signatures [][]byte, deposit_data_roots [][32]byte) (*types.Transaction, error)

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

Solidity: function deposit(bytes[] pubkeys, bytes[] withdrawal_credentials, bytes[] signatures, bytes32[] deposit_data_roots) payable returns()

func (*DepositorTransactor) Pause

func (_Depositor *DepositorTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*DepositorTransactor) Receive

func (_Depositor *DepositorTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*DepositorTransactor) RenounceOwnership

func (_Depositor *DepositorTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DepositorTransactor) TransferOwnership

func (_Depositor *DepositorTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*DepositorTransactor) Unpause

func (_Depositor *DepositorTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type DepositorTransactorRaw

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

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

func (*DepositorTransactorRaw) Transact

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

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

func (*DepositorTransactorRaw) Transfer

func (_Depositor *DepositorTransactorRaw) 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 DepositorTransactorSession

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

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

func (*DepositorTransactorSession) Deposit

func (_Depositor *DepositorTransactorSession) Deposit(pubkeys [][]byte, withdrawal_credentials [][]byte, signatures [][]byte, deposit_data_roots [][32]byte) (*types.Transaction, error)

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

Solidity: function deposit(bytes[] pubkeys, bytes[] withdrawal_credentials, bytes[] signatures, bytes32[] deposit_data_roots) payable returns()

func (*DepositorTransactorSession) Pause

func (_Depositor *DepositorTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*DepositorTransactorSession) Receive

func (_Depositor *DepositorTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*DepositorTransactorSession) RenounceOwnership

func (_Depositor *DepositorTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DepositorTransactorSession) TransferOwnership

func (_Depositor *DepositorTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*DepositorTransactorSession) Unpause

func (_Depositor *DepositorTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type DepositorUnpaused

type DepositorUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DepositorUnpaused represents a Unpaused event raised by the Depositor contract.

type DepositorUnpausedIterator

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

DepositorUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Depositor contract.

func (*DepositorUnpausedIterator) Close

func (it *DepositorUnpausedIterator) Close() error

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

func (*DepositorUnpausedIterator) Error

func (it *DepositorUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DepositorUnpausedIterator) Next

func (it *DepositorUnpausedIterator) 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.

Jump to

Keyboard shortcuts

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