Versions in this module Expand all Collapse all v1 v1.2.0 Mar 8, 2026 Changes in this version + var AppRegistryABI = AppRegistryMetaData.ABI + var AppRegistryBin = AppRegistryMetaData.Bin + var AppRegistryMetaData = &bind.MetaData + var ChannelHubABI = ChannelHubMetaData.ABI + var ChannelHubBin = ChannelHubMetaData.Bin + var ChannelHubMetaData = &bind.MetaData + var IERC20ABI = IERC20MetaData.ABI + var IERC20MetaData = &bind.MetaData + type AppRegistry struct + func DeployAppRegistry(auth *bind.TransactOpts, backend bind.ContractBackend, asset_ common.Address, ...) (common.Address, *types.Transaction, *AppRegistry, error) + func NewAppRegistry(address common.Address, backend bind.ContractBackend) (*AppRegistry, error) + type AppRegistryCaller struct + func NewAppRegistryCaller(address common.Address, caller bind.ContractCaller) (*AppRegistryCaller, error) + func (_AppRegistry *AppRegistryCaller) ADJUDICATORROLE(opts *bind.CallOpts) ([32]byte, error) + func (_AppRegistry *AppRegistryCaller) ASSET(opts *bind.CallOpts) (common.Address, error) + func (_AppRegistry *AppRegistryCaller) Asset(opts *bind.CallOpts) (common.Address, error) + func (_AppRegistry *AppRegistryCaller) BalanceOf(opts *bind.CallOpts, user common.Address) (*big.Int, error) + func (_AppRegistry *AppRegistryCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error) + func (_AppRegistry *AppRegistryCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error) + func (_AppRegistry *AppRegistryCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error) + func (_AppRegistry *AppRegistryCaller) LastSlashTimestamp(opts *bind.CallOpts) (*big.Int, error) + func (_AppRegistry *AppRegistryCaller) LockStateOf(opts *bind.CallOpts, user common.Address) (uint8, error) + func (_AppRegistry *AppRegistryCaller) SlashCooldown(opts *bind.CallOpts) (*big.Int, error) + func (_AppRegistry *AppRegistryCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error) + func (_AppRegistry *AppRegistryCaller) UNLOCKPERIOD(opts *bind.CallOpts) (*big.Int, error) + func (_AppRegistry *AppRegistryCaller) UnlockTimestampOf(opts *bind.CallOpts, user common.Address) (*big.Int, error) + type AppRegistryCallerRaw struct + Contract *AppRegistryCaller + func (_AppRegistry *AppRegistryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type AppRegistryCallerSession struct + CallOpts bind.CallOpts + Contract *AppRegistryCaller + func (_AppRegistry *AppRegistryCallerSession) ADJUDICATORROLE() ([32]byte, error) + func (_AppRegistry *AppRegistryCallerSession) ASSET() (common.Address, error) + func (_AppRegistry *AppRegistryCallerSession) Asset() (common.Address, error) + func (_AppRegistry *AppRegistryCallerSession) BalanceOf(user common.Address) (*big.Int, error) + func (_AppRegistry *AppRegistryCallerSession) DEFAULTADMINROLE() ([32]byte, error) + func (_AppRegistry *AppRegistryCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error) + func (_AppRegistry *AppRegistryCallerSession) HasRole(role [32]byte, account common.Address) (bool, error) + func (_AppRegistry *AppRegistryCallerSession) LastSlashTimestamp() (*big.Int, error) + func (_AppRegistry *AppRegistryCallerSession) LockStateOf(user common.Address) (uint8, error) + func (_AppRegistry *AppRegistryCallerSession) SlashCooldown() (*big.Int, error) + func (_AppRegistry *AppRegistryCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error) + func (_AppRegistry *AppRegistryCallerSession) UNLOCKPERIOD() (*big.Int, error) + func (_AppRegistry *AppRegistryCallerSession) UnlockTimestampOf(user common.Address) (*big.Int, error) + type AppRegistryFilterer struct + func NewAppRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*AppRegistryFilterer, error) + func (_AppRegistry *AppRegistryFilterer) FilterLocked(opts *bind.FilterOpts, user []common.Address) (*AppRegistryLockedIterator, error) + func (_AppRegistry *AppRegistryFilterer) FilterRelocked(opts *bind.FilterOpts, user []common.Address) (*AppRegistryRelockedIterator, error) + func (_AppRegistry *AppRegistryFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*AppRegistryRoleAdminChangedIterator, error) + func (_AppRegistry *AppRegistryFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*AppRegistryRoleGrantedIterator, error) + func (_AppRegistry *AppRegistryFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*AppRegistryRoleRevokedIterator, error) + func (_AppRegistry *AppRegistryFilterer) FilterSlashCooldownUpdated(opts *bind.FilterOpts) (*AppRegistrySlashCooldownUpdatedIterator, error) + func (_AppRegistry *AppRegistryFilterer) FilterSlashed(opts *bind.FilterOpts, user []common.Address, recipient []common.Address) (*AppRegistrySlashedIterator, error) + func (_AppRegistry *AppRegistryFilterer) FilterUnlockInitiated(opts *bind.FilterOpts, user []common.Address) (*AppRegistryUnlockInitiatedIterator, error) + func (_AppRegistry *AppRegistryFilterer) FilterWithdrawn(opts *bind.FilterOpts, user []common.Address) (*AppRegistryWithdrawnIterator, error) + func (_AppRegistry *AppRegistryFilterer) ParseLocked(log types.Log) (*AppRegistryLocked, error) + func (_AppRegistry *AppRegistryFilterer) ParseRelocked(log types.Log) (*AppRegistryRelocked, error) + func (_AppRegistry *AppRegistryFilterer) ParseRoleAdminChanged(log types.Log) (*AppRegistryRoleAdminChanged, error) + func (_AppRegistry *AppRegistryFilterer) ParseRoleGranted(log types.Log) (*AppRegistryRoleGranted, error) + func (_AppRegistry *AppRegistryFilterer) ParseRoleRevoked(log types.Log) (*AppRegistryRoleRevoked, error) + func (_AppRegistry *AppRegistryFilterer) ParseSlashCooldownUpdated(log types.Log) (*AppRegistrySlashCooldownUpdated, error) + func (_AppRegistry *AppRegistryFilterer) ParseSlashed(log types.Log) (*AppRegistrySlashed, error) + func (_AppRegistry *AppRegistryFilterer) ParseUnlockInitiated(log types.Log) (*AppRegistryUnlockInitiated, error) + func (_AppRegistry *AppRegistryFilterer) ParseWithdrawn(log types.Log) (*AppRegistryWithdrawn, error) + func (_AppRegistry *AppRegistryFilterer) WatchLocked(opts *bind.WatchOpts, sink chan<- *AppRegistryLocked, user []common.Address) (event.Subscription, error) + func (_AppRegistry *AppRegistryFilterer) WatchRelocked(opts *bind.WatchOpts, sink chan<- *AppRegistryRelocked, user []common.Address) (event.Subscription, error) + func (_AppRegistry *AppRegistryFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AppRegistryRoleAdminChanged, ...) (event.Subscription, error) + func (_AppRegistry *AppRegistryFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AppRegistryRoleGranted, role [][32]byte, ...) (event.Subscription, error) + func (_AppRegistry *AppRegistryFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AppRegistryRoleRevoked, role [][32]byte, ...) (event.Subscription, error) + func (_AppRegistry *AppRegistryFilterer) WatchSlashCooldownUpdated(opts *bind.WatchOpts, sink chan<- *AppRegistrySlashCooldownUpdated) (event.Subscription, error) + func (_AppRegistry *AppRegistryFilterer) WatchSlashed(opts *bind.WatchOpts, sink chan<- *AppRegistrySlashed, user []common.Address, ...) (event.Subscription, error) + func (_AppRegistry *AppRegistryFilterer) WatchUnlockInitiated(opts *bind.WatchOpts, sink chan<- *AppRegistryUnlockInitiated, ...) (event.Subscription, error) + func (_AppRegistry *AppRegistryFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *AppRegistryWithdrawn, user []common.Address) (event.Subscription, error) + type AppRegistryLocked struct + Deposited *big.Int + NewBalance *big.Int + Raw types.Log + User common.Address + type AppRegistryLockedIterator struct + Event *AppRegistryLocked + func (it *AppRegistryLockedIterator) Close() error + func (it *AppRegistryLockedIterator) Error() error + func (it *AppRegistryLockedIterator) Next() bool + type AppRegistryRaw struct + Contract *AppRegistry + func (_AppRegistry *AppRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_AppRegistry *AppRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_AppRegistry *AppRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type AppRegistryRelocked struct + Balance *big.Int + Raw types.Log + User common.Address + type AppRegistryRelockedIterator struct + Event *AppRegistryRelocked + func (it *AppRegistryRelockedIterator) Close() error + func (it *AppRegistryRelockedIterator) Error() error + func (it *AppRegistryRelockedIterator) Next() bool + type AppRegistryRoleAdminChanged struct + NewAdminRole [32]byte + PreviousAdminRole [32]byte + Raw types.Log + Role [32]byte + type AppRegistryRoleAdminChangedIterator struct + Event *AppRegistryRoleAdminChanged + func (it *AppRegistryRoleAdminChangedIterator) Close() error + func (it *AppRegistryRoleAdminChangedIterator) Error() error + func (it *AppRegistryRoleAdminChangedIterator) Next() bool + type AppRegistryRoleGranted struct + Account common.Address + Raw types.Log + Role [32]byte + Sender common.Address + type AppRegistryRoleGrantedIterator struct + Event *AppRegistryRoleGranted + func (it *AppRegistryRoleGrantedIterator) Close() error + func (it *AppRegistryRoleGrantedIterator) Error() error + func (it *AppRegistryRoleGrantedIterator) Next() bool + type AppRegistryRoleRevoked struct + Account common.Address + Raw types.Log + Role [32]byte + Sender common.Address + type AppRegistryRoleRevokedIterator struct + Event *AppRegistryRoleRevoked + func (it *AppRegistryRoleRevokedIterator) Close() error + func (it *AppRegistryRoleRevokedIterator) Error() error + func (it *AppRegistryRoleRevokedIterator) Next() bool + type AppRegistrySession struct + CallOpts bind.CallOpts + Contract *AppRegistry + TransactOpts bind.TransactOpts + func (_AppRegistry *AppRegistrySession) ADJUDICATORROLE() ([32]byte, error) + func (_AppRegistry *AppRegistrySession) ASSET() (common.Address, error) + func (_AppRegistry *AppRegistrySession) Asset() (common.Address, error) + func (_AppRegistry *AppRegistrySession) BalanceOf(user common.Address) (*big.Int, error) + func (_AppRegistry *AppRegistrySession) DEFAULTADMINROLE() ([32]byte, error) + func (_AppRegistry *AppRegistrySession) GetRoleAdmin(role [32]byte) ([32]byte, error) + func (_AppRegistry *AppRegistrySession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistrySession) HasRole(role [32]byte, account common.Address) (bool, error) + func (_AppRegistry *AppRegistrySession) LastSlashTimestamp() (*big.Int, error) + func (_AppRegistry *AppRegistrySession) Lock(target common.Address, amount *big.Int) (*types.Transaction, error) + func (_AppRegistry *AppRegistrySession) LockStateOf(user common.Address) (uint8, error) + func (_AppRegistry *AppRegistrySession) Relock() (*types.Transaction, error) + func (_AppRegistry *AppRegistrySession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistrySession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistrySession) SetSlashCooldown(newCooldown *big.Int) (*types.Transaction, error) + func (_AppRegistry *AppRegistrySession) Slash(user common.Address, amount *big.Int, recipient common.Address, ...) (*types.Transaction, error) + func (_AppRegistry *AppRegistrySession) SlashCooldown() (*big.Int, error) + func (_AppRegistry *AppRegistrySession) SupportsInterface(interfaceId [4]byte) (bool, error) + func (_AppRegistry *AppRegistrySession) UNLOCKPERIOD() (*big.Int, error) + func (_AppRegistry *AppRegistrySession) Unlock() (*types.Transaction, error) + func (_AppRegistry *AppRegistrySession) UnlockTimestampOf(user common.Address) (*big.Int, error) + func (_AppRegistry *AppRegistrySession) Withdraw(destination common.Address) (*types.Transaction, error) + type AppRegistrySlashCooldownUpdated struct + NewCooldown *big.Int + OldCooldown *big.Int + Raw types.Log + type AppRegistrySlashCooldownUpdatedIterator struct + Event *AppRegistrySlashCooldownUpdated + func (it *AppRegistrySlashCooldownUpdatedIterator) Close() error + func (it *AppRegistrySlashCooldownUpdatedIterator) Error() error + func (it *AppRegistrySlashCooldownUpdatedIterator) Next() bool + type AppRegistrySlashed struct + Amount *big.Int + Decision []byte + Raw types.Log + Recipient common.Address + User common.Address + type AppRegistrySlashedIterator struct + Event *AppRegistrySlashed + func (it *AppRegistrySlashedIterator) Close() error + func (it *AppRegistrySlashedIterator) Error() error + func (it *AppRegistrySlashedIterator) Next() bool + type AppRegistryTransactor struct + func NewAppRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*AppRegistryTransactor, error) + func (_AppRegistry *AppRegistryTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactor) Lock(opts *bind.TransactOpts, target common.Address, amount *big.Int) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactor) Relock(opts *bind.TransactOpts) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactor) SetSlashCooldown(opts *bind.TransactOpts, newCooldown *big.Int) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactor) Slash(opts *bind.TransactOpts, user common.Address, amount *big.Int, ...) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactor) Withdraw(opts *bind.TransactOpts, destination common.Address) (*types.Transaction, error) + type AppRegistryTransactorRaw struct + Contract *AppRegistryTransactor + func (_AppRegistry *AppRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type AppRegistryTransactorSession struct + Contract *AppRegistryTransactor + TransactOpts bind.TransactOpts + func (_AppRegistry *AppRegistryTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorSession) Lock(target common.Address, amount *big.Int) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorSession) Relock() (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorSession) SetSlashCooldown(newCooldown *big.Int) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorSession) Slash(user common.Address, amount *big.Int, recipient common.Address, ...) (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorSession) Unlock() (*types.Transaction, error) + func (_AppRegistry *AppRegistryTransactorSession) Withdraw(destination common.Address) (*types.Transaction, error) + type AppRegistryUnlockInitiated struct + AvailableAt *big.Int + Balance *big.Int + Raw types.Log + User common.Address + type AppRegistryUnlockInitiatedIterator struct + Event *AppRegistryUnlockInitiated + func (it *AppRegistryUnlockInitiatedIterator) Close() error + func (it *AppRegistryUnlockInitiatedIterator) Error() error + func (it *AppRegistryUnlockInitiatedIterator) Next() bool + type AppRegistryWithdrawn struct + Balance *big.Int + Raw types.Log + User common.Address + type AppRegistryWithdrawnIterator struct + Event *AppRegistryWithdrawn + func (it *AppRegistryWithdrawnIterator) Close() error + func (it *AppRegistryWithdrawnIterator) Error() error + func (it *AppRegistryWithdrawnIterator) Next() bool + type AssetStore interface + GetAssetDecimals func(asset string) (uint8, error) + GetTokenAddress func(asset string, blockchainID uint64) (string, error) + GetTokenDecimals func(blockchainID uint64, tokenAddress string) (uint8, error) + type BaseClient struct + type BlockchainClient struct + func NewBlockchainClient(contractAddress common.Address, evmClient EVMClient, txSigner sign.Signer, ...) (*BlockchainClient, error) + func (c *BlockchainClient) Approve(asset string, amount decimal.Decimal) (string, error) + func (c *BlockchainClient) Challenge(candidate core.State, challengerSig []byte, ...) (string, error) + func (c *BlockchainClient) ChallengeEscrowDeposit(candidate core.State, challengerSig []byte, ...) (string, error) + func (c *BlockchainClient) ChallengeEscrowWithdrawal(candidate core.State, challengerSig []byte, ...) (string, error) + func (c *BlockchainClient) Checkpoint(candidate core.State) (string, error) + func (c *BlockchainClient) Close(candidate core.State) (string, error) + func (c *BlockchainClient) Create(def core.ChannelDefinition, initCCS core.State) (string, error) + func (c *BlockchainClient) Deposit(node, token string, amount decimal.Decimal) (string, error) + func (c *BlockchainClient) EnsureSigValidatorRegistered(validatorID uint8, validatorAddress string, checkOnly bool) error + func (c *BlockchainClient) FinalizeEscrowDeposit(candidate core.State) (string, error) + func (c *BlockchainClient) FinalizeEscrowWithdrawal(candidate core.State) (string, error) + func (c *BlockchainClient) GetAccountsBalances(accounts []string, tokens []string) ([][]decimal.Decimal, error) + func (c *BlockchainClient) GetEscrowDepositData(escrowChannelID string) (core.EscrowDepositDataResponse, error) + func (c *BlockchainClient) GetEscrowWithdrawalData(escrowChannelID string) (core.EscrowWithdrawalDataResponse, error) + func (c *BlockchainClient) GetHomeChannelData(homeChannelID string) (core.HomeChannelDataResponse, error) + func (c *BlockchainClient) GetNodeBalance(token string) (decimal.Decimal, error) + func (c *BlockchainClient) GetOpenChannels(user string) ([]string, error) + func (c *BlockchainClient) GetTokenBalance(asset string, walletAddress string) (decimal.Decimal, error) + func (c *BlockchainClient) InitiateEscrowDeposit(def core.ChannelDefinition, initCCS core.State) (string, error) + func (c *BlockchainClient) InitiateEscrowWithdrawal(def core.ChannelDefinition, initCCS core.State) (string, error) + func (c *BlockchainClient) MigrateChannelHere(def core.ChannelDefinition, candidate core.State) (string, error) + func (c *BlockchainClient) Withdraw(node, token string, amount decimal.Decimal) (string, error) + type ChannelDefinition struct + ApprovedSignatureValidators *big.Int + ChallengeDuration uint32 + Metadata [32]byte + Node common.Address + Nonce uint64 + User common.Address + type ChannelHub struct + func DeployChannelHub(auth *bind.TransactOpts, backend bind.ContractBackend, ...) (common.Address, *types.Transaction, *ChannelHub, error) + func NewChannelHub(address common.Address, backend bind.ContractBackend) (*ChannelHub, error) + type ChannelHubCaller struct + func NewChannelHubCaller(address common.Address, caller bind.ContractCaller) (*ChannelHubCaller, error) + func (_ChannelHub *ChannelHubCaller) DEFAULTSIGVALIDATOR(opts *bind.CallOpts) (common.Address, error) + func (_ChannelHub *ChannelHubCaller) ESCROWDEPOSITUNLOCKDELAY(opts *bind.CallOpts) (uint32, error) + func (_ChannelHub *ChannelHubCaller) EscrowHead(opts *bind.CallOpts) (*big.Int, error) + func (_ChannelHub *ChannelHubCaller) GetAccountBalance(opts *bind.CallOpts, node common.Address, token common.Address) (*big.Int, error) + func (_ChannelHub *ChannelHubCaller) GetChannelData(opts *bind.CallOpts, channelId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubCaller) GetChannelIds(opts *bind.CallOpts, user common.Address) ([][32]byte, error) + func (_ChannelHub *ChannelHubCaller) GetEscrowDepositData(opts *bind.CallOpts, escrowId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubCaller) GetEscrowDepositIds(opts *bind.CallOpts, page *big.Int, pageSize *big.Int) ([][32]byte, error) + func (_ChannelHub *ChannelHubCaller) GetEscrowWithdrawalData(opts *bind.CallOpts, escrowId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubCaller) GetNodeValidator(opts *bind.CallOpts, node common.Address, validatorId uint8) (common.Address, error) + func (_ChannelHub *ChannelHubCaller) GetOpenChannels(opts *bind.CallOpts, user common.Address) ([][32]byte, error) + func (_ChannelHub *ChannelHubCaller) GetReclaimBalance(opts *bind.CallOpts, account common.Address, token common.Address) (*big.Int, error) + func (_ChannelHub *ChannelHubCaller) MAXDEPOSITESCROWPURGE(opts *bind.CallOpts) (uint32, error) + func (_ChannelHub *ChannelHubCaller) MINCHALLENGEDURATION(opts *bind.CallOpts) (uint32, error) + func (_ChannelHub *ChannelHubCaller) TRANSFERGASLIMIT(opts *bind.CallOpts) (*big.Int, error) + func (_ChannelHub *ChannelHubCaller) VERSION(opts *bind.CallOpts) (uint8, error) + type ChannelHubCallerRaw struct + Contract *ChannelHubCaller + func (_ChannelHub *ChannelHubCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type ChannelHubCallerSession struct + CallOpts bind.CallOpts + Contract *ChannelHubCaller + func (_ChannelHub *ChannelHubCallerSession) DEFAULTSIGVALIDATOR() (common.Address, error) + func (_ChannelHub *ChannelHubCallerSession) ESCROWDEPOSITUNLOCKDELAY() (uint32, error) + func (_ChannelHub *ChannelHubCallerSession) EscrowHead() (*big.Int, error) + func (_ChannelHub *ChannelHubCallerSession) GetAccountBalance(node common.Address, token common.Address) (*big.Int, error) + func (_ChannelHub *ChannelHubCallerSession) GetChannelData(channelId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubCallerSession) GetChannelIds(user common.Address) ([][32]byte, error) + func (_ChannelHub *ChannelHubCallerSession) GetEscrowDepositData(escrowId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubCallerSession) GetEscrowDepositIds(page *big.Int, pageSize *big.Int) ([][32]byte, error) + func (_ChannelHub *ChannelHubCallerSession) GetEscrowWithdrawalData(escrowId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubCallerSession) GetNodeValidator(node common.Address, validatorId uint8) (common.Address, error) + func (_ChannelHub *ChannelHubCallerSession) GetOpenChannels(user common.Address) ([][32]byte, error) + func (_ChannelHub *ChannelHubCallerSession) GetReclaimBalance(account common.Address, token common.Address) (*big.Int, error) + func (_ChannelHub *ChannelHubCallerSession) MAXDEPOSITESCROWPURGE() (uint32, error) + func (_ChannelHub *ChannelHubCallerSession) MINCHALLENGEDURATION() (uint32, error) + func (_ChannelHub *ChannelHubCallerSession) TRANSFERGASLIMIT() (*big.Int, error) + func (_ChannelHub *ChannelHubCallerSession) VERSION() (uint8, error) + type ChannelHubChannelChallenged struct + Candidate State + ChallengeExpireAt uint64 + ChannelId [32]byte + Raw types.Log + type ChannelHubChannelChallengedIterator struct + Event *ChannelHubChannelChallenged + func (it *ChannelHubChannelChallengedIterator) Close() error + func (it *ChannelHubChannelChallengedIterator) Error() error + func (it *ChannelHubChannelChallengedIterator) Next() bool + type ChannelHubChannelCheckpointed struct + Candidate State + ChannelId [32]byte + Raw types.Log + type ChannelHubChannelCheckpointedIterator struct + Event *ChannelHubChannelCheckpointed + func (it *ChannelHubChannelCheckpointedIterator) Close() error + func (it *ChannelHubChannelCheckpointedIterator) Error() error + func (it *ChannelHubChannelCheckpointedIterator) Next() bool + type ChannelHubChannelClosed struct + ChannelId [32]byte + FinalState State + Raw types.Log + type ChannelHubChannelClosedIterator struct + Event *ChannelHubChannelClosed + func (it *ChannelHubChannelClosedIterator) Close() error + func (it *ChannelHubChannelClosedIterator) Error() error + func (it *ChannelHubChannelClosedIterator) Next() bool + type ChannelHubChannelCreated struct + ChannelId [32]byte + Definition ChannelDefinition + InitialState State + Node common.Address + Raw types.Log + User common.Address + type ChannelHubChannelCreatedIterator struct + Event *ChannelHubChannelCreated + func (it *ChannelHubChannelCreatedIterator) Close() error + func (it *ChannelHubChannelCreatedIterator) Error() error + func (it *ChannelHubChannelCreatedIterator) Next() bool + type ChannelHubChannelDeposited struct + Candidate State + ChannelId [32]byte + Raw types.Log + type ChannelHubChannelDepositedIterator struct + Event *ChannelHubChannelDeposited + func (it *ChannelHubChannelDepositedIterator) Close() error + func (it *ChannelHubChannelDepositedIterator) Error() error + func (it *ChannelHubChannelDepositedIterator) Next() bool + type ChannelHubChannelWithdrawn struct + Candidate State + ChannelId [32]byte + Raw types.Log + type ChannelHubChannelWithdrawnIterator struct + Event *ChannelHubChannelWithdrawn + func (it *ChannelHubChannelWithdrawnIterator) Close() error + func (it *ChannelHubChannelWithdrawnIterator) Error() error + func (it *ChannelHubChannelWithdrawnIterator) Next() bool + type ChannelHubDeposited struct + Amount *big.Int + Raw types.Log + Token common.Address + Wallet common.Address + type ChannelHubDepositedIterator struct + Event *ChannelHubDeposited + func (it *ChannelHubDepositedIterator) Close() error + func (it *ChannelHubDepositedIterator) Error() error + func (it *ChannelHubDepositedIterator) Next() bool + type ChannelHubEscrowDepositChallenged struct + ChallengeExpireAt uint64 + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowDepositChallengedIterator struct + Event *ChannelHubEscrowDepositChallenged + func (it *ChannelHubEscrowDepositChallengedIterator) Close() error + func (it *ChannelHubEscrowDepositChallengedIterator) Error() error + func (it *ChannelHubEscrowDepositChallengedIterator) Next() bool + type ChannelHubEscrowDepositFinalized struct + ChannelId [32]byte + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowDepositFinalizedIterator struct + Event *ChannelHubEscrowDepositFinalized + func (it *ChannelHubEscrowDepositFinalizedIterator) Close() error + func (it *ChannelHubEscrowDepositFinalizedIterator) Error() error + func (it *ChannelHubEscrowDepositFinalizedIterator) Next() bool + type ChannelHubEscrowDepositFinalizedOnHome struct + ChannelId [32]byte + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowDepositFinalizedOnHomeIterator struct + Event *ChannelHubEscrowDepositFinalizedOnHome + func (it *ChannelHubEscrowDepositFinalizedOnHomeIterator) Close() error + func (it *ChannelHubEscrowDepositFinalizedOnHomeIterator) Error() error + func (it *ChannelHubEscrowDepositFinalizedOnHomeIterator) Next() bool + type ChannelHubEscrowDepositInitiated struct + ChannelId [32]byte + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowDepositInitiatedIterator struct + Event *ChannelHubEscrowDepositInitiated + func (it *ChannelHubEscrowDepositInitiatedIterator) Close() error + func (it *ChannelHubEscrowDepositInitiatedIterator) Error() error + func (it *ChannelHubEscrowDepositInitiatedIterator) Next() bool + type ChannelHubEscrowDepositInitiatedOnHome struct + ChannelId [32]byte + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowDepositInitiatedOnHomeIterator struct + Event *ChannelHubEscrowDepositInitiatedOnHome + func (it *ChannelHubEscrowDepositInitiatedOnHomeIterator) Close() error + func (it *ChannelHubEscrowDepositInitiatedOnHomeIterator) Error() error + func (it *ChannelHubEscrowDepositInitiatedOnHomeIterator) Next() bool + type ChannelHubEscrowDepositsPurged struct + PurgedCount *big.Int + Raw types.Log + type ChannelHubEscrowDepositsPurgedIterator struct + Event *ChannelHubEscrowDepositsPurged + func (it *ChannelHubEscrowDepositsPurgedIterator) Close() error + func (it *ChannelHubEscrowDepositsPurgedIterator) Error() error + func (it *ChannelHubEscrowDepositsPurgedIterator) Next() bool + type ChannelHubEscrowWithdrawalChallenged struct + ChallengeExpireAt uint64 + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowWithdrawalChallengedIterator struct + Event *ChannelHubEscrowWithdrawalChallenged + func (it *ChannelHubEscrowWithdrawalChallengedIterator) Close() error + func (it *ChannelHubEscrowWithdrawalChallengedIterator) Error() error + func (it *ChannelHubEscrowWithdrawalChallengedIterator) Next() bool + type ChannelHubEscrowWithdrawalFinalized struct + ChannelId [32]byte + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowWithdrawalFinalizedIterator struct + Event *ChannelHubEscrowWithdrawalFinalized + func (it *ChannelHubEscrowWithdrawalFinalizedIterator) Close() error + func (it *ChannelHubEscrowWithdrawalFinalizedIterator) Error() error + func (it *ChannelHubEscrowWithdrawalFinalizedIterator) Next() bool + type ChannelHubEscrowWithdrawalFinalizedOnHome struct + ChannelId [32]byte + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowWithdrawalFinalizedOnHomeIterator struct + Event *ChannelHubEscrowWithdrawalFinalizedOnHome + func (it *ChannelHubEscrowWithdrawalFinalizedOnHomeIterator) Close() error + func (it *ChannelHubEscrowWithdrawalFinalizedOnHomeIterator) Error() error + func (it *ChannelHubEscrowWithdrawalFinalizedOnHomeIterator) Next() bool + type ChannelHubEscrowWithdrawalInitiated struct + ChannelId [32]byte + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowWithdrawalInitiatedIterator struct + Event *ChannelHubEscrowWithdrawalInitiated + func (it *ChannelHubEscrowWithdrawalInitiatedIterator) Close() error + func (it *ChannelHubEscrowWithdrawalInitiatedIterator) Error() error + func (it *ChannelHubEscrowWithdrawalInitiatedIterator) Next() bool + type ChannelHubEscrowWithdrawalInitiatedOnHome struct + ChannelId [32]byte + EscrowId [32]byte + Raw types.Log + State State + type ChannelHubEscrowWithdrawalInitiatedOnHomeIterator struct + Event *ChannelHubEscrowWithdrawalInitiatedOnHome + func (it *ChannelHubEscrowWithdrawalInitiatedOnHomeIterator) Close() error + func (it *ChannelHubEscrowWithdrawalInitiatedOnHomeIterator) Error() error + func (it *ChannelHubEscrowWithdrawalInitiatedOnHomeIterator) Next() bool + type ChannelHubFilterer struct + func NewChannelHubFilterer(address common.Address, filterer bind.ContractFilterer) (*ChannelHubFilterer, error) + func (_ChannelHub *ChannelHubFilterer) FilterChannelChallenged(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubChannelChallengedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterChannelCheckpointed(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubChannelCheckpointedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterChannelClosed(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubChannelClosedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterChannelCreated(opts *bind.FilterOpts, channelId [][32]byte, user []common.Address, ...) (*ChannelHubChannelCreatedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterChannelDeposited(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubChannelDepositedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterChannelWithdrawn(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubChannelWithdrawnIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterDeposited(opts *bind.FilterOpts, wallet []common.Address, token []common.Address) (*ChannelHubDepositedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowDepositChallenged(opts *bind.FilterOpts, escrowId [][32]byte) (*ChannelHubEscrowDepositChallengedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowDepositFinalized(opts *bind.FilterOpts, escrowId [][32]byte, channelId [][32]byte) (*ChannelHubEscrowDepositFinalizedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowDepositFinalizedOnHome(opts *bind.FilterOpts, escrowId [][32]byte, channelId [][32]byte) (*ChannelHubEscrowDepositFinalizedOnHomeIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowDepositInitiated(opts *bind.FilterOpts, escrowId [][32]byte, channelId [][32]byte) (*ChannelHubEscrowDepositInitiatedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowDepositInitiatedOnHome(opts *bind.FilterOpts, escrowId [][32]byte, channelId [][32]byte) (*ChannelHubEscrowDepositInitiatedOnHomeIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowDepositsPurged(opts *bind.FilterOpts) (*ChannelHubEscrowDepositsPurgedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowWithdrawalChallenged(opts *bind.FilterOpts, escrowId [][32]byte) (*ChannelHubEscrowWithdrawalChallengedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowWithdrawalFinalized(opts *bind.FilterOpts, escrowId [][32]byte, channelId [][32]byte) (*ChannelHubEscrowWithdrawalFinalizedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowWithdrawalFinalizedOnHome(opts *bind.FilterOpts, escrowId [][32]byte, channelId [][32]byte) (*ChannelHubEscrowWithdrawalFinalizedOnHomeIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowWithdrawalInitiated(opts *bind.FilterOpts, escrowId [][32]byte, channelId [][32]byte) (*ChannelHubEscrowWithdrawalInitiatedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterEscrowWithdrawalInitiatedOnHome(opts *bind.FilterOpts, escrowId [][32]byte, channelId [][32]byte) (*ChannelHubEscrowWithdrawalInitiatedOnHomeIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterFundsClaimed(opts *bind.FilterOpts, account []common.Address, token []common.Address, ...) (*ChannelHubFundsClaimedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterMigrationInFinalized(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubMigrationInFinalizedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterMigrationInInitiated(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubMigrationInInitiatedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterMigrationOutFinalized(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubMigrationOutFinalizedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterMigrationOutInitiated(opts *bind.FilterOpts, channelId [][32]byte) (*ChannelHubMigrationOutInitiatedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterTransferFailed(opts *bind.FilterOpts, recipient []common.Address, token []common.Address) (*ChannelHubTransferFailedIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterValidatorRegistered(opts *bind.FilterOpts, node []common.Address, validatorId []uint8, ...) (*ChannelHubValidatorRegisteredIterator, error) + func (_ChannelHub *ChannelHubFilterer) FilterWithdrawn(opts *bind.FilterOpts, wallet []common.Address, token []common.Address) (*ChannelHubWithdrawnIterator, error) + func (_ChannelHub *ChannelHubFilterer) ParseChannelChallenged(log types.Log) (*ChannelHubChannelChallenged, error) + func (_ChannelHub *ChannelHubFilterer) ParseChannelCheckpointed(log types.Log) (*ChannelHubChannelCheckpointed, error) + func (_ChannelHub *ChannelHubFilterer) ParseChannelClosed(log types.Log) (*ChannelHubChannelClosed, error) + func (_ChannelHub *ChannelHubFilterer) ParseChannelCreated(log types.Log) (*ChannelHubChannelCreated, error) + func (_ChannelHub *ChannelHubFilterer) ParseChannelDeposited(log types.Log) (*ChannelHubChannelDeposited, error) + func (_ChannelHub *ChannelHubFilterer) ParseChannelWithdrawn(log types.Log) (*ChannelHubChannelWithdrawn, error) + func (_ChannelHub *ChannelHubFilterer) ParseDeposited(log types.Log) (*ChannelHubDeposited, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowDepositChallenged(log types.Log) (*ChannelHubEscrowDepositChallenged, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowDepositFinalized(log types.Log) (*ChannelHubEscrowDepositFinalized, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowDepositFinalizedOnHome(log types.Log) (*ChannelHubEscrowDepositFinalizedOnHome, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowDepositInitiated(log types.Log) (*ChannelHubEscrowDepositInitiated, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowDepositInitiatedOnHome(log types.Log) (*ChannelHubEscrowDepositInitiatedOnHome, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowDepositsPurged(log types.Log) (*ChannelHubEscrowDepositsPurged, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowWithdrawalChallenged(log types.Log) (*ChannelHubEscrowWithdrawalChallenged, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowWithdrawalFinalized(log types.Log) (*ChannelHubEscrowWithdrawalFinalized, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowWithdrawalFinalizedOnHome(log types.Log) (*ChannelHubEscrowWithdrawalFinalizedOnHome, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowWithdrawalInitiated(log types.Log) (*ChannelHubEscrowWithdrawalInitiated, error) + func (_ChannelHub *ChannelHubFilterer) ParseEscrowWithdrawalInitiatedOnHome(log types.Log) (*ChannelHubEscrowWithdrawalInitiatedOnHome, error) + func (_ChannelHub *ChannelHubFilterer) ParseFundsClaimed(log types.Log) (*ChannelHubFundsClaimed, error) + func (_ChannelHub *ChannelHubFilterer) ParseMigrationInFinalized(log types.Log) (*ChannelHubMigrationInFinalized, error) + func (_ChannelHub *ChannelHubFilterer) ParseMigrationInInitiated(log types.Log) (*ChannelHubMigrationInInitiated, error) + func (_ChannelHub *ChannelHubFilterer) ParseMigrationOutFinalized(log types.Log) (*ChannelHubMigrationOutFinalized, error) + func (_ChannelHub *ChannelHubFilterer) ParseMigrationOutInitiated(log types.Log) (*ChannelHubMigrationOutInitiated, error) + func (_ChannelHub *ChannelHubFilterer) ParseTransferFailed(log types.Log) (*ChannelHubTransferFailed, error) + func (_ChannelHub *ChannelHubFilterer) ParseValidatorRegistered(log types.Log) (*ChannelHubValidatorRegistered, error) + func (_ChannelHub *ChannelHubFilterer) ParseWithdrawn(log types.Log) (*ChannelHubWithdrawn, error) + func (_ChannelHub *ChannelHubFilterer) WatchChannelChallenged(opts *bind.WatchOpts, sink chan<- *ChannelHubChannelChallenged, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchChannelCheckpointed(opts *bind.WatchOpts, sink chan<- *ChannelHubChannelCheckpointed, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchChannelClosed(opts *bind.WatchOpts, sink chan<- *ChannelHubChannelClosed, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchChannelCreated(opts *bind.WatchOpts, sink chan<- *ChannelHubChannelCreated, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchChannelDeposited(opts *bind.WatchOpts, sink chan<- *ChannelHubChannelDeposited, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchChannelWithdrawn(opts *bind.WatchOpts, sink chan<- *ChannelHubChannelWithdrawn, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *ChannelHubDeposited, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowDepositChallenged(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowDepositChallenged, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowDepositFinalized(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowDepositFinalized, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowDepositFinalizedOnHome(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowDepositFinalizedOnHome, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowDepositInitiated(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowDepositInitiated, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowDepositInitiatedOnHome(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowDepositInitiatedOnHome, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowDepositsPurged(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowDepositsPurged) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowWithdrawalChallenged(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowWithdrawalChallenged, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowWithdrawalFinalized(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowWithdrawalFinalized, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowWithdrawalFinalizedOnHome(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowWithdrawalFinalizedOnHome, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowWithdrawalInitiated(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowWithdrawalInitiated, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchEscrowWithdrawalInitiatedOnHome(opts *bind.WatchOpts, sink chan<- *ChannelHubEscrowWithdrawalInitiatedOnHome, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchFundsClaimed(opts *bind.WatchOpts, sink chan<- *ChannelHubFundsClaimed, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchMigrationInFinalized(opts *bind.WatchOpts, sink chan<- *ChannelHubMigrationInFinalized, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchMigrationInInitiated(opts *bind.WatchOpts, sink chan<- *ChannelHubMigrationInInitiated, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchMigrationOutFinalized(opts *bind.WatchOpts, sink chan<- *ChannelHubMigrationOutFinalized, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchMigrationOutInitiated(opts *bind.WatchOpts, sink chan<- *ChannelHubMigrationOutInitiated, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchTransferFailed(opts *bind.WatchOpts, sink chan<- *ChannelHubTransferFailed, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchValidatorRegistered(opts *bind.WatchOpts, sink chan<- *ChannelHubValidatorRegistered, ...) (event.Subscription, error) + func (_ChannelHub *ChannelHubFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *ChannelHubWithdrawn, ...) (event.Subscription, error) + type ChannelHubFundsClaimed struct + Account common.Address + Amount *big.Int + Destination common.Address + Raw types.Log + Token common.Address + type ChannelHubFundsClaimedIterator struct + Event *ChannelHubFundsClaimed + func (it *ChannelHubFundsClaimedIterator) Close() error + func (it *ChannelHubFundsClaimedIterator) Error() error + func (it *ChannelHubFundsClaimedIterator) Next() bool + type ChannelHubMigrationInFinalized struct + ChannelId [32]byte + Raw types.Log + State State + type ChannelHubMigrationInFinalizedIterator struct + Event *ChannelHubMigrationInFinalized + func (it *ChannelHubMigrationInFinalizedIterator) Close() error + func (it *ChannelHubMigrationInFinalizedIterator) Error() error + func (it *ChannelHubMigrationInFinalizedIterator) Next() bool + type ChannelHubMigrationInInitiated struct + ChannelId [32]byte + Raw types.Log + State State + type ChannelHubMigrationInInitiatedIterator struct + Event *ChannelHubMigrationInInitiated + func (it *ChannelHubMigrationInInitiatedIterator) Close() error + func (it *ChannelHubMigrationInInitiatedIterator) Error() error + func (it *ChannelHubMigrationInInitiatedIterator) Next() bool + type ChannelHubMigrationOutFinalized struct + ChannelId [32]byte + Raw types.Log + State State + type ChannelHubMigrationOutFinalizedIterator struct + Event *ChannelHubMigrationOutFinalized + func (it *ChannelHubMigrationOutFinalizedIterator) Close() error + func (it *ChannelHubMigrationOutFinalizedIterator) Error() error + func (it *ChannelHubMigrationOutFinalizedIterator) Next() bool + type ChannelHubMigrationOutInitiated struct + ChannelId [32]byte + Raw types.Log + State State + type ChannelHubMigrationOutInitiatedIterator struct + Event *ChannelHubMigrationOutInitiated + func (it *ChannelHubMigrationOutInitiatedIterator) Close() error + func (it *ChannelHubMigrationOutInitiatedIterator) Error() error + func (it *ChannelHubMigrationOutInitiatedIterator) Next() bool + type ChannelHubRaw struct + Contract *ChannelHub + func (_ChannelHub *ChannelHubRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_ChannelHub *ChannelHubRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ChannelHub *ChannelHubRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ChannelHubReactor struct + func NewChannelHubReactor(blockchainID uint64, eventHandler core.ChannelHubEventHandler, ...) *ChannelHubReactor + func (r *ChannelHubReactor) HandleEvent(ctx context.Context, l types.Log) error + func (r *ChannelHubReactor) SetOnEventProcessed(fn func(blockchainID uint64, success bool)) + type ChannelHubSession struct + CallOpts bind.CallOpts + Contract *ChannelHub + TransactOpts bind.TransactOpts + func (_ChannelHub *ChannelHubSession) ChallengeChannel(channelId [32]byte, candidate State, challengerSig []byte, challengerIdx uint8) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) ChallengeEscrowDeposit(escrowId [32]byte, challengerSig []byte, challengerIdx uint8) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) ChallengeEscrowWithdrawal(escrowId [32]byte, challengerSig []byte, challengerIdx uint8) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) CheckpointChannel(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) ClaimFunds(token common.Address, destination common.Address) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) CloseChannel(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) CreateChannel(def ChannelDefinition, initState State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) DEFAULTSIGVALIDATOR() (common.Address, error) + func (_ChannelHub *ChannelHubSession) DepositToChannel(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) DepositToVault(node common.Address, token common.Address, amount *big.Int) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) ESCROWDEPOSITUNLOCKDELAY() (uint32, error) + func (_ChannelHub *ChannelHubSession) EscrowHead() (*big.Int, error) + func (_ChannelHub *ChannelHubSession) FinalizeEscrowDeposit(escrowId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) FinalizeEscrowWithdrawal(escrowId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) FinalizeMigration(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) GetAccountBalance(node common.Address, token common.Address) (*big.Int, error) + func (_ChannelHub *ChannelHubSession) GetChannelData(channelId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubSession) GetChannelIds(user common.Address) ([][32]byte, error) + func (_ChannelHub *ChannelHubSession) GetEscrowDepositData(escrowId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubSession) GetEscrowDepositIds(page *big.Int, pageSize *big.Int) ([][32]byte, error) + func (_ChannelHub *ChannelHubSession) GetEscrowWithdrawalData(escrowId [32]byte) (struct{ ... }, error) + func (_ChannelHub *ChannelHubSession) GetNodeValidator(node common.Address, validatorId uint8) (common.Address, error) + func (_ChannelHub *ChannelHubSession) GetOpenChannels(user common.Address) ([][32]byte, error) + func (_ChannelHub *ChannelHubSession) GetReclaimBalance(account common.Address, token common.Address) (*big.Int, error) + func (_ChannelHub *ChannelHubSession) InitiateEscrowDeposit(def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) InitiateEscrowWithdrawal(def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) InitiateMigration(def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) MAXDEPOSITESCROWPURGE() (uint32, error) + func (_ChannelHub *ChannelHubSession) MINCHALLENGEDURATION() (uint32, error) + func (_ChannelHub *ChannelHubSession) PurgeEscrowDeposits(maxToPurge *big.Int) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) RegisterNodeValidator(node common.Address, validatorId uint8, validator common.Address, ...) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) TRANSFERGASLIMIT() (*big.Int, error) + func (_ChannelHub *ChannelHubSession) VERSION() (uint8, error) + func (_ChannelHub *ChannelHubSession) WithdrawFromChannel(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubSession) WithdrawFromVault(to common.Address, token common.Address, amount *big.Int) (*types.Transaction, error) + type ChannelHubTransactor struct + func NewChannelHubTransactor(address common.Address, transactor bind.ContractTransactor) (*ChannelHubTransactor, error) + func (_ChannelHub *ChannelHubTransactor) ChallengeChannel(opts *bind.TransactOpts, channelId [32]byte, candidate State, ...) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) ChallengeEscrowDeposit(opts *bind.TransactOpts, escrowId [32]byte, challengerSig []byte, ...) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) ChallengeEscrowWithdrawal(opts *bind.TransactOpts, escrowId [32]byte, challengerSig []byte, ...) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) CheckpointChannel(opts *bind.TransactOpts, channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) ClaimFunds(opts *bind.TransactOpts, token common.Address, destination common.Address) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) CloseChannel(opts *bind.TransactOpts, channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) CreateChannel(opts *bind.TransactOpts, def ChannelDefinition, initState State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) DepositToChannel(opts *bind.TransactOpts, channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) DepositToVault(opts *bind.TransactOpts, node common.Address, token common.Address, ...) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) FinalizeEscrowDeposit(opts *bind.TransactOpts, escrowId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) FinalizeEscrowWithdrawal(opts *bind.TransactOpts, escrowId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) FinalizeMigration(opts *bind.TransactOpts, channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) InitiateEscrowDeposit(opts *bind.TransactOpts, def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) InitiateEscrowWithdrawal(opts *bind.TransactOpts, def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) InitiateMigration(opts *bind.TransactOpts, def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) PurgeEscrowDeposits(opts *bind.TransactOpts, maxToPurge *big.Int) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) RegisterNodeValidator(opts *bind.TransactOpts, node common.Address, validatorId uint8, ...) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) WithdrawFromChannel(opts *bind.TransactOpts, channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactor) WithdrawFromVault(opts *bind.TransactOpts, to common.Address, token common.Address, ...) (*types.Transaction, error) + type ChannelHubTransactorRaw struct + Contract *ChannelHubTransactor + func (_ChannelHub *ChannelHubTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ChannelHubTransactorSession struct + Contract *ChannelHubTransactor + TransactOpts bind.TransactOpts + func (_ChannelHub *ChannelHubTransactorSession) ChallengeChannel(channelId [32]byte, candidate State, challengerSig []byte, challengerIdx uint8) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) ChallengeEscrowDeposit(escrowId [32]byte, challengerSig []byte, challengerIdx uint8) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) ChallengeEscrowWithdrawal(escrowId [32]byte, challengerSig []byte, challengerIdx uint8) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) CheckpointChannel(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) ClaimFunds(token common.Address, destination common.Address) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) CloseChannel(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) CreateChannel(def ChannelDefinition, initState State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) DepositToChannel(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) DepositToVault(node common.Address, token common.Address, amount *big.Int) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) FinalizeEscrowDeposit(escrowId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) FinalizeEscrowWithdrawal(escrowId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) FinalizeMigration(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) InitiateEscrowDeposit(def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) InitiateEscrowWithdrawal(def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) InitiateMigration(def ChannelDefinition, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) PurgeEscrowDeposits(maxToPurge *big.Int) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) RegisterNodeValidator(node common.Address, validatorId uint8, validator common.Address, ...) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) WithdrawFromChannel(channelId [32]byte, candidate State) (*types.Transaction, error) + func (_ChannelHub *ChannelHubTransactorSession) WithdrawFromVault(to common.Address, token common.Address, amount *big.Int) (*types.Transaction, error) + type ChannelHubTransferFailed struct + Amount *big.Int + Raw types.Log + Recipient common.Address + Token common.Address + type ChannelHubTransferFailedIterator struct + Event *ChannelHubTransferFailed + func (it *ChannelHubTransferFailedIterator) Close() error + func (it *ChannelHubTransferFailedIterator) Error() error + func (it *ChannelHubTransferFailedIterator) Next() bool + type ChannelHubValidatorRegistered struct + Node common.Address + Raw types.Log + Validator common.Address + ValidatorId uint8 + type ChannelHubValidatorRegisteredIterator struct + Event *ChannelHubValidatorRegistered + func (it *ChannelHubValidatorRegisteredIterator) Close() error + func (it *ChannelHubValidatorRegisteredIterator) Error() error + func (it *ChannelHubValidatorRegisteredIterator) Next() bool + type ChannelHubWithdrawn struct + Amount *big.Int + Raw types.Log + Token common.Address + Wallet common.Address + type ChannelHubWithdrawnIterator struct + Event *ChannelHubWithdrawn + func (it *ChannelHubWithdrawnIterator) Close() error + func (it *ChannelHubWithdrawnIterator) Error() error + func (it *ChannelHubWithdrawnIterator) Next() bool + type ClientAllowanceCheck struct + RequireAllowanceCheck bool + type ClientBalanceCheck struct + RequireBalanceCheck bool + type ClientFeeCheck struct + RequirePositiveNativeBalance bool + type ClientOption interface + type EVMClient interface + type HandleEvent func(ctx context.Context, eventLog types.Log) error + type IERC20 struct + func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error) + type IERC20Approval struct + Owner common.Address + Raw types.Log + Spender common.Address + Value *big.Int + type IERC20ApprovalIterator struct + Event *IERC20Approval + func (it *IERC20ApprovalIterator) Close() error + func (it *IERC20ApprovalIterator) Error() error + func (it *IERC20ApprovalIterator) Next() bool + type IERC20Caller struct + func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error) + func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error) + func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error) + func (_IERC20 *IERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error) + func (_IERC20 *IERC20Caller) Name(opts *bind.CallOpts) (string, error) + func (_IERC20 *IERC20Caller) Symbol(opts *bind.CallOpts) (string, error) + func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error) + type IERC20CallerRaw struct + Contract *IERC20Caller + func (_IERC20 *IERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type IERC20CallerSession struct + CallOpts bind.CallOpts + Contract *IERC20Caller + func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error) + func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error) + func (_IERC20 *IERC20CallerSession) Decimals() (uint8, error) + func (_IERC20 *IERC20CallerSession) Name() (string, error) + func (_IERC20 *IERC20CallerSession) Symbol() (string, error) + func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error) + type IERC20Filterer struct + func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error) + func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error) + func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error) + func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error) + func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error) + func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error) + func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error) + type IERC20Raw struct + Contract *IERC20 + func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type IERC20Session struct + CallOpts bind.CallOpts + Contract *IERC20 + TransactOpts bind.TransactOpts + func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error) + func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error) + func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error) + func (_IERC20 *IERC20Session) Decimals() (uint8, error) + func (_IERC20 *IERC20Session) Name() (string, error) + func (_IERC20 *IERC20Session) Symbol() (string, error) + func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error) + func (_IERC20 *IERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error) + func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error) + type IERC20Transactor struct + func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error) + func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error) + func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error) + func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error) + type IERC20TransactorRaw struct + Contract *IERC20Transactor + func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_IERC20 *IERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type IERC20TransactorSession struct + Contract *IERC20Transactor + TransactOpts bind.TransactOpts + func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error) + func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error) + func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error) + type IERC20Transfer struct + From common.Address + Raw types.Log + To common.Address + Value *big.Int + type IERC20TransferIterator struct + Event *IERC20Transfer + func (it *IERC20TransferIterator) Close() error + func (it *IERC20TransferIterator) Error() error + func (it *IERC20TransferIterator) Next() bool + type LatestEventGetter func(contractAddress string, blockchainID uint64) (ev core.BlockchainEvent, err error) + type Ledger struct + ChainId uint64 + Decimals uint8 + NodeAllocation *big.Int + NodeNetFlow *big.Int + Token common.Address + UserAllocation *big.Int + UserNetFlow *big.Int + type Listener struct + func NewListener(contractAddress common.Address, client bind.ContractBackend, ...) *Listener + func (l *Listener) Listen(ctx context.Context, handleClosure func(err error)) + type LockingClient struct + func NewLockingClient(lockingContractAddress common.Address, evmClient EVMClient, ...) (*LockingClient, error) + func (c *LockingClient) ApproveToken(amount decimal.Decimal) (string, error) + func (c *LockingClient) GetBalance(user string) (decimal.Decimal, error) + func (c *LockingClient) GetTokenDecimals() (uint8, error) + func (c *LockingClient) Lock(targetWalletAddress string, amount decimal.Decimal) (string, error) + func (c *LockingClient) Relock() (string, error) + func (c *LockingClient) Unlock() (string, error) + func (c *LockingClient) Withdraw(destination string) (string, error) + type LockingContractReactor struct + func NewLockingContractReactor(blockchainID uint64, eventHandler core.LockingContractEventHandler, ...) (*LockingContractReactor, error) + func (r *LockingContractReactor) HandleEvent(ctx context.Context, l types.Log) error + func (r *LockingContractReactor) SetOnEventProcessed(fn func(blockchainID uint64, success bool)) + type State struct + HomeLedger Ledger + Intent uint8 + Metadata [32]byte + NodeSig []byte + NonHomeLedger Ledger + UserSig []byte + Version uint64 + type StoreContractEvent func(ev core.BlockchainEvent) error