Skip to content

Commit b3d229a

Browse files
committed
contract address update
1 parent 4d4f567 commit b3d229a

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

schema.graphql

+6-2
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@ type Order @entity {
258258
# the fees will be updated from an event that will be created after (todo)
259259
publishingMarket: User
260260
publishingMarketToken: Token #
261-
publishingMarketAmmount: BigDecimal #call contract to get fee ammount
261+
publishingMarketAmmount: BigDecimal #call contract to get fee amount
262262

263263
consumerMarket: User
264264
consumerMarketToken: Token #
265-
consumerMarketAmmount: BigDecimal #call contract to get fee ammount
265+
consumerMarketAmmount: BigDecimal #call contract to get fee amount
266266

267267
createdTimestamp: Int!
268268
tx: String!
@@ -299,6 +299,10 @@ type FixedRateExchange @entity {
299299
owner: User!
300300
datatoken: Token!
301301
baseToken: Token!
302+
"amount of datatokens available to be sold, this is relevant if the exchange is not able to mint"
303+
datatokenBalance: BigDecimal!
304+
"amount of basetokens available to be collected by the owner"
305+
baseTokenBalance: BigDecimal!
302306
price: BigDecimal!
303307
active: Boolean!
304308
"amount of total basetokens spent"

src/mappings/pool.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { log } from '@graphprotocol/graph-ts'
21
import {
32
LOG_EXIT,
43
LOG_JOIN,

subgraph.rinkeby.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dataSources:
88
name: ERC721Factory
99
network: rinkeby
1010
source:
11-
address: '0x65aCFbcf0576D5740d1a824afd1776E7D4034C3D'
11+
address: '0xD9b5488363463E3689C1430030F5A17b427718E1'
1212
abi: ERC721Factory
1313
startBlock: 10065057
1414
mapping:
@@ -30,7 +30,7 @@ dataSources:
3030
name: FixedRateExchange
3131
network: rinkeby
3232
source:
33-
address: '0x40F63Ec24aDc291d41F63fBA356Dd9983197c83a'
33+
address: '0xdf29DA8FF979170eBfEd7133068dA247dc04CdC9'
3434
abi: FixedRateExchange
3535
startBlock: 10065057
3636
mapping:
@@ -64,7 +64,7 @@ dataSources:
6464
name: Dispenser
6565
network: rinkeby
6666
source:
67-
address: '0x5b18fbac5aA81B4a0CAF993afb69b2ADfC3E8833'
67+
address: '0x5FfDe8179E095803de22CBe1D405Eeef18406852'
6868
abi: Dispenser
6969
startBlock: 10065057
7070
mapping:
@@ -95,7 +95,7 @@ dataSources:
9595
name: FactoryRouter
9696
network: rinkeby
9797
source:
98-
address: '0x5a31C7e57D51fc0991C1315c66587e7a158c9c40'
98+
address: '0x5De02B776106d0dC81d4335f58E29ECaE717e90A'
9999
abi: FactoryRouter
100100
startBlock: 10065057
101101
mapping:

0 commit comments

Comments
 (0)