Documentation ¶
Index ¶
- Constants
- Variables
- type CelerLedger
- type CelerLedgerCaller
- func (_CelerLedger *CelerLedgerCaller) GetBalanceLimit(opts *bind.CallOpts, _tokenAddr common.Address) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetBalanceLimitsEnabled(opts *bind.CallOpts) (bool, error)
- func (_CelerLedger *CelerLedgerCaller) GetBalanceMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetCelerWallet(opts *bind.CallOpts) (common.Address, error)
- func (_CelerLedger *CelerLedgerCaller) GetChannelMigrationArgs(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, *big.Int, common.Address, *big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetChannelStatus(opts *bind.CallOpts, _channelId [32]byte) (uint8, error)
- func (_CelerLedger *CelerLedgerCaller) GetChannelStatusNum(opts *bind.CallOpts, _channelStatus *big.Int) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetCooperativeWithdrawSeqNum(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetDisputeTimeout(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetEthPool(opts *bind.CallOpts) (common.Address, error)
- func (_CelerLedger *CelerLedgerCaller) GetLastPayResolveDeadlineMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetMigratedTo(opts *bind.CallOpts, _channelId [32]byte) (common.Address, error)
- func (_CelerLedger *CelerLedgerCaller) GetNextPayIdListHashMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2][32]byte, error)
- func (_CelerLedger *CelerLedgerCaller) GetPayRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_CelerLedger *CelerLedgerCaller) GetPeersMigrationInfo(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, ...)
- func (_CelerLedger *CelerLedgerCaller) GetPendingPayOutMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetSettleFinalizedTime(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetStateSeqNumMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetTokenContract(opts *bind.CallOpts, _channelId [32]byte) (common.Address, error)
- func (_CelerLedger *CelerLedgerCaller) GetTokenType(opts *bind.CallOpts, _channelId [32]byte) (uint8, error)
- func (_CelerLedger *CelerLedgerCaller) GetTotalBalance(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetTransferOutMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCaller) GetWithdrawIntent(opts *bind.CallOpts, _channelId [32]byte) (common.Address, *big.Int, *big.Int, [32]byte, error)
- func (_CelerLedger *CelerLedgerCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_CelerLedger *CelerLedgerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type CelerLedgerCallerRaw
- type CelerLedgerCallerSession
- func (_CelerLedger *CelerLedgerCallerSession) GetBalanceLimit(_tokenAddr common.Address) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetBalanceLimitsEnabled() (bool, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetBalanceMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetCelerWallet() (common.Address, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetChannelMigrationArgs(_channelId [32]byte) (*big.Int, *big.Int, common.Address, *big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetChannelStatus(_channelId [32]byte) (uint8, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetChannelStatusNum(_channelStatus *big.Int) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetCooperativeWithdrawSeqNum(_channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetDisputeTimeout(_channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetEthPool() (common.Address, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetLastPayResolveDeadlineMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetMigratedTo(_channelId [32]byte) (common.Address, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetNextPayIdListHashMap(_channelId [32]byte) ([2]common.Address, [2][32]byte, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetPayRegistry() (common.Address, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetPeersMigrationInfo(_channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, ...)
- func (_CelerLedger *CelerLedgerCallerSession) GetPendingPayOutMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetSettleFinalizedTime(_channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetStateSeqNumMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetTokenContract(_channelId [32]byte) (common.Address, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetTokenType(_channelId [32]byte) (uint8, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetTotalBalance(_channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetTransferOutMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerCallerSession) GetWithdrawIntent(_channelId [32]byte) (common.Address, *big.Int, *big.Int, [32]byte, error)
- func (_CelerLedger *CelerLedgerCallerSession) IsOwner() (bool, error)
- func (_CelerLedger *CelerLedgerCallerSession) Owner() (common.Address, error)
- type CelerLedgerClearOnePay
- type CelerLedgerClearOnePayIterator
- type CelerLedgerConfirmSettle
- type CelerLedgerConfirmSettleFail
- type CelerLedgerConfirmSettleFailIterator
- type CelerLedgerConfirmSettleIterator
- type CelerLedgerConfirmWithdraw
- type CelerLedgerConfirmWithdrawIterator
- type CelerLedgerCooperativeSettle
- type CelerLedgerCooperativeSettleIterator
- type CelerLedgerCooperativeWithdraw
- type CelerLedgerCooperativeWithdrawIterator
- type CelerLedgerDeposit
- type CelerLedgerDepositIterator
- type CelerLedgerFilterer
- func (_CelerLedger *CelerLedgerFilterer) FilterClearOnePay(opts *bind.FilterOpts, channelId [][32]byte, payId [][32]byte, ...) (*CelerLedgerClearOnePayIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterConfirmSettle(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerConfirmSettleIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterConfirmSettleFail(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerConfirmSettleFailIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterConfirmWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address, ...) (*CelerLedgerConfirmWithdrawIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterCooperativeSettle(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerCooperativeSettleIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterCooperativeWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address, ...) (*CelerLedgerCooperativeWithdrawIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterDeposit(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerDepositIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterIntendSettle(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerIntendSettleIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterIntendWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address) (*CelerLedgerIntendWithdrawIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterMigrateChannelFrom(opts *bind.FilterOpts, channelId [][32]byte, oldLedgerAddr []common.Address) (*CelerLedgerMigrateChannelFromIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterMigrateChannelTo(opts *bind.FilterOpts, channelId [][32]byte, newLedgerAddr []common.Address) (*CelerLedgerMigrateChannelToIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterOpenChannel(opts *bind.FilterOpts, channelId [][32]byte, tokenAddress []common.Address) (*CelerLedgerOpenChannelIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*CelerLedgerOwnershipTransferredIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterSnapshotStates(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerSnapshotStatesIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) FilterVetoWithdraw(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerVetoWithdrawIterator, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseClearOnePay(log types.Log) (*CelerLedgerClearOnePay, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseConfirmSettle(log types.Log) (*CelerLedgerConfirmSettle, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseConfirmSettleFail(log types.Log) (*CelerLedgerConfirmSettleFail, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseConfirmWithdraw(log types.Log) (*CelerLedgerConfirmWithdraw, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseCooperativeSettle(log types.Log) (*CelerLedgerCooperativeSettle, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseCooperativeWithdraw(log types.Log) (*CelerLedgerCooperativeWithdraw, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseDeposit(log types.Log) (*CelerLedgerDeposit, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseIntendSettle(log types.Log) (*CelerLedgerIntendSettle, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseIntendWithdraw(log types.Log) (*CelerLedgerIntendWithdraw, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseMigrateChannelFrom(log types.Log) (*CelerLedgerMigrateChannelFrom, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseMigrateChannelTo(log types.Log) (*CelerLedgerMigrateChannelTo, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseOpenChannel(log types.Log) (*CelerLedgerOpenChannel, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseOwnershipTransferred(log types.Log) (*CelerLedgerOwnershipTransferred, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseSnapshotStates(log types.Log) (*CelerLedgerSnapshotStates, error)
- func (_CelerLedger *CelerLedgerFilterer) ParseVetoWithdraw(log types.Log) (*CelerLedgerVetoWithdraw, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchClearOnePay(opts *bind.WatchOpts, sink chan<- *CelerLedgerClearOnePay, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchConfirmSettle(opts *bind.WatchOpts, sink chan<- *CelerLedgerConfirmSettle, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchConfirmSettleFail(opts *bind.WatchOpts, sink chan<- *CelerLedgerConfirmSettleFail, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchConfirmWithdraw(opts *bind.WatchOpts, sink chan<- *CelerLedgerConfirmWithdraw, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchCooperativeSettle(opts *bind.WatchOpts, sink chan<- *CelerLedgerCooperativeSettle, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchCooperativeWithdraw(opts *bind.WatchOpts, sink chan<- *CelerLedgerCooperativeWithdraw, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *CelerLedgerDeposit, channelId [][32]byte) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *CelerLedgerIntendSettle, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchIntendWithdraw(opts *bind.WatchOpts, sink chan<- *CelerLedgerIntendWithdraw, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchMigrateChannelFrom(opts *bind.WatchOpts, sink chan<- *CelerLedgerMigrateChannelFrom, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchMigrateChannelTo(opts *bind.WatchOpts, sink chan<- *CelerLedgerMigrateChannelTo, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchOpenChannel(opts *bind.WatchOpts, sink chan<- *CelerLedgerOpenChannel, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CelerLedgerOwnershipTransferred, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchSnapshotStates(opts *bind.WatchOpts, sink chan<- *CelerLedgerSnapshotStates, ...) (event.Subscription, error)
- func (_CelerLedger *CelerLedgerFilterer) WatchVetoWithdraw(opts *bind.WatchOpts, sink chan<- *CelerLedgerVetoWithdraw, ...) (event.Subscription, error)
- type CelerLedgerIntendSettle
- type CelerLedgerIntendSettleIterator
- type CelerLedgerIntendWithdraw
- type CelerLedgerIntendWithdrawIterator
- type CelerLedgerMigrateChannelFrom
- type CelerLedgerMigrateChannelFromIterator
- type CelerLedgerMigrateChannelTo
- type CelerLedgerMigrateChannelToIterator
- type CelerLedgerOpenChannel
- type CelerLedgerOpenChannelIterator
- type CelerLedgerOwnershipTransferred
- type CelerLedgerOwnershipTransferredIterator
- type CelerLedgerRaw
- func (_CelerLedger *CelerLedgerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_CelerLedger *CelerLedgerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CelerLedgerSession
- func (_CelerLedger *CelerLedgerSession) ClearPays(_channelId [32]byte, _peerFrom common.Address, _payIdList []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) ConfirmSettle(_channelId [32]byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) ConfirmWithdraw(_channelId [32]byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) CooperativeSettle(_settleRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) CooperativeWithdraw(_cooperativeWithdrawRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) Deposit(_channelId [32]byte, _receiver common.Address, _transferFromAmount *big.Int) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) DepositInBatch(_channelIds [][32]byte, _receivers []common.Address, ...) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) DisableBalanceLimits() (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) EnableBalanceLimits() (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) GetBalanceLimit(_tokenAddr common.Address) (*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetBalanceLimitsEnabled() (bool, error)
- func (_CelerLedger *CelerLedgerSession) GetBalanceMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetCelerWallet() (common.Address, error)
- func (_CelerLedger *CelerLedgerSession) GetChannelMigrationArgs(_channelId [32]byte) (*big.Int, *big.Int, common.Address, *big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetChannelStatus(_channelId [32]byte) (uint8, error)
- func (_CelerLedger *CelerLedgerSession) GetChannelStatusNum(_channelStatus *big.Int) (*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetCooperativeWithdrawSeqNum(_channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetDisputeTimeout(_channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetEthPool() (common.Address, error)
- func (_CelerLedger *CelerLedgerSession) GetLastPayResolveDeadlineMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetMigratedTo(_channelId [32]byte) (common.Address, error)
- func (_CelerLedger *CelerLedgerSession) GetNextPayIdListHashMap(_channelId [32]byte) ([2]common.Address, [2][32]byte, error)
- func (_CelerLedger *CelerLedgerSession) GetPayRegistry() (common.Address, error)
- func (_CelerLedger *CelerLedgerSession) GetPeersMigrationInfo(_channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, ...)
- func (_CelerLedger *CelerLedgerSession) GetPendingPayOutMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetSettleFinalizedTime(_channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetStateSeqNumMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetTokenContract(_channelId [32]byte) (common.Address, error)
- func (_CelerLedger *CelerLedgerSession) GetTokenType(_channelId [32]byte) (uint8, error)
- func (_CelerLedger *CelerLedgerSession) GetTotalBalance(_channelId [32]byte) (*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetTransferOutMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
- func (_CelerLedger *CelerLedgerSession) GetWithdrawIntent(_channelId [32]byte) (common.Address, *big.Int, *big.Int, [32]byte, error)
- func (_CelerLedger *CelerLedgerSession) IntendSettle(_signedSimplexStateArray []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) IntendWithdraw(_channelId [32]byte, _amount *big.Int, _recipientChannelId [32]byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) IsOwner() (bool, error)
- func (_CelerLedger *CelerLedgerSession) MigrateChannelFrom(_fromLedgerAddr common.Address, _migrationRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) MigrateChannelTo(_migrationRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) OpenChannel(_openRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) Owner() (common.Address, error)
- func (_CelerLedger *CelerLedgerSession) RenounceOwnership() (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) SetBalanceLimits(_tokenAddrs []common.Address, _limits []*big.Int) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) SnapshotStates(_signedSimplexStateArray []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerSession) VetoWithdraw(_channelId [32]byte) (*types.Transaction, error)
- type CelerLedgerSnapshotStates
- type CelerLedgerSnapshotStatesIterator
- type CelerLedgerTransactor
- func (_CelerLedger *CelerLedgerTransactor) ClearPays(opts *bind.TransactOpts, _channelId [32]byte, _peerFrom common.Address, ...) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) ConfirmSettle(opts *bind.TransactOpts, _channelId [32]byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) ConfirmWithdraw(opts *bind.TransactOpts, _channelId [32]byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) CooperativeSettle(opts *bind.TransactOpts, _settleRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) CooperativeWithdraw(opts *bind.TransactOpts, _cooperativeWithdrawRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) Deposit(opts *bind.TransactOpts, _channelId [32]byte, _receiver common.Address, ...) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) DepositInBatch(opts *bind.TransactOpts, _channelIds [][32]byte, _receivers []common.Address, ...) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) DisableBalanceLimits(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) EnableBalanceLimits(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) IntendSettle(opts *bind.TransactOpts, _signedSimplexStateArray []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) IntendWithdraw(opts *bind.TransactOpts, _channelId [32]byte, _amount *big.Int, ...) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) MigrateChannelFrom(opts *bind.TransactOpts, _fromLedgerAddr common.Address, ...) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) MigrateChannelTo(opts *bind.TransactOpts, _migrationRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) OpenChannel(opts *bind.TransactOpts, _openRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) SetBalanceLimits(opts *bind.TransactOpts, _tokenAddrs []common.Address, _limits []*big.Int) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) SnapshotStates(opts *bind.TransactOpts, _signedSimplexStateArray []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactor) VetoWithdraw(opts *bind.TransactOpts, _channelId [32]byte) (*types.Transaction, error)
- type CelerLedgerTransactorRaw
- type CelerLedgerTransactorSession
- func (_CelerLedger *CelerLedgerTransactorSession) ClearPays(_channelId [32]byte, _peerFrom common.Address, _payIdList []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) ConfirmSettle(_channelId [32]byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) ConfirmWithdraw(_channelId [32]byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) CooperativeSettle(_settleRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) CooperativeWithdraw(_cooperativeWithdrawRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) Deposit(_channelId [32]byte, _receiver common.Address, _transferFromAmount *big.Int) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) DepositInBatch(_channelIds [][32]byte, _receivers []common.Address, ...) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) DisableBalanceLimits() (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) EnableBalanceLimits() (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) IntendSettle(_signedSimplexStateArray []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) IntendWithdraw(_channelId [32]byte, _amount *big.Int, _recipientChannelId [32]byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) MigrateChannelFrom(_fromLedgerAddr common.Address, _migrationRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) MigrateChannelTo(_migrationRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) OpenChannel(_openRequest []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) SetBalanceLimits(_tokenAddrs []common.Address, _limits []*big.Int) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) SnapshotStates(_signedSimplexStateArray []byte) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_CelerLedger *CelerLedgerTransactorSession) VetoWithdraw(_channelId [32]byte) (*types.Transaction, error)
- type CelerLedgerVetoWithdraw
- type CelerLedgerVetoWithdrawIterator
Constants ¶
const CelerLedgerABI = "" /* 14860-byte string literal not displayed */
CelerLedgerABI is the input ABI used to generate the binding from.
Variables ¶
var CelerLedgerBin = "" /* 21832-byte string literal not displayed */
CelerLedgerBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type CelerLedger ¶
type CelerLedger struct { CelerLedgerCaller // Read-only binding to the contract CelerLedgerTransactor // Write-only binding to the contract CelerLedgerFilterer // Log filterer for contract events }
CelerLedger is an auto generated Go binding around an Ethereum contract.
func DeployCelerLedger ¶
func DeployCelerLedger(auth *bind.TransactOpts, backend bind.ContractBackend, _ethPool common.Address, _payRegistry common.Address, _celerWallet common.Address) (common.Address, *types.Transaction, *CelerLedger, error)
DeployCelerLedger deploys a new Ethereum contract, binding an instance of CelerLedger to it.
func NewCelerLedger ¶
func NewCelerLedger(address common.Address, backend bind.ContractBackend) (*CelerLedger, error)
NewCelerLedger creates a new instance of CelerLedger, bound to a specific deployed contract.
type CelerLedgerCaller ¶
type CelerLedgerCaller struct {
// contains filtered or unexported fields
}
CelerLedgerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCelerLedgerCaller ¶
func NewCelerLedgerCaller(address common.Address, caller bind.ContractCaller) (*CelerLedgerCaller, error)
NewCelerLedgerCaller creates a new read-only instance of CelerLedger, bound to a specific deployed contract.
func (*CelerLedgerCaller) GetBalanceLimit ¶
func (_CelerLedger *CelerLedgerCaller) GetBalanceLimit(opts *bind.CallOpts, _tokenAddr common.Address) (*big.Int, error)
GetBalanceLimit is a free data retrieval call binding the contract method 0xec7c637d.
Solidity: function getBalanceLimit(address _tokenAddr) view returns(uint256)
func (*CelerLedgerCaller) GetBalanceLimitsEnabled ¶
func (_CelerLedger *CelerLedgerCaller) GetBalanceLimitsEnabled(opts *bind.CallOpts) (bool, error)
GetBalanceLimitsEnabled is a free data retrieval call binding the contract method 0x2b559ecc.
Solidity: function getBalanceLimitsEnabled() view returns(bool)
func (*CelerLedgerCaller) GetBalanceMap ¶
func (_CelerLedger *CelerLedgerCaller) GetBalanceMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, error)
GetBalanceMap is a free data retrieval call binding the contract method 0xbd480cb7.
Solidity: function getBalanceMap(bytes32 _channelId) view returns(address[2], uint256[2], uint256[2])
func (*CelerLedgerCaller) GetCelerWallet ¶
GetCelerWallet is a free data retrieval call binding the contract method 0xa099a39f.
Solidity: function getCelerWallet() view returns(address)
func (*CelerLedgerCaller) GetChannelMigrationArgs ¶
func (_CelerLedger *CelerLedgerCaller) GetChannelMigrationArgs(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, *big.Int, common.Address, *big.Int, error)
GetChannelMigrationArgs is a free data retrieval call binding the contract method 0x2f0ac304.
Solidity: function getChannelMigrationArgs(bytes32 _channelId) view returns(uint256, uint256, address, uint256)
func (*CelerLedgerCaller) GetChannelStatus ¶
func (_CelerLedger *CelerLedgerCaller) GetChannelStatus(opts *bind.CallOpts, _channelId [32]byte) (uint8, error)
GetChannelStatus is a free data retrieval call binding the contract method 0xcc0b94b7.
Solidity: function getChannelStatus(bytes32 _channelId) view returns(uint8)
func (*CelerLedgerCaller) GetChannelStatusNum ¶
func (_CelerLedger *CelerLedgerCaller) GetChannelStatusNum(opts *bind.CallOpts, _channelStatus *big.Int) (*big.Int, error)
GetChannelStatusNum is a free data retrieval call binding the contract method 0x307d6f96.
Solidity: function getChannelStatusNum(uint256 _channelStatus) view returns(uint256)
func (*CelerLedgerCaller) GetCooperativeWithdrawSeqNum ¶
func (_CelerLedger *CelerLedgerCaller) GetCooperativeWithdrawSeqNum(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, error)
GetCooperativeWithdrawSeqNum is a free data retrieval call binding the contract method 0xf0c73d70.
Solidity: function getCooperativeWithdrawSeqNum(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerCaller) GetDisputeTimeout ¶
func (_CelerLedger *CelerLedgerCaller) GetDisputeTimeout(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, error)
GetDisputeTimeout is a free data retrieval call binding the contract method 0xe6322df7.
Solidity: function getDisputeTimeout(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerCaller) GetEthPool ¶
GetEthPool is a free data retrieval call binding the contract method 0xd75f960e.
Solidity: function getEthPool() view returns(address)
func (*CelerLedgerCaller) GetLastPayResolveDeadlineMap ¶
func (_CelerLedger *CelerLedgerCaller) GetLastPayResolveDeadlineMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetLastPayResolveDeadlineMap is a free data retrieval call binding the contract method 0x9f1fad83.
Solidity: function getLastPayResolveDeadlineMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerCaller) GetMigratedTo ¶
func (_CelerLedger *CelerLedgerCaller) GetMigratedTo(opts *bind.CallOpts, _channelId [32]byte) (common.Address, error)
GetMigratedTo is a free data retrieval call binding the contract method 0xc38a325d.
Solidity: function getMigratedTo(bytes32 _channelId) view returns(address)
func (*CelerLedgerCaller) GetNextPayIdListHashMap ¶
func (_CelerLedger *CelerLedgerCaller) GetNextPayIdListHashMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2][32]byte, error)
GetNextPayIdListHashMap is a free data retrieval call binding the contract method 0xcd3a1be6.
Solidity: function getNextPayIdListHashMap(bytes32 _channelId) view returns(address[2], bytes32[2])
func (*CelerLedgerCaller) GetPayRegistry ¶
GetPayRegistry is a free data retrieval call binding the contract method 0x312ea2c6.
Solidity: function getPayRegistry() view returns(address)
func (*CelerLedgerCaller) GetPeersMigrationInfo ¶
func (_CelerLedger *CelerLedgerCaller) GetPeersMigrationInfo(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, error)
GetPeersMigrationInfo is a free data retrieval call binding the contract method 0x88f41465.
Solidity: function getPeersMigrationInfo(bytes32 _channelId) view returns(address[2], uint256[2], uint256[2], uint256[2], uint256[2], uint256[2])
func (*CelerLedgerCaller) GetPendingPayOutMap ¶
func (_CelerLedger *CelerLedgerCaller) GetPendingPayOutMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetPendingPayOutMap is a free data retrieval call binding the contract method 0x0165cef8.
Solidity: function getPendingPayOutMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerCaller) GetSettleFinalizedTime ¶
func (_CelerLedger *CelerLedgerCaller) GetSettleFinalizedTime(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerCaller) GetStateSeqNumMap ¶
func (_CelerLedger *CelerLedgerCaller) GetStateSeqNumMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetStateSeqNumMap is a free data retrieval call binding the contract method 0x666a6d65.
Solidity: function getStateSeqNumMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerCaller) GetTokenContract ¶
func (_CelerLedger *CelerLedgerCaller) GetTokenContract(opts *bind.CallOpts, _channelId [32]byte) (common.Address, error)
GetTokenContract is a free data retrieval call binding the contract method 0x2e2a5a02.
Solidity: function getTokenContract(bytes32 _channelId) view returns(address)
func (*CelerLedgerCaller) GetTokenType ¶
func (_CelerLedger *CelerLedgerCaller) GetTokenType(opts *bind.CallOpts, _channelId [32]byte) (uint8, error)
GetTokenType is a free data retrieval call binding the contract method 0x979a9b5e.
Solidity: function getTokenType(bytes32 _channelId) view returns(uint8)
func (*CelerLedgerCaller) GetTotalBalance ¶
func (_CelerLedger *CelerLedgerCaller) GetTotalBalance(opts *bind.CallOpts, _channelId [32]byte) (*big.Int, error)
GetTotalBalance is a free data retrieval call binding the contract method 0x69d5dd67.
Solidity: function getTotalBalance(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerCaller) GetTransferOutMap ¶
func (_CelerLedger *CelerLedgerCaller) GetTransferOutMap(opts *bind.CallOpts, _channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetTransferOutMap is a free data retrieval call binding the contract method 0xd927bfc4.
Solidity: function getTransferOutMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerCaller) GetWithdrawIntent ¶
func (_CelerLedger *CelerLedgerCaller) GetWithdrawIntent(opts *bind.CallOpts, _channelId [32]byte) (common.Address, *big.Int, *big.Int, [32]byte, error)
GetWithdrawIntent is a free data retrieval call binding the contract method 0x76bff117.
Solidity: function getWithdrawIntent(bytes32 _channelId) view returns(address, uint256, uint256, bytes32)
type CelerLedgerCallerRaw ¶
type CelerLedgerCallerRaw struct {
Contract *CelerLedgerCaller // Generic read-only contract binding to access the raw methods on
}
CelerLedgerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CelerLedgerCallerRaw) Call ¶
func (_CelerLedger *CelerLedgerCallerRaw) 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 CelerLedgerCallerSession ¶
type CelerLedgerCallerSession struct { Contract *CelerLedgerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CelerLedgerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CelerLedgerCallerSession) GetBalanceLimit ¶
func (_CelerLedger *CelerLedgerCallerSession) GetBalanceLimit(_tokenAddr common.Address) (*big.Int, error)
GetBalanceLimit is a free data retrieval call binding the contract method 0xec7c637d.
Solidity: function getBalanceLimit(address _tokenAddr) view returns(uint256)
func (*CelerLedgerCallerSession) GetBalanceLimitsEnabled ¶
func (_CelerLedger *CelerLedgerCallerSession) GetBalanceLimitsEnabled() (bool, error)
GetBalanceLimitsEnabled is a free data retrieval call binding the contract method 0x2b559ecc.
Solidity: function getBalanceLimitsEnabled() view returns(bool)
func (*CelerLedgerCallerSession) GetBalanceMap ¶
func (_CelerLedger *CelerLedgerCallerSession) GetBalanceMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, error)
GetBalanceMap is a free data retrieval call binding the contract method 0xbd480cb7.
Solidity: function getBalanceMap(bytes32 _channelId) view returns(address[2], uint256[2], uint256[2])
func (*CelerLedgerCallerSession) GetCelerWallet ¶
func (_CelerLedger *CelerLedgerCallerSession) GetCelerWallet() (common.Address, error)
GetCelerWallet is a free data retrieval call binding the contract method 0xa099a39f.
Solidity: function getCelerWallet() view returns(address)
func (*CelerLedgerCallerSession) GetChannelMigrationArgs ¶
func (_CelerLedger *CelerLedgerCallerSession) GetChannelMigrationArgs(_channelId [32]byte) (*big.Int, *big.Int, common.Address, *big.Int, error)
GetChannelMigrationArgs is a free data retrieval call binding the contract method 0x2f0ac304.
Solidity: function getChannelMigrationArgs(bytes32 _channelId) view returns(uint256, uint256, address, uint256)
func (*CelerLedgerCallerSession) GetChannelStatus ¶
func (_CelerLedger *CelerLedgerCallerSession) GetChannelStatus(_channelId [32]byte) (uint8, error)
GetChannelStatus is a free data retrieval call binding the contract method 0xcc0b94b7.
Solidity: function getChannelStatus(bytes32 _channelId) view returns(uint8)
func (*CelerLedgerCallerSession) GetChannelStatusNum ¶
func (_CelerLedger *CelerLedgerCallerSession) GetChannelStatusNum(_channelStatus *big.Int) (*big.Int, error)
GetChannelStatusNum is a free data retrieval call binding the contract method 0x307d6f96.
Solidity: function getChannelStatusNum(uint256 _channelStatus) view returns(uint256)
func (*CelerLedgerCallerSession) GetCooperativeWithdrawSeqNum ¶
func (_CelerLedger *CelerLedgerCallerSession) GetCooperativeWithdrawSeqNum(_channelId [32]byte) (*big.Int, error)
GetCooperativeWithdrawSeqNum is a free data retrieval call binding the contract method 0xf0c73d70.
Solidity: function getCooperativeWithdrawSeqNum(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerCallerSession) GetDisputeTimeout ¶
func (_CelerLedger *CelerLedgerCallerSession) GetDisputeTimeout(_channelId [32]byte) (*big.Int, error)
GetDisputeTimeout is a free data retrieval call binding the contract method 0xe6322df7.
Solidity: function getDisputeTimeout(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerCallerSession) GetEthPool ¶
func (_CelerLedger *CelerLedgerCallerSession) GetEthPool() (common.Address, error)
GetEthPool is a free data retrieval call binding the contract method 0xd75f960e.
Solidity: function getEthPool() view returns(address)
func (*CelerLedgerCallerSession) GetLastPayResolveDeadlineMap ¶
func (_CelerLedger *CelerLedgerCallerSession) GetLastPayResolveDeadlineMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetLastPayResolveDeadlineMap is a free data retrieval call binding the contract method 0x9f1fad83.
Solidity: function getLastPayResolveDeadlineMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerCallerSession) GetMigratedTo ¶
func (_CelerLedger *CelerLedgerCallerSession) GetMigratedTo(_channelId [32]byte) (common.Address, error)
GetMigratedTo is a free data retrieval call binding the contract method 0xc38a325d.
Solidity: function getMigratedTo(bytes32 _channelId) view returns(address)
func (*CelerLedgerCallerSession) GetNextPayIdListHashMap ¶
func (_CelerLedger *CelerLedgerCallerSession) GetNextPayIdListHashMap(_channelId [32]byte) ([2]common.Address, [2][32]byte, error)
GetNextPayIdListHashMap is a free data retrieval call binding the contract method 0xcd3a1be6.
Solidity: function getNextPayIdListHashMap(bytes32 _channelId) view returns(address[2], bytes32[2])
func (*CelerLedgerCallerSession) GetPayRegistry ¶
func (_CelerLedger *CelerLedgerCallerSession) GetPayRegistry() (common.Address, error)
GetPayRegistry is a free data retrieval call binding the contract method 0x312ea2c6.
Solidity: function getPayRegistry() view returns(address)
func (*CelerLedgerCallerSession) GetPeersMigrationInfo ¶
func (_CelerLedger *CelerLedgerCallerSession) GetPeersMigrationInfo(_channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, error)
GetPeersMigrationInfo is a free data retrieval call binding the contract method 0x88f41465.
Solidity: function getPeersMigrationInfo(bytes32 _channelId) view returns(address[2], uint256[2], uint256[2], uint256[2], uint256[2], uint256[2])
func (*CelerLedgerCallerSession) GetPendingPayOutMap ¶
func (_CelerLedger *CelerLedgerCallerSession) GetPendingPayOutMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetPendingPayOutMap is a free data retrieval call binding the contract method 0x0165cef8.
Solidity: function getPendingPayOutMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerCallerSession) GetSettleFinalizedTime ¶
func (_CelerLedger *CelerLedgerCallerSession) GetSettleFinalizedTime(_channelId [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerCallerSession) GetStateSeqNumMap ¶
func (_CelerLedger *CelerLedgerCallerSession) GetStateSeqNumMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetStateSeqNumMap is a free data retrieval call binding the contract method 0x666a6d65.
Solidity: function getStateSeqNumMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerCallerSession) GetTokenContract ¶
func (_CelerLedger *CelerLedgerCallerSession) GetTokenContract(_channelId [32]byte) (common.Address, error)
GetTokenContract is a free data retrieval call binding the contract method 0x2e2a5a02.
Solidity: function getTokenContract(bytes32 _channelId) view returns(address)
func (*CelerLedgerCallerSession) GetTokenType ¶
func (_CelerLedger *CelerLedgerCallerSession) GetTokenType(_channelId [32]byte) (uint8, error)
GetTokenType is a free data retrieval call binding the contract method 0x979a9b5e.
Solidity: function getTokenType(bytes32 _channelId) view returns(uint8)
func (*CelerLedgerCallerSession) GetTotalBalance ¶
func (_CelerLedger *CelerLedgerCallerSession) GetTotalBalance(_channelId [32]byte) (*big.Int, error)
GetTotalBalance is a free data retrieval call binding the contract method 0x69d5dd67.
Solidity: function getTotalBalance(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerCallerSession) GetTransferOutMap ¶
func (_CelerLedger *CelerLedgerCallerSession) GetTransferOutMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetTransferOutMap is a free data retrieval call binding the contract method 0xd927bfc4.
Solidity: function getTransferOutMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerCallerSession) GetWithdrawIntent ¶
func (_CelerLedger *CelerLedgerCallerSession) GetWithdrawIntent(_channelId [32]byte) (common.Address, *big.Int, *big.Int, [32]byte, error)
GetWithdrawIntent is a free data retrieval call binding the contract method 0x76bff117.
Solidity: function getWithdrawIntent(bytes32 _channelId) view returns(address, uint256, uint256, bytes32)
func (*CelerLedgerCallerSession) IsOwner ¶
func (_CelerLedger *CelerLedgerCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
type CelerLedgerClearOnePay ¶
type CelerLedgerClearOnePay struct { ChannelId [32]byte PayId [32]byte PeerFrom common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
CelerLedgerClearOnePay represents a ClearOnePay event raised by the CelerLedger contract.
type CelerLedgerClearOnePayIterator ¶
type CelerLedgerClearOnePayIterator struct { Event *CelerLedgerClearOnePay // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerClearOnePayIterator is returned from FilterClearOnePay and is used to iterate over the raw logs and unpacked data for ClearOnePay events raised by the CelerLedger contract.
func (*CelerLedgerClearOnePayIterator) Close ¶
func (it *CelerLedgerClearOnePayIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerClearOnePayIterator) Error ¶
func (it *CelerLedgerClearOnePayIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerClearOnePayIterator) Next ¶
func (it *CelerLedgerClearOnePayIterator) 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 CelerLedgerConfirmSettle ¶
type CelerLedgerConfirmSettle struct { ChannelId [32]byte SettleBalance [2]*big.Int Raw types.Log // Blockchain specific contextual infos }
CelerLedgerConfirmSettle represents a ConfirmSettle event raised by the CelerLedger contract.
type CelerLedgerConfirmSettleFail ¶
type CelerLedgerConfirmSettleFail struct { ChannelId [32]byte Raw types.Log // Blockchain specific contextual infos }
CelerLedgerConfirmSettleFail represents a ConfirmSettleFail event raised by the CelerLedger contract.
type CelerLedgerConfirmSettleFailIterator ¶
type CelerLedgerConfirmSettleFailIterator struct { Event *CelerLedgerConfirmSettleFail // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerConfirmSettleFailIterator is returned from FilterConfirmSettleFail and is used to iterate over the raw logs and unpacked data for ConfirmSettleFail events raised by the CelerLedger contract.
func (*CelerLedgerConfirmSettleFailIterator) Close ¶
func (it *CelerLedgerConfirmSettleFailIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerConfirmSettleFailIterator) Error ¶
func (it *CelerLedgerConfirmSettleFailIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerConfirmSettleFailIterator) Next ¶
func (it *CelerLedgerConfirmSettleFailIterator) 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 CelerLedgerConfirmSettleIterator ¶
type CelerLedgerConfirmSettleIterator struct { Event *CelerLedgerConfirmSettle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerConfirmSettleIterator is returned from FilterConfirmSettle and is used to iterate over the raw logs and unpacked data for ConfirmSettle events raised by the CelerLedger contract.
func (*CelerLedgerConfirmSettleIterator) Close ¶
func (it *CelerLedgerConfirmSettleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerConfirmSettleIterator) Error ¶
func (it *CelerLedgerConfirmSettleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerConfirmSettleIterator) Next ¶
func (it *CelerLedgerConfirmSettleIterator) 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 CelerLedgerConfirmWithdraw ¶
type CelerLedgerConfirmWithdraw 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 }
CelerLedgerConfirmWithdraw represents a ConfirmWithdraw event raised by the CelerLedger contract.
type CelerLedgerConfirmWithdrawIterator ¶
type CelerLedgerConfirmWithdrawIterator struct { Event *CelerLedgerConfirmWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerConfirmWithdrawIterator is returned from FilterConfirmWithdraw and is used to iterate over the raw logs and unpacked data for ConfirmWithdraw events raised by the CelerLedger contract.
func (*CelerLedgerConfirmWithdrawIterator) Close ¶
func (it *CelerLedgerConfirmWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerConfirmWithdrawIterator) Error ¶
func (it *CelerLedgerConfirmWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerConfirmWithdrawIterator) Next ¶
func (it *CelerLedgerConfirmWithdrawIterator) 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 CelerLedgerCooperativeSettle ¶
type CelerLedgerCooperativeSettle struct { ChannelId [32]byte SettleBalance [2]*big.Int Raw types.Log // Blockchain specific contextual infos }
CelerLedgerCooperativeSettle represents a CooperativeSettle event raised by the CelerLedger contract.
type CelerLedgerCooperativeSettleIterator ¶
type CelerLedgerCooperativeSettleIterator struct { Event *CelerLedgerCooperativeSettle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerCooperativeSettleIterator is returned from FilterCooperativeSettle and is used to iterate over the raw logs and unpacked data for CooperativeSettle events raised by the CelerLedger contract.
func (*CelerLedgerCooperativeSettleIterator) Close ¶
func (it *CelerLedgerCooperativeSettleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerCooperativeSettleIterator) Error ¶
func (it *CelerLedgerCooperativeSettleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerCooperativeSettleIterator) Next ¶
func (it *CelerLedgerCooperativeSettleIterator) 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 CelerLedgerCooperativeWithdraw ¶
type CelerLedgerCooperativeWithdraw 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 }
CelerLedgerCooperativeWithdraw represents a CooperativeWithdraw event raised by the CelerLedger contract.
type CelerLedgerCooperativeWithdrawIterator ¶
type CelerLedgerCooperativeWithdrawIterator struct { Event *CelerLedgerCooperativeWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerCooperativeWithdrawIterator is returned from FilterCooperativeWithdraw and is used to iterate over the raw logs and unpacked data for CooperativeWithdraw events raised by the CelerLedger contract.
func (*CelerLedgerCooperativeWithdrawIterator) Close ¶
func (it *CelerLedgerCooperativeWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerCooperativeWithdrawIterator) Error ¶
func (it *CelerLedgerCooperativeWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerCooperativeWithdrawIterator) Next ¶
func (it *CelerLedgerCooperativeWithdrawIterator) 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 CelerLedgerDeposit ¶
type CelerLedgerDeposit struct { ChannelId [32]byte PeerAddrs [2]common.Address Deposits [2]*big.Int Withdrawals [2]*big.Int Raw types.Log // Blockchain specific contextual infos }
CelerLedgerDeposit represents a Deposit event raised by the CelerLedger contract.
type CelerLedgerDepositIterator ¶
type CelerLedgerDepositIterator struct { Event *CelerLedgerDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the CelerLedger contract.
func (*CelerLedgerDepositIterator) Close ¶
func (it *CelerLedgerDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerDepositIterator) Error ¶
func (it *CelerLedgerDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerDepositIterator) Next ¶
func (it *CelerLedgerDepositIterator) 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 CelerLedgerFilterer ¶
type CelerLedgerFilterer struct {
// contains filtered or unexported fields
}
CelerLedgerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCelerLedgerFilterer ¶
func NewCelerLedgerFilterer(address common.Address, filterer bind.ContractFilterer) (*CelerLedgerFilterer, error)
NewCelerLedgerFilterer creates a new log filterer instance of CelerLedger, bound to a specific deployed contract.
func (*CelerLedgerFilterer) FilterClearOnePay ¶
func (_CelerLedger *CelerLedgerFilterer) FilterClearOnePay(opts *bind.FilterOpts, channelId [][32]byte, payId [][32]byte, peerFrom []common.Address) (*CelerLedgerClearOnePayIterator, 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 (*CelerLedgerFilterer) FilterConfirmSettle ¶
func (_CelerLedger *CelerLedgerFilterer) FilterConfirmSettle(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerConfirmSettleIterator, error)
FilterConfirmSettle is a free log retrieval operation binding the contract event 0x728ddd8c5acda5947c34db8d759c66ae70884f526ff9b93637d351b012ef3206.
Solidity: event ConfirmSettle(bytes32 indexed channelId, uint256[2] settleBalance)
func (*CelerLedgerFilterer) FilterConfirmSettleFail ¶
func (_CelerLedger *CelerLedgerFilterer) FilterConfirmSettleFail(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerConfirmSettleFailIterator, error)
FilterConfirmSettleFail is a free log retrieval operation binding the contract event 0xa6549eb18490d42e7ec93f42115d1ee11b706d04077be9597034dd73ec8bcb36.
Solidity: event ConfirmSettleFail(bytes32 indexed channelId)
func (*CelerLedgerFilterer) FilterConfirmWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) FilterConfirmWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address, recipientChannelId [][32]byte) (*CelerLedgerConfirmWithdrawIterator, 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 (*CelerLedgerFilterer) FilterCooperativeSettle ¶
func (_CelerLedger *CelerLedgerFilterer) FilterCooperativeSettle(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerCooperativeSettleIterator, error)
FilterCooperativeSettle is a free log retrieval operation binding the contract event 0x6c666557dc97fd52cd2d9d6dd6d109e501ffdb831abeecf13aafeeaf762ee1fd.
Solidity: event CooperativeSettle(bytes32 indexed channelId, uint256[2] settleBalance)
func (*CelerLedgerFilterer) FilterCooperativeWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) FilterCooperativeWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address, recipientChannelId [][32]byte) (*CelerLedgerCooperativeWithdrawIterator, 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 (*CelerLedgerFilterer) FilterDeposit ¶
func (_CelerLedger *CelerLedgerFilterer) FilterDeposit(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerDepositIterator, 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 (*CelerLedgerFilterer) FilterIntendSettle ¶
func (_CelerLedger *CelerLedgerFilterer) FilterIntendSettle(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerIntendSettleIterator, error)
FilterIntendSettle is a free log retrieval operation binding the contract event 0x296143e7e25aa055fbb871702776a67da540876e2be721d5c38ba23c97c90d64.
Solidity: event IntendSettle(bytes32 indexed channelId, uint256[2] seqNums)
func (*CelerLedgerFilterer) FilterIntendWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) FilterIntendWithdraw(opts *bind.FilterOpts, channelId [][32]byte, receiver []common.Address) (*CelerLedgerIntendWithdrawIterator, 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 (*CelerLedgerFilterer) FilterMigrateChannelFrom ¶
func (_CelerLedger *CelerLedgerFilterer) FilterMigrateChannelFrom(opts *bind.FilterOpts, channelId [][32]byte, oldLedgerAddr []common.Address) (*CelerLedgerMigrateChannelFromIterator, error)
FilterMigrateChannelFrom is a free log retrieval operation binding the contract event 0x141a72a1d915a7c4205104b6e564cc991aa827c5f2c672a5d6a1da8bef99d6eb.
Solidity: event MigrateChannelFrom(bytes32 indexed channelId, address indexed oldLedgerAddr)
func (*CelerLedgerFilterer) FilterMigrateChannelTo ¶
func (_CelerLedger *CelerLedgerFilterer) FilterMigrateChannelTo(opts *bind.FilterOpts, channelId [][32]byte, newLedgerAddr []common.Address) (*CelerLedgerMigrateChannelToIterator, error)
FilterMigrateChannelTo is a free log retrieval operation binding the contract event 0xdefb8a94bbfc44ef5297b035407a7dd1314f369e39c3301f5b90f8810fb9fe4f.
Solidity: event MigrateChannelTo(bytes32 indexed channelId, address indexed newLedgerAddr)
func (*CelerLedgerFilterer) FilterOpenChannel ¶
func (_CelerLedger *CelerLedgerFilterer) FilterOpenChannel(opts *bind.FilterOpts, channelId [][32]byte, tokenAddress []common.Address) (*CelerLedgerOpenChannelIterator, 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 (*CelerLedgerFilterer) FilterOwnershipTransferred ¶
func (_CelerLedger *CelerLedgerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CelerLedgerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*CelerLedgerFilterer) FilterSnapshotStates ¶
func (_CelerLedger *CelerLedgerFilterer) FilterSnapshotStates(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerSnapshotStatesIterator, error)
FilterSnapshotStates is a free log retrieval operation binding the contract event 0xd0793cc4198bf052a6d91a9a1273c4af39f02a91b0e19029477511c278c5b271.
Solidity: event SnapshotStates(bytes32 indexed channelId, uint256[2] seqNums)
func (*CelerLedgerFilterer) FilterVetoWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) FilterVetoWithdraw(opts *bind.FilterOpts, channelId [][32]byte) (*CelerLedgerVetoWithdrawIterator, error)
FilterVetoWithdraw is a free log retrieval operation binding the contract event 0x9a8a5493b616f074b3f754b5fd66049c8e7980f01547289e5e31808485c6002c.
Solidity: event VetoWithdraw(bytes32 indexed channelId)
func (*CelerLedgerFilterer) ParseClearOnePay ¶
func (_CelerLedger *CelerLedgerFilterer) ParseClearOnePay(log types.Log) (*CelerLedgerClearOnePay, 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 (*CelerLedgerFilterer) ParseConfirmSettle ¶
func (_CelerLedger *CelerLedgerFilterer) ParseConfirmSettle(log types.Log) (*CelerLedgerConfirmSettle, error)
ParseConfirmSettle is a log parse operation binding the contract event 0x728ddd8c5acda5947c34db8d759c66ae70884f526ff9b93637d351b012ef3206.
Solidity: event ConfirmSettle(bytes32 indexed channelId, uint256[2] settleBalance)
func (*CelerLedgerFilterer) ParseConfirmSettleFail ¶
func (_CelerLedger *CelerLedgerFilterer) ParseConfirmSettleFail(log types.Log) (*CelerLedgerConfirmSettleFail, error)
ParseConfirmSettleFail is a log parse operation binding the contract event 0xa6549eb18490d42e7ec93f42115d1ee11b706d04077be9597034dd73ec8bcb36.
Solidity: event ConfirmSettleFail(bytes32 indexed channelId)
func (*CelerLedgerFilterer) ParseConfirmWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) ParseConfirmWithdraw(log types.Log) (*CelerLedgerConfirmWithdraw, 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 (*CelerLedgerFilterer) ParseCooperativeSettle ¶
func (_CelerLedger *CelerLedgerFilterer) ParseCooperativeSettle(log types.Log) (*CelerLedgerCooperativeSettle, error)
ParseCooperativeSettle is a log parse operation binding the contract event 0x6c666557dc97fd52cd2d9d6dd6d109e501ffdb831abeecf13aafeeaf762ee1fd.
Solidity: event CooperativeSettle(bytes32 indexed channelId, uint256[2] settleBalance)
func (*CelerLedgerFilterer) ParseCooperativeWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) ParseCooperativeWithdraw(log types.Log) (*CelerLedgerCooperativeWithdraw, 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 (*CelerLedgerFilterer) ParseDeposit ¶
func (_CelerLedger *CelerLedgerFilterer) ParseDeposit(log types.Log) (*CelerLedgerDeposit, 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 (*CelerLedgerFilterer) ParseIntendSettle ¶
func (_CelerLedger *CelerLedgerFilterer) ParseIntendSettle(log types.Log) (*CelerLedgerIntendSettle, error)
ParseIntendSettle is a log parse operation binding the contract event 0x296143e7e25aa055fbb871702776a67da540876e2be721d5c38ba23c97c90d64.
Solidity: event IntendSettle(bytes32 indexed channelId, uint256[2] seqNums)
func (*CelerLedgerFilterer) ParseIntendWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) ParseIntendWithdraw(log types.Log) (*CelerLedgerIntendWithdraw, error)
ParseIntendWithdraw is a log parse operation binding the contract event 0x97883669625c4ff7f5432b4ca33fe75fb5fee985deb196a967e5758f846170fe.
Solidity: event IntendWithdraw(bytes32 indexed channelId, address indexed receiver, uint256 amount)
func (*CelerLedgerFilterer) ParseMigrateChannelFrom ¶
func (_CelerLedger *CelerLedgerFilterer) ParseMigrateChannelFrom(log types.Log) (*CelerLedgerMigrateChannelFrom, error)
ParseMigrateChannelFrom is a log parse operation binding the contract event 0x141a72a1d915a7c4205104b6e564cc991aa827c5f2c672a5d6a1da8bef99d6eb.
Solidity: event MigrateChannelFrom(bytes32 indexed channelId, address indexed oldLedgerAddr)
func (*CelerLedgerFilterer) ParseMigrateChannelTo ¶
func (_CelerLedger *CelerLedgerFilterer) ParseMigrateChannelTo(log types.Log) (*CelerLedgerMigrateChannelTo, error)
ParseMigrateChannelTo is a log parse operation binding the contract event 0xdefb8a94bbfc44ef5297b035407a7dd1314f369e39c3301f5b90f8810fb9fe4f.
Solidity: event MigrateChannelTo(bytes32 indexed channelId, address indexed newLedgerAddr)
func (*CelerLedgerFilterer) ParseOpenChannel ¶
func (_CelerLedger *CelerLedgerFilterer) ParseOpenChannel(log types.Log) (*CelerLedgerOpenChannel, 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 (*CelerLedgerFilterer) ParseOwnershipTransferred ¶
func (_CelerLedger *CelerLedgerFilterer) ParseOwnershipTransferred(log types.Log) (*CelerLedgerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*CelerLedgerFilterer) ParseSnapshotStates ¶
func (_CelerLedger *CelerLedgerFilterer) ParseSnapshotStates(log types.Log) (*CelerLedgerSnapshotStates, error)
ParseSnapshotStates is a log parse operation binding the contract event 0xd0793cc4198bf052a6d91a9a1273c4af39f02a91b0e19029477511c278c5b271.
Solidity: event SnapshotStates(bytes32 indexed channelId, uint256[2] seqNums)
func (*CelerLedgerFilterer) ParseVetoWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) ParseVetoWithdraw(log types.Log) (*CelerLedgerVetoWithdraw, error)
ParseVetoWithdraw is a log parse operation binding the contract event 0x9a8a5493b616f074b3f754b5fd66049c8e7980f01547289e5e31808485c6002c.
Solidity: event VetoWithdraw(bytes32 indexed channelId)
func (*CelerLedgerFilterer) WatchClearOnePay ¶
func (_CelerLedger *CelerLedgerFilterer) WatchClearOnePay(opts *bind.WatchOpts, sink chan<- *CelerLedgerClearOnePay, 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 (*CelerLedgerFilterer) WatchConfirmSettle ¶
func (_CelerLedger *CelerLedgerFilterer) WatchConfirmSettle(opts *bind.WatchOpts, sink chan<- *CelerLedgerConfirmSettle, 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 (*CelerLedgerFilterer) WatchConfirmSettleFail ¶
func (_CelerLedger *CelerLedgerFilterer) WatchConfirmSettleFail(opts *bind.WatchOpts, sink chan<- *CelerLedgerConfirmSettleFail, 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 (*CelerLedgerFilterer) WatchConfirmWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) WatchConfirmWithdraw(opts *bind.WatchOpts, sink chan<- *CelerLedgerConfirmWithdraw, 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 (*CelerLedgerFilterer) WatchCooperativeSettle ¶
func (_CelerLedger *CelerLedgerFilterer) WatchCooperativeSettle(opts *bind.WatchOpts, sink chan<- *CelerLedgerCooperativeSettle, 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 (*CelerLedgerFilterer) WatchCooperativeWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) WatchCooperativeWithdraw(opts *bind.WatchOpts, sink chan<- *CelerLedgerCooperativeWithdraw, 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 (*CelerLedgerFilterer) WatchDeposit ¶
func (_CelerLedger *CelerLedgerFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *CelerLedgerDeposit, 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 (*CelerLedgerFilterer) WatchIntendSettle ¶
func (_CelerLedger *CelerLedgerFilterer) WatchIntendSettle(opts *bind.WatchOpts, sink chan<- *CelerLedgerIntendSettle, 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 (*CelerLedgerFilterer) WatchIntendWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) WatchIntendWithdraw(opts *bind.WatchOpts, sink chan<- *CelerLedgerIntendWithdraw, 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 (*CelerLedgerFilterer) WatchMigrateChannelFrom ¶
func (_CelerLedger *CelerLedgerFilterer) WatchMigrateChannelFrom(opts *bind.WatchOpts, sink chan<- *CelerLedgerMigrateChannelFrom, channelId [][32]byte, oldLedgerAddr []common.Address) (event.Subscription, error)
WatchMigrateChannelFrom is a free log subscription operation binding the contract event 0x141a72a1d915a7c4205104b6e564cc991aa827c5f2c672a5d6a1da8bef99d6eb.
Solidity: event MigrateChannelFrom(bytes32 indexed channelId, address indexed oldLedgerAddr)
func (*CelerLedgerFilterer) WatchMigrateChannelTo ¶
func (_CelerLedger *CelerLedgerFilterer) WatchMigrateChannelTo(opts *bind.WatchOpts, sink chan<- *CelerLedgerMigrateChannelTo, channelId [][32]byte, newLedgerAddr []common.Address) (event.Subscription, error)
WatchMigrateChannelTo is a free log subscription operation binding the contract event 0xdefb8a94bbfc44ef5297b035407a7dd1314f369e39c3301f5b90f8810fb9fe4f.
Solidity: event MigrateChannelTo(bytes32 indexed channelId, address indexed newLedgerAddr)
func (*CelerLedgerFilterer) WatchOpenChannel ¶
func (_CelerLedger *CelerLedgerFilterer) WatchOpenChannel(opts *bind.WatchOpts, sink chan<- *CelerLedgerOpenChannel, 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 (*CelerLedgerFilterer) WatchOwnershipTransferred ¶
func (_CelerLedger *CelerLedgerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CelerLedgerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*CelerLedgerFilterer) WatchSnapshotStates ¶
func (_CelerLedger *CelerLedgerFilterer) WatchSnapshotStates(opts *bind.WatchOpts, sink chan<- *CelerLedgerSnapshotStates, 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 (*CelerLedgerFilterer) WatchVetoWithdraw ¶
func (_CelerLedger *CelerLedgerFilterer) WatchVetoWithdraw(opts *bind.WatchOpts, sink chan<- *CelerLedgerVetoWithdraw, 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 CelerLedgerIntendSettle ¶
type CelerLedgerIntendSettle struct { ChannelId [32]byte SeqNums [2]*big.Int Raw types.Log // Blockchain specific contextual infos }
CelerLedgerIntendSettle represents a IntendSettle event raised by the CelerLedger contract.
type CelerLedgerIntendSettleIterator ¶
type CelerLedgerIntendSettleIterator struct { Event *CelerLedgerIntendSettle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerIntendSettleIterator is returned from FilterIntendSettle and is used to iterate over the raw logs and unpacked data for IntendSettle events raised by the CelerLedger contract.
func (*CelerLedgerIntendSettleIterator) Close ¶
func (it *CelerLedgerIntendSettleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerIntendSettleIterator) Error ¶
func (it *CelerLedgerIntendSettleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerIntendSettleIterator) Next ¶
func (it *CelerLedgerIntendSettleIterator) 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 CelerLedgerIntendWithdraw ¶
type CelerLedgerIntendWithdraw struct { ChannelId [32]byte Receiver common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
CelerLedgerIntendWithdraw represents a IntendWithdraw event raised by the CelerLedger contract.
type CelerLedgerIntendWithdrawIterator ¶
type CelerLedgerIntendWithdrawIterator struct { Event *CelerLedgerIntendWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerIntendWithdrawIterator is returned from FilterIntendWithdraw and is used to iterate over the raw logs and unpacked data for IntendWithdraw events raised by the CelerLedger contract.
func (*CelerLedgerIntendWithdrawIterator) Close ¶
func (it *CelerLedgerIntendWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerIntendWithdrawIterator) Error ¶
func (it *CelerLedgerIntendWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerIntendWithdrawIterator) Next ¶
func (it *CelerLedgerIntendWithdrawIterator) 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 CelerLedgerMigrateChannelFrom ¶
type CelerLedgerMigrateChannelFrom struct { ChannelId [32]byte OldLedgerAddr common.Address Raw types.Log // Blockchain specific contextual infos }
CelerLedgerMigrateChannelFrom represents a MigrateChannelFrom event raised by the CelerLedger contract.
type CelerLedgerMigrateChannelFromIterator ¶
type CelerLedgerMigrateChannelFromIterator struct { Event *CelerLedgerMigrateChannelFrom // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerMigrateChannelFromIterator is returned from FilterMigrateChannelFrom and is used to iterate over the raw logs and unpacked data for MigrateChannelFrom events raised by the CelerLedger contract.
func (*CelerLedgerMigrateChannelFromIterator) Close ¶
func (it *CelerLedgerMigrateChannelFromIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerMigrateChannelFromIterator) Error ¶
func (it *CelerLedgerMigrateChannelFromIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerMigrateChannelFromIterator) Next ¶
func (it *CelerLedgerMigrateChannelFromIterator) 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 CelerLedgerMigrateChannelTo ¶
type CelerLedgerMigrateChannelTo struct { ChannelId [32]byte NewLedgerAddr common.Address Raw types.Log // Blockchain specific contextual infos }
CelerLedgerMigrateChannelTo represents a MigrateChannelTo event raised by the CelerLedger contract.
type CelerLedgerMigrateChannelToIterator ¶
type CelerLedgerMigrateChannelToIterator struct { Event *CelerLedgerMigrateChannelTo // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerMigrateChannelToIterator is returned from FilterMigrateChannelTo and is used to iterate over the raw logs and unpacked data for MigrateChannelTo events raised by the CelerLedger contract.
func (*CelerLedgerMigrateChannelToIterator) Close ¶
func (it *CelerLedgerMigrateChannelToIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerMigrateChannelToIterator) Error ¶
func (it *CelerLedgerMigrateChannelToIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerMigrateChannelToIterator) Next ¶
func (it *CelerLedgerMigrateChannelToIterator) 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 CelerLedgerOpenChannel ¶
type CelerLedgerOpenChannel 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 }
CelerLedgerOpenChannel represents a OpenChannel event raised by the CelerLedger contract.
type CelerLedgerOpenChannelIterator ¶
type CelerLedgerOpenChannelIterator struct { Event *CelerLedgerOpenChannel // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerOpenChannelIterator is returned from FilterOpenChannel and is used to iterate over the raw logs and unpacked data for OpenChannel events raised by the CelerLedger contract.
func (*CelerLedgerOpenChannelIterator) Close ¶
func (it *CelerLedgerOpenChannelIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerOpenChannelIterator) Error ¶
func (it *CelerLedgerOpenChannelIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerOpenChannelIterator) Next ¶
func (it *CelerLedgerOpenChannelIterator) 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 CelerLedgerOwnershipTransferred ¶
type CelerLedgerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
CelerLedgerOwnershipTransferred represents a OwnershipTransferred event raised by the CelerLedger contract.
type CelerLedgerOwnershipTransferredIterator ¶
type CelerLedgerOwnershipTransferredIterator struct { Event *CelerLedgerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the CelerLedger contract.
func (*CelerLedgerOwnershipTransferredIterator) Close ¶
func (it *CelerLedgerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerOwnershipTransferredIterator) Error ¶
func (it *CelerLedgerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerOwnershipTransferredIterator) Next ¶
func (it *CelerLedgerOwnershipTransferredIterator) 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 CelerLedgerRaw ¶
type CelerLedgerRaw struct {
Contract *CelerLedger // Generic contract binding to access the raw methods on
}
CelerLedgerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CelerLedgerRaw) Call ¶
func (_CelerLedger *CelerLedgerRaw) 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 (*CelerLedgerRaw) Transact ¶
func (_CelerLedger *CelerLedgerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CelerLedgerRaw) Transfer ¶
func (_CelerLedger *CelerLedgerRaw) 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 CelerLedgerSession ¶
type CelerLedgerSession struct { Contract *CelerLedger // 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 }
CelerLedgerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CelerLedgerSession) ClearPays ¶
func (_CelerLedger *CelerLedgerSession) ClearPays(_channelId [32]byte, _peerFrom common.Address, _payIdList []byte) (*types.Transaction, error)
ClearPays is a paid mutator transaction binding the contract method 0xfd0a1a61.
Solidity: function clearPays(bytes32 _channelId, address _peerFrom, bytes _payIdList) returns()
func (*CelerLedgerSession) ConfirmSettle ¶
func (_CelerLedger *CelerLedgerSession) ConfirmSettle(_channelId [32]byte) (*types.Transaction, error)
ConfirmSettle is a paid mutator transaction binding the contract method 0xc7ff8625.
Solidity: function confirmSettle(bytes32 _channelId) returns()
func (*CelerLedgerSession) ConfirmWithdraw ¶
func (_CelerLedger *CelerLedgerSession) ConfirmWithdraw(_channelId [32]byte) (*types.Transaction, error)
ConfirmWithdraw is a paid mutator transaction binding the contract method 0x7e9a7a3e.
Solidity: function confirmWithdraw(bytes32 _channelId) returns()
func (*CelerLedgerSession) CooperativeSettle ¶
func (_CelerLedger *CelerLedgerSession) CooperativeSettle(_settleRequest []byte) (*types.Transaction, error)
CooperativeSettle is a paid mutator transaction binding the contract method 0x09683c03.
Solidity: function cooperativeSettle(bytes _settleRequest) returns()
func (*CelerLedgerSession) CooperativeWithdraw ¶
func (_CelerLedger *CelerLedgerSession) CooperativeWithdraw(_cooperativeWithdrawRequest []byte) (*types.Transaction, error)
CooperativeWithdraw is a paid mutator transaction binding the contract method 0xd757abd2.
Solidity: function cooperativeWithdraw(bytes _cooperativeWithdrawRequest) returns()
func (*CelerLedgerSession) Deposit ¶
func (_CelerLedger *CelerLedgerSession) Deposit(_channelId [32]byte, _receiver common.Address, _transferFromAmount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd954863c.
Solidity: function deposit(bytes32 _channelId, address _receiver, uint256 _transferFromAmount) payable returns()
func (*CelerLedgerSession) DepositInBatch ¶
func (_CelerLedger *CelerLedgerSession) DepositInBatch(_channelIds [][32]byte, _receivers []common.Address, _transferFromAmounts []*big.Int) (*types.Transaction, error)
DepositInBatch is a paid mutator transaction binding the contract method 0xe5780db2.
Solidity: function depositInBatch(bytes32[] _channelIds, address[] _receivers, uint256[] _transferFromAmounts) returns()
func (*CelerLedgerSession) DisableBalanceLimits ¶
func (_CelerLedger *CelerLedgerSession) DisableBalanceLimits() (*types.Transaction, error)
DisableBalanceLimits is a paid mutator transaction binding the contract method 0xe063913c.
Solidity: function disableBalanceLimits() returns()
func (*CelerLedgerSession) EnableBalanceLimits ¶
func (_CelerLedger *CelerLedgerSession) EnableBalanceLimits() (*types.Transaction, error)
EnableBalanceLimits is a paid mutator transaction binding the contract method 0x83c8f8b8.
Solidity: function enableBalanceLimits() returns()
func (*CelerLedgerSession) GetBalanceLimit ¶
func (_CelerLedger *CelerLedgerSession) GetBalanceLimit(_tokenAddr common.Address) (*big.Int, error)
GetBalanceLimit is a free data retrieval call binding the contract method 0xec7c637d.
Solidity: function getBalanceLimit(address _tokenAddr) view returns(uint256)
func (*CelerLedgerSession) GetBalanceLimitsEnabled ¶
func (_CelerLedger *CelerLedgerSession) GetBalanceLimitsEnabled() (bool, error)
GetBalanceLimitsEnabled is a free data retrieval call binding the contract method 0x2b559ecc.
Solidity: function getBalanceLimitsEnabled() view returns(bool)
func (*CelerLedgerSession) GetBalanceMap ¶
func (_CelerLedger *CelerLedgerSession) GetBalanceMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, error)
GetBalanceMap is a free data retrieval call binding the contract method 0xbd480cb7.
Solidity: function getBalanceMap(bytes32 _channelId) view returns(address[2], uint256[2], uint256[2])
func (*CelerLedgerSession) GetCelerWallet ¶
func (_CelerLedger *CelerLedgerSession) GetCelerWallet() (common.Address, error)
GetCelerWallet is a free data retrieval call binding the contract method 0xa099a39f.
Solidity: function getCelerWallet() view returns(address)
func (*CelerLedgerSession) GetChannelMigrationArgs ¶
func (_CelerLedger *CelerLedgerSession) GetChannelMigrationArgs(_channelId [32]byte) (*big.Int, *big.Int, common.Address, *big.Int, error)
GetChannelMigrationArgs is a free data retrieval call binding the contract method 0x2f0ac304.
Solidity: function getChannelMigrationArgs(bytes32 _channelId) view returns(uint256, uint256, address, uint256)
func (*CelerLedgerSession) GetChannelStatus ¶
func (_CelerLedger *CelerLedgerSession) GetChannelStatus(_channelId [32]byte) (uint8, error)
GetChannelStatus is a free data retrieval call binding the contract method 0xcc0b94b7.
Solidity: function getChannelStatus(bytes32 _channelId) view returns(uint8)
func (*CelerLedgerSession) GetChannelStatusNum ¶
func (_CelerLedger *CelerLedgerSession) GetChannelStatusNum(_channelStatus *big.Int) (*big.Int, error)
GetChannelStatusNum is a free data retrieval call binding the contract method 0x307d6f96.
Solidity: function getChannelStatusNum(uint256 _channelStatus) view returns(uint256)
func (*CelerLedgerSession) GetCooperativeWithdrawSeqNum ¶
func (_CelerLedger *CelerLedgerSession) GetCooperativeWithdrawSeqNum(_channelId [32]byte) (*big.Int, error)
GetCooperativeWithdrawSeqNum is a free data retrieval call binding the contract method 0xf0c73d70.
Solidity: function getCooperativeWithdrawSeqNum(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerSession) GetDisputeTimeout ¶
func (_CelerLedger *CelerLedgerSession) GetDisputeTimeout(_channelId [32]byte) (*big.Int, error)
GetDisputeTimeout is a free data retrieval call binding the contract method 0xe6322df7.
Solidity: function getDisputeTimeout(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerSession) GetEthPool ¶
func (_CelerLedger *CelerLedgerSession) GetEthPool() (common.Address, error)
GetEthPool is a free data retrieval call binding the contract method 0xd75f960e.
Solidity: function getEthPool() view returns(address)
func (*CelerLedgerSession) GetLastPayResolveDeadlineMap ¶
func (_CelerLedger *CelerLedgerSession) GetLastPayResolveDeadlineMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetLastPayResolveDeadlineMap is a free data retrieval call binding the contract method 0x9f1fad83.
Solidity: function getLastPayResolveDeadlineMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerSession) GetMigratedTo ¶
func (_CelerLedger *CelerLedgerSession) GetMigratedTo(_channelId [32]byte) (common.Address, error)
GetMigratedTo is a free data retrieval call binding the contract method 0xc38a325d.
Solidity: function getMigratedTo(bytes32 _channelId) view returns(address)
func (*CelerLedgerSession) GetNextPayIdListHashMap ¶
func (_CelerLedger *CelerLedgerSession) GetNextPayIdListHashMap(_channelId [32]byte) ([2]common.Address, [2][32]byte, error)
GetNextPayIdListHashMap is a free data retrieval call binding the contract method 0xcd3a1be6.
Solidity: function getNextPayIdListHashMap(bytes32 _channelId) view returns(address[2], bytes32[2])
func (*CelerLedgerSession) GetPayRegistry ¶
func (_CelerLedger *CelerLedgerSession) GetPayRegistry() (common.Address, error)
GetPayRegistry is a free data retrieval call binding the contract method 0x312ea2c6.
Solidity: function getPayRegistry() view returns(address)
func (*CelerLedgerSession) GetPeersMigrationInfo ¶
func (_CelerLedger *CelerLedgerSession) GetPeersMigrationInfo(_channelId [32]byte) ([2]common.Address, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, [2]*big.Int, error)
GetPeersMigrationInfo is a free data retrieval call binding the contract method 0x88f41465.
Solidity: function getPeersMigrationInfo(bytes32 _channelId) view returns(address[2], uint256[2], uint256[2], uint256[2], uint256[2], uint256[2])
func (*CelerLedgerSession) GetPendingPayOutMap ¶
func (_CelerLedger *CelerLedgerSession) GetPendingPayOutMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetPendingPayOutMap is a free data retrieval call binding the contract method 0x0165cef8.
Solidity: function getPendingPayOutMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerSession) GetSettleFinalizedTime ¶
func (_CelerLedger *CelerLedgerSession) GetSettleFinalizedTime(_channelId [32]byte) (*big.Int, error)
GetSettleFinalizedTime is a free data retrieval call binding the contract method 0x09b65d86.
Solidity: function getSettleFinalizedTime(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerSession) GetStateSeqNumMap ¶
func (_CelerLedger *CelerLedgerSession) GetStateSeqNumMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetStateSeqNumMap is a free data retrieval call binding the contract method 0x666a6d65.
Solidity: function getStateSeqNumMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerSession) GetTokenContract ¶
func (_CelerLedger *CelerLedgerSession) GetTokenContract(_channelId [32]byte) (common.Address, error)
GetTokenContract is a free data retrieval call binding the contract method 0x2e2a5a02.
Solidity: function getTokenContract(bytes32 _channelId) view returns(address)
func (*CelerLedgerSession) GetTokenType ¶
func (_CelerLedger *CelerLedgerSession) GetTokenType(_channelId [32]byte) (uint8, error)
GetTokenType is a free data retrieval call binding the contract method 0x979a9b5e.
Solidity: function getTokenType(bytes32 _channelId) view returns(uint8)
func (*CelerLedgerSession) GetTotalBalance ¶
func (_CelerLedger *CelerLedgerSession) GetTotalBalance(_channelId [32]byte) (*big.Int, error)
GetTotalBalance is a free data retrieval call binding the contract method 0x69d5dd67.
Solidity: function getTotalBalance(bytes32 _channelId) view returns(uint256)
func (*CelerLedgerSession) GetTransferOutMap ¶
func (_CelerLedger *CelerLedgerSession) GetTransferOutMap(_channelId [32]byte) ([2]common.Address, [2]*big.Int, error)
GetTransferOutMap is a free data retrieval call binding the contract method 0xd927bfc4.
Solidity: function getTransferOutMap(bytes32 _channelId) view returns(address[2], uint256[2])
func (*CelerLedgerSession) GetWithdrawIntent ¶
func (_CelerLedger *CelerLedgerSession) GetWithdrawIntent(_channelId [32]byte) (common.Address, *big.Int, *big.Int, [32]byte, error)
GetWithdrawIntent is a free data retrieval call binding the contract method 0x76bff117.
Solidity: function getWithdrawIntent(bytes32 _channelId) view returns(address, uint256, uint256, bytes32)
func (*CelerLedgerSession) IntendSettle ¶
func (_CelerLedger *CelerLedgerSession) IntendSettle(_signedSimplexStateArray []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _signedSimplexStateArray) returns()
func (*CelerLedgerSession) IntendWithdraw ¶
func (_CelerLedger *CelerLedgerSession) IntendWithdraw(_channelId [32]byte, _amount *big.Int, _recipientChannelId [32]byte) (*types.Transaction, error)
IntendWithdraw is a paid mutator transaction binding the contract method 0x8942ecb2.
Solidity: function intendWithdraw(bytes32 _channelId, uint256 _amount, bytes32 _recipientChannelId) returns()
func (*CelerLedgerSession) IsOwner ¶
func (_CelerLedger *CelerLedgerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*CelerLedgerSession) MigrateChannelFrom ¶
func (_CelerLedger *CelerLedgerSession) MigrateChannelFrom(_fromLedgerAddr common.Address, _migrationRequest []byte) (*types.Transaction, error)
MigrateChannelFrom is a paid mutator transaction binding the contract method 0x2e3c517a.
Solidity: function migrateChannelFrom(address _fromLedgerAddr, bytes _migrationRequest) returns()
func (*CelerLedgerSession) MigrateChannelTo ¶
func (_CelerLedger *CelerLedgerSession) MigrateChannelTo(_migrationRequest []byte) (*types.Transaction, error)
MigrateChannelTo is a paid mutator transaction binding the contract method 0xe0a515b7.
Solidity: function migrateChannelTo(bytes _migrationRequest) returns(bytes32)
func (*CelerLedgerSession) OpenChannel ¶
func (_CelerLedger *CelerLedgerSession) OpenChannel(_openRequest []byte) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0x93b7b3ce.
Solidity: function openChannel(bytes _openRequest) payable returns()
func (*CelerLedgerSession) Owner ¶
func (_CelerLedger *CelerLedgerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CelerLedgerSession) RenounceOwnership ¶
func (_CelerLedger *CelerLedgerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CelerLedgerSession) SetBalanceLimits ¶
func (_CelerLedger *CelerLedgerSession) SetBalanceLimits(_tokenAddrs []common.Address, _limits []*big.Int) (*types.Transaction, error)
SetBalanceLimits is a paid mutator transaction binding the contract method 0xa8580cab.
Solidity: function setBalanceLimits(address[] _tokenAddrs, uint256[] _limits) returns()
func (*CelerLedgerSession) SnapshotStates ¶
func (_CelerLedger *CelerLedgerSession) SnapshotStates(_signedSimplexStateArray []byte) (*types.Transaction, error)
SnapshotStates is a paid mutator transaction binding the contract method 0x4102b9a8.
Solidity: function snapshotStates(bytes _signedSimplexStateArray) returns()
func (*CelerLedgerSession) TransferOwnership ¶
func (_CelerLedger *CelerLedgerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*CelerLedgerSession) VetoWithdraw ¶
func (_CelerLedger *CelerLedgerSession) VetoWithdraw(_channelId [32]byte) (*types.Transaction, error)
VetoWithdraw is a paid mutator transaction binding the contract method 0x255aab59.
Solidity: function vetoWithdraw(bytes32 _channelId) returns()
type CelerLedgerSnapshotStates ¶
type CelerLedgerSnapshotStates struct { ChannelId [32]byte SeqNums [2]*big.Int Raw types.Log // Blockchain specific contextual infos }
CelerLedgerSnapshotStates represents a SnapshotStates event raised by the CelerLedger contract.
type CelerLedgerSnapshotStatesIterator ¶
type CelerLedgerSnapshotStatesIterator struct { Event *CelerLedgerSnapshotStates // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerSnapshotStatesIterator is returned from FilterSnapshotStates and is used to iterate over the raw logs and unpacked data for SnapshotStates events raised by the CelerLedger contract.
func (*CelerLedgerSnapshotStatesIterator) Close ¶
func (it *CelerLedgerSnapshotStatesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerSnapshotStatesIterator) Error ¶
func (it *CelerLedgerSnapshotStatesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerSnapshotStatesIterator) Next ¶
func (it *CelerLedgerSnapshotStatesIterator) 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 CelerLedgerTransactor ¶
type CelerLedgerTransactor struct {
// contains filtered or unexported fields
}
CelerLedgerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCelerLedgerTransactor ¶
func NewCelerLedgerTransactor(address common.Address, transactor bind.ContractTransactor) (*CelerLedgerTransactor, error)
NewCelerLedgerTransactor creates a new write-only instance of CelerLedger, bound to a specific deployed contract.
func (*CelerLedgerTransactor) ClearPays ¶
func (_CelerLedger *CelerLedgerTransactor) ClearPays(opts *bind.TransactOpts, _channelId [32]byte, _peerFrom common.Address, _payIdList []byte) (*types.Transaction, error)
ClearPays is a paid mutator transaction binding the contract method 0xfd0a1a61.
Solidity: function clearPays(bytes32 _channelId, address _peerFrom, bytes _payIdList) returns()
func (*CelerLedgerTransactor) ConfirmSettle ¶
func (_CelerLedger *CelerLedgerTransactor) ConfirmSettle(opts *bind.TransactOpts, _channelId [32]byte) (*types.Transaction, error)
ConfirmSettle is a paid mutator transaction binding the contract method 0xc7ff8625.
Solidity: function confirmSettle(bytes32 _channelId) returns()
func (*CelerLedgerTransactor) ConfirmWithdraw ¶
func (_CelerLedger *CelerLedgerTransactor) ConfirmWithdraw(opts *bind.TransactOpts, _channelId [32]byte) (*types.Transaction, error)
ConfirmWithdraw is a paid mutator transaction binding the contract method 0x7e9a7a3e.
Solidity: function confirmWithdraw(bytes32 _channelId) returns()
func (*CelerLedgerTransactor) CooperativeSettle ¶
func (_CelerLedger *CelerLedgerTransactor) CooperativeSettle(opts *bind.TransactOpts, _settleRequest []byte) (*types.Transaction, error)
CooperativeSettle is a paid mutator transaction binding the contract method 0x09683c03.
Solidity: function cooperativeSettle(bytes _settleRequest) returns()
func (*CelerLedgerTransactor) CooperativeWithdraw ¶
func (_CelerLedger *CelerLedgerTransactor) CooperativeWithdraw(opts *bind.TransactOpts, _cooperativeWithdrawRequest []byte) (*types.Transaction, error)
CooperativeWithdraw is a paid mutator transaction binding the contract method 0xd757abd2.
Solidity: function cooperativeWithdraw(bytes _cooperativeWithdrawRequest) returns()
func (*CelerLedgerTransactor) Deposit ¶
func (_CelerLedger *CelerLedgerTransactor) Deposit(opts *bind.TransactOpts, _channelId [32]byte, _receiver common.Address, _transferFromAmount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd954863c.
Solidity: function deposit(bytes32 _channelId, address _receiver, uint256 _transferFromAmount) payable returns()
func (*CelerLedgerTransactor) DepositInBatch ¶
func (_CelerLedger *CelerLedgerTransactor) DepositInBatch(opts *bind.TransactOpts, _channelIds [][32]byte, _receivers []common.Address, _transferFromAmounts []*big.Int) (*types.Transaction, error)
DepositInBatch is a paid mutator transaction binding the contract method 0xe5780db2.
Solidity: function depositInBatch(bytes32[] _channelIds, address[] _receivers, uint256[] _transferFromAmounts) returns()
func (*CelerLedgerTransactor) DisableBalanceLimits ¶
func (_CelerLedger *CelerLedgerTransactor) DisableBalanceLimits(opts *bind.TransactOpts) (*types.Transaction, error)
DisableBalanceLimits is a paid mutator transaction binding the contract method 0xe063913c.
Solidity: function disableBalanceLimits() returns()
func (*CelerLedgerTransactor) EnableBalanceLimits ¶
func (_CelerLedger *CelerLedgerTransactor) EnableBalanceLimits(opts *bind.TransactOpts) (*types.Transaction, error)
EnableBalanceLimits is a paid mutator transaction binding the contract method 0x83c8f8b8.
Solidity: function enableBalanceLimits() returns()
func (*CelerLedgerTransactor) IntendSettle ¶
func (_CelerLedger *CelerLedgerTransactor) IntendSettle(opts *bind.TransactOpts, _signedSimplexStateArray []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _signedSimplexStateArray) returns()
func (*CelerLedgerTransactor) IntendWithdraw ¶
func (_CelerLedger *CelerLedgerTransactor) IntendWithdraw(opts *bind.TransactOpts, _channelId [32]byte, _amount *big.Int, _recipientChannelId [32]byte) (*types.Transaction, error)
IntendWithdraw is a paid mutator transaction binding the contract method 0x8942ecb2.
Solidity: function intendWithdraw(bytes32 _channelId, uint256 _amount, bytes32 _recipientChannelId) returns()
func (*CelerLedgerTransactor) MigrateChannelFrom ¶
func (_CelerLedger *CelerLedgerTransactor) MigrateChannelFrom(opts *bind.TransactOpts, _fromLedgerAddr common.Address, _migrationRequest []byte) (*types.Transaction, error)
MigrateChannelFrom is a paid mutator transaction binding the contract method 0x2e3c517a.
Solidity: function migrateChannelFrom(address _fromLedgerAddr, bytes _migrationRequest) returns()
func (*CelerLedgerTransactor) MigrateChannelTo ¶
func (_CelerLedger *CelerLedgerTransactor) MigrateChannelTo(opts *bind.TransactOpts, _migrationRequest []byte) (*types.Transaction, error)
MigrateChannelTo is a paid mutator transaction binding the contract method 0xe0a515b7.
Solidity: function migrateChannelTo(bytes _migrationRequest) returns(bytes32)
func (*CelerLedgerTransactor) OpenChannel ¶
func (_CelerLedger *CelerLedgerTransactor) OpenChannel(opts *bind.TransactOpts, _openRequest []byte) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0x93b7b3ce.
Solidity: function openChannel(bytes _openRequest) payable returns()
func (*CelerLedgerTransactor) RenounceOwnership ¶
func (_CelerLedger *CelerLedgerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CelerLedgerTransactor) SetBalanceLimits ¶
func (_CelerLedger *CelerLedgerTransactor) SetBalanceLimits(opts *bind.TransactOpts, _tokenAddrs []common.Address, _limits []*big.Int) (*types.Transaction, error)
SetBalanceLimits is a paid mutator transaction binding the contract method 0xa8580cab.
Solidity: function setBalanceLimits(address[] _tokenAddrs, uint256[] _limits) returns()
func (*CelerLedgerTransactor) SnapshotStates ¶
func (_CelerLedger *CelerLedgerTransactor) SnapshotStates(opts *bind.TransactOpts, _signedSimplexStateArray []byte) (*types.Transaction, error)
SnapshotStates is a paid mutator transaction binding the contract method 0x4102b9a8.
Solidity: function snapshotStates(bytes _signedSimplexStateArray) returns()
func (*CelerLedgerTransactor) TransferOwnership ¶
func (_CelerLedger *CelerLedgerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*CelerLedgerTransactor) VetoWithdraw ¶
func (_CelerLedger *CelerLedgerTransactor) VetoWithdraw(opts *bind.TransactOpts, _channelId [32]byte) (*types.Transaction, error)
VetoWithdraw is a paid mutator transaction binding the contract method 0x255aab59.
Solidity: function vetoWithdraw(bytes32 _channelId) returns()
type CelerLedgerTransactorRaw ¶
type CelerLedgerTransactorRaw struct {
Contract *CelerLedgerTransactor // Generic write-only contract binding to access the raw methods on
}
CelerLedgerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CelerLedgerTransactorRaw) Transact ¶
func (_CelerLedger *CelerLedgerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CelerLedgerTransactorRaw) Transfer ¶
func (_CelerLedger *CelerLedgerTransactorRaw) 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 CelerLedgerTransactorSession ¶
type CelerLedgerTransactorSession struct { Contract *CelerLedgerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CelerLedgerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CelerLedgerTransactorSession) ClearPays ¶
func (_CelerLedger *CelerLedgerTransactorSession) ClearPays(_channelId [32]byte, _peerFrom common.Address, _payIdList []byte) (*types.Transaction, error)
ClearPays is a paid mutator transaction binding the contract method 0xfd0a1a61.
Solidity: function clearPays(bytes32 _channelId, address _peerFrom, bytes _payIdList) returns()
func (*CelerLedgerTransactorSession) ConfirmSettle ¶
func (_CelerLedger *CelerLedgerTransactorSession) ConfirmSettle(_channelId [32]byte) (*types.Transaction, error)
ConfirmSettle is a paid mutator transaction binding the contract method 0xc7ff8625.
Solidity: function confirmSettle(bytes32 _channelId) returns()
func (*CelerLedgerTransactorSession) ConfirmWithdraw ¶
func (_CelerLedger *CelerLedgerTransactorSession) ConfirmWithdraw(_channelId [32]byte) (*types.Transaction, error)
ConfirmWithdraw is a paid mutator transaction binding the contract method 0x7e9a7a3e.
Solidity: function confirmWithdraw(bytes32 _channelId) returns()
func (*CelerLedgerTransactorSession) CooperativeSettle ¶
func (_CelerLedger *CelerLedgerTransactorSession) CooperativeSettle(_settleRequest []byte) (*types.Transaction, error)
CooperativeSettle is a paid mutator transaction binding the contract method 0x09683c03.
Solidity: function cooperativeSettle(bytes _settleRequest) returns()
func (*CelerLedgerTransactorSession) CooperativeWithdraw ¶
func (_CelerLedger *CelerLedgerTransactorSession) CooperativeWithdraw(_cooperativeWithdrawRequest []byte) (*types.Transaction, error)
CooperativeWithdraw is a paid mutator transaction binding the contract method 0xd757abd2.
Solidity: function cooperativeWithdraw(bytes _cooperativeWithdrawRequest) returns()
func (*CelerLedgerTransactorSession) Deposit ¶
func (_CelerLedger *CelerLedgerTransactorSession) Deposit(_channelId [32]byte, _receiver common.Address, _transferFromAmount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd954863c.
Solidity: function deposit(bytes32 _channelId, address _receiver, uint256 _transferFromAmount) payable returns()
func (*CelerLedgerTransactorSession) DepositInBatch ¶
func (_CelerLedger *CelerLedgerTransactorSession) DepositInBatch(_channelIds [][32]byte, _receivers []common.Address, _transferFromAmounts []*big.Int) (*types.Transaction, error)
DepositInBatch is a paid mutator transaction binding the contract method 0xe5780db2.
Solidity: function depositInBatch(bytes32[] _channelIds, address[] _receivers, uint256[] _transferFromAmounts) returns()
func (*CelerLedgerTransactorSession) DisableBalanceLimits ¶
func (_CelerLedger *CelerLedgerTransactorSession) DisableBalanceLimits() (*types.Transaction, error)
DisableBalanceLimits is a paid mutator transaction binding the contract method 0xe063913c.
Solidity: function disableBalanceLimits() returns()
func (*CelerLedgerTransactorSession) EnableBalanceLimits ¶
func (_CelerLedger *CelerLedgerTransactorSession) EnableBalanceLimits() (*types.Transaction, error)
EnableBalanceLimits is a paid mutator transaction binding the contract method 0x83c8f8b8.
Solidity: function enableBalanceLimits() returns()
func (*CelerLedgerTransactorSession) IntendSettle ¶
func (_CelerLedger *CelerLedgerTransactorSession) IntendSettle(_signedSimplexStateArray []byte) (*types.Transaction, error)
IntendSettle is a paid mutator transaction binding the contract method 0x130d33fe.
Solidity: function intendSettle(bytes _signedSimplexStateArray) returns()
func (*CelerLedgerTransactorSession) IntendWithdraw ¶
func (_CelerLedger *CelerLedgerTransactorSession) IntendWithdraw(_channelId [32]byte, _amount *big.Int, _recipientChannelId [32]byte) (*types.Transaction, error)
IntendWithdraw is a paid mutator transaction binding the contract method 0x8942ecb2.
Solidity: function intendWithdraw(bytes32 _channelId, uint256 _amount, bytes32 _recipientChannelId) returns()
func (*CelerLedgerTransactorSession) MigrateChannelFrom ¶
func (_CelerLedger *CelerLedgerTransactorSession) MigrateChannelFrom(_fromLedgerAddr common.Address, _migrationRequest []byte) (*types.Transaction, error)
MigrateChannelFrom is a paid mutator transaction binding the contract method 0x2e3c517a.
Solidity: function migrateChannelFrom(address _fromLedgerAddr, bytes _migrationRequest) returns()
func (*CelerLedgerTransactorSession) MigrateChannelTo ¶
func (_CelerLedger *CelerLedgerTransactorSession) MigrateChannelTo(_migrationRequest []byte) (*types.Transaction, error)
MigrateChannelTo is a paid mutator transaction binding the contract method 0xe0a515b7.
Solidity: function migrateChannelTo(bytes _migrationRequest) returns(bytes32)
func (*CelerLedgerTransactorSession) OpenChannel ¶
func (_CelerLedger *CelerLedgerTransactorSession) OpenChannel(_openRequest []byte) (*types.Transaction, error)
OpenChannel is a paid mutator transaction binding the contract method 0x93b7b3ce.
Solidity: function openChannel(bytes _openRequest) payable returns()
func (*CelerLedgerTransactorSession) RenounceOwnership ¶
func (_CelerLedger *CelerLedgerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*CelerLedgerTransactorSession) SetBalanceLimits ¶
func (_CelerLedger *CelerLedgerTransactorSession) SetBalanceLimits(_tokenAddrs []common.Address, _limits []*big.Int) (*types.Transaction, error)
SetBalanceLimits is a paid mutator transaction binding the contract method 0xa8580cab.
Solidity: function setBalanceLimits(address[] _tokenAddrs, uint256[] _limits) returns()
func (*CelerLedgerTransactorSession) SnapshotStates ¶
func (_CelerLedger *CelerLedgerTransactorSession) SnapshotStates(_signedSimplexStateArray []byte) (*types.Transaction, error)
SnapshotStates is a paid mutator transaction binding the contract method 0x4102b9a8.
Solidity: function snapshotStates(bytes _signedSimplexStateArray) returns()
func (*CelerLedgerTransactorSession) TransferOwnership ¶
func (_CelerLedger *CelerLedgerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*CelerLedgerTransactorSession) VetoWithdraw ¶
func (_CelerLedger *CelerLedgerTransactorSession) VetoWithdraw(_channelId [32]byte) (*types.Transaction, error)
VetoWithdraw is a paid mutator transaction binding the contract method 0x255aab59.
Solidity: function vetoWithdraw(bytes32 _channelId) returns()
type CelerLedgerVetoWithdraw ¶
type CelerLedgerVetoWithdraw struct { ChannelId [32]byte Raw types.Log // Blockchain specific contextual infos }
CelerLedgerVetoWithdraw represents a VetoWithdraw event raised by the CelerLedger contract.
type CelerLedgerVetoWithdrawIterator ¶
type CelerLedgerVetoWithdrawIterator struct { Event *CelerLedgerVetoWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CelerLedgerVetoWithdrawIterator is returned from FilterVetoWithdraw and is used to iterate over the raw logs and unpacked data for VetoWithdraw events raised by the CelerLedger contract.
func (*CelerLedgerVetoWithdrawIterator) Close ¶
func (it *CelerLedgerVetoWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CelerLedgerVetoWithdrawIterator) Error ¶
func (it *CelerLedgerVetoWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CelerLedgerVetoWithdrawIterator) Next ¶
func (it *CelerLedgerVetoWithdrawIterator) 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.