update serverless and peggedData

This commit is contained in:
Cocoahomology
2022-07-06 06:32:43 -04:00
parent 8138fced8e
commit fe7b8d4426
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@@ -15,3 +15,4 @@ src/adapters/peggedAssets/testAllAdapters.ts
src/testGetPeggedChart.ts
src/adapters/peggedAssets/historical/
package-lock.json
src/adapters/peggedAssets/storeCoinGeckoPriceHistory.ts

View File

@@ -99,7 +99,7 @@ functions:
memorySize: 3000
events:
- http:
path: stablecoinchart/{chain}
path: stablecoincharts/{chain}
method: get
stablecoinDominance:
handler: src/getChainDominance.default

View File

@@ -3,11 +3,11 @@ import type { PeggedAsset } from "./typesTesting";
export type { PeggedAsset };
/*
both `name` and `gecko_id` must be included. `name` is used to fetch icon and as API slug. `gecko_id` is used to fetch adapters.
both `name` and `gecko_id` must be included. `name` is used to fetch icon and in API Config. `gecko_id` is used to fetch adapters and prices.
`description` should be brief but still include: Issuer (or degree of decentralization), function of asset, and peg mechanism.
`description` should be brief but still include: Issuer, function of asset, and asset stablecoin is pegged to.
`mintRedeemDescription` should include details on minting and redemption.
`mintRedeemDescription` should include brief details on minting and redemption.
*/
export default [