SampleContract

package
v0.0.0-...-8af0f92 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const SampleContractABI = "" /* 489-byte string literal not displayed */

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

View Source
const SampleContractBin = `` /* 1178-byte string literal not displayed */

SampleContractBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleContract

type SampleContract struct {
	SampleContractCaller     // Read-only binding to the contract
	SampleContractTransactor // Write-only binding to the contract
	SampleContractFilterer   // Log filterer for contract events
}

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

func DeploySampleContract

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

DeploySampleContract deploys a new Ethereum contract, binding an instance of SampleContract to it.

func NewSampleContract

func NewSampleContract(address common.Address, backend bind.ContractBackend) (*SampleContract, error)

NewSampleContract creates a new instance of SampleContract, bound to a specific deployed contract.

type SampleContractCaller

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

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

func NewSampleContractCaller

func NewSampleContractCaller(address common.Address, caller bind.ContractCaller) (*SampleContractCaller, error)

NewSampleContractCaller creates a new read-only instance of SampleContract, bound to a specific deployed contract.

func (*SampleContractCaller) Allowed

func (_SampleContract *SampleContractCaller) Allowed(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Addr common.Address
	Data [32]byte
}, error)

Allowed is a free data retrieval call binding the contract method 0x214296e8.

Solidity: function allowed( uint256) constant returns(Addr address, Data bytes32)

type SampleContractCallerRaw

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

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

func (*SampleContractCallerRaw) Call

func (_SampleContract *SampleContractCallerRaw) 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 SampleContractCallerSession

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

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

func (*SampleContractCallerSession) Allowed

func (_SampleContract *SampleContractCallerSession) Allowed(arg0 *big.Int) (struct {
	Addr common.Address
	Data [32]byte
}, error)

Allowed is a free data retrieval call binding the contract method 0x214296e8.

Solidity: function allowed( uint256) constant returns(Addr address, Data bytes32)

type SampleContractFilterer

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

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

func NewSampleContractFilterer

func NewSampleContractFilterer(address common.Address, filterer bind.ContractFilterer) (*SampleContractFilterer, error)

NewSampleContractFilterer creates a new log filterer instance of SampleContract, bound to a specific deployed contract.

type SampleContractRaw

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

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

func (*SampleContractRaw) Call

func (_SampleContract *SampleContractRaw) 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 (*SampleContractRaw) Transact

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

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

func (*SampleContractRaw) Transfer

func (_SampleContract *SampleContractRaw) 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 SampleContractSession

type SampleContractSession struct {
	Contract     *SampleContract   // 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
}

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

func (*SampleContractSession) AddAllowed

func (_SampleContract *SampleContractSession) AddAllowed(_addr common.Address, _data [32]byte) (*types.Transaction, error)

AddAllowed is a paid mutator transaction binding the contract method 0x5fc37d89.

Solidity: function addAllowed(_addr address, _data bytes32) returns()

func (*SampleContractSession) Allowed

func (_SampleContract *SampleContractSession) Allowed(arg0 *big.Int) (struct {
	Addr common.Address
	Data [32]byte
}, error)

Allowed is a free data retrieval call binding the contract method 0x214296e8.

Solidity: function allowed( uint256) constant returns(Addr address, Data bytes32)

type SampleContractTransactor

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

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

func NewSampleContractTransactor

func NewSampleContractTransactor(address common.Address, transactor bind.ContractTransactor) (*SampleContractTransactor, error)

NewSampleContractTransactor creates a new write-only instance of SampleContract, bound to a specific deployed contract.

func (*SampleContractTransactor) AddAllowed

func (_SampleContract *SampleContractTransactor) AddAllowed(opts *bind.TransactOpts, _addr common.Address, _data [32]byte) (*types.Transaction, error)

AddAllowed is a paid mutator transaction binding the contract method 0x5fc37d89.

Solidity: function addAllowed(_addr address, _data bytes32) returns()

type SampleContractTransactorRaw

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

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

func (*SampleContractTransactorRaw) Transact

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

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

func (*SampleContractTransactorRaw) Transfer

func (_SampleContract *SampleContractTransactorRaw) 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 SampleContractTransactorSession

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

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

func (*SampleContractTransactorSession) AddAllowed

func (_SampleContract *SampleContractTransactorSession) AddAllowed(_addr common.Address, _data [32]byte) (*types.Transaction, error)

AddAllowed is a paid mutator transaction binding the contract method 0x5fc37d89.

Solidity: function addAllowed(_addr address, _data bytes32) returns()

Jump to

Keyboard shortcuts

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