-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clean up types, delete unused code * More type cleanup * Fetch MinerInfo directly from state, not api * Return Vesting and pledged bal in PreviewTerminateSectorsReturn * Cleanup agent liquidation summary method * Add helper methods to the PreviewAgentTerminationSummary struct * Move test helpers to utils package * Add tests * Add Agent Liquid balance for ADO integration * Delete max withdraw query * Update mocks * Fix max borrow helpers Fix tests and tweak rr calc * Polish * Use new liquidation value in econ.ComputeAgentData * Prepare for set-recovered handling of faulty agents * Prepare for set-recovered with agents with bad LV's * Update types * Remove incomplete test * Fix AgentMaxBorrow * Add AgentCollateralStatsQuick method * Update types * Improve naming, add Summarize fn * Add LTV helper to PreviewATS struct * Updated off-chain termination calculation for network v12 Requires Lotus build on master branch with this PR: * filecoin-project/lotus#11566 * Use StateCall instead of StateCompute for on-chain terminations * Check early terminations in state for on-chain * Remove debug code * Update go sum * Change ComputeAgentData func sig * Add econ package tests * Remove old unused code * Update naming * Update use of WAD math --------- Co-authored-by: Jim Pick <[email protected]>
- Loading branch information
1 parent
281b474
commit 723c8a7
Showing
23 changed files
with
1,077 additions
and
1,064 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.