Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ soldeer install noble-std

<pre>
src
└── <a href="./src/ConsensusInfo.sol">ConsensusInfo.sol</a>: A library for interacting with Noble's ConsensusInfo system contract.
├── <a href="./src/ConsensusInfo.sol">ConsensusInfo.sol</a>: A library for interacting with Noble's ConsensusInfo system contract.
├── <a href="./src/Constants.sol">Constants.sol</a>: Noble specific constants (system address, contract addresses).
└── interfaces
├── <a href="./src/interfaces/IRegistrar.sol">IRegistrar.sol</a>: Interface for the Registrar contract.
└── <a href="./src/interfaces/IValidatorManager.sol">IValidatorManager.sol</a>: Interface for the Validator Manager contract.
</pre>

## Support
Expand Down
9 changes: 9 additions & 0 deletions src/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,14 @@ pragma solidity >=0.8.13 <0.9.0;
/// @dev The address of the system account on Noble.
address constant SYSTEM_ADDRESS = 0xffffFFFfFFffffffffffffffFfFFFfffFFFfFFfE;

/// @dev The address of the Noble (ERC20) predeployed contract on Noble.
address constant TOKEN_ADDRESS = 0x6625300000000000000000000000000000000000;

/// @dev The address of the ConsensusInfo system contract on Noble.
address constant CONSENSUS_INFO_ADDRESS = 0x6625300000000000000000000000000000000001;

/// @dev The address of the ValidatorManager predeployed contract on Noble.
address constant VALIDATOR_MANAGER_ADDRESS = 0x6625300000000000000000000000000000000002;

/// @dev The address of the Registrar predeployed contract on Noble.
address constant REGISTRAR_ADDRESS = 0x6625300000000000000000000000000000000003;