Depth

package
v0.3.5-RC14 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DepthABI = DepthMetaData.ABI

DepthABI is the input ABI used to generate the binding from. Deprecated: Use DepthMetaData.ABI instead.

View Source
var DepthBin = DepthMetaData.Bin

DepthBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DepthMetaData.Bin instead.

View Source
var DepthMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"secondCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"gasForwarded\",\"type\":\"uint256\"}],\"name\":\"start\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040526000805534801561001457600080fd5b506101c1806100246000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633c2d70e91461003b57806349a0639314610050575b600080fd5b61004e610049366004610126565b610075565b005b61006361005e366004610150565b6100e9565b60405190815260200160405180910390f35b6040516349a0639360e01b81526001600160a01b038316600482015230906349a0639390839060240160206040518083038160008887f11580156100bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906100e29190610172565b6000555050565b600080636aecbc3360e01b6080526020608060046080865afa905050919050565b80356001600160a01b038116811461012157600080fd5b919050565b6000806040838503121561013957600080fd5b6101428361010a565b946020939093013593505050565b60006020828403121561016257600080fd5b61016b8261010a565b9392505050565b60006020828403121561018457600080fd5b505191905056fea2646970667358221220572542f847a41e898ee3794ab8f893d4816858903ee722c477cf6c0583b61acf64736f6c634300080c0033",
}

DepthMetaData contains all meta data concerning the Depth contract.

Functions

This section is empty.

Types

type Depth

type Depth struct {
	DepthCaller     // Read-only binding to the contract
	DepthTransactor // Write-only binding to the contract
	DepthFilterer   // Log filterer for contract events
}

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

func DeployDepth

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

DeployDepth deploys a new Ethereum contract, binding an instance of Depth to it.

func NewDepth

func NewDepth(address common.Address, backend bind.ContractBackend) (*Depth, error)

NewDepth creates a new instance of Depth, bound to a specific deployed contract.

type DepthCaller

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

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

func NewDepthCaller

func NewDepthCaller(address common.Address, caller bind.ContractCaller) (*DepthCaller, error)

NewDepthCaller creates a new read-only instance of Depth, bound to a specific deployed contract.

type DepthCallerRaw

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

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

func (*DepthCallerRaw) Call

func (_Depth *DepthCallerRaw) 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 DepthCallerSession

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

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

type DepthFilterer

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

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

func NewDepthFilterer

func NewDepthFilterer(address common.Address, filterer bind.ContractFilterer) (*DepthFilterer, error)

NewDepthFilterer creates a new log filterer instance of Depth, bound to a specific deployed contract.

type DepthRaw

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

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

func (*DepthRaw) Call

func (_Depth *DepthRaw) 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 (*DepthRaw) Transact

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

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

func (*DepthRaw) Transfer

func (_Depth *DepthRaw) 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 DepthSession

type DepthSession struct {
	Contract     *Depth            // 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
}

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

func (*DepthSession) SecondCall

func (_Depth *DepthSession) SecondCall(addr common.Address) (*types.Transaction, error)

SecondCall is a paid mutator transaction binding the contract method 0x49a06393.

Solidity: function secondCall(address addr) returns(uint256)

func (*DepthSession) Start

func (_Depth *DepthSession) Start(addr common.Address, gasForwarded *big.Int) (*types.Transaction, error)

Start is a paid mutator transaction binding the contract method 0x3c2d70e9.

Solidity: function start(address addr, uint256 gasForwarded) returns()

type DepthTransactor

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

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

func NewDepthTransactor

func NewDepthTransactor(address common.Address, transactor bind.ContractTransactor) (*DepthTransactor, error)

NewDepthTransactor creates a new write-only instance of Depth, bound to a specific deployed contract.

func (*DepthTransactor) SecondCall

func (_Depth *DepthTransactor) SecondCall(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

SecondCall is a paid mutator transaction binding the contract method 0x49a06393.

Solidity: function secondCall(address addr) returns(uint256)

func (*DepthTransactor) Start

func (_Depth *DepthTransactor) Start(opts *bind.TransactOpts, addr common.Address, gasForwarded *big.Int) (*types.Transaction, error)

Start is a paid mutator transaction binding the contract method 0x3c2d70e9.

Solidity: function start(address addr, uint256 gasForwarded) returns()

type DepthTransactorRaw

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

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

func (*DepthTransactorRaw) Transact

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

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

func (*DepthTransactorRaw) Transfer

func (_Depth *DepthTransactorRaw) 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 DepthTransactorSession

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

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

func (*DepthTransactorSession) SecondCall

func (_Depth *DepthTransactorSession) SecondCall(addr common.Address) (*types.Transaction, error)

SecondCall is a paid mutator transaction binding the contract method 0x49a06393.

Solidity: function secondCall(address addr) returns(uint256)

func (*DepthTransactorSession) Start

func (_Depth *DepthTransactorSession) Start(addr common.Address, gasForwarded *big.Int) (*types.Transaction, error)

Start is a paid mutator transaction binding the contract method 0x3c2d70e9.

Solidity: function start(address addr, uint256 gasForwarded) returns()

Jump to

Keyboard shortcuts

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