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 erc721 docs #763

Merged
merged 263 commits into from
Nov 26, 2023
Merged
Show file tree
Hide file tree
Changes from 196 commits
Commits
Show all changes
263 commits
Select commit Hold shift + click to select a range
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
e8216d8
start erc721 comments
andrew-fleming Aug 10, 2023
c28c758
Migrate upgrades (#603)
andrew-fleming Aug 10, 2023
7dbfca9
finish basic comments for interface
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
5b766fb
fix comments
andrew-fleming Aug 13, 2023
258d62d
finish ierc721 api
andrew-fleming Aug 13, 2023
bd44376
update erc721receiver
andrew-fleming Aug 14, 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
da96f33
work on internalImpl
andrew-fleming Aug 17, 2023
ae54350
finish api
andrew-fleming Aug 18, 2023
8307644
Update README and fix scarb package (#688)
martriay Aug 18, 2023
b3761ca
clean up ERC721Received section
andrew-fleming Aug 19, 2023
38c6ce6
trim comments
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
755d8f6
change code block to js
andrew-fleming Aug 23, 2023
e304e7e
remove headers
andrew-fleming Aug 24, 2023
a30d12b
fix state
andrew-fleming Aug 24, 2023
d43e393
remove panics
andrew-fleming Aug 24, 2023
c5a81cb
remove example
andrew-fleming Aug 24, 2023
2da60ba
add section overview
andrew-fleming Aug 24, 2023
935b241
fix typo
andrew-fleming Aug 24, 2023
b58d90c
finish internal fn comments
andrew-fleming Aug 24, 2023
fbdd759
Upgrade Cairo version and Scarb version to latest releases (#712)
bal7hazar Aug 24, 2023
7f4e462
add erc721 api
andrew-fleming Aug 25, 2023
249f4bf
add api page, start metadata
andrew-fleming Aug 25, 2023
0fba707
add erc721 api
andrew-fleming Aug 28, 2023
d629a45
remove api, start doc refactor
andrew-fleming Aug 28, 2023
2588451
fix links
andrew-fleming Aug 28, 2023
05429e4
bump antora (#715)
martriay Aug 28, 2023
adac09f
Add selector inline macro/fix `tokenURI` (#724)
andrew-fleming Sep 8, 2023
00fa582
nest erc721 api
andrew-fleming Sep 8, 2023
9d112ae
fix conflicts
andrew-fleming Sep 8, 2023
2f0b904
add InternalImpl to api
andrew-fleming Sep 10, 2023
7bcae47
fix link
andrew-fleming Sep 10, 2023
ca8052d
fix links, add function headers
andrew-fleming Sep 10, 2023
89c8536
fix links, tidy up
andrew-fleming Sep 10, 2023
5fde8b1
fix link
andrew-fleming Sep 11, 2023
90be39f
fix: naming convention (#732)
ericnordelo Sep 14, 2023
fcdd6d1
feat: add Errors modules (#691)
ericnordelo Sep 14, 2023
79e5127
change to dark theme
andrew-fleming Sep 15, 2023
a93462b
fix functions heading
andrew-fleming Sep 15, 2023
643ddc3
change panics to requirements
andrew-fleming Sep 15, 2023
7373daa
Update account docs (#709)
ericnordelo Sep 15, 2023
0b451c3
refactor usage section
andrew-fleming Sep 18, 2023
bd5a36e
add camel methods, link to introspection
andrew-fleming Sep 18, 2023
299ccdd
fix last paragraph
andrew-fleming Sep 18, 2023
a6ccfeb
fix conflicts
andrew-fleming Sep 18, 2023
f407d82
fix constructor comment
andrew-fleming Sep 18, 2023
aeeb0de
add external/internal headings in func list
andrew-fleming Sep 18, 2023
2c84e03
clean up comments
andrew-fleming Sep 18, 2023
2550b6a
remove unnecessary list items
andrew-fleming Sep 18, 2023
bf3df1b
remove list item
andrew-fleming Sep 18, 2023
db20994
add parenthesis
andrew-fleming Sep 18, 2023
681ef1f
add isrc5 to example
andrew-fleming Sep 19, 2023
15217df
fix impls
andrew-fleming Sep 19, 2023
9c0c314
Apply suggestions from code review
andrew-fleming Sep 19, 2023
17c0276
add interface sections near top
andrew-fleming Sep 19, 2023
a5367e7
fix erc165 storage link and compatibility section
andrew-fleming Sep 19, 2023
ad6d1a1
clean up compatibility section
andrew-fleming Sep 19, 2023
920ea79
add api links, remove dash from SRCs
andrew-fleming Sep 19, 2023
386a204
remove presets and extensions
andrew-fleming Sep 19, 2023
e70ba71
tidy up usage
andrew-fleming Sep 20, 2023
1f6b1a1
fix heading
andrew-fleming Sep 20, 2023
ee1efbd
add more api links
andrew-fleming Sep 20, 2023
d389d0e
add src5 link
andrew-fleming Sep 20, 2023
cbb5bf5
Add Interface & Dispatchers docs (#730)
martriay Sep 20, 2023
4e388f5
Update overview docs (#735)
ericnordelo Sep 20, 2023
188b1ae
add _mint_with_uri to example
andrew-fleming Sep 21, 2023
60f632d
Apply suggestions from code review
andrew-fleming Sep 21, 2023
4b48d2a
add headings
andrew-fleming Sep 21, 2023
0ea5ef1
fix conflicts
andrew-fleming Sep 21, 2023
a1b559c
remove underscore from name_ and symbol_ (#738)
andrew-fleming Sep 21, 2023
b18c9d6
Apply suggestions from code review
andrew-fleming Sep 25, 2023
8e89139
normalize formatting
andrew-fleming Sep 26, 2023
e674f3f
normalize warning
andrew-fleming Sep 26, 2023
2353e0e
simplify code block
andrew-fleming Sep 26, 2023
8e39023
fix conflicts
andrew-fleming Sep 26, 2023
74eb4e8
Add prefixes to storage members (#743)
ericnordelo Sep 26, 2023
ddbbc81
fix compatibility heading
andrew-fleming Sep 26, 2023
5773786
add erc721abi interface
andrew-fleming Sep 26, 2023
fe26ac2
fix heading
andrew-fleming Sep 26, 2023
78d0f89
fix interface intro
andrew-fleming Sep 26, 2023
a6ce5fb
consolidate token transfers section
andrew-fleming Sep 26, 2023
cf3ff1e
normalize function order
andrew-fleming Sep 27, 2023
fd4f44b
remove grayed-out subsections
andrew-fleming Sep 27, 2023
078bf9d
add src5 ids
andrew-fleming Sep 27, 2023
1f96b38
add link to src5 id
andrew-fleming Sep 27, 2023
251bc2c
remove extra line
andrew-fleming Sep 27, 2023
420f320
Sanitizing for release. (#736)
ericnordelo Sep 27, 2023
568f14c
move reqs to preset api
andrew-fleming Sep 27, 2023
55fea61
fix conflicts
andrew-fleming Sep 27, 2023
409c01a
fix description
andrew-fleming Sep 27, 2023
8974c68
fix typo
andrew-fleming Sep 27, 2023
fd9bb81
fix src5 link
andrew-fleming Sep 28, 2023
5d09da8
fix metadata description
andrew-fleming Sep 28, 2023
a6731c3
Update Access Control docs (#719)
ericnordelo Sep 28, 2023
2ac98be
Add indexed keys to token events (#746)
andrew-fleming Sep 29, 2023
4ce5309
Update Introspection docs (#721)
ericnordelo Sep 29, 2023
fe695e4
Update upgrade docs (#731)
ericnordelo Sep 29, 2023
88c62e6
Merge branch 'main' into cairo-2
martriay Sep 29, 2023
f308701
Merge branch 'cairo-2' into add-erc721-docs
andrew-fleming Oct 1, 2023
b8823f4
fix conflicts
andrew-fleming Oct 1, 2023
bdab69e
fix comment
andrew-fleming Oct 2, 2023
c98f0f8
fix conflicts
andrew-fleming Oct 4, 2023
95ffdbe
Apply suggestions from code review
andrew-fleming Oct 13, 2023
ce7d1f3
fix comments
andrew-fleming Oct 13, 2023
3b94266
fix fn list, add camelCase section
andrew-fleming Oct 13, 2023
6ce354c
add erc721 abi
andrew-fleming Oct 13, 2023
272ef18
fix comment
andrew-fleming Oct 13, 2023
007d85e
fix comments
andrew-fleming Oct 13, 2023
b2d6f35
fix conflicts
andrew-fleming Oct 13, 2023
103375f
consolidate mocks
andrew-fleming Oct 16, 2023
7968708
add erc721abi
andrew-fleming Oct 16, 2023
4e09fb6
migrate to component
andrew-fleming Oct 16, 2023
8da4c00
use abi dispatcher
andrew-fleming Oct 16, 2023
5cc8a6d
start updating tests
andrew-fleming Oct 16, 2023
1f29ac1
add pop_log_comp_indexed
andrew-fleming Oct 16, 2023
8d14e0f
update tests
andrew-fleming Oct 16, 2023
18f5f23
fix formatting
andrew-fleming Oct 16, 2023
3b2259b
add erc721camelabi
andrew-fleming Oct 16, 2023
4396dcc
remove unnecessary trait
andrew-fleming Oct 17, 2023
5cbb3b1
remove code comments
andrew-fleming Oct 17, 2023
c820965
add code comments
andrew-fleming Oct 17, 2023
b42744b
change import style
andrew-fleming Oct 17, 2023
aac3940
fix conflicts
andrew-fleming Oct 19, 2023
816a28a
Update src/token/erc721/erc721.cairo
andrew-fleming Oct 19, 2023
682887c
remove unnecessary fn
andrew-fleming Oct 19, 2023
4499d24
change back to pop_log
andrew-fleming Oct 19, 2023
0c9427b
flatten event in mock
andrew-fleming Oct 19, 2023
4e58863
flatten events in mocks
andrew-fleming Oct 26, 2023
e8b696a
Merge branch 'main' into component-erc721
andrew-fleming Oct 26, 2023
4e459f9
change receiver to component
andrew-fleming Oct 27, 2023
c01445f
fix formatting
andrew-fleming Oct 27, 2023
04be9e9
simplify camel return id
andrew-fleming Oct 27, 2023
d89af43
fix imports
andrew-fleming Oct 30, 2023
3f5c77a
fix imports
andrew-fleming Oct 30, 2023
ab72343
fix tokenURI
andrew-fleming Oct 30, 2023
2a853c4
add Component suffix
andrew-fleming Oct 31, 2023
4893df9
add Component suffix to receiver
andrew-fleming Oct 31, 2023
3cf4940
fix formatting
andrew-fleming Oct 31, 2023
74ce94e
fix formatting
andrew-fleming Oct 31, 2023
1c106a6
add receiver tests
andrew-fleming Nov 1, 2023
0941a61
fix formatting and test
andrew-fleming Nov 1, 2023
cf7b7d6
remove import
andrew-fleming Nov 1, 2023
d5feed7
add code comments
andrew-fleming Nov 1, 2023
0cc9420
fix conflicts
andrew-fleming Nov 2, 2023
35f144c
fix conflicts
andrew-fleming Nov 2, 2023
e8f6a3a
simplify with get_dep_component_mut
andrew-fleming Nov 2, 2023
50e7f26
add recipient to constructor
andrew-fleming Nov 4, 2023
cd86147
remove unused mocks
andrew-fleming Nov 4, 2023
9ee7511
simplify mocks
andrew-fleming Nov 4, 2023
8d0cd9c
fix formatting
andrew-fleming Nov 4, 2023
d518fcf
Update src/tests/token/test_erc721.cairo
andrew-fleming Nov 6, 2023
8094a96
fix impl order
andrew-fleming Nov 6, 2023
94b3044
Merge branch 'main' into add-erc721-docs
andrew-fleming Nov 9, 2023
4ce5a7c
start interface section edit
andrew-fleming Nov 9, 2023
f917443
fix fn order
andrew-fleming Nov 9, 2023
a048b8a
fix title
andrew-fleming Nov 9, 2023
d4424e4
Merge branch 'component-erc721' into add-erc721-docs
andrew-fleming Nov 9, 2023
73d5693
fix conflicts
andrew-fleming Nov 9, 2023
eb9ecf8
update usage section, fix code examples
andrew-fleming Nov 9, 2023
2d2ca00
update receiver section
andrew-fleming Nov 10, 2023
78cd8d6
fix conflicts
andrew-fleming Nov 10, 2023
03b5d5a
remove the constructor
andrew-fleming Nov 10, 2023
0ddf9fa
change to component, remove src5
andrew-fleming Nov 11, 2023
6397666
clean up metadata section
andrew-fleming Nov 11, 2023
5599636
remove src5 from interface section
andrew-fleming Nov 12, 2023
42f7b8f
fix symbol link
andrew-fleming Nov 12, 2023
3fe29ff
fix safe descriptions
andrew-fleming Nov 13, 2023
e7d7500
fix camel fn order
andrew-fleming Nov 13, 2023
6bfc301
fix typos
andrew-fleming Nov 13, 2023
d1146c9
simplify interface section
andrew-fleming Nov 13, 2023
2e45ee0
fix impl order in code blocks
andrew-fleming Nov 13, 2023
94734d9
fix usage sentence
andrew-fleming Nov 13, 2023
033df18
add erc20 camel impl to examples
andrew-fleming Nov 13, 2023
51f6d77
fix usage section
andrew-fleming Nov 13, 2023
563e177
Apply suggestions from code review
andrew-fleming Nov 22, 2023
b6e512c
reorder components in code examples
andrew-fleming Nov 22, 2023
054caee
Apply suggestions from code review
andrew-fleming Nov 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
** xref:erc20.adoc[ERC20]
*** xref:/guides/erc20-supply.adoc[Creating Supply]
*** xref:/api/erc20.adoc[API Reference]
// ** xref:erc721.adoc[ERC721]

** xref:erc721.adoc[ERC721]
*** xref:/api/erc721.adoc[API Reference]
// ** xref:erc1155.adoc[ERC1155]

// * xref:security.adoc[Security]
Expand Down
Loading