diff --git a/packages/sdk/src/modules/CreateContracts.ts b/packages/sdk/src/modules/CreateContracts.ts index fd0546046..c9a5df24e 100644 --- a/packages/sdk/src/modules/CreateContracts.ts +++ b/packages/sdk/src/modules/CreateContracts.ts @@ -38,7 +38,7 @@ export function withCreateContracts(Base: TB createFlywheelStaticRewards = this.createContractInstance(FlywheelStaticRewardsABI); createJumpRateModel = this.createContractInstance(JumpRateModelABI); - createComptroller(comptrollerAddress: string, signerOrProvider: SignerOrProvider = this.signer) { + createComptroller(comptrollerAddress: string, signerOrProvider: SignerOrProvider = this.provider) { if (this.chainDeployment.ComptrollerFirstExtension) { return new Contract( comptrollerAddress, @@ -62,7 +62,7 @@ export function withCreateContracts(Base: TB return new Contract(address, CErc20DelegateABI, signerOrProvider) as CTokenWithExtensions; } - createCErc20PluginRewardsDelegate(cTokenAddress: string, signerOrProvider: SignerOrProvider = this.signer) { + createCErc20PluginRewardsDelegate(cTokenAddress: string, signerOrProvider: SignerOrProvider = this.provider) { return new Contract( cTokenAddress, CErc20PluginRewardsDelegateABI, @@ -70,7 +70,7 @@ export function withCreateContracts(Base: TB ) as CErc20PluginRewardsDelegate; } - createMasterPriceOracle(signerOrProvider: SignerOrProvider = this.signer) { + createMasterPriceOracle(signerOrProvider: SignerOrProvider = this.provider) { return new Contract( this.chainDeployment.MasterPriceOracle.address, MasterPriceOracleABI,