Skip to content

Commit 9fd0215

Browse files
author
Weiwu Zhang
committed
Merge branch 'new_ercs' of github.com:TokenScript/TokenScript into new_ercs
2 parents 9409fb1 + 594ed57 commit 9fd0215

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
@@ -95,10 +95,10 @@ The keywords “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL N
9595
We 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:
109109
interface 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

Comments
 (0)