Home Reference Source

References

actions/app

summary
public

F acceptTerms(): [type]

[acceptTerms description]

public

closeNotificationModal

public

Fetch Client Informations via ip and get the licence price for his country

public

F openNotificationModal(objectPattern: {"type": *, "message": *})

openNotificationModal

public

setAppInitialized

public

F setEthNetwork(id: [type])

[setEthNetwork description]

public

F setLicencePrice(licencePrice: *)

public

setMetamaskInstalled

public

toggleTermsModal

actions/kyc

summary
public

F sendSms(phoneNumber: string, ethAddress: string, onSuccess: function, onError: function): object

sendSms

public

F sendVerifCode(code: string, phoneNumber: string, onSuccess: function, onError: function): object

sendVerifCode

public

F setPhone(phone: String)

setPhone

public

F setPhoneCountry(phoneCountry: string)

setPhoneCountry

public

F setPhoneSent(phoneSent: boolean)

setPhoneSent

actions/root

summary
public

F reset()

actions/shop

summary
public

F addShop(shop: [type])

[addShop description]

public

F removeShop(): [type]

removeShop

public

F setDataShopPending(data: [type])

setDataShopPending

actions/transaction

summary
public

F addTransaction(hash: *)

public
public

F setTransactionHash(hash: *)

actions/user

summary
public

F checkUserCertified(ethAddress: *)

public

F setBalance(balance: *)

public

F setEthAddress(ethAddress: *)

public

components/Headings

summary
public

V H1: *

public

V H2: *

public

V H3: *

components/Inputs/AutoAddress

summary
public

components/Inputs/ComboBox

summary
public
public
public
public

V ResultItem: *

public

V Results: *

public
public

V Wrapper: *

components/Inputs/Input

summary
public
public

components/Layout

summary
public

V Layout: *

components/Loader

summary
public

V Loader: *

components/Mention

summary
public

V Mention: *

components/Panels

summary
public

V Panels: *

components/Spaces

summary
public

V Margin: *

public

V Padding: *

constants

summary
public
public

V notifications: {"WARNING": *, "SUCCESS": *}

public

V notificationsTypes: {"WARNING": string, "SUCCESS": string}

public
public

containers/AddShop/Form

summary
public

F fromState(objectPattern: {"onChange": *, "onBlur": *}, props: *): {"address": *, "name": *, "cat": *, "description": *}

helpers/apiResponse

summary
public

F getErrorMessage(errors: Array | String, response: Object): String

Parse api response to return formatted error

helpers/array

summary
public

F uniqueArray(arr: Array, objKey: String): Array

[filter array of object by a key uniqueness]

helpers/calendar

summary
public

Decode calendar String

public

F convertDay(open: Boolean, openAt: String, closeAt: String): String

Encode Day Object

public

V hours: [type]

[hours description]

public
public

V timesObj: {}

helpers/ethereum

summary
public

F deleteShop(description: [Object]): [String]

register a shop, SHOP need to have DTH and to be certified

public

F async getBalance(): Object

return balance of ETH and DTH of the web3 primary account

public

F async getLicenceShop(countryIso: *): *

public

return formatted shop

public

F async getTransactionStatus(hash: [type]): Promise

[getTransactionStatus description]

public

F isSmsReg(): Bool

return true if is sms register

public

F async isWeb3(): Eth address

know if user as web3 injected

public

F async isZoneShopOpen(country: *): *

public

F async getAddress()

public

F async getDetherContract()

public

F async getDthContract()

public

F async getNetworkId()

public

F async getSmsContract()

public

F toNBytes(str: [type], n: [type]): [type]

[toNBytes description]

public

V web3js: *

helpers/geocodeAPI

summary
public

V GeocodeAPI: {"getPostalCodeFromAddressComponents": function, "getCountryIdFromAddressComponents": function, "postalCode": function, "reverseGeocode": function, "positionToAddress": function, "handleUrl": function}

helpers/get

summary
public

F get(key: String, defaultValue: Any): Any

Get the value of the corresponding key, if the value is null return defaultValue

helpers/last

summary
public

F last(array: [type]): [type]

Get the last element of the array

helpers/parse

summary
public

F parseError(error: *)

helpers/scrollTop

summary
public

F scrollToTop(duration: *)

helpers/shake

summary
public

F setShake(context: [type])

setShake

helpers/timers

summary
public

F phoneVerificationTime(time: [type]): [type]

phoneVerificationTime

public

F timeSince(time: [type]): [type]

timeSince

helpers/wait

summary
public

F wait(ms: *)

reducers

summary
public

F rootReducer(state: *, action: *): *

styles

summary
public

F mobile(args: ...*)

public
public

V tokens: {"colors": *, "shadow": string, "fontSizes": *, "spaces": *, "radius": *}

translate/en

summary
public

V en: {"terms": *, "phone": *, "validate_code": *, "check_certify": *, "add": *, "header": *, "loaderInitializer": *, "footer": *, "shop_recap": *, "days": *, "errors": *, "show_shop": *, "add_form_verification": *, "beta_send": *, "beta_receive": *, "map": *, "buy_modal": *, "api": *, "metamask": *, "maintenance_page": *, "notifications": *}