You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grant as free state or liquid assets, so It can transfer between users and be staked in other modules, such as mortgage loans.
But the problem is how to revoke the Grant.
Option 1.
Each Grant has an id. To withdraw Token from the DAO through the Grant, the user must pass in the mut reference of the Grant. At this time, if DAO want to revoke a Grant, DAO need to mark the id as deprecated and record it in the DAO. Third parties need to check whether the Grant is deprecated when they use it.
Option 2.
The Grant cannot be revoked.
Grant 可以作为自由状态,可以在用户间转让,或者质押到其他的 module 中,比如抵押借款。
但带来一个问题是如何收回 Grant?
方案一:
每个 Grant 有个 id,用户要从 DAO 中通过 Grant 提款,需要将 Grant 的 mut 引用传递进来。这时候,如果要回收某个 Grant,只需要将该 id 标记为废弃,记录在 DAO 中。第三方使用时需要检查 Grant 是否失效。
Feature Request
Describe the Feature Request
Grant as free state or liquid assets, so It can transfer between users and be staked in other modules, such as mortgage loans.
But the problem is how to revoke the Grant.
Option 1.
Each Grant has an id. To withdraw Token from the DAO through the Grant, the user must pass in the mut reference of the Grant. At this time, if DAO want to revoke a Grant, DAO need to mark the id as deprecated and record it in the DAO. Third parties need to check whether the Grant is deprecated when they use it.
Option 2.
The Grant cannot be revoked.
Grant 可以作为自由状态,可以在用户间转让,或者质押到其他的 module 中,比如抵押借款。
但带来一个问题是如何收回 Grant?
方案一:
每个 Grant 有个 id,用户要从 DAO 中通过 Grant 提款,需要将 Grant 的 mut 引用传递进来。这时候,如果要回收某个 Grant,只需要将该 id 标记为废弃,记录在 DAO 中。第三方使用时需要检查 Grant 是否失效。
方案二:
Grant 不能收回。这个好像也不合理。
Additional Context
#136
If the feature request is approved, would you be willing to submit a PR?
Yes / No (Help can be provided if you need assistance submitting a PR)
The text was updated successfully, but these errors were encountered: