Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-preview.infinifi.xyz/llms.txt

Use this file to discover all available pages before exploring further.

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

function mint(address to, uint256 amount) external onlyCoreRole(CoreRoles.RECEIPT_TOKEN_MINTER)
Mints iUSD tokens to a user. Parameters:
  • to: Recipient address
  • amount: Amount to mint
Access: Only RECEIPT_TOKEN_MINTER role

burn

function burn(uint256 amount) public override
Destroys the sender’s tokens.

burnFrom

function burnFrom(address account, uint256 amount) public override
Burns tokens from another address using allowance. Parameters:
  • account: Address to burn from
  • amount: Amount to burn

Contract Address