Skip to content

Commit

Permalink
feat: add new earn quiz questions with associated sat amounts to rewa…
Browse files Browse the repository at this point in the history
…rd (#3306)
  • Loading branch information
leesalminen authored Oct 19, 2023
1 parent 1739e6c commit f589e59
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 23 deletions.
135 changes: 117 additions & 18 deletions core/api/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,26 +86,125 @@ export const OnboardingEarn: Record<QuizQuestionId, Satoshis> = {
walletActivated: 1 as Satoshis,
whatIsBitcoin: 1 as Satoshis,
sat: 2 as Satoshis,
whereBitcoinExist: 3 as Satoshis,
whoControlsBitcoin: 3 as Satoshis,
whereBitcoinExist: 2 as Satoshis,
whoControlsBitcoin: 2 as Satoshis,
copyBitcoin: 3 as Satoshis,
moneySocialAgreement: 2 as Satoshis,
coincidenceOfWants: 2 as Satoshis,
moneyEvolution: 2 as Satoshis,
whyStonesShellGold: 3 as Satoshis,
moneyIsImportant: 3 as Satoshis,
moneyImportantGovernement: 4 as Satoshis,
moneyIsImportant: 4 as Satoshis,
whyStonesShellGold: 4 as Satoshis,
moneyEvolution: 4 as Satoshis,
coincidenceOfWants: 4 as Satoshis,
moneySocialAggrement: 4 as Satoshis,
WhatIsFiat: 5 as Satoshis,
whyCareAboutFiatMoney: 5 as Satoshis,
GovernementCanPrintMoney: 5 as Satoshis,
FiatLosesValueOverTime: 5 as Satoshis,
OtherIssues: 5 as Satoshis,
LimitedSupply: 6 as Satoshis,
Decentralized: 6 as Satoshis,
NoCounterfeitMoney: 6 as Satoshis,
HighlyDivisible: 6 as Satoshis,
securePartOne: 6 as Satoshis,
securePartTwo: 6 as Satoshis,
WhatIsFiat: 2 as Satoshis,
whyCareAboutFiatMoney: 2 as Satoshis,
GovernementCanPrintMoney: 2 as Satoshis,
FiatLosesValueOverTime: 3 as Satoshis,
OtherIssues: 4 as Satoshis,
LimitedSupply: 2 as Satoshis,
Decentralized: 2 as Satoshis,
NoCounterfeitMoney: 2 as Satoshis,
HighlyDivisible: 3 as Satoshis,
securePartOne: 3 as Satoshis,
securePartTwo: 4 as Satoshis,
originsOfMoney: 2 as Satoshis,
primitiveMoney: 2 as Satoshis,
anticipatingDemand: 3 as Satoshis,
nashEquilibrium: 3 as Satoshis,
singleStoreOfValue: 4 as Satoshis,
whatIsGoodSOV: 2 as Satoshis,
durability: 2 as Satoshis,
portability: 2 as Satoshis,
fungibility: 2 as Satoshis,
verifiability: 3 as Satoshis,
divisibility: 3 as Satoshis,
scarce: 3 as Satoshis,
establishedHistory: 4 as Satoshis,
censorshipResistance: 5 as Satoshis,
evolutionMoney: 2 as Satoshis,
collectible: 2 as Satoshis,
storeOfValue: 2 as Satoshis,
mediumOfExchange: 3 as Satoshis,
unitOfAccount: 3 as Satoshis,
partlyMonetized: 3 as Satoshis,
monetizationStage: 4 as Satoshis,
notFromGovernment: 2 as Satoshis,
primaryFunction: 2 as Satoshis,
monetaryMetals: 3 as Satoshis,
stockToFlow: 3 as Satoshis,
hardMoney: 4 as Satoshis,
convergingOnGold: 2 as Satoshis,
originsOfPaperMoney: 2 as Satoshis,
fractionalReserve: 2 as Satoshis,
bankRun: 2 as Satoshis,
modernCentralBanking: 3 as Satoshis,
goldBacked: 3 as Satoshis,
brettonWoods: 4 as Satoshis,
globalReserve: 5 as Satoshis,
nixonShock: 2 as Satoshis,
fiatEra: 2 as Satoshis,
digitalFiat: 2 as Satoshis,
plasticCredit: 3 as Satoshis,
doubleSpendProblem: 3 as Satoshis,
satoshisBreakthrough: 3 as Satoshis,
nativelyDigital: 4 as Satoshis,
CBDCs: 5 as Satoshis,
rootProblem: 2 as Satoshis,
bitcoinCreator: 2 as Satoshis,
fiatRequiresTrust: 3 as Satoshis,
moneyPrinting: 3 as Satoshis,
genesisBlock: 4 as Satoshis,
cypherpunks: 13 as Satoshis,
peer2Peer: 2 as Satoshis,
blockchain: 2 as Satoshis,
privateKey: 2 as Satoshis,
publicKey: 3 as Satoshis,
mining: 3 as Satoshis,
proofOfWork: 3 as Satoshis,
difficultyAdjustment: 4 as Satoshis,
halving: 5 as Satoshis,
bitcoinDrawbacks: 2 as Satoshis,
blocksizeWars: 2 as Satoshis,
lightningNetwork: 2 as Satoshis,
instantPayments: 3 as Satoshis,
micropayments: 3 as Satoshis,
scalability: 3 as Satoshis,
paymentChannels: 4 as Satoshis,
routing: 5 as Satoshis,
itsaBubble: 2 as Satoshis,
itstooVolatile: 2 as Satoshis,
itsnotBacked: 3 as Satoshis,
willbecomeObsolete: 3 as Satoshis,
toomuchEnergy: 4 as Satoshis,
strandedEnergy: 5 as Satoshis,
internetDependent: 2 as Satoshis,
forcrimeOnly: 2 as Satoshis,
ponziScheme: 2 as Satoshis,
bitcoinisTooSlow: 3 as Satoshis,
supplyLimit: 3 as Satoshis,
governmentBan: 4 as Satoshis,
concentratedOwnership: 2 as Satoshis,
centralizedMining: 2 as Satoshis,
tooExpensive: 2 as Satoshis,
prohibitivelyHigh: 3 as Satoshis,
willBeHoarded: 4 as Satoshis,
canBeDuplicated: 5 as Satoshis,
scarcity: 2 as Satoshis,
monetaryPremium: 2 as Satoshis,
greshamsLaw: 2 as Satoshis,
thiersLaw: 3 as Satoshis,
cantillonEffect: 4 as Satoshis,
schellingPoint: 5 as Satoshis,
opportunityCost: 2 as Satoshis,
timePreference: 2 as Satoshis,
impossibleTrinity: 3 as Satoshis,
jevonsParadox: 3 as Satoshis,
powerLaws: 4 as Satoshis,
winnerTakeAll: 5 as Satoshis,
unitBias: 2 as Satoshis,
veblenGood: 2 as Satoshis,
malinvestment: 3 as Satoshis,
asymmetricPayoff: 4 as Satoshis,
ansoffMatrix: 5 as Satoshis,
} as const

export const memoSharingConfig = {
Expand Down
109 changes: 104 additions & 5 deletions core/api/src/config/index.types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ type QuizQuestionId =
| "whereBitcoinExist"
| "whoControlsBitcoin"
| "copyBitcoin"
| "moneyImportantGovernement"
| "moneyIsImportant"
| "whyStonesShellGold"
| "moneyEvolution"
| "moneySocialAgreement"
| "coincidenceOfWants"
| "moneySocialAggrement"
| "moneyEvolution"
| "whyStonesShellGold"
| "moneyIsImportant"
| "moneyImportantGovernement"
| "WhatIsFiat"
| "whyCareAboutFiatMoney"
| "GovernementCanPrintMoney"
Expand All @@ -23,5 +23,104 @@ type QuizQuestionId =
| "HighlyDivisible"
| "securePartOne"
| "securePartTwo"
| "originsOfMoney"
| "primitiveMoney"
| "anticipatingDemand"
| "nashEquilibrium"
| "singleStoreOfValue"
| "whatIsGoodSOV"
| "durability"
| "portability"
| "fungibility"
| "verifiability"
| "divisibility"
| "scarce"
| "establishedHistory"
| "censorshipResistance"
| "evolutionMoney"
| "collectible"
| "storeOfValue"
| "mediumOfExchange"
| "unitOfAccount"
| "partlyMonetized"
| "monetizationStage"
| "notFromGovernment"
| "primaryFunction"
| "monetaryMetals"
| "stockToFlow"
| "hardMoney"
| "convergingOnGold"
| "originsOfPaperMoney"
| "fractionalReserve"
| "bankRun"
| "modernCentralBanking"
| "goldBacked"
| "brettonWoods"
| "globalReserve"
| "nixonShock"
| "fiatEra"
| "digitalFiat"
| "plasticCredit"
| "doubleSpendProblem"
| "satoshisBreakthrough"
| "nativelyDigital"
| "CBDCs"
| "rootProblem"
| "bitcoinCreator"
| "fiatRequiresTrust"
| "moneyPrinting"
| "genesisBlock"
| "cypherpunks"
| "peer2Peer"
| "blockchain"
| "privateKey"
| "publicKey"
| "mining"
| "proofOfWork"
| "difficultyAdjustment"
| "halving"
| "bitcoinDrawbacks"
| "blocksizeWars"
| "lightningNetwork"
| "instantPayments"
| "micropayments"
| "scalability"
| "paymentChannels"
| "routing"
| "itsaBubble"
| "itstooVolatile"
| "itsnotBacked"
| "willbecomeObsolete"
| "toomuchEnergy"
| "strandedEnergy"
| "internetDependent"
| "forcrimeOnly"
| "ponziScheme"
| "bitcoinisTooSlow"
| "supplyLimit"
| "governmentBan"
| "concentratedOwnership"
| "centralizedMining"
| "tooExpensive"
| "prohibitivelyHigh"
| "willBeHoarded"
| "canBeDuplicated"
| "scarcity"
| "monetaryPremium"
| "greshamsLaw"
| "thiersLaw"
| "cantillonEffect"
| "schellingPoint"
| "opportunityCost"
| "timePreference"
| "impossibleTrinity"
| "jevonsParadox"
| "powerLaws"
| "winnerTakeAll"
| "unitBias"
| "veblenGood"
| "malinvestment"
| "asymmetricPayoff"
| "ansoffMatrix"

type SkipFeeProbeConfig = { pubkey: Pubkey[]; chanId: ChanId[] }

0 comments on commit f589e59

Please sign in to comment.