You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -273,11 +273,14 @@ npm run test:coverage
273
273
274
274
## Documentation
275
275
276
+
**Source of truth:** Solidity contracts are the source of truth for protocol API and behavior. The `docs/` directory is generated from contract NatSpec; do not edit those generated files by hand. For the full documentation map, updating process, and audit checklist, see **[CODEBASE_DOCUMENTATION.md](CODEBASE_DOCUMENTATION.md)**.
277
+
276
278
### Contract Documentation
277
279
-**NatSpec comments** for all public functions
278
280
-**Security annotations** for sensitive operations
279
281
-**Usage examples** in comments
280
282
-**Parameter descriptions** for all inputs/outputs
283
+
-**Regenerate API docs** after contract changes: `npm run docgen` (see [docgen/README.md](docgen/README.md))
* @dev Interface for GuardController contract that GuardianSafeV3 and other contracts delegate to
8
+
* @dev Interface for GuardController contract that AccountBlox and other contracts delegate to
9
9
* @notice This interface defines only GuardController-specific methods
10
-
* @notice Functions from BaseStateMachine (createMetaTxParams, generateUnsignedMetaTransaction*, getTransaction, functionSchemaExists, getFunctionSchema, owner, getBroadcaster, getRecovery) should be accessed via IBaseStateMachine
11
-
* @notice Functions from RuntimeRBAC (registerFunction, unregisterFunction, createNewRole, addWalletToRole, revokeWallet) should be accessed via IRuntimeRBAC
10
+
* @notice Functions from BaseStateMachine (createMetaTxParams, generateUnsignedMetaTransaction*, getTransaction, getFunctionSchema, owner, getBroadcasters, getRecovery) should be accessed via IBaseStateMachine
11
+
* @notice Functions from RuntimeRBAC (role management: createNewRole, addWalletToRole, revokeWallet, etc.) should be accessed via IRuntimeRBAC. Function schema registration is performed via GuardController (guard config batch), not RuntimeRBAC.
0 commit comments