Skip to content

Commit

Permalink
feat: More information for underwriting
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Dec 4, 2023
1 parent 1424e2b commit d3f0fb6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions evm/src/CatalystChainInterface.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ contract CatalystChainInterface is ICatalystChainInterface, Ownable, Bytes65 {
event UnderwriteSwap(
bytes32 indexed identifier,
address indexed underwriter,
uint96 expiry
uint96 expiry,
address targetVault,
address toAsset,
uint256 U,
address toAccount
);

event FulfillUnderwrite(
Expand Down Expand Up @@ -791,7 +795,11 @@ contract CatalystChainInterface is ICatalystChainInterface, Ownable, Bytes65 {
emit UnderwriteSwap(
identifier,
msg.sender,
uint96(uint256(block.number) + uint256(maxUnderwritingDuration))
uint96(uint256(block.number) + uint256(maxUnderwritingDuration)),
targetVault,
toAsset,
U,
toAccount
);
}

Expand Down

0 comments on commit d3f0fb6

Please sign in to comment.