setFeeExclusionfunction. This will emit a
FeeExclusionevent and update an internal mapping. This can then be queried by other contracts by performing a call along the lines of
feeDistributorand no tokens will be transferred via the NFTX Vault contract.
distributefunction, along with the corresponding vaultId that is calling it
true) or unpaused (
allocPointvalue that indicates the relative size of the allocation they will be eligible to receive. This is explained in greater depth on the
receiveRewardsas outlined in the
_sendForReceiverfunction. The receiver is given an
allocPointvalue that defines their relative stake of the rewards.
allocPointand receiver B has 3
allocPointthen when rewards are distributed they will each receive a percentage based on the relative value.
isContractstate to be updated.
isContractboolean flag for the receiver
feeReceiversarray 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.
FeeReceiverto our internally stored fee receivers array.
receiveRewardsto handle the fee distribution.