Commit 91b632c
feat: implement ICS-721 NFT transfer application (#1053)
* feat: establish ICS-721 boilerplate, ready for new additions (#1012)
* chore: establish ics721 boilerplate, ready for new additions
* nit
* Implement ICS-721 NFT transfer (#1020)
* WIP: add types and contexts
* WIP: add events
* WIP: implement modules
* add send_transfer
* add recv and refund handlers
* add tests
* fix send and recv
* fix context and add tests
* fix fmt
* fix for CI
* fix messages and serde
* fix comments
* Add (de)serialization tests for `DataValue`, `TokenUri`, and `ClassUri` types (#1027)
* WIP: add types and contexts
* WIP: add events
* WIP: implement modules
* add send_transfer
* add recv and refund handlers
* add tests
* fix send and recv
* fix context and add tests
* fix fmt
* fix for CI
* fix messages and serde
* fix comments
* Stub out DataValue Borsh unit test
* Add basic borsh (de)ser roundtrip tests
* Add basic serde roundtrip tests for DataValue
* Add json (de)serialization tests
* Add roundtrip tests for TokenUri
* Add roundtrip tests for ClassUri
* Remove ignore statement on a test
* Resolve clippy warning
* Change packet data dummy json strings to use camel case
* Configure nft-transfer app under std feature flag
* Move cfg statement
* Add nft-transfer feature
* Add nft-transfer feature
* Remove nft-transfer feature from default features
* Remove `optional = true` from `http` dependency
---------
Co-authored-by: yito88 <yuji@phact-columba.com>
* fix: calculate trace hash from both class ID and token ID (#1032)
* trace hash with class ID and token ID
* add serde flag
* Fix ClassData and TokenData encoding in NonFungiblePacketData (#1038)
* fix encoding for ClassData and TokenData
* fix Cargo.toml
* Support ClassData and TokenData not according to ICS-721 spec (#1039)
* skip validation, make some data optional
* check the length of token_uri and token_data
* fix to set TokenData and TokenUri at once
* imp: add validate_basic method for PacketData
* imp: allow any format for Data + define parse_as_ics721_data method
* fmt and clippy
* custom serde packet data with option
* add a test
* restore conversions
---------
Co-authored-by: Farhad Shabani <farhad.shabani@gmail.com>
* chore: add unclog
* nit: fix docstrings
---------
Co-authored-by: Yuji Ito <yito88@users.noreply.github.com>
Co-authored-by: Sean Chen <seanchen11235@gmail.com>
Co-authored-by: yito88 <yuji@phact-columba.com>1 parent ee92645 commit 91b632c
File tree
33 files changed
+3940
-104
lines changed- .changelog/unreleased/features
- ci/no-std-check
- ibc-apps
- ics721-nft-transfer
- src
- handler
- types
- src
- msgs
- src
- ibc-primitives/src
- ibc-testkit
- src/testapp/ibc/applications
- nft_transfer
- tests/applications
33 files changed
+3940
-104
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
0 commit comments