Purpose: To securely capture a portion of revenue and automatically pay interest due. In the event of a default on loan principal, the spigot is used to secure this as well.

Screen Shot 2021-12-02 at 6.23.58 PM.png

Initialization:

When initialized, the smart contract receives the terms of the loan, and after being verified by 4 out of the 5 signers on the multisig (excluding the neutral party), the loan object is instantiated and stored as an object. Inside the terms you would include the hard coded amount of the interest rate (if it's fixed) or whatever metric the loan should be referring to (e.g. a percentage of the revenue if it's revenue based financing), the size of the loan, and the interest rate periods for each loan.

🔐 Security Guarantees:

A high degree of security is needed to ensure that this critical infrastructure cannot be exploited.

There are several safeguards in place to ensure this is the case:

Screen Shot 2021-12-02 at 6.04.37 PM.png

After the transaction is signed, and approved, the actual flow portion of the spigot begins. If there are multiple assets in the smart contract containing revenue, a hard coded list of assets dictates the order for which the interest payment begins.

Additional Features to be added in a v2: