Introducing Vapaée PayHub
Hello there, how are you doing? I would like to tell you about the work I'm doing right now. It's a core module for DeFi services called PayHub and its main purpose is to distribute assets in many configurable ways.
Overview
This module is implemented in the vapaeepayhub smart contract, alone with vapaeetokens they together provide a series of services that are part of the Vapaée platform on Telos blockchain. Vapaée Tokens provides token handling services while Vapaée PayHub provides services related to the distribution of assets.
Below we will list the most important services they provide:
Vapaée Tokens services
Creation:
Allow any user to create and distribute a brand new standard token with no friction.Multiple issues:
If you are a developer and you need several contracts to issue the same token created in vapaeetokens contract, you can assign as many issuers as you need, unlike the standard that only allows one.Debits:
If you know Telos you know the great REX system for staking and earning tokens but it has its limitations: it's only for TLOS tokens, it has a fixed lock time, and just one pool with a unique APR. Vapaée PayHub allows any admin to configure their tokens and create one or more staking pools for each token. Each pool can have its own lock time and income APR so users may have many staking options.Handlers:
You will be able to create handlers to perform configurable preset tasks to manage arriving assets like redirection or a swap on the market.
Vapaée PayHub service
Enhanced REX:
If you know Telos you know the great REX system for staking and earning tokens but it has its limitations: it's only for TLOS tokens, fixed lock time, and just one pool with a unique APR. Vapaée PayHub allows any admin to configure their tokens and create one or more staking pools for each token. Each pool can have its own locking and income APR so users may have many staking options.PayHub:
A PayHub is a payment node that can be configured to distribute incoming assets in a predefined way, where all targets receive a predefined percentage of the amount. Targets can be regular end accounts, a pool of participation, or even another PayHub account which allows for tree-structured payments.Time based payments:
Any user can configure a liquidity pool to lock the assets and leak it slowly as time passes. If combined with vapaeetokens, the liquidity can be issued in the same manner.
Conclusion
These two contracts alone can be combined to perform an automated really complicated asset distribution system with no code. For example, you can create a payment structure to distribute the company's income. One part goes for the departments which in turn redistribute on teams and finally to the employees. And the other part goes for the tree staking pools of the main token of the company, which in turn redistributes the assets among the staking users in three different APRs depending on the lock time of the pool, the longer the lock time the higher income.
Future Post
This is what I've been working on these days and I plan to finish as fast as possible because I want to present to you the next big Working Proposal that we were working on the last month with my partner Guille I told you a couple of posts ago.
For now, there's no front end to access all mentioned services. In the next post, I will tell you about a device app that will be the first one to use these services. It's not finished yet but its development is very advanced.