contract

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const SimplestorageABI = "" /* 544-byte string literal not displayed */

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

View Source
const SimplestorageBin = `` /* 502-byte string literal not displayed */

SimplestorageBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simplestorage

type Simplestorage struct {
	SimplestorageCaller     // Read-only binding to the contract
	SimplestorageTransactor // Write-only binding to the contract
}

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

func DeploySimplestorage

func DeploySimplestorage(auth *bind.TransactOpts, backend bind.ContractBackend, initVal *big.Int) (common.Address, *types.Transaction, *Simplestorage, error)

DeploySimplestorage deploys a new Ethereum contract, binding an instance of Simplestorage to it.

func NewSimplestorage

func NewSimplestorage(address common.Address, backend bind.ContractBackend) (*Simplestorage, error)

NewSimplestorage creates a new instance of Simplestorage, bound to a specific deployed contract.

type SimplestorageCaller

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

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

func NewSimplestorageCaller

func NewSimplestorageCaller(address common.Address, caller bind.ContractCaller) (*SimplestorageCaller, error)

NewSimplestorageCaller creates a new read-only instance of Simplestorage, bound to a specific deployed contract.

func (*SimplestorageCaller) Get

func (_Simplestorage *SimplestorageCaller) Get(opts *bind.CallOpts) (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(retVal uint256)

func (*SimplestorageCaller) StoredData

func (_Simplestorage *SimplestorageCaller) StoredData(opts *bind.CallOpts) (*big.Int, error)

StoredData is a free data retrieval call binding the contract method 0x2a1afcd9.

Solidity: function storedData() constant returns(uint256)

type SimplestorageCallerRaw

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

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

func (*SimplestorageCallerRaw) Call

func (_Simplestorage *SimplestorageCallerRaw) 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 SimplestorageCallerSession

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

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

func (*SimplestorageCallerSession) Get

func (_Simplestorage *SimplestorageCallerSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(retVal uint256)

func (*SimplestorageCallerSession) StoredData

func (_Simplestorage *SimplestorageCallerSession) StoredData() (*big.Int, error)

StoredData is a free data retrieval call binding the contract method 0x2a1afcd9.

Solidity: function storedData() constant returns(uint256)

type SimplestorageRaw

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

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

func (*SimplestorageRaw) Call

func (_Simplestorage *SimplestorageRaw) 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 (*SimplestorageRaw) Transact

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

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

func (*SimplestorageRaw) Transfer

func (_Simplestorage *SimplestorageRaw) 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 SimplestorageSession

type SimplestorageSession struct {
	Contract     *Simplestorage    // 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
}

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

func (*SimplestorageSession) Get

func (_Simplestorage *SimplestorageSession) Get() (*big.Int, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(retVal uint256)

func (*SimplestorageSession) Set

func (_Simplestorage *SimplestorageSession) Set(x *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(x uint256) returns()

func (*SimplestorageSession) StoredData

func (_Simplestorage *SimplestorageSession) StoredData() (*big.Int, error)

StoredData is a free data retrieval call binding the contract method 0x2a1afcd9.

Solidity: function storedData() constant returns(uint256)

type SimplestorageTransactor

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

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

func NewSimplestorageTransactor

func NewSimplestorageTransactor(address common.Address, transactor bind.ContractTransactor) (*SimplestorageTransactor, error)

NewSimplestorageTransactor creates a new write-only instance of Simplestorage, bound to a specific deployed contract.

func (*SimplestorageTransactor) Set

func (_Simplestorage *SimplestorageTransactor) Set(opts *bind.TransactOpts, x *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(x uint256) returns()

type SimplestorageTransactorRaw

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

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

func (*SimplestorageTransactorRaw) Transact

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

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

func (*SimplestorageTransactorRaw) Transfer

func (_Simplestorage *SimplestorageTransactorRaw) 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 SimplestorageTransactorSession

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

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

func (*SimplestorageTransactorSession) Set

func (_Simplestorage *SimplestorageTransactorSession) Set(x *big.Int) (*types.Transaction, error)

Set is a paid mutator transaction binding the contract method 0x60fe47b1.

Solidity: function set(x uint256) returns()

Jump to

Keyboard shortcuts

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