Idle
App
GitHub
Twitter
Discord
Ask or search…
⌃
K
Links
📥
Introduction
🌀
Products
Introduction
Best Yield
Yield Tranches
Fee structure
Get involved
💻
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
Yield Tranches
API
Security
🏛
Governance
Introduction
Idle DAO
IDLE token
IDLE staking
🗂
Other
Brand assets
Guides
FAQs
Glossary
Resources
Archive
Powered By
GitBook
Comment on page
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
1yr ago