From 727ba481d174fed027f1a842b60096268e359b0e Mon Sep 17 00:00:00 2001 From: panindustrial-dev Date: Tue, 5 Dec 2023 15:15:13 -0600 Subject: [PATCH] Updated Mops and Burn Account --- CHANGELOG.md | 9 +++++++++ example/main.mo | 3 ++- mops.toml | 8 ++++---- 3 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..203c094 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog + +# v0.1.1 + +Update mops + +# v0.1.0 + +Initial Release \ No newline at end of file diff --git a/example/main.mo b/example/main.mo index 79b80d4..78dd238 100644 --- a/example/main.mo +++ b/example/main.mo @@ -64,7 +64,7 @@ shared(_init_msg) actor class Example(_args : { max_take_value = ?10000; max_memo_size = ?512; permitted_drift = null; - + burn_account = null; //burned nfts are deleted deployer = init_msg.caller; } : ICRC7.InitArgs; }; @@ -111,6 +111,7 @@ shared(_init_msg) actor class Example(_args : { maxRecordsToArchive = 10_000; archiveCycles = 2_000_000_000_000; //two trillion archiveControllers = null; + } }; case(?val) _args.icrc3_args; diff --git a/mops.toml b/mops.toml index 95f41ca..50e693a 100644 --- a/mops.toml +++ b/mops.toml @@ -1,6 +1,6 @@ [package] -name = "icrc_nft-mo" -version = "0.1.0" +name = "icrc-nft-mo" +version = "0.1.1" description = "icrc based nft example for motoko" repository = "https://github.com/PanIndustrial-Org/icrc_nft.mo" keywords = [ "nft" ] @@ -19,8 +19,8 @@ cert = "https://github.com/nomeata/ic-certification#v0.1.3@c403ffec0a60f658a1009 vector = "0.2.0" rep-indy-hash = "0.1.1" icrc3-mo = "0.1.0" -icrc30-mo = "0.1.0" -icrc7-mo = "0.1.0" +icrc30-mo = "0.2.0" +icrc7-mo = "0.2.1" [dev-dependencies] test = "1.1.1"