Skip to main content

ReceiptToken.sol (iUSD)

Purpose: Protocol-native deposit receipt token representing user deposits.

Description

ReceiptToken is a stablecoin-like instrument representing user deposits. It can be freely minted or burned by authorized contracts.
In the current iteration of infiniFi, the receipt token is named iUSD.

Functions

mint

Mints iUSD tokens to a user. Parameters:
  • to: Recipient address
  • amount: Amount to mint
Access: Only RECEIPT_TOKEN_MINTER role

burn

Destroys the sender’s tokens.

burnFrom

Burns tokens from another address using allowance. Parameters:
  • account: Address to burn from
  • amount: Amount to burn

Contract Address