fix typescript error

pull/2490/head
yann300 2 years ago
parent f4512197c5
commit 78556af4d7
  1. 2
      libs/remix-ws-templates/src/templates/ozerc20/scripts/web3-lib.ts
  2. 2
      libs/remix-ws-templates/src/templates/ozerc721/scripts/web3-lib.ts
  3. 2
      libs/remix-ws-templates/src/templates/remixDefault/scripts/web3-lib.ts
  4. 2
      libs/remix-ws-templates/src/templates/zeroxErc20/scripts/web3-lib.ts

@ -2,7 +2,7 @@ import Web3 from 'web3'
export const deploy = async (contractName: string, args: Array<any>, from?: string, gas?: number): Promise<any> => {
const web3 = new Web3(window.web3Provider)
const web3 = new Web3(web3Provider)
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated

@ -2,7 +2,7 @@ import Web3 from 'web3'
export const deploy = async (contractName: string, args: Array<any>, from?: string, gas?: number): Promise<any> => {
const web3 = new Web3(window.web3Provider)
const web3 = new Web3(web3Provider)
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated

@ -2,7 +2,7 @@ import Web3 from 'web3'
export const deploy = async (contractName: string, args: Array<any>, from?: string, gas?: number): Promise<any> => {
const web3 = new Web3(window.web3Provider)
const web3 = new Web3(web3Provider)
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated

@ -2,7 +2,7 @@ import Web3 from 'web3'
export const deploy = async (contractName: string, args: Array<any>, from?: string, gas?: number): Promise<any> => {
const web3 = new Web3(window.web3Provider)
const web3 = new Web3(web3Provider)
console.log(`deploying ${contractName}`)
// Note that the script needs the ABI which is generated from the compilation artifact.
// Make sure contract is compiled and artifacts are generated

Loading…
Cancel
Save