Skip to content

Commit 4766ecf

Browse files
author
Tore Kasper Frederiksen
committed
Changed getScriptURI to scriptURI
1 parent c110d6a commit 4766ecf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ERCs/ERC5XXX draft.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ interface IERC5XXX {
110110
111111
/// @notice Get the scriptURI for the contract
112112
/// @return The scriptURI
113-
function getScriptURI() external view returns(ScriptURI memory);
113+
function scriptURI() external view returns(ScriptURI memory);
114114
115115
/// @notice Get the scriptURI for the contract
116116
/// @return The scriptURI
117-
function getVerificationKey() external view returns(address memory);
117+
function verificationKey() external view returns(address memory);
118118
119119
120120
/// @notice Update the scriptURI
@@ -140,7 +140,7 @@ The interface MUST be implemented under the following constraints:
140140

141141
- The `setScriptURI` function MUST validate that `newSigScriptURI` contains a signature on `newScriptURI`, validated against `verificationKey` stored in its state, *before* executing its logic and updating any state.
142142

143-
- The ```getScriptURI()``` function MAY be implemented as pure or view.
143+
- The ```scriptURI()``` function MAY be implemented as pure or view.
144144

145145
- Any user of the script learned from scriptURI MUST, validate the script and its signature against `verificationKey` before trusting it.
146146

0 commit comments

Comments
 (0)