wiki Help

Architecture

In order to give the best user experience we have build an architecture that improves on the vara ecosystem using an API to control a proxy account that controls the stash account that is responsible to do the stake, unstake, withdraw process on the validator in the staking pallet of the gear protocol as you can see in the next images:

detector_diagram.png
user_actions.png

Guardian api

The doc api can you found here: https://documenter.getpostman.com/view/23408060/2sAYX2NjTE

On chain ecosystem

The most important part of the protocol are the on chain modules that modules are responsible to maintain the liquidity of the protocol.

The LiquidityContract is responsible to maintain and control the liquidity across the GVARA Contract, using admin actions like: Mint, Burn, TransferFrom.

vara.png

Rewards

The treasure account receive the rewards from the validators, every payout is claimed from the rewards minter module, that is a job it executes every 'era' on the network, after the reward is claimed the rewards minter extract the 10% of the protocol fee and transfer that fee to a guardian account then stake the rest of the reward improving the value of the gvara.

rewards.png

Last modified: 31 enero 2025