-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.yaml
242 lines (242 loc) · 11.6 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
name: azuro
description: Azuro subgraphs migrated from thegraph
contracts:
- name: Core
address: 0x4fE6A9e47db94a9b2a4FfeDE8db1602FD1fdd37d
handler: src/v1/core.ts
events:
- event: ConditionCreated(uint256 indexed oracleConditionId, uint256 indexed conditionId, uint64 timestamp)
isAsync: true
- event: ConditionResolved(uint256 indexed oracleConditionId, uint256 indexed conditionId, uint64 outcomeWin, uint8 state, uint256 amountForLp)
isAsync: true
- event: ConditionShifted(uint256 oracleCondId, uint256 conditionId, uint64 newTimestamp)
- event: ConditionStopped(uint256 indexed conditionId, bool flag)
isAsync: true
- event: LpChanged(address indexed newLp)
isAsync: true
- name: LP
# address: 0xac004b512c33D029cf23ABf04513f1f380B3FD0a
handler: src/v1/lp.ts
events:
- event: BetterWin(address indexed better, uint256 tokenId, uint256 amount)
isAsync: true
- event: LiquidityAdded(address indexed account, uint256 amount, uint48 leaf)
isAsync: true
- event: LiquidityRemoved(address indexed account, uint48 indexed leaf, uint256 amount)
isAsync: true
- event: LiquidityRequested(address indexed requestWallet, uint256 requestedValueLp)
- event: NewBet(address indexed owner, uint256 indexed betId, uint256 indexed conditionId, uint64 outcomeId, uint128 amount, uint256 odds, uint128 fund1, uint128 fund2)
isAsync: true
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
- event: WithdrawTimeoutChanged(uint64 newWithdrawTimeout)
- name: XYZFreeBet
address: 0xf0A93Ad0184cF1e5f29d7b5579358C99b9010F17
handler: src/v1/freebet.ts
events:
- event: BettorWin(address bettor, uint256 azuroBetId, uint128 amount)
isAsync: true
- event: FreeBetMinted(address indexed receiver, uint256 indexed id, (uint128,uint64,uint64) bet)
isAsync: true
- event: FreeBetMintedBatch(address[] receivers, uint256[] ids, (uint128,uint64,uint64)[] bets)
isAsync: true
- event: FreeBetRedeemed(address indexed bettor, uint256 indexed id, uint256 indexed azuroBetId, uint128 amount)
isAsync: true
- event: FreeBetReissued(address indexed receiver, uint256 indexed id, (uint128,uint64,uint64) bet)
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
- name: Azurobetv1
# address: 0xFd9E5A2A1bfc8B57A288A3e12E2c601b0Cc7e476
handler: src/v1/azurobets.ts
events:
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
isAsync: true
- name: Azurobetv2
# address: 0xA3A1B460c68dc91c5B3f71f5487A76fac42858bf
handler: src/v2/azurobet.ts
events:
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
isAsync: true
- name: Corev2
# address: 0xC95C831c7bDb0650b8cD5F2a542b263872d8ed0e
handler: src/v2/core.ts
events:
- event: ConditionCreated(uint256 indexed gameId, uint256 indexed conditionId)
isAsync: true
- event: ConditionResolved(uint256 indexed conditionId, uint8 state, uint64 outcomeWin, int128 lpProfit)
isAsync: true
- event: ConditionStopped(uint256 indexed conditionId, bool flag)
isAsync: true
- event: NewBet(address indexed bettor, address indexed affiliate, uint256 indexed conditionId, uint256 tokenId, uint64 outcomeId, uint128 amount, uint64 odds, uint128[2] funds)
isAsync: true
- event: OddsChanged(uint256 indexed conditionId, uint64[2] newOdds)
isAsync: true
- name: Expressv2
# address: 0x4eE3923484dfdc7Ea2F1c558c2c820a97a727636
handler: src/v2/express.ts
events:
- event: NewBet(address indexed bettor, uint256 indexed betId,(address,uint64,uint128,uint48,bool,(uint256,uint64)[] ,uint64[]) bet) # interesting stress test - struct within struct event emit
isAsync: true
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
isAsync: true
- name: LPv2
address: 0x204e7371Ade792c5C006fb52711c50a7efC843ed
handler: src/v2/lp.ts
events:
- event: BettorWin(address indexed core, address indexed bettor, uint256 tokenId, uint256 amount)
isAsync: true
- event: GameCanceled(uint256 indexed gameId)
- event: GameShifted(uint256 indexed gameId, uint64 newStart)
- event: LiquidityAdded(address indexed account, uint48 indexed depositId, uint256 amount)
isAsync: true
- event: LiquidityDonated(address indexed account, uint48 indexed depositId, uint256 amount) # not in TheGraph?
- event: LiquidityManagerChanged(address newLiquidityManager)
- event: LiquidityRemoved(address indexed account, uint48 indexed depositId, uint256 amount)
isAsync: true
- event: NewGame(uint256 indexed gameId, bytes32 ipfsHash, uint64 startsAt) # v2
isAsync: true
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
- event: WithdrawTimeoutChanged(uint64 newWithdrawTimeout)
- name: LPv3
address: 0x204e7371Ade792c5C006fb52711c50a7efC843ed
handler: src/v3/lp.ts
events:
- event: BettorWin(address indexed core, address indexed bettor, uint256 tokenId, uint256 amount)
isAsync: true
- event: GameCanceled(uint256 indexed gameId)
- event: GameShifted(uint256 indexed gameId, uint64 newStart)
- event: LiquidityAdded(address indexed account, uint48 indexed depositId, uint256 amount)
isAsync: true
- event: LiquidityDonated(address indexed account, uint48 indexed depositId, uint256 amount) # not in TheGraph?
- event: LiquidityManagerChanged(address newLiquidityManager)
- event: LiquidityRemoved(address indexed account, uint48 indexed depositId, uint256 amount)
isAsync: true
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
- event: WithdrawTimeoutChanged(uint64 newWithdrawTimeout)
- event: NewGame(uint256 indexed gameId, uint64 startsAt, bytes data) # v3
isAsync: true
- name: Factory
address: 0x8EA1a7241537F10fa73363FDC6380F3FC8619c03
handler: src/v2/factory.ts
events:
- event: NewCore(address indexed lp, address indexed core, string indexed coreType)
isAsync: true
- event: NewPool(address indexed lp, address indexed core, string indexed coreType, address access)
isAsync: true
- name: FreeBet
address: 0xB425E555492eE36c5A2918481EbbcF04AE73682b
handler: src/v2/freebet.ts
events:
- event: BettorWin(address indexed core, address indexed bettor, uint256 indexed azuroBetId, uint128 amount)
isAsync: true
- event: FreeBetMinted(address indexed receiver, uint256 indexed id, (uint128,uint64,uint64) bet)
isAsync: true
- event: FreeBetMintedBatch(address[] receivers, uint256[] ids, (uint128,uint64,uint64)[] bets)
isAsync: true
- event: FreeBetRedeemed(address indexed core, address indexed bettor, uint256 indexed id, uint256 azuroBetId, uint128 amount)
isAsync: true
- event: FreeBetReissued(address indexed receiver, uint256 indexed id, (uint128,uint64,uint64) bet)
- event: Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
- name: Corev3
# address: 0x7f3F3f19c4e4015fd9Db2f22e653c766154091EF
handler: src/v3/core.ts
events:
- event: ConditionCreated(uint256 indexed gameId, uint256 indexed conditionId, uint64[] outcomes)
isAsync: true
- event: ConditionResolved(uint256 indexed conditionId, uint8 state, uint64[] winningOutcomes, int128 lpProfit)
isAsync: true
- event: ConditionStopped(uint256 indexed conditionId, bool flag)
isAsync: true
- event: NewBet( address indexed bettor, address indexed affiliate, uint256 indexed conditionId, uint256 tokenId, uint64 outcomeId, uint128 amount, uint256 odds, uint128[] funds)
isAsync: true
- event: OddsChanged(uint256 indexed conditionId, uint256[] newOdds)
isAsync: true
- event: MarginChanged(uint256 indexed conditionId, uint64 newMargin)
- event: ReinforcementChanged(uint256 indexed conditionId, uint128 newReinforcement)
- name: Expressv3
handler: src/v3/express.ts
events:
- event: NewBet( address indexed bettor, uint256 indexed betId, (address,uint64,uint128,uint48,bool,(uint256,uint64)[] ,uint64[]) bet)
- event: Transfer( address indexed from, address indexed to, uint256 indexed tokenId)
isAsync: true
- name: FreeBetv3
# address: 0xAC2476Db1FD2f3E7D1dA7ccC3fAC7D1bD1c4B5a2
handler: src/v3/freebet.ts
events:
- event: NewBet(uint256 indexed freeBetId,address indexed core,address indexed bettor,uint256 azuroBetId,uint128 amount,uint64 minOdds,uint64 expiresAt)
isAsync: true
- event: BettorWin(address indexed core,address indexed bettor,uint256 indexed freeBetId,uint256 amount)
isAsync: true
- event: PayoutsResolved(uint256[] azuroBetId)
- name: LiveCorev1
handler: src/livecore/livecore.ts
events:
- event: ConditionCreated(uint256 indexed gameId, uint256 indexed conditionId, uint64[] outcomes, uint256[] odds, uint8 winningOutcomesCount)
isAsync: true
- event: ConditionResolved(uint256 indexed conditionId, uint8 state, uint64[] winningOutcomes, int128 lpProfit, uint64 settledAt)
isAsync: true
- event: NewLiveBet( address indexed bettor, address indexed affiliate, uint256 indexed conditionId, uint256 tokenId, uint64 outcomeId, uint128 amount, uint64 odds, uint128 payoutLimit)
- name: FreeBetFactory
handler: src/v3/freebetFactory.ts
events:
- event: NewFreeBet(address indexed freeBetAddress, address indexed lpAddress, address affiliate, address manager)
- name: UpgradeableBeacon
address: 0x68762711e7bea5716c715a9bb3978e56a842043a
handler: src/v2/upgradeableBeacon.ts
events:
- event: Upgraded(address indexed implementation)
networks:
# - id: 100000000
# start_block: 0
# end_block: 26624343
# hypersync_config:
# url: https://gnosis.hypersync.xyz/
# contracts:
# - name: LPv2
# address:
# - 0x204e7371Ade792c5C006fb52711c50a7efC843ed
- id: 100
start_block: 0
contracts:
- name: Core
address:
- 0x4fE6A9e47db94a9b2a4FfeDE8db1602FD1fdd37d
- name: LP
- name: Azurobetv1 # load dynamic contract with async smart contract call
# address:
# - 0xFd9E5A2A1bfc8B57A288A3e12E2c601b0Cc7e476
- name: XYZFreeBet
address:
- 0xf0A93Ad0184cF1e5f29d7b5579358C99b9010F17
- name: Factory
address:
- 0x8EA1a7241537F10fa73363FDC6380F3FC8619c03
- name: LPv2
address:
- 0x204e7371Ade792c5C006fb52711c50a7efC843ed
- name: FreeBet
address:
- 0xB425E555492eE36c5A2918481EbbcF04AE73682b
- name: Corev2
# address:
# - 0xC95C831c7bDb0650b8cD5F2a542b263872d8ed0e
- name: Azurobetv2
# address:
# - 0xA3A1B460c68dc91c5B3f71f5487A76fac42858bf
- name: Expressv2
# address:
# - 0x4eE3923484dfdc7Ea2F1c558c2c820a97a727636
- name: FreeBetFactory
address:
- 0x00a7629689073BF8F343DE80FBbC34425131b3e5
- name: Corev3
# address:
# - 0x7f3F3f19c4e4015fd9Db2f22e653c766154091EF
- name: Expressv3
- name: FreeBetv3
- name: LiveCorev1
- name: UpgradeableBeacon
address:
- 0x68762711e7bea5716c715a9bb3978e56a842043a
- name: LPv3
address:
- 0x204e7371Ade792c5C006fb52711c50a7efC843ed
# https://docs.bookmaker.xyz/