Add missing doc comments
This commit is contained in:
@@ -16,6 +16,14 @@ export class ERC20ProxyWrapper extends ContractWrapper {
|
||||
public abi: ContractAbi = artifacts.ERC20Proxy.compilerOutput.abi;
|
||||
private _erc20ProxyContractIfExists?: ERC20ProxyContract;
|
||||
private _contractAddressIfExists?: string;
|
||||
/**
|
||||
* Instantiate ERC20ProxyWrapper. We recommend you don't instantiate this yourself, rather
|
||||
* use it through the ContractWrappers class property (contractWrappers.erc20Proxy).
|
||||
* @param web3Wrapper Web3Wrapper instance to use
|
||||
* @param networkId Desired networkId
|
||||
* @param contractAddressIfExists The contract address to use. This is usually pulled from
|
||||
* the artifacts but needs to be specified when using with your own custom testnet.
|
||||
*/
|
||||
constructor(web3Wrapper: Web3Wrapper, networkId: number, contractAddressIfExists?: string) {
|
||||
super(web3Wrapper, networkId);
|
||||
this._contractAddressIfExists = contractAddressIfExists;
|
||||
|
||||
Reference in New Issue
Block a user