- Constants
- Function
assert_rooch_genesis
- Function
assert_rooch_genesis_address
- Function
is_rooch_genesis_address
- Function
assert_rooch_framework
- Function
is_rooch_framework_address
- Function
genesis_address
use 0x1::signer;
The address/account did not correspond to the genesis address
const ErrorNotGenesisAddress: u64 = 1;
The address/account did not correspond to the core framework address
const ErrorNotRoochFrameworkAddress: u64 = 2;
public fun assert_rooch_genesis(account: &signer)
public fun assert_rooch_genesis_address(addr: address)
public fun is_rooch_genesis_address(addr: address): bool
public fun assert_rooch_framework(account: &signer)
Return true if addr
is 0x3.
public fun is_rooch_framework_address(addr: address): bool
The address of the genesis
public fun genesis_address(): address