Skip to content
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

Evaluate ways to completely disentangle delegation from Checker #274

Open
gkaracha opened this issue Oct 15, 2021 · 0 comments
Open

Evaluate ways to completely disentangle delegation from Checker #274

gkaracha opened this issue Oct 15, 2021 · 0 comments

Comments

@gkaracha
Copy link
Contributor

The spec for migrating to the tez wrapper as well as its implementation keep the burden of delegation on the Checker side: vault owners can set the delegate for their own vaults, but burrow owners can only set the delegate for their collateral via Checker.

This design is not very modular; ideally delegation should happen entirely on the TezWrapper side (should also lower the gas costs, not having to go through checker) but that can't happen easily: (a) the burrow contracts only listen to checker, (b) only checker knows the burrow addresses, and (c) the burrow contracts are the only contracts that can set the delegate for their vaults.

I am thinking that exposing the burrow address for a user via an offline view could address (b), though I am not sure yet about the best way to circumvent (a) and (c). Either way, the ideal design would have Checker deal solely with FA2 tokens (accepting no tez and having no delegation-related entrypoints).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant