Skip to content

Commit

Permalink
upd: test events
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed May 25, 2023
1 parent 2abc7bd commit d00f758
Showing 1 changed file with 93 additions and 0 deletions.
93 changes: 93 additions & 0 deletions test/utils/Events.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,100 @@ abstract contract Events {
address indexed userAddress,
uint256 amount
);
event FxWithdrawERC721(
address indexed rootToken,
address indexed childToken,
address indexed userAddress,
uint256 id
);
event FxDepositERC721(
address indexed rootToken,
address indexed depositor,
address indexed userAddress,
uint256 id
);

event TokenMappedERC1155(address indexed rootToken, address indexed childToken);
event FxWithdrawERC1155(
address indexed rootToken,
address indexed childToken,
address indexed userAddress,
uint256 id,
uint256 amount
);
event FxDepositERC1155(
address indexed rootToken,
address indexed depositor,
address indexed userAddress,
uint256 id,
uint256 amount
);
event FxWithdrawBatchERC1155(
address indexed rootToken,
address indexed childToken,
address indexed userAddress,
uint256[] ids,
uint256[] amounts
);
event FxDepositBatchERC1155(
address indexed rootToken,
address indexed userAddress,
uint256[] ids,
uint256[] amounts
);

event FxWithdrawMintableERC20(
address indexed rootToken,
address indexed childToken,
address indexed userAddress,
uint256 amount
);
event FxDepositMintableERC20(
address indexed rootToken,
address indexed depositor,
address indexed userAddress,
uint256 amount
);
event FxWithdrawMintableERC721(
address indexed rootToken,
address indexed childToken,
address indexed userAddress,
uint256 id
);
event FxDepositMintableERC721(
address indexed rootToken,
address indexed depositor,
address indexed userAddress,
uint256 id
);
event TokenMappedMintableERC1155(address indexed rootToken, address indexed childToken);
event FxWithdrawMintableERC1155(
address indexed rootToken,
address indexed childToken,
address indexed userAddress,
uint256 id,
uint256 amount
);
event FxDepositMintableERC1155(
address indexed rootToken,
address indexed depositor,
address indexed userAddress,
uint256 id,
uint256 amount
);
event FxWithdrawBatchMintableERC1155(
address indexed rootToken,
address indexed childToken,
address indexed userAddress,
uint256[] ids,
uint256[] amounts
);
event FxDepositBatchMintableERC1155(
address indexed rootToken,
address indexed userAddress,
uint256[] ids,
uint256[] amounts
);
event Transfer(address indexed from, address indexed to, uint256 value);
event MessageSent(bytes message);
}

0 comments on commit d00f758

Please sign in to comment.