#really struggling here im sure its a small stupid mistake

28 messages · Page 1 of 1 (latest)

long mortar
#

i can't sem to get this working properly, when i choose option to add liquidity ti smart contracts my money doesnt seeem to go up so maths is wrong somewhere pulling out my hair rn

#

ya'll wont be laughing when you start tryna do the algebra to work it out lol

lucid thunder
#

Only laughed because you're doing crypto nerd shit

#

Since this is Python and not actual smart contract trash I'll still help though:

Why do you just increase the market cap by the buy volume? Shouldn't you only add the increase in price?

hidden zephyr
#

That's what I was thinking as well hahaha

long mortar
#

just to create a tool where i cn mimic crypto and the liquidity and taxes ito liquidity etc and see how transaction sizes and increments effect it, i want to see if when i empty liquidity into the smart contracts for sale if it increases my value of hald smart contracts i already hold, in theory im sure it should, i also want to experinment with different prices

#

and different hekd smart conrtact sizes etc different liquidity burns and deposits

#

i was tryng to ask chatgpt and it would give me not answers so i decided to code tool myself and then still only half working

long mortar
#

anyoe here?

hidden zephyr
#

Yes

long mortar
#

heya

#

its specifclly this part i think has gone wron somwhere

#

#calculate the whole price of the smart contracts pool
smart_contracts_pool = (market_cap / num_tokens_in_market) * num_tokens_in_smart_contracts

#calculate the price of 1 smart token once liquidity is tranfered
token_value = (smart_contracts_pool / num_tokens_in_smart_contracts)


# Calculate creators value of tokens owned
creator_tokens_value = (market_cap / num_tokens_in_market) * token_value * creator_tokens_in_smart_contracts
hidden zephyr
#

Tbh I have no idea what you're trying to achieve with this stuff

long mortar
hidden zephyr
#

@long mortar Keep it to this channel

long mortar
hidden zephyr
#

Don't be opening new channels for the same question

long mortar
#

when i add 200 liquity to the smart contracts this should inflate thr price of my 250 tokens i have to about double the price

#

i dont really know what to call it, its to replicate cyrpto currency configurations for when i build my own crypto currency

#

so you can choose to have tax that goes back to liquidty or market vlue or change liquiduty back into smart contracts etc

#

like driving on a video game and testing the ropes

#

hard to explain sorry im not good at explaining ]hope you have some idea

#

you gone __

hidden zephyr
#

I'm confused why the market cap includes the 5% charge lol

long mortar
#

oh ignore that, its just extra money to go into the market cap, like if coinbase charged for transactions etc, just another earner really

#

makes the prise gradually inscreese more and more especially with smaller transactions