ato logo
Search Suggestion:

Decentralised finance and wrapping crypto

Capital gains tax (CGT) treatment of decentralised finance (DeFi) and wrapping crypto tokens.

Last updated 16 June 2024

About DeFi

DeFi is a blockchain-based form of finance that is conducted without relying on a financial intermediary (peer-to-peer). DeFi apps, protocols and platforms are commonly built on the Ethereum blockchain.

Capital gains can arise in a DeFi environment. The most likely CGT events to happen are A1, E2, C2 or H2. The most specific CGT event depends on the structure and nature of your DeFi arrangement. Some of the factors you will need to consider include whether:

  • you are dealing with another entity as part of the arrangement
  • a trust relationship arises.

Where a trust relationship is established, you need to consider whether the same legal person holds the same type of asset on the same terms for other beneficiaries. If it does, then you will not be the sole beneficiary of any such trust.

Lending and borrowing with DeFi

The DeFi protocols often use terms from traditional finance to describe their products, such as 'lending', 'borrowing' and 'interest'. However, the DeFi use of these terms doesn't always reflect their common meaning, including for tax purposes.

Many DeFi 'lending' and 'borrowing' arrangements will result in a CGT event. A CGT event generally happens because beneficial ownership of the relevant crypto asset ends because of the arrangement. The arrangements typically involve either:

  • exchanging one crypto asset for another crypto asset
  • exchanging one crypto asset for a right to receive an equivalent number of the same crypto asset in the future.

To work out if a CGT event (and which one) happens to your crypto assets requires analysis of both:

  • the terms and conditions of the protocol
  • the actual operation of the protocol.

In general, a CGT event happens if you transfer a fungible crypto asset (for example, ETH or an ERC-20 compliant token) to an address:

  • that you don't control
  • that already has a balance of the same fungible crypto asset.

The capital proceeds for the CGT event are equal to the market value of the property you receive in return for transferring the crypto asset. This may be another crypto asset or a right.

The income tax rules that apply to lending of shares and similar securities, described as ‘securities lending’, don't apply to crypto asset 'lending'.

You need to know the value of your crypto assets to determine if you make a capital gain or capital loss when a CGT event happens to the asset.

Example: treatment of crypto asset loan with change of ownership

Having previously bought 100 Xcoin for $800, Sasha 'lends' 50 Xcoin (now worth $500) with a rate of return of 1%.

Under the terms of the contract, Sasha doesn't maintain beneficial ownership over the Xcoin that she has 'lent'.

As there has been a change in beneficial ownership of the crypto assets, a CGT event happens when Sasha 'lends' the Xcoin to the borrower. Sasha will have a capital gain of $100 at the time of 'lending' the Xcoin.

Example: CGT treatment when you lend to a DeFi platform

Mika buys 100 ZYX coins for $1,000 and 'lends' them to a DeFi platform.

The terms of the contract are unclear about whether Mika retains beneficial ownership of the 100 ZYX coins. The DeFi platform pools the ZYX coins that Mika 'lends' at the same address as ZYX coins it receives from other ‘lenders’.

As ZYX coins are fungible, a CGT event happens in respect of Mika’s ZYX coins at the time of the initial 'loan'.

Under the contract, Mika has a right to receive 100 ZYX coins from the DeFi platform at a future time. At the time Mika receives the right (being the time she made the initial 'loan'), each ZYX coin had a market value of $9. Mika's right was valued at $900, so she has a capital loss of $100. Mika's right has a cost base of $900.

Three months later, the 'loan' is repaid and Mika’s right to receive 100 ZYX coins from the DeFi platform is satisfied by the transfer of 100 ZYX coins to her. At that time the market value of each ZYX coin is $10, so Mika makes a capital gain of $100. Mika now has acquired 100 ZYX coins with a cost base of $1,000.

End of example

Liquidity pools and providers

A liquidity pool is an arrangement where crypto assets are gathered and locked in place with a smart contract. The use of liquidity pools facilitates decentralised lending and adds liquidity to crypto asset trading.

A liquidity provider supplies crypto assets to a liquidity pool to use for the associated DeFi protocol. In exchange for depositing or contributing crypto assets, liquidity providers receive new crypto assets or rights that represent their share of the liquidity pool. Liquidity providers are rewarded with a share of transaction fees generated from the liquidity pools they support.

A CGT event happens when you deposit your crypto assets into the liquidity pool. The capital proceeds from the CGT event are equal to the market value of the property you receive in return for your deposited crypto assets. This may be another crypto asset or a right.

When you withdraw crypto assets from the liquidity pool, a CGT event happens to the crypto asset or a right received on the original deposit. The capital proceeds from the CGT event equal the market value of the crypto assets you withdraw.

You need to know the value of your crypto assets to determine if you make a capital gain or capital loss when a CGT happens to the asset.

Example: exchange of crypto asset through the liquidity pool

Martha is a liquidity provider who deposits one EH to the XA liquidity pool. In exchange for the one EH, she receives 20 XA tokens representing her share of the liquidity pool.

Martha acquired the one EH 3 years ago at a price of $2. The 20 XA tokens have a market value of $20 at the time of contribution.

The deposit of one EH into the liquidity pool is a CGT event. Martha has a capital gain of $18. Martha may be eligible for the CGT 50% discount.

End of example

Crypto asset DeFi interest and rewards

DeFi platforms may pay you a reward that is a type of return or yield for crypto assets that are placed in the DeFi platform accounts. If you receive periodic rewards in the form of a crypto asset from a DeFi platform you must report the market value of the crypto asset reward at the time of receipt as assessable income in your tax return.

The rewards of crypto assets are taxed similarly to interest income.

Example: crypto asset reward from DeFi platform

Craig 'lends' 100 stablecoin tokens valued at $10 per token through the DeFi platform Compound Finance. The DeFi platform pays a rate of return of 1% in the form of newly issued stablecoin tokens.

Craig will need to declare the market value of the newly issued tokens he earns as assessable income in his tax return.

The income amount Craig declares is $10. The cost base of the newly issued tokens is their market value at the time Craig acquires them.

End of example

Wrapped tokens

A wrapped token is a tokenised representation of another crypto asset. You can typically redeem wrapped tokens (unwrapped) on a 1:1 ratio for the crypto assets they represent (the original tokens).

Wrapped tokens allow either:

  • the value from one blockchain (for example, Bitcoin) to be used on another blockchain (for example, Ethereum)
  • the value of a crypto asset of a certain standard to be represented as a different standard (for example, creating an ERC-20 compliant version of ETH).

Wrapping typically involves a smart contract (a computer protocol that facilitates, verifies or enforces the terms of a contract on the blockchain without third parties).

To wrap tokens, you send crypto assets to the smart contract's address, and it mints (creates) a wrapped version of the crypto asset. The original crypto asset is 'locked' in the smart contract's address until the wrapped token is redeemed. The process of 'locking' the original asset prevents double spending of the value represented by the wrapped token.

When you wrap or unwrap a crypto asset, you exchange one crypto asset for another and a CGT event happens. The capital proceeds for the CGT event equal the market value of the wrapped token at the time of the exchange.

Example: CGT treatment when exchanging wrapped tokens

Kal bought 1 BTC for $30,000 in January 2023 and then wrapped it through a smart contract for 1 WBTC in April 2023.

The market value of WBTC at the time of exchange was $45,000. A CGT event happens when the BTC is wrapped through that smart contract. Kal will have a capital gain of $15,000.

End of example

 

QC73649