SDCollateral

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x1ace4e69 at 19188177
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots

No balances found for "SDCollateral"

No transactions found for "SDCollateral"


Functions
Getter at block 20790755
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
staderConfig(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
convertETHToSD(uint256 _ethAmountview returns (uint256)
convertSDToETH(uint256 _sdAmountview returns (uint256)
getMinimumSDToBond(uint8 _poolIduint256 _numValidatorview returns (uint256 _minSDToBond)
getOperatorInfo(address _operatorview returns (uint8 _poolIduint256 _operatorIduint256 _validatorCount)
getOperatorWithdrawThreshold(address _operatorview returns (uint256 operatorWithdrawThreshold)
getRemainingSDToBond(address _operatoruint8 _poolIduint256 _numValidatorview returns (uint256)
getRewardEligibleSD(address _operatorview returns (uint256 _rewardEligibleSD)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasEnoughSDCollateral(address _operatoruint8 _poolIduint256 _numValidatorview returns (bool)
hasRole(bytes32 roleaddress accountview returns (bool)
operatorSDBalance(addressview returns (uint256)
operatorUtilizedSDBalance(addressview returns (uint256)
poolThresholdbyPoolId(uint8view returns (uint256 minThresholduint256 maxThresholduint256 withdrawThresholdstring units)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
depositSDAsCollateral(uint256 _sdAmount
depositSDAsCollateralOnBehalf(address _operatoruint256 _sdAmount
depositSDFromUtilityPool(address _operatoruint256 _sdAmount
grantRole(bytes32 roleaddress account
initialize(address _adminaddress _staderConfig
maxApproveSD(
reduceUtilizedSDPosition(address _operatoruint256 _sdAmount
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
slashValidatorSD(uint256 _validatorIduint8 _poolId
transferBackUtilizedSD(address _operator
updatePoolThreshold(uint8 _poolIduint256 _minThresholduint256 _maxThresholduint256 _withdrawThresholdstring _units
updateStaderConfig(address _staderConfig
withdraw(uint256 _requestedSD
withdrawOnBehalf(uint256 _requestedSDaddress _operator
Events
Initialized(uint8 version
ReducedUtilizedPosition(address indexed operatoruint256 sdAmount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SDDeposited(address indexed operatoruint256 sdAmount
SDRepaid(address operatoruint256 repayAmount
SDSlashed(address indexed operatoraddress indexed auctionuint256 sdSlashed
SDWithdrawn(address indexed operatoruint256 sdAmount
UpdatedPoolIdForOperator(uint8 poolIdaddress operator
UpdatedPoolThreshold(uint8 poolIduint256 minThresholduint256 withdrawThreshold
UpdatedStaderConfig(address indexed staderConfig
UtilizedSDDeposited(address indexed operatoruint256 sdAmount
UtilizedSDSlashed(address operatoruint256 sdSlashFromUtilized
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
CallerNotManager(
CallerNotStaderContract(
CallerNotWithdrawVault(
InsufficientSDToWithdraw(uint256 operatorSDCollateral
InsufficientSelfBondToRepay(
InvalidPoolId(
InvalidPoolLimit(
NoStateChange(
NonTerminalKeysNotZero(
SDTransferFailed(
ZeroAddress(