Top Tweets for #ShareAm
NOYA Accounting Manager Flows
This is the share token contract of each vault in @NetworkNoya.
This contract is in charge of:
1. Accounting of NOYA vaults (calculating the value of each share)
2. Bookkeeping for noya shareholders. It inherits the ERC4626 standard to handle the shares of the user.
3. Implementing the delayed withdrawals and deposits
Shares of the vault in Noya
Shares represent the value that each user owns from the vault. They can be minted using the deposit flow and can be burned (transferring the base tokens to the users) using the withdraw function.
The value of each share is calculated using this formula:
baseTokenValue = (shareAmount) * totalAssets / totalShares (totalAssets is a function in accountingManager that calculates the value of all positions based on the baseToken. totalShares is also can be fetched by totalSupply function of the accountingManager that returns the total amount of minted shares).
Deposit flow
1. User deposits some amount of base token using the "deposit" function
2. After all of the positions that have time update their time, (or immediately if there is no position with timestamp) the keeper can call the calculateDepositShares function. This will calculate the shares of this deposit and record it in the queue, and update the middle of the queue that indicates which records have been calculated.
3. After a specified time, the keeper can call the executeDeposit function to mint the actual share tokens to the users and send the calculated amount to an active connector. This will also update the queue variables and total deposited amount.
Withdraw flow
1. User initiates the withdraw request
2. After all of the positions that have time (look at positionTimestamp in HoldingPI struct) update their time, (or immediately if there is no position with timestamp) the keeper can call the calculateWithdrawShares function. This will calculate the assets of this withdraw and record it in the queue, and update the middle of the queue.
3. After the keeper calculates a couple of withdrawal records, it can start a withdrawGroup. Withdraw group is being used to retrieve the needed tokens to the AccountingManager so we can send them to the users.
4. The keeper should use the connectors’ functions to burn positions and swap tokens to the “baseToken” (so it can be withdrawn in the next step).
5. Once NOYA has the needed amount (or a part of it) we can use the “retrieveTokensForWithdraw” function to move the assets from different connectors to the accounting manager for withdrawal and updates the “amountAskedForWithdraw” variable to prevent moving more or less base tokens that is needed.
6. Once NOYA has requested all the tokens that has been calculated for withdrawal, the keeper will call the “fulfillCurrentWithdrawGroup” to finish the process of retrieving tokens for withdrawal.
7. Then NOYA is ready for withdrawals. The system can execute the withdrawal requests that the waiting time after the calculation has been passed by calling the “executeWithdraw” function.
8. After a specified time (withdrawWaitingTime), the keeper can call the executeWithdraw to burn the share tokens to the users and send the calculated amount to the user.
Security checks of the accountingManager
1. All deposits and withdrawals are delayed which means that if something happens to the vault, NOYA has the needed time window to fix the issue.
2. There is a function called "resetMiddle" to force the smart contract to do the vault deposits (/withdrawals) calculation again.

NOYA is DeFi with a brain like upgrade!
Leveraging AI + ZKML, it allows you to run and prove your strategies without revealing them.
With @NetworkNoya’s voice commands, you can swap, stake, or rebalance hands-free..
Plus, every action, from chatting to research, earns points that convert into protocol ownership.
gNOYA
Oh yeah #shareAMC
About to watch an EARLY SCREENING of #BeetlejuiceBeetlejuice only at #AMCTheaters and only in #Dolby ❤️
I feel like a corpse in the dirt and are dead inside 💀 Thank you #TimBurton for reviving this new movie experience! ❤️💯🎟️🎞️
#WarnerBros
No I'm not saying it a third time 😂 Loving the Batman comic with him in it, that dropped today. @DCOfficial
@CEOAdam #AMCCinemaSweets #AMCAPES #AMCNEVERLEAVING #AMCperfectlypopcorn
#JurassicPark30thAnniversary on #TyrannosaurTuesday! From the iconic fossil logo to the roar echoing in the auditorium, #JurassicPark is the legacy of just how cinematic #Tyrannosaurus is.
#JP30
#JurassicPark30
#inrealD3D
@RealD3D
#shareAMC
#AMCTheatres

Last Seen Hashtags on Sotwe
Teenagee()()()
Seen from India
izmirpasif
Seen from Turkey
candid
Seen from United States
sarakhantiktoker
Seen from Vietnam
ifsa()******************************************** filter:native_video
Seen from Belgium
irishgirl
Seen from Ireland
farewellJoel
Seen from Indonesia
chudai
Seen from United Kingdom
inleme
Seen from Turkey
momson()************************************************** +filter:videos
Seen from Peru
Most Popular Users

Elon Musk 
@elonmusk
239.3M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers










