Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEP-41: add mint and clawback event #1588

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 31 additions & 4 deletions ecosystem/sep-0041.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Created: 2023-09-22
Updated: 2023-10-18
Version 0.2.0
Discussion: https://discord.com/channels/897514728459468821/1159937045322547250
Updated: 2025-01-08
Version 0.3.0
Discussion: https://discord.com/channels/897514728459468821/1159937045322547250, https://github.com/stellar/stellar-protocol/discussions/1584
```

## Simple Summary
Expand Down Expand Up @@ -208,10 +208,37 @@ The event has data:

- `i128` the amount burned.

#### Mint Event

The `mint` event is emitted when an amount of the token is minted.

The event has topics:

- `Symbol` with value `"mint"`
- `Address` the address to hold the newly minted tokens.

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` and `clawback` event
leighmcculloch marked this conversation as resolved.
Show resolved Hide resolved

## Implementations

Expand Down
Loading