Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SocialConfig

label

COMMON

interface

SocialConfig

description

The dApp social networks share configuration. This configuration defines list and params of the social networks in which dapp can share referral codes.

link

SocialConfig

since

v0.3.0

Hierarchy

  • SocialConfig

Index

Properties

A configuration object that determines the total number of referrals that are necessary to be assigned the corresponding booster.

Note that the keys of this configuration object should contain the booster asset's identifier as defined inside config/assets.ts.

example

Example referral steps configuration object

{
referral: {
"boost5": { minReferred: 5 },
"boost10": { minReferred: 10 },
...
}
}
link

ReferralBoosterParameters

access

public

var

{ReferralBoosterParameters}

socialApps: SocialPlatformsMap

A social platforms configuration object. This object contains information for the integration of features like: share, like amongst others.

example

Example social apps configuration object

{
socialApps: {
"example": { shareUrl: "example.com/share-this" }
}
}
link

SocialPlatformsMap

access

public

var

{SocialPlatformsMap}

Generated using TypeDoc