fix: typo in events, add docs

This commit is contained in:
Mohamed Sohail 2024-04-08 12:54:09 +08:00
parent d244cc05ec
commit 6199080c09
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D

View File

@ -36,7 +36,7 @@ contract SwapPool {
// EIP173 // EIP173
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); // EIP173 event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); // EIP173
// Swap // Emitted after a successful swap
event Swap( event Swap(
address indexed initiator, address indexed initiator,
address indexed tokenIn, address indexed tokenIn,
@ -46,16 +46,16 @@ contract SwapPool {
uint256 fee uint256 fee
); );
// Deposit // Emitted only after a liquidity donation
event Deposit( event Deposit(
address indexed initator, address indexed initiator,
address indexed tokenIn, address indexed tokenIn,
uint256 amountIn uint256 amountIn
); );
// Collect // Emitted when collecting fees to the set feeAddress
event Collect( event Collect(
address indexed feeAdress, address indexed feeAddress,
address tokenOut, address tokenOut,
uint256 amountOut uint256 amountOut
); );