Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
vaivanov committed Jan 16, 2025
2 parents 27d705b + 64e2c23 commit c5c5805
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 14 deletions.
8 changes: 4 additions & 4 deletions pages/contracts/free-bet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The Freebet distribution process is cost-effective for frontend operators. Custo
costs associated with distributing freebets.

For more detailed information on how to distribute freebets, please refer to the
[Freebets Distribution Guide](/hub/apps/guides/advanced/freebets/distribute-freebets).
[Freebets Distribution Guide](/hub/apps/guides/freebets/distribute-freebets).

### Reference

Expand All @@ -44,6 +44,6 @@ For more detailed information on how to distribute freebets, please refer to the

### Guides

- [Overiew](/hub/apps/guides/advanced/freebets/overview)
- [Distribute Freebets](/hub/apps/guides/advanced/freebets/distribute-freebets)
- [Use freebets in UI](/hub/apps/guides/advanced/freebets/use-freebets)
- [Overiew](/hub/apps/guides/freebets/overview)
- [Distribute Freebets](/hub/apps/guides/freebets/distribute-freebets)
- [Use freebets in UI](/hub/apps/guides/freebets/use-freebets)
12 changes: 6 additions & 6 deletions pages/hub/apps/guides/freebets/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { Callout, Image, Button } from 'components'
A tool that enables granting freebets to any user.

- [Contract details](/contracts/free-bet)
- [Distribution guide](/hub/apps/guides/advanced/freebets/distribute-freebets)
- [Using freebets in the UI guide](/hub/apps/guides/advanced/freebets/use-freebets)
- [Distribution guide](/hub/apps/guides/freebets/distribute-freebets)
- [Using freebets in the UI guide](/hub/apps/guides/freebets/use-freebets)

The Freebet contract enables users to place freebets on any [PrematchCore](/contracts/prematch-core) contract.
Each freebet has specific attributes, including a denomination, expiration time, and minimum betting odds requirement.
Expand All @@ -15,9 +15,9 @@ Each freebet has specific attributes, including a denomination, expiration time,
Let's consider the life cycle of a free bet, omitting technical details:

1. You issue a freebet for a certain amount and with a specific deadline in the admin panel from yours freebet contract to the user's address.
_How-to in [Distribution guide](/hub/apps/guides/advanced/freebets/distribute-freebets) section._
_How-to in [Distribution guide](/hub/apps/guides/freebets/distribute-freebets) section._
2. The user accesses your application's UI, sees a notification that a freebet is available to them until a certain date.
_How-to in [Use freebets](/hub/apps/guides/advanced/freebets/use-freebets) section._
_How-to in [Use freebets](/hub/apps/guides/freebets/use-freebets) section._
3. The user places a bet using the provided freebet*. _(How-to in [Place a bet](/hub/apps/guides/advanced/prematch/place-a-bet#place-a-freebet) section)_
4. After the event is resolved:
* If the bet wins, when the user claims their winnings (_how-to in [Redeem bets](/hub/apps/guides/advanced/prematch/redeem-bets#freebet-redeem) section_), they receive a profit from the win (payout - freebet amount),
Expand Down Expand Up @@ -50,7 +50,7 @@ But we do not recommend abusing this feature: when trying to use the freebet, th
costs associated with distributing freebets.
- When a freebet is used by the customer, the amount of the freebet is transferred from contract balance to LP.
- If freebet isn't claimed before expiration time, it just becomes expired, doesn't require any actions and disappears from available freebets list for the customer in rest api.
[Read how to use freebets in UI](/hub/apps/guides/advanced/freebets/use-freebets).
[Read how to use freebets in UI](/hub/apps/guides/freebets/use-freebets).
- **When a freebet wins, the bettor receives only the difference between the winnings
and the original bet amount.** The amount of the freebet will be returned to your contract balance.
- If a freebet looses, it's accounted as a regular bet - the amount remains in the liquidity pool as a revenue.
Expand Down Expand Up @@ -87,4 +87,4 @@ for your affiliate address, ensuring that your funds are allocated solely to you
contract or use UI of Freebets admin panel. You can top up your contract by simply sending tokens to your contract address, just as you would with
a regular ERC-20 transfer.

3. [Distribute freebets with admin panel](/hub/apps/guides/advanced/freebets/distribute-freebets#distribute-freebets-with-azuro-admin-panel).
3. [Distribute freebets with admin panel](/hub/apps/guides/freebets/distribute-freebets#distribute-freebets-with-azuro-admin-panel).
3 changes: 2 additions & 1 deletion pages/knowledge-hub/airdrops/azuro-waves/_meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"overview": "Overview",
"wave1": "Wave 1",
"wave2": "Wave 2"
"wave2": "Wave 2",
"wave3": "Wave 3",
}
66 changes: 66 additions & 0 deletions pages/knowledge-hub/airdrops/azuro-waves/wave3.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
import { Formula, Callout } from 'components'

# Wave 3

- Start of Wave 3 → 12:00:00 UTC December 26th, 2024
- End of Wave 3 → 23:59:00 UTC February 18th, 2025
- **Total airdrop reward → TBC**

<Callout type="info">
Airdrop reward per user =
\{Total airdrop reward\} * ( \{User wave points\} / \{Total wave points\} )
</Callout>

## Points rules

| Activity | Formula |
| --- | --- |
| [Placing Bets](https://azuro.org/ecosystem) | Х points = \{Bet sum\} * min( \{Odds\}; 10) / 5<br />e.g. 1 point = \$2.5 bet at odds of 2 (European odds format) |
| [Liquidity Provision](https://azuro.org/app/liquidity) | Discontinued |
| [DEX LP'ing](https://azuro.org/app/dex-farming) | Discontinued |
| [\$AZUR Staking](https://azuro.org/app/staking)<br />(excl. unbonding) | 1 point = 1 000 000 AZUR staked/day |
| Ecosystem support activities | Ad-hoc. To be announced separately whenever such rewards are to become available. |

All points are credited once a day. A minimum holding period of 24 hours is required for the deposits to qualify for the points.

Points awarded for betting activity will be credited after 100-300 blocks from the time the bet was placed. All bets placed during the Wave period will be included, even if their outcome and resolve date occurs after the end of the Wave period.

## Points multipliers

### Leaderboard multiplier

Making it into the weekly leaderboard gives you point multipliers (applicable to the points you generate in that particular week).

| Weekly leaderboard position | Multiplier |
| --- | --- |
| 1-10 | 2x |
| 11-50 | 1.7x |
| 51-500 | 1.4x |
| 501-1000 | 1.2x |

<Callout type="feature">
You can [implement Azuro Waves Leaderboard into your UI](https://gem.azuro.org/hub/apps/guides/azuro-waves)
</Callout>

### Levels multiplier

| Level ID | Level name | Level multiplier | Points needed |
| --- | --- | --- | --- |
| 0 | Mist | | 0 |
| 1 | Sky | x1.1 | 0.1 |
| 2 | Blue | x1.2 | 0.2 |
| 3 | Ultramarine | x1.3 | 0.5 |
| 4 | Bright | x1.4 | 1.2 |
| 5 | Brilliant | x1.6 | 2.5 |
| 6 | Royal | x2 | 6 |

In this Wave, points that count towards your levels multiplier **can only be earned from AZUR staking.**

To illustrate, if you have 0.65 points from AZUR staking and 5 000 points from betting activities, your levels multiplier will be Ultramarine (x1.3). Your raw total will amount to 5 000.65 points, and your total after applying the levels multiplier will be 6 500.845 points.

At the conclusion of each Wave period, your acquired level will reset to the lowest level for the next Wave. For instance, if you hold the Ultramarine level at the end of Wave 2, you will start at the Mist level in Wave 3.

<Callout type="warning">
If you do not see your level in the Waves tab in the Azuro App, make sure to click the ENHANCE button. You can do this at any stage within the Wave.
However, if you never do it and the Wave ends - you will not have any Level Multiplier points.
</Callout>
6 changes: 3 additions & 3 deletions pages/knowledge-hub/how-azuro-works/reward-distribution.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Callout, Formula } from 'components'

# Reward Distribution

The term "reward" within Azuro protocol refers to the fee of the [Pool's](https://gem.azuro.org/knowledge-hub/how-azuro-works/components/pools) profit that is distributed to those who contribute to its operation.
The term "reward" within Azuro protocol refers to the part of the [Pool's](https://gem.azuro.org/knowledge-hub/how-azuro-works/components/pools) profit that is distributed to those who contribute to its operation.

Currently, there are 4 types of contributors in the Pool, each entitled to rewards from protocol revenue: Liquidity Providers (LPs), Data Providers, Apps, and AzuroDAO.

Expand All @@ -18,7 +18,7 @@ For LPs and Data Providers, after the completion of each [Condition](/knowledge-
Visit [this](https://dune.com/queries/4361346/7319176) Dune query to view the historical month-by-month of our apps' reward calculation.
</Callout>

Apps' reward is paid monthly, separately for each chain. Each app's final take-home reward will be the lower of its *NotionalReward* and the sum of its *SpreadRewardCap* for that month.
Apps' reward is paid monthly, separately for each chain. Each app's final take-home reward (aka. revenue share) will be the lower of its *RevenueReward* and its *SpreadRewardCap (SRCt)* for that month.

### SpreadRewardCap (SRCt)

Expand Down Expand Up @@ -62,4 +62,4 @@ The remaining amount will be attributable to AzuroDAO, calculated by deducting a

<Callout type="info">
LP, Data Provider, and DAO rewards can happen to be negative in the event of Pool losses (caused by bettor outperformance). However, App rewards can be only positive or zero.
</Callout>
</Callout>

0 comments on commit c5c5805

Please sign in to comment.