Anish-Agnihotri / MultiRaffle

NFT distribution with (1) randomized, multi-winner raffles and (2) bulk on-chain metadata generation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

$LINK withdraw function

shazow opened this issue · comments

Probably want to add LINK_TOKEN.transfer(msg.sender, LINK_TOKEN.balanceOf(address(this))); to withdrawRaffleProceeds() or some other helper.

There's all kinds of scenarios where we end up with $LINK trapped in the contract after it's no longer active, easy to forget.