mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 07:09:59 -07:00
bindgen: snap
This commit is contained in:
@@ -170,30 +170,6 @@ export function satsBtcUsdFrom({ source, key, name, color, defaultActive }) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Create sats/btc/usd series from a full value pattern using base or cumulative key
|
||||
* @param {Object} args
|
||||
* @param {{ base: AnyValuePattern, cumulative: AnyValuePattern }} args.source
|
||||
* @param {'base' | 'cumulative'} args.key
|
||||
* @param {string} args.name
|
||||
* @param {Color} [args.color]
|
||||
* @param {boolean} [args.defaultActive]
|
||||
* @returns {FetchedLineSeriesBlueprint[]}
|
||||
*/
|
||||
export function satsBtcUsdFromFull({
|
||||
source,
|
||||
key,
|
||||
name,
|
||||
color,
|
||||
defaultActive,
|
||||
}) {
|
||||
return satsBtcUsd({
|
||||
pattern: source[key],
|
||||
name,
|
||||
color,
|
||||
defaultActive,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Create coinbase/subsidy/fee series from separate sources
|
||||
|
||||
Reference in New Issue
Block a user