Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/teller"

Index

Variables

Const EMPTY_MESSENGER_FIELD

EMPTY_MESSENGER_FIELD: "0x00000000000000000000000000000000" = "0x00000000000000000000000000000000"

Functions

Const addComment

  • addComment(zoneGeohash: string, ipfsHash: string, wallet: Wallet, zoneFactoryContract: Contract, txOptions: ITxOptions): Promise<ContractTransaction>
  • Parameters

    • zoneGeohash: string
    • ipfsHash: string
    • wallet: Wallet
    • zoneFactoryContract: Contract
    • txOptions: ITxOptions

    Returns Promise<ContractTransaction>

Const addFunds

  • addFunds(zoneGeohash: string, ethAmount: string, wallet: Wallet, txOptions: ITxOptions): Promise<ContractTransaction>
  • Parameters

    • zoneGeohash: string
    • ethAmount: string
    • wallet: Wallet
    • txOptions: ITxOptions

    Returns Promise<ContractTransaction>

Const addTeller

  • addTeller(tellerData: ITellerArgs, wallet: Wallet, zoneFactoryContract: Contract, txOptions: ITxOptions): Promise<ContractTransaction>

Const getTeller

  • getTeller(address: string, provider: Provider, zoneFactoryContract: Contract): Promise<any>
  • Parameters

    • address: string
    • provider: Provider
    • zoneFactoryContract: Contract

    Returns Promise<any>

Const getTellerInZone

  • getTellerInZone(geohash6: string, provider: Provider, zoneFactoryContract: Contract): Promise<any>
  • Parameters

    • geohash6: string
    • provider: Provider
    • zoneFactoryContract: Contract

    Returns Promise<any>

Const getTellersInZones

  • getTellersInZones(geohash6List: string[], provider: Provider, zoneFactoryContract: Contract): Promise<any[]>
  • Parameters

    • geohash6List: string[]
    • provider: Provider
    • zoneFactoryContract: Contract

    Returns Promise<any[]>

Const isTeller

  • isTeller(address: string, provider: Provider, zoneFactoryContract: Contract): Promise<any>
  • Parameters

    • address: string
    • provider: Provider
    • zoneFactoryContract: Contract

    Returns Promise<any>

Const removeTeller

  • removeTeller(zoneGeohash: string, wallet: Wallet, zoneFactoryContract: Contract, txOptions: ITxOptions): Promise<ContractTransaction>
  • Parameters

    • zoneGeohash: string
    • wallet: Wallet
    • zoneFactoryContract: Contract
    • txOptions: ITxOptions

    Returns Promise<ContractTransaction>

Const settingsToBytes

  • settingsToBytes(isBuyer: boolean, isSeller: boolean): string
  • Parameters

    • isBuyer: boolean
    • isSeller: boolean

    Returns string

Const tellerArrToObj

  • tellerArrToObj(zoneAddr: string, tellerContractAddr: string, tellerArr: any[]): ITeller

Const updateTeller

  • updateTeller(tellerData: ITellerArgs, wallet: Wallet, zoneFactoryContract: Contract, txOptions: ITxOptions): Promise<ContractTransaction>

Generated using TypeDoc