operation

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: GPL-3.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const LedgerOperationABI = "" /* 3523-byte string literal not displayed */

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

Variables

View Source
var LedgerOperationBin = "" /* 46680-byte string literal not displayed */

LedgerOperationBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type LedgerOperation

type LedgerOperation struct {
	LedgerOperationCaller     // Read-only binding to the contract
	LedgerOperationTransactor // Write-only binding to the contract
	LedgerOperationFilterer   // Log filterer for contract events
}

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

func DeployLedgerOperation

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

DeployLedgerOperation deploys a new Ethereum contract, binding an instance of LedgerOperation to it.

func NewLedgerOperation

func NewLedgerOperation(address common.Address, backend bind.ContractBackend) (*LedgerOperation, error)

NewLedgerOperation creates a new instance of LedgerOperation, bound to a specific deployed contract.

type LedgerOperationCaller

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

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

func NewLedgerOperationCaller

func NewLedgerOperationCaller(address common.Address, caller bind.ContractCaller) (*LedgerOperationCaller, error)

NewLedgerOperationCaller creates a new read-only instance of LedgerOperation, bound to a specific deployed contract.

type LedgerOperationCallerRaw

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

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

func (*LedgerOperationCallerRaw) Call

func (_LedgerOperation *LedgerOperationCallerRaw) 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 LedgerOperationCallerSession

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

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

type LedgerOperationClearOnePay

type LedgerOperationClearOnePay struct {
	ChannelId [32]byte
	PayId     [32]byte
	PeerFrom  common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

LedgerOperationClearOnePay represents a ClearOnePay event raised by the LedgerOperation contract.

type LedgerOperationClearOnePayIterator

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

LedgerOperationClearOnePayIterator is returned from FilterClearOnePay and is used to iterate over the raw logs and unpacked data for ClearOnePay events raised by the LedgerOperation contract.

func (*LedgerOperationClearOnePayIterator) Close

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

func (*LedgerOperationClearOnePayIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationClearOnePayIterator) 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 LedgerOperationConfirmSettle

type LedgerOperationConfirmSettle struct {
	ChannelId     [32]byte
	SettleBalance [2]*big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

LedgerOperationConfirmSettle represents a ConfirmSettle event raised by the LedgerOperation contract.

type LedgerOperationConfirmSettleFail

type LedgerOperationConfirmSettleFail struct {
	ChannelId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

LedgerOperationConfirmSettleFail represents a ConfirmSettleFail event raised by the LedgerOperation contract.

type LedgerOperationConfirmSettleFailIterator

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

LedgerOperationConfirmSettleFailIterator is returned from FilterConfirmSettleFail and is used to iterate over the raw logs and unpacked data for ConfirmSettleFail events raised by the LedgerOperation contract.

func (*LedgerOperationConfirmSettleFailIterator) Close

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

func (*LedgerOperationConfirmSettleFailIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationConfirmSettleFailIterator) 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 LedgerOperationConfirmSettleIterator

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

LedgerOperationConfirmSettleIterator is returned from FilterConfirmSettle and is used to iterate over the raw logs and unpacked data for ConfirmSettle events raised by the LedgerOperation contract.

func (*LedgerOperationConfirmSettleIterator) Close

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

func (*LedgerOperationConfirmSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationConfirmSettleIterator) 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 LedgerOperationConfirmWithdraw

type LedgerOperationConfirmWithdraw struct {
	ChannelId          [32]byte
	WithdrawnAmount    *big.Int
	Receiver           common.Address
	RecipientChannelId [32]byte
	Deposits           [2]*big.Int
	Withdrawals        [2]*big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

LedgerOperationConfirmWithdraw represents a ConfirmWithdraw event raised by the LedgerOperation contract.

type LedgerOperationConfirmWithdrawIterator

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

LedgerOperationConfirmWithdrawIterator is returned from FilterConfirmWithdraw and is used to iterate over the raw logs and unpacked data for ConfirmWithdraw events raised by the LedgerOperation contract.

func (*LedgerOperationConfirmWithdrawIterator) Close

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

func (*LedgerOperationConfirmWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationConfirmWithdrawIterator) 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 LedgerOperationCooperativeSettle

type LedgerOperationCooperativeSettle struct {
	ChannelId     [32]byte
	SettleBalance [2]*big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

LedgerOperationCooperativeSettle represents a CooperativeSettle event raised by the LedgerOperation contract.

type LedgerOperationCooperativeSettleIterator

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

LedgerOperationCooperativeSettleIterator is returned from FilterCooperativeSettle and is used to iterate over the raw logs and unpacked data for CooperativeSettle events raised by the LedgerOperation contract.

func (*LedgerOperationCooperativeSettleIterator) Close

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

func (*LedgerOperationCooperativeSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationCooperativeSettleIterator) 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 LedgerOperationCooperativeWithdraw

type LedgerOperationCooperativeWithdraw struct {
	ChannelId          [32]byte
	WithdrawnAmount    *big.Int
	Receiver           common.Address
	RecipientChannelId [32]byte
	Deposits           [2]*big.Int
	Withdrawals        [2]*big.Int
	SeqNum             *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

LedgerOperationCooperativeWithdraw represents a CooperativeWithdraw event raised by the LedgerOperation contract.

type LedgerOperationCooperativeWithdrawIterator

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

LedgerOperationCooperativeWithdrawIterator is returned from FilterCooperativeWithdraw and is used to iterate over the raw logs and unpacked data for CooperativeWithdraw events raised by the LedgerOperation contract.

func (*LedgerOperationCooperativeWithdrawIterator) Close

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

func (*LedgerOperationCooperativeWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationCooperativeWithdrawIterator) 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 LedgerOperationDeposit

type LedgerOperationDeposit struct {
	ChannelId   [32]byte
	PeerAddrs   [2]common.Address
	Deposits    [2]*big.Int
	Withdrawals [2]*big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

LedgerOperationDeposit represents a Deposit event raised by the LedgerOperation contract.

type LedgerOperationDepositIterator

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

LedgerOperationDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the LedgerOperation contract.

func (*LedgerOperationDepositIterator) Close

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

func (*LedgerOperationDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationDepositIterator) 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 LedgerOperationFilterer

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

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

func NewLedgerOperationFilterer

func NewLedgerOperationFilterer(address common.Address, filterer bind.ContractFilterer) (*LedgerOperationFilterer, error)

NewLedgerOperationFilterer creates a new log filterer instance of LedgerOperation, bound to a specific deployed contract.

func (*LedgerOperationFilterer) FilterClearOnePay

func (_LedgerOperation *LedgerOperationFilterer) FilterClearOnePay(opts *bind.FilterOpts, channelId [][32]byte, payId [][32]byte, peerFrom []common.Address) (*LedgerOperationClearOnePayIterator, error)

FilterClearOnePay is a free log retrieval operation binding the contract event 0x33252d4bc5cee2ad248475e8c39239a79dc64b2691c9ca1a63ff9af0c75b8776.

Solidity: event ClearOnePay(bytes32 indexed channelId, bytes32 indexed payId, address indexed peerFrom, uint256 amount)

func (*LedgerOperationFilterer) FilterConfirmSettle

func (_LedgerOperation *LedgerOperationFilterer) FilterConfirmSettle(opts *bind.FilterOpts, channelId [][32]byte) (*LedgerOperationConfirmSettleIterator, error)

FilterConfirmSettle is a free log retrieval operation binding the contract event 0x728ddd8c5acda5947c34db8d759c66ae70884f526ff9b93637d351b012ef3206.

Solidity: event ConfirmSettle(bytes32 indexed channelId, uint256[2] settleBalance)

func (*LedgerOperationFilterer) FilterConfirmSettleFail

func (_LedgerOperation *LedgerOperationFilterer) FilterConfirmSettleFail(opts *bind.FilterOpts, channelId [][32]byte) (*LedgerOperationConfirmSettleFailIterator, error)

FilterConfirmSettleFail is a free log retrieval operation binding the contract event 0xa6549eb18490d42e7ec93f42115d1ee11b706d04077be9597034dd73ec8bcb36.

Solidity: event ConfirmSettleFail(bytes32 indexed channelId)

func (*LedgerOperationFilterer) FilterConfirmWithdraw

func (_LedgerOperation *LedgerOperationFilterer) FilterConfirmWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address, recipientChannelId [][32]byte) (*LedgerOperationConfirmWithdrawIterator, error)

FilterConfirmWithdraw is a free log retrieval operation binding the contract event 0xe8110b4ee08638c48f6a4d5f726927df4e541893efa9d2c2c47a6b889041826e.

Solidity: event ConfirmWithdraw(bytes32 indexed channelId, uint256 withdrawnAmount, address indexed receiver, bytes32 indexed recipientChannelId, uint256[2] deposits, uint256[2] withdrawals)

func (*LedgerOperationFilterer) FilterCooperativeSettle

func (_LedgerOperation *LedgerOperationFilterer) FilterCooperativeSettle(opts *bind.FilterOpts, channelId [][32]byte) (*LedgerOperationCooperativeSettleIterator, error)

FilterCooperativeSettle is a free log retrieval operation binding the contract event 0x6c666557dc97fd52cd2d9d6dd6d109e501ffdb831abeecf13aafeeaf762ee1fd.

Solidity: event CooperativeSettle(bytes32 indexed channelId, uint256[2] settleBalance)

func (*LedgerOperationFilterer) FilterCooperativeWithdraw

func (_LedgerOperation *LedgerOperationFilterer) FilterCooperativeWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address, recipientChannelId [][32]byte) (*LedgerOperationCooperativeWithdrawIterator, error)

FilterCooperativeWithdraw is a free log retrieval operation binding the contract event 0x1b87d077d9b706e42883b454b67730633fd6b4b29f9a9cf5f57c278c54f51c8f.

Solidity: event CooperativeWithdraw(bytes32 indexed channelId, uint256 withdrawnAmount, address indexed receiver, bytes32 indexed recipientChannelId, uint256[2] deposits, uint256[2] withdrawals, uint256 seqNum)

func (*LedgerOperationFilterer) FilterDeposit

func (_LedgerOperation *LedgerOperationFilterer) FilterDeposit(opts *bind.FilterOpts, channelId [][32]byte) (*LedgerOperationDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xb63f5dc096f516663ffb5ef2b611f0e2acca8617a868c2a3653cba5e3ed0e92c.

Solidity: event Deposit(bytes32 indexed channelId, address[2] peerAddrs, uint256[2] deposits, uint256[2] withdrawals)

func (*LedgerOperationFilterer) FilterIntendSettle

func (_LedgerOperation *LedgerOperationFilterer) FilterIntendSettle(opts *bind.FilterOpts, channelId [][32]byte) (*LedgerOperationIntendSettleIterator, error)

FilterIntendSettle is a free log retrieval operation binding the contract event 0x296143e7e25aa055fbb871702776a67da540876e2be721d5c38ba23c97c90d64.

Solidity: event IntendSettle(bytes32 indexed channelId, uint256[2] seqNums)

func (*LedgerOperationFilterer) FilterIntendWithdraw

func (_LedgerOperation *LedgerOperationFilterer) FilterIntendWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address) (*LedgerOperationIntendWithdrawIterator, error)

FilterIntendWithdraw is a free log retrieval operation binding the contract event 0x97883669625c4ff7f5432b4ca33fe75fb5fee985deb196a967e5758f846170fe.

Solidity: event IntendWithdraw(bytes32 indexed channelId, address indexed receiver, uint256 amount)

func (*LedgerOperationFilterer) FilterOpenChannel

func (_LedgerOperation *LedgerOperationFilterer) FilterOpenChannel(opts *bind.FilterOpts, channelId [][32]byte, tokenAddress []common.Address) (*LedgerOperationOpenChannelIterator, error)

FilterOpenChannel is a free log retrieval operation binding the contract event 0x9d9f66221370175606b4085f28a419b201c9b6dafd9e0c4520e5bf69ea3e166d.

Solidity: event OpenChannel(bytes32 indexed channelId, uint256 tokenType, address indexed tokenAddress, address[2] peerAddrs, uint256[2] initialDeposits)

func (*LedgerOperationFilterer) FilterSnapshotStates

func (_LedgerOperation *LedgerOperationFilterer) FilterSnapshotStates(opts *bind.FilterOpts, channelId [][32]byte) (*LedgerOperationSnapshotStatesIterator, error)

FilterSnapshotStates is a free log retrieval operation binding the contract event 0xd0793cc4198bf052a6d91a9a1273c4af39f02a91b0e19029477511c278c5b271.

Solidity: event SnapshotStates(bytes32 indexed channelId, uint256[2] seqNums)

func (*LedgerOperationFilterer) FilterVetoWithdraw

func (_LedgerOperation *LedgerOperationFilterer) FilterVetoWithdraw(opts *bind.FilterOpts, channelId [][32]byte) (*LedgerOperationVetoWithdrawIterator, error)

FilterVetoWithdraw is a free log retrieval operation binding the contract event 0x9a8a5493b616f074b3f754b5fd66049c8e7980f01547289e5e31808485c6002c.

Solidity: event VetoWithdraw(bytes32 indexed channelId)

func (*LedgerOperationFilterer) ParseClearOnePay

func (_LedgerOperation *LedgerOperationFilterer) ParseClearOnePay(log types.Log) (*LedgerOperationClearOnePay, error)

ParseClearOnePay is a log parse operation binding the contract event 0x33252d4bc5cee2ad248475e8c39239a79dc64b2691c9ca1a63ff9af0c75b8776.

Solidity: event ClearOnePay(bytes32 indexed channelId, bytes32 indexed payId, address indexed peerFrom, uint256 amount)

func (*LedgerOperationFilterer) ParseConfirmSettle

func (_LedgerOperation *LedgerOperationFilterer) ParseConfirmSettle(log types.Log) (*LedgerOperationConfirmSettle, error)

ParseConfirmSettle is a log parse operation binding the contract event 0x728ddd8c5acda5947c34db8d759c66ae70884f526ff9b93637d351b012ef3206.

Solidity: event ConfirmSettle(bytes32 indexed channelId, uint256[2] settleBalance)

func (*LedgerOperationFilterer) ParseConfirmSettleFail

func (_LedgerOperation *LedgerOperationFilterer) ParseConfirmSettleFail(log types.Log) (*LedgerOperationConfirmSettleFail, error)

ParseConfirmSettleFail is a log parse operation binding the contract event 0xa6549eb18490d42e7ec93f42115d1ee11b706d04077be9597034dd73ec8bcb36.

Solidity: event ConfirmSettleFail(bytes32 indexed channelId)

func (*LedgerOperationFilterer) ParseConfirmWithdraw

func (_LedgerOperation *LedgerOperationFilterer) ParseConfirmWithdraw(log types.Log) (*LedgerOperationConfirmWithdraw, error)

ParseConfirmWithdraw is a log parse operation binding the contract event 0xe8110b4ee08638c48f6a4d5f726927df4e541893efa9d2c2c47a6b889041826e.

Solidity: event ConfirmWithdraw(bytes32 indexed channelId, uint256 withdrawnAmount, address indexed receiver, bytes32 indexed recipientChannelId, uint256[2] deposits, uint256[2] withdrawals)

func (*LedgerOperationFilterer) ParseCooperativeSettle

func (_LedgerOperation *LedgerOperationFilterer) ParseCooperativeSettle(log types.Log) (*LedgerOperationCooperativeSettle, error)

ParseCooperativeSettle is a log parse operation binding the contract event 0x6c666557dc97fd52cd2d9d6dd6d109e501ffdb831abeecf13aafeeaf762ee1fd.

Solidity: event CooperativeSettle(bytes32 indexed channelId, uint256[2] settleBalance)

func (*LedgerOperationFilterer) ParseCooperativeWithdraw

func (_LedgerOperation *LedgerOperationFilterer) ParseCooperativeWithdraw(log types.Log) (*LedgerOperationCooperativeWithdraw, error)

ParseCooperativeWithdraw is a log parse operation binding the contract event 0x1b87d077d9b706e42883b454b67730633fd6b4b29f9a9cf5f57c278c54f51c8f.

Solidity: event CooperativeWithdraw(bytes32 indexed channelId, uint256 withdrawnAmount, address indexed receiver, bytes32 indexed recipientChannelId, uint256[2] deposits, uint256[2] withdrawals, uint256 seqNum)

func (*LedgerOperationFilterer) ParseDeposit

func (_LedgerOperation *LedgerOperationFilterer) ParseDeposit(log types.Log) (*LedgerOperationDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xb63f5dc096f516663ffb5ef2b611f0e2acca8617a868c2a3653cba5e3ed0e92c.

Solidity: event Deposit(bytes32 indexed channelId, address[2] peerAddrs, uint256[2] deposits, uint256[2] withdrawals)

func (*LedgerOperationFilterer) ParseIntendSettle

func (_LedgerOperation *LedgerOperationFilterer) ParseIntendSettle(log types.Log) (*LedgerOperationIntendSettle, error)

ParseIntendSettle is a log parse operation binding the contract event 0x296143e7e25aa055fbb871702776a67da540876e2be721d5c38ba23c97c90d64.

Solidity: event IntendSettle(bytes32 indexed channelId, uint256[2] seqNums)

func (*LedgerOperationFilterer) ParseIntendWithdraw

func (_LedgerOperation *LedgerOperationFilterer) ParseIntendWithdraw(log types.Log) (*LedgerOperationIntendWithdraw, error)

ParseIntendWithdraw is a log parse operation binding the contract event 0x97883669625c4ff7f5432b4ca33fe75fb5fee985deb196a967e5758f846170fe.

Solidity: event IntendWithdraw(bytes32 indexed channelId, address indexed receiver, uint256 amount)

func (*LedgerOperationFilterer) ParseOpenChannel

func (_LedgerOperation *LedgerOperationFilterer) ParseOpenChannel(log types.Log) (*LedgerOperationOpenChannel, error)

ParseOpenChannel is a log parse operation binding the contract event 0x9d9f66221370175606b4085f28a419b201c9b6dafd9e0c4520e5bf69ea3e166d.

Solidity: event OpenChannel(bytes32 indexed channelId, uint256 tokenType, address indexed tokenAddress, address[2] peerAddrs, uint256[2] initialDeposits)

func (*LedgerOperationFilterer) ParseSnapshotStates

func (_LedgerOperation *LedgerOperationFilterer) ParseSnapshotStates(log types.Log) (*LedgerOperationSnapshotStates, error)

ParseSnapshotStates is a log parse operation binding the contract event 0xd0793cc4198bf052a6d91a9a1273c4af39f02a91b0e19029477511c278c5b271.

Solidity: event SnapshotStates(bytes32 indexed channelId, uint256[2] seqNums)

func (*LedgerOperationFilterer) ParseVetoWithdraw

func (_LedgerOperation *LedgerOperationFilterer) ParseVetoWithdraw(log types.Log) (*LedgerOperationVetoWithdraw, error)

ParseVetoWithdraw is a log parse operation binding the contract event 0x9a8a5493b616f074b3f754b5fd66049c8e7980f01547289e5e31808485c6002c.

Solidity: event VetoWithdraw(bytes32 indexed channelId)

func (*LedgerOperationFilterer) WatchClearOnePay

func (_LedgerOperation *LedgerOperationFilterer) WatchClearOnePay(opts *bind.WatchOpts, sink chan<- *LedgerOperationClearOnePay, channelId [][32]byte, payId [][32]byte, peerFrom []common.Address) (event.Subscription, error)

WatchClearOnePay is a free log subscription operation binding the contract event 0x33252d4bc5cee2ad248475e8c39239a79dc64b2691c9ca1a63ff9af0c75b8776.

Solidity: event ClearOnePay(bytes32 indexed channelId, bytes32 indexed payId, address indexed peerFrom, uint256 amount)

func (*LedgerOperationFilterer) WatchConfirmSettle

func (_LedgerOperation *LedgerOperationFilterer) WatchConfirmSettle(opts *bind.WatchOpts, sink chan<- *LedgerOperationConfirmSettle, channelId [][32]byte) (event.Subscription, error)

WatchConfirmSettle is a free log subscription operation binding the contract event 0x728ddd8c5acda5947c34db8d759c66ae70884f526ff9b93637d351b012ef3206.

Solidity: event ConfirmSettle(bytes32 indexed channelId, uint256[2] settleBalance)

func (*LedgerOperationFilterer) WatchConfirmSettleFail

func (_LedgerOperation *LedgerOperationFilterer) WatchConfirmSettleFail(opts *bind.WatchOpts, sink chan<- *LedgerOperationConfirmSettleFail, channelId [][32]byte) (event.Subscription, error)

WatchConfirmSettleFail is a free log subscription operation binding the contract event 0xa6549eb18490d42e7ec93f42115d1ee11b706d04077be9597034dd73ec8bcb36.

Solidity: event ConfirmSettleFail(bytes32 indexed channelId)

func (*LedgerOperationFilterer) WatchConfirmWithdraw

func (_LedgerOperation *LedgerOperationFilterer) WatchConfirmWithdraw(opts *bind.WatchOpts, sink chan<- *LedgerOperationConfirmWithdraw, channelId [][32]byte, receiver []common.Address, recipientChannelId [][32]byte) (event.Subscription, error)

WatchConfirmWithdraw is a free log subscription operation binding the contract event 0xe8110b4ee08638c48f6a4d5f726927df4e541893efa9d2c2c47a6b889041826e.

Solidity: event ConfirmWithdraw(bytes32 indexed channelId, uint256 withdrawnAmount, address indexed receiver, bytes32 indexed recipientChannelId, uint256[2] deposits, uint256[2] withdrawals)

func (*LedgerOperationFilterer) WatchCooperativeSettle

func (_LedgerOperation *LedgerOperationFilterer) WatchCooperativeSettle(opts *bind.WatchOpts, sink chan<- *LedgerOperationCooperativeSettle, channelId [][32]byte) (event.Subscription, error)

WatchCooperativeSettle is a free log subscription operation binding the contract event 0x6c666557dc97fd52cd2d9d6dd6d109e501ffdb831abeecf13aafeeaf762ee1fd.

Solidity: event CooperativeSettle(bytes32 indexed channelId, uint256[2] settleBalance)

func (*LedgerOperationFilterer) WatchCooperativeWithdraw

func (_LedgerOperation *LedgerOperationFilterer) WatchCooperativeWithdraw(opts *bind.WatchOpts, sink chan<- *LedgerOperationCooperativeWithdraw, channelId [][32]byte, receiver []common.Address, recipientChannelId [][32]byte) (event.Subscription, error)

WatchCooperativeWithdraw is a free log subscription operation binding the contract event 0x1b87d077d9b706e42883b454b67730633fd6b4b29f9a9cf5f57c278c54f51c8f.

Solidity: event CooperativeWithdraw(bytes32 indexed channelId, uint256 withdrawnAmount, address indexed receiver, bytes32 indexed recipientChannelId, uint256[2] deposits, uint256[2] withdrawals, uint256 seqNum)

func (*LedgerOperationFilterer) WatchDeposit

func (_LedgerOperation *LedgerOperationFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *LedgerOperationDeposit, channelId [][32]byte) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xb63f5dc096f516663ffb5ef2b611f0e2acca8617a868c2a3653cba5e3ed0e92c.

Solidity: event Deposit(bytes32 indexed channelId, address[2] peerAddrs, uint256[2] deposits, uint256[2] withdrawals)

func (*LedgerOperationFilterer) WatchIntendSettle

func (_LedgerOperation *LedgerOperationFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *LedgerOperationIntendSettle, channelId [][32]byte) (event.Subscription, error)

WatchIntendSettle is a free log subscription operation binding the contract event 0x296143e7e25aa055fbb871702776a67da540876e2be721d5c38ba23c97c90d64.

Solidity: event IntendSettle(bytes32 indexed channelId, uint256[2] seqNums)

func (*LedgerOperationFilterer) WatchIntendWithdraw

func (_LedgerOperation *LedgerOperationFilterer) WatchIntendWithdraw(opts *bind.WatchOpts, sink chan<- *LedgerOperationIntendWithdraw, channelId [][32]byte, receiver []common.Address) (event.Subscription, error)

WatchIntendWithdraw is a free log subscription operation binding the contract event 0x97883669625c4ff7f5432b4ca33fe75fb5fee985deb196a967e5758f846170fe.

Solidity: event IntendWithdraw(bytes32 indexed channelId, address indexed receiver, uint256 amount)

func (*LedgerOperationFilterer) WatchOpenChannel

func (_LedgerOperation *LedgerOperationFilterer) WatchOpenChannel(opts *bind.WatchOpts, sink chan<- *LedgerOperationOpenChannel, channelId [][32]byte, tokenAddress []common.Address) (event.Subscription, error)

WatchOpenChannel is a free log subscription operation binding the contract event 0x9d9f66221370175606b4085f28a419b201c9b6dafd9e0c4520e5bf69ea3e166d.

Solidity: event OpenChannel(bytes32 indexed channelId, uint256 tokenType, address indexed tokenAddress, address[2] peerAddrs, uint256[2] initialDeposits)

func (*LedgerOperationFilterer) WatchSnapshotStates

func (_LedgerOperation *LedgerOperationFilterer) WatchSnapshotStates(opts *bind.WatchOpts, sink chan<- *LedgerOperationSnapshotStates, channelId [][32]byte) (event.Subscription, error)

WatchSnapshotStates is a free log subscription operation binding the contract event 0xd0793cc4198bf052a6d91a9a1273c4af39f02a91b0e19029477511c278c5b271.

Solidity: event SnapshotStates(bytes32 indexed channelId, uint256[2] seqNums)

func (*LedgerOperationFilterer) WatchVetoWithdraw

func (_LedgerOperation *LedgerOperationFilterer) WatchVetoWithdraw(opts *bind.WatchOpts, sink chan<- *LedgerOperationVetoWithdraw, channelId [][32]byte) (event.Subscription, error)

WatchVetoWithdraw is a free log subscription operation binding the contract event 0x9a8a5493b616f074b3f754b5fd66049c8e7980f01547289e5e31808485c6002c.

Solidity: event VetoWithdraw(bytes32 indexed channelId)

type LedgerOperationIntendSettle

type LedgerOperationIntendSettle struct {
	ChannelId [32]byte
	SeqNums   [2]*big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

LedgerOperationIntendSettle represents a IntendSettle event raised by the LedgerOperation contract.

type LedgerOperationIntendSettleIterator

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

LedgerOperationIntendSettleIterator is returned from FilterIntendSettle and is used to iterate over the raw logs and unpacked data for IntendSettle events raised by the LedgerOperation contract.

func (*LedgerOperationIntendSettleIterator) Close

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

func (*LedgerOperationIntendSettleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationIntendSettleIterator) 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 LedgerOperationIntendWithdraw

type LedgerOperationIntendWithdraw struct {
	ChannelId [32]byte
	Receiver  common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

LedgerOperationIntendWithdraw represents a IntendWithdraw event raised by the LedgerOperation contract.

type LedgerOperationIntendWithdrawIterator

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

LedgerOperationIntendWithdrawIterator is returned from FilterIntendWithdraw and is used to iterate over the raw logs and unpacked data for IntendWithdraw events raised by the LedgerOperation contract.

func (*LedgerOperationIntendWithdrawIterator) Close

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

func (*LedgerOperationIntendWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationIntendWithdrawIterator) 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 LedgerOperationOpenChannel

type LedgerOperationOpenChannel struct {
	ChannelId       [32]byte
	TokenType       *big.Int
	TokenAddress    common.Address
	PeerAddrs       [2]common.Address
	InitialDeposits [2]*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

LedgerOperationOpenChannel represents a OpenChannel event raised by the LedgerOperation contract.

type LedgerOperationOpenChannelIterator

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

LedgerOperationOpenChannelIterator is returned from FilterOpenChannel and is used to iterate over the raw logs and unpacked data for OpenChannel events raised by the LedgerOperation contract.

func (*LedgerOperationOpenChannelIterator) Close

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

func (*LedgerOperationOpenChannelIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationOpenChannelIterator) 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 LedgerOperationRaw

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

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

func (*LedgerOperationRaw) Call

func (_LedgerOperation *LedgerOperationRaw) 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 (*LedgerOperationRaw) Transact

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

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

func (*LedgerOperationRaw) Transfer

func (_LedgerOperation *LedgerOperationRaw) 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 LedgerOperationSession

type LedgerOperationSession struct {
	Contract     *LedgerOperation  // 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
}

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

type LedgerOperationSnapshotStates

type LedgerOperationSnapshotStates struct {
	ChannelId [32]byte
	SeqNums   [2]*big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

LedgerOperationSnapshotStates represents a SnapshotStates event raised by the LedgerOperation contract.

type LedgerOperationSnapshotStatesIterator

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

LedgerOperationSnapshotStatesIterator is returned from FilterSnapshotStates and is used to iterate over the raw logs and unpacked data for SnapshotStates events raised by the LedgerOperation contract.

func (*LedgerOperationSnapshotStatesIterator) Close

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

func (*LedgerOperationSnapshotStatesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationSnapshotStatesIterator) 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 LedgerOperationTransactor

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

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

func NewLedgerOperationTransactor

func NewLedgerOperationTransactor(address common.Address, transactor bind.ContractTransactor) (*LedgerOperationTransactor, error)

NewLedgerOperationTransactor creates a new write-only instance of LedgerOperation, bound to a specific deployed contract.

type LedgerOperationTransactorRaw

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

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

func (*LedgerOperationTransactorRaw) Transact

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

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

func (*LedgerOperationTransactorRaw) Transfer

func (_LedgerOperation *LedgerOperationTransactorRaw) 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 LedgerOperationTransactorSession

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

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

type LedgerOperationVetoWithdraw

type LedgerOperationVetoWithdraw struct {
	ChannelId [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

LedgerOperationVetoWithdraw represents a VetoWithdraw event raised by the LedgerOperation contract.

type LedgerOperationVetoWithdrawIterator

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

LedgerOperationVetoWithdrawIterator is returned from FilterVetoWithdraw and is used to iterate over the raw logs and unpacked data for VetoWithdraw events raised by the LedgerOperation contract.

func (*LedgerOperationVetoWithdrawIterator) Close

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

func (*LedgerOperationVetoWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LedgerOperationVetoWithdrawIterator) 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.

Jump to

Keyboard shortcuts

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