Search
Preparing search index...
The search index is not available
@orca-so/whirlpools-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@orca-so/whirlpools-sdk
WhirlpoolContext
Class WhirlpoolContext
Hierarchy
WhirlpoolContext
Index
Constructors
constructor
Properties
connection
fetcher
opts
program
provider
wallet
Methods
from
from
Workspace
with
Provider
Constructors
constructor
new
Whirlpool
Context
(
provider
:
AnchorProvider
, wallet
:
Wallet
, program
:
Program
<
Idl
>
, fetcher
:
AccountFetcher
, opts
:
ConfirmOptions
)
:
WhirlpoolContext
Parameters
provider:
AnchorProvider
wallet:
Wallet
program:
Program
<
Idl
>
fetcher:
AccountFetcher
opts:
ConfirmOptions
Returns
WhirlpoolContext
Properties
Readonly
connection
connection
:
Connection
Readonly
fetcher
fetcher
:
AccountFetcher
Readonly
opts
opts
:
ConfirmOptions
Readonly
program
program
:
Program
<
Whirlpool
>
Readonly
provider
provider
:
AnchorProvider
Readonly
wallet
wallet
:
Wallet
Methods
Static
from
from
(
connection
:
Connection
, wallet
:
Wallet
, programId
:
PublicKey
, fetcher
?:
AccountFetcher
, opts
?:
ConfirmOptions
)
:
WhirlpoolContext
Parameters
connection:
Connection
wallet:
Wallet
programId:
PublicKey
fetcher:
AccountFetcher
= ...
opts:
ConfirmOptions
= ...
Returns
WhirlpoolContext
Static
from
Workspace
from
Workspace
(
provider
:
AnchorProvider
, program
:
Program
<
Idl
>
, fetcher
?:
AccountFetcher
, opts
?:
ConfirmOptions
)
:
WhirlpoolContext
Parameters
provider:
AnchorProvider
program:
Program
<
Idl
>
fetcher:
AccountFetcher
= ...
opts:
ConfirmOptions
= ...
Returns
WhirlpoolContext
Static
with
Provider
with
Provider
(
provider
:
AnchorProvider
, programId
:
PublicKey
, fetcher
?:
AccountFetcher
, opts
?:
ConfirmOptions
)
:
WhirlpoolContext
Parameters
provider:
AnchorProvider
programId:
PublicKey
fetcher:
AccountFetcher
= ...
opts:
ConfirmOptions
= ...
Returns
WhirlpoolContext
Exports
Whirlpool
Context
constructor
connection
fetcher
opts
program
provider
wallet
from
from
Workspace
with
Provider
Generated using
TypeDoc