Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ First of all, you'll need to know the contract's
Addresses of the contract and the token representing liquidity are
[here](https://github.com/curvefi/curve-contract/blob/compounded/deployed/2020-01-21_mainnet/mainnet.log).

Next is the breif description of methods you need to fascilitate exchanges.
Next is the brief description of methods you need to facilitate exchanges.

## Getting static information

Expand Down Expand Up @@ -79,11 +79,11 @@ Used to exchange `DAI<>USDC` (and analogues in future deployments).
def get_virtual_price() -> uint256:
```

This read-only methods calculates price of liquidity share. In order to
This read-only method calculates price of liquidity share. In order to
calculate profits between two points, you measure virtual price in those two
moments and divide later by the earlier, and subtract 1.

The method doesn't measure the real price in dollars, but rather profit on top
of what you would have observe with fee-less exchange. It is not affected by
of what you would have observed with fee-less exchange. It is not affected by
market fluctuations, and can measure returns even in a volatile market, over any
periods of time.