setFeeExclusion
function. This will emit a FeeExclusion
event and update an internal mapping. This can then be queried by other contracts by performing a call along the lines of nftxVaultFactory.excludedFromFees(msg.sender)
.feeDistributor
and no tokens will be transferred via the NFTX Vault contract.distribute
function, along with the corresponding vaultId that is calling ittrue
) or unpaused (false
)FeeReceiver
.allocPoint
value that indicates the relative size of the allocation they will be eligible to receive. This is explained in greater depth on the addReceiver
method.receiveRewards
as outlined in the _sendForReceiver
function. The receiver is given an allocPoint
value that defines their relative stake of the rewards.allocPoint
and receiver B has 3 allocPoint
then when rewards are distributed they will each receive a percentage based on the relative value.allocTotal
.isContract
state to be updated.isContract
boolean flag for the receiverfeeReceivers
array by moving the last element to that of the removed value. External sources will need to reflect this change for future updates before making subsequent calls.FeeReceiver
to our internally stored fee receivers array.receiveRewards
to handle the fee distribution.