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

BEP-82: token owner changes #82

Merged
merged 2 commits into from
Jan 19, 2021
Merged

BEP-82: token owner changes #82

merged 2 commits into from
Jan 19, 2021

Conversation

fletcher142
Copy link
Contributor

@fletcher142 fletcher142 commented Dec 11, 2020

BEP-82: Token Ownership Changes

1. Summary

This BEP describes the changes related to the token owner who issued a token on Binance Chain.

2. Abstract

Currently, many token-related transactions, such as token listing, minting, burning, etc., can only be proposed by the token owner who can not be changed once the token is issued on Binance Chain.

This BEP proposes the solutions to provide more convenience and flexibility for these transactions.

3. Status

draft

4. Motivation

To reduce the transaction's dependence on the related token’s owner and make the ownership of token changeable, we introduce those solutions as following:

  • Providing an entrance to transfer the ownership of a specific token.
  • Removing the owner verification when handling some token related transactions.

5. Specification

5.1 Transfer Ownership

TransferOwnership transaction can transfer ownership of a specific token to another address, and only the original owner has the permission to send this transaction.

A fee (a fixed amount of BNB) will be charged on TransferOwnership transactions.

Parameters for TransferOwnership Operation:

Field Type Description
From string the address who wants to transfer the ownership to another address
Symbol string the token symbol needs to be transferred ownership
NewOwner string the address who is assigned to be the new owner of the token

5.2 Token Owner Verification Changes

Currently, some token-related transactions are restricted to being proposed by token owners while others are not. After the implementation of this BEP, any address can burn its own tokens. Here is the comparison below:

Transaction Type Verify Owner(Before) Verify Owner(After)
list token yes yes
mint token yes yes
burn token yes no
freeze token no no
set URI yes yes
atomic swap related no no
time lock no no
time unlock no no
time relock no no
transfer no no
cross transfer out no no
cross bind yes yes
cross unbind yes yes

6. License

The content is licensed under CC0.

@fletcher142 fletcher142 changed the title BEP: token owner changes BEP-82: token owner changes Dec 11, 2020
BEP82.md Outdated

## 5. Specification
### 5.1 Owner Transfer
**OwnerTransfer** transaction can transfer ownership of a specific token to another address, and only the original owner has the permission to send this transaction.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is better named as transferOwnership

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

renamed

BEP82.md Outdated
| ------------------------- | ------------------- |
| list token | yes |
| mint token | yes |
| burn token | no |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is another BEP that will sync binded token from BSC to BC so that rebalance the total supply of two token. If anyone on BC can burn, shall we support sync from BC to BSC too? If we do, then all token on BSC need to implement burn interface. @HaoyangLiu @darren-liu

@darren-liu darren-liu merged commit e7ac31d into master Jan 19, 2021
@rigan0707
Copy link

Hi

@tata35tg
Copy link

tata35tg commented Apr 27, 2022 via email

@blaaauw
Copy link

blaaauw commented Apr 27, 2022 via email

@blaaauw
Copy link

blaaauw commented Apr 27, 2022 via email

@unclezoro unclezoro deleted the tokenowner_improve branch November 28, 2023 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants