-
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.
- Loading branch information
Showing
11 changed files
with
9,947 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
import { makeProposal } from "../../../../src/utils"; | ||
|
||
const ACM = "0x9E6CeEfDC6183e4D0DF8092A9B90cDF659687daB"; | ||
const XVS_VAULT_PROXY = "0x708B54F2C3f3606ea48a8d94dab88D9Ab22D7fCd"; | ||
const PRIME_LIQUIDITY_PROVIDER = "0xcB293EB385dEFF2CdeDa4E7060974BB90ee0B208"; | ||
const PRIME = "0xD2e84244f1e9Fca03Ff024af35b8f9612D5d7a30"; | ||
const GUARDIAN = "0x1803Cf1D3495b43cC628aa1d8638A981F8CD341C"; | ||
const XVS = "0xebB7873213c8d1d9913D8eA39Aa12d74cB107995"; | ||
const POOL_REGISTRY = "0xeef902918DdeCD773D4B422aa1C6e1673EB9136F"; | ||
const COMPTROLLER_CORE = "0x0C7973F9598AA62f9e03B94E92C967fD5437426C"; | ||
|
||
const PRIME_POOL_ID = 0; | ||
|
||
export const vip005 = () => { | ||
return makeProposal([ | ||
{ | ||
target: PRIME, | ||
signature: "initializeV2(address)", | ||
params: [POOL_REGISTRY], | ||
}, | ||
{ | ||
target: PRIME_LIQUIDITY_PROVIDER, | ||
signature: "acceptOwnership()", | ||
params: [], | ||
}, | ||
{ | ||
target: PRIME, | ||
signature: "acceptOwnership()", | ||
params: [], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME_LIQUIDITY_PROVIDER, "setTokensDistributionSpeed(address[],uint256[])", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME_LIQUIDITY_PROVIDER, "setMaxTokensDistributionSpeed(address[],uint256[])", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME_LIQUIDITY_PROVIDER, "setMaxLoopsLimit(uint256)", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME_LIQUIDITY_PROVIDER, "pauseFundsTransfer()", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME_LIQUIDITY_PROVIDER, "resumeFundsTransfer()", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "updateAlpha(uint128,uint128)", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "updateMultipliers(address,uint256,uint256)", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "setStakedAt(address[],uint256[])", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "addMarket(address,address,uint256,uint256)", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "setLimit(uint256,uint256)", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "setMaxLoopsLimit(uint256)", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "issue(bool,address[])", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "burn(address)", GUARDIAN], | ||
}, | ||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [PRIME, "togglePause()", GUARDIAN], | ||
}, | ||
{ | ||
target: PRIME_LIQUIDITY_PROVIDER, | ||
signature: "setPrimeToken(address)", | ||
params: [PRIME], | ||
}, | ||
{ | ||
target: XVS_VAULT_PROXY, | ||
signature: "setPrimeToken(address,address,uint256)", | ||
params: [PRIME, XVS, PRIME_POOL_ID], | ||
}, | ||
{ | ||
target: PRIME, | ||
signature: "setLimit(uint256,uint256)", | ||
params: [ | ||
0, // irrevocable | ||
0, // revocable | ||
], | ||
}, | ||
{ | ||
target: PRIME_LIQUIDITY_PROVIDER, | ||
signature: "pauseFundsTransfer()", | ||
params: [], | ||
}, | ||
{ | ||
target: XVS_VAULT_PROXY, | ||
signature: "resume()", | ||
params: [], | ||
}, | ||
{ | ||
target: COMPTROLLER_CORE, | ||
signature: "setPrimeToken(address)", | ||
params: [PRIME], | ||
}, | ||
]); | ||
}; |
Oops, something went wrong.