metaverse-eth / bsc

further enhancement for future bsc
0 stars 1 forks source link

Change CAKE to BNB #1

Open metaverse-eth opened 2 years ago

metaverse-eth commented 2 years ago

Change CAKE to BNB

I would like to change the reward token from CAKE to BNB (BSC - BEP20) The BNB we use for Binance Smart Chain.

Current working is if buyer buy using eg 1 BNB for the token, it will deduct 12% (marketing fee+liquidity+cake reward) and convert to CAKE token. But if the buyer is using BNB as the payment, it should not do any conversion as I want to change the distribution token to BNB. (Save the fee of converting).

Next is for selling, it should also use the final BNB given to the seller and transfer that was suppose swap to CAKE as BNB to the distribution for rewards.

If the buy/sell token is not BNB, it should use the Wrapped BNB or whatever to take out the portion as reward.

The sum is not a fix 12% but is the total sum of totalFees (CAKERewardsFee + liquidityFee(if avail) + marketingFee) and should not perform swap since BNB is the native token or swap if only needed.

Thanks. The changes should allow the code to work as intended like BabyCake token but this time the distribution is in BNB.

Take note of the 2 lines that appear to define the token address which contain the string 0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82 at line 763 and line 1193.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.06 ETH (258.93 USD @ $4315.58/ETH) attached to it.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 265 years from now. Please review their action plans below:

1) meetmangukiya has applied to start work _(Funders only: approve worker | reject worker)_.

I can help with this. Please check my gitcoin and github profiles.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.06 ETH (252.64 USD @ $4210.69/ETH) has been submitted by: