Initial project setup: Add contracts, API definitions, tests, and documentation
- Add Foundry project configuration (foundry.toml, foundry.lock) - Add Solidity contracts (TokenFactory138, BridgeVault138, ComplianceRegistry, etc.) - Add API definitions (OpenAPI, GraphQL, gRPC, AsyncAPI) - Add comprehensive test suite (unit, integration, fuzz, invariants) - Add API services (REST, GraphQL, orchestrator, packet service) - Add documentation (ISO20022 mapping, runbooks, adapter guides) - Add development tools (RBC tool, Swagger UI, mock server) - Update OpenZeppelin submodules to v5.0.0
This commit is contained in:
25
script/helpers/Config.sol
Normal file
25
script/helpers/Config.sol
Normal file
@@ -0,0 +1,25 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.8.20;
|
||||
|
||||
library Config {
|
||||
struct DeploymentConfig {
|
||||
address governanceAdmin;
|
||||
address tokenDeployer;
|
||||
address policyOperator;
|
||||
address complianceOperator;
|
||||
address debtAuthority;
|
||||
address enforcementOperator;
|
||||
address bridgeOperator;
|
||||
}
|
||||
|
||||
struct TokenDeploymentConfig {
|
||||
string name;
|
||||
string symbol;
|
||||
uint8 decimals;
|
||||
address issuer;
|
||||
uint8 defaultLienMode; // 1 = hard, 2 = encumbered
|
||||
bool bridgeOnly;
|
||||
address bridge;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user