Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update erc20 docs #762

Merged
merged 219 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
331844d
fix: link (#545)
ericnordelo Jan 20, 2023
b9ec20b
add submodule
andrew-fleming Feb 18, 2023
bb40124
update cairo
andrew-fleming Feb 18, 2023
a0c3157
add Cargo and Makefile
andrew-fleming Feb 18, 2023
3a6e20d
update cairo
andrew-fleming Feb 18, 2023
96431de
add deps in cairo_project, create lib
andrew-fleming Feb 18, 2023
7b38706
add presets
andrew-fleming Feb 18, 2023
2fa00dd
add base lib
andrew-fleming Feb 18, 2023
f0036e7
add tests
andrew-fleming Feb 18, 2023
8d781a8
remove old cairo lib and interface
andrew-fleming Feb 18, 2023
ae37b1c
remove unused import
andrew-fleming Feb 18, 2023
da57a91
fix vars
andrew-fleming Feb 18, 2023
fd42fdd
change external funcs to snake case
andrew-fleming Feb 18, 2023
1cb1252
remove unused import
andrew-fleming Feb 18, 2023
f0330cd
update cairo
andrew-fleming Feb 21, 2023
abc737a
add tests for externals
andrew-fleming Feb 21, 2023
4ca2620
add bool assertions
andrew-fleming Feb 21, 2023
8dd8ed3
update cairo
andrew-fleming Feb 22, 2023
091a29c
remove preset mods
andrew-fleming Feb 22, 2023
1c866f2
add IERC20 trait
andrew-fleming Feb 22, 2023
3405063
update cairo
andrew-fleming Feb 22, 2023
8fe3c82
clean up test
andrew-fleming Feb 22, 2023
ad928bc
remove assertion
andrew-fleming Feb 23, 2023
d883eb5
update cairo
andrew-fleming Feb 23, 2023
543501b
simplify max_u256
andrew-fleming Feb 23, 2023
2ecba91
clarify error msg
andrew-fleming Feb 23, 2023
6c3978b
add erc165 + tests
martriay Mar 3, 2023
60365c8
kickstart account module
martriay Mar 3, 2023
be1e9df
clean up python project. ready for rust/cairo1
martriay Mar 7, 2023
c20fd02
rebase to cairo-1
martriay Mar 7, 2023
bce2506
re-structure project
martriay Mar 7, 2023
35ede09
re-structure project
martriay Mar 8, 2023
e55889a
re-structure project
martriay Mar 8, 2023
9d5079c
update makefile
martriay Mar 8, 2023
ae89fa5
bump submodule
martriay Mar 8, 2023
a54e98c
Update erc20 migration branch (#586)
andrew-fleming Mar 28, 2023
91dcad3
Migrate security/initializable (#592)
andrew-fleming Mar 31, 2023
f48da2c
Use zeroable::zero() instead of contract_address_const::<0>() (#598)
Amxx Mar 31, 2023
d671d4c
Migrate security/pausable (#593)
andrew-fleming Mar 31, 2023
e86bcd2
add utils and constants
andrew-fleming Apr 18, 2023
42a160f
Revert "add utils and constants"
andrew-fleming Apr 18, 2023
598c232
Migrate ERC165 (#582)
martriay Apr 26, 2023
b2624ee
Migrate constants (#611)
andrew-fleming Apr 26, 2023
4a4bca9
Set up new CI (#599)
andrew-fleming Apr 27, 2023
0962051
fix formatting (#613)
andrew-fleming Apr 28, 2023
a1950ee
Normalize error message style (#606)
andrew-fleming Apr 28, 2023
c29b45c
Add `BoundedInt` and internal macros, update cairo (#600)
andrew-fleming Apr 28, 2023
e48a682
Migrate ownable (#604)
andrew-fleming May 11, 2023
5f86f65
Migrate security/reentrancyguard (#590)
andrew-fleming May 19, 2023
897facb
Migrate access control (#605)
andrew-fleming May 19, 2023
372de37
Migrate account (#620)
andrew-fleming May 23, 2023
d86eb73
Migrate ERC721 (#619)
martriay May 30, 2023
62688e7
Dual interface dispatcher for ERC721 (#623)
martriay Jul 2, 2023
ba69328
Replace ERC-165 with SRC-5 (Update Interface Ids) (#637)
ericnordelo Jul 2, 2023
8534ec6
Fix conflicts from the dual721 and src5 merge (#641)
andrew-fleming Jul 3, 2023
bc90bd5
Add camel support for ownable (#625)
andrew-fleming Jul 3, 2023
c8fa9f9
Add camel support for access control (#626)
andrew-fleming Jul 5, 2023
3a8e3e7
erc20 dual dispatcher (#622)
andrew-fleming Jul 5, 2023
6a1f729
Add `UnwrapAndCast` trait (#644)
andrew-fleming Jul 6, 2023
bbcb875
add test_dual721 mod (#648)
andrew-fleming Jul 8, 2023
5a27baa
Update account interface (#646)
ericnordelo Jul 10, 2023
ba29133
Add camel support for Account (#647)
ericnordelo Jul 12, 2023
b44f7dc
Add src5 dual dispatcher (#659)
andrew-fleming Jul 12, 2023
33dbd56
Add dual case erc721 receiver (#649)
andrew-fleming Jul 13, 2023
65d03ae
Add owner param to ownable initializer (#660)
ericnordelo Jul 13, 2023
a863859
Migrate SRC5 to Cairo 2 (#664)
ericnordelo Jul 18, 2023
c4590b9
Migrate initializable to cairo2 (#661)
andrew-fleming Jul 18, 2023
f18fcdb
Migrate Account to Cairo 2 (#666)
ericnordelo Jul 20, 2023
dc4a233
Migrate pausable to cairo2 (#662)
andrew-fleming Jul 20, 2023
27514b1
Migrate reentrancyguard to cairo2 (#663)
andrew-fleming Jul 20, 2023
8e10821
Migrate ERC721 to Cairo2 (#667)
ericnordelo Jul 21, 2023
a00a9d3
Migrate ownable to cairo2 (#665)
andrew-fleming Jul 21, 2023
0b40485
Migrate ERC20 to Cairo 2 (#669)
ericnordelo Jul 22, 2023
4e64434
Migrate access control to cairo2 (#668)
andrew-fleming Jul 22, 2023
79fe2db
Migrate to Scarb for cairo-2 (#671)
maciektr Aug 4, 2023
177ad63
Add spdx (#684)
andrew-fleming Aug 4, 2023
495ed8a
feat: sort imports (#679)
ericnordelo Aug 4, 2023
60a13d9
start code comments
andrew-fleming Aug 5, 2023
2448685
start doc update
andrew-fleming Aug 7, 2023
f56af7e
fix typo
andrew-fleming Aug 7, 2023
6347a9a
finish internal descriptions
andrew-fleming Aug 7, 2023
558bcaf
fix comments
andrew-fleming Aug 9, 2023
fe29497
finish api
andrew-fleming Aug 9, 2023
76b2196
add spdx to containing items comments
andrew-fleming Aug 9, 2023
fe66ebc
reorder heading
andrew-fleming Aug 9, 2023
c28c758
Migrate upgrades (#603)
andrew-fleming Aug 10, 2023
f9c30da
Add testing for Ownable events (#675)
ericnordelo Aug 11, 2023
457b98b
Add account events (#687)
andrew-fleming Aug 11, 2023
91ba2fd
Apply suggestions from code review
andrew-fleming Aug 14, 2023
bf7926b
add panics
andrew-fleming Aug 15, 2023
e9bde43
update compatibility, fix TState
andrew-fleming Aug 15, 2023
544ddac
Add testing for AccessControl events (#674)
ericnordelo Aug 15, 2023
4473243
Add testing for Pausable events (#676)
ericnordelo Aug 15, 2023
e95def8
Add testing for ERC20 events (#677)
ericnordelo Aug 15, 2023
77089c1
Add mint to erc721 preset constructor (#700)
andrew-fleming Aug 15, 2023
3e08fa6
Add testing for ERC721 events (#678)
ericnordelo Aug 16, 2023
8307644
Update README and fix scarb package (#688)
martriay Aug 18, 2023
3c1fea2
fix returns format
andrew-fleming Aug 20, 2023
f3d4c08
clean up api
andrew-fleming Aug 20, 2023
69b28df
add panics to description
andrew-fleming Aug 20, 2023
ea8c849
fix allowance descriptions
andrew-fleming Aug 20, 2023
11be6ee
fix spdx
andrew-fleming Aug 22, 2023
fb213ec
clean up comments
andrew-fleming Aug 22, 2023
eccd232
add safety section for _spend_allowance
andrew-fleming Aug 22, 2023
943be87
fix link
andrew-fleming Aug 22, 2023
0e8b2c1
Apply suggestions from code review
andrew-fleming Aug 22, 2023
c129b55
remove redundant line
andrew-fleming Aug 22, 2023
a0711a8
fix starknet casing
andrew-fleming Aug 22, 2023
a6b65a6
remove Returns section
andrew-fleming Aug 22, 2023
73d5051
remove headers, update refs
andrew-fleming Aug 22, 2023
c0f28a9
change code block to js
andrew-fleming Aug 22, 2023
12bc1ae
fix non-standard api
andrew-fleming Aug 22, 2023
94334e2
fix formatting
andrew-fleming Aug 22, 2023
3476bf5
fix preset link
andrew-fleming Aug 22, 2023
898bfe5
remove panic sections
andrew-fleming Aug 22, 2023
c02d593
add overview paragraph
andrew-fleming Aug 22, 2023
cece32b
Bump scarb and fix dual721 test context (#703)
andrew-fleming Aug 23, 2023
32f9974
add rc version (#708)
martriay Aug 23, 2023
b40c35b
remove unused imports (#707)
andrew-fleming Aug 23, 2023
fbdd759
Upgrade Cairo version and Scarb version to latest releases (#712)
Bal7hazar Aug 24, 2023
caa32ca
add erc20 api
andrew-fleming Aug 24, 2023
e0cf3bf
add api dir
andrew-fleming Aug 24, 2023
836c604
refactor erc20 docs
andrew-fleming Aug 24, 2023
aef044a
change interface format, clean up links
andrew-fleming Aug 25, 2023
d8eb2da
clean up links
andrew-fleming Aug 25, 2023
25bf545
remove toc
andrew-fleming Aug 25, 2023
f670734
add toc
andrew-fleming Aug 25, 2023
05429e4
bump antora (#715)
martriay Aug 28, 2023
93d7f13
Update docs/modules/ROOT/pages/erc20.adoc
andrew-fleming Sep 5, 2023
0b92757
move and fix warning
andrew-fleming Sep 5, 2023
391e28f
add sidebar collapse
andrew-fleming Sep 6, 2023
a910971
nest api in erc20 section
andrew-fleming Sep 6, 2023
e387c7a
add internals and update api
andrew-fleming Sep 7, 2023
3524d78
add erc20 supply guide
andrew-fleming Sep 8, 2023
f39a001
fix preset order
andrew-fleming Sep 8, 2023
871373e
fix decimals comment
andrew-fleming Sep 8, 2023
adac09f
Add selector inline macro/fix `tokenURI` (#724)
andrew-fleming Sep 8, 2023
719c73e
Merge branch 'cairo-2' into add-erc20-docs
andrew-fleming Sep 12, 2023
0654e4a
Apply suggestions from code review
andrew-fleming Sep 12, 2023
e58b3e5
remove preset section sentence
andrew-fleming Sep 12, 2023
058c29e
change theme to dark
andrew-fleming Sep 12, 2023
bd1554f
remove types from ierc20 list
andrew-fleming Sep 12, 2023
e89eadd
add erc20camel api
andrew-fleming Sep 12, 2023
108dfbf
add function headers
andrew-fleming Sep 12, 2023
396ed19
fix camel func type
andrew-fleming Sep 12, 2023
4d01b98
add usage section
andrew-fleming Sep 13, 2023
cf4d911
add selector calculation difference
andrew-fleming Sep 13, 2023
42a6baf
remove toc
andrew-fleming Sep 13, 2023
a2773d0
add warning to example
andrew-fleming Sep 13, 2023
fec2cac
fix comment
andrew-fleming Sep 13, 2023
3a3defc
fix _mint comment
andrew-fleming Sep 13, 2023
90be39f
fix: naming convention (#732)
ericnordelo Sep 14, 2023
fcdd6d1
feat: add Errors modules (#691)
ericnordelo Sep 14, 2023
64b1d5e
add warning to example
andrew-fleming Sep 14, 2023
2065725
remove internal and external headings
andrew-fleming Sep 14, 2023
7b60c06
fix ierc20
andrew-fleming Sep 14, 2023
84a7724
fix _transfer description
andrew-fleming Sep 14, 2023
e3de233
change panics to requirements
andrew-fleming Sep 14, 2023
f025056
fix _approve description
andrew-fleming Sep 14, 2023
d6c8314
fix highlight
andrew-fleming Sep 14, 2023
f2f9733
fix usage sentence
andrew-fleming Sep 14, 2023
2758103
add custom decimals doc
andrew-fleming Sep 14, 2023
f671712
fix conflicts
andrew-fleming Sep 14, 2023
a8d6279
Apply suggestions from code review
andrew-fleming Sep 15, 2023
87d76d6
change two colons to hyphen
andrew-fleming Sep 15, 2023
c4bac1d
move decimals section to main page
andrew-fleming Sep 15, 2023
416a194
remove unused links
andrew-fleming Sep 15, 2023
132b51b
normalize ids
andrew-fleming Sep 15, 2023
0ac1709
fix code block
andrew-fleming Sep 15, 2023
fd6d369
fix intro paragraph
andrew-fleming Sep 15, 2023
f7e3361
simplify sentence
andrew-fleming Sep 15, 2023
7373daa
Update account docs (#709)
ericnordelo Sep 15, 2023
e00e04a
fix example
andrew-fleming Sep 15, 2023
4ff0a00
fix comment
andrew-fleming Sep 18, 2023
d3ad5d5
add parenthesis
andrew-fleming Sep 18, 2023
cbb5bf5
Add Interface & Dispatchers docs (#730)
martriay Sep 20, 2023
b9c790d
add headings in api
andrew-fleming Sep 20, 2023
e00f84d
fix conflicts
andrew-fleming Sep 20, 2023
4691b79
remove underscore from name_ and symbol_
andrew-fleming Sep 20, 2023
4e388f5
Update overview docs (#735)
ericnordelo Sep 20, 2023
a1b559c
remove underscore from name_ and symbol_ (#738)
andrew-fleming Sep 21, 2023
004edb6
Apply suggestions from code review
andrew-fleming Sep 22, 2023
84f8811
move non-standard items under ierc20
andrew-fleming Sep 22, 2023
163e4c2
change ierc20 interface to erc20 abi
andrew-fleming Sep 23, 2023
5d227a9
add description to interface
andrew-fleming Sep 24, 2023
3237963
remove presets and extensions
andrew-fleming Sep 24, 2023
0044854
fix conflicts
andrew-fleming Sep 24, 2023
d137ed9
Apply suggestions from code review
andrew-fleming Sep 24, 2023
500863f
add decimals warning
andrew-fleming Sep 25, 2023
9a03b5e
fix api refs
andrew-fleming Sep 25, 2023
9edba13
fix differences sentence
andrew-fleming Sep 26, 2023
74eb4e8
Add prefixes to storage members (#743)
ericnordelo Sep 26, 2023
6c39d25
Apply suggestions from code review
andrew-fleming Sep 26, 2023
2e73728
move reqs to abi
andrew-fleming Sep 27, 2023
8fd829b
fix links
andrew-fleming Sep 27, 2023
e47f1d5
fix internal func descriptions
andrew-fleming Sep 27, 2023
703edc4
Apply suggestions from code review
andrew-fleming Sep 27, 2023
420f320
Sanitizing for release. (#736)
ericnordelo Sep 27, 2023
0af205d
move decimals warning
andrew-fleming Sep 27, 2023
dda0243
fix selectors sentence
andrew-fleming Sep 27, 2023
36fd1aa
remove grayed-out subsections
andrew-fleming Sep 27, 2023
5fc949b
fix descriptions
andrew-fleming Sep 27, 2023
a6731c3
Update Access Control docs (#719)
ericnordelo Sep 28, 2023
2ac98be
Add indexed keys to token events (#746)
andrew-fleming Sep 29, 2023
bf79128
Apply suggestions from code review
andrew-fleming Sep 29, 2023
4ce5309
Update Introspection docs (#721)
ericnordelo Sep 29, 2023
fe695e4
Update upgrade docs (#731)
ericnordelo Sep 29, 2023
9cf4d78
add dual interface link, edit compatibility section
andrew-fleming Sep 29, 2023
256dc49
reorder internal fns
andrew-fleming Sep 29, 2023
5f86f8e
fix non-standard order
andrew-fleming Sep 29, 2023
88c62e6
Merge branch 'main' into cairo-2
martriay Sep 29, 2023
c4082a1
fix conflicts
andrew-fleming Sep 29, 2023
b726038
fix formatting
andrew-fleming Sep 29, 2023
a2a0e82
fix conflicts
andrew-fleming Sep 29, 2023
32601ed
fix event refs
andrew-fleming Oct 2, 2023
d475414
fix comment, fix casing
andrew-fleming Oct 2, 2023
f600c97
add space
andrew-fleming Oct 2, 2023
c14ee76
remove line
andrew-fleming Oct 2, 2023
7d48d22
fix subsections
andrew-fleming Oct 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
* xref:access.adoc[Access Control]
** xref:/api/access.adoc[API Reference]

// * Tokens
// ** xref:erc20.adoc[ERC20]
* Tokens
** xref:erc20.adoc[ERC20]
*** xref:/guides/erc20-supply.adoc[Creating Supply]
*** xref:/api/erc20.adoc[API Reference]
// ** xref:erc721.adoc[ERC721]
// ** xref:erc1155.adoc[ERC1155]

Expand Down