xxxxxxxxxx
Sign in to import from GitHub:
Link to GitHub:
Or start with a template:
tinlake
Tinlake v3 enables revolving investment pools, meaning that investors can redeem and invest TIN and DROP tokens on an ongoing basis.
The investment and redeemtion of tokens is executed in periodically epochs (e.g 24h) for which investors can place orders. The calculation of the token prices for an investment or redeemtion requires a net asset value (NAV) evaluation of the ongoing loans based on the underlying collaterals.
In the scope of the audit are the new contracts in Tinlake to enable a revolving pool and the contract which can calculate the current NAV.
The NFT Feed contract that manages the collateral appraisals and based on that returns the current Net Asset Value (NAV) of the entire Tinlake pool
NAV Feed Contract: https://github.com/centrifuge/tinlake-nftfeed/blob/master/src/feed.sol
The tranche contract allows users to place orders for investment and token redeemtions for epochs. After an epoch is over and has been executed by the epoch contract users can disburse their tokens or currency.
The fulfillment of an order depends on the currency available and the minimum junior tranche ratio (as known from the Tinlake v2 spec).
Tinlake will run to instance of the contract one for the senior and one for the junior tranche.
Link: Tranche Contract
The epoch coordinator calculates the token price and percentage of reedemention & investment orders which can be fulfilled in an epoch for each tranche. The calculation is based on the total amount of invest and redeem orders, the current equity ratio, total amount of repayments, currency available and the priority of order types (Example: redeem comes before invest).
All users that place orders within the same epoch are treated equaly independant order volume and submission time don’t result in preferences.
Link: Coordinator Contract
Link: Assessor Contract
The reserve contract holds & keeps track of all the available currency inside Tinlake.
Link: Reserve Contract
Tinlake NAV Feed: Link
Revolving Pool Contracts will be in the main Tinlake repository: Link
In addition to the source code we will provide the following document before the audit starts.
Overall we reduced the code complexity of Tinlake by removing all the modular contracts.
Manuel - manuel@centrifuge.io
Alina - alina@centrifuge.io
or
Do you really want to delete this template?
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more
Sign in to GitHubHackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
Syncing