Preparing search index...
The search index is not available
handle-sdk
handle-sdk
SingleCollateralVaultController
Class SingleCollateralVaultController
Hierarchy
SingleCollateralVaultController
Index
Constructors
constructor
Properties
current
Vault
fx
Token
vault
Methods
add
Collateral
add
Debt
remove
Collateral
remove
Debt
reset
Collateral
set
Collateral
Amount
set
Debt
Constructors
constructor
new
Single
Collateral
Vault
Controller
(
currentVault
,
fxToken
)
:
SingleCollateralVaultController
Parameters
currentVault
:
SingleCollateralVaultData
fxToken
:
FxToken
Returns
SingleCollateralVaultController
Properties
Private
current
Vault
current
Vault
:
SingleCollateralVaultData
Private
fx
Token
fx
Token
:
FxToken
vault
vault
:
SingleCollateralVault
Methods
add
Collateral
add
Collateral
(
amount
)
:
void
Parameters
amount
:
BigNumber
Returns
void
add
Debt
add
Debt
(
amount
)
:
void
Parameters
amount
:
BigNumber
Returns
void
remove
Collateral
remove
Collateral
(
amount
)
:
void
Parameters
amount
:
BigNumber
Returns
void
remove
Debt
remove
Debt
(
amount
)
:
void
Parameters
amount
:
BigNumber
Returns
void
reset
Collateral
reset
Collateral
(
)
:
void
Returns
void
set
Collateral
Amount
set
Collateral
Amount
(
amount
)
:
void
Parameters
amount
:
BigNumber
Returns
void
set
Debt
set
Debt
(
debt
)
:
void
Parameters
debt
:
BigNumber
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
current
Vault
fx
Token
vault
add
Collateral
add
Debt
remove
Collateral
remove
Debt
reset
Collateral
set
Collateral
Amount
set
Debt
handle-
sdk
Price
Point
Quote
fetch
Token
Price
Usd
Convert
Utils
governance
h2so
incentives
prices
referrals
rewards
trade
utils
BridgeSDK
CollateralsSDK
ConvertSDK
Fx
Keeper
PoolSDK
Fx
TokensSDK
GraphSDK
Handle
Token
Manager
Lp
StakingSDK
ProtocolSDK
Single
Collateral
Vault
Controller
Token
Manager
Vault
Controller
VaultsSDK
Token
Info
Token
List
Any
Lp
Staking
Bridge
Network
Bridge
Network
Map
Collateral
Collateral
Symbol
Collateral
Symbol
With
Native
Fx
Keeper
Pool
Pool
Fx
Token
Fx
Token
Symbol
Governance
Lock
Data
Indexed
Fx
Keeper
Pool
Indexed
Fx
Token
Indexed
Vault
Kashi
Pool
Config
Lp
Lp
Data
Lp
Platform
Lp
Staking
Data
Lp
Staking
Name
Network
Network
Map
Pending
Withdrawal
Protocol
Parameters
Reward
Pool
Data
Reward
Pool
Raw
Single
Collateral
Vault
Single
Collateral
Vault
Network
Single
Collateral
Vault
Network
Map
Single
Collateral
Vault
Symbol
Vault
H2SO_
API_
WS_
URL
H2SO_
PRICE_
DECIMALS
NETWORK_
NAMES
NETWORK_
NAME_
TO_
CHAIN_
ID
SECONDS_
IN_
A_
YEAR_
BN
SINGLE_
COLLATERAL_
NETWORK_
NAMES
config
vault
Utils
get
Is
Kashi
Approved
get
Network
Name
sign
Kashi
Approval
Generated using
TypeDoc