Skip to content

Commit

Permalink
Alfajores release 3 (#200)
Browse files Browse the repository at this point in the history
* alfajores contract release

* updated deployed contract abis

* Updated deploy script to use existing libraby

* - updated DefaultStrategy main ABI
- Removed unused solc input

* tooling to generate MultiSig proposal payload for v3 contract upgrade

* ++ multisig edge case test

* hardcoded multisig signer address
  • Loading branch information
soloseng authored Apr 22, 2024
1 parent c3b7fef commit 67fc64c
Show file tree
Hide file tree
Showing 27 changed files with 4,184 additions and 743 deletions.
8 changes: 3 additions & 5 deletions deploy/07_default_strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const { deploy } = hre.deployments;
const { deployer } = await hre.getNamedAccounts();

// Library deployment
const lib = await hre.ethers.getContractFactory("AddressSortedLinkedList");
const libInstance = await lib.deploy();
await libInstance.deployed();
// Fetch deployed library
const libraryAddresses = (await hre.deployments.get("DefaultStrategy_Implementation")).libraries!;

const managerAddress = (await hre.deployments.get("Manager")).address;
await catchNotOwnerForProxy(
deploy("DefaultStrategy", {
from: deployer,
log: true,
libraries: { AddressSortedLinkedList: libInstance.address },
libraries: { AddressSortedLinkedList: libraryAddresses["AddressSortedLinkedList"] },
proxy: {
proxyArgs: ["{implementation}", "{data}"],
proxyContract: "ERC1967Proxy",
Expand Down
242 changes: 192 additions & 50 deletions deployments/alfajores/Account.json

Large diffs are not rendered by default.

263 changes: 223 additions & 40 deletions deployments/alfajores/Account_Implementation.json

Large diffs are not rendered by default.

203 changes: 193 additions & 10 deletions deployments/alfajores/DefaultStrategy.json

Large diffs are not rendered by default.

412 changes: 353 additions & 59 deletions deployments/alfajores/DefaultStrategy_Implementation.json

Large diffs are not rendered by default.

124 changes: 115 additions & 9 deletions deployments/alfajores/GroupHealth.json

Large diffs are not rendered by default.

199 changes: 181 additions & 18 deletions deployments/alfajores/GroupHealth_Implementation.json

Large diffs are not rendered by default.

202 changes: 171 additions & 31 deletions deployments/alfajores/Manager.json

Large diffs are not rendered by default.

260 changes: 217 additions & 43 deletions deployments/alfajores/Manager_Implementation.json

Large diffs are not rendered by default.

Loading

0 comments on commit 67fc64c

Please sign in to comment.