bnb-chain / whitepaper

BNB Smart Chain
https://bnbchain.org/en/developers
1.9k stars 633 forks source link

token #208

Open lyn4935 opened 10 months ago

lyn4935 commented 10 months ago

确保在两条链上的 BEP2 代币和 BEP2E代币具有相同的总供应量。与更典型的ERC20合约 相比,BEP2E必须添加以下有3 种函数: symbol(): 获取代币符号 decimals(): 获取代币十进制小数位数 getOwner(): 获取绑定合约所有者的地址。这个值应该在 BEP2E合约构造函数中初始化,以便绑定操作可以进一步验证绑定消息是否得到来自 BEP2E的发行者。

lyn4935 commented 10 months ago

https://github.com/bnb-chain/whitepaper/issues/208#issue-2027883100

qwe5926345 commented 8 months ago

https://github.com/bnb-chain/whitepaper/issues/826039752#209