OPNet
Preparing search index...
IStackingContract
Interface IStackingContract
Description
This interface represents the WBTC contract. IWBTCContract
Cathegory
Contracts
interface
IStackingContract
{
claim
()
:
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
,
>
;
rewardPool
()
:
Promise
<
CallResult
<
{
reward
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
;
stake
(
amount
:
bigint
,
)
:
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
>
;
stakedAmount
(
address
:
Address
,
)
:
Promise
<
CallResult
<
{
amount
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
;
stakedReward
(
address
:
Address
,
)
:
Promise
<
CallResult
<
{
amount
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
;
totalStaked
()
:
Promise
<
CallResult
<
{
total
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
;
unstake
()
:
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
,
>
;
}
Index
Methods
claim
reward
Pool
stake
staked
Amount
staked
Reward
total
Staked
unstake
Methods
claim
claim
()
:
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
>
Returns
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
>
reward
Pool
rewardPool
()
:
Promise
<
CallResult
<
{
reward
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
Returns
Promise
<
CallResult
<
{
reward
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
stake
stake
(
amount
:
bigint
,
)
:
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
>
Parameters
amount
:
bigint
Returns
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
>
staked
Amount
stakedAmount
(
address
:
Address
,
)
:
Promise
<
CallResult
<
{
amount
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
Parameters
address
:
Address
Returns
Promise
<
CallResult
<
{
amount
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
staked
Reward
stakedReward
(
address
:
Address
,
)
:
Promise
<
CallResult
<
{
amount
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
Parameters
address
:
Address
Returns
Promise
<
CallResult
<
{
amount
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
,
>
,
>
total
Staked
totalStaked
()
:
Promise
<
CallResult
<
{
total
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
,
>
Returns
Promise
<
CallResult
<
{
total
:
bigint
}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
,
>
unstake
unstake
()
:
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
>
Returns
Promise
<
CallResult
<
{}
,
OPNetEvent
<
ContractDecodedObjectResult
>
[]
>
>
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