test

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const SimpleStorageABI = "" /* 997-byte string literal not displayed */

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

View Source
const SimpleStorageBin = `` /* 2164-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
	SimpleStorageFilterer   // Log filterer for contract events
}

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

func DeploySimpleStorage

func DeploySimpleStorage(auth *bind.TransactOpts, backend bind.ContractBackend, _intValue *big.Int, _stringValue string) (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) GetInt

func (_SimpleStorage *SimpleStorageCaller) GetInt(opts *bind.CallOpts) (*big.Int, error)

GetInt is a free data retrieval call binding the contract method 0x62738998.

Solidity: function getInt() constant returns(uint256)

func (*SimpleStorageCaller) GetIntMultiple

func (_SimpleStorage *SimpleStorageCaller) GetIntMultiple(opts *bind.CallOpts, _multiple *big.Int) (*big.Int, error)

GetIntMultiple is a free data retrieval call binding the contract method 0x82fa8ab2.

Solidity: function getIntMultiple(_multiple uint256) constant returns(uint256)

func (*SimpleStorageCaller) GetString

func (_SimpleStorage *SimpleStorageCaller) GetString(opts *bind.CallOpts) (string, error)

GetString is a free data retrieval call binding the contract method 0x89ea642f.

Solidity: function getString() constant returns(string)

func (*SimpleStorageCaller) GetValues

func (_SimpleStorage *SimpleStorageCaller) GetValues(opts *bind.CallOpts) (struct {
	IntValue    *big.Int
	StringValue string
}, error)

GetValues is a free data retrieval call binding the contract method 0x19eb4a90.

Solidity: function getValues() constant returns(intValue uint256, stringValue string)

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) GetInt

func (_SimpleStorage *SimpleStorageCallerSession) GetInt() (*big.Int, error)

GetInt is a free data retrieval call binding the contract method 0x62738998.

Solidity: function getInt() constant returns(uint256)

func (*SimpleStorageCallerSession) GetIntMultiple

func (_SimpleStorage *SimpleStorageCallerSession) GetIntMultiple(_multiple *big.Int) (*big.Int, error)

GetIntMultiple is a free data retrieval call binding the contract method 0x82fa8ab2.

Solidity: function getIntMultiple(_multiple uint256) constant returns(uint256)

func (*SimpleStorageCallerSession) GetString

func (_SimpleStorage *SimpleStorageCallerSession) GetString() (string, error)

GetString is a free data retrieval call binding the contract method 0x89ea642f.

Solidity: function getString() constant returns(string)

func (*SimpleStorageCallerSession) GetValues

func (_SimpleStorage *SimpleStorageCallerSession) GetValues() (struct {
	IntValue    *big.Int
	StringValue string
}, error)

GetValues is a free data retrieval call binding the contract method 0x19eb4a90.

Solidity: function getValues() constant returns(intValue uint256, stringValue string)

type SimpleStorageFilterer

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

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

func NewSimpleStorageFilterer

func NewSimpleStorageFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleStorageFilterer, error)

NewSimpleStorageFilterer creates a new log filterer instance of SimpleStorage, bound to a specific deployed contract.

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) GetInt

func (_SimpleStorage *SimpleStorageSession) GetInt() (*big.Int, error)

GetInt is a free data retrieval call binding the contract method 0x62738998.

Solidity: function getInt() constant returns(uint256)

func (*SimpleStorageSession) GetIntMultiple

func (_SimpleStorage *SimpleStorageSession) GetIntMultiple(_multiple *big.Int) (*big.Int, error)

GetIntMultiple is a free data retrieval call binding the contract method 0x82fa8ab2.

Solidity: function getIntMultiple(_multiple uint256) constant returns(uint256)

func (*SimpleStorageSession) GetString

func (_SimpleStorage *SimpleStorageSession) GetString() (string, error)

GetString is a free data retrieval call binding the contract method 0x89ea642f.

Solidity: function getString() constant returns(string)

func (*SimpleStorageSession) GetValues

func (_SimpleStorage *SimpleStorageSession) GetValues() (struct {
	IntValue    *big.Int
	StringValue string
}, error)

GetValues is a free data retrieval call binding the contract method 0x19eb4a90.

Solidity: function getValues() constant returns(intValue uint256, stringValue string)

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.

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.

Jump to

Keyboard shortcuts

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