Preparing search index...
The search index is not available
@pendle/sdk-v2
@pendle/sdk-v2
BN
Class BN
Implements
Hexable
Index
Constructors
constructor
Properties
_hex
_is
Big
Number
Methods
abs
add
and
div
eq
from
Twos
gt
gte
is
Negative
is
Zero
lt
lte
mask
mod
mul
or
pow
shl
shr
sub
to
Big
Int
to
Hex
String
toJSON
to
Number
to
String
to
Twos
xor
from
is
Big
Number
Constructors
constructor
new BN
(
constructorGuard
,
hex
)
:
BN
Parameters
constructorGuard
:
any
hex
:
string
Returns
BN
Properties
Readonly
_hex
_hex
:
string
Readonly
_is
Big
Number
_is
Big
Number
:
boolean
Methods
abs
abs
(
)
:
BN
Returns
BN
add
add
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
and
and
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
div
div
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
eq
eq
(
other
)
:
boolean
Parameters
other
:
BigNumberish
Returns
boolean
from
Twos
from
Twos
(
value
)
:
BN
Parameters
value
:
number
Returns
BN
gt
gt
(
other
)
:
boolean
Parameters
other
:
BigNumberish
Returns
boolean
gte
gte
(
other
)
:
boolean
Parameters
other
:
BigNumberish
Returns
boolean
is
Negative
is
Negative
(
)
:
boolean
Returns
boolean
is
Zero
is
Zero
(
)
:
boolean
Returns
boolean
lt
lt
(
other
)
:
boolean
Parameters
other
:
BigNumberish
Returns
boolean
lte
lte
(
other
)
:
boolean
Parameters
other
:
BigNumberish
Returns
boolean
mask
mask
(
value
)
:
BN
Parameters
value
:
number
Returns
BN
mod
mod
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
mul
mul
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
or
or
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
pow
pow
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
shl
shl
(
value
)
:
BN
Parameters
value
:
number
Returns
BN
shr
shr
(
value
)
:
BN
Parameters
value
:
number
Returns
BN
sub
sub
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
to
Big
Int
to
Big
Int
(
)
:
bigint
Returns
bigint
to
Hex
String
to
Hex
String
(
)
:
string
Returns
string
toJSON
toJSON
(
key
?
)
:
any
Parameters
Optional
key
:
string
Returns
any
to
Number
to
Number
(
)
:
number
Returns
number
to
String
to
String
(
)
:
string
Returns
string
to
Twos
to
Twos
(
value
)
:
BN
Parameters
value
:
number
Returns
BN
xor
xor
(
other
)
:
BN
Parameters
other
:
BigNumberish
Returns
BN
Static
from
from
(
value
)
:
BN
Parameters
value
:
any
Returns
BN
Static
is
Big
Number
is
Big
Number
(
value
)
:
value
is
BN
Parameters
value
:
any
Returns
value
is
BN
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_hex
_is
Big
Number
abs
add
and
div
eq
from
Twos
gt
gte
is
Negative
is
Zero
lt
lte
mask
mod
mul
or
pow
shl
shr
sub
to
Big
Int
to
Hex
String
toJSON
to
Number
to
String
to
Twos
xor
from
is
Big
Number
@pendle/sdk-v2
FillOrderParamsStruct
IApeStakingABI
IPActionInfoStatic
IPLimitRouter
IPRouterStatic
IPendleFeeDistributorV2
IWETH
IWETH_ABI
LimitOrderDataStruct
LimitOrderMatchedResult
LimitOrderMatcher
LimitOrderRouteSelector
LimitOrderRouteSelectorResult
MarketStateStructOutput
OptimalOutputRouteSelectionResult
OptimalOutputRouteSelector
OrderStatus
OrderStruct
OrderType
PendleERC20
PendleERC20ABI
Loading...
Generated using
TypeDoc