@jvr0x@CosmWasm@CetusProtocol PS I'm not against of using checked math but I prefer to use it wisely without harming to readability and maintainability. Panics could save some time in debugging cause it usually points you to a direct line where error has occurred.
@jvr0x@CosmWasm@CetusProtocol Personally I prefer to use raw arithmetic ops with overflow-checks = true turned on on the workspace level. In some super crazy math we're using (like in PCL) natural arithmetic ops just make the whole code much much more readable (and hence maintainable).
@jvr0x@CosmWasm@CetusProtocol Here we go https://t.co/wVFx6cyeNi
You may try to wrap everything with checked math and could start seeing Solidity shape in this code lol
What I like in this approach of natural arithmetic ops is that you could relatively easy put it back to sheet of paper.
@BlockhuntersOrg@HeshamAly1001@elys_network What does 45/55 ratio mean on chain? Is your contract/sdk module connected to real word market prices via oracle or something similar?
Curious to learn which bonding curve do you use internally.
Unlocking does the opposite. It immediately removes your voting power from voted pools.
Although, if you changed your mind, you can relock and your voting power gets added back according to the distribution recorded in the contract.
Tip of the day for vxASTRO @astroport_fi
While voting you aren't sealing you voting power in contract but just set your voting power distribution.
I.e. voting for NTRN-USDC 50% and dATOM-USDC 50% just records your distribution.
Note, that you won't be able to change distribution until the next epoch (every Monday every 2 weeks, next 11 November).
Let the war begin!
Small alpha: once current epoch ends on 11 November, emissions will be more than doubled from 315k ASTRO currently to 777k ASTRO (or even more depending on buybacks) ๐
Good luck to all participants! โ
๐ฐ vxASTRO Update Detected
The next phase in Astroportโs evolution is upon us; vxASTRO is now live, powering emissions voting on all outposts!
๐งต๐
@superfoodmilk From today ASTRO emissions are dynamic and based on buybacks from previous epoch. More precisely it is exponential moving average (EMA) which gives 1/3 weight to old EMA and 2/3 to recent epoch buybacks. Then this number is multiplied by 0.8 and this is the next epoch emissions
๐ฐ๏ธ ANNOUNCEMENT ASTRO HOLDERS ๐ฐ๏ธ
vxASTRO is now live on testnet! Experience the next evolution of $ASTRO before our launch on mainnet ๐
https://t.co/xgWmAlhyRr
๐๏ธ It was a pleasure to host the 138th episode of Cosmos Voice in Russian with @epanchee, where we dived deep into the recent developments of @astroport_fi! ๐
In this episode, we discussed:
๐ช๏ธ How Astroport survived the Terra crash and managed to reborn,
๐ Its ongoing developments and future plans,
๐ค Why it remains one of the biggest liquidity access protocols, operating simultaneously across @Neutron_org, @injective, @SeiNetwork, @osmosiszone, and @terra_money chains.
Don't miss out on this insightful discussion! Watch the full episode here:
โถ๏ธ https://t.co/3NV1TApD4K
We'll be tapping in with the Russian community on Telegram @CosmosEcosystem this weekend! ๐
Join us on Sunday @ 9am UTC for an exclusive deep dive into all things Astroport ๐