Operator Vault
Last updated
Last updated
OperatorVault
is a vault contract used for depositing LINK into the Chainlink staking contract as a node operator.
Returns the total balance of this contract in the Chainlink staking contract
Name | Type | Description |
---|---|---|
Returns the principal balance of this contract in the Chainlink staking contract
Name | Type | Description |
---|---|---|
Returns the claimable rewards balance of this contract in the Chainlink staking rewards contract
Returns the total unclaimed operator rewards for this vault
Returns the amount of rewards that will be earned by this vault on the next update
Returns the operator address for this vault
Returns whether the claim period is active for this contract in the Chainlink staking contract
Returns whether the operator for this vault has been removed from the Chainlink staking contract
Deposits tokens from the vaultController into the Chainlink staking contract
Withdraws tokens from the Chainlink staking contract and sends them to the vault controller
Unbonds tokens in the Chainlink staking contract
Raises an alert in the Chainlink staking contract
Withdraws the unclaimed operator rewards for this vault
Updates the deposit and reward accounting for this vault
Withdraws tokens from the Chainlink staking contract and sends them to the vault controller
Used to withdraw remaining principal and rewards after operator has been removed Will also send any unclaimed operator rewards to rewards receiver
Sets the operator address for this vault if not already set
Sets the address to receive operator rewards
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
totalDeposits
uint256
Total deposit balance
principalDeposits
uint256
Principal deposit balance
rewards
uint256
Claimable rewards
unclaimedRewards
uint256
Unclaimed operator rewards
unclaimedRewards
uint256
Unclaimed operator rewards
operator
address
Operator address
_active
bool
true if active, false otherwise
_isRemoved
bool
true if operator has been removed, false otherwise
_amount
uint256
Amount to deposit
_amount
uint256
Amount to withdraw
_feed
address
Address of Chainlink feed to raise alert for
_minRewards
uint256
Min amount of rewards to claim (set 0 to skip reward claiming)
_rewardsReceiver
address
Address to receive claimed rewards (set if _minRewards > 0)
_prinicpalWithdrawn
uint256
Total principal withdrawn
_rewardsWithdrawn
uint256
Total rewards withdrawn
_operator
address
Operator address
_rewardsReceiver
address
Address of rewards receiver