Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
17 additional
variables
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
YDFN | ERC-20 | 51.973294M | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16070779 | 2 years ago | | | 0 | 0.00076827198 | |
| 16032821 | 2 years ago | | | 0 | 0.00083485898 | |
| 16019258 | 2 years ago | | | 0 | 0.00039843500 | |
| 16019198 | 2 years ago | | | 0 | 0.00036849630 | |
| 16014260 | 2 years ago | | | 0 | 0.00033441082 | |
| 15876788 | 2 years ago | | | 0 | 0.0013233820 | |
| 15850210 | 2 years ago | | | 0 | 0.00064930183 | |
| 15843184 | 2 years ago | | | 0 | 0.0044720982 | |
| 15703649 | 2 years ago | | | 0 | 0.00034168602 | |
| 15697664 | 2 years ago | | | 0 | 0.0010674964 |
ABI
ABI objects
Getter at block 21226600 getAllIndexes() view returns (struct IndexHandlerIndex[])
closePositionFeePerDuration() view returns (uint256)
999
closePositionFeePerDurationUnit() view returns (uint256)
600
closePositionFeePositionSize() view returns (uint256)
100
contractURI() view returns (string)
https://api.yieldification.com/pfydf/metadata/contract.json
enabled() view returns (bool)
false
getLastMintedTokenId() view returns (uint256)
194
getPositionToken() view returns (address)
0x30dcba0405004cf124045793e1933c798af9e66a
maxLeverage() view returns (uint16)
500
minOpenTimeForProfit() view returns (uint256)
10800
minPriceDiffForProfit() view returns (uint256)
1500
name() view returns (string)
Yieldification Perpetual Futures
openPositionFeePositionSize() view returns (uint256)
100
owner() view returns (address)
0xced088f8e01dc2f104247ed46f60fc80ba22bf94
paymentAddress() view returns (address)
0x47af673dc2d8e652957f24669b6427fc00d5173a
royaltyAddress() view returns (address)
0x47af673dc2d8e652957f24669b6427fc00d5173a
symbol() view returns (string)
pfYDF
totalAmountLoss() view returns (uint256)
4885115412542869954134949
totalAmountProfit() view returns (uint256)
2622608069205521179279418
totalFeesCollected() view returns (uint256)
1563446615709445978222201
totalSupply() view returns (uint256)
0
treasury() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allOpenPositions(uint256) view returns (uint256)
allUserOwned(address, uint256) view returns (uint256)
balanceOf(address owner) view returns (uint256)
checkUpkeep(bytes) view returns (bool upkeepNeeded, bytes)
getAggregatorInfo(uint256 _proxyRoundId) pure returns (uint16, uint64)
getAllUserOwned(address _user) view returns (uint256[])
getApproved(uint256 tokenId) view returns (address)
getHistoricalPrice(address _proxy, uint16 _phaseId, uint80 _aggregatorRoundId, bool _requireCompletion) view returns (uint80, uint256, uint256, uint80)
getIndexAndPLInfo(uint256 _tokenId) view returns (uint256, uint256, uint256, bool, bool)
getIndexPriceFromFeeds(address[] _proxies, uint8[] _weights, uint256 _totalWeight) view returns (uint256)
getIndexPriceFromIndex(uint256 _index) view returns (uint256)
getLatestProxyInfo(address _proxy) view returns (uint16, uint80, uint256)
getLiquidationPriceChange(uint256 _tokenId) view returns (uint256)
getPositionCloseFees(uint256 _tokenId) view returns (uint256, uint256)
getPositionIndexPrice(uint256 _tokenId) view returns (uint256)
getPositionIndexProxies(uint256 _tokenId) view returns (address[])
getProxyPriceAtRound(address _proxy, uint80 _roundId) view returns (uint256)
indexes(uint256) view returns (string name, uint256 weightsTotal)
isApprovedForAll(address owner, address operator) view returns (bool)
isTokenMinted(uint256 _tokenId) view returns (bool)
liquidators(address) view returns (bool)
ownedIndex(uint256) view returns (uint256)
ownerOf(uint256 tokenId) view returns (address)
positionClosers(uint256) view returns (address)
positionOpeners(uint256) view returns (address)
positions(uint256) view returns (uint256 openTime, uint256 openFees, uint256 closeTime, uint256 closeFees, uint256 amountCollateral, uint256 amountPosition, bool isLong, uint16 leverage, uint256 indexPriceStart, uint256 indexPriceSettle, uint256 amountWon, uint256 amountLost)
royaltyInfo(uint256, uint256 _salePrice) view returns (address receiver, uint256 royaltyAmount)
shouldPositionLiquidate(uint256 _tokenId) view returns (bool)
supportsInterface(bytes4 _interfaceId) view returns (bool)
tokenByIndex(uint256 index) view returns (uint256)
tokenLastTransferred(uint256) view returns (uint256)
tokenMintedAt(uint256) view returns (uint256)
tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)
tokenURI(uint256 _tokenId) view returns (string)
State-modifying
Events addIndex(string _name, address[] _proxies, uint8[] _weights)
addLiquidator(address _wallet)
approve(address to, uint256 tokenId)
closePosition(uint256 _tokenId)
openPosition(uint256 _indexInd, uint256 _collateral, uint16 _leverage, bool _isLong)
performUpkeep(bytes)
processFees(uint256 _amount)
removeIndex(uint256 _index)
removeLiquidator(address _wallet)
renounceOwnership()
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setBaseURI(string _uri)
setClosePositionFeePerDuration(uint256 _percentage)
setClosePositionFeePerDurationUnit(uint256 _seconds)
setClosePositionFeePositionSize(uint256 _percentage)
setEnabled(bool _enabled)
setMaxLeverage(uint16 _max)
setMaxLiquidationsPerUpkeep(uint8 _max)
setMinOpenTimeForProfit(uint256 _seconds)
setMinPriceDiffForProfit(uint256 _percentage)
setOpenPositionFeePositionSize(uint256 _percentage)
setPaymentAddress(address _address)
setPositionToken(address _token)
setRoyaltyAddress(address _address)
setRoyaltyBasisPoints(uint256 _points)
setTreasury(address _treasury)
transferFrom(address from, address to, uint256 tokenId)
transferOwnership(address newOwner)
withdrawERC20(address _token, uint256 _amount)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
OpenPosition(uint256 indexed tokenId, address indexed user, uint256 indexPriceStart, uint256 positionCollateral)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetBaseTokenURI(string indexed newUri)
SetPaymentAddress(address indexed user)
SetRoyaltyAddress(address indexed user)
SetRoyaltyBasisPoints(uint256 indexed _royaltyBasisPoints)
SettlePosition(uint256 indexed tokenId, address indexed user, uint256 indexPriceStart, uint256 indexPriceSettle, uint256 amountWon, uint256 amountLost)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
constructor(string _baseTokenURI)
This contract contains no fallback and receive objects.
This contract contains no error objects.