mainchain

package
v0.0.0-...-092bff5 Latest Latest
Warning

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

Go to latest
Published: May 11, 2021 License: MIT Imports: 8 Imported by: 10

Documentation

Index

Constants

View Source
const AccountRegistryABI = "" /* 1429-byte string literal not displayed */

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

View Source
const DepositWithdrawManagerABI = "" /* 3459-byte string literal not displayed */

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

View Source
const MerkleUtilsABI = "" /* 4906-byte string literal not displayed */

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

View Source
const RollupChainABI = "" /* 9418-byte string literal not displayed */

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

View Source
const TokenRegistryABI = "" /* 1717-byte string literal not displayed */

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

View Source
const TransitionEvaluatorABI = "" /* 12445-byte string literal not displayed */

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

View Source
const ValidatorRegistryABI = "" /* 2425-byte string literal not displayed */

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

Variables

View Source
var AccountRegistryBin = "" /* 6750-byte string literal not displayed */

AccountRegistryBin is the compiled bytecode used for deploying new contracts.

View Source
var DepositWithdrawManagerBin = "" /* 17018-byte string literal not displayed */

DepositWithdrawManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var MerkleUtilsBin = "" /* 10656-byte string literal not displayed */

MerkleUtilsBin is the compiled bytecode used for deploying new contracts.

View Source
var RollupChainBin = "" /* 29840-byte string literal not displayed */

RollupChainBin is the compiled bytecode used for deploying new contracts.

View Source
var TokenRegistryBin = "" /* 4884-byte string literal not displayed */

TokenRegistryBin is the compiled bytecode used for deploying new contracts.

View Source
var TransitionEvaluatorBin = "" /* 36824-byte string literal not displayed */

TransitionEvaluatorBin is the compiled bytecode used for deploying new contracts.

View Source
var ValidatorRegistryBin = "" /* 16314-byte string literal not displayed */

ValidatorRegistryBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type AccountRegistry

type AccountRegistry struct {
	AccountRegistryCaller     // Read-only binding to the contract
	AccountRegistryTransactor // Write-only binding to the contract
	AccountRegistryFilterer   // Log filterer for contract events
}

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

func DeployAccountRegistry

func DeployAccountRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AccountRegistry, error)

DeployAccountRegistry deploys a new Ethereum contract, binding an instance of AccountRegistry to it.

func NewAccountRegistry

func NewAccountRegistry(address common.Address, backend bind.ContractBackend) (*AccountRegistry, error)

NewAccountRegistry creates a new instance of AccountRegistry, bound to a specific deployed contract.

type AccountRegistryAccountRegistered

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

AccountRegistryAccountRegistered represents a AccountRegistered event raised by the AccountRegistry contract.

type AccountRegistryAccountRegisteredIterator

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

AccountRegistryAccountRegisteredIterator is returned from FilterAccountRegistered and is used to iterate over the raw logs and unpacked data for AccountRegistered events raised by the AccountRegistry contract.

func (*AccountRegistryAccountRegisteredIterator) Close

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

func (*AccountRegistryAccountRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountRegistryAccountRegisteredIterator) 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 AccountRegistryCaller

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

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

func NewAccountRegistryCaller

func NewAccountRegistryCaller(address common.Address, caller bind.ContractCaller) (*AccountRegistryCaller, error)

NewAccountRegistryCaller creates a new read-only instance of AccountRegistry, bound to a specific deployed contract.

func (*AccountRegistryCaller) Owner

func (_AccountRegistry *AccountRegistryCaller) 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 (*AccountRegistryCaller) RegisteredAccounts

func (_AccountRegistry *AccountRegistryCaller) RegisteredAccounts(opts *bind.CallOpts, arg0 common.Address) (bool, error)

RegisteredAccounts is a free data retrieval call binding the contract method 0xd8fa638d.

Solidity: function registeredAccounts(address ) view returns(bool)

type AccountRegistryCallerRaw

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

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

func (*AccountRegistryCallerRaw) Call

func (_AccountRegistry *AccountRegistryCallerRaw) 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 AccountRegistryCallerSession

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

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

func (*AccountRegistryCallerSession) Owner

func (_AccountRegistry *AccountRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AccountRegistryCallerSession) RegisteredAccounts

func (_AccountRegistry *AccountRegistryCallerSession) RegisteredAccounts(arg0 common.Address) (bool, error)

RegisteredAccounts is a free data retrieval call binding the contract method 0xd8fa638d.

Solidity: function registeredAccounts(address ) view returns(bool)

type AccountRegistryFilterer

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

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

func NewAccountRegistryFilterer

func NewAccountRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*AccountRegistryFilterer, error)

NewAccountRegistryFilterer creates a new log filterer instance of AccountRegistry, bound to a specific deployed contract.

func (*AccountRegistryFilterer) FilterAccountRegistered

func (_AccountRegistry *AccountRegistryFilterer) FilterAccountRegistered(opts *bind.FilterOpts) (*AccountRegistryAccountRegisteredIterator, error)

FilterAccountRegistered is a free log retrieval operation binding the contract event 0xcd822dc9688e20acea68724a2fbcfe4f3e526d20ecaa37b18fe3047ab377d6a5.

Solidity: event AccountRegistered(address account)

func (*AccountRegistryFilterer) FilterOwnershipTransferred

func (_AccountRegistry *AccountRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AccountRegistryOwnershipTransferredIterator, error)

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

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

func (*AccountRegistryFilterer) ParseAccountRegistered

func (_AccountRegistry *AccountRegistryFilterer) ParseAccountRegistered(log types.Log) (*AccountRegistryAccountRegistered, error)

ParseAccountRegistered is a log parse operation binding the contract event 0xcd822dc9688e20acea68724a2fbcfe4f3e526d20ecaa37b18fe3047ab377d6a5.

Solidity: event AccountRegistered(address account)

func (*AccountRegistryFilterer) ParseOwnershipTransferred

func (_AccountRegistry *AccountRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*AccountRegistryOwnershipTransferred, error)

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

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

func (*AccountRegistryFilterer) WatchAccountRegistered

func (_AccountRegistry *AccountRegistryFilterer) WatchAccountRegistered(opts *bind.WatchOpts, sink chan<- *AccountRegistryAccountRegistered) (event.Subscription, error)

WatchAccountRegistered is a free log subscription operation binding the contract event 0xcd822dc9688e20acea68724a2fbcfe4f3e526d20ecaa37b18fe3047ab377d6a5.

Solidity: event AccountRegistered(address account)

func (*AccountRegistryFilterer) WatchOwnershipTransferred

func (_AccountRegistry *AccountRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AccountRegistryOwnershipTransferred, 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)

type AccountRegistryOwnershipTransferred

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

AccountRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the AccountRegistry contract.

type AccountRegistryOwnershipTransferredIterator

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

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

func (*AccountRegistryOwnershipTransferredIterator) Close

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

func (*AccountRegistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccountRegistryOwnershipTransferredIterator) 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 AccountRegistryRaw

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

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

func (*AccountRegistryRaw) Call

func (_AccountRegistry *AccountRegistryRaw) 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 (*AccountRegistryRaw) Transact

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

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

func (*AccountRegistryRaw) Transfer

func (_AccountRegistry *AccountRegistryRaw) 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 AccountRegistrySession

type AccountRegistrySession struct {
	Contract     *AccountRegistry  // 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
}

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

func (*AccountRegistrySession) Owner

func (_AccountRegistry *AccountRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*AccountRegistrySession) RegisterAccount

func (_AccountRegistry *AccountRegistrySession) RegisterAccount(_account common.Address, _signature []byte) (*types.Transaction, error)

RegisterAccount is a paid mutator transaction binding the contract method 0xf2cd61c9.

Solidity: function registerAccount(address _account, bytes _signature) returns()

func (*AccountRegistrySession) RegisteredAccounts

func (_AccountRegistry *AccountRegistrySession) RegisteredAccounts(arg0 common.Address) (bool, error)

RegisteredAccounts is a free data retrieval call binding the contract method 0xd8fa638d.

Solidity: function registeredAccounts(address ) view returns(bool)

func (*AccountRegistrySession) RenounceOwnership

func (_AccountRegistry *AccountRegistrySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AccountRegistrySession) TransferOwnership

func (_AccountRegistry *AccountRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type AccountRegistryTransactor

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

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

func NewAccountRegistryTransactor

func NewAccountRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*AccountRegistryTransactor, error)

NewAccountRegistryTransactor creates a new write-only instance of AccountRegistry, bound to a specific deployed contract.

func (*AccountRegistryTransactor) RegisterAccount

func (_AccountRegistry *AccountRegistryTransactor) RegisterAccount(opts *bind.TransactOpts, _account common.Address, _signature []byte) (*types.Transaction, error)

RegisterAccount is a paid mutator transaction binding the contract method 0xf2cd61c9.

Solidity: function registerAccount(address _account, bytes _signature) returns()

func (*AccountRegistryTransactor) RenounceOwnership

func (_AccountRegistry *AccountRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AccountRegistryTransactor) TransferOwnership

func (_AccountRegistry *AccountRegistryTransactor) 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()

type AccountRegistryTransactorRaw

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

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

func (*AccountRegistryTransactorRaw) Transact

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

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

func (*AccountRegistryTransactorRaw) Transfer

func (_AccountRegistry *AccountRegistryTransactorRaw) 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 AccountRegistryTransactorSession

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

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

func (*AccountRegistryTransactorSession) RegisterAccount

func (_AccountRegistry *AccountRegistryTransactorSession) RegisterAccount(_account common.Address, _signature []byte) (*types.Transaction, error)

RegisterAccount is a paid mutator transaction binding the contract method 0xf2cd61c9.

Solidity: function registerAccount(address _account, bytes _signature) returns()

func (*AccountRegistryTransactorSession) RenounceOwnership

func (_AccountRegistry *AccountRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*AccountRegistryTransactorSession) TransferOwnership

func (_AccountRegistry *AccountRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type DataTypesAccountInfo

type DataTypesAccountInfo struct {
	Account        common.Address
	Balances       []*big.Int
	TransferNonces []*big.Int
	WithdrawNonces []*big.Int
}

DataTypesAccountInfo is an auto generated low-level Go binding around an user-defined struct.

type DataTypesCreateAndDepositTransition

type DataTypesCreateAndDepositTransition struct {
	TransitionType   *big.Int
	StateRoot        [32]byte
	AccountSlotIndex *big.Int
	Account          common.Address
	TokenIndex       *big.Int
	Amount           *big.Int
	Signature        []byte
}

DataTypesCreateAndDepositTransition is an auto generated low-level Go binding around an user-defined struct.

type DataTypesCreateAndTransferTransition

type DataTypesCreateAndTransferTransition struct {
	TransitionType     *big.Int
	StateRoot          [32]byte
	SenderSlotIndex    *big.Int
	RecipientSlotIndex *big.Int
	RecipientAccount   common.Address
	TokenIndex         *big.Int
	Amount             *big.Int
	Nonce              *big.Int
	Signature          []byte
}

DataTypesCreateAndTransferTransition is an auto generated low-level Go binding around an user-defined struct.

type DataTypesDepositTransition

type DataTypesDepositTransition struct {
	TransitionType   *big.Int
	StateRoot        [32]byte
	AccountSlotIndex *big.Int
	TokenIndex       *big.Int
	Amount           *big.Int
	Signature        []byte
}

DataTypesDepositTransition is an auto generated low-level Go binding around an user-defined struct.

type DataTypesIncludedStorageSlot

type DataTypesIncludedStorageSlot struct {
	StorageSlot DataTypesStorageSlot
	Siblings    [][32]byte
}

DataTypesIncludedStorageSlot is an auto generated low-level Go binding around an user-defined struct.

type DataTypesIncludedTransition

type DataTypesIncludedTransition struct {
	Transition     []byte
	InclusionProof DataTypesTransitionInclusionProof
}

DataTypesIncludedTransition is an auto generated low-level Go binding around an user-defined struct.

type DataTypesStorageSlot

type DataTypesStorageSlot struct {
	SlotIndex *big.Int
	Value     DataTypesAccountInfo
}

DataTypesStorageSlot is an auto generated low-level Go binding around an user-defined struct.

type DataTypesTransferTransition

type DataTypesTransferTransition struct {
	TransitionType     *big.Int
	StateRoot          [32]byte
	SenderSlotIndex    *big.Int
	RecipientSlotIndex *big.Int
	TokenIndex         *big.Int
	Amount             *big.Int
	Nonce              *big.Int
	Signature          []byte
}

DataTypesTransferTransition is an auto generated low-level Go binding around an user-defined struct.

type DataTypesTransitionInclusionProof

type DataTypesTransitionInclusionProof struct {
	BlockNumber     *big.Int
	TransitionIndex *big.Int
	Siblings        [][32]byte
}

DataTypesTransitionInclusionProof is an auto generated low-level Go binding around an user-defined struct.

type DataTypesWithdrawTransition

type DataTypesWithdrawTransition struct {
	TransitionType   *big.Int
	StateRoot        [32]byte
	AccountSlotIndex *big.Int
	TokenIndex       *big.Int
	Amount           *big.Int
	Nonce            *big.Int
	Signature        []byte
}

DataTypesWithdrawTransition is an auto generated low-level Go binding around an user-defined struct.

type DepositWithdrawManager

type DepositWithdrawManager struct {
	DepositWithdrawManagerCaller     // Read-only binding to the contract
	DepositWithdrawManagerTransactor // Write-only binding to the contract
	DepositWithdrawManagerFilterer   // Log filterer for contract events
}

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

func DeployDepositWithdrawManager

func DeployDepositWithdrawManager(auth *bind.TransactOpts, backend bind.ContractBackend, _rollupChainAddress common.Address, _transitionEvaluatorAddress common.Address, _accountRegistryAddress common.Address, _tokenRegistryAddress common.Address) (common.Address, *types.Transaction, *DepositWithdrawManager, error)

DeployDepositWithdrawManager deploys a new Ethereum contract, binding an instance of DepositWithdrawManager to it.

func NewDepositWithdrawManager

func NewDepositWithdrawManager(address common.Address, backend bind.ContractBackend) (*DepositWithdrawManager, error)

NewDepositWithdrawManager creates a new instance of DepositWithdrawManager, bound to a specific deployed contract.

type DepositWithdrawManagerCaller

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

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

func NewDepositWithdrawManagerCaller

func NewDepositWithdrawManagerCaller(address common.Address, caller bind.ContractCaller) (*DepositWithdrawManagerCaller, error)

NewDepositWithdrawManagerCaller creates a new read-only instance of DepositWithdrawManager, bound to a specific deployed contract.

func (*DepositWithdrawManagerCaller) DepositNonces

func (_DepositWithdrawManager *DepositWithdrawManagerCaller) DepositNonces(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

DepositNonces is a free data retrieval call binding the contract method 0x3f0b37d9.

Solidity: function depositNonces(address , address ) view returns(uint256)

func (*DepositWithdrawManagerCaller) WithdrawNonces

func (_DepositWithdrawManager *DepositWithdrawManagerCaller) WithdrawNonces(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

WithdrawNonces is a free data retrieval call binding the contract method 0x647bbada.

Solidity: function withdrawNonces(address , address ) view returns(uint256)

type DepositWithdrawManagerCallerRaw

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

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

func (*DepositWithdrawManagerCallerRaw) Call

func (_DepositWithdrawManager *DepositWithdrawManagerCallerRaw) 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 DepositWithdrawManagerCallerSession

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

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

func (*DepositWithdrawManagerCallerSession) DepositNonces

func (_DepositWithdrawManager *DepositWithdrawManagerCallerSession) DepositNonces(arg0 common.Address, arg1 common.Address) (*big.Int, error)

DepositNonces is a free data retrieval call binding the contract method 0x3f0b37d9.

Solidity: function depositNonces(address , address ) view returns(uint256)

func (*DepositWithdrawManagerCallerSession) WithdrawNonces

func (_DepositWithdrawManager *DepositWithdrawManagerCallerSession) WithdrawNonces(arg0 common.Address, arg1 common.Address) (*big.Int, error)

WithdrawNonces is a free data retrieval call binding the contract method 0x647bbada.

Solidity: function withdrawNonces(address , address ) view returns(uint256)

type DepositWithdrawManagerFilterer

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

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

func NewDepositWithdrawManagerFilterer

func NewDepositWithdrawManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*DepositWithdrawManagerFilterer, error)

NewDepositWithdrawManagerFilterer creates a new log filterer instance of DepositWithdrawManager, bound to a specific deployed contract.

func (*DepositWithdrawManagerFilterer) FilterTokenDeposited

func (_DepositWithdrawManager *DepositWithdrawManagerFilterer) FilterTokenDeposited(opts *bind.FilterOpts) (*DepositWithdrawManagerTokenDepositedIterator, error)

FilterTokenDeposited is a free log retrieval operation binding the contract event 0xf1444b5cad7ce70cb018d1b8edc8618fe303f3c7f034d8d572a6e27facbf2bef.

Solidity: event TokenDeposited(address account, address token, uint256 amount)

func (*DepositWithdrawManagerFilterer) FilterTokenWithdrawn

func (_DepositWithdrawManager *DepositWithdrawManagerFilterer) FilterTokenWithdrawn(opts *bind.FilterOpts) (*DepositWithdrawManagerTokenWithdrawnIterator, error)

FilterTokenWithdrawn is a free log retrieval operation binding the contract event 0x8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e5620.

Solidity: event TokenWithdrawn(address account, address token, uint256 amount)

func (*DepositWithdrawManagerFilterer) ParseTokenDeposited

func (_DepositWithdrawManager *DepositWithdrawManagerFilterer) ParseTokenDeposited(log types.Log) (*DepositWithdrawManagerTokenDeposited, error)

ParseTokenDeposited is a log parse operation binding the contract event 0xf1444b5cad7ce70cb018d1b8edc8618fe303f3c7f034d8d572a6e27facbf2bef.

Solidity: event TokenDeposited(address account, address token, uint256 amount)

func (*DepositWithdrawManagerFilterer) ParseTokenWithdrawn

func (_DepositWithdrawManager *DepositWithdrawManagerFilterer) ParseTokenWithdrawn(log types.Log) (*DepositWithdrawManagerTokenWithdrawn, error)

ParseTokenWithdrawn is a log parse operation binding the contract event 0x8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e5620.

Solidity: event TokenWithdrawn(address account, address token, uint256 amount)

func (*DepositWithdrawManagerFilterer) WatchTokenDeposited

func (_DepositWithdrawManager *DepositWithdrawManagerFilterer) WatchTokenDeposited(opts *bind.WatchOpts, sink chan<- *DepositWithdrawManagerTokenDeposited) (event.Subscription, error)

WatchTokenDeposited is a free log subscription operation binding the contract event 0xf1444b5cad7ce70cb018d1b8edc8618fe303f3c7f034d8d572a6e27facbf2bef.

Solidity: event TokenDeposited(address account, address token, uint256 amount)

func (*DepositWithdrawManagerFilterer) WatchTokenWithdrawn

func (_DepositWithdrawManager *DepositWithdrawManagerFilterer) WatchTokenWithdrawn(opts *bind.WatchOpts, sink chan<- *DepositWithdrawManagerTokenWithdrawn) (event.Subscription, error)

WatchTokenWithdrawn is a free log subscription operation binding the contract event 0x8210728e7c071f615b840ee026032693858fbcd5e5359e67e438c890f59e5620.

Solidity: event TokenWithdrawn(address account, address token, uint256 amount)

type DepositWithdrawManagerRaw

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

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

func (*DepositWithdrawManagerRaw) Call

func (_DepositWithdrawManager *DepositWithdrawManagerRaw) 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 (*DepositWithdrawManagerRaw) Transact

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

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

func (*DepositWithdrawManagerRaw) Transfer

func (_DepositWithdrawManager *DepositWithdrawManagerRaw) 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 DepositWithdrawManagerSession

type DepositWithdrawManagerSession struct {
	Contract     *DepositWithdrawManager // 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
}

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

func (*DepositWithdrawManagerSession) Deposit

func (_DepositWithdrawManager *DepositWithdrawManagerSession) Deposit(_account common.Address, _token common.Address, _amount *big.Int, _signature []byte) (*types.Transaction, error)

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

Solidity: function deposit(address _account, address _token, uint256 _amount, bytes _signature) returns()

func (*DepositWithdrawManagerSession) DepositNonces

func (_DepositWithdrawManager *DepositWithdrawManagerSession) DepositNonces(arg0 common.Address, arg1 common.Address) (*big.Int, error)

DepositNonces is a free data retrieval call binding the contract method 0x3f0b37d9.

Solidity: function depositNonces(address , address ) view returns(uint256)

func (*DepositWithdrawManagerSession) RegisterAndDeposit

func (_DepositWithdrawManager *DepositWithdrawManagerSession) RegisterAndDeposit(_account common.Address, _token common.Address, _amount *big.Int, _registerSignature []byte, _depositSignature []byte) (*types.Transaction, error)

RegisterAndDeposit is a paid mutator transaction binding the contract method 0x5753321d.

Solidity: function registerAndDeposit(address _account, address _token, uint256 _amount, bytes _registerSignature, bytes _depositSignature) returns()

func (*DepositWithdrawManagerSession) Withdraw

func (_DepositWithdrawManager *DepositWithdrawManagerSession) Withdraw(_account common.Address, _includedTransition DataTypesIncludedTransition, _signature []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x4d4fc8dd.

Solidity: function withdraw(address _account, (bytes,(uint256,uint256,bytes32[])) _includedTransition, bytes _signature) returns()

func (*DepositWithdrawManagerSession) WithdrawNonces

func (_DepositWithdrawManager *DepositWithdrawManagerSession) WithdrawNonces(arg0 common.Address, arg1 common.Address) (*big.Int, error)

WithdrawNonces is a free data retrieval call binding the contract method 0x647bbada.

Solidity: function withdrawNonces(address , address ) view returns(uint256)

type DepositWithdrawManagerTokenDeposited

type DepositWithdrawManagerTokenDeposited struct {
	Account common.Address
	Token   common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

DepositWithdrawManagerTokenDeposited represents a TokenDeposited event raised by the DepositWithdrawManager contract.

type DepositWithdrawManagerTokenDepositedIterator

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

DepositWithdrawManagerTokenDepositedIterator is returned from FilterTokenDeposited and is used to iterate over the raw logs and unpacked data for TokenDeposited events raised by the DepositWithdrawManager contract.

func (*DepositWithdrawManagerTokenDepositedIterator) Close

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

func (*DepositWithdrawManagerTokenDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DepositWithdrawManagerTokenDepositedIterator) 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 DepositWithdrawManagerTokenWithdrawn

type DepositWithdrawManagerTokenWithdrawn struct {
	Account common.Address
	Token   common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

DepositWithdrawManagerTokenWithdrawn represents a TokenWithdrawn event raised by the DepositWithdrawManager contract.

type DepositWithdrawManagerTokenWithdrawnIterator

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

DepositWithdrawManagerTokenWithdrawnIterator is returned from FilterTokenWithdrawn and is used to iterate over the raw logs and unpacked data for TokenWithdrawn events raised by the DepositWithdrawManager contract.

func (*DepositWithdrawManagerTokenWithdrawnIterator) Close

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

func (*DepositWithdrawManagerTokenWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DepositWithdrawManagerTokenWithdrawnIterator) 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 DepositWithdrawManagerTransactor

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

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

func NewDepositWithdrawManagerTransactor

func NewDepositWithdrawManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*DepositWithdrawManagerTransactor, error)

NewDepositWithdrawManagerTransactor creates a new write-only instance of DepositWithdrawManager, bound to a specific deployed contract.

func (*DepositWithdrawManagerTransactor) Deposit

func (_DepositWithdrawManager *DepositWithdrawManagerTransactor) Deposit(opts *bind.TransactOpts, _account common.Address, _token common.Address, _amount *big.Int, _signature []byte) (*types.Transaction, error)

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

Solidity: function deposit(address _account, address _token, uint256 _amount, bytes _signature) returns()

func (*DepositWithdrawManagerTransactor) RegisterAndDeposit

func (_DepositWithdrawManager *DepositWithdrawManagerTransactor) RegisterAndDeposit(opts *bind.TransactOpts, _account common.Address, _token common.Address, _amount *big.Int, _registerSignature []byte, _depositSignature []byte) (*types.Transaction, error)

RegisterAndDeposit is a paid mutator transaction binding the contract method 0x5753321d.

Solidity: function registerAndDeposit(address _account, address _token, uint256 _amount, bytes _registerSignature, bytes _depositSignature) returns()

func (*DepositWithdrawManagerTransactor) Withdraw

func (_DepositWithdrawManager *DepositWithdrawManagerTransactor) Withdraw(opts *bind.TransactOpts, _account common.Address, _includedTransition DataTypesIncludedTransition, _signature []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x4d4fc8dd.

Solidity: function withdraw(address _account, (bytes,(uint256,uint256,bytes32[])) _includedTransition, bytes _signature) returns()

type DepositWithdrawManagerTransactorRaw

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

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

func (*DepositWithdrawManagerTransactorRaw) Transact

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

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

func (*DepositWithdrawManagerTransactorRaw) Transfer

func (_DepositWithdrawManager *DepositWithdrawManagerTransactorRaw) 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 DepositWithdrawManagerTransactorSession

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

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

func (*DepositWithdrawManagerTransactorSession) Deposit

func (_DepositWithdrawManager *DepositWithdrawManagerTransactorSession) Deposit(_account common.Address, _token common.Address, _amount *big.Int, _signature []byte) (*types.Transaction, error)

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

Solidity: function deposit(address _account, address _token, uint256 _amount, bytes _signature) returns()

func (*DepositWithdrawManagerTransactorSession) RegisterAndDeposit

func (_DepositWithdrawManager *DepositWithdrawManagerTransactorSession) RegisterAndDeposit(_account common.Address, _token common.Address, _amount *big.Int, _registerSignature []byte, _depositSignature []byte) (*types.Transaction, error)

RegisterAndDeposit is a paid mutator transaction binding the contract method 0x5753321d.

Solidity: function registerAndDeposit(address _account, address _token, uint256 _amount, bytes _registerSignature, bytes _depositSignature) returns()

func (*DepositWithdrawManagerTransactorSession) Withdraw

func (_DepositWithdrawManager *DepositWithdrawManagerTransactorSession) Withdraw(_account common.Address, _includedTransition DataTypesIncludedTransition, _signature []byte) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x4d4fc8dd.

Solidity: function withdraw(address _account, (bytes,(uint256,uint256,bytes32[])) _includedTransition, bytes _signature) returns()

type MerkleUtils

type MerkleUtils struct {
	MerkleUtilsCaller     // Read-only binding to the contract
	MerkleUtilsTransactor // Write-only binding to the contract
	MerkleUtilsFilterer   // Log filterer for contract events
}

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

func DeployMerkleUtils

func DeployMerkleUtils(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *MerkleUtils, error)

DeployMerkleUtils deploys a new Ethereum contract, binding an instance of MerkleUtils to it.

func NewMerkleUtils

func NewMerkleUtils(address common.Address, backend bind.ContractBackend) (*MerkleUtils, error)

NewMerkleUtils creates a new instance of MerkleUtils, bound to a specific deployed contract.

type MerkleUtilsCaller

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

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

func NewMerkleUtilsCaller

func NewMerkleUtilsCaller(address common.Address, caller bind.ContractCaller) (*MerkleUtilsCaller, error)

NewMerkleUtilsCaller creates a new read-only instance of MerkleUtils, bound to a specific deployed contract.

func (*MerkleUtilsCaller) DefaultHashes

func (_MerkleUtils *MerkleUtilsCaller) DefaultHashes(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

DefaultHashes is a free data retrieval call binding the contract method 0x48419ad8.

Solidity: function defaultHashes(uint256 ) view returns(bytes32)

func (*MerkleUtilsCaller) GetChildren

func (_MerkleUtils *MerkleUtilsCaller) GetChildren(opts *bind.CallOpts, _parent [32]byte) ([32]byte, [32]byte, error)

GetChildren is a free data retrieval call binding the contract method 0xd37684ff.

Solidity: function getChildren(bytes32 _parent) view returns(bytes32, bytes32)

func (*MerkleUtilsCaller) GetLeftSiblingKey

func (_MerkleUtils *MerkleUtilsCaller) GetLeftSiblingKey(opts *bind.CallOpts, _parent [32]byte) ([32]byte, error)

GetLeftSiblingKey is a free data retrieval call binding the contract method 0xdf7c7263.

Solidity: function getLeftSiblingKey(bytes32 _parent) pure returns(bytes32)

func (*MerkleUtilsCaller) GetMerkleRoot

func (_MerkleUtils *MerkleUtilsCaller) GetMerkleRoot(opts *bind.CallOpts, _dataBlocks [][]byte) ([32]byte, error)

GetMerkleRoot is a free data retrieval call binding the contract method 0x40ff34ef.

Solidity: function getMerkleRoot(bytes[] _dataBlocks) view returns(bytes32)

func (*MerkleUtilsCaller) GetNthBitFromRight

func (_MerkleUtils *MerkleUtilsCaller) GetNthBitFromRight(opts *bind.CallOpts, _intVal *big.Int, _index *big.Int) (uint8, error)

GetNthBitFromRight is a free data retrieval call binding the contract method 0xdb0787cb.

Solidity: function getNthBitFromRight(uint256 _intVal, uint256 _index) pure returns(uint8)

func (*MerkleUtilsCaller) GetRightSiblingKey

func (_MerkleUtils *MerkleUtilsCaller) GetRightSiblingKey(opts *bind.CallOpts, _parent [32]byte) ([32]byte, error)

GetRightSiblingKey is a free data retrieval call binding the contract method 0xe913e47f.

Solidity: function getRightSiblingKey(bytes32 _parent) pure returns(bytes32)

func (*MerkleUtilsCaller) GetRoot

func (_MerkleUtils *MerkleUtilsCaller) GetRoot(opts *bind.CallOpts) ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*MerkleUtilsCaller) GetSiblings

func (_MerkleUtils *MerkleUtilsCaller) GetSiblings(opts *bind.CallOpts, _path *big.Int) ([][32]byte, error)

GetSiblings is a free data retrieval call binding the contract method 0x101b166c.

Solidity: function getSiblings(uint256 _path) view returns(bytes32[])

func (*MerkleUtilsCaller) Tree

func (_MerkleUtils *MerkleUtilsCaller) Tree(opts *bind.CallOpts) (struct {
	Root   [32]byte
	Height *big.Int
}, error)

Tree is a free data retrieval call binding the contract method 0xfd54b228.

Solidity: function tree() view returns(bytes32 root, uint256 height)

func (*MerkleUtilsCaller) Verify

func (_MerkleUtils *MerkleUtilsCaller) Verify(opts *bind.CallOpts, _root [32]byte, _dataBlock []byte, _path *big.Int, _siblings [][32]byte) (bool, error)

Verify is a free data retrieval call binding the contract method 0x30d90a76.

Solidity: function verify(bytes32 _root, bytes _dataBlock, uint256 _path, bytes32[] _siblings) pure returns(bool)

type MerkleUtilsCallerRaw

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

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

func (*MerkleUtilsCallerRaw) Call

func (_MerkleUtils *MerkleUtilsCallerRaw) 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 MerkleUtilsCallerSession

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

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

func (*MerkleUtilsCallerSession) DefaultHashes

func (_MerkleUtils *MerkleUtilsCallerSession) DefaultHashes(arg0 *big.Int) ([32]byte, error)

DefaultHashes is a free data retrieval call binding the contract method 0x48419ad8.

Solidity: function defaultHashes(uint256 ) view returns(bytes32)

func (*MerkleUtilsCallerSession) GetChildren

func (_MerkleUtils *MerkleUtilsCallerSession) GetChildren(_parent [32]byte) ([32]byte, [32]byte, error)

GetChildren is a free data retrieval call binding the contract method 0xd37684ff.

Solidity: function getChildren(bytes32 _parent) view returns(bytes32, bytes32)

func (*MerkleUtilsCallerSession) GetLeftSiblingKey

func (_MerkleUtils *MerkleUtilsCallerSession) GetLeftSiblingKey(_parent [32]byte) ([32]byte, error)

GetLeftSiblingKey is a free data retrieval call binding the contract method 0xdf7c7263.

Solidity: function getLeftSiblingKey(bytes32 _parent) pure returns(bytes32)

func (*MerkleUtilsCallerSession) GetMerkleRoot

func (_MerkleUtils *MerkleUtilsCallerSession) GetMerkleRoot(_dataBlocks [][]byte) ([32]byte, error)

GetMerkleRoot is a free data retrieval call binding the contract method 0x40ff34ef.

Solidity: function getMerkleRoot(bytes[] _dataBlocks) view returns(bytes32)

func (*MerkleUtilsCallerSession) GetNthBitFromRight

func (_MerkleUtils *MerkleUtilsCallerSession) GetNthBitFromRight(_intVal *big.Int, _index *big.Int) (uint8, error)

GetNthBitFromRight is a free data retrieval call binding the contract method 0xdb0787cb.

Solidity: function getNthBitFromRight(uint256 _intVal, uint256 _index) pure returns(uint8)

func (*MerkleUtilsCallerSession) GetRightSiblingKey

func (_MerkleUtils *MerkleUtilsCallerSession) GetRightSiblingKey(_parent [32]byte) ([32]byte, error)

GetRightSiblingKey is a free data retrieval call binding the contract method 0xe913e47f.

Solidity: function getRightSiblingKey(bytes32 _parent) pure returns(bytes32)

func (*MerkleUtilsCallerSession) GetRoot

func (_MerkleUtils *MerkleUtilsCallerSession) GetRoot() ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*MerkleUtilsCallerSession) GetSiblings

func (_MerkleUtils *MerkleUtilsCallerSession) GetSiblings(_path *big.Int) ([][32]byte, error)

GetSiblings is a free data retrieval call binding the contract method 0x101b166c.

Solidity: function getSiblings(uint256 _path) view returns(bytes32[])

func (*MerkleUtilsCallerSession) Tree

func (_MerkleUtils *MerkleUtilsCallerSession) Tree() (struct {
	Root   [32]byte
	Height *big.Int
}, error)

Tree is a free data retrieval call binding the contract method 0xfd54b228.

Solidity: function tree() view returns(bytes32 root, uint256 height)

func (*MerkleUtilsCallerSession) Verify

func (_MerkleUtils *MerkleUtilsCallerSession) Verify(_root [32]byte, _dataBlock []byte, _path *big.Int, _siblings [][32]byte) (bool, error)

Verify is a free data retrieval call binding the contract method 0x30d90a76.

Solidity: function verify(bytes32 _root, bytes _dataBlock, uint256 _path, bytes32[] _siblings) pure returns(bool)

type MerkleUtilsFilterer

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

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

func NewMerkleUtilsFilterer

func NewMerkleUtilsFilterer(address common.Address, filterer bind.ContractFilterer) (*MerkleUtilsFilterer, error)

NewMerkleUtilsFilterer creates a new log filterer instance of MerkleUtils, bound to a specific deployed contract.

type MerkleUtilsRaw

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

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

func (*MerkleUtilsRaw) Call

func (_MerkleUtils *MerkleUtilsRaw) 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 (*MerkleUtilsRaw) Transact

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

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

func (*MerkleUtilsRaw) Transfer

func (_MerkleUtils *MerkleUtilsRaw) 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 MerkleUtilsSession

type MerkleUtilsSession struct {
	Contract     *MerkleUtils      // 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
}

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

func (*MerkleUtilsSession) DefaultHashes

func (_MerkleUtils *MerkleUtilsSession) DefaultHashes(arg0 *big.Int) ([32]byte, error)

DefaultHashes is a free data retrieval call binding the contract method 0x48419ad8.

Solidity: function defaultHashes(uint256 ) view returns(bytes32)

func (*MerkleUtilsSession) GetChildren

func (_MerkleUtils *MerkleUtilsSession) GetChildren(_parent [32]byte) ([32]byte, [32]byte, error)

GetChildren is a free data retrieval call binding the contract method 0xd37684ff.

Solidity: function getChildren(bytes32 _parent) view returns(bytes32, bytes32)

func (*MerkleUtilsSession) GetLeftSiblingKey

func (_MerkleUtils *MerkleUtilsSession) GetLeftSiblingKey(_parent [32]byte) ([32]byte, error)

GetLeftSiblingKey is a free data retrieval call binding the contract method 0xdf7c7263.

Solidity: function getLeftSiblingKey(bytes32 _parent) pure returns(bytes32)

func (*MerkleUtilsSession) GetMerkleRoot

func (_MerkleUtils *MerkleUtilsSession) GetMerkleRoot(_dataBlocks [][]byte) ([32]byte, error)

GetMerkleRoot is a free data retrieval call binding the contract method 0x40ff34ef.

Solidity: function getMerkleRoot(bytes[] _dataBlocks) view returns(bytes32)

func (*MerkleUtilsSession) GetNthBitFromRight

func (_MerkleUtils *MerkleUtilsSession) GetNthBitFromRight(_intVal *big.Int, _index *big.Int) (uint8, error)

GetNthBitFromRight is a free data retrieval call binding the contract method 0xdb0787cb.

Solidity: function getNthBitFromRight(uint256 _intVal, uint256 _index) pure returns(uint8)

func (*MerkleUtilsSession) GetRightSiblingKey

func (_MerkleUtils *MerkleUtilsSession) GetRightSiblingKey(_parent [32]byte) ([32]byte, error)

GetRightSiblingKey is a free data retrieval call binding the contract method 0xe913e47f.

Solidity: function getRightSiblingKey(bytes32 _parent) pure returns(bytes32)

func (*MerkleUtilsSession) GetRoot

func (_MerkleUtils *MerkleUtilsSession) GetRoot() ([32]byte, error)

GetRoot is a free data retrieval call binding the contract method 0x5ca1e165.

Solidity: function getRoot() view returns(bytes32)

func (*MerkleUtilsSession) GetSiblings

func (_MerkleUtils *MerkleUtilsSession) GetSiblings(_path *big.Int) ([][32]byte, error)

GetSiblings is a free data retrieval call binding the contract method 0x101b166c.

Solidity: function getSiblings(uint256 _path) view returns(bytes32[])

func (*MerkleUtilsSession) SetMerkleRootAndHeight

func (_MerkleUtils *MerkleUtilsSession) SetMerkleRootAndHeight(_root [32]byte, _height *big.Int) (*types.Transaction, error)

SetMerkleRootAndHeight is a paid mutator transaction binding the contract method 0x5c22b6d9.

Solidity: function setMerkleRootAndHeight(bytes32 _root, uint256 _height) returns()

func (*MerkleUtilsSession) Store

func (_MerkleUtils *MerkleUtilsSession) Store(_dataBlock []byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

Store is a paid mutator transaction binding the contract method 0x158933ad.

Solidity: function store(bytes _dataBlock, uint256 _path, bytes32[] _siblings) returns()

func (*MerkleUtilsSession) StoreLeaf

func (_MerkleUtils *MerkleUtilsSession) StoreLeaf(_leaf [32]byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

StoreLeaf is a paid mutator transaction binding the contract method 0x9c0de520.

Solidity: function storeLeaf(bytes32 _leaf, uint256 _path, bytes32[] _siblings) returns()

func (*MerkleUtilsSession) StoreNode

func (_MerkleUtils *MerkleUtilsSession) StoreNode(_parent [32]byte, _leftChild [32]byte, _rightChild [32]byte) (*types.Transaction, error)

StoreNode is a paid mutator transaction binding the contract method 0x63327f89.

Solidity: function storeNode(bytes32 _parent, bytes32 _leftChild, bytes32 _rightChild) returns()

func (*MerkleUtilsSession) Tree

func (_MerkleUtils *MerkleUtilsSession) Tree() (struct {
	Root   [32]byte
	Height *big.Int
}, error)

Tree is a free data retrieval call binding the contract method 0xfd54b228.

Solidity: function tree() view returns(bytes32 root, uint256 height)

func (*MerkleUtilsSession) Update

func (_MerkleUtils *MerkleUtilsSession) Update(_dataBlock []byte, _path *big.Int) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0xc3b45234.

Solidity: function update(bytes _dataBlock, uint256 _path) returns()

func (*MerkleUtilsSession) UpdateLeaf

func (_MerkleUtils *MerkleUtilsSession) UpdateLeaf(_leaf [32]byte, _path *big.Int) (*types.Transaction, error)

UpdateLeaf is a paid mutator transaction binding the contract method 0x272684b5.

Solidity: function updateLeaf(bytes32 _leaf, uint256 _path) returns()

func (*MerkleUtilsSession) Verify

func (_MerkleUtils *MerkleUtilsSession) Verify(_root [32]byte, _dataBlock []byte, _path *big.Int, _siblings [][32]byte) (bool, error)

Verify is a free data retrieval call binding the contract method 0x30d90a76.

Solidity: function verify(bytes32 _root, bytes _dataBlock, uint256 _path, bytes32[] _siblings) pure returns(bool)

func (*MerkleUtilsSession) VerifyAndStore

func (_MerkleUtils *MerkleUtilsSession) VerifyAndStore(_dataBlock []byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

VerifyAndStore is a paid mutator transaction binding the contract method 0x4359356d.

Solidity: function verifyAndStore(bytes _dataBlock, uint256 _path, bytes32[] _siblings) returns()

type MerkleUtilsTransactor

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

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

func NewMerkleUtilsTransactor

func NewMerkleUtilsTransactor(address common.Address, transactor bind.ContractTransactor) (*MerkleUtilsTransactor, error)

NewMerkleUtilsTransactor creates a new write-only instance of MerkleUtils, bound to a specific deployed contract.

func (*MerkleUtilsTransactor) SetMerkleRootAndHeight

func (_MerkleUtils *MerkleUtilsTransactor) SetMerkleRootAndHeight(opts *bind.TransactOpts, _root [32]byte, _height *big.Int) (*types.Transaction, error)

SetMerkleRootAndHeight is a paid mutator transaction binding the contract method 0x5c22b6d9.

Solidity: function setMerkleRootAndHeight(bytes32 _root, uint256 _height) returns()

func (*MerkleUtilsTransactor) Store

func (_MerkleUtils *MerkleUtilsTransactor) Store(opts *bind.TransactOpts, _dataBlock []byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

Store is a paid mutator transaction binding the contract method 0x158933ad.

Solidity: function store(bytes _dataBlock, uint256 _path, bytes32[] _siblings) returns()

func (*MerkleUtilsTransactor) StoreLeaf

func (_MerkleUtils *MerkleUtilsTransactor) StoreLeaf(opts *bind.TransactOpts, _leaf [32]byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

StoreLeaf is a paid mutator transaction binding the contract method 0x9c0de520.

Solidity: function storeLeaf(bytes32 _leaf, uint256 _path, bytes32[] _siblings) returns()

func (*MerkleUtilsTransactor) StoreNode

func (_MerkleUtils *MerkleUtilsTransactor) StoreNode(opts *bind.TransactOpts, _parent [32]byte, _leftChild [32]byte, _rightChild [32]byte) (*types.Transaction, error)

StoreNode is a paid mutator transaction binding the contract method 0x63327f89.

Solidity: function storeNode(bytes32 _parent, bytes32 _leftChild, bytes32 _rightChild) returns()

func (*MerkleUtilsTransactor) Update

func (_MerkleUtils *MerkleUtilsTransactor) Update(opts *bind.TransactOpts, _dataBlock []byte, _path *big.Int) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0xc3b45234.

Solidity: function update(bytes _dataBlock, uint256 _path) returns()

func (*MerkleUtilsTransactor) UpdateLeaf

func (_MerkleUtils *MerkleUtilsTransactor) UpdateLeaf(opts *bind.TransactOpts, _leaf [32]byte, _path *big.Int) (*types.Transaction, error)

UpdateLeaf is a paid mutator transaction binding the contract method 0x272684b5.

Solidity: function updateLeaf(bytes32 _leaf, uint256 _path) returns()

func (*MerkleUtilsTransactor) VerifyAndStore

func (_MerkleUtils *MerkleUtilsTransactor) VerifyAndStore(opts *bind.TransactOpts, _dataBlock []byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

VerifyAndStore is a paid mutator transaction binding the contract method 0x4359356d.

Solidity: function verifyAndStore(bytes _dataBlock, uint256 _path, bytes32[] _siblings) returns()

type MerkleUtilsTransactorRaw

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

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

func (*MerkleUtilsTransactorRaw) Transact

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

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

func (*MerkleUtilsTransactorRaw) Transfer

func (_MerkleUtils *MerkleUtilsTransactorRaw) 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 MerkleUtilsTransactorSession

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

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

func (*MerkleUtilsTransactorSession) SetMerkleRootAndHeight

func (_MerkleUtils *MerkleUtilsTransactorSession) SetMerkleRootAndHeight(_root [32]byte, _height *big.Int) (*types.Transaction, error)

SetMerkleRootAndHeight is a paid mutator transaction binding the contract method 0x5c22b6d9.

Solidity: function setMerkleRootAndHeight(bytes32 _root, uint256 _height) returns()

func (*MerkleUtilsTransactorSession) Store

func (_MerkleUtils *MerkleUtilsTransactorSession) Store(_dataBlock []byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

Store is a paid mutator transaction binding the contract method 0x158933ad.

Solidity: function store(bytes _dataBlock, uint256 _path, bytes32[] _siblings) returns()

func (*MerkleUtilsTransactorSession) StoreLeaf

func (_MerkleUtils *MerkleUtilsTransactorSession) StoreLeaf(_leaf [32]byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

StoreLeaf is a paid mutator transaction binding the contract method 0x9c0de520.

Solidity: function storeLeaf(bytes32 _leaf, uint256 _path, bytes32[] _siblings) returns()

func (*MerkleUtilsTransactorSession) StoreNode

func (_MerkleUtils *MerkleUtilsTransactorSession) StoreNode(_parent [32]byte, _leftChild [32]byte, _rightChild [32]byte) (*types.Transaction, error)

StoreNode is a paid mutator transaction binding the contract method 0x63327f89.

Solidity: function storeNode(bytes32 _parent, bytes32 _leftChild, bytes32 _rightChild) returns()

func (*MerkleUtilsTransactorSession) Update

func (_MerkleUtils *MerkleUtilsTransactorSession) Update(_dataBlock []byte, _path *big.Int) (*types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0xc3b45234.

Solidity: function update(bytes _dataBlock, uint256 _path) returns()

func (*MerkleUtilsTransactorSession) UpdateLeaf

func (_MerkleUtils *MerkleUtilsTransactorSession) UpdateLeaf(_leaf [32]byte, _path *big.Int) (*types.Transaction, error)

UpdateLeaf is a paid mutator transaction binding the contract method 0x272684b5.

Solidity: function updateLeaf(bytes32 _leaf, uint256 _path) returns()

func (*MerkleUtilsTransactorSession) VerifyAndStore

func (_MerkleUtils *MerkleUtilsTransactorSession) VerifyAndStore(_dataBlock []byte, _path *big.Int, _siblings [][32]byte) (*types.Transaction, error)

VerifyAndStore is a paid mutator transaction binding the contract method 0x4359356d.

Solidity: function verifyAndStore(bytes _dataBlock, uint256 _path, bytes32[] _siblings) returns()

type RollupChain

type RollupChain struct {
	RollupChainCaller     // Read-only binding to the contract
	RollupChainTransactor // Write-only binding to the contract
	RollupChainFilterer   // Log filterer for contract events
}

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

func DeployRollupChain

func DeployRollupChain(auth *bind.TransactOpts, backend bind.ContractBackend, _transitionEvaluatorAddress common.Address, _merkleUtilsAddress common.Address, _tokenRegistryAddress common.Address, _validatorRegistryAddress common.Address, _committerAddress common.Address) (common.Address, *types.Transaction, *RollupChain, error)

DeployRollupChain deploys a new Ethereum contract, binding an instance of RollupChain to it.

func NewRollupChain

func NewRollupChain(address common.Address, backend bind.ContractBackend) (*RollupChain, error)

NewRollupChain creates a new instance of RollupChain, bound to a specific deployed contract.

type RollupChainCaller

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

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

func NewRollupChainCaller

func NewRollupChainCaller(address common.Address, caller bind.ContractCaller) (*RollupChainCaller, error)

NewRollupChainCaller creates a new read-only instance of RollupChain, bound to a specific deployed contract.

func (*RollupChainCaller) Blocks

func (_RollupChain *RollupChainCaller) Blocks(opts *bind.CallOpts, arg0 *big.Int) (struct {
	RootHash  [32]byte
	BlockSize *big.Int
}, error)

Blocks is a free data retrieval call binding the contract method 0xf25b3f99.

Solidity: function blocks(uint256 ) view returns(bytes32 rootHash, uint256 blockSize)

func (*RollupChainCaller) CheckTransitionInclusion

func (_RollupChain *RollupChainCaller) CheckTransitionInclusion(opts *bind.CallOpts, _includedTransition DataTypesIncludedTransition) (bool, error)

CheckTransitionInclusion is a free data retrieval call binding the contract method 0x9a14f166.

Solidity: function checkTransitionInclusion((bytes,(uint256,uint256,bytes32[])) _includedTransition) view returns(bool)

func (*RollupChainCaller) CommitterAddress

func (_RollupChain *RollupChainCaller) CommitterAddress(opts *bind.CallOpts) (common.Address, error)

CommitterAddress is a free data retrieval call binding the contract method 0x2b19749e.

Solidity: function committerAddress() view returns(address)

func (*RollupChainCaller) GetAccountInfoBytes

func (_RollupChain *RollupChainCaller) GetAccountInfoBytes(opts *bind.CallOpts, _accountInfo DataTypesAccountInfo) ([]byte, error)

GetAccountInfoBytes is a free data retrieval call binding the contract method 0x3f342807.

Solidity: function getAccountInfoBytes((address,uint256[],uint256[],uint256[]) _accountInfo) pure returns(bytes)

func (*RollupChainCaller) GetCurrentBlockNumber

func (_RollupChain *RollupChainCaller) GetCurrentBlockNumber(opts *bind.CallOpts) (*big.Int, error)

GetCurrentBlockNumber is a free data retrieval call binding the contract method 0x6fd902e1.

Solidity: function getCurrentBlockNumber() view returns(uint256)

func (*RollupChainCaller) GetTransitionHash

func (_RollupChain *RollupChainCaller) GetTransitionHash(opts *bind.CallOpts, _transition []byte) ([32]byte, error)

GetTransitionHash is a free data retrieval call binding the contract method 0xd866ba6f.

Solidity: function getTransitionHash(bytes _transition) pure returns(bytes32)

func (*RollupChainCaller) VerifySequentialTransitions

func (_RollupChain *RollupChainCaller) VerifySequentialTransitions(opts *bind.CallOpts, _transition0 DataTypesIncludedTransition, _transition1 DataTypesIncludedTransition) (bool, error)

VerifySequentialTransitions is a free data retrieval call binding the contract method 0xceb7aeb0.

Solidity: function verifySequentialTransitions((bytes,(uint256,uint256,bytes32[])) _transition0, (bytes,(uint256,uint256,bytes32[])) _transition1) view returns(bool)

func (*RollupChainCaller) VerifyWithdrawTransition

func (_RollupChain *RollupChainCaller) VerifyWithdrawTransition(opts *bind.CallOpts, _account common.Address, _includedTransition DataTypesIncludedTransition) (bool, error)

VerifyWithdrawTransition is a free data retrieval call binding the contract method 0xac820cb8.

Solidity: function verifyWithdrawTransition(address _account, (bytes,(uint256,uint256,bytes32[])) _includedTransition) view returns(bool)

func (*RollupChainCaller) ZEROBYTES32

func (_RollupChain *RollupChainCaller) ZEROBYTES32(opts *bind.CallOpts) ([32]byte, error)

ZEROBYTES32 is a free data retrieval call binding the contract method 0x069321b0.

Solidity: function ZERO_BYTES32() view returns(bytes32)

type RollupChainCallerRaw

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

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

func (*RollupChainCallerRaw) Call

func (_RollupChain *RollupChainCallerRaw) 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 RollupChainCallerSession

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

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

func (*RollupChainCallerSession) Blocks

func (_RollupChain *RollupChainCallerSession) Blocks(arg0 *big.Int) (struct {
	RootHash  [32]byte
	BlockSize *big.Int
}, error)

Blocks is a free data retrieval call binding the contract method 0xf25b3f99.

Solidity: function blocks(uint256 ) view returns(bytes32 rootHash, uint256 blockSize)

func (*RollupChainCallerSession) CheckTransitionInclusion

func (_RollupChain *RollupChainCallerSession) CheckTransitionInclusion(_includedTransition DataTypesIncludedTransition) (bool, error)

CheckTransitionInclusion is a free data retrieval call binding the contract method 0x9a14f166.

Solidity: function checkTransitionInclusion((bytes,(uint256,uint256,bytes32[])) _includedTransition) view returns(bool)

func (*RollupChainCallerSession) CommitterAddress

func (_RollupChain *RollupChainCallerSession) CommitterAddress() (common.Address, error)

CommitterAddress is a free data retrieval call binding the contract method 0x2b19749e.

Solidity: function committerAddress() view returns(address)

func (*RollupChainCallerSession) GetAccountInfoBytes

func (_RollupChain *RollupChainCallerSession) GetAccountInfoBytes(_accountInfo DataTypesAccountInfo) ([]byte, error)

GetAccountInfoBytes is a free data retrieval call binding the contract method 0x3f342807.

Solidity: function getAccountInfoBytes((address,uint256[],uint256[],uint256[]) _accountInfo) pure returns(bytes)

func (*RollupChainCallerSession) GetCurrentBlockNumber

func (_RollupChain *RollupChainCallerSession) GetCurrentBlockNumber() (*big.Int, error)

GetCurrentBlockNumber is a free data retrieval call binding the contract method 0x6fd902e1.

Solidity: function getCurrentBlockNumber() view returns(uint256)

func (*RollupChainCallerSession) GetTransitionHash

func (_RollupChain *RollupChainCallerSession) GetTransitionHash(_transition []byte) ([32]byte, error)

GetTransitionHash is a free data retrieval call binding the contract method 0xd866ba6f.

Solidity: function getTransitionHash(bytes _transition) pure returns(bytes32)

func (*RollupChainCallerSession) VerifySequentialTransitions

func (_RollupChain *RollupChainCallerSession) VerifySequentialTransitions(_transition0 DataTypesIncludedTransition, _transition1 DataTypesIncludedTransition) (bool, error)

VerifySequentialTransitions is a free data retrieval call binding the contract method 0xceb7aeb0.

Solidity: function verifySequentialTransitions((bytes,(uint256,uint256,bytes32[])) _transition0, (bytes,(uint256,uint256,bytes32[])) _transition1) view returns(bool)

func (*RollupChainCallerSession) VerifyWithdrawTransition

func (_RollupChain *RollupChainCallerSession) VerifyWithdrawTransition(_account common.Address, _includedTransition DataTypesIncludedTransition) (bool, error)

VerifyWithdrawTransition is a free data retrieval call binding the contract method 0xac820cb8.

Solidity: function verifyWithdrawTransition(address _account, (bytes,(uint256,uint256,bytes32[])) _includedTransition) view returns(bool)

func (*RollupChainCallerSession) ZEROBYTES32

func (_RollupChain *RollupChainCallerSession) ZEROBYTES32() ([32]byte, error)

ZEROBYTES32 is a free data retrieval call binding the contract method 0x069321b0.

Solidity: function ZERO_BYTES32() view returns(bytes32)

type RollupChainDecodedTransition

type RollupChainDecodedTransition struct {
	Success    bool
	ReturnData []byte
	Raw        types.Log // Blockchain specific contextual infos
}

RollupChainDecodedTransition represents a DecodedTransition event raised by the RollupChain contract.

type RollupChainDecodedTransitionIterator

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

RollupChainDecodedTransitionIterator is returned from FilterDecodedTransition and is used to iterate over the raw logs and unpacked data for DecodedTransition events raised by the RollupChain contract.

func (*RollupChainDecodedTransitionIterator) Close

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

func (*RollupChainDecodedTransitionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupChainDecodedTransitionIterator) 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 RollupChainFilterer

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

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

func NewRollupChainFilterer

func NewRollupChainFilterer(address common.Address, filterer bind.ContractFilterer) (*RollupChainFilterer, error)

NewRollupChainFilterer creates a new log filterer instance of RollupChain, bound to a specific deployed contract.

func (*RollupChainFilterer) FilterDecodedTransition

func (_RollupChain *RollupChainFilterer) FilterDecodedTransition(opts *bind.FilterOpts) (*RollupChainDecodedTransitionIterator, error)

FilterDecodedTransition is a free log retrieval operation binding the contract event 0x5fd450ece0a49d6fc2b885a337c2ad8a37c3fbf9b4fc5b6afb8b0f94a5d2cee3.

Solidity: event DecodedTransition(bool success, bytes returnData)

func (*RollupChainFilterer) FilterRollupBlockCommitted

func (_RollupChain *RollupChainFilterer) FilterRollupBlockCommitted(opts *bind.FilterOpts) (*RollupChainRollupBlockCommittedIterator, error)

FilterRollupBlockCommitted is a free log retrieval operation binding the contract event 0x11fde0647239e9b4730f8d621f19d259727c5b5c12d9d0045acd70ba3d77eec9.

Solidity: event RollupBlockCommitted(uint256 blockNumber, bytes[] transitions)

func (*RollupChainFilterer) FilterTransition

func (_RollupChain *RollupChainFilterer) FilterTransition(opts *bind.FilterOpts) (*RollupChainTransitionIterator, error)

FilterTransition is a free log retrieval operation binding the contract event 0x034a300becb670ff9f6b390e64766c9455581e22e5785b0f59806e2fad57c111.

Solidity: event Transition(bytes data)

func (*RollupChainFilterer) ParseDecodedTransition

func (_RollupChain *RollupChainFilterer) ParseDecodedTransition(log types.Log) (*RollupChainDecodedTransition, error)

ParseDecodedTransition is a log parse operation binding the contract event 0x5fd450ece0a49d6fc2b885a337c2ad8a37c3fbf9b4fc5b6afb8b0f94a5d2cee3.

Solidity: event DecodedTransition(bool success, bytes returnData)

func (*RollupChainFilterer) ParseRollupBlockCommitted

func (_RollupChain *RollupChainFilterer) ParseRollupBlockCommitted(log types.Log) (*RollupChainRollupBlockCommitted, error)

ParseRollupBlockCommitted is a log parse operation binding the contract event 0x11fde0647239e9b4730f8d621f19d259727c5b5c12d9d0045acd70ba3d77eec9.

Solidity: event RollupBlockCommitted(uint256 blockNumber, bytes[] transitions)

func (*RollupChainFilterer) ParseTransition

func (_RollupChain *RollupChainFilterer) ParseTransition(log types.Log) (*RollupChainTransition, error)

ParseTransition is a log parse operation binding the contract event 0x034a300becb670ff9f6b390e64766c9455581e22e5785b0f59806e2fad57c111.

Solidity: event Transition(bytes data)

func (*RollupChainFilterer) WatchDecodedTransition

func (_RollupChain *RollupChainFilterer) WatchDecodedTransition(opts *bind.WatchOpts, sink chan<- *RollupChainDecodedTransition) (event.Subscription, error)

WatchDecodedTransition is a free log subscription operation binding the contract event 0x5fd450ece0a49d6fc2b885a337c2ad8a37c3fbf9b4fc5b6afb8b0f94a5d2cee3.

Solidity: event DecodedTransition(bool success, bytes returnData)

func (*RollupChainFilterer) WatchRollupBlockCommitted

func (_RollupChain *RollupChainFilterer) WatchRollupBlockCommitted(opts *bind.WatchOpts, sink chan<- *RollupChainRollupBlockCommitted) (event.Subscription, error)

WatchRollupBlockCommitted is a free log subscription operation binding the contract event 0x11fde0647239e9b4730f8d621f19d259727c5b5c12d9d0045acd70ba3d77eec9.

Solidity: event RollupBlockCommitted(uint256 blockNumber, bytes[] transitions)

func (*RollupChainFilterer) WatchTransition

func (_RollupChain *RollupChainFilterer) WatchTransition(opts *bind.WatchOpts, sink chan<- *RollupChainTransition) (event.Subscription, error)

WatchTransition is a free log subscription operation binding the contract event 0x034a300becb670ff9f6b390e64766c9455581e22e5785b0f59806e2fad57c111.

Solidity: event Transition(bytes data)

type RollupChainRaw

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

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

func (*RollupChainRaw) Call

func (_RollupChain *RollupChainRaw) 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 (*RollupChainRaw) Transact

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

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

func (*RollupChainRaw) Transfer

func (_RollupChain *RollupChainRaw) 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 RollupChainRollupBlockCommitted

type RollupChainRollupBlockCommitted struct {
	BlockNumber *big.Int
	Transitions [][]byte
	Raw         types.Log // Blockchain specific contextual infos
}

RollupChainRollupBlockCommitted represents a RollupBlockCommitted event raised by the RollupChain contract.

type RollupChainRollupBlockCommittedIterator

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

RollupChainRollupBlockCommittedIterator is returned from FilterRollupBlockCommitted and is used to iterate over the raw logs and unpacked data for RollupBlockCommitted events raised by the RollupChain contract.

func (*RollupChainRollupBlockCommittedIterator) Close

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

func (*RollupChainRollupBlockCommittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupChainRollupBlockCommittedIterator) 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 RollupChainSession

type RollupChainSession struct {
	Contract     *RollupChain      // 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
}

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

func (*RollupChainSession) Blocks

func (_RollupChain *RollupChainSession) Blocks(arg0 *big.Int) (struct {
	RootHash  [32]byte
	BlockSize *big.Int
}, error)

Blocks is a free data retrieval call binding the contract method 0xf25b3f99.

Solidity: function blocks(uint256 ) view returns(bytes32 rootHash, uint256 blockSize)

func (*RollupChainSession) CheckTransitionInclusion

func (_RollupChain *RollupChainSession) CheckTransitionInclusion(_includedTransition DataTypesIncludedTransition) (bool, error)

CheckTransitionInclusion is a free data retrieval call binding the contract method 0x9a14f166.

Solidity: function checkTransitionInclusion((bytes,(uint256,uint256,bytes32[])) _includedTransition) view returns(bool)

func (*RollupChainSession) CommitBlock

func (_RollupChain *RollupChainSession) CommitBlock(_blockNumber *big.Int, _transitions [][]byte, _signatures [][]byte) (*types.Transaction, error)

CommitBlock is a paid mutator transaction binding the contract method 0x68886cd1.

Solidity: function commitBlock(uint256 _blockNumber, bytes[] _transitions, bytes[] _signatures) returns(bytes32)

func (*RollupChainSession) CommitterAddress

func (_RollupChain *RollupChainSession) CommitterAddress() (common.Address, error)

CommitterAddress is a free data retrieval call binding the contract method 0x2b19749e.

Solidity: function committerAddress() view returns(address)

func (*RollupChainSession) GetAccountInfoBytes

func (_RollupChain *RollupChainSession) GetAccountInfoBytes(_accountInfo DataTypesAccountInfo) ([]byte, error)

GetAccountInfoBytes is a free data retrieval call binding the contract method 0x3f342807.

Solidity: function getAccountInfoBytes((address,uint256[],uint256[],uint256[]) _accountInfo) pure returns(bytes)

func (*RollupChainSession) GetCurrentBlockNumber

func (_RollupChain *RollupChainSession) GetCurrentBlockNumber() (*big.Int, error)

GetCurrentBlockNumber is a free data retrieval call binding the contract method 0x6fd902e1.

Solidity: function getCurrentBlockNumber() view returns(uint256)

func (*RollupChainSession) GetStateRootAndStorageSlots

func (_RollupChain *RollupChainSession) GetStateRootAndStorageSlots(_transition []byte) (*types.Transaction, error)

GetStateRootAndStorageSlots is a paid mutator transaction binding the contract method 0x731fba78.

Solidity: function getStateRootAndStorageSlots(bytes _transition) returns(bool, bytes32, uint256[])

func (*RollupChainSession) GetStateRootsAndStorageSlots

func (_RollupChain *RollupChainSession) GetStateRootsAndStorageSlots(_preStateTransition []byte, _invalidTransition []byte) (*types.Transaction, error)

GetStateRootsAndStorageSlots is a paid mutator transaction binding the contract method 0xbc128da9.

Solidity: function getStateRootsAndStorageSlots(bytes _preStateTransition, bytes _invalidTransition) returns(bool, bytes32, bytes32, uint256[])

func (*RollupChainSession) GetTransitionHash

func (_RollupChain *RollupChainSession) GetTransitionHash(_transition []byte) ([32]byte, error)

GetTransitionHash is a free data retrieval call binding the contract method 0xd866ba6f.

Solidity: function getTransitionHash(bytes _transition) pure returns(bytes32)

func (*RollupChainSession) ProveTransitionInvalid

func (_RollupChain *RollupChainSession) ProveTransitionInvalid(_preStateIncludedTransition DataTypesIncludedTransition, _invalidIncludedTransition DataTypesIncludedTransition, _transitionStorageSlots []DataTypesIncludedStorageSlot) (*types.Transaction, error)

ProveTransitionInvalid is a paid mutator transaction binding the contract method 0xad41175a.

Solidity: function proveTransitionInvalid((bytes,(uint256,uint256,bytes32[])) _preStateIncludedTransition, (bytes,(uint256,uint256,bytes32[])) _invalidIncludedTransition, ((uint256,(address,uint256[],uint256[],uint256[])),bytes32[])[] _transitionStorageSlots) returns()

func (*RollupChainSession) SetCommitterAddress

func (_RollupChain *RollupChainSession) SetCommitterAddress(_committerAddress common.Address) (*types.Transaction, error)

SetCommitterAddress is a paid mutator transaction binding the contract method 0x13df8728.

Solidity: function setCommitterAddress(address _committerAddress) returns()

func (*RollupChainSession) VerifySequentialTransitions

func (_RollupChain *RollupChainSession) VerifySequentialTransitions(_transition0 DataTypesIncludedTransition, _transition1 DataTypesIncludedTransition) (bool, error)

VerifySequentialTransitions is a free data retrieval call binding the contract method 0xceb7aeb0.

Solidity: function verifySequentialTransitions((bytes,(uint256,uint256,bytes32[])) _transition0, (bytes,(uint256,uint256,bytes32[])) _transition1) view returns(bool)

func (*RollupChainSession) VerifyWithdrawTransition

func (_RollupChain *RollupChainSession) VerifyWithdrawTransition(_account common.Address, _includedTransition DataTypesIncludedTransition) (bool, error)

VerifyWithdrawTransition is a free data retrieval call binding the contract method 0xac820cb8.

Solidity: function verifyWithdrawTransition(address _account, (bytes,(uint256,uint256,bytes32[])) _includedTransition) view returns(bool)

func (*RollupChainSession) ZEROBYTES32

func (_RollupChain *RollupChainSession) ZEROBYTES32() ([32]byte, error)

ZEROBYTES32 is a free data retrieval call binding the contract method 0x069321b0.

Solidity: function ZERO_BYTES32() view returns(bytes32)

type RollupChainTransactor

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

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

func NewRollupChainTransactor

func NewRollupChainTransactor(address common.Address, transactor bind.ContractTransactor) (*RollupChainTransactor, error)

NewRollupChainTransactor creates a new write-only instance of RollupChain, bound to a specific deployed contract.

func (*RollupChainTransactor) CommitBlock

func (_RollupChain *RollupChainTransactor) CommitBlock(opts *bind.TransactOpts, _blockNumber *big.Int, _transitions [][]byte, _signatures [][]byte) (*types.Transaction, error)

CommitBlock is a paid mutator transaction binding the contract method 0x68886cd1.

Solidity: function commitBlock(uint256 _blockNumber, bytes[] _transitions, bytes[] _signatures) returns(bytes32)

func (*RollupChainTransactor) GetStateRootAndStorageSlots

func (_RollupChain *RollupChainTransactor) GetStateRootAndStorageSlots(opts *bind.TransactOpts, _transition []byte) (*types.Transaction, error)

GetStateRootAndStorageSlots is a paid mutator transaction binding the contract method 0x731fba78.

Solidity: function getStateRootAndStorageSlots(bytes _transition) returns(bool, bytes32, uint256[])

func (*RollupChainTransactor) GetStateRootsAndStorageSlots

func (_RollupChain *RollupChainTransactor) GetStateRootsAndStorageSlots(opts *bind.TransactOpts, _preStateTransition []byte, _invalidTransition []byte) (*types.Transaction, error)

GetStateRootsAndStorageSlots is a paid mutator transaction binding the contract method 0xbc128da9.

Solidity: function getStateRootsAndStorageSlots(bytes _preStateTransition, bytes _invalidTransition) returns(bool, bytes32, bytes32, uint256[])

func (*RollupChainTransactor) ProveTransitionInvalid

func (_RollupChain *RollupChainTransactor) ProveTransitionInvalid(opts *bind.TransactOpts, _preStateIncludedTransition DataTypesIncludedTransition, _invalidIncludedTransition DataTypesIncludedTransition, _transitionStorageSlots []DataTypesIncludedStorageSlot) (*types.Transaction, error)

ProveTransitionInvalid is a paid mutator transaction binding the contract method 0xad41175a.

Solidity: function proveTransitionInvalid((bytes,(uint256,uint256,bytes32[])) _preStateIncludedTransition, (bytes,(uint256,uint256,bytes32[])) _invalidIncludedTransition, ((uint256,(address,uint256[],uint256[],uint256[])),bytes32[])[] _transitionStorageSlots) returns()

func (*RollupChainTransactor) SetCommitterAddress

func (_RollupChain *RollupChainTransactor) SetCommitterAddress(opts *bind.TransactOpts, _committerAddress common.Address) (*types.Transaction, error)

SetCommitterAddress is a paid mutator transaction binding the contract method 0x13df8728.

Solidity: function setCommitterAddress(address _committerAddress) returns()

type RollupChainTransactorRaw

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

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

func (*RollupChainTransactorRaw) Transact

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

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

func (*RollupChainTransactorRaw) Transfer

func (_RollupChain *RollupChainTransactorRaw) 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 RollupChainTransactorSession

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

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

func (*RollupChainTransactorSession) CommitBlock

func (_RollupChain *RollupChainTransactorSession) CommitBlock(_blockNumber *big.Int, _transitions [][]byte, _signatures [][]byte) (*types.Transaction, error)

CommitBlock is a paid mutator transaction binding the contract method 0x68886cd1.

Solidity: function commitBlock(uint256 _blockNumber, bytes[] _transitions, bytes[] _signatures) returns(bytes32)

func (*RollupChainTransactorSession) GetStateRootAndStorageSlots

func (_RollupChain *RollupChainTransactorSession) GetStateRootAndStorageSlots(_transition []byte) (*types.Transaction, error)

GetStateRootAndStorageSlots is a paid mutator transaction binding the contract method 0x731fba78.

Solidity: function getStateRootAndStorageSlots(bytes _transition) returns(bool, bytes32, uint256[])

func (*RollupChainTransactorSession) GetStateRootsAndStorageSlots

func (_RollupChain *RollupChainTransactorSession) GetStateRootsAndStorageSlots(_preStateTransition []byte, _invalidTransition []byte) (*types.Transaction, error)

GetStateRootsAndStorageSlots is a paid mutator transaction binding the contract method 0xbc128da9.

Solidity: function getStateRootsAndStorageSlots(bytes _preStateTransition, bytes _invalidTransition) returns(bool, bytes32, bytes32, uint256[])

func (*RollupChainTransactorSession) ProveTransitionInvalid

func (_RollupChain *RollupChainTransactorSession) ProveTransitionInvalid(_preStateIncludedTransition DataTypesIncludedTransition, _invalidIncludedTransition DataTypesIncludedTransition, _transitionStorageSlots []DataTypesIncludedStorageSlot) (*types.Transaction, error)

ProveTransitionInvalid is a paid mutator transaction binding the contract method 0xad41175a.

Solidity: function proveTransitionInvalid((bytes,(uint256,uint256,bytes32[])) _preStateIncludedTransition, (bytes,(uint256,uint256,bytes32[])) _invalidIncludedTransition, ((uint256,(address,uint256[],uint256[],uint256[])),bytes32[])[] _transitionStorageSlots) returns()

func (*RollupChainTransactorSession) SetCommitterAddress

func (_RollupChain *RollupChainTransactorSession) SetCommitterAddress(_committerAddress common.Address) (*types.Transaction, error)

SetCommitterAddress is a paid mutator transaction binding the contract method 0x13df8728.

Solidity: function setCommitterAddress(address _committerAddress) returns()

type RollupChainTransition

type RollupChainTransition struct {
	Data []byte
	Raw  types.Log // Blockchain specific contextual infos
}

RollupChainTransition represents a Transition event raised by the RollupChain contract.

type RollupChainTransitionIterator

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

RollupChainTransitionIterator is returned from FilterTransition and is used to iterate over the raw logs and unpacked data for Transition events raised by the RollupChain contract.

func (*RollupChainTransitionIterator) Close

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

func (*RollupChainTransitionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RollupChainTransitionIterator) 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 TokenRegistry

type TokenRegistry struct {
	TokenRegistryCaller     // Read-only binding to the contract
	TokenRegistryTransactor // Write-only binding to the contract
	TokenRegistryFilterer   // Log filterer for contract events
}

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

func DeployTokenRegistry

func DeployTokenRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TokenRegistry, error)

DeployTokenRegistry deploys a new Ethereum contract, binding an instance of TokenRegistry to it.

func NewTokenRegistry

func NewTokenRegistry(address common.Address, backend bind.ContractBackend) (*TokenRegistry, error)

NewTokenRegistry creates a new instance of TokenRegistry, bound to a specific deployed contract.

type TokenRegistryCaller

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

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

func NewTokenRegistryCaller

func NewTokenRegistryCaller(address common.Address, caller bind.ContractCaller) (*TokenRegistryCaller, error)

NewTokenRegistryCaller creates a new read-only instance of TokenRegistry, bound to a specific deployed contract.

func (*TokenRegistryCaller) Owner

func (_TokenRegistry *TokenRegistryCaller) 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 (*TokenRegistryCaller) TokenAddressToTokenIndex

func (_TokenRegistry *TokenRegistryCaller) TokenAddressToTokenIndex(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

TokenAddressToTokenIndex is a free data retrieval call binding the contract method 0xe6250c77.

Solidity: function tokenAddressToTokenIndex(address ) view returns(uint256)

func (*TokenRegistryCaller) TokenIndexToTokenAddress

func (_TokenRegistry *TokenRegistryCaller) TokenIndexToTokenAddress(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

TokenIndexToTokenAddress is a free data retrieval call binding the contract method 0x9bf53f18.

Solidity: function tokenIndexToTokenAddress(uint256 ) view returns(address)

type TokenRegistryCallerRaw

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

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

func (*TokenRegistryCallerRaw) Call

func (_TokenRegistry *TokenRegistryCallerRaw) 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 TokenRegistryCallerSession

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

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

func (*TokenRegistryCallerSession) Owner

func (_TokenRegistry *TokenRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokenRegistryCallerSession) TokenAddressToTokenIndex

func (_TokenRegistry *TokenRegistryCallerSession) TokenAddressToTokenIndex(arg0 common.Address) (*big.Int, error)

TokenAddressToTokenIndex is a free data retrieval call binding the contract method 0xe6250c77.

Solidity: function tokenAddressToTokenIndex(address ) view returns(uint256)

func (*TokenRegistryCallerSession) TokenIndexToTokenAddress

func (_TokenRegistry *TokenRegistryCallerSession) TokenIndexToTokenAddress(arg0 *big.Int) (common.Address, error)

TokenIndexToTokenAddress is a free data retrieval call binding the contract method 0x9bf53f18.

Solidity: function tokenIndexToTokenAddress(uint256 ) view returns(address)

type TokenRegistryFilterer

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

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

func NewTokenRegistryFilterer

func NewTokenRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenRegistryFilterer, error)

NewTokenRegistryFilterer creates a new log filterer instance of TokenRegistry, bound to a specific deployed contract.

func (*TokenRegistryFilterer) FilterOwnershipTransferred

func (_TokenRegistry *TokenRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenRegistryOwnershipTransferredIterator, error)

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

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

func (*TokenRegistryFilterer) FilterTokenRegistered

func (_TokenRegistry *TokenRegistryFilterer) FilterTokenRegistered(opts *bind.FilterOpts, tokenAddress []common.Address, tokenIndex []*big.Int) (*TokenRegistryTokenRegisteredIterator, error)

FilterTokenRegistered is a free log retrieval operation binding the contract event 0xd7ca5dc2f8c6bb37c3a4de2a81499b25f8ca8bbb3082010244fe747077d0f6cc.

Solidity: event TokenRegistered(address indexed tokenAddress, uint256 indexed tokenIndex)

func (*TokenRegistryFilterer) ParseOwnershipTransferred

func (_TokenRegistry *TokenRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*TokenRegistryOwnershipTransferred, error)

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

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

func (*TokenRegistryFilterer) ParseTokenRegistered

func (_TokenRegistry *TokenRegistryFilterer) ParseTokenRegistered(log types.Log) (*TokenRegistryTokenRegistered, error)

ParseTokenRegistered is a log parse operation binding the contract event 0xd7ca5dc2f8c6bb37c3a4de2a81499b25f8ca8bbb3082010244fe747077d0f6cc.

Solidity: event TokenRegistered(address indexed tokenAddress, uint256 indexed tokenIndex)

func (*TokenRegistryFilterer) WatchOwnershipTransferred

func (_TokenRegistry *TokenRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenRegistryOwnershipTransferred, 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 (*TokenRegistryFilterer) WatchTokenRegistered

func (_TokenRegistry *TokenRegistryFilterer) WatchTokenRegistered(opts *bind.WatchOpts, sink chan<- *TokenRegistryTokenRegistered, tokenAddress []common.Address, tokenIndex []*big.Int) (event.Subscription, error)

WatchTokenRegistered is a free log subscription operation binding the contract event 0xd7ca5dc2f8c6bb37c3a4de2a81499b25f8ca8bbb3082010244fe747077d0f6cc.

Solidity: event TokenRegistered(address indexed tokenAddress, uint256 indexed tokenIndex)

type TokenRegistryOwnershipTransferred

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

TokenRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the TokenRegistry contract.

type TokenRegistryOwnershipTransferredIterator

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

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

func (*TokenRegistryOwnershipTransferredIterator) Close

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

func (*TokenRegistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenRegistryOwnershipTransferredIterator) 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 TokenRegistryRaw

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

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

func (*TokenRegistryRaw) Call

func (_TokenRegistry *TokenRegistryRaw) 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 (*TokenRegistryRaw) Transact

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

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

func (*TokenRegistryRaw) Transfer

func (_TokenRegistry *TokenRegistryRaw) 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 TokenRegistrySession

type TokenRegistrySession struct {
	Contract     *TokenRegistry    // 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
}

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

func (*TokenRegistrySession) Owner

func (_TokenRegistry *TokenRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TokenRegistrySession) RegisterToken

func (_TokenRegistry *TokenRegistrySession) RegisterToken(_tokenAddress common.Address) (*types.Transaction, error)

RegisterToken is a paid mutator transaction binding the contract method 0x09824a80.

Solidity: function registerToken(address _tokenAddress) returns()

func (*TokenRegistrySession) RenounceOwnership

func (_TokenRegistry *TokenRegistrySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TokenRegistrySession) TokenAddressToTokenIndex

func (_TokenRegistry *TokenRegistrySession) TokenAddressToTokenIndex(arg0 common.Address) (*big.Int, error)

TokenAddressToTokenIndex is a free data retrieval call binding the contract method 0xe6250c77.

Solidity: function tokenAddressToTokenIndex(address ) view returns(uint256)

func (*TokenRegistrySession) TokenIndexToTokenAddress

func (_TokenRegistry *TokenRegistrySession) TokenIndexToTokenAddress(arg0 *big.Int) (common.Address, error)

TokenIndexToTokenAddress is a free data retrieval call binding the contract method 0x9bf53f18.

Solidity: function tokenIndexToTokenAddress(uint256 ) view returns(address)

func (*TokenRegistrySession) TransferOwnership

func (_TokenRegistry *TokenRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type TokenRegistryTokenRegistered

type TokenRegistryTokenRegistered struct {
	TokenAddress common.Address
	TokenIndex   *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

TokenRegistryTokenRegistered represents a TokenRegistered event raised by the TokenRegistry contract.

type TokenRegistryTokenRegisteredIterator

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

TokenRegistryTokenRegisteredIterator is returned from FilterTokenRegistered and is used to iterate over the raw logs and unpacked data for TokenRegistered events raised by the TokenRegistry contract.

func (*TokenRegistryTokenRegisteredIterator) Close

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

func (*TokenRegistryTokenRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenRegistryTokenRegisteredIterator) 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 TokenRegistryTransactor

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

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

func NewTokenRegistryTransactor

func NewTokenRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenRegistryTransactor, error)

NewTokenRegistryTransactor creates a new write-only instance of TokenRegistry, bound to a specific deployed contract.

func (*TokenRegistryTransactor) RegisterToken

func (_TokenRegistry *TokenRegistryTransactor) RegisterToken(opts *bind.TransactOpts, _tokenAddress common.Address) (*types.Transaction, error)

RegisterToken is a paid mutator transaction binding the contract method 0x09824a80.

Solidity: function registerToken(address _tokenAddress) returns()

func (*TokenRegistryTransactor) RenounceOwnership

func (_TokenRegistry *TokenRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TokenRegistryTransactor) TransferOwnership

func (_TokenRegistry *TokenRegistryTransactor) 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()

type TokenRegistryTransactorRaw

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

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

func (*TokenRegistryTransactorRaw) Transact

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

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

func (*TokenRegistryTransactorRaw) Transfer

func (_TokenRegistry *TokenRegistryTransactorRaw) 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 TokenRegistryTransactorSession

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

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

func (*TokenRegistryTransactorSession) RegisterToken

func (_TokenRegistry *TokenRegistryTransactorSession) RegisterToken(_tokenAddress common.Address) (*types.Transaction, error)

RegisterToken is a paid mutator transaction binding the contract method 0x09824a80.

Solidity: function registerToken(address _tokenAddress) returns()

func (*TokenRegistryTransactorSession) RenounceOwnership

func (_TokenRegistry *TokenRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TokenRegistryTransactorSession) TransferOwnership

func (_TokenRegistry *TokenRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type TransitionEvaluator

type TransitionEvaluator struct {
	TransitionEvaluatorCaller     // Read-only binding to the contract
	TransitionEvaluatorTransactor // Write-only binding to the contract
	TransitionEvaluatorFilterer   // Log filterer for contract events
}

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

func DeployTransitionEvaluator

func DeployTransitionEvaluator(auth *bind.TransactOpts, backend bind.ContractBackend, _accountRegistryAddress common.Address, _tokenRegistryAddress common.Address) (common.Address, *types.Transaction, *TransitionEvaluator, error)

DeployTransitionEvaluator deploys a new Ethereum contract, binding an instance of TransitionEvaluator to it.

func NewTransitionEvaluator

func NewTransitionEvaluator(address common.Address, backend bind.ContractBackend) (*TransitionEvaluator, error)

NewTransitionEvaluator creates a new instance of TransitionEvaluator, bound to a specific deployed contract.

type TransitionEvaluatorCaller

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

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

func NewTransitionEvaluatorCaller

func NewTransitionEvaluatorCaller(address common.Address, caller bind.ContractCaller) (*TransitionEvaluatorCaller, error)

NewTransitionEvaluatorCaller creates a new read-only instance of TransitionEvaluator, bound to a specific deployed contract.

func (*TransitionEvaluatorCaller) ApplyCreateAndDepositTransition

func (_TransitionEvaluator *TransitionEvaluatorCaller) ApplyCreateAndDepositTransition(opts *bind.CallOpts, _transition DataTypesCreateAndDepositTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyCreateAndDepositTransition is a free data retrieval call binding the contract method 0x27fe87dd.

Solidity: function applyCreateAndDepositTransition((uint256,bytes32,uint256,address,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorCaller) ApplyCreateAndTransferTransition

func (_TransitionEvaluator *TransitionEvaluatorCaller) ApplyCreateAndTransferTransition(opts *bind.CallOpts, _transition DataTypesCreateAndTransferTransition, _storageSlots [2]DataTypesStorageSlot) ([2]DataTypesAccountInfo, error)

ApplyCreateAndTransferTransition is a free data retrieval call binding the contract method 0x010005f6.

Solidity: function applyCreateAndTransferTransition((uint256,bytes32,uint256,uint256,address,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[]))[2] _storageSlots) view returns((address,uint256[],uint256[],uint256[])[2])

func (*TransitionEvaluatorCaller) ApplyDepositTransition

func (_TransitionEvaluator *TransitionEvaluatorCaller) ApplyDepositTransition(opts *bind.CallOpts, _transition DataTypesDepositTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyDepositTransition is a free data retrieval call binding the contract method 0x68205c0c.

Solidity: function applyDepositTransition((uint256,bytes32,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorCaller) ApplyTransferTransition

func (_TransitionEvaluator *TransitionEvaluatorCaller) ApplyTransferTransition(opts *bind.CallOpts, _transition DataTypesTransferTransition, _storageSlots [2]DataTypesStorageSlot) ([2]DataTypesAccountInfo, error)

ApplyTransferTransition is a free data retrieval call binding the contract method 0x17b3217b.

Solidity: function applyTransferTransition((uint256,bytes32,uint256,uint256,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[]))[2] _storageSlots) view returns((address,uint256[],uint256[],uint256[])[2])

func (*TransitionEvaluatorCaller) ApplyWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorCaller) ApplyWithdrawTransition(opts *bind.CallOpts, _transition DataTypesWithdrawTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyWithdrawTransition is a free data retrieval call binding the contract method 0xebc59c91.

Solidity: function applyWithdrawTransition((uint256,bytes32,uint256,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorCaller) DecodeWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorCaller) DecodeWithdrawTransition(opts *bind.CallOpts, _rawBytes []byte) (DataTypesWithdrawTransition, error)

DecodeWithdrawTransition is a free data retrieval call binding the contract method 0xcc354f67.

Solidity: function decodeWithdrawTransition(bytes _rawBytes) pure returns((uint256,bytes32,uint256,uint256,uint256,uint256,bytes))

func (*TransitionEvaluatorCaller) EvaluateTransition

func (_TransitionEvaluator *TransitionEvaluatorCaller) EvaluateTransition(opts *bind.CallOpts, _transition []byte, _storageSlots []DataTypesStorageSlot) ([][32]byte, error)

EvaluateTransition is a free data retrieval call binding the contract method 0x54e780b1.

Solidity: function evaluateTransition(bytes _transition, (uint256,(address,uint256[],uint256[],uint256[]))[] _storageSlots) view returns(bytes32[])

func (*TransitionEvaluatorCaller) GetAccountInfoHash

func (_TransitionEvaluator *TransitionEvaluatorCaller) GetAccountInfoHash(opts *bind.CallOpts, _accountInfo DataTypesAccountInfo) ([32]byte, error)

GetAccountInfoHash is a free data retrieval call binding the contract method 0x4fa9b6a8.

Solidity: function getAccountInfoHash((address,uint256[],uint256[],uint256[]) _accountInfo) pure returns(bytes32)

func (*TransitionEvaluatorCaller) GetTransitionStateRootAndAccessList

func (_TransitionEvaluator *TransitionEvaluatorCaller) GetTransitionStateRootAndAccessList(opts *bind.CallOpts, _rawTransition []byte) ([32]byte, []*big.Int, error)

GetTransitionStateRootAndAccessList is a free data retrieval call binding the contract method 0xbdce7919.

Solidity: function getTransitionStateRootAndAccessList(bytes _rawTransition) pure returns(bytes32, uint256[])

func (*TransitionEvaluatorCaller) VerifyWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorCaller) VerifyWithdrawTransition(opts *bind.CallOpts, _account common.Address, _rawTransition []byte) (bool, error)

VerifyWithdrawTransition is a free data retrieval call binding the contract method 0xaae2e3c0.

Solidity: function verifyWithdrawTransition(address _account, bytes _rawTransition) view returns(bool)

type TransitionEvaluatorCallerRaw

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

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

func (*TransitionEvaluatorCallerRaw) Call

func (_TransitionEvaluator *TransitionEvaluatorCallerRaw) 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 TransitionEvaluatorCallerSession

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

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

func (*TransitionEvaluatorCallerSession) ApplyCreateAndDepositTransition

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) ApplyCreateAndDepositTransition(_transition DataTypesCreateAndDepositTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyCreateAndDepositTransition is a free data retrieval call binding the contract method 0x27fe87dd.

Solidity: function applyCreateAndDepositTransition((uint256,bytes32,uint256,address,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorCallerSession) ApplyCreateAndTransferTransition

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) ApplyCreateAndTransferTransition(_transition DataTypesCreateAndTransferTransition, _storageSlots [2]DataTypesStorageSlot) ([2]DataTypesAccountInfo, error)

ApplyCreateAndTransferTransition is a free data retrieval call binding the contract method 0x010005f6.

Solidity: function applyCreateAndTransferTransition((uint256,bytes32,uint256,uint256,address,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[]))[2] _storageSlots) view returns((address,uint256[],uint256[],uint256[])[2])

func (*TransitionEvaluatorCallerSession) ApplyDepositTransition

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) ApplyDepositTransition(_transition DataTypesDepositTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyDepositTransition is a free data retrieval call binding the contract method 0x68205c0c.

Solidity: function applyDepositTransition((uint256,bytes32,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorCallerSession) ApplyTransferTransition

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) ApplyTransferTransition(_transition DataTypesTransferTransition, _storageSlots [2]DataTypesStorageSlot) ([2]DataTypesAccountInfo, error)

ApplyTransferTransition is a free data retrieval call binding the contract method 0x17b3217b.

Solidity: function applyTransferTransition((uint256,bytes32,uint256,uint256,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[]))[2] _storageSlots) view returns((address,uint256[],uint256[],uint256[])[2])

func (*TransitionEvaluatorCallerSession) ApplyWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) ApplyWithdrawTransition(_transition DataTypesWithdrawTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyWithdrawTransition is a free data retrieval call binding the contract method 0xebc59c91.

Solidity: function applyWithdrawTransition((uint256,bytes32,uint256,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorCallerSession) DecodeWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) DecodeWithdrawTransition(_rawBytes []byte) (DataTypesWithdrawTransition, error)

DecodeWithdrawTransition is a free data retrieval call binding the contract method 0xcc354f67.

Solidity: function decodeWithdrawTransition(bytes _rawBytes) pure returns((uint256,bytes32,uint256,uint256,uint256,uint256,bytes))

func (*TransitionEvaluatorCallerSession) EvaluateTransition

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) EvaluateTransition(_transition []byte, _storageSlots []DataTypesStorageSlot) ([][32]byte, error)

EvaluateTransition is a free data retrieval call binding the contract method 0x54e780b1.

Solidity: function evaluateTransition(bytes _transition, (uint256,(address,uint256[],uint256[],uint256[]))[] _storageSlots) view returns(bytes32[])

func (*TransitionEvaluatorCallerSession) GetAccountInfoHash

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) GetAccountInfoHash(_accountInfo DataTypesAccountInfo) ([32]byte, error)

GetAccountInfoHash is a free data retrieval call binding the contract method 0x4fa9b6a8.

Solidity: function getAccountInfoHash((address,uint256[],uint256[],uint256[]) _accountInfo) pure returns(bytes32)

func (*TransitionEvaluatorCallerSession) GetTransitionStateRootAndAccessList

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) GetTransitionStateRootAndAccessList(_rawTransition []byte) ([32]byte, []*big.Int, error)

GetTransitionStateRootAndAccessList is a free data retrieval call binding the contract method 0xbdce7919.

Solidity: function getTransitionStateRootAndAccessList(bytes _rawTransition) pure returns(bytes32, uint256[])

func (*TransitionEvaluatorCallerSession) VerifyWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorCallerSession) VerifyWithdrawTransition(_account common.Address, _rawTransition []byte) (bool, error)

VerifyWithdrawTransition is a free data retrieval call binding the contract method 0xaae2e3c0.

Solidity: function verifyWithdrawTransition(address _account, bytes _rawTransition) view returns(bool)

type TransitionEvaluatorFilterer

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

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

func NewTransitionEvaluatorFilterer

func NewTransitionEvaluatorFilterer(address common.Address, filterer bind.ContractFilterer) (*TransitionEvaluatorFilterer, error)

NewTransitionEvaluatorFilterer creates a new log filterer instance of TransitionEvaluator, bound to a specific deployed contract.

type TransitionEvaluatorRaw

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

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

func (*TransitionEvaluatorRaw) Call

func (_TransitionEvaluator *TransitionEvaluatorRaw) 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 (*TransitionEvaluatorRaw) Transact

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

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

func (*TransitionEvaluatorRaw) Transfer

func (_TransitionEvaluator *TransitionEvaluatorRaw) 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 TransitionEvaluatorSession

type TransitionEvaluatorSession struct {
	Contract     *TransitionEvaluator // 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
}

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

func (*TransitionEvaluatorSession) ApplyCreateAndDepositTransition

func (_TransitionEvaluator *TransitionEvaluatorSession) ApplyCreateAndDepositTransition(_transition DataTypesCreateAndDepositTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyCreateAndDepositTransition is a free data retrieval call binding the contract method 0x27fe87dd.

Solidity: function applyCreateAndDepositTransition((uint256,bytes32,uint256,address,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorSession) ApplyCreateAndTransferTransition

func (_TransitionEvaluator *TransitionEvaluatorSession) ApplyCreateAndTransferTransition(_transition DataTypesCreateAndTransferTransition, _storageSlots [2]DataTypesStorageSlot) ([2]DataTypesAccountInfo, error)

ApplyCreateAndTransferTransition is a free data retrieval call binding the contract method 0x010005f6.

Solidity: function applyCreateAndTransferTransition((uint256,bytes32,uint256,uint256,address,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[]))[2] _storageSlots) view returns((address,uint256[],uint256[],uint256[])[2])

func (*TransitionEvaluatorSession) ApplyDepositTransition

func (_TransitionEvaluator *TransitionEvaluatorSession) ApplyDepositTransition(_transition DataTypesDepositTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyDepositTransition is a free data retrieval call binding the contract method 0x68205c0c.

Solidity: function applyDepositTransition((uint256,bytes32,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorSession) ApplyTransferTransition

func (_TransitionEvaluator *TransitionEvaluatorSession) ApplyTransferTransition(_transition DataTypesTransferTransition, _storageSlots [2]DataTypesStorageSlot) ([2]DataTypesAccountInfo, error)

ApplyTransferTransition is a free data retrieval call binding the contract method 0x17b3217b.

Solidity: function applyTransferTransition((uint256,bytes32,uint256,uint256,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[]))[2] _storageSlots) view returns((address,uint256[],uint256[],uint256[])[2])

func (*TransitionEvaluatorSession) ApplyWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorSession) ApplyWithdrawTransition(_transition DataTypesWithdrawTransition, _storageSlot DataTypesStorageSlot) (DataTypesAccountInfo, error)

ApplyWithdrawTransition is a free data retrieval call binding the contract method 0xebc59c91.

Solidity: function applyWithdrawTransition((uint256,bytes32,uint256,uint256,uint256,uint256,bytes) _transition, (uint256,(address,uint256[],uint256[],uint256[])) _storageSlot) view returns((address,uint256[],uint256[],uint256[]))

func (*TransitionEvaluatorSession) DecodeWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorSession) DecodeWithdrawTransition(_rawBytes []byte) (DataTypesWithdrawTransition, error)

DecodeWithdrawTransition is a free data retrieval call binding the contract method 0xcc354f67.

Solidity: function decodeWithdrawTransition(bytes _rawBytes) pure returns((uint256,bytes32,uint256,uint256,uint256,uint256,bytes))

func (*TransitionEvaluatorSession) EvaluateTransition

func (_TransitionEvaluator *TransitionEvaluatorSession) EvaluateTransition(_transition []byte, _storageSlots []DataTypesStorageSlot) ([][32]byte, error)

EvaluateTransition is a free data retrieval call binding the contract method 0x54e780b1.

Solidity: function evaluateTransition(bytes _transition, (uint256,(address,uint256[],uint256[],uint256[]))[] _storageSlots) view returns(bytes32[])

func (*TransitionEvaluatorSession) GetAccountInfoHash

func (_TransitionEvaluator *TransitionEvaluatorSession) GetAccountInfoHash(_accountInfo DataTypesAccountInfo) ([32]byte, error)

GetAccountInfoHash is a free data retrieval call binding the contract method 0x4fa9b6a8.

Solidity: function getAccountInfoHash((address,uint256[],uint256[],uint256[]) _accountInfo) pure returns(bytes32)

func (*TransitionEvaluatorSession) GetTransitionStateRootAndAccessList

func (_TransitionEvaluator *TransitionEvaluatorSession) GetTransitionStateRootAndAccessList(_rawTransition []byte) ([32]byte, []*big.Int, error)

GetTransitionStateRootAndAccessList is a free data retrieval call binding the contract method 0xbdce7919.

Solidity: function getTransitionStateRootAndAccessList(bytes _rawTransition) pure returns(bytes32, uint256[])

func (*TransitionEvaluatorSession) VerifyWithdrawTransition

func (_TransitionEvaluator *TransitionEvaluatorSession) VerifyWithdrawTransition(_account common.Address, _rawTransition []byte) (bool, error)

VerifyWithdrawTransition is a free data retrieval call binding the contract method 0xaae2e3c0.

Solidity: function verifyWithdrawTransition(address _account, bytes _rawTransition) view returns(bool)

type TransitionEvaluatorTransactor

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

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

func NewTransitionEvaluatorTransactor

func NewTransitionEvaluatorTransactor(address common.Address, transactor bind.ContractTransactor) (*TransitionEvaluatorTransactor, error)

NewTransitionEvaluatorTransactor creates a new write-only instance of TransitionEvaluator, bound to a specific deployed contract.

type TransitionEvaluatorTransactorRaw

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

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

func (*TransitionEvaluatorTransactorRaw) Transact

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

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

func (*TransitionEvaluatorTransactorRaw) Transfer

func (_TransitionEvaluator *TransitionEvaluatorTransactorRaw) 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 TransitionEvaluatorTransactorSession

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

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

type ValidatorRegistry

type ValidatorRegistry struct {
	ValidatorRegistryCaller     // Read-only binding to the contract
	ValidatorRegistryTransactor // Write-only binding to the contract
	ValidatorRegistryFilterer   // Log filterer for contract events
}

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

func DeployValidatorRegistry

func DeployValidatorRegistry(auth *bind.TransactOpts, backend bind.ContractBackend, _validators []common.Address) (common.Address, *types.Transaction, *ValidatorRegistry, error)

DeployValidatorRegistry deploys a new Ethereum contract, binding an instance of ValidatorRegistry to it.

func NewValidatorRegistry

func NewValidatorRegistry(address common.Address, backend bind.ContractBackend) (*ValidatorRegistry, error)

NewValidatorRegistry creates a new instance of ValidatorRegistry, bound to a specific deployed contract.

type ValidatorRegistryCaller

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

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

func NewValidatorRegistryCaller

func NewValidatorRegistryCaller(address common.Address, caller bind.ContractCaller) (*ValidatorRegistryCaller, error)

NewValidatorRegistryCaller creates a new read-only instance of ValidatorRegistry, bound to a specific deployed contract.

func (*ValidatorRegistryCaller) CheckSignatures

func (_ValidatorRegistry *ValidatorRegistryCaller) CheckSignatures(opts *bind.CallOpts, _blockNumber *big.Int, _transitions [][]byte, _signatures [][]byte) (bool, error)

CheckSignatures is a free data retrieval call binding the contract method 0xd3541665.

Solidity: function checkSignatures(uint256 _blockNumber, bytes[] _transitions, bytes[] _signatures) view returns(bool)

func (*ValidatorRegistryCaller) CurrentCommitter

func (_ValidatorRegistry *ValidatorRegistryCaller) CurrentCommitter(opts *bind.CallOpts) (common.Address, error)

CurrentCommitter is a free data retrieval call binding the contract method 0xd90d6927.

Solidity: function currentCommitter() view returns(address)

func (*ValidatorRegistryCaller) Owner

func (_ValidatorRegistry *ValidatorRegistryCaller) 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 (*ValidatorRegistryCaller) Validators

func (_ValidatorRegistry *ValidatorRegistryCaller) Validators(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Validators is a free data retrieval call binding the contract method 0x35aa2e44.

Solidity: function validators(uint256 ) view returns(address)

type ValidatorRegistryCallerRaw

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

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

func (*ValidatorRegistryCallerRaw) Call

func (_ValidatorRegistry *ValidatorRegistryCallerRaw) 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 ValidatorRegistryCallerSession

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

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

func (*ValidatorRegistryCallerSession) CheckSignatures

func (_ValidatorRegistry *ValidatorRegistryCallerSession) CheckSignatures(_blockNumber *big.Int, _transitions [][]byte, _signatures [][]byte) (bool, error)

CheckSignatures is a free data retrieval call binding the contract method 0xd3541665.

Solidity: function checkSignatures(uint256 _blockNumber, bytes[] _transitions, bytes[] _signatures) view returns(bool)

func (*ValidatorRegistryCallerSession) CurrentCommitter

func (_ValidatorRegistry *ValidatorRegistryCallerSession) CurrentCommitter() (common.Address, error)

CurrentCommitter is a free data retrieval call binding the contract method 0xd90d6927.

Solidity: function currentCommitter() view returns(address)

func (*ValidatorRegistryCallerSession) Owner

func (_ValidatorRegistry *ValidatorRegistryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ValidatorRegistryCallerSession) Validators

func (_ValidatorRegistry *ValidatorRegistryCallerSession) Validators(arg0 *big.Int) (common.Address, error)

Validators is a free data retrieval call binding the contract method 0x35aa2e44.

Solidity: function validators(uint256 ) view returns(address)

type ValidatorRegistryCommitterChanged

type ValidatorRegistryCommitterChanged struct {
	NewCommitter common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

ValidatorRegistryCommitterChanged represents a CommitterChanged event raised by the ValidatorRegistry contract.

type ValidatorRegistryCommitterChangedIterator

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

ValidatorRegistryCommitterChangedIterator is returned from FilterCommitterChanged and is used to iterate over the raw logs and unpacked data for CommitterChanged events raised by the ValidatorRegistry contract.

func (*ValidatorRegistryCommitterChangedIterator) Close

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

func (*ValidatorRegistryCommitterChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorRegistryCommitterChangedIterator) 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 ValidatorRegistryFilterer

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

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

func NewValidatorRegistryFilterer

func NewValidatorRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ValidatorRegistryFilterer, error)

NewValidatorRegistryFilterer creates a new log filterer instance of ValidatorRegistry, bound to a specific deployed contract.

func (*ValidatorRegistryFilterer) FilterCommitterChanged

func (_ValidatorRegistry *ValidatorRegistryFilterer) FilterCommitterChanged(opts *bind.FilterOpts) (*ValidatorRegistryCommitterChangedIterator, error)

FilterCommitterChanged is a free log retrieval operation binding the contract event 0xb48ade409baa2182ab477a3be094650b21d9a9e71fc34e14129c0c94b6ea1970.

Solidity: event CommitterChanged(address newCommitter)

func (*ValidatorRegistryFilterer) FilterOwnershipTransferred

func (_ValidatorRegistry *ValidatorRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ValidatorRegistryOwnershipTransferredIterator, error)

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

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

func (*ValidatorRegistryFilterer) ParseCommitterChanged

func (_ValidatorRegistry *ValidatorRegistryFilterer) ParseCommitterChanged(log types.Log) (*ValidatorRegistryCommitterChanged, error)

ParseCommitterChanged is a log parse operation binding the contract event 0xb48ade409baa2182ab477a3be094650b21d9a9e71fc34e14129c0c94b6ea1970.

Solidity: event CommitterChanged(address newCommitter)

func (*ValidatorRegistryFilterer) ParseOwnershipTransferred

func (_ValidatorRegistry *ValidatorRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*ValidatorRegistryOwnershipTransferred, error)

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

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

func (*ValidatorRegistryFilterer) WatchCommitterChanged

func (_ValidatorRegistry *ValidatorRegistryFilterer) WatchCommitterChanged(opts *bind.WatchOpts, sink chan<- *ValidatorRegistryCommitterChanged) (event.Subscription, error)

WatchCommitterChanged is a free log subscription operation binding the contract event 0xb48ade409baa2182ab477a3be094650b21d9a9e71fc34e14129c0c94b6ea1970.

Solidity: event CommitterChanged(address newCommitter)

func (*ValidatorRegistryFilterer) WatchOwnershipTransferred

func (_ValidatorRegistry *ValidatorRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ValidatorRegistryOwnershipTransferred, 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)

type ValidatorRegistryOwnershipTransferred

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

ValidatorRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the ValidatorRegistry contract.

type ValidatorRegistryOwnershipTransferredIterator

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

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

func (*ValidatorRegistryOwnershipTransferredIterator) Close

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

func (*ValidatorRegistryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorRegistryOwnershipTransferredIterator) 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 ValidatorRegistryRaw

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

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

func (*ValidatorRegistryRaw) Call

func (_ValidatorRegistry *ValidatorRegistryRaw) 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 (*ValidatorRegistryRaw) Transact

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

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

func (*ValidatorRegistryRaw) Transfer

func (_ValidatorRegistry *ValidatorRegistryRaw) 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 ValidatorRegistrySession

type ValidatorRegistrySession struct {
	Contract     *ValidatorRegistry // 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
}

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

func (*ValidatorRegistrySession) CheckSignatures

func (_ValidatorRegistry *ValidatorRegistrySession) CheckSignatures(_blockNumber *big.Int, _transitions [][]byte, _signatures [][]byte) (bool, error)

CheckSignatures is a free data retrieval call binding the contract method 0xd3541665.

Solidity: function checkSignatures(uint256 _blockNumber, bytes[] _transitions, bytes[] _signatures) view returns(bool)

func (*ValidatorRegistrySession) CurrentCommitter

func (_ValidatorRegistry *ValidatorRegistrySession) CurrentCommitter() (common.Address, error)

CurrentCommitter is a free data retrieval call binding the contract method 0xd90d6927.

Solidity: function currentCommitter() view returns(address)

func (*ValidatorRegistrySession) Owner

func (_ValidatorRegistry *ValidatorRegistrySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ValidatorRegistrySession) PickNextCommitter

func (_ValidatorRegistry *ValidatorRegistrySession) PickNextCommitter() (*types.Transaction, error)

PickNextCommitter is a paid mutator transaction binding the contract method 0x4ef2b1be.

Solidity: function pickNextCommitter() returns()

func (*ValidatorRegistrySession) RenounceOwnership

func (_ValidatorRegistry *ValidatorRegistrySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ValidatorRegistrySession) SetRollupChainAddress

func (_ValidatorRegistry *ValidatorRegistrySession) SetRollupChainAddress(_rollupChainAddress common.Address) (*types.Transaction, error)

SetRollupChainAddress is a paid mutator transaction binding the contract method 0xf690495e.

Solidity: function setRollupChainAddress(address _rollupChainAddress) returns()

func (*ValidatorRegistrySession) SetValidators

func (_ValidatorRegistry *ValidatorRegistrySession) SetValidators(_validators []common.Address) (*types.Transaction, error)

SetValidators is a paid mutator transaction binding the contract method 0x9300c926.

Solidity: function setValidators(address[] _validators) returns()

func (*ValidatorRegistrySession) TransferOwnership

func (_ValidatorRegistry *ValidatorRegistrySession) 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 (*ValidatorRegistrySession) Validators

func (_ValidatorRegistry *ValidatorRegistrySession) Validators(arg0 *big.Int) (common.Address, error)

Validators is a free data retrieval call binding the contract method 0x35aa2e44.

Solidity: function validators(uint256 ) view returns(address)

type ValidatorRegistryTransactor

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

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

func NewValidatorRegistryTransactor

func NewValidatorRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ValidatorRegistryTransactor, error)

NewValidatorRegistryTransactor creates a new write-only instance of ValidatorRegistry, bound to a specific deployed contract.

func (*ValidatorRegistryTransactor) PickNextCommitter

func (_ValidatorRegistry *ValidatorRegistryTransactor) PickNextCommitter(opts *bind.TransactOpts) (*types.Transaction, error)

PickNextCommitter is a paid mutator transaction binding the contract method 0x4ef2b1be.

Solidity: function pickNextCommitter() returns()

func (*ValidatorRegistryTransactor) RenounceOwnership

func (_ValidatorRegistry *ValidatorRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ValidatorRegistryTransactor) SetRollupChainAddress

func (_ValidatorRegistry *ValidatorRegistryTransactor) SetRollupChainAddress(opts *bind.TransactOpts, _rollupChainAddress common.Address) (*types.Transaction, error)

SetRollupChainAddress is a paid mutator transaction binding the contract method 0xf690495e.

Solidity: function setRollupChainAddress(address _rollupChainAddress) returns()

func (*ValidatorRegistryTransactor) SetValidators

func (_ValidatorRegistry *ValidatorRegistryTransactor) SetValidators(opts *bind.TransactOpts, _validators []common.Address) (*types.Transaction, error)

SetValidators is a paid mutator transaction binding the contract method 0x9300c926.

Solidity: function setValidators(address[] _validators) returns()

func (*ValidatorRegistryTransactor) TransferOwnership

func (_ValidatorRegistry *ValidatorRegistryTransactor) 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()

type ValidatorRegistryTransactorRaw

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

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

func (*ValidatorRegistryTransactorRaw) Transact

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

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

func (*ValidatorRegistryTransactorRaw) Transfer

func (_ValidatorRegistry *ValidatorRegistryTransactorRaw) 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 ValidatorRegistryTransactorSession

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

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

func (*ValidatorRegistryTransactorSession) PickNextCommitter

func (_ValidatorRegistry *ValidatorRegistryTransactorSession) PickNextCommitter() (*types.Transaction, error)

PickNextCommitter is a paid mutator transaction binding the contract method 0x4ef2b1be.

Solidity: function pickNextCommitter() returns()

func (*ValidatorRegistryTransactorSession) RenounceOwnership

func (_ValidatorRegistry *ValidatorRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ValidatorRegistryTransactorSession) SetRollupChainAddress

func (_ValidatorRegistry *ValidatorRegistryTransactorSession) SetRollupChainAddress(_rollupChainAddress common.Address) (*types.Transaction, error)

SetRollupChainAddress is a paid mutator transaction binding the contract method 0xf690495e.

Solidity: function setRollupChainAddress(address _rollupChainAddress) returns()

func (*ValidatorRegistryTransactorSession) SetValidators

func (_ValidatorRegistry *ValidatorRegistryTransactorSession) SetValidators(_validators []common.Address) (*types.Transaction, error)

SetValidators is a paid mutator transaction binding the contract method 0x9300c926.

Solidity: function setValidators(address[] _validators) returns()

func (*ValidatorRegistryTransactorSession) TransferOwnership

func (_ValidatorRegistry *ValidatorRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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