@@ -128,29 +128,14 @@ type Pool @entity {
128
128
datatokenLiquidity : BigDecimal !
129
129
datatokenWeight : BigDecimal !
130
130
131
- "pool Fee percent, fee goes to all liquidity providers : SWAP, JOIN , EXIT"
132
- poolFee : BigDecimal !
131
+ "publisher market fee : SWAP, JOIN , EXIT"
132
+ marketSwapFee : BigDecimal !
133
133
134
- "OPF Fee percent, fee that goes to Ocean Protocol Foundation : SWAP"
135
- opfFee : BigDecimal !
136
-
137
- "market fee percent, fee that goes to the market where the pool was created : SWAP"
138
- marketFee : BigDecimal !
139
-
140
- "actual value of fee collected in both tokens"
141
- totalPoolFee : [TokenValuePair ! ]!
142
-
143
- "actual value of fee collected in both tokens"
144
- totalOpfFee : [TokenValuePair ! ]!
145
-
146
- "actual value of fee collected in both tokens"
147
- totalMarketFee : [TokenValuePair ! ]!
148
-
149
- "fee after collection = totalFee - colectedFee"
150
- availableOpfFee : [TokenValuePair ! ]!
134
+ "liquidity provider fee"
135
+ liquidityProviderFee : BigDecimal !
151
136
152
- "fee after collection totalFee - colectedFee"
153
- availableMarketFee : [ TokenValuePair ! ] !
137
+ "OPF Fee percent, fee that goes to Ocean Protocol Foundation : SWAP"
138
+ opcFee : BigDecimal !
154
139
155
140
"total pool token shares"
156
141
totalShares : BigDecimal !
@@ -211,15 +196,6 @@ type PoolTransaction @entity {
211
196
"number of shares transfered"
212
197
sharesTransferAmount : BigDecimal !
213
198
214
- "pool fee value, fee goes to all liquidity providers : SWAP, JOIN , EXIT"
215
- poolFee : BigDecimal !
216
-
217
- "OPF Fee value, fee that goes to Ocean Protocol Foundation : SWAP"
218
- opfFee : BigDecimal !
219
-
220
- "market fee value, fee that goes to the publishing market"
221
- marketFee : BigDecimal !
222
-
223
199
"block time when pool was created"
224
200
timestamp : Int !
225
201
"pool creation transaction id"
@@ -312,7 +288,9 @@ type FixedRateExchange @entity {
312
288
"if the owner allowes the fre to mint"
313
289
withMint : Boolean
314
290
"if the fre has the minter role on the datatoken"
315
- isMinter : Boolean
291
+ isMinter : Boolean
292
+
293
+ marketSwapFee : BigDecimal !
316
294
317
295
updates : [FixedRateExchangeUpdate ! ] @derivedFrom (field : " exchangeId" )
318
296
swaps : [FixedRateExchangeSwap ! ] @derivedFrom (field : " exchangeId" )
0 commit comments