Lending Protocol Liquidation #644
Replies: 3 comments 4 replies
-
I think this is asking for a similar thing to that discussed in #334. I understand the desire, although it's a bit complex to work out the right policies at a network level. I continue to think that this is a subset of a general idea of access control lists (ACLs) for miner actor operations. The question then becomes (1) should we implement ACLs in the built-in actor code directly, or (2) can we provide just enough public API for ACLs (and similar business logic) to be implemented in a user-programmed actor outside of the built-ins, as a kind of miner owner delegate. This second option is preferable for keeping the built-in actors simple, and enabling maximum innovation rate. The exported API #401 is not yet sufficient, but I think we should aim that way. |
Beta Was this translation helpful? Give feedback.
-
In view of the two implementation methods, I think each has its advantages and disadvantages: Another challenge in implementing ACLs is how to manage ACL rule updates. For example, ACL rules need to be added, deleted or modified, and there is a need to ensure that these changes are security and do not compromise the integrity of the system. Therefore, when implementing ACL logic, a reasonable mechanism needs to be designed to manage the changes of ACL rules. In the second way, a proxy Actor is added and access control lists (ACLs) and other business logic are implemented in this Actor. The proxy Actor will have access to the built-in Actor and can control the access rights of other Actors and miners. It is important to note that this approach requires that the proxy Actor itself is trusted, as it has a decisive influence on the other Actors' access control. Therefore the security and reliability of the proxy Actor must be ensured. Also, since the proxy Actor is user-written, the flexibility and generality of the ACL logic needs to be considered. The advantage of this approach is that the ACL logic can be written and managed freely, thus enabling more flexible access control policies, and it also makes the system more modular and keeps the simplicity of the built-in Actors. However, this approach requires more technical and time investment, so it may take longer to implement. I think at this stage, if we can make the debit and credit association faster to be put into use, probably the first way: implementing in the built-in contract may be more ideal, which lowers the threshold for users. |
Beta Was this translation helpful? Give feedback.
-
@anorth
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a proposal to add termination sector on FEVM
Motivation
Building Filecoin nodes requires a large amount of pledging, which has become one of the bottlenecks in the growth of the Filecoin network, and the FIL lending market has been created to a certain extent. The built nodes themselves have a lot of value, including pledged FILs, future rewards, and linear vesting, making them ideal collateral.
With the upcoming launch of the FVM, which opens up the space for a collateralized lending market, we now have the opportunity to use smart contracts and market-based mechanisms to complete the performance process in a secure and trustworthy manner, with investors contributing liquidity and node-owning builders gaining momentum for continued growth.
Proposal
Pledged coins are very high quality assets that can be pledged to get FIL to create more nodes. This will not only promote the development of Filecoin, but also increase the liquidity of Fil.
However, during the pledging process, if SP cannot maintain the nodes well, it is possible to deduct the pledged coins, and in extreme cases, all the pledged coins will be deducted, so before deducting all the pledged coins, the sector needs to be terminated.
Terminating the sector, on the one hand, can urge SP to maintain the node better, and on the other hand, can stop the loss in time to avoid the loss of the lending agreement
Beta Was this translation helpful? Give feedback.
All reactions