Saffron Position NFT
Last updated
Last updated
Saffron Position NFT representing Junior Tranche deposits and lock time
Type | Visibility | Name | Description |
---|---|---|---|
Type | Name | Description |
---|---|---|
renew()
DEPRECATED
burn()
Burn Position NFT as part of a withdrawal
begin_unfreeze()
Begin to unfreeze an NFT so it may be withdrawn
set_insurance_fund()
Set a new Saffron Insurance Fund to provide coverage
baseURI()
NFT Metadata baseURI
tokenURI()
NFT metadata tokenURI
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
Type | Name | Description |
---|---|---|
uint256
token_id
Position NFT ID to be checked
uint256
token_id
Position NFT ID to be burned
address
user
Address of user attempting to unfreeze
uint256
token_id
Position NFT ID to be unfrozen
uint256
token_id
Position NFT ID to be burned
uint256
token_id
Position NFT ID to be checked
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