fix typescript error

pull/5370/head
yann300 3 years ago
parent 8c13f2288e
commit 6b552f91f3
  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