@@ -118,11 +118,12 @@ func (c *Contracts) initKeypersConfigsList() error {
118
118
}
119
119
boundContract := bind .NewBoundContract (d .Address , d .ABI , c .Client , c .Client , c .Client )
120
120
c .KeypersConfigsListNewConfig = & eventsyncer.EventType {
121
- Contract : boundContract ,
122
- Address : d .Address ,
123
- ABI : d .ABI ,
124
- Name : "NewConfig" ,
125
- Type : reflect .TypeOf (contract.KeypersConfigsListNewConfig {}),
121
+ Contract : boundContract ,
122
+ Address : d .Address ,
123
+ FromBlockNumber : d .DeployBlockNumber ,
124
+ ABI : d .ABI ,
125
+ Name : "NewConfig" ,
126
+ Type : reflect .TypeOf (contract.KeypersConfigsListNewConfig {}),
126
127
}
127
128
return nil
128
129
}
@@ -139,11 +140,12 @@ func (c *Contracts) initCollatorConfigsList() error {
139
140
}
140
141
boundContract := bind .NewBoundContract (d .Address , d .ABI , c .Client , c .Client , c .Client )
141
142
c .CollatorConfigsListNewConfig = & eventsyncer.EventType {
142
- Contract : boundContract ,
143
- Address : d .Address ,
144
- ABI : d .ABI ,
145
- Name : "NewConfig" ,
146
- Type : reflect .TypeOf (contract.CollatorConfigsListNewConfig {}),
143
+ Contract : boundContract ,
144
+ FromBlockNumber : d .DeployBlockNumber ,
145
+ Address : d .Address ,
146
+ ABI : d .ABI ,
147
+ Name : "NewConfig" ,
148
+ Type : reflect .TypeOf (contract.CollatorConfigsListNewConfig {}),
147
149
}
148
150
return nil
149
151
}
@@ -160,25 +162,28 @@ func (c *Contracts) initKeypers() error {
160
162
}
161
163
boundContract := bind .NewBoundContract (d .Address , d .ABI , c .Client , c .Client , c .Client )
162
164
c .KeypersAdded = & eventsyncer.EventType {
163
- Contract : boundContract ,
164
- Address : d .Address ,
165
- ABI : d .ABI ,
166
- Name : "Added" ,
167
- Type : reflect .TypeOf (contract.AddrsSeqAdded {}),
165
+ FromBlockNumber : d .DeployBlockNumber ,
166
+ Contract : boundContract ,
167
+ Address : d .Address ,
168
+ ABI : d .ABI ,
169
+ Name : "Added" ,
170
+ Type : reflect .TypeOf (contract.AddrsSeqAdded {}),
168
171
}
169
172
c .KeypersAppended = & eventsyncer.EventType {
170
- Contract : boundContract ,
171
- Address : d .Address ,
172
- ABI : d .ABI ,
173
- Name : "Appended" ,
174
- Type : reflect .TypeOf (contract.AddrsSeqAppended {}),
173
+ FromBlockNumber : d .DeployBlockNumber ,
174
+ Contract : boundContract ,
175
+ Address : d .Address ,
176
+ ABI : d .ABI ,
177
+ Name : "Appended" ,
178
+ Type : reflect .TypeOf (contract.AddrsSeqAppended {}),
175
179
}
176
180
c .KeypersOwnershipTransferred = & eventsyncer.EventType {
177
- Contract : boundContract ,
178
- Address : d .Address ,
179
- ABI : d .ABI ,
180
- Name : "OwnershipTransferred" ,
181
- Type : reflect .TypeOf (contract.AddrsSeqOwnershipTransferred {}),
181
+ FromBlockNumber : d .DeployBlockNumber ,
182
+ Contract : boundContract ,
183
+ Address : d .Address ,
184
+ ABI : d .ABI ,
185
+ Name : "OwnershipTransferred" ,
186
+ Type : reflect .TypeOf (contract.AddrsSeqOwnershipTransferred {}),
182
187
}
183
188
return nil
184
189
}
@@ -195,25 +200,28 @@ func (c *Contracts) initCollator() error {
195
200
}
196
201
boundContract := bind .NewBoundContract (d .Address , d .ABI , c .Client , c .Client , c .Client )
197
202
c .CollatorsAdded = & eventsyncer.EventType {
198
- Contract : boundContract ,
199
- Address : d .Address ,
200
- ABI : d .ABI ,
201
- Name : "Added" ,
202
- Type : reflect .TypeOf (contract.AddrsSeqAdded {}),
203
+ FromBlockNumber : d .DeployBlockNumber ,
204
+ Contract : boundContract ,
205
+ Address : d .Address ,
206
+ ABI : d .ABI ,
207
+ Name : "Added" ,
208
+ Type : reflect .TypeOf (contract.AddrsSeqAdded {}),
203
209
}
204
210
c .CollatorsAppended = & eventsyncer.EventType {
205
- Contract : boundContract ,
206
- Address : d .Address ,
207
- ABI : d .ABI ,
208
- Name : "Appended" ,
209
- Type : reflect .TypeOf (contract.AddrsSeqAppended {}),
211
+ FromBlockNumber : d .DeployBlockNumber ,
212
+ Contract : boundContract ,
213
+ Address : d .Address ,
214
+ ABI : d .ABI ,
215
+ Name : "Appended" ,
216
+ Type : reflect .TypeOf (contract.AddrsSeqAppended {}),
210
217
}
211
218
c .CollatorsOwnershipTransferred = & eventsyncer.EventType {
212
- Contract : boundContract ,
213
- Address : d .Address ,
214
- ABI : d .ABI ,
215
- Name : "OwnershipTransferred" ,
216
- Type : reflect .TypeOf (contract.AddrsSeqOwnershipTransferred {}),
219
+ FromBlockNumber : d .DeployBlockNumber ,
220
+ Contract : boundContract ,
221
+ Address : d .Address ,
222
+ ABI : d .ABI ,
223
+ Name : "OwnershipTransferred" ,
224
+ Type : reflect .TypeOf (contract.AddrsSeqOwnershipTransferred {}),
217
225
}
218
226
return nil
219
227
}
0 commit comments