Idle
App
GitHub
Twitter
Discord
Search
⌃K
Links
📥
Introduction
🌀
Products
Introduction
Best Yield
Yield Tranches
Fee structure
Integration Partners program
💻
Developers
Introduction
Networks and codebase
Best Yield
Architecture
Deployed contracts
Interface
Methods
mintIdleToken
redeemIdleToken
redeemInterestBearingTokens
rebalance
tokenPrice
tokenPriceWithFee
getAPRs
getAvgApr
userAvgPrices
getGovTokensAmounts
getAllocations
getGovTokens
getAllAvailableTokens
getProtocolTokenToGov
Edge cases
Security management policy
Get integrated as yield source
Get user earnings
API
Yield Tranches
Gauges
Security
🏛
Governance
Introduction
Idle DAO
$IDLE token
$IDLE staking
Idle Grants program
🗂
Other
Brand assets
Guides
FAQs
Glossary
Resources
Archive
Powered By
GitBook
getAllocations
Developers > Best Yield > getAllocations
This method returns an array with the last allocations in lending protocols (100% =
100000
)
Function
function
getAllocations
(
)
external
view
returns
(
uint256
[]
memory
);
Return values
Value
Description
_allocations
array with lending protocols allocations. Sum is always equal to
100000
(100%)
Previous
getGovTokensAmounts
Next
getGovTokens
Last modified
7mo ago