Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "helpers/contracts"

Index

Functions

Const get

Const getAbi

Const getContractAddress

Const getErc20

  • getErc20(provider: Provider, tokenName: Token): Promise<any>

Const getErc20Address

  • getErc20Address(provider: Provider, address: string): Promise<any>

Const getUniswapExchangeAddress

  • getUniswapExchangeAddress(provider: Provider, token: string): Promise<any>

Object literals

Const ABI

ABI: object

[DetherContract.CertifierRegistry]

[DetherContract.CertifierRegistry]: any = require('../../abi/dether/CertifierRegistry.json').abi

[DetherContract.DetherToken]

[DetherContract.DetherToken]: any = require('../../abi/dether/DetherToken.json').abi

[DetherContract.GeoRegistry]

[DetherContract.GeoRegistry]: any = require('../../abi/dether/GeoRegistry.json').abi

[DetherContract.ShopDispute]

[DetherContract.ShopDispute]: any = require('../../abi/dether/ShopDispute.json').abi

[DetherContract.Shops]

[DetherContract.Shops]: any = require('../../abi/dether/Shops.json').abi

[DetherContract.TaxCollector]

[DetherContract.TaxCollector]: any = require('../../abi/dether/TaxCollector.json').abi

[DetherContract.Teller]

[DetherContract.Teller]: any = require('../../abi/dether/Teller.json').abi

[DetherContract.TokenRegistry]

[DetherContract.TokenRegistry]: any = require('../../abi/dether/TokenRegistry.json').abi

[DetherContract.Users]

[DetherContract.Users]: any = require('../../abi/dether/Users.json').abi

[DetherContract.ZoneFactory]

[DetherContract.ZoneFactory]: any = require('../../abi/dether/ZoneFactory.json').abi

[DetherContract.Zone]

[DetherContract.Zone]: any = require('../../abi/dether/Zone.json').abi

[ExternalContract.erc20]

[ExternalContract.erc20]: any = require('../../abi/external/erc20.json')

[ExternalContract.kyberNetworkProxy]

[ExternalContract.kyberNetworkProxy]: any = require('../../abi/external/kyberNetworkProxy.json')

[ExternalContract.uniswapExchange]

[ExternalContract.uniswapExchange]: any = require('../../abi/external/uniswapExchange.json')

[ExternalContract.uniswapFactory]

[ExternalContract.uniswapFactory]: any = require('../../abi/external/uniswapFactory.json')

Generated using TypeDoc