Preparing search index...
The search index is not available
OPNet
OPNet
IStackingContract
Interface IStackingContract
Description
This interface represents the WBTC contract. IWBTCContract
Cathegory
Contracts
interface
IStackingContract
{
claim
(
)
:
Promise
<
BaseContractProperties
>
;
rewardPool
(
)
:
Promise
<
BaseContractProperties
>
;
stake
(
amount
:
bigint
)
:
Promise
<
BaseContractProperties
>
;
stakedAmount
(
address
:
string
)
:
Promise
<
BaseContractProperties
>
;
stakedReward
(
address
:
string
)
:
Promise
<
BaseContractProperties
>
;
totalStaked
(
)
:
Promise
<
BaseContractProperties
>
;
unstake
(
)
:
Promise
<
BaseContractProperties
>
;
}
Index
Methods
claim
reward
Pool
stake
staked
Amount
staked
Reward
total
Staked
unstake
Methods
claim
claim
(
)
:
Promise
<
BaseContractProperties
>
Returns
Promise
<
BaseContractProperties
>
reward
Pool
reward
Pool
(
)
:
Promise
<
BaseContractProperties
>
Returns
Promise
<
BaseContractProperties
>
stake
stake
(
amount
)
:
Promise
<
BaseContractProperties
>
Parameters
amount
:
bigint
Returns
Promise
<
BaseContractProperties
>
staked
Amount
staked
Amount
(
address
)
:
Promise
<
BaseContractProperties
>
Parameters
address
:
string
Returns
Promise
<
BaseContractProperties
>
staked
Reward
staked
Reward
(
address
)
:
Promise
<
BaseContractProperties
>
Parameters
address
:
string
Returns
Promise
<
BaseContractProperties
>
total
Staked
total
Staked
(
)
:
Promise
<
BaseContractProperties
>
Returns
Promise
<
BaseContractProperties
>
unstake
unstake
(
)
:
Promise
<
BaseContractProperties
>
Returns
Promise
<
BaseContractProperties
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
claim
reward
Pool
stake
staked
Amount
staked
Reward
total
Staked
unstake
OPNet
Loading...
Description
This interface represents the WBTC contract. IWBTCContract
Cathegory
Contracts