mirror of
https://github.com/grassrootseconomics/erc20-pool.git
synced 2024-11-21 11:46:47 +01:00
fix: typo in events, add docs
This commit is contained in:
parent
d244cc05ec
commit
6199080c09
@ -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
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user