@ember-finance/sdk 2.11.0-pre.0 → 2.11.0-pre.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -75,6 +75,8 @@ export function httpPointerSource(options = {}) {
|
|
|
75
75
|
venue: placement.venue,
|
|
76
76
|
coin: placement.coin,
|
|
77
77
|
decimals: requireDecimals(placement),
|
|
78
|
+
protocolName: placement.protocolName,
|
|
79
|
+
protocolLogoUrl: placement.protocolLogoUrl,
|
|
78
80
|
source: placement.source,
|
|
79
81
|
label: placement.label,
|
|
80
82
|
shareToken: placement.shareToken,
|
|
@@ -30,6 +30,13 @@ export interface PlacementRef {
|
|
|
30
30
|
coin: string;
|
|
31
31
|
/** Decimals of `coin`. */
|
|
32
32
|
decimals: number;
|
|
33
|
+
/**
|
|
34
|
+
* The protocol's display name, e.g. "Current Finance". Absent when the
|
|
35
|
+
* vaults API has no catalogue entry — render `protocol` then.
|
|
36
|
+
*/
|
|
37
|
+
protocolName?: string;
|
|
38
|
+
/** Icon for the protocol, when one is catalogued. */
|
|
39
|
+
protocolLogoUrl?: string;
|
|
33
40
|
source: PointerOrigin;
|
|
34
41
|
/** Human-readable venue name, for display only. */
|
|
35
42
|
label?: string;
|