IUltraLRT
hasRole
function hasRole(bytes32 role, address user) external view returns (bool)
HARVESTER
function HARVESTER() external view returns (bytes32)
AffineDelegator
Delegator contract for stETH on Eigenlayer
vault
asset
onlyVaultOrHarvester
modifier onlyVaultOrHarvester()
Modifier to allow function calls only from the vault or harvester
onlyVault
Modifier to allow function calls only from the vault
onlyHarvester
modifier onlyHarvester()
Modifier to allow function calls only from the harvester
delegate
function delegate(uint256 amount) external
Delegate & restake stETH to operator
_delegate
function _delegate(uint256 amount) internal virtual
Delegate stETH to operator
requestWithdrawal
function requestWithdrawal(uint256 assets) external
Request withdrawal from eigenlayer
Request withdrawal from eigenlayer
Parameters
_requestWithdrawal
function _requestWithdrawal(uint256 assets) internal virtual
Request withdrawal from eigenlayer
withdraw
function withdraw() external virtual
Withdraw stETH from delegator to vault
totalLockedValue
function totalLockedValue() public view virtual returns (uint256)
Get total locked value
Return Values
withdrawableAssets
function withdrawableAssets() public view virtual returns (uint256)
Get withdrawable assets
Return Values
Amount of withdrawable assets
queuedAssets
function queuedAssets() public view virtual returns (uint256)
Get queued assets
Return Values
AffineReStaking
initialize
function initialize(address _governance, address _weth) external
_authorizeUpgrade
function _authorizeUpgrade(address newImplementation) internal
_Function that should revert when msg.sender
is not authorized to upgrade the contract. Called by {upgradeTo} and {upgradeToAndCall}.
Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
function _authorizeUpgrade(address) internal override onlyOwner {}
```_
### GUARDIAN_ROLE
```solidity
bytes32 GUARDIAN_ROLE
APPROVED_TOKEN
bytes32 APPROVED_TOKEN
WETH
balance
mapping(address => mapping(address => uint256)) balance
depositPaused
uint256 depositPaused
whenDepositNotPaused
modifier whenDepositNotPaused()
pauseDeposit
function pauseDeposit() external
resumeDeposit
function resumeDeposit() external
approveToken
function approveToken(address _token) external
revokeToken
function revokeToken(address _token) external
Deposit
event Deposit(uint256 eventId, address depositor, address token, uint256 amount)
depositFor
function depositFor(address _token, address _for, uint256 _amount) external
depositETHFor
function depositETHFor(address _for) external payable
Withdraw
event Withdraw(uint256 eventId, address withdrawer, address token, uint256 amount)
withdraw
function withdraw(address _token, uint256 _amount) external
pause
function pause() external
Pause the contract
unpause
function unpause() external
Unpause the contract
IDelegatorBeacon
owner
function owner() external returns (address)
DelegatorBeacon
Delegator Beacon contract
beacon
contract UpgradeableBeacon beacon
blueprint
constructor
constructor(address _initBlueprint, address governance) public
Constructor
Parameters
Initial blueprint address
update
function update(address _newBlueprint) public
Update the blueprint
Parameters
implementation
function implementation() public view returns (address)
Get the implementation address
Return Values
IDelegatorFactory
createDelegator
function createDelegator(address _operator) external returns (address)
vault
function vault() external returns (address)
DelegatorFactory
Delegator Factory contract
vault
onlyVault
Modifier to allow function calls only from the vault
constructor
constructor(address _vault) public
Constructor
Parameters
createDelegator
function createDelegator(address _operator) external returns (address)
Create a new delegator
Parameters
Return Values
EigenDelegator
Delegator contract for stETH on Eigenlayer
STRATEGY_MANAGER
contract IStrategyManager STRATEGY_MANAGER
StrategyManager for Eigenlayer
DELEGATION_MANAGER
contract IDelegationManager DELEGATION_MANAGER
DelegationManager for Eigenlayer
STAKED_ETH_STRATEGY
contract IStrategy STAKED_ETH_STRATEGY
stETH strategy on Eigenlayer
withdrawals
mapping(bytes32 => uint256) withdrawals
initialize
function initialize(address _vault, address _operator) external
Initialize the contract
Parameters
currentOperator
address currentOperator
stETH
contract IStEth stETH
queuedShares
_delegate
function _delegate(uint256 amount) internal
Modifier to allow function calls only from the vault or harvester
Delegate & restake stETH to operator on Eigenlayer
Parameters
_requestWithdrawal
function _requestWithdrawal(uint256 assets) internal
Request withdrawal from eigenlayer
Parameters
completeWithdrawalRequest
function completeWithdrawalRequest(struct WithdrawalInfo[] withdrawalInfo) external
Complete withdrawal request
Parameters
recordWithdrawalsRequest
function recordWithdrawalsRequest(struct WithdrawalInfo withdrawal) external
Record withdrawal request from External requests
Parameters
withdraw
function withdraw() external
Withdraw stETH from delegator to vault
withdrawableAssets
function withdrawableAssets() public view returns (uint256)
Get withdrawable assets
Return Values
queuedAssets
function queuedAssets() public view returns (uint256)
Get queued assets
Return Values
_delegateToOperator
function _delegateToOperator() internal
Delegate to operator
IDelegator
requestWithdrawal
function requestWithdrawal(uint256 assets) external
checkAssetAvailability
function checkAssetAvailability(uint256 assets) external view returns (bool)
delegate
function delegate(uint256 amount) external
withdraw
function withdraw() external
totalLockedValue
function totalLockedValue() external returns (uint256)
withdrawableAssets
function withdrawableAssets() external view returns (uint256)
queuedAssets
function queuedAssets() external view returns (uint256)
SymDelegatorFactory
SymDelegator Factory contract
vault
onlyVault
Modifier to allow function calls only from the vault
constructor
constructor(address _vault) public
Constructor
Parameters
createDelegator
function createDelegator(address _collateral) external returns (address proxy)
Create a new delegator
Parameters
Return Values
SymbioticDelegator
Delegator contract for wStETH on Symbiotic
collateral
contract IDefaultCollateral collateral
initialize
function initialize(address _vault, address _collateral) external
Initialize the contract
Parameters
_delegate
function _delegate(uint256 amount) internal
Delegate & restake wStETH to operator on Symbiotic
Parameters
_requestWithdrawal
function _requestWithdrawal(uint256 assets) internal
Request withdrawal from Symbiotic
Parameters
withdrawableAssets
function withdrawableAssets() public view returns (uint256)
Get the withdrawable assets
Return Values
queuedAssets
function queuedAssets() public view returns (uint256)
Get the queued assets
Return Values