Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge recent changes to production #92

Merged
merged 60 commits into from
Nov 24, 2020
Merged

Merge recent changes to production #92

merged 60 commits into from
Nov 24, 2020

Conversation

kadenzipfel
Copy link
Contributor

No description provided.

davizalpe and others added 30 commits October 8, 2020 19:17
  * Increment the `tradeNonce` on every sell or buy event.
Fix set `account.tradeNonce` on recordTrade
Deploy RealitioScalarAdapter on Rinkeby and Mainnet
kadenzipfel and others added 28 commits October 16, 2020 14:13
Fix Omen Verified Markets on Rinkeby
Copy bounds to condition and FPMM entities
Add a new field `collateralAmountUSD` as BigDecimal type to calculate
the value of `collateralAmount` in USD value at the moment of the trade.

Resolves: #72
Add a new `FPMMLiquidity` entity with the record of every
`FPMMFundingAdded` and `FPMMFundingRemoved` events from all
FixedProductMarketMakert contracts.

Add a new `fpmm.calculateLiquidityParameter` method to calculate with the
`nthRoot` the collateral liquidity parameter.

Resolves: #71
…f conditional block. Set to `zeroDec` on declaration.
Add a new `FPMMLiquidity` entity with the record of every
`FPMMFundingAdded` and `FPMMFundingRemoved` events from all
FixedProductMarketMakert contracts.

Add a new `fpmm.calculateLiquidityParameter` method to calculate with the
`nthRoot` the collateral liquidity parameter.

Resolves: #71
 Add amount from collateral Trade in USD
…/omen-subgraph into feature/add-liquidity-entity
Add `additionalLiquidityParameter` field with the
`calculateLiquidityParameter` value.
Replace `collateralTokenAmount` to max/min value from
`outcomeTokenAmounts` list.
Add new `utils/Math.ts` file with max and min methods for BigInt[].
Set the old and new values for the `OutcomeTokenMarginalPrices` of the
selected outcome on the `FPMMBuy` and `FPMMSell` events to store that
values on FPMMTrade entity.
…ice-to-trade

Add old and new outcome token marginal prices to FPMMTrade entity
…sd-fpmmtype-transactionhash

84 CollateralAmountUSD, FpmmType and TransactionHash
…h-outcome

86 add staked eth on each outcome
Move DXTokenRegistry tokenList to subgraph
@pimato pimato requested a review from cag November 17, 2020 21:46
@kadenzipfel kadenzipfel merged commit 64160e5 into production Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants