AbstractFee


Functions:

Events:

Graphs:


Function Definitions:

setFee()

setFee(bytes32 feeType, uint256 bps, address recipient, contract IERC20 token) external 

Per default both of these values are not set. Therefore a fee has to be explicitly be set with this function Adds the feeType to the list of feeTypes if it is not already there

Parameter NameTypeDescription

feeType

bytes32

A short string signaling if its a "mint"/"redeem" or any other type of fee

bps

uint256

Redemption fee rate in basis points

recipient

address

The recipient which receives these fees (Should be DAO treasury)

token

contract IERC20

the token which the fee is taken in

claimFee()

claimFee(bytes32 feeType) external 
Parameter NameTypeDescription

feeType

bytes32

A short string signaling if its a "mint"/"redeem" or any other type of fee

Events

FeeUpdated

FeeUpdated(bytes32 feeType, uint256 newRedemptionFee, address newFeeRecipient, address toke)

FeesClaimed

FeesClaimed(bytes32 feeType, address recipient, uint256 amount, address token)

Graphs

Dependency Graph

Inheritance Graph

Last updated