@@ -29,6 +29,17 @@ interface IERC7484 {
29
29
30
30
function checkForAccount (address smartAccount , address module , ModuleType moduleType ) external view ;
31
31
32
+ /**
33
+ * Allows Smart Accounts - the end users of the registry - to appoint
34
+ * one or many attesters as trusted.
35
+ * @dev this function reverts, if address(0), or duplicates are provided in attesters[]
36
+ *
37
+ * @param threshold The minimum number of attestations required for a module
38
+ * to be considered secure.
39
+ * @param attesters The addresses of the attesters to be trusted.
40
+ */
41
+ function trustAttesters (uint8 threshold , address [] calldata attesters ) external ;
42
+
32
43
/*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
33
44
/* Check with external attester(s) */
34
45
/*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
@@ -70,17 +81,6 @@ interface IRegistry is IERC7484 {
70
81
71
82
error InsufficientAttestations ();
72
83
73
- /**
74
- * Allows Smart Accounts - the end users of the registry - to appoint
75
- * one or many attesters as trusted.
76
- * @dev this function reverts, if address(0), or duplicates are provided in attesters[]
77
- *
78
- * @param threshold The minimum number of attestations required for a module
79
- * to be considered secure.
80
- * @param attesters The addresses of the attesters to be trusted.
81
- */
82
- function trustAttesters (uint8 threshold , address [] calldata attesters ) external ;
83
-
84
84
/**
85
85
* Get trusted attester for a specific Smart Account
86
86
* @param smartAccount The address of the Smart Account
0 commit comments