Onchain infrastructrure
High-level description of our smart contract infrastructure
The primary smart contract for our onchain infrastructure is the Credit Vault contract, which implements the ERC4626 standard. Outside of the Credit Vault, we have a simple whitelist manager, which is used to manage access to the Credit Vault. Only users that pass KYC/KYB can access our credit vault contracts
Our credit vault contract has the following parameters, adjustable by admins:
Rate: Used for yield-bearing products to set a linear rate of accrual for the redemption value
Borrower: The admin wallet that is allowed to borrow funds from the pool
Redemption Value: The redemption value of an hyToken
The typical operational flow for the onchain component involves the following:
Users transfer USDC to one of our credit vaults and receive a deposit token (e.g. hyTB) representing their share of the pool.
The deposit token immediately starts accruing interest so long as some portion of the assets have been borrowed by HiYield
Users can then transfer this token to approved DeFi protocols as collateral, or simply hold it in their wallet
Last updated