1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use crate::account_address::AccountAddress;
pub use move_core_types::language_storage::CORE_CODE_ADDRESS;
pub fn diem_root_address() -> AccountAddress {
AccountAddress::from_hex_literal("0xA550C18")
.expect("Parsing valid hex literal should always succeed")
}
pub fn validator_set_address() -> AccountAddress {
crate::on_chain_config::config_address()
}
pub fn treasury_compliance_account_address() -> AccountAddress {
AccountAddress::from_hex_literal("0xB1E55ED")
.expect("Parsing valid hex literal should always succeed")
}
pub fn reserved_vm_address() -> AccountAddress {
AccountAddress::new([0u8; AccountAddress::LENGTH])
}
pub fn testnet_dd_account_address() -> AccountAddress {
AccountAddress::from_hex_literal("0xDD")
.expect("Parsing valid hex literal should always succeed")
}