-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: update the example with more cases
- Loading branch information
1 parent
347a7d7
commit 7553643
Showing
3 changed files
with
114 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,4 +107,7 @@ dist | |
|
||
.npmrc | ||
|
||
*.js | ||
*.js | ||
|
||
# local folder for tests | ||
local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
[ | ||
{ | ||
"members":[ | ||
{ | ||
"name":"low", | ||
"offset":0, | ||
"type":"felt" | ||
}, | ||
{ | ||
"name":"high", | ||
"offset":1, | ||
"type":"felt" | ||
} | ||
], | ||
"name":"Uint256", | ||
"size":2, | ||
"type":"struct" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"name":"par1", | ||
"type":"felt" | ||
}, | ||
{ | ||
"name":"symbol", | ||
"type":"felt" | ||
}, | ||
{ | ||
"name":"decimals", | ||
"type":"felt" | ||
}, | ||
{ | ||
"name":"initial_supply", | ||
"type":"Uint256" | ||
}, | ||
{ | ||
"name":"recipient", | ||
"type":"felt" | ||
} | ||
], | ||
"name":"constructor", | ||
"outputs":[ | ||
|
||
], | ||
"type":"constructor" | ||
}, | ||
{ | ||
"inputs":[ | ||
|
||
], | ||
"name":"fun1", | ||
"outputs":[ | ||
{ | ||
"name":"par1", | ||
"type":"felt" | ||
}, | ||
{ | ||
"name":"par2", | ||
"type":"Uint256" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"name":"x", | ||
"type":"felt" | ||
}, | ||
{ | ||
"name":"y", | ||
"type":"felt" | ||
} | ||
], | ||
"name":"fun2", | ||
"outputs":[ | ||
|
||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
}, | ||
{ | ||
"inputs":[ | ||
{ | ||
"name":"account", | ||
"type":"felt" | ||
} | ||
], | ||
"name":"balanceOf", | ||
"outputs":[ | ||
{ | ||
"name":"balance", | ||
"type":"Uint256" | ||
} | ||
], | ||
"stateMutability":"view", | ||
"type":"function" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters