Preparing search index...
The search index is not available
@tornado/sdk
@tornado/sdk
DepositCache
Class DepositCache
Hierarchy
Syncable
<
Data
.
Docs
.
Deposit
>
DepositCache
Index
Constructors
constructor
Properties
db
is
Open
name
pooler?
Methods
build
Doc
clear
close
get
get
Callbacks
get
Error
Handlers
get
Rows
initialize
Pooler
zip
Constructors
constructor
new
Deposit
Cache
(
name
,
options
?
)
:
DepositCache
Parameters
name
:
string
Optional
options
:
Cache
Returns
DepositCache
Properties
db
db
:
Database
<
T
>
is
Open
is
Open
:
boolean
name
name
:
string
Optional
pooler
pooler
?:
PromisePooler
Methods
build
Doc
build
Doc
(
response
)
:
Data
.
Docs
.
Deposit
Parameters
response
:
any
Returns
Data
.
Docs
.
Deposit
clear
clear
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
get
(
keys
)
:
Promise
<
Data
.
Docs
.
Deposit
>
Parameters
keys
:
any
[]
Returns
Promise
<
Data
.
Docs
.
Deposit
>
get
Callbacks
get
Callbacks
(
instance
)
:
Callback
[]
Parameters
instance
:
TornadoInstance
Returns
Callback
[]
get
Error
Handlers
get
Error
Handlers
(
)
:
ErrorHandler
[]
Returns
ErrorHandler
[]
get
Rows
get
Rows
(
emptyError
?
,
options
?
)
:
Promise
<
Rows
<
Data
.
Docs
.
Deposit
>
>
Parameters
Optional
emptyError
:
Error
Optional
options
:
any
Returns
Promise
<
Rows
<
Data
.
Docs
.
Deposit
>
>
initialize
Pooler
initialize
Pooler
(
callbacks
,
errorHandlers
,
concurrencyLimit
)
:
void
Parameters
callbacks
:
Callback
[]
errorHandlers
:
ErrorHandler
[]
concurrencyLimit
:
number
Returns
void
zip
zip
(
outDirPath
?
,
close
?
)
:
Promise
<
void
>
Parameters
Optional
outDirPath
:
string
Optional
close
:
boolean
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
db
is
Open
name
pooler
build
Doc
clear
close
get
get
Callbacks
get
Error
Handlers
get
Rows
initialize
Pooler
zip
@tornado/sdk
Crypto
Input
For
Build
Merkle
Tree
Create
Deposit
Deposit
Proof
Pedersen
Hash
Groth16
Output
Of
Create
Deposit
Groth16
Proof
Merkle
Proof
Pedersen
Hash
Primitives
build
Merkle
Tree
calc
Deposit
Proofs
calc
Pedersen
Hash
create
Deposit
create
Note
parse
Note
Setup
get
Default
Hash
get
Groth16
get
Proving
Key
get
Tornado
Circuit
get
Zero
Element
terminate
Groth16
Deposit
Info
Deposit
Proof
Merkle
Proof
big
Int
Data
Cache
Base
Syncable
Constants
MERKLE_
TREE_
HEIGHT
Docs
Base
Deposit
Invoice
Note
Relayer
Withdrawal
Files
Path
Getter
cache
Dir
Exists
get
Cache
Path
get
Modules
Path
get
Resource
Path
gunzip
Sync
gzip
Sync
load
Raw
load
Raw
Sync
make
Cache
Dir
parent
Path
strip
Extensions
wipe
Cache
Json
get
Error
get
Value
load
load
Map
load
Sync
throw
Error
to
Map
Keys
Instance
Lookup
Offchain
get
Classic
SubgraphURL
get
Classic
SubgraphURLSync
get
Uncensored
RpcURL
get
Uncensored
RpcURLSync
Onchain
get
Classic
Instance
Data
get
Classic
Instance
Data
Sync
get
Instance
Address
get
Instance
Address
Sync
get
Instance
Addresses
get
Instance
Addresses
Sync
get
Instance
Deploy
Block
Num
get
Instance
Deploy
Block
Num
Sync
get
Instance
Deploy
Block
Nums
get
Instance
Deploy
Block
Nums
Sync
get
Instance
Lookup
Keys
get
Instance
Lookup
Keys
Sync
get
Multicall3
Address
get
Multicall3
Address
Sync
get
Multicall
Address
get
Multicall
Address
Sync
get
Network
Symbol
get
Network
Symbol
Sync
get
Pathstring
Based
Content
get
Pathstring
Based
Content
Sync
get
Proxy
Address
get
Proxy
Address
Sync
get
Token
Address
get
Token
Address
Sync
get
Token
Data
get
Token
Data
Sync
get
Token
Decimals
get
Token
Decimals
Sync
Options
Cache
Classic
Instance
Relayer
Properties
Token
Data
Tornado
Instance
Network
Contracts
get
Instance
get
Proxy
get
Token
get
Torn
Token
Options
Sync
Chain
Synchronizer
Tornado
Contracts
Options
Core
Build
Deposit
Proof
Deposit
Invoice
Sync
Transactions
Deposit
Invoice
Utils
Async
Utils
Promise
Pooler
Simple
Mutex
Callback
Error
Handler
timeout
Error
Utils
ensure
Error
get
Error
Hex
Utils
big
Int
To
Hex
buffer
To
Hex
number
To
Hex
prepare
Address
Number
Utils
get
Random
From
Range
random
Big
Integer
Object
Utils
exists
populate
swap
Web
Options
Relayer
Relayer
Tor
Provider
Obfuscation
Options
Withdrawal
Request
Result
Relayer
Options
Regular
Http
Client
Tor
Http
Client
Core
Deposit
Cache
Withdrawal
Cache
Generated using
TypeDoc