Double

package
v0.3.4-RC1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 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 DoubleABI = DoubleMetaData.ABI

DoubleABI is the input ABI used to generate the binding from. Deprecated: Use DoubleMetaData.ABI instead.

View Source
var DoubleBin = DoubleMetaData.Bin

DoubleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DoubleMetaData.Bin instead.

View Source
var DoubleMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"a\",\"type\":\"int256\"}],\"name\":\"double\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"\",\"type\":\"int256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610152806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80636ffa1caa14610030575b600080fd5b61004361003e366004610068565b610055565b60405190815260200160405180910390f35b6000610062826002610097565b92915050565b60006020828403121561007a57600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b60006001600160ff1b03818413828413808216868404861116156100bd576100bd610081565b600160ff1b60008712828116878305891216156100dc576100dc610081565b600087129250878205871284841616156100f8576100f8610081565b8785058712818416161561010e5761010e610081565b50505092909302939250505056fea26469706673582212205c4d503eca301a04694bc37b49abe6e9f39bf64a198399f967ba70f9ca5f097764736f6c634300080c0033",
}

DoubleMetaData contains all meta data concerning the Double contract.

Functions

This section is empty.

Types

type Double

type Double struct {
	DoubleCaller     // Read-only binding to the contract
	DoubleTransactor // Write-only binding to the contract
	DoubleFilterer   // Log filterer for contract events
}

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

func DeployDouble

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

DeployDouble deploys a new Ethereum contract, binding an instance of Double to it.

func NewDouble

func NewDouble(address common.Address, backend bind.ContractBackend) (*Double, error)

NewDouble creates a new instance of Double, bound to a specific deployed contract.

type DoubleCaller

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

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

func NewDoubleCaller

func NewDoubleCaller(address common.Address, caller bind.ContractCaller) (*DoubleCaller, error)

NewDoubleCaller creates a new read-only instance of Double, bound to a specific deployed contract.

func (*DoubleCaller) Double

func (_Double *DoubleCaller) Double(opts *bind.CallOpts, a *big.Int) (*big.Int, error)

Double is a free data retrieval call binding the contract method 0x6ffa1caa.

Solidity: function double(int256 a) pure returns(int256)

type DoubleCallerRaw

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

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

func (*DoubleCallerRaw) Call

func (_Double *DoubleCallerRaw) 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 DoubleCallerSession

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

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

func (*DoubleCallerSession) Double

func (_Double *DoubleCallerSession) Double(a *big.Int) (*big.Int, error)

Double is a free data retrieval call binding the contract method 0x6ffa1caa.

Solidity: function double(int256 a) pure returns(int256)

type DoubleFilterer

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

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

func NewDoubleFilterer

func NewDoubleFilterer(address common.Address, filterer bind.ContractFilterer) (*DoubleFilterer, error)

NewDoubleFilterer creates a new log filterer instance of Double, bound to a specific deployed contract.

type DoubleRaw

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

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

func (*DoubleRaw) Call

func (_Double *DoubleRaw) 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 (*DoubleRaw) Transact

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

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

func (*DoubleRaw) Transfer

func (_Double *DoubleRaw) 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 DoubleSession

type DoubleSession struct {
	Contract     *Double           // 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
}

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

func (*DoubleSession) Double

func (_Double *DoubleSession) Double(a *big.Int) (*big.Int, error)

Double is a free data retrieval call binding the contract method 0x6ffa1caa.

Solidity: function double(int256 a) pure returns(int256)

type DoubleTransactor

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

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

func NewDoubleTransactor

func NewDoubleTransactor(address common.Address, transactor bind.ContractTransactor) (*DoubleTransactor, error)

NewDoubleTransactor creates a new write-only instance of Double, bound to a specific deployed contract.

type DoubleTransactorRaw

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

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

func (*DoubleTransactorRaw) Transact

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

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

func (*DoubleTransactorRaw) Transfer

func (_Double *DoubleTransactorRaw) 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 DoubleTransactorSession

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

DoubleTransactorSession 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