From 05cc3b5c5fd1ce3b3e294b3eb587ec0523666729 Mon Sep 17 00:00:00 2001 From: Simon Chow Date: Thu, 12 Dec 2024 10:43:30 -0500 Subject: [PATCH 1/5] add mint event to sep-41 --- ecosystem/sep-0041.md | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/ecosystem/sep-0041.md b/ecosystem/sep-0041.md index 4c8f6ffa1..bb65ab01a 100644 --- a/ecosystem/sep-0041.md +++ b/ecosystem/sep-0041.md @@ -3,13 +3,13 @@ ``` SEP: 0041 Title: Soroban Token Interface -Authors: Jonathan Jove <@jonjove>, Siddharth Suresh <@sisuresh> +Authors: Jonathan Jove <@jonjove>, Siddharth Suresh <@sisuresh>, Simon Chow <@chowbao> Track: Standard -Status: Draft +Status: Final Created: 2023-09-22 -Updated: 2023-10-18 +Updated: 2024-12-12 Version 0.2.0 -Discussion: https://discord.com/channels/897514728459468821/1159937045322547250 +Discussion: https://discord.com/channels/897514728459468821/1159937045322547250, https://github.com/stellar/stellar-protocol/discussions/1584 ``` ## Simple Summary @@ -208,10 +208,25 @@ The event has data: - `i128` the amount burned. +#### Mint Event + +The `burn` event is emitted when an amount of the token is minted. + +The event has topics: + +- `Symbol` with value `"mint"` +- `Address` the admin address. +- `Address` the address to hold the newly minted tokens. + +The event has data: + +- `i128` the amount minted. + ## Changelog - `v0.1.0` - Initial draft based on [CAP-46-6]. - `v0.2.0` - Remove `spendable_balance`. +- `v0.3.0` - Add `mint` event ## Implementations From 095dc41e0e86f6cab1955940982e2f5dbd9652be Mon Sep 17 00:00:00 2001 From: chowbao Date: Tue, 7 Jan 2025 22:49:59 -0500 Subject: [PATCH 2/5] Update sep-0041.md --- ecosystem/sep-0041.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ecosystem/sep-0041.md b/ecosystem/sep-0041.md index bb65ab01a..7b5d71d8a 100644 --- a/ecosystem/sep-0041.md +++ b/ecosystem/sep-0041.md @@ -210,12 +210,11 @@ The event has data: #### Mint Event -The `burn` event is emitted when an amount of the token is minted. +The `mint` event is emitted when an amount of the token is minted. The event has topics: - `Symbol` with value `"mint"` -- `Address` the admin address. - `Address` the address to hold the newly minted tokens. The event has data: From 6b1057fc033eaf0451a08e86151c596bd0a55070 Mon Sep 17 00:00:00 2001 From: chowbao Date: Wed, 8 Jan 2025 10:59:00 -0500 Subject: [PATCH 3/5] Update sep-0041.md --- ecosystem/sep-0041.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/ecosystem/sep-0041.md b/ecosystem/sep-0041.md index 7b5d71d8a..80e59f01e 100644 --- a/ecosystem/sep-0041.md +++ b/ecosystem/sep-0041.md @@ -7,7 +7,7 @@ Authors: Jonathan Jove <@jonjove>, Siddharth Suresh <@sisuresh>, Simon Chow <@ch Track: Standard Status: Final Created: 2023-09-22 -Updated: 2024-12-12 +Updated: 2025-01-08 Version 0.2.0 Discussion: https://discord.com/channels/897514728459468821/1159937045322547250, https://github.com/stellar/stellar-protocol/discussions/1584 ``` @@ -221,11 +221,24 @@ The event has data: - `i128` the amount minted. +#### Clawback Event + +The `clawback` event is emitted when an amount of the token is clawed back. + +The event has topics: + +- `Symbol` with value `"clawback"` +- `Address` The address holding the balance from which the clawback will take tokens. + +The event has data: + +- `i128` the amount clawed back. + ## Changelog - `v0.1.0` - Initial draft based on [CAP-46-6]. - `v0.2.0` - Remove `spendable_balance`. -- `v0.3.0` - Add `mint` event +- `v0.3.0` - Add `mint` and `clawback` event ## Implementations From 5f29fdf25a0b7c6e8fa9128fe780e9b2ad170abd Mon Sep 17 00:00:00 2001 From: chowbao Date: Wed, 15 Jan 2025 16:03:26 -0500 Subject: [PATCH 4/5] Update sep-0041.md --- ecosystem/sep-0041.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecosystem/sep-0041.md b/ecosystem/sep-0041.md index 80e59f01e..9ec8d165a 100644 --- a/ecosystem/sep-0041.md +++ b/ecosystem/sep-0041.md @@ -8,7 +8,7 @@ Track: Standard Status: Final Created: 2023-09-22 Updated: 2025-01-08 -Version 0.2.0 +Version 0.3.0 Discussion: https://discord.com/channels/897514728459468821/1159937045322547250, https://github.com/stellar/stellar-protocol/discussions/1584 ``` From b8aa4965caa358642f83a1d5b99e824046dbcfdb Mon Sep 17 00:00:00 2001 From: chowbao Date: Wed, 15 Jan 2025 16:16:01 -0500 Subject: [PATCH 5/5] Update sep-0041.md --- ecosystem/sep-0041.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecosystem/sep-0041.md b/ecosystem/sep-0041.md index 9ec8d165a..e6386222d 100644 --- a/ecosystem/sep-0041.md +++ b/ecosystem/sep-0041.md @@ -5,7 +5,7 @@ SEP: 0041 Title: Soroban Token Interface Authors: Jonathan Jove <@jonjove>, Siddharth Suresh <@sisuresh>, Simon Chow <@chowbao> Track: Standard -Status: Final +Status: Draft Created: 2023-09-22 Updated: 2025-01-08 Version 0.3.0