escrow

package
v0.0.0-...-737687b Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const EscrowABI = "" /* 2452-byte string literal not displayed */

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

View Source
const EscrowBin = `` /* 7750-byte string literal not displayed */

EscrowBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Escrow

type Escrow struct {
	EscrowCaller     // Read-only binding to the contract
	EscrowTransactor // Write-only binding to the contract
	EscrowFilterer   // Log filterer for contract events
}

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

func DeployEscrow

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

DeployEscrow deploys a new Ethereum contract, binding an instance of Escrow to it.

func NewEscrow

func NewEscrow(address common.Address, backend bind.ContractBackend) (*Escrow, error)

NewEscrow creates a new instance of Escrow, bound to a specific deployed contract.

type EscrowCaller

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

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

func NewEscrowCaller

func NewEscrowCaller(address common.Address, caller bind.ContractCaller) (*EscrowCaller, error)

NewEscrowCaller creates a new read-only instance of Escrow, bound to a specific deployed contract.

func (*EscrowCaller) Seq

func (_Escrow *EscrowCaller) Seq(opts *bind.CallOpts) (*big.Int, error)

Seq is a free data retrieval call binding the contract method 0x6857ab40.

Solidity: function seq() constant returns(uint256)

type EscrowCallerRaw

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

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

func (*EscrowCallerRaw) Call

func (_Escrow *EscrowCallerRaw) 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 EscrowCallerSession

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

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

func (*EscrowCallerSession) Seq

func (_Escrow *EscrowCallerSession) Seq() (*big.Int, error)

Seq is a free data retrieval call binding the contract method 0x6857ab40.

Solidity: function seq() constant returns(uint256)

type EscrowCreated

type EscrowCreated struct {
	Seq  *big.Int
	Name [8]byte
	Raw  types.Log // Blockchain specific contextual infos
}

EscrowCreated represents a Created event raised by the Escrow contract.

type EscrowCreatedIterator

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

EscrowCreatedIterator is returned from FilterCreated and is used to iterate over the raw logs and unpacked data for Created events raised by the Escrow contract.

func (*EscrowCreatedIterator) Close

func (it *EscrowCreatedIterator) Close() error

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

func (*EscrowCreatedIterator) Error

func (it *EscrowCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EscrowCreatedIterator) Next

func (it *EscrowCreatedIterator) 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 EscrowFilterer

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

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

func NewEscrowFilterer

func NewEscrowFilterer(address common.Address, filterer bind.ContractFilterer) (*EscrowFilterer, error)

NewEscrowFilterer creates a new log filterer instance of Escrow, bound to a specific deployed contract.

func (*EscrowFilterer) FilterCreated

func (_Escrow *EscrowFilterer) FilterCreated(opts *bind.FilterOpts) (*EscrowCreatedIterator, error)

FilterCreated is a free log retrieval operation binding the contract event 0x32e343b6c3095e099c5dd22ddf8c3fa6a5c5514a4286f78a7e8886374a33d4fe.

Solidity: event Created(seq uint256, _name bytes8)

func (*EscrowFilterer) FilterFinished

func (_Escrow *EscrowFilterer) FilterFinished(opts *bind.FilterOpts) (*EscrowFinishedIterator, error)

FilterFinished is a free log retrieval operation binding the contract event 0x86954ecc0ae072157fcf7f87a425a1461295a4cc9cc3122d2efc73bf32d98e1a.

Solidity: event Finished(seq uint256)

func (*EscrowFilterer) FilterParticipantCancelled

func (_Escrow *EscrowFilterer) FilterParticipantCancelled(opts *bind.FilterOpts) (*EscrowParticipantCancelledIterator, error)

FilterParticipantCancelled is a free log retrieval operation binding the contract event 0x91802c983b6a8e1758dd1f19589461b58e3a7c6209dbb1b45c4f382f052a1d52.

Solidity: event ParticipantCancelled(seq uint256, participant address)

func (*EscrowFilterer) FilterParticipantPaid

func (_Escrow *EscrowFilterer) FilterParticipantPaid(opts *bind.FilterOpts) (*EscrowParticipantPaidIterator, error)

FilterParticipantPaid is a free log retrieval operation binding the contract event 0xc7d538e920165422bcfcc5aded5d1866e4ddca05191db88a2cf99b0377dcecee.

Solidity: event ParticipantPaid(seq uint256, participant address)

func (*EscrowFilterer) FilterParticipantReleased

func (_Escrow *EscrowFilterer) FilterParticipantReleased(opts *bind.FilterOpts) (*EscrowParticipantReleasedIterator, error)

FilterParticipantReleased is a free log retrieval operation binding the contract event 0x6f29a1913da999f186768f08d8f2ed16f36182d1e2073a748f825b38a21f7990.

Solidity: event ParticipantReleased(seq uint256, participant address)

func (*EscrowFilterer) WatchCreated

func (_Escrow *EscrowFilterer) WatchCreated(opts *bind.WatchOpts, sink chan<- *EscrowCreated) (event.Subscription, error)

WatchCreated is a free log subscription operation binding the contract event 0x32e343b6c3095e099c5dd22ddf8c3fa6a5c5514a4286f78a7e8886374a33d4fe.

Solidity: event Created(seq uint256, _name bytes8)

func (*EscrowFilterer) WatchFinished

func (_Escrow *EscrowFilterer) WatchFinished(opts *bind.WatchOpts, sink chan<- *EscrowFinished) (event.Subscription, error)

WatchFinished is a free log subscription operation binding the contract event 0x86954ecc0ae072157fcf7f87a425a1461295a4cc9cc3122d2efc73bf32d98e1a.

Solidity: event Finished(seq uint256)

func (*EscrowFilterer) WatchParticipantCancelled

func (_Escrow *EscrowFilterer) WatchParticipantCancelled(opts *bind.WatchOpts, sink chan<- *EscrowParticipantCancelled) (event.Subscription, error)

WatchParticipantCancelled is a free log subscription operation binding the contract event 0x91802c983b6a8e1758dd1f19589461b58e3a7c6209dbb1b45c4f382f052a1d52.

Solidity: event ParticipantCancelled(seq uint256, participant address)

func (*EscrowFilterer) WatchParticipantPaid

func (_Escrow *EscrowFilterer) WatchParticipantPaid(opts *bind.WatchOpts, sink chan<- *EscrowParticipantPaid) (event.Subscription, error)

WatchParticipantPaid is a free log subscription operation binding the contract event 0xc7d538e920165422bcfcc5aded5d1866e4ddca05191db88a2cf99b0377dcecee.

Solidity: event ParticipantPaid(seq uint256, participant address)

func (*EscrowFilterer) WatchParticipantReleased

func (_Escrow *EscrowFilterer) WatchParticipantReleased(opts *bind.WatchOpts, sink chan<- *EscrowParticipantReleased) (event.Subscription, error)

WatchParticipantReleased is a free log subscription operation binding the contract event 0x6f29a1913da999f186768f08d8f2ed16f36182d1e2073a748f825b38a21f7990.

Solidity: event ParticipantReleased(seq uint256, participant address)

type EscrowFinished

type EscrowFinished struct {
	Seq *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

EscrowFinished represents a Finished event raised by the Escrow contract.

type EscrowFinishedIterator

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

EscrowFinishedIterator is returned from FilterFinished and is used to iterate over the raw logs and unpacked data for Finished events raised by the Escrow contract.

func (*EscrowFinishedIterator) Close

func (it *EscrowFinishedIterator) Close() error

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

func (*EscrowFinishedIterator) Error

func (it *EscrowFinishedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EscrowFinishedIterator) Next

func (it *EscrowFinishedIterator) 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 EscrowParticipantCancelled

type EscrowParticipantCancelled struct {
	Seq         *big.Int
	Participant common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

EscrowParticipantCancelled represents a ParticipantCancelled event raised by the Escrow contract.

type EscrowParticipantCancelledIterator

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

EscrowParticipantCancelledIterator is returned from FilterParticipantCancelled and is used to iterate over the raw logs and unpacked data for ParticipantCancelled events raised by the Escrow contract.

func (*EscrowParticipantCancelledIterator) Close

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

func (*EscrowParticipantCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EscrowParticipantCancelledIterator) Next

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 EscrowParticipantPaid

type EscrowParticipantPaid struct {
	Seq         *big.Int
	Participant common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

EscrowParticipantPaid represents a ParticipantPaid event raised by the Escrow contract.

type EscrowParticipantPaidIterator

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

EscrowParticipantPaidIterator is returned from FilterParticipantPaid and is used to iterate over the raw logs and unpacked data for ParticipantPaid events raised by the Escrow contract.

func (*EscrowParticipantPaidIterator) Close

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

func (*EscrowParticipantPaidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EscrowParticipantPaidIterator) Next

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 EscrowParticipantReleased

type EscrowParticipantReleased struct {
	Seq         *big.Int
	Participant common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

EscrowParticipantReleased represents a ParticipantReleased event raised by the Escrow contract.

type EscrowParticipantReleasedIterator

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

EscrowParticipantReleasedIterator is returned from FilterParticipantReleased and is used to iterate over the raw logs and unpacked data for ParticipantReleased events raised by the Escrow contract.

func (*EscrowParticipantReleasedIterator) Close

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

func (*EscrowParticipantReleasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EscrowParticipantReleasedIterator) Next

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 EscrowRaw

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

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

func (*EscrowRaw) Call

func (_Escrow *EscrowRaw) 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 (*EscrowRaw) Transact

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

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

func (*EscrowRaw) Transfer

func (_Escrow *EscrowRaw) 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 EscrowSession

type EscrowSession struct {
	Contract     *Escrow           // 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
}

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

func (*EscrowSession) AddParticipant

func (_Escrow *EscrowSession) AddParticipant(_seq *big.Int, _amount *big.Int, _who common.Address, _beneficiary common.Address) (*types.Transaction, error)

AddParticipant is a paid mutator transaction binding the contract method 0x99757f9b.

Solidity: function addParticipant(_seq uint256, _amount uint80, _who address, _beneficiary address) returns()

func (*EscrowSession) CreateEscrow

func (_Escrow *EscrowSession) CreateEscrow(_name [8]byte) (*types.Transaction, error)

CreateEscrow is a paid mutator transaction binding the contract method 0x44413984.

Solidity: function createEscrow(_name bytes8) returns()

func (*EscrowSession) ParticipantCancel

func (_Escrow *EscrowSession) ParticipantCancel(_id *big.Int) (*types.Transaction, error)

ParticipantCancel is a paid mutator transaction binding the contract method 0x204e71b9.

Solidity: function participantCancel(_id uint256) returns()

func (*EscrowSession) ParticipantPayout

func (_Escrow *EscrowSession) ParticipantPayout(_id *big.Int) (*types.Transaction, error)

ParticipantPayout is a paid mutator transaction binding the contract method 0x422ee44a.

Solidity: function participantPayout(_id uint256) returns(bool)

func (*EscrowSession) ParticipantPut

func (_Escrow *EscrowSession) ParticipantPut(_id *big.Int) (*types.Transaction, error)

ParticipantPut is a paid mutator transaction binding the contract method 0x136b27c7.

Solidity: function participantPut(_id uint256) returns()

func (*EscrowSession) ParticipantRelease

func (_Escrow *EscrowSession) ParticipantRelease(_id *big.Int) (*types.Transaction, error)

ParticipantRelease is a paid mutator transaction binding the contract method 0x43ae9547.

Solidity: function participantRelease(_id uint256) returns()

func (*EscrowSession) Seq

func (_Escrow *EscrowSession) Seq() (*big.Int, error)

Seq is a free data retrieval call binding the contract method 0x6857ab40.

Solidity: function seq() constant returns(uint256)

type EscrowTransactor

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

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

func NewEscrowTransactor

func NewEscrowTransactor(address common.Address, transactor bind.ContractTransactor) (*EscrowTransactor, error)

NewEscrowTransactor creates a new write-only instance of Escrow, bound to a specific deployed contract.

func (*EscrowTransactor) AddParticipant

func (_Escrow *EscrowTransactor) AddParticipant(opts *bind.TransactOpts, _seq *big.Int, _amount *big.Int, _who common.Address, _beneficiary common.Address) (*types.Transaction, error)

AddParticipant is a paid mutator transaction binding the contract method 0x99757f9b.

Solidity: function addParticipant(_seq uint256, _amount uint80, _who address, _beneficiary address) returns()

func (*EscrowTransactor) CreateEscrow

func (_Escrow *EscrowTransactor) CreateEscrow(opts *bind.TransactOpts, _name [8]byte) (*types.Transaction, error)

CreateEscrow is a paid mutator transaction binding the contract method 0x44413984.

Solidity: function createEscrow(_name bytes8) returns()

func (*EscrowTransactor) ParticipantCancel

func (_Escrow *EscrowTransactor) ParticipantCancel(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)

ParticipantCancel is a paid mutator transaction binding the contract method 0x204e71b9.

Solidity: function participantCancel(_id uint256) returns()

func (*EscrowTransactor) ParticipantPayout

func (_Escrow *EscrowTransactor) ParticipantPayout(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)

ParticipantPayout is a paid mutator transaction binding the contract method 0x422ee44a.

Solidity: function participantPayout(_id uint256) returns(bool)

func (*EscrowTransactor) ParticipantPut

func (_Escrow *EscrowTransactor) ParticipantPut(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)

ParticipantPut is a paid mutator transaction binding the contract method 0x136b27c7.

Solidity: function participantPut(_id uint256) returns()

func (*EscrowTransactor) ParticipantRelease

func (_Escrow *EscrowTransactor) ParticipantRelease(opts *bind.TransactOpts, _id *big.Int) (*types.Transaction, error)

ParticipantRelease is a paid mutator transaction binding the contract method 0x43ae9547.

Solidity: function participantRelease(_id uint256) returns()

type EscrowTransactorRaw

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

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

func (*EscrowTransactorRaw) Transact

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

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

func (*EscrowTransactorRaw) Transfer

func (_Escrow *EscrowTransactorRaw) 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 EscrowTransactorSession

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

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

func (*EscrowTransactorSession) AddParticipant

func (_Escrow *EscrowTransactorSession) AddParticipant(_seq *big.Int, _amount *big.Int, _who common.Address, _beneficiary common.Address) (*types.Transaction, error)

AddParticipant is a paid mutator transaction binding the contract method 0x99757f9b.

Solidity: function addParticipant(_seq uint256, _amount uint80, _who address, _beneficiary address) returns()

func (*EscrowTransactorSession) CreateEscrow

func (_Escrow *EscrowTransactorSession) CreateEscrow(_name [8]byte) (*types.Transaction, error)

CreateEscrow is a paid mutator transaction binding the contract method 0x44413984.

Solidity: function createEscrow(_name bytes8) returns()

func (*EscrowTransactorSession) ParticipantCancel

func (_Escrow *EscrowTransactorSession) ParticipantCancel(_id *big.Int) (*types.Transaction, error)

ParticipantCancel is a paid mutator transaction binding the contract method 0x204e71b9.

Solidity: function participantCancel(_id uint256) returns()

func (*EscrowTransactorSession) ParticipantPayout

func (_Escrow *EscrowTransactorSession) ParticipantPayout(_id *big.Int) (*types.Transaction, error)

ParticipantPayout is a paid mutator transaction binding the contract method 0x422ee44a.

Solidity: function participantPayout(_id uint256) returns(bool)

func (*EscrowTransactorSession) ParticipantPut

func (_Escrow *EscrowTransactorSession) ParticipantPut(_id *big.Int) (*types.Transaction, error)

ParticipantPut is a paid mutator transaction binding the contract method 0x136b27c7.

Solidity: function participantPut(_id uint256) returns()

func (*EscrowTransactorSession) ParticipantRelease

func (_Escrow *EscrowTransactorSession) ParticipantRelease(_id *big.Int) (*types.Transaction, error)

ParticipantRelease is a paid mutator transaction binding the contract method 0x43ae9547.

Solidity: function participantRelease(_id uint256) returns()

Jump to

Keyboard shortcuts

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