@@ -95,10 +95,10 @@ The keywords “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL N
9595We define a scriptURI element using the following structs:
9696
9797```
98- struct ScriptURI {
99- ScriptURIElement [] scriptURIElements;
98+ struct scriptURI {
99+ scriptURIElement [] scriptURIElements;
100100}
101- struct ScriptURIElement {
101+ struct scriptURIElement {
102102 string URIOfScript;
103103 string URIOfSignature;
104104}
@@ -109,7 +109,7 @@ Based on these elements we define the smart contract interface below:
109109interface IERC5XXX {
110110 /// @dev This event emits when the scriptURI is updated,
111111 /// so wallets implementing this interface can update a cached script
112- event ScriptUpdate(ScriptURI memory newScriptURI);
112+ event ScriptUpdate(scriptURI memory newScriptURI);
113113
114114 /// @dev This event emits when the script/scriptURI signing key is updated,
115115 /// so wallets implementing this interface can update a cached script
@@ -118,16 +118,16 @@ interface IERC5XXX {
118118
119119 /// @notice Get the scriptURI for the contract
120120 /// @return The scriptURI
121- function scriptURI() external view returns(ScriptURI memory);
121+ function scriptURI() external view returns(scriptURI memory);
122122
123123 /// @notice Get the scriptURI for the contract
124124 /// @return The scriptURI
125125 function verificationKey() external view returns(address memory);
126126
127127
128128 /// @notice Update the scriptURI
129- /// emits event ScriptUpdate(ScriptURI memory newScriptURI);
130- function setScriptURI(ScriptURI memory newScriptURI, bytes memory newSigScriptURI) external;
129+ /// emits event ScriptUpdate(scriptURI memory newScriptURI);
130+ function setScriptURI(scriptURI memory newScriptURI, bytes memory newSigScriptURI) external;
131131
132132 /// @notice Set the script/scriptURI signing key
133133 /// emits event VerificationKeyUpdate(address memory newVerificationKey);
0 commit comments