I hope the old endpoint still works and captures movements of tokens… it will be a real pain to modify all the ICRC index canisters I’ve just setup for 221Bravo.
Got about 30 canisters churning through transaction data. Looking to add OGY sometime soon
Ah ok - am I right in thinking that approve transactions dont change the balance of an account and only earmark funds that can be transferred on another users’ behalf? Is the changing of balances still done with a transfer transaction?
Tokens are transferred by icrc1_transfer or a icrc2_transfer_from but icrc2_approve charges a fee for recording the approval and therefore it changes the balance of the “approver”.
For instance, let’s say that Alice approves Bob. If the approval is successful then the balance of Alice has been decreased of the fee. That’s the only balance that changes.
Hey @NS01, I’m still working on it. I had to put it aside for a few weeks to deal with other features but I should be able to produce a full spec for next WG together with a tool to verify the compliance of blocks to the ICRC-3 schema. A preview of the tool is already available here and is part of icrc-ledger-types0.1.3.
In the upcoming meeting on Nov 14, 2023, we suggest to discuss ICRC-3 as progress has been made towards resolving remaining issues and completion of the standard.
propose a minor extension to ICRC-3 that specifies how future ICRC standards that build on top of ICRC-3 should name their op in order to avoid naming clashes.
tl;dr
We need to namespace the op that goes into blocks. My proposal is to keep is as succinct as possible: For the transfer_from operation defined in ICRC-xy, the op must begin with the prefix xz, e.g., 30xfer_from or only 30xfer (still readable, but shorter).
Proposal for naming:
Prefix is the ICRC number without the string ICRC- to keep it shorter.
The actual op name must then start with a letter character.
The following characters can be alphanumeric and “_” and “-”
Here would be a proposal of a first draft of the ICRC-3-compliant block schema for ICRC-7 using the above namespacing proposal. That would be the first “customer” of ICRC-3 besides the “built-in” ICRC-1 and ICRC-2.
Comments welcome also from this WG as this is an inter-WG affair.