-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge investor into TOCC #525
Commits on Jun 28, 2021
-
Add skeleton of Tinlake investor pallet
Branan Riley committedJun 28, 2021 Configuration menu - View commit details
-
Copy full SHA for 27ab63c - Browse repository at this point
Copy the full SHA 27ab63cView commit details
Commits on Jun 29, 2021
-
Remove example content from investor-pool pallet
Branan Riley committedJun 29, 2021 Configuration menu - View commit details
-
Copy full SHA for 46fd1ba - Browse repository at this point
Copy the full SHA 46fd1baView commit details -
Switch to
Perquintill
for interest calculationBranan Riley committedJun 29, 2021 Configuration menu - View commit details
-
Copy full SHA for 312f842 - Browse repository at this point
Copy the full SHA 312f842View commit details
Commits on Jun 30, 2021
-
Add tokens and initial supply/redeem order support
Branan Riley committedJun 30, 2021 Configuration menu - View commit details
-
Copy full SHA for a6e72d4 - Browse repository at this point
Copy the full SHA a6e72d4View commit details -
Give the pool a direct parameter for the CurrencyId
Branan Riley committedJun 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 696edaa - Browse repository at this point
Copy the full SHA 696edaaView commit details
Commits on Jul 2, 2021
-
Add beginning of epoch closing logic
Branan Riley committedJul 2, 2021 Configuration menu - View commit details
-
Copy full SHA for a0b74f2 - Browse repository at this point
Copy the full SHA a0b74f2View commit details -
Fix epoch details - it contains percentages/ratios, not absolute values.
Branan Riley committedJul 2, 2021 Configuration menu - View commit details
-
Copy full SHA for fcfc674 - Browse repository at this point
Copy the full SHA fcfc674View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcb4e94 - Browse repository at this point
Copy the full SHA dcb4e94View commit details
Commits on Jul 8, 2021
-
Branan Riley committed
Jul 8, 2021 Configuration menu - View commit details
-
Copy full SHA for fc91d54 - Browse repository at this point
Copy the full SHA fc91d54View commit details
Commits on Sep 10, 2021
-
Merge remote-tracking branch 'upstream/investor-hacking' into investo…
…r-hacking
Branan Riley committedSep 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 087a9a2 - Browse repository at this point
Copy the full SHA 087a9a2View commit details -
Build the epoch execution skeleton
This expands `close_epoch` to have most of the top-level epoch closing logic, with most of the meat still stubbed out.
Branan Riley committedSep 10, 2021 Configuration menu - View commit details
-
Copy full SHA for b645c71 - Browse repository at this point
Copy the full SHA b645c71View commit details -
Improve errors + events for investor pallet
Branan Riley committedSep 10, 2021 Configuration menu - View commit details
-
Copy full SHA for 5f629ac - Browse repository at this point
Copy the full SHA 5f629acView commit details
Commits on Sep 14, 2021
-
Unify pool + reserve logic; remove per-tranche accounts
Branan Riley committedSep 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 0999255 - Browse repository at this point
Copy the full SHA 0999255View commit details -
Rename deposit/payout extrinsics
These extrinsics are really an interface to do fake borrowing/payback until we have a borrower side to interact with. They are renamed to indicate now that that is what they do.
Branan Riley committedSep 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 18ddce0 - Browse repository at this point
Copy the full SHA 18ddce0View commit details -
Add doc comments to some less-obvious pieces
Branan Riley committedSep 14, 2021 Configuration menu - View commit details
-
Copy full SHA for fae369a - Browse repository at this point
Copy the full SHA fae369aView commit details -
Be more consistent in use of pool_id/tranche_id
This removes some confusing code where the terms `pool` or `tranche` were being used to refer to the id in some cases but the struct data in others. IDs are now always delimited as such
Branan Riley committedSep 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 9ce1ab9 - Browse repository at this point
Copy the full SHA 9ce1ab9View commit details -
Branan Riley committed
Sep 14, 2021 Configuration menu - View commit details
-
Copy full SHA for ef1537e - Browse repository at this point
Copy the full SHA ef1537eView commit details -
Use UnixTime trait for time instead of Timestamp pallet directly
Branan Riley committedSep 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 9f77060 - Browse repository at this point
Copy the full SHA 9f77060View commit details
Commits on Sep 30, 2021
-
Add Epoch Validation (centrifuge#471)
* Add Reserve * wip: checkpoint epoch validation * checkpoint - sub ratio validation * checkpoint - return errors + simplify balance to perquintil conversion * address comments 1 * address comments 2 * moved currency/tranchetoken as primitive crate
Configuration menu - View commit details
-
Copy full SHA for 2cb0169 - Browse repository at this point
Copy the full SHA 2cb0169View commit details
Commits on Oct 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fb6c8eb - Browse repository at this point
Copy the full SHA fb6c8ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 424de85 - Browse repository at this point
Copy the full SHA 424de85View commit details
Commits on Oct 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 566c022 - Browse repository at this point
Copy the full SHA 566c022View commit details -
Integrates Crowdloan Pallets into Altair (centrifuge#493)
* Integrates crowdloan pallets to altait * Pump rt-version 1005, minDep democ 1000 AIR
Configuration menu - View commit details
-
Copy full SHA for d9d8454 - Browse repository at this point
Copy the full SHA d9d8454View commit details
Commits on Oct 21, 2021
-
Fix: Foreign claims and inhance error of validate unsigned (centrifug…
…e#474) * Changed validate-unsigned The changes to the validate unsigned are here to reflect more detailed error messages at failure with the costum error instead of the misleading 'BadProof' return value. Furthermore, this fixes an issue, where somebody could have a signature of any parachain-relay-chain account and then use a proof of any other relay-chain contribution to gain those rewards. * Enable claim_reward calls * Remove indicator for claim failures
Configuration menu - View commit details
-
Copy full SHA for a99a449 - Browse repository at this point
Copy the full SHA a99a449View commit details
Commits on Oct 25, 2021
-
Merge branch 'parachain' into investor-hacking
Branan Riley committedOct 25, 2021 Configuration menu - View commit details
-
Copy full SHA for 5913f6b - Browse repository at this point
Copy the full SHA 5913f6bView commit details -
Merge remote-tracking branch 'upstream/parachain' into investor-hacking
Branan Riley committedOct 25, 2021 Configuration menu - View commit details
-
Copy full SHA for c16c78f - Browse repository at this point
Copy the full SHA c16c78fView commit details
Commits on Nov 17, 2021
-
Epoch execution (centrifuge#485)
* Epoch execution phase 1 This is the beginning of epoch execution. It updates tranche state and stores the execution results, but since token pricing is not yet implemented it cannot do rebalancing or other bits like that. * Epoch close pricing calculation This now calculates a price (including dripping interest) for the tranches at epoch close. There are other locations where dripping interest needs to occur, to come in further commits. * Store additional state at epoch close In addition to the per-tranche supply/redeem targets for an epoch, we now also store the nav, reserve, per-tranche price, and per-tranche total value at the time of close. * Update epoch validation tests for new epoch storage model * Implement tranche rebalancing during epoch execution This also includes a new `fake_nav` to make testing easier * Track tranche debt/balance amounts in borrow/repay fns * Account for updated tranche value in epoch validity * Fixes for epoch execution / rebalancing * Epoch execution testing * Use a less-bad pow() impl for calculating interest * Avoid rounding issues when round-tripping between currencies
Configuration menu - View commit details
-
Copy full SHA for b6f53b3 - Browse repository at this point
Copy the full SHA b6f53b3View commit details
Commits on Dec 1, 2021
-
Merge branch 'investor-hacking' into tocc
Branan Riley committedDec 1, 2021 Configuration menu - View commit details
-
Copy full SHA for ef47790 - Browse repository at this point
Copy the full SHA ef47790View commit details -
Use investor pallet as reserve source for loan pallet
Branan Riley committedDec 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 828dc60 - Browse repository at this point
Copy the full SHA 828dc60View commit details -
Use Loan pallet as NAV source for investor pool
Branan Riley committedDec 1, 2021 Configuration menu - View commit details
-
Copy full SHA for 5b09f5e - Browse repository at this point
Copy the full SHA 5b09f5eView commit details