Search
Preparing search index...
The search index is not available
detherjs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"core/teller"
Module "core/teller"
Index
Variables
EMPTY_
MESSENGER_
FIELD
Functions
add
Comment
add
Funds
add
Teller
get
Teller
get
Teller
InZone
get
Tellers
InZones
is
Teller
remove
Teller
settings
ToBytes
teller
Arr
ToObj
update
Teller
Variables
Const
EMPTY_
MESSENGER_
FIELD
EMPTY_
MESSENGER_
FIELD
:
"0x00000000000000000000000000000000"
= "0x00000000000000000000000000000000"
Functions
Const
add
Comment
add
Comment
(
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
add
Funds
add
Funds
(
zoneGeohash
:
string
, ethAmount
:
string
, wallet
:
Wallet
, txOptions
:
ITxOptions
)
:
Promise
<
ContractTransaction
>
Parameters
zoneGeohash:
string
ethAmount:
string
wallet:
Wallet
txOptions:
ITxOptions
Returns
Promise
<
ContractTransaction
>
Const
add
Teller
add
Teller
(
tellerData
:
ITellerArgs
, wallet
:
Wallet
, zoneFactoryContract
:
Contract
, txOptions
:
ITxOptions
)
:
Promise
<
ContractTransaction
>
Parameters
tellerData:
ITellerArgs
wallet:
Wallet
zoneFactoryContract:
Contract
txOptions:
ITxOptions
Returns
Promise
<
ContractTransaction
>
Const
get
Teller
get
Teller
(
address
:
string
, provider
:
Provider
, zoneFactoryContract
:
Contract
)
:
Promise
<
any
>
Parameters
address:
string
provider:
Provider
zoneFactoryContract:
Contract
Returns
Promise
<
any
>
Const
get
Teller
InZone
get
Teller
InZone
(
geohash6
:
string
, provider
:
Provider
, zoneFactoryContract
:
Contract
)
:
Promise
<
any
>
Parameters
geohash6:
string
provider:
Provider
zoneFactoryContract:
Contract
Returns
Promise
<
any
>
Const
get
Tellers
InZones
get
Tellers
InZones
(
geohash6List
:
string
[]
, provider
:
Provider
, zoneFactoryContract
:
Contract
)
:
Promise
<
any
[]
>
Parameters
geohash6List:
string
[]
provider:
Provider
zoneFactoryContract:
Contract
Returns
Promise
<
any
[]
>
Const
is
Teller
is
Teller
(
address
:
string
, provider
:
Provider
, zoneFactoryContract
:
Contract
)
:
Promise
<
any
>
Parameters
address:
string
provider:
Provider
zoneFactoryContract:
Contract
Returns
Promise
<
any
>
Const
remove
Teller
remove
Teller
(
zoneGeohash
:
string
, wallet
:
Wallet
, zoneFactoryContract
:
Contract
, txOptions
:
ITxOptions
)
:
Promise
<
ContractTransaction
>
Parameters
zoneGeohash:
string
wallet:
Wallet
zoneFactoryContract:
Contract
txOptions:
ITxOptions
Returns
Promise
<
ContractTransaction
>
Const
settings
ToBytes
settings
ToBytes
(
isBuyer
:
boolean
, isSeller
:
boolean
)
:
string
Parameters
isBuyer:
boolean
isSeller:
boolean
Returns
string
Const
teller
Arr
ToObj
teller
Arr
ToObj
(
zoneAddr
:
string
, tellerContractAddr
:
string
, tellerArr
:
any
[]
)
:
ITeller
Parameters
zoneAddr:
string
tellerContractAddr:
string
tellerArr:
any
[]
Returns
ITeller
Const
update
Teller
update
Teller
(
tellerData
:
ITellerArgs
, wallet
:
Wallet
, zoneFactoryContract
:
Contract
, txOptions
:
ITxOptions
)
:
Promise
<
ContractTransaction
>
Parameters
tellerData:
ITellerArgs
wallet:
Wallet
zoneFactoryContract:
Contract
txOptions:
ITxOptions
Returns
Promise
<
ContractTransaction
>
Globals
Internals
"dether"
Externals
"constants"
"core/exchanges/base"
"core/exchanges/index"
"core/exchanges/uniswap"
"core/shop"
"core/teller"
"core/util"
"core/wallet"
"core/zone"
"helpers/contracts"
"helpers/convert"
"helpers/providers"
"helpers/util"
"helpers/validate"
"types"
EMPTY_
MESSENGER_
FIELD
add
Comment
add
Funds
add
Teller
get
Teller
get
Teller
InZone
get
Tellers
InZones
is
Teller
remove
Teller
settings
ToBytes
teller
Arr
ToObj
update
Teller
Generated using
TypeDoc