contract

package
v2.1.99+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: GPL-3.0 Imports: 8 Imported by: 16

Documentation

Index

Constants

View Source
const ChequebookABI = "" /* 922-byte string literal not displayed */

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

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

ChequebookBin is the compiled bytecode used for deploying new contracts.

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

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

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
	ChequebookFilterer   // Log filterer for contract events
}

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 ChequebookFilterer

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

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

func NewChequebookFilterer

func NewChequebookFilterer(address common.Address, filterer bind.ContractFilterer) (*ChequebookFilterer, error)

NewChequebookFilterer creates a new log filterer instance of Chequebook, bound to a specific deployed contract.

func (*ChequebookFilterer) FilterOverdraft

func (_Chequebook *ChequebookFilterer) FilterOverdraft(opts *bind.FilterOpts) (*ChequebookOverdraftIterator, error)

FilterOverdraft is a free log retrieval operation binding the contract event 0x2250e2993c15843b32621c89447cc589ee7a9f049c026986e545d3c2c0c6f978.

Solidity: event Overdraft(deadbeat address)

func (*ChequebookFilterer) WatchOverdraft

func (_Chequebook *ChequebookFilterer) WatchOverdraft(opts *bind.WatchOpts, sink chan<- *ChequebookOverdraft) (event.Subscription, error)

WatchOverdraft is a free log subscription operation binding the contract event 0x2250e2993c15843b32621c89447cc589ee7a9f049c026986e545d3c2c0c6f978.

Solidity: event Overdraft(deadbeat address)

type ChequebookOverdraft

type ChequebookOverdraft struct {
	Deadbeat common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

ChequebookOverdraft represents a Overdraft event raised by the Chequebook contract.

type ChequebookOverdraftIterator

type ChequebookOverdraftIterator struct {
	Event *ChequebookOverdraft // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ChequebookOverdraftIterator is returned from FilterOverdraft and is used to iterate over the raw logs and unpacked data for Overdraft events raised by the Chequebook contract.

func (*ChequebookOverdraftIterator) Close

func (it *ChequebookOverdraftIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ChequebookOverdraftIterator) Error

func (it *ChequebookOverdraftIterator) Error() error

Error retruned any retrieval or parsing error occurred during filtering.

func (*ChequebookOverdraftIterator) Next

func (it *ChequebookOverdraftIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

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

Jump to

Keyboard shortcuts

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