depositcontractv2

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Depositcontractv2ABI = Depositcontractv2MetaData.ABI

Depositcontractv2ABI is the input ABI used to generate the binding from. Deprecated: Use Depositcontractv2MetaData.ABI instead.

View Source
var Depositcontractv2Bin = Depositcontractv2MetaData.Bin

Depositcontractv2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use Depositcontractv2MetaData.Bin instead.

View Source
var Depositcontractv2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"MerkleTreeFull\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NewDepositCountExceedsMax\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonZeroValueForUnusedFrontier\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubtreeFrontierMismatch\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"depositCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x6080604052348015600e575f5ffd5b5061012a8061001c5f395ff3fe6080604052348015600e575f5ffd5b50600436106030575f3560e01c80632dfdf0b51460345780635ca1e16514604e575b5f5ffd5b603c60535481565b60405190815260200160405180910390f35b603c6053545f90819081805b602081101560be578083901c600116600103609857609260338260208110608157608160c7565b0154855f9182526020526040902090565b935060a8565b5f84815260208390526040902093505b5f8281526020839052604090209150600101605a565b50919392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea264697066735822122044ddb562dfccbe39855ed5f72e5a00a169f5a28dca755556cc6efec88f9680f164736f6c634300081c0033",
}

Depositcontractv2MetaData contains all meta data concerning the Depositcontractv2 contract.

Functions

This section is empty.

Types

type Depositcontractv2

type Depositcontractv2 struct {
	Depositcontractv2Caller     // Read-only binding to the contract
	Depositcontractv2Transactor // Write-only binding to the contract
	Depositcontractv2Filterer   // Log filterer for contract events
}

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

func DeployDepositcontractv2

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

DeployDepositcontractv2 deploys a new Ethereum contract, binding an instance of Depositcontractv2 to it.

func NewDepositcontractv2

func NewDepositcontractv2(address common.Address, backend bind.ContractBackend) (*Depositcontractv2, error)

NewDepositcontractv2 creates a new instance of Depositcontractv2, bound to a specific deployed contract.

type Depositcontractv2Caller

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

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

func NewDepositcontractv2Caller

func NewDepositcontractv2Caller(address common.Address, caller bind.ContractCaller) (*Depositcontractv2Caller, error)

NewDepositcontractv2Caller creates a new read-only instance of Depositcontractv2, bound to a specific deployed contract.

func (*Depositcontractv2Caller) DepositCount

func (_Depositcontractv2 *Depositcontractv2Caller) DepositCount(opts *bind.CallOpts) (*big.Int, error)

DepositCount is a free data retrieval call binding the contract method 0x2dfdf0b5.

Solidity: function depositCount() view returns(uint256)

func (*Depositcontractv2Caller) GetRoot

func (_Depositcontractv2 *Depositcontractv2Caller) 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)

type Depositcontractv2CallerRaw

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

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

func (*Depositcontractv2CallerRaw) Call

func (_Depositcontractv2 *Depositcontractv2CallerRaw) 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 Depositcontractv2CallerSession

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

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

func (*Depositcontractv2CallerSession) DepositCount

func (_Depositcontractv2 *Depositcontractv2CallerSession) DepositCount() (*big.Int, error)

DepositCount is a free data retrieval call binding the contract method 0x2dfdf0b5.

Solidity: function depositCount() view returns(uint256)

func (*Depositcontractv2CallerSession) GetRoot

func (_Depositcontractv2 *Depositcontractv2CallerSession) GetRoot() ([32]byte, error)

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

Solidity: function getRoot() view returns(bytes32)

type Depositcontractv2Filterer

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

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

func NewDepositcontractv2Filterer

func NewDepositcontractv2Filterer(address common.Address, filterer bind.ContractFilterer) (*Depositcontractv2Filterer, error)

NewDepositcontractv2Filterer creates a new log filterer instance of Depositcontractv2, bound to a specific deployed contract.

func (*Depositcontractv2Filterer) FilterInitialized

func (_Depositcontractv2 *Depositcontractv2Filterer) FilterInitialized(opts *bind.FilterOpts) (*Depositcontractv2InitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*Depositcontractv2Filterer) ParseInitialized

func (_Depositcontractv2 *Depositcontractv2Filterer) ParseInitialized(log types.Log) (*Depositcontractv2Initialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*Depositcontractv2Filterer) WatchInitialized

func (_Depositcontractv2 *Depositcontractv2Filterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *Depositcontractv2Initialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

type Depositcontractv2Initialized

type Depositcontractv2Initialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

Depositcontractv2Initialized represents a Initialized event raised by the Depositcontractv2 contract.

type Depositcontractv2InitializedIterator

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

Depositcontractv2InitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Depositcontractv2 contract.

func (*Depositcontractv2InitializedIterator) Close

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

func (*Depositcontractv2InitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Depositcontractv2InitializedIterator) 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 Depositcontractv2Raw

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

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

func (*Depositcontractv2Raw) Call

func (_Depositcontractv2 *Depositcontractv2Raw) 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 (*Depositcontractv2Raw) Transact

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

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

func (*Depositcontractv2Raw) Transfer

func (_Depositcontractv2 *Depositcontractv2Raw) 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 Depositcontractv2Session

type Depositcontractv2Session struct {
	Contract     *Depositcontractv2 // 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
}

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

func (*Depositcontractv2Session) DepositCount

func (_Depositcontractv2 *Depositcontractv2Session) DepositCount() (*big.Int, error)

DepositCount is a free data retrieval call binding the contract method 0x2dfdf0b5.

Solidity: function depositCount() view returns(uint256)

func (*Depositcontractv2Session) GetRoot

func (_Depositcontractv2 *Depositcontractv2Session) GetRoot() ([32]byte, error)

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

Solidity: function getRoot() view returns(bytes32)

type Depositcontractv2Transactor

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

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

func NewDepositcontractv2Transactor

func NewDepositcontractv2Transactor(address common.Address, transactor bind.ContractTransactor) (*Depositcontractv2Transactor, error)

NewDepositcontractv2Transactor creates a new write-only instance of Depositcontractv2, bound to a specific deployed contract.

type Depositcontractv2TransactorRaw

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

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

func (*Depositcontractv2TransactorRaw) Transact

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

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

func (*Depositcontractv2TransactorRaw) Transfer

func (_Depositcontractv2 *Depositcontractv2TransactorRaw) 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 Depositcontractv2TransactorSession

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

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

Jump to

Keyboard shortcuts

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