ITradingCommonUtils
Interface for TradingCommonUtils library
TradePriceImpactInput
GovFeeCharged
Emitted when gov fee is charged
Parameters
Name | Type | Description |
---|---|---|
trader | address | address of the trader |
collateralIndex | uint8 | index of the collateral |
amountCollateral | uint256 | amount charged (collateral precision) |
ReferralFeeCharged
Emitted when referral fee is charged
Parameters
Name | Type | Description |
---|---|---|
trader | address | address of the trader |
collateralIndex | uint8 | index of the collateral |
amountCollateral | uint256 | amount charged (collateral precision) |
GnsOtcFeeCharged
Emitted when GNS otc fee is charged
Parameters
Name | Type | Description |
---|---|---|
trader | address | address of the trader |
collateralIndex | uint8 | index of the collateral |
amountCollateral | uint256 | amount charged (collateral precision) |
TriggerFeeCharged
Emitted when trigger fee is charged
Parameters
Name | Type | Description |
---|---|---|
trader | address | address of the trader |
collateralIndex | uint8 | index of the collateral |
amountCollateral | uint256 | amount charged (collateral precision) |
GTokenFeeCharged
Emitted when gToken fee is charged
Parameters
Name | Type | Description |
---|---|---|
trader | address | address of the trader |
collateralIndex | uint8 | index of the collateral |
amountCollateral | uint256 | amount charged (collateral precision) |