Discover more of Apescan's tools and services in one place.
Contract Source Code:
File 1 of 1 : ArbOwnerPublic.sol
// Copyright 2021-2022, Offchain Labs, Inc. // For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE // SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.4.21 <0.9.0; /// @title Provides non-owners with info about the current chain owners. /// @notice Precompiled contract that exists in every Arbitrum chain at 0x000000000000000000000000000000000000006b. interface ArbOwnerPublic { /// @notice See if the user is a chain owner function isChainOwner(address addr) external view returns (bool); /** * @notice Rectify the list of chain owners * If successful, emits ChainOwnerRectified event * Available in ArbOS version 11 */ function rectifyChainOwner(address ownerToRectify) external; /// @notice Retrieves the list of chain owners function getAllChainOwners() external view returns (address[] memory); /// @notice Gets the network fee collector function getNetworkFeeAccount() external view returns (address); /// @notice Get the infrastructure fee collector function getInfraFeeAccount() external view returns (address); /// @notice Get the Brotli compression level used for fast compression function getBrotliCompressionLevel() external view returns (uint64); /// @notice Get the next scheduled ArbOS version upgrade and its activation timestamp. /// Returns (0, 0) if no ArbOS upgrade is scheduled. /// Available in ArbOS version 20. function getScheduledUpgrade() external view returns (uint64 arbosVersion, uint64 scheduledForTimestamp); event ChainOwnerRectified(address rectifiedOwner); function getSharePrice() external view returns (uint64); function getShareCount() external view returns (uint256); function getApy() external view returns (uint64); }
File 1 of 1 : ArbInfo.sol
// Copyright 2021-2022, Offchain Labs, Inc. // For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE // SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.4.21 <0.9.0; /// @title Lookup for basic info about accounts and contracts. /// @notice Precompiled contract that exists in every Arbitrum chain at 0x0000000000000000000000000000000000000065. interface ArbInfo { /// @notice Retrieves an account's balance function getBalance(address account) external view returns (uint256); /// @notice Retrieves a contract's deployed code function getCode(address account) external view returns (bytes memory); // @notice Retrieves an account's balance values (fixed, shares, debt) function getBalanceValues(address account) external view returns (uint256, uint256, uint256); // @notice Retrieves an account's yield mode function getYieldConfiguration(address account) external view returns (uint8); // @notice Retrieves an account's delegate if in delegate yield mode and returns the zero address otherwise. function getDelegate(address account) external view returns (address); // @notice Set the yield mode for msg.sender to automatic. function configureAutomaticYield() external; // @notice Set the yield mode for msg.sender to void. function configureVoidYield() external; // @notice Set the yield mode for msg.sender to delegate to an account. This function silently fails instead of reverting if attempting to delegate to self. function configureDelegateYield(address account) external; }
Please DO NOT store any passwords or private keys here. A private note (up to 100 characters) can be saved and is useful for transaction tracking.
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.