Saffron Position NFT
Last updated
Last updated
Saffron Position NFT representing Junior Tranche deposits and lock time
address
public
pool
Address of Saffron pool that owns this NFT
address
public
insurance_fund
Address of Saffron insurance fund
uint256
public
next_id
NFT tokenId counter
mapping(uint256=>uint256)
public
tranche
NFT(tokenID) variable: Tranche
mapping(uint256=>uint256)
public
balance
NFT(tokenID) variable: User's balance in this tranche LP
mapping(uint256=>uint256)
public
principal
NFT(tokenID) variable: Principal when user enters pool
mapping(uint256=>uint256)
public
expiration
NFT(tokenID) variable: Expiration date when NFT is unfrozen
string
name_
Name of position NFTs
string
symbol_
Symbol for position NFTs
renew()
DEPRECATED
uint256
token_id
Position NFT ID to be checked
burn()
Burn Position NFT as part of a withdrawal
uint256
token_id
Position NFT ID to be burned
begin_unfreeze()
Begin to unfreeze an NFT so it may be withdrawn
address
user
Address of user attempting to unfreeze
uint256
token_id
Position NFT ID to be unfrozen
set_insurance_fund()
Set a new Saffron Insurance Fund to provide coverage
uint256
token_id
Position NFT ID to be burned
baseURI()
NFT Metadata baseURI
tokenURI()
NFT metadata tokenURI
uint256
token_id
Position NFT ID to be checked