Search
Preparing search index...
The search index is not available
Celer Light Client API Docs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"processors/open_channel_processor"
OpenChannelProcessor
Class OpenChannelProcessor
Hierarchy
OpenChannelProcessor
Index
Constructors
constructor
Methods
open
Channel
Constructors
constructor
new
Open
Channel
Processor
(
db
:
Database
, messageManager
:
MessageManager
, cryptoManager
:
CryptoManager
, contractsInfo
:
ContractsInfo
, config
:
Config
)
:
OpenChannelProcessor
Parameters
db:
Database
messageManager:
MessageManager
cryptoManager:
CryptoManager
contractsInfo:
ContractsInfo
config:
Config
Returns
OpenChannelProcessor
Methods
open
Channel
open
Channel
(
tokenType
:
0
|
2
|
1
, tokenAddress
:
string
, selfAmount
:
BigNumber
, peerAmount
:
BigNumber
)
:
Promise
<
string
>
Parameters
tokenType:
0
|
2
|
1
tokenAddress:
string
selfAmount:
BigNumber
peerAmount:
BigNumber
Returns
Promise
<
string
>
Globals
"processors/open_
channel_
processor"
Open
Channel
Processor
constructor
open
Channel
Made by
Horyus
. Documentation generated by
TypeDoc.