diff options
Diffstat (limited to 'src/contract_wrappers/token_registry_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/token_registry_wrapper.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/contract_wrappers/token_registry_wrapper.ts b/src/contract_wrappers/token_registry_wrapper.ts index 86bea1c5d..5987dfca6 100644 --- a/src/contract_wrappers/token_registry_wrapper.ts +++ b/src/contract_wrappers/token_registry_wrapper.ts @@ -13,6 +13,10 @@ export class TokenRegistryWrapper extends ContractWrapper { public invalidateContractInstance(): void { delete this.tokenRegistryContractIfExists; } + /** + * Retrieves all the tokens currently listed in the Token Registry smart contract + * @return An array of JS objects that conform to the Token interface. + */ public async getTokensAsync(): Promise<Token[]> { const tokenRegistryContract = await this.getTokenRegistryContractAsync(); |