8000 EGP 39 by sentilesdal · Pull Request #7 · sentilesdal/council · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

EGP 39 #7

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

EGP 39 #7

wants to merge 3 commits into from

Conversation

sentilesdal
Copy link
Owner

This is a larger proposal that includes the following:

remove vaults from CoreVoting
remove gscVault from gscCoreVoting
add vaults to CoreVoting
add vaults to gscCoreVoting
set approvals for vaults from the treasury for HD tokens
burn balances for Delv, Foundation, Treasury
mint 10x balances for Delv, Foundation, Treasury
revoke owner privileges for the ELFI token

const treasuryInterface = new ethers.utils.Interface(Treasury__factory.abi);
console.log("hdTokenAddress", hdTokenAddress);
console.log("hdLockingVaultAddress", hdLockingVaultAddress);
const callDataTreasuryApproveHdLockingVault =

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to approve the locking vault or the GSC vault. We only need to approve the migration vaults because those are the vaults that have to pull HD from the treasury.

ERC20PermitWithMint__factory.abi
);

const callDataMintDelvBalance = hdTokenInterface.encodeFunctionData("mint", [

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than minting, we should just use the initial allocation of tokens.

The flow that I'm envisioning is:

  1. Deploy the HD token.
  2. Send HD tokens to the treasury.
  3. The treasury approves the migration vault.
  4. The treasury burns the ELFI tokens from DELV, the foundation, and the treasury.
  5. The treasury transfers HD to DELV and the foundation (note, not to itself because it already has it) to compensate them for the burned ELFI.

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

Successfully merging this pull request may close these issues.

2 participants
0