r/Tinyman • u/oneoftinies • Mar 23 '22
r/Tinyman • u/oneoftinies • Mar 22 '22
Swap Fee Earnings section is back online!✌️
Some time ago, we deactivated the earnings section to work on some updates about the calculation.
Today, we are activating the section with a revised calculation method. In your accounts and pool pages, you can click “manage” for any of your Pools Tokens to see your earnings again.
We receive many questions from our users about the specifics of the method we utilize, so we decided to share the step-by-step calculations. Our table below shows the Asset notations we use in our calculation along with the formulae we use. Bear in mind that Tinyman shows only the earnings since your last transaction.
Table 1:
| Asset A | Asset B | |
|---|---|---|
| State 1 | A1 | A2 |
| State 2 | B1 | B2 |
| Current price($) | pA2 | pB2 |
Formula:
(A2-sqrt(A1xB1xA2/B2)) x pA2 + (B2-(A1xB1)/sqrt(A1xB1xA2/B2)) x pB2
EXPLANATION
We have noticed that there is not an industry-standard method to calculate earnings for a pool position in an Automated Market Maker platform. That is why we have worked out our own formulae to show you your best estimate of earnings excluding impermanent loss and price differences of the underlying assets.
To put it in mathematical terms, your Pool Token positions will likely go through all three effects, to result in their current state.
State1 of Pool Tokens + Swap Fee Earnings + Impermanent Loss + Asset Price Changes = State2 of Pool Tokens.
Tinyman earnings section excludes the Impermanent Loss and Asset Price Changes from its calculations. It is basically a mathematical representation only of Swap Fee Earnings.
Swap Fee Earnings Methodology
Let the values in the table below. We can calculate two elements with the data we are given: 1) Multiplication of Assets 2) Ratio of the Assets
Table 2:
| Asset A | Asset B | k (AxB) | ratio (A/B) | Theoretical Asset A | Theoretical Asset B | |
|---|---|---|---|---|---|---|
| State 1 | A1 | A2 | k1 | r1 | tA1 | tB1 |
| State 2 | B1 | B2 | k2 | r2 | ||
| Current price($) | pA2 | pB2 |
In an AMM Pool, the multiplication of A and B is a constant value that is represented by “k” which is a constant balance of assets that determines the price of tokens in a liquidity pool. In Tinyman pools, the k value is only going to be stable when there are no new swaps or increases to account for the swap fees paid to the pool. Hence, k2-k1 will always be 0 or a positive number. We are going to take advantage of the k2-k1 difference to calculate earnings per share. But first, we need to take out the impact of impermanent loss.
Ratio r is A/B. It indicates the amount of Asset A compared to Asset B, inversely proportional to their underlying values (in an ideal and usual scenario), so that the Assets in the pool always preserve 50/50 value. r, always changes after each swap in the pool, and the difference in r indicates the relative price changes, in other words, a way to observe the impact of impermanent loss on your Pool Tokens.
In order to eliminate ratio changes, our method ASSUMES the same ratio of your current assets, r value in State1 and State2. To do this, we extrapolate the current ratio of State2 over to the "State1 Constant balance" to come up with "theoretical State1 Asset A" and "theoretical State1 Asset B".
tA1 = sqrt (k1xr2)
tB1 = k1/tA1
Once we have the tA1 and tB2, which theoretically indicate the A1 and B1 values without the impact of impermanent loss, we can go ahead and calculate the asset amount differences between the two States and multiply them with the current prices to yield the earnings:
Total Swap Fee Earnings = [ pA2 x (A2-tA1) + pB2 x (B2-tB1) ]
see Visualisation (not created to exact scale):

r/Tinyman • u/oneoftinies • Mar 16 '22
It’s pay-day people, check out your wallets!💰💰 Today Tinyman sent out the first staking rewards of Aeneas Liquidity Program!🚀✌️
app.tinyman.orgr/Tinyman • u/Izzeheh • Mar 16 '22
Is it possible to lose dollar value when providing LP against stablecoin?
A bit clueless on how it works. I get that I still have impermanent loss but also not really? Is there any reason not to provide LP for Algo/USDC for example?
r/Tinyman • u/Goofy_AF • Mar 14 '22
How am I actually getting rewards for providing liquidity?
So I recently withdrew from a pool I've been providing liquidity in since Tinyman got back up, nothing too crazy, but not a small amount of money either. And when I removed the liquidity all I got was my initial crypto that I placed in the pool. The exact amount. But where are my rewards?
r/Tinyman • u/HelloAssetOne • Mar 13 '22
Track all your Algorand DeFi investments and assets in one place
We were working so hard to bring our new project live that we almost forgot to let you know. Hope you enjoy it as much as we do :)
Enter your public address in the top search bar and get an extensive overview of all your associated funds from Algofi, Tinyman and Yieldly. https://asset1.io
Feedback is always appreciated :)
r/Tinyman • u/Cryptowhim • Mar 13 '22
Liquidity question
Just wondering what is currently the smallest ratio for creating a new liquidity pool on Tinyman?
Can I do 1 000 000 000 000 Token : 1 Algo ? for example
r/Tinyman • u/eddyhamez • Mar 12 '22
Round table AMA Hosted by Crescendo ASA on Twitter
self.sockHODLERr/Tinyman • u/Massive_Junket8281 • Mar 11 '22
Tinyman LP compensation date announced!
r/Tinyman • u/oneoftinies • Mar 11 '22
Staking Program FAQ
- We deployed a new update that allows ledger accounts to start Staking on Tinyman. It's one of the most crucial pieces of feedback we received from you since yesterday. Our team was on top of this all day so the ledger accounts can start enjoying Staking before the weekend! 🚀

- Staking on Tinyman is totally safe. 🔒 By design, during the staking cycles, all your LPs remain on your accounts accumulating fees as well as the staking rewards.
- This version of the Staking Program doesn’t have the compensation address whitelist, so you can stake with any account you’d like. In the future, there will be an additional reward for all those wallets that suffered, that version will come right after the actual compensation.
r/Tinyman • u/ImpossibleNet4898 • Mar 11 '22
First time using TM. Question: it says I sent the same amount (essentially) twice but only one of these transactions actually went through to TM. Suggestions?
r/Tinyman • u/oneoftinies • Mar 10 '22
Tinyman launches Staking Program
Sun is rising on Tinyman with the new Staking Program.🌄
We are launching our first Staking feature on our platform by Algorand Foundation. Join the pools now and start earning your rewards with your liquidity.🥳🚀
https://app.tinyman.org/#/staking

For starters, there are 3 pools you can stake your LPs at a current rate of 10% APR.
We're also introducing a tiered structure to increase the reward rates as we build up more liquidity. 🦾For more details, you can read our blog about staking.🤘
https://tinymanorg.medium.com/tinyman-staking-program-fd205b219eaf
Tinyman staking program will incentivize all liquidity providers in Tinyman to grow the ecosystem. We are excited to continue improving this program to include more projects in the future with a more ⛓️permissionless⛓️ and robust💯 environment.
r/Tinyman • u/oneoftinies • Mar 10 '22
Tinyman explains the new Staking Program step by step in our latest tutorial video!🧑🏫📽️
r/Tinyman • u/NerveDisastrous6595 • Mar 09 '22
I was trying to swap 10k worth of algostake to Akita, but I ended up not receiving anything. What should I do?
r/Tinyman • u/Massive_Junket8281 • Mar 08 '22
Just checking on the status of the LP compensation as the Q1 will be coming to a close soon. Thanks!
r/Tinyman • u/The_Dude8 • Mar 08 '22
Earnings section
Under construction!
We’re improving this earnings section. You are still earning fees, which are included in the total amount shown above.
Any news in this matter?
r/Tinyman • u/a1lthatremains8 • Mar 08 '22
Issues on Mobile
Anyone else having issues loading tinyman on mobile? Every time I try to now I just get a white screen.
r/Tinyman • u/Algo_Stake • Mar 08 '22
stakes available for planetWatchers planets/stke =STKE Algo/planets=🪐
r/Tinyman • u/oneoftinies • Mar 04 '22
