UnicFactory
Important functions
createUToken
Parameters:
name
- Token name
symbol
- Token ticker
proxyTransactionFactory
- Address of contract that creates proxy transaction contract
enableProxyTransactions
- Vault allows proxy transactions (or not)
Usage:
Creates vault contract (Converter
)
Converter
Important functions
setTriggers
Parameters:
nftIndex
- Array of NFT indices deposited within vault
triggerPrices
- Array of auction trigger prices for each NFT
Usage:
Allows for vault creator to update auction trigger prices
deposit
Parameters:
tokenIDs
- Array of token IDs being deposited
amounts
- Array of number of NFTs per ID being deposited (relevant for ERC-1155)
triggerPrices
- Array of trigger prices for each NFT being deposited
contractAddr
- Address of NFT smart contract
Usage:
Deposit NFTs into vault
issue
Usage:
Lock NFTs in vault and issue the fractions
refund
Parameters:
to
- address to refund NFTs to
Usage:
Allows vault creator to receive NFTs back before issuing fractions
claimNFT
Parameters:
nftIndex
- Index of NFT within vault
to
- Where to receive the NFT
Usage:
Allows AuctionHandler
to claim the NFT for auction winner
AuctionHandler
Important functions
newAuction
Parameters:
uToken
- Vault address
nftIndexForUToken
- Index of NFT within vault being auctioned
Usage:
New auction is created by user bidding auction trigger price on NFT
bid
Parameters:
auctionId
- ID of auction
Usage:
Bidder can outbid the existing bid by bidding an amount above a certain margin of the existing one
unbid
Parameters:
auctionId
- ID of auction
Usage:
User can claim back their bid if they got outbid
claim
Parameters:
auctionId
- ID of auction
Usage:
Auction winner can claim the NFT that they bid on
burnAndRedeem
Parameters:
uToken
- Vault address
amount
- Number of fractions being burned
Usage:
Allows for users to burn their fractions in exchange for part of the ETH currently in the vault. Their cut of the ETH is determined by the amount of fractions being burned out of the current total supply of fractions.
ConverterGovernorAlpha
Last updated