contract

package
v2.8.1+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ChequebookABI = `` /* 576-byte string literal not displayed */

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

View Source
const ChequebookBin = `` /* 1096-byte string literal not displayed */

ChequebookBin is the compiled bytecode used for deploying new contracts.

View Source
const ContractDeployedCode = "" /* 1024-byte string literal not displayed */

ContractDeployedCode is used to detect suicides. This constant needs to be updated when the contract code is changed.

View Source
const MortalABI = `[{"constant":false,"inputs":[],"name":"kill","outputs":[],"type":"function"}]`

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

View Source
const MortalBin = `` /* 254-byte string literal not displayed */

MortalBin is the compiled bytecode used for deploying new contracts.

View Source
const OwnedABI = `[{"inputs":[],"type":"constructor"}]`

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

View Source
const OwnedBin = `0x606060405260008054600160a060020a0319163317905560068060226000396000f3606060405200`

OwnedBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chequebook

type Chequebook struct {
	ChequebookCaller     // Read-only binding to the contract
	ChequebookTransactor // Write-only binding to the contract
}

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

func DeployChequebook

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

DeployChequebook deploys a new Ethereum contract, binding an instance of Chequebook to it.

func NewChequebook

func NewChequebook(address common.Address, backend bind.ContractBackend) (*Chequebook, error)

NewChequebook creates a new instance of Chequebook, bound to a specific deployed contract.

type ChequebookCaller

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

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

func NewChequebookCaller

func NewChequebookCaller(address common.Address, caller bind.ContractCaller) (*ChequebookCaller, error)

NewChequebookCaller creates a new read-only instance of Chequebook, bound to a specific deployed contract.

func (*ChequebookCaller) Sent

func (_Chequebook *ChequebookCaller) Sent(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Sent is a free data retrieval call binding the contract method 0x7bf786f8.

Solidity: function sent( address) constant returns(uint256)

type ChequebookCallerRaw

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

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

func (*ChequebookCallerRaw) Call

func (_Chequebook *ChequebookCallerRaw) 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 ChequebookCallerSession

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

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

func (*ChequebookCallerSession) Sent

func (_Chequebook *ChequebookCallerSession) Sent(arg0 common.Address) (*big.Int, error)

Sent is a free data retrieval call binding the contract method 0x7bf786f8.

Solidity: function sent( address) constant returns(uint256)

type ChequebookRaw

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

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

func (*ChequebookRaw) Call

func (_Chequebook *ChequebookRaw) 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 (*ChequebookRaw) Transact

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

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

func (*ChequebookRaw) Transfer

func (_Chequebook *ChequebookRaw) 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 ChequebookSession

type ChequebookSession struct {
	Contract     *Chequebook       // 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
}

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

func (*ChequebookSession) Cash

func (_Chequebook *ChequebookSession) Cash(beneficiary common.Address, amount *big.Int, sig_v uint8, sig_r [32]byte, sig_s [32]byte) (*types.Transaction, error)

Cash is a paid mutator transaction binding the contract method 0xfbf788d6.

Solidity: function cash(beneficiary address, amount uint256, sig_v uint8, sig_r bytes32, sig_s bytes32) returns()

func (*ChequebookSession) Kill

func (_Chequebook *ChequebookSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*ChequebookSession) Sent

func (_Chequebook *ChequebookSession) Sent(arg0 common.Address) (*big.Int, error)

Sent is a free data retrieval call binding the contract method 0x7bf786f8.

Solidity: function sent( address) constant returns(uint256)

type ChequebookTransactor

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

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

func NewChequebookTransactor

func NewChequebookTransactor(address common.Address, transactor bind.ContractTransactor) (*ChequebookTransactor, error)

NewChequebookTransactor creates a new write-only instance of Chequebook, bound to a specific deployed contract.

func (*ChequebookTransactor) Cash

func (_Chequebook *ChequebookTransactor) Cash(opts *bind.TransactOpts, beneficiary common.Address, amount *big.Int, sig_v uint8, sig_r [32]byte, sig_s [32]byte) (*types.Transaction, error)

Cash is a paid mutator transaction binding the contract method 0xfbf788d6.

Solidity: function cash(beneficiary address, amount uint256, sig_v uint8, sig_r bytes32, sig_s bytes32) returns()

func (*ChequebookTransactor) Kill

func (_Chequebook *ChequebookTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

type ChequebookTransactorRaw

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

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

func (*ChequebookTransactorRaw) Transact

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

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

func (*ChequebookTransactorRaw) Transfer

func (_Chequebook *ChequebookTransactorRaw) 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 ChequebookTransactorSession

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

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

func (*ChequebookTransactorSession) Cash

func (_Chequebook *ChequebookTransactorSession) Cash(beneficiary common.Address, amount *big.Int, sig_v uint8, sig_r [32]byte, sig_s [32]byte) (*types.Transaction, error)

Cash is a paid mutator transaction binding the contract method 0xfbf788d6.

Solidity: function cash(beneficiary address, amount uint256, sig_v uint8, sig_r bytes32, sig_s bytes32) returns()

func (*ChequebookTransactorSession) Kill

func (_Chequebook *ChequebookTransactorSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

type Mortal

type Mortal struct {
	MortalCaller     // Read-only binding to the contract
	MortalTransactor // Write-only binding to the contract
}

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

func DeployMortal

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

DeployMortal deploys a new Ethereum contract, binding an instance of Mortal to it.

func NewMortal

func NewMortal(address common.Address, backend bind.ContractBackend) (*Mortal, error)

NewMortal creates a new instance of Mortal, bound to a specific deployed contract.

type MortalCaller

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

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

func NewMortalCaller

func NewMortalCaller(address common.Address, caller bind.ContractCaller) (*MortalCaller, error)

NewMortalCaller creates a new read-only instance of Mortal, bound to a specific deployed contract.

type MortalCallerRaw

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

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

func (*MortalCallerRaw) Call

func (_Mortal *MortalCallerRaw) 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 MortalCallerSession

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

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

type MortalRaw

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

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

func (*MortalRaw) Call

func (_Mortal *MortalRaw) 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 (*MortalRaw) Transact

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

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

func (*MortalRaw) Transfer

func (_Mortal *MortalRaw) 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 MortalSession

type MortalSession struct {
	Contract     *Mortal           // 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
}

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

func (*MortalSession) Kill

func (_Mortal *MortalSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

type MortalTransactor

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

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

func NewMortalTransactor

func NewMortalTransactor(address common.Address, transactor bind.ContractTransactor) (*MortalTransactor, error)

NewMortalTransactor creates a new write-only instance of Mortal, bound to a specific deployed contract.

func (*MortalTransactor) Kill

func (_Mortal *MortalTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

type MortalTransactorRaw

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

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

func (*MortalTransactorRaw) Transact

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

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

func (*MortalTransactorRaw) Transfer

func (_Mortal *MortalTransactorRaw) 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 MortalTransactorSession

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

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

func (*MortalTransactorSession) Kill

func (_Mortal *MortalTransactorSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

type Owned

type Owned struct {
	OwnedCaller     // Read-only binding to the contract
	OwnedTransactor // Write-only binding to the contract
}

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

func DeployOwned

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

DeployOwned deploys a new Ethereum contract, binding an instance of Owned to it.

func NewOwned

func NewOwned(address common.Address, backend bind.ContractBackend) (*Owned, error)

NewOwned creates a new instance of Owned, bound to a specific deployed contract.

type OwnedCaller

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

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

func NewOwnedCaller

func NewOwnedCaller(address common.Address, caller bind.ContractCaller) (*OwnedCaller, error)

NewOwnedCaller creates a new read-only instance of Owned, bound to a specific deployed contract.

type OwnedCallerRaw

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

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

func (*OwnedCallerRaw) Call

func (_Owned *OwnedCallerRaw) 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 OwnedCallerSession

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

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

type OwnedRaw

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

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

func (*OwnedRaw) Call

func (_Owned *OwnedRaw) 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 (*OwnedRaw) Transact

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

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

func (*OwnedRaw) Transfer

func (_Owned *OwnedRaw) 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 OwnedSession

type OwnedSession struct {
	Contract     *Owned            // 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
}

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

type OwnedTransactor

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

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

func NewOwnedTransactor

func NewOwnedTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnedTransactor, error)

NewOwnedTransactor creates a new write-only instance of Owned, bound to a specific deployed contract.

type OwnedTransactorRaw

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

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

func (*OwnedTransactorRaw) Transact

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

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

func (*OwnedTransactorRaw) Transfer

func (_Owned *OwnedTransactorRaw) 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 OwnedTransactorSession

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

OwnedTransactorSession 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