35 lines
966 B
Solidity
35 lines
966 B
Solidity
|
|
||
|
|
||
|
///File: @aragon/os/contracts/kernel/KernelStorage.sol
|
||
|
|
||
|
pragma solidity 0.4.18;
|
||
|
|
||
|
|
||
|
contract KernelConstants {
|
||
|
bytes32 constant public CORE_NAMESPACE = keccak256("core");
|
||
|
bytes32 constant public APP_BASES_NAMESPACE = keccak256("base");
|
||
|
bytes32 constant public APP_ADDR_NAMESPACE = keccak256("app");
|
||
|
|
||
|
bytes32 constant public KERNEL_APP_ID = keccak256("kernel.aragonpm.eth");
|
||
|
bytes32 constant public KERNEL_APP = keccak256(CORE_NAMESPACE, KERNEL_APP_ID);
|
||
|
|
||
|
bytes32 constant public ACL_APP_ID = keccak256("acl.aragonpm.eth");
|
||
|
bytes32 constant public ACL_APP = keccak256(APP_ADDR_NAMESPACE, ACL_APP_ID);
|
||
|
}
|
||
|
|
||
|
|
||
|
contract KernelStorage is KernelConstants {
|
||
|
mapping (bytes32 => address) public apps;
|
||
|
}
|
||
|
|
||
|
|
||
|
///File: ./contracts/LPConstants.sol
|
||
|
|
||
|
pragma solidity ^0.4.18;
|
||
|
|
||
|
|
||
|
|
||
|
contract LPConstants is KernelConstants {
|
||
|
bytes32 constant public VAULT_APP_ID = keccak256("vault");
|
||
|
bytes32 constant public LP_APP_ID = keccak256("liquidPledging");
|
||
|
}
|