Skip to content

FluidDexFeeAuth ​

Git Source

Inherits:Constants, Error, Events

Functions ​

onlyMultisig ​

Validates that an address is team multisig

solidity
modifier onlyMultisig();

getDexFeeAndRevenueCut ​

solidity
function getDexFeeAndRevenueCut(address dex_) public view returns (uint256 fee_, uint256 revenueCut_);

setDexFee ​

Sets the fee for a given DEX.

Only callable by team multisig addresses.

solidity
function setDexFee(address dex_, uint256 newFee_) external onlyMultisig;

Parameters

NameTypeDescription
dex_addressThe address of the DEX contract.
newFee_uint256in 4 decimals, 10000 = 1%

setDexRevenueCut ​

Sets the revenue cut for a given DEX.

Only callable by team multisig addresses.

solidity
function setDexRevenueCut(address dex_, uint256 newRevenueCut_) external onlyMultisig;

Parameters

NameTypeDescription
dex_addressThe address of the DEX contract.
newRevenueCut_uint256in 4 decimals, 100000 = 10%, 10% cut on fee_, so if fee is 1% and cut is 10% then cut in swap amount will be 10% of 1% = 0.1%