-
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.
fix: added multisig for base mainnet
- Loading branch information
Showing
6 changed files
with
2,718 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,76 @@ | ||
import { NETWORK_ADDRESSES } from "src/networkAddresses"; | ||
import { makeProposal } from "src/utils"; | ||
|
||
const { basemainnet } = NETWORK_ADDRESSES; | ||
|
||
export const XVS_STORE = "0x11b084Cfa559a82AAC0CcD159dBea27899c7955A"; | ||
export const ACM = "0x9E6CeEfDC6183e4D0DF8092A9B90cDF659687daB"; | ||
|
||
const vip002 = () => { | ||
return makeProposal([ | ||
{ | ||
target: basemainnet.XVS_VAULT_PROXY, | ||
signature: "_acceptAdmin()", | ||
params: [], | ||
}, | ||
|
||
{ | ||
target: XVS_STORE, | ||
signature: "acceptAdmin()", | ||
params: [], | ||
}, | ||
|
||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [basemainnet.XVS_VAULT_PROXY, "pause()", basemainnet.GUARDIAN], | ||
}, | ||
|
||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [basemainnet.XVS_VAULT_PROXY, "resume()", basemainnet.GUARDIAN], | ||
}, | ||
|
||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [basemainnet.XVS_VAULT_PROXY, "add(address,uint256,address,uint256,uint256)", basemainnet.GUARDIAN], | ||
}, | ||
|
||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [basemainnet.XVS_VAULT_PROXY, "set(address,uint256,uint256)", basemainnet.GUARDIAN], | ||
}, | ||
|
||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [basemainnet.XVS_VAULT_PROXY, "setRewardAmountPerBlockOrSecond(address,uint256)", basemainnet.GUARDIAN], // func name changed from setRewardAmountPerBlock to setRewardAmountPerBlockOrSecond | ||
}, | ||
|
||
{ | ||
target: ACM, | ||
signature: "giveCallPermission(address,string,address)", | ||
params: [ | ||
basemainnet.XVS_VAULT_PROXY, | ||
"setWithdrawalLockingPeriod(address,uint256,uint256)", | ||
basemainnet.GUARDIAN, | ||
], | ||
}, | ||
|
||
{ | ||
target: basemainnet.XVS_VAULT_PROXY, | ||
signature: "add(address,uint256,address,uint256,uint256)", | ||
params: [basemainnet.XVS, 100, basemainnet.XVS, "0", 604800], | ||
}, | ||
{ | ||
target: basemainnet.XVS_VAULT_PROXY, | ||
signature: "pause()", | ||
params: [], | ||
}, | ||
]); | ||
}; | ||
|
||
export default vip002; |
Oops, something went wrong.