Documentation ¶
Index ¶
- Variables
- type Depositcontractv2
- type Depositcontractv2Caller
- func (_Depositcontractv2 *Depositcontractv2Caller) CalculateRoot(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2Caller) DepositCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Depositcontractv2 *Depositcontractv2Caller) GetLeafValue(opts *bind.CallOpts, leafType uint8, originNetwork uint32, ...) ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2Caller) GetRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2Caller) VerifyMerkleProof(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32, ...) (bool, error)
- type Depositcontractv2CallerRaw
- type Depositcontractv2CallerSession
- func (_Depositcontractv2 *Depositcontractv2CallerSession) CalculateRoot(leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2CallerSession) DepositCount() (*big.Int, error)
- func (_Depositcontractv2 *Depositcontractv2CallerSession) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, ...) ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2CallerSession) GetRoot() ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2CallerSession) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
- type Depositcontractv2Filterer
- func (_Depositcontractv2 *Depositcontractv2Filterer) FilterInitialized(opts *bind.FilterOpts) (*Depositcontractv2InitializedIterator, error)
- func (_Depositcontractv2 *Depositcontractv2Filterer) ParseInitialized(log types.Log) (*Depositcontractv2Initialized, error)
- func (_Depositcontractv2 *Depositcontractv2Filterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *Depositcontractv2Initialized) (event.Subscription, error)
- type Depositcontractv2Initialized
- type Depositcontractv2InitializedIterator
- type Depositcontractv2Raw
- func (_Depositcontractv2 *Depositcontractv2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Depositcontractv2 *Depositcontractv2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Depositcontractv2 *Depositcontractv2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Depositcontractv2Session
- func (_Depositcontractv2 *Depositcontractv2Session) CalculateRoot(leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2Session) DepositCount() (*big.Int, error)
- func (_Depositcontractv2 *Depositcontractv2Session) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, ...) ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2Session) GetRoot() ([32]byte, error)
- func (_Depositcontractv2 *Depositcontractv2Session) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
- type Depositcontractv2Transactor
- type Depositcontractv2TransactorRaw
- type Depositcontractv2TransactorSession
Constants ¶
This section is empty.
Variables ¶
var Depositcontractv2ABI = Depositcontractv2MetaData.ABI
Depositcontractv2ABI is the input ABI used to generate the binding from. Deprecated: Use Depositcontractv2MetaData.ABI instead.
var Depositcontractv2Bin = Depositcontractv2MetaData.Bin
Depositcontractv2Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use Depositcontractv2MetaData.Bin instead.
var Depositcontractv2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"MerkleTreeFull\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"leafHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[32]\",\"name\":\"smtProof\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"}],\"name\":\"calculateRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"leafType\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"originNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originAddress\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"destinationNetwork\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"destinationAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"metadataHash\",\"type\":\"bytes32\"}],\"name\":\"getLeafValue\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"leafHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[32]\",\"name\":\"smtProof\",\"type\":\"bytes32[32]\"},{\"internalType\":\"uint32\",\"name\":\"index\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"name\":\"verifyMerkleProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50610594806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c80635ca1e165116100505780635ca1e1651461016b57806383f2440314610173578063fb5708341461018657600080fd5b80632dfdf0b51461006c5780633e19704314610088575b600080fd5b61007560535481565b6040519081526020015b60405180910390f35b6100756100963660046103b1565b6040517fff0000000000000000000000000000000000000000000000000000000000000060f889901b1660208201527fffffffff0000000000000000000000000000000000000000000000000000000060e088811b821660218401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089811b821660258601529188901b909216603984015285901b16603d8201526051810183905260718101829052600090609101604051602081830303815290604052805190602001209050979650505050505050565b6100756101a9565b610075610181366004610449565b610286565b610199610194366004610488565b61035c565b604051901515815260200161007f565b605354600090819081805b602081101561027d578083901c60011660010361021157603381602081106101de576101de6104d0565b0154604080516020810192909252810185905260600160405160208183030381529060405280519060200120935061023e565b60408051602081018690529081018390526060016040516020818303038152906040528051906020012093505b60408051602081018490529081018390526060016040516020818303038152906040528051906020012091508080610275906104ff565b9150506101b4565b50919392505050565b600083815b602081101561035357600163ffffffff8516821c811690036102f6578481602081106102b9576102b96104d0565b6020020135826040516020016102d9929190918252602082015260400190565b604051602081830303815290604052805190602001209150610341565b81858260208110610309576103096104d0565b6020020135604051602001610328929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b8061034b816104ff565b91505061028b565b50949350505050565b60008161036a868686610286565b1495945050505050565b803563ffffffff8116811461038857600080fd5b919050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461038857600080fd5b600080600080600080600060e0888a0312156103cc57600080fd5b873560ff811681146103dd57600080fd5b96506103eb60208901610374565b95506103f96040890161038d565b945061040760608901610374565b93506104156080890161038d565b925060a0880135915060c0880135905092959891949750929550565b80610400810183101561044357600080fd5b92915050565b6000806000610440848603121561045f57600080fd5b833592506104708560208601610431565b915061047f6104208501610374565b90509250925092565b600080600080610460858703121561049f57600080fd5b843593506104b08660208701610431565b92506104bf6104208601610374565b939692955092936104400135925050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610557577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b506001019056fea2646970667358221220c3ab600071b7ee12ce6a06109096751319bc26f264bd49ad2a7b44aeb7acd1b764736f6c63430008140033",
}
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) CalculateRoot ¶
func (_Depositcontractv2 *Depositcontractv2Caller) CalculateRoot(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
CalculateRoot is a free data retrieval call binding the contract method 0x83f24403.
Solidity: function calculateRoot(bytes32 leafHash, bytes32[32] smtProof, uint32 index) pure returns(bytes32)
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) GetLeafValue ¶
func (_Depositcontractv2 *Depositcontractv2Caller) GetLeafValue(opts *bind.CallOpts, leafType uint8, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadataHash [32]byte) ([32]byte, error)
GetLeafValue is a free data retrieval call binding the contract method 0x3e197043.
Solidity: function getLeafValue(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes32 metadataHash) pure returns(bytes32)
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)
func (*Depositcontractv2Caller) VerifyMerkleProof ¶
func (_Depositcontractv2 *Depositcontractv2Caller) VerifyMerkleProof(opts *bind.CallOpts, leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
VerifyMerkleProof is a free data retrieval call binding the contract method 0xfb570834.
Solidity: function verifyMerkleProof(bytes32 leafHash, bytes32[32] smtProof, uint32 index, bytes32 root) pure returns(bool)
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) CalculateRoot ¶
func (_Depositcontractv2 *Depositcontractv2CallerSession) CalculateRoot(leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
CalculateRoot is a free data retrieval call binding the contract method 0x83f24403.
Solidity: function calculateRoot(bytes32 leafHash, bytes32[32] smtProof, uint32 index) pure returns(bytes32)
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) GetLeafValue ¶
func (_Depositcontractv2 *Depositcontractv2CallerSession) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadataHash [32]byte) ([32]byte, error)
GetLeafValue is a free data retrieval call binding the contract method 0x3e197043.
Solidity: function getLeafValue(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes32 metadataHash) pure returns(bytes32)
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)
func (*Depositcontractv2CallerSession) VerifyMerkleProof ¶
func (_Depositcontractv2 *Depositcontractv2CallerSession) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
VerifyMerkleProof is a free data retrieval call binding the contract method 0xfb570834.
Solidity: function verifyMerkleProof(bytes32 leafHash, bytes32[32] smtProof, uint32 index, bytes32 root) pure returns(bool)
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 ¶
func (it *Depositcontractv2InitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Depositcontractv2InitializedIterator) Error ¶
func (it *Depositcontractv2InitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Depositcontractv2InitializedIterator) Next ¶
func (it *Depositcontractv2InitializedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type 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) CalculateRoot ¶
func (_Depositcontractv2 *Depositcontractv2Session) CalculateRoot(leafHash [32]byte, smtProof [32][32]byte, index uint32) ([32]byte, error)
CalculateRoot is a free data retrieval call binding the contract method 0x83f24403.
Solidity: function calculateRoot(bytes32 leafHash, bytes32[32] smtProof, uint32 index) pure returns(bytes32)
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) GetLeafValue ¶
func (_Depositcontractv2 *Depositcontractv2Session) GetLeafValue(leafType uint8, originNetwork uint32, originAddress common.Address, destinationNetwork uint32, destinationAddress common.Address, amount *big.Int, metadataHash [32]byte) ([32]byte, error)
GetLeafValue is a free data retrieval call binding the contract method 0x3e197043.
Solidity: function getLeafValue(uint8 leafType, uint32 originNetwork, address originAddress, uint32 destinationNetwork, address destinationAddress, uint256 amount, bytes32 metadataHash) pure returns(bytes32)
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)
func (*Depositcontractv2Session) VerifyMerkleProof ¶
func (_Depositcontractv2 *Depositcontractv2Session) VerifyMerkleProof(leafHash [32]byte, smtProof [32][32]byte, index uint32, root [32]byte) (bool, error)
VerifyMerkleProof is a free data retrieval call binding the contract method 0xfb570834.
Solidity: function verifyMerkleProof(bytes32 leafHash, bytes32[32] smtProof, uint32 index, bytes32 root) pure returns(bool)
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.