Skip to content

Commit

Permalink
Adding sssbtCreditScoreTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Dec 7, 2022
1 parent 38e2d05 commit 9afb863
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/utils/templates.ts
Expand Up @@ -30,4 +30,13 @@ Challenge: ${challenge}`,
*/
twoFATemplate: (identityId: string, phoneNumber: string, code: string) =>
`Identity: ${identityId} Phone Number: ${phoneNumber} Code: ${code}`,

/**
* The Masa Finance Credit Score Template used for creating credit score tokens
* @param value The value of the credit score
* @param lastUpdated The date of the credit score generation process
* @param wallet The address of the wallet used in the credit score generation process
*/
sssbtCreditScoreTemplate: (value: string, lastUpdated: string, wallet: string) =>
`${value};${lastUpdated};${wallet}`,
};

0 comments on commit 9afb863

Please sign in to comment.