Aviksaikat / Get-Curve-Spot-Price-Foundry

Get the spot price of tokens from by calling the curve.fi swap router using foundry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Curve Spot Price

Get the spot price of tokens from by calling the curve.fi swap router using foundry

Usage

Build

$ forge build

Test

$ forge test --match-path test/GetPrice.t.sol -vvv

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

Python version

About

Get the spot price of tokens from by calling the curve.fi swap router using foundry


Languages

Language:Solidity 100.0%Language:Makefile 0.0%Language:Nix 0.0%