Liquidity Efficiency
Not only an Open Platform, Sentre aims to provide a truly efficient flow of liquidity that benefits every Sentizens.
Last updated
Not only an Open Platform, Sentre aims to provide a truly efficient flow of liquidity that benefits every Sentizens.
Last updated
The liquidity flow of Sentre starts from SenSwap and Sen OS, then returns to developers and users in different ways.
For SenSwap, activities like swapping, staking and pooling from LPs will be our traditional source of liquidity. SenSwap provides two options for liquidity providers to choose based on their preference:
Instead of limiting itself to stable coins or any specific ecosystem’s coins, SenSwap focuses on exotic, non-correlated pools. From these pools, SenSwap is able to accumulate and utilize cross-chain liquidity.
For triad-token pools, SEN token will be the universal interface between any pair. With this, SenSwap is able to utilize liquidity from any and all pools, reduce confirmation time for users, perform price evaluation and liquidity automation, and so on.
It is entirely up to liquidity providers to choose between the two types of pools. To further aid such providers, Sentre also comes up with a Simulated Single Exposure model to enable Asymmetric Deposits (see Asymmetric Deposit).
Aside from the traditional way through SenSwap, Sentre has another means to gather liquidity - that is through our Open Platform, Sen OS.
There are two types of dApps that are presented on Sen Store and work on Sen OS.
First are Solana-based dApps created and published by Sentre’s partners. These dApps will be integrated into Sen OS and appear on Sen Store. From this:
Users can gather all their favorite dApps in one place and create a single-page workflow.
Sentre’s partners can increase the amount of real, active users who love and frequently use their dApps.
Second are new, promising dApps created by developers - either as individuals or teams. By allowing them to access our resources and give support or consulting services when needed, Sentre creates a space where:
Developers get to introduce their ideas to native and active users with real opinions and reviews.
Users get to pick and choose from a variety of dApps, and put liquidity into the hands of the right projects.
From both types of dApps, Sentre accumulates liquidity generated and returns it to users through Yield Farming and other future features.
After all, the purpose of our liquidity accumulator is to serve dApp developers and users and satisfy your needs for liquidity.
For developers, Sentre’s liquidity becomes inheritable when their idea or dApp gets chosen by the users. If their idea is truly useful to the community, they won’t have to worry about finding available liquidity. Instead, they only need to focus on making their dApps as awesome as possible!
For users, as a high liquidity environment, Sentre helps reduce confirmation time and lower fees and slippage rate. Also, as users deposit into Sentre’s pools, the LP tokens received can be staked to earn more rewards.
To encourage people to lock tokens, Sentre protocol needs to bootstrap and build momentum for liquidity from the start, and to do this, Sentre plans to utilize common strategies, namely Farming and Auto Compound Farming. Besides, wallet integration is also considered to create a native experience for users.
Roughly speaking, farming lets users stake their LPT to mint more SEN as rewards. Users will now become farmers, earning rewards as periodic and proportional as a farmer’s shares. There are three main functions for three main farming activities:
Harvest: Collect rewards.
Stake: Add LPT to a pool and receive a number of corresponding shares which is equal to the number of staked LPT.
Unstake: burn shares and remove LPT from a pool.
At first look, Solana blockchain has an unusual approach to develop the “smart contract” concept and call it “program”. A program on Solana doesn’t have its own memory, storage, or anything to store states. Solana’s solution is extremely opposite to Ethereum[9], which is the most adopted smart contract platform. As an interesting metaphor, we can think of Solana programs as punched-card computers, which are the very first versions of the digital computer in the 70s. Such computers need punched cards to provide inputs, algorithms, and even to write the outputs. Within the Solana programming concept, a punched card is represented by an account.
To adapt the novel model and secure user experience, DApps on Solana are required several special features including renting accounts, rent exemption, associated accounts, cross-program invocations, and many others.
Due to the limit of resources in the Solana programming model, farming cannot naively loop all accounts and update rewards in every period. Hence, we employ debt models to reduce the number of computations. For example, instead of updating the reward of each account periodically, the protocol shall update a single parameter named pool debt to describe how much the pool is owing to farmers.
Proposition 2. All farmer’s actions including harvest, stake, and unstake can be generalized by an order of fully harvest, fully unstake, fully stake where Fully Harvest: harvest all rewards to a personal account. Fully Unstake: unstake all LPT by returning all shares. Fully Stake: stake a specific LPT and receive a number of shares. Fully harvest is just the same as stake.
Giving a pool created at timestamp with the periodic rewards and the number of farmers , the -th farmer's state is {} where is the -th farmer's shares and is the farmer's debt ; And the pool's state is {} where is the sum of shares and is the pool debt . In the following equations, the pool has lived for periods and we use prime to represent for subsequent notations.
Fully Harvest. This action doesn’t change all shares. Then the -th farmer will harvest SEN,
(5) ,
(6) ,
(7) .
Fully Unstake. This action must be after the Fully Harvest, and unstakes all ,
(8)
(9) ,
(10)
Fully Stake. This action must be after the Fully Unstake, and stakes ,
(11) ,
(12) ,
(13) ,
(14) .
For example, you have staked and owned 1 share. You wish to stake 1 more token to own 2 shares. This desire can be generalized by a pattern:
Fully harvest.
Fully unstake 1 token.
Fully stake 2 tokens.
Farming is not yet optimized when rewards can’t be re-invested to earn more profit. In the future, Sentre will tackle this problem by developing an automated process of compound interest for relevant tokens.
______________________________
[9] G. Wood et al., “Ethereum: A secure decentralised generalised transaction ledger,” Ethereum project yellow paper, vol. 151, no. 2014, pp. 1–32, 2014.