YFI, though created for the Yearn Finance platform, is an ERC-20 token and uses the Ethereum chain to operate. This means Ethereum gas costs are involved to write the transaction to the blockchain.