Skip to content

Commit

Permalink
Merge pull request #53 from sea-snake/patch-1
Browse files Browse the repository at this point in the history
ICRC-7 language fixes
  • Loading branch information
dietersommer committed Feb 12, 2024
2 parents fc95409 + 7140079 commit 6809348
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ICRCs/ICRC-7/ICRC-7.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Analogous to [ICRC-1 metadata](https://github.com/dfinity/ICRC-1/tree/main/stand
The set of elements contained in a specific ledger's metadata depends on the ledger implementation, the list below establishes the currently defined fields.

The following metadata fields are defined by ICRC-7, starting with general collection-specific metadata fields:
* `icrc7:symbol` of type `text`: The token symbol. Token symbols are often represented similar to [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217)) currency codes. When present, should be the same as the result of the [`icrc7_symbol`](#icrc7_symbol) query call.
* `icrc7:symbol` of type `text`: The token symbol. Token symbols are often represented similar to [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217)) currency codes. Should be the same as the result of the [`icrc7_symbol`](#icrc7_symbol) query call.
* `icrc7:name` of type `text`: The name of the token. Should be the same as the result of the [`icrc7_name`](#icrc7_name) query call.
* `icrc7:description` of type `text` (optional): A textual description of the token. When present, should be the same as the result of the [`icrc7_description`](#icrc7_description) query call.
* `icrc7:logo` of type `text` (optional): The URL of the token logo. It may be a [DataURL](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs) that contains the logo image itself. When present, should be the same as the result of the [`icrc7_logo`](#icrc7_logo) query call.
Expand Down Expand Up @@ -318,16 +318,15 @@ Batch transfers are *not atomic* by default, i.e., a user SHOULD not assume that

```candid "Type definitions" +=
TransferArg = record {
from_subaccount: opt blob; // the subaccount to transfer the token from
from_subaccount: opt blob; // The subaccount to transfer the token from
to : Account;
token_id : nat;
// type: leave open for now
memo : opt blob;
created_at_time : opt nat64;
};
type TransferResult = variant {
Ok : nat; // Transaction indices for successful transfers
Ok : nat; // Transaction index for successful transfer
Err : TransferError;
};
Expand Down

0 comments on commit 6809348

Please sign in to comment.