// // File auto-generated, any modifications will be overwritten // /** @typedef {0} Height */ /** @typedef {1} Dateindex */ /** @typedef {2} Weekindex */ /** @typedef {3} Difficultyepoch */ /** @typedef {4} Monthindex */ /** @typedef {5} Quarterindex */ /** @typedef {6} Yearindex */ /** @typedef {7} Decadeindex */ /** @typedef {8} Halvingepoch */ /** @typedef {9} Addressindex */ /** @typedef {10} P2PK33index */ /** @typedef {11} P2PK65index */ /** @typedef {12} P2PKHindex */ /** @typedef {13} P2SHindex */ /** @typedef {14} P2TRindex */ /** @typedef {15} P2WPKHindex */ /** @typedef {16} P2WSHindex */ /** @typedef {17} Txindex */ /** @typedef {18} Txinindex */ /** @typedef {19} Txoutindex */ /** @typedef {20} Emptyindex */ /** @typedef {21} Multisigindex */ /** @typedef {22} Opreturnindex */ /** @typedef {23} Pushonlyindex */ /** @typedef {24} Unknownindex */ /** @typedef {Height | Dateindex | Weekindex | Difficultyepoch | Monthindex | Quarterindex | Yearindex | Decadeindex | Halvingepoch | Addressindex | P2PK33index | P2PK65index | P2PKHindex | P2SHindex | P2TRindex | P2WPKHindex | P2WSHindex | Txindex | Txinindex | Txoutindex | Emptyindex | Multisigindex | Opreturnindex | Pushonlyindex | Unknownindex} Index */ export function createVecIdToIndexes() { const Height = /** @satisfies {Height} */ (0); const Dateindex = /** @satisfies {Dateindex} */ (1); const Weekindex = /** @satisfies {Weekindex} */ (2); const Difficultyepoch = /** @satisfies {Difficultyepoch} */ (3); const Monthindex = /** @satisfies {Monthindex} */ (4); const Quarterindex = /** @satisfies {Quarterindex} */ (5); const Yearindex = /** @satisfies {Yearindex} */ (6); const Decadeindex = /** @satisfies {Decadeindex} */ (7); const Halvingepoch = /** @satisfies {Halvingepoch} */ (8); const Addressindex = /** @satisfies {Addressindex} */ (9); const P2PK33index = /** @satisfies {P2PK33index} */ (10); const P2PK65index = /** @satisfies {P2PK65index} */ (11); const P2PKHindex = /** @satisfies {P2PKHindex} */ (12); const P2SHindex = /** @satisfies {P2SHindex} */ (13); const P2TRindex = /** @satisfies {P2TRindex} */ (14); const P2WPKHindex = /** @satisfies {P2WPKHindex} */ (15); const P2WSHindex = /** @satisfies {P2WSHindex} */ (16); const Txindex = /** @satisfies {Txindex} */ (17); const Txinindex = /** @satisfies {Txinindex} */ (18); const Txoutindex = /** @satisfies {Txoutindex} */ (19); const Emptyindex = /** @satisfies {Emptyindex} */ (20); const Multisigindex = /** @satisfies {Multisigindex} */ (21); const Opreturnindex = /** @satisfies {Opreturnindex} */ (22); const Pushonlyindex = /** @satisfies {Pushonlyindex} */ (23); const Unknownindex = /** @satisfies {Unknownindex} */ (24); return /** @type {const} */ ({ addressindex: [Txoutindex], addresstype: [Addressindex], addresstypeindex: [Addressindex], "base-size": [Txindex], "block-count": [Height], "block-count-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "block-interval-10p": [Dateindex], "block-interval-25p": [Dateindex], "block-interval-75p": [Dateindex], "block-interval-90p": [Dateindex], "block-interval-average": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "block-interval-max": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "block-interval-median": [Dateindex], "block-interval-min": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "block-size-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "block-vbytes-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "block-weight-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], blockhash: [Height], close: [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "close-in-cents": [Dateindex, Height], coinbase: [Height], "coinbase-10p": [Dateindex], "coinbase-25p": [Dateindex], "coinbase-75p": [Dateindex], "coinbase-90p": [Dateindex], "coinbase-average": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-in-btc": [Height], "coinbase-in-btc-10p": [Dateindex], "coinbase-in-btc-25p": [Dateindex], "coinbase-in-btc-75p": [Dateindex], "coinbase-in-btc-90p": [Dateindex], "coinbase-in-btc-average": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-in-btc-max": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-in-btc-median": [Dateindex], "coinbase-in-btc-min": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-in-btc-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-in-usd": [Height], "coinbase-in-usd-10p": [Dateindex], "coinbase-in-usd-25p": [Dateindex], "coinbase-in-usd-75p": [Dateindex], "coinbase-in-usd-90p": [Dateindex], "coinbase-in-usd-average": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-in-usd-max": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-in-usd-median": [Dateindex], "coinbase-in-usd-min": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-in-usd-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-max": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-median": [Dateindex], "coinbase-min": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "coinbase-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], date: [Dateindex], dateindex: [Dateindex, Height], decadeindex: [Yearindex, Decadeindex], difficulty: [Height], difficultyepoch: [Height, Difficultyepoch], fee: [Txindex], "fee-10p": [Height], "fee-25p": [Height], "fee-75p": [Height], "fee-90p": [Height], "fee-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-in-btc": [Txindex], "fee-in-btc-10p": [Height], "fee-in-btc-25p": [Height], "fee-in-btc-75p": [Height], "fee-in-btc-90p": [Height], "fee-in-btc-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-in-btc-max": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-in-btc-median": [Height], "fee-in-btc-min": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-in-btc-sum": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-in-usd": [Txindex], "fee-in-usd-10p": [Height], "fee-in-usd-25p": [Height], "fee-in-usd-75p": [Height], "fee-in-usd-90p": [Height], "fee-in-usd-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-in-usd-max": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-in-usd-median": [Height], "fee-in-usd-min": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-in-usd-sum": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-max": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-median": [Height], "fee-min": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "fee-sum": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], feerate: [Txindex], "feerate-10p": [Height], "feerate-25p": [Height], "feerate-75p": [Height], "feerate-90p": [Height], "feerate-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "feerate-max": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "feerate-median": [Height], "feerate-min": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "first-addressindex": [Height], "first-dateindex": [Weekindex, Monthindex], "first-emptyindex": [Height], "first-height": [Dateindex, Difficultyepoch, Halvingepoch], "first-monthindex": [Quarterindex, Yearindex], "first-multisigindex": [Height], "first-opreturnindex": [Height], "first-p2pk33index": [Height], "first-p2pk65index": [Height], "first-p2pkhindex": [Height], "first-p2shindex": [Height], "first-p2trindex": [Height], "first-p2wpkhindex": [Height], "first-p2wshindex": [Height], "first-pushonlyindex": [Height], "first-txindex": [Height], "first-txinindex": [Height, Txindex], "first-txoutindex": [Height, Txindex], "first-unkownindex": [Height], "first-yearindex": [Decadeindex], "fixed-date": [Height], "fixed-timestamp": [Height], halvingepoch: [Height, Halvingepoch], height: [Addressindex, Height, P2PK33index, P2PK65index, P2PKHindex, P2SHindex, P2TRindex, P2WPKHindex, P2WSHindex, Txindex, Txinindex, Txoutindex, Emptyindex, Multisigindex, Opreturnindex, Pushonlyindex, Unknownindex], high: [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "high-in-cents": [Dateindex, Height], "input-count": [Txindex], "input-count-10p": [Height], "input-count-25p": [Height], "input-count-75p": [Height], "input-count-90p": [Height], "input-count-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "input-count-max": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "input-count-median": [Height], "input-count-min": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "input-count-sum": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "input-value": [Txindex], "input-value-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "input-value-sum": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], interval: [Height], "is-coinbase": [Txindex], "is-explicitly-rbf": [Txindex], "last-dateindex": [Weekindex, Monthindex], "last-height": [Dateindex, Difficultyepoch, Halvingepoch], "last-monthindex": [Quarterindex, Yearindex], "last-txindex": [Height], "last-txinindex": [Txindex], "last-txoutindex": [Txindex], "last-yearindex": [Decadeindex], locktime: [Txindex], low: [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "low-in-cents": [Dateindex, Height], monthindex: [Dateindex, Monthindex], ohlc: [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "ohlc-in-cents": [Dateindex, Height], open: [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "open-in-cents": [Dateindex, Height], "output-count": [Txindex], "output-count-10p": [Height], "output-count-25p": [Height], "output-count-75p": [Height], "output-count-90p": [Height], "output-count-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "output-count-max": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "output-count-median": [Height], "output-count-min": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "output-count-sum": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "output-value": [Txindex], "output-value-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "output-value-sum": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], p2pk33addressbytes: [P2PK33index], p2pk65addressbytes: [P2PK65index], p2pkhaddressbytes: [P2PKHindex], p2shaddressbytes: [P2SHindex], p2traddressbytes: [P2TRindex], p2wpkhaddressbytes: [P2WPKHindex], p2wshaddressbytes: [P2WSHindex], quarterindex: [Monthindex, Quarterindex], "real-date": [Height], "sats-per-dollar": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], subsidy: [Height], "subsidy-10p": [Dateindex], "subsidy-25p": [Dateindex], "subsidy-75p": [Dateindex], "subsidy-90p": [Dateindex], "subsidy-average": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-in-btc": [Height], "subsidy-in-btc-10p": [Dateindex], "subsidy-in-btc-25p": [Dateindex], "subsidy-in-btc-75p": [Dateindex], "subsidy-in-btc-90p": [Dateindex], "subsidy-in-btc-average": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-in-btc-max": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-in-btc-median": [Dateindex], "subsidy-in-btc-min": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-in-btc-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-in-usd": [Height], "subsidy-in-usd-10p": [Dateindex], "subsidy-in-usd-25p": [Dateindex], "subsidy-in-usd-75p": [Dateindex], "subsidy-in-usd-90p": [Dateindex], "subsidy-in-usd-average": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-in-usd-max": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-in-usd-median": [Dateindex], "subsidy-in-usd-min": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-in-usd-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-max": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-median": [Dateindex], "subsidy-min": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "subsidy-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], timestamp: [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch, Halvingepoch], "total-block-count": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-block-size": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-block-vbytes": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-block-weight": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-coinbase": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-coinbase-in-btc": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-coinbase-in-usd": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-fee": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-fee-in-btc": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-fee-in-usd": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-input-count": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-input-value": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-output-count": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-output-value": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-size": [Height, Txindex], "total-subsidy": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-subsidy-in-btc": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-subsidy-in-usd": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-tx-count": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-tx-v1": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-tx-v2": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "total-tx-v3": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-count": [Height], "tx-count-10p": [Dateindex], "tx-count-25p": [Dateindex], "tx-count-75p": [Dateindex], "tx-count-90p": [Dateindex], "tx-count-average": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-count-max": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-count-median": [Dateindex], "tx-count-min": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-count-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-v1": [Height], "tx-v1-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-v2": [Height], "tx-v2-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-v3": [Height], "tx-v3-sum": [Dateindex, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-vsize-10p": [Height], "tx-vsize-25p": [Height], "tx-vsize-75p": [Height], "tx-vsize-90p": [Height], "tx-vsize-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-vsize-max": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-vsize-median": [Height], "tx-vsize-min": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-weight-10p": [Height], "tx-weight-25p": [Height], "tx-weight-75p": [Height], "tx-weight-90p": [Height], "tx-weight-average": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-weight-max": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], "tx-weight-median": [Height], "tx-weight-min": [Dateindex, Height, Weekindex, Monthindex, Quarterindex, Yearindex, Decadeindex, Difficultyepoch], txid: [Txindex], txoutindex: [Txinindex], txversion: [Txindex], value: [Txinindex, Txoutindex], vbytes: [Height], vsize: [Txindex], weekindex: [Dateindex, Weekindex], weight: [Height, Txindex], yearindex: [Monthindex, Yearindex], }); } /** @typedef {ReturnType} VecIdToIndexes */ /** @typedef {keyof VecIdToIndexes} VecId */