test

package
v0.0.0-...-333d3bb Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const BethtestABI = "" /* 1293-byte string literal not displayed */

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

View Source
const BethtestBin = `` /* 2238-byte string literal not displayed */

BethtestBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bethtest

type Bethtest struct {
	BethtestCaller     // Read-only binding to the contract
	BethtestTransactor // Write-only binding to the contract
	BethtestFilterer   // Log filterer for contract events
}

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

func DeployBethtest

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

DeployBethtest deploys a new Ethereum contract, binding an instance of Bethtest to it.

func NewBethtest

func NewBethtest(address common.Address, backend bind.ContractBackend) (*Bethtest, error)

NewBethtest creates a new instance of Bethtest, bound to a specific deployed contract.

type BethtestCaller

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

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

func NewBethtestCaller

func NewBethtestCaller(address common.Address, caller bind.ContractCaller) (*BethtestCaller, error)

NewBethtestCaller creates a new read-only instance of Bethtest, bound to a specific deployed contract.

func (*BethtestCaller) Get

func (_Bethtest *BethtestCaller) Get(opts *bind.CallOpts, data *big.Int) (*big.Int, bool, error)

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

Solidity: function get(data uint256) constant returns(uint256, bool)

func (*BethtestCaller) Read

func (_Bethtest *BethtestCaller) Read(opts *bind.CallOpts) (*big.Int, error)

Read is a free data retrieval call binding the contract method 0x57de26a4.

Solidity: function read() constant returns(uint256)

func (*BethtestCaller) Size

func (_Bethtest *BethtestCaller) Size(opts *bind.CallOpts) (*big.Int, error)

Size is a free data retrieval call binding the contract method 0x949d225d.

Solidity: function size() constant returns(uint256)

type BethtestCallerRaw

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

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

func (*BethtestCallerRaw) Call

func (_Bethtest *BethtestCallerRaw) 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 BethtestCallerSession

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

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

func (*BethtestCallerSession) Get

func (_Bethtest *BethtestCallerSession) Get(data *big.Int) (*big.Int, bool, error)

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

Solidity: function get(data uint256) constant returns(uint256, bool)

func (*BethtestCallerSession) Read

func (_Bethtest *BethtestCallerSession) Read() (*big.Int, error)

Read is a free data retrieval call binding the contract method 0x57de26a4.

Solidity: function read() constant returns(uint256)

func (*BethtestCallerSession) Size

func (_Bethtest *BethtestCallerSession) Size() (*big.Int, error)

Size is a free data retrieval call binding the contract method 0x949d225d.

Solidity: function size() constant returns(uint256)

type BethtestFilterer

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

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

func NewBethtestFilterer

func NewBethtestFilterer(address common.Address, filterer bind.ContractFilterer) (*BethtestFilterer, error)

NewBethtestFilterer creates a new log filterer instance of Bethtest, bound to a specific deployed contract.

type BethtestRaw

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

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

func (*BethtestRaw) Call

func (_Bethtest *BethtestRaw) 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 (*BethtestRaw) Transact

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

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

func (*BethtestRaw) Transfer

func (_Bethtest *BethtestRaw) 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 BethtestSession

type BethtestSession struct {
	Contract     *Bethtest         // 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
}

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

func (*BethtestSession) Append

func (_Bethtest *BethtestSession) Append(x *big.Int) (*types.Transaction, error)

Append is a paid mutator transaction binding the contract method 0xe33b8707.

Solidity: function append(x uint256) returns()

func (*BethtestSession) Get

func (_Bethtest *BethtestSession) Get(data *big.Int) (*big.Int, bool, error)

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

Solidity: function get(data uint256) constant returns(uint256, bool)

func (*BethtestSession) Increment

func (_Bethtest *BethtestSession) Increment() (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

func (*BethtestSession) Read

func (_Bethtest *BethtestSession) Read() (*big.Int, error)

Read is a free data retrieval call binding the contract method 0x57de26a4.

Solidity: function read() constant returns(uint256)

func (*BethtestSession) Remove

func (_Bethtest *BethtestSession) Remove(_dataToDelete *big.Int) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x4cc82215.

Solidity: function remove(_dataToDelete uint256) returns()

func (*BethtestSession) Set

func (_Bethtest *BethtestSession) 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 (*BethtestSession) Size

func (_Bethtest *BethtestSession) Size() (*big.Int, error)

Size is a free data retrieval call binding the contract method 0x949d225d.

Solidity: function size() constant returns(uint256)

type BethtestTransactor

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

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

func NewBethtestTransactor

func NewBethtestTransactor(address common.Address, transactor bind.ContractTransactor) (*BethtestTransactor, error)

NewBethtestTransactor creates a new write-only instance of Bethtest, bound to a specific deployed contract.

func (*BethtestTransactor) Append

func (_Bethtest *BethtestTransactor) Append(opts *bind.TransactOpts, x *big.Int) (*types.Transaction, error)

Append is a paid mutator transaction binding the contract method 0xe33b8707.

Solidity: function append(x uint256) returns()

func (*BethtestTransactor) Increment

func (_Bethtest *BethtestTransactor) Increment(opts *bind.TransactOpts) (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

func (*BethtestTransactor) Remove

func (_Bethtest *BethtestTransactor) Remove(opts *bind.TransactOpts, _dataToDelete *big.Int) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x4cc82215.

Solidity: function remove(_dataToDelete uint256) returns()

func (*BethtestTransactor) Set

func (_Bethtest *BethtestTransactor) 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 BethtestTransactorRaw

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

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

func (*BethtestTransactorRaw) Transact

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

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

func (*BethtestTransactorRaw) Transfer

func (_Bethtest *BethtestTransactorRaw) 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 BethtestTransactorSession

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

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

func (*BethtestTransactorSession) Append

func (_Bethtest *BethtestTransactorSession) Append(x *big.Int) (*types.Transaction, error)

Append is a paid mutator transaction binding the contract method 0xe33b8707.

Solidity: function append(x uint256) returns()

func (*BethtestTransactorSession) Increment

func (_Bethtest *BethtestTransactorSession) Increment() (*types.Transaction, error)

Increment is a paid mutator transaction binding the contract method 0xd09de08a.

Solidity: function increment() returns()

func (*BethtestTransactorSession) Remove

func (_Bethtest *BethtestTransactorSession) Remove(_dataToDelete *big.Int) (*types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0x4cc82215.

Solidity: function remove(_dataToDelete uint256) returns()

func (*BethtestTransactorSession) Set

func (_Bethtest *BethtestTransactorSession) 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