Skip to content

Commit

Permalink
Update to ICRC10
Browse files Browse the repository at this point in the history
  • Loading branch information
panindustrial-dev committed Mar 20, 2024
1 parent 0260bfb commit a6a059e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mops.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ matchers = "https://github.com/kritzcreek/motoko-matchers#v1.3.0@3dac8a071b69e4e

[package]
name = "icrc-fungible"
version = "0.0.4"
description = "ICRC1, ICRC2, ICRC3, ICRC4, and ICRC61 fungible token for motoko"
version = "0.0.5"
description = "ICRC1, ICRC2, ICRC3, ICRC4, and ICRC10 fungible token for motoko"
repository = "https://github.com/PanIndustrial-Org/ICRC_fungible"
keywords = [
"icrc2",
"icrc1",
"icrc3",
"icrc4",
"icrc61",
"icrc10",
"fungible",
"token",
"standard"
Expand Down
6 changes: 3 additions & 3 deletions src/Token.mo
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ shared ({ caller = _owner }) actor class Token (args: ?{
url = "https://github.com/dfinity/ICRC/ICRCs/icrc-3/"
});
ignore initclass.register_supported_standards({
name = "ICRC-61";
url = "https://github.com/dfinity/ICRC/ICRCs/icrc-61/"
name = "ICRC-10";
url = "https://github.com/dfinity/ICRC/ICRCs/icrc-10/"
});
_icrc1 := ?initclass;
initclass;
Expand Down Expand Up @@ -372,7 +372,7 @@ shared ({ caller = _owner }) actor class Token (args: ?{
icrc1().supported_standards();
};

public shared query func icrc61_supported_standards() : async [ICRC1.SupportedStandard] {
public shared query func icrc10_supported_standards() : async [ICRC1.SupportedStandard] {
icrc1().supported_standards();
};

Expand Down

0 comments on commit a6a059e

Please sign in to comment.