Skip to content

Commit 594ed57

Browse files
author
Tore Kasper Frederiksen
committed
Updated naming convention
1 parent 582f80f commit 594ed57

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ERCs/ERC5XXX draft.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ The keywords “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL N
9494
We define a scriptURI element using the following structs:
9595

9696
```
97-
struct ScriptURI {
98-
ScriptURIElement[] scriptURIElements;
97+
struct scriptURI {
98+
scriptURIElement[] scriptURIElements;
9999
}
100-
struct ScriptURIElement {
100+
struct scriptURIElement {
101101
string URIOfScript;
102102
string URIOfSignature;
103103
}
@@ -108,7 +108,7 @@ Based on these elements we define the smart contract interface below:
108108
interface IERC5XXX {
109109
/// @dev This event emits when the scriptURI is updated,
110110
/// so wallets implementing this interface can update a cached script
111-
event ScriptUpdate(ScriptURI memory newScriptURI);
111+
event ScriptUpdate(scriptURI memory newScriptURI);
112112
113113
/// @dev This event emits when the script/scriptURI signing key is updated,
114114
/// so wallets implementing this interface can update a cached script
@@ -117,16 +117,16 @@ interface IERC5XXX {
117117
118118
/// @notice Get the scriptURI for the contract
119119
/// @return The scriptURI
120-
function scriptURI() external view returns(ScriptURI memory);
120+
function scriptURI() external view returns(scriptURI memory);
121121
122122
/// @notice Get the scriptURI for the contract
123123
/// @return The scriptURI
124124
function verificationKey() external view returns(address memory);
125125
126126
127127
/// @notice Update the scriptURI
128-
/// emits event ScriptUpdate(ScriptURI memory newScriptURI);
129-
function setScriptURI(ScriptURI memory newScriptURI, bytes memory newSigScriptURI) external;
128+
/// emits event ScriptUpdate(scriptURI memory newScriptURI);
129+
function setScriptURI(scriptURI memory newScriptURI, bytes memory newSigScriptURI) external;
130130
131131
/// @notice Set the script/scriptURI signing key
132132
/// emits event VerificationKeyUpdate(address memory newVerificationKey);

0 commit comments

Comments
 (0)