diem_types/account_config/constants/
addresses.rs

1// Copyright (c) The Diem Core Contributors
2// SPDX-License-Identifier: Apache-2.0
3
4// Copyright 2021 Conflux Foundation. All rights reserved.
5// Conflux is free software and distributed under GNU General Public License.
6// See http://www.gnu.org/licenses/
7
8use crate::account_address::AccountAddress;
9
10pub fn diem_root_address() -> AccountAddress {
11    AccountAddress::from_hex_literal("0xA550C18")
12        .expect("Parsing valid hex literal should always succeed")
13}
14
15pub fn validator_set_address() -> AccountAddress {
16    crate::on_chain_config::config_address()
17}