|
|
@ -8,8 +8,8 @@ export class RemixClient extends PluginClient { |
|
|
|
return this.onload() |
|
|
|
return this.onload() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async verify (apiKey: string, contractAddress: string, contractArguments: string, contractName: string, compilationResultParam: any) { |
|
|
|
async verify (apiKey: string, contractAddress: string, contractArguments: string, contractName: string, compilationResultParam: any, chainRef?: number | string, isProxyContract?: boolean, expectedImplAddress?: string) { |
|
|
|
const result = await verify(apiKey, contractAddress, contractArguments, contractName, compilationResultParam, null, false, null, this, |
|
|
|
const result = await verify(apiKey, contractAddress, contractArguments, contractName, compilationResultParam, chainRef, isProxyContract, expectedImplAddress, this, |
|
|
|
(value: EtherScanReturn) => {}, (value: string) => {})
|
|
|
|
(value: EtherScanReturn) => {}, (value: string) => {})
|
|
|
|
return result |
|
|
|
return result |
|
|
|
} |
|
|
|
} |
|
|
|