Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
Juicebox Chainlink Pricefeed
copy icon
Juicebox
• version 1.0.0
Chainlink
Pricefeed
Utility
Audited

Juicebox Chainlink Pricefeed

Audited

A generalized price feed for the Chainlink AggregatorV3Interface.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

Juicebox

Last Publish

11/23/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
currentPrice(uint256) :
This function retrieves the latest price data from the feed contract and adjusts the decimals to the desired amount. It takes in a parameter of the desired decimals and returns the adjusted price. It does this by first retrieving the latest price data from the feed contract, then retrieving the decimals from the feed contract, and finally adjusting the decimals of the price to the desired amount. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i juicebox-chainlink-pricefeed
copy icon

Last Publish

11/23/2022

Version

1.0.0

Creator

Juicebox

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.