mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
fee update (#321)
This commit is contained in:
parent
6a64fa8ea2
commit
5f67254d42
@ -128,29 +128,14 @@ type Pool @entity {
|
||||
datatokenLiquidity: BigDecimal!
|
||||
datatokenWeight: BigDecimal!
|
||||
|
||||
"pool Fee percent, fee goes to all liquidity providers : SWAP, JOIN , EXIT"
|
||||
poolFee: BigDecimal!
|
||||
"publisher market fee : SWAP, JOIN , EXIT"
|
||||
marketSwapFee: BigDecimal!
|
||||
|
||||
"liquidity provider fee"
|
||||
liquidityProviderFee: BigDecimal!
|
||||
|
||||
"OPF Fee percent, fee that goes to Ocean Protocol Foundation : SWAP"
|
||||
opfFee: BigDecimal!
|
||||
|
||||
"market fee percent, fee that goes to the market where the pool was created : SWAP"
|
||||
marketFee: BigDecimal!
|
||||
|
||||
"actual value of fee collected in both tokens"
|
||||
totalPoolFee: [TokenValuePair!]!
|
||||
|
||||
"actual value of fee collected in both tokens"
|
||||
totalOpfFee: [TokenValuePair!]!
|
||||
|
||||
"actual value of fee collected in both tokens"
|
||||
totalMarketFee: [TokenValuePair!]!
|
||||
|
||||
"fee after collection = totalFee - colectedFee"
|
||||
availableOpfFee: [TokenValuePair!]!
|
||||
|
||||
"fee after collection totalFee - colectedFee"
|
||||
availableMarketFee: [TokenValuePair!]!
|
||||
opcFee: BigDecimal!
|
||||
|
||||
"total pool token shares"
|
||||
totalShares: BigDecimal!
|
||||
@ -211,15 +196,6 @@ type PoolTransaction @entity {
|
||||
"number of shares transfered"
|
||||
sharesTransferAmount: BigDecimal!
|
||||
|
||||
"pool fee value, fee goes to all liquidity providers : SWAP, JOIN , EXIT"
|
||||
poolFee: BigDecimal!
|
||||
|
||||
"OPF Fee value, fee that goes to Ocean Protocol Foundation : SWAP"
|
||||
opfFee: BigDecimal!
|
||||
|
||||
"market fee value, fee that goes to the publishing market"
|
||||
marketFee: BigDecimal!
|
||||
|
||||
"block time when pool was created"
|
||||
timestamp: Int!
|
||||
"pool creation transaction id"
|
||||
@ -312,7 +288,9 @@ type FixedRateExchange @entity {
|
||||
"if the owner allowes the fre to mint"
|
||||
withMint: Boolean
|
||||
"if the fre has the minter role on the datatoken"
|
||||
isMinter: Boolean
|
||||
isMinter: Boolean
|
||||
|
||||
marketSwapFee: BigDecimal!
|
||||
|
||||
updates: [FixedRateExchangeUpdate!] @derivedFrom(field: "exchangeId")
|
||||
swaps: [FixedRateExchangeSwap!] @derivedFrom(field: "exchangeId")
|
||||
|
Loading…
Reference in New Issue
Block a user