mirror of
https://github.com/alexgo-io/peggedassets-server.git
synced 2026-01-12 16:53:14 +08:00
update serverless and peggedData
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -15,3 +15,4 @@ src/adapters/peggedAssets/testAllAdapters.ts
|
||||
src/testGetPeggedChart.ts
|
||||
src/adapters/peggedAssets/historical/
|
||||
package-lock.json
|
||||
src/adapters/peggedAssets/storeCoinGeckoPriceHistory.ts
|
||||
|
||||
@@ -99,7 +99,7 @@ functions:
|
||||
memorySize: 3000
|
||||
events:
|
||||
- http:
|
||||
path: stablecoinchart/{chain}
|
||||
path: stablecoincharts/{chain}
|
||||
method: get
|
||||
stablecoinDominance:
|
||||
handler: src/getChainDominance.default
|
||||
|
||||
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user