aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 19:14:27 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-05 19:14:27 +0800
commite05dfab1fca9eb108848c98da9dbf671a59d17f3 (patch)
tree0df5c4746144340c62f6e0a51c5c101f05cca3c9 /src/contract.ts
parentb5c6c9196290314a875f89b88178b1be4b0db7d0 (diff)
downloaddexon-sol-tools-e05dfab1fca9eb108848c98da9dbf671a59d17f3.tar
dexon-sol-tools-e05dfab1fca9eb108848c98da9dbf671a59d17f3.tar.gz
dexon-sol-tools-e05dfab1fca9eb108848c98da9dbf671a59d17f3.tar.bz2
dexon-sol-tools-e05dfab1fca9eb108848c98da9dbf671a59d17f3.tar.lz
dexon-sol-tools-e05dfab1fca9eb108848c98da9dbf671a59d17f3.tar.xz
dexon-sol-tools-e05dfab1fca9eb108848c98da9dbf671a59d17f3.tar.zst
dexon-sol-tools-e05dfab1fca9eb108848c98da9dbf671a59d17f3.zip
Add explaining comment
Diffstat (limited to 'src/contract.ts')
-rw-r--r--src/contract.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/contract.ts b/src/contract.ts
index 3592e0e71..ebda31e65 100644
--- a/src/contract.ts
+++ b/src/contract.ts
@@ -7,6 +7,8 @@ export class Contract implements Web3.ContractInstance {
public abi: Web3.ContractAbi;
private contract: Web3.ContractInstance;
private defaults: Partial<Web3.TxData>;
+ // This class instance is going to be populated with functions and events depending on the ABI
+ // and we don't know their types in advance
[name: string]: any;
constructor(web3ContractInstance: Web3.ContractInstance, defaults: Partial<Web3.TxData>) {
this.contract = web3ContractInstance;