Liquid Collective ETH
Liquid Collective DocsGithub
  • ETH Liquid Staking Documentation
  • Overview
    • Roles & Staking Infrastructure
    • Architecture
    • Staking Amounts
    • Slashing Coverage
    • Permissioning
    • Protocol Metadata
  • Tokenomics
    • LsETH (cToken)
    • Rewards, Fees, & Socialization
    • Deposits & Redemptions
  • Node Operations
    • Validator Infrastructure
    • Operate Validator Nodes
  • Oracles
    • Oracle Infrastructure
    • Operate an Oracle
  • Platforms
    • Platform Operations
  • 💻Technical Reference
    • Deployment Addresses
    • Smart Contracts
      • RiverV1
      • RedeemManagerV1
      • CoverageFundV1
      • TLCV1
      • ELFeeRecipientV1
      • Administrable
      • AllowlistV1
      • Firewall
      • WithdrawV1
      • WLSETHV1
      • Initializable
      • OperatorsRegistryV1
      • TUPProxy
      • OracleV1
      • ProtocolMetrics
      • Components
        • OracleManagerV1
        • SharesManagerV1
        • ERC20VestableVotesUpgradeableV1
        • ConsensusLayerDepositManagerV1
        • UserDepositManagerV1
      • Interfaces
        • IFirewall
        • IAllowlistV1
        • IAdministrable
        • IConsensusLayerDepositManagerV1
        • IRedeemManagerV1
        • IOracleManagerV1
        • ISharesManagerV1
        • IUserDepositManagerV1
        • IERC20VestableVotesUpgradeableV1
        • IOperatorsRegistryV1
        • IOracleV1
        • ITLCV1
        • IWLSETHV1
        • IWithdrawV1
        • IRiverV1
        • ICoverageFundV1
        • IDepositContract
        • IELFeeRecipientV1
        • IProtocolVersion
      • Libraries
        • LibBytes
        • LibErrors
        • LibBasisPoints
        • LibSanitize
        • LibAdministrable
        • LibUnstructuredStorage
        • LibAllowlistMasks
        • LibUint256
      • 🌊State
        • OperatorsRegistry
          • OperatorsV2
          • CurrentValidatorExitsDemand
          • ValidatorKeys
          • TotalValidatorExitsRequested
        • AllowList
          • AllowerAddress
          • DenierAddress
          • Allowlist
        • Oracle
          • LastEpochId
          • OracleMembers
          • Quorum
          • ReportsPositions
          • ReportsVariants
        • RedeemManager
          • BufferedExceedingEth
          • RedeemDemand
          • RedeemQueueV2
          • WithdrawalStack
        • River
          • AllowlistAddress
          • BalanceToDeposit
          • BalanceToRedeem
          • CLSpec
          • CLValidatorCount
          • CLValidatorTotalBalance
          • CollectorAddress
          • CommittedBalance
          • CoverageFundAddress
          • DailyCommittableLimits
          • DepositContractAddress
          • DepositedValidatorCount
          • ELFeeRecipientAddress
          • GlobalFee
          • KeeperAddress
          • LastConsensusLayerReport
          • LastOracleRoundId
          • MetadataURI
          • OperatorsRegistryAddress
          • OracleAddress
          • RedeemManagerAddress
          • ReportBounds
          • Shares
          • SharesPerOwner
          • WithdrawalCredentials
        • Shared
          • AdministratorAddress
          • ApprovalsPerOwner
          • PendingAdministratorAddress
          • RiverAddress
          • Version
        • SlashingCoverage
          • BalanceForCoverage
        • TLC
          • IgnoreGlobalUnlockSchedule
          • VestingSchedulesV2
        • WLSETH
          • BalanceOf
    • CLI
      • operators
        • operators count
        • operators add
        • operators get
        • operators list
      • validators
        • validators count
        • validators add
        • validators remove
        • validators get
      • oracle
        • oracle specs
        • oracle report
          • oracle status
        • oracle quorum
        • oracle members
          • oracle list
        • oracle epochs
          • oracle epochs current
          • oracle epochs last-completed
          • oracle epochs expected
        • oracle current-frame
        • oracle run
      • eth1keys
        • eth1keys generate
        • eth1keys import
      • withdrawal
        • withdrawal address
        • withdrawal credentials
      • el-fee-recipient
        • el-fee-recipient address
      • allowlist
        • allowlist is-allowed
        • allowlist allow
        • allowlist remove
      • eth-cl
        • eth-cl get-spec
        • eth-cl get-validator
      • eth-el
        • eth-el blocknumber
        • eth-el chain-id
  • FAQ
Powered by GitBook
On this page
  • Methods
  • acceptAdmin
  • getAdmin
  • getPendingAdmin
  • proposeAdmin
  • Events
  • SetAdmin
  • SetPendingAdmin
Export as PDF
  1. Technical Reference
  2. Smart Contracts
  3. Interfaces

IAdministrable

Alluvial Finance Inc.

Administrable Interface

This interface exposes methods to handle the ownership of the contracts

Methods

acceptAdmin

function acceptAdmin() external nonpayable

Accept the transfer of ownership

Only callable by the pending admin. Resets the pending admin if successful.

getAdmin

function getAdmin() external view returns (address)

Retrieves the current admin address

Returns

Name
Type
Description

_0

address

The admin address

getPendingAdmin

function getPendingAdmin() external view returns (address)

Retrieve the current pending admin address

Returns

Name
Type
Description

_0

address

The pending admin address

proposeAdmin

function proposeAdmin(address _newAdmin) external nonpayable

Proposes a new address as admin

This security prevents setting an invalid address as an admin. The pending admin has to claim its ownership of the contract, and prove that the new address is able to perform regular transactions.

Parameters

Name
Type
Description

_newAdmin

address

New admin address

Events

SetAdmin

event SetAdmin(address indexed admin)

The admin address changed

Parameters

Name
Type
Description

admin indexed

address

New admin address

SetPendingAdmin

event SetPendingAdmin(address indexed pendingAdmin)

The pending admin address changed

Parameters

Name
Type
Description

pendingAdmin indexed

address

New pending admin address

PreviousIAllowlistV1NextIConsensusLayerDepositManagerV1

Last updated 2 months ago

💻