@@ -176,7 +176,7 @@ export class ViemIgnitionHelper {
176
176
Object . entries ( ignitionModule . results ) . map (
177
177
async ( [ name , contractFuture ] ) => [
178
178
name ,
179
- await this . _getContract (
179
+ await ViemIgnitionHelper . _getContract (
180
180
hre ,
181
181
contractFuture ,
182
182
result . contracts [ contractFuture . id ]
@@ -199,7 +199,7 @@ export class ViemIgnitionHelper {
199
199
) ;
200
200
}
201
201
202
- return this . _convertContractFutureToViemContract (
202
+ return ViemIgnitionHelper . _convertContractFutureToViemContract (
203
203
hre ,
204
204
future ,
205
205
deployedContract
@@ -215,15 +215,15 @@ export class ViemIgnitionHelper {
215
215
case FutureType . NAMED_ARTIFACT_CONTRACT_DEPLOYMENT :
216
216
case FutureType . NAMED_ARTIFACT_LIBRARY_DEPLOYMENT :
217
217
case FutureType . NAMED_ARTIFACT_CONTRACT_AT :
218
- return this . _convertHardhatContractToViemContract (
218
+ return ViemIgnitionHelper . _convertHardhatContractToViemContract (
219
219
hre ,
220
220
future ,
221
221
deployedContract
222
222
) ;
223
223
case FutureType . CONTRACT_DEPLOYMENT :
224
224
case FutureType . LIBRARY_DEPLOYMENT :
225
225
case FutureType . CONTRACT_AT :
226
- return this . _convertArtifactToViemContract (
226
+ return ViemIgnitionHelper . _convertArtifactToViemContract (
227
227
hre ,
228
228
future ,
229
229
deployedContract
@@ -241,7 +241,7 @@ export class ViemIgnitionHelper {
241
241
) : Promise < GetContractReturnType > {
242
242
return hre . viem . getContractAt (
243
243
future . contractName ,
244
- this . _ensureAddressFormat ( deployedContract . address )
244
+ ViemIgnitionHelper . _ensureAddressFormat ( deployedContract . address )
245
245
) ;
246
246
}
247
247
@@ -265,7 +265,9 @@ export class ViemIgnitionHelper {
265
265
266
266
const viem = await import ( "viem" ) ;
267
267
const contract = viem . getContract ( {
268
- address : this . _ensureAddressFormat ( deployedContract . address ) ,
268
+ address : ViemIgnitionHelper . _ensureAddressFormat (
269
+ deployedContract . address
270
+ ) ,
269
271
abi : future . artifact . abi ,
270
272
client : {
271
273
public : publicClient ,
0 commit comments