SYSTEMS AND METHODS FOR MANAGING A MONEY MARKET OF DIGITAL ASSETS
The disclosed computer-implemented method for managing a money market of digital assets may include collecting a pool of assets from a plurality of users and maintaining a ledger of asset ownership for the assets and the plurality of users. The method may include calculating, in response to initiation of a transaction, a transaction rate based on the ledger and applying the transaction rate to perform the transaction. The method may also include adding a transaction record for the transaction to the ledger. Various other methods, systems, and computer-readable media are also disclosed.
1 . A method for managing a money market of digital assets, the method comprising:
collecting a pool of assets from a plurality of users;
maintaining a ledger of asset ownership for the assets and the plurality of users;
calculating, in response to initiation of a transaction, a transaction rate based on the ledger;
applying the transaction rate to perform the transaction; and
adding a transaction record for the transaction to the ledger.
2 . The method of claim 1 , wherein the ledger comprises a blockchain ledger implemented with a distributed database.
3 . The method of claim 1 , wherein the transaction rate corresponds to an exchange rate and calculating the transaction rate comprises subtracting a liabilities balance of the pool from a cash balance of the pool and dividing the subtraction result by an ownership distribution value, wherein the ownership distribution value is based on a distribution of asset ownership.
4 . The method of claim 3 , wherein the transaction corresponds to a mint operation from a user with an asset, and the method further comprises:
transferring the asset from the user to the pool;
increasing the cash balance based on the asset; and
increasing, based on the asset and the exchange rate, a user asset balance associated with the user.
5 . The method of claim 3 , wherein the transaction corresponds to a redeem operation from a user requesting an asset and the method further comprises:
transferring the asset from the pool to the user;
decreasing the cash balance based on the asset; and
decreasing, based on the asset and the exchange rate, a user asset balance associated with the user.
6 . The method of claim 1 , wherein the ledger further includes an interest rate index value and a last update value, and wherein the method further comprises:
determining a liabilities balance based on a cash balance of the pool, a total borrow balance of the pool, and a reserves balance of the pool;
determining a utilization rate of the pool based on the cash balance and the liabilities balance;
determining an interest rate based on the utilization rate of the pool; and
updating an interest rate index based on the interest rate and a time since a last update.
7 . The method of claim 6 , further comprising:
detecting an update event associated with the pool of assets; and
modifying an interest index based on a time since a last update.
8 . The method of claim 7 , wherein the transaction corresponds to a borrow operation from a user for a borrow amount and the method further comprises:
determining whether a borrowing capacity of the user satisfies a collateral threshold;
transferring the borrow amount from the pool to the user; and
updating a borrow balance value of the user.
9 . The method of claim 7 , wherein the transaction corresponds to a redeem operation from a user for an amount and the method further comprises:
calculating an interest fee based on an interest index, an account interest index, and the amount;
transferring the amount and the interest fee from the pool to the user; and
reducing, based on the amount, a borrow balance for the user.
10 . The method of claim 7 , wherein the transaction corresponds to a liquidate operation by a target for a user having a collateral asset for an amount and the method further comprises:
transferring the amount from the user to the pool;
reducing, based on the amount, a borrow balance for the user; and
transferring the collateral asset from the user to the target.
11 . The method of claim 10 , wherein the amount is a proportion of the borrow balance of the user and is determined based on a close factor.
12 . A system for managing a money market of digital assets, the system comprising:
at least one physical processor;
physical memory comprising computer-executable instructions that, when executed by the physical processor, cause the physical processor to:
collect a pool of assets from a plurality of users;
maintain a ledger of asset ownership for the assets and the plurality of users;
calculate, in response to initiation of a transaction, a transaction rate based on the ledger;
apply the transaction rate to perform the transaction; and
add a transaction record for the transaction to the ledger.
13 . The system of claim 12 , wherein the ledger comprises a blockchain ledger implemented with a distributed database.
14 . The system of claim 12 , wherein the transaction rate corresponds to an exchange rate and the instructions for calculating the transaction rate comprises instructions for subtracting a liabilities balance of the pool from a cash balance of the pool and dividing the subtraction result by an ownership distribution value, wherein the ownership distribution value is based on a distribution of asset ownership.
15 . The system of claim 14 , wherein the transaction corresponds to a mint operation from a user with an asset, and the instructions further comprise instructions for:
transferring the asset from the user to the pool;
increasing the cash balance based on the asset; and
increasing, based on the asset and the exchange rate, a user asset balance associated with the user.
16 . The system of claim 14 , wherein the transaction corresponds to a redeem operation from a user requesting an asset and the instructions further comprise instructions for:
transferring the asset from the pool to the user;
decreasing the cash balance based on the asset; and
decreasing, based on the asset and the exchange rate, a user asset balance associated with the user.
17 . The system of claim 12 , wherein the transaction corresponds to a borrow operation from a user for a borrow amount and the instructions further comprise instructions for:
determining whether a borrowing capacity of the user satisfies a collateral threshold;
transferring the borrow amount from the pool to the user; and
updating a borrow balance value of the user.
18 . The system of claim 12 , wherein the transaction corresponds to a redeem operation from a user for an amount and the instructions further comprise instructions for:
calculating an interest fee based on an interest index, an account interest index, and the amount;
transferring the amount and the interest fee from the pool to the user; and
reducing, based on the amount, a borrow balance for the user.
19 . The system of claim 12 , wherein the transaction corresponds to a liquidate operation by a target for a user having a collateral asset for an amount and the instructions further comprise instructions for:
transferring the amount from the user to the pool;
reducing, based on the amount, a borrow balance for the user; and
transferring the collateral asset from the user to the target.
20 . A non-transitory computer-readable medium comprising one or more computer-executable instructions that, when executed by at least one processor of a computing device, cause the computing device to:
collect a pool of assets from a plurality of users;
maintain a ledger of asset ownership for the assets and the plurality of users;
calculate, in response to initiation of a transaction, a transaction rate based on the ledger;
apply the transaction rate to perform the transaction; and
add a transaction record for the transaction to the ledger.