You'd want to base rebalance on PcS prices but that requires very many calls. One way to do it is to query an oracle that can interact with the contract to send input the % of the total crypto market something like btc/eth makes up. Then, you only have to get the PcS price for that one token to calculate the total crypto market cap
May 31, 2021, 5:04 AM
No fully on-chain way to get total market cap on evm. Using something like internet computer you could. You could even have holders vote on whether the oracle/admin input % market cap value is good/valid
May 31, 2021, 5:05 AM
Is this a new chain then
May 31, 2021, 5:15 AM
Nope. PM me if you want to know more. I'm talking about BSC
May 31, 2021, 5:16 AM
CZ owns it?
Trust build
Making it rug proof and community-driven
With no proxy of course
I saw wyvern in nomics grays 😎
May 31, 2021, 6:50 AM
I got it listed on Nomics, is Grays a bad thing? lol
May 31, 2021, 6:51 AM
No idea lol
potofgreed code but for fees
May 31, 2021, 7:04 AM
https://bscscan.com/address/0x470862af0cf8d27ebfe0ff77b0649779c29186db#code
Hey guys, can anyone help me get this resolved?
No one can buy or sell right now. It's extremely important. I will pay who ever can help me get it fixed
Hey guys, can anyone help me get this resolved?
No one can buy or sell right now. It's extremely important. I will pay who ever can help me get it fixed
May 31, 2021, 7:14 AM
Slippage
Increase it
May 31, 2021, 7:22 AM
Makes no difference, I can even increase it 50% and it won't work
May 31, 2021, 7:24 AM
Restart
May 31, 2021, 7:24 AM
Restart?
Refresh the page or Reset the Read Contract?
May 31, 2021, 7:25 AM
Lol the page
May 31, 2021, 7:25 AM
It isn't just me man, it is also 10 other buyers having the same issue
May 31, 2021, 7:25 AM
do you have fees?
May 31, 2021, 7:28 AM
Yes
10% Slippage
May 31, 2021, 7:28 AM
no slippage doesn't mean fees
slippage and fees are 2 differerent things
May 31, 2021, 7:28 AM
5% is allocated towards rewards, the other 5% goes towards Liquidity
May 31, 2021, 7:29 AM
You used v1 router
May 31, 2021, 7:29 AM
You're 100000% positive?
All my liquidity is in v2
May 31, 2021, 7:29 AM
check if you have the rpiter that starts with 0x05
May 31, 2021, 7:30 AM
Okay, sec
May 31, 2021, 7:30 AM
you are f****d then
May 31, 2021, 7:30 AM
May 31, 2021, 7:30 AM
yes v1
you copied safemoon without changing anything
May 31, 2021, 7:30 AM
v1 indeed
May 31, 2021, 7:31 AM
FFS!
Is this fixable on the mainnet?
May 31, 2021, 7:31 AM
Luckily freezy is here😆
May 31, 2021, 7:31 AM
Add liquidity to v1
May 31, 2021, 7:31 AM
Do you have a change router code
By freezy lol
May 31, 2021, 7:32 AM
What should I do to get this resolved? I have 250 holders and I don't want to fuck this up
May 31, 2021, 7:33 AM
Add liquidity to v1
Only option
May 31, 2021, 7:35 AM
remove liquidity from v2
and add to v1
May 31, 2021, 7:35 AM
This shit just randomly stops working after almost 2 weeks?
People we able to buy and sell before
May 31, 2021, 7:39 AM
because you have swapandliquify enabled
May 31, 2021, 7:39 AM
It doesn't liqify before certain criteria is meet
May 31, 2021, 7:39 AM
try to turn it off and check
May 31, 2021, 7:39 AM
Set to 0
May 31, 2021, 7:40 AM
Okay, sec
Thank you so much btw guys
Sorry for verifying the obvious
May 31, 2021, 7:41 AM
false
not 0
May 31, 2021, 7:42 AM
okay cool, thank you
Kay, I just wrote it. Testing it out
Any suggestions man if this doesn't work?
People still can't buy
People still can't buy
May 31, 2021, 8:00 AM
I have 0x10
Any problem?
Can I use in v2
Bool : true or false
@freezyEXchange
May 31, 2021, 8:02 AM
It is set to false
May 31, 2021, 8:02 AM
Working?
May 31, 2021, 8:02 AM
Not working man 😞
Same error
May 31, 2021, 8:02 AM
Whats router address
May 31, 2021, 8:03 AM
May 31, 2021, 8:03 AM
Why not 0, false is 0 too right lol
May 31, 2021, 8:04 AM
slippage?
May 31, 2021, 8:16 AM
12%
10% coded
May 31, 2021, 8:17 AM
No Burn?
May 31, 2021, 8:20 AM
Increase
May 31, 2021, 8:21 AM
Yeah there is a burn
I even tried 49%
May 31, 2021, 8:22 AM
Are you in testnet ?
May 31, 2021, 8:22 AM
I'm on mainnet with 280 investors...
So I am terrified
May 31, 2021, 8:22 AM
Try in testnet and check same problem or not
May 31, 2021, 8:23 AM
It took almost 2 weeks for this problem to surface
May 31, 2021, 8:23 AM
While adding liquidity is there same problem?
May 31, 2021, 8:23 AM
I'll try
May 31, 2021, 8:23 AM
.
May 31, 2021, 8:24 AM
No, it allows it to go through
It allows people to sell
but no one can buy
May 31, 2021, 8:24 AM
Let me check
May 31, 2021, 8:24 AM
to low
May 31, 2021, 8:24 AM
Own contract or you forked?
May 31, 2021, 8:28 AM
Safemoon Fork
May 31, 2021, 8:28 AM
This right https://bscscan.com/address/0x470862af0cf8d27ebfe0ff77b0649779c29186db#code
May 31, 2021, 8:29 AM
Yeah man
May 31, 2021, 8:29 AM
The brun and gas problem with slippage if 10% is coded maybe techrate will help😂
May 31, 2021, 8:31 AM
0x10ED43C718714eb63d5aA57B78B54704E256024E
Guys if I use these address is these ok?
Guys if I use these address is these ok?
May 31, 2021, 8:34 AM
I'm so stressed man
May 31, 2021, 8:34 AM
Did you submit to techrate
May 31, 2021, 8:36 AM
Not yet, do you have a link man?
May 31, 2021, 8:37 AM
techrate.org
May 31, 2021, 8:37 AM
Thank you man
May 31, 2021, 8:39 AM
Is wdoge a scamcoin lol
Pick the right one in dropdown when deploying
It should be name - name.sol not contract - name .sol
May 31, 2021, 9:50 AM
reducing circulating supply
hey guys I have a question
Is there a way to check a specified time range? like 5 - 11 Am ?
Is there a way to check a specified time range? like 5 - 11 Am ?
May 31, 2021, 11:04 AM
check what?
May 31, 2021, 11:04 AM
I tried using timestamp but no possible
May 31, 2021, 11:04 AM
Modulus divide block.timestamp%86400 and you get utc 24hr time
May 31, 2021, 11:05 AM
I want to check when the time is between
5:00 AM and 11 AM
5:00 AM and 11 AM
yes but the difference between two times is always same
May 31, 2021, 11:05 AM
dxsale does it autoatically
May 31, 2021, 11:05 AM
Are there other platforms? Or do I inevitably have to write the smart contract?
May 31, 2021, 11:06 AM
yep
your own smart contract
is the way
May 31, 2021, 11:06 AM
Uint256 t = Block.timestamp%86400;
If(t>18000&&t<39600){
//between 5am and 11am
}
If(t>18000&&t<39600){
//between 5am and 11am
}
May 31, 2021, 11:08 AM
🙏Thanks
Do you know any examples?
To take a look
@Voidcoder I'm sorry for the trouble
May 31, 2021, 11:10 AM
Then I check thanks
i have done this based on Crowdsale contracts
May 31, 2021, 11:16 AM
Thanks 🥰
May 31, 2021, 11:16 AM
Ask here lol
I am still learning lol
We are still learning but I am the noobies here😂
May 31, 2021, 1:26 PM