Last updated 2 months ago
This contract handles TokenTable service fee calculation.
event DefaultFeeSet(uint256 bips)
event CustomFeeSet(address unlockerAddress, uint256 bips)
function getFee(address unlockerAddress, uint256 tokenTransferred) external view returns (uint256 tokensCollected)
Returns the amount of fees to collect.
unlockerAddress
address
The address of the Unlocker. Used to fetch pricing.
tokenTransferred
uint256
The number of tokens transferred.
tokensCollected
The number of tokens to collect as fees.