Skip to content

Commit df77477

Browse files
deployment event
1 parent 45f15bf commit df77477

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/concrete/deploy/ERC20PriceOracleReceiptVaultCloneDeployer.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ struct ERC20PriceOracleReceiptVaultCloneDeployerConfig {
2323
}
2424

2525
contract ERC20PriceOracleReceiptVaultCloneDeployer {
26+
event Deployment(address sender, address receipt, address erc20PriceOracleReceiptVault);
27+
2628
address public immutable I_RECEIPT_IMPLEMENTATION;
2729
address public immutable I_ERC20_PRICE_ORACLE_RECEIPT_VAULT_IMPLEMENTATION;
2830

@@ -54,6 +56,8 @@ contract ERC20PriceOracleReceiptVaultCloneDeployer {
5456
revert InitializeVaultFailed();
5557
}
5658

59+
emit Deployment(msg.sender, address(receipt), address(erc20PriceOracleReceiptVault));
60+
5761
return erc20PriceOracleReceiptVault;
5862
}
5963
}

src/concrete/deploy/OffchainAssetReceiptVaultBeaconSetDeployer.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ struct OffchainAssetReceiptVaultBeaconSetDeployerConfig {
2222
}
2323

2424
contract OffchainAssetReceiptVaultBeaconSetDeployer {
25+
event Deployment(address sender, address receiptBeacon, address offchainAssetReceiptVaultBeacon);
26+
2527
IBeacon public immutable I_RECEIPT_BEACON;
2628
IBeacon public immutable I_OFFCHAIN_ASSET_RECEIPT_VAULT_BEACON;
2729

@@ -60,6 +62,8 @@ contract OffchainAssetReceiptVaultBeaconSetDeployer {
6062
revert InitializeVaultFailed();
6163
}
6264

65+
emit Deployment(msg.sender, address(receipt), address(offchainAssetReceiptVault));
66+
6367
return offchainAssetReceiptVault;
6468
}
6569
}

0 commit comments

Comments
 (0)