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

cw721-expiration contract with invalid NFT utility #140

Merged
merged 31 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0a93dab
setup new expiration-based cw721 contract
taitruong Nov 4, 2023
5256f3b
prepare expiration and mint timestamps
taitruong Nov 4, 2023
e815aab
instantiate with expiration_days, on mint set timestamp
taitruong Nov 4, 2023
447e4dc
test expiration days
taitruong Nov 4, 2023
3dcc8e6
query nft info with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
6982bf6
query all nft info with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
f11ed40
query owner of with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
0de3666
query approval with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
f24ffaa
query approvals with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
2f7500b
query tokens with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
5a71081
query all tokens with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
f865bd7
transfer nft with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
18c840f
send nft with optional retrieval of invalid/expired NFT
taitruong Nov 5, 2023
20d96f6
fix: invalid nft always needs to be checked (non-optional) on message…
taitruong Nov 5, 2023
d786ca3
approval now asserts invalid/expired NFT
taitruong Nov 5, 2023
44cc6bd
revoke now asserts invalid/expired NFT
taitruong Nov 5, 2023
b9ddb06
rename tests
taitruong Nov 5, 2023
6c79c9a
burn now asserts invalid/expired NFT
taitruong Nov 5, 2023
c8ea4b6
rename
taitruong Nov 5, 2023
04abc5b
add readme
taitruong Nov 5, 2023
960857a
cargo schema
taitruong Nov 5, 2023
2f210f7
update README
taitruong Nov 5, 2023
ed3f65c
cleanup
taitruong Nov 5, 2023
5311eb9
cargo fmt
taitruong Nov 5, 2023
e1f2154
update latest lib version
taitruong Dec 7, 2023
3f4188e
issue #141, fix linter: to_binary > to_json_binary, from_binary > fro…
taitruong Dec 7, 2023
e333a39
cargo clippy
taitruong Dec 7, 2023
25c573a
ignore raw json schema files
taitruong Dec 7, 2023
d88a6c3
cargo fmt
taitruong Dec 7, 2023
82c5b41
cargo clippy
taitruong Dec 7, 2023
d398f19
cargo clippy
taitruong Dec 7, 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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ contracts.txt
artifacts/

# code coverage
tarpaulin-report.*
tarpaulin-report.*

# raw json schema files
**/raw/*.json
Loading