repo_id
stringclasses
563 values
file_path
stringlengths
40
166
content
stringlengths
1
2.94M
__index_level_0__
int64
0
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/utils.ts
import { base64, bs58 } from '@project-serum/anchor/dist/cjs/utils/bytes'; import fs from 'fs'; import { logger } from './logger'; import { BASE_PRECISION, BN, DLOB, DLOBNode, DataAndSlot, DriftClient, HeliusPriorityLevel, JupiterClient, DriftEnv, MakerInfo, MarketType, NodeToFill, NodeToTrigger, OraclePriceData, PERCENTAGE_PRECISION, PRICE_PRECISION, PerpMarketAccount, PriorityFeeSubscriber, QUOTE_PRECISION, SpotMarketAccount, User, Wallet, convertToNumber, getOrderSignature, getVariant, WhileValidTxSender, PriorityFeeSubscriberMap, isOneOfVariant, PhoenixV1FulfillmentConfigAccount, PhoenixSubscriber, BulkAccountLoader, PollingDriftClientAccountSubscriber, isVariant, SpotMarketConfig, PerpMarketConfig, PerpMarkets, SpotMarkets, DRIFT_ORACLE_RECEIVER_ID, OpenbookV2FulfillmentConfigAccount, OpenbookV2Subscriber, OracleInfo, } from '@drift-labs/sdk'; import { NATIVE_MINT, createAssociatedTokenAccountInstruction, createCloseAccountInstruction, getAssociatedTokenAddress, getAssociatedTokenAddressSync, } from '@solana/spl-token'; import { AddressLookupTableAccount, ComputeBudgetProgram, Connection, Keypair, PublicKey, Transaction, TransactionError, TransactionInstruction, TransactionMessage, VersionedTransaction, } from '@solana/web3.js'; import { webhookMessage } from './webhook'; import { PythPriceFeedSubscriber } from './pythPriceFeedSubscriber'; // devnet only export const TOKEN_FAUCET_PROGRAM_ID = new PublicKey( 'V4v1mQiAdLz4qwckEb45WqHYceYizoib39cDBHSWfaB' ); export const MEMO_PROGRAM_ID = new PublicKey( 'MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr' ); const JUPITER_SLIPPAGE_BPS = 100; export const PRIORITY_FEE_SERVER_RATE_LIMIT_PER_MIN = 300; export async function getOrCreateAssociatedTokenAccount( connection: Connection, mint: PublicKey, wallet: Wallet ): Promise<PublicKey> { const associatedTokenAccount = await getAssociatedTokenAddress( mint, wallet.publicKey ); const accountInfo = await connection.getAccountInfo(associatedTokenAccount); if (accountInfo == null) { const tx = new Transaction().add( createAssociatedTokenAccountInstruction( wallet.publicKey, associatedTokenAccount, wallet.publicKey, mint ) ); const txSig = await connection.sendTransaction(tx, [wallet.payer]); const latestBlock = await connection.getLatestBlockhash(); await connection.confirmTransaction( { signature: txSig, blockhash: latestBlock.blockhash, lastValidBlockHeight: latestBlock.lastValidBlockHeight, }, 'confirmed' ); } return associatedTokenAccount; } export function loadCommaDelimitToArray(str: string): number[] { try { return str .split(',') .filter((element) => { if (element.trim() === '') { return false; } return !isNaN(Number(element)); }) .map((element) => { return Number(element); }); } catch (e) { return []; } } export function parsePositiveIntArray( intArray: string | undefined, separator = ',' ): number[] | undefined { if (!intArray) { return undefined; } return intArray .split(separator) .map((s) => s.trim()) .map((s) => parseInt(s)) .filter((n) => !isNaN(n) && n >= 0); } export function loadCommaDelimitToStringArray(str: string): string[] { try { return str.split(',').filter((element) => { return element.trim() !== ''; }); } catch (e) { return []; } } export function convertToMarketType(input: string): MarketType { switch (input.toUpperCase()) { case 'PERP': return MarketType.PERP; case 'SPOT': return MarketType.SPOT; default: throw new Error(`Invalid market type: ${input}`); } } export function loadKeypair(privateKey: string): Keypair { // try to load privateKey as a filepath let loadedKey: Uint8Array; if (fs.existsSync(privateKey)) { logger.info(`loading private key from ${privateKey}`); privateKey = fs.readFileSync(privateKey).toString(); } if (privateKey.includes('[') && privateKey.includes(']')) { logger.info(`Trying to load private key as numbers array`); loadedKey = Uint8Array.from(JSON.parse(privateKey)); } else if (privateKey.includes(',')) { logger.info(`Trying to load private key as comma separated numbers`); loadedKey = Uint8Array.from( privateKey.split(',').map((val) => Number(val)) ); } else { logger.info(`Trying to load private key as base58 string`); privateKey = privateKey.replace(/\s/g, ''); loadedKey = new Uint8Array(bs58.decode(privateKey)); } return Keypair.fromSecretKey(Uint8Array.from(loadedKey)); } export function getWallet(privateKeyOrFilepath: string): [Keypair, Wallet] { const keypair = loadKeypair(privateKeyOrFilepath); return [keypair, new Wallet(keypair)]; } export function sleepMs(ms: number) { return new Promise((resolve) => setTimeout(resolve, ms)); } export function sleepS(s: number) { return sleepMs(s * 1000); } export function decodeName(bytes: number[]): string { const buffer = Buffer.from(bytes); return buffer.toString('utf8').trim(); } export function getNodeToFillSignature(node: NodeToFill): string { if (!node.node.userAccount) { return '~'; } return `${node.node.userAccount}-${node.node.order?.orderId.toString()}`; } export function getFillSignatureFromUserAccountAndOrderId( userAccount: string, orderId: string ): string { return `${userAccount}-${orderId}`; } export function getNodeToTriggerSignature(node: NodeToTrigger): string { return getOrderSignature(node.node.order.orderId, node.node.userAccount); } export async function waitForAllSubscribesToFinish( subscriptionPromises: Promise<boolean>[] ): Promise<boolean> { const results = await Promise.all(subscriptionPromises); const falsePromises = subscriptionPromises.filter( (_, index) => !results[index] ); if (falsePromises.length > 0) { logger.info('waiting to subscribe to DriftClient and User'); await sleepMs(1000); return waitForAllSubscribesToFinish(falsePromises); } else { return true; } } export function getBestLimitBidExcludePubKey( dlob: DLOB, marketIndex: number, marketType: MarketType, slot: number, oraclePriceData: OraclePriceData, excludedPubKey: string, excludedUserAccountsAndOrder?: [string, number][] ): DLOBNode | undefined { const bids = dlob.getRestingLimitBids( marketIndex, slot, marketType, oraclePriceData ); for (const bid of bids) { if (bid.userAccount === excludedPubKey) { continue; } if ( excludedUserAccountsAndOrder?.some( (entry) => entry[0] === (bid.userAccount ?? '') && entry[1] === (bid.order?.orderId ?? -1) ) ) { continue; } return bid; } return undefined; } export function getBestLimitAskExcludePubKey( dlob: DLOB, marketIndex: number, marketType: MarketType, slot: number, oraclePriceData: OraclePriceData, excludedPubKey: string, excludedUserAccountsAndOrder?: [string, number][] ): DLOBNode | undefined { const asks = dlob.getRestingLimitAsks( marketIndex, slot, marketType, oraclePriceData ); for (const ask of asks) { if (ask.userAccount === excludedPubKey) { continue; } if ( excludedUserAccountsAndOrder?.some( (entry) => entry[0] === (ask.userAccount ?? '') && entry[1] === (ask.order?.orderId || -1) ) ) { continue; } return ask; } return undefined; } export function calculateAccountValueUsd(user: User): number { const netSpotValue = convertToNumber( user.getNetSpotMarketValue(), QUOTE_PRECISION ); const unrealizedPnl = convertToNumber( user.getUnrealizedPNL(true, undefined, undefined), QUOTE_PRECISION ); return netSpotValue + unrealizedPnl; } export function calculateBaseAmountToMarketMakePerp( perpMarketAccount: PerpMarketAccount, user: User, targetLeverage = 1 ) { const basePriceNormed = convertToNumber( perpMarketAccount.amm.historicalOracleData.lastOraclePriceTwap ); const accountValueUsd = calculateAccountValueUsd(user); targetLeverage *= 0.95; const maxBase = (accountValueUsd / basePriceNormed) * targetLeverage; const marketSymbol = decodeName(perpMarketAccount.name); logger.info( `(mkt index: ${marketSymbol}) base to market make (targetLvg=${targetLeverage.toString()}): ${maxBase.toString()} = ${accountValueUsd.toString()} / ${basePriceNormed.toString()} * ${targetLeverage.toString()}` ); return maxBase; } export function calculateBaseAmountToMarketMakeSpot( spotMarketAccount: SpotMarketAccount, user: User, targetLeverage = 1 ) { const basePriceNormalized = convertToNumber( spotMarketAccount.historicalOracleData.lastOraclePriceTwap ); const accountValueUsd = calculateAccountValueUsd(user); targetLeverage *= 0.95; const maxBase = (accountValueUsd / basePriceNormalized) * targetLeverage; const marketSymbol = decodeName(spotMarketAccount.name); logger.info( `(mkt index: ${marketSymbol}) base to market make (targetLvg=${targetLeverage.toString()}): ${maxBase.toString()} = ${accountValueUsd.toString()} / ${basePriceNormalized.toString()} * ${targetLeverage.toString()}` ); return maxBase; } export function isMarketVolatile( perpMarketAccount: PerpMarketAccount, oraclePriceData: OraclePriceData, volatileThreshold = 0.005 // 50 bps ) { const twapPrice = perpMarketAccount.amm.historicalOracleData.lastOraclePriceTwap5Min; const lastPrice = perpMarketAccount.amm.historicalOracleData.lastOraclePrice; const currentPrice = oraclePriceData.price; const minDenom = BN.min(BN.min(currentPrice, lastPrice), twapPrice); const cVsL = Math.abs( currentPrice.sub(lastPrice).mul(PRICE_PRECISION).div(minDenom).toNumber() ) / PERCENTAGE_PRECISION.toNumber(); const cVsT = Math.abs( currentPrice.sub(twapPrice).mul(PRICE_PRECISION).div(minDenom).toNumber() ) / PERCENTAGE_PRECISION.toNumber(); const recentStd = perpMarketAccount.amm.oracleStd .mul(PRICE_PRECISION) .div(minDenom) .toNumber() / PERCENTAGE_PRECISION.toNumber(); if ( recentStd > volatileThreshold || cVsT > volatileThreshold || cVsL > volatileThreshold ) { return true; } return false; } export function isSpotMarketVolatile( spotMarketAccount: SpotMarketAccount, oraclePriceData: OraclePriceData, volatileThreshold = 0.005 ) { const twapPrice = spotMarketAccount.historicalOracleData.lastOraclePriceTwap5Min; const lastPrice = spotMarketAccount.historicalOracleData.lastOraclePrice; const currentPrice = oraclePriceData.price; const minDenom = BN.min(BN.min(currentPrice, lastPrice), twapPrice); const cVsL = Math.abs( currentPrice.sub(lastPrice).mul(PRICE_PRECISION).div(minDenom).toNumber() ) / PERCENTAGE_PRECISION.toNumber(); const cVsT = Math.abs( currentPrice.sub(twapPrice).mul(PRICE_PRECISION).div(minDenom).toNumber() ) / PERCENTAGE_PRECISION.toNumber(); if (cVsT > volatileThreshold || cVsL > volatileThreshold) { return true; } return false; } export function isSetComputeUnitsIx(ix: TransactionInstruction): boolean { // Compute budget program discriminator is first byte // 2: set compute unit limit // 3: set compute unit price if ( ix.programId.equals(ComputeBudgetProgram.programId) && ix.data.at(0) === 2 ) { return true; } return false; } const PLACEHOLDER_BLOCKHASH = 'Fdum64WVeej6DeL85REV9NvfSxEJNPZ74DBk7A8kTrKP'; export function getVersionedTransaction( payerKey: PublicKey, ixs: Array<TransactionInstruction>, lookupTableAccounts: AddressLookupTableAccount[], recentBlockhash: string ): VersionedTransaction { const message = new TransactionMessage({ payerKey, recentBlockhash, instructions: ixs, }).compileToV0Message(lookupTableAccounts); return new VersionedTransaction(message); } export type SimulateAndGetTxWithCUsParams = { connection: Connection; payerPublicKey: PublicKey; lookupTableAccounts: AddressLookupTableAccount[]; /// instructions to simulate and create transaction from ixs: Array<TransactionInstruction>; /// multiplier to apply to the estimated CU usage, default: 1.0 cuLimitMultiplier?: number; /// minimum CU limit to use, will not use a min CU if not set minCuLimit?: number; /// set false to only create a tx without simulating for CU estimate doSimulation?: boolean; /// recentBlockhash to use in the final tx. If undefined, PLACEHOLDER_BLOCKHASH /// will be used for simulation, the final tx will have an empty blockhash so /// attempts to sign it will throw. recentBlockhash?: string; /// set true to dump base64 transaction before and after simulating for CUs dumpTx?: boolean; removeLastIxPostSim?: boolean; // remove the last instruction post simulation (used for fillers) }; export type SimulateAndGetTxWithCUsResponse = { cuEstimate: number; simTxLogs: Array<string> | null; simError: TransactionError | string | null; simSlot: number; simTxDuration: number; tx: VersionedTransaction; }; /** * Simulates the instructions in order to determine how many CUs it needs, * applies `cuLimitMulitplier` to the estimate and inserts or modifies * the CU limit request ix. * * If `recentBlockhash` is provided, it is used as is to generate the final * tx. If it is undefined, uses `PLACEHOLDER_BLOCKHASH` which is a valid * blockhash to perform simulation and removes it from the final tx. Signing * a tx without a valid blockhash will throw. * @param params * @returns */ export async function simulateAndGetTxWithCUs( params: SimulateAndGetTxWithCUsParams ): Promise<SimulateAndGetTxWithCUsResponse> { if (params.ixs.length === 0) { throw new Error('cannot simulate empty tx'); } let setCULimitIxIdx = -1; for (let idx = 0; idx < params.ixs.length; idx++) { if (isSetComputeUnitsIx(params.ixs[idx])) { setCULimitIxIdx = idx; break; } } // if we don't have a set CU limit ix, add one to the beginning // otherwise the default CU limit for sim is 400k, which may be too low if (setCULimitIxIdx === -1) { params.ixs.unshift( ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }) ); setCULimitIxIdx = 0; } let simTxDuration = 0; const tx = getVersionedTransaction( params.payerPublicKey, params.ixs, params.lookupTableAccounts, params.recentBlockhash ?? PLACEHOLDER_BLOCKHASH ); if (!params.doSimulation) { return { cuEstimate: -1, simTxLogs: null, simError: null, simSlot: -1, simTxDuration, tx, }; } if (params.dumpTx) { console.log(`===== Simulating The following transaction =====`); const serializedTx = base64.encode(Buffer.from(tx.serialize())); console.log(serializedTx); console.log(`================================================`); } let resp; try { const start = Date.now(); resp = await params.connection.simulateTransaction(tx, { sigVerify: false, replaceRecentBlockhash: true, commitment: 'processed', }); simTxDuration = Date.now() - start; } catch (e) { console.error(e); logger.error(`Error simulating transaction: ${JSON.stringify(e)}`); } if (!resp) { throw new Error('Failed to simulate transaction'); } if (resp.value.unitsConsumed === undefined) { throw new Error(`Failed to get units consumed from simulateTransaction`); } const simTxLogs = resp.value.logs; const cuEstimate = resp.value.unitsConsumed!; const cusToUse = Math.max( cuEstimate * (params.cuLimitMultiplier ?? 1.0), params.minCuLimit ?? 0 ); params.ixs[setCULimitIxIdx] = ComputeBudgetProgram.setComputeUnitLimit({ units: cusToUse, }); const ixsToUse = params.removeLastIxPostSim ? params.ixs.slice(0, -1) : params.ixs; const txWithCUs = getVersionedTransaction( params.payerPublicKey, ixsToUse, params.lookupTableAccounts, params.recentBlockhash ?? PLACEHOLDER_BLOCKHASH ); if (params.dumpTx) { console.log( `== Simulation result, cuEstimate: ${cuEstimate}, using: ${cusToUse}, blockhash: ${params.recentBlockhash} ==` ); const serializedTx = base64.encode(Buffer.from(txWithCUs.serialize())); console.log(serializedTx); console.log(`================================================`); } // strip out the placeholder blockhash so user doesn't try to send the tx. // sending a tx with placeholder blockhash will cause `blockhash not found error` // which is suppressed if flight checks are skipped. if (!params.recentBlockhash) { txWithCUs.message.recentBlockhash = ''; } return { cuEstimate, simTxLogs, simTxDuration, simError: resp.value.err, simSlot: resp.context.slot, tx: txWithCUs, }; } export function handleSimResultError( simResult: SimulateAndGetTxWithCUsResponse, errorCodesToSuppress: number[], msgSuffix: string, suppressOutOfCUsMessage = true ): undefined | number { if ( (simResult.simError as ExtendedTransactionError).InstructionError === undefined ) { return; } const err = (simResult.simError as ExtendedTransactionError).InstructionError; if (!err) { return; } if (err.length < 2) { logger.error( `${msgSuffix} sim error has no error code. ${JSON.stringify(simResult)}` ); return; } if (!err[1]) { return; } let errorCode: number | undefined; if (typeof err[1] === 'object' && 'Custom' in err[1]) { const customErrorCode = Number((err[1] as CustomError).Custom); errorCode = customErrorCode; if (errorCodesToSuppress.includes(customErrorCode)) { return errorCode; } else { const msg = `${msgSuffix} sim error with custom error code, simError: ${JSON.stringify( simResult.simError )}, cuEstimate: ${simResult.cuEstimate}, sim logs:\n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : 'none' }`; webhookMessage(msg, process.env.TX_LOG_WEBHOOK_URL); logger.error(msg); } } else { const msg = `${msgSuffix} sim error with no error code, simError: ${JSON.stringify( simResult.simError )}, cuEstimate: ${simResult.cuEstimate}, sim logs:\n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : 'none' }`; logger.error(msg); // early return if out of CU error. if ( suppressOutOfCUsMessage && simResult.simTxLogs && simResult.simTxLogs[simResult.simTxLogs.length - 1].includes( 'exceeded CUs meter at BPF instruction' ) ) { return errorCode; } webhookMessage(msg, process.env.TX_LOG_WEBHOOK_URL); } return errorCode; } export interface ExtendedTransactionError { InstructionError?: [number, string | object]; } export interface CustomError { Custom?: number; } export function logMessageForNodeToFill( node: NodeToFill, takerUser: string, takerUserSlot: number, makerInfos: Array<DataAndSlot<MakerInfo>>, currSlot: number, prefix?: string, basePrecision: BN = BASE_PRECISION, fallbackSource = 'vAMM' ): string { const takerNode = node.node; const takerOrder = takerNode.order; if (!takerOrder) { return 'no taker order'; } if (node.makerNodes.length !== makerInfos.length) { logger.error( `makerNodes and makerInfos length mismatch, makerNodes: ${node.makerNodes.length}, makerInfos: ${makerInfos.length}` ); } let msg = ''; if (prefix) { msg += `${prefix}\n`; } msg += `taker on market ${takerOrder.marketIndex}: ${takerUser}-${ takerOrder.orderId } (takerSlot: ${takerUserSlot}, currSlot: ${currSlot}) ${getVariant( takerOrder.direction )} ${convertToNumber( takerOrder.baseAssetAmountFilled, basePrecision )}/${convertToNumber( takerOrder.baseAssetAmount, basePrecision )} @ ${convertToNumber( takerOrder.price, PRICE_PRECISION )} (orderType: ${getVariant(takerOrder.orderType)})\n`; msg += `makers:\n`; if (makerInfos.length > 0) { for (let i = 0; i < makerInfos.length; i++) { const maker = makerInfos[i].data; const makerSlot = makerInfos[i].slot; const makerOrder = maker.order!; msg += ` [${i}] market ${ makerOrder.marketIndex }: ${maker.maker.toBase58()}-${ makerOrder.orderId } (makerSlot: ${makerSlot}) ${getVariant( makerOrder.direction )} ${convertToNumber( makerOrder.baseAssetAmountFilled, basePrecision )}/${convertToNumber( makerOrder.baseAssetAmount, basePrecision )} @ ${convertToNumber(makerOrder.price, PRICE_PRECISION)} (offset: ${ makerOrder.oraclePriceOffset / PRICE_PRECISION.toNumber() }) (orderType: ${getVariant(makerOrder.orderType)})\n`; } } else { msg += ` ${fallbackSource}`; } return msg; } export function getTransactionAccountMetas( tx: VersionedTransaction, lutAccounts: Array<AddressLookupTableAccount> ): { estTxSize: number; accountMetas: any[]; writeAccs: number; txAccounts: number; } { let writeAccs = 0; const accountMetas: any[] = []; const estTxSize = tx.message.serialize().length; const acc = tx.message.getAccountKeys({ addressLookupTableAccounts: lutAccounts, }); const txAccounts = acc.length; for (let i = 0; i < txAccounts; i++) { const meta: any = {}; if (tx.message.isAccountWritable(i)) { writeAccs++; meta['writeable'] = true; } if (tx.message.isAccountSigner(i)) { meta['signer'] = true; } meta['address'] = acc.get(i)!.toBase58(); accountMetas.push(meta); } return { estTxSize, accountMetas, writeAccs, txAccounts, }; } export async function swapFillerHardEarnedUSDCForSOL( priorityFeeSubscriber: PriorityFeeSubscriber | PriorityFeeSubscriberMap, driftClient: DriftClient, jupiterClient: JupiterClient, blockhash: string, subaccount?: number ) { try { const usdc = driftClient.getUser(subaccount).getTokenAmount(0); const sol = driftClient.getUser(subaccount).getTokenAmount(1); console.log( `${driftClient.authority.toBase58()} has ${convertToNumber( usdc, QUOTE_PRECISION )} usdc, ${convertToNumber(sol, BASE_PRECISION)} sol` ); const usdcMarket = driftClient.getSpotMarketAccount(0); const solMarket = driftClient.getSpotMarketAccount(1); if (!usdcMarket || !solMarket) { console.log('Market not found, skipping...'); return; } const inPrecision = new BN(10).pow(new BN(usdcMarket.decimals)); const outPrecision = new BN(10).pow(new BN(solMarket.decimals)); if (usdc.lt(new BN(1).mul(QUOTE_PRECISION))) { console.log( `${driftClient.authority.toBase58()} not enough USDC to swap (${convertToNumber( usdc, QUOTE_PRECISION )}), skipping...` ); return; } const start = performance.now(); const quote = await jupiterClient.getQuote({ inputMint: usdcMarket.mint, outputMint: solMarket.mint, amount: usdc.sub(new BN(1)), maxAccounts: 10, slippageBps: JUPITER_SLIPPAGE_BPS, swapMode: 'ExactIn', }); const quoteInNum = convertToNumber(new BN(quote.inAmount), inPrecision); const quoteOutNum = convertToNumber(new BN(quote.outAmount), outPrecision); const swapPrice = quoteInNum / quoteOutNum; const oraclePrice = convertToNumber( driftClient.getOracleDataForSpotMarket(1).price, PRICE_PRECISION ); if (swapPrice / oraclePrice - 1 > 0.01) { console.log(`Swap price is 1% higher than oracle price, skipping...`); return; } console.log( `Quoted ${quoteInNum} USDC for ${quoteOutNum} SOL, swapPrice: ${swapPrice}, oraclePrice: ${oraclePrice}` ); const driftLut = await driftClient.fetchMarketLookupTableAccount(); const transaction = await jupiterClient.getSwap({ quote, userPublicKey: driftClient.provider.wallet.publicKey, slippageBps: JUPITER_SLIPPAGE_BPS, }); const { transactionMessage, lookupTables } = await jupiterClient.getTransactionMessageAndLookupTables({ transaction, }); const jupiterInstructions = jupiterClient.getJupiterInstructions({ transactionMessage, inputMint: usdcMarket.mint, outputMint: solMarket.mint, }); const preInstructions = []; const withdrawerWrappedSolAta = getAssociatedTokenAddressSync( NATIVE_MINT, driftClient.authority ); const solAccountInfo = await driftClient.connection.getAccountInfo( withdrawerWrappedSolAta ); if (!solAccountInfo) { preInstructions.push( driftClient.createAssociatedTokenAccountIdempotentInstruction( withdrawerWrappedSolAta, driftClient.provider.wallet.publicKey, driftClient.provider.wallet.publicKey, solMarket.mint ) ); } const withdrawerUsdcAta = await driftClient.getAssociatedTokenAccount(0); const usdcAccountInfo = await driftClient.connection.getAccountInfo( withdrawerUsdcAta ); if (!usdcAccountInfo) { preInstructions.push( driftClient.createAssociatedTokenAccountIdempotentInstruction( withdrawerUsdcAta, driftClient.provider.wallet.publicKey, driftClient.provider.wallet.publicKey, usdcMarket.mint ) ); } const withdrawIx = await driftClient.getWithdrawIx( usdc.muln(10), // gross overestimate just to get everything out of the account 0, withdrawerUsdcAta, true, subaccount ); const closeAccountInstruction = createCloseAccountInstruction( withdrawerWrappedSolAta, driftClient.authority, driftClient.authority ); const ixs = [ ...preInstructions, withdrawIx, ...jupiterInstructions, closeAccountInstruction, ]; const buildTx = (cu: number): VersionedTransaction => { return getVersionedTransaction( driftClient.txSender.wallet.publicKey, [ ComputeBudgetProgram.setComputeUnitLimit({ units: cu, }), ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityFeeSubscriber instanceof PriorityFeeSubscriberMap ? Math.floor( priorityFeeSubscriber.getPriorityFees('spot', 0)!.low * 1.1 ) : Math.floor( priorityFeeSubscriber.getHeliusPriorityFeeLevel( HeliusPriorityLevel.LOW ) * 1.1 ), }), ...ixs, ], [...lookupTables, driftLut], blockhash ); }; const simTxResult = await driftClient.connection.simulateTransaction( buildTx(1_400_000), { replaceRecentBlockhash: true, commitment: 'confirmed', } ); if (simTxResult.value.err) { console.log('Sim error:'); console.error(simTxResult.value.err); console.log('Sim logs:'); console.log(simTxResult.value.logs); console.log(`Units consumed: ${simTxResult.value.unitsConsumed}`); return; } console.log( `${driftClient.authority.toBase58()} sending swap tx... ${ performance.now() - start }` ); const txSender = new WhileValidTxSender({ connection: driftClient.connection, wallet: driftClient.wallet, retrySleep: 1000, }); const txSigAndSlot = await txSender.sendVersionedTransaction( // @ts-ignore buildTx(Math.floor(simTxResult.value.unitsConsumed * 1.2)), [], driftClient.opts ); console.log(`Swap tx: https://solana.fm/tx/${txSigAndSlot.txSig}`); } catch (e) { console.error(e); } } export function getDriftPriorityFeeEndpoint(driftEnv: DriftEnv): string { switch (driftEnv) { case 'devnet': case 'mainnet-beta': return 'https://dlob.drift.trade'; } } export function validMinimumGasAmount(amount: number | undefined): boolean { if (amount === undefined || amount < 0) { return false; } return true; } export function validRebalanceSettledPnlThreshold( amount: number | undefined ): boolean { if (amount === undefined || amount < 1 || !Number.isInteger(amount)) { return false; } return true; } export const getPythPriceFeedIdForMarket = ( marketIndex: number, markets: Array<SpotMarketConfig | PerpMarketConfig>, throwOnNotFound = true ): string | undefined => { const market = markets.find((market) => market.marketIndex === marketIndex); if (!market) { if (throwOnNotFound) { throw new Error(`Pyth feedID for market ${marketIndex} not found`); } else { logger.warn(`Pyth feedID for market ${marketIndex} not found`); return undefined; } } return market.pythFeedId; }; export const getPythUpdateIxsForVaa = async ( vaa: string, feedId: string, driftClient: DriftClient ) => { return await driftClient.getPostPythPullOracleUpdateAtomicIxs(vaa, feedId); }; export const getStaleOracleMarketIndexes = ( driftClient: DriftClient, markets: (PerpMarketConfig | SpotMarketConfig)[], marketType: MarketType, numFeeds = 2 ) => { let oracleInfos: { oracleInfo: OraclePriceData; marketIndex: number }[] = markets.map((market) => { if (isVariant(marketType, 'perp')) { return { oracleInfo: driftClient.getOracleDataForPerpMarket( market.marketIndex ), marketIndex: market.marketIndex, }; } else { return { oracleInfo: driftClient.getOracleDataForSpotMarket( market.marketIndex ), marketIndex: market.marketIndex, }; } }); oracleInfos = oracleInfos.sort( (a, b) => a.oracleInfo.slot.toNumber() - b.oracleInfo.slot.toNumber() ); return oracleInfos .slice(0, numFeeds) .map((oracleInfo) => oracleInfo.marketIndex); }; export const getAllPythOracleUpdateIxs = async ( driftEnv: DriftEnv, activeMarketIndex: number, marketType: MarketType, pythPriceSubscriber: PythPriceFeedSubscriber, driftClient: DriftClient, numNonActiveOraclesToTryAndPush: number, marketIndexesToConsider: number[] = [] ) => { let markets: (PerpMarketConfig | SpotMarketConfig)[]; if (isVariant(marketType, 'perp')) { markets = driftEnv === 'mainnet-beta' ? PerpMarkets['mainnet-beta'] : PerpMarkets['devnet']; } else { markets = driftEnv === 'mainnet-beta' ? SpotMarkets['mainnet-beta'] : SpotMarkets['devnet']; } if (marketIndexesToConsider.length > 0) { markets = markets.filter((market) => marketIndexesToConsider.includes(market.marketIndex) ); } const primaryFeedId = getPythPriceFeedIdForMarket( activeMarketIndex, markets, false ); marketIndexesToConsider = marketIndexesToConsider ?? markets.map((market) => market.marketIndex); const staleFeedIds = getStaleOracleMarketIndexes( driftClient, markets, marketType, numNonActiveOraclesToTryAndPush ).map((index) => getPythPriceFeedIdForMarket(index, markets, false)); const postOracleUpdateIxsPromises = [primaryFeedId, ...staleFeedIds] .filter((feedId) => feedId !== undefined) .map((feedId) => { if (!feedId) return; const vaa = pythPriceSubscriber.getLatestCachedVaa(feedId); if (!vaa) { logger.debug('No VAA found for feedId', feedId); return; } return driftClient.getPostPythPullOracleUpdateAtomicIxs(vaa, feedId); }) .filter((ix) => ix !== undefined) as Promise<TransactionInstruction[]>[]; const postOracleUpdateIxs = await Promise.all(postOracleUpdateIxsPromises); return postOracleUpdateIxs.flat(); }; export function canFillSpotMarket(spotMarket: SpotMarketAccount): boolean { if ( isOneOfVariant(spotMarket.status, ['initialized', 'fillPaused', 'delisted']) ) { logger.info( `Skipping market ${decodeName( spotMarket.name )} because its SpotMarket.status is ${getVariant(spotMarket.status)}` ); return false; } return true; } export async function initializeSpotFulfillmentAccounts( driftClient: DriftClient, includeSubscribers = true, marketsOfInterest?: number[] ): Promise<{ phoenixFulfillmentConfigs: Map<number, PhoenixV1FulfillmentConfigAccount>; openbookFulfillmentConfigs: Map<number, OpenbookV2FulfillmentConfigAccount>; phoenixSubscribers?: Map<number, PhoenixSubscriber>; openbookSubscribers?: Map<number, OpenbookV2Subscriber>; }> { const phoenixFulfillmentConfigs = new Map< number, PhoenixV1FulfillmentConfigAccount >(); const openbookFulfillmentConfigs = new Map< number, OpenbookV2FulfillmentConfigAccount >(); const phoenixSubscribers = includeSubscribers ? new Map<number, PhoenixSubscriber>() : undefined; const openbookSubscribers = includeSubscribers ? new Map<number, OpenbookV2Subscriber>() : undefined; let accountSubscription: | { type: 'polling'; accountLoader: BulkAccountLoader; } | { type: 'websocket'; }; if ( (driftClient.accountSubscriber as PollingDriftClientAccountSubscriber) .accountLoader ) { accountSubscription = { type: 'polling', accountLoader: ( driftClient.accountSubscriber as PollingDriftClientAccountSubscriber ).accountLoader, }; } else { accountSubscription = { type: 'websocket', }; } const marketSetupPromises: Promise<void>[] = []; const subscribePromises: Promise<void>[] = []; marketSetupPromises.push( new Promise((resolve) => { (async () => { const phoenixMarketConfigs = await driftClient.getPhoenixV1FulfillmentConfigs(); for (const config of phoenixMarketConfigs) { if ( marketsOfInterest && !marketsOfInterest.includes(config.marketIndex) ) { continue; } const spotMarket = driftClient.getSpotMarketAccount( config.marketIndex ); if (!spotMarket) { logger.warn( `SpotMarket not found for PhoenixV1FulfillmentConfig for marketIndex: ${config.marketIndex}` ); continue; } const symbol = decodeName(spotMarket.name); phoenixFulfillmentConfigs.set(config.marketIndex, config); if (includeSubscribers && isVariant(config.status, 'enabled')) { // set up phoenix price subscriber const phoenixSubscriber = new PhoenixSubscriber({ connection: driftClient.connection, programId: config.phoenixProgramId, marketAddress: config.phoenixMarket, accountSubscription, }); logger.info(`Initializing PhoenixSubscriber for ${symbol}...`); subscribePromises.push( phoenixSubscriber.subscribe().then(() => { phoenixSubscribers!.set(config.marketIndex, phoenixSubscriber); }) ); } } resolve(); })(); }) ); marketSetupPromises.push( new Promise((resolve) => { (async () => { const openbookMarketConfigs = await driftClient.getOpenbookV2FulfillmentConfigs(); for (const config of openbookMarketConfigs) { if ( marketsOfInterest && !marketsOfInterest.includes(config.marketIndex) ) { continue; } const spotMarket = driftClient.getSpotMarketAccount( config.marketIndex ); if (!spotMarket) { logger.warn( `SpotMarket not found for OpenbookV2FulfillmentConfig for marketIndex: ${config.marketIndex}` ); continue; } const symbol = decodeName(spotMarket.name); openbookFulfillmentConfigs.set(config.marketIndex, config); if (includeSubscribers && isVariant(config.status, 'enabled')) { // set up openbook subscriber const openbookSubscriber = new OpenbookV2Subscriber({ connection: driftClient.connection, programId: config.openbookV2ProgramId, marketAddress: config.openbookV2Market, accountSubscription, }); logger.info(`Initializing OpenbookSubscriber for ${symbol}...`); subscribePromises.push( openbookSubscriber.subscribe().then(() => { openbookSubscribers!.set( config.marketIndex, openbookSubscriber ); }) ); } } resolve(); })(); }) ); const marketSetupStart = Date.now(); logger.info(`Waiting for spot market startup...`); await Promise.all(marketSetupPromises); logger.info(`Market setup finished in ${Date.now() - marketSetupStart}ms`); const subscribeStart = Date.now(); logger.info(`Waiting for spot markets to subscribe...`); await Promise.all(subscribePromises); logger.info(`Subscribed to spot markets in ${Date.now() - subscribeStart}ms`); return { phoenixFulfillmentConfigs, openbookFulfillmentConfigs, phoenixSubscribers, openbookSubscribers, }; } export const chunks = <T>(array: readonly T[], size: number): T[][] => { return new Array(Math.ceil(array.length / size)) .fill(null) .map((_, index) => index * size) .map((begin) => array.slice(begin, begin + size)); }; export const shuffle = <T>(array: T[]): T[] => { let currentIndex = array.length, randomIndex; while (currentIndex !== 0) { randomIndex = Math.floor(Math.random() * currentIndex); currentIndex--; [array[currentIndex], array[randomIndex]] = [ array[randomIndex], array[currentIndex], ]; } return array; }; export function removePythIxs( ixs: TransactionInstruction[], receiverPublicKeyStr: string = DRIFT_ORACLE_RECEIVER_ID ): TransactionInstruction[] { return ixs.filter( (ix) => !ix.keys .map((meta) => meta.pubkey.toString()) .includes(receiverPublicKeyStr) ); } export function getSizeOfTransaction( instructions: TransactionInstruction[], versionedTransaction = true, addressLookupTables: AddressLookupTableAccount[] = [] ): number { const programs = new Set<string>(); const signers = new Set<string>(); let accounts = new Set<string>(); instructions.map((ix) => { programs.add(ix.programId.toBase58()); accounts.add(ix.programId.toBase58()); ix.keys.map((key) => { if (key.isSigner) { signers.add(key.pubkey.toBase58()); } accounts.add(key.pubkey.toBase58()); }); }); const instruction_sizes: number = instructions .map( (ix) => 1 + getSizeOfCompressedU16(ix.keys.length) + ix.keys.length + getSizeOfCompressedU16(ix.data.length) + ix.data.length ) .reduce((a, b) => a + b, 0); let numberOfAddressLookups = 0; if (addressLookupTables.length > 0) { const lookupTableAddresses = addressLookupTables .map((addressLookupTable) => addressLookupTable.state.addresses.map((address) => address.toBase58()) ) .flat(); const totalNumberOfAccounts = accounts.size; accounts = new Set( [...accounts].filter((account) => !lookupTableAddresses.includes(account)) ); accounts = new Set([...accounts, ...programs, ...signers]); numberOfAddressLookups = totalNumberOfAccounts - accounts.size; } return ( getSizeOfCompressedU16(signers.size) + signers.size * 64 + // array of signatures 3 + getSizeOfCompressedU16(accounts.size) + 32 * accounts.size + // array of account addresses 32 + // recent blockhash getSizeOfCompressedU16(instructions.length) + instruction_sizes + // array of instructions (versionedTransaction ? 1 + getSizeOfCompressedU16(0) : 0) + (versionedTransaction ? 32 * addressLookupTables.length : 0) + (versionedTransaction && addressLookupTables.length > 0 ? 2 : 0) + numberOfAddressLookups ); } function getSizeOfCompressedU16(n: number) { return 1 + Number(n >= 128) + Number(n >= 16384); } export async function checkIfAccountExists( connection: Connection, account: PublicKey ): Promise<boolean> { try { const accountInfo = await connection.getAccountInfo(account); return accountInfo != null; } catch (e) { // Doesn't already exist return false; } } export function getMarketsAndOracleInfosToLoad( sdkConfig: any, perpMarketIndicies: number[] | undefined, spotMarketIndicies: number[] | undefined ): { oracleInfos: OracleInfo[]; perpMarketIndicies: number[] | undefined; spotMarketIndicies: number[] | undefined; } { const oracleInfos: OracleInfo[] = []; const oraclesTracked = new Set(); // only watch all markets if neither env vars are specified const noMarketsSpecified = !perpMarketIndicies && !spotMarketIndicies; let perpIndexes = perpMarketIndicies; if (!perpIndexes) { if (noMarketsSpecified) { perpIndexes = sdkConfig.PERP_MARKETS.map( (m: PerpMarketConfig) => m.marketIndex ); } else { perpIndexes = []; } } let spotIndexes = spotMarketIndicies; if (!spotIndexes) { if (noMarketsSpecified) { spotIndexes = sdkConfig.SPOT_MARKETS.map( (m: SpotMarketConfig) => m.marketIndex ); } else { spotIndexes = []; } } if (perpIndexes && perpIndexes.length > 0) { for (const idx of perpIndexes) { const perpMarketConfig = sdkConfig.PERP_MARKETS[idx] as PerpMarketConfig; if (!perpMarketConfig) { throw new Error(`Perp market config for ${idx} not found`); } const oracleKey = perpMarketConfig.oracle.toBase58(); if (!oraclesTracked.has(oracleKey)) { logger.info(`Tracking oracle ${oracleKey} for perp market ${idx}`); oracleInfos.push({ publicKey: perpMarketConfig.oracle, source: perpMarketConfig.oracleSource, }); oraclesTracked.add(oracleKey); } } logger.info(`Bot tracking perp markets: ${JSON.stringify(perpIndexes)}`); } if (spotIndexes && spotIndexes.length > 0) { for (const idx of spotIndexes) { const spotMarketConfig = sdkConfig.SPOT_MARKETS[idx] as SpotMarketConfig; if (!spotMarketConfig) { throw new Error(`Spot market config for ${idx} not found`); } const oracleKey = spotMarketConfig.oracle.toBase58(); if (!oraclesTracked.has(oracleKey)) { logger.info(`Tracking oracle ${oracleKey} for spot market ${idx}`); oracleInfos.push({ publicKey: spotMarketConfig.oracle, source: spotMarketConfig.oracleSource, }); oraclesTracked.add(oracleKey); } } logger.info(`Bot tracking spot markets: ${JSON.stringify(spotIndexes)}`); } return { oracleInfos, perpMarketIndicies: perpIndexes && perpIndexes.length > 0 ? perpIndexes : undefined, spotMarketIndicies: spotIndexes && spotIndexes.length > 0 ? spotIndexes : undefined, }; }
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/types.ts
import { BN, PositionDirection } from '@drift-labs/sdk'; import { PriceServiceConnection } from '@pythnetwork/price-service-client'; export const constants = { devnet: { USDCMint: '8zGuJQqwhZafTah7Uc7Z4tXRnguqkn5KLFAP8oV6PHe2', }, 'mainnet-beta': { USDCMint: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v', }, }; export enum OrderExecutionAlgoType { Market = 'market', Twap = 'twap', } export type TwapExecutionConfig = { currentPosition: BN; targetPosition: BN; overallDurationSec: number; startTimeSec: number; }; export class TwapExecutionProgress { amountStart: BN; currentPosition: BN; amountTarget: BN; overallDurationSec: number; startTimeSec: number; lastUpdateSec: number; lastExecSec: number; firstExecDone = false; constructor(config: TwapExecutionConfig) { this.amountStart = config.currentPosition; this.currentPosition = config.currentPosition; this.amountTarget = config.targetPosition; this.overallDurationSec = config.overallDurationSec; this.startTimeSec = config.startTimeSec; this.lastUpdateSec = this.startTimeSec; this.lastExecSec = this.startTimeSec; } /** * * @returns the amount to execute in the current slice (absolute value) */ getExecutionSlice(nowSec: number): BN { // twap based on how much time has elapsed since last execution const orderSize = this.amountTarget.sub(this.amountStart); const secElapsed = new BN(nowSec - this.lastExecSec); const slice = orderSize .abs() .mul(secElapsed) .div(new BN(this.overallDurationSec)) .abs(); if (slice.gt(orderSize.abs())) { return orderSize.abs(); } const remaining = this.getAmountRemaining(); if (remaining.lt(slice)) { return remaining; } return slice; } /** * * @returns the execution direction (LONG or SHORT) to place orders */ getExecutionDirection(): PositionDirection { return this.amountTarget.gt(this.currentPosition) ? PositionDirection.LONG : PositionDirection.SHORT; } /** * * @returns the amount remaining to be executed (absolute value) */ getAmountRemaining(): BN { return this.amountTarget.sub(this.currentPosition).abs(); } /** * * @param currentPosition the current position base asset amount */ updateProgress(currentPosition: BN, nowSec: number): void { // if the new position is ultimately a larger order, reinit the twap so the slices reflect the new desired order const currExecutionSize = this.amountTarget.sub(this.amountStart).abs(); const newExecutionSize = this.amountTarget.sub(currentPosition).abs(); if (newExecutionSize.gt(currExecutionSize)) { this.amountStart = currentPosition; this.startTimeSec = nowSec; } this.currentPosition = currentPosition; this.lastUpdateSec = nowSec; } updateExecution(nowSec: number): void { this.lastExecSec = nowSec; this.firstExecDone = true; } updateTarget(newTarget: BN, nowSec: number): void { this.amountTarget = newTarget; this.startTimeSec = nowSec; this.lastUpdateSec = nowSec; } } export interface Bot { readonly name: string; readonly dryRun: boolean; readonly defaultIntervalMs?: number; readonly pythConnection?: PriceServiceConnection; /** * Initialize the bot */ init: () => Promise<void>; /** * Reset the bot. This is called to reset the bot to a fresh state (pre-init). */ reset: () => Promise<void>; /** * Start the bot loop. This is generally a polling loop. */ startIntervalLoop: (intervalMs?: number) => Promise<void>; /** * Returns true if bot is healthy, else false. Typically used for monitoring liveness. */ healthCheck: () => Promise<boolean>; }
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/logger.ts
import { createLogger, transports, format } from 'winston'; export const logger = createLogger({ transports: [new transports.Console()], format: format.combine( format.colorize(), format.timestamp(), format.printf(({ timestamp, level, message }) => { return `[${timestamp}] ${level}: ${message}`; }) ), }); export const setLogLevel = (logLevel: string) => { logger.level = logLevel; };
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/bundleSenderStrategy.ts
import { LAMPORTS_PER_SOL } from '@solana/web3.js'; import { TipStream } from './bundleSender'; /** * A strategy for determining the amount of tip * @param latestTipStream - The latest tip stream. * @param failBundleCount - Running count of bundles that have failed to land. * @returns The number of bundles to send. */ export type BundleSenderStrategy = ( latestTipStream: TipStream, failBundleCount: number ) => number; const minBundleTip = 10_000; // cant be lower than this const maxBundleTip = 100_000; const maxFailBundleCount = 100; // at 100 failed txs, can expect tip to become maxBundleTip const tipMultiplier = 3; // bigger == more superlinear, delay the ramp up to prevent overpaying too soon export const exponentialBundleTip: BundleSenderStrategy = ( latestTipStream: TipStream, failBundleCount: number ) => { return Math.floor( Math.max( latestTipStream.landed_tips_25th_percentile ?? 0 * LAMPORTS_PER_SOL, minBundleTip, Math.min( maxBundleTip, Math.pow(failBundleCount / maxFailBundleCount, tipMultiplier) * maxBundleTip ) ) ); };
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/makerSelection.ts
import { BN, convertToNumber, divCeil, DLOBNode, ZERO } from '@drift-labs/sdk'; import { MakerNodeMap, MAX_MAKERS_PER_FILL } from './bots/filler'; const PROBABILITY_PRECISION = new BN(1000); export function selectMakers(makerNodeMap: MakerNodeMap): MakerNodeMap { const selectedMakers: MakerNodeMap = new Map(); while (selectedMakers.size < MAX_MAKERS_PER_FILL && makerNodeMap.size > 0) { const maker = selectMaker(makerNodeMap); if (maker === undefined) { break; } const makerNodes = makerNodeMap.get(maker)!; selectedMakers.set(maker, makerNodes); makerNodeMap.delete(maker); } return selectedMakers; } function selectMaker(makerNodeMap: MakerNodeMap): string | undefined { if (makerNodeMap.size === 0) { return undefined; } let totalLiquidity = ZERO; for (const [_, dlobNodes] of makerNodeMap) { totalLiquidity = totalLiquidity.add(getMakerLiquidity(dlobNodes)); } const probabilities = []; for (const [_, dlobNodes] of makerNodeMap) { probabilities.push(getProbability(dlobNodes, totalLiquidity)); } let makerIndex = 0; const random = Math.random(); let sum = 0; for (let i = 0; i < probabilities.length; i++) { sum += probabilities[i]; if (random < sum) { makerIndex = i; break; } } return Array.from(makerNodeMap.keys())[makerIndex]; } function getProbability(dlobNodes: DLOBNode[], totalLiquidity: BN): number { const makerLiquidity = getMakerLiquidity(dlobNodes); return convertToNumber( divCeil(makerLiquidity.mul(PROBABILITY_PRECISION), totalLiquidity), PROBABILITY_PRECISION ); } function getMakerLiquidity(dlobNodes: DLOBNode[]): BN { return dlobNodes.reduce( (acc, dlobNode) => acc.add( dlobNode.order!.baseAssetAmount.sub( dlobNode.order!.baseAssetAmountFilled ) ), ZERO ); }
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/driftStateWatcher.ts
import { decodeName, DriftClient, getVariant, PerpMarketAccount, SpotMarketAccount, StateAccount, } from '@drift-labs/sdk'; export type StateChecks = { /// set true to check for new perp markets newPerpMarkets: boolean; /// set true to check for new spot markets newSpotMarkets: boolean; /// set true to check for changes in perp market statuses perpMarketStatus: boolean; /// set true to check for changes in spot market statuses spotMarketStatus: boolean; /// optional callback for if any of the state checks fail onStateChange?: (message: string, changes: StateChecks) => void; }; export type DriftStateWatcherConfig = { /// access drift program driftClient: DriftClient; /// interval to check for updates intervalMs: number; /// state checks to perform stateChecks: StateChecks; }; /** * Watches for updates on the DriftClient */ export class DriftStateWatcher { private lastStateAccount?: StateAccount; private lastSpotMarketAccounts: Map<number, SpotMarketAccount> = new Map(); private lastPerpMarketAccounts: Map<number, PerpMarketAccount> = new Map(); private interval?: NodeJS.Timeout; private _lastTriggered: boolean; private _lastTriggeredStates: StateChecks; constructor(private config: DriftStateWatcherConfig) { this._lastTriggeredStates = { newPerpMarkets: false, newSpotMarkets: false, perpMarketStatus: false, spotMarketStatus: false, }; this._lastTriggered = false; } get triggered() { return this._lastTriggered; } get triggeredStates(): StateChecks { return this._lastTriggeredStates; } public subscribe() { if (!this.config.driftClient.isSubscribed) { throw new Error( 'DriftClient must be subscribed before calling DriftStateWatcher.subscribe()' ); } this.lastStateAccount = this.config.driftClient.getStateAccount(); for (const perpMarket of this.config.driftClient.getPerpMarketAccounts()) { this.lastPerpMarketAccounts.set(perpMarket.marketIndex, perpMarket); } for (const spotMarket of this.config.driftClient.getSpotMarketAccounts()) { this.lastSpotMarketAccounts.set(spotMarket.marketIndex, spotMarket); } this.interval = setInterval( () => this.checkForUpdates(), this.config.intervalMs ?? 10_000 ); } public unsubscribe() { if (this.interval) { clearInterval(this.interval); this.interval = undefined; } } private checkForUpdates() { let newPerpMarkets = false; let newSpotMarkets = false; let perpMarketStatus = false; let spotMarketStatus = false; let message = ''; const newStateAccount = this.config.driftClient.getStateAccount(); if (this.config.stateChecks.newPerpMarkets) { if ( newStateAccount.numberOfMarkets !== this.lastStateAccount!.numberOfMarkets ) { newPerpMarkets = true; message += `Number of perp markets changed: ${ this.lastStateAccount!.numberOfMarkets } -> ${newStateAccount.numberOfMarkets}\n`; } if (this.config.stateChecks.perpMarketStatus) { const perpMarkets = this.config.driftClient.getPerpMarketAccounts(); for (const perpMarket of perpMarkets) { const symbol = decodeName(perpMarket.name); const lastPerpMarket = this.lastPerpMarketAccounts.get( perpMarket.marketIndex ); if (!lastPerpMarket) { newPerpMarkets = true; message += `Found a new perp market: (marketIndex: ${perpMarket.marketIndex} ${symbol})\n`; break; } const newPerpStatus = getVariant(perpMarket.status); const lastPerpStatus = getVariant(lastPerpMarket.status); if (newPerpStatus !== lastPerpStatus) { perpMarketStatus = true; message += `Perp market status changed: (marketIndex: ${perpMarket.marketIndex} ${symbol}) ${lastPerpStatus} -> ${newPerpStatus}\n`; break; } const newPausedOps = perpMarket.pausedOperations; const lastPausedOps = lastPerpMarket.pausedOperations; if (newPausedOps !== lastPausedOps) { perpMarketStatus = true; message += `Perp market paused operations changed: (marketIndex: ${perpMarket.marketIndex} ${symbol}) ${lastPausedOps} -> ${newPausedOps}\n`; break; } const newPerpOracle = perpMarket.amm.oracle; const lastPerpOracle = lastPerpMarket.amm.oracle; if (!newPerpOracle.equals(lastPerpOracle)) { perpMarketStatus = true; message += `Perp oracle changed: (marketIndex: ${ perpMarket.marketIndex } ${symbol}) ${lastPerpOracle.toBase58()} -> ${newPerpOracle.toBase58()}\n`; break; } } } } if (this.config.stateChecks.newSpotMarkets) { if ( newStateAccount.numberOfSpotMarkets !== this.lastStateAccount!.numberOfSpotMarkets ) { newSpotMarkets = true; message += `Number of spot markets changed: ${ this.lastStateAccount!.numberOfSpotMarkets } -> ${newStateAccount.numberOfSpotMarkets}\n`; } if (this.config.stateChecks.spotMarketStatus) { const spotMarkets = this.config.driftClient.getSpotMarketAccounts(); for (const spotMarket of spotMarkets) { const symbol = decodeName(spotMarket.name); const lastSpotMarket = this.lastSpotMarketAccounts.get( spotMarket.marketIndex ); if (!lastSpotMarket) { newSpotMarkets = true; message += `Found a new spot market: (marketIndex: ${spotMarket.marketIndex} ${symbol})\n`; break; } const newSpotStatus = getVariant(spotMarket.status); const lastSpotStatus = getVariant(lastSpotMarket.status); if (newSpotStatus !== lastSpotStatus) { spotMarketStatus = true; message += `Spot market status changed: (marketIndex: ${spotMarket.marketIndex} ${symbol}) ${lastSpotStatus} -> ${newSpotStatus}\n`; break; } const newPausedOps = spotMarket.pausedOperations; const lastPausedOps = lastSpotMarket.pausedOperations; if (newPausedOps !== lastPausedOps) { spotMarketStatus = true; message += `Spot market paused operations changed: (marketIndex: ${spotMarket.marketIndex} ${symbol}) ${lastPausedOps} -> ${newPausedOps}\n`; break; } const newSpotOracle = spotMarket.oracle; const lastSpotOracle = lastSpotMarket.oracle; if (!newSpotOracle.equals(lastSpotOracle)) { spotMarketStatus = true; message += `Spot oracle changed: (marketIndex: ${ spotMarket.marketIndex } ${symbol}) ${lastSpotOracle.toBase58()} -> ${newSpotOracle.toBase58()}\n`; break; } } } } this._lastTriggeredStates = { newPerpMarkets, newSpotMarkets, perpMarketStatus, spotMarketStatus, }; if ( newPerpMarkets || newSpotMarkets || perpMarketStatus || spotMarketStatus ) { this._lastTriggered = true; if (this.config.stateChecks.onStateChange) { this.config.stateChecks.onStateChange(message, { newPerpMarkets, newSpotMarkets, perpMarketStatus, spotMarketStatus, }); } } else { this._lastTriggered = false; } } }
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/webhook.ts
import axios from 'axios'; require('dotenv').config(); import { logger } from './logger'; // enum for webhook type (slack, telegram, ...) export enum WebhookType { Slack = 'slack', Discord = 'discord', Telegram = 'telegram', } export async function webhookMessage( message: string, webhookUrl?: string, prefix?: string, webhookType?: WebhookType ): Promise<void> { if (process.env.WEBHOOK_TYPE) { webhookType = process.env.WEBHOOK_TYPE as WebhookType; } if (!webhookType) { webhookType = WebhookType.Discord; } if (webhookUrl || process.env.WEBHOOK_URL) { const webhook = webhookUrl || process.env.WEBHOOK_URL; const fullMessage = prefix ? prefix + message : message; if (fullMessage && webhook) { try { let data; switch (webhookType) { case WebhookType.Slack: data = { text: fullMessage, }; break; case WebhookType.Discord: data = { content: fullMessage, }; break; case WebhookType.Telegram: data = { text: fullMessage, }; break; default: logger.error(`webhookMessage: unknown webhookType: ${webhookType}`); return; } await axios.post(webhook, data); } catch (err) { logger.info('webhook error'); } } } }
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/index.ts
/* eslint-disable @typescript-eslint/no-non-null-assertion */ import { program, Option } from 'commander'; import * as http from 'http'; import { Connection, Commitment, Keypair, PublicKey, TransactionVersion, ConfirmOptions, } from '@solana/web3.js'; import { getAssociatedTokenAddress } from '@solana/spl-token'; import { BulkAccountLoader, DriftClient, initialize, EventSubscriber, SlotSubscriber, QUOTE_PRECISION, SpotMarkets, BN, TokenFaucet, DriftClientSubscriptionConfig, LogProviderConfig, FastSingleTxSender, UserMap, Wallet, RetryTxSender, PriorityFeeSubscriber, PriorityFeeMethod, HeliusPriorityFeeResponse, HeliusPriorityLevel, AverageOverSlotsStrategy, BlockhashSubscriber, WhileValidTxSender, PerpMarkets, configs, } from '@drift-labs/sdk'; import { promiseTimeout } from '@drift-labs/sdk'; import { logger, setLogLevel } from './logger'; import { constants } from './types'; import { FillerBot } from './bots/filler'; import { SpotFillerBot } from './bots/spotFiller'; import { TriggerBot } from './bots/trigger'; import { LiquidatorBot } from './bots/liquidator'; import { FloatingPerpMakerBot } from './bots/floatingMaker'; import { Bot } from './types'; import { IFRevenueSettlerBot } from './bots/ifRevenueSettler'; import { UserPnlSettlerBot } from './bots/userPnlSettler'; import { UserLpSettlerBot } from './bots/userLpSettler'; import { UserIdleFlipperBot } from './bots/userIdleFlipper'; import { getOrCreateAssociatedTokenAccount, sleepMs, TOKEN_FAUCET_PROGRAM_ID, getWallet, loadKeypair, getMarketsAndOracleInfosToLoad, } from './utils'; import { Config, configHasBot, loadConfigFromFile, loadConfigFromOpts, } from './config'; import { FundingRateUpdaterBot } from './bots/fundingRateUpdater'; import { FillerLiteBot } from './bots/fillerLite'; import { MakerBidAskTwapCrank } from './bots/makerBidAskTwapCrank'; import { BundleSender } from './bundleSender'; import { DriftStateWatcher, StateChecks } from './driftStateWatcher'; import { webhookMessage } from './webhook'; import { PythPriceFeedSubscriber } from './pythPriceFeedSubscriber'; import { PythCrankerBot } from './bots/pythCranker'; import { SwitchboardCrankerBot } from './bots/switchboardCranker'; require('dotenv').config(); const commitHash = process.env.COMMIT ?? ''; const stateCommitment = (process.env.STATE_COMMITMENT ?? 'confirmed') as Commitment; const healthCheckPort = process.env.HEALTH_CHECK_PORT || 8888; program .option('-d, --dry-run', 'Dry run, do not send transactions on chain') .option( '--init-user', 'calls driftClient.initializeUserAccount if no user account exists' ) .option('--filler', 'Enable filler bot') .option('--filler-lite', 'Enable filler lite bot') .option('--spot-filler', 'Enable spot filler bot') .option('--trigger', 'Enable trigger bot') .option('--jit-maker', 'Enable JIT auction maker bot') .option('--floating-maker', 'Enable floating maker bot') .option('--liquidator', 'Enable liquidator bot') .option('--uncross-arb', 'Arb bot') .option( '--if-revenue-settler', 'Enable Insurance Fund revenue pool settler bot' ) .option('--funding-rate-updater', 'Enable Funding Rate updater bot') .option('--user-pnl-settler', 'Enable User PnL settler bot') .option('--user-lp-settler', 'Settle active LP positions') .option('--user-idle-flipper', 'Flips eligible users to idle') .option('--mark-twap-crank', 'Enable bid/ask twap crank bot') .option('--test-liveness', 'Purposefully fail liveness test after 1 minute') .option( '--force-deposit <number>', 'Force deposit this amount of USDC to collateral account, the program will end after the deposit transaction is sent' ) .option('--metrics <number>', 'Enable Prometheus metric scraper (deprecated)') .addOption( new Option( '-p, --private-key <string>', 'private key, supports path to id.json, or list of comma separate numbers' ).env('KEEPER_PRIVATE_KEY') ) .option('--debug', 'Enable debug logging') .option( '--run-once', 'Exit after running bot loops once (only for supported bots)' ) .option( '--additional-send-tx-endpoints <string>', 'Additional RPC endpoints to send transactions to (comma delimited)' ) .option( '--websocket', 'Use websocket instead of RPC polling for account updates' ) .option( '--disable-auto-derisking', 'Set to disable auto derisking (primarily used for liquidator to close inherited positions)' ) .option( '--subaccount <string>', 'subaccount(s) to use (comma delimited), specify which subaccountsIDs to load', '0' ) .option( '--perp-market-indicies <string>', 'comma delimited list of perp market index(s) for applicable bots (willing to inherit risk), omit for all', '' ) .option( '--spot-markets-indicies <string>', 'comma delimited list of spot market index(s) for applicable bots (willing to inherit risk), omit for all', '' ) .option( '--config-file <string>', 'Config file to load (yaml format), will override any other config options', '' ) .option( '--use-jito', 'Submit transactions to a Jito relayer if the bot supports it' ) .option( '--event-susbcriber', 'Explicitly intialize an eventSubscriber (RPC heavy)' ) .option( '--tx-sender-type <string>', 'Transaction sender type. Valid options: fast, retry, while-valid' ) .option( '--tx-max-retries <number>', 'Override maxRetries param when sending transactions' ) .option( '--tx-skip-preflight <string>', 'Value to set for skipPreflight when sending transactions. Valid options: true, false' ) .option( '--tx-retry-timeout-ms <string>', 'Timeout in ms for retry tx sender', '30000' ) .option( '--market-type <type>', 'Set the market type for the JIT Maker bot', 'PERP' ) .option( '--priority-fee-multiplier <number>', 'Multiplier for the priority fee', '1.0' ) .option('--metrics-port <number>', 'Port for the Prometheus exporter', '9464') .option('--disable-metrics', 'Set to disable Prometheus metrics') .option( '--settle-pnl-threshold-usdc <number>', 'Settle PnL if above this threshold (USDC)', '100' ) .option( '--max-users-to-consider <number>', 'Max number of users to consider for settling pnl in each iteration', '50' ) .parse(); const opts = program.opts(); let config: Config; if (opts.configFile) { logger.info(`Loading config from ${opts.configFile}`); config = loadConfigFromFile(opts.configFile); } else { logger.info(`Loading config from command line options`); config = loadConfigFromOpts(opts); } logger.info( `Bot config:\n${JSON.stringify( config, (k, v) => { if (k === 'keeperPrivateKey') { return '*'.repeat(v.length); } return v; }, 2 )}` ); // @ts-ignore const sdkConfig = initialize({ env: config.global.driftEnv }); setLogLevel(config.global.debug ? 'debug' : 'info'); const endpoint = config.global.endpoint!; const wsEndpoint = config.global.wsEndpoint; const heliusEndpoint = config.global.heliusEndpoint; logger.info(`RPC endpoint: ${endpoint}`); logger.info(`WS endpoint: ${wsEndpoint}`); logger.info(`Helius endpoint: ${heliusEndpoint}`); logger.info(`DriftEnv: ${config.global.driftEnv}`); logger.info(`Commit: ${commitHash}`); const bots: Bot[] = []; const runBot = async () => { logger.info(`Loading wallet keypair`); const privateKeyOrFilepath = config.global.keeperPrivateKey; if (!privateKeyOrFilepath) { throw new Error( 'Must set environment variable KEEPER_PRIVATE_KEY with the path to a id.json or a list of commma separated numbers' ); } const [keypair, wallet] = getWallet(privateKeyOrFilepath); const driftPublicKey = new PublicKey(sdkConfig.DRIFT_PROGRAM_ID); const connection = new Connection(endpoint, { wsEndpoint: wsEndpoint, commitment: stateCommitment, }); let bulkAccountLoader: BulkAccountLoader | undefined; let lastBulkAccountLoaderSlot: number | undefined; let accountSubscription: DriftClientSubscriptionConfig = { type: 'websocket', resubTimeoutMs: config.global.resubTimeoutMs, }; let logProviderConfig: LogProviderConfig = { type: 'websocket', }; let userMapSubscriptionConfig: | { type: 'polling'; frequency: number; commitment?: Commitment; } | { type: 'websocket'; resubTimeoutMs?: number; commitment?: Commitment; } = { type: 'websocket', resubTimeoutMs: 30_000, commitment: stateCommitment, }; if (!config.global.websocket) { const bulkAccountLoaderConnection = new Connection(endpoint, { wsEndpoint: wsEndpoint, commitment: stateCommitment, disableRetryOnRateLimit: true, }); bulkAccountLoader = new BulkAccountLoader( bulkAccountLoaderConnection, stateCommitment, config.global.bulkAccountLoaderPollingInterval ); lastBulkAccountLoaderSlot = bulkAccountLoader.mostRecentSlot; accountSubscription = { type: 'polling', accountLoader: bulkAccountLoader, }; logProviderConfig = { type: 'polling', frequency: config.global.eventSubscriberPollingInterval, }; userMapSubscriptionConfig = { type: 'polling', frequency: 15_000, // reasonable refresh time since userMap calls getProgramAccounts to update. commitment: stateCommitment, }; } const opts: ConfirmOptions = { commitment: stateCommitment, skipPreflight: config.global.txSkipPreflight, preflightCommitment: stateCommitment, maxRetries: config.global.txMaxRetries, }; const sendTxConnection = new Connection(endpoint, { wsEndpoint: wsEndpoint, commitment: stateCommitment, disableRetryOnRateLimit: true, }); const txSenderType = config.global.txSenderType || 'retry'; let txSender: FastSingleTxSender | RetryTxSender | WhileValidTxSender; const confirmationStrategy = config.global.txSenderConfirmationStrategy; let additionalConnections: Connection[] = []; if ( config.global.additionalSendTxEndpoints && config.global.additionalSendTxEndpoints.length > 0 ) { additionalConnections = config.global.additionalSendTxEndpoints.map( (endpoint) => new Connection(endpoint) ); } if (txSenderType === 'retry') { txSender = new RetryTxSender({ connection: sendTxConnection, wallet, opts, retrySleep: 8000, timeout: config.global.txRetryTimeoutMs, confirmationStrategy, additionalConnections, trackTxLandRate: config.global.trackTxLandRate, }); } else if (txSenderType === 'while-valid') { txSender = new WhileValidTxSender({ connection: sendTxConnection, wallet, opts, retrySleep: 2000, additionalConnections, confirmationStrategy, trackTxLandRate: config.global.trackTxLandRate, throwOnTimeoutError: false, }); } else { const skipConfirmation = configHasBot(config, 'fillerLite') || configHasBot(config, 'filler') || configHasBot(config, 'spotFiller') || configHasBot(config, 'liquidator'); txSender = new FastSingleTxSender({ connection: sendTxConnection, blockhashRefreshInterval: 500, wallet, opts, skipConfirmation, additionalConnections, trackTxLandRate: config.global.trackTxLandRate, }); } /** * Creating and subscribing to the drift client */ // keeping these arrays undefined will prompt DriftClient to call `findAllMarketAndOracles` // and load all markets and oracle accounts from on-chain const marketLookupTable = config.global?.lutPubkey ? new PublicKey(config.global.lutPubkey) : new PublicKey(configs[config.global.driftEnv!].MARKET_LOOKUP_TABLE); const marketsAndOracleInfos = getMarketsAndOracleInfosToLoad( sdkConfig, config.global.perpMarketsToLoad, config.global.spotMarketsToLoad ); const oracleInfos = marketsAndOracleInfos.oracleInfos; const driftClientConfig = { connection, wallet, programID: driftPublicKey, opts, accountSubscription, env: config.global.driftEnv, userStats: true, perpMarketIndexes: marketsAndOracleInfos.perpMarketIndicies, spotMarketIndexes: marketsAndOracleInfos.spotMarketIndicies, oracleInfos: oracleInfos.length > 0 ? oracleInfos : undefined, activeSubAccountId: config.global.subaccounts![0], subAccountIds: config.global.subaccounts ?? [0], txVersion: 0 as TransactionVersion, txSender, marketLookupTable, }; const driftClient = new DriftClient(driftClientConfig); driftClient.eventEmitter.on('error', (e) => { logger.info('clearing house error'); logger.error(e); }); let eventSubscriber: EventSubscriber | undefined = undefined; if (config.global.eventSubscriber) { eventSubscriber = new EventSubscriber(connection, driftClient.program, { maxTx: 4096, maxEventsPerType: 4096, orderBy: 'blockchain', // Possible options are 'blockchain' or 'client' orderDir: 'desc', commitment: stateCommitment, logProviderConfig, }); } const slotSubscriber = new SlotSubscriber(connection, {}); await slotSubscriber.subscribe(); const startupTime = Date.now(); const lamportsBalance = await connection.getBalance(wallet.publicKey); logger.info( `DriftClient ProgramId: ${driftClient.program.programId.toBase58()}` ); logger.info(`Wallet pubkey: ${wallet.publicKey.toBase58()}`); logger.info(` . SOL balance: ${lamportsBalance / 10 ** 9}`); try { const tokenAccount = await getOrCreateAssociatedTokenAccount( connection, new PublicKey(constants[config.global.driftEnv!].USDCMint), wallet ); const usdcBalance = await connection.getTokenAccountBalance(tokenAccount); logger.info(` . USDC balance: ${usdcBalance.value.uiAmount}`); } catch (e) { logger.info(`Failed to load USDC token account: ${e}`); } let pythPriceSubscriber: PythPriceFeedSubscriber | undefined; if (config.global.hermesEndpoint) { pythPriceSubscriber = new PythPriceFeedSubscriber( config.global.hermesEndpoint, { priceFeedRequestConfig: { binary: true, }, } ); } /** * Jito info here */ let bundleSender: BundleSender | undefined; let jitoAuthKeypair: Keypair | undefined; if (config.global.useJito) { const jitoBlockEngineUrl = config.global.jitoBlockEngineUrl; const privateKey = config.global.jitoAuthPrivateKey; if (!jitoBlockEngineUrl) { throw new Error( 'Must configure or set JITO_BLOCK_ENGINE_URL environment variable ' ); } if (!privateKey) { throw new Error( 'Must configure or set JITO_AUTH_PRIVATE_KEY environment variable' ); } logger.info(`Loading jito keypair`); jitoAuthKeypair = loadKeypair(privateKey); bundleSender = new BundleSender( connection, jitoBlockEngineUrl, jitoAuthKeypair, keypair, slotSubscriber, config.global.jitoStrategy, config.global.jitoMinBundleTip, config.global.jitoMaxBundleTip, config.global.jitoMaxBundleFailCount, config.global.jitoTipMultiplier ); await bundleSender.subscribe(); } /* * Start bots depending on flags enabled */ let needPythPriceSubscriber = false; let needCheckDriftUser = false; let needForceCollateral = !!config.global.forceDeposit; let needUserMapSubscribe = false; const userMapConnection = new Connection(endpoint); const userMap = new UserMap({ driftClient, connection: userMapConnection, subscriptionConfig: userMapSubscriptionConfig, skipInitialLoad: false, includeIdle: false, }); let needPriorityFeeSubscriber = false; const priorityFeeMethod = (config.global.priorityFeeMethod as PriorityFeeMethod) ?? PriorityFeeMethod.SOLANA; const priorityFeeSubscriber = new PriorityFeeSubscriber({ connection: driftClient.connection, frequencyMs: 5000, customStrategy: priorityFeeMethod === PriorityFeeMethod.HELIUS ? { calculate: (samples: HeliusPriorityFeeResponse) => { return Math.min( 50_000, samples.result.priorityFeeLevels![HeliusPriorityLevel.HIGH] ); }, } : new AverageOverSlotsStrategy(), // the specific bot will update this, if multiple bots are using this, // the last one to update it will determine the addresses to use... addresses: [], heliusRpcUrl: heliusEndpoint, priorityFeeMethod, maxFeeMicroLamports: config.global.maxPriorityFeeMicroLamports, priorityFeeMultiplier: config.global.priorityFeeMultiplier ?? 1.0, }); logger.info( `priorityFeeMethod: ${priorityFeeSubscriber.priorityFeeMethod}, maxFeeMicroLamports: ${priorityFeeSubscriber.maxFeeMicroLamports}, method: ${priorityFeeSubscriber.priorityFeeMethod}` ); let needBlockhashSubscriber = false; const blockhashSubscriber = new BlockhashSubscriber({ connection: driftClient.connection, updateIntervalMs: 2000, }); let needDriftStateWatcher = false; if (configHasBot(config, 'pythCranker')) { needPythPriceSubscriber = true; needPriorityFeeSubscriber = true; needDriftStateWatcher = true; bots.push( new PythCrankerBot( config.global, config.botConfigs!.pythCranker!, driftClient, priorityFeeSubscriber, bundleSender, [] ) ); } if (configHasBot(config, 'switchboardCranker')) { needPriorityFeeSubscriber = true; needDriftStateWatcher = true; bots.push( new SwitchboardCrankerBot( config.global, config.botConfigs!.switchboardCranker!, driftClient, priorityFeeSubscriber, bundleSender, [] ) ); } if (configHasBot(config, 'filler')) { needPythPriceSubscriber = true; needCheckDriftUser = true; needUserMapSubscribe = true; needPriorityFeeSubscriber = true; needBlockhashSubscriber = true; needDriftStateWatcher = true; bots.push( new FillerBot( slotSubscriber, bulkAccountLoader, driftClient, userMap, { rpcEndpoint: endpoint, commit: commitHash, driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, config.global, config.botConfigs!.filler!, priorityFeeSubscriber, blockhashSubscriber, bundleSender, pythPriceSubscriber, [] ) ); } if (configHasBot(config, 'fillerLite')) { needPythPriceSubscriber = true; needCheckDriftUser = true; needPriorityFeeSubscriber = true; needBlockhashSubscriber = true; needDriftStateWatcher = true; logger.info(`Starting filler lite bot`); bots.push( new FillerLiteBot( slotSubscriber, driftClient, { rpcEndpoint: endpoint, commit: commitHash, driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, config.global, config.botConfigs!.fillerLite!, priorityFeeSubscriber, blockhashSubscriber, bundleSender, pythPriceSubscriber, [] ) ); } if (configHasBot(config, 'spotFiller')) { needCheckDriftUser = true; // to avoid long startup, spotFiller will fetch userAccounts as needed and build the map over time needUserMapSubscribe = false; needPriorityFeeSubscriber = true; needBlockhashSubscriber = true; needDriftStateWatcher = true; bots.push( new SpotFillerBot( driftClient, userMap, { rpcEndpoint: endpoint, commit: commitHash, driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, config.global, config.botConfigs!.spotFiller!, priorityFeeSubscriber, blockhashSubscriber, bundleSender, pythPriceSubscriber, [] ) ); } if (configHasBot(config, 'trigger')) { needUserMapSubscribe = true; needDriftStateWatcher = true; bots.push( new TriggerBot( driftClient, slotSubscriber, userMap, { rpcEndpoint: endpoint, commit: commitHash, driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, config.botConfigs!.trigger! ) ); } if (configHasBot(config, 'liquidator')) { needCheckDriftUser = true; needUserMapSubscribe = true; needForceCollateral = true; needPriorityFeeSubscriber = true; needDriftStateWatcher = true; bots.push( new LiquidatorBot( driftClient, userMap, { rpcEndpoint: endpoint, commit: commitHash, driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, config.botConfigs!.liquidator!, config.global.subaccounts![0], priorityFeeSubscriber, sdkConfig.SERUM_LOOKUP_TABLE ? new PublicKey(sdkConfig.SERUM_LOOKUP_TABLE as string) : undefined ) ); } if (configHasBot(config, 'floatingMaker')) { needCheckDriftUser = true; bots.push( new FloatingPerpMakerBot( driftClient, slotSubscriber, { rpcEndpoint: endpoint, commit: commitHash, driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, config.botConfigs!.floatingMaker! ) ); } if (configHasBot(config, 'userPnlSettler')) { needDriftStateWatcher = true; needPriorityFeeSubscriber = true; bots.push( new UserPnlSettlerBot( driftClient, slotSubscriber, config.botConfigs!.userPnlSettler!, config.global ) ); } if (configHasBot(config, 'userLpSettler')) { needDriftStateWatcher = true; needPriorityFeeSubscriber = true; bots.push( new UserLpSettlerBot(driftClient, config.botConfigs!.userLpSettler!) ); } if (configHasBot(config, 'userIdleFlipper')) { needUserMapSubscribe = true; needBlockhashSubscriber = true; needDriftStateWatcher = true; bots.push( new UserIdleFlipperBot( driftClient, config.botConfigs!.userIdleFlipper!, blockhashSubscriber ) ); } if (configHasBot(config, 'ifRevenueSettler')) { needDriftStateWatcher = true; bots.push( new IFRevenueSettlerBot(driftClient, config.botConfigs!.ifRevenueSettler!) ); } if (configHasBot(config, 'fundingRateUpdater')) { needCheckDriftUser = true; needDriftStateWatcher = true; bots.push( new FundingRateUpdaterBot( driftClient, config.botConfigs!.fundingRateUpdater! ) ); } if (configHasBot(config, 'markTwapCrank')) { needPythPriceSubscriber = true; needCheckDriftUser = true; needUserMapSubscribe = true; needDriftStateWatcher = true; bots.push( new MakerBidAskTwapCrank( driftClient, slotSubscriber, userMap, config.botConfigs!.markTwapCrank!, config.global, config.global.runOnce ?? false, pythPriceSubscriber, [], bundleSender ) ); } // Run subscribe functions once if ( needCheckDriftUser || needForceCollateral || eventSubscriber || needUserMapSubscribe || needPythPriceSubscriber || needDriftStateWatcher ) { const hrStart = process.hrtime(); while (!(await driftClient.subscribe())) { logger.info('retrying driftClient.subscribe in 1s...'); await sleepMs(1000); } const hrEnd = process.hrtime(hrStart); logger.info(`driftClient.subscribe took: ${hrEnd[0]}s ${hrEnd[1] / 1e6}ms`); } logger.info(`Checking user exists: ${needCheckDriftUser}`); if (needCheckDriftUser) await checkUserExists(config, driftClient, wallet); logger.info(`Checking if bot needs collateral: ${needForceCollateral}`); if (needForceCollateral) await checkAndForceCollateral(config, driftClient, wallet); logger.info( `Checking if need eventSubscriber: ${eventSubscriber !== undefined}` ); if (eventSubscriber) await eventSubscriber.subscribe(); logger.info(`Checking if need usermap: ${needUserMapSubscribe}`); if (needUserMapSubscribe) { const hrStart = process.hrtime(); await userMap.subscribe(); const hrEnd = process.hrtime(hrStart); logger.info(`userMap.subscribe took: ${hrEnd[0]}s ${hrEnd[1] / 1e6}ms`); } logger.info(`Checking if need pythConnection: ${needPythPriceSubscriber}`); if (needPythPriceSubscriber && pythPriceSubscriber) { const feedIds: string[] = Array.from( new Set([ ...PerpMarkets[config.global.driftEnv!] .map((m) => m.pythFeedId) .filter((id) => id !== undefined), ...SpotMarkets[config.global.driftEnv!] .map((m) => m.pythFeedId) .filter((id) => id !== undefined), ]) ) as string[]; await pythPriceSubscriber!.subscribe(feedIds); } else if (needPythPriceSubscriber && !pythPriceSubscriber) { logger.warn( 'Running a bot that should have hermes endpoint set in config, but doesnt' ); } logger.info( `Checking if need PriorityFeeSubscriber: ${needPriorityFeeSubscriber}` ); if (needPriorityFeeSubscriber) { const hrStart = process.hrtime(); await priorityFeeSubscriber.subscribe(); const hrEnd = process.hrtime(hrStart); logger.info( `priorityFeeSubscriber.subscribe() took: ${hrEnd[0]}s ${hrEnd[1] / 1e6}ms` ); } if (needBlockhashSubscriber) { await blockhashSubscriber.subscribe(); } const activeBots = bots.map((bot) => bot.name); let driftStateWatcher: DriftStateWatcher | undefined; if (needDriftStateWatcher) { driftStateWatcher = new DriftStateWatcher({ driftClient, intervalMs: 10_000, stateChecks: { perpMarketStatus: true, spotMarketStatus: true, newPerpMarkets: true, newSpotMarkets: true, onStateChange: async (message: string, changes: StateChecks) => { const msg = `DriftStateWatcher triggered: ${message}]\nactive bots: ${JSON.stringify( activeBots )}\nstate changes: ${JSON.stringify(changes)}`; logger.info(msg); await webhookMessage(msg); }, }, }); driftStateWatcher.subscribe(); } if (bots.length === 0) { throw new Error( `No active bot specified. You must specify a bot through --config-file, or a cli arg. Check the README.md for more information` ); } // Initialize bots logger.info(`initializing bots`); await Promise.all(bots.map((bot) => bot.init())); logger.info( `starting bots (runOnce: ${ config.global.runOnce }), active bots: ${JSON.stringify(activeBots)}` ); await Promise.all( bots.map((bot) => bot.startIntervalLoop(bot.defaultIntervalMs)) ); // start http server listening to /health endpoint using http package http .createServer(async (req, res) => { if (req.url === '/health') { if (config.global.testLiveness) { if (Date.now() > startupTime + 60 * 1000) { res.writeHead(500); res.end('Testing liveness test fail'); return; } } if (config.global.websocket) { /* @ts-ignore */ if (!driftClient.connection._rpcWebSocketConnected) { logger.error(`Connection rpc websocket disconnected`); res.writeHead(500); res.end(`Connection rpc websocket disconnected`); return; } } if (bulkAccountLoader) { // we expect health checks to happen at a rate slower than the BulkAccountLoader's polling frequency if ( lastBulkAccountLoaderSlot && bulkAccountLoader.mostRecentSlot === lastBulkAccountLoaderSlot ) { res.writeHead(502); res.end(`bulkAccountLoader.mostRecentSlot is not healthy`); logger.error( `Health check failed due to stale bulkAccountLoader.mostRecentSlot` ); return; } lastBulkAccountLoaderSlot = bulkAccountLoader.mostRecentSlot; } // check all bots if they're live for (const bot of bots) { const healthCheck = await promiseTimeout(bot.healthCheck(), 1000); if (!healthCheck) { logger.error(`Health check failed for bot ${bot.name}`); res.writeHead(503); res.end(`Bot ${bot.name} is not healthy`); return; } } if (driftStateWatcher && driftStateWatcher.triggered) { const triggeredStates = JSON.stringify( driftStateWatcher.triggeredStates ); logger.error( `Health check failed for DriftStateWatcher, bot names: ${JSON.stringify( activeBots )}, state changes: ${triggeredStates}` ); res.writeHead(503); res.end( `DriftStateWatcher is not healthy, triggeredStates: ${triggeredStates}` ); return; } // liveness check passed res.writeHead(200); res.end('OK'); } else { res.writeHead(404); res.end('Not found'); } }) .listen(healthCheckPort); logger.info(`Health check server listening on port ${healthCheckPort}`); if (config.global.runOnce) { process.exit(0); } }; recursiveTryCatch(() => runBot()); async function recursiveTryCatch(f: () => void) { try { f(); } catch (e) { console.error(e); for (const bot of bots) { bot.reset(); await bot.init(); } await sleepMs(15000); await recursiveTryCatch(f); } } async function checkUserExists( config: Config, driftClient: DriftClient, wallet: Wallet ) { if (!(await driftClient.getUser().exists())) { logger.error( `User for ${wallet.publicKey} does not exist (subAccountId: ${driftClient.activeSubAccountId})` ); if (config.global.initUser) { logger.info(`Creating User for ${wallet.publicKey}`); const [txSig] = await driftClient.initializeUserAccount(); logger.info(`Initialized user account in transaction: ${txSig}`); } else { throw new Error("Run with '--init-user' flag to initialize a User"); } } return true; } async function checkAndForceCollateral( config: Config, driftClient: DriftClient, wallet: Wallet ) { // Force depost collateral if requested if (config.global.forceDeposit) { logger.info( `Depositing (${new BN( config.global.forceDeposit ).toString()} USDC to collateral account)` ); if (config.global.forceDeposit < 0) { logger.error(`Deposit amount must be greater than 0`); throw new Error('Deposit amount must be greater than 0'); } const mint = SpotMarkets[config.global.driftEnv!][0].mint; // TODO: are index 0 always USDC???, support other collaterals const ata = await getAssociatedTokenAddress(mint, wallet.publicKey); const amount = new BN(config.global.forceDeposit).mul(QUOTE_PRECISION); if (config.global.driftEnv === 'devnet') { const tokenFaucet = new TokenFaucet( driftClient.connection, wallet, TOKEN_FAUCET_PROGRAM_ID, mint, opts ); await tokenFaucet.mintToUser(ata, amount); } const tx = await driftClient.deposit( amount, 0, // USDC bank ata ); logger.info(`Deposit transaction: ${tx}`); logger.info(`exiting...run again without --force-deposit flag`); } return true; }
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/config.ts
import * as fs from 'fs'; import YAML from 'yaml'; import { loadCommaDelimitToArray, loadCommaDelimitToStringArray, parsePositiveIntArray, } from './utils'; import { OrderExecutionAlgoType } from './types'; import { BN, ConfirmationStrategy, DriftEnv, MarketType, PerpMarkets, } from '@drift-labs/sdk'; export type BaseBotConfig = { botId: string; dryRun: boolean; /// will override {@link GlobalConfig.metricsPort} metricsPort?: number; runOnce?: boolean; }; export type UserPnlSettlerConfig = BaseBotConfig & { /// perp market indexes to filter for settling pnl perpMarketIndicies?: Array<number>; /// min abs. USDC threshold before settling pnl /// in USDC human terms (100 for 100 USDC) settlePnlThresholdUsdc?: number; /// max number of users to consider for settling pnl on each iteration maxUsersToConsider?: number; }; export type FillerMultiThreadedConfig = BaseBotConfig & { marketType: string; marketIndexes: Array<number[]>; simulateTxForCUEstimate?: boolean; revertOnFailure?: boolean; subaccount?: number; rebalanceFiller?: boolean; rebalanceSettledPnlThreshold?: number; minGasBalanceToFill?: number; bidToFillerReward?: boolean; }; export type FillerConfig = BaseBotConfig & { fillerPollingInterval?: number; revertOnFailure?: boolean; simulateTxForCUEstimate?: boolean; rebalanceFiller?: boolean; rebalanceSettledPnlThreshold?: number; minGasBalanceToFill?: number; }; export type SubaccountConfig = { [key: number]: Array<number>; }; export type LiquidatorConfig = BaseBotConfig & { disableAutoDerisking: boolean; useJupiter: boolean; /// @deprecated, use {@link perpSubAccountConfig} to restrict markets perpMarketIndicies?: Array<number>; /// @deprecated, use {@link spotSubAccountConfig} to restrict markets spotMarketIndicies?: Array<number>; perpSubAccountConfig?: SubaccountConfig; spotSubAccountConfig?: SubaccountConfig; // deprecated: use {@link LiquidatorConfig.maxSlippageBps} (misnamed) maxSlippagePct?: number; maxSlippageBps?: number; deriskAuctionDurationSlots?: number; deriskAlgo?: OrderExecutionAlgoType; deriskAlgoSpot?: OrderExecutionAlgoType; deriskAlgoPerp?: OrderExecutionAlgoType; twapDurationSec?: number; minDepositToLiq?: Map<number, number>; excludedAccounts?: Set<string>; maxPositionTakeoverPctOfCollateral?: number; notifyOnLiquidation?: boolean; /// The threshold at which to consider spot asset "dust". Dust will be periodically withdrawn to /// authority wallet to free up spot position slots. /// In human precision: 100.0 for 100.0 USD worth of spot assets spotDustValueThreshold?: number; /// Placeholder, liquidator will set this to the raw BN of {@link LiquidatorConfig.spotDustValueThreshold} spotDustValueThresholdBN?: BN; }; export type PythUpdateConfigs = { timeDiffMs: number; priceDiffPct: number; }; export type PythCrankerBotConfig = BaseBotConfig & { slotStalenessThresholdRestart: number; txSuccessRateThreshold: number; intervalMs: number; updateConfigs: { [key: string]: { update: PythUpdateConfigs; earlyUpdate: PythUpdateConfigs; }; }; }; export type SwitchboardCrankerBotConfig = BaseBotConfig & { intervalMs: number; queuePubkey: string; pullFeedConfigs: { [key: string]: { pubkey: string; }; }; writableAccounts: string[]; }; export type BotConfigMap = { fillerMultithreaded?: FillerMultiThreadedConfig; spotFillerMultithreaded?: FillerMultiThreadedConfig; filler?: FillerConfig; fillerLite?: FillerConfig; spotFiller?: FillerConfig; trigger?: BaseBotConfig; liquidator?: LiquidatorConfig; floatingMaker?: BaseBotConfig; ifRevenueSettler?: BaseBotConfig; fundingRateUpdater?: BaseBotConfig; userPnlSettler?: UserPnlSettlerConfig; userLpSettler?: BaseBotConfig; userIdleFlipper?: BaseBotConfig; markTwapCrank?: BaseBotConfig; pythCranker?: PythCrankerBotConfig; switchboardCranker?: SwitchboardCrankerBotConfig; swiftTaker?: BaseBotConfig; swiftMaker?: BaseBotConfig; }; export interface GlobalConfig { driftEnv: DriftEnv; /// rpc endpoint to use endpoint: string; /// ws endpoint to use (inferred from endpoint using web3.js rules, only provide if you want to use a different one) wsEndpoint?: string; hermesEndpoint?: string; numNonActiveOraclesToPush?: number; // Optional to specify markets loaded by drift client perpMarketsToLoad?: Array<number>; spotMarketsToLoad?: Array<number>; /// helius endpoint to use helius priority fee strategy heliusEndpoint?: string; /// additional rpc endpoints to send transactions to additionalSendTxEndpoints?: string[]; /// endpoint to confirm txs on txConfirmationEndpoint?: string; /// default metrics port to use, will be overridden by {@link BaseBotConfig.metricsPort} if provided metricsPort?: number; /// disable all metrics disableMetrics?: boolean; priorityFeeMethod?: string; maxPriorityFeeMicroLamports?: number; resubTimeoutMs?: number; priorityFeeMultiplier?: number; keeperPrivateKey?: string; initUser?: boolean; testLiveness?: boolean; cancelOpenOrders?: boolean; closeOpenPositions?: boolean; forceDeposit?: number | null; websocket?: boolean; eventSubscriber?: false; runOnce?: boolean; debug?: boolean; subaccounts?: Array<number>; eventSubscriberPollingInterval: number; bulkAccountLoaderPollingInterval: number; useJito?: boolean; jitoStrategy?: 'jito-only' | 'non-jito-only' | 'hybrid'; jitoBlockEngineUrl?: string; jitoAuthPrivateKey?: string; jitoMinBundleTip?: number; jitoMaxBundleTip?: number; jitoMaxBundleFailCount?: number; jitoTipMultiplier?: number; onlySendDuringJitoLeader?: boolean; txRetryTimeoutMs?: number; txSenderType?: 'fast' | 'retry' | 'while-valid'; txSenderConfirmationStrategy: ConfirmationStrategy; txSkipPreflight?: boolean; txMaxRetries?: number; trackTxLandRate?: boolean; rebalanceFiller?: boolean; lutPubkey?: string; } export interface Config { global: GlobalConfig; enabledBots: Array<keyof BotConfigMap>; botConfigs?: BotConfigMap; } const defaultConfig: Partial<Config> = { global: { driftEnv: (process.env.ENV ?? 'devnet') as DriftEnv, initUser: false, testLiveness: false, cancelOpenOrders: false, closeOpenPositions: false, forceDeposit: null, websocket: false, eventSubscriber: false, runOnce: false, debug: false, subaccounts: [0], perpMarketsToLoad: parsePositiveIntArray(process.env.PERP_MARKETS_TO_LOAD), spotMarketsToLoad: parsePositiveIntArray(process.env.SPOT_MARKETS_TO_LOAD), eventSubscriberPollingInterval: 5000, bulkAccountLoaderPollingInterval: 5000, endpoint: process.env.ENDPOINT!, hermesEndpoint: process.env.HERMES_ENDPOINT, numNonActiveOraclesToPush: 0, wsEndpoint: process.env.WS_ENDPOINT, heliusEndpoint: process.env.HELIUS_ENDPOINT, additionalSendTxEndpoints: [], txConfirmationEndpoint: process.env.TX_CONFIRMATION_ENDPOINT, priorityFeeMethod: process.env.PRIORITY_FEE_METHOD ?? 'solana', maxPriorityFeeMicroLamports: parseInt( process.env.MAX_PRIORITY_FEE_MICRO_LAMPORTS ?? '1000000' ), priorityFeeMultiplier: 1.0, keeperPrivateKey: process.env.KEEPER_PRIVATE_KEY, useJito: false, jitoStrategy: 'jito-only', jitoMinBundleTip: 10_000, jitoMaxBundleTip: 100_000, jitoMaxBundleFailCount: 200, jitoTipMultiplier: 3, jitoBlockEngineUrl: process.env.JITO_BLOCK_ENGINE_URL, jitoAuthPrivateKey: process.env.JITO_AUTH_PRIVATE_KEY, txRetryTimeoutMs: parseInt(process.env.TX_RETRY_TIMEOUT_MS ?? '30000'), onlySendDuringJitoLeader: false, txSkipPreflight: false, txMaxRetries: 0, txSenderConfirmationStrategy: ConfirmationStrategy.Combo, metricsPort: 9464, disableMetrics: false, rebalanceFiller: false, }, enabledBots: [], botConfigs: {}, }; function mergeDefaults<T>(defaults: T, data: Partial<T>): T { const result: T = { ...defaults } as T; for (const key in data) { const value = data[key]; if (value === undefined || value === null) { continue; } if (typeof value === 'object' && !Array.isArray(value)) { result[key] = mergeDefaults( result[key], value as Partial<T[Extract<keyof T, string>]> ); } else if (Array.isArray(value)) { if (!Array.isArray(result[key])) { result[key] = [] as any; } for (let i = 0; i < value.length; i++) { if (typeof value[i] === 'object' && !Array.isArray(value[i])) { const existingObj = (result[key] as unknown as any[])[i] || {}; (result[key] as unknown as any[])[i] = mergeDefaults( existingObj, value[i] ); } else { (result[key] as unknown as any[])[i] = value[i]; } } } else { result[key] = value as T[Extract<keyof T, string>]; } } return result; } export function loadConfigFromFile(path: string): Config { if (!path.endsWith('.yaml') && !path.endsWith('.yml')) { throw new Error('Config file must be a yaml file'); } const configFile = fs.readFileSync(path, 'utf8'); const config = YAML.parse(configFile) as Partial<Config>; return mergeDefaults(defaultConfig, config) as Config; } /** * For backwards compatibility, we allow the user to specify the config via command line arguments. * @param opts from program.opts() * @returns */ export function loadConfigFromOpts(opts: any): Config { const config: Config = { global: { driftEnv: (process.env.ENV ?? 'devnet') as DriftEnv, endpoint: opts.endpoint ?? process.env.ENDPOINT, wsEndpoint: opts.wsEndpoint ?? process.env.WS_ENDPOINT, hermesEndpoint: opts.hermesEndpoint ?? process.env.HERMES_ENDPOINT, heliusEndpoint: opts.heliusEndpoint ?? process.env.HELIUS_ENDPOINT, additionalSendTxEndpoints: loadCommaDelimitToStringArray( opts.additionalSendTxEndpoints ), txConfirmationEndpoint: opts.txConfirmationEndpoint ?? process.env.TX_CONFIRMATION_ENDPOINT, priorityFeeMethod: opts.priorityFeeMethod ?? process.env.PRIORITY_FEE_METHOD, maxPriorityFeeMicroLamports: parseInt( opts.maxPriorityFeeMicroLamports ?? process.env.MAX_PRIORITY_FEE_MICRO_LAMPORTS ?? '1000000' ), priorityFeeMultiplier: parseFloat(opts.priorityFeeMultiplier ?? '1.0'), keeperPrivateKey: opts.privateKey ?? process.env.KEEPER_PRIVATE_KEY, eventSubscriberPollingInterval: parseInt( process.env.BULK_ACCOUNT_LOADER_POLLING_INTERVAL ?? '5000' ), bulkAccountLoaderPollingInterval: parseInt( process.env.EVENT_SUBSCRIBER_POLLING_INTERVAL ?? '5000' ), initUser: opts.initUser ?? false, testLiveness: opts.testLiveness ?? false, cancelOpenOrders: opts.cancelOpenOrders ?? false, closeOpenPositions: opts.closeOpenPositions ?? false, forceDeposit: opts.forceDeposit ?? null, websocket: opts.websocket ?? false, eventSubscriber: opts.eventSubscriber ?? false, runOnce: opts.runOnce ?? false, debug: opts.debug ?? false, subaccounts: loadCommaDelimitToArray(opts.subaccount), useJito: opts.useJito ?? false, jitoStrategy: opts.jitoStrategy ?? 'exclusive', jitoMinBundleTip: opts.jitoMinBundleTip ?? 10_000, jitoMaxBundleTip: opts.jitoMaxBundleTip ?? 100_000, jitoMaxBundleFailCount: opts.jitoMaxBundleFailCount ?? 200, jitoTipMultiplier: opts.jitoTipMultiplier ?? 3, txRetryTimeoutMs: parseInt(opts.txRetryTimeoutMs ?? '30000'), txSenderType: opts.txSenderType ?? 'fast', txSkipPreflight: opts.txSkipPreflight ? opts.txSkipPreflight.toLowerCase() === 'true' : false, txMaxRetries: parseInt(opts.txMaxRetries ?? '0'), trackTxLandRate: opts.trackTxLandRate ?? false, txSenderConfirmationStrategy: opts.txSenderConfirmationStrategy ?? ConfirmationStrategy.Combo, metricsPort: opts.metricsPort ?? 9464, disableMetrics: opts.disableMetrics ?? false, rebalanceFiller: opts.rebalanceFiller ?? false, }, enabledBots: [], botConfigs: {}, }; if (opts.filler) { config.enabledBots.push('filler'); config.botConfigs!.filler = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'filler', fillerPollingInterval: 5000, metricsPort: 9464, runOnce: opts.runOnce ?? false, simulateTxForCUEstimate: opts.simulateTxForCUEstimate ?? true, rebalanceFiller: opts.rebalanceFiller ?? false, }; } if (opts.fillerLite) { config.enabledBots.push('fillerLite'); config.botConfigs!.fillerLite = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'fillerLite', fillerPollingInterval: 5000, metricsPort: 9464, runOnce: opts.runOnce ?? false, simulateTxForCUEstimate: opts.simulateTxForCUEstimate ?? true, rebalanceFiller: opts.rebalanceFiller ?? false, }; } if (opts.spotFiller) { config.enabledBots.push('spotFiller'); config.botConfigs!.spotFiller = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'filler', fillerPollingInterval: 5000, metricsPort: 9464, runOnce: opts.runOnce ?? false, simulateTxForCUEstimate: opts.simulateTxForCUEstimate ?? true, rebalanceFiller: opts.rebalanceFiller ?? false, }; } if (opts.liquidator) { config.enabledBots.push('liquidator'); config.botConfigs!.liquidator = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'liquidator', metricsPort: 9464, disableAutoDerisking: opts.disableAutoDerisking ?? false, useJupiter: opts.useJupiter ?? true, perpMarketIndicies: loadCommaDelimitToArray(opts.perpMarketIndicies), spotMarketIndicies: loadCommaDelimitToArray(opts.spotMarketIndicies), runOnce: opts.runOnce ?? false, // deprecated: use {@link LiquidatorConfig.maxSlippageBps} maxSlippagePct: opts.maxSlippagePct ?? 50, maxSlippageBps: opts.maxSlippageBps ?? 50, deriskAuctionDurationSlots: opts.deriskAuctionDurationSlots ?? 100, deriskAlgo: opts.deriskAlgo ?? OrderExecutionAlgoType.Market, twapDurationSec: parseInt(opts.twapDurationSec ?? '300'), notifyOnLiquidation: opts.notifyOnLiquidation ?? false, }; } if (opts.trigger) { config.enabledBots.push('trigger'); config.botConfigs!.trigger = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'trigger', metricsPort: 9464, runOnce: opts.runOnce ?? false, }; } if (opts.ifRevenueSettler) { config.enabledBots.push('ifRevenueSettler'); config.botConfigs!.ifRevenueSettler = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'ifRevenueSettler', metricsPort: 9464, runOnce: opts.runOnce ?? false, }; } if (opts.userPnlSettler) { config.enabledBots.push('userPnlSettler'); config.botConfigs!.userPnlSettler = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'userPnlSettler', metricsPort: 9464, runOnce: opts.runOnce ?? false, perpMarketIndicies: loadCommaDelimitToArray(opts.perpMarketIndicies), settlePnlThresholdUsdc: Number(opts.settlePnlThresholdUsdc) ?? 10, maxUsersToConsider: Number(opts.maxUsersToConsider) ?? 50, }; } if (opts.userLpSettler) { config.enabledBots.push('userLpSettler'); config.botConfigs!.userLpSettler = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'userLpSettler', metricsPort: 9464, runOnce: opts.runOnce ?? false, }; } if (opts.userIdleFlipper) { config.enabledBots.push('userIdleFlipper'); config.botConfigs!.userIdleFlipper = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'userIdleFlipper', metricsPort: 9464, runOnce: opts.runOnce ?? false, }; } if (opts.fundingRateUpdater) { config.enabledBots.push('fundingRateUpdater'); config.botConfigs!.fundingRateUpdater = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'fundingRateUpdater', metricsPort: 9464, runOnce: opts.runOnce ?? false, }; } if (opts.markTwapCrank) { config.enabledBots.push('markTwapCrank'); config.botConfigs!.markTwapCrank = { dryRun: opts.dryRun ?? false, botId: process.env.BOT_ID ?? 'crank', metricsPort: 9464, runOnce: opts.runOnce ?? false, }; } return mergeDefaults(defaultConfig, config) as Config; } export function configHasBot( config: Config, botName: keyof BotConfigMap ): boolean { const botEnabled = config.enabledBots.includes(botName) ?? false; const botConfigExists = config.botConfigs![botName] !== undefined; if (botEnabled && !botConfigExists) { throw new Error( `Bot ${botName} is enabled but no config was found for it.` ); } return botEnabled && botConfigExists; } export const PULL_ORACLE_WHITELIST: { marketType: MarketType; marketIndex: number; }[] = [ { marketType: MarketType.PERP, marketIndex: 17, }, { marketType: MarketType.PERP, marketIndex: 3, }, { marketType: MarketType.PERP, marketIndex: 26, }, { marketType: MarketType.PERP, marketIndex: 25, }, { marketType: MarketType.PERP, marketIndex: 32, }, { marketType: MarketType.PERP, marketIndex: 13, }, { marketType: MarketType.PERP, marketIndex: 11, }, { marketType: MarketType.PERP, marketIndex: 28, }, { marketType: MarketType.PERP, marketIndex: 35, }, { marketType: MarketType.PERP, marketIndex: 8, }, { marketType: MarketType.PERP, marketIndex: 33, }, { marketType: MarketType.PERP, marketIndex: 14, }, { marketType: MarketType.PERP, marketIndex: 6, }, { marketType: MarketType.PERP, marketIndex: 5, }, { marketType: MarketType.PERP, marketIndex: 27, }, { marketType: MarketType.PERP, marketIndex: 29, }, { marketType: MarketType.PERP, marketIndex: 21, }, { marketType: MarketType.PERP, marketIndex: 22, }, { marketType: MarketType.PERP, marketIndex: 16, }, { marketType: MarketType.PERP, marketIndex: 20, }, { marketType: MarketType.PERP, marketIndex: 34, }, { marketType: MarketType.PERP, marketIndex: 15, }, { marketType: MarketType.PERP, marketIndex: 15, }, { marketType: MarketType.PERP, marketIndex: 7, }, { marketType: MarketType.PERP, marketIndex: 10, }, { marketType: MarketType.PERP, marketIndex: 18, }, { marketType: MarketType.PERP, marketIndex: 9, }, { marketType: MarketType.PERP, marketIndex: 19, }, { marketType: MarketType.PERP, marketIndex: 24, }, { marketType: MarketType.PERP, marketIndex: 30, }, { marketType: MarketType.PERP, marketIndex: 12, }, { marketType: MarketType.PERP, marketIndex: 4, }, ]; export const DEVNET_PULL_ORACLE_WHITELIST: { marketType: MarketType; marketIndex: number; }[] = PerpMarkets['devnet'].map((mkt) => { return { marketType: MarketType.PERP, marketIndex: mkt.marketIndex }; });
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/error.ts
import { SendTransactionError, TransactionError } from '@solana/web3.js'; import { ExtendedTransactionError } from './utils'; export function getErrorCode(error: Error): number | undefined { // @ts-ignore let errorCode = error.code; if (!errorCode) { try { const matches = error.message.match( /custom program error: (0x[0-9,a-f]+)/ ); if (!matches) { return undefined; } const code = matches[1]; if (code) { errorCode = parseInt(code, 16); } } catch (e) { // no problem if couldn't match error code } } return errorCode; } export function getErrorMessage(error: SendTransactionError): string { let errorString = ''; error.logs?.forEach((logMsg) => { try { const matches = logMsg.match( /Program log: AnchorError occurred. Error Code: ([0-9,a-z,A-Z]+). Error Number/ ); if (!matches) { return; } const errorCode = matches[1]; if (errorCode) { errorString = errorCode; } } catch (e) { // no problem if couldn't match error code } }); return errorString; } type CustomError = { Custom: number; }; export function getErrorCodeFromSimError( error: TransactionError | string | null ): number | null { if ((error as ExtendedTransactionError).InstructionError === undefined) { return null; } const err = (error as ExtendedTransactionError).InstructionError; if (!err) { return null; } if (err.length < 2) { console.error(`sim error has no error code. ${JSON.stringify(error)}`); return null; } if (!err[1]) { return null; } if (typeof err[1] === 'object' && 'Custom' in err[1]) { return Number((err[1] as CustomError).Custom); } return null; }
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/bundleSender.ts
import { SlotSubscriber } from '@drift-labs/sdk'; import { Connection, Keypair, LAMPORTS_PER_SOL, PublicKey, SystemProgram, TransactionInstruction, VersionedTransaction, } from '@solana/web3.js'; import { SearcherClient, searcherClient, } from 'jito-ts/dist/sdk/block-engine/searcher'; import { Bundle } from 'jito-ts/dist/sdk/block-engine/types'; import { logger } from './logger'; import { BundleResult } from 'jito-ts/dist/gen/block-engine/bundle'; import { LRUCache } from 'lru-cache'; import WebSocket from 'ws'; import { bs58 } from '@project-serum/anchor/dist/cjs/utils/bytes'; export const jitoBundlePriceEndpoint = 'ws://bundles-api-rest.jito.wtf/api/v1/bundles/tip_stream'; const logPrefix = '[BundleSender]'; const MS_DELAY_BEFORE_CHECK_INCLUSION = 30_000; const MAX_TXS_TO_CHECK = 50; const RECONNECT_DELAY_MS = 5000; const MAX_RECONNECT_ATTEMPTS = 3; const RECONNECT_RESET_DELAY_MS = 30000; export type TipStream = { time: string; ts: number; // millisecond timestamp landed_tips_25th_percentile: number; // in SOL landed_tips_50th_percentile: number; // in SOL landed_tips_75th_percentile: number; // in SOL landed_tips_95th_percentile: number; // in SOL landed_tips_99th_percentile: number; // in SOL ema_landed_tips_50th_percentile: number; // in SOL }; export type DropReason = 'pruned' | 'blockhash_expired' | 'blockhash_not_found'; export type BundleStats = { accepted: number; stateAuctionBidRejected: number; winningBatchBidRejected: number; simulationFailure: number; internalError: number; droppedBundle: number; /// extra stats droppedPruned: number; droppedBlockhashExpired: number; droppedBlockhashNotFound: number; }; const initBundleStats: BundleStats = { accepted: 0, stateAuctionBidRejected: 0, winningBatchBidRejected: 0, simulationFailure: 0, internalError: 0, droppedBundle: 0, droppedPruned: 0, droppedBlockhashExpired: 0, droppedBlockhashNotFound: 0, }; export class BundleSender { private ws: WebSocket | undefined; private searcherClient: SearcherClient | undefined; private leaderScheduleIntervalId: NodeJS.Timeout | undefined; private checkSentTxsIntervalId: NodeJS.Timeout | undefined; private isSubscribed = false; private shuttingDown = false; private jitoTipAccounts: PublicKey[] = []; private nextJitoLeader?: { currentSlot: number; nextLeaderSlot: number; nextLeaderIdentity: string; }; private updatingJitoSchedule = false; private checkingSentTxs = false; private reconnectAttempts = 0; private lastReconnectTime = 0; // if there is a big difference, probably jito ws connection is bad, should resub private bundlesSent = 0; private bundleResultsReceived = 0; // `bundleIdToTx` will be populated immediately after sending a bundle. private bundleIdToTx: LRUCache<string, { tx: string; ts: number }>; // `sentTxCache` will only be populated after a bundle result is received. // reason being that sometimes results come really late (like minutes after sending) // unsure if this is a jito issue or this bot is inefficient and holding onto things // for that long. Check txs from this map to see if they landed. private sentTxCache: LRUCache<string, number>; /// -1 for each accepted bundle, +1 for each rejected (due to bid, don't count sim errors). private failBundleCount = 0; private countLandedBundles = 0; private countDroppedbundles = 0; private lastTipStream: TipStream | undefined; private bundleStats: BundleStats = initBundleStats; constructor( private connection: Connection, private jitoBlockEngineUrl: string, private jitoAuthKeypair: Keypair, public tipPayerKeypair: Keypair, private slotSubscriber: SlotSubscriber, /// tip algo params public strategy: 'non-jito-only' | 'jito-only' | 'hybrid' = 'jito-only', private minBundleTip = 10_000, // cant be lower than this private maxBundleTip = 100_000, private maxFailBundleCount = 100, // at 100 failed txs, can expect tip to become maxBundleTip private tipMultiplier = 3 // bigger == more superlinear, delay the ramp up to prevent overpaying too soon ) { this.bundleIdToTx = new LRUCache({ max: 500, }); this.sentTxCache = new LRUCache({ max: 500, }); } slotsUntilNextLeader(): number | undefined { if (!this.nextJitoLeader) { return undefined; } return this.nextJitoLeader.nextLeaderSlot - this.slotSubscriber.getSlot(); } getBundleStats(): BundleStats { return this.bundleStats; } getTipStream(): TipStream | undefined { return this.lastTipStream; } getBundleFailCount(): number { return this.failBundleCount; } getLandedCount(): number { return this.countLandedBundles; } getDroppedCount(): number { return this.countDroppedbundles; } private incRunningBundleScore(amount = 1) { this.failBundleCount = (this.failBundleCount + amount) % this.maxFailBundleCount; } private decRunningBundleScore(amount = 1) { this.failBundleCount = Math.max(this.failBundleCount - amount, 0); } private handleBundleResult(bundleResult: BundleResult) { const bundleId = bundleResult.bundleId; const bundlePayload = this.bundleIdToTx.get(bundleId); if (!bundlePayload) { logger.error( `${logPrefix}: got bundle result for unknown bundleId: ${bundleId}` ); } const now = Date.now(); // Update bundle score. -1 for accept, +1 for reject. // Large score === many failures. // If the count is 0, we pay min tip, if max, we pay max tip. if (bundleResult.accepted !== undefined) { this.bundleStats.accepted++; if (bundlePayload !== undefined) { if (now > bundlePayload.ts + MS_DELAY_BEFORE_CHECK_INCLUSION) { logger.error( `${logPrefix}: received a bundle result ${MS_DELAY_BEFORE_CHECK_INCLUSION} ms after sending. tx: ${bundlePayload.tx}, sent at: ${bundlePayload.ts}` ); } else { this.sentTxCache.set(bundlePayload.tx, bundlePayload.ts); } } } else if (bundleResult.rejected !== undefined) { if (bundleResult.rejected.droppedBundle !== undefined) { this.bundleStats.droppedBundle++; const msg = bundleResult.rejected.droppedBundle.msg; if (msg.includes('pruned at slot')) { this.bundleStats.droppedPruned++; } else if (msg.includes('blockhash has expired')) { this.bundleStats.droppedBlockhashExpired++; } else if (msg.includes('Blockhash not found')) { this.bundleStats.droppedBlockhashNotFound++; } } else if (bundleResult.rejected.internalError !== undefined) { this.bundleStats.internalError++; } else if (bundleResult.rejected.simulationFailure !== undefined) { this.bundleStats.simulationFailure++; } else if (bundleResult.rejected.stateAuctionBidRejected !== undefined) { this.bundleStats.stateAuctionBidRejected++; } else if (bundleResult.rejected.winningBatchBidRejected !== undefined) { this.bundleStats.winningBatchBidRejected++; } } } private connectJitoTipStream() { if (this.ws !== undefined) { logger.warn( `${logPrefix} Called connectJitoTipStream but this.ws is already connected, disconnecting it...` ); this.ws.close(); this.ws = undefined; } logger.info( `${logPrefix} establishing jito ws connection (${jitoBundlePriceEndpoint})` ); const connect = () => { this.ws = new WebSocket(jitoBundlePriceEndpoint); this.ws.on('open', () => { logger.info( `${logPrefix} WebSocket connection established, resetting bundle stats` ); this.bundleStats = initBundleStats; this.bundlesSent = 0; this.bundleResultsReceived = 0; }); this.ws.on('message', (data: string) => { try { const tipStream = JSON.parse(data) as Array<TipStream>; if (tipStream.length > 0) { tipStream[0].ts = new Date(tipStream[0].time).getTime(); this.lastTipStream = tipStream[0]; } } catch (error) { logger.error( `${logPrefix} Error parsing WebSocket message: ${error}` ); } }); this.ws.on('close', (code: number, reason: string) => { logger.info( `${logPrefix}: jito ws closed (code: ${code}, reason: ${reason}) ${ this.shuttingDown ? 'shutting down...' : 'reconnecting in 5s...' }` ); this.ws = undefined; if (!this.shuttingDown) { setTimeout(connect, 5000); } }); this.ws.on('error', (e) => { logger.error(`${logPrefix}: jito ws error: ${e.message}`); }); }; connect(); } private async connectSearcherClient() { const now = Date.now(); if (now - this.lastReconnectTime > RECONNECT_RESET_DELAY_MS) { this.reconnectAttempts = 0; } if (this.reconnectAttempts >= MAX_RECONNECT_ATTEMPTS) { logger.error( `${logPrefix}: Max reconnection attempts (${MAX_RECONNECT_ATTEMPTS}) reached. Waiting ${RECONNECT_RESET_DELAY_MS}ms before trying again` ); return; } try { this.searcherClient = searcherClient( this.jitoBlockEngineUrl, this.jitoAuthKeypair, { 'grpc.keepalive_time_ms': 10_000, 'grpc.keepalive_timeout_ms': 1_000, 'grpc.keepalive_permit_without_calls': 1, } ); this.searcherClient.onBundleResult( (bundleResult: BundleResult) => { logger.info( `${logPrefix}: got bundle result: ${JSON.stringify(bundleResult)}` ); this.bundleResultsReceived++; this.handleBundleResult(bundleResult); }, async (err: Error) => { logger.error( `${logPrefix}: error getting bundle result, retrying in: ${RECONNECT_DELAY_MS}ms. msg: ${err.message}` ); if (this.shuttingDown) { logger.info(`${logPrefix}: shutting down, skipping reconnect`); return; } this.reconnectAttempts++; this.lastReconnectTime = Date.now(); await new Promise((resolve) => setTimeout(resolve, RECONNECT_DELAY_MS) ); await this.connectSearcherClient(); } ); // Reset attempts on successful connection this.reconnectAttempts = 0; const tipAccounts = await this.searcherClient.getTipAccounts(); this.jitoTipAccounts = tipAccounts.map((k) => new PublicKey(k)); } catch (e) { const err = e as Error; logger.error( `${logPrefix}: Failed to connect searcherClient, retrying in: ${RECONNECT_DELAY_MS}ms. msg: ${err.message}` ); this.reconnectAttempts++; this.lastReconnectTime = Date.now(); await new Promise((resolve) => setTimeout(resolve, RECONNECT_DELAY_MS)); await this.connectSearcherClient(); } } async subscribe() { if (this.isSubscribed) { return; } this.isSubscribed = true; this.shuttingDown = false; await this.connectSearcherClient(); this.connectJitoTipStream(); this.slotSubscriber.eventEmitter.on( 'newSlot', this.onSlotSubscriberSlot.bind(this) ); this.leaderScheduleIntervalId = setInterval( this.updateJitoLeaderSchedule.bind(this), 1000 ); this.checkSentTxsIntervalId = setInterval( this.checkSentTxs.bind(this), 10000 ); } async unsubscribe() { if (!this.isSubscribed) { return; } this.shuttingDown = true; this.searcherClient = undefined; if (this.ws) { this.ws.close(); } if (this.leaderScheduleIntervalId) { clearInterval(this.leaderScheduleIntervalId); this.leaderScheduleIntervalId = undefined; } if (this.checkSentTxsIntervalId) { clearInterval(this.checkSentTxsIntervalId); this.checkSentTxsIntervalId = undefined; } this.isSubscribed = false; } private async onSlotSubscriberSlot(slot: number) { if (this.nextJitoLeader) { const jitoSlot = this.nextJitoLeader.nextLeaderSlot; if (slot >= jitoSlot) { if (slot >= jitoSlot - 2) { logger.info( `${logPrefix}: currSlot: ${slot}, next jito leader slot: ${jitoSlot} (in ${ jitoSlot - slot } slots)` ); this.updateJitoLeaderSchedule(); } } } } private async checkSentTxs() { if (this.checkingSentTxs) { return; } this.checkingSentTxs = true; try { // find txs in cache ready to check const now = Date.now(); const txs = []; for (const [tx, ts] of this.sentTxCache.entries()) { if (now - ts > MS_DELAY_BEFORE_CHECK_INCLUSION) { this.sentTxCache.delete(tx); txs.push(tx); } if (txs.length >= MAX_TXS_TO_CHECK) { break; } } if (txs.length === 0) { logger.info(`${logPrefix} no txs to check...`); } else { const resps = await this.connection.getTransactions(txs, { commitment: 'confirmed', maxSupportedTransactionVersion: 0, }); const droppedTxs = resps.filter((tx) => tx === null); const landedTxs = resps.filter((tx) => tx !== null); this.countDroppedbundles += droppedTxs.length; this.countLandedBundles += landedTxs.length; const countBefore = this.failBundleCount; this.incRunningBundleScore(droppedTxs.length); this.decRunningBundleScore(landedTxs.length); logger.info( `${logPrefix} Found ${droppedTxs.length} txs dropped, ${landedTxs.length} landed landed, failCount: ${countBefore} -> ${this.failBundleCount}` ); } } catch (e) { const err = e as Error; logger.error( `${logPrefix}: error checking sent txs: ${err.message}. ${err.stack}` ); } finally { this.checkingSentTxs = false; logger.info( `${logPrefix}: running fail count: ${ this.failBundleCount }, totalLandedTxs: ${this.countLandedBundles}, totalDroppedTxs: ${ this.countDroppedbundles }, currentTipAmount: ${this.calculateCurrentTipAmount()}, lastJitoTipStream: ${JSON.stringify( this.lastTipStream )} bundle stats: ${JSON.stringify(this.bundleStats)}` ); } } private async updateJitoLeaderSchedule() { if (this.updatingJitoSchedule || !this.searcherClient) { if (!this.searcherClient) { logger.error( `${logPrefix} no searcherClient, skipping updateJitoLeaderSchedule` ); } return; } this.updatingJitoSchedule = true; try { this.nextJitoLeader = await this.searcherClient.getNextScheduledLeader(); } catch (e) { this.nextJitoLeader = undefined; const err = e as Error; logger.error( `${logPrefix}: error checking jito leader schedule: ${err.message}` ); } finally { this.updatingJitoSchedule = false; } } /** * * @returns current tip based on running score */ calculateCurrentTipAmount() { return Math.floor( Math.max( (this.lastTipStream?.landed_tips_25th_percentile ?? 0) * LAMPORTS_PER_SOL, this.minBundleTip, Math.min( this.maxBundleTip, Math.pow( this.failBundleCount / this.maxFailBundleCount, this.tipMultiplier ) * this.maxBundleTip ) ) ); } /** * Returns a transaction instruction for sending a tip to a tip account, use this to prevent adding an extra tx to your bundle, and/or to avoid conflicting tx hashes from the transfer ix. You will need to sign the final tx with the tip payer keypair before sending it in a bundle. * @param tipAccount Optional tip account to send to. If not provided, a random one will be chosen from jitoTipAccounts * @param tipAmount Optional tip amount to send. If not provided, the current tip amount will be calculated * @returns */ getTipIx(tipAccount?: PublicKey, tipAmount?: number): TransactionInstruction { if (!tipAccount) { tipAccount = this.jitoTipAccounts[ Math.floor(Math.random() * this.jitoTipAccounts.length) ]; } if (tipAmount === undefined) { tipAmount = this.calculateCurrentTipAmount(); } const tipIx = SystemProgram.transfer({ fromPubkey: this.tipPayerKeypair.publicKey, toPubkey: tipAccount, lamports: tipAmount, }); return tipIx; } /** * Sends a bundle of signed transactions to Jito MEV searcher * @param signedTxs Array of signed versioned transactions to include in bundle * @param metadata Optional metadata string to attach to bundle * @param txSig Optional transaction signature for tracking purposes. If not provided, uses first tx signature * @param addTipTx Whether to add a tip transaction to the bundle, if false, your signedTxs must already include a payment to a tip account. Defaults to true * @throws Error if bundle size would exceed Jito's max of 5 transactions */ async sendTransactions( signedTxs: VersionedTransaction[], metadata?: string, txSig?: string, addTipTx = true ) { const maxAllowedTxs = addTipTx ? 4 : 5; if (signedTxs.length > maxAllowedTxs) { throw new Error( `jito max bundle size is ${maxAllowedTxs}, got ${signedTxs.length} (addTipTx: ${addTipTx})` ); } if (!this.isSubscribed) { logger.warn( `${logPrefix} You should call bundleSender.subscribe() before sendTransaction()` ); await this.subscribe(); return; } if (!this.searcherClient) { logger.error(`${logPrefix} searcherClient not initialized`); return; } if (this.bundlesSent - this.bundleResultsReceived > 100) { logger.warn( `${logPrefix} sent ${this.bundlesSent} bundles but only redeived ${this.bundleResultsReceived} results, disconnecting jito ws...` ); // reconnect will happen on ws close message this.ws?.close(); } // +1 for tip tx, jito max is 5 let b: Bundle | Error = new Bundle(signedTxs, maxAllowedTxs); if (addTipTx) { const tipAccountToUse = this.jitoTipAccounts[ Math.floor(Math.random() * this.jitoTipAccounts.length) ]; b = b.addTipTx( this.tipPayerKeypair!, this.calculateCurrentTipAmount(), tipAccountToUse!, signedTxs[0].message.recentBlockhash ); if (b instanceof Error) { logger.error(`${logPrefix} failed to attach tip: ${b.message})`); return; } } try { // txSig used for tracking purposes, if none provided, use the sig of the first tx in the bundle if (!txSig) { txSig = bs58.encode(signedTxs[0].signatures[0]); } const bundleId = await this.searcherClient.sendBundle(b); const ts = Date.now(); this.bundleIdToTx.set(bundleId, { tx: txSig, ts }); logger.info( `${logPrefix} sent bundle with uuid ${bundleId} (tx: ${txSig}: ${ts}) ${metadata}` ); this.bundlesSent++; } catch (e) { const err = e as Error; logger.error( `${logPrefix} failed to send bundle: ${err.message}. ${err.stack}` ); } } }
0
solana_public_repos/drift-labs/keeper-bots-v2
solana_public_repos/drift-labs/keeper-bots-v2/src/metrics.ts
import { Meter } from '@opentelemetry/api-metrics'; import { ExplicitBucketHistogramAggregation, MeterProvider, View, } from '@opentelemetry/sdk-metrics-base'; import { PrometheusExporter } from '@opentelemetry/exporter-prometheus'; import { logger } from './logger'; import { PublicKey } from '@solana/web3.js'; import { UserAccount } from '@drift-labs/sdk'; import { BatchObservableResult, Attributes, ObservableGauge, Histogram, Counter, } from '@opentelemetry/api'; /** * RuntimeSpec is the attributes of the runtime environment, used to * distinguish this metric set from others */ export type RuntimeSpec = { rpcEndpoint: string; driftEnv: string; commit: string; driftPid: string; walletAuthority: string; }; export function metricAttrFromUserAccount( userAccountKey: PublicKey, ua: UserAccount ): any { return { subaccount_id: ua.subAccountId, public_key: userAccountKey.toBase58(), authority: ua.authority.toBase58(), delegate: ua.delegate.toBase58(), }; } /** * Creates {count} buckets of size {increment} starting from {start}. Each bucket stores the count of values within its "size". * @param start * @param increment * @param count * @returns */ export function createHistogramBuckets( start: number, increment: number, count: number ) { return new ExplicitBucketHistogramAggregation( Array.from(new Array(count), (_, i) => start + i * increment) ); } export class GaugeValue { private latestGaugeValues: Map<string, number>; private gauge: ObservableGauge; constructor(gauge: ObservableGauge) { this.gauge = gauge; this.latestGaugeValues = new Map<string, number>(); } setLatestValue(value: number, attributes: Attributes) { const attributesStr = JSON.stringify(attributes); this.latestGaugeValues.set(attributesStr, value); } getLatestValue(attributes: Attributes): number | undefined { const attributesStr = JSON.stringify(attributes); return this.latestGaugeValues.get(attributesStr); } getGauge(): ObservableGauge { return this.gauge; } entries(): IterableIterator<[string, number]> { return this.latestGaugeValues.entries(); } } export class HistogramValue { private histogram: Histogram; constructor(histogram: Histogram) { this.histogram = histogram; } record(value: number, attributes: Attributes) { this.histogram.record(value, attributes); } } export class CounterValue { private counter: Counter; constructor(counter: Counter) { this.counter = counter; } add(value: number, attributes: Attributes) { this.counter.add(value, attributes); } } export class Metrics { private exporter: PrometheusExporter; private meterProvider: MeterProvider; private meters: Map<string, Meter>; private gauges: Array<GaugeValue>; private defaultMeterName: string; constructor(meterName: string, views?: Array<View>, metricsPort?: number) { const { endpoint: defaultEndpoint, port: defaultPort } = PrometheusExporter.DEFAULT_OPTIONS; const port = metricsPort || defaultPort; this.exporter = new PrometheusExporter( { port: port, endpoint: defaultEndpoint, }, () => { logger.info( `prometheus scrape endpoint started: http://localhost:${port}${defaultEndpoint}` ); } ); this.meterProvider = new MeterProvider({ views }); this.meterProvider.addMetricReader(this.exporter); this.gauges = new Array<GaugeValue>(); this.meters = new Map<string, Meter>(); this.defaultMeterName = meterName; this.getMeter(this.defaultMeterName); } getMeter(name: string): Meter { if (this.meters.has(name)) { return this.meters.get(name) as Meter; } else { const meter = this.meterProvider.getMeter(name); this.meters.set(name, meter); return meter; } } addGauge( metricName: string, description: string, meterName?: string ): GaugeValue { const meter = this.getMeter(meterName ?? this.defaultMeterName); const newGauge = meter.createObservableGauge(metricName, { description: description, }); const gauge = new GaugeValue(newGauge); this.gauges.push(gauge); return gauge; } addHistogram( metricName: string, description: string, meterName?: string ): HistogramValue { const meter = this.getMeter(meterName ?? this.defaultMeterName); return new HistogramValue( meter.createHistogram(metricName, { description: description, }) ); } addCounter( metricName: string, description: string, meterName?: string ): CounterValue { const meter = this.getMeter(meterName ?? this.defaultMeterName); return new CounterValue( meter.createCounter(metricName, { description: description, }) ); } /** * Finalizes the observables by adding the batch observable callback to each meter. * Must call this before using this Metrics object */ finalizeObservables() { for (const meter of this.meters.values()) { meter.addBatchObservableCallback( (observerResult: BatchObservableResult) => { for (const gauge of this.gauges) { for (const [attributesStr, value] of gauge.entries()) { const attributes = JSON.parse(attributesStr); observerResult.observe(gauge.getGauge(), value, attributes); } } }, this.gauges.map((gauge) => gauge.getGauge()) ); } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/trigger.ts
import { DriftClient, PerpMarketAccount, SpotMarketAccount, SlotSubscriber, NodeToTrigger, UserMap, MarketType, DLOBSubscriber, PriorityFeeCalculator, TxParams, PublicKey, } from '@drift-labs/sdk'; import { Mutex, tryAcquire, E_ALREADY_LOCKED } from 'async-mutex'; import { logger } from '../logger'; import { Bot } from '../types'; import { getErrorCode } from '../error'; import { webhookMessage } from '../webhook'; import { BaseBotConfig } from '../config'; import { PrometheusExporter } from '@opentelemetry/exporter-prometheus'; import { Counter, Histogram, Meter, ObservableGauge } from '@opentelemetry/api'; import { ExplicitBucketHistogramAggregation, InstrumentType, MeterProvider, View, } from '@opentelemetry/sdk-metrics-base'; import { RuntimeSpec, metricAttrFromUserAccount } from '../metrics'; import { getNodeToTriggerSignature } from '../utils'; const TRIGGER_ORDER_COOLDOWN_MS = 10000; // time to wait between triggering an order const errorCodesToSuppress = [ 6111, // Error Message: OrderNotTriggerable. 6112, // Error Message: OrderDidNotSatisfyTriggerCondition. ]; enum METRIC_TYPES { sdk_call_duration_histogram = 'sdk_call_duration_histogram', try_trigger_duration_histogram = 'try_trigger_duration_histogram', runtime_specs = 'runtime_specs', mutex_busy = 'mutex_busy', errors = 'errors', } export class TriggerBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly defaultIntervalMs: number = 1000; private driftClient: DriftClient; private slotSubscriber: SlotSubscriber; private dlobSubscriber?: DLOBSubscriber; private triggeringNodes = new Map<string, number>(); private periodicTaskMutex = new Mutex(); private intervalIds: Array<NodeJS.Timer> = []; private userMap: UserMap; private priorityFeeCalculator: PriorityFeeCalculator; // metrics private metricsInitialized = false; private metricsPort?: number; private exporter?: PrometheusExporter; private meter?: Meter; private bootTimeMs = Date.now(); private runtimeSpecsGauge?: ObservableGauge; private runtimeSpec: RuntimeSpec; private mutexBusyCounter?: Counter; private errorCounter?: Counter; private tryTriggerDurationHistogram?: Histogram; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); constructor( driftClient: DriftClient, slotSubscriber: SlotSubscriber, userMap: UserMap, runtimeSpec: RuntimeSpec, config: BaseBotConfig ) { this.name = config.botId; this.dryRun = config.dryRun; this.driftClient = driftClient; this.userMap = userMap; this.runtimeSpec = runtimeSpec; this.slotSubscriber = slotSubscriber; this.metricsPort = config.metricsPort; if (this.metricsPort) { this.initializeMetrics(); } this.priorityFeeCalculator = new PriorityFeeCalculator(Date.now()); } private initializeMetrics() { if (this.metricsInitialized) { logger.error('Tried to initilaize metrics multiple times'); return; } this.metricsInitialized = true; const { endpoint: defaultEndpoint } = PrometheusExporter.DEFAULT_OPTIONS; this.exporter = new PrometheusExporter( { port: this.metricsPort, endpoint: defaultEndpoint, }, () => { logger.info( `prometheus scrape endpoint started: http://localhost:${this.metricsPort}${defaultEndpoint}` ); } ); const meterName = this.name; const meterProvider = new MeterProvider({ views: [ new View({ instrumentName: METRIC_TYPES.try_trigger_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: meterName, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 0 + i * 5), true ), }), ], }); meterProvider.addMetricReader(this.exporter); this.meter = meterProvider.getMeter(meterName); this.bootTimeMs = Date.now(); this.runtimeSpecsGauge = this.meter.createObservableGauge( METRIC_TYPES.runtime_specs, { description: 'Runtime sepcification of this program', } ); this.runtimeSpecsGauge.addCallback((obs) => { obs.observe(this.bootTimeMs, this.runtimeSpec); }); this.mutexBusyCounter = this.meter.createCounter(METRIC_TYPES.mutex_busy, { description: 'Count of times the mutex was busy', }); this.errorCounter = this.meter.createCounter(METRIC_TYPES.errors, { description: 'Count of errors', }); this.tryTriggerDurationHistogram = this.meter.createHistogram( METRIC_TYPES.try_trigger_duration_histogram, { description: 'Distribution of tryTrigger', unit: 'ms', } ); } public async init() { logger.info(`${this.name} initing`); this.dlobSubscriber = new DLOBSubscriber({ dlobSource: this.userMap, slotSource: this.slotSubscriber, updateFrequency: this.defaultIntervalMs - 500, driftClient: this.driftClient, }); await this.dlobSubscriber.subscribe(); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.dlobSubscriber!.unsubscribe(); await this.userMap!.unsubscribe(); } public async startIntervalLoop(intervalMs?: number): Promise<void> { this.tryTrigger(); const intervalId = setInterval(this.tryTrigger.bind(this), intervalMs); this.intervalIds.push(intervalId); logger.info(`${this.name} Bot started!`); } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 2 * this.defaultIntervalMs; }); return healthy; } private async tryTriggerForPerpMarket(market: PerpMarketAccount) { const marketIndex = market.marketIndex; try { const oraclePriceData = this.driftClient.getOracleDataForPerpMarket(marketIndex); const dlob = this.dlobSubscriber!.getDLOB(); const nodesToTrigger = dlob.findNodesToTrigger( marketIndex, this.slotSubscriber.getSlot(), oraclePriceData.price, MarketType.PERP, this.driftClient.getStateAccount() ); for (const nodeToTrigger of nodesToTrigger) { const now = Date.now(); const nodeToFillSignature = getNodeToTriggerSignature(nodeToTrigger); const timeStartedToTriggerNode = this.triggeringNodes.get(nodeToFillSignature); if (timeStartedToTriggerNode) { if (timeStartedToTriggerNode + TRIGGER_ORDER_COOLDOWN_MS > now) { logger.warn( `triggering node ${nodeToFillSignature} too soon (${ now - timeStartedToTriggerNode }ms since last trigger), skipping` ); continue; } } if (nodeToTrigger.node.haveTrigger) { continue; } nodeToTrigger.node.haveTrigger = true; this.triggeringNodes.set(nodeToFillSignature, Date.now()); logger.info( `trying to trigger perp order on market ${ nodeToTrigger.node.order.marketIndex } (account: ${nodeToTrigger.node.userAccount.toString()}) perp order ${nodeToTrigger.node.order.orderId.toString()}` ); const user = await this.userMap!.mustGet( nodeToTrigger.node.userAccount.toString() ); const ixs = []; ixs.push( await this.driftClient.getTriggerOrderIx( new PublicKey(nodeToTrigger.node.userAccount), user.getUserAccount(), nodeToTrigger.node.order ) ); ixs.push(await this.driftClient.getRevertFillIx()); const tx = await this.driftClient.txSender.getVersionedTransaction( ixs, [], undefined, this.driftClient.opts ); this.driftClient .sendTransaction(tx) .then((txSig) => { logger.info( `Triggered perp user (account: ${nodeToTrigger.node.userAccount.toString()}) perp order: ${nodeToTrigger.node.order.orderId.toString()}` ); logger.info(`Tx: ${txSig}`); }) .catch((error) => { nodeToTrigger.node.haveTrigger = false; const errorCode = getErrorCode(error); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(error as Error).message.includes( 'Transaction was not confirmed' ) ) { if (errorCode) { this.errorCounter!.add(1, { errorCode: errorCode.toString() }); } logger.error( `Error (${errorCode}) triggering perp user (account: ${nodeToTrigger.node.userAccount.toString()}) perp order: ${nodeToTrigger.node.order.orderId.toString()}` ); logger.error(error); webhookMessage( `[${ this.name }]: :x: Error (${errorCode}) triggering perp user (account: ${nodeToTrigger.node.userAccount.toString()}) perp order: ${nodeToTrigger.node.order.orderId.toString()}\n${ error.logs ? (error.logs as Array<string>).join('\n') : '' }\n${error.stack ? error.stack : error.message}` ); } }) .finally(() => { this.removeTriggeringNodes([nodeToTrigger]); }); } } catch (e) { logger.error( `Unexpected error for market ${marketIndex.toString()} during triggers` ); console.error(e); if (e instanceof Error) { webhookMessage( `[${this.name}]: :x: Uncaught error:\n${ e.stack ? e.stack : e.message }}` ); } } } private async tryTriggerForSpotMarket(market: SpotMarketAccount) { const marketIndex = market.marketIndex; try { const oraclePriceData = this.driftClient.getOracleDataForSpotMarket(marketIndex); const dlob = this.dlobSubscriber!.getDLOB(); const nodesToTrigger = dlob.findNodesToTrigger( marketIndex, this.slotSubscriber.getSlot(), oraclePriceData.price, MarketType.SPOT, this.driftClient.getStateAccount() ); for (const nodeToTrigger of nodesToTrigger) { if (nodeToTrigger.node.haveTrigger) { continue; } nodeToTrigger.node.haveTrigger = true; logger.info( `trying to trigger (account: ${nodeToTrigger.node.userAccount.toString()}) spot order ${nodeToTrigger.node.order.orderId.toString()}` ); const user = await this.userMap!.mustGet( nodeToTrigger.node.userAccount.toString() ); const usePriorityFee = this.priorityFeeCalculator.updatePriorityFee( Date.now(), this.driftClient.txSender.getTimeoutCount() ); let txParams: TxParams | undefined = undefined; if (usePriorityFee) { const computeUnits = 100_000; const computeUnitsPrice = this.priorityFeeCalculator.calculateComputeUnitPrice( computeUnits, 1_000_000_000 // 1000 lamports ); txParams = { computeUnits, computeUnitsPrice, }; } this.driftClient .triggerOrder( new PublicKey(nodeToTrigger.node.userAccount), user.getUserAccount(), nodeToTrigger.node.order, txParams ) .then((txSig) => { logger.info( `Triggered user (account: ${nodeToTrigger.node.userAccount.toString()}) spot order: ${nodeToTrigger.node.order.orderId.toString()}` ); logger.info(`Tx: ${txSig}`); }) .catch((error) => { nodeToTrigger.node.haveTrigger = false; const errorCode = getErrorCode(error); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(error as Error).message.includes( 'Transaction was not confirmed' ) ) { if (errorCode) { this.errorCounter!.add(1, { errorCode: errorCode.toString() }); } logger.error( `Error (${errorCode}) triggering spot order for user (account: ${nodeToTrigger.node.userAccount.toString()}) spot order: ${nodeToTrigger.node.order.orderId.toString()}` ); logger.error(error); webhookMessage( `[${ this.name }]: :x: Error (${errorCode}) triggering spot order for user (account: ${nodeToTrigger.node.userAccount.toString()}) spot order: ${nodeToTrigger.node.order.orderId.toString()}\n${ error.stack ? error.stack : error.message }` ); } }); } } catch (e) { logger.error( `Unexpected error for spot market ${marketIndex.toString()} during triggers` ); console.error(e); } } private removeTriggeringNodes(nodes: Array<NodeToTrigger>) { for (const node of nodes) { this.triggeringNodes.delete(getNodeToTriggerSignature(node)); } } private async tryTrigger() { const start = Date.now(); let ran = false; try { await tryAcquire(this.periodicTaskMutex).runExclusive(async () => { await Promise.all([ this.driftClient.getPerpMarketAccounts().map((marketAccount) => { this.tryTriggerForPerpMarket(marketAccount); }), this.driftClient.getSpotMarketAccounts().map((marketAccount) => { this.tryTriggerForSpotMarket(marketAccount); }), ]); ran = true; }); } catch (e) { if (e === E_ALREADY_LOCKED) { const user = this.driftClient.getUser(); this.mutexBusyCounter!.add( 1, metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); } else { if (e instanceof Error) { webhookMessage( `[${this.name}]: :x: Uncaught error in main loop:\n${ e.stack ? e.stack : e.message }` ); } throw e; } } finally { if (ran) { const user = this.driftClient.getUser(); const duration = Date.now() - start; if (this.tryTriggerDurationHistogram) { this.tryTriggerDurationHistogram!.record( duration, metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); } logger.debug(`${this.name} Bot took ${duration}ms to run`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/spotFiller.ts
import { DriftEnv, DriftClient, SpotMarketAccount, MakerInfo, isVariant, DLOB, NodeToFill, UserMap, UserStatsMap, MarketType, DLOBNode, DLOBSubscriber, PhoenixSubscriber, BN, PhoenixV1FulfillmentConfigAccount, TEN, NodeToTrigger, OrderSubscriber, UserAccount, PriorityFeeSubscriber, DataAndSlot, BlockhashSubscriber, JupiterClient, ClockSubscriber, OpenbookV2FulfillmentConfigAccount, OpenbookV2Subscriber, } from '@drift-labs/sdk'; import { Mutex, tryAcquire, E_ALREADY_LOCKED } from 'async-mutex'; import { AddressLookupTableAccount, ComputeBudgetProgram, Connection, LAMPORTS_PER_SOL, PublicKey, SendTransactionError, TransactionInstruction, TransactionSignature, VersionedTransaction, VersionedTransactionResponse, } from '@solana/web3.js'; import { ExplicitBucketHistogramAggregation, InstrumentType, View, } from '@opentelemetry/sdk-metrics-base'; import { logger } from '../logger'; import { Bot } from '../types'; import { CounterValue, GaugeValue, HistogramValue, Metrics, RuntimeSpec, metricAttrFromUserAccount, } from '../metrics'; import { webhookMessage } from '../webhook'; import { getErrorCode } from '../error'; import { isEndIxLog, isFillIxLog, isIxLog, isMakerBreachedMaintenanceMarginLog, isOrderDoesNotExistLog, isTakerBreachedMaintenanceMarginLog, } from './common/txLogParse'; import { FillerConfig, GlobalConfig } from '../config'; import { getAllPythOracleUpdateIxs, getFillSignatureFromUserAccountAndOrderId, getNodeToFillSignature, getNodeToTriggerSignature, getTransactionAccountMetas, handleSimResultError, initializeSpotFulfillmentAccounts, logMessageForNodeToFill, simulateAndGetTxWithCUs, SimulateAndGetTxWithCUsResponse, sleepMs, swapFillerHardEarnedUSDCForSOL, validMinimumGasAmount, validRebalanceSettledPnlThreshold, } from '../utils'; import { BundleSender } from '../bundleSender'; import { CACHED_BLOCKHASH_OFFSET, CONFIRM_TX_INTERVAL_MS, CONFIRM_TX_RATE_LIMIT_BACKOFF_MS, MakerNodeMap, TX_CONFIRMATION_BATCH_SIZE, TX_TIMEOUT_THRESHOLD_MS, TxType, } from './filler'; import { selectMakers } from '../makerSelection'; import { LRUCache } from 'lru-cache'; import { bs58 } from '@project-serum/anchor/dist/cjs/utils/bytes'; import { PythPriceFeedSubscriber } from '../pythPriceFeedSubscriber'; const THROTTLED_NODE_SIZE_TO_PRUNE = 10; // Size of throttled nodes to get to before pruning the map const FILL_ORDER_THROTTLE_BACKOFF = 1000; // the time to wait before trying to fill a throttled (error filling) node again const TRIGGER_ORDER_COOLDOWN_MS = 1000; // the time to wait before trying to a node in the triggering map again const SIM_CU_ESTIMATE_MULTIPLIER = 1.15; const SLOTS_UNTIL_JITO_LEADER_TO_SEND = 4; const CONFIRM_TX_ATTEMPTS = 2; const MAX_MAKERS_PER_FILL = 6; // max number of unique makers to include per fill const MAX_ACCOUNTS_PER_TX = 64; // solana limit, track https://github.com/solana-labs/solana/issues/27241 const DUMP_TXS_IN_SIM = false; const EXPIRE_ORDER_BUFFER_SEC = 60; // add extra time before trying to expire orders (want to avoid 6252 error due to clock drift) const errorCodesToSuppress = [ 6061, // 0x17AD Error Number: 6061. Error Message: Order does not exist. // 6078, // 0x17BE Error Number: 6078. Error Message: PerpMarketNotFound 6239, // 0x185F Error Number: 6239. Error Message: RevertFill. 6023, // 0x1787 Error Number: 6023. Error Message: PriceBandsBreached. 6111, // Error Message: OrderNotTriggerable. 6112, // Error Message: OrderDidNotSatisfyTriggerCondition. 6252, // Error Message: ImpossibleFill, expired order not ready. ]; enum METRIC_TYPES { try_fill_duration_histogram = 'try_fill_duration_histogram', runtime_specs = 'runtime_specs', last_try_fill_time = 'last_try_fill_time', mutex_busy = 'mutex_busy', sent_transactions = 'sent_transactions', landed_transactions = 'landed_transactions', tx_sim_error_count = 'tx_sim_error_count', pending_tx_sigs_to_confirm = 'pending_tx_sigs_to_confirm', pending_tx_sigs_loop_rate_limited = 'pending_tx_sigs_loop_rate_limited', evicted_pending_tx_sigs_to_confirm = 'evicted_pending_tx_sigs_to_confirm', estimated_tx_cu_histogram = 'estimated_tx_cu_histogram', simulate_tx_duration_histogram = 'simulate_tx_duration_histogram', expired_nodes_set_size = 'expired_nodes_set_size', jito_bundles_accepted = 'jito_bundles_accepted', jito_bundles_simulation_failure = 'jito_simulation_failure', jito_dropped_bundle = 'jito_dropped_bundle', jito_landed_tips = 'jito_landed_tips', jito_bundle_count = 'jito_bundle_count', clock_subscriber_ts = 'clock_subscriber_ts', wall_clock_ts = 'wall_clock_ts', } function getMakerNodeFromNodeToFill( nodeToFill: NodeToFill ): DLOBNode | undefined { if (nodeToFill.makerNodes.length === 0) { return undefined; } if (nodeToFill.makerNodes.length > 1) { logger.error( `Found more than one maker node for spot nodeToFill: ${JSON.stringify( nodeToFill )}` ); return undefined; } return nodeToFill.makerNodes[0]; } export type FallbackLiquiditySource = 'phoenix' | 'openbook'; export type NodesToFillWithContext = { nodesToFill: NodeToFill[]; fallbackAskSource?: FallbackLiquiditySource; fallbackBidSource?: FallbackLiquiditySource; }; export type DLOBProvider = { subscribe(): Promise<void>; getDLOB(slot: number): Promise<DLOB>; getUniqueAuthorities(): PublicKey[]; getUserAccounts(): Generator<{ userAccount: UserAccount; publicKey: PublicKey; }>; getUserAccount(publicKey: PublicKey): UserAccount | undefined; size(): number; fetch(): Promise<void>; }; export function getDLOBProviderFromOrderSubscriber( orderSubscriber: OrderSubscriber ): DLOBProvider { return { subscribe: async () => { await orderSubscriber.subscribe(); }, getDLOB: async (slot: number) => { return await orderSubscriber.getDLOB(slot); }, getUniqueAuthorities: () => { const authorities = new Set<string>(); for (const { userAccount } of orderSubscriber.usersAccounts.values()) { authorities.add(userAccount.authority.toBase58()); } const pubkeys = Array.from(authorities).map((a) => new PublicKey(a)); return pubkeys; }, getUserAccounts: function* () { for (const [ key, { userAccount }, ] of orderSubscriber.usersAccounts.entries()) { yield { userAccount: userAccount, publicKey: new PublicKey(key) }; } }, getUserAccount: (publicKey) => { return orderSubscriber.usersAccounts.get(publicKey.toString()) ?.userAccount; }, size(): number { return orderSubscriber.usersAccounts.size; }, fetch() { return orderSubscriber.fetch(); }, }; } export class SpotFillerBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly defaultIntervalMs: number = 2000; private driftClient: DriftClient; private clockSubscriber: ClockSubscriber; /// Connection to use specifically for confirming transactions private txConfirmationConnection: Connection; private globalConfig: GlobalConfig; private blockhashSubscriber: BlockhashSubscriber; private pollingIntervalMs: number; private fillTxId = 0; private dlobSubscriber?: DLOBSubscriber; private userMap: UserMap; private orderSubscriber: OrderSubscriber; private userStatsMap?: UserStatsMap; private phoenixFulfillmentConfigMap: Map< number, PhoenixV1FulfillmentConfigAccount >; private phoenixSubscribers?: Map<number, PhoenixSubscriber>; private openbookFulfillmentConfigMap: Map< number, OpenbookV2FulfillmentConfigAccount >; private openbookSubscribers?: Map<number, OpenbookV2Subscriber>; private periodicTaskMutex = new Mutex(); private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); private intervalIds: Array<NodeJS.Timer> = []; private throttledNodes = new Map<string, number>(); private triggeringNodes = new Map<string, number>(); private priorityFeeSubscriber: PriorityFeeSubscriber; private revertOnFailure: boolean; private simulateTxForCUEstimate?: boolean; private bundleSender?: BundleSender; /// stores txSigs that need to been confirmed in a slower loop, and the time they were confirmed protected pendingTxSigsToconfirm: LRUCache< string, { ts: number; nodeFilled?: NodeToFill; fillTxId: number; txType: TxType; } >; protected expiredNodesSet: LRUCache<string, boolean>; protected confirmLoopRunning = false; protected confirmLoopRateLimitTs = Date.now() - CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; // metrics private metricsInitialized = false; private metricsPort?: number; protected metrics?: Metrics; private bootTimeMs?: number; protected runtimeSpec: RuntimeSpec; protected runtimeSpecsGauge?: GaugeValue; protected tryFillDurationHistogram?: HistogramValue; protected estTxCuHistogram?: HistogramValue; protected simulateTxHistogram?: HistogramValue; protected lastTryFillTimeGauge?: GaugeValue; protected mutexBusyCounter?: CounterValue; protected sentTxsCounter?: CounterValue; protected attemptedTriggersCounter?: CounterValue; protected landedTxsCounter?: CounterValue; protected txSimErrorCounter?: CounterValue; protected pendingTxSigsToConfirmGauge?: GaugeValue; protected pendingTxSigsLoopRateLimitedCounter?: CounterValue; protected evictedPendingTxSigsToConfirmCounter?: CounterValue; protected expiredNodesSetSize?: GaugeValue; protected jitoBundlesAcceptedGauge?: GaugeValue; protected jitoBundlesSimulationFailureGauge?: GaugeValue; protected jitoDroppedBundleGauge?: GaugeValue; protected jitoLandedTipsGauge?: GaugeValue; protected jitoBundleCount?: GaugeValue; protected clockSubscriberTs?: GaugeValue; protected wallClockTs?: GaugeValue; protected rebalanceFiller?: boolean; protected jupiterClient?: JupiterClient; protected hasEnoughSolToFill: boolean = false; protected minGasBalanceToFill: number; protected rebalanceSettledPnlThreshold: BN; protected pythPriceSubscriber?: PythPriceFeedSubscriber; protected lookupTableAccounts: AddressLookupTableAccount[]; constructor( driftClient: DriftClient, userMap: UserMap, runtimeSpec: RuntimeSpec, globalConfig: GlobalConfig, config: FillerConfig, priorityFeeSubscriber: PriorityFeeSubscriber, blockhashSubscriber: BlockhashSubscriber, bundleSender?: BundleSender, pythPriceSubscriber?: PythPriceFeedSubscriber, lookupTableAccounts: AddressLookupTableAccount[] = [] ) { this.globalConfig = globalConfig; this.name = config.botId; this.dryRun = config.dryRun; this.driftClient = driftClient; if (globalConfig.txConfirmationEndpoint) { this.txConfirmationConnection = new Connection( globalConfig.txConfirmationEndpoint ); } else { this.txConfirmationConnection = this.driftClient.connection; } this.runtimeSpec = runtimeSpec; this.pollingIntervalMs = config.fillerPollingInterval ?? this.defaultIntervalMs; this.phoenixFulfillmentConfigMap = new Map< number, PhoenixV1FulfillmentConfigAccount >(); this.phoenixSubscribers = new Map<number, PhoenixSubscriber>(); this.openbookFulfillmentConfigMap = new Map< number, OpenbookV2FulfillmentConfigAccount >(); this.openbookSubscribers = new Map<number, OpenbookV2Subscriber>(); this.initializeMetrics(config.metricsPort ?? this.globalConfig.metricsPort); this.priorityFeeSubscriber = priorityFeeSubscriber; this.priorityFeeSubscriber.updateAddresses([ new PublicKey('8BnEgHoWFysVcuFFX7QztDmzuH8r5ZFvyP3sYwn1XTh6'), // Openbook SOL/USDC new PublicKey('4DoNfFBfF7UokCC2FQzriy7yHK6DY6NVdYpuekQ5pRgg'), // Phoenix SOL/USDC new PublicKey('6gMq3mRCKf8aP3ttTyYhuijVZ2LGi14oDsBbkgubfLB3'), // Drift USDC market ]); this.revertOnFailure = config.revertOnFailure ?? true; this.simulateTxForCUEstimate = config.simulateTxForCUEstimate ?? true; this.rebalanceFiller = config.rebalanceFiller ?? true; logger.info( `${this.name}: revertOnFailure: ${this.revertOnFailure}, simulateTxForCUEstimate: ${this.simulateTxForCUEstimate}` ); if (this.rebalanceFiller && this.runtimeSpec.driftEnv === 'mainnet-beta') { this.jupiterClient = new JupiterClient({ connection: this.driftClient.connection, }); } logger.info( `${this.name}: rebalancing enabled: ${this.jupiterClient !== undefined}` ); this.pythPriceSubscriber = pythPriceSubscriber; this.lookupTableAccounts = lookupTableAccounts; this.userMap = userMap; if (!validMinimumGasAmount(config.minGasBalanceToFill)) { this.minGasBalanceToFill = 0.2 * LAMPORTS_PER_SOL; } else { this.minGasBalanceToFill = config.minGasBalanceToFill! * LAMPORTS_PER_SOL; } if ( !validRebalanceSettledPnlThreshold(config.rebalanceSettledPnlThreshold) ) { this.rebalanceSettledPnlThreshold = new BN(20); } else { this.rebalanceSettledPnlThreshold = new BN( config.rebalanceSettledPnlThreshold! ); } logger.info( `${this.name}: minimumAmountToFill: ${this.minGasBalanceToFill}` ); logger.info( `${this.name}: minimumAmountToSettle: ${this.rebalanceSettledPnlThreshold}` ); if (this.driftClient.userAccountSubscriptionConfig.type === 'websocket') { this.orderSubscriber = new OrderSubscriber({ driftClient: this.driftClient, subscriptionConfig: { type: 'websocket', skipInitialLoad: false, commitment: this.driftClient.opts?.commitment, resyncIntervalMs: 10_000, }, }); } else { this.orderSubscriber = new OrderSubscriber({ driftClient: this.driftClient, subscriptionConfig: { type: 'polling', // we find crossing orders from the OrderSubscriber, so we need to poll twice // as frequently as main filler interval frequency: this.pollingIntervalMs / 2, commitment: this.driftClient.opts?.commitment, }, }); } this.bundleSender = bundleSender; this.blockhashSubscriber = blockhashSubscriber; this.pendingTxSigsToconfirm = new LRUCache< string, { ts: number; nodeFilled?: NodeToFill; fillTxId: number; txType: TxType; } >({ max: 5_000, ttl: TX_TIMEOUT_THRESHOLD_MS, ttlResolution: 1000, disposeAfter: this.recordEvictedTxSig.bind(this), }); this.expiredNodesSet = new LRUCache<string, boolean>({ max: 10_000, ttl: TX_TIMEOUT_THRESHOLD_MS, ttlResolution: 1000, }); this.clockSubscriber = new ClockSubscriber(driftClient.connection, { commitment: 'finalized', resubTimeoutMs: 5_000, }); } protected initializeMetrics(metricsPort?: number) { if (this.globalConfig.disableMetrics) { logger.info( `${this.name}: globalConfig.disableMetrics is true, not initializing metrics` ); return; } if (!metricsPort) { logger.info( `${this.name}: bot.metricsPort and global.metricsPort not set, not initializing metrics` ); return; } if (this.metricsInitialized) { logger.error('Tried to initilaize metrics multiple times'); return; } this.metrics = new Metrics( this.name, [ new View({ instrumentName: METRIC_TYPES.try_fill_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 0 + i * 5), true ), }), new View({ instrumentName: METRIC_TYPES.estimated_tx_cu_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(15), (_, i) => 0 + i * 100_000), true ), }), new View({ instrumentName: METRIC_TYPES.simulate_tx_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 50 + i * 50), true ), }), ], metricsPort! ); this.bootTimeMs = Date.now(); this.runtimeSpecsGauge = this.metrics.addGauge( METRIC_TYPES.runtime_specs, 'Runtime sepcification of this program' ); this.tryFillDurationHistogram = this.metrics.addHistogram( METRIC_TYPES.try_fill_duration_histogram, 'Histogram of the duration of the try fill process' ); this.estTxCuHistogram = this.metrics.addHistogram( METRIC_TYPES.estimated_tx_cu_histogram, 'Histogram of the estimated fill cu used' ); this.simulateTxHistogram = this.metrics.addHistogram( METRIC_TYPES.simulate_tx_duration_histogram, 'Histogram of the duration of simulateTransaction RPC calls' ); this.lastTryFillTimeGauge = this.metrics.addGauge( METRIC_TYPES.last_try_fill_time, 'Last time that fill was attempted' ); this.mutexBusyCounter = this.metrics.addCounter( METRIC_TYPES.mutex_busy, 'Count of times the mutex was busy' ); this.landedTxsCounter = this.metrics.addCounter( METRIC_TYPES.landed_transactions, 'Count of fills that we successfully landed' ); this.sentTxsCounter = this.metrics.addCounter( METRIC_TYPES.sent_transactions, 'Count of transactions we sent out' ); this.txSimErrorCounter = this.metrics.addCounter( METRIC_TYPES.tx_sim_error_count, 'Count of errors from simulating transactions' ); this.pendingTxSigsToConfirmGauge = this.metrics.addGauge( METRIC_TYPES.pending_tx_sigs_to_confirm, 'Count of tx sigs that are pending confirmation' ); this.pendingTxSigsLoopRateLimitedCounter = this.metrics.addCounter( METRIC_TYPES.pending_tx_sigs_loop_rate_limited, 'Count of times the pending tx sigs loop was rate limited' ); this.evictedPendingTxSigsToConfirmCounter = this.metrics.addCounter( METRIC_TYPES.evicted_pending_tx_sigs_to_confirm, 'Count of tx sigs that were evicted from the pending tx sigs to confirm cache' ); this.expiredNodesSetSize = this.metrics.addGauge( METRIC_TYPES.expired_nodes_set_size, 'Count of nodes that are expired' ); this.jitoBundlesAcceptedGauge = this.metrics.addGauge( METRIC_TYPES.jito_bundles_accepted, 'Count of jito bundles that were accepted' ); this.jitoBundlesSimulationFailureGauge = this.metrics.addGauge( METRIC_TYPES.jito_bundles_simulation_failure, 'Count of jito bundles that failed simulation' ); this.jitoDroppedBundleGauge = this.metrics.addGauge( METRIC_TYPES.jito_dropped_bundle, 'Count of jito bundles that were dropped' ); this.jitoLandedTipsGauge = this.metrics.addGauge( METRIC_TYPES.jito_landed_tips, 'Gauge of historic bundle tips that landed' ); this.jitoBundleCount = this.metrics.addGauge( METRIC_TYPES.jito_bundle_count, 'Count of jito bundles that were sent, and their status' ); this.clockSubscriberTs = this.metrics.addGauge( METRIC_TYPES.clock_subscriber_ts, 'Timestamp of the clock subscriber' ); this.wallClockTs = this.metrics.addGauge( METRIC_TYPES.wall_clock_ts, 'Timestamp of the wall clock' ); this.metrics?.finalizeObservables(); this.runtimeSpecsGauge.setLatestValue(this.bootTimeMs, this.runtimeSpec); this.metricsInitialized = true; } protected recordEvictedTxSig( _tsTxSigAdded: { ts: number; nodeFilled?: NodeToFill }, txSig: string, reason: 'evict' | 'set' | 'delete' ) { if (reason === 'evict') { logger.info( `${this.name}: Evicted tx sig ${txSig} from this.txSigsToConfirm` ); const user = this.driftClient.getUser(); this.evictedPendingTxSigsToConfirmCounter?.add(1, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } public async init() { logger.info(`${this.name} initing`); const fillerSolBalance = await this.driftClient.connection.getBalance( this.driftClient.authority ); this.hasEnoughSolToFill = fillerSolBalance >= this.minGasBalanceToFill; logger.info( `${this.name}: hasEnoughSolToFill: ${this.hasEnoughSolToFill}, balance: ${fillerSolBalance}` ); const orderSubscriberInitStart = Date.now(); logger.info(`Initializing OrderSubscriber...`); await this.orderSubscriber.subscribe(); logger.info( `Initialized OrderSubscriber in ${ Date.now() - orderSubscriberInitStart }ms` ); const dlobProvider = getDLOBProviderFromOrderSubscriber( this.orderSubscriber ); const userStatsMapStart = Date.now(); logger.info(`Initializing UserStatsMap...`); this.userStatsMap = new UserStatsMap(this.driftClient); logger.info( `Initialized UserStatsMap in ${Date.now() - userStatsMapStart}ms` ); const dlobSubscriberStart = Date.now(); logger.info(`Initializing DLOBSubscriber...`); this.dlobSubscriber = new DLOBSubscriber({ dlobSource: dlobProvider, slotSource: this.orderSubscriber, updateFrequency: this.pollingIntervalMs - 500, driftClient: this.driftClient, }); await this.dlobSubscriber.subscribe(); logger.info( `Initialized DLOBSubscriber in ${Date.now() - dlobSubscriberStart}` ); ({ phoenixFulfillmentConfigs: this.phoenixFulfillmentConfigMap, openbookFulfillmentConfigs: this.openbookFulfillmentConfigMap, phoenixSubscribers: this.phoenixSubscribers, openbookSubscribers: this.openbookSubscribers, } = await initializeSpotFulfillmentAccounts(this.driftClient, true)); if (!this.phoenixSubscribers) { throw new Error('phoenixSubscribers not initialized'); } if (!this.openbookSubscribers) { throw new Error('openbookSubscribers not initialized'); } this.lookupTableAccounts.push( await this.driftClient.fetchMarketLookupTableAccount() ); await this.clockSubscriber.subscribe(); await webhookMessage(`[${this.name}]: started`); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.dlobSubscriber!.unsubscribe(); await this.userStatsMap!.unsubscribe(); await this.orderSubscriber.unsubscribe(); for (const phoenixSubscriber of this.phoenixSubscribers!.values()) { await phoenixSubscriber.unsubscribe(); } for (const openbookSubscriber of this.openbookSubscribers!.values()) { await openbookSubscriber.unsubscribe(); } } public async startIntervalLoop(_intervalMs?: number) { this.intervalIds.push( setInterval(this.trySpotFill.bind(this), this.pollingIntervalMs) ); this.intervalIds.push( setInterval(this.confirmPendingTxSigs.bind(this), CONFIRM_TX_INTERVAL_MS) ); if (this.bundleSender) { this.intervalIds.push( setInterval(this.recordJitoBundleStats.bind(this), 10_000) ); } if (this.rebalanceFiller) { this.intervalIds.push( setInterval(this.rebalanceSpotFiller.bind(this), 60_000) ); } logger.info(`${this.name} Bot started!`); } protected recordJitoBundleStats() { const user = this.driftClient.getUser(); const bundleStats = this.bundleSender?.getBundleStats(); if (bundleStats) { this.jitoBundlesAcceptedGauge?.setLatestValue(bundleStats.accepted, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.jitoBundlesSimulationFailureGauge?.setLatestValue( bundleStats.simulationFailure, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoDroppedBundleGauge?.setLatestValue(bundleStats.droppedPruned, { type: 'pruned', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.jitoDroppedBundleGauge?.setLatestValue( bundleStats.droppedBlockhashExpired, { type: 'blockhash_expired', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoDroppedBundleGauge?.setLatestValue( bundleStats.droppedBlockhashNotFound, { type: 'blockhash_not_found', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); } const tipStream = this.bundleSender?.getTipStream(); if (tipStream) { this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_25th_percentile, { percentile: 'p25', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_50th_percentile, { percentile: 'p50', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_75th_percentile, { percentile: 'p75', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_95th_percentile, { percentile: 'p95', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_99th_percentile, { percentile: 'p99', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.ema_landed_tips_50th_percentile, { percentile: 'ema_p50', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); } const bundleFailCount = this.bundleSender?.getBundleFailCount(); const bundleLandedCount = this.bundleSender?.getLandedCount(); const bundleDroppedCount = this.bundleSender?.getDroppedCount(); this.jitoBundleCount?.setLatestValue(bundleFailCount ?? 0, { type: 'fail_count', }); this.jitoBundleCount?.setLatestValue(bundleLandedCount ?? 0, { type: 'landed', }); this.jitoBundleCount?.setLatestValue(bundleDroppedCount ?? 0, { type: 'dropped', }); } protected async confirmPendingTxSigs() { const user = this.driftClient.getUser(); this.pendingTxSigsToConfirmGauge?.setLatestValue( this.pendingTxSigsToconfirm.size, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.expiredNodesSetSize?.setLatestValue(this.expiredNodesSet.size, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); const nextTimeCanRun = this.confirmLoopRateLimitTs + CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; if (Date.now() < nextTimeCanRun) { logger.warn( `Skipping confirm loop due to rate limit, next run in ${ nextTimeCanRun - Date.now() } ms` ); return; } if (this.confirmLoopRunning) { return; } this.confirmLoopRunning = true; try { logger.info(`Confirming tx sigs: ${this.pendingTxSigsToconfirm.size}`); const start = Date.now(); const txEntries = Array.from(this.pendingTxSigsToconfirm.entries()); for (let i = 0; i < txEntries.length; i += TX_CONFIRMATION_BATCH_SIZE) { const txSigsBatch = txEntries.slice(i, i + TX_CONFIRMATION_BATCH_SIZE); const txs = await this.txConfirmationConnection?.getTransactions( txSigsBatch.map((tx) => tx[0]), { commitment: 'confirmed', maxSupportedTransactionVersion: 0, } ); for (let j = 0; j < txs.length; j++) { const txResp = txs[j]; const txConfirmationInfo = txSigsBatch[j]; const txSig = txConfirmationInfo[0]; const txAge = txConfirmationInfo[1].ts - Date.now(); const nodeFilled = txConfirmationInfo[1].nodeFilled; const txType = txConfirmationInfo[1].txType; const fillTxId = txConfirmationInfo[1].fillTxId; if (txResp === null) { logger.info( `Tx not found, (fillTxId: ${fillTxId}) (txType: ${txType}): ${txSig}, tx age: ${ txAge / 1000 } s` ); if (Math.abs(txAge) > TX_TIMEOUT_THRESHOLD_MS) { this.pendingTxSigsToconfirm.delete(txSig); } } else { logger.info( `Tx landed (fillTxId: ${fillTxId}) (txType: ${txType}): ${txSig}, tx age: ${ txAge / 1000 } s` ); this.pendingTxSigsToconfirm.delete(txSig); if (txType === 'fill') { if (nodeFilled) { const result = await this.handleTransactionLogs( nodeFilled, txResp.meta?.logMessages ); if (result) { this.landedTxsCounter?.add(result.filledNodes, { type: txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } } else { this.landedTxsCounter?.add(1, { type: txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } await sleepMs(500); } } logger.info(`Confirming tx sigs took: ${Date.now() - start} ms`); } catch (e) { const err = e as Error; if (err.message.includes('429')) { logger.info(`Confirming tx loop rate limited: ${err.message}`); this.confirmLoopRateLimitTs = Date.now(); this.pendingTxSigsLoopRateLimitedCounter?.add(1, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } else { logger.error(`Other error confirming tx sigs: ${err.message}`); } } finally { this.confirmLoopRunning = false; } } protected getMaxSlot(): number { return Math.max( this.dlobSubscriber?.slotSource.getSlot() ?? 0, this.orderSubscriber.getSlot(), this.userMap!.getSlot() ); } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 5 * this.pollingIntervalMs; if (!healthy) { logger.warn(`${this.name} watchdog timer expired`); } }); return healthy; } private async getUserAccountAndSlotFromMap( key: string ): Promise<DataAndSlot<UserAccount>> { const user = await this.userMap!.mustGetWithSlot( key, this.driftClient.userAccountSubscriptionConfig ); return { data: user.data.getUserAccount(), slot: user.slot, }; } private getSpotNodesForMarket( market: SpotMarketAccount, dlob: DLOB ): { nodesToFill: NodesToFillWithContext; nodesToTrigger: Array<NodeToTrigger>; } { const oraclePriceData = this.driftClient.getOracleDataForSpotMarket( market.marketIndex ); const phoenixSubscriber = this.phoenixSubscribers!.get(market.marketIndex); const phoenixBestBid = phoenixSubscriber?.getBestBid(); const phoenixBestAsk = phoenixSubscriber?.getBestAsk(); const openbookSubscriber = this.openbookSubscribers!.get( market.marketIndex ); const openbookBestBid = openbookSubscriber?.getBestBid(); const openbookBestAsk = openbookSubscriber?.getBestAsk(); const [fallbackBidPrice, fallbackBidSource] = this.pickFallbackPrice( openbookBestBid, phoenixBestBid, 'bid' ); const [fallbackAskPrice, fallbackAskSource] = this.pickFallbackPrice( openbookBestAsk, phoenixBestAsk, 'ask' ); const fillSlot = this.orderSubscriber.getSlot(); const nodesToFill = dlob.findNodesToFill( market.marketIndex, fallbackBidPrice, fallbackAskPrice, fillSlot, this.clockSubscriber.getUnixTs() - EXPIRE_ORDER_BUFFER_SEC, MarketType.SPOT, oraclePriceData, this.driftClient.getStateAccount(), this.driftClient.getSpotMarketAccount(market.marketIndex)! ); const nodesToTrigger = dlob.findNodesToTrigger( market.marketIndex, fillSlot, oraclePriceData.price, MarketType.SPOT, this.driftClient.getStateAccount() ); return { nodesToFill: { nodesToFill, fallbackAskSource, fallbackBidSource }, nodesToTrigger, }; } private pickFallbackPrice( openbookPrice: BN | undefined, phoenixPrice: BN | undefined, side: 'bid' | 'ask' ): [BN | undefined, FallbackLiquiditySource | undefined] { if (openbookPrice && phoenixPrice) { if (side === 'bid') { return openbookPrice.gt(phoenixPrice) ? [openbookPrice, 'openbook'] : [phoenixPrice, 'phoenix']; } else { return openbookPrice.lt(phoenixPrice) ? [openbookPrice, 'openbook'] : [phoenixPrice, 'phoenix']; } } if (openbookPrice) { return [openbookPrice, 'openbook']; } if (phoenixPrice) { return [phoenixPrice, 'phoenix']; } return [undefined, undefined]; } private async getNodeFillInfo(nodeToFill: NodeToFill): Promise<{ makerInfos: Array<DataAndSlot<MakerInfo>>; takerUserPubKey: string; takerUser: UserAccount; takerUserSlot: number; marketType: MarketType; }> { const makerInfos: Array<DataAndSlot<MakerInfo>> = []; if (nodeToFill.makerNodes.length > 0) { let makerNodesMap: MakerNodeMap = new Map<string, DLOBNode[]>(); for (const makerNode of nodeToFill.makerNodes) { if (this.isDLOBNodeThrottled(makerNode)) { continue; } if (!makerNode.userAccount) { continue; } if (makerNodesMap.has(makerNode.userAccount!)) { makerNodesMap.get(makerNode.userAccount!)!.push(makerNode); } else { makerNodesMap.set(makerNode.userAccount!, [makerNode]); } } if (makerNodesMap.size > MAX_MAKERS_PER_FILL) { logger.info(`selecting from ${makerNodesMap.size} makers`); makerNodesMap = selectMakers(makerNodesMap); logger.info(`selected: ${Array.from(makerNodesMap.keys()).join(',')}`); } for (const [makerAccount, makerNodes] of makerNodesMap) { const makerNode = makerNodes[0]; const makerUserAccount = await this.getUserAccountAndSlotFromMap( makerAccount ); const makerAuthority = makerUserAccount.data.authority; const makerUserStats = ( await this.userStatsMap!.mustGet(makerAuthority.toString()) ).userStatsAccountPublicKey; makerInfos.push({ slot: makerUserAccount.slot, data: { maker: new PublicKey(makerAccount), makerUserAccount: makerUserAccount.data, order: makerNode.order, makerStats: makerUserStats, }, }); } } const node = nodeToFill.node; const order = node.order!; const user = await this.userMap!.mustGetWithSlot( node.userAccount!.toString(), this.driftClient.userAccountSubscriptionConfig ); return Promise.resolve({ makerInfos, takerUser: user.data.getUserAccount(), takerUserSlot: user.slot, takerUserPubKey: node.userAccount!.toString(), marketType: order.marketType, }); } /** * Checks if the node is still throttled, if not, clears it from the throttledNodes map * @param throttleKey key in throttleMap * @returns true if throttleKey is still throttled, false if throttleKey is no longer throttled */ protected isThrottledNodeStillThrottled(throttleKey: string): boolean { const lastFillAttempt = this.throttledNodes.get(throttleKey) || 0; if (lastFillAttempt + FILL_ORDER_THROTTLE_BACKOFF > Date.now()) { return true; } else { this.clearThrottledNode(throttleKey); return false; } } protected isDLOBNodeThrottled(dlobNode: DLOBNode): boolean { if (!dlobNode.userAccount || !dlobNode.order) { return false; } // first check if the userAccount itself is throttled const userAccountPubkey = dlobNode.userAccount; if (this.throttledNodes.has(userAccountPubkey)) { if (this.isThrottledNodeStillThrottled(userAccountPubkey)) { return true; } else { return false; } } // then check if the specific order is throttled const orderSignature = getFillSignatureFromUserAccountAndOrderId( dlobNode.userAccount, dlobNode.order.orderId.toString() ); if (this.throttledNodes.has(orderSignature)) { if (this.isThrottledNodeStillThrottled(orderSignature)) { return true; } else { return false; } } return false; } private setThrottleNode(nodeSignature: string) { this.throttledNodes.set(nodeSignature, Date.now()); } private clearThrottledNode(nodeSignature: string) { this.throttledNodes.delete(nodeSignature); } private pruneThrottledNode() { if (this.throttledNodes.size > THROTTLED_NODE_SIZE_TO_PRUNE) { for (const [key, value] of this.throttledNodes.entries()) { if (value + 2 * FILL_ORDER_THROTTLE_BACKOFF > Date.now()) { this.throttledNodes.delete(key); } } } } private removeTriggeringNodes(node: NodeToTrigger) { this.triggeringNodes.delete(getNodeToTriggerSignature(node)); } private async sleep(ms: number) { return new Promise((resolve) => setTimeout(resolve, ms)); } /** * Iterates through a tx's logs and handles it appropriately e.g. throttling users, updating metrics, etc.) * * @param nodesFilled nodes that we sent a transaction to fill * @param logs logs from tx.meta.logMessages or this.driftClient.program._events._eventParser.parseLogs * * @returns number of nodes successfully filled, and whether the tx exceeded CUs */ private async handleTransactionLogs( nodeFilled: NodeToFill, logs: string[] | null | undefined ): Promise<{ filledNodes: number; exceededCUs: boolean }> { if (!logs) { return { filledNodes: 0, exceededCUs: false, }; } let inFillIx = false; let errorThisFillIx = false; let successCount = 0; for (const log of logs) { if (log === null) { logger.error(`log is null`); continue; } const node = nodeFilled.node; const order = node.order!; if (isEndIxLog(this.driftClient.program.programId.toBase58(), log)) { if (!errorThisFillIx) { successCount++; } inFillIx = false; errorThisFillIx = false; continue; } if (isIxLog(log)) { if (isFillIxLog(log)) { inFillIx = true; errorThisFillIx = false; } else { inFillIx = false; } continue; } if (!inFillIx) { // this is not a log for a fill instruction continue; } // try to handle the log line const orderIdDoesNotExist = isOrderDoesNotExistLog(log); if (orderIdDoesNotExist) { logger.error( `spot node filled: ${node.userAccount!.toString()}, ${ order.orderId }; does not exist (filled by someone else); ${log}` ); this.throttledNodes.delete(getNodeToFillSignature(nodeFilled)); errorThisFillIx = true; continue; } const makerBreachedMaintenanceMargin = isMakerBreachedMaintenanceMarginLog(log); if (makerBreachedMaintenanceMargin) { const makerNode = getMakerNodeFromNodeToFill(nodeFilled); if (!makerNode) { logger.error( `Got maker breached maint. margin log, but don't have a maker node: ${log}\n${JSON.stringify( nodeFilled, null, 2 )}` ); continue; } const order = makerNode.order!; const makerNodeSignature = getFillSignatureFromUserAccountAndOrderId( makerNode.userAccount!.toString(), order.orderId.toString() ); logger.error( `maker breach maint. margin, assoc node: ${makerNode.userAccount!.toString()}, ${ order.orderId }; (throttling ${makerNodeSignature}); ${log}` ); this.throttledNodes.set(makerNodeSignature, Date.now()); errorThisFillIx = true; this.driftClient .forceCancelOrders( new PublicKey(makerNode.userAccount!), ( await this.userMap!.mustGet( makerNode.userAccount!.toString(), this.driftClient.userAccountSubscriptionConfig ) ).getUserAccount() ) .then((txSig) => { logger.info( `Force cancelled orders for maker ${makerNode.userAccount!} due to breach of maintenance margin. Tx: ${txSig}` ); }) .catch((e) => { console.error(e); logger.error( `Failed to send ForceCancelOrder Tx (error above), maker (${makerNode.userAccount!.toString()}) breach maint margin:` ); webhookMessage( `[${this.name}]: :x: error processing fill tx logs:\n${ e.stack ? e.stack : e.message }` ); }); continue; } const takerBreachedMaintenanceMargin = isTakerBreachedMaintenanceMarginLog(log); if (takerBreachedMaintenanceMargin) { const node = nodeFilled.node!; const order = node.order!; const takerNodeSignature = getFillSignatureFromUserAccountAndOrderId( node.userAccount!.toString(), order.orderId.toString() ); logger.error( `taker breach maint. margin, assoc node: ${node.userAccount!.toString()}, ${ order.orderId }; (throttling ${takerNodeSignature} and force cancelling orders); ${log}` ); this.throttledNodes.set(takerNodeSignature, Date.now()); errorThisFillIx = true; this.driftClient .forceCancelOrders( new PublicKey(node.userAccount!), ( await this.userMap!.mustGet( node.userAccount!.toString(), this.driftClient.userAccountSubscriptionConfig ) ).getUserAccount() ) .then((txSig) => { logger.info( `Force cancelled orders for user ${node.userAccount!} due to breach of maintenance margin. Tx: ${txSig}` ); }) .catch((e) => { console.error(e); logger.error( `Failed to send ForceCancelOrder Tx (error above), taker (${node.userAccount!}) breach maint margin:` ); webhookMessage( `[${this.name}]: :x: error processing fill tx logs:\n${ e.stack ? e.stack : e.message }` ); }); continue; } } if (logs.length > 0) { if ( logs[logs.length - 1].includes('exceeded CUs meter at BPF instruction') ) { return { filledNodes: successCount, exceededCUs: true, }; } } return { filledNodes: successCount, exceededCUs: false, }; } private async processBulkFillTxLogs( fillTxId: number, nodeToFill: NodeToFill, txSig: string, tx?: VersionedTransaction ): Promise<number> { let txResp: VersionedTransactionResponse | null = null; let attempts = 0; while (txResp === null && attempts < CONFIRM_TX_ATTEMPTS) { logger.info( `(fillTxId: ${fillTxId}) waiting for https://solscan.io/tx/${txSig} to be confirmed` ); txResp = await this.driftClient.connection.getTransaction(txSig, { commitment: 'confirmed', maxSupportedTransactionVersion: 0, }); if (txResp === null) { if (tx !== undefined) { await this.driftClient.txSender.sendVersionedTransaction( tx, [], this.driftClient.opts ); } attempts++; await this.sleep(1000); } } if (txResp === null) { logger.error( `(fillTxId: ${fillTxId})tx ${txSig} not found after ${attempts}` ); return 0; } return ( await this.handleTransactionLogs(nodeToFill, txResp.meta!.logMessages!) ).filledNodes; } /** * Queues up the txSig to be confirmed in a slower loop, and have tx logs handled * @param txSig */ protected async registerTxSigToConfirm( txSig: TransactionSignature, now: number, nodeFilled: NodeToFill | undefined, fillTxId: number, txType: TxType ) { this.pendingTxSigsToconfirm.set(txSig, { ts: now, nodeFilled, fillTxId, txType, }); const user = this.driftClient.getUser(); this.sentTxsCounter?.add(1, { txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } private async sendTxThroughJito( tx: VersionedTransaction, metadata: number | string, txSig?: string ) { if (this.bundleSender === undefined) { logger.error(`Called sendTxThroughJito without jito properly enabled`); return; } if ( this.bundleSender?.strategy === 'jito-only' || this.bundleSender?.strategy === 'hybrid' ) { const slotsUntilNextLeader = this.bundleSender?.slotsUntilNextLeader(); if (slotsUntilNextLeader !== undefined) { this.bundleSender.sendTransactions( [tx], `(fillTxId: ${metadata})`, txSig, false ); } } } private usingJito(): boolean { return this.bundleSender !== undefined; } private canSendOutsideJito(): boolean { return ( !this.usingJito() || this.bundleSender?.strategy === 'non-jito-only' || this.bundleSender?.strategy === 'hybrid' ); } private slotsUntilJitoLeader(): number | undefined { if (!this.usingJito()) { return undefined; } return this.bundleSender?.slotsUntilNextLeader(); } private shouldBuildForBundle(): boolean { if (!this.usingJito()) { return false; } if (this.globalConfig.onlySendDuringJitoLeader === true) { const slotsUntilJito = this.slotsUntilJitoLeader(); if (slotsUntilJito === undefined) { return false; } return slotsUntilJito < SLOTS_UNTIL_JITO_LEADER_TO_SEND; } return true; } private async getBlockhashForTx(): Promise<string> { const cachedBlockhash = this.blockhashSubscriber.getLatestBlockhash( CACHED_BLOCKHASH_OFFSET ); if (cachedBlockhash) { return cachedBlockhash.blockhash as string; } const recentBlockhash = await this.driftClient.connection.getLatestBlockhash({ commitment: 'confirmed', }); return recentBlockhash.blockhash; } protected async sendFillTxAndParseLogs( fillTxId: number, nodeSent: NodeToFill, tx: VersionedTransaction, buildForBundle: boolean, lutAccounts: Array<AddressLookupTableAccount> ) { const txSigners = [this.driftClient.wallet.payer]; // @ts-ignore tx.sign(txSigners); const txSig = bs58.encode(tx.signatures[0]); this.registerTxSigToConfirm(txSig, Date.now(), nodeSent, fillTxId, 'fill'); if (buildForBundle) { await this.sendTxThroughJito(tx, fillTxId, txSig); } else if (this.canSendOutsideJito()) { const { estTxSize, accountMetas, writeAccs, txAccounts } = getTransactionAccountMetas(tx, lutAccounts); this.driftClient.txSender .sendVersionedTransaction(tx, [], this.driftClient.opts, true) .then(async (txSig) => { logger.info( `Filled spot order (fillTxId: ${fillTxId}): https://solscan.io/tx/${txSig.txSig}` ); const parseLogsStart = Date.now(); this.processBulkFillTxLogs(fillTxId, nodeSent, txSig.txSig, tx) .then((successfulFills) => { const processBulkFillLogsDuration = Date.now() - parseLogsStart; logger.info( `parse logs took ${processBulkFillLogsDuration}ms, successfulFills ${successfulFills} (fillTxId: ${fillTxId})` ); }) .catch((err) => { const e = err as Error; logger.error( `Failed to process fill tx logs (fillTxId: ${fillTxId}):\n${ e.stack ? e.stack : e.message }` ); webhookMessage( `[${this.name}]: :x: error processing fill tx logs:\n${ e.stack ? e.stack : e.message }` ); }); }) .catch(async (e) => { const simError = e as SendTransactionError; logger.error( `Failed to send packed tx txAccountKeys: ${txAccounts} (${writeAccs} writeable) (fillTxId: ${fillTxId}), error: ${simError.message}` ); if (e.message.includes('too large:')) { logger.error( `[${ this.name }]: :boxing_glove: Tx too large, estimated to be ${estTxSize} (fillTxId: ${fillTxId}). ${ e.message }\n${JSON.stringify(accountMetas)}` ); webhookMessage( `[${ this.name }]: :boxing_glove: Tx too large (fillTxId: ${fillTxId}). ${ e.message }\n${JSON.stringify(accountMetas)}` ); return; } if (simError.logs && simError.logs.length > 0) { await this.handleTransactionLogs(nodeSent, simError.logs); const errorCode = getErrorCode(e); logger.error( `Failed to send tx, sim error (fillTxId: ${fillTxId}) error code: ${errorCode}` ); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(e as Error).message.includes('Transaction was not confirmed') ) { const user = this.driftClient.getUser(); this.txSimErrorCounter?.add(1, { errorCode: errorCode.toString(), ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); logger.error( `Failed to send tx, sim error (fillTxId: ${fillTxId}) sim logs:\n${ simError.logs ? simError.logs.join('\n') : '' }\n${e.stack || e}` ); webhookMessage( `[${this.name}]: :x: error simulating tx:\n${ simError.logs ? simError.logs.join('\n') : '' }\n${e.stack || e}`, process.env.TX_LOG_WEBHOOK_URL ); } } }) .finally(() => { this.clearThrottledNode(getNodeToFillSignature(nodeSent)); }); } } private async getPythIxsFromNode( node: NodeToFill | NodeToTrigger ): Promise<TransactionInstruction[]> { const marketIndex = node.node.order?.marketIndex; if (marketIndex === undefined) { throw new Error('Market index not found on node'); } if (!this.pythPriceSubscriber) { throw new Error('Pyth price subscriber not initialized'); } const pythIxs = await getAllPythOracleUpdateIxs( this.runtimeSpec.driftEnv as DriftEnv, marketIndex, MarketType.SPOT, this.pythPriceSubscriber!, this.driftClient, this.globalConfig.numNonActiveOraclesToPush ?? 0 ); return pythIxs; } /** * * @param fillTxId id of current fill * @param nodeToFill taker node to fill with list of makers to use * @returns true if successful, false if fail, and should retry with fewer makers */ private async fillMultiMakerSpotNodes( fillTxId: number, nodeToFill: NodeToFill, buildForBundle: boolean, spotPrecision: BN ): Promise<boolean> { const ixs: Array<TransactionInstruction> = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() ), }) ); } try { const { makerInfos, takerUser, takerUserPubKey, takerUserSlot, marketType, } = await this.getNodeFillInfo(nodeToFill); logger.info( logMessageForNodeToFill( nodeToFill, takerUserPubKey, takerUserSlot, makerInfos, this.getMaxSlot(), `Filling multi maker spot node with ${nodeToFill.makerNodes.length} makers (fillTxId: ${fillTxId})`, spotPrecision, 'SHOULD_NOT_HAVE_NO_MAKERS' ) ); if (!isVariant(marketType, 'spot')) { throw new Error('expected spot market type'); } let makerInfosToUse = makerInfos; const buildTxWithMakerInfos = async ( makers: DataAndSlot<MakerInfo>[] ): Promise<SimulateAndGetTxWithCUsResponse> => { ixs.push( await this.driftClient.getFillSpotOrderIx( new PublicKey(takerUserPubKey), takerUser, nodeToFill.node.order!, undefined, makers.map((m) => m.data) ) ); if (this.revertOnFailure) { ixs.push(await this.driftClient.getRevertFillIx()); } const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: DUMP_TXS_IN_SIM, }); const user = this.driftClient.getUser(); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'multiMakerFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'multiMakerFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); return simResult; }; let simResult = await buildTxWithMakerInfos(makerInfosToUse); let txAccounts = simResult.tx.message.getAccountKeys({ addressLookupTableAccounts: this.lookupTableAccounts, }).length; let attempt = 0; while (txAccounts > MAX_ACCOUNTS_PER_TX && makerInfosToUse.length > 0) { logger.info( `(fillTxId: ${fillTxId} attempt ${attempt++}) Too many accounts, remove 1 and try again (had ${ makerInfosToUse.length } maker and ${txAccounts} accounts)` ); makerInfosToUse = makerInfosToUse.slice(0, makerInfosToUse.length - 1); simResult = await buildTxWithMakerInfos(makerInfosToUse); txAccounts = simResult.tx.message.getAccountKeys({ addressLookupTableAccounts: this.lookupTableAccounts, }).length; } if (makerInfosToUse.length === 0) { logger.error( `No makerInfos left to use for multi maker spot node (fillTxId: ${fillTxId})` ); return true; } logger.info( `tryFillMultiMakerSpotNodes estimated CUs: ${simResult.cuEstimate} (fillTxId: ${fillTxId})` ); if (simResult.simError) { logger.error( `Error simulating multi maker spot node (fillTxId: ${fillTxId}): ${JSON.stringify( simResult.simError )}\nTaker slot: ${takerUserSlot}\nMaker slots: ${makerInfosToUse .map((m) => ` ${m.data.maker.toBase58()}: ${m.slot}`) .join('\n')}` ); handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (fillTxId: ${fillTxId})` ); if (simResult.simTxLogs) { const { exceededCUs } = await this.handleTransactionLogs( nodeToFill, simResult.simTxLogs ); if (exceededCUs) { return false; } } } else { if (!this.dryRun) { if (this.hasEnoughSolToFill) { this.sendFillTxAndParseLogs( fillTxId, nodeToFill, simResult.tx, buildForBundle, this.lookupTableAccounts ); } else { logger.info( `not sending tx because we don't have enough SOL to fill (fillTxId: ${fillTxId})` ); } } else { logger.info(`dry run, not sending tx (fillTxId: ${fillTxId})`); } } } catch (e) { if (e instanceof Error) { logger.error( `Error filling multi maker spot node (fillTxId: ${fillTxId}): ${ e.stack ? e.stack : e.message }` ); } } return true; } /** * It's difficult to estimate CU cost of multi maker ix, so we'll just send it in its own transaction. * This will keep retrying with a smaller set of makers until it succeeds or runs out of makers. * @param nodeToFill node with multiple makers */ private async tryFillMultiMakerSpotNode( fillTxId: number, nodeToFill: NodeToFill, buildForBundle: boolean, spotPrecision: BN ) { let nodeWithMakerSet = nodeToFill; while ( !(await this.fillMultiMakerSpotNodes( fillTxId, nodeWithMakerSet, buildForBundle, spotPrecision )) ) { const newMakerSet = nodeWithMakerSet.makerNodes .sort(() => 0.5 - Math.random()) .slice(0, Math.ceil(nodeWithMakerSet.makerNodes.length / 2)); nodeWithMakerSet = { node: nodeWithMakerSet.node, makerNodes: newMakerSet, }; if (newMakerSet.length === 0) { logger.error( `No makers left to use for multi maker spot node (fillTxId: ${fillTxId})` ); return; } } } private async tryFillSpotNode( nodeToFill: NodeToFill, fillTxId: number, buildForBundle: boolean, fallbackAskSource?: FallbackLiquiditySource, fallbackBidSource?: FallbackLiquiditySource ) { const node = nodeToFill.node!; const order = node.order!; const spotMarket = this.driftClient.getSpotMarketAccount( order.marketIndex )!; const spotMarketPrecision = TEN.pow(new BN(spotMarket.decimals)); if (nodeToFill.makerNodes.length > 1) { // do multi maker fills in a separate tx since they're larger return this.tryFillMultiMakerSpotNode( fillTxId, nodeToFill, buildForBundle, spotMarketPrecision ); } const fallbackSource = isVariant(order.direction, 'short') ? fallbackBidSource : fallbackAskSource; const { makerInfos, takerUser, takerUserPubKey, takerUserSlot, marketType, } = await this.getNodeFillInfo(nodeToFill); if (!isVariant(marketType, 'spot')) { throw new Error('expected spot market type'); } const makerInfo = makerInfos.length > 0 ? makerInfos[0].data : undefined; let fulfillmentConfig: | PhoenixV1FulfillmentConfigAccount | OpenbookV2FulfillmentConfigAccount | undefined = undefined; if (makerInfo === undefined) { if (fallbackSource === 'phoenix') { const cfg = this.phoenixFulfillmentConfigMap.get( nodeToFill.node.order!.marketIndex ); if (cfg && isVariant(cfg.status, 'enabled')) { fulfillmentConfig = cfg; } } else if (fallbackSource === 'openbook') { const cfg = this.openbookFulfillmentConfigMap.get( nodeToFill.node.order!.marketIndex ); if (cfg && isVariant(cfg.status, 'enabled')) { fulfillmentConfig = cfg; } } else { logger.error( `makerInfo doesnt exist and unknown fallback source: ${fallbackSource} (fillTxId: ${fillTxId})` ); } } logger.info( logMessageForNodeToFill( nodeToFill, takerUserPubKey, takerUserSlot, makerInfos, this.getMaxSlot(), `Filling spot node with ${nodeToFill.makerNodes.length} makers (fillTxId: ${fillTxId})`, spotMarketPrecision, fallbackSource as string ) ); const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { const priorityFee = Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() ); logger.info(`(fillTxId: ${fillTxId}) Using priority fee: ${priorityFee}`); ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityFee, }) ); } ixs.push( await this.driftClient.getFillSpotOrderIx( new PublicKey(takerUserPubKey), takerUser, nodeToFill.node.order, fulfillmentConfig, makerInfo ) ); if (this.revertOnFailure) { ixs.push(await this.driftClient.getRevertFillIx()); } const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: DUMP_TXS_IN_SIM, }); const user = this.driftClient.getUser(); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'spotFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'spotFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); if (this.simulateTxForCUEstimate && simResult.simError) { logger.error( `simError: ${JSON.stringify( simResult.simError )} (fillTxId: ${fillTxId})` ); handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (fillTxId: ${fillTxId})` ); if (simResult.simTxLogs) { await this.handleTransactionLogs(nodeToFill, simResult.simTxLogs); } } else { if (this.dryRun) { logger.info(`dry run, not filling spot order (fillTxId: ${fillTxId})`); } else { if (this.hasEnoughSolToFill) { this.sendFillTxAndParseLogs( fillTxId, nodeToFill, simResult.tx, buildForBundle, this.lookupTableAccounts ); } else { logger.info( `not sending tx because we don't have enough SOL to fill (fillTxId: ${fillTxId})` ); } } } } private filterTriggerableNodes(nodeToTrigger: NodeToTrigger): boolean { if (nodeToTrigger.node.haveTrigger) { return false; } const now = Date.now(); const nodeToFillSignature = getNodeToTriggerSignature(nodeToTrigger); const timeStartedToTriggerNode = this.triggeringNodes.get(nodeToFillSignature); if (timeStartedToTriggerNode) { if (timeStartedToTriggerNode + TRIGGER_ORDER_COOLDOWN_MS > now) { return false; } } return true; } private async executeFillableSpotNodesForMarket( fillableNodes: Array<NodesToFillWithContext>, buildForBundle: boolean ) { for (const nodesToFillWithContext of fillableNodes) { for (const nodeToFill of nodesToFillWithContext.nodesToFill) { await this.tryFillSpotNode( nodeToFill, this.fillTxId++, buildForBundle, nodesToFillWithContext.fallbackAskSource, nodesToFillWithContext.fallbackBidSource ); } } } private async executeTriggerableSpotNodesForMarket( triggerableNodes: Array<NodeToTrigger>, buildForBundle: boolean ) { for (const nodeToTrigger of triggerableNodes) { nodeToTrigger.node.haveTrigger = true; const nodeSignature = getNodeToTriggerSignature(nodeToTrigger); this.triggeringNodes.set(nodeSignature, Date.now()); const user = await this.userMap!.mustGetWithSlot( nodeToTrigger.node.userAccount.toString(), this.driftClient.userAccountSubscriptionConfig ); const userAccount = user.data.getUserAccount(); const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() ), }) ); } ixs.push( await this.driftClient.getTriggerOrderIx( new PublicKey(nodeToTrigger.node.userAccount), userAccount, nodeToTrigger.node.order ) ); if (this.revertOnFailure) { ixs.push(await this.driftClient.getRevertFillIx()); } const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: DUMP_TXS_IN_SIM, }); const driftUser = this.driftClient.getUser(); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'trigger', simError: simResult.simError !== null, ...metricAttrFromUserAccount( driftUser.userAccountPublicKey, driftUser.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'trigger', simError: simResult.simError !== null, ...metricAttrFromUserAccount( driftUser.userAccountPublicKey, driftUser.getUserAccount() ), }); if (this.simulateTxForCUEstimate && simResult.simError) { handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (executeTriggerableSpotNodesForMarket)` ); logger.error( `executeTriggerableSpotNodesForMarket simError: (simError: ${JSON.stringify( simResult.simError )})` ); } else { if (!this.dryRun) { if (this.hasEnoughSolToFill) { const txSigners = [this.driftClient.wallet.payer]; // @ts-ignore; simResult.tx.sign(txSigners); const txSig = bs58.encode(simResult.tx.signatures[0]); this.registerTxSigToConfirm( txSig, Date.now(), undefined, -1, 'trigger' ); if (buildForBundle) { await this.sendTxThroughJito(simResult.tx, 'triggerOrder', txSig); this.removeTriggeringNodes(nodeToTrigger); } else if (this.canSendOutsideJito()) { this.driftClient .sendTransaction(simResult.tx) .then((txSig) => { logger.info( `Triggered user (account: ${nodeToTrigger.node.userAccount.toString()}, userSlot: ${ user.slot }) order: ${nodeToTrigger.node.order.orderId.toString()}` ); logger.info(`Tx: ${txSig}`); }) .catch((error) => { nodeToTrigger.node.haveTrigger = false; const errorCode = getErrorCode(error); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(error as Error).message.includes( 'Transaction was not confirmed' ) ) { const user = this.driftClient.getUser(); this.txSimErrorCounter?.add(1, { errorCode: errorCode.toString(), ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); logger.error( `Error(${errorCode}) triggering order for user(account: ${nodeToTrigger.node.userAccount.toString()}) order: ${nodeToTrigger.node.order.orderId.toString()} ` ); logger.error(error); webhookMessage( `[${ this.name }]: Error(${errorCode}) triggering order for user(account: ${nodeToTrigger.node.userAccount.toString()}) order: ${nodeToTrigger.node.order.orderId.toString()} \n${ error.stack ? error.stack : error.message } ` ); } }) .finally(() => { this.removeTriggeringNodes(nodeToTrigger); }); } } else { logger.info(`Not enough SOL to fill, not triggering node`); } } else { logger.info(`dry run, not triggering node`); } } } const user = this.driftClient.getUser(); this.attemptedTriggersCounter?.add( triggerableNodes.length, metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ) ); } private async trySpotFill() { const startTime = Date.now(); let ran = false; try { // Check hasEnoughSolToFill before trying to fill, we do not want to fill if we don't have enough SOL if (!this.hasEnoughSolToFill) { logger.info(`Not enough SOL to fill, skipping periodic action`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); return; } await tryAcquire(this.periodicTaskMutex).runExclusive(async () => { const user = this.driftClient.getUser(); this.lastTryFillTimeGauge?.setLatestValue( Date.now(), metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); const dlob = this.dlobSubscriber!.getDLOB(); this.pruneThrottledNode(); // 1) get all fillable nodes const fillableNodes: Array<NodesToFillWithContext> = []; let triggerableNodes: Array<NodeToTrigger> = []; for (const market of this.driftClient.getSpotMarketAccounts()) { if (market.marketIndex === 0) { continue; } const { nodesToFill, nodesToTrigger } = this.getSpotNodesForMarket( market, dlob ); fillableNodes.push(nodesToFill); triggerableNodes = triggerableNodes.concat(nodesToTrigger); } logger.debug(`spot fillableNodes ${fillableNodes.length}`); // filter out nodes that we know cannot be triggered (spot nodes will be filtered in executeFillableSpotNodesForMarket) const filteredTriggerableNodes = triggerableNodes.filter( this.filterTriggerableNodes.bind(this) ); logger.debug( `filtered triggerable nodes from ${triggerableNodes.length} to ${filteredTriggerableNodes.length} ` ); const buildForBundle = this.shouldBuildForBundle(); await Promise.all([ this.executeFillableSpotNodesForMarket(fillableNodes, buildForBundle), this.executeTriggerableSpotNodesForMarket( filteredTriggerableNodes, buildForBundle ), ]); ran = true; }); } catch (e) { if (e === E_ALREADY_LOCKED) { const user = this.driftClient.getUser(); this.mutexBusyCounter!.add( 1, metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); } else { logger.error('some other error:'); console.error(e); if (e instanceof Error) { webhookMessage( `[${this.name}]: error trying to run main loop: \n${ e.stack ? e.stack : e.message } ` ); } } } finally { this.clockSubscriberTs?.setLatestValue( this.clockSubscriber.getUnixTs(), {} ); this.wallClockTs?.setLatestValue(Date.now() / 1000, {}); if (ran) { const duration = Date.now() - startTime; const user = this.driftClient.getUser(); if (this.tryFillDurationHistogram) { this.tryFillDurationHistogram!.record( duration, metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); } logger.debug(`trySpotFill done, took ${duration} ms`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } } protected async rebalanceSpotFiller() { logger.info(`Rebalancing filler`); const fillerSolBalance = await this.driftClient.connection.getBalance( this.driftClient.authority ); this.hasEnoughSolToFill = fillerSolBalance >= this.minGasBalanceToFill; const fillerDriftAccountUsdcBalance = this.driftClient.getTokenAmount(0); const usdcSpotMarket = this.driftClient.getSpotMarketAccount(0); const normalizedFillerDriftAccountUsdcBalance = fillerDriftAccountUsdcBalance.divn(10 ** usdcSpotMarket!.decimals); const isUsdcAmountRebalanceable = normalizedFillerDriftAccountUsdcBalance.gte( this.rebalanceSettledPnlThreshold ) || !this.hasEnoughSolToFill; logger.info( `SpotFiller has ${normalizedFillerDriftAccountUsdcBalance.toNumber()} USDC` ); if (isUsdcAmountRebalanceable) { if (this.jupiterClient !== undefined) { logger.info(`Swapping USDC for SOL to rebalance filler`); swapFillerHardEarnedUSDCForSOL( this.priorityFeeSubscriber, this.driftClient, this.jupiterClient, await this.getBlockhashForTx() ).then(async () => { const fillerSolBalanceAfterSwap = await this.driftClient.connection.getBalance( this.driftClient.authority, 'processed' ); this.hasEnoughSolToFill = fillerSolBalanceAfterSwap >= this.minGasBalanceToFill; }); } else { throw new Error( 'Jupiter client not initialized but trying to rebalance' ); } } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/userIdleFlipper.ts
import { BN, DriftClient, UserAccount, PublicKey, UserMap, TxSigAndSlot, BlockhashSubscriber, } from '@drift-labs/sdk'; import { Mutex } from 'async-mutex'; import { logger } from '../logger'; import { Bot } from '../types'; import { BaseBotConfig } from '../config'; import { AddressLookupTableAccount, ComputeBudgetProgram, } from '@solana/web3.js'; import { simulateAndGetTxWithCUs, sleepMs } from '../utils'; const USER_IDLE_CHUNKS = 9; const SLEEP_MS = 1000; const CACHED_BLOCKHASH_OFFSET = 5; export class UserIdleFlipperBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly runOnce: boolean; public readonly defaultIntervalMs: number = 600000; private driftClient: DriftClient; private lookupTableAccount?: AddressLookupTableAccount; private intervalIds: Array<NodeJS.Timer> = []; private userMap: UserMap; private blockhashSubscriber: BlockhashSubscriber; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); constructor( driftClient: DriftClient, config: BaseBotConfig, blockhashSubscriber: BlockhashSubscriber ) { this.name = config.botId; this.dryRun = config.dryRun; this.runOnce = config.runOnce || false; this.driftClient = driftClient; this.userMap = new UserMap({ driftClient: this.driftClient, subscriptionConfig: { type: 'polling', frequency: 60_000, commitment: this.driftClient.opts?.commitment, }, skipInitialLoad: false, includeIdle: false, }); this.blockhashSubscriber = blockhashSubscriber; } public async init() { logger.info(`${this.name} initing`); await this.driftClient.subscribe(); if (!(await this.driftClient.getUser().exists())) { throw new Error( `User for ${this.driftClient.wallet.publicKey.toString()} does not exist` ); } await this.userMap.subscribe(); this.lookupTableAccount = await this.driftClient.fetchMarketLookupTableAccount(); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.userMap?.unsubscribe(); } public async startIntervalLoop(intervalMs?: number): Promise<void> { logger.info(`${this.name} Bot started!`); if (this.runOnce) { await this.tryIdleUsers(); } else { const intervalId = setInterval(this.tryIdleUsers.bind(this), intervalMs); this.intervalIds.push(intervalId); } } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 2 * this.defaultIntervalMs; }); return healthy; } private async tryIdleUsers() { try { console.log('tryIdleUsers'); const currentSlot = await this.driftClient.connection.getSlot(); const usersToIdle: Array<[PublicKey, UserAccount]> = []; for (const user of this.userMap.values()) { if (user.canMakeIdle(new BN(currentSlot))) { usersToIdle.push([ user.getUserAccountPublicKey(), user.getUserAccount(), ]); logger.info( `Can idle user ${user.getUserAccount().authority.toBase58()}` ); } } logger.info(`Found ${usersToIdle.length} users to idle`); for (let i = 0; i < usersToIdle.length; i += USER_IDLE_CHUNKS) { const usersChunk = usersToIdle.slice(i, i + USER_IDLE_CHUNKS); await this.trySendTxforChunk(usersChunk); } } catch (err) { console.error(err); if (!(err instanceof Error)) { return; } } finally { logger.info('UserIdleSettler finished'); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } private async trySendTxforChunk( usersChunk: Array<[PublicKey, UserAccount]> ): Promise<void> { const success = await this.sendTxforChunk(usersChunk); if (!success) { const slice = usersChunk.length / 2; if (slice < 1) { return; } await sleepMs(SLEEP_MS); await this.trySendTxforChunk(usersChunk.slice(0, slice)); await sleepMs(SLEEP_MS); await this.trySendTxforChunk(usersChunk.slice(slice)); } await sleepMs(SLEEP_MS); } private async getBlockhashForTx(): Promise<string> { const cachedBlockhash = this.blockhashSubscriber.getLatestBlockhash( CACHED_BLOCKHASH_OFFSET ); if (cachedBlockhash) { return cachedBlockhash.blockhash as string; } const recentBlockhash = await this.driftClient.connection.getLatestBlockhash({ commitment: 'finalized', }); if (!recentBlockhash) { throw new Error('No recent blockhash found??'); } return recentBlockhash.blockhash; } private async sendTxforChunk( usersChunk: Array<[PublicKey, UserAccount]> ): Promise<boolean> { if (usersChunk.length === 0) { return true; } let success = false; try { const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // simulation will ovewrrite this }), ComputeBudgetProgram.setComputeUnitPrice({ microLamports: 50000, }), ]; for (const [userAccountPublicKey, userAccount] of usersChunk) { ixs.push( await this.driftClient.getUpdateUserIdleIx( userAccountPublicKey, userAccount ) ); } if (ixs.length === 2) { throw new Error( `Tried to send a tx with 0 users, chunkSize: ${usersChunk.length}` ); } const recentBlockhash = await this.getBlockhashForTx(); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: [this.lookupTableAccount!], cuLimitMultiplier: 1.1, doSimulation: true, recentBlockhash, }); logger.info( `User idle flipper estimated ${simResult.cuEstimate} CUs for ${usersChunk.length} users.` ); if (simResult.simError !== null) { logger.error( `Sim error: ${JSON.stringify(simResult.simError)}\n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }` ); success = false; } else { const txSigAndSlot = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, [], this.driftClient.opts ); this.logTxAndSlotForUsers(txSigAndSlot, usersChunk); success = true; } } catch (e) { const userKeys = usersChunk .map(([userAccountPublicKey, _]) => userAccountPublicKey.toBase58()) .join(', '); logger.error(`Failed to idle users: ${userKeys}`); logger.error(e); } return success; } private logTxAndSlotForUsers( txSigAndSlot: TxSigAndSlot, usersChunk: Array<[PublicKey, UserAccount]> ) { const txSig = txSigAndSlot.txSig; for (const [userAccountPublicKey, _] of usersChunk) { logger.info( `Flipped user ${userAccountPublicKey.toBase58()} https://solscan.io/tx/${txSig}` ); } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/userPnlSettler.ts
import { BN, DriftClient, UserAccount, PublicKey, PerpMarketAccount, SpotMarketAccount, OraclePriceData, calculateClaimablePnl, QUOTE_PRECISION, UserMap, ZERO, calculateNetUserPnlImbalance, convertToNumber, isOracleValid, isVariant, TxSigAndSlot, timeRemainingUntilUpdate, getTokenAmount, SpotBalanceType, calculateNetUserPnl, BASE_PRECISION, QUOTE_SPOT_MARKET_INDEX, isOperationPaused, PerpOperation, PriorityFeeSubscriberMap, DriftMarketInfo, SlotSubscriber, } from '@drift-labs/sdk'; import { Mutex } from 'async-mutex'; import { getErrorCode } from '../error'; import { logger } from '../logger'; import { Bot } from '../types'; import { webhookMessage } from '../webhook'; import { GlobalConfig, UserPnlSettlerConfig } from '../config'; import { decodeName, getDriftPriorityFeeEndpoint, handleSimResultError, simulateAndGetTxWithCUs, sleepMs, } from '../utils'; import { AddressLookupTableAccount, ComputeBudgetProgram, SendTransactionError, TransactionExpiredBlockheightExceededError, } from '@solana/web3.js'; const SETTLE_USER_CHUNKS = 4; const SLEEP_MS = 500; const CU_EST_MULTIPLIER = 1.25; const errorCodesToSuppress = [ 6010, // Error Code: UserHasNoPositionInMarket. Error Number: 6010. Error Message: User Has No Position In Market. 6035, // Error Code: InvalidOracle. Error Number: 6035. Error Message: InvalidOracle. 6078, // Error Code: PerpMarketNotFound. Error Number: 6078. Error Message: PerpMarketNotFound. 6095, // Error Code: InsufficientCollateralForSettlingPNL. Error Number: 6095. Error Message: InsufficientCollateralForSettlingPNL. ]; export class UserPnlSettlerBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly runOnce: boolean; public readonly defaultIntervalMs: number = 300_000; private driftClient: DriftClient; private slotSubscriber: SlotSubscriber; private globalConfig: GlobalConfig; private lookupTableAccount?: AddressLookupTableAccount; private intervalIds: Array<NodeJS.Timer> = []; private userMap: UserMap; private priorityFeeSubscriberMap?: PriorityFeeSubscriberMap; private inProgress = false; private marketIndexes: Array<number>; private minPnlToSettle: BN; private maxUsersToConsider: number; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); constructor( driftClient: DriftClient, slotSubscriber: SlotSubscriber, config: UserPnlSettlerConfig, globalConfig: GlobalConfig ) { this.name = config.botId; this.dryRun = config.dryRun; this.runOnce = config.runOnce || false; this.marketIndexes = config.perpMarketIndicies ?? []; this.minPnlToSettle = new BN( Math.abs(Number(config.settlePnlThresholdUsdc) ?? 10) * -1 ).mul(QUOTE_PRECISION); this.maxUsersToConsider = Number(config.maxUsersToConsider) ?? 50; this.globalConfig = globalConfig; this.driftClient = driftClient; this.slotSubscriber = slotSubscriber; this.userMap = new UserMap({ driftClient: this.driftClient, subscriptionConfig: { type: 'polling', frequency: 60_000, commitment: this.driftClient.opts?.commitment, }, skipInitialLoad: false, includeIdle: false, }); } public async init() { logger.info(`${this.name} initing`); const driftMarkets: DriftMarketInfo[] = []; for (const perpMarket of this.driftClient.getPerpMarketAccounts()) { driftMarkets.push({ marketType: 'perp', marketIndex: perpMarket.marketIndex, }); } logger.info( `Adding ${driftMarkets.length} perp markets to PriorityFeeSubscriberMap` ); this.priorityFeeSubscriberMap = new PriorityFeeSubscriberMap({ driftPriorityFeeEndpoint: getDriftPriorityFeeEndpoint( this.globalConfig.driftEnv! ), driftMarkets, frequencyMs: 10_000, }); await this.priorityFeeSubscriberMap!.subscribe(); await this.driftClient.subscribe(); await this.userMap.subscribe(); this.lookupTableAccount = await this.driftClient.fetchMarketLookupTableAccount(); logger.info(`${this.name} init'd!`); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.priorityFeeSubscriberMap!.unsubscribe(); await this.userMap?.unsubscribe(); } public async startIntervalLoop(intervalMs?: number): Promise<void> { logger.info(`${this.name} Bot started!`); if (this.runOnce) { await this.trySettlePnl(); } else { await this.trySettlePnl(); const intervalId = setInterval(this.trySettlePnl.bind(this), intervalMs); this.intervalIds.push(intervalId); } } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 2 * this.defaultIntervalMs; }); return healthy; } private async trySettlePnl() { if (this.inProgress) { logger.info(`Settle PnLs already in progress, skipping...`); return; } const start = Date.now(); try { this.inProgress = true; const perpMarketAndOracleData: { [marketIndex: number]: { marketAccount: PerpMarketAccount; oraclePriceData: OraclePriceData; }; } = {}; const spotMarketAndOracleData: { [marketIndex: number]: { marketAccount: SpotMarketAccount; oraclePriceData: OraclePriceData; }; } = {}; for (const perpMarket of this.driftClient.getPerpMarketAccounts()) { perpMarketAndOracleData[perpMarket.marketIndex] = { marketAccount: perpMarket, oraclePriceData: this.driftClient.getOracleDataForPerpMarket( perpMarket.marketIndex ), }; } for (const spotMarket of this.driftClient.getSpotMarketAccounts()) { spotMarketAndOracleData[spotMarket.marketIndex] = { marketAccount: spotMarket, oraclePriceData: this.driftClient.getOracleDataForSpotMarket( spotMarket.marketIndex ), }; } for (const market of this.driftClient.getPerpMarketAccounts()) { const oracleValid = isOracleValid( perpMarketAndOracleData[market.marketIndex].marketAccount, perpMarketAndOracleData[market.marketIndex].oraclePriceData, this.driftClient.getStateAccount().oracleGuardRails, this.slotSubscriber.getSlot() ); if (!oracleValid) { logger.warn(`Oracle for market ${market.marketIndex} is not valid`); } } const usersToSettleMap: Map< number, { settleeUserAccountPublicKey: PublicKey; settleeUserAccount: UserAccount; pnl: number; }[] > = new Map(); const nowTs = Date.now() / 1000; for (const user of this.userMap!.values()) { const userAccount = user.getUserAccount(); const userAccKeyStr = user.getUserAccountPublicKey().toBase58(); const isUsdcBorrow = userAccount.spotPositions[0] && isVariant(userAccount.spotPositions[0].balanceType, 'borrow'); const usdcAmount = user.getTokenAmount(QUOTE_SPOT_MARKET_INDEX); for (const settleePosition of user.getActivePerpPositions()) { logger.debug( `Checking user ${userAccKeyStr} position in market ${settleePosition.marketIndex}` ); if ( this.marketIndexes.length > 0 && !this.marketIndexes.includes(settleePosition.marketIndex) ) { logger.info( `Skipping user ${userAccKeyStr} in market ${ settleePosition.marketIndex } because it's not in the market indexes to settle (${this.marketIndexes.join( ', ' )})` ); continue; } // only settle active positions (base amount) or negative quote if ( settleePosition.quoteAssetAmount.gte(ZERO) && settleePosition.baseAssetAmount.eq(ZERO) && settleePosition.lpShares.eq(ZERO) ) { logger.debug( `Skipping user ${userAccKeyStr}-${settleePosition.marketIndex} because no base amount and has positive quote amount` ); continue; } const perpMarketIdx = settleePosition.marketIndex; const perpMarket = perpMarketAndOracleData[perpMarketIdx].marketAccount; let settleePositionWithLp = settleePosition; if (!settleePosition.lpShares.eq(ZERO)) { settleePositionWithLp = user.getPerpPositionWithLPSettle( perpMarketIdx, settleePosition )[0]; } const spotMarketIdx = 0; const settlePnlWithPositionPaused = isOperationPaused( perpMarket.pausedOperations, PerpOperation.SETTLE_PNL_WITH_POSITION ); if ( settlePnlWithPositionPaused && !settleePositionWithLp.baseAssetAmount.eq(ZERO) ) { logger.debug( `Skipping user ${userAccKeyStr}-${settleePosition.marketIndex} because settling pnl with position blocked` ); continue; } if ( !perpMarketAndOracleData[perpMarketIdx] || !spotMarketAndOracleData[spotMarketIdx] ) { logger.error( `Skipping user ${userAccKeyStr}-${settleePosition.marketIndex} because no spot market or oracle data` ); continue; } const userUnsettledPnl = calculateClaimablePnl( perpMarketAndOracleData[perpMarketIdx].marketAccount, spotMarketAndOracleData[spotMarketIdx].marketAccount, // always liquidating the USDC spot market settleePositionWithLp, perpMarketAndOracleData[perpMarketIdx].oraclePriceData ); const twoPctOfOpenInterestBase = BN.min( perpMarket.amm.baseAssetAmountLong, perpMarket.amm.baseAssetAmountShort.abs() ).div(new BN(50)); const fiveHundredNotionalBase = QUOTE_PRECISION.mul(new BN(500)) .mul(BASE_PRECISION) .div(perpMarket.amm.historicalOracleData.lastOraclePriceTwap5Min); const largeUnsettledLP = perpMarket.amm.baseAssetAmountWithUnsettledLp .abs() .gt(twoPctOfOpenInterestBase) && perpMarket.amm.baseAssetAmountWithUnsettledLp .abs() .gt(fiveHundredNotionalBase); const timeToFundingUpdate = timeRemainingUntilUpdate( new BN(nowTs ?? Date.now() / 1000), perpMarketAndOracleData[perpMarketIdx].marketAccount.amm .lastFundingRateTs, perpMarketAndOracleData[perpMarketIdx].marketAccount.amm .fundingPeriod ); const shouldSettleLp = settleePosition.lpShares.gt(ZERO) && (timeToFundingUpdate.ltn(15 * 60) || // settle lp positions within 15 min of funding update largeUnsettledLP); logger.debug( `User ${userAccKeyStr}-${settleePosition.marketIndex} shouldSettleLp: ${shouldSettleLp}, largeUnsettledLp: ${largeUnsettledLP}, timeToUpdate: ${timeToFundingUpdate}` ); // skip users that have: // (no unsettledPnl AND no lpShares) // OR // (if they have unsettledPnl > min AND baseAmount != 0 AND no usdcBorrow AND no lpShares) if ( (userUnsettledPnl.eq(ZERO) && settleePositionWithLp.lpShares.eq(ZERO)) || (userUnsettledPnl.gt(this.minPnlToSettle) && !settleePositionWithLp.baseAssetAmount.eq(ZERO) && !isUsdcBorrow && settleePositionWithLp.lpShares.eq(ZERO)) ) { logger.debug( `Skipping user ${userAccKeyStr}-${settleePosition.marketIndex} with (no unsettledPnl and no lpShares) OR (unsettledPnl > $10 and no usdcBorrow and no lpShares)` ); continue; } // if user has usdc borrow, only settle if magnitude of pnl is material ($10 and 1% of borrow) if ( isUsdcBorrow && (userUnsettledPnl.abs().lt(this.minPnlToSettle.abs()) || userUnsettledPnl.abs().lt(usdcAmount.abs().div(new BN(100)))) ) { logger.debug( `Skipping user ${userAccKeyStr}-${settleePosition.marketIndex} with usdcBorrow AND (unsettledPnl < $10 or unsettledPnl < 1% of borrow)` ); continue; } if (settleePositionWithLp.lpShares.gt(ZERO) && !shouldSettleLp) { logger.debug( `Skipping user ${userAccKeyStr}-${ settleePosition.marketIndex } with lpShares and shouldSettleLp === false, timeToFundingUpdate: ${timeToFundingUpdate.toNumber()}` ); continue; } const pnlPool = perpMarketAndOracleData[perpMarketIdx].marketAccount.pnlPool; let pnlToSettleWithUser = ZERO; let pnlPoolTookenAmount = ZERO; if (userUnsettledPnl.gt(ZERO)) { pnlPoolTookenAmount = getTokenAmount( pnlPool.scaledBalance, spotMarketAndOracleData[pnlPool.marketIndex].marketAccount, SpotBalanceType.DEPOSIT ); pnlToSettleWithUser = BN.min(userUnsettledPnl, pnlPoolTookenAmount); } if (pnlToSettleWithUser.gt(ZERO)) { const netUserPnl = calculateNetUserPnl( perpMarketAndOracleData[perpMarketIdx].marketAccount, perpMarketAndOracleData[perpMarketIdx].oraclePriceData ); let maxPnlPoolExcess = ZERO; if (netUserPnl.lt(pnlPoolTookenAmount)) { maxPnlPoolExcess = pnlPoolTookenAmount.sub( BN.max(netUserPnl, ZERO) ); } // we're only allowed to settle positive pnl if pnl pool is in excess if (maxPnlPoolExcess.lte(ZERO)) { logger.warn( `Want to settle positive PnL for user ${user .getUserAccountPublicKey() .toBase58()} in market ${perpMarketIdx}, but maxPnlPoolExcess is: (${convertToNumber( maxPnlPoolExcess, QUOTE_PRECISION )})` ); continue; } const netUserPnlImbalance = calculateNetUserPnlImbalance( perpMarketAndOracleData[perpMarketIdx].marketAccount, spotMarketAndOracleData[spotMarketIdx].marketAccount, perpMarketAndOracleData[perpMarketIdx].oraclePriceData ); if (netUserPnlImbalance.gt(ZERO)) { logger.warn( `Want to settle positive PnL for user ${user .getUserAccountPublicKey() .toBase58()} in market ${perpMarketIdx}, protocol's AMM lacks excess PnL (${convertToNumber( netUserPnlImbalance, QUOTE_PRECISION )})` ); continue; } } // only settle user pnl if they have enough collateral if (user.canBeLiquidated().canBeLiquidated) { logger.warn( `Want to settle negative PnL for user ${user .getUserAccountPublicKey() .toBase58()}, but they have insufficient collateral` ); continue; } const userData = { settleeUserAccountPublicKey: user.getUserAccountPublicKey(), settleeUserAccount: userAccount, pnl: convertToNumber(userUnsettledPnl, QUOTE_PRECISION), }; if (usersToSettleMap.has(settleePosition.marketIndex)) { const existingData = usersToSettleMap.get( settleePosition.marketIndex )!; existingData.push(userData); } else { usersToSettleMap.set(settleePosition.marketIndex, [userData]); } } } for (const [marketIndex, params] of usersToSettleMap) { const perpMarket = this.driftClient.getPerpMarketAccount(marketIndex)!; const marketStr = decodeName(perpMarket.name); const settlePnlPaused = isOperationPaused( perpMarket.pausedOperations, PerpOperation.SETTLE_PNL ); if (settlePnlPaused) { logger.warn( `Settle PNL paused for market ${marketStr}, skipping settle PNL` ); continue; } logger.info( `Trying to settle PNL for ${params.length} users on market ${marketStr}` ); const sortedParams = params .sort((a, b) => a.pnl - b.pnl) .slice(0, this.maxUsersToConsider); logger.info( `Settling ${sortedParams.length} users in ${ sortedParams.length / SETTLE_USER_CHUNKS } chunks for market ${marketIndex}` ); const allTxPromises = []; for (let i = 0; i < sortedParams.length; i += SETTLE_USER_CHUNKS) { const usersChunk = sortedParams.slice(i, i + SETTLE_USER_CHUNKS); allTxPromises.push(this.trySendTxForChunk(marketIndex, usersChunk)); } logger.info(`Waiting for ${allTxPromises.length} txs to settle...`); const settleStart = Date.now(); await Promise.all(allTxPromises); logger.info( `Settled ${sortedParams.length} users in market ${marketIndex} in ${ Date.now() - settleStart }ms` ); } } catch (err) { console.error(err); if (!(err instanceof Error)) { return; } if ( !err.message.includes('Transaction was not confirmed') && !err.message.includes('Blockhash not found') ) { const errorCode = getErrorCode(err); if (errorCodesToSuppress.includes(errorCode!)) { console.log(`Suppressing error code: ${errorCode}`); } else { const simError = err as SendTransactionError; if (simError) { await webhookMessage( `[${ this.name }]: :x: Uncaught error: Error code: ${errorCode} while settling pnls:\n${ simError.logs! ? (simError.logs as Array<string>).join('\n') : '' }\n${err.stack ? err.stack : err.message}` ); } } } } finally { this.inProgress = false; logger.info(`Settle PNLs finished in ${Date.now() - start}ms`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } async trySendTxForChunk( marketIndex: number, users: { settleeUserAccountPublicKey: PublicKey; settleeUserAccount: UserAccount; }[] ): Promise<void> { const success = await this.sendTxForChunk(marketIndex, users); if (!success) { const slice = users.length / 2; if (slice < 1) { return; } const slice0 = users.slice(0, slice); const slice1 = users.slice(slice); logger.info( `Chunk failed: ${users .map((u) => u.settleeUserAccountPublicKey.toBase58()) .join(' ')}, retrying with:\nslice0: ${slice0 .map((u) => u.settleeUserAccountPublicKey.toBase58()) .join(' ')}\nslice1: ${slice1 .map((u) => u.settleeUserAccountPublicKey.toBase58()) .join(' ')}` ); await sleepMs(SLEEP_MS); await this.sendTxForChunk(marketIndex, slice0); await sleepMs(SLEEP_MS); await this.sendTxForChunk(marketIndex, slice1); } await sleepMs(SLEEP_MS); } async sendTxForChunk( marketIndex: number, users: { settleeUserAccountPublicKey: PublicKey; settleeUserAccount: UserAccount; }[] ): Promise<boolean> { if (users.length == 0) { return true; } let success = false; try { const pfs = this.priorityFeeSubscriberMap!.getPriorityFees( 'perp', marketIndex ); let microLamports = 10_000; if (pfs) { microLamports = Math.floor(pfs.medium); } const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // simulateAndGetTxWithCUs will overwrite }), ComputeBudgetProgram.setComputeUnitPrice({ microLamports, }), ]; ixs.push( ...(await this.driftClient.getSettlePNLsIxs(users, [marketIndex])) ); const recentBlockhash = await this.driftClient.connection.getLatestBlockhash('confirmed'); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: [this.lookupTableAccount!], cuLimitMultiplier: CU_EST_MULTIPLIER, doSimulation: true, recentBlockhash: recentBlockhash.blockhash, }); logger.info( `Settle Pnl estimated ${simResult.cuEstimate} CUs for ${ixs.length} ixs, ${users.length} users.` ); if (simResult.simError !== null) { logger.error( `Sim error: ${JSON.stringify(simResult.simError)}\n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }` ); handleSimResultError(simResult, errorCodesToSuppress, `(settlePnL)`); success = false; } else { const sendTxStart = Date.now(); const txSig = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, [], this.driftClient.opts ); logger.info( `Settle PNL tx sent in ${Date.now() - sendTxStart}ms, response: ${ txSig.txSig }` ); success = true; this.logTxAndSlotForUsers( txSig, marketIndex, users.map( ({ settleeUserAccountPublicKey }) => settleeUserAccountPublicKey ) ); } } catch (err) { const userKeys = users .map(({ settleeUserAccountPublicKey }) => settleeUserAccountPublicKey.toBase58() ) .join(', '); logger.error(`Failed to settle pnl for users: ${userKeys}`); console.error(err); if (err instanceof TransactionExpiredBlockheightExceededError) { logger.info( `Blockheight exceeded error, retrying with same set of users (${users.length} users on market ${marketIndex})` ); success = await this.sendTxForChunk(marketIndex, users); } else if (err instanceof Error) { const errorCode = getErrorCode(err) ?? 0; if (!errorCodesToSuppress.includes(errorCode) && users.length === 1) { if (err instanceof SendTransactionError) { await webhookMessage( `[${ this.name }]: :x: Error code: ${errorCode} while settling pnls for ${marketIndex}:\n${ err.logs ? (err.logs as Array<string>).join('\n') : '' }\n${err.stack ? err.stack : err.message}` ); } } } } return success; } private logTxAndSlotForUsers( txSigAndSlot: TxSigAndSlot, marketIndex: number, userAccountPublicKeys: Array<PublicKey> ) { const txSig = txSigAndSlot.txSig; for (const userAccountPublicKey of userAccountPublicKeys) { logger.info( `Settled pnl user ${userAccountPublicKey.toBase58()} in market ${marketIndex} https://solana.fm/tx/${txSig}` ); } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/liquidator.ts
/* eslint-disable @typescript-eslint/no-non-null-assertion */ import { BN, convertToNumber, DriftClient, User, isVariant, BASE_PRECISION, PRICE_PRECISION, QUOTE_PRECISION, PerpPosition, UserMap, ZERO, getTokenAmount, SpotPosition, PerpMarketAccount, SpotMarketAccount, QUOTE_SPOT_MARKET_INDEX, calculateMarketAvailablePNL, findDirectionToClose, getSignedTokenAmount, standardizeBaseAssetAmount, TEN_THOUSAND, PositionDirection, isUserBankrupt, JupiterClient, MarketType, MarketTypeStr, getVariant, OraclePriceData, UserAccount, OptionalOrderParams, TEN, PriorityFeeSubscriber, QuoteResponse, getLimitOrderParams, PERCENTAGE_PRECISION, DLOB, calculateEstimatedPerpEntryPrice, deriveOracleAuctionParams, getOrderParams, OrderType, getTokenValue, calculateClaimablePnl, isOperationPaused, PerpOperation, WRAPPED_SOL_MINT, } from '@drift-labs/sdk'; import { PrometheusExporter } from '@opentelemetry/exporter-prometheus'; import { ExplicitBucketHistogramAggregation, InstrumentType, MeterProvider, View, } from '@opentelemetry/sdk-metrics-base'; import { Meter, ObservableGauge, BatchObservableResult, Histogram, } from '@opentelemetry/api-metrics'; import { logger } from '../logger'; import { Bot, TwapExecutionProgress } from '../types'; import { RuntimeSpec, metricAttrFromUserAccount } from '../metrics'; import { webhookMessage } from '../webhook'; import { LiquidatorConfig } from '../config'; import { getPerpMarketTierNumber, perpTierIsAsSafeAs } from '@drift-labs/sdk'; import { ComputeBudgetProgram, PublicKey, AddressLookupTableAccount, TransactionInstruction, } from '@solana/web3.js'; import { createAssociatedTokenAccountInstruction, createCloseAccountInstruction, getAssociatedTokenAddress, } from '@solana/spl-token'; import { calculateAccountValueUsd, checkIfAccountExists, handleSimResultError, simulateAndGetTxWithCUs, SimulateAndGetTxWithCUsResponse, } from '../utils'; const errorCodesToSuppress = [ 6004, // Error Number: 6004. Error Message: Sufficient collateral. 6010, // Error Number: 6010. Error Message: User Has No Position In Market. ]; const BPS_PRECISION = 10000; const LIQUIDATE_THROTTLE_BACKOFF = 5000; // the time to wait before trying to liquidate a throttled user again function calculateSpotTokenAmountToLiquidate( driftClient: DriftClient, liquidatorUser: User, liquidateePosition: SpotPosition, maxPositionTakeoverPctOfCollateralNum: BN, maxPositionTakeoverPctOfCollateralDenom: BN ): BN { const spotMarket = driftClient.getSpotMarketAccount( liquidateePosition.marketIndex ); if (!spotMarket) { logger.error(`No spot market found for ${liquidateePosition.marketIndex}`); return ZERO; } const tokenPrecision = new BN(10 ** spotMarket.decimals); const oraclePrice = driftClient.getOracleDataForSpotMarket( liquidateePosition.marketIndex ).price; const collateralToSpend = liquidatorUser .getFreeCollateral() .mul(PRICE_PRECISION) .mul(maxPositionTakeoverPctOfCollateralNum) .mul(tokenPrecision); const maxSpendTokenAmountToLiquidate = collateralToSpend.div( oraclePrice .mul(QUOTE_PRECISION) .mul(maxPositionTakeoverPctOfCollateralDenom) ); const liquidateeTokenAmount = getTokenAmount( liquidateePosition.scaledBalance, spotMarket, liquidateePosition.balanceType ); if (maxSpendTokenAmountToLiquidate.gt(liquidateeTokenAmount)) { return liquidateeTokenAmount; } else { return maxSpendTokenAmountToLiquidate; } } enum METRIC_TYPES { total_leverage = 'total_leverage', total_collateral = 'total_collateral', free_collateral = 'free_collateral', perp_posiiton_value = 'perp_position_value', perp_posiiton_base = 'perp_position_base', perp_posiiton_quote = 'perp_position_quote', initial_margin_requirement = 'initial_margin_requirement', maintenance_margin_requirement = 'maintenance_margin_requirement', initial_margin = 'initial_margin', maintenance_margin = 'maintenance_margin', unrealized_pnl = 'unrealized_pnl', unrealized_funding_pnl = 'unrealized_funding_pnl', sdk_call_duration_histogram = 'sdk_call_duration_histogram', runtime_specs = 'runtime_specs', user_map_user_account_keys = 'user_map_user_account_keys', } /** * LiquidatorBot implements a simple liquidation bot for the Drift V2 Protocol. Liquidations work by taking over * a portion of the endangered account's position, so collateral is required in order to run this bot. The bot * will spend at most maxPositionTakeoverPctOfCollateral of its free collateral on any endangered account. * */ export class LiquidatorBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly defaultIntervalMs: number = 5000; private metricsInitialized = false; private metricsPort?: number; private meter?: Meter; private exporter?: PrometheusExporter; private throttledUsers = new Map<string, number>(); private disableAutoDerisking: boolean; private liquidatorConfig: LiquidatorConfig; // metrics private runtimeSpecsGauge?: ObservableGauge; private totalLeverage?: ObservableGauge; private totalCollateral?: ObservableGauge; private freeCollateral?: ObservableGauge; private perpPositionValue?: ObservableGauge; private perpPositionBase?: ObservableGauge; private perpPositionQuote?: ObservableGauge; private initialMarginRequirement?: ObservableGauge; private maintenanceMarginRequirement?: ObservableGauge; private unrealizedPnL?: ObservableGauge; private unrealizedFundingPnL?: ObservableGauge; private sdkCallDurationHistogram?: Histogram; private userMapUserAccountKeysGauge?: ObservableGauge; private driftClient: DriftClient; private serumLookupTableAddress?: PublicKey; private driftLookupTables?: AddressLookupTableAccount; private driftSpotLookupTables?: AddressLookupTableAccount; private perpMarketIndicies: number[] = []; private spotMarketIndicies: number[] = []; private activeSubAccountId: number; private allSubaccounts: Set<number>; private perpMarketToSubAccount: Map<number, number>; private spotMarketToSubAccount: Map<number, number>; private intervalIds: Array<NodeJS.Timer> = []; private userMap: UserMap; private deriskMutex = new Uint8Array(new SharedArrayBuffer(1)); private liquidateMutex = new Uint8Array(new SharedArrayBuffer(1)); private runtimeSpecs: RuntimeSpec; private jupiterClient?: JupiterClient; private twapExecutionProgresses?: Map<string, TwapExecutionProgress>; // key: this.getTwapProgressKey, value: TwapExecutionProgress private excludedAccounts: Set<string>; private priorityFeeSubscriber: PriorityFeeSubscriber; /** * Max percentage of collateral to spend on liquidating a single position. */ private maxPositionTakeoverPctOfCollateralNum: BN; private maxPositionTakeoverPctOfCollateralDenom = new BN(100); private watchdogTimerLastPatTime = Date.now(); constructor( driftClient: DriftClient, userMap: UserMap, runtimeSpec: RuntimeSpec, config: LiquidatorConfig, defaultSubaccountId: number, priorityFeeSubscriber: PriorityFeeSubscriber, SERUM_LOOKUP_TABLE?: PublicKey ) { this.liquidatorConfig = config; if (this.liquidatorConfig.maxSlippageBps === undefined) { this.liquidatorConfig.maxSlippageBps = this.liquidatorConfig.maxSlippagePct!; } if (this.liquidatorConfig.deriskAuctionDurationSlots === undefined) { this.liquidatorConfig.deriskAuctionDurationSlots = 100; } this.liquidatorConfig.deriskAlgoPerp = config.deriskAlgoPerp ?? config.deriskAlgo; this.liquidatorConfig.deriskAlgoSpot = config.deriskAlgoSpot ?? config.deriskAlgo; if (this.liquidatorConfig.spotDustValueThreshold !== undefined) { this.liquidatorConfig.spotDustValueThresholdBN = new BN( Math.floor( this.liquidatorConfig.spotDustValueThreshold * QUOTE_PRECISION.toNumber() ) ); } this.name = config.botId; this.dryRun = config.dryRun; this.driftClient = driftClient; this.runtimeSpecs = runtimeSpec; this.userMap = userMap; this.metricsPort = config.metricsPort; if (this.metricsPort) { this.initializeMetrics(); } if (!config.disableAutoDerisking) { this.disableAutoDerisking = false; } else { this.disableAutoDerisking = config.disableAutoDerisking; } logger.info( `${this.name} disableAutoDerisking: ${this.disableAutoDerisking}, notifyLiquidations: ${this.liquidatorConfig.notifyOnLiquidation}` ); this.allSubaccounts = new Set<number>(); this.allSubaccounts.add(defaultSubaccountId); this.activeSubAccountId = defaultSubaccountId; this.perpMarketToSubAccount = new Map<number, number>(); this.spotMarketToSubAccount = new Map<number, number>(); if ( config.perpSubAccountConfig && Object.keys(config.perpSubAccountConfig).length > 0 ) { logger.info('Loading perp markets to watch from perpSubAccountConfig'); for (const subAccount of Object.keys(config.perpSubAccountConfig)) { const marketsForAccount = config.perpSubAccountConfig[parseInt(subAccount)] || []; for (const market of marketsForAccount) { this.perpMarketToSubAccount.set(market, parseInt(subAccount)); this.allSubaccounts.add(parseInt(subAccount)); } } this.perpMarketIndicies = Object.values( config.perpSubAccountConfig ).flat(); } else { // this will be done in `init` since driftClient needs to be subcribed to first logger.info( `No perpSubAccountconfig provided, will watch all perp markets on subaccount ${this.activeSubAccountId}` ); } if ( config.spotSubAccountConfig && Object.keys(config.spotSubAccountConfig).length > 0 ) { logger.info('Loading spot markets to watch from spotSubAccountConfig'); for (const subAccount of Object.keys(config.spotSubAccountConfig)) { const marketsForAccount = config.spotSubAccountConfig[parseInt(subAccount)] || []; for (const market of marketsForAccount) { this.spotMarketToSubAccount.set(market, parseInt(subAccount)); this.allSubaccounts.add(parseInt(subAccount)); } } this.spotMarketIndicies = Object.values( config.spotSubAccountConfig ).flat(); } else { // this will be done in `init` since driftClient needs to be subcribed to first logger.info( `No spotSubAccountconfig provided, will watch all spot markets on subaccount ${this.activeSubAccountId}` ); } // Load a list of accounts that we will *not* bother trying to liquidate // For whatever reason, this value is being parsed as an array even though // it is declared as a set, so if we merely assign it, then we'd end up // with a compile error later saying `has is not a function`. this.excludedAccounts = new Set<string>(config.excludedAccounts); logger.info(`Liquidator disregarding accounts: ${config.excludedAccounts}`); // ensure driftClient has all subaccounts tracked and subscribed for (const subaccount of this.allSubaccounts) { if (!this.driftClient.hasUser(subaccount)) { this.driftClient.addUser(subaccount).then((subscribed) => { logger.info( `Added subaccount ${subaccount} to driftClient since it was missing (subscribed: ${subscribed}))` ); }); } } const nowSec = Math.floor(Date.now() / 1000); this.twapExecutionProgresses = new Map<string, TwapExecutionProgress>(); if (this.useTwap('perp')) { for (const marketIndex of this.perpMarketIndicies) { const subaccount = this.perpMarketToSubAccount.get(marketIndex); if (subaccount === undefined) { throw new Error( `Misconfiguration: perp market ${marketIndex} is in perpMarketIndicies but not perpMarketToSubaccount` ); } this.twapExecutionProgresses.set( this.getTwapProgressKey(MarketType.PERP, subaccount, marketIndex), new TwapExecutionProgress({ currentPosition: new BN(0), targetPosition: new BN(0), // target positions to close overallDurationSec: this.liquidatorConfig.twapDurationSec!, startTimeSec: nowSec, }) ); } } if (this.useTwap('spot')) { for (const marketIndex of this.spotMarketIndicies) { const subaccount = this.spotMarketToSubAccount.get(marketIndex); if (subaccount === undefined) { throw new Error( `Misconfiguration: spot market ${marketIndex} is in spotMarketIndicies but not spotMarketToSubaccount` ); } this.twapExecutionProgresses.set( this.getTwapProgressKey(MarketType.SPOT, subaccount, marketIndex), new TwapExecutionProgress({ currentPosition: new BN(0), targetPosition: new BN(0), // target positions to close overallDurationSec: this.liquidatorConfig.twapDurationSec!, startTimeSec: nowSec, }) ); } } // jupiter only works with mainnet if (config.useJupiter && this.runtimeSpecs.driftEnv === 'mainnet-beta') { this.jupiterClient = new JupiterClient({ connection: this.driftClient.connection, }); } this.priorityFeeSubscriber = priorityFeeSubscriber; this.priorityFeeSubscriber.updateAddresses([ new PublicKey('6gMq3mRCKf8aP3ttTyYhuijVZ2LGi14oDsBbkgubfLB3'), // USDC SPOT ]); if (!config.maxPositionTakeoverPctOfCollateral) { // spend 50% of collateral by default this.maxPositionTakeoverPctOfCollateralNum = new BN(50); } else { if (config.maxPositionTakeoverPctOfCollateral > 1.0) { logger.warn( `liquidator.config.maxPositionTakeoverPctOfCollateral is > 1.00: ${config.maxPositionTakeoverPctOfCollateral}` ); } this.maxPositionTakeoverPctOfCollateralNum = new BN( config.maxPositionTakeoverPctOfCollateral * 100.0 ); } this.serumLookupTableAddress = SERUM_LOOKUP_TABLE; } private getSubAccountIdToLiquidatePerp( marketIndex: number ): number | undefined { if (!this.perpMarketIndicies.includes(marketIndex)) { return undefined; } const subAccountId = this.perpMarketToSubAccount.get(marketIndex); if (subAccountId === undefined) { logger.info( `no configured subaccount to liquidate perp market ${marketIndex}` ); return undefined; } if (!this.hasCollateralToLiquidate(subAccountId)) { logger.info( `subaccount ${subAccountId} has insufficient collateral to liquidate perp market ${marketIndex}` ); return undefined; } return subAccountId; } private getSubAccountIdToLiquidateSpot( marketIndex: number ): number | undefined { if (!this.spotMarketIndicies.includes(marketIndex)) { return undefined; } const subAccountId = this.spotMarketToSubAccount.get(marketIndex); if (subAccountId === undefined) { logger.info( `no configured subaccount to liquidate spot market ${marketIndex}` ); return undefined; } if (!this.hasCollateralToLiquidate(subAccountId)) { logger.info( `subaccount ${subAccountId} has insufficient collateral to liquidate spot market ${marketIndex}` ); return undefined; } return subAccountId; } private getLiquidatorUserForSpotMarket( marketIndex: number ): User | undefined { const subAccountId = this.spotMarketToSubAccount.get(marketIndex); if (subAccountId === undefined) { return undefined; } return this.driftClient.getUser(subAccountId); } private getLiquidatorUserForPerpMarket( marketIndex: number ): User | undefined { const subAccountId = this.perpMarketToSubAccount.get(marketIndex); if (subAccountId === undefined) { return undefined; } return this.driftClient.getUser(subAccountId); } private async buildVersionedTransactionWithSimulatedCus( ixs: Array<TransactionInstruction>, luts: Array<AddressLookupTableAccount>, cuPriceMicroLamports?: number ): Promise<SimulateAndGetTxWithCUsResponse> { const fullIxs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // will be overwriten in sim }), ]; if (cuPriceMicroLamports !== undefined) { fullIxs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: cuPriceMicroLamports, }) ); } fullIxs.push(...ixs); let resp: SimulateAndGetTxWithCUsResponse; try { const recentBlockhash = await this.driftClient.connection.getLatestBlockhash('confirmed'); resp = await simulateAndGetTxWithCUs({ ixs: fullIxs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: luts, cuLimitMultiplier: 1.2, doSimulation: true, dumpTx: false, recentBlockhash: recentBlockhash.blockhash, }); } catch (e) { const err = e as Error; logger.error( `error in buildVersionedTransactionWithSimulatedCus, using max CUs: ${err.message}\n${err.stack}` ); resp = { cuEstimate: -1, simTxLogs: null, simError: err, simTxDuration: -1, // @ts-ignore tx: undefined, }; } return resp; } private useTwap(marketType: MarketTypeStr) { const derisk = marketType === 'perp' ? this.liquidatorConfig.deriskAlgoPerp : marketType === 'spot' ? this.liquidatorConfig.deriskAlgoSpot : undefined; return ( derisk === 'twap' && this.liquidatorConfig.twapDurationSec !== undefined ); } private getTwapProgressKey( marketType: MarketType, subaccountId: number, marketIndex: number ): string { return `${getVariant(marketType)}-${subaccountId}-${marketIndex}`; } public async init() { logger.info(`${this.name} initing`); this.driftLookupTables = await this.driftClient.fetchMarketLookupTableAccount(); let serumLut: AddressLookupTableAccount | null = null; if (this.serumLookupTableAddress !== undefined) { serumLut = ( await this.driftClient.connection.getAddressLookupTable( this.serumLookupTableAddress ) ).value; } if ( this.runtimeSpecs.driftEnv === 'mainnet-beta' && serumLut === null && this.liquidatorConfig.useJupiter ) { throw new Error( `Failed to load LUT for drift spot accounts at ${this.serumLookupTableAddress?.toBase58()}, jupiter swaps will fail` ); } else { this.driftSpotLookupTables = serumLut!; } const subAccount = this.driftClient.activeSubAccountId; if (this.perpMarketIndicies.length === 0) { this.perpMarketIndicies = this.driftClient .getPerpMarketAccounts() .map((m) => { return m.marketIndex; }); for (const market of this.perpMarketIndicies) { this.perpMarketToSubAccount.set(market, subAccount); this.allSubaccounts.add(subAccount); } } if (this.spotMarketIndicies.length === 0) { this.spotMarketIndicies = this.driftClient .getSpotMarketAccounts() .map((m) => { return m.marketIndex; }); for (const market of this.spotMarketIndicies) { this.spotMarketToSubAccount.set(market, subAccount); this.allSubaccounts.add(subAccount); } } logger.info( `SubAccountID -> perpMarketIndex:\n${JSON.stringify( Object.fromEntries(this.perpMarketToSubAccount), null, 2 )}` ); logger.info( `SubAccountID -> spotMarketIndex:\n${JSON.stringify( Object.fromEntries(this.spotMarketToSubAccount), null, 2 )}` ); await webhookMessage(`[${this.name}]: started`); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.userMap!.unsubscribe(); } public async startIntervalLoop(intervalMs?: number): Promise<void> { this.tryLiquidateStart(); const intervalId = setInterval( this.tryLiquidateStart.bind(this), intervalMs ); this.intervalIds.push(intervalId); if (!this.disableAutoDerisking) { const deRiskIntervalId = setInterval( this.derisk.bind(this), 3.3 * intervalMs! ); // try to make it not overlap with the normal liquidation loop this.intervalIds.push(deRiskIntervalId); } logger.info(`${this.name} Bot started!`); for (const subAccount of this.allSubaccounts) { const freeCollateral = this.driftClient .getUser(subAccount) .getFreeCollateral(); logger.info( `[${ this.name }] Subaccount: ${subAccount}: free collateral: $${convertToNumber( freeCollateral, QUOTE_PRECISION )}, spending at most ${ (this.maxPositionTakeoverPctOfCollateralNum.toNumber() / this.maxPositionTakeoverPctOfCollateralDenom.toNumber()) * 100.0 }% per liquidation` ); } } public async healthCheck(): Promise<boolean> { let healthy = false; // check if we've ran the main loop recently healthy = this.watchdogTimerLastPatTime > Date.now() - 3 * this.defaultIntervalMs; if (!healthy) { logger.error( `Bot ${this.name} is unhealthy, last pat time: ${ this.watchdogTimerLastPatTime - Date.now() }ms ago` ); } return healthy; } /** * Calculates the worse price to execute at (used for auction end when derisking) * @param oracle for asset we trading * @param direction of trade * @returns */ private calculateOrderLimitPrice( price: BN, direction: PositionDirection ): BN { const slippageBN = new BN( (this.liquidatorConfig.maxSlippageBps! / BPS_PRECISION) * PERCENTAGE_PRECISION.toNumber() ); if (isVariant(direction, 'long')) { return price .mul(PERCENTAGE_PRECISION.add(slippageBN)) .div(PERCENTAGE_PRECISION); } else { return price .mul(PERCENTAGE_PRECISION.sub(slippageBN)) .div(PERCENTAGE_PRECISION); } } /** * Calcualtes the auctionStart price when derisking (the best price we want to execute at) * @param oracle for asset we trading * @param direction of trade * @returns */ private calculateDeriskAuctionStartPrice( oracle: OraclePriceData, direction: PositionDirection ): BN { let auctionStartPrice: BN; if (isVariant(direction, 'long')) { auctionStartPrice = oracle.price.sub(oracle.confidence); } else { auctionStartPrice = oracle.price.add(oracle.confidence); } return auctionStartPrice; } private async driftSpotTrade( orderDirection: PositionDirection, marketIndex: number, tokenAmount: BN, limitPrice: BN, subAccountId: number ) { const position = this.driftClient.getSpotPosition(marketIndex); if (!position) { return; } const positionNetOpenOrders = tokenAmount.gt(ZERO) ? tokenAmount.add(position.openAsks) : tokenAmount.add(position.openBids); const spotMarket = this.driftClient.getSpotMarketAccount(marketIndex)!; const standardizedTokenAmount = standardizeBaseAssetAmount( positionNetOpenOrders, spotMarket.orderStepSize ); // check if open orders already net out with current position before placing new order if (standardizedTokenAmount.eq(ZERO)) { logger.info( `Skipping drift spot trade, would have traded 0. ${tokenAmount.toString()} -> ${positionNetOpenOrders.toString()}-> ${standardizedTokenAmount.toString()}` ); return; } const oracle = this.driftClient.getOracleDataForSpotMarket(marketIndex); const auctionStartPrice = this.calculateDeriskAuctionStartPrice( oracle, orderDirection ); const cancelOrdersIx = await this.driftClient.getCancelOrdersIx( MarketType.SPOT, marketIndex, orderDirection, subAccountId ); const placeOrderIx = await this.driftClient.getPlaceSpotOrderIx( getLimitOrderParams({ marketIndex: marketIndex, direction: orderDirection, baseAssetAmount: standardizedTokenAmount, reduceOnly: true, price: limitPrice, auctionDuration: this.liquidatorConfig.deriskAuctionDurationSlots!, auctionStartPrice, auctionEndPrice: limitPrice, }), subAccountId ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [cancelOrdersIx, placeOrderIx], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error trying to close spot position for market ${marketIndex}, subaccount start ${subAccountId}, simError: ${JSON.stringify( simResult.simError )}` ); } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent derisk placeSpotOrder tx for on market ${marketIndex} tx: ${resp.txSig} ` ); } } private async cancelOpenOrdersForSpotMarket( marketIndex: number, subAccountId: number ) { const cancelOrdersIx = await this.driftClient.getCancelOrdersIx( MarketType.SPOT, marketIndex, null, subAccountId ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [cancelOrdersIx], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error trying to close spot orders for market ${marketIndex}, subaccount start ${subAccountId}, simError: ${JSON.stringify( simResult.simError )}` ); } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent derisk placeSpotOrder tx for on market ${marketIndex} tx: ${resp.txSig} ` ); } } private async jupiterSpotSwap( orderDirection: PositionDirection, spotMarketIndex: number, quote: QuoteResponse, slippageBps: number, subAccountId: number ) { let outMarketIndex: number; let inMarketIndex: number; if (isVariant(orderDirection, 'long')) { // sell USDC, buy spotMarketIndex inMarketIndex = 0; outMarketIndex = spotMarketIndex; } else { // sell spotMarketIndex, buy USDC inMarketIndex = spotMarketIndex; outMarketIndex = 0; } const swapIx = await this.driftClient.getJupiterSwapIxV6({ jupiterClient: this.jupiterClient!, outMarketIndex, inMarketIndex, amount: new BN(quote.inAmount), quote, slippageBps, userAccountPublicKey: await this.driftClient.getUserAccountPublicKey( subAccountId ), }); swapIx.ixs.unshift( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( this.priorityFeeSubscriber!.getCustomStrategyResult() ), }) ); swapIx.ixs.unshift( ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }) ); const lookupTables = [...swapIx.lookupTables, this.driftLookupTables!]; if (this.driftSpotLookupTables) { lookupTables.push(this.driftSpotLookupTables); } const simResult = await this.buildVersionedTransactionWithSimulatedCus( swapIx.ixs, lookupTables, Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error trying to ${getVariant( orderDirection )} spot position for market ${spotMarketIndex} on jupiter, subaccount start ${subAccountId}, simError: ${JSON.stringify( simResult.simError )}` ); } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `closed spot position for market ${spotMarketIndex.toString()} on subaccount ${subAccountId}: ${ resp.txSig } ` ); } } private getOrderParamsForPerpDerisk( subaccountId: number, position: PerpPosition, dlob: DLOB ): OptionalOrderParams | undefined { const nowSec = Math.floor(Date.now() / 1000); let baseAssetAmount: BN; if (this.useTwap('perp')) { let twapProgress = this.twapExecutionProgresses!.get( this.getTwapProgressKey( MarketType.PERP, subaccountId, position.marketIndex ) ); if (!twapProgress) { twapProgress = new TwapExecutionProgress({ currentPosition: new BN(0), targetPosition: new BN(0), // target positions to close overallDurationSec: this.liquidatorConfig.twapDurationSec!, startTimeSec: nowSec, }); this.twapExecutionProgresses!.set( this.getTwapProgressKey( MarketType.PERP, subaccountId, position.marketIndex ), twapProgress ); } twapProgress.updateProgress(position.baseAssetAmount, nowSec); baseAssetAmount = twapProgress.getExecutionSlice(nowSec); twapProgress.updateExecution(nowSec); logger.info( `twap progress for PERP subaccount ${subaccountId} for market ${ position.marketIndex }, tradeSize: ${baseAssetAmount.toString()}, amountRemaining: ${twapProgress .getAmountRemaining() .toString()}` ); } else { baseAssetAmount = position.baseAssetAmount; } const positionPlusOpenOrders = baseAssetAmount.gt(ZERO) ? baseAssetAmount.add(position.openAsks) : baseAssetAmount.add(position.openBids); // check if open orders already net out with current position before placing new order if (baseAssetAmount.gt(ZERO) && positionPlusOpenOrders.lte(ZERO)) { logger.info( `already have open orders on subaccount ${subaccountId} for market ${position.marketIndex}, skipping closing` ); return undefined; } if (baseAssetAmount.lt(ZERO) && positionPlusOpenOrders.gte(ZERO)) { logger.info( `already have open orders on subaccount ${subaccountId} for market ${position.marketIndex}, skipping` ); return undefined; } baseAssetAmount = standardizeBaseAssetAmount( baseAssetAmount, this.driftClient.getPerpMarketAccount(position.marketIndex)!.amm .orderStepSize ); if (baseAssetAmount.eq(ZERO)) { return undefined; } const oracle = this.driftClient.getOracleDataForPerpMarket( position.marketIndex ); const direction = findDirectionToClose(position); let entryPrice; let bestPrice; try { ({ entryPrice, bestPrice } = calculateEstimatedPerpEntryPrice( 'base', baseAssetAmount.abs(), direction, this.driftClient.getPerpMarketAccount(position.marketIndex)!, oracle, dlob, this.userMap.getSlot() )); } catch (e) { logger.error( `Failed to calculate estimated perp entry price on market: ${ position.marketIndex }, amt: ${baseAssetAmount.toString()}, ${getVariant(direction)}` ); throw e; } const limitPrice = this.calculateOrderLimitPrice(entryPrice, direction); const { auctionStartPrice, auctionEndPrice, oraclePriceOffset } = deriveOracleAuctionParams({ direction, oraclePrice: oracle.price, auctionStartPrice: bestPrice, auctionEndPrice: limitPrice, limitPrice, }); return getOrderParams({ orderType: OrderType.ORACLE, direction, baseAssetAmount, reduceOnly: true, marketIndex: position.marketIndex, auctionDuration: this.liquidatorConfig.deriskAuctionDurationSlots!, auctionStartPrice, auctionEndPrice, oraclePriceOffset, }); } private async deriskPerpPositions(userAccount: UserAccount, dlob: DLOB) { for (const position of userAccount.perpPositions) { const perpMarket = this.driftClient.getPerpMarketAccount( position.marketIndex )!; if (!position.baseAssetAmount.isZero()) { if (position.baseAssetAmount.abs().lt(perpMarket.amm.minOrderSize)) { continue; } const orderParams = this.getOrderParamsForPerpDerisk( userAccount.subAccountId, position, dlob ); if (orderParams === undefined) { continue; } const cancelOrdersIx = await this.driftClient.getCancelOrdersIx( MarketType.PERP, position.marketIndex, orderParams.direction, userAccount.subAccountId ); const placeOrderIx = await this.driftClient.getPlacePerpOrderIx( orderParams, userAccount.subAccountId ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [cancelOrdersIx, placeOrderIx], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error error in placePerpOrder in market: ${ position.marketIndex }, simError: ${JSON.stringify(simResult.simError)}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: deriskPerpPositions` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in placePerpOrder in market ${ position.marketIndex }: \n${simResult.simTxLogs ? simResult.simTxLogs.join('\n') : ''}`; logger.error(msg); webhookMessage(msg); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent deriskPerpPosition tx on market ${position.marketIndex}: ${resp.txSig} ` ); } } else if (position.quoteAssetAmount.lt(ZERO)) { const userAccountPubkey = await this.driftClient.getUserAccountPublicKey( userAccount.subAccountId ); logger.info( `Settling negative perp pnl for ${userAccountPubkey.toBase58()} on market ${ position.marketIndex }` ); const ix = await this.driftClient.getSettlePNLsIxs( [ { settleeUserAccountPublicKey: userAccountPubkey, settleeUserAccount: userAccount, }, ], [position.marketIndex] ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( ix, [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in SettlePnl for userAccount ${userAccountPubkey.toBase58()} on market ${ position.marketIndex }, simError: ${JSON.stringify(simResult.simError)}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: settleNegativePnl` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { webhookMessage( `[${ this.name }]: :x: error in settlePnl for userAccount ${userAccountPubkey.toBase58()} on market ${ position.marketIndex }: \n${simResult.simTxLogs ? simResult.simTxLogs.join('\n') : ''}` ); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent settlePnl (negative pnl) tx for ${userAccountPubkey.toBase58()} on market ${ position.marketIndex } tx: ${resp.txSig} ` ); } } else if (position.quoteAssetAmount.gt(ZERO)) { const availablePnl = calculateMarketAvailablePNL( this.driftClient.getPerpMarketAccount(position.marketIndex)!, this.driftClient.getQuoteSpotMarketAccount() ); if (availablePnl.gt(ZERO)) { const userAccountPubkey = await this.driftClient.getUserAccountPublicKey( userAccount.subAccountId ); logger.info( `Settling positive perp pnl for ${userAccountPubkey.toBase58()} on market ${ position.marketIndex }` ); const ix = await this.driftClient.getSettlePNLsIxs( [ { settleeUserAccountPublicKey: userAccountPubkey, settleeUserAccount: userAccount, }, ], [position.marketIndex] ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( ix, [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in SettlePnl for userAccount ${userAccountPubkey.toBase58()} on market ${ position.marketIndex }, simError: ${JSON.stringify(simResult.simError)}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: settlePositivePnl` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in settlePnl for userAccount ${userAccountPubkey.toBase58()} on market ${ position.marketIndex }: \n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }`; logger.error(msg); webhookMessage(msg); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent settlePnl (positive pnl) tx for ${userAccountPubkey.toBase58()} on market ${ position.marketIndex } tx: ${resp.txSig} ` ); } } } } } private async determineBestSpotSwapRoute( spotMarketIndex: number, orderDirection: PositionDirection, baseAmountIn: BN, slippageBps: number ): Promise<QuoteResponse | undefined> { if (!this.jupiterClient) { return undefined; } const oraclePriceData = this.driftClient.getOracleDataForSpotMarket(spotMarketIndex); const dlob = await this.userMap!.getDLOB(oraclePriceData.slot.toNumber()); if (!dlob) { logger.error('failed to load DLOB'); } let dlobFillQuoteAmount: BN | undefined; if (dlob) { dlobFillQuoteAmount = dlob.estimateFillWithExactBaseAmount({ marketIndex: spotMarketIndex, marketType: MarketType.SPOT, baseAmount: baseAmountIn, orderDirection, slot: oraclePriceData.slot.toNumber(), oraclePriceData, }); } let outMarket: SpotMarketAccount | undefined; let inMarket: SpotMarketAccount | undefined; let amountIn: BN | undefined; if (isVariant(orderDirection, 'long')) { // sell USDC, buy spotMarketIndex inMarket = this.driftClient.getSpotMarketAccount(0); outMarket = this.driftClient.getSpotMarketAccount(spotMarketIndex); if (!inMarket || !outMarket) { logger.error('failed to get spot markets'); return undefined; } const inPrecision = TEN.pow(new BN(inMarket.decimals)); const outPrecision = TEN.pow(new BN(outMarket.decimals)); amountIn = oraclePriceData.price .mul(baseAmountIn) .mul(inPrecision) .div(PRICE_PRECISION.mul(outPrecision)); } else { // sell spotMarketIndex, buy USDC inMarket = this.driftClient.getSpotMarketAccount(spotMarketIndex); outMarket = this.driftClient.getSpotMarketAccount(0); amountIn = baseAmountIn; } if (!inMarket || !outMarket) { logger.error('failed to get spot markets'); return undefined; } logger.info( `Getting jupiter quote, ${getVariant( orderDirection )} amount: ${amountIn.toString()}, inMarketIdx: ${ inMarket.marketIndex }, outMarketIdx: ${outMarket.marketIndex}, slippageBps: ${slippageBps}` ); let quote: QuoteResponse | undefined; try { quote = await this.jupiterClient.getQuote({ inputMint: inMarket.mint, outputMint: outMarket.mint, amount: amountIn.abs(), slippageBps: slippageBps, maxAccounts: 10, excludeDexes: ['Raydium CLMM'], }); } catch (e) { logger.error(`Error getting Jupiter quote: ${(e as Error).message}`); console.error(e); return undefined; } if (!quote) { return undefined; } console.log('Jupiter quote:'); console.log(JSON.stringify(quote, null, 2)); if (!quote.routePlan || quote.routePlan.length === 0) { logger.info(`Found no jupiter route`); return undefined; } if (isVariant(orderDirection, 'long')) { // buying spotMarketIndex, want min in const jupAmountIn = new BN(quote.inAmount); if ( dlobFillQuoteAmount?.gt(ZERO) && dlobFillQuoteAmount?.lt(jupAmountIn) ) { logger.info( `Want to long spot market ${spotMarketIndex}, dlob fill amount ${dlobFillQuoteAmount} < jup amount in ${jupAmountIn}, dont trade on jup` ); return undefined; } else { return quote; } } else { // selling spotMarketIndex, want max out const jupAmountOut = new BN(quote.outAmount); if (dlobFillQuoteAmount?.gt(jupAmountOut)) { logger.info( `Want to short spot market ${spotMarketIndex}, dlob fill amount ${dlobFillQuoteAmount} > jup amount out ${jupAmountOut}, dont trade on jup` ); return undefined; } else { return quote; } } } private getOrderParamsForSpotDerisk( subaccountId: number, position: SpotPosition ): | { tokenAmount: BN; limitPrice: BN; direction: PositionDirection } | undefined { const spotMarket = this.driftClient.getSpotMarketAccount( position.marketIndex ); if (!spotMarket) { logger.error( `failed to get spot market account for market ${position.marketIndex}` ); return undefined; } const nowSec = Math.floor(Date.now() / 1000); let tokenAmount = getSignedTokenAmount( getTokenAmount(position.scaledBalance, spotMarket, position.balanceType), position.balanceType ); if (tokenAmount.abs().lt(spotMarket.minOrderSize)) { return undefined; } if (this.useTwap('spot')) { let twapProgress = this.twapExecutionProgresses!.get( this.getTwapProgressKey( MarketType.SPOT, subaccountId, position.marketIndex ) ); if (!twapProgress) { twapProgress = new TwapExecutionProgress({ currentPosition: new BN(0), targetPosition: new BN(0), // target positions to close overallDurationSec: this.liquidatorConfig.twapDurationSec!, startTimeSec: nowSec, }); this.twapExecutionProgresses!.set( this.getTwapProgressKey( MarketType.SPOT, subaccountId, position.marketIndex ), twapProgress ); } twapProgress.updateProgress(tokenAmount, nowSec); tokenAmount = twapProgress.getExecutionSlice(nowSec); twapProgress.updateExecution(nowSec); logger.info( `twap progress for SPOT subaccount ${subaccountId} for market ${ position.marketIndex }, tradeSize: ${tokenAmount.toString()}, amountRemaining: ${twapProgress .getAmountRemaining() .toString()}` ); } let direction: PositionDirection = PositionDirection.LONG; if (isVariant(position.balanceType, 'deposit')) { direction = PositionDirection.SHORT; } const oracle = this.driftClient.getOracleDataForSpotMarket( position.marketIndex ); const limitPrice = this.calculateOrderLimitPrice(oracle.price, direction); return { tokenAmount, limitPrice, direction, }; } /** * Withdraws dust for a spot position * * @param userAccount * @param position * @returns true if tx was sent to withdraw dust, otherwise false */ private async withdrawDust( userAccount: UserAccount, position: SpotPosition ): Promise<boolean> { if (this.liquidatorConfig.spotDustValueThresholdBN === undefined) { return false; } // can only withdraw dust for now // TODO: deposit to close dust borrows if (isVariant(position.balanceType, 'borrow')) { return false; } const spotMarket = this.driftClient.getSpotMarketAccount( position.marketIndex ); if (!spotMarket) { throw new Error( `failed to get spot market account for market ${position.marketIndex}` ); } const oracle = this.driftClient.getOracleDataForSpotMarket( position.marketIndex ); const tokenAmount = getTokenAmount( position.scaledBalance, spotMarket, position.balanceType ); const spotPositionValue = getTokenValue( tokenAmount, spotMarket.decimals, oracle ); if (spotPositionValue.lte(this.liquidatorConfig.spotDustValueThresholdBN)) { let userTokenAccount = await getAssociatedTokenAddress( spotMarket.mint, userAccount.authority ); const ixs: TransactionInstruction[] = []; const isSolWithdraw = spotMarket.mint.equals(WRAPPED_SOL_MINT); if (isSolWithdraw) { const { ixs: startIxs, pubkey } = await this.driftClient.getWrappedSolAccountCreationIxs( tokenAmount, true ); ixs.push(...startIxs); userTokenAccount = pubkey; } else { const accountExists = await checkIfAccountExists( this.driftClient.connection, userTokenAccount ); if (!accountExists) { ixs.push( createAssociatedTokenAccountInstruction( this.driftClient.wallet.publicKey, userTokenAccount, this.driftClient.wallet.publicKey, spotMarket.mint, this.driftClient.getTokenProgramForSpotMarket(spotMarket) ) ); } } ixs.push( await this.driftClient.getWithdrawIx( tokenAmount, position.marketIndex, userTokenAccount, undefined, userAccount.subAccountId ) ); if (isSolWithdraw) { ixs.push( createCloseAccountInstruction( userTokenAccount, userAccount.authority, userAccount.authority, [] ) ); } const simResult = await this.buildVersionedTransactionWithSimulatedCus( ixs, [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error trying to withdraw spot dust for market ${ position.marketIndex }, subaccount start ${ userAccount.subAccountId }, simError: ${JSON.stringify(simResult.simError)}` ); return true; } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent withdraw dust on market ${position.marketIndex} tx: ${resp.txSig} ` ); return true; } } return false; } private async deriskSpotPositions(userAccount: UserAccount) { for (const position of userAccount.spotPositions) { if (position.scaledBalance.eq(ZERO) || position.marketIndex === 0) { if (position.openOrders != 0) { await this.cancelOpenOrdersForSpotMarket( position.marketIndex, userAccount.subAccountId ); } continue; } const dustWithdrawn = await this.withdrawDust(userAccount, position); if (dustWithdrawn) { continue; } const orderParams = this.getOrderParamsForSpotDerisk( userAccount.subAccountId, position ); if (orderParams === undefined) { continue; } const slippageBps = this.liquidatorConfig.maxSlippageBps!; const jupQuote = await this.determineBestSpotSwapRoute( position.marketIndex, orderParams.direction, orderParams.tokenAmount, slippageBps ); if (!jupQuote) { await this.driftSpotTrade( orderParams.direction, position.marketIndex, orderParams.tokenAmount, orderParams.limitPrice, userAccount.subAccountId ); } else { await this.jupiterSpotSwap( orderParams.direction, position.marketIndex, jupQuote, slippageBps, userAccount.subAccountId ); } } } private async deriskForSubaccount(subaccountId: number, dlob: DLOB) { this.driftClient.switchActiveUser(subaccountId, this.driftClient.authority); const userAccount = this.driftClient.getUserAccount(subaccountId); if (!userAccount) { logger.error('failed to get user account'); return; } if (userAccount.subAccountId !== subaccountId) { logger.error('failed to switch user account'); return; } // need to await, otherwise driftClient.activeUserAccount will get rugged on next iter await this.deriskPerpPositions(userAccount, dlob); await this.deriskSpotPositions(userAccount); } /** * attempts to acquire the mutex for derisking. If it is already acquired, it returns false */ private acquireMutex(mutex: Uint8Array): boolean { return Atomics.compareExchange(mutex, 0, 0, 1) === 0; } /** * releases the mutex. * Warning: this should only be called after acquireMutex() returns true */ private releaseMutex(mutex: Uint8Array) { Atomics.store(mutex, 0, 0); } /** * attempts to close out any open positions on this account. It starts by cancelling any open orders */ private async derisk() { if (!this.acquireMutex(this.deriskMutex)) { return; } const dlob = await this.userMap.getDLOB(this.userMap.getSlot()); try { for (const subAccountId of this.allSubaccounts) { await this.deriskForSubaccount(subAccountId, dlob); } } finally { this.releaseMutex(this.deriskMutex); } } private calculateBaseAmountToLiquidate(liquidateePosition: PerpPosition): BN { const liquidatorUser = this.getLiquidatorUserForPerpMarket( liquidateePosition.marketIndex ); if (!liquidatorUser) { return ZERO; } const oraclePrice = this.driftClient.getOracleDataForPerpMarket( liquidateePosition.marketIndex ).price; const collateralToSpend = liquidatorUser .getFreeCollateral() .mul(PRICE_PRECISION) .mul(this.maxPositionTakeoverPctOfCollateralNum) .mul(BASE_PRECISION); const baseAssetAmountToLiquidate = collateralToSpend.div( oraclePrice .mul(QUOTE_PRECISION) .mul(this.maxPositionTakeoverPctOfCollateralDenom) ); if ( baseAssetAmountToLiquidate.gt(liquidateePosition.baseAssetAmount.abs()) ) { return liquidateePosition.baseAssetAmount.abs(); } else { return baseAssetAmountToLiquidate; } } /** * Find the user perp position with the largest loss, resolve bankruptcy on this market. * * @param chUserToCheck * @returns */ private findPerpBankruptingMarkets(chUserToCheck: User): Array<number> { const bankruptMarketIndices: Array<number> = []; for (const market of this.driftClient.getPerpMarketAccounts()) { const position = chUserToCheck.getPerpPosition(market.marketIndex); if (!position || position.quoteAssetAmount.gte(ZERO)) { // invalid position to liquidate continue; } bankruptMarketIndices.push(position.marketIndex); } return bankruptMarketIndices; } /** * Find the user spot position with the largest loss, resolve bankruptcy on this market. * * @param chUserToCheck * @returns */ private findSpotBankruptingMarkets(chUserToCheck: User): Array<number> { const bankruptMarketIndices: Array<number> = []; for (const market of this.driftClient.getSpotMarketAccounts()) { const position = chUserToCheck.getSpotPosition(market.marketIndex); if (!position) { continue; } if (!isVariant(position.balanceType, 'borrow')) { // not possible to resolve non-borrow markets continue; } if (position.scaledBalance.lte(ZERO)) { // invalid borrow continue; } bankruptMarketIndices.push(position.marketIndex); } return bankruptMarketIndices; } private async tryResolveBankruptUser(user: User) { const userAcc = user.getUserAccount(); const userKey = user.getUserAccountPublicKey(); // find out whether the user is perp-bankrupt or spot-bankrupt const bankruptPerpMarkets = this.findPerpBankruptingMarkets(user); const bankruptSpotMarkets = this.findSpotBankruptingMarkets(user); logger.info( `User ${userKey.toBase58()} is bankrupt in perpMarkets: ${bankruptPerpMarkets} and spotMarkets: ${bankruptSpotMarkets} ` ); // resolve bankrupt markets for (const perpIdx of bankruptPerpMarkets) { logger.info( `Resolving perp market for userAcc: ${userKey.toBase58()}, marketIndex: ${perpIdx} ` ); if (this.liquidatorConfig.notifyOnLiquidation) { webhookMessage( `[${ this.name }]: Resolving perp market for userAcc: ${userKey.toBase58()}, marketIndex: ${perpIdx} ` ); } const ix = await this.driftClient.getResolvePerpBankruptcyIx( userKey, userAcc, perpIdx ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [ix], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in resolveBankruptcy for userAccount ${userKey.toBase58()} on market ${perpIdx}, simError: ${JSON.stringify( simResult.simError )}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: resolveBankruptcy` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in resolveBankruptcy for userAccount ${userKey.toBase58()}: \n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }`; logger.error(msg); webhookMessage(msg); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent resolveBankruptcy tx for ${userKey.toBase58()} in perp market ${perpIdx} tx: ${ resp.txSig } ` ); } } for (const spotIdx of bankruptSpotMarkets) { logger.info( `Resolving spot market for userAcc: ${userKey.toBase58()}, marketIndex: ${spotIdx} ` ); if (this.liquidatorConfig.notifyOnLiquidation) { webhookMessage( `[${ this.name }]: Resolving spot market for userAcc: ${userKey.toBase58()}, marketIndex: ${spotIdx} ` ); } const ix = await this.driftClient.getResolveSpotBankruptcyIx( userKey, userAcc, spotIdx ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [ix], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in resolveBankruptcy for userAccount ${userKey.toBase58()} in spot market ${spotIdx}, simError: ${JSON.stringify( simResult.simError )}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: resolveBankruptcy` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in resolveBankruptcy for userAccount ${userKey.toBase58()}: \n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }`; logger.error(msg); webhookMessage(msg); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent resolveBankruptcy tx for ${userKey.toBase58()} in spot market ${spotIdx} tx: ${ resp.txSig } ` ); } } } private hasCollateralToLiquidate(subAccountId: number): boolean { const currUser = this.driftClient.getUser(subAccountId); const freeCollateral = currUser.getFreeCollateral('Initial'); const subAccountValue = new BN( calculateAccountValueUsd(currUser) * QUOTE_PRECISION.toNumber() ); const minFreeCollateral = subAccountValue .mul(this.maxPositionTakeoverPctOfCollateralNum) .div(this.maxPositionTakeoverPctOfCollateralDenom); return freeCollateral.gte(minFreeCollateral); } private findBestSpotPosition( liquidateeUser: User, spotPositions: SpotPosition[], isBorrow: boolean, positionTakerOverPctNumerator: BN, positionTakerOverPctDenominator: BN ): { bestIndex: number; bestAmount: BN; indexWithMaxAssets: number; indexWithOpenOrders: number; } { let bestIndex = -1; let bestAmount = ZERO; let currentAstWeight = 0; let currentLibWeight = Number.MAX_VALUE; let indexWithMaxAssets = -1; let maxAssets = new BN(-1); let indexWithOpenOrders = -1; for (const position of spotPositions) { const market = this.driftClient.getSpotMarketAccount( position.marketIndex ); if (!market) { throw new Error('No spot market found, drift client misconfigured'); continue; } if (position.scaledBalance.eq(ZERO)) { continue; } if (position.openOrders > 0) { indexWithOpenOrders = position.marketIndex; } const totalAssetValue = liquidateeUser.getSpotMarketAssetValue( position.marketIndex, 'Maintenance', true, undefined, undefined ); if (totalAssetValue.abs().gt(maxAssets)) { maxAssets = totalAssetValue.abs(); indexWithMaxAssets = position.marketIndex; } if ( (isBorrow && isVariant(position.balanceType, 'deposit')) || (!isBorrow && isVariant(position.balanceType, 'borrow')) ) { continue; } const spotMarket = this.driftClient.getSpotMarketAccount( position.marketIndex ); if (!spotMarket) { logger.error(`No spot market found for ${position.marketIndex}`); continue; } const liquidatorUser = this.getLiquidatorUserForSpotMarket( position.marketIndex ); if (!liquidatorUser) { continue; } const tokenAmount = calculateSpotTokenAmountToLiquidate( this.driftClient, liquidatorUser, position, positionTakerOverPctNumerator, positionTakerOverPctDenominator ); if (isBorrow) { if (spotMarket.maintenanceLiabilityWeight < currentLibWeight) { bestAmount = tokenAmount; bestIndex = position.marketIndex; currentAstWeight = spotMarket.maintenanceAssetWeight; currentLibWeight = spotMarket.maintenanceLiabilityWeight; } } else { if (spotMarket.maintenanceAssetWeight > currentAstWeight) { bestAmount = tokenAmount; bestIndex = position.marketIndex; currentAstWeight = spotMarket.maintenanceAssetWeight; currentLibWeight = spotMarket.maintenanceLiabilityWeight; } } } return { bestIndex, bestAmount, indexWithMaxAssets: indexWithMaxAssets, indexWithOpenOrders, }; } private async liqSpot( user: User, depositMarketIndexToLiq: number, borrowMarketIndexToLiq: number, subAccountToLiqSpot: number, amountToLiqBN: BN ): Promise<boolean> { let sentTx = false; const ix = await this.driftClient.getLiquidateSpotIx( user.userAccountPublicKey, user.getUserAccount(), depositMarketIndexToLiq, borrowMarketIndexToLiq, amountToLiqBN, undefined, subAccountToLiqSpot ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [ix], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in liquidateSpot for userAccount ${user.userAccountPublicKey.toBase58()} in spot market ${borrowMarketIndexToLiq}, simError: ${JSON.stringify( simResult.simError )}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: liquidateSpot` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in liquidateSpot for userAccount ${user.userAccountPublicKey.toBase58()}: \n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }`; logger.error(msg); webhookMessage(msg); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); sentTx = true; logger.info( `Sent liquidateSpot tx for ${user.userAccountPublicKey.toBase58()} in spot market ${borrowMarketIndexToLiq} tx: ${ resp.txSig } ` ); if (this.liquidatorConfig.notifyOnLiquidation) { webhookMessage( `[${ this.name }]: liquidateBorrow for userAccount ${user.userAccountPublicKey.toBase58()} in spot market ${borrowMarketIndexToLiq} tx: ${ resp.txSig } ` ); } } return sentTx; } private async liqBorrow( depositMarketIndexToLiq: number, borrowMarketIndexToLiq: number, borrowAmountToLiq: BN, user: User ): Promise<boolean> { const borrowMarket = this.driftClient.getSpotMarketAccount( borrowMarketIndexToLiq )!; const spotPrecision = TEN.pow(new BN(borrowMarket.decimals)); logger.info( `liqBorrow: ${user.userAccountPublicKey.toBase58()} amountToLiq: ${convertToNumber( borrowAmountToLiq, spotPrecision )} on market ${borrowMarketIndexToLiq}` ); const subAccountToLiqSpot = this.getSubAccountIdToLiquidateSpot( borrowMarketIndexToLiq ); if (subAccountToLiqSpot === undefined) { return false; } const currUser = this.driftClient.getUser(subAccountToLiqSpot); const oracle = this.driftClient.getOracleDataForSpotMarket( borrowMarketIndexToLiq ); const borrowValue = getTokenValue( borrowAmountToLiq, borrowMarket.decimals, oracle ); const subAccountValue = calculateAccountValueUsd(currUser); const freeCollateral = currUser.getFreeCollateral('Initial'); const collateralAvailable = freeCollateral .mul(this.maxPositionTakeoverPctOfCollateralNum) .div(this.maxPositionTakeoverPctOfCollateralDenom); let amountToLiqBN = borrowAmountToLiq.muln(2); // double to make sure it clears out extra interest if (borrowValue.gt(collateralAvailable)) { amountToLiqBN = spotPrecision.mul(collateralAvailable).div(oracle.price); } logger.info( `Subaccount ${subAccountToLiqSpot}: BorrowValue: ${borrowValue}, accountValue: ${subAccountValue}, collateralAvailable: ${convertToNumber( collateralAvailable, QUOTE_PRECISION )}, amountToLiq: ${convertToNumber(amountToLiqBN, spotPrecision)}` ); return await this.liqSpot( user, depositMarketIndexToLiq, borrowMarketIndexToLiq, subAccountToLiqSpot, amountToLiqBN ); } private async liqPerpPnl( user: User, perpMarketAccount: PerpMarketAccount, usdcAccount: SpotMarketAccount, liquidateePosition: PerpPosition, depositMarketIndextoLiq: number, depositAmountToLiq: BN, borrowMarketIndextoLiq: number, borrowAmountToLiq: BN ): Promise<boolean> { logger.info( `liqPerpPnl: ${user.userAccountPublicKey.toBase58()} depositAmountToLiq: ${depositAmountToLiq.toString()} (depMktIndex: ${depositMarketIndextoLiq}). borrowAmountToLiq: ${borrowAmountToLiq.toString()} (brwMktIndex: ${borrowMarketIndextoLiq}). liqeePositionQuoteAmount: ${liquidateePosition.quoteAssetAmount.toNumber()} (perpMktIdx: ${ perpMarketAccount.marketIndex })` ); let sentTx = false; if (liquidateePosition.quoteAssetAmount.gt(ZERO)) { const claimablePnl = calculateClaimablePnl( perpMarketAccount, usdcAccount, liquidateePosition, this.driftClient.getOracleDataForPerpMarket( liquidateePosition.marketIndex ) ); if (claimablePnl.gt(ZERO) && borrowMarketIndextoLiq === -1) { const ix = await this.driftClient.getSettlePNLsIxs( [ { settleeUserAccountPublicKey: user.userAccountPublicKey, settleeUserAccount: user.getUserAccount(), }, ], [liquidateePosition.marketIndex] ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( ix, [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in settlePnl for userAccount ${user.userAccountPublicKey.toBase58()} in perp market ${ liquidateePosition.marketIndex }, simError: ${JSON.stringify(simResult.simError)}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: settlePnl` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in settlePnl for userAccount ${user.userAccountPublicKey.toBase58()}: \n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }`; logger.error(msg); webhookMessage(msg); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent settlePnl tx for ${user.userAccountPublicKey.toBase58()} in perp market ${ liquidateePosition.marketIndex } tx: ${resp.txSig} ` ); } return sentTx; } let frac = new BN(100000000); if (claimablePnl.gt(ZERO)) { frac = BN.max( liquidateePosition.quoteAssetAmount.div(claimablePnl), new BN(1) ); } if (frac.lt(new BN(100000000))) { const subAccountToLiqBorrow = this.getSubAccountIdToLiquidateSpot( borrowMarketIndextoLiq ); if (subAccountToLiqBorrow === undefined) { return sentTx; } const ix = await this.driftClient.getLiquidateBorrowForPerpPnlIx( user.userAccountPublicKey, user.getUserAccount(), liquidateePosition.marketIndex, borrowMarketIndextoLiq, borrowAmountToLiq.div(frac), undefined, subAccountToLiqBorrow ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [ix], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in liquidateBorrowForPerpPnl for userAccount ${user.userAccountPublicKey.toBase58()} in spot market ${borrowMarketIndextoLiq}, simError: ${JSON.stringify( simResult.simError )}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: liquidateBorrowForPerpPnl` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in liquidateBorrowForPerpPnl for userAccount ${user.userAccountPublicKey.toBase58()}: \n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }`; logger.error(msg); webhookMessage(msg); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); logger.info( `Sent liquidateBorrowForPerpPnl tx for ${user.userAccountPublicKey.toBase58()} in spot market ${borrowMarketIndextoLiq} tx: ${ resp.txSig } ` ); if (this.liquidatorConfig.notifyOnLiquidation) { webhookMessage( `[${ this.name }]: liquidateBorrowForPerpPnl for userAccount ${user.userAccountPublicKey.toBase58()} in spot market ${borrowMarketIndextoLiq} tx: ${ resp.txSig } ` ); } } } else { logger.info( `claimablePnl = ${claimablePnl.toString()} << liquidateePosition.quoteAssetAmount=${liquidateePosition.quoteAssetAmount.toString()} ` ); logger.info(`skipping liquidateBorrowForPerpPnl`); } } else { const start = Date.now(); const { perpTier: safestPerpTier, spotTier: safestSpotTier } = user.getSafestTiers(); const perpTier = getPerpMarketTierNumber(perpMarketAccount); if (!perpTierIsAsSafeAs(perpTier, safestPerpTier, safestSpotTier)) { return sentTx; } if (!this.spotMarketIndicies.includes(depositMarketIndextoLiq)) { logger.info( `skipping liquidatePerpPnlForDeposit of ${user.userAccountPublicKey.toBase58()} on spot market ${depositMarketIndextoLiq} because it is not in spotMarketIndices` ); return sentTx; } const subAccountToTakeOverPerpPnl = this.getSubAccountIdToLiquidatePerp( liquidateePosition.marketIndex ); if (subAccountToTakeOverPerpPnl === undefined) { return sentTx; } const pnlToLiq = this.driftClient .getUser(subAccountToTakeOverPerpPnl) .getFreeCollateral('Initial'); try { const ix = await this.driftClient.getLiquidatePerpPnlForDepositIx( user.userAccountPublicKey, user.getUserAccount(), liquidateePosition.marketIndex, depositMarketIndextoLiq, pnlToLiq, undefined, subAccountToTakeOverPerpPnl ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [ix], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in liquidatePerpPnlForDeposit for userAccount ${user.userAccountPublicKey.toBase58()} on market ${ liquidateePosition.marketIndex }: simError: ${JSON.stringify(simResult.simError)}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: liquidatePerpPnlForDeposit` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in liquidatePerpPnlForDeposit for userAccount ${user.userAccountPublicKey.toBase58()} on market ${ liquidateePosition.marketIndex }: \n${simResult.simTxLogs ? simResult.simTxLogs.join('\n') : ''}`; logger.error(msg); webhookMessage(msg); } else { this.throttledUsers.set( user.userAccountPublicKey.toBase58(), Date.now() ); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); sentTx = true; logger.info( `Sent liquidatePerpPnlForDeposit tx for ${user.userAccountPublicKey.toBase58()} on market ${ liquidateePosition.marketIndex } tx: ${resp.txSig} ` ); if (this.liquidatorConfig.notifyOnLiquidation) { webhookMessage( `[${ this.name }]: liquidatePerpPnlForDeposit for ${user.userAccountPublicKey.toBase58()} on market ${ liquidateePosition.marketIndex } tx: ${resp.txSig} ` ); } } } catch (err) { logger.error( `Error in liquidatePerpPnlForDeposit for userAccount ${user.userAccountPublicKey.toBase58()} on market ${ liquidateePosition.marketIndex }` ); console.error(err); } finally { this.recordHistogram(start, 'liquidatePerpPnlForDeposit'); } } return sentTx; } private async liqPerp( user: User, perpMarketIndex: number, subAccountToLiqPerp: number, baseAmountToLiquidate: BN ): Promise<boolean> { let txSent = false; const ix = await this.driftClient.getLiquidatePerpIx( user.userAccountPublicKey, user.getUserAccount(), perpMarketIndex, baseAmountToLiquidate, undefined, subAccountToLiqPerp ); const simResult = await this.buildVersionedTransactionWithSimulatedCus( [ix], [this.driftLookupTables!], Math.floor(this.priorityFeeSubscriber.getCustomStrategyResult()) ); if (simResult.simError !== null) { logger.error( `Error in liquidatePerp for userAccount ${user.userAccountPublicKey.toBase58()} on market ${perpMarketIndex}, simError: ${JSON.stringify( simResult.simError )}` ); const errorCode = handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: liquidatePerp` ); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { const msg = `[${ this.name }]: :x: error in liquidatePerp for userAccount ${user.userAccountPublicKey.toBase58()} on market ${perpMarketIndex}: \n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }`; logger.error(msg); webhookMessage(msg); } else { this.throttledUsers.set( user.userAccountPublicKey.toBase58(), Date.now() ); } } else { const resp = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, undefined, this.driftClient.opts ); txSent = true; logger.info( `Sent liquidatePerp tx for ${user.userAccountPublicKey.toBase58()} on market ${perpMarketIndex} tx: ${ resp.txSig } ` ); if (this.liquidatorConfig.notifyOnLiquidation) { webhookMessage( `[${ this.name }]: liquidatePerp for ${user.userAccountPublicKey.toBase58()} on market ${perpMarketIndex} tx: ${ resp.txSig } ` ); } } return txSent; } private findSortedUsers(): { usersCanBeLiquidated: Array<{ user: User; userKey: string; marginRequirement: BN; canBeLiquidated: boolean; }>; checkedUsers: number; liquidatableUsers: number; } { const usersCanBeLiquidated = new Array<{ user: User; userKey: string; marginRequirement: BN; canBeLiquidated: boolean; }>(); let checkedUsers = 0; let liquidatableUsers = 0; for (const user of this.userMap!.values()) { checkedUsers++; const { canBeLiquidated, marginRequirement } = user.canBeLiquidated(); if (canBeLiquidated || user.isBeingLiquidated()) { liquidatableUsers++; const userKey = user.userAccountPublicKey.toBase58(); if (this.excludedAccounts.has(userKey)) { // Debug log precisely because the intent is to avoid noise logger.debug( `Skipping liquidation for ${userKey} due to configuration` ); } else { usersCanBeLiquidated.push({ user, userKey, marginRequirement, canBeLiquidated, }); } } } // sort the usersCanBeLiquidated by marginRequirement, largest to smallest usersCanBeLiquidated.sort((a, b) => { return b.marginRequirement.gt(a.marginRequirement) ? 1 : -1; }); return { usersCanBeLiquidated, checkedUsers, liquidatableUsers, }; } private async tryLiquidate(): Promise<{ checkedUsers: number; liquidatableUsers: number; ran: boolean; skipReason: { untrackedPerpMarket: number; untrackedSpotMarket: number; throttledUser: number; liquidatePerpPnlForDepositSent: number; liquidatePerpSent: number; liquidateSpotSent: number; }; }> { const { usersCanBeLiquidated, checkedUsers, liquidatableUsers } = this.findSortedUsers(); let untrackedPerpMarket = 0; let untrackedSpotMarket = 0; let throttledUser = 0; let liquidatePerpPnlForDepositSent = 0; let liquidatePerpSent = 0; let liquidateSpotSent = 0; for (const { user, userKey, marginRequirement: _marginRequirement, canBeLiquidated, } of usersCanBeLiquidated) { const userAcc = user.getUserAccount(); const auth = userAcc.authority.toBase58(); if (isUserBankrupt(user) || user.isBankrupt()) { await this.tryResolveBankruptUser(user); } else if (canBeLiquidated) { const lastAttempt = this.throttledUsers.get(userKey); if (lastAttempt) { const now = Date.now(); if (lastAttempt + LIQUIDATE_THROTTLE_BACKOFF > now) { logger.warn( `skipping user(throttled, retry in ${ lastAttempt + LIQUIDATE_THROTTLE_BACKOFF - now }ms) ${auth}: ${userKey} ` ); throttledUser++; continue; } else { this.throttledUsers.delete(userKey); } } const liquidateeUserAccount = user.getUserAccount(); // most attractive spot market liq const { bestIndex: depositMarketIndextoLiq, bestAmount: depositAmountToLiq, indexWithMaxAssets, indexWithOpenOrders, } = this.findBestSpotPosition( user, liquidateeUserAccount.spotPositions, false, this.maxPositionTakeoverPctOfCollateralNum, this.maxPositionTakeoverPctOfCollateralDenom ); const { bestIndex: borrowMarketIndextoLiq, bestAmount: borrowAmountToLiq, } = this.findBestSpotPosition( user, liquidateeUserAccount.spotPositions, true, this.maxPositionTakeoverPctOfCollateralNum, this.maxPositionTakeoverPctOfCollateralDenom ); let liquidateeHasSpotPos = false; if (borrowMarketIndextoLiq != -1 && depositMarketIndextoLiq != -1) { liquidateeHasSpotPos = true; const sent = await this.liqBorrow( depositMarketIndextoLiq, borrowMarketIndextoLiq, borrowAmountToLiq, user ); if (sent) { liquidateSpotSent++; } } const usdcMarket = this.driftClient.getSpotMarketAccount( QUOTE_SPOT_MARKET_INDEX ); if (!usdcMarket) { throw new Error( `USDC spot market not loaded, misconfigured DriftClient` ); } // less attractive, perp / perp pnl liquidations let liquidateeHasPerpPos = false; let liquidateeHasUnsettledPerpPnl = false; let liquidateeHasLpPos = false; let liquidateePerpIndexWithOpenOrders = -1; // shuffle user perp positions to get good position coverage in case some // positions put the liquidator into a bad state. const userPerpPositions = user.getActivePerpPositions(); userPerpPositions.sort(() => Math.random() - 0.5); for (const liquidateePosition of userPerpPositions) { if (liquidateePosition.openOrders > 0) { liquidateePerpIndexWithOpenOrders = liquidateePosition.marketIndex; } const perpMarket = this.driftClient.getPerpMarketAccount( liquidateePosition.marketIndex ); if (!perpMarket) { throw new Error( `perpMarket not loaded for marketIndex ${liquidateePosition.marketIndex}, misconfigured DriftClient` ); } // TODO: use enum on new sdk release if ( isOperationPaused(perpMarket.pausedOperations, 32 as PerpOperation) ) { logger.info( `Skipping liquidation for ${userKey} on market ${perpMarket.marketIndex}, liquidation paused` ); continue; } liquidateeHasUnsettledPerpPnl = liquidateePosition.baseAssetAmount.isZero() && !liquidateePosition.quoteAssetAmount.isZero(); liquidateeHasPerpPos = !liquidateePosition.baseAssetAmount.isZero() || !liquidateePosition.quoteAssetAmount.isZero(); liquidateeHasLpPos = !liquidateePosition.lpShares.isZero(); const tryLiqPerp = liquidateeHasUnsettledPerpPnl && // call liquidatePerpPnlForDeposit ((liquidateePosition.quoteAssetAmount.lt(ZERO) && depositMarketIndextoLiq > -1) || // call liquidateBorrowForPerpPnl or settlePnl liquidateePosition.quoteAssetAmount.gt(ZERO)); if (tryLiqPerp) { const sent = await this.liqPerpPnl( user, perpMarket, usdcMarket, liquidateePosition, depositMarketIndextoLiq, depositAmountToLiq, borrowMarketIndextoLiq, borrowAmountToLiq ); if (sent) { liquidatePerpPnlForDepositSent++; } } const baseAmountToLiquidate = this.calculateBaseAmountToLiquidate( user.getPerpPositionWithLPSettle( liquidateePosition.marketIndex, liquidateePosition )[0] ); const subAccountToLiqPerp = this.getSubAccountIdToLiquidatePerp( liquidateePosition.marketIndex ); if (subAccountToLiqPerp === undefined) { untrackedPerpMarket++; continue; } if (baseAmountToLiquidate.gt(ZERO)) { if (this.dryRun) { logger.warn('--dry run flag enabled - not sending liquidate tx'); continue; } const sent = await this.liqPerp( user, liquidateePosition.marketIndex, subAccountToLiqPerp, baseAmountToLiquidate ); if (sent) { liquidatePerpSent++; } } else if (liquidateeHasLpPos) { logger.info( `liquidatePerp ${auth}-${user.userAccountPublicKey.toBase58()} on market ${ liquidateePosition.marketIndex } has lp shares but no perp pos, trying to clear it:` ); const sent = await this.liqPerp( user, liquidateePosition.marketIndex, subAccountToLiqPerp, ZERO ); if (sent) { liquidatePerpSent++; } } } if (!liquidateeHasSpotPos && !liquidateeHasPerpPos) { logger.info( `${auth}-${user.userAccountPublicKey.toBase58()} can be liquidated but has no positions` ); if (liquidateePerpIndexWithOpenOrders !== -1) { logger.info( `${auth}-${user.userAccountPublicKey.toBase58()} liquidatePerp with open orders in ${liquidateePerpIndexWithOpenOrders}` ); this.throttledUsers.set( user.userAccountPublicKey.toBase58(), Date.now() ); const subAccountToLiqPerp = this.getSubAccountIdToLiquidatePerp( liquidateePerpIndexWithOpenOrders ); if (subAccountToLiqPerp === undefined) { untrackedPerpMarket++; continue; } const sent = await this.liqPerp( user, liquidateePerpIndexWithOpenOrders, subAccountToLiqPerp, ZERO ); if (sent) { liquidatePerpSent++; } } if (indexWithOpenOrders !== -1) { logger.info( `${auth}-${user.userAccountPublicKey.toBase58()} liquidateSpot with assets in ${indexWithMaxAssets} and open orders in ${indexWithOpenOrders}` ); this.throttledUsers.set( user.userAccountPublicKey.toBase58(), Date.now() ); const subAccountToLiqSpot = this.getSubAccountIdToLiquidateSpot(indexWithOpenOrders); if (subAccountToLiqSpot === undefined) { untrackedSpotMarket++; continue; } const sent = await this.liqSpot( user, indexWithMaxAssets, indexWithOpenOrders, subAccountToLiqSpot, ZERO ); if (sent) { liquidateSpotSent++; } } } } else if (user.isBeingLiquidated()) { // liquidate the user to bring them out of liquidation status, can liquidate any market even // if the user doesn't have a position in it logger.info( `[${ this.name }]: user stuck in beingLiquidated status, need to clear it for ${user.userAccountPublicKey.toBase58()}` ); // can liquidate with any subaccount, no liability transfer const sent = await this.liqPerp( user, 0, this.driftClient.activeSubAccountId, ZERO ); if (sent) { liquidatePerpSent++; } } } return { ran: true, checkedUsers, liquidatableUsers, skipReason: { untrackedPerpMarket, untrackedSpotMarket, throttledUser, liquidatePerpPnlForDepositSent, liquidatePerpSent, liquidateSpotSent, }, }; } /** * iterates over users in userMap and checks: * 1. is user bankrupt? if so, resolve bankruptcy * 2. is user in liquidation? If so, endangered position is liquidated */ private async tryLiquidateStart() { const start = Date.now(); /* If there is more than one subAccount, then derisk and liquidate may try to change it, so both need to be mutually exclusive. If not, all we care about is avoiding two liquidation calls at the same time. */ const mutex = this.allSubaccounts.size > 1 ? this.deriskMutex : this.liquidateMutex; if (!this.acquireMutex(mutex)) { logger.info( `${this.name} tryLiquidate ran into locked mutex, skipping run.` ); return; } let ran = false; let checkedUsers = 0; let liquidatableUsers = 0; let skipReason: any; try { ({ ran, checkedUsers, liquidatableUsers, skipReason } = await this.tryLiquidate()); } catch (e) { console.error(e); if (e instanceof Error) { webhookMessage( `[${this.name}]: :x: uncaught error: \n${ e.stack ? e.stack : e.message } ` ); } } finally { if (ran) { logger.info( `${ this.name } Bot checked ${checkedUsers} users, ${liquidatableUsers} liquidateable, skipReason: ${JSON.stringify( skipReason )}. Took: ${Date.now() - start}ms to run` ); this.watchdogTimerLastPatTime = Date.now(); } } this.releaseMutex(mutex); } private recordHistogram(start: number, method: string) { if (this.sdkCallDurationHistogram) { this.sdkCallDurationHistogram!.record(Date.now() - start, { method: method, }); } } private initializeMetrics() { if (this.metricsInitialized) { logger.error('Tried to initilaize metrics multiple times'); return; } this.metricsInitialized = true; const { endpoint: defaultEndpoint } = PrometheusExporter.DEFAULT_OPTIONS; this.exporter = new PrometheusExporter( { port: this.metricsPort, endpoint: defaultEndpoint, }, () => { logger.info( `prometheus scrape endpoint started: http://localhost:${this.metricsPort}${defaultEndpoint}` ); } ); const meterName = this.name; const meterProvider = new MeterProvider({ views: [ new View({ instrumentName: METRIC_TYPES.sdk_call_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: meterName, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 0 + i * 100), true ), }), ], }); meterProvider.addMetricReader(this.exporter); this.meter = meterProvider.getMeter(meterName); this.runtimeSpecsGauge = this.meter.createObservableGauge( METRIC_TYPES.runtime_specs, { description: 'Runtime sepcification of this program', } ); this.runtimeSpecsGauge.addCallback((obs) => { obs.observe(1, this.runtimeSpecs); }); this.totalLeverage = this.meter.createObservableGauge( METRIC_TYPES.total_leverage, { description: 'Total leverage of the account', } ); this.totalCollateral = this.meter.createObservableGauge( METRIC_TYPES.total_collateral, { description: 'Total collateral of the account', } ); this.freeCollateral = this.meter.createObservableGauge( METRIC_TYPES.free_collateral, { description: 'Free collateral of the account', } ); this.perpPositionValue = this.meter.createObservableGauge( METRIC_TYPES.perp_posiiton_value, { description: 'Value of account perp positions', } ); this.perpPositionBase = this.meter.createObservableGauge( METRIC_TYPES.perp_posiiton_base, { description: 'Base asset value of account perp positions', } ); this.perpPositionQuote = this.meter.createObservableGauge( METRIC_TYPES.perp_posiiton_quote, { description: 'Quote asset value of account perp positions', } ); this.initialMarginRequirement = this.meter.createObservableGauge( METRIC_TYPES.initial_margin_requirement, { description: 'The account initial margin requirement', } ); this.maintenanceMarginRequirement = this.meter.createObservableGauge( METRIC_TYPES.maintenance_margin_requirement, { description: 'The account maintenance margin requirement', } ); this.unrealizedPnL = this.meter.createObservableGauge( METRIC_TYPES.unrealized_pnl, { description: 'The account unrealized PnL', } ); this.unrealizedFundingPnL = this.meter.createObservableGauge( METRIC_TYPES.unrealized_funding_pnl, { description: 'The account unrealized funding PnL', } ); this.sdkCallDurationHistogram = this.meter.createHistogram( METRIC_TYPES.sdk_call_duration_histogram, { description: 'Distribution of sdk method calls', unit: 'ms', } ); this.userMapUserAccountKeysGauge = this.meter.createObservableGauge( METRIC_TYPES.user_map_user_account_keys, { description: 'number of user account keys in UserMap', } ); this.userMapUserAccountKeysGauge.addCallback(async (obs) => { obs.observe(this.userMap!.size()); }); this.meter.addBatchObservableCallback( async (batchObservableResult: BatchObservableResult) => { // each subaccount is responsible for a market // record account specific metrics for (const [idx, user] of this.driftClient.getUsers().entries()) { const accMarketIdx = idx; const userAccount = user.getUserAccount(); const oracle = this.driftClient.getOracleDataForPerpMarket(accMarketIdx); batchObservableResult.observe( this.totalLeverage!, convertToNumber(user.getLeverage(), TEN_THOUSAND), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); batchObservableResult.observe( this.totalCollateral!, convertToNumber(user.getTotalCollateral(), QUOTE_PRECISION), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); batchObservableResult.observe( this.freeCollateral!, convertToNumber(user.getFreeCollateral(), QUOTE_PRECISION), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); batchObservableResult.observe( this.perpPositionValue!, convertToNumber( user.getPerpPositionValue(accMarketIdx, oracle), QUOTE_PRECISION ), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); const perpPosition = user.getPerpPosition(accMarketIdx); batchObservableResult.observe( this.perpPositionBase!, convertToNumber( perpPosition!.baseAssetAmount ?? ZERO, BASE_PRECISION ), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); batchObservableResult.observe( this.perpPositionQuote!, convertToNumber( perpPosition!.quoteAssetAmount ?? ZERO, QUOTE_PRECISION ), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); batchObservableResult.observe( this.initialMarginRequirement!, convertToNumber( user.getInitialMarginRequirement(), QUOTE_PRECISION ), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); batchObservableResult.observe( this.maintenanceMarginRequirement!, convertToNumber( user.getMaintenanceMarginRequirement(), QUOTE_PRECISION ), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); batchObservableResult.observe( this.unrealizedPnL!, convertToNumber(user.getUnrealizedPNL(), QUOTE_PRECISION), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); batchObservableResult.observe( this.unrealizedFundingPnL!, convertToNumber(user.getUnrealizedFundingPNL(), QUOTE_PRECISION), metricAttrFromUserAccount(user.userAccountPublicKey, userAccount) ); } }, [ this.totalLeverage, this.totalCollateral, this.freeCollateral, this.perpPositionValue, this.perpPositionBase, this.perpPositionQuote, this.initialMarginRequirement, this.maintenanceMarginRequirement, this.unrealizedPnL, this.unrealizedFundingPnL, ] ); } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/floatingMaker.ts
import { calculateAskPrice, calculateBidPrice, BN, isVariant, DriftClient, PerpMarketAccount, SlotSubscriber, PositionDirection, OrderType, BASE_PRECISION, Order, PerpPosition, } from '@drift-labs/sdk'; import { Mutex, tryAcquire, E_ALREADY_LOCKED } from 'async-mutex'; import { logger } from '../logger'; import { Bot } from '../types'; import { RuntimeSpec, metricAttrFromUserAccount } from '../metrics'; import { PrometheusExporter } from '@opentelemetry/exporter-prometheus'; import { Counter, Histogram, Meter, ObservableGauge } from '@opentelemetry/api'; import { ExplicitBucketHistogramAggregation, InstrumentType, MeterProvider, View, } from '@opentelemetry/sdk-metrics-base'; import { BaseBotConfig } from '../config'; type State = { marketPosition: Map<number, PerpPosition>; openOrders: Map<number, Array<Order>>; }; const MARKET_UPDATE_COOLDOWN_SLOTS = 30; // wait slots before updating market position enum METRIC_TYPES { sdk_call_duration_histogram = 'sdk_call_duration_histogram', try_make_duration_histogram = 'try_make_duration_histogram', runtime_specs = 'runtime_specs', mutex_busy = 'mutex_busy', errors = 'errors', } /** * * This bot is responsible for placing limit orders that rest on the DLOB. * limit price offsets are used to automatically shift the orders with the * oracle price, making order updating automatic. * */ export class FloatingPerpMakerBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly defaultIntervalMs: number = 5000; private driftClient: DriftClient; private slotSubscriber: SlotSubscriber; private periodicTaskMutex = new Mutex(); private lastSlotMarketUpdated: Map<number, number> = new Map(); private intervalIds: Array<NodeJS.Timer> = []; // metrics private metricsInitialized = false; private metricsPort?: number; private exporter?: PrometheusExporter; private meter?: Meter; private bootTimeMs = Date.now(); private runtimeSpecsGauge?: ObservableGauge; private runtimeSpec?: RuntimeSpec; private mutexBusyCounter?: Counter; private tryMakeDurationHistogram?: Histogram; private agentState?: State; /** * Set true to enforce max position size */ private RESTRICT_POSITION_SIZE = false; /** * if a position's notional value passes this percentage of account * collateral, the position enters a CLOSING_* state. */ private MAX_POSITION_EXPOSURE = 0.1; /** * The max amount of quote to spend on each order. */ private MAX_TRADE_SIZE_QUOTE = 1000; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); constructor( clearingHouse: DriftClient, slotSubscriber: SlotSubscriber, runtimeSpec: RuntimeSpec, config: BaseBotConfig ) { this.name = config.botId; this.dryRun = config.dryRun; this.driftClient = clearingHouse; this.slotSubscriber = slotSubscriber; this.metricsPort = config.metricsPort; if (this.metricsPort) { this.initializeMetrics(); } } private initializeMetrics() { if (this.metricsInitialized) { logger.error('Tried to initilaize metrics multiple times'); return; } this.metricsInitialized = true; const { endpoint: defaultEndpoint } = PrometheusExporter.DEFAULT_OPTIONS; this.exporter = new PrometheusExporter( { port: this.metricsPort, endpoint: defaultEndpoint, }, () => { logger.info( `prometheus scrape endpoint started: http://localhost:${this.metricsPort}${defaultEndpoint}` ); } ); const meterName = this.name; const meterProvider = new MeterProvider({ views: [ new View({ instrumentName: METRIC_TYPES.try_make_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: meterName, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 0 + i * 5), true ), }), ], }); meterProvider.addMetricReader(this.exporter); this.meter = meterProvider.getMeter(meterName); this.bootTimeMs = Date.now(); this.runtimeSpecsGauge = this.meter.createObservableGauge( METRIC_TYPES.runtime_specs, { description: 'Runtime sepcification of this program', } ); this.runtimeSpecsGauge.addCallback((obs) => { obs.observe(this.bootTimeMs, this.runtimeSpec); }); this.mutexBusyCounter = this.meter.createCounter(METRIC_TYPES.mutex_busy, { description: 'Count of times the mutex was busy', }); this.tryMakeDurationHistogram = this.meter.createHistogram( METRIC_TYPES.try_make_duration_histogram, { description: 'Distribution of tryTrigger', unit: 'ms', } ); } public async init() { logger.info(`${this.name} initing`); this.agentState = { marketPosition: new Map<number, PerpPosition>(), openOrders: new Map<number, Array<Order>>(), }; this.updateAgentState(); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; } public async startIntervalLoop(intervalMs?: number) { await this.updateOpenOrders(); const intervalId = setInterval( this.updateOpenOrders.bind(this), intervalMs ); this.intervalIds.push(intervalId); logger.info(`${this.name} Bot started!`); } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 2 * this.defaultIntervalMs; }); return healthy; } /** * Updates the agent state based on its current market positions. * * We want to maintain a two-sided market while being conscious of the positions * taken on by the account. * * As open positions approach MAX_POSITION_EXPOSURE, limit orders are skewed such * that the position that decreases risk will be closer to the oracle price, and the * position that increases risk will be further from the oracle price. * * @returns {Promise<void>} */ private updateAgentState(): void { this.driftClient.getUserAccount()!.perpPositions.map((p) => { if (p.baseAssetAmount.isZero()) { return; } this.agentState!.marketPosition.set(p.marketIndex, p); }); // zero out the open orders for (const market of this.driftClient.getPerpMarketAccounts()) { this.agentState!.openOrders.set(market.marketIndex, []); } this.driftClient.getUserAccount()!.orders.map((o) => { if (isVariant(o.status, 'init')) { return; } const marketIndex = o.marketIndex; this.agentState!.openOrders.set(marketIndex, [ ...(this.agentState!.openOrders.get(marketIndex) ?? []), o, ]); }); } private async updateOpenOrdersForMarket(marketAccount: PerpMarketAccount) { const currSlot = this.slotSubscriber.currentSlot; const marketIndex = marketAccount.marketIndex; const nextUpdateSlot = this.lastSlotMarketUpdated.get(marketIndex) ?? 0 + MARKET_UPDATE_COOLDOWN_SLOTS; if (nextUpdateSlot > currSlot) { return; } const openOrders = this.agentState!.openOrders.get(marketIndex) || []; const oracle = this.driftClient.getOracleDataForPerpMarket(marketIndex); const vAsk = calculateAskPrice(marketAccount, oracle); const vBid = calculateBidPrice(marketAccount, oracle); // cancel orders if not quoting both sides of the market let placeNewOrders = openOrders.length === 0; if ( (openOrders.length > 0 && openOrders.length != 2) || marketIndex === 0 ) { // cancel orders for (const o of openOrders) { const tx = await this.driftClient.cancelOrder(o.orderId); console.log( `${this.name} cancelling order ${this.driftClient .getUserAccount()! .authority.toBase58()}-${o.orderId}: ${tx}` ); } placeNewOrders = true; } if (placeNewOrders) { const biasNum = new BN(90); const biasDenom = new BN(100); const oracleBidSpread = oracle.price.sub(vBid); const tx0 = await this.driftClient.placePerpOrder({ marketIndex: marketIndex, orderType: OrderType.LIMIT, direction: PositionDirection.LONG, baseAssetAmount: BASE_PRECISION.mul(new BN(1)), oraclePriceOffset: oracleBidSpread .mul(biasNum) .div(biasDenom) .neg() .toNumber(), // limit bid below oracle }); console.log(`${this.name} placing long: ${tx0}`); const oracleAskSpread = vAsk.sub(oracle.price); const tx1 = await this.driftClient.placePerpOrder({ marketIndex: marketIndex, orderType: OrderType.LIMIT, direction: PositionDirection.SHORT, baseAssetAmount: BASE_PRECISION.mul(new BN(1)), oraclePriceOffset: oracleAskSpread .mul(biasNum) .div(biasDenom) .toNumber(), // limit ask above oracle }); console.log(`${this.name} placing short: ${tx1}`); } // enforce cooldown on market this.lastSlotMarketUpdated.set(marketIndex, currSlot); } private async updateOpenOrders() { const start = Date.now(); let ran = false; try { await tryAcquire(this.periodicTaskMutex).runExclusive(async () => { this.updateAgentState(); await Promise.all( this.driftClient.getPerpMarketAccounts().map((marketAccount) => { console.log( `${this.name} updating open orders for market ${marketAccount.marketIndex}` ); this.updateOpenOrdersForMarket(marketAccount); }) ); ran = true; }); } catch (e) { if (e === E_ALREADY_LOCKED) { const user = this.driftClient.getUser(); this.mutexBusyCounter!.add( 1, metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); } else { throw e; } } finally { if (ran) { const duration = Date.now() - start; const user = this.driftClient.getUser(); if (this.tryMakeDurationHistogram) { this.tryMakeDurationHistogram!.record( duration, metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); } logger.debug(`${this.name} Bot took ${Date.now() - start}ms to run`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/fundingRateUpdater.ts
import { DriftClient, ZERO, PerpMarketAccount, isOneOfVariant, getVariant, isOperationPaused, PerpOperation, decodeName, PublicKey, PriorityFeeSubscriberMap, DriftMarketInfo, isVariant, } from '@drift-labs/sdk'; import { Mutex } from 'async-mutex'; import { getErrorCode, getErrorCodeFromSimError } from '../error'; import { logger } from '../logger'; import { Bot } from '../types'; import { webhookMessage } from '../webhook'; import { BaseBotConfig } from '../config'; import { getDriftPriorityFeeEndpoint, simulateAndGetTxWithCUs, sleepMs, } from '../utils'; import { AddressLookupTableAccount, ComputeBudgetProgram, TransactionExpiredBlockheightExceededError, } from '@solana/web3.js'; const errorCodesToSuppress = [ 6040, 6251, // FundingWasNotUpdated 6096, // AMMNotUpdatedInSameSlot ]; const errorCodesCanRetry = [ 6096, // AMMNotUpdatedInSameSlot ]; const CU_EST_MULTIPLIER = 1.4; function onTheHourUpdate( now: number, lastUpdateTs: number, updatePeriod: number ): number | Error { const timeSinceLastUpdate = now - lastUpdateTs; if (timeSinceLastUpdate < 0) { return new Error('Invalid arguments'); } let nextUpdateWait = updatePeriod; if (updatePeriod > 1) { const lastUpdateDelay = lastUpdateTs % updatePeriod; if (lastUpdateDelay !== 0) { const maxDelayForNextPeriod = updatePeriod / 3; const twoFundingPeriods = updatePeriod * 2; if (lastUpdateDelay > maxDelayForNextPeriod) { // too late for on the hour next period, delay to following period nextUpdateWait = twoFundingPeriods - lastUpdateDelay; } else { // allow update on the hour nextUpdateWait = updatePeriod - lastUpdateDelay; } if (nextUpdateWait > twoFundingPeriods) { nextUpdateWait -= updatePeriod; } } } return Math.max(nextUpdateWait - timeSinceLastUpdate, 0); } export class FundingRateUpdaterBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly runOnce: boolean; public readonly defaultIntervalMs: number = 120000; // run every 2 min private driftClient: DriftClient; private intervalIds: Array<NodeJS.Timer> = []; private priorityFeeSubscriberMap?: PriorityFeeSubscriberMap; private lookupTableAccount?: AddressLookupTableAccount; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); private inProgress: boolean = false; constructor(driftClient: DriftClient, config: BaseBotConfig) { this.name = config.botId; this.dryRun = config.dryRun; this.driftClient = driftClient; this.runOnce = config.runOnce ?? false; } public async init() { const driftMarkets: DriftMarketInfo[] = []; for (const perpMarket of this.driftClient.getPerpMarketAccounts()) { driftMarkets.push({ marketType: 'perp', marketIndex: perpMarket.marketIndex, }); } this.priorityFeeSubscriberMap = new PriorityFeeSubscriberMap({ driftPriorityFeeEndpoint: getDriftPriorityFeeEndpoint('mainnet-beta'), driftMarkets, frequencyMs: 10_000, }); await this.priorityFeeSubscriberMap!.subscribe(); this.lookupTableAccount = await this.driftClient.fetchMarketLookupTableAccount(); logger.info(`[${this.name}] inited`); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; } public async startIntervalLoop(intervalMs?: number): Promise<void> { logger.info(`[${this.name}] Bot started! runOnce ${this.runOnce}`); if (this.runOnce) { await this.tryUpdateFundingRate(); } else { await this.tryUpdateFundingRate(); const intervalId = setInterval( this.tryUpdateFundingRate.bind(this), intervalMs ); this.intervalIds.push(intervalId); } } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 10 * this.defaultIntervalMs; }); return healthy; } private async tryUpdateFundingRate() { if (this.inProgress) { logger.info( `[${this.name}] UpdateFundingRate already in progress, skipping...` ); return; } const start = Date.now(); try { this.inProgress = true; const perpMarketAndOracleData: { [marketIndex: number]: { marketAccount: PerpMarketAccount; }; } = {}; for (const marketAccount of this.driftClient.getPerpMarketAccounts()) { perpMarketAndOracleData[marketAccount.marketIndex] = { marketAccount, }; } for ( let i = 0; i < this.driftClient.getPerpMarketAccounts().length; i++ ) { const perpMarket = perpMarketAndOracleData[i].marketAccount; isOneOfVariant; if (isOneOfVariant(perpMarket.status, ['initialized'])) { logger.info( `[${this.name}] Skipping perp market ${ perpMarket.marketIndex } because market status = ${getVariant(perpMarket.status)}` ); continue; } const fundingPaused = isOperationPaused( perpMarket.pausedOperations, PerpOperation.UPDATE_FUNDING ); if (fundingPaused) { const marketStr = decodeName(perpMarket.name); logger.warn( `[${this.name}] Update funding paused for market: ${perpMarket.marketIndex} ${marketStr}, skipping` ); continue; } if (perpMarket.amm.fundingPeriod.eq(ZERO)) { continue; } const currentTs = Date.now() / 1000; const timeRemainingTilUpdate = onTheHourUpdate( currentTs, perpMarket.amm.lastFundingRateTs.toNumber(), perpMarket.amm.fundingPeriod.toNumber() ); logger.info( `[${this.name}] Perp market ${perpMarket.marketIndex} timeRemainingTilUpdate=${timeRemainingTilUpdate}` ); if ((timeRemainingTilUpdate as number) <= 0) { logger.info( `[${this.name}] Perp market ${ perpMarket.marketIndex } lastFundingRateTs: ${perpMarket.amm.lastFundingRateTs.toString()}, fundingPeriod: ${perpMarket.amm.fundingPeriod.toString()}, lastFunding+Period: ${perpMarket.amm.lastFundingRateTs .add(perpMarket.amm.fundingPeriod) .toString()} vs. currTs: ${currentTs.toString()}` ); this.sendTxWithRetry(perpMarket.marketIndex, perpMarket.amm.oracle); } } } catch (e) { console.error(e); if (e instanceof Error) { await webhookMessage( `[${this.name}]: :x: uncaught error:\n${ e.stack ? e.stack : e.message }` ); } } finally { this.inProgress = false; logger.info( `[${this.name}] Update Funding Rates finished in ${ Date.now() - start }ms` ); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } private async sendTxs( microLamports: number, marketIndex: number, oracle: PublicKey ): Promise<{ success: boolean; canRetry: boolean }> { const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // simulateAndGetTxWithCUs will overwrite }), ComputeBudgetProgram.setComputeUnitPrice({ microLamports, }), ]; const perpMarket = this.driftClient.getPerpMarketAccount(marketIndex); if (isVariant(perpMarket?.amm.oracleSource, 'switchboardOnDemand')) { const crankIx = await this.driftClient.getPostSwitchboardOnDemandUpdateAtomicIx( perpMarket!.amm.oracle ); if (crankIx) { ixs.push(crankIx); } } ixs.push( await this.driftClient.getUpdateFundingRateIx(marketIndex, oracle) ); const recentBlockhash = await this.driftClient.connection.getLatestBlockhash('confirmed'); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: [this.lookupTableAccount!], cuLimitMultiplier: CU_EST_MULTIPLIER, doSimulation: true, recentBlockhash: recentBlockhash.blockhash, }); logger.info( `[${this.name}] UpdateFundingRate estimated ${simResult.cuEstimate} CUs for market: ${marketIndex}` ); if (simResult.simError !== null) { const errorCode = getErrorCodeFromSimError(simResult.simError); if (errorCode && errorCodesToSuppress.includes(errorCode)) { logger.error( `[${ this.name }] Sim error (suppressed) on market: ${marketIndex}, code: ${errorCode} ${JSON.stringify( simResult.simError )}` ); } else { logger.error( `[${ this.name }] Sim error (not suppressed) on market: ${marketIndex}, code: ${errorCode}: ${JSON.stringify( simResult.simError )}\n${simResult.simTxLogs ? simResult.simTxLogs.join('\n') : ''}` ); } if (errorCode && errorCodesCanRetry.includes(errorCode)) { return { success: false, canRetry: true }; } else { return { success: false, canRetry: false }; } } const sendTxStart = Date.now(); const txSig = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, [], this.driftClient.opts ); logger.info( `[${ this.name }] UpdateFundingRate for market: ${marketIndex}, tx sent in ${ Date.now() - sendTxStart }ms: https://solana.fm/tx/${txSig.txSig}` ); return { success: true, canRetry: false }; } private async sendTxWithRetry(marketIndex: number, oracle: PublicKey) { const pfs = this.priorityFeeSubscriberMap!.getPriorityFees( 'perp', marketIndex ); let microLamports = 10_000; if (pfs) { microLamports = Math.floor(pfs.medium); } const maxRetries = 30; for (let i = 0; i < maxRetries; i++) { try { logger.info( `[${ this.name }] Funding rate update on market ${marketIndex}, attempt: ${ i + 1 }/${maxRetries}` ); const result = await this.sendTxs(microLamports, marketIndex, oracle); if (result.success) { break; } if (result.canRetry) { logger.info(`[${this.name}] Retrying market ${marketIndex} in 1s...`); await sleepMs(1000); continue; } else { break; } } catch (e: any) { const err = e as Error; const errorCode = getErrorCode(err); logger.error( `[${this.name}] Error code: ${errorCode} while updating funding rates on perp marketIndex=${marketIndex}: ${err.message}` ); if (err instanceof TransactionExpiredBlockheightExceededError) { logger.info( `[${this.name}] Blockhash expired for market: ${marketIndex}, retrying in 1s...` ); await sleepMs(1000); continue; } else if (errorCode && !errorCodesToSuppress.includes(errorCode)) { logger.error( `[${this.name}] Unsuppressed error for market: ${marketIndex}, not retrying.` ); console.error(err); break; } } } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/filler.ts
import { ReferrerInfo, DriftClient, PerpMarketAccount, calculateAskPrice, calculateBidPrice, MakerInfo, isFillableByVAMM, calculateBaseAssetAmountForAmmToFulfill, isVariant, DLOB, NodeToFill, UserMap, UserStatsMap, MarketType, isOrderExpired, BulkAccountLoader, SlotSubscriber, PublicKey, DLOBNode, UserSubscriptionConfig, isOneOfVariant, DLOBSubscriber, NodeToTrigger, UserAccount, getUserAccountPublicKey, PriorityFeeSubscriber, DataAndSlot, BlockhashSubscriber, JupiterClient, BN, QUOTE_PRECISION, ClockSubscriber, DriftEnv, } from '@drift-labs/sdk'; import { Mutex, tryAcquire, E_ALREADY_LOCKED } from 'async-mutex'; import { TransactionInstruction, ComputeBudgetProgram, AddressLookupTableAccount, Connection, VersionedTransaction, LAMPORTS_PER_SOL, PACKET_DATA_SIZE, } from '@solana/web3.js'; import { ExplicitBucketHistogramAggregation, InstrumentType, View, } from '@opentelemetry/sdk-metrics-base'; import { logger } from '../logger'; import { Bot } from '../types'; import { FillerConfig, GlobalConfig } from '../config'; import { CounterValue, GaugeValue, HistogramValue, RuntimeSpec, metricAttrFromUserAccount, } from '../metrics'; import { webhookMessage } from '../webhook'; import { isEndIxLog, isErrFillingLog, isErrStaleOracle, isFillIxLog, isIxLog, isMakerBreachedMaintenanceMarginLog, isOrderDoesNotExistLog, isTakerBreachedMaintenanceMarginLog, } from './common/txLogParse'; import { getErrorCode } from '../error'; import { SimulateAndGetTxWithCUsResponse, getAllPythOracleUpdateIxs, getFillSignatureFromUserAccountAndOrderId, getNodeToFillSignature, getNodeToTriggerSignature, getSizeOfTransaction, handleSimResultError, logMessageForNodeToFill, removePythIxs, simulateAndGetTxWithCUs, swapFillerHardEarnedUSDCForSOL, validMinimumGasAmount, validRebalanceSettledPnlThreshold, } from '../utils'; import { selectMakers } from '../makerSelection'; import { BundleSender } from '../bundleSender'; import { Metrics } from '../metrics'; import { LRUCache } from 'lru-cache'; import { bs58 } from '@project-serum/anchor/dist/cjs/utils/bytes'; import { PythPriceFeedSubscriber } from '../pythPriceFeedSubscriber'; import { TxThreaded } from './common/txThreaded'; const TX_COUNT_COOLDOWN_ON_BURST = 10; // send this many tx before resetting burst mode const FILL_ORDER_THROTTLE_BACKOFF = 1000; // the time to wait before trying to fill a throttled (error filling) node again const THROTTLED_NODE_SIZE_TO_PRUNE = 10; // Size of throttled nodes to get to before pruning the map const TRIGGER_ORDER_COOLDOWN_MS = 1000; // the time to wait before trying to a node in the triggering map again export const MAX_MAKERS_PER_FILL = 6; // max number of unique makers to include per fill const MAX_ACCOUNTS_PER_TX = 64; // solana limit, track https://github.com/solana-labs/solana/issues/27241 const MAX_POSITIONS_PER_USER = 8; export const SETTLE_POSITIVE_PNL_COOLDOWN_MS = 60_000; export const CONFIRM_TX_INTERVAL_MS = 5_000; const SIM_CU_ESTIMATE_MULTIPLIER = 1.15; const SLOTS_UNTIL_JITO_LEADER_TO_SEND = 4; export const TX_CONFIRMATION_BATCH_SIZE = 100; export const TX_TIMEOUT_THRESHOLD_MS = 60_000; // tx considered stale after this time and give up confirming export const CONFIRM_TX_RATE_LIMIT_BACKOFF_MS = 5_000; // wait this long until trying to confirm tx again if rate limited export const CACHED_BLOCKHASH_OFFSET = 5; const DUMP_TXS_IN_SIM = false; const EXPIRE_ORDER_BUFFER_SEC = 60; // add extra time before trying to expire orders (want to avoid 6252 error due to clock drift) const errorCodesToSuppress = [ 6004, // 0x1774 Error Number: 6004. Error Message: SufficientCollateral. 6010, // 0x177a Error Number: 6010. Error Message: User Has No Position In Market. 6081, // 0x17c1 Error Number: 6081. Error Message: MarketWrongMutability. // 6078, // 0x17BE Error Number: 6078. Error Message: PerpMarketNotFound // 6087, // 0x17c7 Error Number: 6087. Error Message: SpotMarketNotFound. 6239, // 0x185F Error Number: 6239. Error Message: RevertFill. 6003, // 0x1773 Error Number: 6003. Error Message: Insufficient collateral. 6023, // 0x1787 Error Number: 6023. Error Message: PriceBandsBreached. 6111, // Error Message: OrderNotTriggerable. 6112, // Error Message: OrderDidNotSatisfyTriggerCondition. 6036, // Error Message: OracleNotFound. 6252, // Error Message: ImpossibleFill, expired order not ready. ]; enum METRIC_TYPES { try_fill_duration_histogram = 'try_fill_duration_histogram', runtime_specs = 'runtime_specs', last_try_fill_time = 'last_try_fill_time', mutex_busy = 'mutex_busy', sent_transactions = 'sent_transactions', landed_transactions = 'landed_transactions', tx_sim_error_count = 'tx_sim_error_count', pending_tx_sigs_to_confirm = 'pending_tx_sigs_to_confirm', pending_tx_sigs_loop_rate_limited = 'pending_tx_sigs_loop_rate_limited', estimated_tx_cu_histogram = 'estimated_tx_cu_histogram', simulate_tx_duration_histogram = 'simulate_tx_duration_histogram', expired_nodes_set_size = 'expired_nodes_set_size', jito_bundles_accepted = 'jito_bundles_accepted', jito_bundles_simulation_failure = 'jito_simulation_failure', jito_dropped_bundle = 'jito_dropped_bundle', jito_landed_tips = 'jito_landed_tips', jito_bundle_count = 'jito_bundle_count', clock_subscriber_ts = 'clock_subscriber_ts', wall_clock_ts = 'wall_clock_ts', } export type MakerNodeMap = Map<string, DLOBNode[]>; export type TxType = 'fill' | 'trigger' | 'settlePnl'; export class FillerBot extends TxThreaded implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly defaultIntervalMs: number = 6000; protected slotSubscriber: SlotSubscriber; protected clockSubscriber: ClockSubscriber; protected bulkAccountLoader?: BulkAccountLoader; protected userStatsMapSubscriptionConfig: UserSubscriptionConfig; protected driftClient: DriftClient; /// Connection to use specifically for confirming transactions protected txConfirmationConnection: Connection; protected pollingIntervalMs: number; protected revertOnFailure?: boolean; protected simulateTxForCUEstimate?: boolean; protected lutAccounts: AddressLookupTableAccount[]; protected lutKeys: string[] = []; protected bundleSender?: BundleSender; private fillerConfig: FillerConfig; private globalConfig: GlobalConfig; private dlobSubscriber?: DLOBSubscriber; private signerPubkey: string; private userMap?: UserMap; protected userStatsMap?: UserStatsMap; protected periodicTaskMutex = new Mutex(); protected watchdogTimerMutex = new Mutex(); protected watchdogTimerLastPatTime = Date.now(); protected intervalIds: Array<NodeJS.Timer> = []; protected throttledNodes = new Map<string, number>(); protected fillingNodes = new Map<string, number>(); protected triggeringNodes = new Map<string, number>(); protected useBurstCULimit = false; protected fillTxSinceBurstCU = 0; protected fillTxId = 0; protected lastSettlePnl = Date.now() - SETTLE_POSITIVE_PNL_COOLDOWN_MS; protected priorityFeeSubscriber: PriorityFeeSubscriber; protected blockhashSubscriber: BlockhashSubscriber; protected expiredNodesSet: LRUCache<string, boolean>; protected confirmLoopRunning = false; protected confirmLoopRateLimitTs = Date.now() - CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; protected jupiterClient?: JupiterClient; // metrics protected metricsInitialized = false; protected metricsPort?: number; protected metrics?: Metrics; protected bootTimeMs?: number; protected runtimeSpec: RuntimeSpec; protected runtimeSpecsGauge?: GaugeValue; protected tryFillDurationHistogram?: HistogramValue; protected estTxCuHistogram?: HistogramValue; protected simulateTxHistogram?: HistogramValue; protected lastTryFillTimeGauge?: GaugeValue; protected mutexBusyCounter?: CounterValue; protected attemptedTriggersCounter?: CounterValue; protected txSimErrorCounter?: CounterValue; protected jitoBundlesAcceptedGauge?: GaugeValue; protected jitoBundlesSimulationFailureGauge?: GaugeValue; protected jitoDroppedBundleGauge?: GaugeValue; protected jitoLandedTipsGauge?: GaugeValue; protected jitoBundleCount?: GaugeValue; protected clockSubscriberTs?: GaugeValue; protected wallClockTs?: GaugeValue; protected hasEnoughSolToFill: boolean = false; protected rebalanceFiller: boolean; protected minGasBalanceToFill: number; protected rebalanceSettledPnlThreshold: BN; pythPriceSubscriber?: PythPriceFeedSubscriber; constructor( slotSubscriber: SlotSubscriber, bulkAccountLoader: BulkAccountLoader | undefined, driftClient: DriftClient, userMap: UserMap | undefined, runtimeSpec: RuntimeSpec, globalConfig: GlobalConfig, fillerConfig: FillerConfig, priorityFeeSubscriber: PriorityFeeSubscriber, blockhashSubscriber: BlockhashSubscriber, bundleSender?: BundleSender, pythPriceSubscriber?: PythPriceFeedSubscriber, lookupTableAccounts: AddressLookupTableAccount[] = [] ) { super(); this.globalConfig = globalConfig; this.fillerConfig = fillerConfig; this.name = this.fillerConfig.botId; this.dryRun = this.fillerConfig.dryRun; this.slotSubscriber = slotSubscriber; this.driftClient = driftClient; if (globalConfig.txConfirmationEndpoint) { this.txConfirmationConnection = new Connection( globalConfig.txConfirmationEndpoint ); } else { this.txConfirmationConnection = this.driftClient.connection; } this.bulkAccountLoader = bulkAccountLoader; if (this.bulkAccountLoader) { this.userStatsMapSubscriptionConfig = { type: 'polling', accountLoader: new BulkAccountLoader( this.bulkAccountLoader.connection, this.bulkAccountLoader.commitment, 0 // no polling ), }; } else { this.userStatsMapSubscriptionConfig = this.driftClient.userAccountSubscriptionConfig; } this.runtimeSpec = runtimeSpec; this.pollingIntervalMs = this.fillerConfig.fillerPollingInterval ?? this.defaultIntervalMs; this.initializeMetrics( this.fillerConfig.metricsPort ?? this.globalConfig.metricsPort ); this.userMap = userMap; this.revertOnFailure = this.fillerConfig.revertOnFailure ?? true; this.simulateTxForCUEstimate = this.fillerConfig.simulateTxForCUEstimate ?? true; logger.info( `${this.name}: revertOnFailure: ${this.revertOnFailure}, simulateTxForCUEstimate: ${this.simulateTxForCUEstimate}` ); this.bundleSender = bundleSender; logger.info( `${this.name}: jito enabled: ${this.bundleSender !== undefined}` ); this.pythPriceSubscriber = pythPriceSubscriber; this.lutAccounts = lookupTableAccounts; if ( this.fillerConfig.rebalanceFiller && this.runtimeSpec.driftEnv === 'mainnet-beta' ) { this.jupiterClient = new JupiterClient({ connection: this.driftClient.connection, }); } this.rebalanceFiller = this.fillerConfig.rebalanceFiller ?? false; logger.info( `${this.name}: rebalancing enabled: ${this.jupiterClient !== undefined}` ); if (!validMinimumGasAmount(this.fillerConfig.minGasBalanceToFill)) { this.minGasBalanceToFill = 0.2 * LAMPORTS_PER_SOL; } else { this.minGasBalanceToFill = this.fillerConfig.minGasBalanceToFill! * LAMPORTS_PER_SOL; } if ( !validRebalanceSettledPnlThreshold( this.fillerConfig.rebalanceSettledPnlThreshold ) ) { this.rebalanceSettledPnlThreshold = new BN(20); } else { this.rebalanceSettledPnlThreshold = new BN( this.fillerConfig.rebalanceSettledPnlThreshold! ); } logger.info( `${this.name}: minimumAmountToFill: ${this.minGasBalanceToFill}` ); logger.info( `${this.name}: minimumAmountToSettle: ${this.rebalanceSettledPnlThreshold}` ); this.priorityFeeSubscriber = priorityFeeSubscriber; this.priorityFeeSubscriber.updateAddresses([ new PublicKey('8BnEgHoWFysVcuFFX7QztDmzuH8r5ZFvyP3sYwn1XTh6'), // Openbook SOL/USDC new PublicKey('8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W'), // sol-perp ]); this.blockhashSubscriber = blockhashSubscriber; this.expiredNodesSet = new LRUCache<string, boolean>({ max: 10_000, ttl: TX_TIMEOUT_THRESHOLD_MS, ttlResolution: 1000, }); this.clockSubscriber = new ClockSubscriber(driftClient.connection, { commitment: 'finalized', resubTimeoutMs: 5_000, }); this.signerPubkey = this.driftClient.wallet.publicKey.toBase58(); } protected initializeMetrics(metricsPort?: number) { if (this.globalConfig.disableMetrics) { logger.info( `${this.name}: globalConfig.disableMetrics is true, not initializing metrics` ); return; } if (!metricsPort) { logger.info( `${this.name}: bot.metricsPort and global.metricsPort not set, not initializing metrics` ); return; } if (this.metricsInitialized) { logger.error('Tried to initilaize metrics multiple times'); return; } this.metrics = new Metrics( this.name, [ new View({ instrumentName: METRIC_TYPES.try_fill_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 0 + i * 5), true ), }), new View({ instrumentName: METRIC_TYPES.estimated_tx_cu_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(15), (_, i) => 0 + i * 100_000), true ), }), new View({ instrumentName: METRIC_TYPES.simulate_tx_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 50 + i * 50), true ), }), ], metricsPort! ); this.bootTimeMs = Date.now(); this.runtimeSpecsGauge = this.metrics.addGauge( METRIC_TYPES.runtime_specs, 'Runtime sepcification of this program' ); this.tryFillDurationHistogram = this.metrics.addHistogram( METRIC_TYPES.try_fill_duration_histogram, 'Histogram of the duration of the try fill process' ); this.estTxCuHistogram = this.metrics.addHistogram( METRIC_TYPES.estimated_tx_cu_histogram, 'Histogram of the estimated fill cu used' ); this.simulateTxHistogram = this.metrics.addHistogram( METRIC_TYPES.simulate_tx_duration_histogram, 'Histogram of the duration of simulateTransaction RPC calls' ); this.lastTryFillTimeGauge = this.metrics.addGauge( METRIC_TYPES.last_try_fill_time, 'Last time that fill was attempted' ); this.mutexBusyCounter = this.metrics.addCounter( METRIC_TYPES.mutex_busy, 'Count of times the mutex was busy' ); this.txSimErrorCounter = this.metrics.addCounter( METRIC_TYPES.tx_sim_error_count, 'Count of errors from simulating transactions' ); this.jitoBundlesAcceptedGauge = this.metrics.addGauge( METRIC_TYPES.jito_bundles_accepted, 'Count of jito bundles that were accepted' ); this.jitoBundlesSimulationFailureGauge = this.metrics.addGauge( METRIC_TYPES.jito_bundles_simulation_failure, 'Count of jito bundles that failed simulation' ); this.jitoDroppedBundleGauge = this.metrics.addGauge( METRIC_TYPES.jito_dropped_bundle, 'Count of jito bundles that were dropped' ); this.jitoLandedTipsGauge = this.metrics.addGauge( METRIC_TYPES.jito_landed_tips, 'Gauge of historic bundle tips that landed' ); this.jitoBundleCount = this.metrics.addGauge( METRIC_TYPES.jito_bundle_count, 'Count of jito bundles that were sent, and their status' ); this.clockSubscriberTs = this.metrics.addGauge( METRIC_TYPES.clock_subscriber_ts, 'Timestamp of the clock subscriber' ); this.wallClockTs = this.metrics.addGauge( METRIC_TYPES.wall_clock_ts, 'Timestamp of the wall clock' ); this.initializeTxThreadMetrics(this.metrics, this.name); this.metrics!.finalizeObservables(); this.runtimeSpecsGauge!.setLatestValue(this.bootTimeMs!, this.runtimeSpec); this.metricsInitialized = true; } protected async baseInit() { const fillerSolBalance = await this.driftClient.connection.getBalance( this.driftClient.authority ); this.hasEnoughSolToFill = fillerSolBalance >= this.minGasBalanceToFill; logger.info( `${this.name}: hasEnoughSolToFill: ${this.hasEnoughSolToFill}, balance: ${fillerSolBalance}` ); const startInitUserStatsMap = Date.now(); logger.info(`Initializing userStatsMap`); // sync userstats once const userStatsLoader = new BulkAccountLoader( new Connection(this.driftClient.connection.rpcEndpoint), 'confirmed', 0 ); this.userStatsMap = new UserStatsMap(this.driftClient, userStatsLoader); logger.info( `Initialized userStatsMap: ${this.userStatsMap.size()}, took: ${ Date.now() - startInitUserStatsMap } ms` ); await this.clockSubscriber.subscribe(); this.lutAccounts.push( await this.driftClient.fetchMarketLookupTableAccount() ); // initialize tx thread this.txThreadSetName(this.name); this.initTxThread(this.globalConfig.endpoint); this.sendSignerToTxThread( this.signerPubkey, this.globalConfig.keeperPrivateKey! ); this.lutAccounts.forEach((account) => { this.sendAddressLutToTxThread(account.key.toBase58()); this.lutKeys.push(account.key.toBase58()); }); this.setTxEnabledTxThread(!this.fillerConfig.dryRun); } public async init() { await this.baseInit(); this.dlobSubscriber = new DLOBSubscriber({ dlobSource: this.userMap!, slotSource: this.slotSubscriber, updateFrequency: this.pollingIntervalMs - 500, driftClient: this.driftClient, }); await this.dlobSubscriber.subscribe(); await webhookMessage(`[${this.name}]: started`); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.dlobSubscriber!.unsubscribe(); await this.userMap!.unsubscribe(); } public async startIntervalLoop(_intervalMs?: number) { this.intervalIds.push( setInterval(this.tryFill.bind(this), this.pollingIntervalMs) ); this.intervalIds.push( setInterval( this.settlePnls.bind(this), SETTLE_POSITIVE_PNL_COOLDOWN_MS / 2 ) ); if (this.bundleSender) { this.intervalIds.push( setInterval(this.recordJitoBundleStats.bind(this), 10_000) ); } logger.info( `${this.name} Bot started! (websocket: ${ this.bulkAccountLoader === undefined })` ); } protected recordJitoBundleStats() { const user = this.driftClient.getUser(); const bundleStats = this.bundleSender?.getBundleStats(); if (bundleStats) { this.jitoBundlesAcceptedGauge?.setLatestValue(bundleStats.accepted, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.jitoBundlesSimulationFailureGauge?.setLatestValue( bundleStats.simulationFailure, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoDroppedBundleGauge?.setLatestValue(bundleStats.droppedPruned, { type: 'pruned', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.jitoDroppedBundleGauge?.setLatestValue( bundleStats.droppedBlockhashExpired, { type: 'blockhash_expired', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoDroppedBundleGauge?.setLatestValue( bundleStats.droppedBlockhashNotFound, { type: 'blockhash_not_found', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); } const tipStream = this.bundleSender?.getTipStream(); if (tipStream) { this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_25th_percentile, { percentile: 'p25', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_50th_percentile, { percentile: 'p50', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_75th_percentile, { percentile: 'p75', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_95th_percentile, { percentile: 'p95', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_99th_percentile, { percentile: 'p99', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.ema_landed_tips_50th_percentile, { percentile: 'ema_p50', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); const bundleFailCount = this.bundleSender?.getBundleFailCount(); const bundleLandedCount = this.bundleSender?.getLandedCount(); const bundleDroppedCount = this.bundleSender?.getDroppedCount(); this.jitoBundleCount?.setLatestValue(bundleFailCount ?? 0, { type: 'fail_count', }); this.jitoBundleCount?.setLatestValue(bundleLandedCount ?? 0, { type: 'landed', }); this.jitoBundleCount?.setLatestValue(bundleDroppedCount ?? 0, { type: 'dropped', }); } } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 5 * this.pollingIntervalMs; if (!healthy) { logger.warn( `watchdog timer last pat time ${this.watchdogTimerLastPatTime} is too old` ); } }); return healthy; } protected async getUserAccountAndSlotFromMap( key: string ): Promise<DataAndSlot<UserAccount>> { const user = await this.userMap!.mustGetWithSlot( key, this.driftClient.userAccountSubscriptionConfig ); return { data: user.data.getUserAccount(), slot: user.slot, }; } protected async getDLOB(): Promise<DLOB> { return this.dlobSubscriber!.getDLOB(); } protected getMaxSlot(): number { return Math.max(this.slotSubscriber.getSlot(), this.userMap!.getSlot()); } protected logSlots() { logger.info( `slotSubscriber slot: ${this.slotSubscriber.getSlot()}, userMap slot: ${this.userMap!.getSlot()}` ); } protected getPerpNodesForMarket( market: PerpMarketAccount, dlob: DLOB ): { nodesToFill: Array<NodeToFill>; nodesToTrigger: Array<NodeToTrigger>; } { const marketIndex = market.marketIndex; const oraclePriceData = this.driftClient.getOracleDataForPerpMarket(marketIndex); const vAsk = calculateAskPrice(market, oraclePriceData); const vBid = calculateBidPrice(market, oraclePriceData); const fillSlot = this.getMaxSlot(); return { nodesToFill: dlob.findNodesToFill( marketIndex, vBid, vAsk, fillSlot, this.clockSubscriber.getUnixTs() - EXPIRE_ORDER_BUFFER_SEC, MarketType.PERP, oraclePriceData, this.driftClient.getStateAccount(), this.driftClient.getPerpMarketAccount(marketIndex)! ), nodesToTrigger: dlob.findNodesToTrigger( marketIndex, fillSlot, oraclePriceData.price, MarketType.PERP, this.driftClient.getStateAccount() ), }; } /** * Checks if the node is still throttled, if not, clears it from the throttledNodes map * @param throttleKey key in throttleMap * @returns true if throttleKey is still throttled, false if throttleKey is no longer throttled */ protected isThrottledNodeStillThrottled(throttleKey: string): boolean { const lastFillAttempt = this.throttledNodes.get(throttleKey) || 0; if (lastFillAttempt + FILL_ORDER_THROTTLE_BACKOFF > Date.now()) { return true; } else { this.clearThrottledNode(throttleKey); return false; } } protected isDLOBNodeThrottled(dlobNode: DLOBNode): boolean { if (!dlobNode.userAccount || !dlobNode.order) { return false; } // first check if the userAccount itself is throttled const userAccountPubkey = dlobNode.userAccount; if (this.throttledNodes.has(userAccountPubkey)) { if (this.isThrottledNodeStillThrottled(userAccountPubkey)) { return true; } else { return false; } } // then check if the specific order is throttled const orderSignature = getFillSignatureFromUserAccountAndOrderId( dlobNode.userAccount, dlobNode.order.orderId.toString() ); if (this.throttledNodes.has(orderSignature)) { if (this.isThrottledNodeStillThrottled(orderSignature)) { return true; } else { return false; } } return false; } protected clearThrottledNode(signature: string) { this.throttledNodes.delete(signature); } protected setThrottledNode(signature: string) { this.throttledNodes.set(signature, Date.now()); } protected removeTriggeringNodes(node: NodeToTrigger) { this.triggeringNodes.delete(getNodeToTriggerSignature(node)); } protected pruneThrottledNode() { if (this.throttledNodes.size > THROTTLED_NODE_SIZE_TO_PRUNE) { for (const [key, value] of this.throttledNodes.entries()) { if (value + 2 * FILL_ORDER_THROTTLE_BACKOFF > Date.now()) { this.throttledNodes.delete(key); } } } } protected filterFillableNodes(nodeToFill: NodeToFill): boolean { if (!nodeToFill.node.order) { return false; } if (nodeToFill.node.isVammNode()) { logger.warn( `filtered out a vAMM node on market ${nodeToFill.node.order.marketIndex} for user ${nodeToFill.node.userAccount}-${nodeToFill.node.order.orderId}` ); return false; } if (nodeToFill.node.haveFilled) { logger.warn( `filtered out filled node on market ${nodeToFill.node.order.marketIndex} for user ${nodeToFill.node.userAccount}-${nodeToFill.node.order.orderId}` ); return false; } const now = Date.now(); const nodeToFillSignature = getNodeToFillSignature(nodeToFill); if (this.fillingNodes.has(nodeToFillSignature)) { const timeStartedToFillNode = this.fillingNodes.get(nodeToFillSignature) || 0; if (timeStartedToFillNode + FILL_ORDER_THROTTLE_BACKOFF > now) { // still cooling down on this node, filter it out return false; } } // expired orders that we previously tried to fill if (this.expiredNodesSet.has(nodeToFillSignature)) { return false; } // check if taker node is throttled if (this.isDLOBNodeThrottled(nodeToFill.node)) { return false; } const marketIndex = nodeToFill.node.order.marketIndex; const oraclePriceData = this.driftClient.getOracleDataForPerpMarket(marketIndex); if (isOrderExpired(nodeToFill.node.order, Date.now() / 1000, true)) { if (isOneOfVariant(nodeToFill.node.order.orderType, ['limit'])) { // do not try to fill (expire) limit orders b/c they will auto expire when filled against // or the user places a new order return false; } return true; } if ( nodeToFill.makerNodes.length === 0 && isVariant(nodeToFill.node.order.marketType, 'perp') && !isFillableByVAMM( nodeToFill.node.order, this.driftClient.getPerpMarketAccount( nodeToFill.node.order.marketIndex )!, oraclePriceData, this.getMaxSlot(), Date.now() / 1000, this.driftClient.getStateAccount().minPerpAuctionDuration ) ) { logger.warn( `filtered out unfillable node on market ${nodeToFill.node.order.marketIndex} for user ${nodeToFill.node.userAccount}-${nodeToFill.node.order.orderId}` ); logger.warn(` . no maker node: ${nodeToFill.makerNodes.length === 0}`); logger.warn( ` . is perp: ${isVariant(nodeToFill.node.order.marketType, 'perp')}` ); logger.warn( ` . is not fillable by vamm: ${!isFillableByVAMM( nodeToFill.node.order, this.driftClient.getPerpMarketAccount( nodeToFill.node.order.marketIndex )!, oraclePriceData, this.getMaxSlot(), Date.now() / 1000, this.driftClient.getStateAccount().minPerpAuctionDuration )}` ); logger.warn( ` . calculateBaseAssetAmountForAmmToFulfill: ${calculateBaseAssetAmountForAmmToFulfill( nodeToFill.node.order, this.driftClient.getPerpMarketAccount( nodeToFill.node.order.marketIndex )!, oraclePriceData, this.getMaxSlot() ).toString()}` ); return false; } return true; } protected filterTriggerableNodes(nodeToTrigger: NodeToTrigger): boolean { if (nodeToTrigger.node.haveTrigger) { return false; } const now = Date.now(); const nodeToFillSignature = getNodeToTriggerSignature(nodeToTrigger); const timeStartedToTriggerNode = this.triggeringNodes.get(nodeToFillSignature); if (timeStartedToTriggerNode) { if (timeStartedToTriggerNode + TRIGGER_ORDER_COOLDOWN_MS > now) { return false; } } return true; } protected async getNodeFillInfo(nodeToFill: NodeToFill): Promise<{ makerInfos: Array<DataAndSlot<MakerInfo>>; takerUserPubKey: string; takerUser: UserAccount; takerUserSlot: number; referrerInfo: ReferrerInfo | undefined; marketType: MarketType; }> { const makerInfos: Array<DataAndSlot<MakerInfo>> = []; if (nodeToFill.makerNodes.length > 0) { let makerNodesMap: MakerNodeMap = new Map<string, DLOBNode[]>(); for (const makerNode of nodeToFill.makerNodes) { if (this.isDLOBNodeThrottled(makerNode)) { continue; } if (!makerNode.userAccount) { continue; } if (makerNodesMap.has(makerNode.userAccount!)) { makerNodesMap.get(makerNode.userAccount!)!.push(makerNode); } else { makerNodesMap.set(makerNode.userAccount!, [makerNode]); } } if (makerNodesMap.size > MAX_MAKERS_PER_FILL) { logger.info(`selecting from ${makerNodesMap.size} makers`); makerNodesMap = selectMakers(makerNodesMap); logger.info(`selected: ${Array.from(makerNodesMap.keys()).join(',')}`); } for (const [makerAccount, makerNodes] of makerNodesMap) { const makerNode = makerNodes[0]; const makerUserAccount = await this.getUserAccountAndSlotFromMap( makerAccount ); const makerAuthority = makerUserAccount.data.authority; const makerUserStats = ( await this.userStatsMap!.mustGet(makerAuthority.toString()) ).userStatsAccountPublicKey; makerInfos.push({ slot: makerUserAccount.slot, data: { maker: new PublicKey(makerAccount), makerUserAccount: makerUserAccount.data, order: makerNode.order, makerStats: makerUserStats, }, }); } } const takerUserPubKey = nodeToFill.node.userAccount!.toString(); const takerUserAcct = await this.getUserAccountAndSlotFromMap( takerUserPubKey ); const referrerInfo = ( await this.userStatsMap!.mustGet(takerUserAcct.data.authority.toString()) ).getReferrerInfo(); return Promise.resolve({ makerInfos, takerUserPubKey, takerUser: takerUserAcct.data, takerUserSlot: takerUserAcct.slot, referrerInfo, marketType: nodeToFill.node.order!.marketType, }); } /** * Iterates through a tx's logs and handles it appropriately (e.g. throttling users, updating metrics, etc.) * * @param nodesFilled nodes that we sent a transaction to fill * @param logs logs from tx.meta.logMessages or this.clearingHouse.program._events._eventParser.parseLogs * @returns number of nodes successfully filled, and whether the tx exceeded CUs */ protected async handleTransactionLogs( nodesFilled: Array<NodeToFill>, logs: string[] | null | undefined ): Promise<{ filledNodes: number; exceededCUs: boolean }> { if (!logs) { return { filledNodes: 0, exceededCUs: false, }; } let inFillIx = false; let errorThisFillIx = false; let ixIdx = -1; // skip ComputeBudgetProgram let successCount = 0; let burstedCU = false; for (const log of logs) { if (log === null) { logger.error(`log is null`); continue; } if (log.includes('exceeded maximum number of instructions allowed')) { // temporary burst CU limit logger.warn(`Using bursted CU limit`); this.useBurstCULimit = true; this.fillTxSinceBurstCU = 0; burstedCU = true; continue; } if (isEndIxLog(this.driftClient.program.programId.toBase58(), log)) { if (inFillIx && !errorThisFillIx) { successCount++; } inFillIx = false; errorThisFillIx = false; continue; } if (isIxLog(log)) { if (isFillIxLog(log)) { inFillIx = true; errorThisFillIx = false; ixIdx++; } else { inFillIx = false; } continue; } if (!inFillIx) { // this is not a log for a fill instruction continue; } // try to handle the log line const orderIdDoesNotExist = isOrderDoesNotExistLog(log); if (orderIdDoesNotExist) { const filledNode = nodesFilled[ixIdx]; if (filledNode) { const isExpired = isOrderExpired( filledNode.node.order!, Date.now() / 1000, true ); logger.error( `assoc node (ixIdx: ${ixIdx}): ${filledNode.node.userAccount!.toString()}, ${ filledNode.node.order!.orderId }; does not exist (filled by someone else); ${log}, expired: ${isExpired}, orderTs: ${ filledNode.node.order!.maxTs }, now: ${Date.now() / 1000}` ); if (isExpired) { const sig = getNodeToFillSignature(filledNode); this.expiredNodesSet.set(sig, true); } } errorThisFillIx = true; continue; } const makerBreachedMaintenanceMargin = isMakerBreachedMaintenanceMarginLog(log); if (makerBreachedMaintenanceMargin !== null) { logger.error( `Throttling maker breached maintenance margin: ${makerBreachedMaintenanceMargin}` ); this.setThrottledNode(makerBreachedMaintenanceMargin); this.driftClient .forceCancelOrders( new PublicKey(makerBreachedMaintenanceMargin), ( await this.getUserAccountAndSlotFromMap( makerBreachedMaintenanceMargin ) ).data ) .then((txSig) => { logger.info( `Force cancelled orders for makers due to breach of maintenance margin. Tx: ${txSig}` ); }) .catch((e) => { console.error(e); logger.error( `Failed to send ForceCancelOrder Tx for maker (${makerBreachedMaintenanceMargin}) breach margin (error above):` ); const errorCode = getErrorCode(e); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(e as Error).message.includes('Transaction was not confirmed') ) { if (errorCode) { const user = this.driftClient.getUser(); this.txSimErrorCounter?.add(1, { errorCode: errorCode.toString(), ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } webhookMessage( `[${ this.name }]: :x: error forceCancelling user ${makerBreachedMaintenanceMargin} for maker breaching margin tx logs:\n${ e.stack ? e.stack : e.message }` ); } }); errorThisFillIx = true; break; } const takerBreachedMaintenanceMargin = isTakerBreachedMaintenanceMarginLog(log); if (takerBreachedMaintenanceMargin && nodesFilled[ixIdx]) { const filledNode = nodesFilled[ixIdx]; const takerNodeSignature = filledNode.node.userAccount!; logger.error( `taker breach maint. margin, assoc node (ixIdx: ${ixIdx}): ${filledNode.node.userAccount!.toString()}, ${ filledNode.node.order!.orderId }; (throttling ${takerNodeSignature} and force cancelling orders); ${log}` ); this.setThrottledNode(takerNodeSignature); errorThisFillIx = true; this.driftClient .forceCancelOrders( new PublicKey(filledNode.node.userAccount!), ( await this.getUserAccountAndSlotFromMap( filledNode.node.userAccount!.toString() ) ).data ) .then((txSig) => { logger.info( `Force cancelled orders for user ${filledNode.node .userAccount!} due to breach of maintenance margin. Tx: ${txSig}` ); }) .catch((e) => { const userCanceling = filledNode.node.userAccount!.toString(); console.error(e); logger.error( `Failed to send ForceCancelOrder Tx for taker (${userCanceling} - ${ filledNode.node.order!.orderId }) breach maint. margin (error above):` ); const errorCode = getErrorCode(e); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(e as Error).message.includes('Transaction was not confirmed') ) { if (errorCode) { const user = this.driftClient.getUser(); this.txSimErrorCounter?.add(1, { errorCode: errorCode.toString(), ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } webhookMessage( `[${ this.name }]: :x: error forceCancelling user ${userCanceling} for taker breaching maint. margin tx logs:\n${ e.stack ? e.stack : e.message }` ); } }); continue; } const errFillingLog = isErrFillingLog(log); if (errFillingLog) { const orderId = errFillingLog[0]; const userAcc = errFillingLog[1]; const extractedSig = getFillSignatureFromUserAccountAndOrderId( userAcc, orderId ); this.setThrottledNode(extractedSig); const filledNode = nodesFilled[ixIdx]; const assocNodeSig = getNodeToFillSignature(filledNode); logger.warn( `Throttling node due to fill error. extractedSig: ${extractedSig}, assocNodeSig: ${assocNodeSig}, assocNodeIdx: ${ixIdx}` ); errorThisFillIx = true; continue; } if (isErrStaleOracle(log)) { logger.error(`Stale oracle error: ${log}`); errorThisFillIx = true; continue; } } if (!burstedCU) { if (this.fillTxSinceBurstCU > TX_COUNT_COOLDOWN_ON_BURST) { this.useBurstCULimit = false; } this.fillTxSinceBurstCU += 1; } if (logs.length > 0) { if ( logs[logs.length - 1].includes('exceeded CUs meter at BPF instruction') ) { return { filledNodes: successCount, exceededCUs: true, }; } } return { filledNodes: successCount, exceededCUs: false, }; } protected removeFillingNodes(nodes: Array<NodeToFill>) { for (const node of nodes) { this.fillingNodes.delete(getNodeToFillSignature(node)); } } protected async sendTxThroughJito( tx: VersionedTransaction, metadata: number | string, txSig?: string ) { if (this.bundleSender === undefined) { logger.error(`Called sendTxThroughJito without jito properly enabled`); return; } if ( this.bundleSender?.strategy === 'jito-only' || this.bundleSender?.strategy === 'hybrid' ) { const slotsUntilNextLeader = this.bundleSender?.slotsUntilNextLeader(); if (slotsUntilNextLeader !== undefined) { this.bundleSender.sendTransactions( [tx], `(fillTxId: ${metadata})`, txSig, false ); } } } protected async sendFillTxAndParseLogs( fillTxId: number, tx: VersionedTransaction, buildForBundle: boolean, ixs?: Array<TransactionInstruction> ) { if (buildForBundle) { tx.sign([ // @ts-ignore; this.driftClient.wallet.payer, ]); const txSig = bs58.encode(tx.signatures[0]); this.sendTxThroughJito(tx, fillTxId, txSig); this.registerTxToConfirm({ txSig }); } else if (this.canSendOutsideJito()) { this.sendIxsToTxthread({ ixs: ixs!, signerKeys: [this.signerPubkey], doSimulation: false, addressLookupTables: this.lutKeys, }); } } private async getBlockhashForTx(): Promise<string> { const cachedBlockhash = this.blockhashSubscriber.getLatestBlockhash( CACHED_BLOCKHASH_OFFSET ); if (cachedBlockhash) { return cachedBlockhash.blockhash as string; } const recentBlockhash = await this.driftClient.connection.getLatestBlockhash({ commitment: 'confirmed', }); return recentBlockhash.blockhash; } private async getPythIxsFromNode( node: NodeToFill | NodeToTrigger ): Promise<TransactionInstruction[]> { const marketIndex = node.node.order?.marketIndex; if (marketIndex === undefined) { throw new Error('Market index not found on node'); } if ( isVariant( this.driftClient.getPerpMarketAccount(marketIndex)?.amm.oracleSource, 'prelaunch' ) ) { // crankMarketIndex = getStaleOracleMarketIndexes(this.driftClient, // this.pullOraclePerpMarketWhitelist, // MarketType.PERP, // 1 // )[0]; return []; } if (!this.pythPriceSubscriber) { throw new Error('Pyth price subscriber not initialized'); } const pythIxs = await getAllPythOracleUpdateIxs( this.runtimeSpec.driftEnv as DriftEnv, marketIndex, MarketType.PERP, this.pythPriceSubscriber!, this.driftClient, this.globalConfig.numNonActiveOraclesToPush ?? 0 ); return pythIxs; } /** * * @param fillTxId id of current fill * @param nodeToFill taker node to fill with list of makers to use * @returns true if successful, false if fail, and should retry with fewer makers */ private async fillMultiMakerPerpNodes( fillTxId: number, nodeToFill: NodeToFill, buildForBundle: boolean ): Promise<boolean> { const ixs: Array<TransactionInstruction> = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (!buildForBundle) { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), }) ); } try { const { makerInfos, takerUser, takerUserPubKey, takerUserSlot, referrerInfo, marketType, } = await this.getNodeFillInfo(nodeToFill); logger.info( logMessageForNodeToFill( nodeToFill, takerUserPubKey, takerUserSlot, makerInfos, this.getMaxSlot(), `Filling multi maker perp node with ${nodeToFill.makerNodes.length} makers (fillTxId: ${fillTxId})` ) ); if (!isVariant(marketType, 'perp')) { throw new Error('expected perp market type'); } const user = this.driftClient.getUser(); let makerInfosToUse = makerInfos; const buildTxWithMakerInfos = async ( makers: DataAndSlot<MakerInfo>[] ): Promise<{ ixs: Array<TransactionInstruction>; simResult: SimulateAndGetTxWithCUsResponse; }> => { ixs.push( await this.driftClient.getFillPerpOrderIx( await getUserAccountPublicKey( this.driftClient.program.programId, takerUser.authority, takerUser.subAccountId ), takerUser, nodeToFill.node.order!, makers.map((m) => m.data), referrerInfo ) ); this.fillingNodes.set(getNodeToFillSignature(nodeToFill), Date.now()); if (this.revertOnFailure) { ixs.push(await this.driftClient.getRevertFillIx()); } const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lutAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: DUMP_TXS_IN_SIM, removeLastIxPostSim: this.revertOnFailure, }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'multiMakerFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'multiMakerFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); return { ixs, simResult }; }; let makerTx = await buildTxWithMakerInfos(makerInfosToUse); let txAccounts = makerTx.simResult.tx.message.getAccountKeys({ addressLookupTableAccounts: this.lutAccounts, }).length; let attempt = 0; while (txAccounts > MAX_ACCOUNTS_PER_TX && makerInfosToUse.length > 0) { logger.info( `(fillTxId: ${fillTxId} attempt ${attempt++}) Too many accounts, remove 1 and try again (had ${ makerInfosToUse.length } maker and ${txAccounts} accounts)` ); makerInfosToUse = makerInfosToUse.slice(0, makerInfosToUse.length - 1); makerTx = await buildTxWithMakerInfos(makerInfosToUse); txAccounts = makerTx.simResult.tx.message.getAccountKeys({ addressLookupTableAccounts: this.lutAccounts, }).length; } if (makerInfosToUse.length === 0) { logger.error( `No makerInfos left to use for multi maker perp node (fillTxId: ${fillTxId})` ); return true; } if (makerTx.simResult.simError) { logger.error( `Error simulating multi maker perp node (fillTxId: ${fillTxId}): ${JSON.stringify( makerTx.simResult.simError )}\nTaker slot: ${takerUserSlot}\nMaker slots: ${makerInfosToUse .map((m) => ` ${m.data.maker.toBase58()}: ${m.slot}`) .join('\n')}` ); handleSimResultError( makerTx.simResult, errorCodesToSuppress, `${this.name}: (fillTxId: ${fillTxId})` ); if (makerTx.simResult.simTxLogs) { const { exceededCUs } = await this.handleTransactionLogs( [nodeToFill], makerTx.simResult.simTxLogs ); if (exceededCUs) { return false; } } } else { if (this.dryRun) { logger.info(`dry run, not sending tx (fillTxId: ${fillTxId})`); } else { if (this.hasEnoughSolToFill) { this.sendFillTxAndParseLogs( fillTxId, makerTx.simResult.tx, buildForBundle, makerTx.ixs ); this.removeFillingNodes([nodeToFill]); } else { logger.info( `not sending tx because we don't have enough SOL to fill (fillTxId: ${fillTxId})` ); } } } } catch (e) { if (e instanceof Error) { logger.error( `Error filling multi maker perp node (fillTxId: ${fillTxId}): ${ e.stack ? e.stack : e.message }` ); } } return true; } /** * It's difficult to estimate CU cost of multi maker ix, so we'll just send it in its own transaction * @param nodeToFill node with multiple makers */ protected async tryFillMultiMakerPerpNode( nodeToFill: NodeToFill, buildForBundle: boolean ) { const fillTxId = this.fillTxId++; let nodeWithMakerSet = nodeToFill; while ( !(await this.fillMultiMakerPerpNodes( fillTxId, nodeWithMakerSet, buildForBundle )) ) { const newMakerSet = nodeWithMakerSet.makerNodes .sort(() => 0.5 - Math.random()) .slice(0, Math.ceil(nodeWithMakerSet.makerNodes.length / 2)); nodeWithMakerSet = { node: nodeWithMakerSet.node, makerNodes: newMakerSet, }; if (newMakerSet.length === 0) { logger.error( `No makers left to use for multi maker perp node (fillTxId: ${fillTxId})` ); return; } } } protected async tryFillPerpNodes( nodesToFill: Array<NodeToFill>, buildForBundle: boolean ): Promise<number> { const nodesSent: Array<NodeToFill> = []; const fillTxId = this.fillTxId++; for (const [idx, nodeToFill] of nodesToFill.entries()) { let ixs: Array<TransactionInstruction> = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), }) ); } // do multi maker fills in a separate tx since they're larger if (nodeToFill.makerNodes.length > 2) { await this.tryFillMultiMakerPerpNode(nodeToFill, buildForBundle); nodesSent.push(nodeToFill); continue; } // otherwise pack fill ixs until est. tx size or CU limit is hit const { makerInfos, takerUser, takerUserPubKey, takerUserSlot, referrerInfo, marketType, } = await this.getNodeFillInfo(nodeToFill); logger.info( logMessageForNodeToFill( nodeToFill, takerUserPubKey, takerUserSlot, makerInfos, this.getMaxSlot(), `Filling perp node ${idx} (fillTxId: ${fillTxId})` ) ); this.logSlots(); if (!isVariant(marketType, 'perp')) { throw new Error('expected perp market type'); } let removeLastIxPostSim = this.revertOnFailure; if ( this.pythPriceSubscriber && ((makerInfos.length == 2 && !referrerInfo) || makerInfos.length < 2) ) { const pythIxs = await this.getPythIxsFromNode(nodeToFill); ixs.push(...pythIxs); removeLastIxPostSim = false; } const ix = await this.driftClient.getFillPerpOrderIx( await getUserAccountPublicKey( this.driftClient.program.programId, takerUser.authority, takerUser.subAccountId ), takerUser, nodeToFill.node.order!, makerInfos.map((m) => m.data), referrerInfo ); if (!ix) { logger.error(`failed to generate an ix`); break; } this.fillingNodes.set(getNodeToFillSignature(nodeToFill), Date.now()); // add to tx logger.info( `including taker ${( await getUserAccountPublicKey( this.driftClient.program.programId, takerUser.authority, takerUser.subAccountId ) ).toString()}-${nodeToFill.node.order!.orderId.toString()} (slot: ${takerUserSlot}) (fillTxId: ${fillTxId}), maker: ${makerInfos .map((m) => `${m.data.maker.toBase58()}: ${m.slot}`) .join(', ')}` ); ixs.push(ix); if (this.revertOnFailure) { ixs.push(await this.driftClient.getRevertFillIx()); } const txSize = getSizeOfTransaction(ixs, true, this.lutAccounts); if (txSize > PACKET_DATA_SIZE) { logger.info(`tx too large, removing pyth ixs. keys: ${ixs.map((ix) => ix.keys.map((key) => key.pubkey.toString()))} total number of maker positions: ${makerInfos.reduce( (acc, maker) => acc + (maker.data.makerUserAccount.perpPositions.length + maker.data.makerUserAccount.spotPositions.length), 0 )} total taker positions: ${ takerUser.perpPositions.length + takerUser.spotPositions.length } marketIndex: ${nodeToFill.node.order!.marketIndex} taker has position in market: ${takerUser.perpPositions.some( (pos) => pos.marketIndex === nodeToFill.node.order!.marketIndex )} makers have position in market: ${makerInfos.some((maker) => maker.data.makerUserAccount.perpPositions.some( (pos) => pos.marketIndex === nodeToFill.node.order!.marketIndex ) )} `); ixs = removePythIxs(ixs); } let simResult; const user = this.driftClient.getUser(); try { simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lutAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: DUMP_TXS_IN_SIM, removeLastIxPostSim, }); } catch (e) { logger.error( `Error simulating fill perp nodes (fillTxId: ${fillTxId}): ${e}` ); return nodesSent.length; } this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'fill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'fill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); if (this.simulateTxForCUEstimate && simResult.simError) { logger.error( `simError: ${JSON.stringify( simResult.simError )} (fillTxId: ${fillTxId})` ); handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (fillTxId: ${fillTxId})` ); if (simResult.simTxLogs) { await this.handleTransactionLogs(nodesToFill, simResult.simTxLogs); } } else { if (this.dryRun) { logger.info(`dry run, not sending tx (fillTxId: ${fillTxId})`); } else { if (this.hasEnoughSolToFill) { this.sendFillTxAndParseLogs( fillTxId, simResult.tx, buildForBundle, ixs ); this.removeFillingNodes(nodesSent); } else { logger.info( `not sending tx because we don't have enough SOL to fill (fillTxId: ${fillTxId})` ); } } } nodesSent.push(nodeToFill); } return nodesSent.length; } protected filterPerpNodesForMarket( fillableNodes: Array<NodeToFill>, triggerableNodes: Array<NodeToTrigger> ): { filteredFillableNodes: Array<NodeToFill>; filteredTriggerableNodes: Array<NodeToTrigger>; } { const seenFillableNodes = new Set<string>(); const filteredFillableNodes = fillableNodes.filter((node) => { const sig = getNodeToFillSignature(node); if (seenFillableNodes.has(sig)) { return false; } seenFillableNodes.add(sig); return this.filterFillableNodes(node); }); const seenTriggerableNodes = new Set<string>(); const filteredTriggerableNodes = triggerableNodes.filter((node) => { const sig = getNodeToTriggerSignature(node); if (seenTriggerableNodes.has(sig)) { return false; } seenTriggerableNodes.add(sig); return this.filterTriggerableNodes(node); }); return { filteredFillableNodes, filteredTriggerableNodes, }; } protected async executeFillablePerpNodesForMarket( fillableNodes: Array<NodeToFill>, buildForBundle: boolean ) { await this.tryFillPerpNodes(fillableNodes, buildForBundle); } protected async executeTriggerablePerpNodesForMarket( triggerableNodes: Array<NodeToTrigger>, buildForBundle: boolean ) { for (const nodeToTrigger of triggerableNodes) { nodeToTrigger.node.haveTrigger = true; const user = await this.getUserAccountAndSlotFromMap( nodeToTrigger.node.userAccount.toString() ); logger.info( `trying to trigger (account: ${nodeToTrigger.node.userAccount.toString()}, slot: ${ user.slot }) order ${nodeToTrigger.node.order.orderId.toString()}` ); const nodeSignature = getNodeToTriggerSignature(nodeToTrigger); this.triggeringNodes.set(nodeSignature, Date.now()); let ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), }) ); } let removeLastIxPostSim = this.revertOnFailure; if (this.pythPriceSubscriber) { const pythIxs = await this.getPythIxsFromNode(nodeToTrigger); ixs.push(...pythIxs); removeLastIxPostSim = false; } ixs.push( await this.driftClient.getTriggerOrderIx( new PublicKey(nodeToTrigger.node.userAccount), user.data, nodeToTrigger.node.order ) ); if (this.revertOnFailure) { ixs.push(await this.driftClient.getRevertFillIx()); } const txSize = getSizeOfTransaction(ixs, true, this.lutAccounts); if (txSize > PACKET_DATA_SIZE) { logger.info( `tx too large, removing pyth ixs. keys: ${ixs.map((ix) => ix.keys.map((key) => key.pubkey.toString()) )}` ); ixs = removePythIxs(ixs); } const driftUser = this.driftClient.getUser(); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lutAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: DUMP_TXS_IN_SIM, removeLastIxPostSim, }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'trigger', simError: simResult.simError !== null, ...metricAttrFromUserAccount( driftUser.userAccountPublicKey, driftUser.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'trigger', simError: simResult.simError !== null, ...metricAttrFromUserAccount( driftUser.userAccountPublicKey, driftUser.getUserAccount() ), }); if (this.simulateTxForCUEstimate && simResult.simError) { logger.error( `executeTriggerablePerpNodesForMarket simError: (simError: ${JSON.stringify( simResult.simError )})` ); handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (executeTriggerablePerpNodesForMarket)` ); } else { if (!this.dryRun) { if (this.hasEnoughSolToFill) { if (buildForBundle) { simResult.tx.sign([ // @ts-ignore; this.driftClient.wallet.payer, ]); const txSig = bs58.encode(simResult.tx.signatures[0]); this.sendTxThroughJito(simResult.tx, 'triggerOrder', txSig); this.registerTxToConfirm({ txSig }); } else if (this.canSendOutsideJito()) { this.sendIxsToTxthread({ ixs, signerKeys: [this.signerPubkey], doSimulation: false, addressLookupTables: this.lutKeys, }); } this.removeTriggeringNodes(nodeToTrigger); } else { logger.info(`Not enough SOL to fill, not triggering node`); } } else { logger.info(`dry run, not triggering node`); } } } const user = this.driftClient.getUser(); this.attemptedTriggersCounter?.add( triggerableNodes.length, metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ) ); } protected async settlePnls() { // Check if we have enough SOL to fill const fillerSolBalance = await this.driftClient.connection.getBalance( this.driftClient.authority ); this.hasEnoughSolToFill = fillerSolBalance >= this.minGasBalanceToFill; const user = this.driftClient.getUser(); const activePerpPositions = user.getActivePerpPositions().sort((a, b) => { return b.quoteAssetAmount.sub(a.quoteAssetAmount).toNumber(); }); const marketIds = activePerpPositions.map((pos) => pos.marketIndex); const totalUnsettledPnl = activePerpPositions.reduce( (totalUnsettledPnl, position) => { return totalUnsettledPnl.add(position.quoteAssetAmount); }, new BN(0) ); const now = Date.now(); // Settle pnl if: // - we are rebalancing and have enough unsettled pnl to rebalance preemptively // - we are rebalancing and don't have enough SOL to fill // - we have hit max positions to free up slots if ( (this.rebalanceFiller && (totalUnsettledPnl.gte( this.rebalanceSettledPnlThreshold.mul(QUOTE_PRECISION) ) || !this.hasEnoughSolToFill)) || marketIds.length === MAX_POSITIONS_PER_USER ) { logger.info( `Settling positive PNLs for markets: ${JSON.stringify(marketIds)}` ); if (now < this.lastSettlePnl + SETTLE_POSITIVE_PNL_COOLDOWN_MS) { logger.info(`Want to settle positive pnl, but in cooldown...`); } else { let chunk_size; if (marketIds.length < 5) { chunk_size = marketIds.length; } else { chunk_size = marketIds.length / 2; } for (let i = 0; i < marketIds.length; i += chunk_size) { const buildForBundle = this.shouldBuildForBundle(); const marketIdChunks = marketIds.slice(i, i + chunk_size); try { const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // will be overridden by simulateTx }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), }) ); } ixs.push( ...(await this.driftClient.getSettlePNLsIxs( [ { settleeUserAccountPublicKey: user.getUserAccountPublicKey(), settleeUserAccount: this.driftClient.getUserAccount()!, }, ], marketIdChunks )) ); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lutAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: DUMP_TXS_IN_SIM, }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'settlePnl', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'settlePnl', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); if (this.simulateTxForCUEstimate && simResult.simError) { logger.info( `settlePnls simError: ${JSON.stringify(simResult.simError)}` ); handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (settlePnls)` ); } else { if (!this.dryRun) { if (buildForBundle) { simResult.tx.sign([ // @ts-ignore; this.driftClient.wallet.payer, ]); const txSig = bs58.encode(simResult.tx.signatures[0]); this.sendTxThroughJito(simResult.tx, 'settlePnl', txSig); this.registerTxToConfirm({ txSig }); } else if (this.canSendOutsideJito()) { this.sendIxsToTxthread({ ixs, signerKeys: [this.signerPubkey], doSimulation: false, addressLookupTables: this.lutKeys, }); } } else { logger.info(`dry run, skipping settlePnls)`); } } } catch (err) { if (!(err instanceof Error)) { return; } const errorCode = getErrorCode(err) ?? 0; logger.error( `Error code: ${errorCode} while settling pnls for markets ${JSON.stringify( marketIds )}: ${err.message}` ); console.error(err); } } this.lastSettlePnl = now; } } // If we are rebalancing, check if we have enough settled pnl in usdc account to rebalance, // or if we have to go below threshold since we don't have enough sol if (this.rebalanceFiller) { const fillerDriftAccountUsdcBalance = this.driftClient.getTokenAmount(0); const usdcSpotMarket = this.driftClient.getSpotMarketAccount(0); const normalizedFillerDriftAccountUsdcBalance = fillerDriftAccountUsdcBalance.divn(10 ** usdcSpotMarket!.decimals); if ( normalizedFillerDriftAccountUsdcBalance.gte( this.rebalanceSettledPnlThreshold ) || !this.hasEnoughSolToFill ) { logger.info( `Filler has ${normalizedFillerDriftAccountUsdcBalance.toNumber()} usdc to rebalance` ); await this.rebalance(); } } } protected async rebalance() { logger.info(`Rebalancing filler`); if (this.jupiterClient !== undefined) { logger.info(`Swapping USDC for SOL to rebalance filler`); swapFillerHardEarnedUSDCForSOL( this.priorityFeeSubscriber, this.driftClient, this.jupiterClient, await this.getBlockhashForTx() ).then(async () => { const fillerSolBalanceAfterSwap = await this.driftClient.connection.getBalance( this.driftClient.authority, 'processed' ); this.hasEnoughSolToFill = fillerSolBalanceAfterSwap >= this.minGasBalanceToFill; }); } else { throw new Error('Jupiter client not initialized but trying to rebalance'); } } protected usingJito(): boolean { return this.bundleSender !== undefined; } protected canSendOutsideJito(): boolean { return ( !this.usingJito() || this.bundleSender?.strategy === 'non-jito-only' || this.bundleSender?.strategy === 'hybrid' ); } protected slotsUntilJitoLeader(): number | undefined { if (!this.usingJito()) { return undefined; } return this.bundleSender?.slotsUntilNextLeader(); } protected shouldBuildForBundle(): boolean { if (!this.usingJito()) { return false; } if (this.globalConfig.onlySendDuringJitoLeader === true) { const slotsUntilJito = this.slotsUntilJitoLeader(); if (slotsUntilJito === undefined) { return false; } return slotsUntilJito < SLOTS_UNTIL_JITO_LEADER_TO_SEND; } return true; } protected async tryFill() { const startTime = Date.now(); let ran = false; try { // Check hasEnoughSolToFill before trying to fill, we do not want to fill if we don't have enough SOL if (!this.hasEnoughSolToFill) { logger.info(`Not enough SOL to fill, skipping fill`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); return; } await tryAcquire(this.periodicTaskMutex).runExclusive(async () => { const user = this.driftClient.getUser(); this.lastTryFillTimeGauge?.setLatestValue( Date.now(), metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); const dlob = await this.getDLOB(); this.pruneThrottledNode(); // 1) get all fillable nodes let fillableNodes: Array<NodeToFill> = []; let triggerableNodes: Array<NodeToTrigger> = []; for (const market of this.driftClient.getPerpMarketAccounts()) { try { const { nodesToFill, nodesToTrigger } = this.getPerpNodesForMarket( market, dlob ); fillableNodes = fillableNodes.concat(nodesToFill); triggerableNodes = triggerableNodes.concat(nodesToTrigger); } catch (e) { if (e instanceof Error) { console.error(e); webhookMessage( `[${this.name}]: :x: Failed to get fillable nodes for market ${ market.marketIndex }:\n${e.stack ? e.stack : e.message}` ); } continue; } } // filter out nodes that we know cannot be filled const { filteredFillableNodes, filteredTriggerableNodes } = this.filterPerpNodesForMarket(fillableNodes, triggerableNodes); logger.debug( `filtered fillable nodes from ${fillableNodes.length} to ${filteredFillableNodes.length}, filtered triggerable nodes from ${triggerableNodes.length} to ${filteredTriggerableNodes.length}` ); const buildForBundle = this.shouldBuildForBundle(); // fill the perp nodes await Promise.all([ this.executeFillablePerpNodesForMarket( filteredFillableNodes, buildForBundle ), this.executeTriggerablePerpNodesForMarket( filteredTriggerableNodes, buildForBundle ), ]); // check if should settle positive pnl ran = true; }); } catch (e) { if (e === E_ALREADY_LOCKED) { const user = this.driftClient.getUser(); this.mutexBusyCounter!.add( 1, metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); } else { if (e instanceof Error) { webhookMessage( `[${this.name}]: :x: uncaught error:\n${ e.stack ? e.stack : e.message }` ); } throw e; } } finally { this.clockSubscriberTs?.setLatestValue( this.clockSubscriber.getUnixTs(), {} ); this.wallClockTs?.setLatestValue(Date.now() / 1000, {}); if (ran) { const duration = Date.now() - startTime; const user = this.driftClient.getUser(); this.tryFillDurationHistogram?.record( duration, metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); logger.debug(`tryFill done, took ${duration}ms`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/switchboardCranker.ts
import { Bot } from '../types'; import { logger } from '../logger'; import { GlobalConfig, SwitchboardCrankerBotConfig } from '../config'; import { BlockhashSubscriber, DriftClient, PriorityFeeSubscriber, SlothashSubscriber, TxSigAndSlot, } from '@drift-labs/sdk'; import { BundleSender } from '../bundleSender'; import { AddressLookupTableAccount, ComputeBudgetProgram, PublicKey, TransactionInstruction, } from '@solana/web3.js'; import { chunks, getVersionedTransaction, shuffle, sleepMs } from '../utils'; import { Agent, setGlobalDispatcher } from 'undici'; setGlobalDispatcher( new Agent({ connections: 200, }) ); // ref: https://solscan.io/tx/Z5X334CFBmzbzxXHgfa49UVbMdLZf7nJdDCekjaZYinpykVqgTm47VZphazocMjYe1XJtEyeiL6QgrmvLeMesMA const MIN_CU_LIMIT = 700_000; export class SwitchboardCrankerBot implements Bot { public name: string; public dryRun: boolean; public defaultIntervalMs: number; private blockhashSubscriber: BlockhashSubscriber; private slothashSubscriber: SlothashSubscriber; constructor( private globalConfig: GlobalConfig, private crankConfigs: SwitchboardCrankerBotConfig, private driftClient: DriftClient, private priorityFeeSubscriber?: PriorityFeeSubscriber, private bundleSender?: BundleSender, private lookupTableAccounts: AddressLookupTableAccount[] = [] ) { this.name = crankConfigs.botId; this.dryRun = crankConfigs.dryRun; this.defaultIntervalMs = crankConfigs.intervalMs || 10_000; this.blockhashSubscriber = new BlockhashSubscriber({ connection: driftClient.connection, }); this.slothashSubscriber = new SlothashSubscriber( this.driftClient.connection, { commitment: 'confirmed', } ); } async init(): Promise<void> { logger.info(`Initializing ${this.name} bot`); await this.blockhashSubscriber.subscribe(); this.lookupTableAccounts.push( await this.driftClient.fetchMarketLookupTableAccount() ); await this.slothashSubscriber.subscribe(); this.priorityFeeSubscriber?.updateAddresses([ ...Object.entries(this.crankConfigs.pullFeedConfigs).map( ([_alias, config]) => { return new PublicKey(config.pubkey); } ), ...this.crankConfigs.writableAccounts.map((acc) => new PublicKey(acc)), ]); } async reset(): Promise<void> { logger.info(`Resetting ${this.name} bot`); this.blockhashSubscriber.unsubscribe(); await this.driftClient.unsubscribe(); } async startIntervalLoop(intervalMs = this.defaultIntervalMs): Promise<void> { logger.info(`Starting ${this.name} bot with interval ${intervalMs} ms`); await sleepMs(5000); await this.runCrankLoop(); setInterval(async () => { await this.runCrankLoop(); }, intervalMs); } private async getBlockhashForTx(): Promise<string> { const cachedBlockhash = this.blockhashSubscriber.getLatestBlockhash(10); if (cachedBlockhash) { return cachedBlockhash.blockhash as string; } const recentBlockhash = await this.driftClient.connection.getLatestBlockhash({ commitment: 'confirmed', }); return recentBlockhash.blockhash; } async runCrankLoop() { const pullFeedAliases = chunks( shuffle(Object.keys(this.crankConfigs.pullFeedConfigs)), 2 ); for (const aliasChunk of pullFeedAliases) { try { const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: MIN_CU_LIMIT, }), ]; if (this.globalConfig.useJito) { ixs.push(this.bundleSender!.getTipIx()); } else { const priorityFees = this.priorityFeeSubscriber?.getHeliusPriorityFeeLevel() || 0; ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor(priorityFees), }) ); } const pullIxs = ( await Promise.all(aliasChunk.map((alias) => this.getPullIx(alias))) ).filter((ix) => ix !== undefined) as TransactionInstruction[]; ixs.push(...pullIxs); const tx = getVersionedTransaction( this.driftClient.wallet.publicKey, ixs, this.lookupTableAccounts, await this.getBlockhashForTx() ); if (this.globalConfig.useJito) { tx.sign([ // @ts-ignore; this.driftClient.wallet.payer, ]); this.bundleSender?.sendTransactions( [tx], undefined, undefined, false ); } else { this.driftClient .sendTransaction(tx) .then((txSigAndSlot: TxSigAndSlot) => { logger.info( `Posted update sb atomic tx for ${aliasChunk}: ${txSigAndSlot.txSig}` ); }) .catch((e) => { console.log(e); }); } } catch (e) { logger.error(`Error processing alias ${aliasChunk}: ${e}`); } } } async getPullIx(alias: string): Promise<TransactionInstruction | undefined> { const pubkey = new PublicKey( this.crankConfigs.pullFeedConfigs[alias].pubkey ); const pullIx = await this.driftClient.getPostSwitchboardOnDemandUpdateAtomicIx( pubkey, this.slothashSubscriber.currentSlothash ); if (!pullIx) { logger.error(`No pullIx for ${alias}`); return; } return pullIx; } async healthCheck(): Promise<boolean> { return true; } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/pythCranker.ts
import { Bot } from '../types'; import { logger } from '../logger'; import { GlobalConfig, PythCrankerBotConfig, PythUpdateConfigs, } from '../config'; import { PriceFeed, PriceServiceConnection, } from '@pythnetwork/price-service-client'; import { PriceUpdateAccount } from '@pythnetwork/pyth-solana-receiver/lib/PythSolanaReceiver'; import { BlockhashSubscriber, BN, convertToNumber, DriftClient, getOracleClient, getPythPullOraclePublicKey, isOneOfVariant, ONE, OracleClient, OracleSource, PerpMarkets, PRICE_PRECISION, PriorityFeeSubscriber, SpotMarkets, TxSigAndSlot, } from '@drift-labs/sdk'; import { BundleSender } from '../bundleSender'; import { AddressLookupTableAccount, ComputeBudgetProgram, PublicKey, } from '@solana/web3.js'; import { convertPythPrice } from '@drift-labs/sdk'; import { getFeedIdUint8Array, trimFeedId } from '@drift-labs/sdk'; import { chunks, shuffle, simulateAndGetTxWithCUs, sleepMs } from '../utils'; import { Agent, setGlobalDispatcher } from 'undici'; setGlobalDispatcher( new Agent({ connections: 200, }) ); const SIM_CU_ESTIMATE_MULTIPLIER = 1.5; export const earlyUpdateDefault: PythUpdateConfigs = { timeDiffMs: 15_000, priceDiffPct: 0.2, }; export const updateDefault: PythUpdateConfigs = { timeDiffMs: 20_000, priceDiffPct: 0.35, }; type FeedIdToCrankInfo = { baseSymbol: string; feedId: string; updateConfig: PythUpdateConfigs; earlyUpdateConfig: PythUpdateConfigs; accountAddress: PublicKey; }; export class PythCrankerBot implements Bot { private priceServiceConnection: PriceServiceConnection; private feedIdsToCrank: FeedIdToCrankInfo[] = []; private pythOracleClient: OracleClient; readonly decodeFunc: (name: string, data: Buffer) => PriceUpdateAccount; public name: string; public dryRun: boolean; private intervalMs: number; private feedIdToPriceFeedMap: Map<string, PriceFeed> = new Map(); public defaultIntervalMs = 30_000; private blockhashSubscriber: BlockhashSubscriber; private health: boolean = true; private slotStalenessThresholdRestart: number = 300; private txSuccessRateThreshold: number = 0.5; constructor( private globalConfig: GlobalConfig, private crankConfigs: PythCrankerBotConfig, private driftClient: DriftClient, private priorityFeeSubscriber?: PriorityFeeSubscriber, private bundleSender?: BundleSender, private lookupTableAccounts: AddressLookupTableAccount[] = [] ) { this.name = crankConfigs.botId; this.dryRun = crankConfigs.dryRun; this.intervalMs = crankConfigs.intervalMs; if (!globalConfig.hermesEndpoint) { throw new Error('Missing hermesEndpoint in global config'); } this.priceServiceConnection = new PriceServiceConnection( globalConfig.hermesEndpoint, { timeout: 10_000, } ); this.pythOracleClient = getOracleClient( OracleSource.PYTH_PULL, driftClient.connection, driftClient.program ); this.decodeFunc = this.driftClient .getReceiverProgram() .account.priceUpdateV2.coder.accounts.decodeUnchecked.bind( this.driftClient.getReceiverProgram().account.priceUpdateV2.coder .accounts ); this.blockhashSubscriber = new BlockhashSubscriber({ connection: driftClient.connection, }); this.txSuccessRateThreshold = crankConfigs.txSuccessRateThreshold; this.slotStalenessThresholdRestart = crankConfigs.slotStalenessThresholdRestart; } async init(): Promise<void> { logger.info(`Initializing ${this.name} bot`); await this.blockhashSubscriber.subscribe(); this.lookupTableAccounts.push( await this.driftClient.fetchMarketLookupTableAccount() ); const perpMarketIndexes = this.driftClient .getPerpMarketAccounts() .map((market) => market.marketIndex); const perpMarketConfigs = PerpMarkets[this.globalConfig.driftEnv].filter( (market) => perpMarketIndexes.includes(market.marketIndex) ); const spotMarketIndexes = this.driftClient .getSpotMarketAccounts() .map((market) => market.marketIndex); const spotMarketConfigs = SpotMarkets[this.globalConfig.driftEnv].filter( (market) => spotMarketIndexes.includes(market.marketIndex) ); for (const marketConfig of perpMarketConfigs) { const feedId = marketConfig.pythFeedId; if (!feedId) { logger.warn(`No pyth feed id for market ${marketConfig.symbol}`); continue; } const perpMarket = this.driftClient.getPerpMarketAccount( marketConfig.marketIndex ); if (!perpMarket) { logger.warn(`No perp market for market ${marketConfig.symbol}`); continue; } const updateConfigs = updateDefault; const earlyUpdateConfigs = earlyUpdateDefault; if (isOneOfVariant(perpMarket.contractTier, ['a', 'b'])) { updateConfigs.timeDiffMs = 15_000; earlyUpdateConfigs.timeDiffMs = 10_000; } const pubkey = getPythPullOraclePublicKey( this.driftClient.program.programId, getFeedIdUint8Array(feedId) ); this.feedIdsToCrank.push({ baseSymbol: marketConfig.baseAssetSymbol.toUpperCase(), feedId, updateConfig: this.crankConfigs?.updateConfigs?.[feedId]?.update ?? updateConfigs, earlyUpdateConfig: this.crankConfigs?.updateConfigs?.[feedId]?.earlyUpdate ?? earlyUpdateConfigs, accountAddress: pubkey, }); } for (const marketConfig of spotMarketConfigs) { if ( this.feedIdsToCrank.findIndex( (feedId) => feedId.baseSymbol === marketConfig.symbol ) !== -1 ) continue; const feedId = marketConfig.pythFeedId; if (!feedId) { logger.warn(`No pyth feed id for market ${marketConfig.symbol}`); continue; } const updateConfigs = updateDefault; const earlyUpdateConfigs = earlyUpdateDefault; if ( isOneOfVariant(marketConfig.oracleSource, [ 'pythPullStableCoin', 'pythStableCoin', ]) ) { updateConfigs.timeDiffMs = 15_000; updateConfigs.priceDiffPct = 0.1; earlyUpdateConfigs.timeDiffMs = 10_000; earlyUpdateConfigs.priceDiffPct = 0.05; } const pubkey = getPythPullOraclePublicKey( this.driftClient.program.programId, getFeedIdUint8Array(feedId) ); this.feedIdsToCrank.push({ baseSymbol: marketConfig.symbol.toUpperCase(), feedId, updateConfig: this.crankConfigs?.updateConfigs?.[feedId]?.update ?? updateConfigs, earlyUpdateConfig: this.crankConfigs?.updateConfigs?.[feedId]?.earlyUpdate ?? earlyUpdateConfigs, accountAddress: pubkey, }); } await this.priceServiceConnection.subscribePriceFeedUpdates( this.feedIdsToCrank.map((x) => x.feedId), (priceFeed) => { this.feedIdToPriceFeedMap.set(priceFeed.id, priceFeed); } ); this.priorityFeeSubscriber?.updateAddresses([ this.driftClient.getReceiverProgram().programId, ]); } async reset(): Promise<void> { logger.info(`Resetting ${this.name} bot`); this.feedIdsToCrank = []; this.blockhashSubscriber.unsubscribe(); await this.driftClient.unsubscribe(); await this.priceServiceConnection.unsubscribePriceFeedUpdates( this.feedIdsToCrank.map((x) => x.feedId) ); } async startIntervalLoop(intervalMs = this.intervalMs): Promise<void> { logger.info(`Starting ${this.name} bot with interval ${intervalMs} ms`); await sleepMs(5000); await this.runCrankLoop(); setInterval(async () => { await this.runCrankLoop(); }, intervalMs); } async getVaaForPriceFeedIds(feedIds: string[]): Promise<string> { const latestVaa = await this.priceServiceConnection.getLatestVaas(feedIds); return latestVaa[0]; } async getLatestPriceFeedUpdatesForFeedIds( feedIds: string[] ): Promise<PriceFeed[] | undefined> { const latestPrices = await this.priceServiceConnection.getLatestPriceFeeds( feedIds ); return latestPrices; } private async getBlockhashForTx(): Promise<string> { const cachedBlockhash = this.blockhashSubscriber.getLatestBlockhash(10); if (cachedBlockhash) { return cachedBlockhash.blockhash as string; } const recentBlockhash = await this.driftClient.connection.getLatestBlockhash({ commitment: 'confirmed', }); return recentBlockhash.blockhash; } async runCrankLoop() { const onChainDataResults = await this.driftClient.connection.getMultipleAccountsInfo( this.feedIdsToCrank.map((f) => f.accountAddress) ); const latestSlot = await this.driftClient.connection.getSlot(); let numFeedsSignalingRestart = 0; const feedIdsToUpdate: FeedIdToCrankInfo[] = []; let considerEarlyUpdate = false; shuffle(onChainDataResults).forEach((result) => { if (!result) { return; } const onChainPriceFeed = this.decodeFunc('priceUpdateV2', result.data); const feedIdCrankInfo = this.feedIdsToCrank.find((f) => f.accountAddress.equals(onChainPriceFeed.writeAuthority) ); if (!feedIdCrankInfo) { logger.warn( `Missing feed id data for ${onChainPriceFeed.writeAuthority.toString()}` ); return; } const pythnetPriceFeed = this.feedIdToPriceFeedMap.get( trimFeedId(feedIdCrankInfo.feedId) ); if (!pythnetPriceFeed || !onChainPriceFeed) { logger.info(`Missing price feed data for ${feedIdCrankInfo.feedId}`); return; } const pythnetPriceData = pythnetPriceFeed.getPriceUnchecked(); const onChainPriceData = this.pythOracleClient.getOraclePriceDataFromBuffer(result.data); const onChainSlot = onChainPriceData.slot.toNumber(); const slotDiff = latestSlot - onChainSlot; const isSlotStale = slotDiff > this.slotStalenessThresholdRestart; const priceDiffPct = Math.abs( convertToNumber( convertPythPrice( new BN(pythnetPriceData.price), pythnetPriceData.expo, ONE ), PRICE_PRECISION ) / convertToNumber(onChainPriceData.price, PRICE_PRECISION) - 1 ) * 100; const timestampDiff = pythnetPriceData.publishTime - onChainPriceFeed.priceMessage.publishTime.toNumber(); if ( timestampDiff > feedIdCrankInfo.updateConfig.timeDiffMs / 1000 || priceDiffPct > feedIdCrankInfo.updateConfig.priceDiffPct || (considerEarlyUpdate && (timestampDiff > feedIdCrankInfo.earlyUpdateConfig.timeDiffMs / 1000 || priceDiffPct > feedIdCrankInfo.earlyUpdateConfig.priceDiffPct)) ) { feedIdsToUpdate.push(feedIdCrankInfo); considerEarlyUpdate = true; } else if ( isSlotStale && this.driftClient.txSender.getTxLandRate() > this.txSuccessRateThreshold ) { // Landing txs but slot is not getting updated on chain numFeedsSignalingRestart++; } }); logger.info( `Feed ids to update: ${feedIdsToUpdate.map( (feedIdToUpdate) => feedIdToUpdate.baseSymbol )}` ); // Pair up the feed ids to fetch vaa and update const feedIdPairs = chunks(feedIdsToUpdate, 2); await Promise.all( feedIdPairs.map(async (feedIds) => { const vaa = await this.getVaaForPriceFeedIds( feedIds.map((f) => f.feedId) ); const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (this.globalConfig.useJito) { ixs.push( ...(await this.driftClient.getPostPythPullOracleUpdateAtomicIxs( vaa, feedIds.map((f) => f.feedId) )) ); ixs.push(this.bundleSender!.getTipIx()); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: true, recentBlockhash: await this.getBlockhashForTx(), }); simResult.tx.sign([ // @ts-ignore this.driftClient.wallet.payer, ]); this.bundleSender?.sendTransactions( [simResult.tx], undefined, undefined, false ); } else { const priorityFees = Math.floor( (this.priorityFeeSubscriber?.getCustomStrategyResult() || 0) * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ); logger.info( `Priority fees to use: ${priorityFees} with multiplier: ${this.driftClient.txSender.getSuggestedPriorityFeeMultiplier()}` ); ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityFees, }) ); ixs.push( ...(await this.driftClient.getPostPythPullOracleUpdateAtomicIxs( vaa, feedIds.map((f) => f.feedId) )) ); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: true, recentBlockhash: await this.getBlockhashForTx(), }); const startTime = Date.now(); this.driftClient .sendTransaction(simResult.tx) .then((txSigAndSlot: TxSigAndSlot) => { logger.info( `Posted multi pyth pull oracle for ${feedIds.map( (feedId) => feedId.baseSymbol )} update atomic tx: ${txSigAndSlot.txSig}, took ${ Date.now() - startTime }ms` ); }) .catch((e) => { console.log(e); }); } }) ); /* If number of numFeedsWithStaleOnChainDataButNoPriceChange is too high, may need to restart pythnet because we aren't actually updating the price on chain */ logger.info( `Number of feeds with stale on chain data but no price change: ${numFeedsSignalingRestart}` ); logger.info( `Tx success rate: ${this.driftClient.txSender.getTxLandRate()}` ); if (numFeedsSignalingRestart > 2) { logger.info( `Number of feeds with stale on chain data but no price change is too high: ${numFeedsSignalingRestart}. Tx land rate: ${this.driftClient.txSender.getTxLandRate()}. Marking unhealthy` ); this.health = false; } } async healthCheck(): Promise<boolean> { return this.health; } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/ifRevenueSettler.ts
import { DriftClient, SpotMarketAccount, OraclePriceData, ZERO, PriorityFeeSubscriberMap, DriftMarketInfo, } from '@drift-labs/sdk'; import { Mutex } from 'async-mutex'; import { getErrorCode } from '../error'; import { logger } from '../logger'; import { Bot } from '../types'; import { webhookMessage } from '../webhook'; import { BaseBotConfig } from '../config'; import { getDriftPriorityFeeEndpoint, simulateAndGetTxWithCUs, sleepS, } from '../utils'; import { AddressLookupTableAccount, ComputeBudgetProgram, } from '@solana/web3.js'; const MAX_SETTLE_WAIT_TIME_S = 10 * 60; // 10 minutes const errorCodesToSuppress = [ 6177, // NoRevenueToSettleToIF 6176, // RevenueSettingsCannotSettleToIF ]; export class IFRevenueSettlerBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly runOnce: boolean; public readonly defaultIntervalMs: number = 600000; private priorityFeeSubscriberMap?: PriorityFeeSubscriberMap; private driftClient: DriftClient; private intervalIds: Array<NodeJS.Timer> = []; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); private lookupTableAccount?: AddressLookupTableAccount; constructor(driftClient: DriftClient, config: BaseBotConfig) { this.name = config.botId; this.dryRun = config.dryRun; this.runOnce = config.runOnce || false; this.driftClient = driftClient; } public async init() { logger.info(`${this.name} initing`); await this.driftClient.subscribe(); const driftMarkets: DriftMarketInfo[] = []; for (const spotMarket of this.driftClient.getSpotMarketAccounts()) { driftMarkets.push({ marketType: 'spot', marketIndex: spotMarket.marketIndex, }); } this.priorityFeeSubscriberMap = new PriorityFeeSubscriberMap({ driftPriorityFeeEndpoint: getDriftPriorityFeeEndpoint('mainnet-beta'), driftMarkets, frequencyMs: 10_000, }); await this.priorityFeeSubscriberMap!.subscribe(); if (!(await this.driftClient.getUser().exists())) { throw new Error( `User for ${this.driftClient.wallet.publicKey.toString()} does not exist` ); } this.lookupTableAccount = await this.driftClient.fetchMarketLookupTableAccount(); } public async reset() { await this.priorityFeeSubscriberMap!.unsubscribe(); await this.driftClient.unsubscribe(); for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; } public async startIntervalLoop(intervalMs?: number): Promise<void> { logger.info(`${this.name} Bot started!`); if (this.runOnce) { await this.trySettleIFRevenue(); } else { const intervalId = setInterval( this.trySettleIFRevenue.bind(this), intervalMs ); this.intervalIds.push(intervalId); } } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 2 * this.defaultIntervalMs; }); return healthy; } private async settleIFRevenue(spotMarketIndex: number) { try { const pfs = this.priorityFeeSubscriberMap!.getPriorityFees( 'spot', spotMarketIndex ); let microLamports = 10_000; if (pfs) { microLamports = Math.floor(pfs.medium); } const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // simulateAndGetTxWithCUs will overwrite }), ComputeBudgetProgram.setComputeUnitPrice({ microLamports, }), ]; ixs.push( await this.driftClient.getSettleRevenueToInsuranceFundIx( spotMarketIndex ) ); const recentBlockhash = await this.driftClient.connection.getLatestBlockhash('confirmed'); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: [this.lookupTableAccount!], cuLimitMultiplier: 1.1, doSimulation: true, recentBlockhash: recentBlockhash.blockhash, }); logger.info( `settleRevenueToInsuranceFund on spot market ${spotMarketIndex} estimated to take ${simResult.cuEstimate} CUs.` ); if (simResult.simError !== null) { logger.error( `Sim error: ${JSON.stringify(simResult.simError)}\n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }` ); } else { const sendTxStart = Date.now(); const txSig = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, [], this.driftClient.opts ); logger.info( `Settle IF Revenue for spot market ${spotMarketIndex} tx sent in ${ Date.now() - sendTxStart }ms: https://solana.fm/tx/${txSig.txSig}` ); } } catch (e: any) { const err = e as Error; const errorCode = getErrorCode(err); logger.error( `Error code: ${errorCode} while settling revenue to IF for marketIndex=${spotMarketIndex}: ${err.message}` ); console.error(err); if (errorCode && !errorCodesToSuppress.includes(errorCode)) { await webhookMessage( `[${ this.name }]: :x: Error code: ${errorCode} while settling revenue to IF for marketIndex=${spotMarketIndex}:\n${ e.logs ? (e.logs as Array<string>).join('\n') : '' }\n${err.stack ? err.stack : err.message}` ); } } } private async trySettleIFRevenue() { try { const spotMarketAndOracleData: { [marketIndex: number]: { marketAccount: SpotMarketAccount; oraclePriceData: OraclePriceData; }; } = {}; for (const marketAccount of this.driftClient.getSpotMarketAccounts()) { spotMarketAndOracleData[marketAccount.marketIndex] = { marketAccount, oraclePriceData: this.driftClient.getOracleDataForSpotMarket( marketAccount.marketIndex ), }; } const ifSettlePromises = []; for ( let i = 0; i < this.driftClient.getSpotMarketAccounts().length; i++ ) { const spotMarketAccount = spotMarketAndOracleData[i].marketAccount; const spotIf = spotMarketAccount.insuranceFund; if ( spotIf.revenueSettlePeriod.eq(ZERO) || spotMarketAccount.revenuePool.scaledBalance.eq(ZERO) ) { continue; } const currentTs = Date.now() / 1000; // add 1 sec buffer const timeUntilSettle = spotIf.lastRevenueSettleTs.toNumber() + spotIf.revenueSettlePeriod.toNumber() - currentTs + 1; if (timeUntilSettle <= MAX_SETTLE_WAIT_TIME_S) { ifSettlePromises.push( (async () => { logger.info( `IF revenue settling on market ${i} in ${timeUntilSettle} seconds` ); await sleepS(timeUntilSettle); await this.settleIFRevenue(i); })() ); } else { logger.info( `Too long to wait (${timeUntilSettle} seconds) to settle IF for marke market ${i}, skipping...` ); } } await Promise.all(ifSettlePromises); } catch (e: any) { console.error(e); const err = e as Error; if ( !err.message.includes('Transaction was not confirmed') && !err.message.includes('Blockhash not found') ) { const errorCode = getErrorCode(err); await webhookMessage( `[${ this.name }]: :x: IF Revenue Settler error: Error code: ${errorCode}:\n${ e.logs ? (e.logs as Array<string>).join('\n') : '' }\n${err.stack ? err.stack : err.message}` ); } } finally { logger.info('Settle IF Revenues finished'); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/fillerLite.ts
import { DriftClient, BulkAccountLoader, SlotSubscriber, OrderSubscriber, UserAccount, User, PriorityFeeSubscriber, DataAndSlot, BlockhashSubscriber, } from '@drift-labs/sdk'; import { AddressLookupTableAccount, PublicKey } from '@solana/web3.js'; import { logger } from '../logger'; import { FillerConfig, GlobalConfig } from '../config'; import { RuntimeSpec } from '../metrics'; import { webhookMessage } from '../webhook'; import { FillerBot } from './filler'; import { sleepMs } from '../utils'; import { BundleSender } from '../bundleSender'; import { PythPriceFeedSubscriber } from '../pythPriceFeedSubscriber'; export class FillerLiteBot extends FillerBot { protected orderSubscriber: OrderSubscriber; constructor( slotSubscriber: SlotSubscriber, driftClient: DriftClient, runtimeSpec: RuntimeSpec, globalConfig: GlobalConfig, config: FillerConfig, priorityFeeSubscriber: PriorityFeeSubscriber, blockhashSubscriber: BlockhashSubscriber, bundleSender?: BundleSender, pythPriceFeedSubscriber?: PythPriceFeedSubscriber, lookupTableAccounts: AddressLookupTableAccount[] = [] ) { super( slotSubscriber, undefined, driftClient, undefined, runtimeSpec, globalConfig, config, priorityFeeSubscriber, blockhashSubscriber, bundleSender, pythPriceFeedSubscriber, lookupTableAccounts ); this.userStatsMapSubscriptionConfig = { type: 'polling', accountLoader: new BulkAccountLoader( this.driftClient.connection, 'processed', // No polling so value is irrelevant 0 // no polling, just for using mustGet ), }; this.orderSubscriber = new OrderSubscriber({ driftClient: this.driftClient, subscriptionConfig: { type: 'websocket', skipInitialLoad: false, resyncIntervalMs: 10_000, }, }); } public async init() { logger.info(`${this.name} initing`); await super.baseInit(); await this.orderSubscriber.subscribe(); await sleepMs(1200); // Wait a few slots to build up order book await webhookMessage(`[${this.name}]: started`); } public async startIntervalLoop(_intervalMs?: number) { super.startIntervalLoop(_intervalMs); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.orderSubscriber.unsubscribe(); } protected async getUserAccountAndSlotFromMap( key: string ): Promise<DataAndSlot<UserAccount>> { if (!this.orderSubscriber.usersAccounts.has(key)) { const user = new User({ driftClient: this.driftClient, userAccountPublicKey: new PublicKey(key), accountSubscription: { type: 'polling', accountLoader: new BulkAccountLoader( this.driftClient.connection, 'processed', 0 ), }, }); await user.subscribe(); return user.getUserAccountAndSlot()!; } else { const userAccount = this.orderSubscriber.usersAccounts.get(key)!; return { data: userAccount.userAccount, slot: userAccount.slot, }; } } protected async getDLOB() { const currentSlot = this.getMaxSlot(); return await this.orderSubscriber.getDLOB(currentSlot); } protected getMaxSlot(): number { return Math.max( this.slotSubscriber.getSlot(), this.orderSubscriber!.getSlot() ); } protected logSlots() { logger.info( `slotSubscriber slot: ${this.slotSubscriber.getSlot()}, orderSubscriber slot: ${this.orderSubscriber.getSlot()}` ); } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/uncrossArbBot.ts
/* eslint-disable @typescript-eslint/no-non-null-assertion */ /* eslint-disable @typescript-eslint/no-unused-vars */ import { DriftEnv, DriftClient, convertToNumber, MarketType, PRICE_PRECISION, DLOBSubscriber, SlotSubscriber, MakerInfo, getUserStatsAccountPublicKey, OrderSubscriber, PollingDriftClientAccountSubscriber, TxSigAndSlot, ZERO, PriorityFeeSubscriber, } from '@drift-labs/sdk'; import { Mutex, tryAcquire, E_ALREADY_LOCKED } from 'async-mutex'; import { logger } from '../logger'; import { Bot } from '../types'; import { getBestLimitAskExcludePubKey, getBestLimitBidExcludePubKey, } from '../utils'; import { JitProxyClient } from '@drift-labs/jit-proxy/lib'; import dotenv = require('dotenv'); dotenv.config(); import { BaseBotConfig } from 'src/config'; import { AddressLookupTableAccount, ComputeBudgetProgram, PublicKey, SendTransactionError, } from '@solana/web3.js'; import { getErrorCode } from '../error'; import { webhookMessage } from '../webhook'; import { isArbIxLog, isEndIxLog, isErrArb, isErrArbNoAsk, isErrArbNoBid, isIxLog, isMakerBreachedMaintenanceMarginLog, } from './common/txLogParse'; const SETTLE_POSITIVE_PNL_COOLDOWN_MS = 60_000; const SETTLE_PNL_CHUNKS = 4; const MAX_POSITIONS_PER_USER = 8; const THROTTLED_NODE_COOLDOWN = 10000; const ARB_ERROR_THRESHOLD_PER_USER = 3; const errorCodesToSuppress = [ 6004, // 0x1774 Error Number: 6004. Error Message: NoBestBid. 6005, // 0x1775 Error Number: 6005. Error Message: NoBestAsk. 6006, // 0x1776 Error Number: 6006. Error Message: NoArbOpportunity. ]; /** * This is an example of a bot that implements the Bot interface. */ export class UncrossArbBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly defaultIntervalMs: number = 1000; private driftEnv: DriftEnv; private periodicTaskMutex = new Mutex(); private jitProxyClient: JitProxyClient; private driftClient: DriftClient; private lookupTableAccount?: AddressLookupTableAccount; private intervalIds: Array<NodeJS.Timer> = []; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); private dlobSubscriber: DLOBSubscriber; private slotSubscriber: SlotSubscriber; private orderSubscriber: OrderSubscriber; private priorityFeeSubscriber: PriorityFeeSubscriber; private lastSettlePnl = Date.now() - SETTLE_POSITIVE_PNL_COOLDOWN_MS; private throttledNodes: Map<number, Map<string, number>> = new Map(); private noArbErrors: Map<number, Map<string, number>> = new Map(); constructor( driftClient: DriftClient, // driftClient needs to have correct number of subaccounts listed jitProxyClient: JitProxyClient, slotSubscriber: SlotSubscriber, config: BaseBotConfig, driftEnv: DriftEnv, priorityFeeSubscriber: PriorityFeeSubscriber ) { this.jitProxyClient = jitProxyClient; this.driftClient = driftClient; this.name = config.botId; this.dryRun = config.dryRun; this.driftEnv = driftEnv; this.slotSubscriber = slotSubscriber; let accountSubscription: | { type: 'polling'; frequency: number; commitment: 'processed'; } | { commitment: 'processed'; type: 'websocket'; resubTimeoutMs?: number; resyncIntervalMs?: number; }; if ( ( this.driftClient .accountSubscriber as PollingDriftClientAccountSubscriber ).accountLoader ) { accountSubscription = { type: 'polling', frequency: 1000, commitment: 'processed', }; } else { accountSubscription = { commitment: 'processed', type: 'websocket', resubTimeoutMs: 30000, resyncIntervalMs: 10_000, }; } this.orderSubscriber = new OrderSubscriber({ driftClient: this.driftClient, subscriptionConfig: accountSubscription, }); this.dlobSubscriber = new DLOBSubscriber({ dlobSource: this.orderSubscriber, slotSource: this.orderSubscriber, updateFrequency: 500, driftClient: this.driftClient, }); this.priorityFeeSubscriber = priorityFeeSubscriber; this.priorityFeeSubscriber.updateAddresses([ new PublicKey('8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W'), // sol-perp ]); } /** * Run initialization procedures for the bot. */ public async init(): Promise<void> { logger.info(`${this.name} initing`); await this.orderSubscriber.subscribe(); await this.dlobSubscriber.subscribe(); this.lookupTableAccount = await this.driftClient.fetchMarketLookupTableAccount(); for (const marketIndex of this.driftClient .getPerpMarketAccounts() .map((m) => m.marketIndex)) { this.throttledNodes.set(marketIndex, new Map()); this.noArbErrors.set(marketIndex, new Map()); } logger.info(`${this.name} init done`); } /** * Reset the bot - usually you will reset any periodic tasks here */ public async reset(): Promise<void> { // reset any periodic tasks for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; } public async startIntervalLoop(intervalMs?: number): Promise<void> { const intervalId = setInterval( this.runPeriodicTasks.bind(this), intervalMs ); this.intervalIds.push(intervalId); this.intervalIds.push( setInterval( this.settlePnls.bind(this), SETTLE_POSITIVE_PNL_COOLDOWN_MS / 2 ) ); logger.info(`${this.name} Bot started! driftEnv: ${this.driftEnv}`); } /** * Typically used for monitoring liveness. * @returns true if bot is healthy, else false. */ public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 5 * this.defaultIntervalMs; }); return healthy; } protected getOrderSignatureFromMakerInfo(makerInfo: MakerInfo): string { return ( makerInfo.maker.toString() + '_' + makerInfo.order!.orderId.toString() ); } protected handleTransactionLogs( bidMakerInfo: MakerInfo, askMakerInfo: MakerInfo, marketIndex: number, logs: string[] | null | undefined ): void { if (!logs) { return; } let inArbIx = false; for (const log of logs) { if (log === null) { logger.error(`log is null`); continue; } // Log which program is causing the error if (isIxLog(log)) { if (isArbIxLog(log)) { // can also print this from parsing the log record in upcoming console.log('Failed in arb ix'); inArbIx = true; } else { inArbIx = false; console.log('Failed in drift ix'); } continue; } if (isEndIxLog(this.driftClient.program.programId.toBase58(), log)) { continue; } if (!inArbIx) { // this is not a log for a fill instruction const makerBreachedMaintenanceMargin = isMakerBreachedMaintenanceMarginLog(log); if (makerBreachedMaintenanceMargin !== null) { logger.error( `Throttling maker breached maintenance margin: ${makerBreachedMaintenanceMargin}` ); this.throttledNodes .get(marketIndex)! .set(makerBreachedMaintenanceMargin, Date.now()); this.driftClient .forceCancelOrders( new PublicKey(makerBreachedMaintenanceMargin), makerBreachedMaintenanceMargin === bidMakerInfo.maker.toBase58() ? bidMakerInfo.makerUserAccount : askMakerInfo.makerUserAccount ) .then((txSig) => { logger.info( `Force cancelled orders for makers due to breach of maintenance margin. Tx: ${txSig}` ); }) .catch((e) => { console.error(e); logger.error( `Failed to send ForceCancelOrder Tx for maker (${makerBreachedMaintenanceMargin}) breach margin (error above):` ); const errorCode = getErrorCode(e); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(e as Error).message.includes('Transaction was not confirmed') ) { webhookMessage( `[${ this.name }]: :x: error forceCancelling user ${makerBreachedMaintenanceMargin} for maker breaching margin tx logs:\n${ e.stack ? e.stack : e.message }` ); } }); break; } else { continue; } } // Throttle nodes that aren't filling const errArbing = isErrArb(log); const errNoAsk = isErrArbNoAsk(log); const errNoBid = isErrArbNoBid(log); if (inArbIx && errArbing) { const noArbErrorsMap = this.noArbErrors.get(marketIndex)!; const bidMakerSig = this.getOrderSignatureFromMakerInfo(bidMakerInfo); const askMakerSig = this.getOrderSignatureFromMakerInfo(askMakerInfo); if (!noArbErrorsMap.has(bidMakerSig)) noArbErrorsMap.set(bidMakerSig, 0); if (!noArbErrorsMap.has(askMakerSig)) noArbErrorsMap.set(askMakerSig, 0); noArbErrorsMap.set(bidMakerSig, noArbErrorsMap.get(bidMakerSig)! + 1); noArbErrorsMap.set(askMakerSig, noArbErrorsMap.get(askMakerSig)! + 1); if (noArbErrorsMap.get(bidMakerSig)! > ARB_ERROR_THRESHOLD_PER_USER) { this.throttledNodes.get(marketIndex)!.set(bidMakerSig, Date.now()); noArbErrorsMap.set(bidMakerSig, 0); logger.warn( `Throttling ${bidMakerSig} due to NoArbError on ${marketIndex}` ); } if (noArbErrorsMap.get(askMakerSig)! > ARB_ERROR_THRESHOLD_PER_USER) { this.throttledNodes.get(marketIndex)!.set(askMakerSig, Date.now()); noArbErrorsMap.set(askMakerSig, 0); logger.warn( `Throttling ${askMakerSig} due to NoArbError on ${marketIndex}` ); } continue; } else if (inArbIx && errNoAsk) { const noArbErrorsMap = this.noArbErrors.get(marketIndex)!; const askMakerSig = this.getOrderSignatureFromMakerInfo(askMakerInfo); if (!noArbErrorsMap.has(askMakerSig)) noArbErrorsMap.set(askMakerSig, 0); noArbErrorsMap.set(askMakerSig, noArbErrorsMap.get(askMakerSig)! + 1); if (noArbErrorsMap.get(askMakerSig)! > ARB_ERROR_THRESHOLD_PER_USER) { this.throttledNodes.get(marketIndex)!.set(askMakerSig, Date.now()); noArbErrorsMap.set(askMakerSig, 0); logger.warn( `Throttling ${askMakerSig} due to NoArbError on ${marketIndex}` ); } } else if (inArbIx && errNoBid) { const noArbErrorsMap = this.noArbErrors.get(marketIndex)!; const bidMakerSig = this.getOrderSignatureFromMakerInfo(bidMakerInfo); if (!noArbErrorsMap.has(bidMakerSig)) noArbErrorsMap.set(bidMakerSig, 0); noArbErrorsMap.set(bidMakerSig, noArbErrorsMap.get(bidMakerSig)! + 1); if (noArbErrorsMap.get(bidMakerSig)! > ARB_ERROR_THRESHOLD_PER_USER) { this.throttledNodes.get(marketIndex)!.set(bidMakerSig, Date.now()); noArbErrorsMap.set(bidMakerSig, 0); logger.warn( `Throttling ${bidMakerSig} due to NoArbError on ${marketIndex}` ); } } } } private async runPeriodicTasks() { const start = Date.now(); let ran = false; try { await tryAcquire(this.periodicTaskMutex).runExclusive(async () => { logger.debug( `[${new Date().toISOString()}] Running uncross periodic tasks...` ); const perpMarkets = this.driftClient.getPerpMarketAccounts(); for (let i = 0; i < perpMarkets.length; i++) { const perpIdx = perpMarkets[i].marketIndex; const driftUser = this.driftClient.getUser(); const perpMarketAccount = this.driftClient.getPerpMarketAccount(perpIdx)!; const oraclePriceData = this.driftClient.getOracleDataForPerpMarket(perpIdx); // Go through throttled nodes so we can exlcude them const excludedPubKeysOrderIdPairs: [string, number][] = []; const throttledNodesForMarket = this.throttledNodes.get(perpIdx)!; if (throttledNodesForMarket) { for (const [pubKeySig, time] of throttledNodesForMarket.entries()) { if (Date.now() - time < THROTTLED_NODE_COOLDOWN) { excludedPubKeysOrderIdPairs.push( ((sig: string) => [ sig.split('_')[0], parseInt(sig.split('_')[1]), ])(pubKeySig) ); } else { throttledNodesForMarket.delete(pubKeySig); if (this.noArbErrors.get(perpIdx)!.has(pubKeySig)) { logger.warn(`Releasing throttled node ${pubKeySig}`); this.noArbErrors.get(perpIdx)!.delete(pubKeySig); } } } } const bestDriftBid = getBestLimitBidExcludePubKey( this.dlobSubscriber.dlob, perpMarketAccount.marketIndex, MarketType.PERP, oraclePriceData.slot.toNumber(), oraclePriceData, driftUser.getUserAccountPublicKey().toBase58(), excludedPubKeysOrderIdPairs ); const bestDriftAsk = getBestLimitAskExcludePubKey( this.dlobSubscriber.dlob, perpMarketAccount.marketIndex, MarketType.PERP, oraclePriceData.slot.toNumber(), oraclePriceData, driftUser.getUserAccountPublicKey().toBase58(), excludedPubKeysOrderIdPairs ); if (!bestDriftBid || !bestDriftAsk) { continue; } const currentSlot = this.slotSubscriber.getSlot(); const bestBidPrice = convertToNumber( bestDriftBid.getPrice(oraclePriceData, currentSlot), PRICE_PRECISION ); const bestAskPrice = convertToNumber( bestDriftAsk.getPrice(oraclePriceData, currentSlot), PRICE_PRECISION ); const midPrice = (bestBidPrice + bestAskPrice) / 2; if ( (bestBidPrice - bestAskPrice) / midPrice > 2 * this.driftClient.getMarketFees( MarketType.PERP, perpIdx, driftUser ).takerFee ) { let bidMakerInfo: MakerInfo; let askMakerInfo: MakerInfo; try { bidMakerInfo = { makerUserAccount: this.orderSubscriber.usersAccounts.get( bestDriftBid.userAccount! )!.userAccount, order: bestDriftBid.order, maker: new PublicKey(bestDriftBid.userAccount!), makerStats: getUserStatsAccountPublicKey( this.driftClient.program.programId, this.orderSubscriber.usersAccounts.get( bestDriftBid.userAccount! )!.userAccount.authority ), }; askMakerInfo = { makerUserAccount: this.orderSubscriber.usersAccounts.get( bestDriftAsk.userAccount! )!.userAccount, order: bestDriftAsk.order, maker: new PublicKey(bestDriftAsk.userAccount!), makerStats: getUserStatsAccountPublicKey( this.driftClient.program.programId, this.orderSubscriber.usersAccounts.get( bestDriftAsk.userAccount! )!.userAccount.authority ), }; console.log(` Crossing market on marketIndex: ${perpIdx} Market: ${bestBidPrice}@${bestAskPrice} Bid maker: ${bidMakerInfo.maker.toBase58()} ask maker: ${askMakerInfo.maker.toBase58()} `); } catch (e) { continue; } try { const fee = Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() * 1.1 || 1 ); const txResult = await this.driftClient.txSender.sendVersionedTransaction( await this.driftClient.txSender.getVersionedTransaction( [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ComputeBudgetProgram.setComputeUnitPrice({ microLamports: fee, }), await this.jitProxyClient.getArbPerpIx({ marketIndex: perpIdx, makerInfos: [bidMakerInfo, askMakerInfo], referrerInfo: this.driftClient .getUserStats() .getReferrerInfo(), }), ], [this.lookupTableAccount!], [], this.driftClient.opts ), [], this.driftClient.opts ); logger.info( `Potential arb with sig: ${txResult.txSig}. Check the blockchain for confirmation.` ); } catch (e) { logger.error('Failed to send tx', e); try { const simError = e as SendTransactionError; const errorCode = getErrorCode(simError); if (simError.logs && simError.logs.length > 0) { const start = Date.now(); this.handleTransactionLogs( bidMakerInfo, askMakerInfo, perpIdx, simError.logs ); logger.error( `Failed to send tx, sim error tx logs took: ${ Date.now() - start }ms)` ); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(e as Error).message.includes( 'Transaction was not confirmed' ) ) { console.error(`Unsurpressed error:\n`, e); webhookMessage( `[${this.name}]: :x: error simulating tx:\n${ simError.logs ? simError.logs.join('\n') : '' }\n${simError.stack || e}` ); } else { if (errorCode === 6006) { logger.warn('No arb opportunity'); } else if (errorCode === 6004 || errorCode === 6005) { logger.warn('No bid/ask, Orderbook was slow'); } } } } catch (e) { if (e instanceof Error) { logger.error( `Error sending arb tx on market index ${perpIdx} with detected market ${bestBidPrice}@${bestAskPrice}: ${ e.stack ? e.stack : e.message }` ); } } } } } logger.debug(`done: ${Date.now() - start}ms`); ran = true; }); } catch (e) { if (e === E_ALREADY_LOCKED) { return; } else { throw e; } } finally { if (ran) { const duration = Date.now() - start; logger.debug(`${this.name} Bot took ${duration}ms to run`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } } private async settlePnls() { const user = this.driftClient.getUser(); const marketIds = user .getActivePerpPositions() .filter((pos) => !pos.quoteAssetAmount.eq(ZERO)) .map((pos) => pos.marketIndex); if (marketIds.length === 0) { return; } const now = Date.now(); if (now < this.lastSettlePnl + SETTLE_POSITIVE_PNL_COOLDOWN_MS) { logger.info(`Want to settle positive pnl, but in cooldown...`); } else { const settlePnlPromises: Array<Promise<TxSigAndSlot>> = []; for (let i = 0; i < marketIds.length; i += SETTLE_PNL_CHUNKS) { const marketIdChunks = marketIds.slice(i, i + SETTLE_PNL_CHUNKS); try { const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 2_000_000, }), ]; ixs.push( ...(await this.driftClient.getSettlePNLsIxs( [ { settleeUserAccountPublicKey: user.getUserAccountPublicKey(), settleeUserAccount: this.driftClient.getUserAccount()!, }, ], marketIdChunks )) ); settlePnlPromises.push( this.driftClient.txSender.sendVersionedTransaction( await this.driftClient.txSender.getVersionedTransaction( ixs, [this.lookupTableAccount!], [], this.driftClient.opts ), [], this.driftClient.opts ) ); } catch (err) { if (!(err instanceof Error)) { return; } const errorCode = getErrorCode(err) ?? 0; logger.error( `Error code: ${errorCode} while settling pnls for markets ${JSON.stringify( marketIds )}: ${err.message}` ); console.error(err); } } try { const txs = await Promise.all(settlePnlPromises); for (const tx of txs) { logger.info( `Settle positive PNLs tx: https://solscan/io/tx/${tx.txSig}` ); } } catch (e) { logger.error('Error settling pnls: ', e); } this.lastSettlePnl = now; } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/makerBidAskTwapCrank.ts
import { DLOB, DriftClient, UserMap, SlotSubscriber, MarketType, PositionDirection, getUserStatsAccountPublicKey, promiseTimeout, isVariant, PriorityFeeSubscriberMap, DriftMarketInfo, isOneOfVariant, getVariant, } from '@drift-labs/sdk'; import { Mutex } from 'async-mutex'; import { logger } from '../logger'; import { Bot } from '../types'; import { BaseBotConfig, GlobalConfig } from '../config'; import { TransactionSignature, VersionedTransaction, AddressLookupTableAccount, PublicKey, ComputeBudgetProgram, TransactionInstruction, TransactionExpiredBlockheightExceededError, SendTransactionError, } from '@solana/web3.js'; import { webhookMessage } from '../webhook'; import { ConfirmOptions, Signer } from '@solana/web3.js'; import { getAllPythOracleUpdateIxs, getDriftPriorityFeeEndpoint, handleSimResultError, simulateAndGetTxWithCUs, SimulateAndGetTxWithCUsResponse, } from '../utils'; import { PythPriceFeedSubscriber } from '../pythPriceFeedSubscriber'; import { PythPullClient } from '@drift-labs/sdk'; import { BundleSender } from '../bundleSender'; const CU_EST_MULTIPLIER = 1.4; const DEFAULT_INTERVAL_GROUP = -1; const TWAP_CRANK_MIN_CU = 200_000; const MIN_PRIORITY_FEE = 10_000; const MAX_PRIORITY_FEE = process.env.MAX_PRIORITY_FEE ? parseInt(process.env.MAX_PRIORITY_FEE) || 500_000 : 500_000; const SLOT_STALENESS_THRESHOLD_RESTART = process.env .SLOT_STALENESS_THRESHOLD_RESTART ? parseInt(process.env.SLOT_STALENESS_THRESHOLD_RESTART) || 300 : 300; const TX_LAND_RATE_THRESHOLD = process.env.TX_LAND_RATE_THRESHOLD ? parseFloat(process.env.TX_LAND_RATE_THRESHOLD) || 0.5 : 0.5; const NUM_MAKERS_TO_LOOK_AT_FOR_TWAP_CRANK = 2; const TX_PER_JITO_BUNDLE = 3; function isCriticalError(e: Error): boolean { // retrying on this error is standard if (e.message.includes('Blockhash not found')) { return false; } if (e.message.includes('Transaction was not confirmed in')) { return false; } return true; } export async function sendVersionedTransaction( driftClient: DriftClient, tx: VersionedTransaction, additionalSigners?: Array<Signer>, opts?: ConfirmOptions, timeoutMs = 5000 ): Promise<TransactionSignature | null> { // @ts-ignore tx.sign((additionalSigners ?? []).concat(driftClient.provider.wallet.payer)); if (opts === undefined) { opts = driftClient.provider.opts; } const rawTransaction = tx.serialize(); let txid: TransactionSignature | null; try { txid = await promiseTimeout( driftClient.provider.connection.sendRawTransaction(rawTransaction, opts), timeoutMs ); } catch (e) { console.error(e); throw e; } return txid; } /** * Builds a mapping from crank interval (ms) to perp market indexes * @param driftClient * @returns */ function buildCrankIntervalToMarketIds(driftClient: DriftClient): { crankIntervals: { [key: number]: number[] }; driftMarkets: DriftMarketInfo[]; } { const crankIntervals: { [key: number]: number[] } = {}; const driftMarkets: DriftMarketInfo[] = []; for (const perpMarket of driftClient.getPerpMarketAccounts()) { if (isOneOfVariant(perpMarket.status, ['settlement', 'delisted'])) { logger.info( `markTwapCrank skipping market ${ perpMarket.marketIndex } with status ${getVariant(perpMarket.status)}` ); continue; } driftMarkets.push({ marketType: 'perp', marketIndex: perpMarket.marketIndex, }); let crankPeriodMs = 20_000; const isPreLaunch = false; if (isOneOfVariant(perpMarket.contractTier, ['a', 'b'])) { crankPeriodMs = 10_000; } else if (isVariant(perpMarket.amm.oracleSource, 'prelaunch')) { crankPeriodMs = 15_000; } logger.info( `Perp market ${perpMarket.marketIndex} contractTier: ${getVariant( perpMarket.contractTier )} isPrelaunch: ${isPreLaunch}, crankPeriodMs: ${crankPeriodMs}` ); if (crankIntervals[crankPeriodMs] === undefined) { crankIntervals[crankPeriodMs] = [perpMarket.marketIndex]; } else { crankIntervals[crankPeriodMs].push(perpMarket.marketIndex); } } return { crankIntervals, driftMarkets, }; } export class MakerBidAskTwapCrank implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly runOnce: boolean; public readonly defaultIntervalMs?: number = undefined; public readonly globalConfig: GlobalConfig; private crankIntervalToMarketIds?: { [key: number]: number[] }; // Object from number to array of numbers private crankIntervalInProgress?: { [key: number]: boolean }; private allCrankIntervalGroups?: number[]; private maxIntervalGroup?: number; // tracks the max interval group for health checking private slotSubscriber: SlotSubscriber; private driftClient: DriftClient; private intervalIds: Array<NodeJS.Timer> = []; private userMap?: UserMap; private dlob?: DLOB; private latestDlobSlot?: number; private priorityFeeSubscriberMap?: PriorityFeeSubscriberMap; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); private pythPriceSubscriber?: PythPriceFeedSubscriber; private pythPullOracleClient: PythPullClient; private pythHealthy: boolean = true; private lookupTableAccounts: AddressLookupTableAccount[]; private bundleSender?: BundleSender; constructor( driftClient: DriftClient, slotSubscriber: SlotSubscriber, userMap: UserMap, config: BaseBotConfig, globalConfig: GlobalConfig, runOnce: boolean, pythPriceSubscriber?: PythPriceFeedSubscriber, lookupTableAccounts: AddressLookupTableAccount[] = [], bundleSender?: BundleSender ) { this.slotSubscriber = slotSubscriber; this.name = config.botId; this.dryRun = config.dryRun; this.runOnce = runOnce; this.globalConfig = globalConfig; this.driftClient = driftClient; this.userMap = userMap; this.pythPriceSubscriber = pythPriceSubscriber; this.lookupTableAccounts = lookupTableAccounts; this.pythPullOracleClient = new PythPullClient(this.driftClient.connection); this.bundleSender = bundleSender; } public async init() { logger.info(`[${this.name}] initing, runOnce: ${this.runOnce}`); this.lookupTableAccounts.push( await this.driftClient.fetchMarketLookupTableAccount() ); let driftMarkets: DriftMarketInfo[] = []; ({ crankIntervals: this.crankIntervalToMarketIds, driftMarkets } = buildCrankIntervalToMarketIds(this.driftClient)); logger.info( `[${this.name}] crankIntervals:\n${JSON.stringify( this.crankIntervalToMarketIds, null, 2 )}` ); this.crankIntervalInProgress = {}; if (this.crankIntervalToMarketIds) { this.allCrankIntervalGroups = Object.keys( this.crankIntervalToMarketIds ).map((x) => parseInt(x)); this.maxIntervalGroup = Math.max(...this.allCrankIntervalGroups!); this.watchdogTimerLastPatTime = Date.now() - this.maxIntervalGroup; for (const intervalGroup of this.allCrankIntervalGroups!) { this.crankIntervalInProgress[intervalGroup] = false; } } else { this.crankIntervalInProgress[DEFAULT_INTERVAL_GROUP] = false; } this.priorityFeeSubscriberMap = new PriorityFeeSubscriberMap({ driftPriorityFeeEndpoint: getDriftPriorityFeeEndpoint('mainnet-beta'), driftMarkets, frequencyMs: 10_000, }); await this.priorityFeeSubscriberMap.subscribe(); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.userMap?.unsubscribe(); } public async startIntervalLoop(_intervalMs?: number): Promise<void> { logger.info(`[${this.name}] Bot started!`); if (this.runOnce) { await this.tryTwapCrank(null); } else { // start an interval for each crank interval for (const intervalGroup of this.allCrankIntervalGroups!) { const intervalId = setInterval( this.tryTwapCrank.bind(this, intervalGroup), intervalGroup ); this.intervalIds.push(intervalId); } } } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 5 * this.maxIntervalGroup!; }); return healthy && this.pythHealthy; } private async initDlob() { try { this.latestDlobSlot = this.slotSubscriber.currentSlot; this.dlob = await this.userMap!.getDLOB(this.slotSubscriber.currentSlot); } catch (e) { logger.error(`[${this.name}] Error loading dlob: ${e}`); } } private getCombinedList(makersArray: PublicKey[]) { const combinedList = []; for (const maker of makersArray) { const uA = this.userMap!.getUserAuthority(maker.toString()); if (uA !== undefined) { const uStats = getUserStatsAccountPublicKey( this.driftClient.program.programId, uA ); // Combine maker and uStats into a list and add it to the combinedList const combinedItem = [maker, uStats]; combinedList.push(combinedItem); } else { logger.warn( '[${this.name}] skipping maker... cannot find authority for userAccount=', maker.toString() ); } } return combinedList; } private async sendSingleTx( marketIndex: number, tx: VersionedTransaction ): Promise<void> { let simResult: SimulateAndGetTxWithCUsResponse | undefined; try { const sendTxStart = Date.now(); this.driftClient.txSender .sendVersionedTransaction(tx, [], { ...this.driftClient.opts, }) .then((txSig) => { logger.info( `[${ this.name }] makerBidAskTwapCrank sent tx for market: ${marketIndex} in ${ Date.now() - sendTxStart }ms tx: https://solana.fm/tx/${txSig.txSig}, txSig: ${ txSig.txSig }, slot: ${txSig.slot}` ); }); } catch (err: any) { console.error(err); if (err instanceof TransactionExpiredBlockheightExceededError) { logger.info( `[${this.name}] Blockheight exceeded error, retrying with market: ${marketIndex})` ); } else if (err instanceof Error) { if (isCriticalError(err)) { const e = err as SendTransactionError; await webhookMessage( `[${ this.name }] failed to crank maker twaps for perp market ${marketIndex}. simulated CUs: ${simResult?.cuEstimate}, simError: ${JSON.stringify( simResult?.simError )}:\n${e.logs ? (e.logs as Array<string>).join('\n') : ''} \n${ e.stack ? e.stack : e.message }` ); return; } else { return; } } } return; } private async buildTransaction( marketIndex: number, ixs: TransactionInstruction[] ): Promise<VersionedTransaction | undefined> { const recentBlockhash = await this.driftClient.connection.getLatestBlockhash('confirmed'); const simResult: SimulateAndGetTxWithCUsResponse | undefined = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: CU_EST_MULTIPLIER, minCuLimit: TWAP_CRANK_MIN_CU, doSimulation: true, recentBlockhash: recentBlockhash.blockhash, }); logger.info( `[${this.name}] estimated ${simResult.cuEstimate} CUs for market: ${marketIndex}` ); if (simResult.simError !== null) { logger.error( `[${this.name}] Sim error (market: ${marketIndex}): ${JSON.stringify( simResult.simError )}\n${simResult.simTxLogs ? simResult.simTxLogs.join('\n') : ''}` ); handleSimResultError( simResult, [], `[${this.name}] (market: ${marketIndex})` ); return; } else { return simResult.tx; } } private async getPythIxsFromTwapCrankInfo( crankMarketIndex: number ): Promise<TransactionInstruction[]> { if (crankMarketIndex === undefined) { throw new Error('Market index not found on node'); } if (!this.pythPriceSubscriber) { throw new Error('Pyth price subscriber not initialized'); } const pythIxs = await getAllPythOracleUpdateIxs( this.globalConfig.driftEnv, crankMarketIndex, MarketType.PERP, this.pythPriceSubscriber!, this.driftClient, this.globalConfig.numNonActiveOraclesToPush ?? 0 ); return pythIxs; } /** * @returns true if configured to use jito AND there is currently a jito leader */ private sendThroughJito(): boolean { if (!this.bundleSender) { // not configured for jito logger.warn(`skip sendThroughJito, bundleSender not initialized`); return false; } const slotsUntilNextLeader = this.bundleSender.slotsUntilNextLeader(); if (slotsUntilNextLeader === undefined || slotsUntilNextLeader > 0) { logger.warn( `skip sendThroughJito, slotsUntilNextLeader: ${slotsUntilNextLeader}` ); return false; } return true; } private async tryTwapCrank(intervalGroup: number | null) { const state = this.driftClient.getStateAccount(); let crankMarkets: number[] = []; if (intervalGroup === null) { crankMarkets = Array.from( { length: state.numberOfMarkets }, (_, index) => index ); intervalGroup = DEFAULT_INTERVAL_GROUP; } else { crankMarkets = this.crankIntervalToMarketIds![intervalGroup]!; } const intervalInProgress = this.crankIntervalInProgress![intervalGroup]!; if (intervalInProgress) { logger.info( `[${this.name}] Interval ${intervalGroup} already in progress, skipping` ); return; } const start = Date.now(); let numFeedsSignalingRestart = 0; try { this.crankIntervalInProgress![intervalGroup] = true; await this.initDlob(); logger.info( `[${this.name}] Cranking interval group ${intervalGroup}: ${crankMarkets}` ); let txsToBundle: VersionedTransaction[] = []; for (const mi of crankMarkets) { const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // will be overwritten by simulateAndGetTxWithCUs }), ]; // add priority fees if not using jito const useJito = this.sendThroughJito(); if (!useJito) { const pfs = this.priorityFeeSubscriberMap!.getPriorityFees( 'perp', mi ); let microLamports = MIN_PRIORITY_FEE; if (pfs) { microLamports = Math.floor( pfs.low * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ); } const clampedMicroLamports = Math.min( microLamports, MAX_PRIORITY_FEE ); console.log( `market index ${mi}: microLamports: ${microLamports} (clamped: ${clampedMicroLamports})` ); microLamports = clampedMicroLamports; ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: isNaN(microLamports) ? MIN_PRIORITY_FEE : microLamports, }) ); } const oraclePriceData = this.driftClient.getOracleDataForPerpMarket(mi); const bidMakers = this.dlob!.getBestMakers({ marketIndex: mi, marketType: MarketType.PERP, direction: PositionDirection.LONG, slot: this.latestDlobSlot!, oraclePriceData, numMakers: NUM_MAKERS_TO_LOOK_AT_FOR_TWAP_CRANK, }); const askMakers = this.dlob!.getBestMakers({ marketIndex: mi, marketType: MarketType.PERP, direction: PositionDirection.SHORT, slot: this.latestDlobSlot!, oraclePriceData, numMakers: NUM_MAKERS_TO_LOOK_AT_FOR_TWAP_CRANK, }); logger.info( `[${this.name}] loaded makers for market ${mi}: ${bidMakers.length} bids, ${askMakers.length} asks` ); let pythIxsPushed = false; if ( this.pythPriceSubscriber && isOneOfVariant( this.driftClient.getPerpMarketAccount(mi)!.amm.oracleSource, ['pythPull', 'pyth1KPull', 'pyth1MPull', 'pythStableCoinPull'] ) ) { const pythIxs = await this.getPythIxsFromTwapCrankInfo(mi); ixs.push(...pythIxs); pythIxsPushed = true; } else if ( isVariant( this.driftClient.getPerpMarketAccount(mi)!.amm.oracleSource, 'switchboardOnDemand' ) ) { const switchboardIx = await this.driftClient.getPostSwitchboardOnDemandUpdateAtomicIx( this.driftClient.getPerpMarketAccount(mi)!.amm.oracle, undefined, askMakers.length + bidMakers.length > 3 ? 2 : 3 ); if (switchboardIx) ixs.push(switchboardIx); else logger.error( `[${this.name}] failed to get switchboardIx for market: ${mi}` ); } const concatenatedList = [ ...this.getCombinedList(bidMakers), ...this.getCombinedList(askMakers), ]; ixs.push( await this.driftClient.getUpdatePerpBidAskTwapIx( mi, concatenatedList as [PublicKey, PublicKey][] ) ); if ( isVariant( this.driftClient.getPerpMarketAccount(mi)!.amm.oracleSource, 'prelaunch' ) ) { const updatePrelaunchOracleIx = await this.driftClient.getUpdatePrelaunchOracleIx(mi); ixs.push(updatePrelaunchOracleIx); } if (useJito) { // first tx in bundle pays the tip const isFirstTxInBundle = txsToBundle.length === 0; const jitoSigners = [this.driftClient.wallet.payer]; if (isFirstTxInBundle) { ixs.push(this.bundleSender!.getTipIx()); } const txToSend = await this.buildTransaction(mi, ixs); if (txToSend) { // @ts-ignore; txToSend.sign(jitoSigners); txsToBundle.push(txToSend); } else { logger.error(`[${this.name}] failed to build tx for market: ${mi}`); } } else { const txToSend = await this.buildTransaction(mi, ixs); if (txToSend) { await this.sendSingleTx(mi, txToSend); } else { logger.error(`[${this.name}] failed to build tx for market: ${mi}`); } } // logger.info(`[${this.name}] sent tx for market: ${mi}`); if (useJito && txsToBundle.length >= TX_PER_JITO_BUNDLE) { logger.info( `[${this.name}] sending ${txsToBundle.length} txs to jito` ); await this.bundleSender!.sendTransactions( txsToBundle, undefined, undefined, false ); txsToBundle = []; } // Check if this change caused the pyth price to update // TODO: move into own loop if ( pythIxsPushed && isOneOfVariant( this.driftClient.getPerpMarketAccount(mi)!.amm.oracleSource, ['pythPull', 'pyth1KPull', 'pyth1MPull', 'pythStableCoinPull'] ) ) { const [data, currentSlot] = await Promise.all([ this.driftClient.connection.getAccountInfo( this.driftClient.getPerpMarketAccount(mi)!.amm.oracle ), this.driftClient.connection.getSlot(), ]); if (!data) continue; const pythData = this.pythPullOracleClient.getOraclePriceDataFromBuffer(data.data); const slotDelay = currentSlot - pythData.slot.toNumber(); if (slotDelay > SLOT_STALENESS_THRESHOLD_RESTART) { logger.info( `[${this.name}] oracle slot stale for market: ${mi}, slot delay: ${slotDelay}` ); numFeedsSignalingRestart++; } } } // There's a chance that by the time we get here there is no active jito leader, but we // already built txs without priority fee, so we skip the leader check and just send // the bundle anyways to increase overall land rate. if (this.bundleSender && txsToBundle.length > 0) { logger.info( `[${this.name}] sending remaining ${txsToBundle.length} txs to jito` ); await this.bundleSender!.sendTransactions( txsToBundle, undefined, undefined, false ); } } catch (e) { console.error(e); if (e instanceof Error) { await webhookMessage( `[${this.name}]: :x: uncaught error:\n${ e.stack ? e.stack : e.message }` ); } } finally { this.crankIntervalInProgress![intervalGroup] = false; logger.info( `[${ this.name }] tryTwapCrank finished for interval group ${intervalGroup}, took ${ Date.now() - start }ms` ); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); if ( numFeedsSignalingRestart > 2 && this.driftClient.txSender.getTxLandRate() > TX_LAND_RATE_THRESHOLD ) { logger.info( `[${ this.name }] ${numFeedsSignalingRestart} feeds signaling restart, tx land rate: ${this.driftClient.txSender.getTxLandRate()}` ); await webhookMessage( `[${ this.name }] ${numFeedsSignalingRestart} feeds signaling restart, tx land rate: ${this.driftClient.txSender.getTxLandRate()}` ); this.pythHealthy = false; } } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/jitMaker.ts
/* eslint-disable @typescript-eslint/no-unused-vars */ import { DriftEnv, BASE_PRECISION, BN, DriftClient, MarketType, DLOBSubscriber, SlotSubscriber, PriorityFeeSubscriber, OrderSubscriber, calculateBidAskPrice, getVariant, isVariant, } from '@drift-labs/sdk'; import { Mutex, tryAcquire, E_ALREADY_LOCKED } from 'async-mutex'; import { logger } from '../logger'; import { Bot } from '../types'; import { calculateBaseAmountToMarketMakePerp, calculateBaseAmountToMarketMakeSpot, convertToMarketType, getBestLimitAskExcludePubKey, getBestLimitBidExcludePubKey, isMarketVolatile, isSpotMarketVolatile, sleepMs, } from '../utils'; import { JitterShotgun, JitterSniper, PriceType, } from '@drift-labs/jit-proxy/lib'; import dotenv from 'dotenv'; dotenv.config(); import { PublicKey } from '@solana/web3.js'; import { BaseBotConfig } from '../config'; export type JitMakerConfig = BaseBotConfig & { subaccounts?: Array<number>; marketType: string; /// @deprecated, use {@link JitMakerConfig.marketIndexes} and {@link JitMakerConfig.marketType} perpMarketIndicies?: Array<number>; marketIndexes?: Array<number>; targetLeverage?: number; aggressivenessBps?: number; jitCULimit?: number; }; /** * This is an example of a bot that implements the Bot interface. */ export class JitMaker implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly defaultIntervalMs: number = 30000; private driftEnv: DriftEnv; private periodicTaskMutex = new Mutex(); private jitter: JitterSniper | JitterShotgun; private driftClient: DriftClient; private config: JitMakerConfig; private targetLeverage: number; // private subaccountConfig: SubaccountConfig; private subAccountIds: Array<number>; private marketIndexes: Array<number>; private marketType: MarketType; private intervalIds: Array<NodeJS.Timer> = []; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); private dlobSubscriber: DLOBSubscriber; private slotSubscriber: SlotSubscriber; private orderSubscriber: OrderSubscriber; private priorityFeeSubscriber: PriorityFeeSubscriber; private jitCULimit: number; constructor( driftClient: DriftClient, // driftClient needs to have correct number of subaccounts listed jitter: JitterSniper | JitterShotgun, config: JitMakerConfig, driftEnv: DriftEnv, priorityFeeSubscriber: PriorityFeeSubscriber ) { this.config = config; this.subAccountIds = this.config.subaccounts ?? [0]; // maintain backwards compatible config key `perpMarketIndicies` if (this.config.perpMarketIndicies && !this.config.marketIndexes) { this.marketIndexes = this.config.perpMarketIndicies; } else { this.marketIndexes = this.config.marketIndexes ?? [0]; } this.marketType = convertToMarketType(this.config.marketType); this.targetLeverage = this.config.targetLeverage ?? 1; this.jitCULimit = this.config.jitCULimit ?? 800000; const subAccountLen = this.subAccountIds.length; // Check for 1:1 unique sub account id to market index ratio const marketLen = this.marketIndexes.length; if (subAccountLen !== marketLen) { throw new Error('You must have 1 sub account id per market to jit'); } this.jitter = jitter; this.driftClient = driftClient; this.name = this.config.botId; this.dryRun = this.config.dryRun; this.driftEnv = driftEnv; this.slotSubscriber = new SlotSubscriber(this.driftClient.connection); this.orderSubscriber = new OrderSubscriber({ driftClient: this.driftClient, subscriptionConfig: { commitment: 'processed', type: 'websocket', resubTimeoutMs: 30000, resyncIntervalMs: 300_000, // every 5 min }, }); this.dlobSubscriber = new DLOBSubscriber({ dlobSource: this.orderSubscriber, slotSource: this.orderSubscriber, updateFrequency: 1000, driftClient: this.driftClient, }); this.priorityFeeSubscriber = priorityFeeSubscriber; this.priorityFeeSubscriber.updateAddresses([ new PublicKey('8UJgxaiQx5nTrdDgph5FiahMmzduuLTLf5WmsPegYA6W'), // sol-perp ]); logger.info( `${this.name} init with targetLeverage: ${ this.targetLeverage }, JIT making ${getVariant(this.marketType)} markets: ${ this.marketIndexes }, and using an aggressiveness of ${this.config.aggressivenessBps} bps` ); } /** * Run initialization procedures for the bot. */ public async init(): Promise<void> { logger.info(`${this.name} initing`); for (const subAccountId of this.subAccountIds) { if (!this.driftClient.hasUser(subAccountId)) { logger.info(`Adding subaccountId ${subAccountId} to driftClient`); await this.driftClient.addUser(subAccountId); } } // do stuff that takes some time await this.slotSubscriber.subscribe(); await this.dlobSubscriber.subscribe(); logger.info(`${this.name} init done`); } /** * Reset the bot - usually you will reset any periodic tasks here */ public async reset(): Promise<void> { // reset any periodic tasks for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; } public async startIntervalLoop(intervalMs?: number): Promise<void> { const intervalId = setInterval( this.runPeriodicTasks.bind(this), intervalMs ); this.intervalIds.push(intervalId); logger.info(`${this.name} Bot started! driftEnv: ${this.driftEnv}`); } /** * Typically used for monitoring liveness. * @returns true if bot is healthy, else false. */ public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 2 * this.defaultIntervalMs; }); return healthy; } /** * Typical bot loop that runs periodically and pats the watchdog timer on completion. * */ private async runPeriodicTasks() { const start = Date.now(); let ran = false; try { await tryAcquire(this.periodicTaskMutex).runExclusive(async () => { console.log( `[${new Date().toISOString()}] Running JIT periodic tasks...` ); for (let i = 0; i < this.marketIndexes.length; i++) { if (isVariant(this.marketType, 'perp')) { await this.jitPerp(i); } else { await this.jitSpot(i); } } console.log(`done: ${Date.now() - start}ms`); ran = true; }); } catch (e) { if (e === E_ALREADY_LOCKED) { return; } else { throw e; } } finally { if (ran) { const duration = Date.now() - start; logger.debug(`${this.name} Bot took ${duration}ms to run`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } } private async jitPerp(index: number) { const perpIdx = this.marketIndexes[index]; const subId = this.subAccountIds[index]; await this.driftClient.switchActiveUser(subId); const driftUser = this.driftClient.getUser(subId); const perpMarketAccount = this.driftClient.getPerpMarketAccount(perpIdx)!; const oraclePriceData = this.driftClient.getOracleDataForPerpMarket(perpIdx); const numMarketsForSubaccount = this.subAccountIds.filter( (num) => num === subId ).length; const targetLeverage = this.targetLeverage / numMarketsForSubaccount; const actualLeverage = driftUser.getLeverage().div(new BN(10_000)); const maxBase: number = calculateBaseAmountToMarketMakePerp( perpMarketAccount, driftUser, targetLeverage ); let overleveredLong = false; let overleveredShort = false; if (actualLeverage.toNumber() >= targetLeverage * 0.95) { logger.warn( `jit maker at or above max leverage actual: ${actualLeverage} target: ${targetLeverage}` ); const overleveredBaseAssetAmount = driftUser.getPerpPosition(perpIdx)!.baseAssetAmount; if (overleveredBaseAssetAmount.gt(new BN(0))) { overleveredLong = true; } else if (overleveredBaseAssetAmount.lt(new BN(0))) { overleveredShort = true; } } this.jitter.setUserFilter((userAccount, userKey) => { let skip = userKey == driftUser.userAccountPublicKey.toBase58(); if ( isMarketVolatile( perpMarketAccount, oraclePriceData, 0.015 // 150 bps ) ) { console.log('skipping, market is volatile'); skip = true; } if (skip) { console.log('skipping user:', userKey); } return skip; }); const slot = this.orderSubscriber.getSlot(); const dlob = this.dlobSubscriber.getDLOB(); const bestDLOBBid = dlob.getBestBid( perpMarketAccount.marketIndex, slot, MarketType.PERP, oraclePriceData ); const bestDLOBAsk = dlob.getBestAsk( perpMarketAccount.marketIndex, slot, MarketType.PERP, oraclePriceData ); const [ammBid, ammAsk] = calculateBidAskPrice( perpMarketAccount.amm, oraclePriceData, true ); let bestBidPrice; if (bestDLOBBid) { bestBidPrice = BN.max(BN.min(bestDLOBBid, ammAsk), ammBid); } else { bestBidPrice = ammBid; } let bestAskPrice; if (bestDLOBAsk) { bestAskPrice = BN.min(BN.max(bestDLOBAsk, ammBid), ammAsk); } else { bestAskPrice = ammAsk; } const bidOffset = bestBidPrice .muln(10000 + (this.config.aggressivenessBps ?? 0)) .divn(10000); const askOffset = bestAskPrice .muln(10000 - (this.config.aggressivenessBps ?? 0)) .divn(10000); let perpMinPosition = new BN(-maxBase * BASE_PRECISION.toNumber()); let perpMaxPosition = new BN(maxBase * BASE_PRECISION.toNumber()); if (overleveredLong) { perpMaxPosition = new BN(0); } else if (overleveredShort) { perpMinPosition = new BN(0); } const priorityFee = Math.floor( this.priorityFeeSubscriber.getCustomStrategyResult() * 1.1 ); this.jitter.setComputeUnitsPrice(priorityFee); this.jitter.setComputeUnits(this.jitCULimit); this.jitter.updatePerpParams(perpIdx, { maxPosition: perpMaxPosition, minPosition: perpMinPosition, bid: bidOffset, ask: askOffset, priceType: PriceType.LIMIT, subAccountId: subId, }); } private async jitSpot(index: number) { const spotIdx = this.marketIndexes[index]; const subId = this.subAccountIds[index]; await this.driftClient.switchActiveUser(subId); const driftUser = this.driftClient.getUser(subId); const spotMarketAccount = this.driftClient.getSpotMarketAccount(spotIdx)!; const oraclePriceData = this.driftClient.getOracleDataForSpotMarket(spotIdx); const numMarketsForSubaccount = this.subAccountIds.filter( (num) => num === subId ).length; const targetLeverage = this.targetLeverage / numMarketsForSubaccount; const actualLeverage = driftUser.getLeverage().div(new BN(10_000)); const maxBase: number = calculateBaseAmountToMarketMakeSpot( spotMarketAccount, driftUser, targetLeverage ); let overleveredLong = false; let overleveredShort = false; if (actualLeverage.toNumber() >= targetLeverage * 0.95) { logger.warn( `jit maker at or above max leverage actual: ${actualLeverage} target: ${targetLeverage}` ); const overleveredBaseAssetAmount = driftUser.getSpotPosition(spotIdx)!.scaledBalance; if (overleveredBaseAssetAmount.gt(new BN(0))) { overleveredLong = true; } else if (overleveredBaseAssetAmount.lt(new BN(0))) { overleveredShort = true; } } this.jitter.setUserFilter((userAccount, userKey) => { let skip = userKey == driftUser.userAccountPublicKey.toBase58(); if ( isSpotMarketVolatile( spotMarketAccount, oraclePriceData, 0.015 // 150 bps ) ) { console.log('skipping, market is volatile'); skip = true; } if (skip) { console.log('skipping user:', userKey); } return skip; }); const bestDriftBid = getBestLimitBidExcludePubKey( this.dlobSubscriber.dlob, spotMarketAccount.marketIndex, MarketType.SPOT, oraclePriceData.slot.toNumber(), oraclePriceData, driftUser.userAccountPublicKey.toString() ); const bestDriftAsk = getBestLimitAskExcludePubKey( this.dlobSubscriber.dlob, spotMarketAccount.marketIndex, MarketType.SPOT, oraclePriceData.slot.toNumber(), oraclePriceData, driftUser.userAccountPublicKey.toString() ); if (!bestDriftBid || !bestDriftAsk) { logger.warn('skipping, no best bid/ask'); return; } const bestBidPrice = bestDriftBid.getPrice( oraclePriceData, this.dlobSubscriber.slotSource.getSlot() ); const bestAskPrice = bestDriftAsk.getPrice( oraclePriceData, this.dlobSubscriber.slotSource.getSlot() ); const bidOffset = bestBidPrice.sub(oraclePriceData.price); const askOffset = bestAskPrice.sub(oraclePriceData.price); const spotMarketPrecision = 10 ** spotMarketAccount.decimals; let spotMinPosition = new BN(-maxBase * spotMarketPrecision); let spotMaxPosition = new BN(maxBase * spotMarketPrecision); if (overleveredLong) { spotMaxPosition = new BN(0); } else if (overleveredShort) { spotMinPosition = new BN(0); } this.jitter.updateSpotParams(spotIdx, { maxPosition: spotMaxPosition, minPosition: spotMinPosition, bid: bidOffset, ask: askOffset, priceType: PriceType.ORACLE, subAccountId: subId, }); } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/userLpSettler.ts
import { DriftClient, UserMap, ZERO, BN, timeRemainingUntilUpdate, isOperationPaused, PerpOperation, decodeName, PriorityFeeSubscriberMap, DriftMarketInfo, } from '@drift-labs/sdk'; import { Mutex } from 'async-mutex'; import { getErrorCode } from '../error'; import { logger } from '../logger'; import { Bot } from '../types'; import { webhookMessage } from '../webhook'; import { BaseBotConfig } from '../config'; import { getDriftPriorityFeeEndpoint, handleSimResultError, simulateAndGetTxWithCUs, sleepMs, } from '../utils'; import { AddressLookupTableAccount, ComputeBudgetProgram, PublicKey, SendTransactionError, } from '@solana/web3.js'; const SETTLE_LP_CHUNKS = 4; const SLEEP_MS = 500; const CU_EST_MULTIPLIER = 1.25; const errorCodesToSuppress = [ 6010, // Error Code: UserHasNoPositionInMarket. Error Number: 6010. Error Message: User Has No Position In Market. 6035, // Error Code: InvalidOracle. Error Number: 6035. Error Message: InvalidOracle. 6078, // Error Code: PerpMarketNotFound. Error Number: 6078. Error Message: PerpMarketNotFound. 6095, // Error Code: InsufficientCollateralForSettlingPNL. Error Number: 6095. Error Message: InsufficientCollateralForSettlingPNL. ]; export class UserLpSettlerBot implements Bot { public readonly name: string; public readonly dryRun: boolean; public readonly runOnce: boolean; public readonly defaultIntervalMs: number = 600000; private driftClient: DriftClient; private lookupTableAccount?: AddressLookupTableAccount; private intervalIds: Array<NodeJS.Timer> = []; private userMap: UserMap; private priorityFeeSubscriberMap?: PriorityFeeSubscriberMap; private inProgress = false; private watchdogTimerMutex = new Mutex(); private watchdogTimerLastPatTime = Date.now(); constructor(driftClient: DriftClient, config: BaseBotConfig) { this.name = config.botId; this.dryRun = config.dryRun; this.runOnce = config.runOnce || false; this.driftClient = driftClient; this.userMap = new UserMap({ driftClient: this.driftClient, subscriptionConfig: { type: 'polling', frequency: 0, commitment: this.driftClient.opts?.commitment, }, skipInitialLoad: true, includeIdle: false, disableSyncOnTotalAccountsChange: true, }); } public async init() { const start = Date.now(); logger.info(`${this.name} initing`); await this.driftClient.subscribe(); if (!(await this.driftClient.getUser().exists())) { throw new Error( `User for ${this.driftClient.wallet.publicKey.toString()} does not exist` ); } this.lookupTableAccount = await this.driftClient.fetchMarketLookupTableAccount(); const perpMarkets: PublicKey[] = []; const driftMarkets: DriftMarketInfo[] = []; for (const perpMarket of this.driftClient.getPerpMarketAccounts()) { perpMarkets.push(perpMarket.pubkey); driftMarkets.push({ marketType: 'perp', marketIndex: perpMarket.marketIndex, }); } this.priorityFeeSubscriberMap = new PriorityFeeSubscriberMap({ driftPriorityFeeEndpoint: getDriftPriorityFeeEndpoint('mainnet-beta'), driftMarkets, frequencyMs: 10_000, }); await this.priorityFeeSubscriberMap.subscribe(); logger.info( `Lp settler looking at ${perpMarkets.length} perp markets to determine priority fee` ); // logger.info(`Initializing UserMap`); // const startUserMapSub = Date.now(); // await this.userMap.subscribe(); // logger.info(`UserMap init took: ${Date.now() - startUserMapSub} ms`); logger.info(`${this.name} init'd! took ${Date.now() - start}`); } public async reset() { for (const intervalId of this.intervalIds) { clearInterval(intervalId as NodeJS.Timeout); } this.intervalIds = []; await this.userMap?.unsubscribe(); } public async startIntervalLoop(intervalMs?: number): Promise<void> { logger.info(`${this.name} Bot started!`); if (this.runOnce) { await this.trySettleLps(); } else { await this.trySettleLps(); const intervalId = setInterval(this.trySettleLps.bind(this), intervalMs); this.intervalIds.push(intervalId); } } public async healthCheck(): Promise<boolean> { let healthy = false; await this.watchdogTimerMutex.runExclusive(async () => { healthy = this.watchdogTimerLastPatTime > Date.now() - 2 * this.defaultIntervalMs; }); return healthy; } private async trySettleLps() { if (this.inProgress) { logger.info(`Settle LPs already in progress, skipping...`); return; } const start = Date.now(); try { this.inProgress = true; logger.info(`Loading users that have been LPs...`); const fetchLpUsersStart = Date.now(); await this.driftClient.fetchAccounts(); await this.userMap.sync(); logger.info(`Fetch LPs took ${Date.now() - fetchLpUsersStart}`); const nowTs = new BN(Date.now() / 1000); const lpsToSettleInMarketMap = new Map<number, PublicKey[]>(); logger.info(`Going through ${this.userMap.size()} users...`); for (const user of this.userMap.values()) { const userAccount = user.getUserAccount(); const freeCollateral = user.getFreeCollateral('Initial'); for (const pos of userAccount.perpPositions) { if (pos.lpShares.eq(ZERO)) { continue; } let shouldSettleLp = false; if (freeCollateral.lte(ZERO)) { logger.info( `user ${user.getUserAccountPublicKey()} has ${freeCollateral.toString()} free collateral with a position in market ${ pos.marketIndex }` ); shouldSettleLp = true; } const perpMarketAccount = this.driftClient.getPerpMarketAccount( pos.marketIndex ); const timeTillFunding = timeRemainingUntilUpdate( nowTs, perpMarketAccount!.amm.lastFundingRateTs, perpMarketAccount!.amm.fundingPeriod ); // 10 min away from funding if (timeTillFunding.lte(new BN(600))) { logger.info( `user ${user.getUserAccountPublicKey()} funding within 5 min` ); shouldSettleLp = true; } // check that the position will change with settle_lp call const posWithLp = user.getPerpPositionWithLPSettle( pos.marketIndex, pos ); if ( shouldSettleLp && (posWithLp[0].baseAssetAmount.eq(pos.baseAssetAmount) || posWithLp[0].quoteAssetAmount.eq(pos.quoteAssetAmount)) ) { shouldSettleLp = false; } if (!shouldSettleLp) { continue; } if (lpsToSettleInMarketMap.get(pos.marketIndex) === undefined) { lpsToSettleInMarketMap.set(pos.marketIndex, []); } lpsToSettleInMarketMap .get(pos.marketIndex)! .push(user.getUserAccountPublicKey()); } } for (const [ marketIndex, usersToSettle, ] of lpsToSettleInMarketMap.entries()) { const perpMarket = this.driftClient.getPerpMarketAccount(marketIndex)!; const settlePnlPaused = isOperationPaused( perpMarket.pausedOperations, PerpOperation.SETTLE_PNL ) || isOperationPaused( perpMarket.pausedOperations, PerpOperation.SETTLE_PNL_WITH_POSITION ); if (settlePnlPaused) { const marketStr = decodeName(perpMarket.name); logger.warn( `Settle PNL paused for market ${marketStr}, skipping settle PNL` ); continue; } logger.info( `Settling ${usersToSettle.length} LPs in ${ usersToSettle.length / SETTLE_LP_CHUNKS } chunks for market ${marketIndex}` ); const allTxPromises = []; for (let i = 0; i < usersToSettle.length; i += SETTLE_LP_CHUNKS) { const chunk = usersToSettle.slice(i, i + SETTLE_LP_CHUNKS); allTxPromises.push(this.trySendTxForChunk(marketIndex, chunk)); } logger.info(`Waiting for ${allTxPromises.length} txs to settle...`); const settleStart = Date.now(); await Promise.all(allTxPromises); logger.info(`Settled in ${Date.now() - settleStart}ms`); } } catch (err) { console.error(err); if (!(err instanceof Error)) { return; } if ( !err.message.includes('Transaction was not confirmed') && !err.message.includes('Blockhash not found') ) { const errorCode = getErrorCode(err); if (errorCodesToSuppress.includes(errorCode!)) { console.log(`Suppressing error code: ${errorCode}`); } else { const simError = err as SendTransactionError; if (simError) { await webhookMessage( `[${ this.name }]: :x: Uncaught error: Error code: ${errorCode} while settling LPs:\n${ simError.logs! ? (simError.logs as Array<string>).join('\n') : '' }\n${err.stack ? err.stack : err.message}` ); } } } } finally { this.inProgress = false; logger.info(`Settle LPs finished in ${Date.now() - start}ms`); await this.watchdogTimerMutex.runExclusive(async () => { this.watchdogTimerLastPatTime = Date.now(); }); } } async trySendTxForChunk( marketIndex: number, users: PublicKey[] ): Promise<void> { const success = await this.sendTxForChunk(marketIndex, users); if (!success) { const slice = users.length / 2; if (slice < 1) { logger.error( `[${this.name}]: :x: Failed to settle LPs, reduced until 0 ixs...` ); return; } const slice0 = users.slice(0, slice); const slice1 = users.slice(slice); logger.info( `Chunk failed: ${users .map((u) => u.toBase58()) .join(' ')}, retrying with:\nslice0: ${slice0 .map((u) => u.toBase58()) .join(' ')}\nslice1: ${slice1.map((u) => u.toBase58()).join(' ')}` ); await sleepMs(SLEEP_MS); await this.sendTxForChunk(marketIndex, slice0); await sleepMs(SLEEP_MS); await this.sendTxForChunk(marketIndex, slice1); } await sleepMs(SLEEP_MS); } /** * Send a transaction for a chunk of ixs * @param ixs * @returns true if the transaction was successful, false if it failed (and to retry with 1/2 of ixs) */ async sendTxForChunk( marketIndex: number, users: PublicKey[] ): Promise<boolean> { if (users.length == 0) { return true; } let success = false; try { const pfs = this.priorityFeeSubscriberMap!.getPriorityFees( 'perp', marketIndex ); let microLamports = 10_000; if (pfs) { microLamports = Math.floor(pfs.medium); } const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // simulateAndGetTxWithCUs will overwrite }), ComputeBudgetProgram.setComputeUnitPrice({ microLamports, }), ...(await Promise.all( users.map((u) => this.driftClient.settleLPIx(u, marketIndex)) )), ]; const recentBlockhash = await this.driftClient.connection.getLatestBlockhash('confirmed'); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: [this.lookupTableAccount!], cuLimitMultiplier: CU_EST_MULTIPLIER, doSimulation: true, recentBlockhash: recentBlockhash.blockhash, }); logger.info( `Settle LP estimated ${simResult.cuEstimate} CUs for ${ixs.length} settle LPs.` ); if (simResult.simError !== null) { logger.error( `Sim error: ${JSON.stringify(simResult.simError)}\n${ simResult.simTxLogs ? simResult.simTxLogs.join('\n') : '' }` ); handleSimResultError(simResult, errorCodesToSuppress, `(settleLps)`); success = false; } else { const txSig = await this.driftClient.txSender.sendVersionedTransaction( simResult.tx, [], { ...this.driftClient.opts, maxRetries: 10, } ); logger.info( `Settled LPs for ${ixs.length} users in tx: https://solana.fm/tx/${txSig.txSig}` ); success = true; } } catch (e) { const err = e as Error; if (err.message.includes('Transaction was not confirmed')) { logger.error( `Transaction was not confirmed, but we'll assume it's fine` ); success = true; } else { logger.error( `Other error while settling LPs: ${err.message}\n${ err.stack ? err.stack : 'no stack' }` ); } } return success; } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/bots
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common/processUtils.ts
import { ChildProcess, fork, SendHandle, Serializable } from 'child_process'; export const spawnChildWithRetry = ( relativePath: string, childArgs: string[], processName: string, onMessage: (msg: Serializable, sendHandle: SendHandle) => void, logPrefix = '' ): ChildProcess => { const child = fork(relativePath, childArgs); child.on('message', onMessage); child.on('exit', (code: number | null, signal: NodeJS.Signals | null) => { console.log( `${logPrefix} Child process: ${processName} exited with code ${code}, signal: ${signal}` ); }); child.on('error', (err: Error) => { console.error( `${logPrefix} Child process: ${processName} had an error:\n`, err ); if (err.message.includes('Channel closed')) { console.error(`Exiting`); process.exit(2); } else { console.log(`${logPrefix} Restarting child process: ${processName}`); spawnChildWithRetry(relativePath, childArgs, processName, onMessage); } }); return child; };
0
solana_public_repos/drift-labs/keeper-bots-v2/src/bots
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common/txThreaded.ts
import { logger } from '../../logger'; import { GaugeValue, Metrics } from '../../metrics'; import { spawnChildWithRetry } from './processUtils'; import { IpcMessageMap, IpcMessageTypes, WrappedIpcMessage, TxSenderMetrics, } from './threads/types'; import { TransactionInstruction } from '@solana/web3.js'; import { ChildProcess, SendHandle, Serializable } from 'child_process'; import path from 'path'; export class TxThreaded { protected txThreadProcess?: ChildProcess; protected txSendMetricsGauge?: GaugeValue; protected _lastTxMetrics?: TxSenderMetrics; protected _lastTxThreadMetricsReceived: number; private _botIdString: string; constructor(botIdString?: string) { this._botIdString = botIdString ?? ''; this._lastTxThreadMetricsReceived = 0; } get lastTxThreadMetricsReceived(): number { return this._lastTxThreadMetricsReceived; } get pendingQueueSize(): number { return this.pendingQueueSize; } public txThreadSetName(name: string) { this._botIdString = name; } /** * Sends a notification to the txThread to close and waits for it to exit */ protected async terminateTxThread() { if (!this.txThreadProcess) { logger.info(`[TxThreaded] No txThread process to terminate`); return; } this.txThreadProcess.send({ type: IpcMessageTypes.NOTIFICATION, data: { message: 'close', }, }); // terminate child txThread logger.info(`[TxThreaded] Waiting 5s for txThread to close...`); for (let i = 0; i < 5; i++) { if ( this.txThreadProcess.exitCode !== null || this.txThreadProcess.killed ) { break; } logger.info(`[TxThreaded] Child thread still alive ...`); await new Promise((resolve) => setTimeout(resolve, 1000)); } if (!this.txThreadProcess.killed) { logger.info(`[TxThreaded] Child thread still alive 🔪...`); this.txThreadProcess.kill(); } logger.info( `[TxThreaded] Child thread exit code: ${this.txThreadProcess.exitCode}` ); } protected initializeTxThreadMetrics(metrics: Metrics, meterName: string) { this.txSendMetricsGauge = metrics.addGauge( 'tx_sender_metrics', 'TxSender thread metrics', meterName ); } /** * Spawns the txThread process */ protected initTxThread(rpcUrl?: string) { // @ts-ignore - This is how to check for tsx unfortunately https://github.com/privatenumber/tsx/issues/49 const isTsx: boolean = process._preload_modules.some((m: string) => m.includes('tsx') ); const isTsNode = process.argv.some((arg) => arg.includes('ts-node')); const isBun = process.versions.bun; const isTs = isTsNode || isTsx || isBun; const txThreadFileName = isTs ? 'txThread.ts' : 'txThread.js'; logger.info( `[TxThreaded] isTsNode or tsx: ${isTs}, txThreadFileName: ${txThreadFileName}, argv: ${JSON.stringify( process.argv )}` ); const rpcEndpoint = rpcUrl ?? process.env.ENDPOINT ?? process.env.RPC_HTTP_URL; if (!rpcEndpoint) { throw new Error( 'Must supply a Solana RPC endpoint through config file or env vars ENDPOINT or RPC_HTTP_URL' ); } // {@link ./threads/txThread.ts} this.txThreadProcess = spawnChildWithRetry( path.join(__dirname, './threads', txThreadFileName), [`--rpc=${rpcEndpoint}`, `--send-tx=false`], // initially disable transactions 'txThread', (_msg: Serializable, _sendHandle: SendHandle) => { const msg = _msg as WrappedIpcMessage; switch (msg.type) { case IpcMessageTypes.NOTIFICATION: { const notification = msg.data as IpcMessageMap[IpcMessageTypes.NOTIFICATION]; logger.info(`Notification from child: ${notification.message}`); break; } case IpcMessageTypes.METRICS: { const txMetrics = msg.data as IpcMessageMap[IpcMessageTypes.METRICS]; const now = Date.now(); this._lastTxThreadMetricsReceived = now; this._lastTxMetrics = txMetrics; if (!this.txSendMetricsGauge) { break; } this.txSendMetricsGauge!.setLatestValue(now, { metric: 'txMetricsLastTs', }); this.txSendMetricsGauge!.setLatestValue(txMetrics.txLanded, { metric: 'txLanded', }); this.txSendMetricsGauge!.setLatestValue(txMetrics.txRetried, { metric: 'txRetried', }); this.txSendMetricsGauge!.setLatestValue(txMetrics.txAttempted, { metric: 'txAttempted', }); this.txSendMetricsGauge!.setLatestValue( txMetrics.txDroppedBlockhashExpired, { metric: 'txDroppedBlockhashExpired', } ); this.txSendMetricsGauge!.setLatestValue(txMetrics.txEnabled, { metric: 'txEnabled', }); this.txSendMetricsGauge!.setLatestValue(txMetrics.lruEvictedTxs, { metric: 'lruEvictedTxs', }); this.txSendMetricsGauge!.setLatestValue( txMetrics.pendingQueueSize, { metric: 'pendingQueueSize', } ); this.txSendMetricsGauge!.setLatestValue( txMetrics.confirmQueueSize, { metric: 'confirmQueueSize', } ); this.txSendMetricsGauge!.setLatestValue( txMetrics.txFailedSimulation, { metric: 'txFailedSimulation', } ); this.txSendMetricsGauge!.setLatestValue( txMetrics.txConfirmedFromWs, { metric: 'txConfirmedFromWs', } ); break; } default: { logger.info( `Unknown message type from child: ${JSON.stringify(_msg)}` ); break; } } }, `[${this._botIdString}]` ); } /** * Sends signer info for the tx thread to sign txs with. * @param signerKey - public key of the signer, used to id the signer * @param signerInfo - Raw private key or file to open, to be passed into `loadKeypair` */ protected async sendSignerToTxThread(signerKey: string, signerInfo: string) { if (!this.txThreadProcess) { logger.error(`[TxThreaded] No txThread process to send signer to`); return; } this.txThreadProcess.send({ type: IpcMessageTypes.NEW_SIGNER, data: { signerKey, signerInfo, }, }); } /** * Sends an address lookup table to the tx thread, needed when resigning txs for retry * @param address - address of the lookup table */ protected async sendAddressLutToTxThread(address: string) { if (!this.txThreadProcess) { logger.error( `[TxThreaded] No txThread process to send address lookup table to` ); return; } this.txThreadProcess.send({ type: IpcMessageTypes.NEW_ADDRESS_LOOKUP_TABLE, data: { address, }, }); } /** * Sends a transaction to the tx thread to be signed and sent * @param ixs - instructions to send * @param signerKeys - public keys of the signers (must previously be registerd with `sendSignerToTxThread`) * @param addressLookupTables - addresses of the address lookup tables (must previously be registerd with `sendAddressLutToTxThread`) * @param newSigners - new signers to add (identical to registering with `sendSignerToTxThread`) */ protected async sendIxsToTxthread({ ixs, signerKeys, doSimulation, addressLookupTables = [], newSigners = [], }: { ixs: TransactionInstruction[]; signerKeys: string[]; doSimulation: boolean; addressLookupTables?: string[]; newSigners?: { key: string; info: string }[]; }) { if (!this.txThreadProcess) { logger.error(`[TxThreaded] No txThread process to send instructions to`); return; } this.txThreadProcess.send({ type: IpcMessageTypes.TRANSACTION, data: { ixsSerialized: ixs, doSimulation, simulateCUs: true, retryUntilConfirmed: false, signerKeys, addressLookupTables, newSigners, }, }); } /** * Sends a transaction signature to the tx thread to be confirmed. The signer of the tx sig must be previously registered with `sendSignerToTxThread`. * @param txSig - transaction signature to confirm * @param signerKeys - public keys of the signers (must previously be registerd with `sendSignerToTxThread`) * @param addressLookupTables - addresses of the address lookup tables (must previously be registerd with `sendAddressLutToTxThread`) * @param newSigners - new signers to add (identical to registering with `sendSignerToTxThread`) */ protected async registerTxToConfirm({ txSig, newSigners = [], }: { txSig: string; newSigners?: { key: string; info: string }[]; }) { if (!this.txThreadProcess) { logger.error(`[TxThreaded] No txThread process to send instructions to`); return; } this.txThreadProcess.send({ type: IpcMessageTypes.CONFIRM_TRANSACTION, data: { confirmTxSig: txSig, newSigners, }, }); } /** * Enables or disables transactions for the tx thread * @param state - true to enable transactions, false to disable */ protected async setTxEnabledTxThread(state: boolean) { if (!this.txThreadProcess) { logger.error( `[TxThreaded] No txThread process to set transaction enabled state` ); return; } this.txThreadProcess.send({ type: IpcMessageTypes.SET_TRANSACTIONS_ENABLED, data: { txEnabled: state, }, }); } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/bots
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common/txLogParse.ts
export function isIxLog(log: string): boolean { const match = log.match(new RegExp('Program log: Instruction:')); return match !== null; } export function isEndIxLog(programId: string, log: string): boolean { const match = log.match( new RegExp( `Program ${programId} consumed ([0-9]+) of ([0-9]+) compute units` ) ); return match !== null; } export function isFillIxLog(log: string): boolean { const match = log.match( new RegExp('Program log: Instruction: Fill(.*)Order') ); return match !== null; } export function isArbIxLog(log: string): boolean { const match = log.match(new RegExp('Program log: Instruction: ArbPerp')); return match !== null; } export function isOrderDoesNotExistLog(log: string): number | null { const match = log.match(new RegExp('.*Order does not exist ([0-9]+)')); if (!match) { return null; } return parseInt(match[1]); } export function isMakerOrderDoesNotExistLog(log: string): number | null { const match = log.match(new RegExp('.*Maker has no order id ([0-9]+)')); if (!match) { return null; } return parseInt(match[1]); } /** * parses a maker breached maintenance margin log, returns the maker's userAccount pubkey if it exists * @param log * @returns the maker's userAccount pubkey if it exists, null otherwise */ export function isMakerBreachedMaintenanceMarginLog( log: string ): string | null { const regex = /.*maker \(([1-9A-HJ-NP-Za-km-z]+)\) breached (maintenance|fill) requirements.*$/; const match = log.match(regex); return match ? match[1] : null; } export function isTakerBreachedMaintenanceMarginLog(log: string): boolean { const match = log.match( new RegExp('.*taker breached (maintenance|fill) requirements.*') ); return match !== null; } export function isErrFillingLog(log: string): [string, string] | null { const match = log.match( new RegExp('.*Err filling order id ([0-9]+) for user ([a-zA-Z0-9]+)') ); if (!match) { return null; } return [match[1], match[2]]; } export function isErrArb(log: string): boolean { const match = log.match(new RegExp('.*NoArbOpportunity*')); if (!match) { return false; } return true; } export function isErrArbNoBid(log: string): boolean { const match = log.match(new RegExp('.*NoBestBid*')); if (!match) { return false; } return true; } export function isErrArbNoAsk(log: string): boolean { const match = log.match(new RegExp('.*NoBestAsk*')); if (!match) { return false; } return true; } export function isErrStaleOracle(log: string): boolean { const match = log.match(new RegExp('.*Invalid Oracle: Stale.*')); if (!match) { return false; } return true; }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common/threads/types.ts
import { AddressLookupTableAccount, PublicKey, TransactionInstruction, VersionedTransaction, } from '@solana/web3.js'; export type WrappedIpcMessage = { type: IpcMessageTypes; data: IpcMessage; }; export enum IpcMessageTypes { COMMAND = 'command', NOTIFICATION = 'notification', NEW_SIGNER = 'new_signer', NEW_ADDRESS_LOOKUP_TABLE = 'new_address_lookup_table', TRANSACTION = 'transaction', CONFIRM_TRANSACTION = 'confirm_transaction', SET_TRANSACTIONS_ENABLED = 'set_transactions_enabled', METRICS = 'metrics', } export type Serializable = | string | number | boolean | null | Serializable[] | { [key: string]: Serializable }; export type IpcMessageMap = { [IpcMessageTypes.COMMAND]: { command: string; }; [IpcMessageTypes.NOTIFICATION]: { message: string; }; [IpcMessageTypes.NEW_SIGNER]: { signerKey: string; signerInfo: string; }; [IpcMessageTypes.NEW_ADDRESS_LOOKUP_TABLE]: { address: string; }; [IpcMessageTypes.TRANSACTION]: { ixsSerialized: object[]; /// deserialized instructions ixs: TransactionInstruction[]; /// true to simulate the tx before retrying. simOnRetry: boolean; /// true to simulate the tx with CUs simulateCUs: boolean; /// instructs the TxThread to retry this tx with a new blockhash until it goes through retryUntilConfirmed: boolean; /// ID of signer(s) for the tx. Needs to be added via IpcMessageTypes.NEW_SIGNER before, otherwise will throw. signerKeys: string[]; /// Pubkey of address lookup tables for the tx. Needs to be added via IpcMessageTypes.NEW_ADDRESS_LOOKUP_TABLE before, otherwise will throw. addressLookupTables: string[]; /// New signers for the tx, use this instead of sending a IpcMessageTypes.NEW_SIGNER newSigners: { key: string; info: string }[]; }; [IpcMessageTypes.CONFIRM_TRANSACTION]: { /// transaction signature to confirm, signer for the tx must be previously registered with IpcMessageTypes.NEW_SIGNER, or passed in newSigners confirmTxSig: string; /// New signers for the tx, use this instead of sending a IpcMessageTypes.NEW_SIGNER newSigners: { key: string; info: string }[]; }; [IpcMessageTypes.SET_TRANSACTIONS_ENABLED]: { txEnabled: boolean; }; [IpcMessageTypes.METRICS]: TxSenderMetrics; }; export type IpcMessage = IpcMessageMap[keyof IpcMessageMap]; export type TxSenderMetrics = { txLanded: number; txAttempted: number; txDroppedTimeout: number; txDroppedBlockhashExpired: number; txFailedSimulation: number; txRetried: number; lruEvictedTxs: number; pendingQueueSize: number; confirmQueueSize: number; txConfirmRateLimited: number; txEnabled: number; txConfirmedFromWs: number; }; /// States for transactions going through the txThread export enum TxState { /// the tx is queued and has not been sent yet QUEUED = 'queued', /// the tx has been sent at least once RETRYING = 'retrying', /// the tx has failed (blockhash expired) FAILED = 'failed', /// the tx has landed (confirmed) LANDED = 'landed', } export type TransactionPayload = { instruction: IpcMessageMap[IpcMessageTypes.TRANSACTION]; retries?: number; blockhashUsed?: string; blockhashExpiryHeight?: number; lastSentTxSig?: string; lastSentTx?: VersionedTransaction; lastSentRawTx?: Buffer | Uint8Array; lastSendTs?: number; addressLookupTables?: AddressLookupTableAccount[]; }; export function deserializedIx(ix: any): TransactionInstruction { let keys = ix['keys'] as any[]; if (keys.length > 0) { keys = keys.map((k: any) => { return { pubkey: new PublicKey(k['pubkey'] as string), isSigner: k['isSigner'] as boolean, isWritable: k['isWritable'] as boolean, }; }); } return { keys, programId: new PublicKey(ix['programId']), data: Buffer.from(ix['data']), }; }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common/threads/txSender.ts
import { logger } from '../../../logger'; import { sleepMs } from '../../../utils'; import { IpcMessageMap, IpcMessageTypes, TransactionPayload, TxSenderMetrics, } from './types'; import { simulateAndGetTxWithCUs, SimulateAndGetTxWithCUsResponse, } from '../../../utils'; import { Wallet as AnchorWallet } from '@coral-xyz/anchor'; import { bs58 } from '@coral-xyz/anchor/dist/cjs/utils/bytes'; import { BlockhashSubscriber, loadKeypair, SlotSubscriber, } from '@drift-labs/sdk'; import { Connection, BlockhashWithExpiryBlockHeight, ConfirmOptions, TransactionInstruction, TransactionSignature, VersionedTransaction, PublicKey, Signer, AddressLookupTableAccount, Logs, Context, } from '@solana/web3.js'; import { LRUCache } from 'lru-cache'; const CONFIRM_TX_INTERVAL_MS = 15_000; const CONFIRM_TX_RATE_LIMIT_BACKOFF_MS = 5_000; const TX_CONFIRMATION_BATCH_SIZE = 50; const TX_TIMEOUT_THRESHOLD_MS = 1000 * 60 * 10; // 10 minutes const LOG_PREFIX = '[TxSender]'; export type TxSenderConfig = { connection: Connection; blockhashSubscriber: BlockhashSubscriber; slotSubscriber: SlotSubscriber; resendInterval: number; sendTxEnabled: boolean; }; export class TxSender { private connection: Connection; private additionalSendTxConnections: Connection[]; private blockhashSubscriber: BlockhashSubscriber; private slotSubscriber: SlotSubscriber; private sendTxOpts: ConfirmOptions; private running: boolean; private sendTxEnabled: boolean; private txConfirmationConnection: Connection; private txToSendPayload: TransactionPayload[]; private pendingTxSigsToConfirm = new LRUCache< string, { ts: number; slot: number; simSlot?: number; } >({ max: 10_000, ttl: TX_TIMEOUT_THRESHOLD_MS, ttlResolution: 1000, disposeAfter: this.recordEvictedTxSig.bind(this), }); private confirmLoopRunning = false; private lastConfirmLoopRunTs = Date.now() - CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; private pendingTxSigsInterval?: NodeJS.Timeout; private signers: Map<string, AnchorWallet> = new Map(); private addressLookupTables: Map<string, AddressLookupTableAccount> = new Map(); private resendInterval: number; private metrics: TxSenderMetrics; constructor(config: TxSenderConfig) { this.connection = config.connection; this.txConfirmationConnection = new Connection( 'https://api.mainnet-beta.solana.com' ); this.blockhashSubscriber = config.blockhashSubscriber; this.slotSubscriber = config.slotSubscriber; this.resendInterval = config.resendInterval ?? 2000; this.additionalSendTxConnections = []; // TODO: pass in additional RPCs to send txs to this.sendTxOpts = { commitment: 'confirmed', maxRetries: 0, skipPreflight: true, }; this.sendTxEnabled = config.sendTxEnabled; this.running = false; this.txToSendPayload = []; this.metrics = { txEnabled: this.sendTxEnabled ? 1 : 0, txLanded: 0, txAttempted: 0, txDroppedTimeout: 0, txDroppedBlockhashExpired: 0, txFailedSimulation: 0, pendingQueueSize: 0, lruEvictedTxs: 0, confirmQueueSize: 0, txRetried: 0, txConfirmRateLimited: 0, txConfirmedFromWs: 0, }; logger.info( `${LOG_PREFIX} TxSender initialized, connection: ${ this.connection.rpcEndpoint }, additionalConns: ${this.additionalSendTxConnections .map((conn) => conn.rpcEndpoint) .join(', ')}` ); } setTransactionsEnabled(state: boolean) { this.sendTxEnabled = state; } async subscribe() { let blockhash = this.blockhashSubscriber.getLatestBlockhash(5); while (!blockhash) { logger.info( `${LOG_PREFIX} waiting for blockhash subscriber to update...` ); await sleepMs(1000); blockhash = this.blockhashSubscriber.getLatestBlockhash(5); } this.running = true; this.startTxSenderLoop(); this.pendingTxSigsInterval = setInterval(() => { this.confirmPendingTxSigs(); }, CONFIRM_TX_INTERVAL_MS); } async unsubscribe() { this.running = false; if (this.pendingTxSigsInterval) { clearInterval(this.pendingTxSigsInterval); } } getMetrics(): TxSenderMetrics { this.metrics.confirmQueueSize = this.pendingTxSigsToConfirm.size; this.metrics.pendingQueueSize = this.txToSendPayload.length; this.metrics.txEnabled = this.sendTxEnabled ? 1 : 0; return this.metrics; } private async listenToTxLogs(accountPubkey: PublicKey) { this.connection.onLogs( accountPubkey, (logs: Logs, ctx: Context) => { // sim result if ( logs.signature === '1111111111111111111111111111111111111111111111111111111111111111' ) { return; } const txInsert = this.pendingTxSigsToConfirm.get(logs.signature); if (txInsert) { this.pendingTxSigsToConfirm.delete(logs.signature); this.metrics.txConfirmedFromWs++; this.metrics.txLanded++; const confirmedAge = Date.now() - txInsert.ts; const slotAge = ctx.slot - txInsert.slot; logger.info( `${LOG_PREFIX} Tx confirmed from ws: ${logs.signature} (${confirmedAge}ms elapsed, slots elapsed: ${slotAge}, current slot: ${ctx.slot}, txSlot: ${txInsert.slot}, txSimSlot: ${txInsert.simSlot})` ); } }, 'confirmed' ); } private async confirmPendingTxSigs() { const nextTimeCanRun = this.lastConfirmLoopRunTs + CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; if (Date.now() < nextTimeCanRun) { logger.warn( `Skipping confirm loop due to rate limit, next run in ${ nextTimeCanRun - Date.now() } ms` ); this.metrics.txConfirmRateLimited++; return; } if (this.confirmLoopRunning) { return; } this.confirmLoopRunning = true; if (!this.running) { return; } try { const txEntries = Array.from(this.pendingTxSigsToConfirm.entries()); for (let i = 0; i < txEntries.length; i += TX_CONFIRMATION_BATCH_SIZE) { const txSigsBatch = txEntries.slice(i, i + TX_CONFIRMATION_BATCH_SIZE); const txs = await this.txConfirmationConnection.getTransactions( txSigsBatch.map((tx) => tx[0]), { commitment: 'confirmed', maxSupportedTransactionVersion: 0, } ); for (let j = 0; j < txs.length; j++) { const txResp = txs[j]; const txConfirmationInfo = txSigsBatch[j]; const txSig = txConfirmationInfo[0]; const txAge = txConfirmationInfo[1].ts - Date.now(); if (!this.pendingTxSigsToConfirm.has(txSig)) { continue; } if (txResp === null) { if (Math.abs(txAge) > TX_TIMEOUT_THRESHOLD_MS) { logger.info( `${LOG_PREFIX} Tx not found after ${ txAge / 1000 }s, untracking: ${txSig}` ); this.metrics.txDroppedTimeout++; this.pendingTxSigsToConfirm.delete(txSig); } } else { const confirmedAge = txConfirmationInfo[1].ts / 1000 - (txResp.blockTime ?? Date.now() / 1000); logger.info( `${LOG_PREFIX} Tx landed: ${txSig}, confirmed tx age: ${confirmedAge}s, slot: ${txResp.slot}` ); this.metrics.txLanded++; this.pendingTxSigsToConfirm.delete(txSig); } await sleepMs(500); } } // const txSigConfirmDuration = Date.now() - start; } catch (e) { const err = e as Error; if (err.message.includes('429')) { logger.info( `${LOG_PREFIX} Confirming tx loop rate limited: ${err.message}` ); this.lastConfirmLoopRunTs = Date.now() + CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; } else { logger.error( `${LOG_PREFIX} Other error confirming tx sigs: ${err.message}` ); } } finally { this.confirmLoopRunning = false; } } private recordEvictedTxSig( _value: { ts: number }, key: string, reason: string ) { if (reason === 'evict') { this.metrics.lruEvictedTxs++; logger.info(`${LOG_PREFIX} Evicted tx from lru cache: ${key}`); } } async addTxPayload(txPayload: IpcMessageMap[IpcMessageTypes.TRANSACTION]) { this.txToSendPayload.push({ instruction: txPayload, addressLookupTables: await Promise.all( txPayload.addressLookupTables.map((lut) => this.mustGetAddressLookupTable(lut) ) ), }); } async addTxToConfirm( txPayload: IpcMessageMap[IpcMessageTypes.CONFIRM_TRANSACTION] ) { this.pendingTxSigsToConfirm.set(txPayload.confirmTxSig, { ts: Date.now(), slot: this.slotSubscriber.getSlot(), }); this.metrics.txAttempted++; } addSigner(signerKey: string, signerInfo: string) { const keypair = loadKeypair(signerInfo); logger.info( `${LOG_PREFIX} adding new signer: ${signerKey}: info: ${signerInfo.slice( 0, 10 )}... (${signerInfo.length} len), ${keypair.publicKey.toBase58()}` ); this.listenToTxLogs(keypair.publicKey); this.signers.set(signerKey, new AnchorWallet(keypair)); } async addAddressLookupTable(address: string) { if (!this.addressLookupTables.has(address)) { logger.info(`${LOG_PREFIX} adding new address lookup table: ${address}`); const resp = await this.connection.getAddressLookupTable( new PublicKey(address) ); if (resp.value) { this.addressLookupTables.set(address, resp.value); } else { logger.error( `${LOG_PREFIX} Failed to get address lookup table for ${address}` ); } } } async mustGetAddressLookupTable( address: string ): Promise<AddressLookupTableAccount> { if (!this.addressLookupTables.has(address)) { logger.error( `${LOG_PREFIX} Address lookup table not found for ${address}, adding it...` ); await this.addAddressLookupTable(address); } return this.addressLookupTables.get(address)!; } private async buildTransactionToSend( ixs: TransactionInstruction[], lookupTableAccounts: AddressLookupTableAccount[] | undefined, payerPublicKey: PublicKey, simulateForCus = true ): Promise<{ simResult: SimulateAndGetTxWithCUsResponse; blockhash: BlockhashWithExpiryBlockHeight; }> { const blockhash = this.blockhashSubscriber.getLatestBlockhash(5); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.connection, payerPublicKey, lookupTableAccounts: lookupTableAccounts ?? [], cuLimitMultiplier: 1.1, doSimulation: simulateForCus, recentBlockhash: blockhash?.blockhash, }); return { simResult, blockhash: blockhash!, }; } private async sendVersionedTransaction( tx: VersionedTransaction, signers: Signer[], opts?: ConfirmOptions ): Promise<{ txRaw: Buffer | Uint8Array; txSig: TransactionSignature }> { tx.sign(signers); const txRaw = tx.serialize(); this.sendRawTransaction(txRaw, opts); const txSig = bs58.encode(tx.signatures[0]); return { txRaw, txSig, }; } private sendToAdditionalConnections( rawTx: Buffer | Uint8Array, opts?: ConfirmOptions ): void { this.additionalSendTxConnections.map((connection: Connection) => { connection.sendRawTransaction(rawTx, opts).catch((e) => { console.error( // @ts-ignore `${LOG_PREFIX} error sending tx to additional connection: ${connection._rpcEndpoint}` ); console.error(e); }); }); } private sendRawTransaction( rawTransaction: Buffer | Uint8Array, opts?: ConfirmOptions ) { this.connection.sendRawTransaction(rawTransaction, opts); this.sendToAdditionalConnections(rawTransaction, opts); } private async runTxSenderLoop() { const work = this.txToSendPayload.shift(); if (!work) { return; } // 1) handle any expired transactions let txExpired = false; if (work.blockhashExpiryHeight) { const blockHeight = this.blockhashSubscriber.getLatestBlockHeight(); if (blockHeight > work.blockhashExpiryHeight) { logger.info( `${LOG_PREFIX} Blockhash expired for tx: ${work.lastSentTxSig}, retrying: ${work.instruction.retryUntilConfirmed}` ); if (work.instruction.retryUntilConfirmed) { txExpired = true; } else { this.pendingTxSigsToConfirm.delete(work.lastSentTxSig!); this.metrics.txDroppedBlockhashExpired++; return; } } } const now = Date.now(); const txReadyToRetry = now > (work.lastSendTs ?? 0) + this.resendInterval; const firstTimeSendingTx = work.lastSendTs === undefined; const txPreviouslySent = work.lastSentRawTx !== undefined; // 2) check if the tx has been confirmed if (!firstTimeSendingTx) { if (!this.pendingTxSigsToConfirm.has(work.lastSentTxSig!)) { return; } } // 3) send the tx if it's the first time or ready to retry // Build a new tx with a fresh blockhash. TODO: need a fresh priority fee? if (txExpired || firstTimeSendingTx) { const signers: AnchorWallet[] = []; for (const signerKey of work.instruction.signerKeys) { const signer = this.signers.get(signerKey); if (!signer) { throw new Error(`${LOG_PREFIX} Signer not found for ${signerKey}`); } signers.push(signer); } if (signers.length === 0) { throw new Error(`${LOG_PREFIX} No signers found for tx`); } const { simResult, blockhash } = await this.buildTransactionToSend( work.instruction.ixs, work.addressLookupTables, signers[0].publicKey, work.instruction.simulateCUs ); if (simResult.simError === null) { work.lastSendTs = Date.now(); if (this.sendTxEnabled) { const txResp = await this.sendVersionedTransaction( simResult.tx, signers.map((signer) => signer.payer), this.sendTxOpts ); work.lastSentTxSig = txResp.txSig; work.lastSentTx = simResult.tx; work.lastSentRawTx = txResp.txRaw; work.blockhashExpiryHeight = blockhash.lastValidBlockHeight; work.blockhashUsed = blockhash.blockhash; this.pendingTxSigsToConfirm.set(work.lastSentTxSig!, { ts: Date.now(), slot: this.slotSubscriber.getSlot(), simSlot: simResult.simSlot, }); this.txToSendPayload.push(work); } else { logger.info( `${LOG_PREFIX} sendTxEnabled=false, cuEst: ${ simResult.cuEstimate } simError: ${JSON.stringify( simResult.simError )}, sim tx logs:\n${JSON.stringify(simResult.simTxLogs, null, 2)}` ); } this.metrics.txAttempted++; } else { this.metrics.txFailedSimulation++; logger.error( `${LOG_PREFIX} TxSimulationFailed: ${JSON.stringify( simResult.simError )}: simLogs:\n${JSON.stringify(simResult.simTxLogs, null, 2)}` ); } } else if (txPreviouslySent && txReadyToRetry) { if (work.instruction.simOnRetry && work.lastSentTx) { const simResp = await this.connection.simulateTransaction( work.lastSentTx, { sigVerify: false, replaceRecentBlockhash: true, commitment: 'processed', } ); if (simResp.value.err !== null) { logger.error( `${LOG_PREFIX} TxSimulationFailed: ${JSON.stringify( simResp.value.err )}\n${JSON.stringify(simResp.value.logs)}` ); this.metrics.txFailedSimulation++; return; } } if (this.sendTxEnabled) { this.sendRawTransaction(work.lastSentRawTx!, this.sendTxOpts); work.lastSendTs = Date.now(); this.txToSendPayload.push(work); this.metrics.txRetried++; } else { logger.info( `${LOG_PREFIX} sendTxEnabled=false, skipping retry ${work.lastSentTxSig}` ); } } else { // not ready to retry, push it back to the queue this.txToSendPayload.push(work); } } private async startTxSenderLoop() { logger.info(`${LOG_PREFIX} TxSender started`); while (this.running) { try { await this.runTxSenderLoop(); } catch (e) { const err = e as Error; logger.error( `${LOG_PREFIX} Error in txSenderLoop: ${err.message}\n${err.stack}` ); } // let the event loop run await sleepMs(10); } logger.info(`${LOG_PREFIX} TxSender stopped`); } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common
solana_public_repos/drift-labs/keeper-bots-v2/src/bots/common/threads/txThread.ts
import { logger } from '../../../logger'; import { TxSender } from './txSender'; import { IpcMessage, IpcMessageMap, IpcMessageTypes, WrappedIpcMessage, deserializedIx, } from './types'; import { BlockhashSubscriber, SlotSubscriber } from '@drift-labs/sdk'; import { Connection } from '@solana/web3.js'; import dotenv from 'dotenv'; import parseArgs from 'minimist'; const logPrefix = 'TxThread'; function sendToParent(msgType: IpcMessageTypes, data: IpcMessage) { process.send!({ type: msgType, data, } as WrappedIpcMessage); } const main = async () => { // kill this process if the parent dies process.on('disconnect', () => process.exit()); dotenv.config(); const args = parseArgs(process.argv.slice(2)); logger.info(`[${logPrefix}] Started with args: ${JSON.stringify(args)}`); const rpcUrl = args['rpc']; const sendTxEnabled = args['send-tx'] === 'true'; if (process.send === undefined) { logger.error( `[${logPrefix}] Error spawning process: process.send is not a function` ); process.exit(1); } const blockhashSubscriber = new BlockhashSubscriber({ rpcUrl, commitment: 'finalized', updateIntervalMs: 3000, }); await blockhashSubscriber.subscribe(); const connection = new Connection(rpcUrl); const slotSubscriber = new SlotSubscriber(connection); await slotSubscriber.subscribe(); const txSender = new TxSender({ connection, blockhashSubscriber, slotSubscriber, resendInterval: 1000, sendTxEnabled, }); await txSender.subscribe(); const metricsSenderId = setInterval(async () => { sendToParent(IpcMessageTypes.METRICS, txSender.getMetrics()); }, 10_000); sendToParent(IpcMessageTypes.NOTIFICATION, { message: 'Started', }); const shutdown = async () => { clearInterval(metricsSenderId); blockhashSubscriber.unsubscribe(); await txSender.unsubscribe(); }; process.on('SIGINT', async () => { console.log(`TxSender Received SIGINT, shutting down...`); await shutdown(); process.exit(0); }); process.on('SIGTERM', async () => { console.log(`TxSender Received SIGTERM, shutting down...`); await shutdown(); process.exit(0); }); process.on('message', async (_msg: WrappedIpcMessage, _sendHandle: any) => { switch (_msg.type) { case IpcMessageTypes.NOTIFICATION: { const notification = _msg.data as IpcMessageMap[IpcMessageTypes.NOTIFICATION]; if (notification.message === 'close') { logger.info(`Parent close notification ${notification.message}`); process.exit(0); } logger.info(`Notification from parent: ${notification.message}`); break; } case IpcMessageTypes.NEW_SIGNER: { const signerPayload = _msg.data as IpcMessageMap[IpcMessageTypes.NEW_SIGNER]; txSender.addSigner(signerPayload.signerKey, signerPayload.signerInfo); break; } case IpcMessageTypes.NEW_ADDRESS_LOOKUP_TABLE: { const addressLookupTablePayload = _msg.data as IpcMessageMap[IpcMessageTypes.NEW_ADDRESS_LOOKUP_TABLE]; await txSender.addAddressLookupTable(addressLookupTablePayload.address); break; } case IpcMessageTypes.TRANSACTION: { const txPayload = _msg.data as IpcMessageMap[IpcMessageTypes.TRANSACTION]; if (txPayload.newSigners?.length > 0) { for (const signer of txPayload.newSigners) { txSender.addSigner(signer.key, signer.info); } } txPayload.ixs = txPayload.ixsSerialized.map((ix) => deserializedIx(ix)); await txSender.addTxPayload(txPayload); break; } case IpcMessageTypes.CONFIRM_TRANSACTION: { const confirmPayload = _msg.data as IpcMessageMap[IpcMessageTypes.CONFIRM_TRANSACTION]; txSender.addTxToConfirm(confirmPayload); break; } case IpcMessageTypes.SET_TRANSACTIONS_ENABLED: { const txPayload = _msg.data as IpcMessageMap[IpcMessageTypes.SET_TRANSACTIONS_ENABLED]; logger.info(`Parent set transactions enabled: ${txPayload.txEnabled}`); txSender.setTransactionsEnabled(txPayload.txEnabled); break; } default: { logger.info( `Unknown message type from parent: ${JSON.stringify(_msg)}` ); break; } } }); }; main().catch((err) => { logger.error(`[${logPrefix}] Error in TxThread: ${JSON.stringify(err)}`); process.exit(1); });
0
solana_public_repos/drift-labs/keeper-bots-v2/src
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/entrypoint.ts
import { program, Option } from 'commander'; import { logger, setLogLevel } from '../logger'; import { Config, configHasBot, loadConfigFromFile, loadConfigFromOpts, } from '../config'; import { getWallet, sleepMs } from '../utils'; import { ConfirmationStrategy, DriftClient, DriftClientSubscriptionConfig, FastSingleTxSender, getMarketsAndOraclesForSubscription, loadKeypair, PublicKey, RetryTxSender, SlotSubscriber, initialize, WhileValidTxSender, UserMap, DriftClientConfig, configs, } from '@drift-labs/sdk'; import { Commitment, ConfirmOptions, Connection, Keypair, TransactionVersion, } from '@solana/web3.js'; import { BundleSender } from '../bundleSender'; import { FillerMultithreaded } from './filler/fillerMultithreaded'; import http from 'http'; import { promiseTimeout } from '@drift-labs/sdk'; import { SpotFillerMultithreaded } from './spotFiller/spotFillerMultithreaded'; import { setGlobalDispatcher, Agent } from 'undici'; import { PythPriceFeedSubscriber } from '../pythPriceFeedSubscriber'; import { SwiftMaker } from './swift/makerExample'; import { SwiftTaker } from './swift/takerExample'; setGlobalDispatcher( new Agent({ connections: 200, }) ); require('dotenv').config(); const preflightCommitment: Commitment = 'processed'; const stateCommitment: Commitment = 'confirmed'; const healthCheckPort = process.env.HEALTH_CHECK_PORT || 8888; program .option('-d, --dry-run', 'Dry run, do not send transactions on chain') .option('--metrics <number>', 'Enable Prometheus metric scraper (deprecated)') .addOption( new Option( '-p, --private-key <string>', 'private key, supports path to id.json, or list of comma separate numbers' ).env('KEEPER_PRIVATE_KEY') ) .option('--debug', 'Enable debug logging') .option( '--additional-send-tx-endpoints <string>', 'Additional RPC endpoints to send transactions to (comma delimited)' ) .option( '--perp-market-indicies <string>', 'comma delimited list of perp market index(s) for applicable bots, omit for all', '' ) .option( '--spot-markets-indicies <string>', 'comma delimited list of spot market index(s) for applicable bots, omit for all', '' ) .option( '--config-file <string>', 'Config file to load (yaml format), will override any other config options', '' ) .option( '--use-jito', 'Submit transactions to a Jito relayer if the bot supports it' ) .option( '--priority-fee-multiplier <number>', 'Multiplier for the priority fee', '1.0' ) .option('--metrics-port <number>', 'Port for the Prometheus exporter', '9464') .option('--disable-metrics', 'Set to disable Prometheus metrics') .parse(); const opts = program.opts(); let config: Config; if (opts.configFile) { logger.info(`Loading config from ${opts.configFile}`); config = loadConfigFromFile(opts.configFile); } else { logger.info(`Loading config from command line options`); config = loadConfigFromOpts(opts); } logger.info( `Bot config:\n${JSON.stringify( config, (k, v) => { if (k === 'keeperPrivateKey') { return '*'.repeat(v.length); } return v; }, 2 )}` ); // @ts-ignore const sdkConfig = initialize({ env: config.global.driftEnv }); setLogLevel(config.global.debug ? 'debug' : 'info'); const endpoint = config.global.endpoint; const wsEndpoint = config.global.wsEndpoint; const heliusEndpoint = config.global.heliusEndpoint; logger.info(`RPC endpoint: ${endpoint}`); logger.info(`WS endpoint: ${wsEndpoint}`); logger.info(`Helius endpoint: ${heliusEndpoint}`); logger.info(`DriftEnv: ${config.global.driftEnv}`); if (!endpoint) { throw new Error('Must set environment variable ENDPOINT'); } const bots: any = []; const runBot = async () => { logger.info(`Loading wallet keypair`); const privateKeyOrFilepath = config.global.keeperPrivateKey; if (!privateKeyOrFilepath) { throw new Error( 'Must set environment variable KEEPER_PRIVATE_KEY with the path to a id.json or a list of commma separated numbers' ); } const [keypair, wallet] = getWallet(privateKeyOrFilepath); const driftPublicKey = new PublicKey(sdkConfig.DRIFT_PROGRAM_ID); const connection = new Connection(endpoint, { wsEndpoint: wsEndpoint, commitment: stateCommitment, }); const opts: ConfirmOptions = { commitment: stateCommitment, skipPreflight: config.global.txSkipPreflight, preflightCommitment, maxRetries: config.global.txMaxRetries, }; const sendTxConnection = new Connection(endpoint, { wsEndpoint: wsEndpoint, commitment: stateCommitment, disableRetryOnRateLimit: true, }); const txSenderType = config.global.txSenderType || 'retry'; let txSender; let additionalConnections: Connection[] = []; const confirmationStrategy: ConfirmationStrategy = config.global.txSenderConfirmationStrategy; if ( config.global.additionalSendTxEndpoints && config.global.additionalSendTxEndpoints.length > 0 ) { additionalConnections = config.global.additionalSendTxEndpoints.map( (endpoint: string) => new Connection(endpoint) ); } if (txSenderType === 'retry') { txSender = new RetryTxSender({ connection: sendTxConnection, wallet, opts, retrySleep: 8000, timeout: config.global.txRetryTimeoutMs, confirmationStrategy: ConfirmationStrategy.Polling, additionalConnections, trackTxLandRate: config.global.trackTxLandRate, }); } else if (txSenderType === 'while-valid') { txSender = new WhileValidTxSender({ connection: sendTxConnection, wallet, opts, retrySleep: 2000, additionalConnections, trackTxLandRate: config.global.trackTxLandRate, confirmationStrategy, throwOnTimeoutError: false, }); } else { const skipConfirmation = configHasBot(config, 'fillerMultithreaded') || configHasBot(config, 'spotFillerMultithreaded'); txSender = new FastSingleTxSender({ connection: sendTxConnection, blockhashRefreshInterval: 500, wallet, opts, skipConfirmation, additionalConnections, trackTxLandRate: config.global.trackTxLandRate, confirmationStrategy, }); } const accountSubscription: DriftClientSubscriptionConfig = { type: 'websocket', resubTimeoutMs: config.global.resubTimeoutMs, }; // Send unsubscribed subscription to the bot let pythPriceSubscriber: PythPriceFeedSubscriber | undefined; if (config.global.hermesEndpoint) { pythPriceSubscriber = new PythPriceFeedSubscriber( config.global.hermesEndpoint, { priceFeedRequestConfig: { binary: true, }, } ); } const { perpMarketIndexes, spotMarketIndexes, oracleInfos } = getMarketsAndOraclesForSubscription( config.global.driftEnv || 'mainnet-beta' ); const marketLookupTable = config.global?.lutPubkey ? new PublicKey(config.global.lutPubkey) : new PublicKey( configs[config.global.driftEnv || 'mainnet-beta'].MARKET_LOOKUP_TABLE ); const driftClientConfig: DriftClientConfig = { connection, wallet, programID: driftPublicKey, opts, accountSubscription, env: config.global.driftEnv, perpMarketIndexes, spotMarketIndexes, oracleInfos, txVersion: 0 as TransactionVersion, txSender, marketLookupTable, activeSubAccountId: config.global.subaccounts?.[0] || 0, }; const driftClient = new DriftClient(driftClientConfig); await driftClient.subscribe(); await driftClient.fetchMarketLookupTableAccount(); const slotSubscriber = new SlotSubscriber(connection, { resubTimeoutMs: 10_000, }); await slotSubscriber.subscribe(); const lamportsBalance = await connection.getBalance(wallet.publicKey); logger.info( `DriftClient ProgramId: ${driftClient.program.programId.toBase58()}` ); logger.info(`Wallet pubkey: ${wallet.publicKey.toBase58()}`); logger.info(` . SOL balance: ${lamportsBalance / 10 ** 9}`); let bundleSender: BundleSender | undefined; let jitoAuthKeypair: Keypair | undefined; if (config.global.useJito) { const jitoBlockEngineUrl = config.global.jitoBlockEngineUrl; const privateKey = config.global.jitoAuthPrivateKey; if (!jitoBlockEngineUrl) { throw new Error( 'Must configure or set JITO_BLOCK_ENGINE_URL environment variable ' ); } if (!privateKey) { throw new Error( 'Must configure or set JITO_AUTH_PRIVATE_KEY environment variable' ); } logger.info(`Loading jito keypair`); jitoAuthKeypair = loadKeypair(privateKey); bundleSender = new BundleSender( connection, jitoBlockEngineUrl, jitoAuthKeypair, keypair, slotSubscriber, config.global.jitoStrategy, config.global.jitoMinBundleTip, config.global.jitoMaxBundleTip, config.global.jitoMaxBundleFailCount, config.global.jitoTipMultiplier ); await bundleSender.subscribe(); } if (configHasBot(config, 'fillerMultithreaded')) { if (!config.botConfigs?.fillerMultithreaded) { throw new Error('fillerMultithreaded bot config not found'); } // Ensure that there are no duplicate market indexes in the Array<number[]> marketIndexes config const marketIndexes = new Set<number>(); for (const marketIndexList of config.botConfigs.fillerMultithreaded .marketIndexes) { for (const marketIndex of marketIndexList) { if (marketIndexes.has(marketIndex)) { throw new Error( `Market index ${marketIndex} is duplicated in the config` ); } marketIndexes.add(marketIndex); } } const fillerMultithreaded = new FillerMultithreaded( config.global, config.botConfigs?.fillerMultithreaded, driftClient, slotSubscriber, { rpcEndpoint: endpoint, commit: '', driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, bundleSender, pythPriceSubscriber, [] ); bots.push(fillerMultithreaded); } if (configHasBot(config, 'spotFillerMultithreaded')) { if (!config.botConfigs?.spotFillerMultithreaded) { throw new Error('spotFillerMultithreaded bot config not found'); } // Ensure that there are no duplicate market indexes in the Array<number[]> marketIndexes config const marketIndexes = new Set<number>(); for (const marketIndexList of config.botConfigs.spotFillerMultithreaded .marketIndexes) { for (const marketIndex of marketIndexList) { if (marketIndexes.has(marketIndex)) { throw new Error( `Market index ${marketIndex} is duplicated in the config` ); } marketIndexes.add(marketIndex); } } const spotFillerMultithreaded = new SpotFillerMultithreaded( driftClient, slotSubscriber, { rpcEndpoint: endpoint, commit: '', driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, config.global, config.botConfigs?.spotFillerMultithreaded, bundleSender, pythPriceSubscriber, [] ); bots.push(spotFillerMultithreaded); } if (configHasBot(config, 'swiftMaker')) { const userMap = new UserMap({ connection, driftClient, subscriptionConfig: { type: 'polling', frequency: 5000, }, fastDecode: true, }); await userMap.subscribe(); const swiftMaker = new SwiftMaker(driftClient, userMap, { rpcEndpoint: endpoint, commit: '', driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }); bots.push(swiftMaker); } if (configHasBot(config, 'swiftTaker')) { const swiftMaker = new SwiftTaker( driftClient, { rpcEndpoint: endpoint, commit: '', driftEnv: config.global.driftEnv!, driftPid: driftPublicKey.toBase58(), walletAuthority: wallet.publicKey.toBase58(), }, 1000 ); bots.push(swiftMaker); } // Initialize bots logger.info(`initializing bots`); await Promise.all(bots.map((bot: any) => bot.init())); logger.info(`starting bots`); // start http server listening to /health endpoint using http package const startupTime = Date.now(); http .createServer(async (req, res) => { if (req.url === '/health') { if (config.global.testLiveness) { if (Date.now() > startupTime + 60 * 1000) { res.writeHead(500); res.end('Testing liveness test fail'); return; } } /* @ts-ignore */ if (!driftClient.connection._rpcWebSocketConnected) { logger.error(`Connection rpc websocket disconnected`); res.writeHead(500); res.end(`Connection rpc websocket disconnected`); return; } // check all bots if they're live for (const bot of bots) { const healthCheck = await promiseTimeout(bot.healthCheck(), 1000); if (!healthCheck) { logger.error(`Health check failed for bot`); res.writeHead(503); res.end(`Bot is not healthy`); return; } } // liveness check passed res.writeHead(200); res.end('OK'); } else { res.writeHead(404); res.end('Not found'); } }) .listen(healthCheckPort); logger.info(`Health check server listening on port ${healthCheckPort}`); }; recursiveTryCatch(() => runBot()); async function recursiveTryCatch(f: () => void) { try { f(); } catch (e) { console.error(e); await sleepMs(15000); await recursiveTryCatch(f); } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/filler-common/dlobBuilder.ts
/* eslint-disable @typescript-eslint/no-non-null-assertion */ import { DLOB, SlotSubscriber, MarketType, DriftClient, loadKeypair, calculateBidPrice, calculateAskPrice, UserAccount, isVariant, decodeUser, NodeToTrigger, Wallet, PhoenixSubscriber, BN, ClockSubscriber, PhoenixV1FulfillmentConfigAccount, OpenbookV2Subscriber, OpenbookV2FulfillmentConfigAccount, isUserProtectedMaker, } from '@drift-labs/sdk'; import { Connection } from '@solana/web3.js'; import dotenv from 'dotenv'; import parseArgs from 'minimist'; import { logger } from '../../logger'; import { FallbackLiquiditySource, SerializedNodeToFill, SerializedNodeToTrigger, NodeToFillWithContext, } from './types'; import { getDriftClientFromArgs, serializeNodeToFill, serializeNodeToTrigger, } from './utils'; import { initializeSpotFulfillmentAccounts, sleepMs } from '../../utils'; const EXPIRE_ORDER_BUFFER_SEC = 30; // add an extra 30 seconds before trying to expire orders (want to avoid 6252 error due to clock drift) const logPrefix = '[DLOBBuilder]'; class DLOBBuilder { private userAccountData = new Map<string, UserAccount>(); private userAccountDataBuffers = new Map<string, Buffer>(); private dlob: DLOB; public readonly slotSubscriber: SlotSubscriber; public readonly marketTypeString: string; public readonly marketType: MarketType; public readonly marketIndexes: number[]; public driftClient: DriftClient; public initialized: boolean = false; // only used for spot filler private phoenixSubscribers?: Map<number, PhoenixSubscriber>; private openbookSubscribers?: Map<number, OpenbookV2Subscriber>; private phoenixFulfillmentConfigMap?: Map< number, PhoenixV1FulfillmentConfigAccount >; private openbookFulfillmentConfigMap?: Map< number, OpenbookV2FulfillmentConfigAccount >; private clockSubscriber: ClockSubscriber; constructor( driftClient: DriftClient, marketType: MarketType, marketTypeString: string, marketIndexes: number[] ) { this.dlob = new DLOB(); this.slotSubscriber = new SlotSubscriber(driftClient.connection); this.marketType = marketType; this.marketTypeString = marketTypeString; this.marketIndexes = marketIndexes; this.driftClient = driftClient; if (marketTypeString.toLowerCase() === 'spot') { this.phoenixSubscribers = new Map<number, PhoenixSubscriber>(); this.openbookSubscribers = new Map<number, OpenbookV2Subscriber>(); this.phoenixFulfillmentConfigMap = new Map< number, PhoenixV1FulfillmentConfigAccount >(); this.openbookFulfillmentConfigMap = new Map< number, OpenbookV2FulfillmentConfigAccount >(); } this.clockSubscriber = new ClockSubscriber(driftClient.connection, { commitment: 'confirmed', resubTimeoutMs: 5_000, }); } public async subscribe() { await this.slotSubscriber.subscribe(); await this.clockSubscriber.subscribe(); if (this.marketTypeString.toLowerCase() === 'spot') { await this.initializeSpotMarkets(); } } private async initializeSpotMarkets() { ({ phoenixFulfillmentConfigs: this.phoenixFulfillmentConfigMap, openbookFulfillmentConfigs: this.openbookFulfillmentConfigMap, phoenixSubscribers: this.phoenixSubscribers, openbookSubscribers: this.openbookSubscribers, } = await initializeSpotFulfillmentAccounts( this.driftClient, true, this.marketIndexes )); if (!this.phoenixSubscribers) { throw new Error('phoenixSubscribers not initialized'); } } public getUserBuffer(pubkey: string) { return this.userAccountDataBuffers.get(pubkey); } public deserializeAndUpdateUserAccountData( userAccount: string, pubkey: string ) { const userAccountBuffer = Buffer.from(userAccount, 'base64'); const deserializedUserAccount = decodeUser(userAccountBuffer); this.userAccountDataBuffers.set(pubkey, userAccountBuffer); this.userAccountData.set(pubkey, deserializedUserAccount); } public delete(pubkey: string) { this.userAccountData.delete(pubkey); this.userAccountDataBuffers.delete(pubkey); } // Private to avoid race conditions private build(): DLOB { logger.debug( `${logPrefix} Building DLOB with ${this.userAccountData.size} users` ); this.dlob = new DLOB(); let counter = 0; this.userAccountData.forEach((userAccount, pubkey) => { userAccount.orders.forEach((order) => { if ( !this.marketIndexes.includes(order.marketIndex) || !isVariant(order.marketType, this.marketTypeString.toLowerCase()) ) { return; } this.dlob.insertOrder( order, pubkey, this.slotSubscriber.getSlot(), isUserProtectedMaker(userAccount) ); counter++; }); }); logger.debug(`${logPrefix} Built DLOB with ${counter} orders`); return this.dlob; } public getNodesToTriggerAndNodesToFill(): [ NodeToFillWithContext[], NodeToTrigger[], ] { const dlob = this.build(); const nodesToFill: NodeToFillWithContext[] = []; const nodesToTrigger: NodeToTrigger[] = []; for (const marketIndex of this.marketIndexes) { let market; let oraclePriceData; let fallbackAsk: BN | undefined = undefined; let fallbackBid: BN | undefined = undefined; let fallbackAskSource: FallbackLiquiditySource | undefined = undefined; let fallbackBidSource: FallbackLiquiditySource | undefined = undefined; if (this.marketTypeString.toLowerCase() === 'perp') { market = this.driftClient.getPerpMarketAccount(marketIndex); if (!market) { throw new Error('PerpMarket not found'); } oraclePriceData = this.driftClient.getOracleDataForPerpMarket(marketIndex); fallbackBid = calculateBidPrice(market, oraclePriceData); fallbackAsk = calculateAskPrice(market, oraclePriceData); } else { market = this.driftClient.getSpotMarketAccount(marketIndex); if (!market) { throw new Error('SpotMarket not found'); } oraclePriceData = this.driftClient.getOracleDataForSpotMarket(marketIndex); const openbookSubscriber = this.openbookSubscribers!.get(marketIndex); const openbookBid = openbookSubscriber?.getBestBid(); const openbookAsk = openbookSubscriber?.getBestAsk(); const phoenixSubscriber = this.phoenixSubscribers!.get(marketIndex); const phoenixBid = phoenixSubscriber?.getBestBid(); const phoenixAsk = phoenixSubscriber?.getBestAsk(); if (openbookBid && phoenixBid) { if (openbookBid!.gte(phoenixBid!)) { fallbackBid = openbookBid; fallbackBidSource = 'openbook'; } else { fallbackBid = phoenixBid; fallbackBidSource = 'phoenix'; } } else if (openbookBid) { fallbackBid = openbookBid; fallbackBidSource = 'openbook'; } else if (phoenixBid) { fallbackBid = phoenixBid; fallbackBidSource = 'phoenix'; } if (openbookAsk && phoenixAsk) { if (openbookAsk!.lte(phoenixAsk!)) { fallbackAsk = openbookAsk; fallbackAskSource = 'openbook'; } else { fallbackAsk = phoenixAsk; fallbackAskSource = 'phoenix'; } } else if (openbookAsk) { fallbackAsk = openbookAsk; fallbackAskSource = 'openbook'; } else if (phoenixAsk) { fallbackAsk = phoenixAsk; fallbackAskSource = 'phoenix'; } } const stateAccount = this.driftClient.getStateAccount(); const slot = this.slotSubscriber.getSlot(); const nodesToFillForMarket = dlob.findNodesToFill( marketIndex, fallbackBid, fallbackAsk, slot, this.clockSubscriber.getUnixTs() - EXPIRE_ORDER_BUFFER_SEC, this.marketType, oraclePriceData, stateAccount, market ); const nodesToTriggerForMarket = dlob.findNodesToTrigger( marketIndex, slot, oraclePriceData.price, this.marketType, stateAccount ); nodesToFill.push( ...nodesToFillForMarket.map((node) => { return { ...node, fallbackAskSource, fallbackBidSource }; }) ); nodesToTrigger.push(...nodesToTriggerForMarket); } return [nodesToFill, nodesToTrigger]; } public serializeNodesToFill( nodesToFill: NodeToFillWithContext[] ): SerializedNodeToFill[] { return nodesToFill .map((node) => { const buffer = this.getUserBuffer(node.node.userAccount!); if (!buffer) { return undefined; } const makerBuffers = new Map<string, Buffer>(); for (const makerNode of node.makerNodes) { // @ts-ignore const makerBuffer = this.getUserBuffer(makerNode.userAccount); if (!makerBuffer) { return undefined; } // @ts-ignore makerBuffers.set(makerNode.userAccount, makerBuffer); } return serializeNodeToFill(node, buffer, makerBuffers); }) .filter((node): node is SerializedNodeToFill => node !== undefined); } public serializeNodesToTrigger( nodesToTrigger: NodeToTrigger[] ): SerializedNodeToTrigger[] { return nodesToTrigger .map((node) => { const buffer = this.getUserBuffer(node.node.userAccount); if (!buffer) { return undefined; } return serializeNodeToTrigger(node, buffer); }) .filter((node): node is SerializedNodeToTrigger => node !== undefined); } public trySendNodes( serializedNodesToTrigger: SerializedNodeToTrigger[], serializedNodesToFill: SerializedNodeToFill[] ) { if (typeof process.send === 'function') { if (serializedNodesToTrigger.length > 0) { try { logger.debug('Sending triggerable nodes'); process.send({ type: 'triggerableNodes', data: serializedNodesToTrigger, // }, { swallowErrors: true }); }); } catch (e) { logger.error(`${logPrefix} Failed to send triggerable nodes: ${e}`); // logger.error(JSON.stringify(serializedNodesToTrigger, null, 2)); } } if (serializedNodesToFill.length > 0) { try { logger.debug('Sending fillable nodes'); process.send({ type: 'fillableNodes', data: serializedNodesToFill, // }, { swallowErrors: true }); }); } catch (e) { logger.error(`${logPrefix} Failed to send fillable nodes: ${e}`); // logger.error(JSON.stringify(serializedNodesToFill, null, 2)); } } } } sendLivenessCheck(health: boolean) { if (typeof process.send === 'function') { process.send({ type: 'health', data: { healthy: health, }, }); } } } const main = async () => { // kill this process if the parent dies process.on('disconnect', () => process.exit()); dotenv.config(); const endpoint = process.env.ENDPOINT; const privateKey = process.env.KEEPER_PRIVATE_KEY; const args = parseArgs(process.argv.slice(2)); const driftEnv = args['drift-env'] ?? 'devnet'; const marketTypeStr = args['market-type']; let marketIndexes; if (typeof args['market-indexes'] === 'string') { marketIndexes = args['market-indexes'].split(',').map(Number); } else { marketIndexes = [args['market-indexes']]; } if (marketTypeStr !== 'perp' && marketTypeStr !== 'spot') { throw new Error("market-type must be either 'perp' or 'spot'"); } let marketType: MarketType; switch (marketTypeStr) { case 'perp': marketType = MarketType.PERP; break; case 'spot': marketType = MarketType.SPOT; break; default: console.error('Error: Unsupported market type provided.'); process.exit(1); } if (!endpoint || !privateKey) { throw new Error('ENDPOINT and KEEPER_PRIVATE_KEY must be provided'); } const wallet = new Wallet(loadKeypair(privateKey)); const connection = new Connection(endpoint, { wsEndpoint: process.env.WS_ENDPOINT, commitment: 'processed', }); const driftClient = getDriftClientFromArgs({ connection, wallet, marketIndexes, marketTypeStr, env: driftEnv, }); await driftClient.subscribe(); const dlobBuilder = new DLOBBuilder( driftClient, marketType, marketTypeStr, marketIndexes ); await dlobBuilder.subscribe(); await sleepMs(5000); // Give the dlob some time to get built if (typeof process.send === 'function') { logger.info('DLOBBuilder started'); process.send({ type: 'initialized', data: dlobBuilder.marketIndexes }); } process.on('message', (msg: any) => { // console.log("received msg"); if (!msg.data || typeof msg.data.type === 'undefined') { logger.warn(`${logPrefix} Received message without data.type field.`); return; } switch (msg.data.type) { case 'update': dlobBuilder.deserializeAndUpdateUserAccountData( msg.data.userAccount, msg.data.pubkey ); break; case 'delete': dlobBuilder.delete(msg.data.pubkey); break; default: logger.warn( `${logPrefix} Received unknown message type: ${msg.data.type}` ); } }); setInterval(() => { const [nodesToFill, nodesToTrigger] = dlobBuilder.getNodesToTriggerAndNodesToFill(); const serializedNodesToFill = dlobBuilder.serializeNodesToFill(nodesToFill); logger.debug( `${logPrefix} Serialized ${serializedNodesToFill.length} fillable nodes` ); const serializedNodesToTrigger = dlobBuilder.serializeNodesToTrigger(nodesToTrigger); logger.debug( `${logPrefix} Serialized ${serializedNodesToTrigger.length} triggerable nodes` ); dlobBuilder.trySendNodes(serializedNodesToTrigger, serializedNodesToFill); }, 200); dlobBuilder.sendLivenessCheck(true); setInterval(() => { dlobBuilder.sendLivenessCheck(true); }, 10_000); }; main();
0
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/filler-common/utils.ts
import { Order, UserAccount, SpotPosition, PerpPosition, NodeToTrigger, TriggerOrderNode, DLOBNode, OrderNode, TakingLimitOrderNode, RestingLimitOrderNode, FloatingLimitOrderNode, MarketOrderNode, DriftClient, initialize, OracleInfo, PerpMarketConfig, SpotMarketConfig, Wallet, BN, MarketType, getUser30dRollingVolumeEstimate, QUOTE_PRECISION, UserStatsAccount, isVariant, StateAccount, PRICE_PRECISION, DriftEnv, isUserProtectedMaker, decodeUser, } from '@drift-labs/sdk'; import { ComputeBudgetProgram, Connection, LAMPORTS_PER_SOL, PublicKey, } from '@solana/web3.js'; import { SerializedUserAccount, SerializedOrder, SerializedSpotPosition, SerializedPerpPosition, SerializedNodeToTrigger, SerializedTriggerOrderNode, SerializedNodeToFill, SerializedDLOBNode, NodeToFillWithBuffer, NodeToFillWithContext, } from './types'; import { ChildProcess, fork } from 'child_process'; import { logger } from '../../logger'; export const serializeUserAccount = ( userAccount: UserAccount ): SerializedUserAccount => { return { ...userAccount, authority: userAccount.authority?.toString(), delegate: userAccount.delegate?.toString(), orders: userAccount.orders.map(serializeOrder), spotPositions: userAccount.spotPositions.map(serializeSpotPosition), perpPositions: userAccount.perpPositions.map(serializePerpPosition), lastAddPerpLpSharesTs: userAccount.lastAddPerpLpSharesTs?.toString('hex'), settledPerpPnl: userAccount.settledPerpPnl?.toString('hex'), totalDeposits: userAccount.totalDeposits?.toString('hex'), totalWithdraws: userAccount.totalWithdraws?.toString('hex'), totalSocialLoss: userAccount.totalSocialLoss?.toString('hex'), cumulativePerpFunding: userAccount.cumulativePerpFunding?.toString('hex'), cumulativeSpotFees: userAccount.cumulativeSpotFees?.toString('hex'), liquidationMarginFreed: userAccount.liquidationMarginFreed?.toString('hex'), lastActiveSlot: userAccount.lastActiveSlot?.toString('hex'), }; }; const serializeOrder = (order: Order): SerializedOrder => { return { ...order, slot: order.slot?.toString('hex'), price: order.price?.toString('hex'), baseAssetAmount: order.baseAssetAmount?.toString('hex'), quoteAssetAmount: order.quoteAssetAmount?.toString('hex'), baseAssetAmountFilled: order.baseAssetAmountFilled?.toString('hex'), quoteAssetAmountFilled: order.quoteAssetAmountFilled?.toString('hex'), triggerPrice: order.triggerPrice?.toString('hex'), auctionStartPrice: order.auctionStartPrice?.toString('hex'), auctionEndPrice: order.auctionEndPrice?.toString('hex'), maxTs: order.maxTs?.toString('hex'), }; }; const serializeSpotPosition = ( position: SpotPosition ): SerializedSpotPosition => { return { ...position, scaledBalance: position.scaledBalance?.toString('hex'), openBids: position.openBids?.toString('hex'), openAsks: position.openAsks?.toString('hex'), cumulativeDeposits: position.cumulativeDeposits?.toString('hex'), }; }; const serializePerpPosition = ( position: PerpPosition ): SerializedPerpPosition => { return { ...position, baseAssetAmount: position.baseAssetAmount?.toString('hex'), lastCumulativeFundingRate: position.lastCumulativeFundingRate?.toString('hex'), quoteAssetAmount: position.quoteAssetAmount?.toString('hex'), quoteEntryAmount: position.quoteEntryAmount?.toString('hex'), quoteBreakEvenAmount: position.quoteBreakEvenAmount?.toString('hex'), openBids: position.openBids?.toString('hex'), openAsks: position.openAsks?.toString('hex'), settledPnl: position.settledPnl?.toString('hex'), lpShares: position.lpShares?.toString('hex'), lastBaseAssetAmountPerLp: position.lastBaseAssetAmountPerLp?.toString('hex'), lastQuoteAssetAmountPerLp: position.lastQuoteAssetAmountPerLp?.toString('hex'), }; }; export const deserializeUserAccount = ( serializedUserAccount: SerializedUserAccount ) => { return { ...serializedUserAccount, authority: new PublicKey(serializedUserAccount.authority), delegate: new PublicKey(serializedUserAccount.delegate), orders: serializedUserAccount.orders.map(deserializeOrder), spotPositions: serializedUserAccount.spotPositions.map( deserializeSpotPosition ), perpPositions: serializedUserAccount.perpPositions.map( deserializePerpPosition ), lastAddPerpLpSharesTs: new BN( serializedUserAccount.lastAddPerpLpSharesTs, 'hex' ), settledPerpPnl: new BN(serializedUserAccount.settledPerpPnl, 'hex'), totalDeposits: new BN(serializedUserAccount.totalDeposits, 'hex'), totalWithdraws: new BN(serializedUserAccount.totalWithdraws, 'hex'), totalSocialLoss: new BN(serializedUserAccount.totalSocialLoss, 'hex'), cumulativePerpFunding: new BN( serializedUserAccount.cumulativePerpFunding, 'hex' ), cumulativeSpotFees: new BN(serializedUserAccount.cumulativeSpotFees, 'hex'), liquidationMarginFreed: new BN( serializedUserAccount.liquidationMarginFreed, 'hex' ), lastActiveSlot: new BN(serializedUserAccount.lastActiveSlot, 'hex'), }; }; export const deserializeOrder = (serializedOrder: SerializedOrder) => { return { ...serializedOrder, slot: new BN(serializedOrder.slot, 'hex'), price: new BN(serializedOrder.price, 'hex'), baseAssetAmount: new BN(serializedOrder.baseAssetAmount, 'hex'), quoteAssetAmount: new BN(serializedOrder.quoteAssetAmount, 'hex'), baseAssetAmountFilled: new BN(serializedOrder.baseAssetAmountFilled, 'hex'), quoteAssetAmountFilled: new BN( serializedOrder.quoteAssetAmountFilled, 'hex' ), triggerPrice: new BN(serializedOrder.triggerPrice, 'hex'), auctionStartPrice: new BN(serializedOrder.auctionStartPrice, 'hex'), auctionEndPrice: new BN(serializedOrder.auctionEndPrice, 'hex'), maxTs: new BN(serializedOrder.maxTs, 'hex'), }; }; const deserializeSpotPosition = ( serializedPosition: SerializedSpotPosition ) => { return { ...serializedPosition, scaledBalance: new BN(serializedPosition.scaledBalance, 'hex'), openBids: new BN(serializedPosition.openBids, 'hex'), openAsks: new BN(serializedPosition.openAsks, 'hex'), cumulativeDeposits: new BN(serializedPosition.cumulativeDeposits, 'hex'), }; }; const deserializePerpPosition = ( serializedPosition: SerializedPerpPosition ) => { return { ...serializedPosition, baseAssetAmount: new BN(serializedPosition.baseAssetAmount, 'hex'), lastCumulativeFundingRate: new BN( serializedPosition.lastCumulativeFundingRate, 'hex' ), quoteAssetAmount: new BN(serializedPosition.quoteAssetAmount, 'hex'), quoteEntryAmount: new BN(serializedPosition.quoteEntryAmount, 'hex'), quoteBreakEvenAmount: new BN( serializedPosition.quoteBreakEvenAmount, 'hex' ), openBids: new BN(serializedPosition.openBids, 'hex'), openAsks: new BN(serializedPosition.openAsks, 'hex'), settledPnl: new BN(serializedPosition.settledPnl, 'hex'), lpShares: new BN(serializedPosition.lpShares, 'hex'), lastBaseAssetAmountPerLp: new BN( serializedPosition.lastBaseAssetAmountPerLp, 'hex' ), lastQuoteAssetAmountPerLp: new BN( serializedPosition.lastQuoteAssetAmountPerLp, 'hex' ), }; }; export const serializeNodeToTrigger = ( node: NodeToTrigger, userAccountData: Buffer ): SerializedNodeToTrigger => { return { node: serializeTriggerOrderNode(node.node, userAccountData), }; }; const serializeTriggerOrderNode = ( node: TriggerOrderNode, userAccountData: Buffer ): SerializedTriggerOrderNode => { return { userAccountData: userAccountData, order: serializeOrder(node.order), userAccount: node.userAccount.toString(), sortValue: node.sortValue.toString('hex'), haveFilled: node.haveFilled, haveTrigger: node.haveTrigger, }; }; export const serializeNodeToFill = ( node: NodeToFillWithContext, userAccountData: Buffer, makerAccountDatas: Map<string, Buffer> ): SerializedNodeToFill => { return { node: serializeDLOBNode(node.node, userAccountData), makerNodes: node.makerNodes.map((node) => { // @ts-ignore return serializeDLOBNode(node, makerAccountDatas.get(node.userAccount)); }), fallbackAskSource: node.fallbackAskSource, fallbackBidSource: node.fallbackBidSource, }; }; const serializeDLOBNode = ( node: DLOBNode, userAccountData: Buffer ): SerializedDLOBNode => { if (node instanceof OrderNode) { return { type: node.constructor.name, userAccountData: userAccountData, order: serializeOrder(node.order), userAccount: node.userAccount, sortValue: node.sortValue.toString('hex'), haveFilled: node.haveFilled, haveTrigger: 'haveTrigger' in node ? node.haveTrigger : undefined, }; } else { throw new Error( 'Node is not an OrderNode or does not implement DLOBNode interface correctly.' ); } }; export const deserializeNodeToFill = ( serializedNode: SerializedNodeToFill ): NodeToFillWithBuffer => { const node = { userAccountData: serializedNode.node.userAccountData, makerAccountData: JSON.stringify( Array.from( serializedNode.makerNodes .reduce((map, node) => { map.set(node.userAccount, node.userAccountData); return map; }, new Map()) .entries() ) ), node: deserializeDLOBNode(serializedNode.node), makerNodes: serializedNode.makerNodes.map(deserializeDLOBNode), fallbackAskSource: serializedNode.fallbackAskSource, fallbackBidSource: serializedNode.fallbackBidSource, }; return node; }; const deserializeDLOBNode = (node: SerializedDLOBNode): DLOBNode => { // @ts-ignore const userAccount = decodeUser(Buffer.from(node.userAccountData.data)); const order = deserializeOrder(node.order); const isProtectedMaker = isUserProtectedMaker(userAccount); switch (node.type) { case 'TakingLimitOrderNode': return new TakingLimitOrderNode( order, node.userAccount, isProtectedMaker ); case 'RestingLimitOrderNode': return new RestingLimitOrderNode( order, node.userAccount, isProtectedMaker ); case 'FloatingLimitOrderNode': return new FloatingLimitOrderNode( order, node.userAccount, isProtectedMaker ); case 'MarketOrderNode': return new MarketOrderNode(order, node.userAccount, isProtectedMaker); default: throw new Error(`Invalid node type: ${node.type}`); } }; export const getOracleInfoForMarket = ( sdkConfig: any, marketIndex: number, marketTypeStr: 'spot' | 'perp' ): OracleInfo => { if (marketTypeStr === 'perp') { const perpMarket: PerpMarketConfig = sdkConfig.PERP_MARKETS.find( (config: PerpMarketConfig) => config.marketIndex === marketIndex ); return { publicKey: perpMarket.oracle, source: perpMarket.oracleSource, }; } else { const spotMarket: SpotMarketConfig = sdkConfig.SPOT_MARKETS.find( (config: SpotMarketConfig) => config.marketIndex === marketIndex ); return { publicKey: spotMarket.oracle, source: spotMarket.oracleSource, }; } }; export const getDriftClientFromArgs = ({ connection, wallet, marketIndexes, marketTypeStr, env, }: { connection: Connection; wallet: Wallet; marketIndexes: number[]; marketTypeStr: 'spot' | 'perp'; env: DriftEnv; }) => { let perpMarketIndexes: number[] = []; const spotMarketIndexes: number[] = [0]; if (marketTypeStr.toLowerCase() === 'perp') { perpMarketIndexes = marketIndexes; } else if (marketTypeStr.toLowerCase() === 'spot') { spotMarketIndexes.push(...marketIndexes); } else { throw new Error('Invalid market type provided: ' + marketTypeStr); } const sdkConfig = initialize({ env }); const oracleInfos = []; for (const marketIndex of marketIndexes) { const oracleInfo = getOracleInfoForMarket( sdkConfig, marketIndex, marketTypeStr ); oracleInfos.push(oracleInfo); } const driftClient = new DriftClient({ connection, wallet: wallet, marketLookupTable: new PublicKey(sdkConfig.MARKET_LOOKUP_TABLE), perpMarketIndexes, spotMarketIndexes, oracleInfos, env, }); return driftClient; }; export const getUserFeeTier = ( marketType: MarketType, state: StateAccount, userStatsAccount: UserStatsAccount ) => { let feeTierIndex = 0; if (isVariant(marketType, 'perp')) { const total30dVolume = getUser30dRollingVolumeEstimate(userStatsAccount); const stakedQuoteAssetAmount = userStatsAccount.ifStakedQuoteAssetAmount; const volumeTiers = [ new BN(100_000_000).mul(QUOTE_PRECISION), new BN(50_000_000).mul(QUOTE_PRECISION), new BN(10_000_000).mul(QUOTE_PRECISION), new BN(5_000_000).mul(QUOTE_PRECISION), new BN(1_000_000).mul(QUOTE_PRECISION), ]; const stakedTiers = [ new BN(10000).mul(QUOTE_PRECISION), new BN(5000).mul(QUOTE_PRECISION), new BN(2000).mul(QUOTE_PRECISION), new BN(1000).mul(QUOTE_PRECISION), new BN(500).mul(QUOTE_PRECISION), ]; for (let i = 0; i < volumeTiers.length; i++) { if ( total30dVolume.gte(volumeTiers[i]) || stakedQuoteAssetAmount.gte(stakedTiers[i]) ) { feeTierIndex = 5 - i; break; } } return state.perpFeeStructure.feeTiers[feeTierIndex]; } return state.spotFeeStructure.feeTiers[feeTierIndex]; }; export const spawnChild = ( scriptPath: string, childArgs: string[], processName: string, onMessage: (msg: any) => void, logPrefix = '' ): ChildProcess => { const child = fork(scriptPath, childArgs); child.on('message', onMessage); child.on('exit', (code) => { logger.info( `${logPrefix} Child process: ${processName} exited with code ${code}` ); logger.info(`${logPrefix} Restarting child process: ${processName}`); }); return child; }; export const getPriorityFeeInstruction = ( priorityFeeMicroLamports: number, solPrice: BN, fillerRewardEstimate?: BN, feeMultiplier = 1.0 ) => { let microLamports = priorityFeeMicroLamports; if (fillerRewardEstimate !== undefined) { const fillerRewardMicroLamports = Math.floor( fillerRewardEstimate .mul(PRICE_PRECISION) .mul(new BN(LAMPORTS_PER_SOL)) .div(solPrice) .div(QUOTE_PRECISION) .toNumber() * feeMultiplier ); logger.info(` fillerRewardEstimate microLamports: ${fillerRewardMicroLamports} priority fee subscriber micro lamports: ${priorityFeeMicroLamports}`); microLamports = Math.max(microLamports, fillerRewardMicroLamports); } return ComputeBudgetProgram.setComputeUnitPrice({ microLamports, }); };
0
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/filler-common/types.ts
import { OrderStatus, OrderType, MarketType, PositionDirection, OrderTriggerCondition, SpotBalanceType, NodeToFill, DLOBNode, } from '@drift-labs/sdk'; export type SerializedUserAccount = { authority: string; delegate: string; name: number[]; subAccountId: number; spotPositions: SerializedSpotPosition[]; perpPositions: SerializedPerpPosition[]; orders: SerializedOrder[]; status: number; nextLiquidationId: number; nextOrderId: number; maxMarginRatio: number; lastAddPerpLpSharesTs: string; settledPerpPnl: string; totalDeposits: string; totalWithdraws: string; totalSocialLoss: string; cumulativePerpFunding: string; cumulativeSpotFees: string; liquidationMarginFreed: string; lastActiveSlot: string; isMarginTradingEnabled: boolean; idle: boolean; openOrders: number; hasOpenOrder: boolean; openAuctions: number; hasOpenAuction: boolean; }; export type SerializedOrder = { status: OrderStatus; orderType: OrderType; marketType: MarketType; slot: string; orderId: number; userOrderId: number; marketIndex: number; price: string; baseAssetAmount: string; quoteAssetAmount: string; baseAssetAmountFilled: string; quoteAssetAmountFilled: string; direction: PositionDirection; reduceOnly: boolean; triggerPrice: string; triggerCondition: OrderTriggerCondition; existingPositionDirection: PositionDirection; postOnly: boolean; immediateOrCancel: boolean; oraclePriceOffset: number; auctionDuration: number; auctionStartPrice: string; auctionEndPrice: string; maxTs: string; }; export type SerializedSpotPosition = { marketIndex: number; balanceType: SpotBalanceType; scaledBalance: string; openOrders: number; openBids: string; openAsks: string; cumulativeDeposits: string; }; export type SerializedPerpPosition = { baseAssetAmount: string; lastCumulativeFundingRate: string; marketIndex: number; quoteAssetAmount: string; quoteEntryAmount: string; quoteBreakEvenAmount: string; openOrders: number; openBids: string; openAsks: string; settledPnl: string; lpShares: string; remainderBaseAssetAmount: number; lastBaseAssetAmountPerLp: string; lastQuoteAssetAmountPerLp: string; perLpBase: number; }; export type SerializedNodeToTrigger = { node: SerializedTriggerOrderNode; }; export type SerializedTriggerOrderNode = { order: SerializedOrder; userAccountData: Buffer; userAccount: string; sortValue: string; haveFilled: boolean; haveTrigger: boolean; }; export type SerializedNodeToFill = { fallbackAskSource?: FallbackLiquiditySource; fallbackBidSource?: FallbackLiquiditySource; node: SerializedDLOBNode; makerNodes: SerializedDLOBNode[]; }; export type SerializedDLOBNode = { type: string; order: SerializedOrder; userAccountData: Buffer; userAccount: string; sortValue: string; haveFilled: boolean; haveTrigger?: boolean; fallbackAskSource?: FallbackLiquiditySource; fallbackBidSource?: FallbackLiquiditySource; }; export type FallbackLiquiditySource = 'serum' | 'phoenix' | 'openbook'; export type NodeToFillWithContext = NodeToFill & { fallbackAskSource?: FallbackLiquiditySource; fallbackBidSource?: FallbackLiquiditySource; }; export type NodeToFillWithBuffer = { userAccountData: Buffer; makerAccountData: string; node: DLOBNode; fallbackAskSource?: FallbackLiquiditySource; fallbackBidSource?: FallbackLiquiditySource; makerNodes: DLOBNode[]; };
0
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/filler-common/orderSubscriberFiltered.ts
import { OrderSubscriber, OrderSubscriberConfig, loadKeypair, UserAccount, MarketType, isVariant, getVariant, getUserFilter, getUserWithOrderFilter, Wallet, BN, } from '@drift-labs/sdk'; import { Connection, PublicKey, RpcResponseAndContext } from '@solana/web3.js'; import dotenv from 'dotenv'; import { logger } from '../../logger'; import parseArgs from 'minimist'; import { getDriftClientFromArgs } from './utils'; const logPrefix = '[OrderSubscriberFiltered]'; export type UserAccountUpdate = { type: string; userAccount: string; pubkey: string; marketIndex: number; }; export interface UserMarkets { [key: string]: Set<number>; } class OrderSubscriberFiltered extends OrderSubscriber { private readonly marketIndexes: number[]; private readonly marketTypeStr: string; // To keep track of where the user has open orders in the markets we care about private readonly userMarkets: UserMarkets = {}; constructor( config: OrderSubscriberConfig, marketIndexes: number[], marketType: MarketType ) { super(config); this.marketIndexes = marketIndexes; this.marketTypeStr = getVariant(marketType); } override tryUpdateUserAccount( key: string, dataType: 'raw' | 'decoded' | 'buffer', data: UserAccount | string[] | Buffer, slot: number ): void { if (!this.mostRecentSlot || slot > this.mostRecentSlot) { this.mostRecentSlot = slot; } const slotAndUserAccount = this.usersAccounts.get(key); if (slotAndUserAccount && slotAndUserAccount.slot > slot) { return; } let buffer: Buffer; if (dataType === 'raw') { // @ts-ignore buffer = Buffer.from(data[0], data[1]); } else if (dataType === 'buffer') { buffer = data as Buffer; } else { logger.warn('Received unexpected decoded data type for order subscriber'); return; } const lastActiveSlot = slotAndUserAccount?.userAccount.lastActiveSlot; const newLastActiveSlot = new BN( buffer.subarray(4328, 4328 + 8), undefined, 'le' ); if (lastActiveSlot && lastActiveSlot.gt(newLastActiveSlot)) { return; } const userAccount = this.decodeFn('User', buffer) as UserAccount; const userMarkets = new Set<number>(); userAccount.orders.forEach((order) => { if ( this.marketIndexes.includes(order.marketIndex) && isVariant(order.marketType, this.marketTypeStr) ) { userMarkets.add(order.marketIndex); } }); this.updateUserMarkets(key, buffer, userMarkets); this.usersAccounts.set(key, { slot, userAccount }); } override async fetch(): Promise<void> { if (this.fetchPromise) { return this.fetchPromise; } this.fetchPromise = new Promise((resolver) => { this.fetchPromiseResolver = resolver; }); try { const rpcRequestArgs = [ this.driftClient.program.programId.toBase58(), { commitment: this.commitment, filters: [getUserFilter(), getUserWithOrderFilter()], encoding: 'base64', withContext: true, }, ]; const rpcJSONResponse: any = // @ts-ignore await this.driftClient.connection._rpcRequest( 'getProgramAccounts', rpcRequestArgs ); const rpcResponseAndContext: RpcResponseAndContext< Array<{ pubkey: PublicKey; account: { data: [string, string]; }; }> > = rpcJSONResponse.result; const slot: number = rpcResponseAndContext.context.slot; const programAccountSet = new Set<string>(); for (const programAccount of rpcResponseAndContext.value) { const key = programAccount.pubkey.toString(); programAccountSet.add(key); this.tryUpdateUserAccount( key, 'raw', programAccount.account.data, slot ); // give event loop a chance to breathe await new Promise((resolve) => setTimeout(resolve, 0)); } for (const key of this.usersAccounts.keys()) { if (!programAccountSet.has(key)) { this.usersAccounts.delete(key); this.userMarkets[key].forEach((marketIndex) => { this.sendUserAccountUpdateMessage( Buffer.from([]), key, 'delete', marketIndex ); }); delete this.userMarkets[key]; } // give event loop a chance to breathe await new Promise((resolve) => setTimeout(resolve, 0)); } } catch (e) { console.error(e); } finally { this.fetchPromiseResolver(); this.fetchPromise = undefined; } } sendUserAccountUpdateMessage( buffer: Buffer, key: string, msgType: 'update' | 'delete', marketIndex: number ) { const userAccountUpdate: UserAccountUpdate = { type: msgType, userAccount: buffer.toString('base64'), pubkey: key, marketIndex, }; if (typeof process.send === 'function') { process.send({ type: 'userAccountUpdate', data: userAccountUpdate, }); } } sendLivenessCheck(health: boolean) { if (typeof process.send === 'function') { process.send({ type: 'health', data: { healthy: health, }, }); } } private updateUserMarkets( userId: string, buffer: Buffer, currentMarkets: Set<number> ): void { const previousMarkets = this.userMarkets[userId] || new Set<number>(); const removedMarkets = new Set<number>(); previousMarkets.forEach((marketIndex) => { if (!currentMarkets.has(marketIndex)) { removedMarkets.add(marketIndex); } }); this.userMarkets[userId] = currentMarkets; for (const marketIndex of currentMarkets) { this.sendUserAccountUpdateMessage(buffer, userId, 'update', marketIndex); } for (const marketIndex of removedMarkets) { this.sendUserAccountUpdateMessage(buffer, userId, 'delete', marketIndex); } } } const main = async () => { // kill this process if the parent dies process.on('disconnect', () => process.exit()); dotenv.config(); const args = parseArgs(process.argv.slice(2)); const driftEnv = args['drift-env'] ?? 'devnet'; const marketIndexesStr = String(args['market-indexes']); const marketIndexes = marketIndexesStr.split(',').map(Number); const marketTypeStr = args['market-type'] as string; if (marketTypeStr !== 'perp' && marketTypeStr !== 'spot') { throw new Error("market-type must be either 'perp' or 'spot'"); } let marketType: MarketType; switch (marketTypeStr) { case 'perp': marketType = MarketType.PERP; break; case 'spot': marketType = MarketType.SPOT; break; default: console.error('Error: Unsupported market type provided.'); process.exit(1); } const endpoint = process.env.ENDPOINT; const privateKey = process.env.KEEPER_PRIVATE_KEY; if (!endpoint || !privateKey) { throw new Error('ENDPOINT and KEEPER_PRIVATE_KEY must be provided'); } const wallet = new Wallet(loadKeypair(privateKey)); const connection = new Connection(endpoint, 'processed'); const driftClient = getDriftClientFromArgs({ connection, wallet, marketIndexes, marketTypeStr, env: driftEnv, }); await driftClient.subscribe(); const orderSubscriberConfig: OrderSubscriberConfig = { driftClient: driftClient, subscriptionConfig: { type: 'websocket', skipInitialLoad: false, resubTimeoutMs: 5000, resyncIntervalMs: 60000, commitment: 'processed', }, fastDecode: true, decodeData: false, }; const orderSubscriberFiltered = new OrderSubscriberFiltered( orderSubscriberConfig, marketIndexes, marketType ); await orderSubscriberFiltered.subscribe(); orderSubscriberFiltered.sendLivenessCheck(true); setInterval(() => { orderSubscriberFiltered.sendLivenessCheck(true); }, 10_000); logger.info(`${logPrefix} OrderSubscriberFiltered started`); }; main();
0
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/swift/makerExample.ts
import { DriftClient, getLimitOrderParams, getUserAccountPublicKey, getUserStatsAccountPublicKey, isVariant, MarketType, PositionDirection, PostOnlyParams, PublicKey, SwiftOrderParamsMessage, UserMap, } from '@drift-labs/sdk'; import { RuntimeSpec } from 'src/metrics'; import WebSocket from 'ws'; import nacl from 'tweetnacl'; import { decodeUTF8 } from 'tweetnacl-util'; export class SwiftMaker { interval: NodeJS.Timeout | null = null; private ws: WebSocket | null = null; private heartbeatTimeout: NodeJS.Timeout | null = null; private readonly heartbeatIntervalMs = 80_000; constructor( private driftClient: DriftClient, private userMap: UserMap, runtimeSpec: RuntimeSpec ) { if (runtimeSpec.driftEnv != 'devnet') { throw new Error('SwiftMaker only works on devnet'); } } async init() { await this.subscribeWs(); } async subscribeWs() { const keypair = this.driftClient.wallet.payer!; const ws = new WebSocket( `wss://master.swift.drift.trade/ws?pubkey=` + keypair.publicKey.toBase58() ); ws.on('open', async () => { console.log('Connected to the server'); this.startHeartbeatTimer(); ws.on('message', async (data: WebSocket.Data) => { const message = JSON.parse(data.toString()); console.log(message); this.startHeartbeatTimer(); if (message['channel'] === 'auth' && message['nonce'] != null) { const messageBytes = decodeUTF8(message['nonce']); const signature = nacl.sign.detached(messageBytes, keypair.secretKey); const signatureBase64 = Buffer.from(signature).toString('base64'); ws.send( JSON.stringify({ pubkey: keypair.publicKey.toBase58(), signature: signatureBase64, }) ); } if ( message['channel'] === 'auth' && message['message'] === 'Authenticated' ) { ws.send( JSON.stringify({ action: 'subscribe', market_type: 'perp', market_name: 'SOL-PERP', }) ); ws.send( JSON.stringify({ action: 'subscribe', market_type: 'perp', market_name: 'BTC-PERP', }) ); ws.send( JSON.stringify({ action: 'subscribe', market_type: 'perp', market_name: 'ETH-PERP', }) ); ws.send( JSON.stringify({ action: 'subscribe', market_type: 'perp', market_name: 'APT-PERP', }) ); ws.send( JSON.stringify({ action: 'subscribe', market_type: 'perp', market_name: 'MATIC-PERP', }) ); ws.send( JSON.stringify({ action: 'subscribe', market_type: 'perp', market_name: 'ARB-PERP', }) ); } if (message['order'] && this.driftClient.isSubscribed) { const order = JSON.parse(message['order']); console.info(`received order. uuid: ${order['uuid']}`); const swiftOrderParamsBuf = Buffer.from( order['order_message'], 'base64' ); const { swiftOrderParams, subAccountId: takerSubaccountId, }: SwiftOrderParamsMessage = this.driftClient.program.coder.types.decode( 'SwiftOrderParamsMessage', swiftOrderParamsBuf ); const takerAuthority = new PublicKey(order['taker_authority']); const takerUserPubkey = await getUserAccountPublicKey( this.driftClient.program.programId, takerAuthority, takerSubaccountId ); const takerUserAccount = ( await this.userMap.mustGet(takerUserPubkey.toString()) ).getUserAccount(); const isOrderLong = isVariant(swiftOrderParams.direction, 'long'); if (!swiftOrderParams.price) { console.error( `order has no price: ${JSON.stringify(swiftOrderParams)}` ); return; } const ixs = await this.driftClient.getPlaceAndMakeSwiftPerpOrderIxs( Buffer.from(order['swift_message'], 'base64'), Buffer.from(order['swift_signature'], 'base64'), swiftOrderParamsBuf, Buffer.from(order['order_signature'], 'base64'), decodeUTF8(order['uuid']), { taker: takerUserPubkey, takerUserAccount, takerStats: getUserStatsAccountPublicKey( this.driftClient.program.programId, takerUserAccount.authority ), }, getLimitOrderParams({ marketType: MarketType.PERP, marketIndex: swiftOrderParams.marketIndex, direction: isOrderLong ? PositionDirection.SHORT : PositionDirection.LONG, baseAssetAmount: swiftOrderParams.baseAssetAmount, price: isOrderLong ? swiftOrderParams.auctionStartPrice!.muln(99).divn(100) : swiftOrderParams.auctionEndPrice!.muln(101).divn(100), postOnly: PostOnlyParams.MUST_POST_ONLY, immediateOrCancel: true, }) ); const tx = await this.driftClient.txSender.getVersionedTransaction( ixs, [this.driftClient.lookupTableAccount], undefined, undefined, await this.driftClient.connection.getLatestBlockhash() ); this.driftClient.txSender .sendVersionedTransaction(tx) .then((response) => { console.log(response); }) .catch((error) => { console.log(error); }); } }); ws.on('close', () => { console.log('Disconnected from the server'); this.reconnect(); }); ws.on('error', (error: Error) => { console.error('WebSocket error:', error); this.reconnect(); }); }); this.ws = ws; } public async healthCheck() { return true; } private startHeartbeatTimer() { if (this.heartbeatTimeout) { clearTimeout(this.heartbeatTimeout); } this.heartbeatTimeout = setTimeout(() => { console.warn('No heartbeat received within 60 seconds, reconnecting...'); this.reconnect(); }, this.heartbeatIntervalMs); } private reconnect() { if (this.ws) { this.ws.removeAllListeners(); this.ws.terminate(); } console.log('Reconnecting to WebSocket...'); setTimeout(() => { this.subscribeWs(); }, 1000); } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/swift/takerExample.ts
import { BASE_PRECISION, DriftClient, getMarketOrderParams, isVariant, MarketType, PositionDirection, digestSignature, } from '@drift-labs/sdk'; import { RuntimeSpec } from 'src/metrics'; import * as axios from 'axios'; import { sleepMs } from '../../utils'; const CONFIRM_TIMEOUT = 30_000; export class SwiftTaker { interval: NodeJS.Timeout | null = null; constructor( private driftClient: DriftClient, runtimeSpec: RuntimeSpec, private intervalMs: number ) { if (runtimeSpec.driftEnv != 'devnet') { throw new Error('SwiftTaker only works on devnet'); } } async init() { await this.startInterval(); } public async healthCheck() { return true; } async startInterval() { const marketIndexes = [0, 1, 2, 3, 4, 5, 6]; this.interval = setInterval(async () => { await sleepMs(Math.random() * 1000); // Randomize for different grafana metrics const slot = await this.driftClient.connection.getSlot(); const direction = Math.random() > 0.5 ? PositionDirection.LONG : PositionDirection.SHORT; const marketIndex = marketIndexes[Math.floor(Math.random() * marketIndexes.length)]; const oracleInfo = this.driftClient.getOracleDataForPerpMarket(marketIndex); const highPrice = oracleInfo.price.muln(101).divn(100); const lowPrice = oracleInfo.price; const orderMessage = { swiftOrderParams: getMarketOrderParams({ marketIndex, marketType: MarketType.PERP, direction, baseAssetAmount: BASE_PRECISION, auctionStartPrice: isVariant(direction, 'long') ? lowPrice : highPrice, auctionEndPrice: isVariant(direction, 'long') ? highPrice : lowPrice, auctionDuration: 30, }), subAccountId: 0, stopLossOrderParams: null, takeProfitOrderParams: null, }; const signature = this.driftClient.signSwiftOrderParamsMessage(orderMessage); const hash = digestSignature(Uint8Array.from(signature)); console.log( `Sending order in slot: ${slot}, time: ${Date.now()}, hash: ${hash}` ); const response = await axios.default.post( 'https://master.swift.drift.trade/orders', { market_index: marketIndex, market_type: 'perp', message: this.driftClient .encodeSwiftOrderParamsMessage(orderMessage) .toString('base64'), signature: signature.toString('base64'), taker_pubkey: this.driftClient.wallet.publicKey.toBase58(), }, { headers: { 'Content-Type': 'application/json', }, } ); if (response.status !== 200) { console.error('Failed to send order', response.data); return; } const expireTime = Date.now() + CONFIRM_TIMEOUT; while (Date.now() < expireTime) { const response = await axios.default.get( 'https://master.swift.drift.trade/confirmation/hash-status?hash=' + encodeURIComponent(hash), { validateStatus: (_status) => true, } ); if (response.status === 200) { console.log('Confirmed hash ', hash); return; } else if (response.status >= 500) { break; } await new Promise((resolve) => setTimeout(resolve, 10000)); } console.error('Failed to confirm hash: ', hash); }, this.intervalMs); } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/spotFiller/spotFillerMultithreaded.ts
/* eslint-disable @typescript-eslint/no-non-null-assertion */ import { DriftClient, BlockhashSubscriber, UserStatsMap, NodeToFill, JupiterClient, BulkAccountLoader, DriftEnv, isVariant, DLOBNode, getOrderSignature, BN, PhoenixV1FulfillmentConfigAccount, TEN, SlotSubscriber, DataAndSlot, MakerInfo, MarketType, UserAccount, decodeUser, PriorityFeeSubscriberMap, SpotMarkets, OpenbookV2FulfillmentConfigAccount, } from '@drift-labs/sdk'; import { Connection, AddressLookupTableAccount, LAMPORTS_PER_SOL, PublicKey, SendTransactionError, VersionedTransaction, TransactionSignature, VersionedTransactionResponse, ComputeBudgetProgram, TransactionInstruction, } from '@solana/web3.js'; import { LRUCache } from 'lru-cache'; import { FillerMultiThreadedConfig, GlobalConfig } from '../../config'; import { BundleSender } from '../../bundleSender'; import { logger } from '../../logger'; import { CounterValue, GaugeValue, HistogramValue, metricAttrFromUserAccount, Metrics, RuntimeSpec, } from '../../metrics'; import { MEMO_PROGRAM_ID, SimulateAndGetTxWithCUsResponse, getAllPythOracleUpdateIxs, getFillSignatureFromUserAccountAndOrderId, getNodeToFillSignature, getTransactionAccountMetas, handleSimResultError, initializeSpotFulfillmentAccounts, logMessageForNodeToFill, simulateAndGetTxWithCUs, sleepMs, swapFillerHardEarnedUSDCForSOL, validMinimumGasAmount, } from '../../utils'; import { ExplicitBucketHistogramAggregation, InstrumentType, View, } from '@opentelemetry/sdk-metrics-base'; import { ChildProcess } from 'child_process'; import { deserializeNodeToFill, deserializeOrder, serializeNodeToFill, spawnChild, } from '../filler-common/utils'; import { CACHED_BLOCKHASH_OFFSET, MAX_MAKERS_PER_FILL, MakerNodeMap, TX_CONFIRMATION_BATCH_SIZE, } from '../filler/fillerMultithreaded'; import { NodeToFillWithBuffer, SerializedNodeToFill, SerializedNodeToTrigger, } from '../filler-common/types'; import { isEndIxLog, isFillIxLog, isIxLog, isMakerBreachedMaintenanceMarginLog, isOrderDoesNotExistLog, isTakerBreachedMaintenanceMarginLog, } from '../../bots/common/txLogParse'; import { bs58 } from '@project-serum/anchor/dist/cjs/utils/bytes'; import { getErrorCode } from '../../error'; import { webhookMessage } from '../../webhook'; import { selectMakers } from '../../makerSelection'; import { PythPriceFeedSubscriber } from 'src/pythPriceFeedSubscriber'; enum METRIC_TYPES { try_fill_duration_histogram = 'try_fill_duration_histogram', runtime_specs = 'runtime_specs', last_try_fill_time = 'last_try_fill_time', mutex_busy = 'mutex_busy', sent_transactions = 'sent_transactions', landed_transactions = 'landed_transactions', tx_sim_error_count = 'tx_sim_error_count', pending_tx_sigs_to_confirm = 'pending_tx_sigs_to_confirm', pending_tx_sigs_loop_rate_limited = 'pending_tx_sigs_loop_rate_limited', evicted_pending_tx_sigs_to_confirm = 'evicted_pending_tx_sigs_to_confirm', estimated_tx_cu_histogram = 'estimated_tx_cu_histogram', simulate_tx_duration_histogram = 'simulate_tx_duration_histogram', expired_nodes_set_size = 'expired_nodes_set_size', jito_bundles_accepted = 'jito_bundles_accepted', jito_bundles_simulation_failure = 'jito_simulation_failure', jito_dropped_bundle = 'jito_dropped_bundle', jito_landed_tips = 'jito_landed_tips', jito_bundle_count = 'jito_bundle_count', } const errorCodesToSuppress = [ 6061, // 0x17AD Error Number: 6061. Error Message: Order does not exist. 6078, // 0x17BE Error Number: 6078. Error Message: PerpMarketNotFound // 6239, // 0x185F Error Number: 6239. Error Message: RevertFill. 6023, // 0x1787 Error Number: 6023. Error Message: PriceBandsBreached. 6111, // Error Message: OrderNotTriggerable. 6112, // Error Message: OrderDidNotSatisfyTriggerCondition. ]; function getMakerNodeFromNodeToFill( nodeToFill: NodeToFill ): DLOBNode | undefined { if (nodeToFill.makerNodes.length === 0) { return undefined; } if (nodeToFill.makerNodes.length > 1) { logger.error( `Found more than one maker node for spot nodeToFill: ${JSON.stringify( nodeToFill )}` ); return undefined; } return nodeToFill.makerNodes[0]; } const getNodeToTriggerSignature = (node: SerializedNodeToTrigger): string => { return getOrderSignature(node.node.order.orderId, node.node.userAccount); }; type DLOBBuilderWithProcess = { process: ChildProcess; ready: boolean; marketIndexes: number[]; }; export type TxType = 'fill' | 'trigger' | 'settlePnl'; export const TX_TIMEOUT_THRESHOLD_MS = 60_000; // tx considered stale after this time and give up confirming export const CONFIRM_TX_RATE_LIMIT_BACKOFF_MS = 5_000; // wait this long until trying to confirm tx again if rate limited export const CONFIRM_TX_INTERVAL_MS = 5_000; const FILL_ORDER_THROTTLE_BACKOFF = 1000; // the time to wait before trying to fill a throttled (error filling) node again const CONFIRM_TX_ATTEMPTS = 2; const SLOTS_UNTIL_JITO_LEADER_TO_SEND = 4; const TRIGGER_ORDER_COOLDOWN_MS = 1000; // the time to wait before trying to a node in the triggering map again const SIM_CU_ESTIMATE_MULTIPLIER = 1.15; const MAX_ACCOUNTS_PER_TX = 64; // solana limit, track https://github.com/solana-labs/solana/issues/27241 const logPrefix = '[SpotFiller]'; export class SpotFillerMultithreaded { public readonly name: string; public readonly dryRun: boolean; public readonly defaultIntervalMs: number = 2000; private driftClient: DriftClient; /// Connection to use specifically for confirming transactions private txConfirmationConnection: Connection; private slotSubscriber: SlotSubscriber; private globalConfig: GlobalConfig; private seenFillableOrders = new Set<string>(); private blockhashSubscriber: BlockhashSubscriber; private fillTxId = 0; private subaccount: number; private userStatsMap?: UserStatsMap; protected hasEnoughSolToFill: boolean = true; private phoenixFulfillmentConfigMap: Map< number, PhoenixV1FulfillmentConfigAccount >; private openbookFulfillmentConfigMap: Map< number, OpenbookV2FulfillmentConfigAccount >; private intervalIds: Array<NodeJS.Timer> = []; private throttledNodes = new Map<string, number>(); private triggeringNodes = new Map<string, number>(); private priorityFeeSubscriber: PriorityFeeSubscriberMap; private revertOnFailure: boolean; private simulateTxForCUEstimate?: boolean; private bundleSender?: BundleSender; /// stores txSigs that need to been confirmed in a slower loop, and the time they were confirmed protected pendingTxSigsToconfirm: LRUCache< string, { ts: number; nodeFilled: NodeToFillWithBuffer; fillTxId: number; txType: TxType; } >; protected expiredNodesSet: LRUCache<string, boolean>; protected confirmLoopRunning = false; protected confirmLoopRateLimitTs = Date.now() - CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; // metrics private metricsInitialized = false; protected metrics?: Metrics; private bootTimeMs?: number; protected runtimeSpec: RuntimeSpec; protected runtimeSpecsGauge?: GaugeValue; protected tryFillDurationHistogram?: HistogramValue; protected estTxCuHistogram?: HistogramValue; protected simulateTxHistogram?: HistogramValue; protected lastTryFillTimeGauge?: GaugeValue; protected mutexBusyCounter?: CounterValue; protected sentTxsCounter?: CounterValue; protected attemptedTriggersCounter?: CounterValue; protected landedTxsCounter?: CounterValue; protected txSimErrorCounter?: CounterValue; protected pendingTxSigsToConfirmGauge?: GaugeValue; protected pendingTxSigsLoopRateLimitedCounter?: CounterValue; protected evictedPendingTxSigsToConfirmCounter?: CounterValue; protected expiredNodesSetSize?: GaugeValue; protected jitoBundlesAcceptedGauge?: GaugeValue; protected jitoBundlesSimulationFailureGauge?: GaugeValue; protected jitoDroppedBundleGauge?: GaugeValue; protected jitoLandedTipsGauge?: GaugeValue; protected jitoBundleCount?: GaugeValue; protected rebalanceFiller?: boolean; protected jupiterClient?: JupiterClient; protected minimumAmountToFill: number; protected dlobBuilders: Map<number, DLOBBuilderWithProcess> = new Map(); protected marketIndexes: Array<number[]>; protected marketIndexesFlattened: number[]; private config: FillerMultiThreadedConfig; private dlobHealthy = true; private orderSubscriberHealthy = true; private pythPriceSubscriber?: PythPriceFeedSubscriber; private lookupTableAccounts: AddressLookupTableAccount[]; constructor( driftClient: DriftClient, slotSubscriber: SlotSubscriber, runtimeSpec: RuntimeSpec, globalConfig: GlobalConfig, config: FillerMultiThreadedConfig, bundleSender?: BundleSender, pythPriceSubscriber?: PythPriceFeedSubscriber, lookupTableAccounts: AddressLookupTableAccount[] = [] ) { this.globalConfig = globalConfig; if (!this.globalConfig.useJito && runtimeSpec.driftEnv === 'mainnet-beta') { throw new Error('Jito is required for spot multithreaded filler'); } this.config = config; this.name = config.botId; this.dryRun = config.dryRun; this.driftClient = driftClient; this.slotSubscriber = slotSubscriber; this.marketIndexes = config.marketIndexes; this.marketIndexesFlattened = config.marketIndexes.flat(); if (globalConfig.txConfirmationEndpoint) { this.txConfirmationConnection = new Connection( globalConfig.txConfirmationEndpoint ); } else { this.txConfirmationConnection = this.driftClient.connection; } this.runtimeSpec = runtimeSpec; this.pythPriceSubscriber = pythPriceSubscriber; this.lookupTableAccounts = lookupTableAccounts; this.initializeMetrics(config.metricsPort ?? this.globalConfig.metricsPort); const spotMarkets = this.marketIndexesFlattened.map((m) => { return { marketType: 'spot', marketIndex: m, }; }); spotMarkets.push({ marketType: 'spot', marketIndex: 1, }); // For rebalancing this.priorityFeeSubscriber = new PriorityFeeSubscriberMap({ driftMarkets: spotMarkets, driftPriorityFeeEndpoint: 'https://dlob.drift.trade', }); this.revertOnFailure = true; this.simulateTxForCUEstimate = config.simulateTxForCUEstimate ?? true; if (config.rebalanceFiller) { this.rebalanceFiller = true; } logger.info( `${this.name}: revertOnFailure: ${this.revertOnFailure}, simulateTxForCUEstimate: ${this.simulateTxForCUEstimate}` ); this.subaccount = config.subaccount ?? 0; if (!this.driftClient.hasUser(this.subaccount)) { throw new Error(`Subaccount ${this.subaccount} not found in driftClient`); } this.phoenixFulfillmentConfigMap = new Map< number, PhoenixV1FulfillmentConfigAccount >(); this.openbookFulfillmentConfigMap = new Map< number, OpenbookV2FulfillmentConfigAccount >(); if ( config.rebalanceFiller && this.runtimeSpec.driftEnv === 'mainnet-beta' ) { this.jupiterClient = new JupiterClient({ connection: this.driftClient.connection, }); } logger.info( `${this.name}: rebalancing enabled: ${this.jupiterClient !== undefined}` ); if (!validMinimumGasAmount(config.minGasBalanceToFill)) { this.minimumAmountToFill = 0.2 * LAMPORTS_PER_SOL; } else { // @ts-ignore this.minimumAmountToFill = config.minimumAmountToFill * LAMPORTS_PER_SOL; } logger.info( `${this.name}: minimumAmountToFill: ${this.minimumAmountToFill}` ); this.userStatsMap = new UserStatsMap( this.driftClient, new BulkAccountLoader( new Connection(this.driftClient.connection.rpcEndpoint), 'confirmed', 0 ) ); this.bundleSender = bundleSender; this.blockhashSubscriber = new BlockhashSubscriber({ connection: driftClient.connection, }); this.pendingTxSigsToconfirm = new LRUCache< string, { ts: number; nodeFilled: NodeToFillWithBuffer; fillTxId: number; txType: TxType; } >({ max: 10_000, ttl: TX_TIMEOUT_THRESHOLD_MS, ttlResolution: 1000, disposeAfter: this.recordEvictedTxSig.bind(this), }); this.expiredNodesSet = new LRUCache<string, boolean>({ max: 10_000, ttl: TX_TIMEOUT_THRESHOLD_MS, ttlResolution: 1000, }); } async init() { logger.info(`${this.name}: Initializing`); await this.blockhashSubscriber.subscribe(); await this.priorityFeeSubscriber.subscribe(); const feedIds: string[] = SpotMarkets[this.globalConfig.driftEnv!] .map((m) => m.pythFeedId) .filter((id) => id !== undefined) as string[]; await this.pythPriceSubscriber?.subscribe(feedIds); this.lookupTableAccounts.push( await this.driftClient.fetchMarketLookupTableAccount() ); const fillerSolBalance = await this.driftClient.connection.getBalance( this.driftClient.authority ); this.hasEnoughSolToFill = fillerSolBalance >= this.minimumAmountToFill; logger.info( `${this.name}: hasEnoughSolToFill: ${this.hasEnoughSolToFill}, balance: ${fillerSolBalance}` ); ({ phoenixFulfillmentConfigs: this.phoenixFulfillmentConfigMap, openbookFulfillmentConfigs: this.openbookFulfillmentConfigMap, } = await initializeSpotFulfillmentAccounts(this.driftClient, false)); this.startProcesses(); logger.info(`${this.name}: Initialized`); } public healthCheck(): boolean { if (!this.dlobHealthy) { logger.error(`${logPrefix} DLOB not healthy`); } if (!this.orderSubscriberHealthy) { logger.error(`${logPrefix} Order subscriber not healthy`); } return this.dlobHealthy && this.orderSubscriberHealthy; } private startProcesses() { logger.info(`${this.name}: Starting processes`); const orderSubscriberArgs = [ `--drift-env=${this.runtimeSpec.driftEnv}`, `--market-type=${this.config.marketType}`, `--market-indexes=${this.config.marketIndexes.map(String)}`, ]; const user = this.driftClient.getUser(this.subaccount); for (const marketIndexes of this.marketIndexes) { logger.info( `${this.name}: Spawning dlobBuilder for marketIndexes: ${marketIndexes}` ); const dlobBuilderArgs = [ `--drift-env=${this.runtimeSpec.driftEnv}`, `--market-type=${this.config.marketType}`, `--market-indexes=${marketIndexes.map(String)}`, ]; const dlobBuilderProcess = spawnChild( './src/experimental-bots/filler-common/dlobBuilder.ts', dlobBuilderArgs, 'dlobBuilder', (msg: any) => { switch (msg.type) { case 'initialized': { const dlobBuilder = this.dlobBuilders.get(msg.data[0]); if (dlobBuilder) { dlobBuilder.ready = true; for (const marketIndex of msg.data) { this.dlobBuilders.set(Number(marketIndex), dlobBuilder); } logger.info( `${logPrefix} dlobBuilderProcess initialized and acknowledged` ); } } break; case 'triggerableNodes': if (this.dryRun) { logger.info(`Triggerable node received`); } else { this.triggerNodes(msg.data); } this.lastTryFillTimeGauge?.setLatestValue( Date.now(), metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); break; case 'fillableNodes': if (this.dryRun) { logger.info(`Fillable node received`); } else { this.fillNodes(msg.data); } this.lastTryFillTimeGauge?.setLatestValue( Date.now(), metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); break; case 'health': this.dlobHealthy = msg.data.healthy; break; } }, '[FillerMultithreaded]' ); dlobBuilderProcess.on('exit', (code) => { logger.error(`dlobBuilder exited with code ${code}`); process.exit(code || 1); }); for (const marketIndex of marketIndexes) { this.dlobBuilders.set(Number(marketIndex), { process: dlobBuilderProcess, ready: false, marketIndexes: marketIndexes.map(Number), }); } logger.info( `dlobBuilder spawned with pid: ${dlobBuilderProcess.pid} marketIndexes: ${dlobBuilderArgs}` ); } const routeMessageToDlobBuilder = (msg: any) => { const dlobBuilder = this.dlobBuilders.get(Number(msg.data.marketIndex)); if (dlobBuilder === undefined) { logger.error( `Received message for unknown marketIndex: ${msg.data.marketIndex}` ); return; } if (dlobBuilder.marketIndexes.includes(Number(msg.data.marketIndex))) { if (typeof dlobBuilder.process.send == 'function') { if (dlobBuilder.ready) { dlobBuilder.process.send(msg); return; } } } }; const orderSubscriberProcess = spawnChild( './src/experimental-bots/filler-common/orderSubscriberFiltered.ts', orderSubscriberArgs, 'orderSubscriber', (msg: any) => { switch (msg.type) { case 'userAccountUpdate': routeMessageToDlobBuilder(msg); break; case 'health': this.orderSubscriberHealthy = msg.data.healthy; break; } }, '[FillerMultithreaded]' ); orderSubscriberProcess.on('exit', (code) => { logger.error(`orderSubscriber exited with code ${code}`); process.exit(code || 1); }); process.on('SIGINT', () => { logger.info(`${logPrefix} Received SIGINT, killing children`); this.dlobBuilders.forEach((value: DLOBBuilderWithProcess, _: number) => { value.process.kill(); }); orderSubscriberProcess.kill(); process.exit(0); }); logger.info( `orderSubscriber spawned with pid: ${orderSubscriberProcess.pid}` ); if (this.rebalanceFiller) { this.intervalIds.push( setInterval(this.rebalanceSpotFiller.bind(this), 60_000) ); } this.intervalIds.push( setInterval(this.confirmPendingTxSigs.bind(this), CONFIRM_TX_INTERVAL_MS) ); if (this.bundleSender) { this.intervalIds.push( setInterval(this.recordJitoBundleStats.bind(this), 10_000) ); } } private async getPythIxsFromNode( node: NodeToFillWithBuffer | SerializedNodeToTrigger ): Promise<TransactionInstruction[]> { const marketIndex = node.node.order?.marketIndex; if (marketIndex === undefined) { throw new Error('Market index not found on node'); } if (!this.pythPriceSubscriber) { throw new Error('Pyth price subscriber not initialized'); } const pythIxs = await getAllPythOracleUpdateIxs( this.runtimeSpec.driftEnv as DriftEnv, marketIndex, MarketType.SPOT, this.pythPriceSubscriber!, this.driftClient, this.globalConfig.numNonActiveOraclesToPush ?? 0, this.marketIndexesFlattened ); return pythIxs; } public async triggerNodes( serializedNodesToTrigger: SerializedNodeToTrigger[] ) { if (!this.hasEnoughSolToFill) { logger.info( `Not enough SOL to fill, skipping executeTriggerablePerpNodes` ); return; } logger.info( `${logPrefix} Triggering ${serializedNodesToTrigger.length} nodes...` ); const seenTriggerableNodes = new Set<string>(); const filteredTriggerableNodes = serializedNodesToTrigger.filter((node) => { const sig = getNodeToTriggerSignature(node); if (seenTriggerableNodes.has(sig)) { return false; } seenTriggerableNodes.add(sig); return this.filterTriggerableNodes(node); }); logger.info( `${logPrefix} Filtered down to ${filteredTriggerableNodes.length} triggerable nodes...` ); const buildForBundle = this.shouldBuildForBundle(); try { await this.executeTriggerableSpotNodes( filteredTriggerableNodes, !!buildForBundle ); } catch (e) { if (e instanceof Error) { logger.error( `${logPrefix} Error triggering nodes: ${ e.stack ? e.stack : e.message }` ); } } } private filterTriggerableNodes( nodeToTrigger: SerializedNodeToTrigger ): boolean { if (nodeToTrigger.node.haveTrigger) { return false; } const now = Date.now(); const nodeToFillSignature = getNodeToTriggerSignature(nodeToTrigger); const timeStartedToTriggerNode = this.triggeringNodes.get(nodeToFillSignature); if (timeStartedToTriggerNode) { if (timeStartedToTriggerNode + TRIGGER_ORDER_COOLDOWN_MS > now) { return false; } } return true; } private async executeTriggerableSpotNodes( serializedNodesToTrigger: SerializedNodeToTrigger[], buildForBundle: boolean ) { const driftUser = this.driftClient.getUser(this.subaccount); for (const nodeToTrigger of serializedNodesToTrigger) { nodeToTrigger.node.haveTrigger = true; // @ts-ignore const buffer = Buffer.from(nodeToTrigger.node.userAccountData.data); // @ts-ignore const userAccount = decodeUser(buffer); const nodeSignature = getNodeToTriggerSignature(nodeToTrigger); this.triggeringNodes.set(nodeSignature, Date.now()); const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( Math.max( ...serializedNodesToTrigger.map( (node: SerializedNodeToTrigger) => { return this.priorityFeeSubscriber.getPriorityFees( 'spot', node.node.order.marketIndex )!.medium; } ) ) * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), }) ); } ixs.push( await this.driftClient.getTriggerOrderIx( new PublicKey(nodeToTrigger.node.userAccount), userAccount, deserializeOrder(nodeToTrigger.node.order), driftUser.userAccountPublicKey ) ); if (this.revertOnFailure) { ixs.push( await this.driftClient.getRevertFillIx(driftUser.userAccountPublicKey) ); } const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'trigger', simError: simResult.simError !== null, ...metricAttrFromUserAccount( driftUser.userAccountPublicKey, driftUser.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'trigger', simError: simResult.simError !== null, ...metricAttrFromUserAccount( driftUser.userAccountPublicKey, driftUser.getUserAccount() ), }); if (this.simulateTxForCUEstimate && simResult.simError) { handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (executeTriggerableSpotNodesForMarket)` ); logger.error( `executeTriggerableSpotNodesForMarket simError: (simError: ${JSON.stringify( simResult.simError )})` ); } else { if (!this.dryRun) { if (this.hasEnoughSolToFill) { // @ts-ignore; simResult.tx.sign([this.driftClient.wallet.payer]); const txSig = bs58.encode(simResult.tx.signatures[0]); if (buildForBundle) { await this.sendTxThroughJito(simResult.tx, 'triggerOrder', txSig); this.removeTriggeringNodes(nodeToTrigger); } else if (this.canSendOutsideJito()) { this.driftClient .sendTransaction(simResult.tx) .then((txSig) => { logger.info( `Triggered user (account: ${nodeToTrigger.node.userAccount.toString()}, order: ${nodeToTrigger.node.order.orderId.toString()}` ); logger.info(`Tx: ${txSig}`); }) .catch((error) => { nodeToTrigger.node.haveTrigger = false; const errorCode = getErrorCode(error); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(error as Error).message.includes( 'Transaction was not confirmed' ) ) { const user = this.driftClient.getUser(this.subaccount); this.txSimErrorCounter?.add(1, { errorCode: errorCode.toString(), ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); logger.error( `Error(${errorCode}) triggering order for user(account: ${nodeToTrigger.node.userAccount.toString()}) order: ${nodeToTrigger.node.order.orderId.toString()} ` ); logger.error(error); webhookMessage( `[${ this.name }]: Error(${errorCode}) triggering order for user(account: ${nodeToTrigger.node.userAccount.toString()}) order: ${nodeToTrigger.node.order.orderId.toString()} \n${ error.stack ? error.stack : error.message } ` ); } }) .finally(() => { this.removeTriggeringNodes(nodeToTrigger); }); } } else { logger.info(`Not enough SOL to fill, not triggering node`); } } else { logger.info(`dry run, not triggering node`); } } } const user = this.driftClient.getUser(this.subaccount); this.attemptedTriggersCounter?.add( serializedNodesToTrigger.length, metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ) ); } public async fillNodes(serializedNodesToFill: SerializedNodeToFill[]) { if (!this.hasEnoughSolToFill) { logger.info('Not enough SOL to fill, skipping fillNodes'); return; } logger.debug(`${logPrefix} filling ${serializeNodeToFill.length} nodes...`); const deserializedNodesToFill = serializedNodesToFill.map( deserializeNodeToFill ); const seenFillableNodes = new Set<string>(); const filteredFillableNodes = deserializedNodesToFill.filter((node) => { const sig = getNodeToFillSignature(node); if (seenFillableNodes.has(sig)) { return false; } seenFillableNodes.add(sig); return true; }); logger.debug( `${logPrefix} filtered down to ${filteredFillableNodes.length} nodes...` ); const buildForBundle = this.shouldBuildForBundle(); try { for (const node of filteredFillableNodes) { if (this.seenFillableOrders.has(getNodeToFillSignature(node))) { logger.debug( // @ts-ignore `${logPrefix} already filled order (account: ${ node.node.userAccount }, order ${node.node.order?.orderId.toString()}` ); continue; } this.seenFillableOrders.add(getNodeToFillSignature(node)); if (node.makerNodes.length > 1) { this.tryFillMultiMakerSpotNodes(node, !!buildForBundle); } else { this.tryFillSpotNode(node, !!buildForBundle); } } } catch (e) { if (e instanceof Error) { logger.error( `${logPrefix} Error filling nodes: ${e.stack ? e.stack : e.message}` ); } } } protected async tryFillMultiMakerSpotNodes( nodeToFill: NodeToFillWithBuffer, buildForBundle: boolean ) { let nodeWithMakerSet = nodeToFill; const fillTxId = this.fillTxId++; while ( !(await this.fillMultiMakerSpotNodes( fillTxId, nodeWithMakerSet, buildForBundle )) ) { const newMakerSet = nodeWithMakerSet.makerNodes .sort(() => 0.5 - Math.random()) .slice(0, Math.ceil(nodeWithMakerSet.makerNodes.length / 2)); nodeWithMakerSet = { node: nodeWithMakerSet.node, makerNodes: newMakerSet, userAccountData: nodeWithMakerSet.userAccountData, makerAccountData: nodeWithMakerSet.makerAccountData, }; if (newMakerSet.length === 0) { logger.error( `No makers left to use for multi maker spot node (fillTxId: ${fillTxId})` ); return; } } } private async fillMultiMakerSpotNodes( fillTxId: number, nodeToFill: NodeToFillWithBuffer, buildForBundle: boolean ): Promise<boolean> { const spotPrecision = TEN.pow( new BN( this.driftClient.getSpotMarketAccount( nodeToFill.node.order!.marketIndex )!.decimals ) ); const ixs: Array<TransactionInstruction> = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( this.priorityFeeSubscriber.getPriorityFees( 'spot', nodeToFill.node.order!.marketIndex )!.high ), }) ); } try { const { makerInfos, takerUser, takerUserPubKey, takerUserSlot, marketType, } = await this.getNodeFillInfo(nodeToFill); logger.info( logMessageForNodeToFill( nodeToFill, takerUserPubKey, takerUserSlot, makerInfos, this.slotSubscriber.getSlot(), `Filling multi maker spot node with ${nodeToFill.makerNodes.length} makers (fillTxId: ${fillTxId})`, spotPrecision, 'SHOULD_NOT_HAVE_NO_MAKERS' ) ); if (!isVariant(marketType, 'spot')) { throw new Error('expected spot market type'); } const user = this.driftClient.getUser(this.subaccount); let makerInfosToUse = makerInfos; const buildTxWithMakerInfos = async ( makers: DataAndSlot<MakerInfo>[] ): Promise<SimulateAndGetTxWithCUsResponse | undefined> => { if (makers.length === 0) { return undefined; } ixs.push( await this.driftClient.getFillSpotOrderIx( new PublicKey(takerUserPubKey), takerUser, nodeToFill.node.order!, undefined, makers.map((m) => m.data), undefined, user.userAccountPublicKey ) ); if (this.revertOnFailure) { ixs.push( await this.driftClient.getRevertFillIx(user.userAccountPublicKey) ); } ixs.push( new TransactionInstruction({ programId: MEMO_PROGRAM_ID, keys: [], data: Buffer.from(`mm-spot ${fillTxId} ${makers.length}`, 'utf-8'), }) ); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: false, }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'multiMakerFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'multiMakerFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); return simResult; }; let simResult = await buildTxWithMakerInfos(makerInfosToUse); if (simResult === undefined) { return true; } let txAccounts = simResult.tx.message.getAccountKeys({ addressLookupTableAccounts: this.lookupTableAccounts, }).length; let attempt = 0; while (txAccounts > MAX_ACCOUNTS_PER_TX && makerInfosToUse.length > 0) { logger.info( `(fillTxId: ${fillTxId} attempt ${attempt++}) Too many accounts, remove 1 and try again (had ${ makerInfosToUse.length } maker and ${txAccounts} accounts)` ); makerInfosToUse = makerInfosToUse.slice(0, makerInfosToUse.length - 1); simResult = await buildTxWithMakerInfos(makerInfosToUse); } if (makerInfosToUse.length === 0) { logger.error( `No makerInfos left to use for multi maker spot node (fillTxId: ${fillTxId})` ); return true; } if (simResult === undefined) { logger.error( `No simResult after ${attempt} attempts (fillTxId: ${fillTxId})` ); return true; } txAccounts = simResult.tx.message.getAccountKeys({ addressLookupTableAccounts: this.lookupTableAccounts, }).length; logger.info( `tryFillMultiMakerSpotNodes estimated CUs: ${simResult.cuEstimate} (fillTxId: ${fillTxId})` ); if (simResult.simError) { logger.error( `Error simulating multi maker spot node (fillTxId: ${fillTxId}): ${JSON.stringify( simResult.simError )}\nTaker slot: ${takerUserSlot}\nMaker slots: ${makerInfosToUse .map((m) => ` ${m.data.maker.toBase58()}: ${m.slot}`) .join('\n')}` ); handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (fillTxId: ${fillTxId})` ); if (simResult.simTxLogs) { const { exceededCUs } = await this.handleTransactionLogs( nodeToFill, simResult.simTxLogs ); if (exceededCUs) { return false; } } } else { if (!this.dryRun) { if (this.hasEnoughSolToFill) { this.sendFillTxAndParseLogs( fillTxId, nodeToFill, simResult.tx, buildForBundle, this.lookupTableAccounts ); } else { logger.info( `not sending tx because we don't have enough SOL to fill (fillTxId: ${fillTxId})` ); } } else { logger.info(`dry run, not sending tx (fillTxId: ${fillTxId})`); } } } catch (e) { if (e instanceof Error) { logger.error( `Error filling multi maker spot node (fillTxId: ${fillTxId}): ${ e.stack ? e.stack : e.message }` ); } } return true; } protected async tryFillSpotNode( nodeToFill: NodeToFillWithBuffer, buildForBundle: boolean ) { const fillTxId = this.fillTxId++; const node = nodeToFill.node!; const order = node.order!; const spotMarket = this.driftClient.getSpotMarketAccount( order.marketIndex )!; const spotMarketPrecision = TEN.pow(new BN(spotMarket.decimals)); const { makerInfos, takerUser, takerUserPubKey, takerUserSlot, marketType, } = await this.getNodeFillInfo(nodeToFill); if (!isVariant(marketType, 'spot')) { throw new Error('expected spot market type'); } const fallbackSource = isVariant(order.direction, 'short') ? nodeToFill.fallbackBidSource : nodeToFill.fallbackAskSource; const makerInfo = makerInfos.length > 0 ? makerInfos[0].data : undefined; let fulfillmentConfig: | PhoenixV1FulfillmentConfigAccount | OpenbookV2FulfillmentConfigAccount | undefined = undefined; if (makerInfo === undefined) { if (fallbackSource === 'phoenix') { const cfg = this.phoenixFulfillmentConfigMap.get( nodeToFill.node.order!.marketIndex ); if (cfg && isVariant(cfg.status, 'enabled')) { fulfillmentConfig = cfg; } } else if (fallbackSource === 'openbook') { const cfg = this.openbookFulfillmentConfigMap.get( nodeToFill.node.order!.marketIndex ); if (cfg && isVariant(cfg.status, 'enabled')) { fulfillmentConfig = cfg; } } else { logger.error( `makerInfo doesnt exist and unknown fallback source: ${fallbackSource} (fillTxId: ${fillTxId})` ); } } logger.info( logMessageForNodeToFill( nodeToFill, takerUserPubKey, takerUserSlot, makerInfos, this.slotSubscriber.getSlot(), `Filling spot node with ${nodeToFill.makerNodes.length} makers (fillTxId: ${fillTxId})`, spotMarketPrecision, fallbackSource as string ) ); const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { const priorityFee = Math.floor( this.priorityFeeSubscriber.getPriorityFees( 'spot', nodeToFill.node.order!.marketIndex )!.high ); logger.info(`(fillTxId: ${fillTxId}) Using priority fee: ${priorityFee}`); ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: priorityFee, }) ); } const user = this.driftClient.getUser(this.subaccount); ixs.push( await this.driftClient.getFillSpotOrderIx( new PublicKey(takerUserPubKey), takerUser, nodeToFill.node.order, fulfillmentConfig, makerInfo, undefined, user.userAccountPublicKey ) ); if (this.revertOnFailure) { ixs.push( await this.driftClient.getRevertFillIx(user.userAccountPublicKey) ); } ixs.push( new TransactionInstruction({ programId: MEMO_PROGRAM_ID, keys: [], data: Buffer.from(`ff-spot ${fillTxId}`, 'utf-8'), }) ); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), dumpTx: false, }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'spotFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'spotFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); if (this.simulateTxForCUEstimate && simResult.simError) { logger.error( `simError: ${JSON.stringify( simResult.simError )} (fillTxId: ${fillTxId})` ); handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (fillTxId: ${fillTxId})` ); if (simResult.simTxLogs) { await this.handleTransactionLogs(nodeToFill, simResult.simTxLogs); } } else { if (this.dryRun) { logger.info(`dry run, not filling spot order (fillTxId: ${fillTxId})`); } else { if (this.hasEnoughSolToFill) { this.sendFillTxAndParseLogs( fillTxId, nodeToFill, simResult.tx, buildForBundle, this.lookupTableAccounts ); } else { logger.info( `not sending tx because we don't have enough SOL to fill (fillTxId: ${fillTxId})` ); } } } } protected async getNodeFillInfo(nodeToFill: NodeToFillWithBuffer): Promise<{ makerInfos: Array<DataAndSlot<MakerInfo>>; takerUser: UserAccount; takerUserSlot: number; takerUserPubKey: string; marketType: MarketType; }> { const makerInfos: Array<DataAndSlot<MakerInfo>> = []; if (nodeToFill.makerNodes.length > 0) { let makerNodesMap: MakerNodeMap = new Map<string, DLOBNode[]>(); for (const makerNode of nodeToFill.makerNodes) { if (this.isDLOBNodeThrottled(makerNode)) { continue; } if (!makerNode.userAccount) { continue; } if (makerNodesMap.has(makerNode.userAccount!)) { makerNodesMap.get(makerNode.userAccount!)!.push(makerNode); } else { makerNodesMap.set(makerNode.userAccount!, [makerNode]); } } if (makerNodesMap.size > MAX_MAKERS_PER_FILL) { logger.info(`selecting from ${makerNodesMap.size} makers`); makerNodesMap = selectMakers(makerNodesMap); logger.info(`selected: ${Array.from(makerNodesMap.keys()).join(',')}`); } const makerInfoMap = new Map(JSON.parse(nodeToFill.makerAccountData)); for (const [makerAccount, makerNodes] of makerNodesMap) { const makerNode = makerNodes[0]; const makerUserAccount = decodeUser( // @ts-ignore Buffer.from(makerInfoMap.get(makerAccount)!.data) ); const makerAuthority = makerUserAccount.authority; const makerUserStats = ( await this.userStatsMap!.mustGet(makerAuthority.toString()) ).userStatsAccountPublicKey; makerInfos.push({ slot: this.slotSubscriber.getSlot(), data: { maker: new PublicKey(makerAccount), makerUserAccount: makerUserAccount, order: makerNode.order, makerStats: makerUserStats, }, }); } } const takerUserAccount = decodeUser( // @ts-ignore Buffer.from(nodeToFill.userAccountData.data) ); return Promise.resolve({ makerInfos, takerUser: takerUserAccount, takerUserSlot: this.slotSubscriber.getSlot(), takerUserPubKey: nodeToFill.node.userAccount!, marketType: nodeToFill.node.order!.marketType, }); } protected isThrottledNodeStillThrottled(throttleKey: string): boolean { const lastFillAttempt = this.throttledNodes.get(throttleKey) || 0; if (lastFillAttempt + FILL_ORDER_THROTTLE_BACKOFF > Date.now()) { return true; } else { this.clearThrottledNode(throttleKey); return false; } } protected isDLOBNodeThrottled(dlobNode: DLOBNode): boolean { if (!dlobNode.userAccount || !dlobNode.order) { return false; } // first check if the userAccount itself is throttled const userAccountPubkey = dlobNode.userAccount; if (this.throttledNodes.has(userAccountPubkey)) { if (this.isThrottledNodeStillThrottled(userAccountPubkey)) { return true; } else { return false; } } // then check if the specific order is throttled const orderSignature = getFillSignatureFromUserAccountAndOrderId( dlobNode.userAccount, dlobNode.order.orderId.toString() ); if (this.throttledNodes.has(orderSignature)) { if (this.isThrottledNodeStillThrottled(orderSignature)) { return true; } else { return false; } } return false; } private clearThrottledNode(nodeSignature: string) { this.throttledNodes.delete(nodeSignature); } private removeTriggeringNodes(node: SerializedNodeToTrigger) { this.triggeringNodes.delete(getNodeToTriggerSignature(node)); } protected initializeMetrics(metricsPort?: number) { if (this.globalConfig.disableMetrics) { logger.info( `${this.name}: globalConfig.disableMetrics is true, not initializing metrics` ); return; } if (!metricsPort) { logger.info( `${this.name}: bot.metricsPort and global.metricsPort not set, not initializing metrics` ); return; } if (this.metricsInitialized) { logger.error('Tried to initilaize metrics multiple times'); return; } this.metrics = new Metrics( this.name, [ new View({ instrumentName: METRIC_TYPES.try_fill_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 0 + i * 5), true ), }), new View({ instrumentName: METRIC_TYPES.estimated_tx_cu_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(15), (_, i) => 0 + i * 100_000), true ), }), new View({ instrumentName: METRIC_TYPES.simulate_tx_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 50 + i * 50), true ), }), ], metricsPort! ); this.bootTimeMs = Date.now(); this.runtimeSpecsGauge = this.metrics.addGauge( METRIC_TYPES.runtime_specs, 'Runtime sepcification of this program' ); this.estTxCuHistogram = this.metrics.addHistogram( METRIC_TYPES.estimated_tx_cu_histogram, 'Histogram of the estimated fill cu used' ); this.simulateTxHistogram = this.metrics.addHistogram( METRIC_TYPES.simulate_tx_duration_histogram, 'Histogram of the duration of simulateTransaction RPC calls' ); this.lastTryFillTimeGauge = this.metrics.addGauge( METRIC_TYPES.last_try_fill_time, 'Last time that fill was attempted' ); this.landedTxsCounter = this.metrics.addCounter( METRIC_TYPES.landed_transactions, 'Count of fills that we successfully landed' ); this.sentTxsCounter = this.metrics.addCounter( METRIC_TYPES.sent_transactions, 'Count of transactions we sent out' ); this.txSimErrorCounter = this.metrics.addCounter( METRIC_TYPES.tx_sim_error_count, 'Count of errors from simulating transactions' ); this.pendingTxSigsToConfirmGauge = this.metrics.addGauge( METRIC_TYPES.pending_tx_sigs_to_confirm, 'Count of tx sigs that are pending confirmation' ); this.pendingTxSigsLoopRateLimitedCounter = this.metrics.addCounter( METRIC_TYPES.pending_tx_sigs_loop_rate_limited, 'Count of times the pending tx sigs loop was rate limited' ); this.evictedPendingTxSigsToConfirmCounter = this.metrics.addCounter( METRIC_TYPES.evicted_pending_tx_sigs_to_confirm, 'Count of tx sigs that were evicted from the pending tx sigs to confirm cache' ); this.expiredNodesSetSize = this.metrics.addGauge( METRIC_TYPES.expired_nodes_set_size, 'Count of nodes that are expired' ); this.jitoBundlesAcceptedGauge = this.metrics.addGauge( METRIC_TYPES.jito_bundles_accepted, 'Count of jito bundles that were accepted' ); this.jitoBundlesSimulationFailureGauge = this.metrics.addGauge( METRIC_TYPES.jito_bundles_simulation_failure, 'Count of jito bundles that failed simulation' ); this.jitoDroppedBundleGauge = this.metrics.addGauge( METRIC_TYPES.jito_dropped_bundle, 'Count of jito bundles that were dropped' ); this.jitoLandedTipsGauge = this.metrics.addGauge( METRIC_TYPES.jito_landed_tips, 'Gauge of historic bundle tips that landed' ); this.jitoBundleCount = this.metrics.addGauge( METRIC_TYPES.jito_bundle_count, 'Count of jito bundles that were sent, and their status' ); this.metrics?.finalizeObservables(); this.runtimeSpecsGauge.setLatestValue(this.bootTimeMs, this.runtimeSpec); this.metricsInitialized = true; } protected recordEvictedTxSig( _tsTxSigAdded: { ts: number; nodeFilled: NodeToFillWithBuffer }, txSig: string, reason: 'evict' | 'set' | 'delete' ) { if (reason === 'evict' || reason === 'delete') { logger.debug( `Removing tx sig ${txSig} from this.txSigsToConfirm, new size: ${this.pendingTxSigsToconfirm.size}` ); } if (reason === 'evict') { logger.info( `${this.name}: Evicted tx sig ${txSig} from this.txSigsToConfirm` ); const user = this.driftClient.getUser(this.subaccount); this.evictedPendingTxSigsToConfirmCounter?.add(1, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } private async getBlockhashForTx(): Promise<string> { const cachedBlockhash = this.blockhashSubscriber.getLatestBlockhash( CACHED_BLOCKHASH_OFFSET ); if (cachedBlockhash) { return cachedBlockhash.blockhash as string; } const recentBlockhash = await this.driftClient.connection.getLatestBlockhash({ commitment: 'confirmed', }); return recentBlockhash.blockhash; } protected slotsUntilJitoLeader(): number | undefined { return this.bundleSender?.slotsUntilNextLeader(); } protected recordJitoBundleStats() { const user = this.driftClient.getUser(this.subaccount); const bundleStats = this.bundleSender?.getBundleStats(); if (bundleStats) { this.jitoBundlesAcceptedGauge?.setLatestValue(bundleStats.accepted, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.jitoBundlesSimulationFailureGauge?.setLatestValue( bundleStats.simulationFailure, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoDroppedBundleGauge?.setLatestValue(bundleStats.droppedPruned, { type: 'pruned', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.jitoDroppedBundleGauge?.setLatestValue( bundleStats.droppedBlockhashExpired, { type: 'blockhash_expired', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoDroppedBundleGauge?.setLatestValue( bundleStats.droppedBlockhashNotFound, { type: 'blockhash_not_found', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); } const tipStream = this.bundleSender?.getTipStream(); if (tipStream) { this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_25th_percentile, { percentile: 'p25', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_50th_percentile, { percentile: 'p50', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_75th_percentile, { percentile: 'p75', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_95th_percentile, { percentile: 'p95', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_99th_percentile, { percentile: 'p99', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.ema_landed_tips_50th_percentile, { percentile: 'ema_p50', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); const bundleFailCount = this.bundleSender?.getBundleFailCount(); const bundleLandedCount = this.bundleSender?.getLandedCount(); const bundleDroppedCount = this.bundleSender?.getDroppedCount(); this.jitoBundleCount?.setLatestValue(bundleFailCount ?? 0, { type: 'fail_count', }); this.jitoBundleCount?.setLatestValue(bundleLandedCount ?? 0, { type: 'landed', }); this.jitoBundleCount?.setLatestValue(bundleDroppedCount ?? 0, { type: 'dropped', }); } } protected async confirmPendingTxSigs() { const user = this.driftClient.getUser(this.subaccount); this.pendingTxSigsToConfirmGauge?.setLatestValue( this.pendingTxSigsToconfirm.size, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.expiredNodesSetSize?.setLatestValue(this.expiredNodesSet.size, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); const nextTimeCanRun = this.confirmLoopRateLimitTs + CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; if (Date.now() < nextTimeCanRun) { logger.warn( `Skipping confirm loop due to rate limit, next run in ${ nextTimeCanRun - Date.now() } ms` ); return; } if (this.confirmLoopRunning) { return; } this.confirmLoopRunning = true; try { logger.info(`Confirming tx sigs: ${this.pendingTxSigsToconfirm.size}`); const start = Date.now(); const txEntries = Array.from(this.pendingTxSigsToconfirm.entries()); for (let i = 0; i < txEntries.length; i += TX_CONFIRMATION_BATCH_SIZE) { const txSigsBatch = txEntries.slice(i, i + TX_CONFIRMATION_BATCH_SIZE); const txs = await this.txConfirmationConnection?.getTransactions( txSigsBatch.map((tx) => tx[0]), { commitment: 'confirmed', maxSupportedTransactionVersion: 0, } ); for (let j = 0; j < txs.length; j++) { logger.debug(`Confirming transactions: ${j}/${txs.length}`); const txResp = txs[j]; const txConfirmationInfo = txSigsBatch[j]; const txSig = txConfirmationInfo[0]; const txAge = txConfirmationInfo[1].ts - Date.now(); const nodeFilled = txConfirmationInfo[1].nodeFilled; const txType = txConfirmationInfo[1].txType; const fillTxId = txConfirmationInfo[1].fillTxId; if (txResp === null) { logger.info( `Tx not found, (fillTxId: ${fillTxId}) (txType: ${txType}): ${txSig}, tx age: ${ txAge / 1000 } s` ); if (Math.abs(txAge) > TX_TIMEOUT_THRESHOLD_MS) { logger.debug( `Removing expired txSig ${txSig} from pendingTxSigsToconfirm, new size: ${this.pendingTxSigsToconfirm.size}` ); this.pendingTxSigsToconfirm.delete(txSig); } } else { logger.info( `Tx landed (fillTxId: ${fillTxId}) (txType: ${txType}): ${txSig}, tx age: ${ txAge / 1000 } s` ); logger.debug( `Removing confirmed txSig ${txSig} from pendingTxSigsToconfirm, new size: ${this.pendingTxSigsToconfirm.size}` ); this.pendingTxSigsToconfirm.delete(txSig); if (txType === 'fill') { try { const result = await this.handleTransactionLogs( // @ts-ignore nodeFilled, txResp.meta?.logMessages ); if (result) { this.landedTxsCounter?.add(result.filledNodes, { type: txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } catch (e) { const err = e as Error; logger.error( `Error handling transaction logs: ${err.message}-${err.stack}` ); } } else { this.landedTxsCounter?.add(1, { type: txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } await sleepMs(500); } } logger.info(`Confirming tx sigs took: ${Date.now() - start} ms`); } catch (e) { const err = e as Error; if (err.message.includes('429')) { logger.info(`Confirming tx loop rate limited: ${err.message}`); this.confirmLoopRateLimitTs = Date.now(); this.pendingTxSigsLoopRateLimitedCounter?.add(1, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } else { logger.error( `Other error confirming tx sigs: ${err.message}-${err.stack}` ); } } finally { this.confirmLoopRunning = false; } } private async sendTxThroughJito( tx: VersionedTransaction, metadata: number | string, txSig?: string ) { if (this.bundleSender === undefined) { logger.error(`Called sendTxThroughJito without jito properly enabled`); return; } if ( this.bundleSender?.strategy === 'jito-only' || this.bundleSender?.strategy === 'hybrid' ) { const slotsUntilNextLeader = this.bundleSender?.slotsUntilNextLeader(); if (slotsUntilNextLeader !== undefined) { this.bundleSender.sendTransactions( [tx], `(fillTxId: ${metadata})`, txSig, false ); } } } private usingJito(): boolean { return this.bundleSender !== undefined; } private canSendOutsideJito(): boolean { return ( !this.usingJito() || this.bundleSender?.strategy === 'non-jito-only' || this.bundleSender?.strategy === 'hybrid' ); } private shouldBuildForBundle(): boolean { if (!this.usingJito()) { return false; } if (this.globalConfig.onlySendDuringJitoLeader === true) { const slotsUntilJito = this.slotsUntilJitoLeader(); if (slotsUntilJito === undefined) { return false; } return slotsUntilJito < SLOTS_UNTIL_JITO_LEADER_TO_SEND; } return true; } protected async registerTxSigToConfirm( txSig: TransactionSignature, now: number, nodeFilled: NodeToFillWithBuffer, fillTxId: number, txType: TxType ) { this.pendingTxSigsToconfirm.set(txSig, { ts: now, nodeFilled, fillTxId, txType, }); const user = this.driftClient.getUser(this.subaccount); this.sentTxsCounter?.add(1, { txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } private async processBulkFillTxLogs( fillTxId: number, nodeToFill: NodeToFill, txSig: string, tx?: VersionedTransaction ): Promise<number> { let txResp: VersionedTransactionResponse | null = null; let attempts = 0; while (txResp === null && attempts < CONFIRM_TX_ATTEMPTS) { logger.info( `(fillTxId: ${fillTxId}) waiting for https://solscan.io/tx/${txSig} to be confirmed` ); txResp = await this.driftClient.connection.getTransaction(txSig, { commitment: 'confirmed', maxSupportedTransactionVersion: 0, }); if (txResp === null) { if (tx !== undefined) { await this.driftClient.txSender.sendVersionedTransaction( tx, [], this.driftClient.opts ); } attempts++; await this.sleep(1000); } } if (txResp === null) { logger.error( `(fillTxId: ${fillTxId})tx ${txSig} not found after ${attempts}` ); return 0; } return ( await this.handleTransactionLogs(nodeToFill, txResp.meta!.logMessages!) ).filledNodes; } private async sleep(ms: number) { return new Promise((resolve) => setTimeout(resolve, ms)); } protected async sendFillTxAndParseLogs( fillTxId: number, nodeSent: NodeToFillWithBuffer, tx: VersionedTransaction, buildForBundle: boolean, lutAccounts: Array<AddressLookupTableAccount> ) { // @ts-ignore; tx.sign([this.driftClient.wallet.payer]); const txSig = bs58.encode(tx.signatures[0]); if (buildForBundle) { await this.sendTxThroughJito(tx, fillTxId, txSig); } else if (this.canSendOutsideJito()) { this.registerTxSigToConfirm( txSig, Date.now(), nodeSent, fillTxId, 'fill' ); const { estTxSize, accountMetas, writeAccs, txAccounts } = getTransactionAccountMetas(tx, lutAccounts); this.driftClient.txSender .sendVersionedTransaction(tx, [], this.driftClient.opts, true) .then(async (txSig) => { logger.info( `Filled spot order (fillTxId: ${fillTxId}): https://solscan.io/tx/${txSig.txSig}` ); const parseLogsStart = Date.now(); this.processBulkFillTxLogs(fillTxId, nodeSent, txSig.txSig, tx) .then((successfulFills) => { const processBulkFillLogsDuration = Date.now() - parseLogsStart; logger.info( `parse logs took ${processBulkFillLogsDuration}ms, successfulFills ${successfulFills} (fillTxId: ${fillTxId})` ); }) .catch((err) => { const e = err as Error; logger.error( `Failed to process fill tx logs (fillTxId: ${fillTxId}):\n${ e.stack ? e.stack : e.message }` ); webhookMessage( `[${this.name}]: :x: error processing fill tx logs:\n${ e.stack ? e.stack : e.message }` ); }); }) .catch(async (e) => { const simError = e as SendTransactionError; logger.error( `Failed to send packed tx txAccountKeys: ${txAccounts} (${writeAccs} writeable) (fillTxId: ${fillTxId}), error: ${simError.message}` ); if (e.message.includes('too large:')) { logger.error( `[${ this.name }]: :boxing_glove: Tx too large, estimated to be ${estTxSize} (fillTxId: ${fillTxId}). ${ e.message }\n${JSON.stringify(accountMetas)}` ); webhookMessage( `[${ this.name }]: :boxing_glove: Tx too large (fillTxId: ${fillTxId}). ${ e.message }\n${JSON.stringify(accountMetas)}` ); return; } if (simError.logs && simError.logs.length > 0) { await this.handleTransactionLogs(nodeSent, simError.logs); const errorCode = getErrorCode(e); logger.error( `Failed to send tx, sim error (fillTxId: ${fillTxId}) error code: ${errorCode}` ); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(e as Error).message.includes('Transaction was not confirmed') ) { const user = this.driftClient.getUser(this.subaccount); this.txSimErrorCounter?.add(1, { errorCode: errorCode.toString(), ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); logger.error( `Failed to send tx, sim error (fillTxId: ${fillTxId}) sim logs:\n${ simError.logs ? simError.logs.join('\n') : '' }\n${e.stack || e}` ); webhookMessage( `[${this.name}]: :x: error simulating tx:\n${ simError.logs ? simError.logs.join('\n') : '' }\n${e.stack || e}`, process.env.TX_LOG_WEBHOOK_URL ); } } }) .finally(() => { this.clearThrottledNode(getNodeToFillSignature(nodeSent)); }); } } /** * Iterates through a tx's logs and handles it appropriately e.g. throttling users, updating metrics, etc.) * * @param nodesFilled nodes that we sent a transaction to fill * @param logs logs from tx.meta.logMessages or this.driftClient.program._events._eventParser.parseLogs * * @returns number of nodes successfully filled, and whether the tx exceeded CUs */ private async handleTransactionLogs( nodeFilled: NodeToFill, logs: string[] | null | undefined ): Promise<{ filledNodes: number; exceededCUs: boolean }> { if (!logs) { return { filledNodes: 0, exceededCUs: false, }; } if (nodeFilled.node === undefined || nodeFilled.node.order === undefined) { logger.error(`nodeFilled.node or nodeFilled.node.order is undefined!`); throw new Error(`nodeFilled.node or nodeFilled.node.order is undefined!`); } let inFillIx = false; let errorThisFillIx = false; let successCount = 0; for (const log of logs) { if (log === null) { logger.error(`log is null`); continue; } const node = nodeFilled.node; const order = node.order!; if (isEndIxLog(this.driftClient.program.programId.toBase58(), log)) { if (!errorThisFillIx) { successCount++; } inFillIx = false; errorThisFillIx = false; continue; } if (isIxLog(log)) { if (isFillIxLog(log)) { inFillIx = true; errorThisFillIx = false; } else { inFillIx = false; } continue; } if (!inFillIx) { // this is not a log for a fill instruction continue; } // try to handle the log line const orderIdDoesNotExist = isOrderDoesNotExistLog(log); if (orderIdDoesNotExist) { logger.error( `spot node filled: ${node.userAccount!.toString()}, ${ order.orderId }; does not exist (filled by someone else); ${log}` ); this.throttledNodes.delete(getNodeToFillSignature(nodeFilled)); errorThisFillIx = true; continue; } const makerBreachedMaintenanceMargin = isMakerBreachedMaintenanceMarginLog(log); if (makerBreachedMaintenanceMargin) { const makerNode = getMakerNodeFromNodeToFill(nodeFilled); if (!makerNode) { logger.error( `Got maker breached maint. margin log, but don't have a maker node: ${log}\n${JSON.stringify( nodeFilled, null, 2 )}` ); continue; } const order = makerNode.order!; const makerNodeSignature = getFillSignatureFromUserAccountAndOrderId( makerNode.userAccount!.toString(), order.orderId.toString() ); logger.error( `maker breach maint. margin, assoc node: ${makerNode.userAccount!.toString()}, ${ order.orderId }; (throttling ${makerNodeSignature}); ${log}` ); this.throttledNodes.set(makerNodeSignature, Date.now()); errorThisFillIx = true; continue; } const takerBreachedMaintenanceMargin = isTakerBreachedMaintenanceMarginLog(log); if (takerBreachedMaintenanceMargin) { const node = nodeFilled.node!; const order = node.order!; const takerNodeSignature = getFillSignatureFromUserAccountAndOrderId( node.userAccount!.toString(), order.orderId.toString() ); logger.error( `taker breach maint. margin, assoc node: ${node.userAccount!.toString()}, ${ order.orderId }; (throttling ${takerNodeSignature} and force cancelling orders); ${log}` ); this.throttledNodes.set(takerNodeSignature, Date.now()); errorThisFillIx = true; continue; } } if (logs.length > 0) { if ( logs[logs.length - 1].includes('exceeded CUs meter at BPF instruction') ) { return { filledNodes: successCount, exceededCUs: true, }; } } return { filledNodes: successCount, exceededCUs: false, }; } protected async rebalanceSpotFiller() { logger.info(`Rebalancing filler`); const fillerSolBalance = await this.driftClient.connection.getBalance( this.driftClient.authority ); this.hasEnoughSolToFill = fillerSolBalance >= this.minimumAmountToFill; if (this.jupiterClient !== undefined) { logger.info(`Swapping USDC for SOL to rebalance filler`); swapFillerHardEarnedUSDCForSOL( this.priorityFeeSubscriber, this.driftClient, this.jupiterClient, await this.getBlockhashForTx(), this.subaccount ).then(async () => { const fillerSolBalanceAfterSwap = await this.driftClient.connection.getBalance( this.driftClient.authority, 'processed' ); this.hasEnoughSolToFill = fillerSolBalanceAfterSwap >= this.minimumAmountToFill; }); } else { throw new Error('Jupiter client not initialized'); } } }
0
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots
solana_public_repos/drift-labs/keeper-bots-v2/src/experimental-bots/filler/fillerMultithreaded.ts
/* eslint-disable @typescript-eslint/no-non-null-assertion */ import { BASE_PRECISION, BlockhashSubscriber, BN, BulkAccountLoader, DataAndSlot, decodeUser, DLOBNode, DriftClient, DriftEnv, FeeTier, getOrderSignature, getUserAccountPublicKey, isFillableByVAMM, isOneOfVariant, isOrderExpired, isVariant, JupiterClient, MakerInfo, MarketType, NodeToFill, PerpMarkets, PRICE_PRECISION, PriorityFeeSubscriberMap, QUOTE_PRECISION, ReferrerInfo, SlotSubscriber, TxSigAndSlot, UserAccount, UserStatsMap, } from '@drift-labs/sdk'; import { FillerMultiThreadedConfig, GlobalConfig } from '../../config'; import { BundleSender } from '../../bundleSender'; import { AddressLookupTableAccount, ComputeBudgetProgram, Connection, LAMPORTS_PER_SOL, PACKET_DATA_SIZE, PublicKey, SendTransactionError, TransactionInstruction, TransactionSignature, VersionedTransaction, } from '@solana/web3.js'; import { logger } from '../../logger'; import { getErrorCode } from '../../error'; import { selectMakers } from '../../makerSelection'; import { NodeToFillWithBuffer, SerializedNodeToTrigger, SerializedNodeToFill, } from '../filler-common/types'; import { assert } from 'console'; import { getAllPythOracleUpdateIxs, getFillSignatureFromUserAccountAndOrderId, getNodeToFillSignature, getSizeOfTransaction, // getStaleOracleMarketIndexes, handleSimResultError, logMessageForNodeToFill, removePythIxs, simulateAndGetTxWithCUs, SimulateAndGetTxWithCUsResponse, sleepMs, swapFillerHardEarnedUSDCForSOL, validMinimumGasAmount, validRebalanceSettledPnlThreshold, } from '../../utils'; import { spawnChild, deserializeNodeToFill, deserializeOrder, getUserFeeTier, getPriorityFeeInstruction, } from '../filler-common/utils'; import { CounterValue, GaugeValue, HistogramValue, metricAttrFromUserAccount, Metrics, RuntimeSpec, } from '../../metrics'; import { ExplicitBucketHistogramAggregation, InstrumentType, View, } from '@opentelemetry/sdk-metrics-base'; import { CONFIRM_TX_RATE_LIMIT_BACKOFF_MS, TX_TIMEOUT_THRESHOLD_MS, TxType, } from '../../bots/filler'; import { LRUCache } from 'lru-cache'; import { isEndIxLog, isErrFillingLog, isErrStaleOracle, isFillIxLog, isIxLog, isMakerBreachedMaintenanceMarginLog, isOrderDoesNotExistLog, isTakerBreachedMaintenanceMarginLog, } from '../../bots/common/txLogParse'; import { bs58 } from '@project-serum/anchor/dist/cjs/utils/bytes'; import { ChildProcess } from 'child_process'; import { PythPriceFeedSubscriber } from 'src/pythPriceFeedSubscriber'; const logPrefix = '[Filler]'; export type MakerNodeMap = Map<string, DLOBNode[]>; const FILL_ORDER_THROTTLE_BACKOFF = 1000; // the time to wait before trying to fill a throttled (error filling) node again const THROTTLED_NODE_SIZE_TO_PRUNE = 10; // Size of throttled nodes to get to before pruning the map const TRIGGER_ORDER_COOLDOWN_MS = 1000; // the time to wait before trying to a node in the triggering map again export const MAX_MAKERS_PER_FILL = 6; // max number of unique makers to include per fill const MAX_ACCOUNTS_PER_TX = 64; // solana limit, track https://github.com/solana-labs/solana/issues/27241 const MAX_POSITIONS_PER_USER = 8; export const SETTLE_POSITIVE_PNL_COOLDOWN_MS = 60_000; export const CONFIRM_TX_INTERVAL_MS = 5_000; const SIM_CU_ESTIMATE_MULTIPLIER = 1.35; const SLOTS_UNTIL_JITO_LEADER_TO_SEND = 4; export const TX_CONFIRMATION_BATCH_SIZE = 100; export const CACHED_BLOCKHASH_OFFSET = 5; const TX_COUNT_COOLDOWN_ON_BURST = 10; // send this many tx before resetting burst mode const errorCodesToSuppress = [ 6004, // 0x1774 Error Number: 6004. Error Message: SufficientCollateral. 6010, // 0x177a Error Number: 6010. Error Message: User Has No Position In Market. 6081, // 0x17c1 Error Number: 6081. Error Message: MarketWrongMutability. // 6078, // 0x17BE Error Number: 6078. Error Message: PerpMarketNotFound // 6087, // 0x17c7 Error Number: 6087. Error Message: SpotMarketNotFound. 6239, // 0x185F Error Number: 6239. Error Message: RevertFill. 6003, // 0x1773 Error Number: 6003. Error Message: Insufficient collateral. 6023, // 0x1787 Error Number: 6023. Error Message: PriceBandsBreached. 6111, // Error Message: OrderNotTriggerable. 6112, // Error Message: OrderDidNotSatisfyTriggerCondition. ]; enum METRIC_TYPES { try_fill_duration_histogram = 'try_fill_duration_histogram', runtime_specs = 'runtime_specs', last_try_fill_time = 'last_try_fill_time', sent_transactions = 'sent_transactions', landed_transactions = 'landed_transactions', tx_sim_error_count = 'tx_sim_error_count', pending_tx_sigs_to_confirm = 'pending_tx_sigs_to_confirm', pending_tx_sigs_loop_rate_limited = 'pending_tx_sigs_loop_rate_limited', evicted_pending_tx_sigs_to_confirm = 'evicted_pending_tx_sigs_to_confirm', estimated_tx_cu_histogram = 'estimated_tx_cu_histogram', simulate_tx_duration_histogram = 'simulate_tx_duration_histogram', expired_nodes_set_size = 'expired_nodes_set_size', jito_bundles_accepted = 'jito_bundles_accepted', jito_bundles_simulation_failure = 'jito_simulation_failure', jito_dropped_bundle = 'jito_dropped_bundle', jito_landed_tips = 'jito_landed_tips', jito_bundle_count = 'jito_bundle_count', } const getNodeToTriggerSignature = (node: SerializedNodeToTrigger): string => { return getOrderSignature(node.node.order.orderId, node.node.userAccount); }; type DLOBBuilderWithProcess = { process: ChildProcess; ready: boolean; marketIndexes: number[]; }; export class FillerMultithreaded { private name: string; private slotSubscriber: SlotSubscriber; private bundleSender?: BundleSender; private driftClient: DriftClient; private dryRun: boolean; private globalConfig: GlobalConfig; private config: FillerMultiThreadedConfig; private subaccount: number; private fillTxId: number = 0; private userStatsMap: UserStatsMap; private throttledNodes = new Map<string, number>(); private fillingNodes = new Map<string, number>(); private triggeringNodes = new Map<string, number>(); private revertOnFailure?: boolean; private lookupTableAccounts: AddressLookupTableAccount[]; private lastSettlePnl = Date.now() - SETTLE_POSITIVE_PNL_COOLDOWN_MS; private seenFillableOrders = new Set<string>(); private seenTriggerableOrders = new Set<string>(); private blockhashSubscriber: BlockhashSubscriber; private priorityFeeSubscriber: PriorityFeeSubscriberMap; private dlobHealthy = true; private orderSubscriberHealthy = true; private simulateTxForCUEstimate?: boolean; private intervalIds: NodeJS.Timeout[] = []; protected txConfirmationConnection: Connection; protected pendingTxSigsToconfirm: LRUCache< string, { ts: number; nodeFilled: Array<NodeToFillWithBuffer>; fillTxId: number; txType: TxType; } >; protected expiredNodesSet: LRUCache<string, boolean>; protected confirmLoopRunning = false; protected confirmLoopRateLimitTs = Date.now() - CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; protected useBurstCULimit = false; protected fillTxSinceBurstCU = 0; // metrics protected metricsInitialized = false; protected metricsPort?: number; protected metrics?: Metrics; protected bootTimeMs?: number; protected runtimeSpec: RuntimeSpec; protected runtimeSpecsGauge?: GaugeValue; protected estTxCuHistogram?: HistogramValue; protected simulateTxHistogram?: HistogramValue; protected lastTryFillTimeGauge?: GaugeValue; protected sentTxsCounter?: CounterValue; protected attemptedTriggersCounter?: CounterValue; protected landedTxsCounter?: CounterValue; protected txSimErrorCounter?: CounterValue; protected pendingTxSigsToConfirmGauge?: GaugeValue; protected pendingTxSigsLoopRateLimitedCounter?: CounterValue; protected evictedPendingTxSigsToConfirmCounter?: CounterValue; protected expiredNodesSetSize?: GaugeValue; protected jitoBundlesAcceptedGauge?: GaugeValue; protected jitoBundlesSimulationFailureGauge?: GaugeValue; protected jitoDroppedBundleGauge?: GaugeValue; protected jitoLandedTipsGauge?: GaugeValue; protected jitoBundleCount?: GaugeValue; protected rebalanceFiller?: boolean; protected hasEnoughSolToFill: boolean = true; protected minGasBalanceToFill: number; protected rebalanceSettledPnlThreshold: BN; protected jupiterClient?: JupiterClient; protected dlobBuilders: Map<number, DLOBBuilderWithProcess> = new Map(); protected marketIndexes: Array<number[]>; protected marketIndexesFlattened: number[]; protected pythPriceSubscriber?: PythPriceFeedSubscriber; protected latestPythVaas?: Map<string, string>; // priceFeedId -> vaa protected marketIndexesToPriceIds = new Map<number, string>(); constructor( globalConfig: GlobalConfig, config: FillerMultiThreadedConfig, driftClient: DriftClient, slotSubscriber: SlotSubscriber, runtimeSpec: RuntimeSpec, bundleSender?: BundleSender, pythPriceSubscriber?: PythPriceFeedSubscriber, lookupTableAccounts: AddressLookupTableAccount[] = [] ) { this.globalConfig = globalConfig; if (!this.globalConfig.useJito && runtimeSpec.driftEnv === 'mainnet-beta') { throw new Error('Jito is required for spot multithreaded filler'); } this.name = config.botId; this.config = config; this.dryRun = config.dryRun; this.slotSubscriber = slotSubscriber; this.driftClient = driftClient; this.marketIndexes = config.marketIndexes; this.revertOnFailure = config.revertOnFailure ?? true; this.marketIndexesFlattened = config.marketIndexes.flat(); this.bundleSender = bundleSender; this.simulateTxForCUEstimate = config.simulateTxForCUEstimate ?? true; if (globalConfig.txConfirmationEndpoint) { this.txConfirmationConnection = new Connection( globalConfig.txConfirmationEndpoint ); } else { this.txConfirmationConnection = this.driftClient.connection; } if (pythPriceSubscriber) { this.pythPriceSubscriber = pythPriceSubscriber; } this.lookupTableAccounts = lookupTableAccounts; this.userStatsMap = new UserStatsMap( this.driftClient, new BulkAccountLoader( new Connection(this.driftClient.connection.rpcEndpoint), 'confirmed', 0 ) ); this.blockhashSubscriber = new BlockhashSubscriber({ connection: driftClient.connection, }); const marketIndexesToUse = PerpMarkets[this.globalConfig.driftEnv!].map( (m) => m.marketIndex ); const perpMarketsToWatchForFees = marketIndexesToUse.map((m) => { return { marketType: 'perp', marketIndex: m, }; }); perpMarketsToWatchForFees.push({ marketType: 'spot', marketIndex: 1, }); // For rebalancing this.priorityFeeSubscriber = new PriorityFeeSubscriberMap({ driftMarkets: perpMarketsToWatchForFees, driftPriorityFeeEndpoint: 'https://dlob.drift.trade', }); this.subaccount = config.subaccount ?? 0; if (!this.driftClient.hasUser(this.subaccount)) { throw new Error( `User account not found for subaccount: ${this.subaccount}` ); } this.runtimeSpec = runtimeSpec; this.initializeMetrics(config.metricsPort ?? this.globalConfig.metricsPort); this.rebalanceFiller = config.rebalanceFiller ?? true; if (this.rebalanceFiller && this.runtimeSpec.driftEnv === 'mainnet-beta') { this.jupiterClient = new JupiterClient({ connection: this.driftClient.connection, }); } logger.info( `${this.name}: rebalancing enabled: ${this.jupiterClient !== undefined}` ); if (!validMinimumGasAmount(config.minGasBalanceToFill)) { this.minGasBalanceToFill = 0.2 * LAMPORTS_PER_SOL; } else { this.minGasBalanceToFill = config.minGasBalanceToFill! * LAMPORTS_PER_SOL; } if ( !validRebalanceSettledPnlThreshold(config.rebalanceSettledPnlThreshold) ) { this.rebalanceSettledPnlThreshold = new BN(20); } else { this.rebalanceSettledPnlThreshold = new BN( config.rebalanceSettledPnlThreshold! ); } logger.info( `${this.name}: multiThreadedFillerConfig:\n${JSON.stringify( config, null, 2 )}` ); this.pendingTxSigsToconfirm = new LRUCache< string, { ts: number; nodeFilled: Array<NodeToFillWithBuffer>; fillTxId: number; txType: TxType; } >({ max: 10_000, ttl: TX_TIMEOUT_THRESHOLD_MS, ttlResolution: 1000, disposeAfter: this.recordEvictedTxSig.bind(this), }); this.expiredNodesSet = new LRUCache<string, boolean>({ max: 10_000, ttl: TX_TIMEOUT_THRESHOLD_MS, ttlResolution: 1000, }); } async init() { await this.blockhashSubscriber.subscribe(); await this.priorityFeeSubscriber.subscribe(); const feedIds: string[] = PerpMarkets[this.globalConfig.driftEnv!] .map((m) => m.pythFeedId) .filter((id) => id !== undefined) as string[]; await this.pythPriceSubscriber?.subscribe(feedIds); const fillerSolBalance = await this.driftClient.connection.getBalance( this.driftClient.authority ); this.hasEnoughSolToFill = fillerSolBalance >= this.minGasBalanceToFill; logger.info( `${this.name}: hasEnoughSolToFill: ${this.hasEnoughSolToFill}, balance: ${fillerSolBalance}` ); this.lookupTableAccounts.push( await this.driftClient.fetchMarketLookupTableAccount() ); assert(this.lookupTableAccounts, 'Lookup table account not found'); this.startProcesses(); } private startProcesses() { logger.info(`${this.name}: Starting processes`); const orderSubscriberArgs = [ `--drift-env=${this.runtimeSpec.driftEnv}`, `--market-type=${this.config.marketType}`, `--market-indexes=${this.config.marketIndexes.map(String)}`, ]; const user = this.driftClient.getUser(this.subaccount); for (const marketIndexes of this.marketIndexes) { logger.info( `${this.name}: Spawning dlobBuilder for marketIndexes: ${marketIndexes}` ); const dlobBuilderArgs = [ `--drift-env=${this.runtimeSpec.driftEnv}`, `--market-type=${this.config.marketType}`, `--market-indexes=${marketIndexes.map(String)}`, ]; const dlobBuilderProcess = spawnChild( './src/experimental-bots/filler-common/dlobBuilder.ts', dlobBuilderArgs, 'dlobBuilder', (msg: any) => { switch (msg.type) { case 'initialized': { const dlobBuilder = this.dlobBuilders.get(msg.data[0]); if (dlobBuilder) { dlobBuilder.ready = true; for (const marketIndex of msg.data) { this.dlobBuilders.set(Number(marketIndex), dlobBuilder); } logger.info( `${logPrefix} dlobBuilderProcess initialized and acknowledged` ); } } break; case 'triggerableNodes': if (this.dryRun) { logger.info(`Triggerable node received`); } else { this.triggerNodes(msg.data); } this.lastTryFillTimeGauge?.setLatestValue( Date.now(), metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); break; case 'fillableNodes': if (this.dryRun) { logger.info(`Fillable node received`); } else { this.fillNodes(msg.data); } this.lastTryFillTimeGauge?.setLatestValue( Date.now(), metricAttrFromUserAccount( user.getUserAccountPublicKey(), user.getUserAccount() ) ); break; case 'health': this.dlobHealthy = msg.data.healthy; break; } }, '[FillerMultithreaded]' ); dlobBuilderProcess.on('exit', (code) => { logger.error(`dlobBuilder exited with code ${code}`); process.exit(code || 1); }); for (const marketIndex of marketIndexes) { this.dlobBuilders.set(Number(marketIndex), { process: dlobBuilderProcess, ready: false, marketIndexes: marketIndexes.map(Number), }); } logger.info( `dlobBuilder spawned with pid: ${dlobBuilderProcess.pid} marketIndexes: ${dlobBuilderArgs}` ); } const routeMessageToDlobBuilder = (msg: any) => { const dlobBuilder = this.dlobBuilders.get(Number(msg.data.marketIndex)); if (dlobBuilder === undefined) { logger.error( `Received message for unknown marketIndex: ${msg.data.marketIndex}` ); return; } if (dlobBuilder.marketIndexes.includes(Number(msg.data.marketIndex))) { if (typeof dlobBuilder.process.send == 'function') { if (dlobBuilder.ready) { dlobBuilder.process.send(msg); return; } } } }; const orderSubscriberProcess = spawnChild( './src/experimental-bots/filler-common/orderSubscriberFiltered.ts', orderSubscriberArgs, 'orderSubscriber', (msg: any) => { switch (msg.type) { case 'userAccountUpdate': routeMessageToDlobBuilder(msg); break; case 'health': this.orderSubscriberHealthy = msg.data.healthy; break; } }, '[FillerMultithreaded]' ); orderSubscriberProcess.on('exit', (code) => { logger.error(`dlobBuilder exited with code ${code}`); process.exit(code || 1); }); process.on('SIGINT', () => { logger.info(`${logPrefix} Received SIGINT, killing children`); this.dlobBuilders.forEach((value: DLOBBuilderWithProcess, _: number) => { value.process.kill(); }); orderSubscriberProcess.kill(); process.exit(0); }); logger.info( `orderSubscriber spawned with pid: ${orderSubscriberProcess.pid}` ); this.intervalIds.push( setInterval( this.settlePnls.bind(this), SETTLE_POSITIVE_PNL_COOLDOWN_MS / 2 ) ); this.intervalIds.push( setInterval(this.confirmPendingTxSigs.bind(this), CONFIRM_TX_INTERVAL_MS) ); if (this.bundleSender) { this.intervalIds.push( setInterval(this.recordJitoBundleStats.bind(this), 10_000) ); } } protected recordEvictedTxSig( _tsTxSigAdded: { ts: number; nodeFilled: Array<NodeToFillWithBuffer> }, txSig: string, reason: 'evict' | 'set' | 'delete' ) { if (reason === 'evict') { logger.info( `${this.name}: Evicted tx sig ${txSig} from this.txSigsToConfirm` ); const user = this.driftClient.getUser(this.subaccount); this.evictedPendingTxSigsToConfirmCounter?.add(1, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } protected initializeMetrics(metricsPort?: number) { if (this.globalConfig.disableMetrics) { logger.info( `${this.name}: globalConfig.disableMetrics is true, not initializing metrics` ); return; } if (!metricsPort) { logger.info( `${this.name}: bot.metricsPort and global.metricsPort not set, not initializing metrics` ); return; } if (this.metricsInitialized) { logger.error('Tried to initilaize metrics multiple times'); return; } this.metrics = new Metrics( this.name, [ new View({ instrumentName: METRIC_TYPES.try_fill_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 0 + i * 5), true ), }), new View({ instrumentName: METRIC_TYPES.estimated_tx_cu_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(15), (_, i) => 0 + i * 100_000), true ), }), new View({ instrumentName: METRIC_TYPES.simulate_tx_duration_histogram, instrumentType: InstrumentType.HISTOGRAM, meterName: this.name, aggregation: new ExplicitBucketHistogramAggregation( Array.from(new Array(20), (_, i) => 50 + i * 50), true ), }), ], metricsPort! ); this.bootTimeMs = Date.now(); this.runtimeSpecsGauge = this.metrics.addGauge( METRIC_TYPES.runtime_specs, 'Runtime sepcification of this program' ); this.estTxCuHistogram = this.metrics.addHistogram( METRIC_TYPES.estimated_tx_cu_histogram, 'Histogram of the estimated fill cu used' ); this.simulateTxHistogram = this.metrics.addHistogram( METRIC_TYPES.simulate_tx_duration_histogram, 'Histogram of the duration of simulateTransaction RPC calls' ); this.lastTryFillTimeGauge = this.metrics.addGauge( METRIC_TYPES.last_try_fill_time, 'Last time that fill was attempted' ); this.landedTxsCounter = this.metrics.addCounter( METRIC_TYPES.landed_transactions, 'Count of fills that we successfully landed' ); this.sentTxsCounter = this.metrics.addCounter( METRIC_TYPES.sent_transactions, 'Count of transactions we sent out' ); this.txSimErrorCounter = this.metrics.addCounter( METRIC_TYPES.tx_sim_error_count, 'Count of errors from simulating transactions' ); this.pendingTxSigsToConfirmGauge = this.metrics.addGauge( METRIC_TYPES.pending_tx_sigs_to_confirm, 'Count of tx sigs that are pending confirmation' ); this.pendingTxSigsLoopRateLimitedCounter = this.metrics.addCounter( METRIC_TYPES.pending_tx_sigs_loop_rate_limited, 'Count of times the pending tx sigs loop was rate limited' ); this.evictedPendingTxSigsToConfirmCounter = this.metrics.addCounter( METRIC_TYPES.evicted_pending_tx_sigs_to_confirm, 'Count of tx sigs that were evicted from the pending tx sigs to confirm cache' ); this.expiredNodesSetSize = this.metrics.addGauge( METRIC_TYPES.expired_nodes_set_size, 'Count of nodes that are expired' ); this.jitoBundlesAcceptedGauge = this.metrics.addGauge( METRIC_TYPES.jito_bundles_accepted, 'Count of jito bundles that were accepted' ); this.jitoBundlesSimulationFailureGauge = this.metrics.addGauge( METRIC_TYPES.jito_bundles_simulation_failure, 'Count of jito bundles that failed simulation' ); this.jitoDroppedBundleGauge = this.metrics.addGauge( METRIC_TYPES.jito_dropped_bundle, 'Count of jito bundles that were dropped' ); this.jitoLandedTipsGauge = this.metrics.addGauge( METRIC_TYPES.jito_landed_tips, 'Gauge of historic bundle tips that landed' ); this.jitoBundleCount = this.metrics.addGauge( METRIC_TYPES.jito_bundle_count, 'Count of jito bundles that were sent, and their status' ); this.metrics?.finalizeObservables(); this.runtimeSpecsGauge.setLatestValue(this.bootTimeMs, this.runtimeSpec); this.metricsInitialized = true; } public healthCheck(): boolean { if (!this.dlobHealthy) { logger.error(`${logPrefix} DLOB not healthy`); } if (!this.orderSubscriberHealthy) { logger.error(`${logPrefix} Order subscriber not healthy`); } return this.dlobHealthy && this.orderSubscriberHealthy; } protected recordJitoBundleStats() { const user = this.driftClient.getUser(this.subaccount); const bundleStats = this.bundleSender?.getBundleStats(); if (bundleStats) { this.jitoBundlesAcceptedGauge?.setLatestValue(bundleStats.accepted, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.jitoBundlesSimulationFailureGauge?.setLatestValue( bundleStats.simulationFailure, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoDroppedBundleGauge?.setLatestValue(bundleStats.droppedPruned, { type: 'pruned', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.jitoDroppedBundleGauge?.setLatestValue( bundleStats.droppedBlockhashExpired, { type: 'blockhash_expired', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoDroppedBundleGauge?.setLatestValue( bundleStats.droppedBlockhashNotFound, { type: 'blockhash_not_found', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); } const tipStream = this.bundleSender?.getTipStream(); if (tipStream) { this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_25th_percentile, { percentile: 'p25', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_50th_percentile, { percentile: 'p50', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_75th_percentile, { percentile: 'p75', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_95th_percentile, { percentile: 'p95', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.landed_tips_99th_percentile, { percentile: 'p99', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.jitoLandedTipsGauge?.setLatestValue( tipStream.ema_landed_tips_50th_percentile, { percentile: 'ema_p50', ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); const bundleFailCount = this.bundleSender?.getBundleFailCount(); const bundleLandedCount = this.bundleSender?.getLandedCount(); const bundleDroppedCount = this.bundleSender?.getDroppedCount(); this.jitoBundleCount?.setLatestValue(bundleFailCount ?? 0, { type: 'fail_count', }); this.jitoBundleCount?.setLatestValue(bundleLandedCount ?? 0, { type: 'landed', }); this.jitoBundleCount?.setLatestValue(bundleDroppedCount ?? 0, { type: 'dropped', }); } } protected async confirmPendingTxSigs() { const user = this.driftClient.getUser(this.subaccount); this.pendingTxSigsToConfirmGauge?.setLatestValue( this.pendingTxSigsToconfirm.size, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), } ); this.expiredNodesSetSize?.setLatestValue(this.expiredNodesSet.size, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); const nextTimeCanRun = this.confirmLoopRateLimitTs + CONFIRM_TX_RATE_LIMIT_BACKOFF_MS; if (Date.now() < nextTimeCanRun) { logger.warn( `Skipping confirm loop due to rate limit, next run in ${ nextTimeCanRun - Date.now() } ms` ); return; } if (this.confirmLoopRunning) { return; } this.confirmLoopRunning = true; try { logger.debug(`Confirming tx sigs: ${this.pendingTxSigsToconfirm.size}`); const start = Date.now(); const txEntries = Array.from(this.pendingTxSigsToconfirm.entries()); for (let i = 0; i < txEntries.length; i += TX_CONFIRMATION_BATCH_SIZE) { const txSigsBatch = txEntries.slice(i, i + TX_CONFIRMATION_BATCH_SIZE); const txs = await this.txConfirmationConnection?.getTransactions( txSigsBatch.map((tx) => tx[0]), { commitment: 'confirmed', maxSupportedTransactionVersion: 0, } ); for (let j = 0; j < txs.length; j++) { const txResp = txs[j]; const txConfirmationInfo = txSigsBatch[j]; const txSig = txConfirmationInfo[0]; const txAge = txConfirmationInfo[1].ts - Date.now(); const nodeFilled = txConfirmationInfo[1].nodeFilled; const txType = txConfirmationInfo[1].txType; const fillTxId = txConfirmationInfo[1].fillTxId; if (txResp === null) { logger.info( `Tx not found, (fillTxId: ${fillTxId}) (txType: ${txType}): ${txSig}, tx age: ${ txAge / 1000 } s` ); if (Math.abs(txAge) > TX_TIMEOUT_THRESHOLD_MS) { this.pendingTxSigsToconfirm.delete(txSig); } } else { logger.info( `Tx landed (fillTxId: ${fillTxId}) (txType: ${txType}): ${txSig}, tx age: ${ txAge / 1000 } s` ); this.pendingTxSigsToconfirm.delete(txSig); if (txType === 'fill') { const result = await this.handleTransactionLogs( nodeFilled, txResp.meta?.logMessages ); if (result) { this.landedTxsCounter?.add(result.filledNodes, { type: txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } else { this.landedTxsCounter?.add(1, { type: txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } } await sleepMs(500); } } logger.debug(`Confirming tx sigs took: ${Date.now() - start} ms`); } catch (e) { const err = e as Error; if (err.message.includes('429')) { logger.info(`Confirming tx loop rate limited: ${err.message}`); this.confirmLoopRateLimitTs = Date.now(); this.pendingTxSigsLoopRateLimitedCounter?.add(1, { ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } else { logger.error(`Other error confirming tx sigs: ${err.message}`); } } finally { this.confirmLoopRunning = false; } } private async getPythIxsFromNode( node: NodeToFillWithBuffer | SerializedNodeToTrigger ): Promise<TransactionInstruction[]> { const marketIndex = node.node.order?.marketIndex; if (marketIndex === undefined) { throw new Error('Market index not found on node'); } if ( isVariant( this.driftClient.getPerpMarketAccount(marketIndex)?.amm.oracleSource, 'prelaunch' ) ) { return []; } if (!this.pythPriceSubscriber) { throw new Error('Pyth price subscriber not initialized'); } const pythIxs = await getAllPythOracleUpdateIxs( this.runtimeSpec.driftEnv as DriftEnv, marketIndex, MarketType.PERP, this.pythPriceSubscriber!, this.driftClient, this.globalConfig.numNonActiveOraclesToPush ?? 0, this.marketIndexesFlattened ); return pythIxs; } private async getBlockhashForTx(): Promise<string> { const cachedBlockhash = this.blockhashSubscriber.getLatestBlockhash(10); if (cachedBlockhash) { return cachedBlockhash.blockhash as string; } const recentBlockhash = await this.driftClient.connection.getLatestBlockhash({ commitment: 'confirmed', }); return recentBlockhash.blockhash; } protected removeFillingNodes(nodes: Array<NodeToFillWithBuffer>) { for (const node of nodes) { this.fillingNodes.delete(getNodeToFillSignature(node)); } } protected isThrottledNodeStillThrottled(throttleKey: string): boolean { const lastFillAttempt = this.throttledNodes.get(throttleKey) || 0; if (lastFillAttempt + FILL_ORDER_THROTTLE_BACKOFF > Date.now()) { return true; } else { this.clearThrottledNode(throttleKey); return false; } } protected isDLOBNodeThrottled(dlobNode: DLOBNode): boolean { if (!dlobNode.userAccount || !dlobNode.order) { return false; } // first check if the userAccount itself is throttled const userAccountPubkey = dlobNode.userAccount; if (this.throttledNodes.has(userAccountPubkey)) { if (this.isThrottledNodeStillThrottled(userAccountPubkey)) { return true; } else { return false; } } // then check if the specific order is throttled const orderSignature = getFillSignatureFromUserAccountAndOrderId( dlobNode.userAccount, dlobNode.order.orderId.toString() ); if (this.throttledNodes.has(orderSignature)) { if (this.isThrottledNodeStillThrottled(orderSignature)) { return true; } else { return false; } } return false; } protected clearThrottledNode(signature: string) { this.throttledNodes.delete(signature); } protected setThrottledNode(signature: string) { this.throttledNodes.set(signature, Date.now()); } protected removeTriggeringNodes(node: SerializedNodeToTrigger) { this.triggeringNodes.delete(getNodeToTriggerSignature(node)); } protected pruneThrottledNode() { if (this.throttledNodes.size > THROTTLED_NODE_SIZE_TO_PRUNE) { for (const [key, value] of this.throttledNodes.entries()) { if (value + 2 * FILL_ORDER_THROTTLE_BACKOFF > Date.now()) { this.throttledNodes.delete(key); } } } } protected usingJito(): boolean { return !!this.globalConfig.useJito; } protected canSendOutsideJito(): boolean { return ( !this.usingJito() || this.bundleSender?.strategy === 'non-jito-only' || this.bundleSender?.strategy === 'hybrid' ); } protected async sendTxThroughJito( tx: VersionedTransaction, metadata: number | string ) { const blockhash = await this.getBlockhashForTx(); tx.message.recentBlockhash = blockhash; tx.sign([ // @ts-ignore; this.driftClient.wallet.payer, ]); if (this.bundleSender === undefined) { logger.error( `${logPrefix} Called sendTxThroughJito without jito properly enabled` ); return; } const slotsUntilNextLeader = this.bundleSender?.slotsUntilNextLeader(); if (slotsUntilNextLeader !== undefined) { this.bundleSender.sendTransactions( [tx], `(fillTxId: ${metadata})`, undefined, false ); } } protected slotsUntilJitoLeader(): number | undefined { return this.bundleSender?.slotsUntilNextLeader(); } protected shouldBuildForBundle(): boolean { if (!this.globalConfig.useJito) { return false; } if (this.globalConfig.onlySendDuringJitoLeader === true) { const slotsUntilJito = this.slotsUntilJitoLeader(); if (slotsUntilJito === undefined) { return false; } return slotsUntilJito < SLOTS_UNTIL_JITO_LEADER_TO_SEND; } return true; } public async triggerNodes( serializedNodesToTrigger: SerializedNodeToTrigger[] ) { if (!this.hasEnoughSolToFill) { logger.info( `Not enough SOL to fill, skipping executeTriggerablePerpNodes` ); return; } logger.debug( `${logPrefix} Triggering ${serializedNodesToTrigger.length} nodes...` ); const seenTriggerableNodes = new Set<string>(); const filteredTriggerableNodes = serializedNodesToTrigger.filter((node) => { const sig = getNodeToTriggerSignature(node); if (seenTriggerableNodes.has(sig)) { return false; } seenTriggerableNodes.add(sig); return this.filterTriggerableNodes(node); }); logger.debug( `${logPrefix} Filtered down to ${filteredTriggerableNodes.length} triggerable nodes...` ); const buildForBundle = this.shouldBuildForBundle(); try { await this.executeTriggerablePerpNodes( filteredTriggerableNodes, !!buildForBundle ); } catch (e) { if (e instanceof Error) { logger.error( `${logPrefix} Error triggering nodes: ${ e.stack ? e.stack : e.message }` ); } } } protected filterTriggerableNodes( nodeToTrigger: SerializedNodeToTrigger ): boolean { if (nodeToTrigger.node.haveTrigger) { return false; } const now = Date.now(); const nodeToFillSignature = getNodeToTriggerSignature(nodeToTrigger); const timeStartedToTriggerNode = this.triggeringNodes.get(nodeToFillSignature); if (timeStartedToTriggerNode) { if (timeStartedToTriggerNode + TRIGGER_ORDER_COOLDOWN_MS > now) { return false; } } return true; } async executeTriggerablePerpNodes( nodesToTrigger: SerializedNodeToTrigger[], buildForBundle: boolean ) { const user = this.driftClient.getUser(this.subaccount); for (const nodeToTrigger of nodesToTrigger) { let ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( Math.max( ...nodesToTrigger.map((node: SerializedNodeToTrigger) => { return this.priorityFeeSubscriber.getPriorityFees( 'perp', node.node.order.marketIndex )!.medium; }) ) * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), }) ); } nodeToTrigger.node.haveTrigger = true; // @ts-ignore const buffer = Buffer.from(nodeToTrigger.node.userAccountData.data); // @ts-ignore const userAccount = decodeUser(buffer); logger.debug( `${logPrefix} trying to trigger (account: ${ nodeToTrigger.node.userAccount }, order ${nodeToTrigger.node.order.orderId.toString()}` ); let removeLastIxPostSim = this.revertOnFailure; if (this.pythPriceSubscriber) { const pythIxs = await this.getPythIxsFromNode(nodeToTrigger); ixs.push(...pythIxs); removeLastIxPostSim = false; } const nodeSignature = getNodeToTriggerSignature(nodeToTrigger); if (this.seenTriggerableOrders.has(nodeSignature)) { logger.info( `${logPrefix} already triggered order (account: ${ nodeToTrigger.node.userAccount }, order ${nodeToTrigger.node.order.orderId.toString()}. Just going to pull oracles` ); } else { this.seenTriggerableOrders.add(nodeSignature); this.triggeringNodes.set(nodeSignature, Date.now()); ixs.push( await this.driftClient.getTriggerOrderIx( new PublicKey(nodeToTrigger.node.userAccount), userAccount, deserializeOrder(nodeToTrigger.node.order), user.userAccountPublicKey ) ); if (this.revertOnFailure) { ixs.push( await this.driftClient.getRevertFillIx(user.userAccountPublicKey) ); } } const txSize = getSizeOfTransaction(ixs, true, this.lookupTableAccounts); if (txSize > PACKET_DATA_SIZE) { logger.info(`tx too large, removing pyth ixs.`); ixs = removePythIxs(ixs); } const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), removeLastIxPostSim, }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'trigger', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'trigger', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); logger.info( `executeTriggerablePerpNodesForMarket (${nodeSignature}) estimated CUs: ${simResult.cuEstimate}, finalIxCount: ${ixs.length}). revertTx: ${this.revertOnFailure}}` ); if (simResult.simError) { logger.error( `executeTriggerablePerpNodesForMarket simError: (simError: ${JSON.stringify( simResult.simError )})` ); } else { if (this.hasEnoughSolToFill) { if (buildForBundle) { this.sendTxThroughJito(simResult.tx, 'triggerOrder'); } else { const blockhash = await this.getBlockhashForTx(); simResult.tx.message.recentBlockhash = blockhash; this.driftClient .sendTransaction(simResult.tx) .then((txSig) => { logger.info( `Triggered user (account: ${nodeToTrigger.node.userAccount.toString()}) order: ${nodeToTrigger.node.order.orderId.toString()}` ); logger.info(`${logPrefix} Tx: ${txSig.txSig}`); }) .catch((error) => { nodeToTrigger.node.haveTrigger = false; const errorCode = getErrorCode(error); if ( errorCode && !errorCodesToSuppress.includes(errorCode) && !(error as Error).message.includes( 'Transaction was not confirmed' ) ) { logger.error( `Error (${errorCode}) triggering order for user (account: ${nodeToTrigger.node.userAccount.toString()}) order: ${nodeToTrigger.node.order.orderId.toString()}` ); logger.error(error); } }) .finally(() => { this.removeTriggeringNodes(nodeToTrigger); }); } } else { logger.info( `Not enough SOL to fill, skipping executeTriggerablePerpNodes` ); } } } this.attemptedTriggersCounter?.add( nodesToTrigger.length, metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ) ); } public async fillNodes(serializedNodesToFill: SerializedNodeToFill[]) { if (!this.hasEnoughSolToFill) { logger.info(`Not enough SOL to fill, skipping fillNodes`); return; } logger.debug( `${logPrefix} Filling ${serializedNodesToFill.length} nodes...` ); const deserializedNodesToFill = serializedNodesToFill.map( deserializeNodeToFill ); const seenFillableNodes = new Set<string>(); const filteredFillableNodes = deserializedNodesToFill.filter((node) => { const sig = getNodeToFillSignature(node); if (seenFillableNodes.has(sig)) { return false; } seenFillableNodes.add(sig); return this.filterFillableNodes(node); }); logger.debug( `${logPrefix} Filtered down to ${filteredFillableNodes.length} fillable nodes...` ); const buildForBundle = this.shouldBuildForBundle(); try { await this.executeFillablePerpNodes( filteredFillableNodes, !!buildForBundle ); } catch (e) { if (e instanceof Error) { logger.error( `${logPrefix} Error filling nodes: ${e.stack ? e.stack : e.message}` ); } } } protected filterFillableNodes(nodeToFill: NodeToFillWithBuffer): boolean { if (!nodeToFill.node.order) { return false; } if (nodeToFill.node.isVammNode()) { logger.warn( `filtered out a vAMM node on market ${nodeToFill.node.order.marketIndex} for user ${nodeToFill.node.userAccount}-${nodeToFill.node.order.orderId}` ); return false; } if (nodeToFill.node.haveFilled) { logger.warn( `filtered out filled node on market ${nodeToFill.node.order.marketIndex} for user ${nodeToFill.node.userAccount}-${nodeToFill.node.order.orderId}` ); return false; } const now = Date.now(); const nodeToFillSignature = getNodeToFillSignature(nodeToFill); if (this.fillingNodes.has(nodeToFillSignature)) { const timeStartedToFillNode = this.fillingNodes.get(nodeToFillSignature) || 0; if (timeStartedToFillNode + FILL_ORDER_THROTTLE_BACKOFF > now) { // still cooling down on this node, filter it out return false; } } // check if taker node is throttled if (this.isDLOBNodeThrottled(nodeToFill.node)) { return false; } const marketIndex = nodeToFill.node.order.marketIndex; const oraclePriceData = this.driftClient.getOracleDataForPerpMarket(marketIndex); if (isOrderExpired(nodeToFill.node.order, Date.now() / 1000, true)) { if (isOneOfVariant(nodeToFill.node.order.orderType, ['limit'])) { // do not try to fill (expire) limit orders b/c they will auto expire when filled against // or the user places a new order return false; } return true; } if ( nodeToFill.makerNodes.length === 0 && isVariant(nodeToFill.node.order.marketType, 'perp') && !isFillableByVAMM( nodeToFill.node.order, this.driftClient.getPerpMarketAccount( nodeToFill.node.order.marketIndex )!, oraclePriceData, this.slotSubscriber.getSlot(), Date.now() / 1000, this.driftClient.getStateAccount().minPerpAuctionDuration ) ) { return false; } return true; } async executeFillablePerpNodes( nodesToFill: NodeToFillWithBuffer[], buildForBundle: boolean ) { for (const node of nodesToFill) { if (this.seenFillableOrders.has(getNodeToFillSignature(node))) { logger.debug( // @ts-ignore `${logPrefix} already filled order (account: ${ node.node.userAccount }, order ${node.node.order?.orderId.toString()}` ); continue; } this.seenFillableOrders.add(getNodeToFillSignature(node)); if (node.makerNodes.length > 1) { this.tryFillMultiMakerPerpNodes(node, buildForBundle); } else { this.tryFillPerpNode(node, buildForBundle); } } } protected async tryFillMultiMakerPerpNodes( nodeToFill: NodeToFillWithBuffer, buildForBundle: boolean ) { const fillTxId = this.fillTxId++; let nodeWithMakerSet = nodeToFill; while ( !(await this.fillMultiMakerPerpNodes( fillTxId, nodeWithMakerSet, buildForBundle )) ) { const newMakerSet = nodeWithMakerSet.makerNodes .sort(() => 0.5 - Math.random()) .slice(0, Math.ceil(nodeWithMakerSet.makerNodes.length / 2)); nodeWithMakerSet = { userAccountData: nodeWithMakerSet.userAccountData, makerAccountData: nodeWithMakerSet.makerAccountData, node: nodeWithMakerSet.node, makerNodes: newMakerSet, }; if (newMakerSet.length === 0) { logger.error( `No makers left to use for multi maker perp node (fillTxId: ${fillTxId})` ); return; } } } private async fillMultiMakerPerpNodes( fillTxId: number, nodeToFill: NodeToFillWithBuffer, buildForBundle: boolean ): Promise<boolean> { let ixs: Array<TransactionInstruction> = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; try { const { makerInfos, takerUser, takerUserPubKey, takerUserSlot, referrerInfo, marketType, fillerRewardEstimate, } = await this.getNodeFillInfo(nodeToFill); let removeLastIxPostSim = this.revertOnFailure; if ( this.pythPriceSubscriber && ((makerInfos.length === 2 && !referrerInfo) || makerInfos.length < 2) ) { const pythIxs = await this.getPythIxsFromNode(nodeToFill); ixs.push(...pythIxs); removeLastIxPostSim = false; } if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( getPriorityFeeInstruction( Math.floor( this.priorityFeeSubscriber.getPriorityFees( 'perp', nodeToFill.node.order!.marketIndex! )!.high * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), this.driftClient.getOracleDataForPerpMarket(0).price, this.config.bidToFillerReward ? fillerRewardEstimate : undefined, this.globalConfig.priorityFeeMultiplier ) ); } logger.info( logMessageForNodeToFill( nodeToFill, takerUserPubKey, takerUserSlot, makerInfos, this.slotSubscriber.getSlot(), `${logPrefix} Filling multi maker perp node with ${nodeToFill.makerNodes.length} makers (fillTxId: ${fillTxId})` ) ); if (!isVariant(marketType, 'perp')) { throw new Error('expected perp market type'); } let makerInfosToUse = makerInfos; const buildTxWithMakerInfos = async ( makers: DataAndSlot<MakerInfo>[] ): Promise<SimulateAndGetTxWithCUsResponse | undefined> => { if (makers.length === 0) { return undefined; } ixs.push( await this.driftClient.getFillPerpOrderIx( await getUserAccountPublicKey( this.driftClient.program.programId, takerUser.authority, takerUser.subAccountId ), takerUser, nodeToFill.node.order!, makers.map((m) => m.data), referrerInfo, this.subaccount ) ); this.fillingNodes.set(getNodeToFillSignature(nodeToFill), Date.now()); const user = this.driftClient.getUser(this.subaccount); if (this.revertOnFailure) { ixs.push( await this.driftClient.getRevertFillIx(user.userAccountPublicKey) ); } const txSize = getSizeOfTransaction( ixs, true, this.lookupTableAccounts ); if (txSize > PACKET_DATA_SIZE) { logger.info(`tx too large, removing pyth ixs. keys: ${ixs.map((ix) => ix.keys.map((key) => key.pubkey.toString()))} total number of maker positions: ${makerInfos.reduce( (acc, maker) => acc + (maker.data.makerUserAccount.perpPositions.length + maker.data.makerUserAccount.spotPositions.length), 0 )} total taker positions: ${ takerUser.perpPositions.length + takerUser.spotPositions.length } marketIndex: ${nodeToFill.node.order!.marketIndex} taker has position in market: ${takerUser.perpPositions.some( (pos) => pos.marketIndex === nodeToFill.node.order!.marketIndex )} makers have position in market: ${makerInfos.some((maker) => maker.data.makerUserAccount.perpPositions.some( (pos) => pos.marketIndex === nodeToFill.node.order!.marketIndex ) )} `); ixs = removePythIxs(ixs); } const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts!, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), removeLastIxPostSim, }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'multiMakerFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'multiMakerFill', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); return simResult; }; let simResult = await buildTxWithMakerInfos(makerInfosToUse); if (simResult === undefined) { return true; } let txAccounts = simResult.tx.message.getAccountKeys({ addressLookupTableAccounts: this.lookupTableAccounts, }).length; let attempt = 0; while (txAccounts > MAX_ACCOUNTS_PER_TX && makerInfosToUse.length > 0) { logger.info( `${logPrefix} (fillTxId: ${fillTxId} attempt ${attempt++}) Too many accounts, remove 1 and try again (had ${ makerInfosToUse.length } maker and ${txAccounts} accounts)` ); makerInfosToUse = makerInfosToUse.slice(0, makerInfosToUse.length - 1); simResult = await buildTxWithMakerInfos(makerInfosToUse); } if (makerInfosToUse.length === 0) { logger.error( `${logPrefix} No makerInfos left to use for multi maker perp node (fillTxId: ${fillTxId})` ); return true; } if (simResult === undefined) { logger.error( `${logPrefix} No simResult after ${attempt} attempts (fillTxId: ${fillTxId})` ); return true; } txAccounts = simResult.tx.message.getAccountKeys({ addressLookupTableAccounts: this.lookupTableAccounts!, }).length; logger.info( `${logPrefix} tryFillMultiMakerPerpNodes estimated CUs: ${ simResult!.cuEstimate } (fillTxId: ${fillTxId})` ); if (simResult!.simError) { logger.error( `${logPrefix} Error simulating multi maker perp node (fillTxId: ${fillTxId}): ${JSON.stringify( simResult!.simError )}\nTaker slot: ${takerUserSlot}\nMaker slots: ${makerInfosToUse .map((m) => ` ${m.data.maker.toBase58()}: ${m.slot}`) .join('\n')}` ); } else { if (this.hasEnoughSolToFill) { this.sendFillTxAndParseLogs( fillTxId, [nodeToFill], simResult!.tx, buildForBundle ); } else { logger.info( `Not enough SOL to fill, skipping executeFillablePerpNodesForMarket` ); } } } catch (e) { if (e instanceof Error) { logger.error( `${logPrefix} Error filling multi maker perp node (fillTxId: ${fillTxId}): ${ e.stack ? e.stack : e.message }` ); } } return true; } protected async tryFillPerpNode( nodeToFill: NodeToFillWithBuffer, buildForBundle: boolean ) { let ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, }), ]; const fillTxId = this.fillTxId++; const { makerInfos, takerUser, takerUserPubKey, takerUserSlot, referrerInfo, marketType, fillerRewardEstimate, } = await this.getNodeFillInfo(nodeToFill); let removeLastIxPostSim = this.revertOnFailure; if (this.pythPriceSubscriber && makerInfos.length <= 2) { const pythIxs = await this.getPythIxsFromNode(nodeToFill); ixs.push(...pythIxs); removeLastIxPostSim = false; } if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( getPriorityFeeInstruction( Math.floor( this.priorityFeeSubscriber.getPriorityFees( 'perp', nodeToFill.node.order!.marketIndex! )!.high * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), this.driftClient.getOracleDataForPerpMarket(0).price, this.config.bidToFillerReward ? fillerRewardEstimate : undefined, this.globalConfig.priorityFeeMultiplier ) ); } logger.info( logMessageForNodeToFill( nodeToFill, takerUserPubKey, takerUserSlot, makerInfos, this.slotSubscriber.getSlot(), `Filling perp node (fillTxId: ${fillTxId})` ) ); if (!isVariant(marketType, 'perp')) { throw new Error('expected perp market type'); } const ix = await this.driftClient.getFillPerpOrderIx( await getUserAccountPublicKey( this.driftClient.program.programId, takerUser.authority, takerUser.subAccountId ), takerUser, nodeToFill.node.order!, makerInfos.map((m) => m.data), referrerInfo, this.subaccount ); ixs.push(ix); const user = this.driftClient.getUser(this.subaccount); if (this.revertOnFailure) { ixs.push( await this.driftClient.getRevertFillIx(user.userAccountPublicKey) ); } const txSize = getSizeOfTransaction(ixs, true, this.lookupTableAccounts); if (txSize > PACKET_DATA_SIZE) { logger.info(`tx too large, removing pyth ixs. keys: ${ixs.map((ix) => ix.keys.map((key) => key.pubkey.toString()))} total number of maker positions: ${makerInfos.reduce( (acc, maker) => acc + (maker.data.makerUserAccount.perpPositions.length + maker.data.makerUserAccount.spotPositions.length), 0 )} total taker positions: ${ takerUser.perpPositions.length + takerUser.spotPositions.length } marketIndex: ${nodeToFill.node.order!.marketIndex} taker has position in market: ${takerUser.perpPositions.some( (pos) => pos.marketIndex === nodeToFill.node.order!.marketIndex )} makers have position in market: ${makerInfos.some((maker) => maker.data.makerUserAccount.perpPositions.some( (pos) => pos.marketIndex === nodeToFill.node.order!.marketIndex ) )} `); ixs = removePythIxs(ixs); } const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts!, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), removeLastIxPostSim, }); logger.info( `tryFillPerpNode estimated CUs: ${simResult.cuEstimate} (fillTxId: ${fillTxId})` ); if (simResult.simError) { logger.error( `simError: ${JSON.stringify( simResult.simError )} (fillTxId: ${fillTxId})` ); } else { if (this.hasEnoughSolToFill) { this.sendFillTxAndParseLogs( fillTxId, [nodeToFill], simResult.tx, buildForBundle ); } else { logger.info( `Not enough SOL to fill, skipping executeFillablePerpNodesForMarket` ); } } } protected async sendFillTxAndParseLogs( fillTxId: number, nodesSent: Array<NodeToFillWithBuffer>, tx: VersionedTransaction, buildForBundle: boolean ) { let txResp: Promise<TxSigAndSlot> | undefined = undefined; let estTxSize: number | undefined = undefined; let txAccounts = 0; let writeAccs = 0; const accountMetas: any[] = []; const txStart = Date.now(); // @ts-ignore; tx.sign([this.driftClient.wallet.payer]); const txSig = bs58.encode(tx.signatures[0]); if (buildForBundle) { await this.sendTxThroughJito(tx, fillTxId); this.removeFillingNodes(nodesSent); } else { estTxSize = tx.message.serialize().length; const acc = tx.message.getAccountKeys({ addressLookupTableAccounts: this.lookupTableAccounts!, }); txAccounts = acc.length; for (let i = 0; i < txAccounts; i++) { const meta: any = {}; if (tx.message.isAccountWritable(i)) { writeAccs++; meta['writeable'] = true; } if (tx.message.isAccountSigner(i)) { meta['signer'] = true; } meta['address'] = acc.get(i)!.toBase58(); accountMetas.push(meta); } txResp = this.driftClient.txSender.sendVersionedTransaction( tx, [], this.driftClient.opts ); } this.registerTxSigToConfirm(txSig, Date.now(), nodesSent, fillTxId, 'fill'); if (txResp) { txResp .then((resp: TxSigAndSlot) => { const duration = Date.now() - txStart; logger.info( `${logPrefix} sent tx: ${resp.txSig}, took: ${duration}ms (fillTxId: ${fillTxId})` ); }) .catch(async (e) => { const simError = e as SendTransactionError; logger.error( `${logPrefix} Failed to send packed tx txAccountKeys: ${txAccounts} (${writeAccs} writeable) (fillTxId: ${fillTxId}), error: ${simError.message}` ); if (e.message.includes('too large:')) { logger.error( `${logPrefix}: :boxing_glove: Tx too large, estimated to be ${estTxSize} (fillId: ${fillTxId}). ${ e.message }\n${JSON.stringify(accountMetas)}` ); return; } if (simError.logs && simError.logs.length > 0) { const errorCode = getErrorCode(e); logger.error( `${logPrefix} Failed to send tx, sim error (fillTxId: ${fillTxId}) error code: ${errorCode}` ); } }) .finally(() => { this.removeFillingNodes(nodesSent); }); } } protected async settlePnls() { // Check if we have enough SOL to fill const fillerSolBalance = await this.driftClient.connection.getBalance( this.driftClient.authority ); this.hasEnoughSolToFill = fillerSolBalance >= this.minGasBalanceToFill; const user = this.driftClient.getUser(this.subaccount); const activePerpPositions = user.getActivePerpPositions().sort((a, b) => { return b.quoteAssetAmount.sub(a.quoteAssetAmount).toNumber(); }); const marketIds = activePerpPositions.map((pos) => pos.marketIndex); const totalUnsettledPnl = activePerpPositions.reduce( (totalUnsettledPnl, position) => { return totalUnsettledPnl.add(position.quoteAssetAmount); }, new BN(0) ); const now = Date.now(); // Settle pnl if: // - we are rebalancing and have enough unsettled pnl to rebalance preemptively // - we are rebalancing and don't have enough SOL to fill // - we have hit max positions to free up slots if ( (this.rebalanceFiller && (totalUnsettledPnl.gte( this.rebalanceSettledPnlThreshold.mul(QUOTE_PRECISION) ) || !this.hasEnoughSolToFill)) || marketIds.length >= MAX_POSITIONS_PER_USER ) { logger.info( `Settling positive PNLs for markets: ${JSON.stringify(marketIds)}` ); if (now < this.lastSettlePnl + SETTLE_POSITIVE_PNL_COOLDOWN_MS) { logger.info(`Want to settle positive pnl, but in cooldown...`); } else { let chunk_size; if (marketIds.length < 5) { chunk_size = marketIds.length; } else { chunk_size = marketIds.length / 2; } const settlePnlPromises: Array<Promise<TxSigAndSlot>> = []; const buildForBundle = this.shouldBuildForBundle(); for (let i = 0; i < marketIds.length; i += chunk_size) { const marketIdChunks = marketIds.slice(i, i + chunk_size); try { const ixs = [ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_400_000, // will be overridden by simulateTx }), ]; if (buildForBundle) { ixs.push(this.bundleSender!.getTipIx()); } else { ixs.push( ComputeBudgetProgram.setComputeUnitPrice({ microLamports: Math.floor( Math.max( ...marketIdChunks.map((marketId) => { return this.priorityFeeSubscriber.getPriorityFees( 'perp', marketId )!.medium; }) ) * this.driftClient.txSender.getSuggestedPriorityFeeMultiplier() ), }) ); } ixs.push( ...(await this.driftClient.getSettlePNLsIxs( [ { settleeUserAccountPublicKey: user.getUserAccountPublicKey(), settleeUserAccount: this.driftClient.getUserAccount( this.subaccount )!, }, ], marketIdChunks )) ); const simResult = await simulateAndGetTxWithCUs({ ixs, connection: this.driftClient.connection, payerPublicKey: this.driftClient.wallet.publicKey, lookupTableAccounts: this.lookupTableAccounts!, cuLimitMultiplier: SIM_CU_ESTIMATE_MULTIPLIER, doSimulation: this.simulateTxForCUEstimate, recentBlockhash: await this.getBlockhashForTx(), removeLastIxPostSim: this.revertOnFailure, }); this.simulateTxHistogram?.record(simResult.simTxDuration, { type: 'settlePnl', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); this.estTxCuHistogram?.record(simResult.cuEstimate, { type: 'settlePnl', simError: simResult.simError !== null, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); if (this.simulateTxForCUEstimate && simResult.simError) { logger.info( `settlePnls simError: ${JSON.stringify(simResult.simError)}` ); handleSimResultError( simResult, errorCodesToSuppress, `${this.name}: (settlePnls)` ); } else { if (!this.dryRun) { // @ts-ignore; simResult.tx.sign([this.driftClient.wallet.payer]); if (buildForBundle) { this.sendTxThroughJito(simResult.tx, 'settlePnl'); } else if (this.canSendOutsideJito()) { settlePnlPromises.push( this.driftClient.txSender.sendVersionedTransaction( simResult.tx, [], this.driftClient.opts, true ) ); } const txSig = bs58.encode(simResult.tx.signatures[0]); this.registerTxSigToConfirm( txSig, Date.now(), [], -2, 'settlePnl' ); } else { logger.info(`dry run, skipping settlePnls)`); } } } catch (err) { if (!(err instanceof Error)) { return; } const errorCode = getErrorCode(err) ?? 0; logger.error( `Error code: ${errorCode} while settling pnls for markets ${JSON.stringify( marketIds )}: ${err.message}` ); console.error(err); } } try { const txs = await Promise.all(settlePnlPromises); for (const tx of txs) { logger.info( `Settle positive PNLs tx: https://solscan/io/tx/${tx.txSig}` ); } } catch (e) { logger.error(`Error settling positive pnls: ${e}`); } this.lastSettlePnl = now; } } // If we are rebalancing, check if we have enough settled pnl in usdc account to rebalance, // or if we have to go below threshold since we don't have enough sol if (this.rebalanceFiller) { const fillerDriftAccountUsdcBalance = this.driftClient.getTokenAmount(0); const usdcSpotMarket = this.driftClient.getSpotMarketAccount(0); const normalizedFillerDriftAccountUsdcBalance = fillerDriftAccountUsdcBalance.divn(10 ** usdcSpotMarket!.decimals); if ( normalizedFillerDriftAccountUsdcBalance.gte( this.rebalanceSettledPnlThreshold ) || !this.hasEnoughSolToFill ) { logger.info( `Filler has ${normalizedFillerDriftAccountUsdcBalance.toNumber()} usdc to rebalance` ); await this.rebalance(); } } } protected async rebalance() { logger.info(`Rebalancing filler`); if (this.jupiterClient !== undefined) { logger.info(`Swapping USDC for SOL to rebalance filler`); swapFillerHardEarnedUSDCForSOL( this.priorityFeeSubscriber, this.driftClient, this.jupiterClient, await this.getBlockhashForTx(), this.subaccount ).then(async () => { const fillerSolBalanceAfterSwap = await this.driftClient.connection.getBalance( this.driftClient.authority, 'processed' ); this.hasEnoughSolToFill = fillerSolBalanceAfterSwap >= this.minGasBalanceToFill; }); } else { throw new Error('Jupiter client not initialized but trying to rebalance'); } } /** * Gives filler reward estimate * * @param taker * @param quoteAssetAmount */ protected calculateFillerRewardEstimate( feeTier: FeeTier, quoteAssetAmount: BN ) { const takerFee = quoteAssetAmount .muln(feeTier.feeNumerator) .divn(feeTier.feeDenominator); const fillerReward = BN.min(new BN(10_000), takerFee.divn(10)); return fillerReward; } protected async getNodeFillInfo(nodeToFill: NodeToFillWithBuffer): Promise<{ makerInfos: Array<DataAndSlot<MakerInfo>>; takerUserPubKey: string; takerUser: UserAccount; takerUserSlot: number; referrerInfo: ReferrerInfo | undefined; marketType: MarketType; fillerRewardEstimate: BN; }> { const makerInfos: Array<DataAndSlot<MakerInfo>> = []; if (nodeToFill.makerNodes.length > 0) { let makerNodesMap: MakerNodeMap = new Map<string, DLOBNode[]>(); for (const makerNode of nodeToFill.makerNodes) { if (this.isDLOBNodeThrottled(makerNode)) { continue; } if (!makerNode.userAccount) { continue; } if (makerNodesMap.has(makerNode.userAccount!)) { makerNodesMap.get(makerNode.userAccount!)!.push(makerNode); } else { makerNodesMap.set(makerNode.userAccount!, [makerNode]); } } if (makerNodesMap.size > MAX_MAKERS_PER_FILL) { logger.info(`selecting from ${makerNodesMap.size} makers`); makerNodesMap = selectMakers(makerNodesMap); logger.info(`selected: ${Array.from(makerNodesMap.keys()).join(',')}`); } const makerInfoMap = new Map(JSON.parse(nodeToFill.makerAccountData)); for (const [makerAccount, makerNodes] of makerNodesMap) { const makerNode = makerNodes[0]; const makerUserAccount = decodeUser( // @ts-ignore Buffer.from(makerInfoMap.get(makerAccount)!.data) ); const makerAuthority = makerUserAccount.authority; const makerUserStats = ( await this.userStatsMap!.mustGet(makerAuthority.toString()) ).userStatsAccountPublicKey; makerInfos.push({ slot: this.slotSubscriber.getSlot(), data: { maker: new PublicKey(makerAccount), makerUserAccount: makerUserAccount, order: makerNode.order, makerStats: makerUserStats, }, }); } } const takerUserPubKey = nodeToFill.node.userAccount!.toString(); const takerUserAccount = decodeUser( // @ts-ignore Buffer.from(nodeToFill.userAccountData.data) ); const referrerInfo = ( await this.userStatsMap!.mustGet(takerUserAccount.authority.toString()) ).getReferrerInfo(); const fillerReward = this.calculateFillerRewardEstimate( getUserFeeTier( MarketType.PERP, this.driftClient.getStateAccount(), ( await this.userStatsMap.mustGet(takerUserAccount.authority.toString()) ).getAccount() ), // eslint-disable-next-line @typescript-eslint/no-non-null-asserted-optional-chain nodeToFill.node .order!.price.mul(nodeToFill.node.order!.baseAssetAmount) .mul(QUOTE_PRECISION) .div(PRICE_PRECISION) .div(BASE_PRECISION) .sub(nodeToFill.node.order!.quoteAssetAmountFilled) ); return Promise.resolve({ makerInfos, takerUserPubKey, takerUser: takerUserAccount, takerUserSlot: this.slotSubscriber.getSlot(), referrerInfo, marketType: nodeToFill.node.order!.marketType, fillerRewardEstimate: fillerReward, }); } /** * Queues up the txSig to be confirmed in a slower loop, and have tx logs handled * @param txSig */ protected async registerTxSigToConfirm( txSig: TransactionSignature, now: number, nodeFilled: Array<NodeToFillWithBuffer>, fillTxId: number, txType: TxType ) { this.pendingTxSigsToconfirm.set(txSig, { ts: now, nodeFilled, fillTxId, txType, }); const user = this.driftClient.getUser(this.subaccount); this.sentTxsCounter?.add(1, { txType, ...metricAttrFromUserAccount( user.userAccountPublicKey, user.getUserAccount() ), }); } /** * Iterates through a tx's logs and handles it appropriately (e.g. throttling users, updating metrics, etc.) * * @param nodesFilled nodes that we sent a transaction to fill * @param logs logs from tx.meta.logMessages or this.clearingHouse.program._events._eventParser.parseLogs * @returns number of nodes successfully filled, and whether the tx exceeded CUs */ protected async handleTransactionLogs( nodesFilled: Array<NodeToFill>, logs: string[] | null | undefined ): Promise<{ filledNodes: number; exceededCUs: boolean }> { if (!logs) { return { filledNodes: 0, exceededCUs: false, }; } let inFillIx = false; let errorThisFillIx = false; let ixIdx = -1; // skip ComputeBudgetProgram let successCount = 0; let burstedCU = false; for (const log of logs) { if (log === null) { logger.error(`log is null`); continue; } if (log.includes('exceeded maximum number of instructions allowed')) { // temporary burst CU limit logger.warn(`Using bursted CU limit`); this.useBurstCULimit = true; this.fillTxSinceBurstCU = 0; burstedCU = true; continue; } if (isEndIxLog(this.driftClient.program.programId.toBase58(), log)) { if (!errorThisFillIx) { successCount++; } inFillIx = false; errorThisFillIx = false; continue; } if (isIxLog(log)) { if (isFillIxLog(log)) { inFillIx = true; errorThisFillIx = false; ixIdx++; } else { inFillIx = false; } continue; } if (!inFillIx) { // this is not a log for a fill instruction continue; } // try to handle the log line const orderIdDoesNotExist = isOrderDoesNotExistLog(log); if (orderIdDoesNotExist) { const filledNode = nodesFilled[ixIdx]; if (filledNode) { const isExpired = isOrderExpired( filledNode.node.order!, Date.now() / 1000, true ); logger.error( `assoc node (ixIdx: ${ixIdx}): ${filledNode.node.userAccount!.toString()}, ${ filledNode.node.order!.orderId }; does not exist (filled by someone else); ${log}, expired: ${isExpired}, orderTs: ${ filledNode.node.order!.maxTs }, now: ${Date.now() / 1000}` ); if (isExpired) { const sig = getNodeToFillSignature(filledNode); this.expiredNodesSet.set(sig, true); } } errorThisFillIx = true; continue; } const makerBreachedMaintenanceMargin = isMakerBreachedMaintenanceMarginLog(log); if (makerBreachedMaintenanceMargin !== null) { logger.error( `Throttling maker breached maintenance margin: ${makerBreachedMaintenanceMargin}` ); this.setThrottledNode(makerBreachedMaintenanceMargin); errorThisFillIx = true; break; } const takerBreachedMaintenanceMargin = isTakerBreachedMaintenanceMarginLog(log); if (takerBreachedMaintenanceMargin && nodesFilled[ixIdx]) { const filledNode = nodesFilled[ixIdx]; const takerNodeSignature = filledNode.node.userAccount!; logger.error( `taker breach maint. margin, assoc node (ixIdx: ${ixIdx}): ${filledNode.node.userAccount!.toString()}, ${ filledNode.node.order!.orderId }; (throttling ${takerNodeSignature} and force cancelling orders); ${log}` ); this.setThrottledNode(takerNodeSignature); errorThisFillIx = true; continue; } const errFillingLog = isErrFillingLog(log); if (errFillingLog) { const orderId = errFillingLog[0]; const userAcc = errFillingLog[1]; const extractedSig = getFillSignatureFromUserAccountAndOrderId( userAcc, orderId ); this.setThrottledNode(extractedSig); const filledNode = nodesFilled[ixIdx]; const assocNodeSig = getNodeToFillSignature(filledNode); logger.warn( `Throttling node due to fill error. extractedSig: ${extractedSig}, assocNodeSig: ${assocNodeSig}, assocNodeIdx: ${ixIdx}` ); errorThisFillIx = true; continue; } if (isErrStaleOracle(log)) { logger.error(`Stale oracle error: ${log}`); errorThisFillIx = true; continue; } } if (!burstedCU) { if (this.fillTxSinceBurstCU > TX_COUNT_COOLDOWN_ON_BURST) { this.useBurstCULimit = false; } this.fillTxSinceBurstCU += 1; } if (logs.length > 0) { if ( logs[logs.length - 1].includes('exceeded CUs meter at BPF instruction') ) { return { filledNodes: successCount, exceededCUs: true, }; } } return { filledNodes: successCount, exceededCUs: false, }; } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/pnpm-lock.yaml
lockfileVersion: '9.0' settings: autoInstallPeers: true excludeLinksFromLockfile: false overrides: '@ledgerhq/devices': 6.27.1 '@ledgerhq/errors': 6.16.3 '@ledgerhq/hw-transport': 6.27.1 '@ledgerhq/hw-transport-webhid': 6.27.1 '@solana/wallet-adapter-base': workspace:^ '@types/web': npm:typescript@~4.7.4 eslint: 8.22.0 '@ngraveio/bc-ur': 1.1.12 importers: .: devDependencies: '@changesets/cli': specifier: ^2.26.1 version: 2.26.2 '@types/node': specifier: ^18.16.18 version: 18.16.19 '@typescript-eslint/eslint-plugin': specifier: ^5.60.0 version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint@8.22.0)(typescript@4.7.4) '@typescript-eslint/parser': specifier: ^5.60.0 version: 5.62.0(eslint@8.22.0)(typescript@4.7.4) eslint: specifier: 8.22.0 version: 8.22.0 eslint-config-prettier: specifier: ^8.8.0 version: 8.8.0(eslint@8.22.0) eslint-plugin-prettier: specifier: ^4.2.1 version: 4.2.1(eslint-config-prettier@8.8.0(eslint@8.22.0))(eslint@8.22.0)(prettier@2.8.8) eslint-plugin-react: specifier: ^7.32.2 version: 7.33.0(eslint@8.22.0) eslint-plugin-react-hooks: specifier: ^4.6.0 version: 4.6.0(eslint@8.22.0) eslint-plugin-require-extensions: specifier: ^0.1.3 version: 0.1.3(eslint@8.22.0) gh-pages: specifier: ^4.0.0 version: 4.0.0 pnpm: specifier: ^9 version: 9.1.1 prettier: specifier: ^2.8.8 version: 2.8.8 shx: specifier: ^0.3.4 version: 0.3.4 turbo: specifier: ^1.13.3 version: 1.13.3 typedoc: specifier: ^0.23.28 version: 0.23.28(typescript@4.7.4) typescript: specifier: ~4.7.4 version: 4.7.4 packages/core/base: dependencies: '@solana/wallet-standard-features': specifier: ^1.1.0 version: 1.1.0 '@wallet-standard/base': specifier: ^1.0.1 version: 1.0.1 '@wallet-standard/features': specifier: ^1.0.3 version: 1.0.3 eventemitter3: specifier: ^4.0.7 version: 4.0.7 devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/node-fetch': specifier: ^2.6.4 version: 2.6.4 shx: specifier: ^0.3.4 version: 0.3.4 packages/core/react: dependencies: '@solana-mobile/wallet-adapter-mobile': specifier: ^2.0.0 version: 2.0.1(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../base '@solana/wallet-standard-wallet-adapter-react': specifier: ^1.1.0 version: 1.1.0(@solana/wallet-adapter-base@packages+core+base)(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.2.0) devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/jest': specifier: ^28.1.8 version: 28.1.8 '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 jest: specifier: ^28.1.3 version: 28.1.3(@types/node@18.16.19) jest-environment-jsdom: specifier: ^28.1.3 version: 28.1.3(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-localstorage-mock: specifier: ^2.4.26 version: 2.4.26 react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) shx: specifier: ^0.3.4 version: 0.3.4 ts-jest: specifier: ^28.0.8 version: 28.0.8(@babel/core@7.22.9)(@jest/types@28.1.3)(babel-jest@28.1.3(@babel/core@7.22.9))(jest@28.1.3(@types/node@18.16.19))(typescript@4.7.4) packages/starter/create-react-app-starter: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react '@solana/wallet-adapter-react-ui': specifier: workspace:^ version: link:../../ui/react-ui '@solana/wallet-adapter-wallets': specifier: workspace:^ version: link:../../wallets/wallets '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) react: specifier: ^18.2.0 version: 18.2.0 react-app-rewired: specifier: ^2.2.1 version: 2.2.1(react-scripts@5.0.1(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(@types/babel__core@7.20.1)(bufferutil@4.0.7)(eslint@8.22.0)(react@18.2.0)(type-fest@0.21.3)(typescript@4.7.4)(utf-8-validate@5.0.10)) react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) react-scripts: specifier: 5.0.1 version: 5.0.1(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(@types/babel__core@7.20.1)(bufferutil@4.0.7)(eslint@8.22.0)(react@18.2.0)(type-fest@0.21.3)(typescript@4.7.4)(utf-8-validate@5.0.10) web-vitals: specifier: ^2.1.4 version: 2.1.4 devDependencies: '@testing-library/jest-dom': specifier: ^5.16.5 version: 5.17.0 '@testing-library/react': specifier: ^13.4.0 version: 13.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@testing-library/user-event': specifier: ^14.4.3 version: 14.4.3(@testing-library/dom@9.3.1) '@types/jest': specifier: ^28.1.8 version: 28.1.8 '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 '@types/testing-library__jest-dom': specifier: ^5.14.6 version: 5.14.8 browserify-zlib: specifier: ^0.2.0 version: 0.2.0 crypto-browserify: specifier: ^3.12.0 version: 3.12.0 https-browserify: specifier: ^1.0.0 version: 1.0.0 process: specifier: ^0.11.10 version: 0.11.10 shx: specifier: ^0.3.4 version: 0.3.4 source-map-loader: specifier: ^4.0.1 version: 4.0.1(webpack@5.88.2) stream-browserify: specifier: ^3.0.0 version: 3.0.0 stream-http: specifier: ^3.2.0 version: 3.2.0 typescript: specifier: ~4.7.4 version: 4.7.4 url: specifier: ^0.11.1 version: 0.11.1 webpack: specifier: ^5.88.0 version: 5.88.2 packages/starter/example: dependencies: '@ant-design/icons': specifier: ^4.8.0 version: 4.8.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@emotion/react': specifier: ^11.11.1 version: 11.11.1(@types/react@18.2.15)(react@18.2.0) '@emotion/styled': specifier: ^11.11.0 version: 11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@mui/icons-material': specifier: ^5.11.16 version: 5.14.1(@mui/material@5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@mui/material': specifier: ^5.13.5 version: 5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@noble/curves': specifier: ^1.1.0 version: 1.1.0 '@solana/wallet-adapter-ant-design': specifier: workspace:^ version: link:../../ui/ant-design '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-adapter-material-ui': specifier: workspace:^ version: link:../../ui/material-ui '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react '@solana/wallet-adapter-react-ui': specifier: workspace:^ version: link:../../ui/react-ui '@solana/wallet-adapter-wallets': specifier: workspace:^ version: link:../../wallets/wallets '@solana/wallet-standard-features': specifier: ^1.1.0 version: 1.1.0 '@solana/wallet-standard-util': specifier: ^1.1.0 version: 1.1.0 '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) antd: specifier: ^4.24.10 version: 4.24.12(react-dom@18.2.0(react@18.2.0))(react@18.2.0) bs58: specifier: ^4.0.1 version: 4.0.1 next: specifier: ^12.3.4 version: 12.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) notistack: specifier: ^3.0.1 version: 3.0.1(csstype@3.1.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) devDependencies: '@types/bs58': specifier: ^4.0.1 version: 4.0.1 '@types/node-fetch': specifier: ^2.6.4 version: 2.6.4 '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 eslint: specifier: 8.22.0 version: 8.22.0 eslint-config-next: specifier: ^12.3.4 version: 12.3.4(eslint@8.22.0)(typescript@4.7.4) next-plugin-antd-less: specifier: ^1.8.0 version: 1.8.0(webpack@5.88.2) prettier: specifier: ^2.8.8 version: 2.8.8 shx: specifier: ^0.3.4 version: 0.3.4 typescript: specifier: ~4.7.4 version: 4.7.4 packages/starter/material-ui-starter: dependencies: '@emotion/react': specifier: ^11.11.1 version: 11.11.1(@types/react@18.2.15)(react@18.2.0) '@emotion/styled': specifier: ^11.11.0 version: 11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@mui/icons-material': specifier: ^5.11.16 version: 5.14.1(@mui/material@5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@mui/material': specifier: ^5.13.5 version: 5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-adapter-material-ui': specifier: workspace:^ version: link:../../ui/material-ui '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react '@solana/wallet-adapter-wallets': specifier: workspace:^ version: link:../../wallets/wallets '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) notistack: specifier: ^3.0.1 version: 3.0.1(csstype@3.1.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) devDependencies: '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 parcel: specifier: ^2.9.2 version: 2.9.3(@swc/helpers@0.5.1)(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(terser@5.19.1) prettier: specifier: ^2.8.8 version: 2.8.8 process: specifier: ^0.11.10 version: 0.11.10 shx: specifier: ^0.3.4 version: 0.3.4 typescript: specifier: ~4.7.4 version: 4.7.4 packages/starter/nextjs-starter: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react '@solana/wallet-adapter-react-ui': specifier: workspace:^ version: link:../../ui/react-ui '@solana/wallet-adapter-wallets': specifier: workspace:^ version: link:../../wallets/wallets next: specifier: ^12.3.4 version: 12.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) devDependencies: '@types/node-fetch': specifier: ^2.6.4 version: 2.6.4 '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 eslint: specifier: 8.22.0 version: 8.22.0 eslint-config-next: specifier: ^12.3.4 version: 12.3.4(eslint@8.22.0)(typescript@4.7.4) prettier: specifier: ^2.8.8 version: 2.8.8 shx: specifier: ^0.3.4 version: 0.3.4 typescript: specifier: ~4.7.4 version: 4.7.4 packages/starter/react-ui-starter: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react '@solana/wallet-adapter-react-ui': specifier: workspace:^ version: link:../../ui/react-ui '@solana/wallet-adapter-wallets': specifier: workspace:^ version: link:../../wallets/wallets '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) devDependencies: '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 parcel: specifier: ^2.9.2 version: 2.9.3(@swc/helpers@0.5.1)(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(terser@5.19.1) prettier: specifier: ^2.8.8 version: 2.8.8 process: specifier: ^0.11.10 version: 0.11.10 shx: specifier: ^0.3.4 version: 0.3.4 typescript: specifier: ~4.7.4 version: 4.7.4 packages/ui/ant-design: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-adapter-base-ui': specifier: workspace:^ version: link:../base-ui '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react devDependencies: '@ant-design/icons': specifier: ^4.8.0 version: 4.8.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 antd: specifier: ^4.24.10 version: 4.24.12(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) shx: specifier: ^0.3.4 version: 0.3.4 packages/ui/base-ui: dependencies: '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/react': specifier: ^18.2.13 version: 18.2.15 react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) shx: specifier: ^0.3.4 version: 0.3.4 packages/ui/material-ui: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-adapter-base-ui': specifier: workspace:^ version: link:../base-ui '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react devDependencies: '@emotion/react': specifier: ^11.11.1 version: 11.11.1(@types/react@18.2.15)(react@18.2.0) '@emotion/styled': specifier: ^11.11.0 version: 11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@mui/icons-material': specifier: ^5.11.16 version: 5.14.1(@mui/material@5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@mui/material': specifier: ^5.13.5 version: 5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) shx: specifier: ^0.3.4 version: 0.3.4 packages/ui/react-ui: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-adapter-base-ui': specifier: workspace:^ version: link:../base-ui '@solana/wallet-adapter-react': specifier: workspace:^ version: link:../../core/react devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/react': specifier: ^18.2.13 version: 18.2.15 '@types/react-dom': specifier: ^18.2.6 version: 18.2.7 react: specifier: ^18.2.0 version: 18.2.0 react-dom: specifier: ^18.2.0 version: 18.2.0(react@18.2.0) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/alpha: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/avana: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/bitkeep: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/bitpie: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/clover: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/coin98: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base bs58: specifier: ^4.0.1 version: 4.0.1 devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/bs58': specifier: ^4.0.1 version: 4.0.1 shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/coinbase: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/coinhub: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/fractal: dependencies: '@fractalwagmi/solana-wallet-adapter': specifier: ^0.1.1 version: 0.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/huobi: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/hyperpay: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/keystone: dependencies: '@keystonehq/sol-keyring': specifier: ^0.20.0 version: 0.20.0(bufferutil@4.0.7)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(utf-8-validate@5.0.10) '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/krystal: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/ledger: dependencies: '@ledgerhq/devices': specifier: 6.27.1 version: 6.27.1 '@ledgerhq/hw-transport': specifier: 6.27.1 version: 6.27.1 '@ledgerhq/hw-transport-webhid': specifier: 6.27.1 version: 6.27.1 '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base buffer: specifier: ^6.0.3 version: 6.0.3 devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/w3c-web-hid': specifier: ^1.0.3 version: 1.0.3 shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/mathwallet: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/neko: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/nightly: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/nufi: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/onto: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/particle: dependencies: '@particle-network/solana-wallet': specifier: ^1.3.2 version: 1.3.2(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bs58@5.0.0) '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@metamask/eth-sig-util': specifier: ^7.0.1 version: 7.0.1 '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/phantom: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/safepal: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/saifu: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/salmon: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base salmon-adapter-sdk: specifier: ^1.1.1 version: 1.1.1(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10)) devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/sky: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/solflare: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-standard-chains': specifier: ^1.1.0 version: 1.1.0 '@solflare-wallet/metamask-sdk': specifier: ^1.0.2 version: 1.0.2(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10)) '@solflare-wallet/sdk': specifier: ^1.3.0 version: 1.3.0(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10)) '@wallet-standard/wallet': specifier: ^1.0.1 version: 1.0.1 devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/solong: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/spot: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/tokenary: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/tokenpocket: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/torus: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@toruslabs/solana-embed': specifier: ^0.3.4 version: 0.3.4(@babel/runtime@7.22.6)(bufferutil@4.0.7)(utf-8-validate@5.0.10) assert: specifier: ^2.0.0 version: 2.0.0 crypto-browserify: specifier: ^3.12.0 version: 3.12.0 process: specifier: ^0.11.10 version: 0.11.10 stream-browserify: specifier: ^3.0.0 version: 3.0.0 devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/keccak': specifier: ^3.0.1 version: 3.0.1 '@types/node-fetch': specifier: ^2.6.4 version: 2.6.4 '@types/readable-stream': specifier: ^2.3.15 version: 2.3.15 shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/trezor: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@trezor/connect-web': specifier: ^9.2.1 version: 9.2.1(bufferutil@4.0.7)(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2)(utf-8-validate@5.0.10) buffer: specifier: ^6.0.3 version: 6.0.3 devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/trust: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/unsafe-burner: dependencies: '@noble/curves': specifier: ^1.1.0 version: 1.1.0 '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base '@solana/wallet-standard-features': specifier: ^1.1.0 version: 1.1.0 '@solana/wallet-standard-util': specifier: ^1.1.0 version: 1.1.0 devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/walletconnect: dependencies: '@jnwng/walletconnect-solana': specifier: ^0.2.0 version: 0.2.0(@react-native-async-storage/async-storage@1.19.1)(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@types/pino': specifier: ^6.3.12 version: 6.3.12 '@walletconnect/types': specifier: ^2.8.1 version: 2.9.1(@react-native-async-storage/async-storage@1.19.1) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/wallets: dependencies: '@solana/wallet-adapter-alpha': specifier: workspace:^ version: link:../alpha '@solana/wallet-adapter-avana': specifier: workspace:^ version: link:../avana '@solana/wallet-adapter-bitkeep': specifier: workspace:^ version: link:../bitkeep '@solana/wallet-adapter-bitpie': specifier: workspace:^ version: link:../bitpie '@solana/wallet-adapter-clover': specifier: workspace:^ version: link:../clover '@solana/wallet-adapter-coin98': specifier: workspace:^ version: link:../coin98 '@solana/wallet-adapter-coinbase': specifier: workspace:^ version: link:../coinbase '@solana/wallet-adapter-coinhub': specifier: workspace:^ version: link:../coinhub '@solana/wallet-adapter-fractal': specifier: workspace:^ version: link:../fractal '@solana/wallet-adapter-huobi': specifier: workspace:^ version: link:../huobi '@solana/wallet-adapter-hyperpay': specifier: workspace:^ version: link:../hyperpay '@solana/wallet-adapter-keystone': specifier: workspace:^ version: link:../keystone '@solana/wallet-adapter-krystal': specifier: workspace:^ version: link:../krystal '@solana/wallet-adapter-ledger': specifier: workspace:^ version: link:../ledger '@solana/wallet-adapter-mathwallet': specifier: workspace:^ version: link:../mathwallet '@solana/wallet-adapter-neko': specifier: workspace:^ version: link:../neko '@solana/wallet-adapter-nightly': specifier: workspace:^ version: link:../nightly '@solana/wallet-adapter-nufi': specifier: workspace:^ version: link:../nufi '@solana/wallet-adapter-onto': specifier: workspace:^ version: link:../onto '@solana/wallet-adapter-particle': specifier: workspace:^ version: link:../particle '@solana/wallet-adapter-phantom': specifier: workspace:^ version: link:../phantom '@solana/wallet-adapter-safepal': specifier: workspace:^ version: link:../safepal '@solana/wallet-adapter-saifu': specifier: workspace:^ version: link:../saifu '@solana/wallet-adapter-salmon': specifier: workspace:^ version: link:../salmon '@solana/wallet-adapter-sky': specifier: workspace:^ version: link:../sky '@solana/wallet-adapter-solflare': specifier: workspace:^ version: link:../solflare '@solana/wallet-adapter-solong': specifier: workspace:^ version: link:../solong '@solana/wallet-adapter-spot': specifier: workspace:^ version: link:../spot '@solana/wallet-adapter-tokenary': specifier: workspace:^ version: link:../tokenary '@solana/wallet-adapter-tokenpocket': specifier: workspace:^ version: link:../tokenpocket '@solana/wallet-adapter-torus': specifier: workspace:^ version: link:../torus '@solana/wallet-adapter-trezor': specifier: workspace:^ version: link:../trezor '@solana/wallet-adapter-trust': specifier: workspace:^ version: link:../trust '@solana/wallet-adapter-unsafe-burner': specifier: workspace:^ version: link:../unsafe-burner '@solana/wallet-adapter-walletconnect': specifier: workspace:^ version: link:../walletconnect '@solana/wallet-adapter-xdefi': specifier: workspace:^ version: link:../xdefi devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages/wallets/xdefi: dependencies: '@solana/wallet-adapter-base': specifier: workspace:^ version: link:../../core/base devDependencies: '@solana/web3.js': specifier: ^1.77.3 version: 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) shx: specifier: ^0.3.4 version: 0.3.4 packages: '@aashutoshrathi/word-wrap@1.2.6': resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} engines: {node: '>=0.10.0'} '@adobe/css-tools@4.2.0': resolution: {integrity: sha512-E09FiIft46CmH5Qnjb0wsW54/YQd69LsxeKUOWawmws1XWvyFGURnAChH0mlr7YPFR1ofwvUQfcL0J3lMxXqPA==} '@alloc/quick-lru@5.2.0': resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} engines: {node: '>=10'} '@ampproject/remapping@2.2.1': resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} engines: {node: '>=6.0.0'} '@ant-design/colors@6.0.0': resolution: {integrity: sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==} '@ant-design/icons-svg@4.2.1': resolution: {integrity: sha512-EB0iwlKDGpG93hW8f85CTJTs4SvMX7tt5ceupvhALp1IF44SeUFOMhKUOYqpsoYWQKAOuTRDMqn75rEaKDp0Xw==} '@ant-design/icons@4.8.0': resolution: {integrity: sha512-T89P2jG2vM7OJ0IfGx2+9FC5sQjtTzRSz+mCHTXkFn/ELZc2YpfStmYHmqzq2Jx55J0F7+O6i5/ZKFSVNWCKNg==} engines: {node: '>=8'} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' '@ant-design/react-slick@0.29.2': resolution: {integrity: sha512-kgjtKmkGHa19FW21lHnAfyyH9AAoh35pBdcJ53rHmQ3O+cfFHGHnUbj/HFrRNJ5vIts09FKJVAD8RpaC+RaWfA==} peerDependencies: react: '>=16.9.0' '@apideck/better-ajv-errors@0.3.6': resolution: {integrity: sha512-P+ZygBLZtkp0qqOAJJVX4oX/sFo5JR3eBWwwuqHHhK0GIgQOKWrAfiAaWX0aArHkRWHMuggFEgAZNxVPwPZYaA==} engines: {node: '>=10'} peerDependencies: ajv: '>=8' '@babel/code-frame@7.10.4': resolution: {integrity: sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==} '@babel/code-frame@7.22.5': resolution: {integrity: sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ==} engines: {node: '>=6.9.0'} '@babel/code-frame@7.23.5': resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==} engines: {node: '>=6.9.0'} '@babel/compat-data@7.22.9': resolution: {integrity: sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ==} engines: {node: '>=6.9.0'} '@babel/core@7.22.9': resolution: {integrity: sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w==} engines: {node: '>=6.9.0'} '@babel/eslint-parser@7.22.9': resolution: {integrity: sha512-xdMkt39/nviO/4vpVdrEYPwXCsYIXSSAr6mC7WQsNIlGnuxKyKE7GZjalcnbSWiC4OXGNNN3UQPeHfjSC6sTDA==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: '@babel/core': '>=7.11.0' eslint: 8.22.0 '@babel/generator@7.22.9': resolution: {integrity: sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.22.5': resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} engines: {node: '>=6.9.0'} '@babel/helper-builder-binary-assignment-operator-visitor@7.22.5': resolution: {integrity: sha512-m1EP3lVOPptR+2DwD125gziZNcmoNSHGmJROKoy87loWUQyJaVXDgpmruWqDARZSmtYQ+Dl25okU8+qhVzuykw==} engines: {node: '>=6.9.0'} '@babel/helper-compilation-targets@7.22.9': resolution: {integrity: sha512-7qYrNM6HjpnPHJbopxmb8hSPoZ0gsX8IvUS32JGVoy+pU9e5N0nLr1VjJoR6kA4d9dmGLxNYOjeB8sUDal2WMw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-create-class-features-plugin@7.22.9': resolution: {integrity: sha512-Pwyi89uO4YrGKxL/eNJ8lfEH55DnRloGPOseaA8NFNL6jAUnn+KccaISiFazCj5IolPPDjGSdzQzXVzODVRqUQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-create-class-features-plugin@7.24.0': resolution: {integrity: sha512-QAH+vfvts51BCsNZ2PhY6HAggnlS6omLLFTsIpeqZk/MmJ6cW7tgz5yRv0fMJThcr6FmbMrENh1RgrWPTYA76g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-create-regexp-features-plugin@7.22.9': resolution: {integrity: sha512-+svjVa/tFwsNSG4NEy1h85+HQ5imbT92Q5/bgtS7P0GTQlP8WuFdqsiABmQouhiFGyV66oGxZFpeYHza1rNsKw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-define-polyfill-provider@0.4.1': resolution: {integrity: sha512-kX4oXixDxG197yhX+J3Wp+NpL2wuCFjWQAr6yX2jtCnflK9ulMI51ULFGIrWiX1jGfvAxdHp+XQCcP2bZGPs9A==} peerDependencies: '@babel/core': ^7.4.0-0 '@babel/helper-environment-visitor@7.22.20': resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} engines: {node: '>=6.9.0'} '@babel/helper-environment-visitor@7.22.5': resolution: {integrity: sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==} engines: {node: '>=6.9.0'} '@babel/helper-function-name@7.22.5': resolution: {integrity: sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==} engines: {node: '>=6.9.0'} '@babel/helper-function-name@7.23.0': resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} engines: {node: '>=6.9.0'} '@babel/helper-hoist-variables@7.22.5': resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} engines: {node: '>=6.9.0'} '@babel/helper-member-expression-to-functions@7.22.5': resolution: {integrity: sha512-aBiH1NKMG0H2cGZqspNvsaBe6wNGjbJjuLy29aU+eDZjSbbN53BaxlpB02xm9v34pLTZ1nIQPFYn2qMZoa5BQQ==} engines: {node: '>=6.9.0'} '@babel/helper-member-expression-to-functions@7.23.0': resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} engines: {node: '>=6.9.0'} '@babel/helper-module-imports@7.22.15': resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} engines: {node: '>=6.9.0'} '@babel/helper-module-imports@7.22.5': resolution: {integrity: sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==} engines: {node: '>=6.9.0'} '@babel/helper-module-transforms@7.22.9': resolution: {integrity: sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-optimise-call-expression@7.22.5': resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} engines: {node: '>=6.9.0'} '@babel/helper-plugin-utils@7.22.5': resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} engines: {node: '>=6.9.0'} '@babel/helper-remap-async-to-generator@7.22.9': resolution: {integrity: sha512-8WWC4oR4Px+tr+Fp0X3RHDVfINGpF3ad1HIbrc8A77epiR6eMMc6jsgozkzT2uDiOOdoS9cLIQ+XD2XvI2WSmQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-replace-supers@7.22.20': resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-replace-supers@7.22.9': resolution: {integrity: sha512-LJIKvvpgPOPUThdYqcX6IXRuIcTkcAub0IaDRGCZH0p5GPUp7PhRU9QVgFcDDd51BaPkk77ZjqFwh6DZTAEmGg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/helper-simple-access@7.22.5': resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} engines: {node: '>=6.9.0'} '@babel/helper-skip-transparent-expression-wrappers@7.22.5': resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} engines: {node: '>=6.9.0'} '@babel/helper-split-export-declaration@7.22.6': resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} engines: {node: '>=6.9.0'} '@babel/helper-string-parser@7.22.5': resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} engines: {node: '>=6.9.0'} '@babel/helper-string-parser@7.23.4': resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} engines: {node: '>=6.9.0'} '@babel/helper-validator-identifier@7.22.20': resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} '@babel/helper-validator-identifier@7.22.5': resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} engines: {node: '>=6.9.0'} '@babel/helper-validator-option@7.22.5': resolution: {integrity: sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw==} engines: {node: '>=6.9.0'} '@babel/helper-validator-option@7.23.5': resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} engines: {node: '>=6.9.0'} '@babel/helper-wrap-function@7.22.9': resolution: {integrity: sha512-sZ+QzfauuUEfxSEjKFmi3qDSHgLsTPK/pEpoD/qonZKOtTPTLbf59oabPQ4rKekt9lFcj/hTZaOhWwFYrgjk+Q==} engines: {node: '>=6.9.0'} '@babel/helpers@7.22.6': resolution: {integrity: sha512-YjDs6y/fVOYFV8hAf1rxd1QvR9wJe1pDBZ2AREKq/SDayfPzgk0PBnVuTCE5X1acEpMMNOVUqoe+OwiZGJ+OaA==} engines: {node: '>=6.9.0'} '@babel/highlight@7.22.5': resolution: {integrity: sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw==} engines: {node: '>=6.9.0'} '@babel/highlight@7.23.4': resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} engines: {node: '>=6.9.0'} '@babel/parser@7.22.7': resolution: {integrity: sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q==} engines: {node: '>=6.0.0'} hasBin: true '@babel/parser@7.24.0': resolution: {integrity: sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg==} engines: {node: '>=6.0.0'} hasBin: true '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.22.5': resolution: {integrity: sha512-NP1M5Rf+u2Gw9qfSO4ihjcTGW5zXTi36ITLd4/EoAcEhIZ0yjMqmftDNl3QC19CX7olhrjpyU454g/2W7X0jvQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.22.5': resolution: {integrity: sha512-31Bb65aZaUwqCbWMnZPduIZxCBngHFlzyN6Dq6KAJjtx+lx6ohKHubc61OomYi7XwVD4Ol0XCVz4h+pYFR048g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.13.0 '@babel/plugin-proposal-async-generator-functions@7.20.7': resolution: {integrity: sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==} engines: {node: '>=6.9.0'} deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead. peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-class-properties@7.18.6': resolution: {integrity: sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-decorators@7.22.7': resolution: {integrity: sha512-omXqPF7Onq4Bb7wHxXjM3jSMSJvUUbvDvmmds7KI5n9Cq6Ln5I05I1W2nRlRof1rGdiUxJrxwe285WF96XlBXQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-export-default-from@7.22.5': resolution: {integrity: sha512-UCe1X/hplyv6A5g2WnQ90tnHRvYL29dabCWww92lO7VdfMVTVReBTRrhiMrKQejHD9oVkdnRdwYuzUZkBVQisg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6': resolution: {integrity: sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-numeric-separator@7.18.6': resolution: {integrity: sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-object-rest-spread@7.20.7': resolution: {integrity: sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==} engines: {node: '>=6.9.0'} deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-optional-catch-binding@7.18.6': resolution: {integrity: sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==} engines: {node: '>=6.9.0'} deprecated: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead. peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-optional-chaining@7.21.0': resolution: {integrity: sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-private-methods@7.18.6': resolution: {integrity: sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2': resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-private-property-in-object@7.21.11': resolution: {integrity: sha512-0QZ8qP/3RLDVBwBFoWAwCtgcDZJVwA5LUJRZU8x2YFfKNuFq161wK3cuGrALu5yiPu+vzwTAg/sMWVNeWeNyaw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-proposal-unicode-property-regex@7.18.6': resolution: {integrity: sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==} engines: {node: '>=4'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-async-generators@7.8.4': resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-bigint@7.8.3': resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-properties@7.12.13': resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-class-static-block@7.14.5': resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-decorators@7.22.5': resolution: {integrity: sha512-avpUOBS7IU6al8MmF1XpAyj9QYeLPuSDJI5D4pVMSMdL7xQokKqJPYQC67RCT0aCTashUXPiGwMJ0DEXXCEmMA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-dynamic-import@7.8.3': resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-export-default-from@7.22.5': resolution: {integrity: sha512-ODAqWWXB/yReh/jVQDag/3/tl6lgBueQkk/TcfW/59Oykm4c8a55XloX0CTk2k2VJiFWMgHby9xNX29IbCv9dQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-export-namespace-from@7.8.3': resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-flow@7.22.5': resolution: {integrity: sha512-9RdCl0i+q0QExayk2nOS7853w08yLucnnPML6EN9S8fgMPVtdLDCdx/cOQ/i44Lb9UeQX9A35yaqBBOMMZxPxQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-assertions@7.22.5': resolution: {integrity: sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-attributes@7.22.5': resolution: {integrity: sha512-KwvoWDeNKPETmozyFE0P2rOLqh39EoQHNjqizrI5B8Vt0ZNS7M56s7dAiAqbYfiAYOuIzIh96z3iR2ktgu3tEg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-import-meta@7.10.4': resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-json-strings@7.8.3': resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-jsx@7.22.5': resolution: {integrity: sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-jsx@7.23.3': resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-logical-assignment-operators@7.10.4': resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3': resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-numeric-separator@7.10.4': resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-object-rest-spread@7.8.3': resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-catch-binding@7.8.3': resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-optional-chaining@7.8.3': resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-private-property-in-object@7.14.5': resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-top-level-await@7.14.5': resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-typescript@7.22.5': resolution: {integrity: sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-syntax-unicode-sets-regex@7.18.6': resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/plugin-transform-arrow-functions@7.22.5': resolution: {integrity: sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-async-generator-functions@7.22.7': resolution: {integrity: sha512-7HmE7pk/Fmke45TODvxvkxRMV9RazV+ZZzhOL9AG8G29TLrr3jkjwF7uJfxZ30EoXpO+LJkq4oA8NjO2DTnEDg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-async-to-generator@7.22.5': resolution: {integrity: sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-block-scoped-functions@7.22.5': resolution: {integrity: sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-block-scoping@7.22.5': resolution: {integrity: sha512-EcACl1i5fSQ6bt+YGuU/XGCeZKStLmyVGytWkpyhCLeQVA0eu6Wtiw92V+I1T/hnezUv7j74dA/Ro69gWcU+hg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-class-properties@7.22.5': resolution: {integrity: sha512-nDkQ0NfkOhPTq8YCLiWNxp1+f9fCobEjCb0n8WdbNUBc4IB5V7P1QnX9IjpSoquKrXF5SKojHleVNs2vGeHCHQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-class-static-block@7.22.5': resolution: {integrity: sha512-SPToJ5eYZLxlnp1UzdARpOGeC2GbHvr9d/UV0EukuVx8atktg194oe+C5BqQ8jRTkgLRVOPYeXRSBg1IlMoVRA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.12.0 '@babel/plugin-transform-classes@7.22.6': resolution: {integrity: sha512-58EgM6nuPNG6Py4Z3zSuu0xWu2VfodiMi72Jt5Kj2FECmaYk1RrTXA45z6KBFsu9tRgwQDwIiY4FXTt+YsSFAQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-computed-properties@7.22.5': resolution: {integrity: sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-destructuring@7.22.5': resolution: {integrity: sha512-GfqcFuGW8vnEqTUBM7UtPd5A4q797LTvvwKxXTgRsFjoqaJiEg9deBG6kWeQYkVEL569NpnmpC0Pkr/8BLKGnQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-dotall-regex@7.22.5': resolution: {integrity: sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-duplicate-keys@7.22.5': resolution: {integrity: sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-dynamic-import@7.22.5': resolution: {integrity: sha512-0MC3ppTB1AMxd8fXjSrbPa7LT9hrImt+/fcj+Pg5YMD7UQyWp/02+JWpdnCymmsXwIx5Z+sYn1bwCn4ZJNvhqQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-exponentiation-operator@7.22.5': resolution: {integrity: sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-export-namespace-from@7.22.5': resolution: {integrity: sha512-X4hhm7FRnPgd4nDA4b/5V280xCx6oL7Oob5+9qVS5C13Zq4bh1qq7LU0GgRU6b5dBWBvhGaXYVB4AcN6+ol6vg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-export-namespace-from@7.23.4': resolution: {integrity: sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-flow-strip-types@7.22.5': resolution: {integrity: sha512-tujNbZdxdG0/54g/oua8ISToaXTFBf8EnSb5PgQSciIXWOWKX3S4+JR7ZE9ol8FZwf9kxitzkGQ+QWeov/mCiA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-for-of@7.22.5': resolution: {integrity: sha512-3kxQjX1dU9uudwSshyLeEipvrLjBCVthCgeTp6CzE/9JYrlAIaeekVxRpCWsDDfYTfRZRoCeZatCQvwo+wvK8A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-function-name@7.22.5': resolution: {integrity: sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-json-strings@7.22.5': resolution: {integrity: sha512-DuCRB7fu8MyTLbEQd1ew3R85nx/88yMoqo2uPSjevMj3yoN7CDM8jkgrY0wmVxfJZyJ/B9fE1iq7EQppWQmR5A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-literals@7.22.5': resolution: {integrity: sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-logical-assignment-operators@7.22.5': resolution: {integrity: sha512-MQQOUW1KL8X0cDWfbwYP+TbVbZm16QmQXJQ+vndPtH/BoO0lOKpVoEDMI7+PskYxH+IiE0tS8xZye0qr1lGzSA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-member-expression-literals@7.22.5': resolution: {integrity: sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-modules-amd@7.22.5': resolution: {integrity: sha512-R+PTfLTcYEmb1+kK7FNkhQ1gP4KgjpSO6HfH9+f8/yfp2Nt3ggBjiVpRwmwTlfqZLafYKJACy36yDXlEmI9HjQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-modules-commonjs@7.22.5': resolution: {integrity: sha512-B4pzOXj+ONRmuaQTg05b3y/4DuFz3WcCNAXPLb2Q0GT0TrGKGxNKV4jwsXts+StaM0LQczZbOpj8o1DLPDJIiA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-modules-systemjs@7.22.5': resolution: {integrity: sha512-emtEpoaTMsOs6Tzz+nbmcePl6AKVtS1yC4YNAeMun9U8YCsgadPNxnOPQ8GhHFB2qdx+LZu9LgoC0Lthuu05DQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-modules-umd@7.22.5': resolution: {integrity: sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-named-capturing-groups-regex@7.22.5': resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/plugin-transform-new-target@7.22.5': resolution: {integrity: sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-nullish-coalescing-operator@7.22.5': resolution: {integrity: sha512-6CF8g6z1dNYZ/VXok5uYkkBBICHZPiGEl7oDnAx2Mt1hlHVHOSIKWJaXHjQJA5VB43KZnXZDIexMchY4y2PGdA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-numeric-separator@7.22.5': resolution: {integrity: sha512-NbslED1/6M+sXiwwtcAB/nieypGw02Ejf4KtDeMkCEpP6gWFMX1wI9WKYua+4oBneCCEmulOkRpwywypVZzs/g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-object-rest-spread@7.22.5': resolution: {integrity: sha512-Kk3lyDmEslH9DnvCDA1s1kkd3YWQITiBOHngOtDL9Pt6BZjzqb6hiOlb8VfjiiQJ2unmegBqZu0rx5RxJb5vmQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-object-super@7.22.5': resolution: {integrity: sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-optional-catch-binding@7.22.5': resolution: {integrity: sha512-pH8orJahy+hzZje5b8e2QIlBWQvGpelS76C63Z+jhZKsmzfNaPQ+LaW6dcJ9bxTpo1mtXbgHwy765Ro3jftmUg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-optional-chaining@7.22.6': resolution: {integrity: sha512-Vd5HiWml0mDVtcLHIoEU5sw6HOUW/Zk0acLs/SAeuLzkGNOPc9DB4nkUajemhCmTIz3eiaKREZn2hQQqF79YTg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-parameters@7.22.5': resolution: {integrity: sha512-AVkFUBurORBREOmHRKo06FjHYgjrabpdqRSwq6+C7R5iTCZOsM4QbcB27St0a4U6fffyAOqh3s/qEfybAhfivg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-parameters@7.23.3': resolution: {integrity: sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-private-methods@7.22.5': resolution: {integrity: sha512-PPjh4gyrQnGe97JTalgRGMuU4icsZFnWkzicB/fUtzlKUqvsWBKEpPPfr5a2JiyirZkHxnAqkQMO5Z5B2kK3fA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-private-property-in-object@7.22.5': resolution: {integrity: sha512-/9xnaTTJcVoBtSSmrVyhtSvO3kbqS2ODoh2juEU72c3aYonNF0OMGiaz2gjukyKM2wBBYJP38S4JiE0Wfb5VMQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-private-property-in-object@7.23.4': resolution: {integrity: sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-property-literals@7.22.5': resolution: {integrity: sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-constant-elements@7.22.5': resolution: {integrity: sha512-BF5SXoO+nX3h5OhlN78XbbDrBOffv+AxPP2ENaJOVqjWCgBDeOY3WcaUcddutGSfoap+5NEQ/q/4I3WZIvgkXA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-display-name@7.22.5': resolution: {integrity: sha512-PVk3WPYudRF5z4GKMEYUrLjPl38fJSKNaEOkFuoprioowGuWN6w2RKznuFNSlJx7pzzXXStPUnNSOEO0jL5EVw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-display-name@7.23.3': resolution: {integrity: sha512-GnvhtVfA2OAtzdX58FJxU19rhoGeQzyVndw3GgtdECQvQFXPEZIOVULHVZGAYmOgmqjXpVpfocAbSjh99V/Fqw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-jsx-development@7.22.5': resolution: {integrity: sha512-bDhuzwWMuInwCYeDeMzyi7TaBgRQei6DqxhbyniL7/VG4RSS7HtSL2QbY4eESy1KJqlWt8g3xeEBGPuo+XqC8A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-jsx-self@7.22.5': resolution: {integrity: sha512-nTh2ogNUtxbiSbxaT4Ds6aXnXEipHweN9YRgOX/oNXdf0cCrGn/+2LozFa3lnPV5D90MkjhgckCPBrsoSc1a7g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-jsx-source@7.22.5': resolution: {integrity: sha512-yIiRO6yobeEIaI0RTbIr8iAK9FcBHLtZq0S89ZPjDLQXBA4xvghaKqI0etp/tF3htTM0sazJKKLz9oEiGRtu7w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-jsx@7.22.5': resolution: {integrity: sha512-rog5gZaVbUip5iWDMTYbVM15XQq+RkUKhET/IHR6oizR+JEoN6CAfTTuHcK4vwUyzca30qqHqEpzBOnaRMWYMA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-jsx@7.23.4': resolution: {integrity: sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-pure-annotations@7.22.5': resolution: {integrity: sha512-gP4k85wx09q+brArVinTXhWiyzLl9UpmGva0+mWyKxk6JZequ05x3eUcIUE+FyttPKJFRRVtAvQaJ6YF9h1ZpA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-react-pure-annotations@7.23.3': resolution: {integrity: sha512-qMFdSS+TUhB7Q/3HVPnEdYJDQIk57jkntAwSuz9xfSE4n+3I+vHYCli3HoHawN1Z3RfCz/y1zXA/JXjG6cVImQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-regenerator@7.22.5': resolution: {integrity: sha512-rR7KePOE7gfEtNTh9Qw+iO3Q/e4DEsoQ+hdvM6QUDH7JRJ5qxq5AA52ZzBWbI5i9lfNuvySgOGP8ZN7LAmaiPw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-reserved-words@7.22.5': resolution: {integrity: sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-runtime@7.22.9': resolution: {integrity: sha512-9KjBH61AGJetCPYp/IEyLEp47SyybZb0nDRpBvmtEkm+rUIwxdlKpyNHI1TmsGkeuLclJdleQHRZ8XLBnnh8CQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-shorthand-properties@7.22.5': resolution: {integrity: sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-spread@7.22.5': resolution: {integrity: sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-sticky-regex@7.22.5': resolution: {integrity: sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-template-literals@7.22.5': resolution: {integrity: sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-typeof-symbol@7.22.5': resolution: {integrity: sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-typescript@7.22.9': resolution: {integrity: sha512-BnVR1CpKiuD0iobHPaM1iLvcwPYN2uVFAqoLVSpEDKWuOikoCv5HbKLxclhKYUXlWkX86DoZGtqI4XhbOsyrMg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-unicode-escapes@7.22.5': resolution: {integrity: sha512-biEmVg1IYB/raUO5wT1tgfacCef15Fbzhkx493D3urBI++6hpJ+RFG4SrWMn0NEZLfvilqKf3QDrRVZHo08FYg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-unicode-property-regex@7.22.5': resolution: {integrity: sha512-HCCIb+CbJIAE6sXn5CjFQXMwkCClcOfPCzTlilJ8cUatfzwHlWQkbtV0zD338u9dZskwvuOYTuuaMaA8J5EI5A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-unicode-regex@7.22.5': resolution: {integrity: sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/plugin-transform-unicode-sets-regex@7.22.5': resolution: {integrity: sha512-lhMfi4FC15j13eKrh3DnYHjpGj6UKQHtNKTbtc1igvAhRy4+kLhV07OpLcsN0VgDEw/MjAvJO4BdMJsHwMhzCg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 '@babel/preset-env@7.22.9': resolution: {integrity: sha512-wNi5H/Emkhll/bqPjsjQorSykrlfY5OWakd6AulLvMEytpKasMVUpVy8RL4qBIBs5Ac6/5i0/Rv0b/Fg6Eag/g==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/preset-flow@7.22.5': resolution: {integrity: sha512-ta2qZ+LSiGCrP5pgcGt8xMnnkXQrq8Sa4Ulhy06BOlF5QbLw9q5hIx7bn5MrsvyTGAfh6kTOo07Q+Pfld/8Y5Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/preset-modules@0.1.5': resolution: {integrity: sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/preset-react@7.22.5': resolution: {integrity: sha512-M+Is3WikOpEJHgR385HbuCITPTaPRaNkibTEa9oiofmJvIsrceb4yp9RL9Kb+TE8LznmeyZqpP+Lopwcx59xPQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/preset-react@7.23.3': resolution: {integrity: sha512-tbkHOS9axH6Ysf2OUEqoSZ6T3Fa2SrNH6WTWSPBboxKzdxNc9qOICeLXkNG0ZEwbQ1HY8liwOce4aN/Ceyuq6w==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/preset-typescript@7.22.5': resolution: {integrity: sha512-YbPaal9LxztSGhmndR46FmAbkJ/1fAsw293tSU+I5E5h+cnJ3d4GTwyUgGYmOXJYdGA+uNePle4qbaRzj2NISQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/register@7.22.5': resolution: {integrity: sha512-vV6pm/4CijSQ8Y47RH5SopXzursN35RQINfGJkmOlcpAtGuf94miFvIPhCKGQN7WGIcsgG1BHEX2KVdTYwTwUQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 '@babel/regjsgen@0.8.0': resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} '@babel/runtime@7.22.6': resolution: {integrity: sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==} engines: {node: '>=6.9.0'} '@babel/runtime@7.23.5': resolution: {integrity: sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w==} engines: {node: '>=6.9.0'} '@babel/template@7.22.5': resolution: {integrity: sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==} engines: {node: '>=6.9.0'} '@babel/template@7.24.0': resolution: {integrity: sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==} engines: {node: '>=6.9.0'} '@babel/traverse@7.22.8': resolution: {integrity: sha512-y6LPR+wpM2I3qJrsheCTwhIinzkETbplIgPBbwvqPKc+uljeA5gP+3nP8irdYt1mjQaDnlIcG+dw8OjAco4GXw==} engines: {node: '>=6.9.0'} '@babel/types@7.22.5': resolution: {integrity: sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA==} engines: {node: '>=6.9.0'} '@babel/types@7.24.0': resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} '@changesets/apply-release-plan@6.1.4': resolution: {integrity: sha512-FMpKF1fRlJyCZVYHr3CbinpZZ+6MwvOtWUuO8uo+svcATEoc1zRDcj23pAurJ2TZ/uVz1wFHH6K3NlACy0PLew==} '@changesets/assemble-release-plan@5.2.4': resolution: {integrity: sha512-xJkWX+1/CUaOUWTguXEbCDTyWJFECEhmdtbkjhn5GVBGxdP/JwaHBIU9sW3FR6gD07UwZ7ovpiPclQZs+j+mvg==} '@changesets/changelog-git@0.1.14': resolution: {integrity: sha512-+vRfnKtXVWsDDxGctOfzJsPhaCdXRYoe+KyWYoq5X/GqoISREiat0l3L8B0a453B2B4dfHGcZaGyowHbp9BSaA==} '@changesets/cli@2.26.2': resolution: {integrity: sha512-dnWrJTmRR8bCHikJHl9b9HW3gXACCehz4OasrXpMp7sx97ECuBGGNjJhjPhdZNCvMy9mn4BWdplI323IbqsRig==} hasBin: true '@changesets/config@2.3.1': resolution: {integrity: sha512-PQXaJl82CfIXddUOppj4zWu+987GCw2M+eQcOepxN5s+kvnsZOwjEJO3DH9eVy+OP6Pg/KFEWdsECFEYTtbg6w==} '@changesets/errors@0.1.4': resolution: {integrity: sha512-HAcqPF7snsUJ/QzkWoKfRfXushHTu+K5KZLJWPb34s4eCZShIf8BFO3fwq6KU8+G7L5KdtN2BzQAXOSXEyiY9Q==} '@changesets/get-dependents-graph@1.3.6': resolution: {integrity: sha512-Q/sLgBANmkvUm09GgRsAvEtY3p1/5OCzgBE5vX3vgb5CvW0j7CEljocx5oPXeQSNph6FXulJlXV3Re/v3K3P3Q==} '@changesets/get-release-plan@3.0.17': resolution: {integrity: sha512-6IwKTubNEgoOZwDontYc2x2cWXfr6IKxP3IhKeK+WjyD6y3M4Gl/jdQvBw+m/5zWILSOCAaGLu2ZF6Q+WiPniw==} '@changesets/get-version-range-type@0.3.2': resolution: {integrity: sha512-SVqwYs5pULYjYT4op21F2pVbcrca4qA/bAA3FmFXKMN7Y+HcO8sbZUTx3TAy2VXulP2FACd1aC7f2nTuqSPbqg==} '@changesets/git@2.0.0': resolution: {integrity: sha512-enUVEWbiqUTxqSnmesyJGWfzd51PY4H7mH9yUw0hPVpZBJ6tQZFMU3F3mT/t9OJ/GjyiM4770i+sehAn6ymx6A==} '@changesets/logger@0.0.5': resolution: {integrity: sha512-gJyZHomu8nASHpaANzc6bkQMO9gU/ib20lqew1rVx753FOxffnCrJlGIeQVxNWCqM+o6OOleCo/ivL8UAO5iFw==} '@changesets/parse@0.3.16': resolution: {integrity: sha512-127JKNd167ayAuBjUggZBkmDS5fIKsthnr9jr6bdnuUljroiERW7FBTDNnNVyJ4l69PzR57pk6mXQdtJyBCJKg==} '@changesets/pre@1.0.14': resolution: {integrity: sha512-dTsHmxQWEQekHYHbg+M1mDVYFvegDh9j/kySNuDKdylwfMEevTeDouR7IfHNyVodxZXu17sXoJuf2D0vi55FHQ==} '@changesets/read@0.5.9': resolution: {integrity: sha512-T8BJ6JS6j1gfO1HFq50kU3qawYxa4NTbI/ASNVVCBTsKquy2HYwM9r7ZnzkiMe8IEObAJtUVGSrePCOxAK2haQ==} '@changesets/types@4.1.0': resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} '@changesets/types@5.2.1': resolution: {integrity: sha512-myLfHbVOqaq9UtUKqR/nZA/OY7xFjQMdfgfqeZIBK4d0hA6pgxArvdv8M+6NUzzBsjWLOtvApv8YHr4qM+Kpfg==} '@changesets/write@0.2.3': resolution: {integrity: sha512-Dbamr7AIMvslKnNYsLFafaVORx4H0pvCA2MHqgtNCySMe1blImEyAEOzDmcgKAkgz4+uwoLz7demIrX+JBr/Xw==} '@csstools/normalize.css@12.0.0': resolution: {integrity: sha512-M0qqxAcwCsIVfpFQSlGN5XjXWu8l5JDZN+fPt1LeW5SZexQTgnaEvgXAY+CeygRw0EeppWHi12JxESWiWrB0Sg==} '@csstools/postcss-cascade-layers@1.1.1': resolution: {integrity: sha512-+KdYrpKC5TgomQr2DlZF4lDEpHcoxnj5IGddYYfBWJAKfj1JtuHUIqMa+E1pJJ+z3kvDViWMqyqPlG4Ja7amQA==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-color-function@1.1.1': resolution: {integrity: sha512-Bc0f62WmHdtRDjf5f3e2STwRAl89N2CLb+9iAwzrv4L2hncrbDwnQD9PCq0gtAt7pOI2leIV08HIBUd4jxD8cw==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-font-format-keywords@1.0.1': resolution: {integrity: sha512-ZgrlzuUAjXIOc2JueK0X5sZDjCtgimVp/O5CEqTcs5ShWBa6smhWYbS0x5cVc/+rycTDbjjzoP0KTDnUneZGOg==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-hwb-function@1.0.2': resolution: {integrity: sha512-YHdEru4o3Rsbjmu6vHy4UKOXZD+Rn2zmkAmLRfPet6+Jz4Ojw8cbWxe1n42VaXQhD3CQUXXTooIy8OkVbUcL+w==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-ic-unit@1.0.1': resolution: {integrity: sha512-Ot1rcwRAaRHNKC9tAqoqNZhjdYBzKk1POgWfhN4uCOE47ebGcLRqXjKkApVDpjifL6u2/55ekkpnFcp+s/OZUw==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-is-pseudo-class@2.0.7': resolution: {integrity: sha512-7JPeVVZHd+jxYdULl87lvjgvWldYu+Bc62s9vD/ED6/QTGjy0jy0US/f6BG53sVMTBJ1lzKZFpYmofBN9eaRiA==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-nested-calc@1.0.0': resolution: {integrity: sha512-JCsQsw1wjYwv1bJmgjKSoZNvf7R6+wuHDAbi5f/7MbFhl2d/+v+TvBTU4BJH3G1X1H87dHl0mh6TfYogbT/dJQ==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-normalize-display-values@1.0.1': resolution: {integrity: sha512-jcOanIbv55OFKQ3sYeFD/T0Ti7AMXc9nM1hZWu8m/2722gOTxFg7xYu4RDLJLeZmPUVQlGzo4jhzvTUq3x4ZUw==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-oklab-function@1.1.1': resolution: {integrity: sha512-nJpJgsdA3dA9y5pgyb/UfEzE7W5Ka7u0CX0/HIMVBNWzWemdcTH3XwANECU6anWv/ao4vVNLTMxhiPNZsTK6iA==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-progressive-custom-properties@1.3.0': resolution: {integrity: sha512-ASA9W1aIy5ygskZYuWams4BzafD12ULvSypmaLJT2jvQ8G0M3I8PRQhC0h7mG0Z3LI05+agZjqSR9+K9yaQQjA==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.3 '@csstools/postcss-stepped-value-functions@1.0.1': resolution: {integrity: sha512-dz0LNoo3ijpTOQqEJLY8nyaapl6umbmDcgj4AD0lgVQ572b2eqA1iGZYTTWhrcrHztWDDRAX2DGYyw2VBjvCvQ==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-text-decoration-shorthand@1.0.0': resolution: {integrity: sha512-c1XwKJ2eMIWrzQenN0XbcfzckOLLJiczqy+YvfGmzoVXd7pT9FfObiSEfzs84bpE/VqfpEuAZ9tCRbZkZxxbdw==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-trigonometric-functions@1.0.2': resolution: {integrity: sha512-woKaLO///4bb+zZC2s80l+7cm07M7268MsyG3M0ActXXEFi6SuhvriQYcb58iiKGbjwwIU7n45iRLEHypB47Og==} engines: {node: ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/postcss-unset-value@1.0.2': resolution: {integrity: sha512-c8J4roPBILnelAsdLr4XOAR/GsTm0GJi4XpcfvoWk3U6KiTCqiFYc63KhRMQQX35jYMp4Ao8Ij9+IZRgMfJp1g==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 '@csstools/selector-specificity@2.2.0': resolution: {integrity: sha512-+OJ9konv95ClSTOJCmMZqpd5+YGsB2S+x6w3E1oaM8UuR5j8nTNHYSz8c9BEPGDOCMQYIEEGlVPj/VY64iTbGw==} engines: {node: ^14 || ^16 || >=18} peerDependencies: postcss-selector-parser: ^6.0.10 '@ctrl/tinycolor@3.6.0': resolution: {integrity: sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ==} engines: {node: '>=10'} '@emotion/babel-plugin@11.11.0': resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==} '@emotion/cache@11.11.0': resolution: {integrity: sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==} '@emotion/hash@0.9.1': resolution: {integrity: sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==} '@emotion/is-prop-valid@1.2.1': resolution: {integrity: sha512-61Mf7Ufx4aDxx1xlDeOm8aFFigGHE4z+0sKCa+IHCeZKiyP9RLD0Mmx7m8b9/Cf37f7NAvQOOJAbQQGVr5uERw==} '@emotion/memoize@0.8.1': resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==} '@emotion/react@11.11.1': resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} peerDependencies: '@types/react': '*' react: '>=16.8.0' peerDependenciesMeta: '@types/react': optional: true '@emotion/serialize@1.1.2': resolution: {integrity: sha512-zR6a/fkFP4EAcCMQtLOhIgpprZOwNmCldtpaISpvz348+DP4Mz8ZoKaGGCQpbzepNIUWbq4w6hNZkwDyKoS+HA==} '@emotion/sheet@1.2.2': resolution: {integrity: sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==} '@emotion/styled@11.11.0': resolution: {integrity: sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==} peerDependencies: '@emotion/react': ^11.0.0-rc.0 '@types/react': '*' react: '>=16.8.0' peerDependenciesMeta: '@types/react': optional: true '@emotion/unitless@0.8.1': resolution: {integrity: sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==} '@emotion/use-insertion-effect-with-fallbacks@1.0.1': resolution: {integrity: sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==} peerDependencies: react: '>=16.8.0' '@emotion/utils@1.2.1': resolution: {integrity: sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==} '@emotion/weak-memoize@0.3.1': resolution: {integrity: sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==} '@emurgo/cardano-serialization-lib-browser@11.5.0': resolution: {integrity: sha512-qchOJ9NYDUz10tzs5r5QhP9hK0p+ZOlRiBwPdTAxqAYLw/8emYBkQQLaS8T1DF6EkeudyrgS00ym5Trw1fo4iA==} '@emurgo/cardano-serialization-lib-nodejs@11.5.0': resolution: {integrity: sha512-IlVABlRgo9XaTR1NunwZpWcxnfEv04ba2l1vkUz4S1W7Jt36F4CtffP+jPeqBZGnAe+fnUwo0XjIJC3ZTNToNQ==} '@eslint-community/eslint-utils@4.4.0': resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: 8.22.0 '@eslint-community/regexpp@4.5.1': resolution: {integrity: sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} '@eslint/eslintrc@1.4.1': resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@ethereumjs/common@3.2.0': resolution: {integrity: sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA==} '@ethereumjs/common@4.2.0': resolution: {integrity: sha512-UWqovZQksxEY9cU+s1cF3JwFyJdKrJsURM+ORHpZZLQfsqQf+1uGbD3N0AvQ7M+Jz/LxkiVY98+Cd3OMzsrOcA==} '@ethereumjs/rlp@4.0.1': resolution: {integrity: sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw==} engines: {node: '>=14'} hasBin: true '@ethereumjs/rlp@5.0.2': resolution: {integrity: sha512-DziebCdg4JpGlEqEdGgXmjqcFoJi+JGulUXwEjsZGAscAQ7MyD/7LE/GVCP29vEQxKc7AAwjT3A2ywHp2xfoCA==} engines: {node: '>=18'} hasBin: true '@ethereumjs/tx@4.2.0': resolution: {integrity: sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw==} engines: {node: '>=14'} '@ethereumjs/tx@5.2.1': resolution: {integrity: sha512-BzdtUaa7KtP8T5NxJWRxo/RBoJzxYeCdx2n2C4zZLuWJBYVccfcyMiyDgr6W78Utmu/jIfGXknfh2t06+rTkiw==} engines: {node: '>=18'} peerDependencies: c-kzg: ^2.1.2 peerDependenciesMeta: c-kzg: optional: true '@ethereumjs/util@8.1.0': resolution: {integrity: sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==} engines: {node: '>=14'} '@ethereumjs/util@9.0.2': resolution: {integrity: sha512-dasKCj6Vb5spVPnNmRDFHmbfBySvokE440F0RDroPLzO4Mb4hyDqeoOMUxlbLz/BscK2pOpWUendGA+AOvGpNQ==} engines: {node: '>=18'} peerDependencies: c-kzg: ^2.1.2 peerDependenciesMeta: c-kzg: optional: true '@expo/bunyan@4.0.0': resolution: {integrity: sha512-Ydf4LidRB/EBI+YrB+cVLqIseiRfjUI/AeHBgjGMtq3GroraDu81OV7zqophRgupngoL3iS3JUMDMnxO7g39qA==} engines: {'0': node >=0.10.0} '@expo/cli@0.17.7': resolution: {integrity: sha512-sOssVCFCVXSdZr2/KdqPeT2Qwxmty3rZeO9g5RbzZexHz93VUyONuqGwO1VlYKibn7FLYEGUovqU9Xi8zVB6JQ==} hasBin: true '@expo/code-signing-certificates@0.0.5': resolution: {integrity: sha512-BNhXkY1bblxKZpltzAx98G2Egj9g1Q+JRcvR7E99DOj862FTCX+ZPsAUtPTr7aHxwtrL7+fL3r0JSmM9kBm+Bw==} '@expo/config-plugins@7.8.4': resolution: {integrity: sha512-hv03HYxb/5kX8Gxv/BTI8TLc9L06WzqAfHRRXdbar4zkLcP2oTzvsLEF4/L/TIpD3rsnYa0KU42d0gWRxzPCJg==} '@expo/config-types@50.0.0': resolution: {integrity: sha512-0kkhIwXRT6EdFDwn+zTg9R2MZIAEYGn1MVkyRohAd+C9cXOb5RA8WLQi7vuxKF9m1SMtNAUrf0pO+ENK0+/KSw==} '@expo/config@8.5.4': resolution: {integrity: sha512-ggOLJPHGzJSJHVBC1LzwXwR6qUn8Mw7hkc5zEKRIdhFRuIQ6s2FE4eOvP87LrNfDF7eZGa6tJQYsiHSmZKG+8Q==} '@expo/devcert@1.1.0': resolution: {integrity: sha512-ghUVhNJQOCTdQckSGTHctNp/0jzvVoMMkVh+6SHn+TZj8sU15U/npXIDt8NtQp0HedlPaCgkVdMu8Sacne0aEA==} '@expo/env@0.2.2': resolution: {integrity: sha512-m9nGuaSpzdvMzevQ1H60FWgf4PG5s4J0dfKUzdAGnDu7sMUerY/yUeDaA4+OBo3vBwGVQ+UHcQS9vPSMBNaPcg==} '@expo/fingerprint@0.6.0': resolution: {integrity: sha512-KfpoVRTMwMNJ/Cf5o+Ou8M/Y0EGSTqK+rbi70M2Y0K2qgWNfMJ1gm6sYO9uc8lcTr7YSYM1Rme3dk7QXhpScNA==} hasBin: true '@expo/image-utils@0.4.1': resolution: {integrity: sha512-EZb+VHSmw+a5s2hS9qksTcWylY0FDaIAVufcxoaRS9tHIXLjW5zcKW7Rhj9dSEbZbRVy9yXXdHKa3GQdUQIOFw==} '@expo/json-file@8.3.0': resolution: {integrity: sha512-yROUeXJXR5goagB8c3muFLCzLmdGOvoPpR5yDNaXrnTp4euNykr9yW0wWhJx4YVRTNOPtGBnEbbJBW+a9q+S6g==} '@expo/metro-config@0.17.6': resolution: {integrity: sha512-WaC1C+sLX/Wa7irwUigLhng3ckmXIEQefZczB8DfYmleV6uhfWWo2kz/HijFBpV7FKs2cW6u8J/aBQpFkxlcqg==} peerDependencies: '@react-native/babel-preset': '*' '@expo/osascript@2.1.0': resolution: {integrity: sha512-bOhuFnlRaS7CU33+rFFIWdcET/Vkyn1vsN8BYFwCDEF5P1fVVvYN7bFOsQLTMD3nvi35C1AGmtqUr/Wfv8Xaow==} engines: {node: '>=12'} '@expo/package-manager@1.4.2': resolution: {integrity: sha512-LKdo/6y4W7llZ6ghsg1kdx2CeH/qR/c6QI/JI8oPUvppsZoeIYjSkdflce978fAMfR8IXoi0wt0jA2w0kWpwbg==} '@expo/plist@0.1.0': resolution: {integrity: sha512-xWD+8vIFif0wKyuqe3fmnmnSouXYucciZXFzS0ZD5OV9eSAS1RGQI5FaGGJ6zxJ4mpdy/4QzbLdBjnYE5vxA0g==} '@expo/prebuild-config@6.7.4': resolution: {integrity: sha512-x8EUdCa8DTMZ/dtEXjHAdlP+ljf6oSeSKNzhycXiHhpMSMG9jEhV28ocCwc6cKsjK5GziweEiHwvrj6+vsBlhA==} peerDependencies: expo-modules-autolinking: '>=0.8.1' '@expo/rudder-sdk-node@1.1.1': resolution: {integrity: sha512-uy/hS/awclDJ1S88w9UGpc6Nm9XnNUjzOAAib1A3PVAnGQIwebg8DpFqOthFBTlZxeuV/BKbZ5jmTbtNZkp1WQ==} engines: {node: '>=12'} '@expo/sdk-runtime-versions@1.0.0': resolution: {integrity: sha512-Doz2bfiPndXYFPMRwPyGa1k5QaKDVpY806UJj570epIiMzWaYyCtobasyfC++qfIXVb5Ocy7r3tP9d62hAQ7IQ==} '@expo/spawn-async@1.5.0': resolution: {integrity: sha512-LB7jWkqrHo+5fJHNrLAFdimuSXQ2MQ4lA7SQW5bf/HbsXuV2VrT/jN/M8f/KoWt0uJMGN4k/j7Opx4AvOOxSew==} engines: {node: '>=4'} '@expo/spawn-async@1.7.2': resolution: {integrity: sha512-QdWi16+CHB9JYP7gma19OVVg0BFkvU8zNj9GjWorYI8Iv8FUxjOCcYRuAmX4s/h91e4e7BPsskc8cSrZYho9Ew==} engines: {node: '>=12'} '@expo/vector-icons@14.0.0': resolution: {integrity: sha512-5orm59pdnBQlovhU9k4DbjMUZBHNlku7IRgFY56f7pcaaCnXq9yaLJoOQl9sMwNdFzf4gnkTyHmR5uN10mI9rA==} '@expo/xcpretty@4.3.1': resolution: {integrity: sha512-sqXgo1SCv+j4VtYEwl/bukuOIBrVgx6euIoCat3Iyx5oeoXwEA2USCoeL0IPubflMxncA2INkqJ/Wr3NGrSgzw==} hasBin: true '@fivebinaries/coin-selection@2.2.1': resolution: {integrity: sha512-iYFsYr7RY7TEvTqP9NKR4p/yf3Iybf9abUDR7lRjzanGsrLwVsREvIuyE05iRYFrvqarlk+gWRPsdR1N2hUBrg==} '@fractalwagmi/popup-connection@1.1.1': resolution: {integrity: sha512-hYL+45iYwNbwjvP2DxP3YzVsrAGtj/RV9LOgMpJyCxsfNoyyOoi2+YrnywKkiANingiG2kJ1nKsizbu1Bd4zZw==} peerDependencies: react: ^17.0.2 || ^18 react-dom: ^17.0.2 || ^18 '@fractalwagmi/solana-wallet-adapter@0.1.1': resolution: {integrity: sha512-oTZLEuD+zLKXyhZC5tDRMPKPj8iaxKLxXiCjqRfOo4xmSbS2izGRWLJbKMYYsJysn/OI3UJ3P6CWP8WUWi0dZg==} '@gar/promisify@1.1.3': resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} '@graphql-typed-document-node/core@3.2.0': resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 '@hapi/hoek@9.3.0': resolution: {integrity: sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==} '@hapi/topo@5.1.0': resolution: {integrity: sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==} '@humanwhocodes/config-array@0.10.7': resolution: {integrity: sha512-MDl6D6sBsaV452/QSdX+4CXIjZhIcI0PELsxUjk4U828yd58vk3bTIvk/6w5FY+4hIy9sLW0sfrV7K7Kc++j/w==} engines: {node: '>=10.10.0'} '@humanwhocodes/gitignore-to-minimatch@1.0.2': resolution: {integrity: sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==} '@humanwhocodes/object-schema@1.2.1': resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} '@isaacs/ttlcache@1.4.1': resolution: {integrity: sha512-RQgQ4uQ+pLbqXfOmieB91ejmLwvSgv9nLx6sT6sD83s7umBypgg+OIBOBbEUiJXrfpnp9j0mRhYYdzp9uqq3lA==} engines: {node: '>=12'} '@istanbuljs/load-nyc-config@1.1.0': resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} engines: {node: '>=8'} '@istanbuljs/schema@0.1.3': resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} engines: {node: '>=8'} '@jest/console@27.5.1': resolution: {integrity: sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/console@28.1.3': resolution: {integrity: sha512-QPAkP5EwKdK/bxIr6C1I4Vs0rm2nHiANzj/Z5X2JQkrZo6IqvC4ldZ9K95tF0HdidhA8Bo6egxSzUFPYKcEXLw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/core@27.5.1': resolution: {integrity: sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true '@jest/core@28.1.3': resolution: {integrity: sha512-CIKBrlaKOzA7YG19BEqCw3SLIsEwjZkeJzf5bdooVnW4bH5cktqe3JX+G2YV1aK5vP8N9na1IGWFzYaTp6k6NA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true '@jest/create-cache-key-function@29.6.1': resolution: {integrity: sha512-d77/1BbNLbJDBV6tH7ctYpau+3tnU5YMhg36uGabW4VDrl1Arp6E0jDRioHFoFqIbm+BXMVbyQc9MpfKo6OIQQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/environment@27.5.1': resolution: {integrity: sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/environment@28.1.3': resolution: {integrity: sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/environment@29.6.1': resolution: {integrity: sha512-RMMXx4ws+Gbvw3DfLSuo2cfQlK7IwGbpuEWXCqyYDcqYTI+9Ju3a5hDnXaxjNsa6uKh9PQF2v+qg+RLe63tz5A==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/expect-utils@28.1.3': resolution: {integrity: sha512-wvbi9LUrHJLn3NlDW6wF2hvIMtd4JUl2QNVrjq+IBSHirgfrR3o9RnVtxzdEGO2n9JyIWwHnLfby5KzqBGg2YA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/expect@28.1.3': resolution: {integrity: sha512-lzc8CpUbSoE4dqT0U+g1qODQjBRHPpCPXissXD4mS9+sWQdmmpeJ9zSH1rS1HEkrsMN0fb7nKrJ9giAR1d3wBw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/fake-timers@27.5.1': resolution: {integrity: sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/fake-timers@28.1.3': resolution: {integrity: sha512-D/wOkL2POHv52h+ok5Oj/1gOG9HSywdoPtFsRCUmlCILXNn5eIWmcnd3DIiWlJnpGvQtmajqBP95Ei0EimxfLw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/fake-timers@29.6.1': resolution: {integrity: sha512-RdgHgbXyosCDMVYmj7lLpUwXA4c69vcNzhrt69dJJdf8azUrpRh3ckFCaTPNjsEeRi27Cig0oKDGxy5j7hOgHg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/globals@27.5.1': resolution: {integrity: sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/globals@28.1.3': resolution: {integrity: sha512-XFU4P4phyryCXu1pbcqMO0GSQcYe1IsalYCDzRNyhetyeyxMcIxa11qPNDpVNLeretItNqEmYYQn1UYz/5x1NA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/reporters@27.5.1': resolution: {integrity: sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true '@jest/reporters@28.1.3': resolution: {integrity: sha512-JuAy7wkxQZVNU/V6g9xKzCGC5LVXx9FDcABKsSXp5MiKPEE2144a/vXTEDoyzjUpZKfVwp08Wqg5A4WfTMAzjg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true '@jest/schemas@28.1.3': resolution: {integrity: sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/schemas@29.6.0': resolution: {integrity: sha512-rxLjXyJBTL4LQeJW3aKo0M/+GkCOXsO+8i9Iu7eDb6KwtP65ayoDsitrdPBtujxQ88k4wI2FNYfa6TOGwSn6cQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jest/source-map@27.5.1': resolution: {integrity: sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/source-map@28.1.2': resolution: {integrity: sha512-cV8Lx3BeStJb8ipPHnqVw/IM2VCMWO3crWZzYodSIkxXnRcXJipCdx1JCK0K5MsJJouZQTH73mzf4vgxRaH9ww==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/test-result@27.5.1': resolution: {integrity: sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/test-result@28.1.3': resolution: {integrity: sha512-kZAkxnSE+FqE8YjW8gNuoVkkC9I7S1qmenl8sGcDOLropASP+BkcGKwhXoyqQuGOGeYY0y/ixjrd/iERpEXHNg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/test-sequencer@27.5.1': resolution: {integrity: sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/test-sequencer@28.1.3': resolution: {integrity: sha512-NIMPEqqa59MWnDi1kvXXpYbqsfQmSJsIbnd85mdVGkiDfQ9WQQTXOLsvISUfonmnBT+w85WEgneCigEEdHDFxw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/transform@27.5.1': resolution: {integrity: sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/transform@28.1.3': resolution: {integrity: sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/types@26.6.2': resolution: {integrity: sha512-fC6QCp7Sc5sX6g8Tvbmj4XUTbyrik0akgRy03yjXbQaBWWNWGE7SGtJk98m0N8nzegD/7SggrUlivxo5ax4KWQ==} engines: {node: '>= 10.14.2'} '@jest/types@27.5.1': resolution: {integrity: sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} '@jest/types@28.1.3': resolution: {integrity: sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} '@jest/types@29.6.1': resolution: {integrity: sha512-tPKQNMPuXgvdOn2/Lg9HNfUvjYVGolt04Hp03f5hAk878uwOLikN+JzeLY0HcVgKgFl9Hs3EIqpu3WX27XNhnw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} '@jnwng/walletconnect-solana@0.2.0': resolution: {integrity: sha512-nyRq0xLEj9i2J4UXQ0Mr4KzsooTMbLu0ewHOqdQV7iZE0PfbtKa8poTSF4ZBAQD8hoMHEx+I7zGFCNMI9BTrTA==} peerDependencies: '@solana/web3.js': ^1.63.0 '@jridgewell/gen-mapping@0.3.3': resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} '@jridgewell/resolve-uri@3.1.0': resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} '@jridgewell/set-array@1.1.2': resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} engines: {node: '>=6.0.0'} '@jridgewell/source-map@0.3.5': resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} '@jridgewell/sourcemap-codec@1.4.14': resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} '@jridgewell/sourcemap-codec@1.4.15': resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} '@jridgewell/trace-mapping@0.3.18': resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} '@keystonehq/alias-sampling@0.1.2': resolution: {integrity: sha512-5ukLB3bcgltgaFfQfYKYwHDUbwHicekYo53fSEa7xhVkAEqsA74kxdIwoBIURmGUtXe3EVIRm4SYlgcrt2Ri0w==} '@keystonehq/bc-ur-registry-sol@0.9.3': resolution: {integrity: sha512-ZjTeInzS4y10tIZlgEN4NGW9W6vTBxzZrM9CaNNeVqTgtyiOB2JvPIW8buxlZUKYj2M5Mu5jPHuAjVRCK6Jm9Q==} '@keystonehq/bc-ur-registry@0.5.4': resolution: {integrity: sha512-z7bZe10I5k0zz9znmDTXh+o3Rzb5XsRVpwAzexubOaLxVdZ0F7aMbe2LoEsw766Hpox/7zARi7UGmLz5C8BAzA==} '@keystonehq/bc-ur-registry@0.6.4': resolution: {integrity: sha512-j8Uy44DuAkvYkbf0jMxRY3UizJfn8wsEQr7GS3miRF44vcq7k0/yemVkftbn3jQ+0JYaUXf5wY7lVpLhAeW5nQ==} '@keystonehq/sdk@0.19.2': resolution: {integrity: sha512-ilA7xAhPKvpHWlxjzv3hjMehD6IKYda4C1TeG2/DhFgX9VSffzv77Eebf8kVwzPLdYV4LjX1KQ2ZDFoN1MsSFQ==} peerDependencies: react: '*' react-dom: '*' '@keystonehq/sol-keyring@0.20.0': resolution: {integrity: sha512-UBeMlecybTDQaFMI951LBEVRyZarqKHOcwWqqvphV+x7WquYz0SZ/wf/PhizV0MWoGTQwt2m5aqROzksi6svqw==} '@ledgerhq/devices@6.27.1': resolution: {integrity: sha512-jX++oy89jtv7Dp2X6gwt3MMkoajel80JFWcdc0HCouwDsV1mVJ3SQdwl/bQU0zd8HI6KebvUP95QTwbQLLK/RQ==} '@ledgerhq/errors@6.16.3': resolution: {integrity: sha512-3w7/SJVXOPa9mpzyll7VKoKnGwDD3BzWgN1Nom8byR40DiQvOKjHX+kKQausCedTHVNBn9euzPCNsftZ9+mxfw==} '@ledgerhq/hw-transport-webhid@6.27.1': resolution: {integrity: sha512-u74rBYlibpbyGblSn74fRs2pMM19gEAkYhfVibq0RE1GNFjxDMFC1n7Sb+93Jqmz8flyfB4UFJsxs8/l1tm2Kw==} '@ledgerhq/hw-transport@6.27.1': resolution: {integrity: sha512-hnE4/Fq1YzQI4PA1W0H8tCkI99R3UWDb3pJeZd6/Xs4Qw/q1uiQO+vNLC6KIPPhK0IajUfuI/P2jk0qWcMsuAQ==} '@ledgerhq/logs@6.10.1': resolution: {integrity: sha512-z+ILK8Q3y+nfUl43ctCPuR4Y2bIxk/ooCQFwZxhtci1EhAtMDzMAx2W25qx8G1PPL9UUOdnUax19+F0OjXoj4w==} '@leichtgewicht/ip-codec@2.0.4': resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==} '@lezer/common@0.15.12': resolution: {integrity: sha512-edfwCxNLnzq5pBA/yaIhwJ3U3Kz8VAUOTRg0hhxaizaI1N+qxV7EXDv/kLCkLeq2RzSFvxexlaj5Mzfn2kY0Ig==} '@lezer/lr@0.15.8': resolution: {integrity: sha512-bM6oE6VQZ6hIFxDNKk8bKPa14hqFrV07J/vHGOeiAbJReIaQXmkVb6xQu4MR+JBTLa5arGRyAAjJe1qaQt3Uvg==} '@lmdb/lmdb-darwin-arm64@2.7.11': resolution: {integrity: sha512-r6+vYq2vKzE+vgj/rNVRMwAevq0+ZR9IeMFIqcSga+wMtMdXQ27KqQ7uS99/yXASg29bos7yHP3yk4x6Iio0lw==} cpu: [arm64] os: [darwin] '@lmdb/lmdb-darwin-x64@2.7.11': resolution: {integrity: sha512-jhj1aB4K8ycRL1HOQT5OtzlqOq70jxUQEWRN9Gqh3TIDN30dxXtiHi6EWF516tzw6v2+3QqhDMJh8O6DtTGG8Q==} cpu: [x64] os: [darwin] '@lmdb/lmdb-linux-arm64@2.7.11': resolution: {integrity: sha512-7xGEfPPbmVJWcY2Nzqo11B9Nfxs+BAsiiaY/OcT4aaTDdykKeCjvKMQJA3KXCtZ1AtiC9ljyGLi+BfUwdulY5A==} cpu: [arm64] os: [linux] '@lmdb/lmdb-linux-arm@2.7.11': resolution: {integrity: sha512-dHfLFVSrw/v5X5lkwp0Vl7+NFpEeEYKfMG2DpdFJnnG1RgHQZngZxCaBagFoaJGykRpd2DYF1AeuXBFrAUAXfw==} cpu: [arm] os: [linux] '@lmdb/lmdb-linux-x64@2.7.11': resolution: {integrity: sha512-vUKI3JrREMQsXX8q0Eq5zX2FlYCKWMmLiCyyJNfZK0Uyf14RBg9VtB3ObQ41b4swYh2EWaltasWVe93Y8+KDng==} cpu: [x64] os: [linux] '@lmdb/lmdb-win32-x64@2.7.11': resolution: {integrity: sha512-BJwkHlSUgtB+Ei52Ai32M1AOMerSlzyIGA/KC4dAGL+GGwVMdwG8HGCOA2TxP3KjhbgDPMYkv7bt/NmOmRIFng==} cpu: [x64] os: [win32] '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} '@metamask/abi-utils@2.0.2': resolution: {integrity: sha512-B/A1dY/w4F/t6cDHUscklO6ovb/ztFsrsTXFd8QlqSByk/vyy+QbPE3VVpmmyI/7RX+PA1AJcvBdzCIz+r9dVQ==} engines: {node: '>=16.0.0'} '@metamask/eth-sig-util@7.0.1': resolution: {integrity: sha512-59GSrMyFH2fPfu7nKeIQdZ150zxXNNhAQIUaFRUW+MGtVA4w/ONbiQobcRBLi+jQProfIyss51G8pfLPcQ0ylg==} engines: {node: ^16.20 || ^18.16 || >=20} '@metamask/rpc-errors@5.1.1': resolution: {integrity: sha512-JjZnDi2y2CfvbohhBl+FOQRzmFlJpybcQlIk37zEX8B96eVSPbH/T8S0p7cSF8IE33IWx6JkD8Ycsd+2TXFxCw==} engines: {node: '>=16.0.0'} '@metamask/utils@5.0.2': resolution: {integrity: sha512-yfmE79bRQtnMzarnKfX7AEJBwFTxvTyw3nBQlu/5rmGXrjAeAMltoGxO62TFurxrQAFMNa/fEjIHNvungZp0+g==} engines: {node: '>=14.0.0'} '@metamask/utils@8.2.1': resolution: {integrity: sha512-dlnpow8r0YHDDL1xKCEwUoTGOAo9icdv+gaJG0EbgDnkD/BDqW2eH1XMtm9i7rPaiHWo/aLtcrh9WBhkCq/viw==} engines: {node: '>=16.0.0'} '@mischnic/json-sourcemap@0.1.0': resolution: {integrity: sha512-dQb3QnfNqmQNYA4nFSN/uLaByIic58gOXq4Y4XqLOWmOrw73KmJPt/HLyG0wvn1bnR6mBKs/Uwvkh+Hns1T0XA==} engines: {node: '>=12.0.0'} '@mobily/ts-belt@3.13.1': resolution: {integrity: sha512-K5KqIhPI/EoCTbA6CGbrenM9s41OouyK8A03fGJJcla/zKucsgLbz8HNbeseoLarRPgyWJsUyCYqFhI7t3Ra9Q==} engines: {node: '>= 10.*'} '@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.2': resolution: {integrity: sha512-9bfjwDxIDWmmOKusUcqdS4Rw+SETlp9Dy39Xui9BEGEk19dDwH0jhipwFzEff/pFg95NKymc6TOTbRKcWeRqyQ==} cpu: [arm64] os: [darwin] '@msgpackr-extract/msgpackr-extract-darwin-x64@3.0.2': resolution: {integrity: sha512-lwriRAHm1Yg4iDf23Oxm9n/t5Zpw1lVnxYU3HnJPTi2lJRkKTrps1KVgvL6m7WvmhYVt/FIsssWay+k45QHeuw==} cpu: [x64] os: [darwin] '@msgpackr-extract/msgpackr-extract-linux-arm64@3.0.2': resolution: {integrity: sha512-FU20Bo66/f7He9Fp9sP2zaJ1Q8L9uLPZQDub/WlUip78JlPeMbVL8546HbZfcW9LNciEXc8d+tThSJjSC+tmsg==} cpu: [arm64] os: [linux] '@msgpackr-extract/msgpackr-extract-linux-arm@3.0.2': resolution: {integrity: sha512-MOI9Dlfrpi2Cuc7i5dXdxPbFIgbDBGgKR5F2yWEa6FVEtSWncfVNKW5AKjImAQ6CZlBK9tympdsZJ2xThBiWWA==} cpu: [arm] os: [linux] '@msgpackr-extract/msgpackr-extract-linux-x64@3.0.2': resolution: {integrity: sha512-gsWNDCklNy7Ajk0vBBf9jEx04RUxuDQfBse918Ww+Qb9HCPoGzS+XJTLe96iN3BVK7grnLiYghP/M4L8VsaHeA==} cpu: [x64] os: [linux] '@msgpackr-extract/msgpackr-extract-win32-x64@3.0.2': resolution: {integrity: sha512-O+6Gs8UeDbyFpbSh2CPEz/UOrrdWPTBYNblZK5CxxLisYt4kGX3Sc+czffFonyjiGSq3jWLwJS/CCJc7tBr4sQ==} cpu: [x64] os: [win32] '@mui/base@5.0.0-beta.8': resolution: {integrity: sha512-b4vVjMZx5KzzEMf4arXKoeV5ZegAMOoPwoy1vfUBwhvXc2QtaaAyBp50U7OA2L06Leubc1A+lEp3eqwZoFn87g==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@types/react': optional: true '@mui/core-downloads-tracker@5.14.1': resolution: {integrity: sha512-mIa1WmDmNr1LoupV1Rbxt9bTFKMbIn10RHG1bnZ/FJCkAYpuU/D4n+R+ttiycgcZNngU++zyh/OQeJblzbQPzg==} '@mui/icons-material@5.14.1': resolution: {integrity: sha512-xV/f26muQqtWzerzOIdGPrXoxp/OKaE2G2Wp9gnmG47mHua5Slup/tMc3fA4ZYUreGGrK6+tT81TEvt1Wsng8Q==} engines: {node: '>=12.0.0'} peerDependencies: '@mui/material': ^5.0.0 '@types/react': ^17.0.0 || ^18.0.0 react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@types/react': optional: true '@mui/material@5.14.1': resolution: {integrity: sha512-WtsgYuageTunLfxH3Ri+o1RuQTFImtRHxMcVNyD0Hhd2/znjW6KODNz0XfjvLRnNCAynBxZNiflcoIBW40h9PQ==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 '@emotion/styled': ^11.3.0 '@types/react': ^17.0.0 || ^18.0.0 react: ^17.0.0 || ^18.0.0 react-dom: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@emotion/react': optional: true '@emotion/styled': optional: true '@types/react': optional: true '@mui/private-theming@5.13.7': resolution: {integrity: sha512-qbSr+udcij5F9dKhGX7fEdx2drXchq7htLNr2Qg2Ma+WJ6q0ERlEqGSBiPiVDJkptcjeVL4DGmcf1wl5+vD4EA==} engines: {node: '>=12.0.0'} peerDependencies: '@types/react': ^17.0.0 || ^18.0.0 react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@types/react': optional: true '@mui/styled-engine@5.13.2': resolution: {integrity: sha512-VCYCU6xVtXOrIN8lcbuPmoG+u7FYuOERG++fpY74hPpEWkyFQG97F+/XfTQVYzlR2m7nPjnwVUgATcTCMEaMvw==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.4.1 '@emotion/styled': ^11.3.0 react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@emotion/react': optional: true '@emotion/styled': optional: true '@mui/system@5.14.1': resolution: {integrity: sha512-u+xlsU34Jdkgx1CxmBnIC4Y08uPdVX5iEd3S/1dggDFtOGp+Lj8xmKRJAQ8PJOOJLOh8pDwaZx4AwXikL4l1QA==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 '@emotion/styled': ^11.3.0 '@types/react': ^17.0.0 || ^18.0.0 react: ^17.0.0 || ^18.0.0 peerDependenciesMeta: '@emotion/react': optional: true '@emotion/styled': optional: true '@types/react': optional: true '@mui/types@7.2.4': resolution: {integrity: sha512-LBcwa8rN84bKF+f5sDyku42w1NTxaPgPyYKODsh01U1fVstTClbUoSA96oyRBnSNyEiAVjKm6Gwx9vjR+xyqHA==} peerDependencies: '@types/react': '*' peerDependenciesMeta: '@types/react': optional: true '@mui/utils@5.14.1': resolution: {integrity: sha512-39KHKK2JeqRmuUcLDLwM+c2XfVC136C5/yUyQXmO2PVbOb2Bol4KxtkssEqCbTwg87PSCG3f1Tb0keRsK7cVGw==} engines: {node: '>=12.0.0'} peerDependencies: react: ^17.0.0 || ^18.0.0 '@next/env@12.3.4': resolution: {integrity: sha512-H/69Lc5Q02dq3o+dxxy5O/oNxFsZpdL6WREtOOtOM1B/weonIwDXkekr1KV5DPVPr12IHFPrMrcJQ6bgPMfn7A==} '@next/eslint-plugin-next@12.3.4': resolution: {integrity: sha512-BFwj8ykJY+zc1/jWANsDprDIu2MgwPOIKxNVnrKvPs+f5TPegrVnem8uScND+1veT4B7F6VeqgaNLFW1Hzl9Og==} '@next/swc-android-arm-eabi@12.3.4': resolution: {integrity: sha512-cM42Cw6V4Bz/2+j/xIzO8nK/Q3Ly+VSlZJTa1vHzsocJRYz8KT6MrreXaci2++SIZCF1rVRCDgAg5PpqRibdIA==} engines: {node: '>= 10'} cpu: [arm] os: [android] '@next/swc-android-arm64@12.3.4': resolution: {integrity: sha512-5jf0dTBjL+rabWjGj3eghpLUxCukRhBcEJgwLedewEA/LJk2HyqCvGIwj5rH+iwmq1llCWbOky2dO3pVljrapg==} engines: {node: '>= 10'} cpu: [arm64] os: [android] '@next/swc-darwin-arm64@12.3.4': resolution: {integrity: sha512-DqsSTd3FRjQUR6ao0E1e2OlOcrF5br+uegcEGPVonKYJpcr0MJrtYmPxd4v5T6UCJZ+XzydF7eQo5wdGvSZAyA==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] '@next/swc-darwin-x64@12.3.4': resolution: {integrity: sha512-PPF7tbWD4k0dJ2EcUSnOsaOJ5rhT3rlEt/3LhZUGiYNL8KvoqczFrETlUx0cUYaXe11dRA3F80Hpt727QIwByQ==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] '@next/swc-freebsd-x64@12.3.4': resolution: {integrity: sha512-KM9JXRXi/U2PUM928z7l4tnfQ9u8bTco/jb939pdFUHqc28V43Ohd31MmZD1QzEK4aFlMRaIBQOWQZh4D/E5lQ==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] '@next/swc-linux-arm-gnueabihf@12.3.4': resolution: {integrity: sha512-3zqD3pO+z5CZyxtKDTnOJ2XgFFRUBciOox6EWkoZvJfc9zcidNAQxuwonUeNts6Xbm8Wtm5YGIRC0x+12YH7kw==} engines: {node: '>= 10'} cpu: [arm] os: [linux] '@next/swc-linux-arm64-gnu@12.3.4': resolution: {integrity: sha512-kiX0vgJGMZVv+oo1QuObaYulXNvdH/IINmvdZnVzMO/jic/B8EEIGlZ8Bgvw8LCjH3zNVPO3mGrdMvnEEPEhKA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] '@next/swc-linux-arm64-musl@12.3.4': resolution: {integrity: sha512-EETZPa1juczrKLWk5okoW2hv7D7WvonU+Cf2CgsSoxgsYbUCZ1voOpL4JZTOb6IbKMDo6ja+SbY0vzXZBUMvkQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] '@next/swc-linux-x64-gnu@12.3.4': resolution: {integrity: sha512-4csPbRbfZbuWOk3ATyWcvVFdD9/Rsdq5YHKvRuEni68OCLkfy4f+4I9OBpyK1SKJ00Cih16NJbHE+k+ljPPpag==} engines: {node: '>= 10'} cpu: [x64] os: [linux] '@next/swc-linux-x64-musl@12.3.4': resolution: {integrity: sha512-YeBmI+63Ro75SUiL/QXEVXQ19T++58aI/IINOyhpsRL1LKdyfK/35iilraZEFz9bLQrwy1LYAR5lK200A9Gjbg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] '@next/swc-win32-arm64-msvc@12.3.4': resolution: {integrity: sha512-Sd0qFUJv8Tj0PukAYbCCDbmXcMkbIuhnTeHm9m4ZGjCf6kt7E/RMs55Pd3R5ePjOkN7dJEuxYBehawTR/aPDSQ==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] '@next/swc-win32-ia32-msvc@12.3.4': resolution: {integrity: sha512-rt/vv/vg/ZGGkrkKcuJ0LyliRdbskQU+91bje+PgoYmxTZf/tYs6IfbmgudBJk6gH3QnjHWbkphDdRQrseRefQ==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] '@next/swc-win32-x64-msvc@12.3.4': resolution: {integrity: sha512-DQ20JEfTBZAgF8QCjYfJhv2/279M6onxFjdG/+5B0Cyj00/EdBxiWb2eGGFgQhrBbNv/lsvzFbbi0Ptf8Vw/bg==} engines: {node: '>= 10'} cpu: [x64] os: [win32] '@ngraveio/bc-ur@1.1.12': resolution: {integrity: sha512-gSaaBNoBD5LSfKVgNaesaKktOe6Cl0bPgA2q9zew0zD8R8jRCM+Pq6DFewh3T2VUt5Ey9tBTSUCpY64VUCH/bA==} '@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1': resolution: {integrity: sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==} '@nicolo-ribaudo/semver-v6@6.3.3': resolution: {integrity: sha512-3Yc1fUTs69MG/uZbJlLSI3JISMn2UV2rg+1D/vROUqZyh3l6iYHCs7GMp+M40ZD7yOdDbYjJcU1oTJhrc+dGKg==} hasBin: true '@noble/curves@1.1.0': resolution: {integrity: sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA==} '@noble/curves@1.2.0': resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} '@noble/curves@1.3.0': resolution: {integrity: sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA==} '@noble/hashes@1.3.1': resolution: {integrity: sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==} engines: {node: '>= 16'} '@noble/hashes@1.3.2': resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} engines: {node: '>= 16'} '@noble/hashes@1.3.3': resolution: {integrity: sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA==} engines: {node: '>= 16'} '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} '@nodelib/fs.stat@2.0.5': resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} engines: {node: '>= 8'} '@nodelib/fs.walk@1.2.8': resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} '@npmcli/fs@1.1.1': resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==} '@npmcli/move-file@1.1.2': resolution: {integrity: sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg==} engines: {node: '>=10'} deprecated: This functionality has been moved to @npmcli/fs '@parcel/bundler-default@2.9.3': resolution: {integrity: sha512-JjJK8dq39/UO/MWI/4SCbB1t/qgpQRFnFDetAAAezQ8oN++b24u1fkMDa/xqQGjbuPmGeTds5zxGgYs7id7PYg==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/cache@2.9.3': resolution: {integrity: sha512-Bj/H2uAJJSXtysG7E/x4EgTrE2hXmm7td/bc97K8M9N7+vQjxf7xb0ebgqe84ePVMkj4MVQSMEJkEucXVx4b0Q==} engines: {node: '>= 12.0.0'} peerDependencies: '@parcel/core': ^2.9.3 '@parcel/codeframe@2.9.3': resolution: {integrity: sha512-z7yTyD6h3dvduaFoHpNqur74/2yDWL++33rjQjIjCaXREBN6dKHoMGMizzo/i4vbiI1p9dDox2FIDEHCMQxqdA==} engines: {node: '>= 12.0.0'} '@parcel/compressor-raw@2.9.3': resolution: {integrity: sha512-jz3t4/ICMsHEqgiTmv5i1DJva2k5QRpZlBELVxfY+QElJTVe8edKJ0TiKcBxh2hx7sm4aUigGmp7JiqqHRRYmA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/config-default@2.9.3': resolution: {integrity: sha512-tqN5tF7QnVABDZAu76co5E6N8mA9n8bxiWdK4xYyINYFIEHgX172oRTqXTnhEMjlMrdmASxvnGlbaPBaVnrCTw==} peerDependencies: '@parcel/core': ^2.9.3 '@parcel/core@2.9.3': resolution: {integrity: sha512-4KlM1Zr/jpsqWuMXr2zmGsaOUs1zMMFh9vfCNKRZkptf+uk8I3sugHbNdo+F5B+4e2yMuOEb1zgAmvJLeuH6ww==} engines: {node: '>= 12.0.0'} '@parcel/diagnostic@2.9.3': resolution: {integrity: sha512-6jxBdyB3D7gP4iE66ghUGntWt2v64E6EbD4AetZk+hNJpgudOOPsKTovcMi/i7I4V0qD7WXSF4tvkZUoac0jwA==} engines: {node: '>= 12.0.0'} '@parcel/events@2.9.3': resolution: {integrity: sha512-K0Scx+Bx9f9p1vuShMzNwIgiaZUkxEnexaKYHYemJrM7pMAqxIuIqhnvwurRCsZOVLUJPDDNJ626cWTc5vIq+A==} engines: {node: '>= 12.0.0'} '@parcel/fs-search@2.9.3': resolution: {integrity: sha512-nsNz3bsOpwS+jphcd+XjZL3F3PDq9lik0O8HPm5f6LYkqKWT+u/kgQzA8OkAHCR3q96LGiHxUywHPEBc27vI4Q==} engines: {node: '>= 12.0.0'} '@parcel/fs@2.9.3': resolution: {integrity: sha512-/PrRKgCRw22G7rNPSpgN3Q+i2nIkZWuvIOAdMG4KWXC4XLp8C9jarNaWd5QEQ75amjhQSl3oUzABzkdCtkKrgg==} engines: {node: '>= 12.0.0'} peerDependencies: '@parcel/core': ^2.9.3 '@parcel/graph@2.9.3': resolution: {integrity: sha512-3LmRJmF8+OprAr6zJT3X2s8WAhLKkrhi6RsFlMWHifGU5ED1PFcJWFbOwJvSjcAhMQJP0fErcFIK1Ludv3Vm3g==} engines: {node: '>= 12.0.0'} '@parcel/hash@2.9.3': resolution: {integrity: sha512-qlH5B85XLzVAeijgKPjm1gQu35LoRYX/8igsjnN8vOlbc3O8BYAUIutU58fbHbtE8MJPbxQQUw7tkTjeoujcQQ==} engines: {node: '>= 12.0.0'} '@parcel/logger@2.9.3': resolution: {integrity: sha512-5FNBszcV6ilGFcijEOvoNVG6IUJGsnMiaEnGQs7Fvc1dktTjEddnoQbIYhcSZL63wEmzBZOgkT5yDMajJ/41jw==} engines: {node: '>= 12.0.0'} '@parcel/markdown-ansi@2.9.3': resolution: {integrity: sha512-/Q4X8F2aN8UNjAJrQ5NfK2OmZf6shry9DqetUSEndQ0fHonk78WKt6LT0zSKEBEW/bB/bXk6mNMsCup6L8ibjQ==} engines: {node: '>= 12.0.0'} '@parcel/namer-default@2.9.3': resolution: {integrity: sha512-1ynFEcap48/Ngzwwn318eLYpLUwijuuZoXQPCsEQ21OOIOtfhFQJaPwXTsw6kRitshKq76P2aafE0BioGSqxcA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/node-resolver-core@3.0.3': resolution: {integrity: sha512-AjxNcZVHHJoNT/A99PKIdFtwvoze8PAiC3yz8E/dRggrDIOboUEodeQYV5Aq++aK76uz/iOP0tST2T8A5rhb1A==} engines: {node: '>= 12.0.0'} '@parcel/optimizer-css@2.9.3': resolution: {integrity: sha512-RK1QwcSdWDNUsFvuLy0hgnYKtPQebzCb0vPPzqs6LhL+vqUu9utOyRycGaQffHCkHVQP6zGlN+KFssd7YtFGhA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/optimizer-htmlnano@2.9.3': resolution: {integrity: sha512-9g/KBck3c6DokmJfvJ5zpHFBiCSolaGrcsTGx8C3YPdCTVTI9P1TDCwUxvAr4LjpcIRSa82wlLCI+nF6sSgxKA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/optimizer-image@2.9.3': resolution: {integrity: sha512-530YzthE7kmecnNhPbkAK+26yQNt69pfJrgE0Ev0BZaM1Wu2+33nki7o8qvkTkikhPrurEJLGIXt1qKmbKvCbA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} peerDependencies: '@parcel/core': ^2.9.3 '@parcel/optimizer-svgo@2.9.3': resolution: {integrity: sha512-ytQS0wY5JJhWU4mL0wfhYDUuHcfuw+Gy2+JcnTm1t1AZXHlOTbU6EzRWNqBShsgXjvdrQQXizAe3B6GFFlFJVQ==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/optimizer-swc@2.9.3': resolution: {integrity: sha512-GQINNeqtdpL1ombq/Cpwi6IBk02wKJ/JJbYbyfHtk8lxlq13soenpwOlzJ5T9D2fdG+FUhai9NxpN5Ss4lNoAg==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/package-manager@2.9.3': resolution: {integrity: sha512-NH6omcNTEupDmW4Lm1e4NUYBjdqkURxgZ4CNESESInHJe6tblVhNB8Rpr1ar7zDar7cly9ILr8P6N3Ei7bTEjg==} engines: {node: '>= 12.0.0'} peerDependencies: '@parcel/core': ^2.9.3 '@parcel/packager-css@2.9.3': resolution: {integrity: sha512-mePiWiYZOULY6e1RdAIJyRoYqXqGci0srOaVZYaP7mnrzvJgA63kaZFFsDiEWghunQpMUuUjM2x/vQVHzxmhKQ==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/packager-html@2.9.3': resolution: {integrity: sha512-0Ex+O0EaZf9APNERRNGgGto02hFJ6f5RQEvRWBK55WAV1rXeU+kpjC0c0qZvnUaUtXfpWMsEBkevJCwDkUMeMg==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/packager-js@2.9.3': resolution: {integrity: sha512-V5xwkoE3zQ3R+WqAWhA1KGQ791FvJeW6KonOlMI1q76Djjgox68hhObqcLu66AmYNhR2R/wUpkP18hP2z8dSFw==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/packager-raw@2.9.3': resolution: {integrity: sha512-oPQTNoYanQ2DdJyL61uPYK2py83rKOT8YVh2QWAx0zsSli6Kiy64U3+xOCYWgDVCrHw9+9NpQMuAdSiFg4cq8g==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/packager-svg@2.9.3': resolution: {integrity: sha512-p/Ya6UO9DAkaCUFxfFGyeHZDp9YPAlpdnh1OChuwqSFOXFjjeXuoK4KLT+ZRalVBo2Jo8xF70oKMZw4MVvaL7Q==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/plugin@2.9.3': resolution: {integrity: sha512-qN85Gqr2GMuxX1dT1mnuO9hOcvlEv1lrYrCxn7CJN2nUhbwcfG+LEvcrCzCOJ6XtIHm+ZBV9h9p7FfoPLvpw+g==} engines: {node: '>= 12.0.0'} '@parcel/profiler@2.9.3': resolution: {integrity: sha512-pyHc9lw8VZDfgZoeZWZU9J0CVEv1Zw9O5+e0DJPDPHuXJYr72ZAOhbljtU3owWKAeW+++Q2AZWkbUGEOjI/e6g==} engines: {node: '>= 12.0.0'} '@parcel/reporter-cli@2.9.3': resolution: {integrity: sha512-pZiEvQpuXFuQBafMHxkDmwH8CnnK9sWHwa3bSbsnt385aUahtE8dpY0LKt+K1zfB6degKoczN6aWVj9WycQuZQ==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/reporter-dev-server@2.9.3': resolution: {integrity: sha512-s6eboxdLEtRSvG52xi9IiNbcPKC0XMVmvTckieue2EqGDbDcaHQoHmmwkk0rNq0/Z/UxelGcQXoIYC/0xq3ykQ==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/reporter-tracer@2.9.3': resolution: {integrity: sha512-9cXpKWk0m6d6d+4+TlAdOe8XIPaFEIKGWMWG+5SFAQE08u3olet4PSvd49F4+ZZo5ftRE7YI3j6xNbXvJT8KGw==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/resolver-default@2.9.3': resolution: {integrity: sha512-8ESJk1COKvDzkmOnppNXoDamNMlYVIvrKc2RuFPmp8nKVj47R6NwMgvwxEaatyPzvkmyTpq5RvG9I3HFc+r4Cw==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/runtime-browser-hmr@2.9.3': resolution: {integrity: sha512-EgiDIDrVAWpz7bOzWXqVinQkaFjLwT34wsonpXAbuI7f7r00d52vNAQC9AMu+pTijA3gyKoJ+Q4NWPMZf7ACDA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/runtime-js@2.9.3': resolution: {integrity: sha512-EvIy+qXcKnB5qxHhe96zmJpSAViNVXHfQI5RSdZ2a7CPwORwhTI+zPNT9sb7xb/WwFw/WuTTgzT40b41DceU6Q==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/runtime-react-refresh@2.9.3': resolution: {integrity: sha512-XBgryZQIyCmi6JwEfMUCmINB3l1TpTp9a2iFxmYNpzHlqj4Ve0saKaqWOVRLvC945ZovWIBzcSW2IYqWKGtbAA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/runtime-service-worker@2.9.3': resolution: {integrity: sha512-qLJLqv1mMdWL7gyh8aKBFFAuEiJkhUUgLKpdn6eSfH/R7kTtb76WnOwqUrhvEI9bZFUM/8Pa1bzJnPpqSOM+Sw==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/source-map@2.1.1': resolution: {integrity: sha512-Ejx1P/mj+kMjQb8/y5XxDUn4reGdr+WyKYloBljpppUy8gs42T+BNoEOuRYqDVdgPc6NxduzIDoJS9pOFfV5Ew==} engines: {node: ^12.18.3 || >=14} '@parcel/transformer-babel@2.9.3': resolution: {integrity: sha512-pURtEsnsp3h6tOBDuzh9wRvVtw4PgIlqwAArIWdrG7iwqOUYv9D8ME4+ePWEu7MQWAp58hv9pTJtqWv4T+Sq8A==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/transformer-css@2.9.3': resolution: {integrity: sha512-duWMdbEBBPjg3fQdXF16iWIdThetDZvCs2TpUD7xOlXH6kR0V5BJy8ONFT15u1RCqIV9hSNGaS3v3I9YRNY5zQ==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/transformer-html@2.9.3': resolution: {integrity: sha512-0NU4omcHzFXA1seqftAXA2KNZaMByoKaNdXnLgBgtCGDiYvOcL+6xGHgY6pw9LvOh5um10KI5TxSIMILoI7VtA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/transformer-image@2.9.3': resolution: {integrity: sha512-7CEe35RaPadQzLIuxzTtIxnItvOoy46hcbXtOdDt6lmVa4omuOygZYRIya2lsGIP4JHvAaALMb5nt99a1uTwJg==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} peerDependencies: '@parcel/core': ^2.9.3 '@parcel/transformer-js@2.9.3': resolution: {integrity: sha512-Z2MVVg5FYcPOfxlUwxqb5l9yjTMEqE3KI3zq2MBRUme6AV07KxLmCDF23b6glzZlHWQUE8MXzYCTAkOPCcPz+Q==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} peerDependencies: '@parcel/core': ^2.9.3 '@parcel/transformer-json@2.9.3': resolution: {integrity: sha512-yNL27dbOLhkkrjaQjiQ7Im9VOxmkfuuSNSmS0rA3gEjVcm07SLKRzWkAaPnyx44Lb6bzyOTWwVrb9aMmxgADpA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/transformer-postcss@2.9.3': resolution: {integrity: sha512-HoDvPqKzhpmvMmHqQhDnt8F1vH61m6plpGiYaYnYv2Om4HHi5ZIq9bO+9QLBnTKfaZ7ndYSefTKOxTYElg7wyw==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/transformer-posthtml@2.9.3': resolution: {integrity: sha512-2fQGgrzRmaqbWf3y2/T6xhqrNjzqMMKksqJzvc8TMfK6f2kg3Ddjv158eaSW2JdkV39aY7tvAOn5f1uzo74BMA==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/transformer-raw@2.9.3': resolution: {integrity: sha512-oqdPzMC9QzWRbY9J6TZEqltknjno+dY24QWqf8ondmdF2+W+/2mRDu59hhCzQrqUHgTq4FewowRZmSfpzHxwaQ==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/transformer-react-refresh-wrap@2.9.3': resolution: {integrity: sha512-cb9NyU6oJlDblFIlzqIE8AkvRQVGl2IwJNKwD4PdE7Y6sq2okGEPG4hOw3k/Y9JVjM4/2pUORqvjSRhWwd9oVQ==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/transformer-svg@2.9.3': resolution: {integrity: sha512-ypmE+dzB09IMCdEAkOsSxq1dEIm2A3h67nAFz4qbfHbwNgXBUuy/jB3ZMwXN/cO0f7SBh/Ap8Jhq6vmGqB5tWw==} engines: {node: '>= 12.0.0', parcel: ^2.9.3} '@parcel/types@2.9.3': resolution: {integrity: sha512-NSNY8sYtRhvF1SqhnIGgGvJocyWt1K8Tnw5cVepm0g38ywtX6mwkBvMkmeehXkII4mSUn+frD9wGsydTunezvA==} '@parcel/utils@2.9.3': resolution: {integrity: sha512-cesanjtj/oLehW8Waq9JFPmAImhoiHX03ihc3JTWkrvJYSbD7wYKCDgPAM3JiRAqvh1LZ6P699uITrYWNoRLUg==} engines: {node: '>= 12.0.0'} '@parcel/watcher-android-arm64@2.2.0': resolution: {integrity: sha512-nU2wh00CTQT9rr1TIKTjdQ9lAGYpmz6XuKw0nAwAN+S2A5YiD55BK1u+E5WMCT8YOIDe/n6gaj4o/Bi9294SSQ==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [android] '@parcel/watcher-darwin-arm64@2.2.0': resolution: {integrity: sha512-cJl0UZDcodciy3TDMomoK/Huxpjlkkim3SyMgWzjovHGOZKNce9guLz2dzuFwfObBFCjfznbFMIvAZ5syXotYw==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [darwin] '@parcel/watcher-darwin-x64@2.2.0': resolution: {integrity: sha512-QI77zxaGrCV1StKcoRYfsUfmUmvPMPfQrubkBBy5XujV2fwaLgZivQOTQMBgp5K2+E19u1ufpspKXAPqSzpbyg==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [darwin] '@parcel/watcher-linux-arm-glibc@2.2.0': resolution: {integrity: sha512-I2GPBcAXazPzabCmfsa3HRRW+MGlqxYd8g8RIueJU+a4o5nyNZDz0CR1cu0INT0QSQXEZV7w6UE8Hz9CF8u3Pg==} engines: {node: '>= 10.0.0'} cpu: [arm] os: [linux] '@parcel/watcher-linux-arm64-glibc@2.2.0': resolution: {integrity: sha512-St5mlfp+2lS9AmgixUqfwJa/DwVmTCJxC1HcOubUTz6YFOKIlkHCeUa1Bxi4E/tR/HSez8+heXHL8HQkJ4Bd8g==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [linux] '@parcel/watcher-linux-arm64-musl@2.2.0': resolution: {integrity: sha512-jS+qfhhoOBVWwMLP65MaG8xdInMK30pPW8wqTCg2AAuVJh5xepMbzkhHJ4zURqHiyY3EiIRuYu4ONJKCxt8iqA==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [linux] '@parcel/watcher-linux-x64-glibc@2.2.0': resolution: {integrity: sha512-xJvJ7R2wJdi47WZBFS691RDOWvP1j/IAs3EXaWVhDI8FFITbWrWaln7KoNcR0Y3T+ZwimFY/cfb0PNht1q895g==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [linux] '@parcel/watcher-linux-x64-musl@2.2.0': resolution: {integrity: sha512-D+NMpgr23a+RI5mu8ZPKWy7AqjBOkURFDgP5iIXXEf/K3hm0jJ3ogzi0Ed2237B/CdYREimCgXyeiAlE/FtwyA==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [linux] '@parcel/watcher-win32-arm64@2.2.0': resolution: {integrity: sha512-z225cPn3aygJsyVUOWwfyW+fY0Tvk7N3XCOl66qUPFxpbuXeZuiuuJemmtm8vxyqa3Ur7peU/qJxrpC64aeI7Q==} engines: {node: '>= 10.0.0'} cpu: [arm64] os: [win32] '@parcel/watcher-win32-x64@2.2.0': resolution: {integrity: sha512-JqGW0RJ61BkKx+yYzIURt9s53P7xMVbv0uxYPzAXLBINGaFmkIKSuUPyBVfy8TMbvp93lvF4SPBNDzVRJfvgOw==} engines: {node: '>= 10.0.0'} cpu: [x64] os: [win32] '@parcel/watcher@2.2.0': resolution: {integrity: sha512-71S4TF+IMyAn24PK4KSkdKtqJDR3zRzb0HE3yXpacItqTM7XfF2f5q9NEGLEVl0dAaBAGfNwDCjH120y25F6Tg==} engines: {node: '>= 10.0.0'} '@parcel/workers@2.9.3': resolution: {integrity: sha512-zRrDuZJzTevrrwElYosFztgldhqW6G9q5zOeQXfVQFkkEJCNfg36ixeiofKRU8uu2x+j+T6216mhMNB6HiuY+w==} engines: {node: '>= 12.0.0'} peerDependencies: '@parcel/core': ^2.9.3 '@particle-network/analytics@1.0.1': resolution: {integrity: sha512-ApcSMo1BXQlywO+lvOpG3Y2/SVGNCpJzXO/4e3zHzE/9j+uMehsilDzPwWQwLhrCXZYwVm7mmE71Gs36yobiNw==} '@particle-network/auth@1.3.1': resolution: {integrity: sha512-hu6ie5RjjN4X+6y/vfjyCsSX3pQuS8k8ZoMb61QWwhWsnZXKzpBUVeAEk55aGfxxXY+KfBkSmZosyaZHGoHnfw==} '@particle-network/chains@1.3.3': resolution: {integrity: sha512-M/h5YwvtEJ4zk3ssF6fAUl0jRGFNhdN+K6YgxVbswJgFVD1pKNYMQgN+5hkV6YNUzuhqgTb0y9a4ol+tVZeVIQ==} '@particle-network/crypto@1.0.1': resolution: {integrity: sha512-GgvHmHcFiNkCLZdcJOgctSbgvs251yp+EAdUydOE3gSoIxN6KEr/Snu9DebENhd/nFb7FDk5ap0Hg49P7pj1fg==} '@particle-network/solana-wallet@1.3.2': resolution: {integrity: sha512-KviKVP87OtWq813y8IumM3rIQMNkTjHBaQmCUbTWGebz3csFOv54JIoy1r+3J3NnA+mBxBdZeRedZ5g+07v75w==} peerDependencies: '@solana/web3.js': ^1.50.1 bs58: ^4.0.1 '@pmmmwh/react-refresh-webpack-plugin@0.5.10': resolution: {integrity: sha512-j0Ya0hCFZPd4x40qLzbhGsh9TMtdb+CJQiso+WxLOPNasohq9cc5SNUcwsZaRH6++Xh91Xkm/xHCkuIiIu0LUA==} engines: {node: '>= 10.13'} peerDependencies: '@types/webpack': 4.x || 5.x react-refresh: '>=0.10.0 <1.0.0' sockjs-client: ^1.4.0 type-fest: '>=0.17.0 <4.0.0' webpack: '>=4.43.0 <6.0.0' webpack-dev-server: 3.x || 4.x webpack-hot-middleware: 2.x webpack-plugin-serve: 0.x || 1.x peerDependenciesMeta: '@types/webpack': optional: true sockjs-client: optional: true type-fest: optional: true webpack-dev-server: optional: true webpack-hot-middleware: optional: true webpack-plugin-serve: optional: true '@popperjs/core@2.11.8': resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} '@project-serum/sol-wallet-adapter@0.2.6': resolution: {integrity: sha512-cpIb13aWPW8y4KzkZAPDgw+Kb+DXjCC6rZoH74MGm3I/6e/zKyGnfAuW5olb2zxonFqsYgnv7ev8MQnvSgJ3/g==} engines: {node: '>=10'} peerDependencies: '@solana/web3.js': ^1.5.0 '@protobufjs/aspromise@1.1.2': resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} '@protobufjs/base64@1.1.2': resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==} '@protobufjs/codegen@2.0.4': resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==} '@protobufjs/eventemitter@1.1.0': resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==} '@protobufjs/fetch@1.1.0': resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==} '@protobufjs/float@1.0.2': resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==} '@protobufjs/inquire@1.1.0': resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==} '@protobufjs/path@1.1.2': resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==} '@protobufjs/pool@1.1.0': resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==} '@protobufjs/utf8@1.1.0': resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} '@rc-component/portal@1.1.2': resolution: {integrity: sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' '@react-native-async-storage/async-storage@1.19.1': resolution: {integrity: sha512-5QXuGCtB+HL3VtKL2JN3+6t4qh8VXizK+aGDAv6Dqiq3MLrzgZHb4tjVgtEWMd8CcDtD/JqaAI1b6/EaYGtFIA==} peerDependencies: react-native: ^0.0.0-0 || 0.60 - 0.72 || 1000.0.0 '@react-native-community/cli-clean@11.3.5': resolution: {integrity: sha512-1+7BU962wKkIkHRp/uW3jYbQKKGtU7L+R3g59D8K6uLccuxJYUBJv18753ojMa6SD3SAq5Xh31bAre+YwVcOTA==} '@react-native-community/cli-config@11.3.5': resolution: {integrity: sha512-fMblIsHlUleKfGsgWyjFJYfx1SqrsnhS/QXfA8w7iT6GrNOOjBp5UWx8+xlMDFcmOb9e42g1ExFDKl3n8FWkxQ==} '@react-native-community/cli-debugger-ui@11.3.5': resolution: {integrity: sha512-o5JVCKEpPUXMX4r3p1cYjiy3FgdOEkezZcQ6owWEae2dYvV19lLYyJwnocm9Y7aG9PvpgI3PIMVh3KZbhS21eA==} '@react-native-community/cli-doctor@11.3.5': resolution: {integrity: sha512-+4BuFHjoV4FFjX5y60l0s6nS0agidb1izTVwsFixeFKW73LUkOLu+Ae5HI94RAFEPE4ePEVNgYX3FynIau6K0g==} '@react-native-community/cli-hermes@11.3.5': resolution: {integrity: sha512-+3m34hiaJpFel8BlJE7kJOaPzWR/8U8APZG2LXojbAdBAg99EGmQcwXIgsSVJFvH8h/nezf4DHbsPKigIe33zA==} '@react-native-community/cli-platform-android@11.3.5': resolution: {integrity: sha512-s4Lj7FKxJ/BofGi/ifjPfrA9MjFwIgYpHnHBSlqtbsvPoSYzmVCU2qlWM8fb3AmkXIwyYt4A6MEr3MmNT2UoBg==} '@react-native-community/cli-platform-ios@11.3.5': resolution: {integrity: sha512-ytJC/YCFD7P+KuQHOT5Jzh1ho2XbJEjq71yHa1gJP2PG/Q/uB4h1x2XpxDqv5iXU6E250yjvKMmkReKTW4CTig==} '@react-native-community/cli-plugin-metro@11.3.5': resolution: {integrity: sha512-r9AekfeLKdblB7LfWB71IrNy1XM03WrByQlUQajUOZAP2NmUUBLl9pMZscPjJeOSgLpHB9ixEFTIOhTabri/qg==} '@react-native-community/cli-server-api@11.3.5': resolution: {integrity: sha512-PM/jF13uD1eAKuC84lntNuM5ZvJAtyb+H896P1dBIXa9boPLa3KejfUvNVoyOUJ5s8Ht25JKbc3yieV2+GMBDA==} '@react-native-community/cli-tools@11.3.5': resolution: {integrity: sha512-zDklE1+ah/zL4BLxut5XbzqCj9KTHzbYBKX7//cXw2/0TpkNCaY9c+iKx//gZ5m7U1OKbb86Fm2b0AKtKVRf6Q==} '@react-native-community/cli-types@11.3.5': resolution: {integrity: sha512-pf0kdWMEfPSV/+8rcViDCFzbLMtWIHMZ8ay7hKwqaoWegsJ0oprSF2tSTH+LSC/7X1Beb9ssIvHj1m5C4es5Xg==} '@react-native-community/cli@11.3.5': resolution: {integrity: sha512-wMXgKEWe6uesw7vyXKKjx5EDRog0QdXHxdgRguG14AjQRao1+4gXEWq2yyExOTi/GDY6dfJBUGTCwGQxhnk/Lg==} engines: {node: '>=16'} hasBin: true '@react-native/assets-registry@0.72.0': resolution: {integrity: sha512-Im93xRJuHHxb1wniGhBMsxLwcfzdYreSZVQGDoMJgkd6+Iky61LInGEHnQCTN0fKNYF1Dvcofb4uMmE1RQHXHQ==} '@react-native/assets-registry@0.73.1': resolution: {integrity: sha512-2FgAbU7uKM5SbbW9QptPPZx8N9Ke2L7bsHb+EhAanZjFZunA9PaYtyjUQ1s7HD+zDVqOQIvjkpXSv7Kejd2tqg==} engines: {node: '>=18'} '@react-native/babel-plugin-codegen@0.73.4': resolution: {integrity: sha512-XzRd8MJGo4Zc5KsphDHBYJzS1ryOHg8I2gOZDAUCGcwLFhdyGu1zBNDJYH2GFyDrInn9TzAbRIf3d4O+eltXQQ==} engines: {node: '>=18'} '@react-native/babel-preset@0.73.21': resolution: {integrity: sha512-WlFttNnySKQMeujN09fRmrdWqh46QyJluM5jdtDNrkl/2Hx6N4XeDUGhABvConeK95OidVO7sFFf7sNebVXogA==} engines: {node: '>=18'} peerDependencies: '@babel/core': '*' '@react-native/codegen@0.72.6': resolution: {integrity: sha512-idTVI1es/oopN0jJT/0jB6nKdvTUKE3757zA5+NPXZTeB46CIRbmmos4XBiAec8ufu9/DigLPbHTYAaMNZJ6Ig==} peerDependencies: '@babel/preset-env': ^7.1.6 '@react-native/codegen@0.73.3': resolution: {integrity: sha512-sxslCAAb8kM06vGy9Jyh4TtvjhcP36k/rvj2QE2Jdhdm61KvfafCATSIsOfc0QvnduWFcpXUPvAVyYwuv7PYDg==} engines: {node: '>=18'} peerDependencies: '@babel/preset-env': ^7.1.6 '@react-native/debugger-frontend@0.73.3': resolution: {integrity: sha512-RgEKnWuoo54dh7gQhV7kvzKhXZEhpF9LlMdZolyhGxHsBqZ2gXdibfDlfcARFFifPIiaZ3lXuOVVa4ei+uPgTw==} engines: {node: '>=18'} '@react-native/dev-middleware@0.73.8': resolution: {integrity: sha512-oph4NamCIxkMfUL/fYtSsE+JbGOnrlawfQ0kKtDQ5xbOjPKotKoXqrs1eGwozNKv7FfQ393stk1by9a6DyASSg==} engines: {node: '>=18'} '@react-native/gradle-plugin@0.72.11': resolution: {integrity: sha512-P9iRnxiR2w7EHcZ0mJ+fmbPzMby77ZzV6y9sJI3lVLJzF7TLSdbwcQyD3lwMsiL+q5lKUHoZJS4sYmih+P2HXw==} '@react-native/js-polyfills@0.72.1': resolution: {integrity: sha512-cRPZh2rBswFnGt5X5EUEPs0r+pAsXxYsifv/fgy9ZLQokuT52bPH+9xjDR+7TafRua5CttGW83wP4TntRcWNDA==} '@react-native/normalize-color@2.1.0': resolution: {integrity: sha512-Z1jQI2NpdFJCVgpY+8Dq/Bt3d+YUi1928Q+/CZm/oh66fzM0RUl54vvuXlPJKybH4pdCZey1eDTPaLHkMPNgWA==} '@react-native/normalize-colors@0.72.0': resolution: {integrity: sha512-285lfdqSXaqKuBbbtP9qL2tDrfxdOFtIMvkKadtleRQkdOxx+uzGvFr82KHmc/sSiMtfXGp7JnFYWVh4sFl7Yw==} '@react-native/virtualized-lists@0.72.6': resolution: {integrity: sha512-JhT6ydu35LvbSKdwnhWDuGHMOwM0WAh9oza/X8vXHA8ELHRyQ/4p8eKz/bTQcbQziJaaleUURToGhFuCtgiMoA==} peerDependencies: react-native: '*' '@rollup/plugin-babel@5.3.1': resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==} engines: {node: '>= 10.0.0'} peerDependencies: '@babel/core': ^7.0.0 '@types/babel__core': ^7.1.9 rollup: ^1.20.0||^2.0.0 peerDependenciesMeta: '@types/babel__core': optional: true '@rollup/plugin-node-resolve@11.2.1': resolution: {integrity: sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==} engines: {node: '>= 10.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0 '@rollup/plugin-replace@2.4.2': resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} peerDependencies: rollup: ^1.20.0 || ^2.0.0 '@rollup/pluginutils@3.1.0': resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} engines: {node: '>= 8.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0 '@rushstack/eslint-patch@1.3.2': resolution: {integrity: sha512-V+MvGwaHH03hYhY+k6Ef/xKd6RYlc4q8WBx+2ANmipHJcKuktNcI/NgEsJgdSUF6Lw32njT6OnrRsKYCdgHjYw==} '@scure/base@1.1.1': resolution: {integrity: sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==} '@scure/base@1.1.5': resolution: {integrity: sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ==} '@scure/bip32@1.3.1': resolution: {integrity: sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A==} '@scure/bip32@1.3.3': resolution: {integrity: sha512-LJaN3HwRbfQK0X1xFSi0Q9amqOgzQnnDngIt+ZlsBC3Bm7/nE7K0kwshZHyaru79yIVRv/e1mQAjZyuZG6jOFQ==} '@scure/bip39@1.2.1': resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} '@scure/bip39@1.2.2': resolution: {integrity: sha512-HYf9TUXG80beW+hGAt3TRM8wU6pQoYur9iNypTROm42dorCGmLnFe3eWjz3gOq6G62H2WRh0FCzAR1PI+29zIA==} '@segment/loosely-validate-event@2.0.0': resolution: {integrity: sha512-ZMCSfztDBqwotkl848ODgVcAmN4OItEWDCkshcKz0/W6gGSQayuuCtWV/MlodFivAZD793d6UgANd6wCXUfrIw==} '@sideway/address@4.1.4': resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==} '@sideway/formula@3.0.1': resolution: {integrity: sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==} '@sideway/pinpoint@2.0.0': resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} '@sinclair/typebox@0.24.51': resolution: {integrity: sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA==} '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} '@sinclair/typebox@0.31.28': resolution: {integrity: sha512-/s55Jujywdw/Jpan+vsy6JZs1z2ZTGxTmbZTPiuSL2wz9mfzA2gN1zzaqmvfi4pq+uOt7Du85fkiwv5ymW84aQ==} '@sinonjs/commons@1.8.6': resolution: {integrity: sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==} '@sinonjs/commons@3.0.0': resolution: {integrity: sha512-jXBtWAF4vmdNmZgD5FoKsVLv3rPgDnLgPbU84LIJ3otV44vJlDRokVng5v8NFJdCf/da9legHcKaRuZs4L7faA==} '@sinonjs/fake-timers@10.3.0': resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} '@sinonjs/fake-timers@8.1.0': resolution: {integrity: sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg==} '@sinonjs/fake-timers@9.1.2': resolution: {integrity: sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==} '@socket.io/component-emitter@3.1.0': resolution: {integrity: sha512-+9jVqKhRSpsc591z5vX+X5Yyw+he/HCB4iQ/RYxw35CEPaY1gnsNE43nf9n9AaYjAQrTiI/mOwKUKdUs9vf7Xg==} '@solana-mobile/mobile-wallet-adapter-protocol-web3js@2.0.1': resolution: {integrity: sha512-zpMEU40PJ2rmRgqXbn7JqyHhrygQLX9MVszAczVDzqg39aMD7yo6VyTI8NEH422JzCj3Cjl9DndQZJRNdqdOHw==} peerDependencies: '@solana/web3.js': ^1.58.0 '@solana-mobile/mobile-wallet-adapter-protocol@1.0.1': resolution: {integrity: sha512-T+xroGLYaYeI8TXy85oNul2m1k/oF9dAW7eRy/MF9up1EQ5SPL5KWFICQfV2gy87jBZd1y0k0M2GayVN7QdQpA==} peerDependencies: react-native: '>0.69' '@solana-mobile/wallet-adapter-mobile@2.0.1': resolution: {integrity: sha512-QIM8nqVRmv8yEsTEfMbzWH7NoVVC6F417Z/tf6FpOVn1N6MqiZc5kvajsaRJKXrHzi5r5023SKErjg9LjZshXw==} peerDependencies: '@solana/web3.js': ^1.58.0 '@solana/buffer-layout@4.0.1': resolution: {integrity: sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA==} engines: {node: '>=5.10'} '@solana/wallet-standard-chains@1.1.0': resolution: {integrity: sha512-IRJHf94UZM8AaRRmY18d34xCJiVPJej1XVwXiTjihHnmwD0cxdQbc/CKjrawyqFyQAKJx7raE5g9mnJsAdspTg==} engines: {node: '>=16'} '@solana/wallet-standard-features@1.1.0': resolution: {integrity: sha512-oVyygxfYkkF5INYL0GuD8GFmNO/wd45zNesIqGCFE6X66BYxmI6HmyzQJCcZTZ0BNsezlVg4t+3MCL5AhfFoGA==} engines: {node: '>=16'} '@solana/wallet-standard-util@1.1.0': resolution: {integrity: sha512-vssoCIx43sY5EMrT1pVltsZZKPAQfKpPG3ib2fuqRqpTRGkeRFCPDf4lrVFAYYp238tFr3Xrr/3JLcGvPP7uYw==} engines: {node: '>=16'} '@solana/wallet-standard-wallet-adapter-base@1.1.0': resolution: {integrity: sha512-wCPiQChIsTB3SlQ18QiPiAcmnqXcX1FRf3ylxpo9LNJ+cOD6vBcrAC4UK/P7sYww1RJM+bHTxvUTweeNtQ/7Pg==} engines: {node: '>=16'} peerDependencies: '@solana/web3.js': ^1.58.0 bs58: ^4.0.1 '@solana/wallet-standard-wallet-adapter-react@1.1.0': resolution: {integrity: sha512-bkCPtOHWMXsCpqudoOQ2BSMAJQAcPrgAApDROGI4zpPIM1GI8WA7QslS9MJgSvkWKIRIUdf1r6YnpVSwT6c8sw==} engines: {node: '>=16'} peerDependencies: '@solana/wallet-adapter-base': workspace:^ react: '*' '@solana/web3.js@1.78.0': resolution: {integrity: sha512-CSjCjo+RELJ5puoZALfznN5EF0YvL1V8NQrQYovsdjE1lCV6SqbKAIZD0+9LlqCBoa1ibuUaR7G2SooYzvzmug==} '@solana/web3.js@1.90.1': resolution: {integrity: sha512-BaopDf3TN54N9/T1iILu+Fz2gthIZzi+6X2A7bb0FWvGlwI/78iKRb2WjSnCfrHmMbWVLJR5n/pmXteezMXgVw==} '@solflare-wallet/metamask-sdk@1.0.2': resolution: {integrity: sha512-IoHz81EfU8x/QlmUlVimt45FTPlqOQzTcVpB4T3h1E/J9jtuywHHsdRAzmjw71phPCp/5fgFIfg+pD48GIqmQA==} peerDependencies: '@solana/web3.js': '*' '@solflare-wallet/sdk@1.3.0': resolution: {integrity: sha512-wzHJTATtsrvPzhZJG58TkcJmsMZl6yTULnWsw1txuUOWJzol916jUndcvPSlVM3zA/WU/AUk96UCVeFUOq27Nw==} peerDependencies: '@solana/web3.js': '*' '@stablelib/aead@1.0.1': resolution: {integrity: sha512-q39ik6sxGHewqtO0nP4BuSe3db5G1fEJE8ukvngS2gLkBXyy6E7pLubhbYgnkDFv6V8cWaxcE4Xn0t6LWcJkyg==} '@stablelib/binary@1.0.1': resolution: {integrity: sha512-ClJWvmL6UBM/wjkvv/7m5VP3GMr9t0osr4yVgLZsLCOz4hGN9gIAFEqnJ0TsSMAN+n840nf2cHZnA5/KFqHC7Q==} '@stablelib/bytes@1.0.1': resolution: {integrity: sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==} '@stablelib/chacha20poly1305@1.0.1': resolution: {integrity: sha512-MmViqnqHd1ymwjOQfghRKw2R/jMIGT3wySN7cthjXCBdO+qErNPUBnRzqNpnvIwg7JBCg3LdeCZZO4de/yEhVA==} '@stablelib/chacha@1.0.1': resolution: {integrity: sha512-Pmlrswzr0pBzDofdFuVe1q7KdsHKhhU24e8gkEwnTGOmlC7PADzLVxGdn2PoNVBBabdg0l/IfLKg6sHAbTQugg==} '@stablelib/constant-time@1.0.1': resolution: {integrity: sha512-tNOs3uD0vSJcK6z1fvef4Y+buN7DXhzHDPqRLSXUel1UfqMB1PWNsnnAezrKfEwTLpN0cGH2p9NNjs6IqeD0eg==} '@stablelib/ed25519@1.0.3': resolution: {integrity: sha512-puIMWaX9QlRsbhxfDc5i+mNPMY+0TmQEskunY1rZEBPi1acBCVQAhnsk/1Hk50DGPtVsZtAWQg4NHGlVaO9Hqg==} '@stablelib/hash@1.0.1': resolution: {integrity: sha512-eTPJc/stDkdtOcrNMZ6mcMK1e6yBbqRBaNW55XA1jU8w/7QdnCF0CmMmOD1m7VSkBR44PWrMHU2l6r8YEQHMgg==} '@stablelib/hkdf@1.0.1': resolution: {integrity: sha512-SBEHYE16ZXlHuaW5RcGk533YlBj4grMeg5TooN80W3NpcHRtLZLLXvKyX0qcRFxf+BGDobJLnwkvgEwHIDBR6g==} '@stablelib/hmac@1.0.1': resolution: {integrity: sha512-V2APD9NSnhVpV/QMYgCVMIYKiYG6LSqw1S65wxVoirhU/51ACio6D4yDVSwMzuTJXWZoVHbDdINioBwKy5kVmA==} '@stablelib/int@1.0.1': resolution: {integrity: sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w==} '@stablelib/keyagreement@1.0.1': resolution: {integrity: sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==} '@stablelib/poly1305@1.0.1': resolution: {integrity: sha512-1HlG3oTSuQDOhSnLwJRKeTRSAdFNVB/1djy2ZbS35rBSJ/PFqx9cf9qatinWghC2UbfOYD8AcrtbUQl8WoxabA==} '@stablelib/random@1.0.2': resolution: {integrity: sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==} '@stablelib/sha256@1.0.1': resolution: {integrity: sha512-GIIH3e6KH+91FqGV42Kcj71Uefd/QEe7Dy42sBTeqppXV95ggCcxLTk39bEr+lZfJmp+ghsR07J++ORkRELsBQ==} '@stablelib/sha512@1.0.1': resolution: {integrity: sha512-13gl/iawHV9zvDKciLo1fQ8Bgn2Pvf7OV6amaRVKiq3pjQ3UmEpXxWiAfV8tYjUpeZroBxtyrwtdooQT/i3hzw==} '@stablelib/wipe@1.0.1': resolution: {integrity: sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==} '@stablelib/x25519@1.0.3': resolution: {integrity: sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==} '@surma/rollup-plugin-off-main-thread@2.2.3': resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} '@svgr/babel-plugin-add-jsx-attribute@5.4.0': resolution: {integrity: sha512-ZFf2gs/8/6B8PnSofI0inYXr2SDNTDScPXhN7k5EqD4aZ3gi6u+rbmZHVB8IM3wDyx8ntKACZbtXSm7oZGRqVg==} engines: {node: '>=10'} '@svgr/babel-plugin-remove-jsx-attribute@5.4.0': resolution: {integrity: sha512-yaS4o2PgUtwLFGTKbsiAy6D0o3ugcUhWK0Z45umJ66EPWunAz9fuFw2gJuje6wqQvQWOTJvIahUwndOXb7QCPg==} engines: {node: '>=10'} '@svgr/babel-plugin-remove-jsx-empty-expression@5.0.1': resolution: {integrity: sha512-LA72+88A11ND/yFIMzyuLRSMJ+tRKeYKeQ+mR3DcAZ5I4h5CPWN9AHyUzJbWSYp/u2u0xhmgOe0+E41+GjEueA==} engines: {node: '>=10'} '@svgr/babel-plugin-replace-jsx-attribute-value@5.0.1': resolution: {integrity: sha512-PoiE6ZD2Eiy5mK+fjHqwGOS+IXX0wq/YDtNyIgOrc6ejFnxN4b13pRpiIPbtPwHEc+NT2KCjteAcq33/F1Y9KQ==} engines: {node: '>=10'} '@svgr/babel-plugin-svg-dynamic-title@5.4.0': resolution: {integrity: sha512-zSOZH8PdZOpuG1ZVx/cLVePB2ibo3WPpqo7gFIjLV9a0QsuQAzJiwwqmuEdTaW2pegyBE17Uu15mOgOcgabQZg==} engines: {node: '>=10'} '@svgr/babel-plugin-svg-em-dimensions@5.4.0': resolution: {integrity: sha512-cPzDbDA5oT/sPXDCUYoVXEmm3VIoAWAPT6mSPTJNbQaBNUuEKVKyGH93oDY4e42PYHRW67N5alJx/eEol20abw==} engines: {node: '>=10'} '@svgr/babel-plugin-transform-react-native-svg@5.4.0': resolution: {integrity: sha512-3eYP/SaopZ41GHwXma7Rmxcv9uRslRDTY1estspeB1w1ueZWd/tPlMfEOoccYpEMZU3jD4OU7YitnXcF5hLW2Q==} engines: {node: '>=10'} '@svgr/babel-plugin-transform-svg-component@5.5.0': resolution: {integrity: sha512-q4jSH1UUvbrsOtlo/tKcgSeiCHRSBdXoIoqX1pgcKK/aU3JD27wmMKwGtpB8qRYUYoyXvfGxUVKchLuR5pB3rQ==} engines: {node: '>=10'} '@svgr/babel-preset@5.5.0': resolution: {integrity: sha512-4FiXBjvQ+z2j7yASeGPEi8VD/5rrGQk4Xrq3EdJmoZgz/tpqChpo5hgXDvmEauwtvOc52q8ghhZK4Oy7qph4ig==} engines: {node: '>=10'} '@svgr/core@5.5.0': resolution: {integrity: sha512-q52VOcsJPvV3jO1wkPtzTuKlvX7Y3xIcWRpCMtBF3MrteZJtBfQw/+u0B1BHy5ColpQc1/YVTrPEtSYIMNZlrQ==} engines: {node: '>=10'} '@svgr/hast-util-to-babel-ast@5.5.0': resolution: {integrity: sha512-cAaR/CAiZRB8GP32N+1jocovUtvlj0+e65TB50/6Lcime+EA49m/8l+P2ko+XPJ4dw3xaPS3jOL4F2X4KWxoeQ==} engines: {node: '>=10'} '@svgr/plugin-jsx@5.5.0': resolution: {integrity: sha512-V/wVh33j12hGh05IDg8GpIUXbjAPnTdPTKuP4VNLggnwaHMPNQNae2pRnyTAILWCQdz5GyMqtO488g7CKM8CBA==} engines: {node: '>=10'} '@svgr/plugin-svgo@5.5.0': resolution: {integrity: sha512-r5swKk46GuQl4RrVejVwpeeJaydoxkdwkM1mBKOgJLBUJPGaLci6ylg/IjhrRsREKDkr4kbMWdgOtbXEh0fyLQ==} engines: {node: '>=10'} '@svgr/webpack@5.5.0': resolution: {integrity: sha512-DOBOK255wfQxguUta2INKkzPj6AIS6iafZYiYmHn6W3pHlycSRRlvWKCfLDG10fXfLWqE3DJHgRUOyJYmARa7g==} engines: {node: '>=10'} '@swc/core-darwin-arm64@1.3.70': resolution: {integrity: sha512-31+mcl0dgdRHvZRjhLOK9V6B+qJ7nxDZYINr9pBlqGWxknz37Vld5KK19Kpr79r0dXUZvaaelLjCnJk9dA2PcQ==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] '@swc/core-darwin-x64@1.3.70': resolution: {integrity: sha512-GMFJ65E18zQC80t0os+TZvI+8lbRuitncWVge/RXmXbVLPRcdykP4EJ87cqzcG5Ah0z18/E0T+ixD6jHRisrYQ==} engines: {node: '>=10'} cpu: [x64] os: [darwin] '@swc/core-linux-arm-gnueabihf@1.3.70': resolution: {integrity: sha512-wjhCwS8LCiAq2VedF1b4Bryyw68xZnfMED4pLRazAl8BaUlDFANfRBORNunxlfHQj4V3x39IaiLgCZRHMdzXBg==} engines: {node: '>=10'} cpu: [arm] os: [linux] '@swc/core-linux-arm64-gnu@1.3.70': resolution: {integrity: sha512-9D/Rx67cAOnMiexvCqARxvhj7coRajTp5HlJHuf+rfwMqI2hLhpO9/pBMQxBUAWxODO/ksQ/OF+GJRjmtWw/2A==} engines: {node: '>=10'} cpu: [arm64] os: [linux] '@swc/core-linux-arm64-musl@1.3.70': resolution: {integrity: sha512-gkjxBio7XD+1GlQVVyPP/qeFkLu83VhRHXaUrkNYpr5UZG9zZurBERT9nkS6Y+ouYh+Q9xmw57aIyd2KvD2zqQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] '@swc/core-linux-x64-gnu@1.3.70': resolution: {integrity: sha512-/nCly+V4xfMVwfEUoLLAukxUSot/RcSzsf6GdsGTjFcrp5sZIntAjokYRytm3VT1c2TK321AfBorsi9R5w8Y7Q==} engines: {node: '>=10'} cpu: [x64] os: [linux] '@swc/core-linux-x64-musl@1.3.70': resolution: {integrity: sha512-HoOsPJbt361KGKaivAK0qIiYARkhzlxeAfvF5NlnKxkIMOZpQ46Lwj3tR0VWohKbrhS+cYKFlVuDi5XnDkx0XA==} engines: {node: '>=10'} cpu: [x64] os: [linux] '@swc/core-win32-arm64-msvc@1.3.70': resolution: {integrity: sha512-hm4IBK/IaRil+aj1cWU6f0GyAdHpw/Jr5nyFYLM2c/tt7w2t5hgb8NjzM2iM84lOClrig1fG6edj2vCF1dFzNQ==} engines: {node: '>=10'} cpu: [arm64] os: [win32] '@swc/core-win32-ia32-msvc@1.3.70': resolution: {integrity: sha512-5cgKUKIT/9Fp5fCA+zIjYCQ4dSvjFYOeWGZR3QiTXGkC4bGa1Ji9SEPyeIAX0iruUnKjYaZB9RvHK2tNn7RLrQ==} engines: {node: '>=10'} cpu: [ia32] os: [win32] '@swc/core-win32-x64-msvc@1.3.70': resolution: {integrity: sha512-LE8lW46+TQBzVkn2mHBlk8DIElPIZ2dO5P8AbJiARNBAnlqQWu67l9gWM89UiZ2l33J2cI37pHzON3tKnT8f9g==} engines: {node: '>=10'} cpu: [x64] os: [win32] '@swc/core@1.3.70': resolution: {integrity: sha512-LWVWlEDLlOD25PvA2NEz41UzdwXnlDyBiZbe69s3zM0DfCPwZXLUm79uSqH9ItsOjTrXSL5/1+XUL6C/BZwChA==} engines: {node: '>=10'} peerDependencies: '@swc/helpers': ^0.5.0 peerDependenciesMeta: '@swc/helpers': optional: true '@swc/helpers@0.4.11': resolution: {integrity: sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw==} '@swc/helpers@0.5.1': resolution: {integrity: sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==} '@testing-library/dom@8.20.1': resolution: {integrity: sha512-/DiOQ5xBxgdYRC8LNk7U+RWat0S3qRLeIw3ZIkMQ9kkVlRmwD/Eg8k8CqIpD6GW7u20JIUOfMKbxtiLutpjQ4g==} engines: {node: '>=12'} '@testing-library/dom@9.3.1': resolution: {integrity: sha512-0DGPd9AR3+iDTjGoMpxIkAsUihHZ3Ai6CneU6bRRrffXMgzCdlNk43jTrD2/5LT6CBb3MWTP8v510JzYtahD2w==} engines: {node: '>=14'} '@testing-library/jest-dom@5.17.0': resolution: {integrity: sha512-ynmNeT7asXyH3aSVv4vvX4Rb+0qjOhdNHnO/3vuZNqPmhDpV/+rCSGwQ7bLcmU2cJ4dvoheIO85LQj0IbJHEtg==} engines: {node: '>=8', npm: '>=6', yarn: '>=1'} '@testing-library/react@13.4.0': resolution: {integrity: sha512-sXOGON+WNTh3MLE9rve97ftaZukN3oNf2KjDy7YTx6hcTO2uuLHuCGynMDhFwGw/jYf4OJ2Qk0i4i79qMNNkyw==} engines: {node: '>=12'} peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 '@testing-library/user-event@14.4.3': resolution: {integrity: sha512-kCUc5MEwaEMakkO5x7aoD+DLi02ehmEM2QCGWvNqAS1dV/fAvORWEjnjsEIvml59M7Y5kCkWN6fCCyPOe8OL6Q==} engines: {node: '>=12', npm: '>=6'} peerDependencies: '@testing-library/dom': '>=7.21.4' '@tootallnate/once@1.1.2': resolution: {integrity: sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==} engines: {node: '>= 6'} '@tootallnate/once@2.0.0': resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} engines: {node: '>= 10'} '@toruslabs/base-controllers@2.9.0': resolution: {integrity: sha512-rKc+bR4QB/wdbH0CxLZC5e2PUZcIgkr9yY7TMd3oIffDklaYBnsuC5ES2/rgK1aRUDRWz+qWbTwLqsY6PlT37Q==} peerDependencies: '@babel/runtime': 7.x '@toruslabs/broadcast-channel@6.3.1': resolution: {integrity: sha512-BEtJQ+9bMfFoGuCsp5NmxyY+C980Ho+3BZIKSiYwRtl5qymJ+jMX5lsoCppoQblcb34dP6FwEjeFw80Y9QC/rw==} '@toruslabs/eccrypto@2.2.1': resolution: {integrity: sha512-7sviL0wLYsfA5ogEAOIdb0tu/QAOFXfHc9B8ONYtF04x4Mg3Nr89LL35FhjaEm055q8Ru7cUQhEFSiqJqm9GCw==} '@toruslabs/http-helpers@3.4.0': resolution: {integrity: sha512-CoeJSL32mpp0gmYjxv48odu6pfjHk/rbJHDwCtYPcMHAl+qUQ/DTpVOOn9U0fGkD+fYZrQmZbRkXFgLhiT0ajQ==} engines: {node: '>=14.17.0', npm: '>=6.x'} peerDependencies: '@babel/runtime': ^7.x '@sentry/types': ^7.x peerDependenciesMeta: '@sentry/types': optional: true '@toruslabs/metadata-helpers@3.2.0': resolution: {integrity: sha512-2bCc6PNKd9y+aWfZQ1FXd47QmfyT4NmmqPGfsqk+sQS2o+MlxIyLuh9uh7deMgXo4b4qBDX+RQGbIKM1zVk56w==} engines: {node: '>=14.17.0', npm: '>=6.x'} peerDependencies: '@babel/runtime': 7.x '@toruslabs/openlogin-jrpc@3.2.0': resolution: {integrity: sha512-G+K0EHyVUaAEyeD4xGsnAZRpn/ner8lQ2HC2+pGKg6oGmzKI2wGMDcw2KMH6+HKlfBGVJ5/VR9AQfC/tZlLDmQ==} peerDependencies: '@babel/runtime': 7.x '@toruslabs/openlogin-jrpc@4.7.0': resolution: {integrity: sha512-7Zke2ky9e6HgM6Rs8ByXqrT6s5/l8wn7I11UOUPNPrP9AcYk8n7lDlVu8hniNADDc/IwHZGS0mAbtpRbWletuQ==} engines: {node: '>=16.18.1', npm: '>=8.x'} peerDependencies: '@babel/runtime': 7.x '@toruslabs/openlogin-utils@3.0.0': resolution: {integrity: sha512-T5t29/AIFqXc84x4OoAkZWjd0uoP2Lk6iaFndnIIMzCPu+BwwV0spX/jd/3YYNjZ8Po8D+faEnwAhiqemYeK2w==} peerDependencies: '@babel/runtime': 7.x '@toruslabs/openlogin-utils@4.7.0': resolution: {integrity: sha512-w6XkHs4WKuufsf/zzteBzs4EJuOknrUmJ+iv5FZ8HzIpMQeL/984CP8HYaFSEYkbGCP4ydAnhY4Uh0QAhpDbPg==} engines: {node: '>=16.18.1', npm: '>=8.x'} peerDependencies: '@babel/runtime': 7.x '@toruslabs/solana-embed@0.3.4': resolution: {integrity: sha512-yj+aBJoBAneap7Jlu9/OOp7irWNuC5CqAhyhVcmb0IjWrCUFnioLdL0U7UfGaqVm/5O0leJh7/Z5Ll+3toWJBg==} engines: {node: '>=14.17.0', npm: '>=6.x'} peerDependencies: '@babel/runtime': 7.x '@trezor/analytics@1.0.15': resolution: {integrity: sha512-HSo/1kYyiouLJBOJPLUidEgHQA85b9yioTjvTY4fP2MIRfJ9sblioihq8BOjW1n+CV914z2y/SLLfnbRgFYGcw==} peerDependencies: tslib: ^2.6.2 '@trezor/blockchain-link-types@1.0.14': resolution: {integrity: sha512-UDzLCRY7Kig+79KWrbMeiVd1tHQwNaSRFbkJPptkuANIQpQpHRBxOdKk526Fd2EHnCHQa6WVBUhNjAhhzk2hjQ==} '@trezor/blockchain-link-utils@1.0.15': resolution: {integrity: sha512-2iwPbfYUKBEQqx7awXlq6yqtPNAT7c1fWHJMzW36EvzHW3Nh5lwAtBWaeKUtEsRJmAF0VRfj5Dc7gRnO9Cb8Vw==} peerDependencies: tslib: ^2.6.2 '@trezor/blockchain-link@2.1.27': resolution: {integrity: sha512-BMoMwjd+3ZeuHrhtphQnPOvJPcyi69NYJ0JGah/+zj3UkrRPodvEf+44qlA0pxCBUjYMjHEDqekppuuuD1hRsg==} peerDependencies: tslib: ^2.6.2 '@trezor/connect-analytics@1.0.13': resolution: {integrity: sha512-Cbbv2UpX5zqmf1fB1yYuITO3gOctcxyl4Uxu9X/Sh/qgckU6FrJGJLMMJjUlC5+4DZWegmkhDMaZHXdtNPydZA==} peerDependencies: tslib: ^2.6.2 '@trezor/connect-common@0.0.30': resolution: {integrity: sha512-F7O3rH4G/U4djv3EqW3vL+f7PCXquNs01sYpgTE/JHjfODp1yoQGnQC+wy3QhAWW+6bETCz9LyIaTZgZ4n/uTQ==} peerDependencies: tslib: ^2.6.2 '@trezor/connect-web@9.2.1': resolution: {integrity: sha512-PjZQTJsEP9TVZ9gimN1j16CxdLcZoj2kLzXokli+bsgz9IxzuHSAwNYAGIjUWetGydAApQYHTcI+enPXHVi0rg==} peerDependencies: tslib: ^2.6.2 '@trezor/connect@9.2.1': resolution: {integrity: sha512-FYiPNT1/GKLu692MjXGsTimvkPSGWEuWJ53jVWEfTiLGy1QhAxoG5ZTmrVe4lqdQ+hbG+AKylrPSuvtOvBsJsA==} peerDependencies: tslib: ^2.6.2 '@trezor/env-utils@1.0.14': resolution: {integrity: sha512-hwJtoLhLEZeUQu2FR1NZk1AhHnck8W5Pc1f385i5VKqwHSuORKvz0ufjMbHrvqj1GBJdXbhE3WXMJI31SkZimw==} peerDependencies: expo-localization: '*' react-native: '*' tslib: ^2.6.2 peerDependenciesMeta: expo-localization: optional: true react-native: optional: true '@trezor/protobuf@1.0.10': resolution: {integrity: sha512-XsWmHjaBcSRrga/y2gfPCwtx5Cjh+ONqgg043Dj+nwqSEu/G2HKzJeHO915piPWtQBW1nmtnh3FsSo2FltCASw==} peerDependencies: tslib: ^2.6.2 '@trezor/protocol@1.0.6': resolution: {integrity: sha512-5agka7qFoS8DysFT+/sJbfV4IJniy+yaUHf4KKhx24CtgtxmqJFNEMF13HzEZeGPLHHg59FAK29G3tSl+I9alw==} peerDependencies: tslib: ^2.6.2 '@trezor/schema-utils@1.0.2': resolution: {integrity: sha512-VqD0m/nm0x4fRkK0NXLQMg7sDvQwZLSei/TRjrynXn4LOrL7RhuEbaVTTIUqI536+lNnDEo0d4GwPE38aT0/1g==} '@trezor/transport@1.1.26': resolution: {integrity: sha512-Wb1ht0zy3o+9gKhI3fZZrvIwoGTinWQ3DWIkJlzlimrz+DkVe45Kfar9eqvncBaoc7LbT+F3jK/65+r3QeFlHA==} peerDependencies: tslib: ^2.6.2 '@trezor/type-utils@1.0.5': resolution: {integrity: sha512-AK8Gg5yoPAMvxqK49LXr8yoop1oxIXRxkOhCuWGV51fDM02/L1dhGNKC04UyCTyG7jZ+H1f5ywuna81BVT/ptQ==} '@trezor/utils@9.0.22': resolution: {integrity: sha512-DJ7pORsIoS79cqac/p1hXmf7N72jCleifQqDUGicPOF+fIDiRoAtRSnrtwiwOF3vOXLMa//zXylA15CZl3RSjQ==} peerDependencies: tslib: ^2.6.2 '@trezor/utxo-lib@2.0.7': resolution: {integrity: sha512-st0HI0cK+wDCnWGM3zJx0N3eja96uGquJ80iODkGUb/Zp/E/ILyDzh9Idh+SiOCvA6II+YIQIRnhltu/iHq4rg==} peerDependencies: tslib: ^2.6.2 '@trysound/sax@0.2.0': resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} engines: {node: '>=10.13.0'} '@types/aria-query@5.0.1': resolution: {integrity: sha512-XTIieEY+gvJ39ChLcB4If5zHtPxt3Syj5rgZR+e1ctpmK8NjPf0zFqsz4JpLJT0xla9GFDKjy8Cpu331nrmE1Q==} '@types/babel__core@7.20.1': resolution: {integrity: sha512-aACu/U/omhdk15O4Nfb+fHgH/z3QsfQzpnvRZhYhThms83ZnAOZz7zZAWO7mn2yyNQaA4xTO8GLK3uqFU4bYYw==} '@types/babel__generator@7.6.4': resolution: {integrity: sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==} '@types/babel__template@7.4.1': resolution: {integrity: sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==} '@types/babel__traverse@7.20.1': resolution: {integrity: sha512-MitHFXnhtgwsGZWtT68URpOvLN4EREih1u3QtQiN4VdAxWKRVvGCSvw/Qth0M0Qq3pJpnGOu5JaM/ydK7OGbqg==} '@types/body-parser@1.19.2': resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==} '@types/bonjour@3.5.10': resolution: {integrity: sha512-p7ienRMiS41Nu2/igbJxxLDWrSZ0WxM8UQgCeO9KhoVF7cOVFkrKsiDr1EsJIla8vV3oEEjGcz11jc5yimhzZw==} '@types/bs58@4.0.1': resolution: {integrity: sha512-yfAgiWgVLjFCmRv8zAcOIHywYATEwiTVccTLnRp6UxTNavT55M9d/uhK3T03St/+8/z/wW+CRjGKUNmEqoHHCA==} '@types/connect-history-api-fallback@1.5.0': resolution: {integrity: sha512-4x5FkPpLipqwthjPsF7ZRbOv3uoLUFkTA9G9v583qi4pACvq0uTELrB8OLUzPWUI4IJIyvM85vzkV1nyiI2Lig==} '@types/connect@3.4.35': resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} '@types/debug@4.1.8': resolution: {integrity: sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==} '@types/eslint-scope@3.7.4': resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} '@types/eslint@8.44.0': resolution: {integrity: sha512-gsF+c/0XOguWgaOgvFs+xnnRqt9GwgTvIks36WpE6ueeI4KCEHHd8K/CKHqhOqrJKsYH8m27kRzQEvWXAwXUTw==} '@types/estree@0.0.39': resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} '@types/estree@1.0.1': resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==} '@types/express-serve-static-core@4.17.35': resolution: {integrity: sha512-wALWQwrgiB2AWTT91CB62b6Yt0sNHpznUXeZEcnPU3DRdlDIz74x8Qg1UUYKSVFi+va5vKOLYRBI1bRKiLLKIg==} '@types/express@4.17.17': resolution: {integrity: sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==} '@types/graceful-fs@4.1.6': resolution: {integrity: sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==} '@types/html-minifier-terser@6.1.0': resolution: {integrity: sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg==} '@types/http-errors@2.0.1': resolution: {integrity: sha512-/K3ds8TRAfBvi5vfjuz8y6+GiAYBZ0x4tXv1Av6CWBWn0IlADc+ZX9pMq7oU0fNQPnBwIZl3rmeLp6SBApbxSQ==} '@types/http-proxy@1.17.11': resolution: {integrity: sha512-HC8G7c1WmaF2ekqpnFq626xd3Zz0uvaqFmBJNRZCGEZCXkvSdJoNFn/8Ygbd9fKNQj8UzLdCETaI0UWPAjK7IA==} '@types/is-ci@3.0.0': resolution: {integrity: sha512-Q0Op0hdWbYd1iahB+IFNQcWXFq4O0Q5MwQP7uN0souuQ4rPg1vEYcnIOfr1gY+M+6rc8FGoRaBO1mOOvL29sEQ==} '@types/istanbul-lib-coverage@2.0.4': resolution: {integrity: sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g==} '@types/istanbul-lib-report@3.0.0': resolution: {integrity: sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg==} '@types/istanbul-reports@3.0.1': resolution: {integrity: sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw==} '@types/jest@28.1.8': resolution: {integrity: sha512-8TJkV++s7B6XqnDrzR1m/TT0A0h948Pnl/097veySPN67VRAgQ4gZ7n2KfJo2rVq6njQjdxU3GCCyDvAeuHoiw==} '@types/jsdom@16.2.15': resolution: {integrity: sha512-nwF87yjBKuX/roqGYerZZM0Nv1pZDMAT5YhOHYeM/72Fic+VEqJh4nyoqoapzJnW3pUlfxPY5FhgsJtM+dRnQQ==} '@types/json-schema@7.0.12': resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} '@types/json5@0.0.29': resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} '@types/keccak@3.0.1': resolution: {integrity: sha512-/MxAVmtyyeOvZ6dGf3ciLwFRuV5M8DRIyYNFGHYI6UyBW4/XqyO0LZw+JFMvaeY3cHItQAkELclBU1x5ank6mg==} '@types/lodash@4.14.199': resolution: {integrity: sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==} '@types/mime@1.3.2': resolution: {integrity: sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw==} '@types/mime@3.0.1': resolution: {integrity: sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==} '@types/minimist@1.2.2': resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} '@types/ms@0.7.31': resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} '@types/node-fetch@2.6.4': resolution: {integrity: sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==} '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} '@types/node@18.16.19': resolution: {integrity: sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA==} '@types/normalize-package-data@2.4.1': resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} '@types/parse-json@4.0.0': resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} '@types/parse5@6.0.3': resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} '@types/pino-pretty@5.0.0': resolution: {integrity: sha512-N1uzqSzioqz8R3AkDbSJwcfDWeI3YMPNapSQQhnB2ISU4NYgUIcAh+hYT5ygqBM+klX4htpEhXMmoJv3J7GrdA==} deprecated: This is a stub types definition. pino-pretty provides its own type definitions, so you do not need this installed. '@types/pino-std-serializers@4.0.0': resolution: {integrity: sha512-gXfUZx2xIBbFYozGms53fT0nvkacx/+62c8iTxrEqH5PkIGAQvDbXg2774VWOycMPbqn5YJBQ3BMsg4Li3dWbg==} deprecated: This is a stub types definition. pino-std-serializers provides its own type definitions, so you do not need this installed. '@types/pino@6.3.12': resolution: {integrity: sha512-dsLRTq8/4UtVSpJgl9aeqHvbh6pzdmjYD3C092SYgLD2TyoCqHpTJk6vp8DvCTGGc7iowZ2MoiYiVUUCcu7muw==} '@types/prettier@2.7.3': resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} '@types/prop-types@15.7.5': resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} '@types/q@1.5.5': resolution: {integrity: sha512-L28j2FcJfSZOnL1WBjDYp2vUHCeIFlyYI/53EwD/rKUBQ7MtUUfbQWiyKJGpcnv4/WgrhWsFKrcPstcAt/J0tQ==} '@types/qs@6.9.7': resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==} '@types/range-parser@1.2.4': resolution: {integrity: sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==} '@types/react-dom@18.2.7': resolution: {integrity: sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==} '@types/react-is@18.2.1': resolution: {integrity: sha512-wyUkmaaSZEzFZivD8F2ftSyAfk6L+DfFliVj/mYdOXbVjRcS87fQJLTnhk6dRZPuJjI+9g6RZJO4PNCngUrmyw==} '@types/react-transition-group@4.4.6': resolution: {integrity: sha512-VnCdSxfcm08KjsJVQcfBmhEQAPnLB8G08hAxn39azX1qYBQ/5RVQuoHuKIcfKOdncuaUvEpFKFzEvbtIMsfVew==} '@types/react@18.2.15': resolution: {integrity: sha512-oEjE7TQt1fFTFSbf8kkNuc798ahTUzn3Le67/PWjE8MAfYAD/qB7O8hSTcromLFqHCt9bcdOg5GXMokzTjJ5SA==} '@types/readable-stream@2.3.15': resolution: {integrity: sha512-oM5JSKQCcICF1wvGgmecmHldZ48OZamtMxcGGVICOJA8o8cahXC1zEVAif8iwoc5j8etxFaRFnf095+CDsuoFQ==} '@types/resolve@1.17.1': resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} '@types/retry@0.12.0': resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} '@types/scheduler@0.16.3': resolution: {integrity: sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==} '@types/semver@7.5.0': resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} '@types/send@0.17.1': resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} '@types/serve-index@1.9.1': resolution: {integrity: sha512-d/Hs3nWDxNL2xAczmOVZNj92YZCS6RGxfBPjKzuu/XirCgXdpKEb88dYNbrYGint6IVWLNP+yonwVAuRC0T2Dg==} '@types/serve-static@1.15.2': resolution: {integrity: sha512-J2LqtvFYCzaj8pVYKw8klQXrLLk7TBZmQ4ShlcdkELFKGwGMfevMLneMMRkMgZxotOD9wg497LpC7O8PcvAmfw==} '@types/sockjs@0.3.33': resolution: {integrity: sha512-f0KEEe05NvUnat+boPTZ0dgaLZ4SfSouXUgv5noUiefG2ajgKjmETo9ZJyuqsl7dfl2aHlLJUiki6B4ZYldiiw==} '@types/stack-utils@2.0.1': resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} '@types/testing-library__jest-dom@5.14.8': resolution: {integrity: sha512-NRfJE9Cgpmu4fx716q9SYmU4jxxhYRU1BQo239Txt/9N3EC745XZX1Yl7h/SBIDlo1ANVOCRB4YDXjaQdoKCHQ==} '@types/tough-cookie@4.0.2': resolution: {integrity: sha512-Q5vtl1W5ue16D+nIaW8JWebSSraJVlK+EthKn7e7UcD4KWsaSJ8BqGPXNaPghgtcn/fhvrN17Tv8ksUsQpiplw==} '@types/trusted-types@2.0.3': resolution: {integrity: sha512-NfQ4gyz38SL8sDNrSixxU2Os1a5xcdFxipAFxYEuLUlvU2uDwS4NUpsImcf1//SlWItCVMMLiylsxbmNMToV/g==} '@types/uuid@8.3.4': resolution: {integrity: sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==} '@types/w3c-web-hid@1.0.3': resolution: {integrity: sha512-eTQRkPd2JukZfS9+kRtrBAaTCCb6waGh5X8BJHmH1MiVQPLMYwm4+EvhwFfOo9SDna15o9dFAwmWwN6r/YM53A==} '@types/w3c-web-usb@1.0.10': resolution: {integrity: sha512-CHgUI5kTc/QLMP8hODUHhge0D4vx+9UiAwIGiT0sTy/B2XpdX1U5rJt6JSISgr6ikRT7vxV9EVAFeYZqUnl1gQ==} '@types/ws@7.4.7': resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} '@types/ws@8.5.5': resolution: {integrity: sha512-lwhs8hktwxSjf9UaZ9tG5M03PGogvFaH8gUgLNbN9HKIg0dvv6q+gkSuJ8HN4/VbyxkuLzCjlN7GquQ0gUJfIg==} '@types/yargs-parser@21.0.0': resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} '@types/yargs@15.0.15': resolution: {integrity: sha512-IziEYMU9XoVj8hWg7k+UJrXALkGFjWJhn5QFEv9q4p+v40oZhSuC135M38st8XPjICL7Ey4TV64ferBGUoJhBg==} '@types/yargs@16.0.5': resolution: {integrity: sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==} '@types/yargs@17.0.24': resolution: {integrity: sha512-6i0aC7jV6QzQB8ne1joVZ0eSFIstHsCrobmOtghM11yGlH0j43FKL2UhWdELkyps0zuf7qVTUVCCR+tgSlyLLw==} '@typescript-eslint/eslint-plugin@5.62.0': resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 eslint: 8.22.0 typescript: '*' peerDependenciesMeta: typescript: optional: true '@typescript-eslint/experimental-utils@5.62.0': resolution: {integrity: sha512-RTXpeB3eMkpoclG3ZHft6vG/Z30azNHuqY6wKPBHlVMZFuEvrtlEDe8gMqDb+SO+9hjC/pLekeSCryf9vMZlCw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: 8.22.0 '@typescript-eslint/parser@5.62.0': resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: 8.22.0 typescript: '*' peerDependenciesMeta: typescript: optional: true '@typescript-eslint/scope-manager@5.62.0': resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@typescript-eslint/type-utils@5.62.0': resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: 8.22.0 typescript: '*' peerDependenciesMeta: typescript: optional: true '@typescript-eslint/types@5.62.0': resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@typescript-eslint/typescript-estree@5.62.0': resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true '@typescript-eslint/utils@5.62.0': resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: 8.22.0 '@typescript-eslint/visitor-keys@5.62.0': resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} '@urql/core@2.3.6': resolution: {integrity: sha512-PUxhtBh7/8167HJK6WqBv6Z0piuiaZHQGYbhwpNL9aIQmLROPEdaUYkY4wh45wPQXcTpnd11l0q3Pw+TI11pdw==} peerDependencies: graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 '@urql/exchange-retry@0.3.0': resolution: {integrity: sha512-hHqer2mcdVC0eYnVNbWyi28AlGOPb2vjH3lP3/Bc8Lc8BjhMsDwFMm7WhoP5C1+cfbr/QJ6Er3H/L08wznXxfg==} peerDependencies: graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 '@wallet-standard/app@1.0.1': resolution: {integrity: sha512-LnLYq2Vy2guTZ8GQKKSXQK3+FRGPil75XEdkZqE6fiLixJhZJoJa5hT7lXxwe0ykVTt9LEThdTbOpT7KadS26Q==} engines: {node: '>=16'} '@wallet-standard/base@1.0.1': resolution: {integrity: sha512-1To3ekMfzhYxe0Yhkpri+Fedq0SYcfrOfJi3vbLjMwF2qiKPjTGLwZkf2C9ftdQmxES+hmxhBzTwF4KgcOwf8w==} engines: {node: '>=16'} '@wallet-standard/features@1.0.3': resolution: {integrity: sha512-m8475I6W5LTatTZuUz5JJNK42wFRgkJTB0I9tkruMwfqBF2UN2eomkYNVf9RbrsROelCRzSFmugqjKZBFaubsA==} engines: {node: '>=16'} '@wallet-standard/wallet@1.0.1': resolution: {integrity: sha512-qkhJeuQU2afQTZ02yMZE5SFc91Fo3hyFjFkpQglHudENNyiSG0oUKcIjky8X32xVSaumgTZSQUAzpXnCTWHzKQ==} engines: {node: '>=16'} '@walletconnect/browser-utils@1.8.0': resolution: {integrity: sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A==} '@walletconnect/core@2.9.1': resolution: {integrity: sha512-xyWeP0eLhEEDQAVJSmqs4n/AClKUM+8os2ZFe7BTuw1tFYjeLNVDtKCHziVOSTh8wEChMsKSGKA4zerQoH8mAQ==} '@walletconnect/environment@1.0.1': resolution: {integrity: sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg==} '@walletconnect/events@1.0.1': resolution: {integrity: sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==} '@walletconnect/heartbeat@1.2.1': resolution: {integrity: sha512-yVzws616xsDLJxuG/28FqtZ5rzrTA4gUjdEMTbWB5Y8V1XHRmqq4efAxCw5ie7WjbXFSUyBHaWlMR+2/CpQC5Q==} '@walletconnect/jsonrpc-provider@1.0.13': resolution: {integrity: sha512-K73EpThqHnSR26gOyNEL+acEex3P7VWZe6KE12ZwKzAt2H4e5gldZHbjsu2QR9cLeJ8AXuO7kEMOIcRv1QEc7g==} '@walletconnect/jsonrpc-types@1.0.3': resolution: {integrity: sha512-iIQ8hboBl3o5ufmJ8cuduGad0CQm3ZlsHtujv9Eu16xq89q+BG7Nh5VLxxUgmtpnrePgFkTwXirCTkwJH1v+Yw==} '@walletconnect/jsonrpc-utils@1.0.8': resolution: {integrity: sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw==} '@walletconnect/jsonrpc-ws-connection@1.0.13': resolution: {integrity: sha512-mfOM7uFH4lGtQxG+XklYuFBj6dwVvseTt5/ahOkkmpcAEgz2umuzu7fTR+h5EmjQBdrmYyEBOWADbeaFNxdySg==} '@walletconnect/keyvaluestorage@1.0.2': resolution: {integrity: sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ==} peerDependencies: '@react-native-async-storage/async-storage': 1.x lokijs: 1.x peerDependenciesMeta: '@react-native-async-storage/async-storage': optional: true lokijs: optional: true '@walletconnect/logger@2.0.1': resolution: {integrity: sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ==} '@walletconnect/mobile-registry@1.4.0': resolution: {integrity: sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw==} deprecated: 'Deprecated in favor of dynamic registry available from: https://github.com/walletconnect/walletconnect-registry' '@walletconnect/qrcode-modal@1.8.0': resolution: {integrity: sha512-BueaFefaAi8mawE45eUtztg3ZFbsAH4DDXh1UNwdUlsvFMjqcYzLUG0xZvDd6z2eOpbgDg2N3bl6gF0KONj1dg==} deprecated: 'WalletConnect''s v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/' '@walletconnect/relay-api@1.0.9': resolution: {integrity: sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg==} '@walletconnect/relay-auth@1.0.4': resolution: {integrity: sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==} '@walletconnect/safe-json@1.0.0': resolution: {integrity: sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==} '@walletconnect/safe-json@1.0.2': resolution: {integrity: sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA==} '@walletconnect/sign-client@2.9.1': resolution: {integrity: sha512-Z7tFRrJ9btA1vU427vsjUS6cPlHQVcTWdKH90khEc2lv3dB6mU8FNO0VJsw+I2D7CW7WaMWF3nnj6Z1FfotbDg==} '@walletconnect/time@1.0.2': resolution: {integrity: sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==} '@walletconnect/types@1.8.0': resolution: {integrity: sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==} deprecated: 'WalletConnect''s v1 SDKs are now deprecated. Please upgrade to a v2 SDK. For details see: https://docs.walletconnect.com/' '@walletconnect/types@2.9.1': resolution: {integrity: sha512-xbGgTPuD6xsb7YMvCESBIH55cjB86QAnnVL50a/ED42YkQzDsOdJ0VGTbrm0tG5cxUOF933rpxZQjxGdP+ovww==} '@walletconnect/utils@2.9.1': resolution: {integrity: sha512-tXeQVebF5oPBvhdmuUyVSkSIBYx/egIi4czav1QrnUpwrUS1LsrFhyWBxSbhN7TXY287ULWkEf6aFpWOHdp5EA==} '@walletconnect/window-getters@1.0.0': resolution: {integrity: sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==} '@walletconnect/window-getters@1.0.1': resolution: {integrity: sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==} '@walletconnect/window-metadata@1.0.0': resolution: {integrity: sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==} '@walletconnect/window-metadata@1.0.1': resolution: {integrity: sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==} '@webassemblyjs/ast@1.11.6': resolution: {integrity: sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==} '@webassemblyjs/floating-point-hex-parser@1.11.6': resolution: {integrity: sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==} '@webassemblyjs/helper-api-error@1.11.6': resolution: {integrity: sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==} '@webassemblyjs/helper-buffer@1.11.6': resolution: {integrity: sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==} '@webassemblyjs/helper-numbers@1.11.6': resolution: {integrity: sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==} '@webassemblyjs/helper-wasm-bytecode@1.11.6': resolution: {integrity: sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==} '@webassemblyjs/helper-wasm-section@1.11.6': resolution: {integrity: sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==} '@webassemblyjs/ieee754@1.11.6': resolution: {integrity: sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==} '@webassemblyjs/leb128@1.11.6': resolution: {integrity: sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==} '@webassemblyjs/utf8@1.11.6': resolution: {integrity: sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==} '@webassemblyjs/wasm-edit@1.11.6': resolution: {integrity: sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==} '@webassemblyjs/wasm-gen@1.11.6': resolution: {integrity: sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==} '@webassemblyjs/wasm-opt@1.11.6': resolution: {integrity: sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==} '@webassemblyjs/wasm-parser@1.11.6': resolution: {integrity: sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==} '@webassemblyjs/wast-printer@1.11.6': resolution: {integrity: sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==} '@xmldom/xmldom@0.7.13': resolution: {integrity: sha512-lm2GW5PkosIzccsaZIz7tp8cPADSIlIHWDFTR1N0SzfinhhYgeIQjFMz4rYzanCScr3DqQLeomUDArp6MWKm+g==} engines: {node: '>=10.0.0'} '@xmldom/xmldom@0.8.10': resolution: {integrity: sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==} engines: {node: '>=10.0.0'} '@xtuc/ieee754@1.2.0': resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} '@xtuc/long@4.2.2': resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} JSONStream@1.3.5: resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==} hasBin: true abab@2.0.6: resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} abortcontroller-polyfill@1.7.5: resolution: {integrity: sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ==} accepts@1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} acorn-globals@6.0.0: resolution: {integrity: sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==} acorn-import-assertions@1.9.0: resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} peerDependencies: acorn: ^8 acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 acorn-walk@7.2.0: resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==} engines: {node: '>=0.4.0'} acorn@7.4.1: resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} engines: {node: '>=0.4.0'} hasBin: true acorn@8.10.0: resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} engines: {node: '>=0.4.0'} hasBin: true address@1.2.2: resolution: {integrity: sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==} engines: {node: '>= 10.0.0'} adjust-sourcemap-loader@4.0.0: resolution: {integrity: sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==} engines: {node: '>=8.9'} agent-base@6.0.2: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} agentkeepalive@4.3.0: resolution: {integrity: sha512-7Epl1Blf4Sy37j4v9f9FjICCh4+KAQOyXgHEwlyBiAQLbhKdq/i2QQU3amQalS/wPhdPzDXPL5DMR5bkn+YeWg==} engines: {node: '>= 8.0.0'} agentkeepalive@4.5.0: resolution: {integrity: sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==} engines: {node: '>= 8.0.0'} aggregate-error@3.1.0: resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} engines: {node: '>=8'} ajv-formats@2.1.1: resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} peerDependencies: ajv: ^8.0.0 peerDependenciesMeta: ajv: optional: true ajv-keywords@3.5.2: resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} peerDependencies: ajv: ^6.9.1 ajv-keywords@5.1.0: resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==} peerDependencies: ajv: ^8.8.2 ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} ajv@8.12.0: resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} anser@1.4.10: resolution: {integrity: sha512-hCv9AqTQ8ycjpSd3upOJd7vFwW1JaoYQ7tpham03GJ1ca8/65rqn0RpaWpItOAd6ylW9wAw6luXYPJIyPFVOww==} ansi-colors@4.1.3: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} ansi-escapes@4.3.2: resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} engines: {node: '>=8'} ansi-fragments@0.2.1: resolution: {integrity: sha512-DykbNHxuXQwUDRv5ibc2b0x7uw7wmwOGLBUd5RmaQ5z8Lhx19vwvKV+FAsM5rEA6dEcHxX+/Ad5s9eF2k2bB+w==} ansi-html-community@0.0.8: resolution: {integrity: sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==} engines: {'0': node >= 0.8.0} hasBin: true ansi-regex@4.1.1: resolution: {integrity: sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==} engines: {node: '>=6'} ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} ansi-regex@6.0.1: resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} engines: {node: '>=12'} ansi-sequence-parser@1.1.0: resolution: {integrity: sha512-lEm8mt52to2fT8GhciPCGeCXACSz2UwIN4X2e2LJSnZ5uAbn2/dsYdOmUXq0AtWS5cpAupysIneExOgH0Vd2TQ==} ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} ansi-styles@4.3.0: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} ansi-styles@5.2.0: resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} engines: {node: '>=10'} antd@4.24.12: resolution: {integrity: sha512-VOW9+ekutTuov2NxH9ReDoUmEtfyGPoXSVplUrP7jkYIvPREQsLi+825/nwf1WRBxagWZgJxzJwtl2i9fbvh9A==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' any-promise@1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} appdirsjs@1.2.7: resolution: {integrity: sha512-Quji6+8kLBC3NnBeo14nPDq0+2jUs5s3/xEye+udFHumHhRk4M7aAMXp/PBJqkKYGuuyR9M/6Dq7d2AViiGmhw==} application-config-path@0.1.1: resolution: {integrity: sha512-zy9cHePtMP0YhwG+CfHm0bgwdnga2X3gZexpdCwEj//dpb+TKajtiC8REEUJUSq6Ab4f9cgNy2l8ObXzCXFkEw==} arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} aria-query@5.1.3: resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==} aria-query@5.3.0: resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} array-buffer-byte-length@1.0.0: resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} array-flatten@2.1.2: resolution: {integrity: sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==} array-includes@3.1.6: resolution: {integrity: sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==} engines: {node: '>= 0.4'} array-tree-filter@2.1.0: resolution: {integrity: sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw==} array-union@1.0.2: resolution: {integrity: sha512-Dxr6QJj/RdU/hCaBjOfxW+q6lyuVE6JFWIrAUpuOOhoJJoQ99cUn3igRaHVB5P9WrgFVN0FfArM3x0cueOU8ng==} engines: {node: '>=0.10.0'} array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} array-uniq@1.0.3: resolution: {integrity: sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==} engines: {node: '>=0.10.0'} array.prototype.flat@1.3.1: resolution: {integrity: sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==} engines: {node: '>= 0.4'} array.prototype.flatmap@1.3.1: resolution: {integrity: sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==} engines: {node: '>= 0.4'} array.prototype.reduce@1.0.5: resolution: {integrity: sha512-kDdugMl7id9COE8R7MHF5jWk7Dqt/fs4Pv+JXoICnYwqpjjjbUurz6w5fT5IG6brLdJhv6/VoHB0H7oyIBXd+Q==} engines: {node: '>= 0.4'} array.prototype.tosorted@1.1.1: resolution: {integrity: sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==} arraybuffer.prototype.slice@1.0.1: resolution: {integrity: sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==} engines: {node: '>= 0.4'} arrify@1.0.1: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} engines: {node: '>=0.10.0'} asap@2.0.6: resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} asn1.js@5.4.1: resolution: {integrity: sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==} assert@2.0.0: resolution: {integrity: sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==} ast-types-flow@0.0.7: resolution: {integrity: sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==} ast-types@0.15.2: resolution: {integrity: sha512-c27loCv9QkZinsa5ProX751khO9DJl/AcB5c2KNtA6NRvHKS0PgLfcftz72KVq504vB0Gku5s2kUZzDBvQWvHg==} engines: {node: '>=4'} astral-regex@1.0.0: resolution: {integrity: sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==} engines: {node: '>=4'} async-limiter@1.0.1: resolution: {integrity: sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==} async-mutex@0.4.0: resolution: {integrity: sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==} async-validator@4.2.5: resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} async@2.6.4: resolution: {integrity: sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==} async@3.2.4: resolution: {integrity: sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==} asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} at-least-node@1.0.0: resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} engines: {node: '>= 4.0.0'} atomic-sleep@1.0.0: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} autoprefixer@10.4.14: resolution: {integrity: sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==} engines: {node: ^10 || ^12 || >=14} hasBin: true peerDependencies: postcss: ^8.1.0 available-typed-arrays@1.0.5: resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} engines: {node: '>= 0.4'} axe-core@4.7.2: resolution: {integrity: sha512-zIURGIS1E1Q4pcrMjp+nnEh+16G56eG/MUllJH8yEvw7asDo7Ac9uhC9KIH5jzpITueEZolfYglnCGIuSBz39g==} engines: {node: '>=4'} axobject-query@3.2.1: resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} babel-core@7.0.0-bridge.0: resolution: {integrity: sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==} peerDependencies: '@babel/core': ^7.0.0-0 babel-jest@27.5.1: resolution: {integrity: sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} peerDependencies: '@babel/core': ^7.8.0 babel-jest@28.1.3: resolution: {integrity: sha512-epUaPOEWMk3cWX0M/sPvCHHCe9fMFAa/9hXEgKP8nFfNl/jlGkE9ucq9NqkZGXLDduCJYS0UvSlPUwC0S+rH6Q==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} peerDependencies: '@babel/core': ^7.8.0 babel-loader@8.3.0: resolution: {integrity: sha512-H8SvsMF+m9t15HNLMipppzkC+Y2Yq+v3SonZyU70RBL/h1gxPkH08Ot8pEE9Z4Kd+czyWJClmFS8qzIP9OZ04Q==} engines: {node: '>= 8.9'} peerDependencies: '@babel/core': ^7.0.0 webpack: '>=2' babel-plugin-istanbul@6.1.1: resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} engines: {node: '>=8'} babel-plugin-jest-hoist@27.5.1: resolution: {integrity: sha512-50wCwD5EMNW4aRpOwtqzyZHIewTYNxLA4nhB+09d8BIssfNfzBRhkBIHiaPv1Si226TQSvp8gxAJm2iY2qs2hQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} babel-plugin-jest-hoist@28.1.3: resolution: {integrity: sha512-Ys3tUKAmfnkRUpPdpa98eYrAR0nV+sSFUZZEGuQ2EbFd1y4SOLtD5QDNHAq+bb9a+bbXvYQC4b+ID/THIMcU6Q==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} babel-plugin-macros@3.1.0: resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==} engines: {node: '>=10', npm: '>=6'} babel-plugin-named-asset-import@0.3.8: resolution: {integrity: sha512-WXiAc++qo7XcJ1ZnTYGtLxmBCVbddAml3CEXgWaBzNzLNoxtQ8AiGEFDMOhot9XjTCQbvP5E77Fj9Gk924f00Q==} peerDependencies: '@babel/core': ^7.1.0 babel-plugin-polyfill-corejs2@0.4.4: resolution: {integrity: sha512-9WeK9snM1BfxB38goUEv2FLnA6ja07UMfazFHzCXUb3NyDZAwfXvQiURQ6guTTMeHcOsdknULm1PDhs4uWtKyA==} peerDependencies: '@babel/core': ^7.0.0-0 babel-plugin-polyfill-corejs3@0.8.2: resolution: {integrity: sha512-Cid+Jv1BrY9ReW9lIfNlNpsI53N+FN7gE+f73zLAUbr9C52W4gKLWSByx47pfDJsEysojKArqOtOKZSVIIUTuQ==} peerDependencies: '@babel/core': ^7.0.0-0 babel-plugin-polyfill-regenerator@0.5.1: resolution: {integrity: sha512-L8OyySuI6OSQ5hFy9O+7zFjyr4WhAfRjLIOkhQGYl+emwJkd/S4XXT1JpfrgR1jrQ1NcGiOh+yAdGlF8pnC3Jw==} peerDependencies: '@babel/core': ^7.0.0-0 babel-plugin-react-native-web@0.18.12: resolution: {integrity: sha512-4djr9G6fMdwQoD6LQ7hOKAm39+y12flWgovAqS1k5O8f42YQ3A1FFMyV5kKfetZuGhZO5BmNmOdRRZQ1TixtDw==} babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0: resolution: {integrity: sha512-Xj9XuRuz3nTSbaTXWv3itLOcxyF4oPD8douBBmj7U9BBC6nEBYfyOJYQMf/8PJAFotC62UY5dFfIGEPr7WswzQ==} babel-plugin-transform-flow-enums@0.0.2: resolution: {integrity: sha512-g4aaCrDDOsWjbm0PUUeVnkcVd6AKJsVc/MbnPhEotEpkeJQP6b8nzewohQi7+QS8UyPehOhGWn0nOwjvWpmMvQ==} babel-plugin-transform-react-remove-prop-types@0.4.24: resolution: {integrity: sha512-eqj0hVcJUR57/Ug2zE1Yswsw4LhuqqHhD+8v120T1cl3kjg76QwtyBrdIk4WVwK+lAhBJVYCd/v+4nc4y+8JsA==} babel-preset-current-node-syntax@1.0.1: resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} peerDependencies: '@babel/core': ^7.0.0 babel-preset-expo@10.0.1: resolution: {integrity: sha512-uWIGmLfbP3dS5+8nesxaW6mQs41d4iP7X82ZwRdisB/wAhKQmuJM9Y1jQe4006uNYkw6Phf2TT03ykLVro7KuQ==} babel-preset-fbjs@3.4.0: resolution: {integrity: sha512-9ywCsCvo1ojrw0b+XYk7aFvTH6D9064t0RIL1rtMf3nsa02Xw41MS7sZw216Im35xj/UY0PDBQsa1brUDDF1Ow==} peerDependencies: '@babel/core': ^7.0.0 babel-preset-jest@27.5.1: resolution: {integrity: sha512-Nptf2FzlPCWYuJg41HBqXVT8ym6bXOevuCTbhxlUpjwtysGaIWFvDEjp4y+G7fl13FgOdjs7P/DmErqH7da0Ag==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} peerDependencies: '@babel/core': ^7.0.0 babel-preset-jest@28.1.3: resolution: {integrity: sha512-L+fupJvlWAHbQfn74coNX3zf60LXMJsezNvvx8eIh7iOR1luJ1poxYgQk1F8PYtNq/6QODDHCqsSnTFSWC491A==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} peerDependencies: '@babel/core': ^7.0.0 babel-preset-react-app@10.0.1: resolution: {integrity: sha512-b0D9IZ1WhhCWkrTXyFuIIgqGzSkRIH5D5AmB0bXbzYAB1OBAwHcUeyWW2LorutLWF5btNo/N7r/cIdmvvKJlYg==} balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} base-x@3.0.9: resolution: {integrity: sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==} base-x@4.0.0: resolution: {integrity: sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==} base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} base64url@3.0.1: resolution: {integrity: sha512-ir1UPr3dkwexU7FdV8qBBbNDRUhMmIekYMFZfi+C/sLNnRESKPl23nB9b2pltqfOQNnGzsDdId90AEtG5tCx4A==} engines: {node: '>=6.0.0'} batch@0.6.1: resolution: {integrity: sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==} bchaddrjs@0.5.2: resolution: {integrity: sha512-OO7gIn3m7ea4FVx4cT8gdlWQR2+++EquhdpWQJH9BQjK63tJJ6ngB3QMZDO6DiBoXiIGUsTPHjlrHVxPGcGxLQ==} engines: {node: '>=8.0.0'} bech32@2.0.0: resolution: {integrity: sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==} better-opn@3.0.2: resolution: {integrity: sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==} engines: {node: '>=12.0.0'} better-path-resolve@1.0.0: resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} engines: {node: '>=4'} bfj@7.0.2: resolution: {integrity: sha512-+e/UqUzwmzJamNF50tBV6tZPTORow7gQ96iFow+8b562OdMpEK0BcJEq2OSPEDmAbSMBQ7PKZ87ubFkgxpYWgw==} engines: {node: '>= 8.0.0'} big-integer@1.6.36: resolution: {integrity: sha512-t70bfa7HYEA1D9idDbmuv7YbsbVkQ+Hp+8KFSul4aE5e/i1bjCNIRYJZlA8Q8p0r9T8cF/RVvwUgRA//FydEyg==} engines: {node: '>=0.6'} big-integer@1.6.51: resolution: {integrity: sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==} engines: {node: '>=0.6'} big.js@5.2.2: resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==} bigint-buffer@1.1.5: resolution: {integrity: sha512-trfYco6AoZ+rKhKnxA0hgX0HAbVP/s808/EuDSe2JDzUnCp/xAsli35Orvk67UrTEcwuxZqYZDmfA2RXJgxVvA==} engines: {node: '>= 10.0.0'} bignumber.js@9.1.1: resolution: {integrity: sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==} bignumber.js@9.1.2: resolution: {integrity: sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==} binary-extensions@2.2.0: resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} engines: {node: '>=8'} bindings@1.5.0: resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} bip66@1.1.5: resolution: {integrity: sha512-nemMHz95EmS38a26XbbdxIYj5csHd3RMP3H5bwQknX0WYHF01qhpufP42mLOwVICuH2JmhIhXiWs89MfUGL7Xw==} bitcoin-ops@1.4.1: resolution: {integrity: sha512-pef6gxZFztEhaE9RY9HmWVmiIHqCb2OyS4HPKkpc6CIiiOa3Qmuoylxc5P2EkU3w+5eTSifI9SEZC88idAIGow==} bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} blake-hash@2.0.0: resolution: {integrity: sha512-Igj8YowDu1PRkRsxZA7NVkdFNxH5rKv5cpLxQ0CVXSIA77pVYwCPRQJ2sMew/oneUpfuYRyjG6r8SmmmnbZb1w==} engines: {node: '>= 10'} blakejs@1.2.1: resolution: {integrity: sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ==} bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} blueimp-md5@2.19.0: resolution: {integrity: sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==} bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} bn.js@5.2.1: resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} body-parser@1.20.1: resolution: {integrity: sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} bonjour-service@1.1.1: resolution: {integrity: sha512-Z/5lQRMOG9k7W+FkeGTNjh7htqn/2LMnfOvBZ8pynNZCM9MwkQkI3zeI4oz09uWdcgmgHugVvBqxGg4VQJ5PCg==} boolbase@1.0.0: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} borsh@0.7.0: resolution: {integrity: sha512-CLCsZGIBCFnPtkNnieW/a8wmreDmfUtjU2m9yHrzPXIlNbqVs0AQrSatSG6vdNYUqdc83tkQi2eHfF98ubzQLA==} bowser@2.11.0: resolution: {integrity: sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==} bplist-creator@0.1.0: resolution: {integrity: sha512-sXaHZicyEEmY86WyueLTQesbeoH/mquvarJaQNbjuOQO+7gbFcDEWqKmcWA4cOTLzFlfgvkiVxolk1k5bBIpmg==} bplist-parser@0.3.1: resolution: {integrity: sha512-PyJxiNtA5T2PlLIeBot4lbp7rj4OadzjnMZD/G5zuBNt8ei/yCU7+wW0h2bag9vr8c+/WuRWmSxbqAl9hL1rBA==} engines: {node: '>= 5.10.0'} bplist-parser@0.3.2: resolution: {integrity: sha512-apC2+fspHGI3mMKj+dGevkGo/tCqVB8jMb6i+OX+E29p0Iposz07fABkRIfVUPNd5A5VbuOz1bZbnmkKLYF+wQ==} engines: {node: '>= 5.10.0'} brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} braces@3.0.2: resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} engines: {node: '>=8'} breakword@1.0.6: resolution: {integrity: sha512-yjxDAYyK/pBvws9H4xKYpLDpYKEH6CzrBPAuXq3x18I+c/2MkVtT3qAr7Oloi6Dss9qNhPVueAAVU1CSeNDIXw==} brorand@1.1.0: resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} browser-process-hrtime@1.0.0: resolution: {integrity: sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==} browserify-aes@1.2.0: resolution: {integrity: sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==} browserify-cipher@1.0.1: resolution: {integrity: sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==} browserify-des@1.0.2: resolution: {integrity: sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==} browserify-rsa@4.1.0: resolution: {integrity: sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==} browserify-sign@4.2.1: resolution: {integrity: sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==} browserify-zlib@0.2.0: resolution: {integrity: sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==} browserslist@4.21.9: resolution: {integrity: sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true bs-logger@0.2.6: resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} engines: {node: '>= 6'} bs58@4.0.1: resolution: {integrity: sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==} bs58@5.0.0: resolution: {integrity: sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==} bs58check@2.1.2: resolution: {integrity: sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==} bs58check@3.0.1: resolution: {integrity: sha512-hjuuJvoWEybo7Hn/0xOrczQKKEKD63WguEjlhLExYs2wUBcebDC1jDNK17eEAD2lYfw82d5ASC1d7K3SWszjaQ==} bser@2.1.1: resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} buffer-alloc-unsafe@1.1.0: resolution: {integrity: sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg==} buffer-alloc@1.2.0: resolution: {integrity: sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow==} buffer-fill@1.0.0: resolution: {integrity: sha512-T7zexNBwiiaCOGDg9xNX9PBmjrubblRkENuptryuI64URkXDFum9il/JGL8Lm8wYfAXpredVXXZz7eMHilimiQ==} buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} buffer-xor@1.0.3: resolution: {integrity: sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==} buffer@5.7.1: resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} bufferutil@4.0.7: resolution: {integrity: sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==} engines: {node: '>=6.14.2'} builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} builtin-status-codes@3.0.0: resolution: {integrity: sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==} builtins@1.0.3: resolution: {integrity: sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==} bytes@3.0.0: resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==} engines: {node: '>= 0.8'} bytes@3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} cacache@15.3.0: resolution: {integrity: sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ==} engines: {node: '>= 10'} call-bind@1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} call-bind@1.0.7: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} engines: {node: '>= 0.4'} caller-callsite@2.0.0: resolution: {integrity: sha512-JuG3qI4QOftFsZyOn1qq87fq5grLIyk1JYd5lJmdA+fG7aQ9pA/i3JIJGcO3q0MrRcHlOt1U+ZeHW8Dq9axALQ==} engines: {node: '>=4'} caller-path@2.0.0: resolution: {integrity: sha512-MCL3sf6nCSXOwCTzvPKhN18TU7AHTvdtam8DAogxcrJ8Rjfbbg7Lgng64H9Iy+vUV6VGFClN/TyxBkAebLRR4A==} engines: {node: '>=4'} callsites@2.0.0: resolution: {integrity: sha512-ksWePWBloaWPxJYQ8TL0JHvtci6G5QTKwQ95RcWAa/lzoAKuAOflGdAK92hpHXjkwb8zLxoLNUoNYZgVsaJzvQ==} engines: {node: '>=4'} callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} camel-case@4.1.2: resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} camelcase-css@2.0.1: resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} engines: {node: '>= 6'} camelcase-keys@6.2.2: resolution: {integrity: sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==} engines: {node: '>=8'} camelcase@5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} camelcase@6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} caniuse-api@3.0.0: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} caniuse-lite@1.0.30001517: resolution: {integrity: sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA==} case-sensitive-paths-webpack-plugin@2.4.0: resolution: {integrity: sha512-roIFONhcxog0JSSWbvVAh3OocukmSgpqOH6YpMkCvav/ySIV3JKg4Dc8vYtQjYi/UxpNE36r/9v+VqTQqgkYmw==} engines: {node: '>=4'} cashaddrjs@0.4.4: resolution: {integrity: sha512-xZkuWdNOh0uq/mxJIng6vYWfTowZLd9F4GMAlp2DwFHlcCqCm91NtuAc47RuV4L7r4PYcY5p6Cr2OKNb4hnkWA==} cbor-sync@1.0.4: resolution: {integrity: sha512-GWlXN4wiz0vdWWXBU71Dvc1q3aBo0HytqwAZnXF1wOwjqNnDWA1vZ1gDMFLlqohak31VQzmhiYfiCX5QSSfagA==} chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} chalk@3.0.0: resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==} engines: {node: '>=8'} chalk@4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} char-regex@1.0.2: resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} engines: {node: '>=10'} char-regex@2.0.1: resolution: {integrity: sha512-oSvEeo6ZUD7NepqAat3RqoucZ5SeqLJgOvVIwkafu6IP3V0pO38s/ypdVUmDDK6qIIHNlYHJAKX9E7R7HoKElw==} engines: {node: '>=12.20'} chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} charenc@0.0.2: resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} check-types@11.2.2: resolution: {integrity: sha512-HBiYvXvn9Z70Z88XKjz3AEKd4HJhBXsa3j7xFnITAzoS8+q6eIGi8qDB8FKPBAjtuxjI/zFpwuiCb8oDtKOYrA==} chokidar@3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} chownr@2.0.0: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} chrome-launcher@0.15.2: resolution: {integrity: sha512-zdLEwNo3aUVzIhKhTtXfxhdvZhUghrnmkvcAq2NoDd+LeOHKf03H5jwZ8T/STsAlzyALkBVK552iaG1fGf1xVQ==} engines: {node: '>=12.13.0'} hasBin: true chrome-trace-event@1.0.3: resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} engines: {node: '>=6.0'} chromium-edge-launcher@1.0.0: resolution: {integrity: sha512-pgtgjNKZ7i5U++1g1PWv75umkHvhVTDOQIZ+sjeUX9483S7Y6MUvO0lrd7ShGlQlFHMN4SwKTCq/X8hWrbv2KA==} ci-info@2.0.0: resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} ci-info@3.8.0: resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} engines: {node: '>=8'} cipher-base@1.0.4: resolution: {integrity: sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==} cjs-module-lexer@1.2.3: resolution: {integrity: sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==} classnames@2.3.2: resolution: {integrity: sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==} clean-css@5.3.2: resolution: {integrity: sha512-JVJbM+f3d3Q704rF4bqQ5UUyTtuJ0JRKNbTKVEeujCCBoMdkEi+V+e8oktO9qGQNSvHrFTM6JZRXrUvGR1czww==} engines: {node: '>= 10.0'} clean-stack@2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} cli-cursor@2.1.0: resolution: {integrity: sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw==} engines: {node: '>=4'} cli-cursor@3.1.0: resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} engines: {node: '>=8'} cli-spinners@2.9.0: resolution: {integrity: sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==} engines: {node: '>=6'} cliui@5.0.0: resolution: {integrity: sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==} cliui@6.0.0: resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} cliui@7.0.4: resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} clone-deep@4.0.1: resolution: {integrity: sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==} engines: {node: '>=6'} clone@1.0.4: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} clone@2.1.2: resolution: {integrity: sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==} engines: {node: '>=0.8'} clsx@1.2.1: resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==} engines: {node: '>=6'} co@4.6.0: resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} coa@2.0.2: resolution: {integrity: sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==} engines: {node: '>= 4.0'} collect-v8-coverage@1.0.2: resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} color-name@1.1.3: resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} colord@2.9.3: resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} colorette@1.4.0: resolution: {integrity: sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==} colorette@2.0.20: resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} command-exists@1.2.9: resolution: {integrity: sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==} commander@2.13.0: resolution: {integrity: sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==} commander@2.20.3: resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} commander@7.2.0: resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} engines: {node: '>= 10'} commander@8.3.0: resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} engines: {node: '>= 12'} commander@9.5.0: resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} engines: {node: ^12.20.0 || >=14} common-path-prefix@3.0.0: resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==} common-tags@1.8.2: resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} engines: {node: '>=4.0.0'} commondir@1.0.1: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} component-type@1.2.2: resolution: {integrity: sha512-99VUHREHiN5cLeHm3YLq312p6v+HUEcwtLCAtelvUDI6+SH5g5Cr85oNR2S1o6ywzL0ykMbuwLzM2ANocjEOIA==} compressible@2.0.18: resolution: {integrity: sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==} engines: {node: '>= 0.6'} compression@1.7.4: resolution: {integrity: sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==} engines: {node: '>= 0.8.0'} compute-scroll-into-view@1.0.20: resolution: {integrity: sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==} concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} confusing-browser-globals@1.0.11: resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==} connect-history-api-fallback@2.0.0: resolution: {integrity: sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==} engines: {node: '>=0.8'} connect@3.7.0: resolution: {integrity: sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==} engines: {node: '>= 0.10.0'} content-disposition@0.5.4: resolution: {integrity: sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==} engines: {node: '>= 0.6'} content-type@1.0.5: resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} engines: {node: '>= 0.6'} convert-source-map@1.9.0: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} cookie@0.5.0: resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} engines: {node: '>= 0.6'} copy-anything@2.0.6: resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==} copy-to-clipboard@3.3.3: resolution: {integrity: sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==} core-js-compat@3.31.1: resolution: {integrity: sha512-wIDWd2s5/5aJSdpOJHfSibxNODxoGoWOBHt8JSPB41NOE94M7kuTPZCYLOlTtuoXTsBPKobpJ6T+y0SSy5L9SA==} core-js-pure@3.31.1: resolution: {integrity: sha512-w+C62kvWti0EPs4KPMCMVv9DriHSXfQOCQ94bGGBiEW5rrbtt/Rz8n5Krhfw9cpFyzXBjf3DB3QnPdEzGDY4Fw==} core-js@3.31.1: resolution: {integrity: sha512-2sKLtfq1eFST7l7v62zaqXacPc7uG8ZAya8ogijLhTtaKNcpzpB4TMoTw2Si+8GYKRwFPMMtUT0263QFWFfqyQ==} core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} cosmiconfig@5.2.1: resolution: {integrity: sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==} engines: {node: '>=4'} cosmiconfig@6.0.0: resolution: {integrity: sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==} engines: {node: '>=8'} cosmiconfig@7.1.0: resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==} engines: {node: '>=10'} cosmiconfig@8.2.0: resolution: {integrity: sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==} engines: {node: '>=14'} crc-32@1.2.2: resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} engines: {node: '>=0.8'} hasBin: true crc@3.8.0: resolution: {integrity: sha512-iX3mfgcTMIq3ZKLIsVFAbv7+Mc10kxabAGQb8HvjA1o3T1PIYprbakQ65d3I+2HGHt6nSKkM9PYjgoJO2KcFBQ==} create-ecdh@4.0.4: resolution: {integrity: sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==} create-hash@1.2.0: resolution: {integrity: sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==} create-hmac@1.1.7: resolution: {integrity: sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==} cross-fetch@3.1.8: resolution: {integrity: sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==} cross-fetch@4.0.0: resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} cross-spawn@6.0.5: resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} engines: {node: '>=4.8'} cross-spawn@7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} crypt@0.0.2: resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} crypto-browserify@3.12.0: resolution: {integrity: sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==} crypto-js@4.1.1: resolution: {integrity: sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==} crypto-random-string@1.0.0: resolution: {integrity: sha512-GsVpkFPlycH7/fRR7Dhcmnoii54gV1nz7y4CWyeFS14N+JVBBhY+r8amRHE4BwSYal7BPTDp8isvAlCxyFt3Hg==} engines: {node: '>=4'} crypto-random-string@2.0.0: resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} engines: {node: '>=8'} css-blank-pseudo@3.0.3: resolution: {integrity: sha512-VS90XWtsHGqoM0t4KpH053c4ehxZ2E6HtGI7x68YFV0pTo/QmkV/YFA+NnlvK8guxZVNWGQhVNJGC39Q8XF4OQ==} engines: {node: ^12 || ^14 || >=16} hasBin: true peerDependencies: postcss: ^8.4 css-declaration-sorter@6.4.1: resolution: {integrity: sha512-rtdthzxKuyq6IzqX6jEcIzQF/YqccluefyCYheovBOLhFT/drQA9zj/UbRAa9J7C0o6EG6u3E6g+vKkay7/k3g==} engines: {node: ^10 || ^12 || >=14} peerDependencies: postcss: ^8.0.9 css-has-pseudo@3.0.4: resolution: {integrity: sha512-Vse0xpR1K9MNlp2j5w1pgWIJtm1a8qS0JwS9goFYcImjlHEmywP9VUF05aGBXzGpDJF86QXk4L0ypBmwPhGArw==} engines: {node: ^12 || ^14 || >=16} hasBin: true peerDependencies: postcss: ^8.4 css-loader@6.8.1: resolution: {integrity: sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g==} engines: {node: '>= 12.13.0'} peerDependencies: webpack: ^5.0.0 css-minimizer-webpack-plugin@3.4.1: resolution: {integrity: sha512-1u6D71zeIfgngN2XNRJefc/hY7Ybsxd74Jm4qngIXyUEk7fss3VUzuHxLAq/R8NAba4QU9OUSaMZlbpRc7bM4Q==} engines: {node: '>= 12.13.0'} peerDependencies: '@parcel/css': '*' clean-css: '*' csso: '*' esbuild: '*' webpack: ^5.0.0 peerDependenciesMeta: '@parcel/css': optional: true clean-css: optional: true csso: optional: true esbuild: optional: true css-prefers-color-scheme@6.0.3: resolution: {integrity: sha512-4BqMbZksRkJQx2zAjrokiGMd07RqOa2IxIrrN10lyBe9xhn9DEvjUK79J6jkeiv9D9hQFXKb6g1jwU62jziJZA==} engines: {node: ^12 || ^14 || >=16} hasBin: true peerDependencies: postcss: ^8.4 css-select-base-adapter@0.1.1: resolution: {integrity: sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==} css-select@2.1.0: resolution: {integrity: sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==} css-select@4.3.0: resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==} css-tree@1.0.0-alpha.37: resolution: {integrity: sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==} engines: {node: '>=8.0.0'} css-tree@1.1.3: resolution: {integrity: sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==} engines: {node: '>=8.0.0'} css-what@3.4.2: resolution: {integrity: sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ==} engines: {node: '>= 6'} css-what@6.1.0: resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} engines: {node: '>= 6'} css.escape@1.5.1: resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} cssdb@7.6.0: resolution: {integrity: sha512-Nna7rph8V0jC6+JBY4Vk4ndErUmfJfV6NJCaZdurL0omggabiy+QB2HCQtu5c/ACLZ0I7REv7A4QyPIoYzZx0w==} cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} hasBin: true cssnano-preset-default@5.2.14: resolution: {integrity: sha512-t0SFesj/ZV2OTylqQVOrFgEh5uanxbO6ZAdeCrNsUQ6fVuXwYTxJPNAGvGTxHbD68ldIJNec7PyYZDBrfDQ+6A==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 cssnano-utils@3.1.0: resolution: {integrity: sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 cssnano@5.1.15: resolution: {integrity: sha512-j+BKgDcLDQA+eDifLx0EO4XSA56b7uut3BQFH+wbSaSTuGLuiyTa/wbRYthUXX8LC9mLg+WWKe8h+qJuwTAbHw==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 csso@4.2.0: resolution: {integrity: sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==} engines: {node: '>=8.0.0'} cssom@0.3.8: resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} cssom@0.4.4: resolution: {integrity: sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==} cssom@0.5.0: resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==} cssstyle@2.3.0: resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} engines: {node: '>=8'} csstype@3.1.2: resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} csv-generate@3.4.3: resolution: {integrity: sha512-w/T+rqR0vwvHqWs/1ZyMDWtHHSJaN06klRqJXBEpDJaM/+dZkso0OKh1VcuuYvK3XM53KysVNq8Ko/epCK8wOw==} csv-parse@4.16.3: resolution: {integrity: sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==} csv-stringify@5.6.5: resolution: {integrity: sha512-PjiQ659aQ+fUTQqSrd1XEDnOr52jh30RBurfzkscaE2tPaFsDH5wOAHJiw8XAHphRknCwMUE9KRayc4K/NbO8A==} csv@5.5.3: resolution: {integrity: sha512-QTaY0XjjhTQOdguARF0lGKm5/mEq9PD9/VhZZegHDIBq2tQwgNpHc3dneD4mGo2iJs+fTKv5Bp0fZ+BRuY3Z0g==} engines: {node: '>= 0.1.90'} dag-map@1.0.2: resolution: {integrity: sha512-+LSAiGFwQ9dRnRdOeaj7g47ZFJcOUPukAP8J3A3fuZ1g9Y44BG+P1sgApjLXTQPOzC4+7S9Wr8kXsfpINM4jpw==} damerau-levenshtein@1.0.8: resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} data-urls@2.0.0: resolution: {integrity: sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==} engines: {node: '>=10'} data-urls@3.0.2: resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} engines: {node: '>=12'} date-fns@2.30.0: resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} engines: {node: '>=0.11'} dateformat@4.6.3: resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} dayjs@1.11.9: resolution: {integrity: sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA==} debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: supports-color: '*' peerDependenciesMeta: supports-color: optional: true debug@3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} peerDependencies: supports-color: '*' peerDependenciesMeta: supports-color: optional: true debug@4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} peerDependencies: supports-color: '*' peerDependenciesMeta: supports-color: optional: true decamelize-keys@1.1.1: resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} engines: {node: '>=0.10.0'} decamelize@1.2.0: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} decimal.js@10.4.3: resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} decode-uri-component@0.2.2: resolution: {integrity: sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==} engines: {node: '>=0.10'} dedent@0.7.0: resolution: {integrity: sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==} deep-equal@2.2.2: resolution: {integrity: sha512-xjVyBf0w5vH0I42jdAZzOKVldmPgSulmiyPRywoyq7HXC9qdgo17kxJE+rdnif5Tz6+pIrpJI8dCpMNLIGkUiA==} deep-extend@0.6.0: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} deepmerge@4.3.1: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} default-gateway@4.2.0: resolution: {integrity: sha512-h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA==} engines: {node: '>=6'} default-gateway@6.0.3: resolution: {integrity: sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==} engines: {node: '>= 10'} defaults@1.0.4: resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} define-lazy-prop@2.0.0: resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} engines: {node: '>=8'} define-properties@1.2.0: resolution: {integrity: sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==} engines: {node: '>= 0.4'} del@6.1.1: resolution: {integrity: sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg==} engines: {node: '>=10'} delay@5.0.0: resolution: {integrity: sha512-ReEBKkIfe4ya47wlPYf/gu5ib6yUG0/Aez0JQZQz94kiWtRQvZIQbTiehsnwHvLSWJnQdhVeqYue7Id1dKr0qw==} engines: {node: '>=10'} delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} denodeify@1.2.1: resolution: {integrity: sha512-KNTihKNmQENUZeKu5fzfpzRqR5S2VMp4gl9RFHiWzj9DfvYQPMJ6XHKNaQxaGCXwPk6y9yme3aUoaiAe+KX+vg==} depd@1.1.2: resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} engines: {node: '>= 0.6'} depd@2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} deprecated-react-native-prop-types@4.1.0: resolution: {integrity: sha512-WfepZHmRbbdTvhcolb8aOKEvQdcmTMn5tKLbqbXmkBvjFjRVWAYqsXk/DBsV8TZxws8SdGHLuHaJrHSQUPRdfw==} dequal@2.0.3: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} des.js@1.1.0: resolution: {integrity: sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg==} destroy@1.2.0: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} detect-browser@5.2.0: resolution: {integrity: sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA==} detect-browser@5.3.0: resolution: {integrity: sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==} detect-indent@6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} detect-libc@1.0.3: resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} engines: {node: '>=0.10'} hasBin: true detect-newline@3.1.0: resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} engines: {node: '>=8'} detect-node@2.1.0: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} detect-port-alt@1.1.6: resolution: {integrity: sha512-5tQykt+LqfJFBEYaDITx7S7cR7mJ/zQmLXZ2qt5w04ainYZw6tBf9dBunMjVeVOdYVRUzUOE4HkY5J7+uttb5Q==} engines: {node: '>= 4.2.1'} hasBin: true didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} diff-sequences@27.5.1: resolution: {integrity: sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} diff-sequences@28.1.1: resolution: {integrity: sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} diffie-hellman@5.0.3: resolution: {integrity: sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==} dijkstrajs@1.0.3: resolution: {integrity: sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==} dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} dlv@1.1.3: resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==} dns-equal@1.0.0: resolution: {integrity: sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg==} dns-packet@5.6.0: resolution: {integrity: sha512-rza3UH1LwdHh9qyPXp8lkwpjSNk/AMD3dPytUoRoqnypDUhY0xvbdmVhWOfxO68frEfV9BU8V12Ez7ZsHGZpCQ==} engines: {node: '>=6'} doctrine@2.1.0: resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} engines: {node: '>=0.10.0'} doctrine@3.0.0: resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} engines: {node: '>=6.0.0'} dom-accessibility-api@0.5.16: resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==} dom-align@1.12.4: resolution: {integrity: sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==} dom-converter@0.2.0: resolution: {integrity: sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==} dom-helpers@5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} dom-serializer@0.2.2: resolution: {integrity: sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==} dom-serializer@1.4.1: resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==} domelementtype@1.3.1: resolution: {integrity: sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==} domelementtype@2.3.0: resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} domexception@2.0.1: resolution: {integrity: sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==} engines: {node: '>=8'} domexception@4.0.0: resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} engines: {node: '>=12'} domhandler@4.3.1: resolution: {integrity: sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==} engines: {node: '>= 4'} domutils@1.7.0: resolution: {integrity: sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==} domutils@2.8.0: resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==} dot-case@3.0.4: resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} dotenv-expand@10.0.0: resolution: {integrity: sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==} engines: {node: '>=12'} dotenv-expand@5.1.0: resolution: {integrity: sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==} dotenv@10.0.0: resolution: {integrity: sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==} engines: {node: '>=10'} dotenv@16.0.3: resolution: {integrity: sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==} engines: {node: '>=12'} dotenv@7.0.0: resolution: {integrity: sha512-M3NhsLbV1i6HuGzBUH8vXrtxOk+tWmzWKDMbAVSUp3Zsjm7ywFeuwrUXhmhQyRK1q5B5GGy7hcXPbj3bnfZg2g==} engines: {node: '>=6'} draggabilly@3.0.0: resolution: {integrity: sha512-aEs+B6prbMZQMxc9lgTpCBfyCUhRur/VFucHhIOvlvvdARTj7TcDmX/cdOUtqbjJJUh7+agyJXR5Z6IFe1MxwQ==} duplexer@0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} duplexify@4.1.2: resolution: {integrity: sha512-fz3OjcNCHmRP12MJoZMPglx8m4rrFP8rovnk4vT8Fs+aonZoCwGg10dSsQsfP/E62eZcPTMSMP6686fu9Qlqtw==} ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} ejs@3.1.9: resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} engines: {node: '>=0.10.0'} hasBin: true electron-to-chromium@1.4.467: resolution: {integrity: sha512-2qI70O+rR4poYeF2grcuS/bCps5KJh6y1jtZMDDEteyKJQrzLOEhFyXCLcHW6DTBjKjWkk26JhWoAi+Ux9A0fg==} elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} email-addresses@3.1.0: resolution: {integrity: sha512-k0/r7GrWVL32kZlGwfPNgB2Y/mMXVTq/decgLczm/j34whdaspNrZO8CnXPf1laaHxI6ptUlsnAxN+UAPw+fzg==} emittery@0.10.2: resolution: {integrity: sha512-aITqOwnLanpHLNXZJENbOgjUBeHocD+xsSJmNrjovKBW5HbSpW3d1pEls7GFQPUWXiwG9+0P4GtHfEqC/4M0Iw==} engines: {node: '>=12'} emittery@0.8.1: resolution: {integrity: sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg==} engines: {node: '>=10'} emoji-regex@7.0.3: resolution: {integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} emojis-list@3.0.0: resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==} engines: {node: '>= 4'} encodeurl@1.0.2: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} engine.io-client@6.5.1: resolution: {integrity: sha512-hE5wKXH8Ru4L19MbM1GgYV/2Qo54JSMh1rlJbfpa40bEWkCKNo3ol2eOtGmowcr+ysgbI7+SGL+by42Q3pt/Ng==} engine.io-parser@5.1.0: resolution: {integrity: sha512-enySgNiK5tyZFynt3z7iqBR+Bto9EVVVvDFuTT0ioHCGbzirZVGDGiQjZzEp8hWl6hd5FSVytJGuScX1C1C35w==} engines: {node: '>=10.0.0'} enhanced-resolve@5.15.0: resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==} engines: {node: '>=10.13.0'} enquirer@2.3.6: resolution: {integrity: sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==} engines: {node: '>=8.6'} entities@2.2.0: resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==} entities@3.0.1: resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==} engines: {node: '>=0.12'} env-editor@0.4.2: resolution: {integrity: sha512-ObFo8v4rQJAE59M69QzwloxPZtd33TpYEIjtKD1rrFDcM1Gd7IkDxEBU+HriziN6HSHQnBJi8Dmy+JWkav5HKA==} engines: {node: '>=8'} envinfo@7.10.0: resolution: {integrity: sha512-ZtUjZO6l5mwTHvc1L9+1q5p/R3wTopcfqMW8r5t8SJSKqeVI/LtajORwRFEKpEFuekjD0VBjwu1HMxL4UalIRw==} engines: {node: '>=4'} hasBin: true eol@0.9.1: resolution: {integrity: sha512-Ds/TEoZjwggRoz/Q2O7SE3i4Jm66mqTDfmdHdq/7DKVk3bro9Q8h6WdXKdPqFLMoqxrDK5SVRzHVPOS6uuGtrg==} errno@0.1.8: resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} hasBin: true error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} error-stack-parser@2.1.4: resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} errorhandler@1.5.1: resolution: {integrity: sha512-rcOwbfvP1WTViVoUjcfZicVzjhjTuhSMntHh6mW3IrEiyE6mJyXvsToJUJGlGlw/2xU9P5whlWNGlIDVeCiT4A==} engines: {node: '>= 0.8'} es-abstract@1.22.1: resolution: {integrity: sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==} engines: {node: '>= 0.4'} es-array-method-boxes-properly@1.0.0: resolution: {integrity: sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==} es-define-property@1.0.0: resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} engines: {node: '>= 0.4'} es-errors@1.3.0: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} es-get-iterator@1.1.3: resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} es-module-lexer@1.3.0: resolution: {integrity: sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA==} es-set-tostringtag@2.0.1: resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} engines: {node: '>= 0.4'} es-shim-unscopables@1.0.0: resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==} es-to-primitive@1.2.1: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} es6-object-assign@1.1.0: resolution: {integrity: sha512-MEl9uirslVwqQU369iHNWZXsI8yaZYGg/D65aOgZkeyFJwHYSxilf7rQzXKI7DdDuBPrBXbfk3sl9hJhmd5AUw==} es6-promise@4.2.8: resolution: {integrity: sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==} es6-promisify@5.0.0: resolution: {integrity: sha512-C+d6UdsYDk0lMebHNR4S2NybQMMngAOnOwYBQjTOiv0MkoJMP0Myw2mgpDLBcpfCmRLxyFqYhS/CfOENq4SJhQ==} escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} escape-html@1.0.3: resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} escape-string-regexp@1.0.5: resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} engines: {node: '>=0.8.0'} escape-string-regexp@2.0.0: resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} engines: {node: '>=8'} escape-string-regexp@4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} escodegen@2.1.0: resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} engines: {node: '>=6.0'} hasBin: true eslint-config-next@12.3.4: resolution: {integrity: sha512-WuT3gvgi7Bwz00AOmKGhOeqnyA5P29Cdyr0iVjLyfDbk+FANQKcOjFUTZIdyYfe5Tq1x4TGcmoe4CwctGvFjHQ==} peerDependencies: eslint: 8.22.0 typescript: '>=3.3.1' peerDependenciesMeta: typescript: optional: true eslint-config-prettier@8.8.0: resolution: {integrity: sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==} hasBin: true peerDependencies: eslint: 8.22.0 eslint-config-react-app@7.0.1: resolution: {integrity: sha512-K6rNzvkIeHaTd8m/QEh1Zko0KI7BACWkkneSs6s9cKZC/J27X3eZR6Upt1jkmZ/4FK+XUOPPxMEN7+lbUXfSlA==} engines: {node: '>=14.0.0'} peerDependencies: eslint: 8.22.0 typescript: '*' peerDependenciesMeta: typescript: optional: true eslint-import-resolver-node@0.3.7: resolution: {integrity: sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==} eslint-import-resolver-typescript@2.7.1: resolution: {integrity: sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==} engines: {node: '>=4'} peerDependencies: eslint: 8.22.0 eslint-plugin-import: '*' eslint-module-utils@2.8.0: resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' eslint: '*' eslint-import-resolver-node: '*' eslint-import-resolver-typescript: '*' eslint-import-resolver-webpack: '*' peerDependenciesMeta: '@typescript-eslint/parser': optional: true eslint: optional: true eslint-import-resolver-node: optional: true eslint-import-resolver-typescript: optional: true eslint-import-resolver-webpack: optional: true eslint-plugin-flowtype@8.0.3: resolution: {integrity: sha512-dX8l6qUL6O+fYPtpNRideCFSpmWOUVx5QcaGLVqe/vlDiBSe4vYljDWDETwnyFzpl7By/WVIu6rcrniCgH9BqQ==} engines: {node: '>=12.0.0'} peerDependencies: '@babel/plugin-syntax-flow': ^7.14.5 '@babel/plugin-transform-react-jsx': ^7.14.9 eslint: 8.22.0 eslint-plugin-import@2.27.5: resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' eslint: 8.22.0 peerDependenciesMeta: '@typescript-eslint/parser': optional: true eslint-plugin-jest@25.7.0: resolution: {integrity: sha512-PWLUEXeeF7C9QGKqvdSbzLOiLTx+bno7/HC9eefePfEb257QFHg7ye3dh80AZVkaa/RQsBB1Q/ORQvg2X7F0NQ==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} peerDependencies: '@typescript-eslint/eslint-plugin': ^4.0.0 || ^5.0.0 eslint: 8.22.0 jest: '*' peerDependenciesMeta: '@typescript-eslint/eslint-plugin': optional: true jest: optional: true eslint-plugin-jsx-a11y@6.7.1: resolution: {integrity: sha512-63Bog4iIethyo8smBklORknVjB0T2dwB8Mr/hIC+fBS0uyHdYYpzM/Ed+YC8VxTjlXHEWFOdmgwcDn1U2L9VCA==} engines: {node: '>=4.0'} peerDependencies: eslint: 8.22.0 eslint-plugin-prettier@4.2.1: resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} engines: {node: '>=12.0.0'} peerDependencies: eslint: 8.22.0 eslint-config-prettier: '*' prettier: '>=2.0.0' peerDependenciesMeta: eslint-config-prettier: optional: true eslint-plugin-react-hooks@4.6.0: resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} engines: {node: '>=10'} peerDependencies: eslint: 8.22.0 eslint-plugin-react@7.33.0: resolution: {integrity: sha512-qewL/8P34WkY8jAqdQxsiL82pDUeT7nhs8IsuXgfgnsEloKCT4miAV9N9kGtx7/KM9NH/NCGUE7Edt9iGxLXFw==} engines: {node: '>=4'} peerDependencies: eslint: 8.22.0 eslint-plugin-require-extensions@0.1.3: resolution: {integrity: sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==} engines: {node: '>=16'} peerDependencies: eslint: 8.22.0 eslint-plugin-testing-library@5.11.0: resolution: {integrity: sha512-ELY7Gefo+61OfXKlQeXNIDVVLPcvKTeiQOoMZG9TeuWa7Ln4dUNRv8JdRWBQI9Mbb427XGlVB1aa1QPZxBJM8Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0, npm: '>=6'} peerDependencies: eslint: 8.22.0 eslint-scope@5.1.1: resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} engines: {node: '>=8.0.0'} eslint-scope@7.2.1: resolution: {integrity: sha512-CvefSOsDdaYYvxChovdrPo/ZGt8d5lrJWleAc1diXRKhHGiTYEI26cvo8Kle/wGnsizoCJjK73FMg1/IkIwiNA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} eslint-utils@3.0.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: 8.22.0 eslint-visitor-keys@2.1.0: resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} engines: {node: '>=10'} eslint-visitor-keys@3.4.1: resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} eslint-webpack-plugin@3.2.0: resolution: {integrity: sha512-avrKcGncpPbPSUHX6B3stNGzkKFto3eL+DKM4+VyMrVnhPc3vRczVlCq3uhuFOdRvDHTVXuzwk1ZKUrqDQHQ9w==} engines: {node: '>= 12.13.0'} peerDependencies: eslint: 8.22.0 webpack: ^5.0.0 eslint@8.22.0: resolution: {integrity: sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} esprima@4.0.1: resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} engines: {node: '>=4'} hasBin: true esquery@1.5.0: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} engines: {node: '>=0.10'} esrecurse@4.3.0: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} estraverse@4.3.0: resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} engines: {node: '>=4.0'} estraverse@5.3.0: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} estree-walker@1.0.1: resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==} esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} eth-rpc-errors@4.0.3: resolution: {integrity: sha512-Z3ymjopaoft7JDoxZcEb3pwdGh7yiYMhOwm2doUt6ASXlMavpNlK6Cre0+IMl2VSGyEU9rkiperQhp5iRxn5Pg==} ethereum-cryptography@2.1.2: resolution: {integrity: sha512-Z5Ba0T0ImZ8fqXrJbpHcbpAvIswRte2wGNR/KePnu8GbbvgJ47lMxT/ZZPG6i9Jaht4azPDop4HaM00J0J59ug==} ethereum-cryptography@2.1.3: resolution: {integrity: sha512-BlwbIL7/P45W8FGW2r7LGuvoEZ+7PWsniMvQ4p5s2xCyw9tmaDlpfsN9HjAucbF+t/qpVHwZUisgfK24TCW8aA==} ev-emitter@2.1.2: resolution: {integrity: sha512-jQ5Ql18hdCQ4qS+RCrbLfz1n+Pags27q5TwMKvZyhp5hh2UULUYZUy1keqj6k6SYsdqIYjnmz7xyyEY0V67B8Q==} event-target-shim@5.0.1: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} engines: {node: '>=6'} eventemitter3@4.0.7: resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} eventemitter3@5.0.1: resolution: {integrity: sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==} events@3.3.0: resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} engines: {node: '>=0.8.x'} evp_bytestokey@1.0.3: resolution: {integrity: sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==} exec-async@2.2.0: resolution: {integrity: sha512-87OpwcEiMia/DeiKFzaQNBNFeN3XkkpYIh9FyOqq5mS2oKv3CBE67PXoEKcr6nodWdXNogTiQ0jE2NGuoffXPw==} execa@1.0.0: resolution: {integrity: sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==} engines: {node: '>=6'} execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} engines: {node: '>=10'} exenv@1.2.2: resolution: {integrity: sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw==} exit@0.1.2: resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} engines: {node: '>= 0.8.0'} expect@27.5.1: resolution: {integrity: sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} expect@28.1.3: resolution: {integrity: sha512-eEh0xn8HlsuOBxFgIss+2mX85VAS4Qy3OSkjV7rlBWljtA4oWH37glVGyOZSZvErDT/yBywZdPGwCXuTvSG85g==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} expo-asset@9.0.2: resolution: {integrity: sha512-PzYKME1MgUOoUvwtdzhAyXkjXOXGiSYqGKG/MsXwWr0Ef5wlBaBm2DCO9V6KYbng5tBPFu6hTjoRNil1tBOSow==} expo-constants@15.4.5: resolution: {integrity: sha512-1pVVjwk733hbbIjtQcvUFCme540v4gFemdNlaxM2UXKbfRCOh2hzgKN5joHMOysoXQe736TTUrRj7UaZI5Yyhg==} peerDependencies: expo: '*' expo-file-system@16.0.8: resolution: {integrity: sha512-yDbVT0TUKd7ewQjaY5THum2VRFx2n/biskGhkUmLh3ai21xjIVtaeIzHXyv9ir537eVgt4ReqDNWi7jcXjdUcA==} peerDependencies: expo: '*' expo-font@11.10.3: resolution: {integrity: sha512-q1Td2zUvmLbCA9GV4OG4nLPw5gJuNY1VrPycsnemN1m8XWTzzs8nyECQQqrcBhgulCgcKZZJJ6U0kC2iuSoQHQ==} peerDependencies: expo: '*' expo-keep-awake@12.8.2: resolution: {integrity: sha512-uiQdGbSX24Pt8nGbnmBtrKq6xL/Tm3+DuDRGBk/3ZE/HlizzNosGRIufIMJ/4B4FRw4dw8KU81h2RLuTjbay6g==} peerDependencies: expo: '*' expo-modules-autolinking@1.10.3: resolution: {integrity: sha512-pn4n2Dl4iRh/zUeiChjRIe1C7EqOw1qhccr85viQV7W6l5vgRpY0osE51ij5LKg/kJmGRcJfs12+PwbdTplbKw==} hasBin: true expo-modules-core@1.11.10: resolution: {integrity: sha512-L1DSxV3AUnEvR8+G1JHbMPjpwqALv0AF71oREhDJ/ehI2TDX6LkE+up5BUK1/++UjmVu1lviefbUfLut2F5wNQ==} expo@50.0.11: resolution: {integrity: sha512-XEq8By1l8FQo2SEzhXfQEoKBd0nZ9j6HKsDzj1dUrRVYd02SMH/xUCERxuRaWUL2u1bWdfaFlg/Dmc/2JlVkKQ==} hasBin: true express@4.18.2: resolution: {integrity: sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==} engines: {node: '>= 0.10.0'} extendable-error@0.1.7: resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} external-editor@3.1.0: resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} engines: {node: '>=4'} eyes@0.1.8: resolution: {integrity: sha512-GipyPsXO1anza0AOZdy69Im7hGFCNB7Y/NGjDlZGJ3GJJLtwNSb2vrzYrTYJRrRloVx7pl+bhUaTB8yiccPvFQ==} engines: {node: '> 0.1.90'} fast-copy@3.0.1: resolution: {integrity: sha512-Knr7NOtK3HWRYGtHoJrjkaWepqT8thIVGAwt0p0aUs1zqkAzXZV4vo9fFNwyb5fcqK1GKYFYxldQdIDVKhUAfA==} fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} fast-diff@1.3.0: resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} fast-glob@3.3.0: resolution: {integrity: sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==} engines: {node: '>=8.6.0'} fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} fast-redact@3.2.0: resolution: {integrity: sha512-zaTadChr+NekyzallAMXATXLOR8MNx3zqpZ0MUF2aGf4EathnG0f32VLODNlY8IuGY3HoRO2L6/6fSzNsLaHIw==} engines: {node: '>=6'} fast-safe-stringify@2.1.1: resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} fast-stable-stringify@1.0.0: resolution: {integrity: sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag==} fast-xml-parser@4.2.6: resolution: {integrity: sha512-Xo1qV++h/Y3Ng8dphjahnYe+rGHaaNdsYOBWL9Y9GCPKpNKilJtilvWkLcI9f9X2DoKTLsZsGYAls5+JL5jfLA==} hasBin: true fastq@1.15.0: resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} faye-websocket@0.11.4: resolution: {integrity: sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==} engines: {node: '>=0.8.0'} fb-watchman@2.0.2: resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} fbemitter@3.0.0: resolution: {integrity: sha512-KWKaceCwKQU0+HPoop6gn4eOHk50bBv/VxjJtGMfwmJt3D29JpN4H4eisCtIPA+a8GVBam+ldMMpMjJUvpDyHw==} fbjs-css-vars@1.0.2: resolution: {integrity: sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ==} fbjs@3.0.5: resolution: {integrity: sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==} fetch-retry@4.1.1: resolution: {integrity: sha512-e6eB7zN6UBSwGVwrbWVH+gdLnkW9WwHhmq2YDK1Sh30pzx1onRVGBvogTlUeWxwTa+L86NYdo4hFkh7O8ZjSnA==} file-entry-cache@6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} file-loader@6.2.0: resolution: {integrity: sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==} engines: {node: '>= 10.13.0'} peerDependencies: webpack: ^4.0.0 || ^5.0.0 file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} filelist@1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} filename-reserved-regex@2.0.0: resolution: {integrity: sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==} engines: {node: '>=4'} filenamify@4.3.0: resolution: {integrity: sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==} engines: {node: '>=8'} filesize@8.0.7: resolution: {integrity: sha512-pjmC+bkIF8XI7fWaH8KxHcZL3DPybs1roSKP4rKDvy20tAWwIObE4+JIseG2byfGKhud5ZnM4YSGKBz7Sh0ndQ==} engines: {node: '>= 0.4.0'} fill-range@7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} filter-obj@1.1.0: resolution: {integrity: sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==} engines: {node: '>=0.10.0'} finalhandler@1.1.2: resolution: {integrity: sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==} engines: {node: '>= 0.8'} finalhandler@1.2.0: resolution: {integrity: sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==} engines: {node: '>= 0.8'} find-cache-dir@2.1.0: resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} engines: {node: '>=6'} find-cache-dir@3.3.2: resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==} engines: {node: '>=8'} find-root@1.1.0: resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==} find-up@3.0.0: resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} engines: {node: '>=6'} find-up@4.1.0: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} find-yarn-workspace-root2@1.2.16: resolution: {integrity: sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA==} find-yarn-workspace-root@2.0.0: resolution: {integrity: sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==} flat-cache@3.0.4: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} engines: {node: ^10.12.0 || >=12.0.0} flatted@3.2.7: resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} flow-enums-runtime@0.0.5: resolution: {integrity: sha512-PSZF9ZuaZD03sT9YaIs0FrGJ7lSUw7rHZIex+73UYVXg46eL/wxN5PaVcPJFudE2cJu5f0fezitV5aBkLHPUOQ==} flow-parser@0.206.0: resolution: {integrity: sha512-HVzoK3r6Vsg+lKvlIZzaWNBVai+FXTX1wdYhz/wVlH13tb/gOdLXmlTqy6odmTBhT5UoWUbq0k8263Qhr9d88w==} engines: {node: '>=0.4.0'} follow-redirects@1.15.2: resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==} engines: {node: '>=4.0'} peerDependencies: debug: '*' peerDependenciesMeta: debug: optional: true fontfaceobserver@2.3.0: resolution: {integrity: sha512-6FPvD/IVyT4ZlNe7Wcn5Fb/4ChigpucKYSvD6a+0iMoLn2inpo711eyIcKjmDtE5XNcgAkSH9uN/nfAeZzHEfg==} for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} fork-ts-checker-webpack-plugin@6.5.3: resolution: {integrity: sha512-SbH/l9ikmMWycd5puHJKTkZJKddF4iRLyW3DeZ08HTI7NGyLS38MXd/KGgeWumQO7YNQbW2u/NtPT2YowbPaGQ==} engines: {node: '>=10', yarn: '>=1.0.0'} peerDependencies: eslint: 8.22.0 typescript: '>= 2.7' vue-template-compiler: '*' webpack: '>= 4' peerDependenciesMeta: eslint: optional: true vue-template-compiler: optional: true form-data@3.0.1: resolution: {integrity: sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==} engines: {node: '>= 6'} form-data@4.0.0: resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} engines: {node: '>= 6'} forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} fraction.js@4.2.0: resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==} freeport-async@2.0.0: resolution: {integrity: sha512-K7od3Uw45AJg00XUmy15+Hae2hOcgKcmN3/EF6Y7i01O0gaqiRx8sUSpsb9+BRNL8RPBrhzPsVfy8q9ADlJuWQ==} engines: {node: '>=8'} fresh@0.5.2: resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} engines: {node: '>= 0.6'} fs-extra@10.1.0: resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} engines: {node: '>=12'} fs-extra@7.0.1: resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} engines: {node: '>=6 <7 || >=8'} fs-extra@8.1.0: resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} engines: {node: '>=6 <7 || >=8'} fs-extra@9.0.0: resolution: {integrity: sha512-pmEYSk3vYsG/bF651KPUXZ+hvjpgWYw/Gc7W9NFUe3ZVLczKKWIij3IKpOrQcdw4TILtibFslZ0UmR8Vvzig4g==} engines: {node: '>=10'} fs-extra@9.1.0: resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} engines: {node: '>=10'} fs-minipass@2.1.0: resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} engines: {node: '>= 8'} fs-monkey@1.0.4: resolution: {integrity: sha512-INM/fWAxMICjttnD0DX1rBvinKskj5G1w+oy/pnm9u/tSlnBrzFonJMcalKJ30P8RRsPzKcCG7Q8l0jx5Fh9YQ==} fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} fsevents@2.3.2: resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] function-bind@1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} function-bind@1.1.2: resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} function.prototype.name@1.1.5: resolution: {integrity: sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==} engines: {node: '>= 0.4'} functional-red-black-tree@1.0.1: resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} gensync@1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} get-intrinsic@1.2.1: resolution: {integrity: sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==} get-intrinsic@1.2.4: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} engines: {node: '>= 0.4'} get-own-enumerable-property-symbols@3.0.2: resolution: {integrity: sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==} get-package-type@0.1.0: resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} engines: {node: '>=8.0.0'} get-port@3.2.0: resolution: {integrity: sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==} engines: {node: '>=4'} get-port@4.2.0: resolution: {integrity: sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw==} engines: {node: '>=6'} get-size@3.0.0: resolution: {integrity: sha512-Y8aiXLq4leR7807UY0yuKEwif5s3kbVp1nTv+i4jBeoUzByTLKkLWu/HorS6/pB+7gsB0o7OTogC8AoOOeT0Hw==} get-stream@4.1.0: resolution: {integrity: sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==} engines: {node: '>=6'} get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} get-symbol-description@1.0.0: resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} engines: {node: '>= 0.4'} getenv@1.0.0: resolution: {integrity: sha512-7yetJWqbS9sbn0vIfliPsFgoXMKn/YMF+Wuiog97x+urnSRRRZ7xB+uVkwGKzRgq9CDFfMQnE9ruL5DHv9c6Xg==} engines: {node: '>=6'} gh-pages@4.0.0: resolution: {integrity: sha512-p8S0T3aGJc68MtwOcZusul5qPSNZCalap3NWbhRUZYu1YOdp+EjZ+4kPmRM8h3NNRdqw00yuevRjlkuSzCn7iQ==} engines: {node: '>=10'} hasBin: true glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} glob-parent@6.0.2: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} engines: {node: '>=10.13.0'} glob-to-regexp@0.4.1: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} glob@6.0.4: resolution: {integrity: sha512-MKZeRNyYZAVVVG1oZeLaWie1uweH40m9AZwIwxyPbTSX4hHrVYSzLg0Ro5Z5R7XKkIX+Cc6oD1rqeDJnwsB8/A==} deprecated: Glob versions prior to v9 are no longer supported glob@7.1.6: resolution: {integrity: sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==} glob@7.1.7: resolution: {integrity: sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==} glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} global-modules@2.0.0: resolution: {integrity: sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==} engines: {node: '>=6'} global-prefix@3.0.0: resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==} engines: {node: '>=6'} globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} globals@13.20.0: resolution: {integrity: sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==} engines: {node: '>=8'} globalthis@1.0.3: resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} engines: {node: '>= 0.4'} globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} globby@6.1.0: resolution: {integrity: sha512-KVbFv2TQtbzCoxAnfD6JcHZTYCzyliEaaeM/gH8qQdkKr5s0OP9scEgvdcngyk7AVdY6YVW/TJHd+lQ/Df3Daw==} engines: {node: '>=0.10.0'} goober@2.1.13: resolution: {integrity: sha512-jFj3BQeleOoy7t93E9rZ2de+ScC4lQICLwiAQmKMg9F6roKGaLSHoCDYKkWlSafg138jejvq/mTdvmnwDQgqoQ==} peerDependencies: csstype: ^3.0.10 gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} grapheme-splitter@1.0.4: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} graphql-tag@2.12.6: resolution: {integrity: sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==} engines: {node: '>=10'} peerDependencies: graphql: ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 graphql@15.8.0: resolution: {integrity: sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==} engines: {node: '>= 10.x'} gzip-size@6.0.0: resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} engines: {node: '>=10'} handle-thing@2.0.1: resolution: {integrity: sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==} hard-rejection@2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} engines: {node: '>=6'} harmony-reflect@1.6.2: resolution: {integrity: sha512-HIp/n38R9kQjDEziXyDTuW3vvoxxyxjxFzXLrBr18uB47GnSt+G9D29fqrpM5ZkspMcPICud3XsBJQ4Y2URg8g==} has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} has-flag@3.0.0: resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} engines: {node: '>=4'} has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} has-property-descriptors@1.0.0: resolution: {integrity: sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==} has-property-descriptors@1.0.2: resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} has-proto@1.0.1: resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} engines: {node: '>= 0.4'} has-symbols@1.0.3: resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} engines: {node: '>= 0.4'} has-tostringtag@1.0.0: resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} engines: {node: '>= 0.4'} has@1.0.3: resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} engines: {node: '>= 0.4.0'} hash-base@3.1.0: resolution: {integrity: sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==} engines: {node: '>=4'} hash.js@1.1.7: resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} hasown@2.0.1: resolution: {integrity: sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==} engines: {node: '>= 0.4'} he@1.2.0: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} hasBin: true help-me@4.2.0: resolution: {integrity: sha512-TAOnTB8Tz5Dw8penUuzHVrKNKlCIbwwbHnXraNJxPwf8LRtE2HlM84RYuezMFcwOJmoYOCWVDyJ8TQGxn9PgxA==} hermes-estree@0.12.0: resolution: {integrity: sha512-+e8xR6SCen0wyAKrMT3UD0ZCCLymKhRgjEB5sS28rKiFir/fXgLoeRilRUssFCILmGHb+OvHDUlhxs0+IEyvQw==} hermes-parser@0.12.0: resolution: {integrity: sha512-d4PHnwq6SnDLhYl3LHNHvOg7nQ6rcI7QVil418REYksv0Mh3cEkHDcuhGxNQ3vgnLSLl4QSvDrFCwQNYdpWlzw==} hermes-profile-transformer@0.0.6: resolution: {integrity: sha512-cnN7bQUm65UWOy6cbGcCcZ3rpwW8Q/j4OP5aWRhEry4Z2t2aR1cjrbp0BS+KiBN0smvP1caBgAuxutvyvJILzQ==} engines: {node: '>=8'} hmac-drbg@1.0.1: resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} hoopy@0.1.4: resolution: {integrity: sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ==} engines: {node: '>= 6.0.0'} hosted-git-info@2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} hosted-git-info@3.0.8: resolution: {integrity: sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==} engines: {node: '>=10'} hpack.js@2.1.6: resolution: {integrity: sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ==} html-encoding-sniffer@2.0.1: resolution: {integrity: sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==} engines: {node: '>=10'} html-encoding-sniffer@3.0.0: resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} engines: {node: '>=12'} html-entities@2.4.0: resolution: {integrity: sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==} html-escaper@2.0.2: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} html-minifier-terser@6.1.0: resolution: {integrity: sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw==} engines: {node: '>=12'} hasBin: true html-webpack-plugin@5.5.3: resolution: {integrity: sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg==} engines: {node: '>=10.13.0'} peerDependencies: webpack: ^5.20.0 htmlnano@2.0.4: resolution: {integrity: sha512-WGCkyGFwjKW1GeCBsPYacMvaMnZtFJ0zIRnC2NCddkA+IOEhTqskXrS7lep+3yYZw/nQ3dW1UAX4yA/GJyR8BA==} peerDependencies: cssnano: ^6.0.0 postcss: ^8.3.11 purgecss: ^5.0.0 relateurl: ^0.2.7 srcset: 4.0.0 svgo: ^3.0.2 terser: ^5.10.0 uncss: ^0.17.3 peerDependenciesMeta: cssnano: optional: true postcss: optional: true purgecss: optional: true relateurl: optional: true srcset: optional: true svgo: optional: true terser: optional: true uncss: optional: true htmlparser2@6.1.0: resolution: {integrity: sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==} htmlparser2@7.2.0: resolution: {integrity: sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog==} http-deceiver@1.2.7: resolution: {integrity: sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw==} http-errors@1.6.3: resolution: {integrity: sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==} engines: {node: '>= 0.6'} http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} http-parser-js@0.5.8: resolution: {integrity: sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==} http-proxy-agent@4.0.1: resolution: {integrity: sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==} engines: {node: '>= 6'} http-proxy-agent@5.0.0: resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} engines: {node: '>= 6'} http-proxy-middleware@2.0.6: resolution: {integrity: sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==} engines: {node: '>=12.0.0'} peerDependencies: '@types/express': ^4.17.13 peerDependenciesMeta: '@types/express': optional: true http-proxy@1.18.1: resolution: {integrity: sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==} engines: {node: '>=8.0.0'} https-browserify@1.0.0: resolution: {integrity: sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg==} https-proxy-agent@5.0.1: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} human-id@1.0.2: resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} humanize-ms@1.2.1: resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} iconv-lite@0.4.24: resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} engines: {node: '>=0.10.0'} iconv-lite@0.6.3: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} icss-utils@5.1.0: resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 idb@7.1.1: resolution: {integrity: sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==} identity-obj-proxy@3.0.0: resolution: {integrity: sha512-00n6YnVHKrinT9t0d9+5yZC6UBNJANpYEQvL2LlX6Ab9lnmxzIRcEmTPuyGScvl1+jKuCICX1Z0Ab1pPKKdikA==} engines: {node: '>=4'} ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} engines: {node: '>= 4'} image-size@0.5.5: resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==} engines: {node: '>=0.10.0'} hasBin: true image-size@1.0.2: resolution: {integrity: sha512-xfOoWjceHntRb3qFCrh5ZFORYH8XCdYpASltMhZ/Q0KZiOwjdE/Yl2QCiWdwD+lygV5bMCvauzgu5PxBX/Yerg==} engines: {node: '>=14.0.0'} hasBin: true immer@9.0.21: resolution: {integrity: sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==} import-fresh@2.0.0: resolution: {integrity: sha512-eZ5H8rcgYazHbKC3PG4ClHNykCSxtAhxSSEM+2mb+7evD2CKF5V7c0dNum7AdpDh0ZdICwZY9sRSn8f+KH96sg==} engines: {node: '>=4'} import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} import-local@3.1.0: resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} engines: {node: '>=8'} hasBin: true imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} indent-string@4.0.0: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} infer-owner@1.0.4: resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==} inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} inherits@2.0.3: resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} ini@1.3.8: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} int64-buffer@1.0.1: resolution: {integrity: sha512-+3azY4pXrjAupJHU1V9uGERWlhoqNswJNji6aD/02xac7oxol508AsMC5lxKhEqyZeDFy3enq5OGWXF4u75hiw==} engines: {node: '>= 4.5.0'} internal-ip@4.3.0: resolution: {integrity: sha512-S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg==} engines: {node: '>=6'} internal-slot@1.0.5: resolution: {integrity: sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==} engines: {node: '>= 0.4'} interpret@1.4.0: resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} engines: {node: '>= 0.10'} invariant@2.2.4: resolution: {integrity: sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==} ip-regex@2.1.0: resolution: {integrity: sha512-58yWmlHpp7VYfcdTwMTvwMmqx/Elfxjd9RXTDyMsbL7lLWmhMylLEqiYVLKuLzOZqVgiWXD9MfR62Vv89VRxkw==} engines: {node: '>=4'} ip@1.1.8: resolution: {integrity: sha512-PuExPYUiu6qMBQb4l06ecm6T6ujzhmh+MeJcW9wa89PoAz5pvd4zPgN5WJV104mb6S2T1AwNIAaB70JNrLQWhg==} ip@2.0.0: resolution: {integrity: sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==} ipaddr.js@1.9.1: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} ipaddr.js@2.1.0: resolution: {integrity: sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ==} engines: {node: '>= 10'} is-arguments@1.1.1: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} is-array-buffer@3.0.2: resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} is-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} is-bigint@1.0.4: resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} is-binary-path@2.1.0: resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} engines: {node: '>=8'} is-boolean-object@1.1.2: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} is-buffer@1.1.6: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} is-ci@3.0.1: resolution: {integrity: sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==} hasBin: true is-core-module@2.12.1: resolution: {integrity: sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==} is-date-object@1.0.5: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} is-directory@0.3.1: resolution: {integrity: sha512-yVChGzahRFvbkscn2MlwGismPO12i9+znNruC5gVEntG3qu0xQMzsGg/JFbrsqDOHtHFPci+V5aP5T9I+yeKqw==} engines: {node: '>=0.10.0'} is-docker@2.2.1: resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} engines: {node: '>=8'} hasBin: true is-extglob@1.0.0: resolution: {integrity: sha512-7Q+VbVafe6x2T+Tu6NcOf6sRklazEPmBoB3IWk3WdGZM2iGUwU/Oe3Wtq5lSEkDTTlpp8yx+5t4pzO/i9Ty1ww==} engines: {node: '>=0.10.0'} is-extglob@2.1.1: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} is-fullwidth-code-point@2.0.0: resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} engines: {node: '>=4'} is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} is-generator-fn@2.1.0: resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} engines: {node: '>=6'} is-generator-function@1.0.10: resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} engines: {node: '>= 0.4'} is-glob@2.0.1: resolution: {integrity: sha512-a1dBeB19NXsf/E0+FHqkagizel/LQw2DjSQpvQrj3zT+jYPpaUCryPnrQajXKFLCMuf4I6FhRpaGtw4lPrG6Eg==} engines: {node: '>=0.10.0'} is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} is-interactive@1.0.0: resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} engines: {node: '>=8'} is-invalid-path@0.1.0: resolution: {integrity: sha512-aZMG0T3F34mTg4eTdszcGXx54oiZ4NtHSft3hWNJMGJXUUqdIj3cOZuHcU0nCWWcY3jd7yRe/3AEm3vSNTpBGQ==} engines: {node: '>=0.10.0'} is-json@2.0.1: resolution: {integrity: sha512-6BEnpVn1rcf3ngfmViLM6vjUjGErbdrL4rwlv+u1NO1XO8kqT4YGL8+19Q+Z/bas8tY90BTWMk2+fW1g6hQjbA==} is-map@2.0.2: resolution: {integrity: sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==} is-module@1.0.0: resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} is-nan@1.3.2: resolution: {integrity: sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==} engines: {node: '>= 0.4'} is-negative-zero@2.0.2: resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} engines: {node: '>= 0.4'} is-number-object@1.0.7: resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} engines: {node: '>= 0.4'} is-number@7.0.0: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} is-obj@1.0.1: resolution: {integrity: sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==} engines: {node: '>=0.10.0'} is-path-cwd@2.2.0: resolution: {integrity: sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==} engines: {node: '>=6'} is-path-inside@3.0.3: resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} engines: {node: '>=8'} is-plain-obj@1.1.0: resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} engines: {node: '>=0.10.0'} is-plain-obj@2.1.0: resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} engines: {node: '>=8'} is-plain-obj@3.0.0: resolution: {integrity: sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==} engines: {node: '>=10'} is-plain-object@2.0.4: resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} engines: {node: '>=0.10.0'} is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} is-regex@1.1.4: resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} engines: {node: '>= 0.4'} is-regexp@1.0.0: resolution: {integrity: sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==} engines: {node: '>=0.10.0'} is-root@2.1.0: resolution: {integrity: sha512-AGOriNp96vNBd3HtU+RzFEc75FfR5ymiYv8E553I71SCeXBiMsVDUtdio1OEFvrPyLIQ9tVR5RxXIFe5PUFjMg==} engines: {node: '>=6'} is-set@2.0.2: resolution: {integrity: sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==} is-shared-array-buffer@1.0.2: resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} is-stream@1.1.0: resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} engines: {node: '>=0.10.0'} is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} is-string@1.0.7: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} engines: {node: '>= 0.4'} is-subdir@1.2.0: resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==} engines: {node: '>=4'} is-symbol@1.0.4: resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} engines: {node: '>= 0.4'} is-typed-array@1.1.12: resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} engines: {node: '>= 0.4'} is-typedarray@1.0.0: resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==} is-unicode-supported@0.1.0: resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} engines: {node: '>=10'} is-valid-path@0.1.1: resolution: {integrity: sha512-+kwPrVDu9Ms03L90Qaml+79+6DZHqHyRoANI6IsZJ/g8frhnfchDOBCa0RbQ6/kdHt5CS5OeIEyrYznNuVN+8A==} engines: {node: '>=0.10.0'} is-weakmap@2.0.1: resolution: {integrity: sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA==} is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} is-weakset@2.0.2: resolution: {integrity: sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==} is-what@3.14.1: resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==} is-windows@1.0.2: resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} engines: {node: '>=0.10.0'} is-wsl@1.1.0: resolution: {integrity: sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw==} engines: {node: '>=4'} is-wsl@2.2.0: resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} engines: {node: '>=8'} isarray@1.0.0: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} isobject@3.0.1: resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} engines: {node: '>=0.10.0'} isomorphic-ws@4.0.1: resolution: {integrity: sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==} peerDependencies: ws: '*' istanbul-lib-coverage@3.2.0: resolution: {integrity: sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==} engines: {node: '>=8'} istanbul-lib-instrument@5.2.1: resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} engines: {node: '>=8'} istanbul-lib-report@3.0.0: resolution: {integrity: sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==} engines: {node: '>=8'} istanbul-lib-source-maps@4.0.1: resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} engines: {node: '>=10'} istanbul-reports@3.1.5: resolution: {integrity: sha512-nUsEMa9pBt/NOHqbcbeJEgqIlY/K7rVWUX6Lql2orY5e9roQOthbR3vtY4zzf2orPELg80fnxxk9zUyPlgwD1w==} engines: {node: '>=8'} jake@10.8.7: resolution: {integrity: sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==} engines: {node: '>=10'} hasBin: true jayson@4.1.0: resolution: {integrity: sha512-R6JlbyLN53Mjku329XoRT2zJAE6ZgOQ8f91ucYdMCD4nkGCF9kZSrcGXpHIU4jeKj58zUZke2p+cdQchU7Ly7A==} engines: {node: '>=8'} hasBin: true jest-changed-files@27.5.1: resolution: {integrity: sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-changed-files@28.1.3: resolution: {integrity: sha512-esaOfUWJXk2nfZt9SPyC8gA1kNfdKLkQWyzsMlqq8msYSlNKfmZxfRgZn4Cd4MGVUF+7v6dBs0d5TOAKa7iIiA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-circus@27.5.1: resolution: {integrity: sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-circus@28.1.3: resolution: {integrity: sha512-cZ+eS5zc79MBwt+IhQhiEp0OeBddpc1n8MBo1nMB8A7oPMKEO+Sre+wHaLJexQUj9Ya/8NOBY0RESUgYjB6fow==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-cli@27.5.1: resolution: {integrity: sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true jest-cli@28.1.3: resolution: {integrity: sha512-roY3kvrv57Azn1yPgdTebPAXvdR2xfezaKKYzVxZ6It/5NCxzJym6tUI5P1zkdWhfUYkxEI9uZWcQdaFLo8mJQ==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true jest-config@27.5.1: resolution: {integrity: sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} peerDependencies: ts-node: '>=9.0.0' peerDependenciesMeta: ts-node: optional: true jest-config@28.1.3: resolution: {integrity: sha512-MG3INjByJ0J4AsNBm7T3hsuxKQqFIiRo/AUqb1q9LRKI5UU6Aar9JHbr9Ivn1TVwfUD9KirRoM/T6u8XlcQPHQ==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} peerDependencies: '@types/node': '*' ts-node: '>=9.0.0' peerDependenciesMeta: '@types/node': optional: true ts-node: optional: true jest-diff@27.5.1: resolution: {integrity: sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-diff@28.1.3: resolution: {integrity: sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-docblock@27.5.1: resolution: {integrity: sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-docblock@28.1.1: resolution: {integrity: sha512-3wayBVNiOYx0cwAbl9rwm5kKFP8yHH3d/fkEaL02NPTkDojPtheGB7HZSFY4wzX+DxyrvhXz0KSCVksmCknCuA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-each@27.5.1: resolution: {integrity: sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-each@28.1.3: resolution: {integrity: sha512-arT1z4sg2yABU5uogObVPvSlSMQlDA48owx07BDPAiasW0yYpYHYOo4HHLz9q0BVzDVU4hILFjzJw0So9aCL/g==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-environment-jsdom@27.5.1: resolution: {integrity: sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-environment-jsdom@28.1.3: resolution: {integrity: sha512-HnlGUmZRdxfCByd3GM2F100DgQOajUBzEitjGqIREcb45kGjZvRrKUdlaF6escXBdcXNl0OBh+1ZrfeZT3GnAg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-environment-node@27.5.1: resolution: {integrity: sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-environment-node@28.1.3: resolution: {integrity: sha512-ugP6XOhEpjAEhGYvp5Xj989ns5cB1K6ZdjBYuS30umT4CQEETaxSiPcZ/E1kFktX4GkrcM4qu07IIlDYX1gp+A==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-environment-node@29.6.1: resolution: {integrity: sha512-ZNIfAiE+foBog24W+2caIldl4Irh8Lx1PUhg/GZ0odM1d/h2qORAsejiFc7zb+SEmYPn1yDZzEDSU5PmDkmVLQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-get-type@27.5.1: resolution: {integrity: sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-get-type@28.0.2: resolution: {integrity: sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-get-type@29.4.3: resolution: {integrity: sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-haste-map@27.5.1: resolution: {integrity: sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-haste-map@28.1.3: resolution: {integrity: sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-jasmine2@27.5.1: resolution: {integrity: sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-leak-detector@27.5.1: resolution: {integrity: sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-leak-detector@28.1.3: resolution: {integrity: sha512-WFVJhnQsiKtDEo5lG2mM0v40QWnBM+zMdHHyJs8AWZ7J0QZJS59MsyKeJHWhpBZBH32S48FOVvGyOFT1h0DlqA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-localstorage-mock@2.4.26: resolution: {integrity: sha512-owAJrYnjulVlMIXOYQIPRCCn3MmqI3GzgfZCXdD3/pmwrIvFMXcKVWZ+aMc44IzaASapg0Z4SEFxR+v5qxDA2w==} engines: {node: '>=6.16.0'} jest-matcher-utils@27.5.1: resolution: {integrity: sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-matcher-utils@28.1.3: resolution: {integrity: sha512-kQeJ7qHemKfbzKoGjHHrRKH6atgxMk8Enkk2iPQ3XwO6oE/KYD8lMYOziCkeSB9G4adPM4nR1DE8Tf5JeWH6Bw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-message-util@27.5.1: resolution: {integrity: sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-message-util@28.1.3: resolution: {integrity: sha512-PFdn9Iewbt575zKPf1286Ht9EPoJmYT7P0kY+RibeYZ2XtOr53pDLEFoTWXbd1h4JiGiWpTBC84fc8xMXQMb7g==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-message-util@29.6.1: resolution: {integrity: sha512-KoAW2zAmNSd3Gk88uJ56qXUWbFk787QKmjjJVOjtGFmmGSZgDBrlIL4AfQw1xyMYPNVD7dNInfIbur9B2rd/wQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-mock@27.5.1: resolution: {integrity: sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-mock@28.1.3: resolution: {integrity: sha512-o3J2jr6dMMWYVH4Lh/NKmDXdosrsJgi4AviS8oXLujcjpCMBb1FMsblDnOXKZKfSiHLxYub1eS0IHuRXsio9eA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-mock@29.6.1: resolution: {integrity: sha512-brovyV9HBkjXAEdRooaTQK42n8usKoSRR3gihzUpYeV/vwqgSoNfrksO7UfSACnPmxasO/8TmHM3w9Hp3G1dgw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-pnp-resolver@1.2.3: resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} engines: {node: '>=6'} peerDependencies: jest-resolve: '*' peerDependenciesMeta: jest-resolve: optional: true jest-regex-util@27.5.1: resolution: {integrity: sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-regex-util@28.0.2: resolution: {integrity: sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-resolve-dependencies@27.5.1: resolution: {integrity: sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-resolve-dependencies@28.1.3: resolution: {integrity: sha512-qa0QO2Q0XzQoNPouMbCc7Bvtsem8eQgVPNkwn9LnS+R2n8DaVDPL/U1gngC0LTl1RYXJU0uJa2BMC2DbTfFrHA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-resolve@27.5.1: resolution: {integrity: sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-resolve@28.1.3: resolution: {integrity: sha512-Z1W3tTjE6QaNI90qo/BJpfnvpxtaFTFw5CDgwpyE/Kz8U/06N1Hjf4ia9quUhCh39qIGWF1ZuxFiBiJQwSEYKQ==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-runner@27.5.1: resolution: {integrity: sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-runner@28.1.3: resolution: {integrity: sha512-GkMw4D/0USd62OVO0oEgjn23TM+YJa2U2Wu5zz9xsQB1MxWKDOlrnykPxnMsN0tnJllfLPinHTka61u0QhaxBA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-runtime@27.5.1: resolution: {integrity: sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-runtime@28.1.3: resolution: {integrity: sha512-NU+881ScBQQLc1JHG5eJGU7Ui3kLKrmwCPPtYsJtBykixrM2OhVQlpMmFWJjMyDfdkGgBMNjXCGB/ebzsgNGQw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-serializer@27.5.1: resolution: {integrity: sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-snapshot@27.5.1: resolution: {integrity: sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-snapshot@28.1.3: resolution: {integrity: sha512-4lzMgtiNlc3DU/8lZfmqxN3AYD6GGLbl+72rdBpXvcV+whX7mDrREzkPdp2RnmfIiWBg1YbuFSkXduF2JcafJg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-util@27.5.1: resolution: {integrity: sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-util@28.1.3: resolution: {integrity: sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-util@29.6.1: resolution: {integrity: sha512-NRFCcjc+/uO3ijUVyNOQJluf8PtGCe/W6cix36+M3cTFgiYqFOOW5MgN4JOOcvbUhcKTYVd1CvHz/LWi8d16Mg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-validate@27.5.1: resolution: {integrity: sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-validate@28.1.3: resolution: {integrity: sha512-SZbOGBWEsaTxBGCOpsRWlXlvNkvTkY0XxRfh7zYmvd8uL5Qzyg0CHAXiXKROflh801quA6+/DsT4ODDthOC/OA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-validate@29.6.1: resolution: {integrity: sha512-r3Ds69/0KCN4vx4sYAbGL1EVpZ7MSS0vLmd3gV78O+NAx3PDQQukRU5hNHPXlyqCgFY8XUk7EuTMLugh0KzahA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} jest-watch-typeahead@1.1.0: resolution: {integrity: sha512-Va5nLSJTN7YFtC2jd+7wsoe1pNe5K4ShLux/E5iHEwlB9AxaxmggY7to9KUqKojhaJw3aXqt5WAb4jGPOolpEw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: jest: ^27.0.0 || ^28.0.0 jest-watcher@27.5.1: resolution: {integrity: sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} jest-watcher@28.1.3: resolution: {integrity: sha512-t4qcqj9hze+jviFPUN3YAtAEeFnr/azITXQEMARf5cMwKY2SMBRnCQTXLixTl20OR6mLh9KLMrgVJgJISym+1g==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest-worker@26.6.2: resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} engines: {node: '>= 10.13.0'} jest-worker@27.5.1: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} jest-worker@28.1.3: resolution: {integrity: sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} jest@27.5.1: resolution: {integrity: sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true jest@28.1.3: resolution: {integrity: sha512-N4GT5on8UkZgH0O5LUavMRV1EDEhNTL0KEfRmDIeZHSV7p2XgLoY9t9VDUgL6o+yfdgYHVxuz81G8oB9VG5uyA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} hasBin: true peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true jimp-compact@0.16.1: resolution: {integrity: sha512-dZ6Ra7u1G8c4Letq/B5EzAxj4tLFHL+cGtdpR+PVm4yzPDj+lCk+AbivWt1eOM+ikzkowtyV7qSqX6qr3t71Ww==} jiti@1.19.1: resolution: {integrity: sha512-oVhqoRDaBXf7sjkll95LHVS6Myyyb1zaunVwk4Z0+WPSW4gjS0pl01zYKHScTuyEhQsFxV5L4DR5r+YqSyqyyg==} hasBin: true joi@17.9.2: resolution: {integrity: sha512-Itk/r+V4Dx0V3c7RLFdRh12IOjySm2/WGPMubBT92cQvRfYZhPM2W0hZlctjj72iES8jsRCwp7S/cRmWBnJ4nw==} join-component@1.1.0: resolution: {integrity: sha512-bF7vcQxbODoGK1imE2P9GS9aw4zD0Sd+Hni68IMZLj7zRnquH7dXUmMw9hDI5S/Jzt7q+IyTXN0rSg2GI0IKhQ==} joycon@3.1.1: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} engines: {node: '>=10'} js-base64@3.7.5: resolution: {integrity: sha512-3MEt5DTINKqfScXKfJFrRbxkrnk2AxPWGBL/ycjz4dK8iqiSJ06UxD8jh8xuh6p10TX4t2+7FsBYVxxQbMg+qA==} js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true jsbi@3.2.5: resolution: {integrity: sha512-aBE4n43IPvjaddScbvWRA2YlTzKEynHzu7MqOyTipdHucf/VxS63ViCjxYRg86M8Rxwbt/GfzHl1kKERkt45fQ==} jsc-android@250231.0.0: resolution: {integrity: sha512-rS46PvsjYmdmuz1OAWXY/1kCYG7pnf1TBqeTiOJr1iDz7s5DLxxC9n/ZMknLDxzYzNVfI7R95MH10emSSG1Wuw==} jsc-safe-url@0.2.4: resolution: {integrity: sha512-0wM3YBWtYePOjfyXQH5MWQ8H7sdk5EXSwZvmSLKk2RboVQ2Bu239jycHDz5J/8Blf3K0Qnoy2b6xD+z10MFB+Q==} jscodeshift@0.14.0: resolution: {integrity: sha512-7eCC1knD7bLUPuSCwXsMZUH51O8jIcoVyKtI6P0XM0IVzlGjckPy3FIwQlorzbN0Sg79oK+RlohN32Mqf/lrYA==} hasBin: true peerDependencies: '@babel/preset-env': ^7.1.6 jsdom@16.7.0: resolution: {integrity: sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==} engines: {node: '>=10'} peerDependencies: canvas: ^2.5.0 peerDependenciesMeta: canvas: optional: true jsdom@19.0.0: resolution: {integrity: sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==} engines: {node: '>=12'} peerDependencies: canvas: ^2.5.0 peerDependenciesMeta: canvas: optional: true jsesc@0.5.0: resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} hasBin: true jsesc@2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} hasBin: true json-parse-better-errors@1.0.2: resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} json-rpc-random-id@1.0.1: resolution: {integrity: sha512-RJ9YYNCkhVDBuP4zN5BBtYAzEl03yq/jIIsyif0JY9qyJuQQZNeDK7anAPKKlyEtLSj2s8h6hNh2F8zO5q7ScA==} json-schema-deref-sync@0.13.0: resolution: {integrity: sha512-YBOEogm5w9Op337yb6pAT6ZXDqlxAsQCanM3grid8lMWNxRJO/zWEJi3ZzqDL8boWfwhTFym5EFrNgWwpqcBRg==} engines: {node: '>=6.0.0'} json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} json-schema@0.4.0: resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} json-stable-stringify@1.0.2: resolution: {integrity: sha512-eunSSaEnxV12z+Z73y/j5N37/In40GK4GmsSy+tEHJMxknvqnA7/djeYtAgW0GsWHUfg+847WJjKaEylk2y09g==} json-stable-stringify@1.1.1: resolution: {integrity: sha512-SU/971Kt5qVQfJpyDveVhQ/vya+5hvrjClFOcr8c0Fq5aODJjMwutrOfCU+eCnVD5gpx1Q3fEqkyom77zH1iIg==} engines: {node: '>= 0.4'} json-stringify-safe@5.0.1: resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} json2mq@0.2.0: resolution: {integrity: sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA==} json5@1.0.2: resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} hasBin: true json5@2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} hasBin: true jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} jsonify@0.0.1: resolution: {integrity: sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==} jsonparse@1.3.1: resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==} engines: {'0': node >= 0.2.0} jsonpointer@5.0.1: resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==} engines: {node: '>=0.10.0'} jsonschema@1.2.2: resolution: {integrity: sha512-iX5OFQ6yx9NgbHCwse51ohhKgLuLL7Z5cNOeZOPIlDUtAMrxlruHLzVZxbltdHE5mEDXN+75oFOwq6Gn0MZwsA==} jsqr@1.4.0: resolution: {integrity: sha512-dxLob7q65Xg2DvstYkRpkYtmKm2sPJ9oFhrhmudT1dZvNFFTlroai3AWSpLey/w5vMcLBXRgOJsbXpdN9HzU/A==} jsx-ast-utils@3.3.4: resolution: {integrity: sha512-fX2TVdCViod6HwKEtSWGHs57oFhVfCMwieb9PuRDgjDPh5XeqJiHFFFJCHxU5cnTc3Bu/GRL+kPiFmw8XWOfKw==} engines: {node: '>=4.0'} keccak@3.0.3: resolution: {integrity: sha512-JZrLIAJWuZxKbCilMpNz5Vj7Vtb4scDG3dMXLOsbzBmQGyjwE61BbW7bJkfKKCShXiQZt3T6sBgALRtmd+nZaQ==} engines: {node: '>=10.0.0'} keyvaluestorage-interface@1.0.0: resolution: {integrity: sha512-8t6Q3TclQ4uZynJY9IGr2+SsIGwK9JHcO6ootkHCGA0CrQCRy+VkouYNO2xicET6b9al7QKzpebNow+gkpCL8g==} kind-of@6.0.3: resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} engines: {node: '>=0.10.0'} kleur@3.0.3: resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} engines: {node: '>=6'} kleur@4.1.5: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} klona@2.0.6: resolution: {integrity: sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA==} engines: {node: '>= 8'} language-subtag-registry@0.3.22: resolution: {integrity: sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==} language-tags@1.0.5: resolution: {integrity: sha512-qJhlO9cGXi6hBGKoxEG/sKZDAHD5Hnu9Hs4WbOY3pCWXDhw0N8x1NenNzm2EnNLkLkk7J2SdxAkDSbb6ftT+UQ==} launch-editor@2.6.0: resolution: {integrity: sha512-JpDCcQnyAAzZZaZ7vEiSqL690w7dAEyLao+KC96zBplnYbJS7TYNjvM3M7y3dGz+v7aIsJk3hllWuc0kWAjyRQ==} less-loader@7.3.0: resolution: {integrity: sha512-Mi8915g7NMaLlgi77mgTTQvK022xKRQBIVDSyfl3ErTuBhmZBQab0mjeJjNNqGbdR+qrfTleKXqbGI4uEFavxg==} engines: {node: '>= 10.13.0'} peerDependencies: less: ^3.5.0 || ^4.0.0 webpack: ^4.0.0 || ^5.0.0 less@4.1.3: resolution: {integrity: sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==} engines: {node: '>=6'} hasBin: true leven@3.1.0: resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} engines: {node: '>=6'} levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} lighthouse-logger@1.4.2: resolution: {integrity: sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g==} lightningcss-darwin-arm64@1.19.0: resolution: {integrity: sha512-wIJmFtYX0rXHsXHSr4+sC5clwblEMji7HHQ4Ub1/CznVRxtCFha6JIt5JZaNf8vQrfdZnBxLLC6R8pC818jXqg==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] lightningcss-darwin-arm64@1.21.5: resolution: {integrity: sha512-z05hyLX85WY0UfhkFUOrWEFqD69lpVAmgl3aDzMKlIZJGygbhbegqb4PV8qfUrKKNBauut/qVNPKZglhTaDDxA==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [darwin] lightningcss-darwin-x64@1.19.0: resolution: {integrity: sha512-Lif1wD6P4poaw9c/4Uh2z+gmrWhw/HtXFoeZ3bEsv6Ia4tt8rOJBdkfVaUJ6VXmpKHALve+iTyP2+50xY1wKPw==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] lightningcss-darwin-x64@1.21.5: resolution: {integrity: sha512-MSJhmej/U9MrdPxDk7+FWhO8+UqVoZUHG4VvKT5RQ4RJtqtANTiWiI97LvoVNMtdMnHaKs1Pkji6wHUFxjJsHQ==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [darwin] lightningcss-linux-arm-gnueabihf@1.19.0: resolution: {integrity: sha512-P15VXY5682mTXaiDtbnLYQflc8BYb774j2R84FgDLJTN6Qp0ZjWEFyN1SPqyfTj2B2TFjRHRUvQSSZ7qN4Weig==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] lightningcss-linux-arm-gnueabihf@1.21.5: resolution: {integrity: sha512-xN6+5/JsMrbZHL1lPl+MiNJ3Xza12ueBKPepiyDCFQzlhFRTj7D0LG+cfNTzPBTO8KcYQynLpl1iBB8LGp3Xtw==} engines: {node: '>= 12.0.0'} cpu: [arm] os: [linux] lightningcss-linux-arm64-gnu@1.19.0: resolution: {integrity: sha512-zwXRjWqpev8wqO0sv0M1aM1PpjHz6RVIsBcxKszIG83Befuh4yNysjgHVplF9RTU7eozGe3Ts7r6we1+Qkqsww==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] lightningcss-linux-arm64-gnu@1.21.5: resolution: {integrity: sha512-KfzFNhC4XTbmG3ma/xcTs/IhCwieW89XALIusKmnV0N618ZDXEB0XjWOYQRCXeK9mfqPdbTBpurEHV/XZtkniQ==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] lightningcss-linux-arm64-musl@1.19.0: resolution: {integrity: sha512-vSCKO7SDnZaFN9zEloKSZM5/kC5gbzUjoJQ43BvUpyTFUX7ACs/mDfl2Eq6fdz2+uWhUh7vf92c4EaaP4udEtA==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] lightningcss-linux-arm64-musl@1.21.5: resolution: {integrity: sha512-bc0GytQO5Mn9QM6szaZ+31fQHNdidgpM1sSCwzPItz8hg3wOvKl8039rU0veMJV3ZgC9z0ypNRceLrSHeRHmXw==} engines: {node: '>= 12.0.0'} cpu: [arm64] os: [linux] lightningcss-linux-x64-gnu@1.19.0: resolution: {integrity: sha512-0AFQKvVzXf9byrXUq9z0anMGLdZJS+XSDqidyijI5njIwj6MdbvX2UZK/c4FfNmeRa2N/8ngTffoIuOUit5eIQ==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] lightningcss-linux-x64-gnu@1.21.5: resolution: {integrity: sha512-JwMbgypPQgc2kW2av3OwzZ8cbrEuIiDiXPJdXRE6aVxu67yHauJawQLqJKTGUhiAhy6iLDG8Wg0a3/ziL+m+Kw==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] lightningcss-linux-x64-musl@1.19.0: resolution: {integrity: sha512-SJoM8CLPt6ECCgSuWe+g0qo8dqQYVcPiW2s19dxkmSI5+Uu1GIRzyKA0b7QqmEXolA+oSJhQqCmJpzjY4CuZAg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] lightningcss-linux-x64-musl@1.21.5: resolution: {integrity: sha512-Ib8b6IQ/OR/VrPU6YBgy4T3QnuHY7DUa95O+nz+cwrTkMSN6fuHcTcIaz4t8TJ6HI5pl3uxUOZjmtls2pyQWow==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [linux] lightningcss-win32-x64-msvc@1.19.0: resolution: {integrity: sha512-C+VuUTeSUOAaBZZOPT7Etn/agx/MatzJzGRkeV+zEABmPuntv1zihncsi+AyGmjkkzq3wVedEy7h0/4S84mUtg==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] lightningcss-win32-x64-msvc@1.21.5: resolution: {integrity: sha512-A8cSi8lUpBeVmoF+DqqW7cd0FemDbCuKr490IXdjyeI+KL8adpSKUs8tcqO0OXPh1EoDqK7JNkD/dELmd4Iz5g==} engines: {node: '>= 12.0.0'} cpu: [x64] os: [win32] lightningcss@1.19.0: resolution: {integrity: sha512-yV5UR7og+Og7lQC+70DA7a8ta1uiOPnWPJfxa0wnxylev5qfo4P+4iMpzWAdYWOca4jdNQZii+bDL/l+4hUXIA==} engines: {node: '>= 12.0.0'} lightningcss@1.21.5: resolution: {integrity: sha512-/pEUPeih2EwIx9n4T82aOG6CInN83tl/mWlw6B5gWLf36UplQi1L+5p3FUHsdt4fXVfOkkh9KIaM3owoq7ss8A==} engines: {node: '>= 12.0.0'} lilconfig@2.1.0: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} engines: {node: '>=10'} lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} lmdb@2.7.11: resolution: {integrity: sha512-x9bD4hVp7PFLUoELL8RglbNXhAMt5CYhkmss+CEau9KlNoilsTzNi9QDsPZb3KMpOGZXG6jmXhW3bBxE2XVztw==} hasBin: true load-yaml-file@0.2.0: resolution: {integrity: sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw==} engines: {node: '>=6'} loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} loader-utils@2.0.4: resolution: {integrity: sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==} engines: {node: '>=8.9.0'} loader-utils@3.2.1: resolution: {integrity: sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw==} engines: {node: '>= 12.13.0'} locate-path@3.0.0: resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} engines: {node: '>=6'} locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} locate-path@6.0.0: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} lodash-es@4.17.21: resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} lodash.debounce@4.0.8: resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} lodash.isequal@4.5.0: resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} lodash.memoize@4.1.2: resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} lodash.sortby@4.7.0: resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} lodash.startcase@4.4.0: resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} lodash.throttle@4.1.1: resolution: {integrity: sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==} lodash.uniq@4.5.0: resolution: {integrity: sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==} lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} log-symbols@2.2.0: resolution: {integrity: sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==} engines: {node: '>=4'} log-symbols@4.1.0: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} logkitty@0.7.1: resolution: {integrity: sha512-/3ER20CTTbahrCrpYfPn7Xavv9diBROZpoXGVZDWMw4b/X4uuUwAC0ki85tgsdMRONURyIJbcOvS94QsUBYPbQ==} hasBin: true loglevel@1.8.1: resolution: {integrity: sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==} engines: {node: '>= 0.6.0'} long@4.0.0: resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} long@5.2.3: resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} lru-cache@4.1.5: resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} lru-cache@6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} engines: {node: '>=10'} lunr@2.3.9: resolution: {integrity: sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==} lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} hasBin: true magic-string@0.25.9: resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} engines: {node: '>=6'} make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} makeerror@1.0.12: resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} map-obj@1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} engines: {node: '>=0.10.0'} map-obj@4.3.0: resolution: {integrity: sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==} engines: {node: '>=8'} marked@4.3.0: resolution: {integrity: sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==} engines: {node: '>= 12'} hasBin: true marky@1.2.5: resolution: {integrity: sha512-q9JtQJKjpsVxCRVgQ+WapguSbKC3SQ5HEzFGPAJMStgh3QjCawp00UKv3MTTAArTmGmmPUvllHZoNbZ3gs0I+Q==} md5-file@3.2.3: resolution: {integrity: sha512-3Tkp1piAHaworfcCgH0jKbTvj1jWWFgbvh2cXaNCgHwyTCBxxvD1Y04rmfpvdPm1P4oXMOpm6+2H7sr7v9v8Fw==} engines: {node: '>=0.10'} hasBin: true md5.js@1.3.5: resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} md5@2.2.1: resolution: {integrity: sha512-PlGG4z5mBANDGCKsYQe0CaUYHdZYZt8ZPZLmEt+Urf0W4GlpTX4HescwHU+dc9+Z/G/vZKYZYFrwgm9VxK6QOQ==} md5@2.3.0: resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==} md5hex@1.0.0: resolution: {integrity: sha512-c2YOUbp33+6thdCUi34xIyOU/a7bvGKj/3DB1iaPMTuPHf/Q2d5s4sn1FaCOO43XkXggnb08y5W2PU8UNYNLKQ==} mdn-data@2.0.14: resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==} mdn-data@2.0.4: resolution: {integrity: sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==} media-typer@0.3.0: resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} engines: {node: '>= 0.6'} memfs@3.5.3: resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==} engines: {node: '>= 4.0.0'} memoize-one@5.2.1: resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==} memory-cache@0.2.0: resolution: {integrity: sha512-OcjA+jzjOYzKmKS6IQVALHLVz+rNTMPoJvCztFaZxwG14wtAW7VRZjwTQu06vKCYOxh4jVnik7ya0SXTB0W+xA==} meow@6.1.1: resolution: {integrity: sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==} engines: {node: '>=8'} merge-descriptors@1.0.1: resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==} merge-options@3.0.4: resolution: {integrity: sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==} engines: {node: '>=10'} merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} methods@1.1.2: resolution: {integrity: sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==} engines: {node: '>= 0.6'} metro-babel-transformer@0.76.7: resolution: {integrity: sha512-bgr2OFn0J4r0qoZcHrwEvccF7g9k3wdgTOgk6gmGHrtlZ1Jn3oCpklW/DfZ9PzHfjY2mQammKTc19g/EFGyOJw==} engines: {node: '>=16'} metro-cache-key@0.76.7: resolution: {integrity: sha512-0pecoIzwsD/Whn/Qfa+SDMX2YyasV0ndbcgUFx7w1Ct2sLHClujdhQ4ik6mvQmsaOcnGkIyN0zcceMDjC2+BFQ==} engines: {node: '>=16'} metro-cache@0.76.7: resolution: {integrity: sha512-nWBMztrs5RuSxZRI7hgFgob5PhYDmxICh9FF8anm9/ito0u0vpPvRxt7sRu8fyeD2AHdXqE7kX32rWY0LiXgeg==} engines: {node: '>=16'} metro-config@0.76.7: resolution: {integrity: sha512-CFDyNb9bqxZemiChC/gNdXZ7OQkIwmXzkrEXivcXGbgzlt/b2juCv555GWJHyZSlorwnwJfY3uzAFu4A9iRVfg==} engines: {node: '>=16'} metro-core@0.76.7: resolution: {integrity: sha512-0b8KfrwPmwCMW+1V7ZQPkTy2tsEKZjYG9Pu1PTsu463Z9fxX7WaR0fcHFshv+J1CnQSUTwIGGjbNvj1teKe+pw==} engines: {node: '>=16'} metro-file-map@0.76.7: resolution: {integrity: sha512-s+zEkTcJ4mOJTgEE2ht4jIo1DZfeWreQR3tpT3gDV/Y/0UQ8aJBTv62dE775z0GLsWZApiblAYZsj7ZE8P06nw==} engines: {node: '>=16'} metro-inspector-proxy@0.76.7: resolution: {integrity: sha512-rNZ/6edTl/1qUekAhAbaFjczMphM50/UjtxiKulo6vqvgn/Mjd9hVqDvVYfAMZXqPvlusD88n38UjVYPkruLSg==} engines: {node: '>=16'} hasBin: true metro-minify-terser@0.76.7: resolution: {integrity: sha512-FQiZGhIxCzhDwK4LxyPMLlq0Tsmla10X7BfNGlYFK0A5IsaVKNJbETyTzhpIwc+YFRT4GkFFwgo0V2N5vxO5HA==} engines: {node: '>=16'} metro-minify-uglify@0.76.7: resolution: {integrity: sha512-FuXIU3j2uNcSvQtPrAJjYWHruPiQ+EpE++J9Z+VznQKEHcIxMMoQZAfIF2IpZSrZYfLOjVFyGMvj41jQMxV1Vw==} engines: {node: '>=16'} metro-react-native-babel-preset@0.76.7: resolution: {integrity: sha512-R25wq+VOSorAK3hc07NW0SmN8z9S/IR0Us0oGAsBcMZnsgkbOxu77Mduqf+f4is/wnWHc5+9bfiqdLnaMngiVw==} engines: {node: '>=16'} peerDependencies: '@babel/core': '*' metro-react-native-babel-transformer@0.76.7: resolution: {integrity: sha512-W6lW3J7y/05ph3c2p3KKJNhH0IdyxdOCbQ5it7aM2MAl0SM4wgKjaV6EYv9b3rHklpV6K3qMH37UKVcjMooWiA==} engines: {node: '>=16'} peerDependencies: '@babel/core': '*' metro-resolver@0.76.7: resolution: {integrity: sha512-pC0Wgq29HHIHrwz23xxiNgylhI8Rq1V01kQaJ9Kz11zWrIdlrH0ZdnJ7GC6qA0ErROG+cXmJ0rJb8/SW1Zp2IA==} engines: {node: '>=16'} metro-runtime@0.76.7: resolution: {integrity: sha512-MuWHubQHymUWBpZLwuKZQgA/qbb35WnDAKPo83rk7JRLIFPvzXSvFaC18voPuzJBt1V98lKQIonh6MiC9gd8Ug==} engines: {node: '>=16'} metro-source-map@0.76.7: resolution: {integrity: sha512-Prhx7PeRV1LuogT0Kn5VjCuFu9fVD68eefntdWabrksmNY6mXK8pRqzvNJOhTojh6nek+RxBzZeD6MIOOyXS6w==} engines: {node: '>=16'} metro-symbolicate@0.76.7: resolution: {integrity: sha512-p0zWEME5qLSL1bJb93iq+zt5fz3sfVn9xFYzca1TJIpY5MommEaS64Va87lp56O0sfEIvh4307Oaf/ZzRjuLiQ==} engines: {node: '>=16'} hasBin: true metro-transform-plugins@0.76.7: resolution: {integrity: sha512-iSmnjVApbdivjuzb88Orb0JHvcEt5veVyFAzxiS5h0QB+zV79w6JCSqZlHCrbNOkOKBED//LqtKbFVakxllnNg==} engines: {node: '>=16'} metro-transform-worker@0.76.7: resolution: {integrity: sha512-cGvELqFMVk9XTC15CMVzrCzcO6sO1lURfcbgjuuPdzaWuD11eEyocvkTX0DPiRjsvgAmicz4XYxVzgYl3MykDw==} engines: {node: '>=16'} metro@0.76.7: resolution: {integrity: sha512-67ZGwDeumEPnrHI+pEDSKH2cx+C81Gx8Mn5qOtmGUPm/Up9Y4I1H2dJZ5n17MWzejNo0XAvPh0QL0CrlJEODVQ==} engines: {node: '>=16'} hasBin: true micro-ftch@0.3.1: resolution: {integrity: sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==} micromatch@4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} engines: {node: '>=8.6'} miller-rabin@4.0.1: resolution: {integrity: sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==} hasBin: true mime-db@1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} mime-types@2.1.35: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} mime@1.6.0: resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} engines: {node: '>=4'} hasBin: true mime@2.6.0: resolution: {integrity: sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==} engines: {node: '>=4.0.0'} hasBin: true mimic-fn@1.2.0: resolution: {integrity: sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==} engines: {node: '>=4'} mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} mini-css-extract-plugin@2.7.6: resolution: {integrity: sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==} engines: {node: '>= 12.13.0'} peerDependencies: webpack: ^5.0.0 minimalistic-assert@1.0.1: resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} minimalistic-crypto-utils@1.0.1: resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} minimatch@5.1.6: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} minimatch@7.4.6: resolution: {integrity: sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==} engines: {node: '>=10'} minimist-options@4.1.0: resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} engines: {node: '>= 6'} minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} minipass-collect@1.0.2: resolution: {integrity: sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==} engines: {node: '>= 8'} minipass-flush@1.0.5: resolution: {integrity: sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==} engines: {node: '>= 8'} minipass-pipeline@1.2.4: resolution: {integrity: sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==} engines: {node: '>=8'} minipass@3.3.6: resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} engines: {node: '>=8'} minipass@5.0.0: resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} engines: {node: '>=8'} minizlib@2.1.2: resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} engines: {node: '>= 8'} mixme@0.5.9: resolution: {integrity: sha512-VC5fg6ySUscaWUpI4gxCBTQMH2RdUpNrk+MsbpCYtIvf9SBJdiUey4qE7BXviJsJR4nDQxCZ+3yaYNW3guz/Pw==} engines: {node: '>= 8.0.0'} mkdirp@0.5.6: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true mkdirp@1.0.4: resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} engines: {node: '>=10'} hasBin: true moment@2.29.4: resolution: {integrity: sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==} ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} msgpackr-extract@3.0.2: resolution: {integrity: sha512-SdzXp4kD/Qf8agZ9+iTu6eql0m3kWm1A2y1hkpTeVNENutaB0BwHlSvAIaMxwntmRUAUjon2V4L8Z/njd0Ct8A==} hasBin: true msgpackr@1.8.5: resolution: {integrity: sha512-mpPs3qqTug6ahbblkThoUY2DQdNXcm4IapwOS3Vm/87vmpzLVelvp9h3It1y9l1VPpiFLV11vfOXnmeEwiIXwg==} msgpackr@1.9.5: resolution: {integrity: sha512-/IJ3cFSN6Ci3eG2wLhbFEL6GT63yEaoN/R5My2QkV6zro+OJaVRLPlwvxY7EtHYSmDlQpk8stvOQTL2qJFkDRg==} multicast-dns@7.2.5: resolution: {integrity: sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==} hasBin: true multiformats@9.9.0: resolution: {integrity: sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==} mv@2.1.1: resolution: {integrity: sha512-at/ZndSy3xEGJ8i0ygALh8ru9qy7gWW1cmkaqBN29JmMlIvM//MEO9y1sk/avxuwnPcfhkejkLsuPxH81BrkSg==} engines: {node: '>=0.8.0'} mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} nan@2.18.0: resolution: {integrity: sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==} nanoid@3.3.6: resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true natural-compare-lite@1.4.0: resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} ncp@2.0.0: resolution: {integrity: sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA==} hasBin: true needle@3.2.0: resolution: {integrity: sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==} engines: {node: '>= 4.4.x'} hasBin: true negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} nested-error-stacks@2.0.1: resolution: {integrity: sha512-SrQrok4CATudVzBS7coSz26QRSmlK9TzzoFbeKfcPBUFPjcQM9Rqvr/DlJkOrwI/0KcgvMub1n1g5Jt9EgRn4A==} next-plugin-antd-less@1.8.0: resolution: {integrity: sha512-LwJAoXVvWfDqsSTlRof7EWKxlFlxgLD/6DkwUX6jnqrJMxH4KAEo3U09w4y3hn1fMh0LIRUWYLdnc1HTgDyh/A==} next@12.3.4: resolution: {integrity: sha512-VcyMJUtLZBGzLKo3oMxrEF0stxh8HwuW976pAzlHhI3t8qJ4SROjCrSh1T24bhrbjw55wfZXAbXPGwPt5FLRfQ==} engines: {node: '>=12.22.0'} hasBin: true peerDependencies: fibers: '>= 3.1.0' node-sass: ^6.0.0 || ^7.0.0 react: ^17.0.2 || ^18.0.0-0 react-dom: ^17.0.2 || ^18.0.0-0 sass: ^1.3.0 peerDependenciesMeta: fibers: optional: true node-sass: optional: true sass: optional: true nice-try@1.0.5: resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} no-case@3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} nocache@3.0.4: resolution: {integrity: sha512-WDD0bdg9mbq6F4mRxEYcPWwfA1vxd0mrvKOyxI7Xj/atfRHVeutzuWByG//jfm4uPzp0y4Kj051EORCBSQMycw==} engines: {node: '>=12.0.0'} node-abort-controller@3.1.1: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} node-addon-api@2.0.2: resolution: {integrity: sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==} node-addon-api@3.2.1: resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==} node-addon-api@4.3.0: resolution: {integrity: sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==} node-addon-api@7.0.0: resolution: {integrity: sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==} node-dir@0.1.17: resolution: {integrity: sha512-tmPX422rYgofd4epzrNoOXiE8XFZYOcCq1vD7MAXCDO+O+zndlA2ztdKKMa+EeuBG5tHETpr4ml4RGgpqDCCAg==} engines: {node: '>= 0.10.5'} node-fetch@2.6.12: resolution: {integrity: sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==} engines: {node: 4.x || >=6.0.0} peerDependencies: encoding: ^0.1.0 peerDependenciesMeta: encoding: optional: true node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} peerDependencies: encoding: ^0.1.0 peerDependenciesMeta: encoding: optional: true node-forge@1.3.1: resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==} engines: {node: '>= 6.13.0'} node-gyp-build-optional-packages@5.0.6: resolution: {integrity: sha512-2ZJErHG4du9G3/8IWl/l9Bp5BBFy63rno5GVmjQijvTuUZKsl6g8RB4KH/x3NLcV5ZBb4GsXmAuTYr6dRml3Gw==} hasBin: true node-gyp-build-optional-packages@5.0.7: resolution: {integrity: sha512-YlCCc6Wffkx0kHkmam79GKvDQ6x+QZkMjFGrIMxgFNILFvGSbCp2fCBC55pGTT9gVaz8Na5CLmxt/urtzRv36w==} hasBin: true node-gyp-build@4.6.0: resolution: {integrity: sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==} hasBin: true node-int64@0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} node-releases@2.0.13: resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} node-stream-zip@1.15.0: resolution: {integrity: sha512-LN4fydt9TqhZhThkZIVQnF9cwjU3qmUH9h78Mx/K7d3VvfRqqwthLwJEUOEL0QPZ0XQmNN7be5Ggit5+4dq3Bw==} engines: {node: '>=0.12.0'} normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} normalize-range@0.1.2: resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==} engines: {node: '>=0.10.0'} normalize-url@6.1.0: resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} engines: {node: '>=10'} notistack@3.0.1: resolution: {integrity: sha512-ntVZXXgSQH5WYfyU+3HfcXuKaapzAJ8fBLQ/G618rn3yvSzEbnOB8ZSOwhX+dAORy/lw+GC2N061JA0+gYWTVA==} engines: {node: '>=12.0.0', npm: '>=6.0.0'} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 npm-package-arg@7.0.0: resolution: {integrity: sha512-xXxr8y5U0kl8dVkz2oK7yZjPBvqM2fwaO5l3Yg13p03v8+E3qQcD0JNhHzjL1vyGgxcKkD0cco+NLR72iuPk3g==} npm-run-path@2.0.2: resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} engines: {node: '>=4'} npm-run-path@4.0.1: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} nth-check@1.0.2: resolution: {integrity: sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==} nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} null-loader@4.0.1: resolution: {integrity: sha512-pxqVbi4U6N26lq+LmgIbB5XATP0VdZKOG25DhHi8btMmJJefGArFyDg1yc4U3hWCJbMqSrw0qyrz1UQX+qYXqg==} engines: {node: '>= 10.13.0'} peerDependencies: webpack: ^4.0.0 || ^5.0.0 nullthrows@1.1.1: resolution: {integrity: sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==} nwsapi@2.2.7: resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} ob1@0.76.7: resolution: {integrity: sha512-BQdRtxxoUNfSoZxqeBGOyuT9nEYSn18xZHwGMb0mMVpn2NBcYbnyKY4BK2LIHRgw33CBGlUmE+KMaNvyTpLLtQ==} engines: {node: '>=16'} object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} object-hash@3.0.0: resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} engines: {node: '>= 6'} object-inspect@1.12.3: resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} object-is@1.1.5: resolution: {integrity: sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==} engines: {node: '>= 0.4'} object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} object.assign@4.1.4: resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} engines: {node: '>= 0.4'} object.entries@1.1.6: resolution: {integrity: sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==} engines: {node: '>= 0.4'} object.fromentries@2.0.6: resolution: {integrity: sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==} engines: {node: '>= 0.4'} object.getownpropertydescriptors@2.1.6: resolution: {integrity: sha512-lq+61g26E/BgHv0ZTFgRvi7NMEPuAxLkFU7rukXjc/AlwH4Am5xXVnIXy3un1bg/JPbXHrixRkK1itUzzPiIjQ==} engines: {node: '>= 0.8'} object.hasown@1.1.2: resolution: {integrity: sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==} object.values@1.1.6: resolution: {integrity: sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==} engines: {node: '>= 0.4'} oblivious-set@1.1.1: resolution: {integrity: sha512-Oh+8fK09mgGmAshFdH6hSVco6KZmd1tTwNFWj35OvzdmJTMZtAkbn05zar2iG3v6sDs1JLEtOiBGNb6BHwkb2w==} obuf@1.1.2: resolution: {integrity: sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==} on-exit-leak-free@0.2.0: resolution: {integrity: sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg==} on-exit-leak-free@2.1.0: resolution: {integrity: sha512-VuCaZZAjReZ3vUwgOB8LxAosIurDiAW0s13rI1YwmaP++jvcxP77AWoQvenZebpCA2m8WC1/EosPYPMjnRAp/w==} on-finished@2.3.0: resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} engines: {node: '>= 0.8'} on-finished@2.4.1: resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} engines: {node: '>= 0.8'} on-headers@1.0.2: resolution: {integrity: sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==} engines: {node: '>= 0.8'} once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} onetime@2.0.1: resolution: {integrity: sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ==} engines: {node: '>=4'} onetime@5.1.2: resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} engines: {node: '>=6'} open@6.4.0: resolution: {integrity: sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==} engines: {node: '>=8'} open@7.4.2: resolution: {integrity: sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==} engines: {node: '>=8'} open@8.4.2: resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} engines: {node: '>=12'} optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} ora@3.4.0: resolution: {integrity: sha512-eNwHudNbO1folBP3JsZ19v9azXWtQZjICdr3Q0TDPIaeBQ3mXLrh54wM+er0+hSp+dWKf+Z8KM58CYzEyIYxYg==} engines: {node: '>=6'} ora@5.4.1: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} engines: {node: '>=10'} ordered-binary@1.4.1: resolution: {integrity: sha512-9LtiGlPy982CsgxZvJGNNp2/NnrgEr6EAyN3iIEP3/8vd3YLgAZQHbQ75ZrkfBRGrNg37Dk3U6tuVb+B4Xfslg==} os-homedir@1.0.2: resolution: {integrity: sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==} engines: {node: '>=0.10.0'} os-tmpdir@1.0.2: resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} engines: {node: '>=0.10.0'} osenv@0.1.5: resolution: {integrity: sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==} deprecated: This package is no longer supported. outdent@0.5.0: resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} p-filter@2.1.0: resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} engines: {node: '>=8'} p-finally@1.0.0: resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} engines: {node: '>=4'} p-limit@2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} engines: {node: '>=6'} p-limit@3.1.0: resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} engines: {node: '>=10'} p-locate@3.0.0: resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} engines: {node: '>=6'} p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} p-locate@5.0.0: resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} engines: {node: '>=10'} p-map@2.1.0: resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} engines: {node: '>=6'} p-map@4.0.0: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} p-retry@4.6.2: resolution: {integrity: sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==} engines: {node: '>=8'} p-try@2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} pako@1.0.11: resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} param-case@3.0.4: resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} parcel@2.9.3: resolution: {integrity: sha512-2GTVocFkwblV/TIg9AmT7TI2fO4xdWkyN8aFUEVtiVNWt96GTR3FgQyHFValfCbcj1k9Xf962Ws2hYXYUr9k1Q==} engines: {node: '>= 12.0.0'} hasBin: true parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} parse-asn1@5.1.6: resolution: {integrity: sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==} parse-json@4.0.0: resolution: {integrity: sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==} engines: {node: '>=4'} parse-json@5.2.0: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} parse-node-version@1.0.1: resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==} engines: {node: '>= 0.10'} parse-png@2.1.0: resolution: {integrity: sha512-Nt/a5SfCLiTnQAjx3fHlqp8hRgTL3z7kTQZzvIMS9uCAepnCyjpdEc6M/sz69WqMBdaDBw9sF1F1UaHROYzGkQ==} engines: {node: '>=10'} parse5@6.0.1: resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} pascal-case@3.1.2: resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} password-prompt@1.1.3: resolution: {integrity: sha512-HkrjG2aJlvF0t2BMH0e2LB/EHf3Lcq3fNMzy4GYHcQblAvOl+QQji1Lx7WRBMqpVK8p+KR7bCg7oqAMXtdgqyw==} path-exists@3.0.0: resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} engines: {node: '>=4'} path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} path-key@2.0.1: resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} engines: {node: '>=4'} path-key@3.1.1: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} path-to-regexp@0.1.7: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} pbkdf2@3.1.2: resolution: {integrity: sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==} engines: {node: '>=0.12'} performance-now@2.1.0: resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} picocolors@0.2.1: resolution: {integrity: sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==} picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} picomatch@3.0.1: resolution: {integrity: sha512-I3EurrIQMlRc9IaAZnqRR044Phh2DXY+55o7uJ0V+hYZAcQYSuFWsc9q5PvyDHUSCe1Qxn/iBz+78s86zWnGag==} engines: {node: '>=10'} pify@2.3.0: resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} engines: {node: '>=0.10.0'} pify@4.0.1: resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} engines: {node: '>=6'} pinkie-promise@2.0.1: resolution: {integrity: sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==} engines: {node: '>=0.10.0'} pinkie@2.0.4: resolution: {integrity: sha512-MnUuEycAemtSaeFSjXKW/aroV7akBbY+Sv+RkyqFjgAe73F+MR0TBWKBRDkmfWq/HiFmdavfZ1G7h4SPZXaCSg==} engines: {node: '>=0.10.0'} pino-abstract-transport@0.5.0: resolution: {integrity: sha512-+KAgmVeqXYbTtU2FScx1XS3kNyfZ5TrXY07V96QnUSFqo2gAqlvmaxH67Lj7SWazqsMabf+58ctdTcBgnOLUOQ==} pino-abstract-transport@1.0.0: resolution: {integrity: sha512-c7vo5OpW4wIS42hUVcT5REsL8ZljsUfBjqV/e2sFxmFEFZiq1XLUp5EYLtuDH6PEHq9W1egWqRbnLUP5FuZmOA==} pino-pretty@10.0.1: resolution: {integrity: sha512-yrn00+jNpkvZX/NrPVCPIVHAfTDy3ahF0PND9tKqZk4j9s+loK8dpzrJj4dGb7i+WLuR50ussuTAiWoMWU+qeA==} hasBin: true pino-std-serializers@4.0.0: resolution: {integrity: sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q==} pino-std-serializers@6.2.2: resolution: {integrity: sha512-cHjPPsE+vhj/tnhCy/wiMh3M3z3h/j15zHQX+S9GkTBgqJuTuJzYJ4gUyACLhDaJ7kk9ba9iRDmbH2tJU03OiA==} pino@7.11.0: resolution: {integrity: sha512-dMACeu63HtRLmCG8VKdy4cShCPKaYDR4youZqoSWLxl5Gu99HUw8bw75thbPv9Nip+H+QYX8o3ZJbTdVZZ2TVg==} hasBin: true pirates@4.0.6: resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} engines: {node: '>= 6'} pkg-dir@3.0.0: resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==} engines: {node: '>=6'} pkg-dir@4.2.0: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} pkg-up@3.1.0: resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==} engines: {node: '>=8'} plist@3.1.0: resolution: {integrity: sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==} engines: {node: '>=10.4.0'} pngjs@3.4.0: resolution: {integrity: sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==} engines: {node: '>=4.0.0'} pnpm@9.1.1: resolution: {integrity: sha512-FOkVdZwR936sB/q6TQGcGT7IY3Ip5i7Jnu+3zzw7dcZER4grfEhRQkUe46a0CAWc37e3+gNBuXXxLQ92KccRlQ==} engines: {node: '>=18.12'} hasBin: true pony-cause@2.1.10: resolution: {integrity: sha512-3IKLNXclQgkU++2fSi93sQ6BznFuxSLB11HdvZQ6JW/spahf/P1pAHBQEahr20rs0htZW0UDkM1HmA+nZkXKsw==} engines: {node: '>=12.0.0'} postcss-attribute-case-insensitive@5.0.2: resolution: {integrity: sha512-XIidXV8fDr0kKt28vqki84fRK8VW8eTuIa4PChv2MqKuT6C9UjmSKzen6KaWhWEoYvwxFCa7n/tC1SZ3tyq4SQ==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-browser-comments@4.0.0: resolution: {integrity: sha512-X9X9/WN3KIvY9+hNERUqX9gncsgBA25XaeR+jshHz2j8+sYyHktHw1JdKuMjeLpGktXidqDhA7b/qm1mrBDmgg==} engines: {node: '>=8'} peerDependencies: browserslist: '>=4' postcss: '>=8' postcss-calc@8.2.4: resolution: {integrity: sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q==} peerDependencies: postcss: ^8.2.2 postcss-clamp@4.1.0: resolution: {integrity: sha512-ry4b1Llo/9zz+PKC+030KUnPITTJAHeOwjfAyyB60eT0AorGLdzp52s31OsPRHRf8NchkgFoG2y6fCfn1IV1Ow==} engines: {node: '>=7.6.0'} peerDependencies: postcss: ^8.4.6 postcss-color-functional-notation@4.2.4: resolution: {integrity: sha512-2yrTAUZUab9s6CpxkxC4rVgFEVaR6/2Pipvi6qcgvnYiVqZcbDHEoBDhrXzyb7Efh2CCfHQNtcqWcIruDTIUeg==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-color-hex-alpha@8.0.4: resolution: {integrity: sha512-nLo2DCRC9eE4w2JmuKgVA3fGL3d01kGq752pVALF68qpGLmx2Qrk91QTKkdUqqp45T1K1XV8IhQpcu1hoAQflQ==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.4 postcss-color-rebeccapurple@7.1.1: resolution: {integrity: sha512-pGxkuVEInwLHgkNxUc4sdg4g3py7zUeCQ9sMfwyHAT+Ezk8a4OaaVZ8lIY5+oNqA/BXXgLyXv0+5wHP68R79hg==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-colormin@5.3.1: resolution: {integrity: sha512-UsWQG0AqTFQmpBegeLLc1+c3jIqBNB0zlDGRWR+dQ3pRKJL1oeMzyqmH3o2PIfn9MBdNrVPWhDbT769LxCTLJQ==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-convert-values@5.1.3: resolution: {integrity: sha512-82pC1xkJZtcJEfiLw6UXnXVXScgtBrjlO5CBmuDQc+dlb88ZYheFsjTn40+zBVi3DkfF7iezO0nJUPLcJK3pvA==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-custom-media@8.0.2: resolution: {integrity: sha512-7yi25vDAoHAkbhAzX9dHx2yc6ntS4jQvejrNcC+csQJAXjj15e7VcWfMgLqBNAbOvqi5uIa9huOVwdHbf+sKqg==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.3 postcss-custom-properties@12.1.11: resolution: {integrity: sha512-0IDJYhgU8xDv1KY6+VgUwuQkVtmYzRwu+dMjnmdMafXYv86SWqfxkc7qdDvWS38vsjaEtv8e0vGOUQrAiMBLpQ==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-custom-selectors@6.0.3: resolution: {integrity: sha512-fgVkmyiWDwmD3JbpCmB45SvvlCD6z9CG6Ie6Iere22W5aHea6oWa7EM2bpnv2Fj3I94L3VbtvX9KqwSi5aFzSg==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.3 postcss-dir-pseudo-class@6.0.5: resolution: {integrity: sha512-eqn4m70P031PF7ZQIvSgy9RSJ5uI2171O/OO/zcRNYpJbvaeKFUlar1aJ7rmgiQtbm0FSPsRewjpdS0Oew7MPA==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-discard-comments@5.1.2: resolution: {integrity: sha512-+L8208OVbHVF2UQf1iDmRcbdjJkuBF6IS29yBDSiWUIzpYaAhtNl6JYnYm12FnkeCwQqF5LeklOu6rAqgfBZqQ==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-discard-duplicates@5.1.0: resolution: {integrity: sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-discard-empty@5.1.1: resolution: {integrity: sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-discard-overridden@5.1.0: resolution: {integrity: sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-double-position-gradients@3.1.2: resolution: {integrity: sha512-GX+FuE/uBR6eskOK+4vkXgT6pDkexLokPaz/AbJna9s5Kzp/yl488pKPjhy0obB475ovfT1Wv8ho7U/cHNaRgQ==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-env-function@4.0.6: resolution: {integrity: sha512-kpA6FsLra+NqcFnL81TnsU+Z7orGtDTxcOhl6pwXeEq1yFPpRMkCDpHhrz8CFQDr/Wfm0jLiNQ1OsGGPjlqPwA==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.4 postcss-flexbugs-fixes@5.0.2: resolution: {integrity: sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==} peerDependencies: postcss: ^8.1.4 postcss-focus-visible@6.0.4: resolution: {integrity: sha512-QcKuUU/dgNsstIK6HELFRT5Y3lbrMLEOwG+A4s5cA+fx3A3y/JTq3X9LaOj3OC3ALH0XqyrgQIgey/MIZ8Wczw==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.4 postcss-focus-within@5.0.4: resolution: {integrity: sha512-vvjDN++C0mu8jz4af5d52CB184ogg/sSxAFS+oUJQq2SuCe7T5U2iIsVJtsCp2d6R4j0jr5+q3rPkBVZkXD9fQ==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.4 postcss-font-variant@5.0.0: resolution: {integrity: sha512-1fmkBaCALD72CK2a9i468mA/+tr9/1cBxRRMXOUaZqO43oWPR5imcyPjXwuv7PXbCid4ndlP5zWhidQVVa3hmA==} peerDependencies: postcss: ^8.1.0 postcss-gap-properties@3.0.5: resolution: {integrity: sha512-IuE6gKSdoUNcvkGIqdtjtcMtZIFyXZhmFd5RUlg97iVEvp1BZKV5ngsAjCjrVy+14uhGBQl9tzmi1Qwq4kqVOg==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-image-set-function@4.0.7: resolution: {integrity: sha512-9T2r9rsvYzm5ndsBE8WgtrMlIT7VbtTfE7b3BQnudUqnBcBo7L758oc+o+pdj/dUV0l5wjwSdjeOH2DZtfv8qw==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-import@15.1.0: resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} engines: {node: '>=14.0.0'} peerDependencies: postcss: ^8.0.0 postcss-initial@4.0.1: resolution: {integrity: sha512-0ueD7rPqX8Pn1xJIjay0AZeIuDoF+V+VvMt/uOnn+4ezUKhZM/NokDeP6DwMNyIoYByuN/94IQnt5FEkaN59xQ==} peerDependencies: postcss: ^8.0.0 postcss-js@4.0.1: resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} engines: {node: ^12 || ^14 || >= 16} peerDependencies: postcss: ^8.4.21 postcss-lab-function@4.2.1: resolution: {integrity: sha512-xuXll4isR03CrQsmxyz92LJB2xX9n+pZJ5jE9JgcnmsCammLyKdlzrBin+25dy6wIjfhJpKBAN80gsTlCgRk2w==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-load-config@4.0.1: resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} engines: {node: '>= 14'} peerDependencies: postcss: '>=8.0.9' ts-node: '>=9.0.0' peerDependenciesMeta: postcss: optional: true ts-node: optional: true postcss-loader@6.2.1: resolution: {integrity: sha512-WbbYpmAaKcux/P66bZ40bpWsBucjx/TTgVVzRZ9yUO8yQfVBlameJ0ZGVaPfH64hNSBh63a+ICP5nqOpBA0w+Q==} engines: {node: '>= 12.13.0'} peerDependencies: postcss: ^7.0.0 || ^8.0.1 webpack: ^5.0.0 postcss-logical@5.0.4: resolution: {integrity: sha512-RHXxplCeLh9VjinvMrZONq7im4wjWGlRJAqmAVLXyZaXwfDWP73/oq4NdIp+OZwhQUMj0zjqDfM5Fj7qby+B4g==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.4 postcss-media-minmax@5.0.0: resolution: {integrity: sha512-yDUvFf9QdFZTuCUg0g0uNSHVlJ5X1lSzDZjPSFaiCWvjgsvu8vEVxtahPrLMinIDEEGnx6cBe6iqdx5YWz08wQ==} engines: {node: '>=10.0.0'} peerDependencies: postcss: ^8.1.0 postcss-merge-longhand@5.1.7: resolution: {integrity: sha512-YCI9gZB+PLNskrK0BB3/2OzPnGhPkBEwmwhfYk1ilBHYVAZB7/tkTHFBAnCrvBBOmeYyMYw3DMjT55SyxMBzjQ==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-merge-rules@5.1.4: resolution: {integrity: sha512-0R2IuYpgU93y9lhVbO/OylTtKMVcHb67zjWIfCiKR9rWL3GUk1677LAqD/BcHizukdZEjT8Ru3oHRoAYoJy44g==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-minify-font-values@5.1.0: resolution: {integrity: sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-minify-gradients@5.1.1: resolution: {integrity: sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-minify-params@5.1.4: resolution: {integrity: sha512-+mePA3MgdmVmv6g+30rn57USjOGSAyuxUmkfiWpzalZ8aiBkdPYjXWtHuwJGm1v5Ojy0Z0LaSYhHaLJQB0P8Jw==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-minify-selectors@5.2.1: resolution: {integrity: sha512-nPJu7OjZJTsVUmPdm2TcaiohIwxP+v8ha9NehQ2ye9szv4orirRU3SDdtUmKH+10nzn0bAyOXZ0UEr7OpvLehg==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-modules-extract-imports@3.0.0: resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 postcss-modules-local-by-default@4.0.3: resolution: {integrity: sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 postcss-modules-scope@3.0.0: resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 postcss-modules-values@4.0.0: resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 postcss-nested@6.0.1: resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 postcss-nesting@10.2.0: resolution: {integrity: sha512-EwMkYchxiDiKUhlJGzWsD9b2zvq/r2SSubcRrgP+jujMXFzqvANLt16lJANC+5uZ6hjI7lpRmI6O8JIl+8l1KA==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-normalize-charset@5.1.0: resolution: {integrity: sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize-display-values@5.1.0: resolution: {integrity: sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize-positions@5.1.1: resolution: {integrity: sha512-6UpCb0G4eofTCQLFVuI3EVNZzBNPiIKcA1AKVka+31fTVySphr3VUgAIULBhxZkKgwLImhzMR2Bw1ORK+37INg==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize-repeat-style@5.1.1: resolution: {integrity: sha512-mFpLspGWkQtBcWIRFLmewo8aC3ImN2i/J3v8YCFUwDnPu3Xz4rLohDO26lGjwNsQxB3YF0KKRwspGzE2JEuS0g==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize-string@5.1.0: resolution: {integrity: sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize-timing-functions@5.1.0: resolution: {integrity: sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize-unicode@5.1.1: resolution: {integrity: sha512-qnCL5jzkNUmKVhZoENp1mJiGNPcsJCs1aaRmURmeJGES23Z/ajaln+EPTD+rBeNkSryI+2WTdW+lwcVdOikrpA==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize-url@5.1.0: resolution: {integrity: sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize-whitespace@5.1.1: resolution: {integrity: sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-normalize@10.0.1: resolution: {integrity: sha512-+5w18/rDev5mqERcG3W5GZNMJa1eoYYNGo8gB7tEwaos0ajk3ZXAI4mHGcNT47NE+ZnZD1pEpUOFLvltIwmeJA==} engines: {node: '>= 12'} peerDependencies: browserslist: '>= 4' postcss: '>= 8' postcss-opacity-percentage@1.1.3: resolution: {integrity: sha512-An6Ba4pHBiDtyVpSLymUUERMo2cU7s+Obz6BTrS+gxkbnSBNKSuD0AVUc+CpBMrpVPKKfoVz0WQCX+Tnst0i4A==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-ordered-values@5.1.3: resolution: {integrity: sha512-9UO79VUhPwEkzbb3RNpqqghc6lcYej1aveQteWY+4POIwlqkYE21HKWaLDF6lWNuqCobEAyTovVhtI32Rbv2RQ==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-overflow-shorthand@3.0.4: resolution: {integrity: sha512-otYl/ylHK8Y9bcBnPLo3foYFLL6a6Ak+3EQBPOTR7luMYCOsiVTUk1iLvNf6tVPNGXcoL9Hoz37kpfriRIFb4A==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-page-break@3.0.4: resolution: {integrity: sha512-1JGu8oCjVXLa9q9rFTo4MbeeA5FMe00/9C7lN4va606Rdb+HkxXtXsmEDrIraQ11fGz/WvKWa8gMuCKkrXpTsQ==} peerDependencies: postcss: ^8 postcss-place@7.0.5: resolution: {integrity: sha512-wR8igaZROA6Z4pv0d+bvVrvGY4GVHihBCBQieXFY3kuSuMyOmEnnfFzHl/tQuqHZkfkIVBEbDvYcFfHmpSet9g==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-preset-env@7.8.3: resolution: {integrity: sha512-T1LgRm5uEVFSEF83vHZJV2z19lHg4yJuZ6gXZZkqVsqv63nlr6zabMH3l4Pc01FQCyfWVrh2GaUeCVy9Po+Aag==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-pseudo-class-any-link@7.1.6: resolution: {integrity: sha512-9sCtZkO6f/5ML9WcTLcIyV1yz9D1rf0tWc+ulKcvV30s0iZKS/ONyETvoWsr6vnrmW+X+KmuK3gV/w5EWnT37w==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-reduce-initial@5.1.2: resolution: {integrity: sha512-dE/y2XRaqAi6OvjzD22pjTUQ8eOfc6m/natGHgKFBK9DxFmIm69YmaRVQrGgFlEfc1HePIurY0TmDeROK05rIg==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-reduce-transforms@5.1.0: resolution: {integrity: sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-replace-overflow-wrap@4.0.0: resolution: {integrity: sha512-KmF7SBPphT4gPPcKZc7aDkweHiKEEO8cla/GjcBK+ckKxiZslIu3C4GCRW3DNfL0o7yW7kMQu9xlZ1kXRXLXtw==} peerDependencies: postcss: ^8.0.3 postcss-selector-not@6.0.1: resolution: {integrity: sha512-1i9affjAe9xu/y9uqWH+tD4r6/hDaXJruk8xn2x1vzxC2U3J3LKO3zJW4CyxlNhA56pADJ/djpEwpH1RClI2rQ==} engines: {node: ^12 || ^14 || >=16} peerDependencies: postcss: ^8.2 postcss-selector-parser@6.0.13: resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==} engines: {node: '>=4'} postcss-svgo@5.1.0: resolution: {integrity: sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-unique-selectors@5.1.1: resolution: {integrity: sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} postcss@7.0.39: resolution: {integrity: sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==} engines: {node: '>=6.0.0'} postcss@8.4.14: resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} engines: {node: ^10 || ^12 || >=14} postcss@8.4.26: resolution: {integrity: sha512-jrXHFF8iTloAenySjM/ob3gSj7pCu0Ji49hnjqzsgSRa50hkWCKD0HQ+gMNJkW38jBI68MpAAg7ZWwHwX8NMMw==} engines: {node: ^10 || ^12 || >=14} postcss@8.4.35: resolution: {integrity: sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==} engines: {node: ^10 || ^12 || >=14} posthtml-parser@0.10.2: resolution: {integrity: sha512-PId6zZ/2lyJi9LiKfe+i2xv57oEjJgWbsHGGANwos5AvdQp98i6AtamAl8gzSVFGfQ43Glb5D614cvZf012VKg==} engines: {node: '>=12'} posthtml-parser@0.11.0: resolution: {integrity: sha512-QecJtfLekJbWVo/dMAA+OSwY79wpRmbqS5TeXvXSX+f0c6pW4/SE6inzZ2qkU7oAMCPqIDkZDvd/bQsSFUnKyw==} engines: {node: '>=12'} posthtml-render@3.0.0: resolution: {integrity: sha512-z+16RoxK3fUPgwaIgH9NGnK1HKY9XIDpydky5eQGgAFVXTCSezalv9U2jQuNV+Z9qV1fDWNzldcw4eK0SSbqKA==} engines: {node: '>=12'} posthtml@0.16.6: resolution: {integrity: sha512-JcEmHlyLK/o0uGAlj65vgg+7LIms0xKXe60lcDOTU7oVX/3LuEuLwrQpW3VJ7de5TaFKiW4kWkaIpJL42FEgxQ==} engines: {node: '>=12.0.0'} preact@10.4.1: resolution: {integrity: sha512-WKrRpCSwL2t3tpOOGhf2WfTpcmbpxaWtDbdJdKdjd0aEiTkvOmS4NBkG6kzlaAHI9AkQ3iVqbFWM3Ei7mZ4o1Q==} preferred-pm@3.0.3: resolution: {integrity: sha512-+wZgbxNES/KlJs9q40F/1sfOd/j7f1O9JaHcW5Dsn3aUUOZg3L2bjpVUcKV2jvtElYfoTuQiNeMfQJ4kwUAhCQ==} engines: {node: '>=10'} prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} prettier-linter-helpers@1.0.0: resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} engines: {node: '>=6.0.0'} prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} hasBin: true pretty-bytes@5.6.0: resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} engines: {node: '>=6'} pretty-error@4.0.0: resolution: {integrity: sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw==} pretty-format@26.6.2: resolution: {integrity: sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==} engines: {node: '>= 10'} pretty-format@27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} pretty-format@28.1.3: resolution: {integrity: sha512-8gFb/To0OmxHR9+ZTb14Df2vNxdGCX8g1xWGUTqUw5TiZvcQf5sHKObd5UcPyLLyowNwDAMTF3XWOG1B6mxl1Q==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} pretty-format@29.6.1: resolution: {integrity: sha512-7jRj+yXO0W7e4/tSJKoR7HRIHLPPjtNaUGG2xxKQnGvPNRkgWcQ0AZX6P4KBRJN4FcTBWb3sa7DVUJmocYuoog==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} process-nextick-args@2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} process-warning@1.0.0: resolution: {integrity: sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q==} process@0.11.10: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'} progress@2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} promise-inflight@1.0.1: resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} peerDependencies: bluebird: '*' peerDependenciesMeta: bluebird: optional: true promise@7.3.1: resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} promise@8.3.0: resolution: {integrity: sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==} prompts@2.4.2: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} prop-types@15.8.1: resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} protobufjs@7.2.6: resolution: {integrity: sha512-dgJaEDDL6x8ASUZ1YqWciTRrdOuYNzoOf27oHNfdyvKqHr5i0FV7FSLU+aIeFjyFgVxrpTOtQUi0BLLBymZaBw==} engines: {node: '>=12.0.0'} proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} prr@1.0.1: resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} pseudomap@1.0.2: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} psl@1.9.0: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} public-encrypt@4.0.3: resolution: {integrity: sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==} pump@3.0.0: resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} punycode@1.4.1: resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} punycode@2.3.0: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} pushdata-bitcoin@1.0.1: resolution: {integrity: sha512-hw7rcYTJRAl4olM8Owe8x0fBuJJ+WGbMhQuLWOXEMN3PxPCKQHRkhfL+XG0+iXUmSHjkMmb3Ba55Mt21cZc9kQ==} q@1.5.1: resolution: {integrity: sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==} engines: {node: '>=0.6.0', teleport: '>=0.2.0'} qr.js@0.0.0: resolution: {integrity: sha512-c4iYnWb+k2E+vYpRimHqSu575b1/wKl4XFeJGpFmrJQz5I88v9aY2czh7s0w36srfCM1sXgC/xpoJz5dJfq+OQ==} qrcode-terminal@0.11.0: resolution: {integrity: sha512-Uu7ii+FQy4Qf82G4xu7ShHhjhGahEpCWc3x8UavY3CTcWV+ufmmCtwkr7ZKsX42jdL0kr1B5FKUeqJvAn51jzQ==} hasBin: true qrcode.react@1.0.1: resolution: {integrity: sha512-8d3Tackk8IRLXTo67Y+c1rpaiXjoz/Dd2HpcMdW//62/x8J1Nbho14Kh8x974t9prsLHN6XqVgcnRiBGFptQmg==} peerDependencies: react: ^15.5.3 || ^16.0.0 || ^17.0.0 qrcode@1.4.4: resolution: {integrity: sha512-oLzEC5+NKFou9P0bMj5+v6Z40evexeE29Z9cummZXZ9QXyMr3lphkURzxjXgPJC5azpxcshoDWV1xE46z+/c3Q==} engines: {node: '>=4'} hasBin: true qs@6.11.0: resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} engines: {node: '>=0.6'} qs@6.11.2: resolution: {integrity: sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==} engines: {node: '>=0.6'} query-string@7.1.3: resolution: {integrity: sha512-hh2WYhq4fi8+b+/2Kg9CEge4fDPvHS534aOOvOZeQ3+Vf2mCFsaFBYj0i+iXcAq6I9Vzp5fjMFBlONvayDC1qg==} engines: {node: '>=6'} querystringify@2.2.0: resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} queue@6.0.2: resolution: {integrity: sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA==} quick-format-unescaped@4.0.4: resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} quick-lru@4.0.1: resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} engines: {node: '>=8'} raf@3.4.1: resolution: {integrity: sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==} randombytes@2.1.0: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} randomfill@1.0.4: resolution: {integrity: sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==} range-parser@1.2.1: resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} engines: {node: '>= 0.6'} raw-body@2.5.1: resolution: {integrity: sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==} engines: {node: '>= 0.8'} rc-align@4.0.15: resolution: {integrity: sha512-wqJtVH60pka/nOX7/IspElA8gjPNQKIx/ZqJ6heATCkXpe1Zg4cPVrMD2vC96wjsFFL8WsmhPbx9tdMo1qqlIA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-cascader@3.7.3: resolution: {integrity: sha512-KBpT+kzhxDW+hxPiNk4zaKa99+Lie2/8nnI11XF+FIOPl4Bj9VlFZi61GrnWzhLGA7VEN+dTxAkNOjkySDa0dA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-checkbox@3.0.1: resolution: {integrity: sha512-k7nxDWxYF+jDI0ZcCvuvj71xONmWRVe5+1MKcERRR9MRyP3tZ69b+yUCSXXh+sik4/Hc9P5wHr2nnUoGS2zBjA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-collapse@3.4.2: resolution: {integrity: sha512-jpTwLgJzkhAgp2Wpi3xmbTbbYExg6fkptL67Uu5LCRVEj6wqmy0DHTjjeynsjOLsppHGHu41t1ELntZ0lEvS/Q==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-dialog@9.0.2: resolution: {integrity: sha512-s3U+24xWUuB6Bn2Lk/Qt6rufy+uT+QvWkiFhNBcO9APLxcFFczWamaq7x9h8SCuhfc1nHcW4y8NbMsnAjNnWyg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-drawer@6.3.0: resolution: {integrity: sha512-uBZVb3xTAR+dBV53d/bUhTctCw3pwcwJoM7g5aX+7vgwt2zzVzoJ6aqFjYJpBlZ9zp0dVYN8fV+hykFE7c4lig==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-dropdown@4.0.1: resolution: {integrity: sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g==} peerDependencies: react: '>=16.11.0' react-dom: '>=16.11.0' rc-field-form@1.34.2: resolution: {integrity: sha512-BdciU5C7dBO51/9ZKcMvK2f8zaaO12Lt1eBhlAo8nNv+6htlNcgY9DAkUlZ7gfyWjnCc1Oo4hHIXau1m6tLw1A==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-image@5.13.0: resolution: {integrity: sha512-iZTOmw5eWo2+gcrJMMcnd7SsxVHl3w5xlyCgsULUdJhJbnuI8i/AL0tVOsE7aLn9VfOh1qgDT3mC2G75/c7mqg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-input-number@7.3.11: resolution: {integrity: sha512-aMWPEjFeles6PQnMqP5eWpxzsvHm9rh1jQOWXExUEIxhX62Fyl/ptifLHOn17+waDG1T/YUb6flfJbvwRhHrbA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-input@0.1.4: resolution: {integrity: sha512-FqDdNz+fV2dKNgfXzcSLKvC+jEs1709t7nD+WdfjrdSaOcefpgc7BUJYadc3usaING+b7ediMTfKxuJBsEFbXA==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' rc-mentions@1.13.1: resolution: {integrity: sha512-FCkaWw6JQygtOz0+Vxz/M/NWqrWHB9LwqlY2RtcuFqWJNFK9njijOOzTSsBGANliGufVUzx/xuPHmZPBV0+Hgw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-menu@9.8.4: resolution: {integrity: sha512-lmw2j8I2fhdIzHmC9ajfImfckt0WDb2KVJJBBRIsxPEw2kGkEfjLMUoB1NgiNT/Q5cC8PdjGOGQjHJIJMwyNMw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-motion@2.7.3: resolution: {integrity: sha512-2xUvo8yGHdOHeQbdI8BtBsCIrWKchEmFEIskf0nmHtJsou+meLd/JE+vnvSX2JxcBrJtXY2LuBpxAOxrbY/wMQ==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-notification@4.6.1: resolution: {integrity: sha512-NSmFYwrrdY3+un1GvDAJQw62Xi9LNMSsoQyo95tuaYrcad5Bn9gJUL8AREufRxSQAQnr64u3LtP3EUyLYT6bhw==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-overflow@1.3.1: resolution: {integrity: sha512-RY0nVBlfP9CkxrpgaLlGzkSoh9JhjJLu6Icqs9E7CW6Ewh9s0peF9OHIex4OhfoPsR92LR0fN6BlCY9Z4VoUtA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-pagination@3.2.0: resolution: {integrity: sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-picker@2.7.2: resolution: {integrity: sha512-KbUKgbzgWVN5L+V9xhZDKSmseHIyFneBlmuMtMrZ9fU7Oypw6D+owS5kuUicIEV08Y17oXt8dUqauMeC5IFBPg==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-progress@3.4.2: resolution: {integrity: sha512-iAGhwWU+tsayP+Jkl9T4+6rHeQTG9kDz8JAHZk4XtQOcYN5fj9H34NXNEdRdZx94VUDHMqCb1yOIvi8eJRh67w==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-rate@2.9.2: resolution: {integrity: sha512-SaiZFyN8pe0Fgphv8t3+kidlej+cq/EALkAJAc3A0w0XcPaH2L1aggM8bhe1u6GAGuQNAoFvTLjw4qLPGRKV5g==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-resize-observer@1.3.1: resolution: {integrity: sha512-iFUdt3NNhflbY3mwySv5CA1TC06zdJ+pfo0oc27xpf4PIOvfZwZGtD9Kz41wGYqC4SLio93RVAirSSpYlV/uYg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-segmented@2.1.2: resolution: {integrity: sha512-qGo1bCr83ESXpXVOCXjFe1QJlCAQXyi9KCiy8eX3rIMYlTeJr/ftySIaTnYsitL18SvWf5ZEHsfqIWoX0EMfFQ==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' rc-select@14.1.17: resolution: {integrity: sha512-6qQhMqtoUkkboRqXKKFRR5Nu1mrnw2mC1uxIBIczg7aiJ94qCZBg4Ww8OLT9f4xdyCgbFSGh6r3yB9EBsjoHGA==} engines: {node: '>=8.x'} peerDependencies: react: '*' react-dom: '*' rc-slider@10.0.1: resolution: {integrity: sha512-igTKF3zBet7oS/3yNiIlmU8KnZ45npmrmHlUUio8PNbIhzMcsh+oE/r2UD42Y6YD2D/s+kzCQkzQrPD6RY435Q==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-steps@5.0.0: resolution: {integrity: sha512-9TgRvnVYirdhbV0C3syJFj9EhCRqoJAsxt4i1rED5o8/ZcSv5TLIYyo4H8MCjLPvbe2R+oBAm/IYBEtC+OS1Rw==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-switch@3.2.2: resolution: {integrity: sha512-+gUJClsZZzvAHGy1vZfnwySxj+MjLlGRyXKXScrtCTcmiYNPzxDFOxdQ/3pK1Kt/0POvwJ/6ALOR8gwdXGhs+A==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-table@7.26.0: resolution: {integrity: sha512-0cD8e6S+DTGAt5nBZQIPFYEaIukn17sfa5uFL98faHlH/whZzD8ii3dbFL4wmUDEL4BLybhYop+QUfZJ4CPvNQ==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-tabs@12.5.10: resolution: {integrity: sha512-Ay0l0jtd4eXepFH9vWBvinBjqOpqzcsJTerBGwJy435P2S90Uu38q8U/mvc1sxUEVOXX5ZCFbxcWPnfG3dH+tQ==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-textarea@0.4.7: resolution: {integrity: sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-tooltip@5.2.2: resolution: {integrity: sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-tree-select@5.5.5: resolution: {integrity: sha512-k2av7jF6tW9bIO4mQhaVdV4kJ1c54oxV3/hHVU+oD251Gb5JN+m1RbJFTMf1o0rAFqkvto33rxMdpafaGKQRJw==} peerDependencies: react: '*' react-dom: '*' rc-tree@5.7.9: resolution: {integrity: sha512-1hKkToz/EVjJlMVwmZnpXeLXt/1iQMsaAq9m+GNkUbK746gkc7QpJXSN/TzjhTI5Hi+LOSlrMaXLMT0bHPqILQ==} engines: {node: '>=10.x'} peerDependencies: react: '*' react-dom: '*' rc-trigger@5.3.4: resolution: {integrity: sha512-mQv+vas0TwKcjAO2izNPkqR4j86OemLRmvL2nOzdP9OWNWA1ivoTt5hzFqYNW9zACwmTezRiN8bttrC7cZzYSw==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-upload@4.3.4: resolution: {integrity: sha512-uVbtHFGNjHG/RyAfm9fluXB6pvArAGyAx8z7XzXXyorEgVIWj6mOlriuDm0XowDHYz4ycNK0nE0oP3cbFnzxiQ==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-util@5.34.1: resolution: {integrity: sha512-SqiUT8Ssgh5C+hu4y887xwCrMNcxLm6ScOo8AFlWYYF3z9uNNiPpwwSjvicqOlWd79rNw1g44rnP7tz9MrO1ZQ==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' rc-virtual-list@3.5.3: resolution: {integrity: sha512-rG6IuD4EYM8K6oZ8Shu2BC/CmcTdqng4yBWkc/5fjWhB20bl6QwR2Upyt7+MxvfscoVm8zOQY+tcpEO5cu4GaQ==} engines: {node: '>=8.x'} peerDependencies: react: '*' react-dom: '*' rc@1.2.8: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true react-app-polyfill@3.0.0: resolution: {integrity: sha512-sZ41cxiU5llIB003yxxQBYrARBqe0repqPTTYBTmMqTz9szeBbE37BehCE891NZsmdZqqP+xWKdT3eo3vOzN8w==} engines: {node: '>=14'} react-app-rewired@2.2.1: resolution: {integrity: sha512-uFQWTErXeLDrMzOJHKp0h8P1z0LV9HzPGsJ6adOtGlA/B9WfT6Shh4j2tLTTGlXOfiVx6w6iWpp7SOC5pvk+gA==} hasBin: true peerDependencies: react-scripts: '>=2.1.3' react-dev-utils@12.0.1: resolution: {integrity: sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ==} engines: {node: '>=14'} peerDependencies: typescript: '>=2.7' webpack: '>=4' peerDependenciesMeta: typescript: optional: true react-devtools-core@4.28.0: resolution: {integrity: sha512-E3C3X1skWBdBzwpOUbmXG8SgH6BtsluSMe+s6rRcujNKG1DGi8uIfhdhszkgDpAsMoE55hwqRUzeXCmETDBpTg==} react-dom@18.2.0: resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} peerDependencies: react: ^18.2.0 react-error-overlay@6.0.11: resolution: {integrity: sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg==} react-error-overlay@6.0.9: resolution: {integrity: sha512-nQTTcUu+ATDbrSD1BZHr5kgSD4oF8OFjxun8uAaL8RwPBacGBNPf/yAuVVdx17N8XNzRDMrZ9XcKZHCjPW+9ew==} react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} react-lifecycles-compat@3.0.4: resolution: {integrity: sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==} react-modal@3.16.1: resolution: {integrity: sha512-VStHgI3BVcGo7OXczvnJN7yT2TWHJPDXZWyI/a0ssFNhGZWsPmB8cF0z33ewDXq4VfYMO1vXgiv/g8Nj9NDyWg==} engines: {node: '>=8'} peerDependencies: react: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 react-dom: ^0.14.0 || ^15.0.0 || ^16 || ^17 || ^18 react-native@0.72.3: resolution: {integrity: sha512-QqISi+JVmCssNP2FlQ4MWhlc4O/I00MRE1/GClvyZ8h/6kdsyk/sOirkYdZqX3+DrJfI3q+OnyMnsyaXIQ/5tQ==} engines: {node: '>=16'} hasBin: true peerDependencies: react: 18.2.0 react-qr-reader@2.2.1: resolution: {integrity: sha512-EL5JEj53u2yAOgtpAKAVBzD/SiKWn0Bl7AZy6ZrSf1lub7xHwtaXe6XSx36Wbhl1VMGmvmrwYMRwO1aSCT2fwA==} peerDependencies: react: ~16 react-dom: ~16 react-refresh@0.11.0: resolution: {integrity: sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==} engines: {node: '>=0.10.0'} react-refresh@0.14.0: resolution: {integrity: sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==} engines: {node: '>=0.10.0'} react-refresh@0.4.3: resolution: {integrity: sha512-Hwln1VNuGl/6bVwnd0Xdn1e84gT/8T9aYNL+HAKDArLCS7LWjwr7StE30IEYbIkx0Vi3vs+coQxe+SQDbGbbpA==} engines: {node: '>=0.10.0'} react-refresh@0.9.0: resolution: {integrity: sha512-Gvzk7OZpiqKSkxsQvO/mbTN1poglhmAV7gR/DdIrRrSMXraRQQlfikRJOr3Nb9GTMPC5kof948Zy6jJZIFtDvQ==} engines: {node: '>=0.10.0'} react-scripts@5.0.1: resolution: {integrity: sha512-8VAmEm/ZAwQzJ+GOMLbBsTdDKOpuZh7RPs0UymvBR2vRk4iZWCskjbFnxqjrzoIvlNNRZ3QJFx6/qDSi6zSnaQ==} engines: {node: '>=14.0.0'} hasBin: true peerDependencies: eslint: 8.22.0 react: '>= 16' typescript: ^3.2.1 || ^4 peerDependenciesMeta: typescript: optional: true react-shallow-renderer@16.15.0: resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: react: ^16.0.0 || ^17.0.0 || ^18.0.0 react-transition-group@4.4.5: resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==} peerDependencies: react: '>=16.6.0' react-dom: '>=16.6.0' react@18.2.0: resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} engines: {node: '>=0.10.0'} read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} read-pkg-up@7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} engines: {node: '>=8'} read-pkg@5.2.0: resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} engines: {node: '>=8'} read-yaml-file@1.1.0: resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} engines: {node: '>=6'} readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} readable-stream@3.6.2: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} readable-stream@4.4.2: resolution: {integrity: sha512-Lk/fICSyIhodxy1IDK2HazkeGjSmezAWX2egdtJnYhtzKEsBPJowlI6F6LPb5tqIQILrMbx22S5o3GuJavPusA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} readline@1.3.0: resolution: {integrity: sha512-k2d6ACCkiNYz222Fs/iNze30rRJ1iIicW7JuX/7/cozvih6YCkFZH+J6mAFDVgv0dRBaAyr4jDqC95R2y4IADg==} real-require@0.1.0: resolution: {integrity: sha512-r/H9MzAWtrv8aSVjPCMFpDMl5q66GqtmmRkRjpHTsp4zBAa+snZyiQNlMONiUmEJcsnaw0wCauJ2GWODr/aFkg==} engines: {node: '>= 12.13.0'} recast@0.21.5: resolution: {integrity: sha512-hjMmLaUXAm1hIuTqOdeYObMslq/q+Xff6QE3Y2P+uoHAg2nmVlLBps2hzh1UJDdMtDTMXOFewK6ky51JQIeECg==} engines: {node: '>= 4'} rechoir@0.6.2: resolution: {integrity: sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==} engines: {node: '>= 0.10'} recursive-readdir@2.2.3: resolution: {integrity: sha512-8HrF5ZsXk5FAH9dgsx3BlUer73nIhuj+9OrQwEbLTPOBzGkL1lsFCR01am+v+0m2Cmbs1nP12hLDl5FA7EszKA==} engines: {node: '>=6.0.0'} redent@3.0.0: resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} engines: {node: '>=8'} regenerate-unicode-properties@10.1.0: resolution: {integrity: sha512-d1VudCLoIGitcU/hEg2QqvyGZQmdC0Lf8BqdOMXGFSvJP4bNV1+XqbPQeHHLD51Jh4QJJ225dlIFvY4Ly6MXmQ==} engines: {node: '>=4'} regenerate@1.4.2: resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==} regenerator-runtime@0.13.11: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} regenerator-runtime@0.14.0: resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} regenerator-transform@0.15.1: resolution: {integrity: sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==} regex-parser@2.2.11: resolution: {integrity: sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==} regexp.prototype.flags@1.5.0: resolution: {integrity: sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==} engines: {node: '>= 0.4'} regexpp@3.2.0: resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} engines: {node: '>=8'} regexpu-core@5.3.2: resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} engines: {node: '>=4'} regjsparser@0.9.1: resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} hasBin: true relateurl@0.2.7: resolution: {integrity: sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog==} engines: {node: '>= 0.10'} remove-trailing-slash@0.1.1: resolution: {integrity: sha512-o4S4Qh6L2jpnCy83ysZDau+VORNvnFw07CKSAymkd6ICNVEPisMyzlc00KlvvicsxKck94SEwhDnMNdICzO+tA==} renderkid@3.0.0: resolution: {integrity: sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg==} require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} require-from-string@2.0.2: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} engines: {node: '>=0.10.0'} require-main-filename@2.0.0: resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} requireg@0.2.2: resolution: {integrity: sha512-nYzyjnFcPNGR3lx9lwPPPnuQxv6JWEZd2Ci0u9opN7N5zUEPIhY/GbL3vMGOr2UXwEg9WwSyV9X9Y/kLFgPsOg==} engines: {node: '>= 4.0.0'} requires-port@1.0.0: resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} resize-observer-polyfill@1.5.1: resolution: {integrity: sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==} resolve-cwd@3.0.0: resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} engines: {node: '>=8'} resolve-from@3.0.0: resolution: {integrity: sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==} engines: {node: '>=4'} resolve-from@4.0.0: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} resolve-from@5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} resolve-url-loader@4.0.0: resolution: {integrity: sha512-05VEMczVREcbtT7Bz+C+96eUO5HDNvdthIiMB34t7FcF8ehcu4wC0sSgPUubs3XW2Q3CNLJk/BJrCU9wVRymiA==} engines: {node: '>=8.9'} peerDependencies: rework: 1.0.1 rework-visit: 1.0.0 peerDependenciesMeta: rework: optional: true rework-visit: optional: true resolve.exports@1.1.1: resolution: {integrity: sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ==} engines: {node: '>=10'} resolve.exports@2.0.2: resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} engines: {node: '>=10'} resolve@1.22.2: resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} hasBin: true resolve@1.7.1: resolution: {integrity: sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==} resolve@2.0.0-next.4: resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==} hasBin: true restore-cursor@2.0.0: resolution: {integrity: sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q==} engines: {node: '>=4'} restore-cursor@3.1.0: resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} engines: {node: '>=8'} retry@0.13.1: resolution: {integrity: sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==} engines: {node: '>= 4'} reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} rimraf@2.4.5: resolution: {integrity: sha512-J5xnxTyqaiw06JjMftq7L9ouA448dw/E7dKghkP9WpKNuwmARNNg+Gk8/u5ryb9N/Yo2+z3MCwuqFK/+qPOPfQ==} deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true rimraf@2.6.3: resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} hasBin: true ripemd160@2.0.2: resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} ripple-address-codec@4.3.1: resolution: {integrity: sha512-Qa3+9wKVvpL/xYtT6+wANsn0A1QcC5CT6IMZbRJZ/1lGt7gmwIfsrCuz1X0+LCEO7zgb+3UT1I1dc0k/5dwKQQ==} engines: {node: '>= 10'} ripple-binary-codec@1.10.0: resolution: {integrity: sha512-qWXxubgXBV3h5NTaaLiusZ1FhPqSy+bCYHHarfZ3bMmO2alRa1Ox61jvX1Zyozok8PcF3gs3bKwZci4RTlA07w==} engines: {node: '>= 10'} ripple-keypairs@1.3.1: resolution: {integrity: sha512-dmPlraWKJciFJxHcoubDahGnoIalG5e/BtV6HNDUs7wLXmtnLMHt6w4ed9R8MTL2zNrVPiIdI/HCtMMo0Tm7JQ==} engines: {node: '>= 10'} ripple-lib-transactionparser@0.8.2: resolution: {integrity: sha512-1teosQLjYHLyOQrKUQfYyMjDR3MAq/Ga+MJuLUfpBMypl4LZB4bEoMcmG99/+WVTEiZOezJmH9iCSvm/MyxD+g==} ripple-lib@1.10.1: resolution: {integrity: sha512-OQk+Syl2JfxKxV2KuF/kBMtnh012I5tNnziP3G4WDGCGSIAgeqkOgkR59IQ0YDNrs1YW8GbApxrdMSRi/QClcA==} engines: {node: '>=10.13.0', yarn: ^1.15.2} deprecated: 'ripple-lib is deprecated. Please migrate to xrpl.js using this migration guide: https://xrpl.org/xrpljs2-migration-guide.html' rollup-plugin-terser@7.0.2: resolution: {integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==} deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser peerDependencies: rollup: ^2.0.0 rollup@2.79.1: resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} engines: {node: '>=10.0.0'} hasBin: true rpc-websockets@7.5.1: resolution: {integrity: sha512-kGFkeTsmd37pHPMaHIgN1LVKXMi0JD782v4Ds9ZKtLlwdTKjn+CxM9A9/gLT2LaOuEcEFGL98h1QWQtlOIdW0w==} rtcpeerconnection-shim@1.2.15: resolution: {integrity: sha512-C6DxhXt7bssQ1nHb154lqeL0SXz5Dx4RczXZu2Aa/L1NJFnEVDxFwCBo3fqtuljhHIGceg5JKBV4XJ0gW5JKyw==} engines: {node: '>=6.0.0', npm: '>=3.10.0'} run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} rxjs@6.6.7: resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==} engines: {npm: '>=2.0.0'} safe-array-concat@1.0.0: resolution: {integrity: sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==} engines: {node: '>=0.4'} safe-buffer@5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} safe-json-stringify@1.2.0: resolution: {integrity: sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg==} safe-json-utils@1.1.1: resolution: {integrity: sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ==} safe-regex-test@1.0.0: resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} safe-stable-stringify@2.4.3: resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} engines: {node: '>=10'} safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} salmon-adapter-sdk@1.1.1: resolution: {integrity: sha512-28ysSzmDjx2AbotxSggqdclh9MCwlPJUldKkCph48oS5Xtwu0QOg8T9ZRHS2Mben4Y8sTq6VvxXznKssCYFBJA==} peerDependencies: '@solana/web3.js': ^1.44.3 sanitize.css@13.0.0: resolution: {integrity: sha512-ZRwKbh/eQ6w9vmTjkuG0Ioi3HBwPFce0O+v//ve+aOq1oeCy7jMV2qzzAlpsNuqpqCBjjriM1lbtZbF/Q8jVyA==} sass-loader@12.6.0: resolution: {integrity: sha512-oLTaH0YCtX4cfnJZxKSLAyglED0naiYfNG1iXfU5w1LNZ+ukoA5DtyDIN5zmKVZwYNJP4KRc5Y3hkWga+7tYfA==} engines: {node: '>= 12.13.0'} peerDependencies: fibers: '>= 3.1.0' node-sass: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 sass: ^1.3.0 sass-embedded: '*' webpack: ^5.0.0 peerDependenciesMeta: fibers: optional: true node-sass: optional: true sass: optional: true sass-embedded: optional: true sax@1.2.4: resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==} saxes@5.0.1: resolution: {integrity: sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==} engines: {node: '>=10'} scheduler@0.23.0: resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} scheduler@0.24.0-canary-efb381bbf-20230505: resolution: {integrity: sha512-ABvovCDe/k9IluqSh4/ISoq8tIJnW8euVAWYt5j/bg6dRnqwQwiGO1F/V4AyK96NGF/FB04FhOUDuWj8IKfABA==} schema-utils@2.7.0: resolution: {integrity: sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==} engines: {node: '>= 8.9.0'} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} engines: {node: '>= 8.9.0'} schema-utils@3.3.0: resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} engines: {node: '>= 10.13.0'} schema-utils@4.2.0: resolution: {integrity: sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw==} engines: {node: '>= 12.13.0'} scroll-into-view-if-needed@2.2.31: resolution: {integrity: sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==} sdp@2.12.0: resolution: {integrity: sha512-jhXqQAQVM+8Xj5EjJGVweuEzgtGWb3tmEEpl3CLP3cStInSbVHSg0QWOGQzNq8pSID4JkpeV2mPqlMDLrm0/Vw==} secure-json-parse@2.7.0: resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} select-hose@2.0.0: resolution: {integrity: sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg==} selfsigned@2.1.1: resolution: {integrity: sha512-GSL3aowiF7wa/WtSFwnUrludWFoNhftq8bUkH9pkzjpN2XSPOAYEgg6e0sS9s0rZwgJzJiQRPU18A6clnoW5wQ==} engines: {node: '>=10'} semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} hasBin: true semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true semver@7.3.2: resolution: {integrity: sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==} engines: {node: '>=10'} hasBin: true semver@7.5.3: resolution: {integrity: sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==} engines: {node: '>=10'} hasBin: true semver@7.5.4: resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} engines: {node: '>=10'} hasBin: true send@0.18.0: resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} engines: {node: '>= 0.8.0'} serialize-error@2.1.0: resolution: {integrity: sha512-ghgmKt5o4Tly5yEG/UJp8qTd0AN7Xalw4XBtDEKP655B699qMEtra1WlXeE6WIvdEG481JvRxULKsInq/iNysw==} engines: {node: '>=0.10.0'} serialize-javascript@4.0.0: resolution: {integrity: sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==} serialize-javascript@6.0.1: resolution: {integrity: sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==} serve-index@1.9.1: resolution: {integrity: sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw==} engines: {node: '>= 0.8.0'} serve-static@1.15.0: resolution: {integrity: sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==} engines: {node: '>= 0.8.0'} set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} set-function-length@1.2.1: resolution: {integrity: sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==} engines: {node: '>= 0.4'} setimmediate@1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} setprototypeof@1.1.0: resolution: {integrity: sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==} setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} sha.js@2.4.11: resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} hasBin: true shallow-clone@3.0.1: resolution: {integrity: sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==} engines: {node: '>=8'} shallowequal@1.1.0: resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} shebang-command@1.2.0: resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} engines: {node: '>=0.10.0'} shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} shebang-regex@1.0.0: resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} engines: {node: '>=0.10.0'} shebang-regex@3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} shell-quote@1.8.1: resolution: {integrity: sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==} shelljs@0.8.5: resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} engines: {node: '>=4'} hasBin: true shiki@0.14.3: resolution: {integrity: sha512-U3S/a+b0KS+UkTyMjoNojvTgrBHjgp7L6ovhFVZsXmBGnVdQ4K4U9oK0z63w538S91ATngv1vXigHCSWOwnr+g==} shx@0.3.4: resolution: {integrity: sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==} engines: {node: '>=6'} hasBin: true side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} simple-plist@1.3.1: resolution: {integrity: sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==} sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} slash@4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'} slice-ansi@2.1.0: resolution: {integrity: sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==} engines: {node: '>=6'} slugify@1.6.6: resolution: {integrity: sha512-h+z7HKHYXj6wJU+AnS/+IH8Uh9fdcX1Lrhg1/VMdf9PwoBQXFcXiAdsy2tSK0P6gKwJLXp02r90ahUCqHk9rrw==} engines: {node: '>=8.0.0'} smart-buffer@4.2.0: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} smartwrap@2.0.2: resolution: {integrity: sha512-vCsKNQxb7PnCNd2wY1WClWifAc2lwqsG8OaswpJkVJsvMGcnEntdTCDajZCkk93Ay1U3t/9puJmb525Rg5MZBA==} engines: {node: '>=6'} hasBin: true socket.io-client@4.7.1: resolution: {integrity: sha512-Qk3Xj8ekbnzKu3faejo4wk2MzXA029XppiXtTF/PkbTg+fcwaTw1PlDrTrrrU4mKoYC4dvlApOnSeyLCKwek2w==} engines: {node: '>=10.0.0'} socket.io-parser@4.2.4: resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==} engines: {node: '>=10.0.0'} sockjs@0.3.24: resolution: {integrity: sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ==} socks-proxy-agent@6.1.1: resolution: {integrity: sha512-t8J0kG3csjA4g6FTbsMOWws+7R7vuRC8aQ/wy3/1OWmsgwA68zs/+cExQ0koSitUDXqhufF/YJr9wtNMZHw5Ew==} engines: {node: '>= 10'} socks@2.7.1: resolution: {integrity: sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==} engines: {node: '>= 10.13.0', npm: '>= 3.0.0'} sonic-boom@2.8.0: resolution: {integrity: sha512-kuonw1YOYYNOve5iHdSahXPOK49GqwA+LZhI6Wz/l0rP57iKyXXIHaRagOBHAPmGwJC6od2Z9zgvZ5loSgMlVg==} sonic-boom@3.3.0: resolution: {integrity: sha512-LYxp34KlZ1a2Jb8ZQgFCK3niIHzibdwtwNUWKg0qQRzsDoJ3Gfgkf8KdBTFU3SkejDEIlWwnSnpVdOZIhFMl/g==} source-list-map@2.0.1: resolution: {integrity: sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==} source-map-js@1.0.2: resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} engines: {node: '>=0.10.0'} source-map-loader@3.0.2: resolution: {integrity: sha512-BokxPoLjyl3iOrgkWaakaxqnelAJSS+0V+De0kKIq6lyWrXuiPgYTGp6z3iHmqljKAaLXwZa+ctD8GccRJeVvg==} engines: {node: '>= 12.13.0'} peerDependencies: webpack: ^5.0.0 source-map-loader@4.0.1: resolution: {integrity: sha512-oqXpzDIByKONVY8g1NUPOTQhe0UTU5bWUl32GSkqK2LjJj0HmwTMVKxcUip0RgAYhY1mqgOxjbQM48a0mmeNfA==} engines: {node: '>= 14.15.0'} peerDependencies: webpack: ^5.72.1 source-map-support@0.5.13: resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} source-map@0.5.7: resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} engines: {node: '>=0.10.0'} source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} source-map@0.7.4: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} source-map@0.8.0-beta.0: resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} engines: {node: '>= 8'} sourcemap-codec@1.4.8: resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} deprecated: Please use @jridgewell/sourcemap-codec instead spawndamnit@2.0.0: resolution: {integrity: sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==} spdx-correct@3.2.0: resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} spdx-exceptions@2.3.0: resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} spdx-expression-parse@3.0.1: resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} spdx-license-ids@3.0.13: resolution: {integrity: sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==} spdy-transport@3.0.0: resolution: {integrity: sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==} spdy@4.0.2: resolution: {integrity: sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==} engines: {node: '>=6.0.0'} split-on-first@1.1.0: resolution: {integrity: sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==} engines: {node: '>=6'} split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} split@1.0.1: resolution: {integrity: sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==} sprintf-js@1.0.3: resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} srcset@4.0.0: resolution: {integrity: sha512-wvLeHgcVHKO8Sc/H/5lkGreJQVeYMm9rlmt8PuR1xE31rIuXhuzznUUqAt8MqLhB3MqJdFzlNAfpcWnxiFUcPw==} engines: {node: '>=12'} ssri@8.0.1: resolution: {integrity: sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ==} engines: {node: '>= 8'} stable@0.1.8: resolution: {integrity: sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==} deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility' stack-utils@2.0.6: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} engines: {node: '>=10'} stackframe@1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} stacktrace-parser@0.1.10: resolution: {integrity: sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==} engines: {node: '>=6'} statuses@1.5.0: resolution: {integrity: sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA==} engines: {node: '>= 0.6'} statuses@2.0.1: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} engines: {node: '>= 0.4'} stream-browserify@3.0.0: resolution: {integrity: sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA==} stream-buffers@2.2.0: resolution: {integrity: sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==} engines: {node: '>= 0.10.0'} stream-http@3.2.0: resolution: {integrity: sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A==} stream-shift@1.0.1: resolution: {integrity: sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==} stream-transform@2.1.3: resolution: {integrity: sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ==} strict-uri-encode@2.0.0: resolution: {integrity: sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==} engines: {node: '>=4'} string-convert@0.2.1: resolution: {integrity: sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A==} string-length@4.0.2: resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} engines: {node: '>=10'} string-length@5.0.1: resolution: {integrity: sha512-9Ep08KAMUn0OadnVaBuRdE2l615CQ508kr0XMadjClfYpdCyvrbFp6Taebo8yyxokQ4viUd/xPPUA4FGgUa0ow==} engines: {node: '>=12.20'} string-natural-compare@3.0.1: resolution: {integrity: sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw==} string-width@3.1.0: resolution: {integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==} engines: {node: '>=6'} string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} string.prototype.matchall@4.0.8: resolution: {integrity: sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==} string.prototype.trim@1.2.7: resolution: {integrity: sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==} engines: {node: '>= 0.4'} string.prototype.trimend@1.0.6: resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==} string.prototype.trimstart@1.0.6: resolution: {integrity: sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==} string_decoder@1.1.1: resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} string_decoder@1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} stringify-object@3.3.0: resolution: {integrity: sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==} engines: {node: '>=4'} strip-ansi@5.2.0: resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==} engines: {node: '>=6'} strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} strip-ansi@7.1.0: resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} engines: {node: '>=12'} strip-bom@3.0.0: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} strip-bom@4.0.0: resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} engines: {node: '>=8'} strip-comments@2.0.1: resolution: {integrity: sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==} engines: {node: '>=10'} strip-eof@1.0.0: resolution: {integrity: sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==} engines: {node: '>=0.10.0'} strip-final-newline@2.0.0: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} engines: {node: '>=6'} strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} engines: {node: '>=8'} strip-json-comments@2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} engines: {node: '>=0.10.0'} strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} strip-outer@1.0.1: resolution: {integrity: sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==} engines: {node: '>=0.10.0'} strnum@1.0.5: resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} structured-headers@0.4.1: resolution: {integrity: sha512-0MP/Cxx5SzeeZ10p/bZI0S6MpgD+yxAhi1BOQ34jgnMXsCq3j1t6tQnZu+KdlL7dvJTLT3g9xN8tl10TqgFMcg==} style-loader@3.3.3: resolution: {integrity: sha512-53BiGLXAcll9maCYtZi2RCQZKa8NQQai5C4horqKyRmHj9H7QmcUyucrH+4KW/gBQbXM2AsB0axoEcFZPlfPcw==} engines: {node: '>= 12.13.0'} peerDependencies: webpack: ^5.0.0 styled-jsx@5.0.7: resolution: {integrity: sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==} engines: {node: '>= 12.0.0'} peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' react: '>= 16.8.0 || 17.x.x || ^18.0.0-0' peerDependenciesMeta: '@babel/core': optional: true babel-plugin-macros: optional: true stylehacks@5.1.1: resolution: {integrity: sha512-sBpcd5Hx7G6seo7b1LkpttvTz7ikD0LlH5RmdcBNb6fFR0Fl7LQwHDFr300q4cwUqi+IYrFGmsIHieMBfnN/Bw==} engines: {node: ^10 || ^12 || >=14.0} peerDependencies: postcss: ^8.2.15 stylis@4.2.0: resolution: {integrity: sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==} sucrase@3.34.0: resolution: {integrity: sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==} engines: {node: '>=8'} hasBin: true sudo-prompt@8.2.5: resolution: {integrity: sha512-rlBo3HU/1zAJUrkY6jNxDOC9eVYliG6nS4JA8u8KAshITd07tafMc/Br7xQwCSseXwJ2iCcHCE8SNWX3q8Z+kw==} sudo-prompt@9.1.1: resolution: {integrity: sha512-es33J1g2HjMpyAhz8lOR+ICmXXAqTuKbuXuUWLhOLew20oN9oUCgCJx615U/v7aioZg7IX5lIh9x34vwneu4pA==} sudo-prompt@9.2.1: resolution: {integrity: sha512-Mu7R0g4ig9TUuGSxJavny5Rv0egCEtpZRNMrZaYS1vxkiIxGiGUwoezU3LazIQ+KE04hTrTfNPgxU5gzi7F5Pw==} superstruct@0.14.2: resolution: {integrity: sha512-nPewA6m9mR3d6k7WkZ8N8zpTWfenFH3q9pA2PkuiZxINr9DKB2+40wEQf0ixn8VaGuJ78AB6iWOtStI+/4FKZQ==} superstruct@1.0.3: resolution: {integrity: sha512-8iTn3oSS8nRGn+C2pgXSKPI3jmpm6FExNazNpjvqS6ZUJQCej3PUXEKM8NjHBOs54ExM+LPW/FBRhymrdcCiSg==} engines: {node: '>=14.0.0'} supports-color@5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} supports-color@7.2.0: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} supports-color@8.1.1: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} engines: {node: '>=10'} supports-hyperlinks@2.3.0: resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} engines: {node: '>=8'} supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} svg-parser@2.0.4: resolution: {integrity: sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ==} svgo@1.3.2: resolution: {integrity: sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==} engines: {node: '>=4.0.0'} deprecated: This SVGO version is no longer supported. Upgrade to v2.x.x. hasBin: true svgo@2.8.0: resolution: {integrity: sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg==} engines: {node: '>=10.13.0'} hasBin: true symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} tailwindcss@3.3.3: resolution: {integrity: sha512-A0KgSkef7eE4Mf+nKJ83i75TMyq8HqY3qmFIJSWy8bNt0v1lG7jUcpGpoTFxAwYcWOphcTBLPPJg+bDfhDf52w==} engines: {node: '>=14.0.0'} hasBin: true tapable@1.1.3: resolution: {integrity: sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==} engines: {node: '>=6'} tapable@2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} tar@6.2.0: resolution: {integrity: sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ==} engines: {node: '>=10'} temp-dir@1.0.0: resolution: {integrity: sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==} engines: {node: '>=4'} temp-dir@2.0.0: resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==} engines: {node: '>=8'} temp@0.8.4: resolution: {integrity: sha512-s0ZZzd0BzYv5tLSptZooSjK8oj6C+c19p7Vqta9+6NPOf7r+fxq0cJe6/oN4LTC79sy5NY8ucOJNgwsKCSbfqg==} engines: {node: '>=6.0.0'} tempy@0.3.0: resolution: {integrity: sha512-WrH/pui8YCwmeiAoxV+lpRH9HpRtgBhSR2ViBPgpGb/wnYDzp21R4MN45fsCGvLROvY67o3byhJRYRONJyImVQ==} engines: {node: '>=8'} tempy@0.6.0: resolution: {integrity: sha512-G13vtMYPT/J8A4X2SjdtBTphZlrp1gKv6hZiOjw14RCWg6GbHuQBGtjlx75xLbYV/wEc0D7G5K4rxKP/cXk8Bw==} engines: {node: '>=10'} tempy@0.7.1: resolution: {integrity: sha512-vXPxwOyaNVi9nyczO16mxmHGpl6ASC5/TVhRRHpqeYHvKQm58EaWNvZXxAhR0lYYnBOQFjXjhzeLsaXdjxLjRg==} engines: {node: '>=10'} term-size@2.2.1: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} engines: {node: '>=8'} terminal-link@2.1.1: resolution: {integrity: sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==} engines: {node: '>=8'} terser-webpack-plugin@5.3.9: resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} engines: {node: '>= 10.13.0'} peerDependencies: '@swc/core': '*' esbuild: '*' uglify-js: '*' webpack: ^5.1.0 peerDependenciesMeta: '@swc/core': optional: true esbuild: optional: true uglify-js: optional: true terser@5.19.1: resolution: {integrity: sha512-27hxBUVdV6GoNg1pKQ7Z5cbR6V9txPVyBA+FQw3BaZ1Wuzvztce5p156DaP0NVZNrMZZ+6iG9Syf7WgMNKDg2Q==} engines: {node: '>=10'} hasBin: true test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} text-encoding-utf-8@1.0.2: resolution: {integrity: sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg==} text-table@0.2.0: resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} thenify@3.3.1: resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} thread-stream@0.15.2: resolution: {integrity: sha512-UkEhKIg2pD+fjkHQKyJO3yoIvAP3N6RlNFt2dUhcS1FGvCD1cQa1M/PGknCLFIyZdtJOWQjejp7bdNqmN7zwdA==} throat@5.0.0: resolution: {integrity: sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==} throat@6.0.2: resolution: {integrity: sha512-WKexMoJj3vEuK0yFEapj8y64V0A6xcuPuK9Gt1d0R+dzCSJc0lHqQytAbSB4cDAK0dWh4T0E2ETkoLE2WZ41OQ==} through2@2.0.5: resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} through@2.3.8: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} thunky@1.1.0: resolution: {integrity: sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==} timsort@0.3.0: resolution: {integrity: sha512-qsdtZH+vMoCARQtyod4imc2nIJwg9Cc7lPRrw9CzF8ZKR0khdr8+2nX80PBhET3tcyTtJDxAffGh2rXH4tyU8A==} tiny-secp256k1@1.1.6: resolution: {integrity: sha512-FmqJZGduTyvsr2cF3375fqGHUovSwDi/QytexX1Se4BPuPZpTE5Ftp5fg+EFSuEf3lhZqgCRjEG3ydUQ/aNiwA==} engines: {node: '>=6.0.0'} tmp@0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} tmpl@1.0.5: resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} to-fast-properties@2.0.0: resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} engines: {node: '>=4'} to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} toggle-selection@1.0.6: resolution: {integrity: sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==} toidentifier@1.0.1: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} tough-cookie@4.1.3: resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} engines: {node: '>=6'} tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} tr46@1.0.1: resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} tr46@2.1.0: resolution: {integrity: sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==} engines: {node: '>=8'} tr46@3.0.0: resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} engines: {node: '>=12'} traverse@0.6.8: resolution: {integrity: sha512-aXJDbk6SnumuaZSANd21XAo15ucCDE38H4fkqiGsc3MhCK+wOlZvLP9cB/TvpHT0mOyWgC4Z8EwRlzqYSUzdsA==} engines: {node: '>= 0.4'} trim-newlines@3.0.1: resolution: {integrity: sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==} engines: {node: '>=8'} trim-repeated@1.0.0: resolution: {integrity: sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==} engines: {node: '>=0.10.0'} tryer@1.0.1: resolution: {integrity: sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==} ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} ts-jest@28.0.8: resolution: {integrity: sha512-5FaG0lXmRPzApix8oFG8RKjAz4ehtm8yMKOTy5HX3fY6W8kmvOrmcY0hKDElW52FJov+clhUbrKAqofnj4mXTg==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} hasBin: true peerDependencies: '@babel/core': '>=7.0.0-beta.0 <8' '@jest/types': ^28.0.0 babel-jest: ^28.0.0 esbuild: '*' jest: ^28.0.0 typescript: '>=4.3' peerDependenciesMeta: '@babel/core': optional: true '@jest/types': optional: true babel-jest: optional: true esbuild: optional: true ts-mixer@6.0.4: resolution: {integrity: sha512-ufKpbmrugz5Aou4wcr5Wc1UUFWOLhq+Fm6qa6P0w0K5Qw2yhaUoiWszhCVuNQyNwrlGiscHOmqYoAox1PtvgjA==} tsconfig-paths@3.14.2: resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} tslib@2.6.0: resolution: {integrity: sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==} tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} tsutils@3.21.0: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' tty-table@4.2.1: resolution: {integrity: sha512-xz0uKo+KakCQ+Dxj1D/tKn2FSyreSYWzdkL/BYhgN6oMW808g8QRMuh1atAV9fjTPbWBjfbkKQpI/5rEcnAc7g==} engines: {node: '>=8.0.0'} hasBin: true turbo-darwin-64@1.13.3: resolution: {integrity: sha512-glup8Qx1qEFB5jerAnXbS8WrL92OKyMmg5Hnd4PleLljAeYmx+cmmnsmLT7tpaVZIN58EAAwu8wHC6kIIqhbWA==} cpu: [x64] os: [darwin] turbo-darwin-arm64@1.13.3: resolution: {integrity: sha512-/np2xD+f/+9qY8BVtuOQXRq5f9LehCFxamiQnwdqWm5iZmdjygC5T3uVSYuagVFsZKMvX3ycySwh8dylGTl6lg==} cpu: [arm64] os: [darwin] turbo-linux-64@1.13.3: resolution: {integrity: sha512-G+HGrau54iAnbXLfl+N/PynqpDwi/uDzb6iM9hXEDG+yJnSJxaHMShhOkXYJPk9offm9prH33Khx2scXrYVW1g==} cpu: [x64] os: [linux] turbo-linux-arm64@1.13.3: resolution: {integrity: sha512-qWwEl5VR02NqRyl68/3pwp3c/olZuSp+vwlwrunuoNTm6JXGLG5pTeme4zoHNnk0qn4cCX7DFrOboArlYxv0wQ==} cpu: [arm64] os: [linux] turbo-windows-64@1.13.3: resolution: {integrity: sha512-Nudr4bRChfJzBPzEmpVV85VwUYRCGKecwkBFpbp2a4NtrJ3+UP1VZES653ckqCu2FRyRuS0n03v9euMbAvzH+Q==} cpu: [x64] os: [win32] turbo-windows-arm64@1.13.3: resolution: {integrity: sha512-ouJCgsVLd3icjRLmRvHQDDZnmGzT64GBupM1Y+TjtYn2LVaEBoV6hicFy8x5DUpnqdLy+YpCzRMkWlwhmkX7sQ==} cpu: [arm64] os: [win32] turbo@1.13.3: resolution: {integrity: sha512-n17HJv4F4CpsYTvKzUJhLbyewbXjq1oLCi90i5tW1TiWDz16ML1eDG7wi5dHaKxzh5efIM56SITnuVbMq5dk4g==} hasBin: true tweetnacl-util@0.15.1: resolution: {integrity: sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw==} tweetnacl@1.0.3: resolution: {integrity: sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==} type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} type-detect@4.0.8: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} type-fest@0.13.1: resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} engines: {node: '>=10'} type-fest@0.16.0: resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==} engines: {node: '>=10'} type-fest@0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} type-fest@0.3.1: resolution: {integrity: sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==} engines: {node: '>=6'} type-fest@0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} type-fest@0.7.1: resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==} engines: {node: '>=8'} type-fest@0.8.1: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} engines: {node: '>=8'} type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} typed-array-buffer@1.0.0: resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} engines: {node: '>= 0.4'} typed-array-byte-length@1.0.0: resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} engines: {node: '>= 0.4'} typed-array-byte-offset@1.0.0: resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} engines: {node: '>= 0.4'} typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} typedoc@0.23.28: resolution: {integrity: sha512-9x1+hZWTHEQcGoP7qFmlo4unUoVJLB0H/8vfO/7wqTnZxg4kPuji9y3uRzEu0ZKez63OJAUmiGhUrtukC6Uj3w==} engines: {node: '>= 14.14'} hasBin: true peerDependencies: typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x typeforce@1.18.0: resolution: {integrity: sha512-7uc1O8h1M1g0rArakJdf0uLRSSgFcYexrVoKo+bzJd32gd4gDy2L/Z+8/FjPnU9ydY3pEnVPtr9FyscYY60K1g==} typescript@4.7.4: resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==} engines: {node: '>=4.2.0'} hasBin: true ua-parser-js@1.0.37: resolution: {integrity: sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ==} uglify-es@3.3.9: resolution: {integrity: sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==} engines: {node: '>=0.8.0'} deprecated: support for ECMAScript is superseded by `uglify-js` as of v3.13.0 hasBin: true uint8arrays@3.1.1: resolution: {integrity: sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==} unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} unicode-canonical-property-names-ecmascript@2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} engines: {node: '>=4'} unicode-match-property-ecmascript@2.0.0: resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==} engines: {node: '>=4'} unicode-match-property-value-ecmascript@2.1.0: resolution: {integrity: sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==} engines: {node: '>=4'} unicode-property-aliases-ecmascript@2.1.0: resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==} engines: {node: '>=4'} unidragger@3.0.1: resolution: {integrity: sha512-RngbGSwBFmqGBWjkaH+yB677uzR95blSQyxq6hYbrQCejH3Mx1nm8DVOuh3M9k2fQyTstWUG5qlgCnNqV/9jVw==} unique-filename@1.1.1: resolution: {integrity: sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==} unique-slug@2.0.2: resolution: {integrity: sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==} unique-string@1.0.0: resolution: {integrity: sha512-ODgiYu03y5g76A1I9Gt0/chLCzQjvzDy7DsZGsLOE/1MrF6wriEskSncj1+/C58Xk/kPZDppSctDybCwOSaGAg==} engines: {node: '>=4'} unique-string@2.0.0: resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==} engines: {node: '>=8'} universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} universalify@0.2.0: resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} engines: {node: '>= 4.0.0'} universalify@1.0.0: resolution: {integrity: sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==} engines: {node: '>= 10.0.0'} universalify@2.0.0: resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} engines: {node: '>= 10.0.0'} unload@2.4.1: resolution: {integrity: sha512-IViSAm8Z3sRBYA+9wc0fLQmU9Nrxb16rcDmIiR6Y9LJSZzI7QY5QsDhqPpKOjAn0O9/kfK1TfNEMMAGPTIraPw==} unpipe@1.0.0: resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} engines: {node: '>= 0.8'} unquote@1.1.1: resolution: {integrity: sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==} upath@1.2.0: resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==} engines: {node: '>=4'} update-browserslist-db@1.0.11: resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} url-join@4.0.0: resolution: {integrity: sha512-EGXjXJZhIHiQMK2pQukuFcL303nskqIRzWvPvV5O8miOfwoUb9G+a/Cld60kUyeaybEI94wvVClT10DtfeAExA==} url-parse@1.5.10: resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} url@0.11.1: resolution: {integrity: sha512-rWS3H04/+mzzJkv0eZ7vEDGiQbgquI1fGfOad6zKvgYQi1SzMmhl7c/DdRGxhaWrVH6z0qWITo8rpnxK/RfEhA==} usb@2.11.0: resolution: {integrity: sha512-u5+NZ6DtoW8TIBtuSArQGAZZ/K15i3lYvZBAYmcgI+RcDS9G50/KPrUd3CrU8M92ahyCvg5e0gc8BDvr5Hwejg==} engines: {node: '>=12.22.0 <13.0 || >=14.17.0'} use-sync-external-store@1.2.0: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 utf-8-validate@5.0.10: resolution: {integrity: sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==} engines: {node: '>=6.14.2'} util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} util.promisify@1.0.1: resolution: {integrity: sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==} util@0.12.5: resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==} utila@0.4.0: resolution: {integrity: sha512-Z0DbgELS9/L/75wZbro8xAnT50pBVFQZ+hUEueGDU5FN51YSCYM+jdxsfCiHjwNP/4LCDD0i/graKpeBnOXKRA==} utility-types@3.10.0: resolution: {integrity: sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==} engines: {node: '>= 4'} utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} uuid@7.0.3: resolution: {integrity: sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==} hasBin: true uuid@8.3.2: resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} hasBin: true uuid@9.0.0: resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} hasBin: true uuidv4@6.2.13: resolution: {integrity: sha512-AXyzMjazYB3ovL3q051VLH06Ixj//Knx7QnUSi1T//Ie3io6CpsPu9nVMOx5MoLWh6xV0B9J0hIaxungxXUbPQ==} v8-compile-cache@2.3.0: resolution: {integrity: sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==} v8-to-istanbul@8.1.1: resolution: {integrity: sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w==} engines: {node: '>=10.12.0'} v8-to-istanbul@9.1.0: resolution: {integrity: sha512-6z3GW9x8G1gd+JIIgQQQxXuiJtCXeAjp6RaPEPLv62mH3iPHPxV6W3robxtCzNErRo6ZwTmzWhsbNvjyEBKzKA==} engines: {node: '>=10.12.0'} valid-url@1.0.9: resolution: {integrity: sha512-QQDsV8OnSf5Uc30CKSwG9lnhMPe6exHtTXLRYX8uMwKENy640pU+2BgBL0LRbDh/eYRahNCS7aewCx0wf3NYVA==} validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} validate-npm-package-name@3.0.0: resolution: {integrity: sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==} varuint-bitcoin@1.1.2: resolution: {integrity: sha512-4EVb+w4rx+YfVM32HQX42AbbT7/1f5zwAYhIujKXKk8NQK+JfRVl3pqT3hjNn/L+RstigmGGKVwHA/P0wgITZw==} vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} vlq@1.0.1: resolution: {integrity: sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==} vscode-oniguruma@1.7.0: resolution: {integrity: sha512-L9WMGRfrjOhgHSdOYgCt/yRMsXzLDJSL7BPrOZt73gU0iWO4mpqzqQzOz5srxqTvMBaR0XZTSrVWo4j55Rc6cA==} vscode-textmate@8.0.0: resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} w3c-hr-time@1.0.2: resolution: {integrity: sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==} deprecated: Use your platform's native performance.now() and performance.timeOrigin. w3c-xmlserializer@2.0.0: resolution: {integrity: sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==} engines: {node: '>=10'} w3c-xmlserializer@3.0.0: resolution: {integrity: sha512-3WFqGEgSXIyGhOmAFtlicJNMjEps8b1MG31NCA0/vOF9+nKMUW1ckhi9cnNHmf88Rzw5V+dwIwsm2C7X8k9aQg==} engines: {node: '>=12'} walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} warning@4.0.3: resolution: {integrity: sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==} watchpack@2.4.0: resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} engines: {node: '>=10.13.0'} wbuf@1.7.3: resolution: {integrity: sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==} wcwidth@1.0.1: resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} weak-lru-cache@1.2.2: resolution: {integrity: sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==} web-vitals@2.1.4: resolution: {integrity: sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg==} webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} webidl-conversions@4.0.2: resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} webidl-conversions@5.0.0: resolution: {integrity: sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==} engines: {node: '>=8'} webidl-conversions@6.1.0: resolution: {integrity: sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==} engines: {node: '>=10.4'} webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} webpack-dev-middleware@5.3.3: resolution: {integrity: sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA==} engines: {node: '>= 12.13.0'} peerDependencies: webpack: ^4.0.0 || ^5.0.0 webpack-dev-server@4.15.1: resolution: {integrity: sha512-5hbAst3h3C3L8w6W4P96L5vaV0PxSmJhxZvWKYIdgxOQm8pNZ5dEOmmSLBVpP85ReeyRt6AS1QJNyo/oFFPeVA==} engines: {node: '>= 12.13.0'} hasBin: true peerDependencies: webpack: ^4.37.0 || ^5.0.0 webpack-cli: '*' peerDependenciesMeta: webpack: optional: true webpack-cli: optional: true webpack-manifest-plugin@4.1.1: resolution: {integrity: sha512-YXUAwxtfKIJIKkhg03MKuiFAD72PlrqCiwdwO4VEXdRO5V0ORCNwaOwAZawPZalCbmH9kBDmXnNeQOw+BIEiow==} engines: {node: '>=12.22.0'} peerDependencies: webpack: ^4.44.2 || ^5.47.0 webpack-sources@1.4.3: resolution: {integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==} webpack-sources@2.3.1: resolution: {integrity: sha512-y9EI9AO42JjEcrTJFOYmVywVZdKVUfOvDUPsJea5GIr1JOEGFVqwlY2K098fFoIjOkDzHn2AjRvM8dsBZu+gCA==} engines: {node: '>=10.13.0'} webpack-sources@3.2.3: resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} engines: {node: '>=10.13.0'} webpack@5.88.2: resolution: {integrity: sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: webpack-cli: '*' peerDependenciesMeta: webpack-cli: optional: true webrtc-adapter@7.7.1: resolution: {integrity: sha512-TbrbBmiQBL9n0/5bvDdORc6ZfRY/Z7JnEj+EYOD1ghseZdpJ+nF2yx14k3LgQKc7JZnG7HAcL+zHnY25So9d7A==} engines: {node: '>=6.0.0', npm: '>=3.10.0'} websocket-driver@0.7.4: resolution: {integrity: sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==} engines: {node: '>=0.8.0'} websocket-extensions@0.1.4: resolution: {integrity: sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==} engines: {node: '>=0.8.0'} whatwg-encoding@1.0.5: resolution: {integrity: sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==} whatwg-encoding@2.0.0: resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} engines: {node: '>=12'} whatwg-fetch@3.6.16: resolution: {integrity: sha512-83avoGbZ0qtjtNrU3UTT3/Xd3uZ7DyfSYLuc1fL5iYs+93P+UkIVF6/6xpRVWeQcvbc7kSnVybSAVbd6QFW5Fg==} whatwg-mimetype@2.3.0: resolution: {integrity: sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==} whatwg-mimetype@3.0.0: resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} engines: {node: '>=12'} whatwg-url-without-unicode@8.0.0-3: resolution: {integrity: sha512-HoKuzZrUlgpz35YO27XgD28uh/WJH4B0+3ttFqRo//lmq+9T/mIOJ6kqmINI9HpUpz1imRC/nR/lxKpJiv0uig==} engines: {node: '>=10'} whatwg-url@10.0.0: resolution: {integrity: sha512-CLxxCmdUby142H5FZzn4D8ikO1cmypvXVQktsgosNy4a4BHrDHeciBBGZhb0bNoR5/MltoCatso+vFjjGx8t0w==} engines: {node: '>=12'} whatwg-url@11.0.0: resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} engines: {node: '>=12'} whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} whatwg-url@7.1.0: resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} whatwg-url@8.7.0: resolution: {integrity: sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==} engines: {node: '>=10'} which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} which-collection@1.0.1: resolution: {integrity: sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A==} which-module@2.0.1: resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} which-pm@2.0.0: resolution: {integrity: sha512-Lhs9Pmyph0p5n5Z3mVnN0yWcbQYUAD7rbQUiMsQxOJ3T57k7RFe35SUwWMf7dsbDZks1uOmw4AecB/JMDj3v/w==} engines: {node: '>=8.15'} which-typed-array@1.1.11: resolution: {integrity: sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==} engines: {node: '>= 0.4'} which@1.3.1: resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} hasBin: true which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} hasBin: true wif@4.0.0: resolution: {integrity: sha512-kADznC+4AFJNXpT8rLhbsfI7EmAcorc5nWvAdKUchGmwXEBD3n55q0/GZ3DBmc6auAvuTSsr/utiKizuXdNYOQ==} wonka@4.0.15: resolution: {integrity: sha512-U0IUQHKXXn6PFo9nqsHphVCE5m3IntqZNB9Jjn7EB1lrR7YTDY3YWgFvEvwniTzXSvOH/XMzAZaIfJF/LvHYXg==} workbox-background-sync@6.6.0: resolution: {integrity: sha512-jkf4ZdgOJxC9u2vztxLuPT/UjlH7m/nWRQ/MgGL0v8BJHoZdVGJd18Kck+a0e55wGXdqyHO+4IQTk0685g4MUw==} workbox-broadcast-update@6.6.0: resolution: {integrity: sha512-nm+v6QmrIFaB/yokJmQ/93qIJ7n72NICxIwQwe5xsZiV2aI93MGGyEyzOzDPVz5THEr5rC3FJSsO3346cId64Q==} workbox-build@6.6.0: resolution: {integrity: sha512-Tjf+gBwOTuGyZwMz2Nk/B13Fuyeo0Q84W++bebbVsfr9iLkDSo6j6PST8tET9HYA58mlRXwlMGpyWO8ETJiXdQ==} engines: {node: '>=10.0.0'} workbox-cacheable-response@6.6.0: resolution: {integrity: sha512-JfhJUSQDwsF1Xv3EV1vWzSsCOZn4mQ38bWEBR3LdvOxSPgB65gAM6cS2CX8rkkKHRgiLrN7Wxoyu+TuH67kHrw==} deprecated: workbox-background-sync@6.6.0 workbox-core@6.6.0: resolution: {integrity: sha512-GDtFRF7Yg3DD859PMbPAYPeJyg5gJYXuBQAC+wyrWuuXgpfoOrIQIvFRZnQ7+czTIQjIr1DhLEGFzZanAT/3bQ==} workbox-expiration@6.6.0: resolution: {integrity: sha512-baplYXcDHbe8vAo7GYvyAmlS4f6998Jff513L4XvlzAOxcl8F620O91guoJ5EOf5qeXG4cGdNZHkkVAPouFCpw==} workbox-google-analytics@6.6.0: resolution: {integrity: sha512-p4DJa6OldXWd6M9zRl0H6vB9lkrmqYFkRQ2xEiNdBFp9U0LhsGO7hsBscVEyH9H2/3eZZt8c97NB2FD9U2NJ+Q==} workbox-navigation-preload@6.6.0: resolution: {integrity: sha512-utNEWG+uOfXdaZmvhshrh7KzhDu/1iMHyQOV6Aqup8Mm78D286ugu5k9MFD9SzBT5TcwgwSORVvInaXWbvKz9Q==} workbox-precaching@6.6.0: resolution: {integrity: sha512-eYu/7MqtRZN1IDttl/UQcSZFkHP7dnvr/X3Vn6Iw6OsPMruQHiVjjomDFCNtd8k2RdjLs0xiz9nq+t3YVBcWPw==} workbox-range-requests@6.6.0: resolution: {integrity: sha512-V3aICz5fLGq5DpSYEU8LxeXvsT//mRWzKrfBOIxzIdQnV/Wj7R+LyJVTczi4CQ4NwKhAaBVaSujI1cEjXW+hTw==} workbox-recipes@6.6.0: resolution: {integrity: sha512-TFi3kTgYw73t5tg73yPVqQC8QQjxJSeqjXRO4ouE/CeypmP2O/xqmB/ZFBBQazLTPxILUQ0b8aeh0IuxVn9a6A==} workbox-routing@6.6.0: resolution: {integrity: sha512-x8gdN7VDBiLC03izAZRfU+WKUXJnbqt6PG9Uh0XuPRzJPpZGLKce/FkOX95dWHRpOHWLEq8RXzjW0O+POSkKvw==} workbox-strategies@6.6.0: resolution: {integrity: sha512-eC07XGuINAKUWDnZeIPdRdVja4JQtTuc35TZ8SwMb1ztjp7Ddq2CJ4yqLvWzFWGlYI7CG/YGqaETntTxBGdKgQ==} workbox-streams@6.6.0: resolution: {integrity: sha512-rfMJLVvwuED09CnH1RnIep7L9+mj4ufkTyDPVaXPKlhi9+0czCu+SJggWCIFbPpJaAZmp2iyVGLqS3RUmY3fxg==} workbox-sw@6.6.0: resolution: {integrity: sha512-R2IkwDokbtHUE4Kus8pKO5+VkPHD2oqTgl+XJwh4zbF1HyjAbgNmK/FneZHVU7p03XUt9ICfuGDYISWG9qV/CQ==} workbox-webpack-plugin@6.6.0: resolution: {integrity: sha512-xNZIZHalboZU66Wa7x1YkjIqEy1gTR+zPM+kjrYJzqN7iurYZBctBLISyScjhkJKYuRrZUP0iqViZTh8rS0+3A==} engines: {node: '>=10.0.0'} peerDependencies: webpack: ^4.4.0 || ^5.9.0 workbox-window@6.6.0: resolution: {integrity: sha512-L4N9+vka17d16geaJXXRjENLFldvkWy7JyGxElRD0JvBxvFEd8LOhr+uXCcar/NzAmIBRv9EZ+M+Qr4mOoBITw==} wrap-ansi@5.1.0: resolution: {integrity: sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==} engines: {node: '>=6'} wrap-ansi@6.2.0: resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} engines: {node: '>=8'} wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} write-file-atomic@2.4.3: resolution: {integrity: sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==} write-file-atomic@3.0.3: resolution: {integrity: sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==} write-file-atomic@4.0.2: resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} ws@6.2.2: resolution: {integrity: sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==} peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ^5.0.2 peerDependenciesMeta: bufferutil: optional: true utf-8-validate: optional: true ws@7.5.9: resolution: {integrity: sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==} engines: {node: '>=8.3.0'} peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ^5.0.2 peerDependenciesMeta: bufferutil: optional: true utf-8-validate: optional: true ws@8.11.0: resolution: {integrity: sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ^5.0.2 peerDependenciesMeta: bufferutil: optional: true utf-8-validate: optional: true ws@8.13.0: resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 utf-8-validate: '>=5.0.2' peerDependenciesMeta: bufferutil: optional: true utf-8-validate: optional: true ws@8.16.0: resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 utf-8-validate: '>=5.0.2' peerDependenciesMeta: bufferutil: optional: true utf-8-validate: optional: true xcode@3.0.1: resolution: {integrity: sha512-kCz5k7J7XbJtjABOvkc5lJmkiDh8VhjVCGNiqdKCscmVpdVUpEAyXv1xmCLkQJ5dsHqx3IPO4XW+NTDhU/fatA==} engines: {node: '>=10.0.0'} xml-name-validator@3.0.0: resolution: {integrity: sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==} xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} xml2js@0.6.0: resolution: {integrity: sha512-eLTh0kA8uHceqesPqSE+VvO1CDDJWMwlQfB6LuN6T8w6MaDJ8Txm8P7s5cHD0miF0V+GGTZrDQfxPZQVsur33w==} engines: {node: '>=4.0.0'} xmlbuilder@11.0.1: resolution: {integrity: sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==} engines: {node: '>=4.0'} xmlbuilder@14.0.0: resolution: {integrity: sha512-ts+B2rSe4fIckR6iquDjsKbQFK2NlUk6iG5nf14mDEyldgoc2nEKZ3jZWMPTxGQwVgToSjt6VGIho1H8/fNFTg==} engines: {node: '>=8.0'} xmlbuilder@15.1.1: resolution: {integrity: sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==} engines: {node: '>=8.0'} xmlchars@2.2.0: resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} xmlhttprequest-ssl@2.0.0: resolution: {integrity: sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==} engines: {node: '>=0.4.0'} xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} xxhash-wasm@0.4.2: resolution: {integrity: sha512-/eyHVRJQCirEkSZ1agRSCwriMhwlyUcFkXD5TPVSLP+IPzjsqMVzZwdoczLp1SoQU0R3dxz1RpIK+4YNQbCVOA==} y18n@4.0.3: resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} y18n@5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} yallist@2.1.2: resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} yaml@1.10.2: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} yaml@2.3.1: resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==} engines: {node: '>= 14'} yargs-parser@13.1.2: resolution: {integrity: sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==} yargs-parser@18.1.3: resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} engines: {node: '>=6'} yargs-parser@20.2.9: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} yargs@13.3.2: resolution: {integrity: sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==} yargs@15.4.1: resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==} engines: {node: '>=8'} yargs@16.2.0: resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} engines: {node: '>=10'} yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} snapshots: '@aashutoshrathi/word-wrap@1.2.6': {} '@adobe/css-tools@4.2.0': {} '@alloc/quick-lru@5.2.0': {} '@ampproject/remapping@2.2.1': dependencies: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.18 '@ant-design/colors@6.0.0': dependencies: '@ctrl/tinycolor': 3.6.0 '@ant-design/icons-svg@4.2.1': {} '@ant-design/icons@4.8.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@ant-design/colors': 6.0.0 '@ant-design/icons-svg': 4.2.1 '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) '@ant-design/react-slick@0.29.2(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 json2mq: 0.2.0 lodash: 4.17.21 react: 18.2.0 resize-observer-polyfill: 1.5.1 '@apideck/better-ajv-errors@0.3.6(ajv@8.12.0)': dependencies: ajv: 8.12.0 json-schema: 0.4.0 jsonpointer: 5.0.1 leven: 3.1.0 '@babel/code-frame@7.10.4': dependencies: '@babel/highlight': 7.22.5 '@babel/code-frame@7.22.5': dependencies: '@babel/highlight': 7.22.5 '@babel/code-frame@7.23.5': dependencies: '@babel/highlight': 7.23.4 chalk: 2.4.2 '@babel/compat-data@7.22.9': {} '@babel/core@7.22.9': dependencies: '@ampproject/remapping': 2.2.1 '@babel/code-frame': 7.22.5 '@babel/generator': 7.22.9 '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.22.9) '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.9) '@babel/helpers': 7.22.6 '@babel/parser': 7.22.7 '@babel/template': 7.22.5 '@babel/traverse': 7.22.8 '@babel/types': 7.22.5 convert-source-map: 1.9.0 debug: 4.3.4 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 transitivePeerDependencies: - supports-color '@babel/eslint-parser@7.22.9(@babel/core@7.22.9)(eslint@8.22.0)': dependencies: '@babel/core': 7.22.9 '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 eslint: 8.22.0 eslint-visitor-keys: 2.1.0 semver: 6.3.1 '@babel/generator@7.22.9': dependencies: '@babel/types': 7.22.5 '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.18 jsesc: 2.5.2 '@babel/helper-annotate-as-pure@7.22.5': dependencies: '@babel/types': 7.22.5 '@babel/helper-builder-binary-assignment-operator-visitor@7.22.5': dependencies: '@babel/types': 7.22.5 '@babel/helper-compilation-targets@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/compat-data': 7.22.9 '@babel/core': 7.22.9 '@babel/helper-validator-option': 7.22.5 browserslist: 4.21.9 lru-cache: 5.1.1 semver: 6.3.1 '@babel/helper-create-class-features-plugin@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.5 '@babel/helper-function-name': 7.22.5 '@babel/helper-member-expression-to-functions': 7.22.5 '@babel/helper-optimise-call-expression': 7.22.5 '@babel/helper-replace-supers': 7.22.9(@babel/core@7.22.9) '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 semver: 6.3.1 '@babel/helper-create-class-features-plugin@7.24.0(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-function-name': 7.23.0 '@babel/helper-member-expression-to-functions': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 '@babel/helper-replace-supers': 7.22.20(@babel/core@7.22.9) '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 semver: 6.3.1 '@babel/helper-create-regexp-features-plugin@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 regexpu-core: 5.3.2 semver: 6.3.1 '@babel/helper-define-polyfill-provider@0.4.1(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 debug: 4.3.4 lodash.debounce: 4.0.8 resolve: 1.22.2 transitivePeerDependencies: - supports-color '@babel/helper-environment-visitor@7.22.20': {} '@babel/helper-environment-visitor@7.22.5': {} '@babel/helper-function-name@7.22.5': dependencies: '@babel/template': 7.22.5 '@babel/types': 7.22.5 '@babel/helper-function-name@7.23.0': dependencies: '@babel/template': 7.24.0 '@babel/types': 7.24.0 '@babel/helper-hoist-variables@7.22.5': dependencies: '@babel/types': 7.22.5 '@babel/helper-member-expression-to-functions@7.22.5': dependencies: '@babel/types': 7.22.5 '@babel/helper-member-expression-to-functions@7.23.0': dependencies: '@babel/types': 7.24.0 '@babel/helper-module-imports@7.22.15': dependencies: '@babel/types': 7.24.0 '@babel/helper-module-imports@7.22.5': dependencies: '@babel/types': 7.22.5 '@babel/helper-module-transforms@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-environment-visitor': 7.22.5 '@babel/helper-module-imports': 7.22.5 '@babel/helper-simple-access': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 '@babel/helper-validator-identifier': 7.22.5 '@babel/helper-optimise-call-expression@7.22.5': dependencies: '@babel/types': 7.22.5 '@babel/helper-plugin-utils@7.22.5': {} '@babel/helper-remap-async-to-generator@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-environment-visitor': 7.22.5 '@babel/helper-wrap-function': 7.22.9 '@babel/helper-replace-supers@7.22.20(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-member-expression-to-functions': 7.23.0 '@babel/helper-optimise-call-expression': 7.22.5 '@babel/helper-replace-supers@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-environment-visitor': 7.22.5 '@babel/helper-member-expression-to-functions': 7.22.5 '@babel/helper-optimise-call-expression': 7.22.5 '@babel/helper-simple-access@7.22.5': dependencies: '@babel/types': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers@7.22.5': dependencies: '@babel/types': 7.22.5 '@babel/helper-split-export-declaration@7.22.6': dependencies: '@babel/types': 7.22.5 '@babel/helper-string-parser@7.22.5': {} '@babel/helper-string-parser@7.23.4': {} '@babel/helper-validator-identifier@7.22.20': {} '@babel/helper-validator-identifier@7.22.5': {} '@babel/helper-validator-option@7.22.5': {} '@babel/helper-validator-option@7.23.5': {} '@babel/helper-wrap-function@7.22.9': dependencies: '@babel/helper-function-name': 7.22.5 '@babel/template': 7.22.5 '@babel/types': 7.22.5 '@babel/helpers@7.22.6': dependencies: '@babel/template': 7.22.5 '@babel/traverse': 7.22.8 '@babel/types': 7.22.5 transitivePeerDependencies: - supports-color '@babel/highlight@7.22.5': dependencies: '@babel/helper-validator-identifier': 7.22.5 chalk: 2.4.2 js-tokens: 4.0.0 '@babel/highlight@7.23.4': dependencies: '@babel/helper-validator-identifier': 7.22.20 chalk: 2.4.2 js-tokens: 4.0.0 '@babel/parser@7.22.7': dependencies: '@babel/types': 7.22.5 '@babel/parser@7.24.0': dependencies: '@babel/types': 7.24.0 '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/plugin-transform-optional-chaining': 7.22.6(@babel/core@7.22.9) '@babel/plugin-proposal-async-generator-functions@7.20.7(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-environment-visitor': 7.22.20 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-remap-async-to-generator': 7.22.9(@babel/core@7.22.9) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.9) '@babel/plugin-proposal-class-properties@7.18.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-proposal-decorators@7.22.7(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-replace-supers': 7.22.9(@babel/core@7.22.9) '@babel/helper-split-export-declaration': 7.22.6 '@babel/plugin-syntax-decorators': 7.22.5(@babel/core@7.22.9) '@babel/plugin-proposal-export-default-from@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-export-default-from': 7.22.5(@babel/core@7.22.9) '@babel/plugin-proposal-nullish-coalescing-operator@7.18.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.9) '@babel/plugin-proposal-numeric-separator@7.18.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.9) '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.22.9)': dependencies: '@babel/compat-data': 7.22.9 '@babel/core': 7.22.9 '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.22.9) '@babel/plugin-proposal-optional-catch-binding@7.18.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.9) '@babel/plugin-proposal-optional-chaining@7.21.0(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.9) '@babel/plugin-proposal-private-methods@7.18.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/plugin-proposal-private-property-in-object@7.21.11(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.22.9) '@babel/plugin-proposal-unicode-property-regex@7.18.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-regexp-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-decorators@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-export-default-from@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-import-assertions@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-import-attributes@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-jsx@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-typescript@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-regexp-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-arrow-functions@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-async-generator-functions@7.22.7(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-environment-visitor': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-remap-async-to-generator': 7.22.9(@babel/core@7.22.9) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.9) '@babel/plugin-transform-async-to-generator@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-module-imports': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-remap-async-to-generator': 7.22.9(@babel/core@7.22.9) '@babel/plugin-transform-block-scoped-functions@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-block-scoping@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-class-properties@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-class-static-block@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.22.9) '@babel/plugin-transform-classes@7.22.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.22.9) '@babel/helper-environment-visitor': 7.22.5 '@babel/helper-function-name': 7.22.5 '@babel/helper-optimise-call-expression': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-replace-supers': 7.22.9(@babel/core@7.22.9) '@babel/helper-split-export-declaration': 7.22.6 globals: 11.12.0 '@babel/plugin-transform-computed-properties@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/template': 7.22.5 '@babel/plugin-transform-destructuring@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-dotall-regex@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-regexp-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-duplicate-keys@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-dynamic-import@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-exponentiation-operator@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-export-namespace-from@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-flow-strip-types@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-flow': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-for-of@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-function-name@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.22.9) '@babel/helper-function-name': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-json-strings@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-literals@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-logical-assignment-operators@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.9) '@babel/plugin-transform-member-expression-literals@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-modules-amd@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-modules-commonjs@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-simple-access': 7.22.5 '@babel/plugin-transform-modules-systemjs@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-identifier': 7.22.5 '@babel/plugin-transform-modules-umd@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-module-transforms': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-regexp-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-new-target@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-nullish-coalescing-operator@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-numeric-separator@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.9) '@babel/plugin-transform-object-rest-spread@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/compat-data': 7.22.9 '@babel/core': 7.22.9 '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-parameters': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-object-super@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-replace-supers': 7.22.9(@babel/core@7.22.9) '@babel/plugin-transform-optional-catch-binding@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-optional-chaining@7.22.6(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-parameters@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-parameters@7.23.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-private-methods@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-private-property-in-object@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.22.9) '@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-create-class-features-plugin': 7.24.0(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.22.9) '@babel/plugin-transform-property-literals@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-react-constant-elements@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-react-display-name@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-react-display-name@7.23.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-react-jsx-development@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/plugin-transform-react-jsx': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx-self@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-react-jsx-source@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-react-jsx@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-module-imports': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.9) '@babel/types': 7.22.5 '@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-module-imports': 7.22.15 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.22.9) '@babel/types': 7.24.0 '@babel/plugin-transform-react-pure-annotations@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-react-pure-annotations@7.23.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-regenerator@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 regenerator-transform: 0.15.1 '@babel/plugin-transform-reserved-words@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-runtime@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-module-imports': 7.22.5 '@babel/helper-plugin-utils': 7.22.5 babel-plugin-polyfill-corejs2: 0.4.4(@babel/core@7.22.9) babel-plugin-polyfill-corejs3: 0.8.2(@babel/core@7.22.9) babel-plugin-polyfill-regenerator: 0.5.1(@babel/core@7.22.9) semver: 6.3.1 transitivePeerDependencies: - supports-color '@babel/plugin-transform-shorthand-properties@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-spread@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 '@babel/plugin-transform-sticky-regex@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-template-literals@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-typeof-symbol@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-typescript@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-annotate-as-pure': 7.22.5 '@babel/helper-create-class-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-unicode-escapes@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-unicode-property-regex@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-regexp-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-unicode-regex@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-regexp-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-transform-unicode-sets-regex@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-create-regexp-features-plugin': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/preset-env@7.22.9(@babel/core@7.22.9)': dependencies: '@babel/compat-data': 7.22.9 '@babel/core': 7.22.9 '@babel/helper-compilation-targets': 7.22.9(@babel/core@7.22.9) '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.22.5 '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.22.5(@babel/core@7.22.9) '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.22.5(@babel/core@7.22.9) '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.22.9) '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.9) '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.22.9) '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.22.9) '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-import-assertions': 7.22.5(@babel/core@7.22.9) '@babel/plugin-syntax-import-attributes': 7.22.5(@babel/core@7.22.9) '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.22.9) '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.9) '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.9) '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.22.9) '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.22.9) '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.22.9) '@babel/plugin-transform-arrow-functions': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-async-generator-functions': 7.22.7(@babel/core@7.22.9) '@babel/plugin-transform-async-to-generator': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-block-scoped-functions': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-block-scoping': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-class-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-class-static-block': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-classes': 7.22.6(@babel/core@7.22.9) '@babel/plugin-transform-computed-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-destructuring': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-dotall-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-duplicate-keys': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-dynamic-import': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-exponentiation-operator': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-export-namespace-from': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-for-of': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-function-name': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-json-strings': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-logical-assignment-operators': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-member-expression-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-modules-amd': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-modules-systemjs': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-modules-umd': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-new-target': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-nullish-coalescing-operator': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-numeric-separator': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-object-rest-spread': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-object-super': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-optional-catch-binding': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-optional-chaining': 7.22.6(@babel/core@7.22.9) '@babel/plugin-transform-parameters': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-private-methods': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-private-property-in-object': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-property-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-regenerator': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-reserved-words': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-shorthand-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-spread': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-sticky-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-template-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-typeof-symbol': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-unicode-escapes': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-unicode-property-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-unicode-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-unicode-sets-regex': 7.22.5(@babel/core@7.22.9) '@babel/preset-modules': 0.1.5(@babel/core@7.22.9) '@babel/types': 7.22.5 babel-plugin-polyfill-corejs2: 0.4.4(@babel/core@7.22.9) babel-plugin-polyfill-corejs3: 0.8.2(@babel/core@7.22.9) babel-plugin-polyfill-regenerator: 0.5.1(@babel/core@7.22.9) core-js-compat: 3.31.1 semver: 6.3.1 transitivePeerDependencies: - supports-color '@babel/preset-flow@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.23.5 '@babel/plugin-transform-flow-strip-types': 7.22.5(@babel/core@7.22.9) '@babel/preset-modules@0.1.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/plugin-proposal-unicode-property-regex': 7.18.6(@babel/core@7.22.9) '@babel/plugin-transform-dotall-regex': 7.22.5(@babel/core@7.22.9) '@babel/types': 7.22.5 esutils: 2.0.3 '@babel/preset-react@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.22.5 '@babel/plugin-transform-react-display-name': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx-development': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-pure-annotations': 7.22.5(@babel/core@7.22.9) '@babel/preset-react@7.23.3(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.23.5 '@babel/plugin-transform-react-display-name': 7.23.3(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx-development': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-pure-annotations': 7.23.3(@babel/core@7.22.9) '@babel/preset-typescript@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 '@babel/helper-plugin-utils': 7.22.5 '@babel/helper-validator-option': 7.22.5 '@babel/plugin-syntax-jsx': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-typescript': 7.22.9(@babel/core@7.22.9) '@babel/register@7.22.5(@babel/core@7.22.9)': dependencies: '@babel/core': 7.22.9 clone-deep: 4.0.1 find-cache-dir: 2.1.0 make-dir: 2.1.0 pirates: 4.0.6 source-map-support: 0.5.21 '@babel/regjsgen@0.8.0': {} '@babel/runtime@7.22.6': dependencies: regenerator-runtime: 0.13.11 '@babel/runtime@7.23.5': dependencies: regenerator-runtime: 0.14.0 '@babel/template@7.22.5': dependencies: '@babel/code-frame': 7.22.5 '@babel/parser': 7.22.7 '@babel/types': 7.22.5 '@babel/template@7.24.0': dependencies: '@babel/code-frame': 7.23.5 '@babel/parser': 7.24.0 '@babel/types': 7.24.0 '@babel/traverse@7.22.8': dependencies: '@babel/code-frame': 7.22.5 '@babel/generator': 7.22.9 '@babel/helper-environment-visitor': 7.22.5 '@babel/helper-function-name': 7.22.5 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 '@babel/parser': 7.22.7 '@babel/types': 7.22.5 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: - supports-color '@babel/types@7.22.5': dependencies: '@babel/helper-string-parser': 7.22.5 '@babel/helper-validator-identifier': 7.22.5 to-fast-properties: 2.0.0 '@babel/types@7.24.0': dependencies: '@babel/helper-string-parser': 7.23.4 '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 '@bcoe/v8-coverage@0.2.3': {} '@changesets/apply-release-plan@6.1.4': dependencies: '@babel/runtime': 7.22.6 '@changesets/config': 2.3.1 '@changesets/get-version-range-type': 0.3.2 '@changesets/git': 2.0.0 '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 detect-indent: 6.1.0 fs-extra: 7.0.1 lodash.startcase: 4.4.0 outdent: 0.5.0 prettier: 2.8.8 resolve-from: 5.0.0 semver: 7.5.4 '@changesets/assemble-release-plan@5.2.4': dependencies: '@babel/runtime': 7.22.6 '@changesets/errors': 0.1.4 '@changesets/get-dependents-graph': 1.3.6 '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 semver: 7.5.4 '@changesets/changelog-git@0.1.14': dependencies: '@changesets/types': 5.2.1 '@changesets/cli@2.26.2': dependencies: '@babel/runtime': 7.22.6 '@changesets/apply-release-plan': 6.1.4 '@changesets/assemble-release-plan': 5.2.4 '@changesets/changelog-git': 0.1.14 '@changesets/config': 2.3.1 '@changesets/errors': 0.1.4 '@changesets/get-dependents-graph': 1.3.6 '@changesets/get-release-plan': 3.0.17 '@changesets/git': 2.0.0 '@changesets/logger': 0.0.5 '@changesets/pre': 1.0.14 '@changesets/read': 0.5.9 '@changesets/types': 5.2.1 '@changesets/write': 0.2.3 '@manypkg/get-packages': 1.1.3 '@types/is-ci': 3.0.0 '@types/semver': 7.5.0 ansi-colors: 4.1.3 chalk: 2.4.2 enquirer: 2.3.6 external-editor: 3.1.0 fs-extra: 7.0.1 human-id: 1.0.2 is-ci: 3.0.1 meow: 6.1.1 outdent: 0.5.0 p-limit: 2.3.0 preferred-pm: 3.0.3 resolve-from: 5.0.0 semver: 7.5.4 spawndamnit: 2.0.0 term-size: 2.2.1 tty-table: 4.2.1 '@changesets/config@2.3.1': dependencies: '@changesets/errors': 0.1.4 '@changesets/get-dependents-graph': 1.3.6 '@changesets/logger': 0.0.5 '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 fs-extra: 7.0.1 micromatch: 4.0.5 '@changesets/errors@0.1.4': dependencies: extendable-error: 0.1.7 '@changesets/get-dependents-graph@1.3.6': dependencies: '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 chalk: 2.4.2 fs-extra: 7.0.1 semver: 7.5.4 '@changesets/get-release-plan@3.0.17': dependencies: '@babel/runtime': 7.22.6 '@changesets/assemble-release-plan': 5.2.4 '@changesets/config': 2.3.1 '@changesets/pre': 1.0.14 '@changesets/read': 0.5.9 '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 '@changesets/get-version-range-type@0.3.2': {} '@changesets/git@2.0.0': dependencies: '@babel/runtime': 7.22.6 '@changesets/errors': 0.1.4 '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 is-subdir: 1.2.0 micromatch: 4.0.5 spawndamnit: 2.0.0 '@changesets/logger@0.0.5': dependencies: chalk: 2.4.2 '@changesets/parse@0.3.16': dependencies: '@changesets/types': 5.2.1 js-yaml: 3.14.1 '@changesets/pre@1.0.14': dependencies: '@babel/runtime': 7.22.6 '@changesets/errors': 0.1.4 '@changesets/types': 5.2.1 '@manypkg/get-packages': 1.1.3 fs-extra: 7.0.1 '@changesets/read@0.5.9': dependencies: '@babel/runtime': 7.22.6 '@changesets/git': 2.0.0 '@changesets/logger': 0.0.5 '@changesets/parse': 0.3.16 '@changesets/types': 5.2.1 chalk: 2.4.2 fs-extra: 7.0.1 p-filter: 2.1.0 '@changesets/types@4.1.0': {} '@changesets/types@5.2.1': {} '@changesets/write@0.2.3': dependencies: '@babel/runtime': 7.22.6 '@changesets/types': 5.2.1 fs-extra: 7.0.1 human-id: 1.0.2 prettier: 2.8.8 '@csstools/normalize.css@12.0.0': {} '@csstools/postcss-cascade-layers@1.1.1(postcss@8.4.26)': dependencies: '@csstools/selector-specificity': 2.2.0(postcss-selector-parser@6.0.13) postcss: 8.4.26 postcss-selector-parser: 6.0.13 '@csstools/postcss-color-function@1.1.1(postcss@8.4.26)': dependencies: '@csstools/postcss-progressive-custom-properties': 1.3.0(postcss@8.4.26) postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-font-format-keywords@1.0.1(postcss@8.4.26)': dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-hwb-function@1.0.2(postcss@8.4.26)': dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-ic-unit@1.0.1(postcss@8.4.26)': dependencies: '@csstools/postcss-progressive-custom-properties': 1.3.0(postcss@8.4.26) postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-is-pseudo-class@2.0.7(postcss@8.4.26)': dependencies: '@csstools/selector-specificity': 2.2.0(postcss-selector-parser@6.0.13) postcss: 8.4.26 postcss-selector-parser: 6.0.13 '@csstools/postcss-nested-calc@1.0.0(postcss@8.4.26)': dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-normalize-display-values@1.0.1(postcss@8.4.26)': dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-oklab-function@1.1.1(postcss@8.4.26)': dependencies: '@csstools/postcss-progressive-custom-properties': 1.3.0(postcss@8.4.26) postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-progressive-custom-properties@1.3.0(postcss@8.4.26)': dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-stepped-value-functions@1.0.1(postcss@8.4.26)': dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-text-decoration-shorthand@1.0.0(postcss@8.4.26)': dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-trigonometric-functions@1.0.2(postcss@8.4.26)': dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 '@csstools/postcss-unset-value@1.0.2(postcss@8.4.26)': dependencies: postcss: 8.4.26 '@csstools/selector-specificity@2.2.0(postcss-selector-parser@6.0.13)': dependencies: postcss-selector-parser: 6.0.13 '@ctrl/tinycolor@3.6.0': {} '@emotion/babel-plugin@11.11.0': dependencies: '@babel/helper-module-imports': 7.22.5 '@babel/runtime': 7.22.6 '@emotion/hash': 0.9.1 '@emotion/memoize': 0.8.1 '@emotion/serialize': 1.1.2 babel-plugin-macros: 3.1.0 convert-source-map: 1.9.0 escape-string-regexp: 4.0.0 find-root: 1.1.0 source-map: 0.5.7 stylis: 4.2.0 '@emotion/cache@11.11.0': dependencies: '@emotion/memoize': 0.8.1 '@emotion/sheet': 1.2.2 '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 stylis: 4.2.0 '@emotion/hash@0.9.1': {} '@emotion/is-prop-valid@1.2.1': dependencies: '@emotion/memoize': 0.8.1 '@emotion/memoize@0.8.1': {} '@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.2 '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 hoist-non-react-statics: 3.3.2 react: 18.2.0 optionalDependencies: '@types/react': 18.2.15 '@emotion/serialize@1.1.2': dependencies: '@emotion/hash': 0.9.1 '@emotion/memoize': 0.8.1 '@emotion/unitless': 0.8.1 '@emotion/utils': 1.2.1 csstype: 3.1.2 '@emotion/sheet@1.2.2': {} '@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@emotion/babel-plugin': 11.11.0 '@emotion/is-prop-valid': 1.2.1 '@emotion/react': 11.11.1(@types/react@18.2.15)(react@18.2.0) '@emotion/serialize': 1.1.2 '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@18.2.0) '@emotion/utils': 1.2.1 react: 18.2.0 optionalDependencies: '@types/react': 18.2.15 '@emotion/unitless@0.8.1': {} '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@18.2.0)': dependencies: react: 18.2.0 '@emotion/utils@1.2.1': {} '@emotion/weak-memoize@0.3.1': {} '@emurgo/cardano-serialization-lib-browser@11.5.0': {} '@emurgo/cardano-serialization-lib-nodejs@11.5.0': {} '@eslint-community/eslint-utils@4.4.0(eslint@8.22.0)': dependencies: eslint: 8.22.0 eslint-visitor-keys: 3.4.1 '@eslint-community/regexpp@4.5.1': {} '@eslint/eslintrc@1.4.1': dependencies: ajv: 6.12.6 debug: 4.3.4 espree: 9.6.1 globals: 13.20.0 ignore: 5.2.4 import-fresh: 3.3.0 js-yaml: 4.1.0 minimatch: 3.1.2 strip-json-comments: 3.1.1 transitivePeerDependencies: - supports-color '@ethereumjs/common@3.2.0': dependencies: '@ethereumjs/util': 8.1.0 crc-32: 1.2.2 '@ethereumjs/common@4.2.0': dependencies: '@ethereumjs/util': 9.0.2 transitivePeerDependencies: - c-kzg '@ethereumjs/rlp@4.0.1': {} '@ethereumjs/rlp@5.0.2': {} '@ethereumjs/tx@4.2.0': dependencies: '@ethereumjs/common': 3.2.0 '@ethereumjs/rlp': 4.0.1 '@ethereumjs/util': 8.1.0 ethereum-cryptography: 2.1.2 '@ethereumjs/tx@5.2.1': dependencies: '@ethereumjs/common': 4.2.0 '@ethereumjs/rlp': 5.0.2 '@ethereumjs/util': 9.0.2 ethereum-cryptography: 2.1.3 '@ethereumjs/util@8.1.0': dependencies: '@ethereumjs/rlp': 4.0.1 ethereum-cryptography: 2.1.2 micro-ftch: 0.3.1 '@ethereumjs/util@9.0.2': dependencies: '@ethereumjs/rlp': 5.0.2 ethereum-cryptography: 2.1.3 '@expo/bunyan@4.0.0': dependencies: uuid: 8.3.2 optionalDependencies: mv: 2.1.1 safe-json-stringify: 1.2.0 '@expo/cli@0.17.7(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(expo-modules-autolinking@1.10.3)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.23.5 '@expo/code-signing-certificates': 0.0.5 '@expo/config': 8.5.4 '@expo/config-plugins': 7.8.4 '@expo/devcert': 1.1.0 '@expo/env': 0.2.2 '@expo/image-utils': 0.4.1 '@expo/json-file': 8.3.0 '@expo/metro-config': 0.17.6(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))) '@expo/osascript': 2.1.0 '@expo/package-manager': 1.4.2 '@expo/plist': 0.1.0 '@expo/prebuild-config': 6.7.4(expo-modules-autolinking@1.10.3) '@expo/rudder-sdk-node': 1.1.1 '@expo/spawn-async': 1.5.0 '@expo/xcpretty': 4.3.1 '@react-native/dev-middleware': 0.73.8(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@urql/core': 2.3.6(graphql@15.8.0) '@urql/exchange-retry': 0.3.0(graphql@15.8.0) accepts: 1.3.8 arg: 5.0.2 better-opn: 3.0.2 bplist-parser: 0.3.2 cacache: 15.3.0 chalk: 4.1.2 ci-info: 3.8.0 connect: 3.7.0 debug: 4.3.4 env-editor: 0.4.2 find-yarn-workspace-root: 2.0.0 form-data: 3.0.1 freeport-async: 2.0.0 fs-extra: 8.1.0 getenv: 1.0.0 glob: 7.2.3 graphql: 15.8.0 graphql-tag: 2.12.6(graphql@15.8.0) https-proxy-agent: 5.0.1 internal-ip: 4.3.0 is-docker: 2.2.1 is-wsl: 2.2.0 js-yaml: 3.14.1 json-schema-deref-sync: 0.13.0 lodash.debounce: 4.0.8 md5hex: 1.0.0 minimatch: 3.1.2 minipass: 3.3.6 node-fetch: 2.7.0 node-forge: 1.3.1 npm-package-arg: 7.0.0 open: 8.4.2 ora: 3.4.0 picomatch: 3.0.1 pretty-bytes: 5.6.0 progress: 2.0.3 prompts: 2.4.2 qrcode-terminal: 0.11.0 require-from-string: 2.0.2 requireg: 0.2.2 resolve: 1.22.2 resolve-from: 5.0.0 resolve.exports: 2.0.2 semver: 7.5.4 send: 0.18.0 slugify: 1.6.6 source-map-support: 0.5.21 stacktrace-parser: 0.1.10 structured-headers: 0.4.1 tar: 6.2.0 temp-dir: 2.0.0 tempy: 0.7.1 terminal-link: 2.1.1 text-table: 0.2.0 url-join: 4.0.0 wrap-ansi: 7.0.0 ws: 8.16.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - '@react-native/babel-preset' - bluebird - bufferutil - encoding - expo-modules-autolinking - supports-color - utf-8-validate '@expo/code-signing-certificates@0.0.5': dependencies: node-forge: 1.3.1 nullthrows: 1.1.1 '@expo/config-plugins@7.8.4': dependencies: '@expo/config-types': 50.0.0 '@expo/fingerprint': 0.6.0 '@expo/json-file': 8.3.0 '@expo/plist': 0.1.0 '@expo/sdk-runtime-versions': 1.0.0 '@react-native/normalize-color': 2.1.0 chalk: 4.1.2 debug: 4.3.4 find-up: 5.0.0 getenv: 1.0.0 glob: 7.1.6 resolve-from: 5.0.0 semver: 7.5.4 slash: 3.0.0 slugify: 1.6.6 xcode: 3.0.1 xml2js: 0.6.0 transitivePeerDependencies: - supports-color '@expo/config-types@50.0.0': {} '@expo/config@8.5.4': dependencies: '@babel/code-frame': 7.10.4 '@expo/config-plugins': 7.8.4 '@expo/config-types': 50.0.0 '@expo/json-file': 8.3.0 getenv: 1.0.0 glob: 7.1.6 require-from-string: 2.0.2 resolve-from: 5.0.0 semver: 7.5.3 slugify: 1.6.6 sucrase: 3.34.0 transitivePeerDependencies: - supports-color '@expo/devcert@1.1.0': dependencies: application-config-path: 0.1.1 command-exists: 1.2.9 debug: 3.2.7 eol: 0.9.1 get-port: 3.2.0 glob: 7.2.3 lodash: 4.17.21 mkdirp: 0.5.6 password-prompt: 1.1.3 rimraf: 2.6.3 sudo-prompt: 8.2.5 tmp: 0.0.33 tslib: 2.6.2 transitivePeerDependencies: - supports-color '@expo/env@0.2.2': dependencies: chalk: 4.1.2 debug: 4.3.4 dotenv: 16.0.3 dotenv-expand: 10.0.0 getenv: 1.0.0 transitivePeerDependencies: - supports-color '@expo/fingerprint@0.6.0': dependencies: '@expo/spawn-async': 1.7.2 chalk: 4.1.2 debug: 4.3.4 find-up: 5.0.0 minimatch: 3.1.2 p-limit: 3.1.0 resolve-from: 5.0.0 transitivePeerDependencies: - supports-color '@expo/image-utils@0.4.1': dependencies: '@expo/spawn-async': 1.5.0 chalk: 4.1.2 fs-extra: 9.0.0 getenv: 1.0.0 jimp-compact: 0.16.1 node-fetch: 2.7.0 parse-png: 2.1.0 resolve-from: 5.0.0 semver: 7.3.2 tempy: 0.3.0 transitivePeerDependencies: - encoding '@expo/json-file@8.3.0': dependencies: '@babel/code-frame': 7.10.4 json5: 2.2.3 write-file-atomic: 2.4.3 '@expo/metro-config@0.17.6(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))': dependencies: '@babel/core': 7.22.9 '@babel/generator': 7.22.9 '@babel/parser': 7.24.0 '@babel/types': 7.24.0 '@expo/config': 8.5.4 '@expo/env': 0.2.2 '@expo/json-file': 8.3.0 '@expo/spawn-async': 1.7.2 '@react-native/babel-preset': 0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)) babel-preset-fbjs: 3.4.0(@babel/core@7.22.9) chalk: 4.1.2 debug: 4.3.4 find-yarn-workspace-root: 2.0.0 fs-extra: 9.1.0 getenv: 1.0.0 glob: 7.2.3 jsc-safe-url: 0.2.4 lightningcss: 1.19.0 postcss: 8.4.35 resolve-from: 5.0.0 sucrase: 3.34.0 transitivePeerDependencies: - supports-color '@expo/osascript@2.1.0': dependencies: '@expo/spawn-async': 1.7.2 exec-async: 2.2.0 '@expo/package-manager@1.4.2': dependencies: '@expo/json-file': 8.3.0 '@expo/spawn-async': 1.7.2 ansi-regex: 5.0.1 chalk: 4.1.2 find-up: 5.0.0 find-yarn-workspace-root: 2.0.0 js-yaml: 3.14.1 micromatch: 4.0.5 npm-package-arg: 7.0.0 ora: 3.4.0 split: 1.0.1 sudo-prompt: 9.1.1 '@expo/plist@0.1.0': dependencies: '@xmldom/xmldom': 0.7.13 base64-js: 1.5.1 xmlbuilder: 14.0.0 '@expo/prebuild-config@6.7.4(expo-modules-autolinking@1.10.3)': dependencies: '@expo/config': 8.5.4 '@expo/config-plugins': 7.8.4 '@expo/config-types': 50.0.0 '@expo/image-utils': 0.4.1 '@expo/json-file': 8.3.0 debug: 4.3.4 expo-modules-autolinking: 1.10.3 fs-extra: 9.1.0 resolve-from: 5.0.0 semver: 7.5.3 xml2js: 0.6.0 transitivePeerDependencies: - encoding - supports-color '@expo/rudder-sdk-node@1.1.1': dependencies: '@expo/bunyan': 4.0.0 '@segment/loosely-validate-event': 2.0.0 fetch-retry: 4.1.1 md5: 2.3.0 node-fetch: 2.7.0 remove-trailing-slash: 0.1.1 uuid: 8.3.2 transitivePeerDependencies: - encoding '@expo/sdk-runtime-versions@1.0.0': {} '@expo/spawn-async@1.5.0': dependencies: cross-spawn: 6.0.5 '@expo/spawn-async@1.7.2': dependencies: cross-spawn: 7.0.3 '@expo/vector-icons@14.0.0': {} '@expo/xcpretty@4.3.1': dependencies: '@babel/code-frame': 7.10.4 chalk: 4.1.2 find-up: 5.0.0 js-yaml: 4.1.0 '@fivebinaries/coin-selection@2.2.1': dependencies: '@emurgo/cardano-serialization-lib-browser': 11.5.0 '@emurgo/cardano-serialization-lib-nodejs': 11.5.0 '@fractalwagmi/popup-connection@1.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: react: 18.2.0 react-dom: 18.2.0(react@18.2.0) '@fractalwagmi/solana-wallet-adapter@0.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@fractalwagmi/popup-connection': 1.1.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@solana/wallet-adapter-base': link:packages/core/base bs58: 5.0.0 transitivePeerDependencies: - react - react-dom '@gar/promisify@1.1.3': {} '@graphql-typed-document-node/core@3.2.0(graphql@15.8.0)': dependencies: graphql: 15.8.0 '@hapi/hoek@9.3.0': {} '@hapi/topo@5.1.0': dependencies: '@hapi/hoek': 9.3.0 '@humanwhocodes/config-array@0.10.7': dependencies: '@humanwhocodes/object-schema': 1.2.1 debug: 4.3.4 minimatch: 3.1.2 transitivePeerDependencies: - supports-color '@humanwhocodes/gitignore-to-minimatch@1.0.2': {} '@humanwhocodes/object-schema@1.2.1': {} '@isaacs/ttlcache@1.4.1': {} '@istanbuljs/load-nyc-config@1.1.0': dependencies: camelcase: 5.3.1 find-up: 4.1.0 get-package-type: 0.1.0 js-yaml: 3.14.1 resolve-from: 5.0.0 '@istanbuljs/schema@0.1.3': {} '@jest/console@27.5.1': dependencies: '@jest/types': 27.5.1 '@types/node': 18.16.19 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 slash: 3.0.0 '@jest/console@28.1.3': dependencies: '@jest/types': 28.1.3 '@types/node': 18.16.19 chalk: 4.1.2 jest-message-util: 28.1.3 jest-util: 28.1.3 slash: 3.0.0 '@jest/core@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@jest/console': 27.5.1 '@jest/reporters': 27.5.1 '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.8.1 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 27.5.1 jest-config: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-haste-map: 27.5.1 jest-message-util: 27.5.1 jest-regex-util: 27.5.1 jest-resolve: 27.5.1 jest-resolve-dependencies: 27.5.1 jest-runner: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-runtime: 27.5.1 jest-snapshot: 27.5.1 jest-util: 27.5.1 jest-validate: 27.5.1 jest-watcher: 27.5.1 micromatch: 4.0.5 rimraf: 3.0.2 slash: 3.0.0 strip-ansi: 6.0.1 transitivePeerDependencies: - bufferutil - canvas - supports-color - ts-node - utf-8-validate '@jest/core@28.1.3': dependencies: '@jest/console': 28.1.3 '@jest/reporters': 28.1.3 '@jest/test-result': 28.1.3 '@jest/transform': 28.1.3 '@jest/types': 28.1.3 '@types/node': 18.16.19 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.8.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 28.1.3 jest-config: 28.1.3(@types/node@18.16.19) jest-haste-map: 28.1.3 jest-message-util: 28.1.3 jest-regex-util: 28.0.2 jest-resolve: 28.1.3 jest-resolve-dependencies: 28.1.3 jest-runner: 28.1.3 jest-runtime: 28.1.3 jest-snapshot: 28.1.3 jest-util: 28.1.3 jest-validate: 28.1.3 jest-watcher: 28.1.3 micromatch: 4.0.5 pretty-format: 28.1.3 rimraf: 3.0.2 slash: 3.0.0 strip-ansi: 6.0.1 transitivePeerDependencies: - supports-color - ts-node '@jest/create-cache-key-function@29.6.1': dependencies: '@jest/types': 29.6.1 '@jest/environment@27.5.1': dependencies: '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 jest-mock: 27.5.1 '@jest/environment@28.1.3': dependencies: '@jest/fake-timers': 28.1.3 '@jest/types': 28.1.3 '@types/node': 18.16.19 jest-mock: 28.1.3 '@jest/environment@29.6.1': dependencies: '@jest/fake-timers': 29.6.1 '@jest/types': 29.6.1 '@types/node': 18.16.19 jest-mock: 29.6.1 '@jest/expect-utils@28.1.3': dependencies: jest-get-type: 28.0.2 '@jest/expect@28.1.3': dependencies: expect: 28.1.3 jest-snapshot: 28.1.3 transitivePeerDependencies: - supports-color '@jest/fake-timers@27.5.1': dependencies: '@jest/types': 27.5.1 '@sinonjs/fake-timers': 8.1.0 '@types/node': 18.16.19 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-util: 27.5.1 '@jest/fake-timers@28.1.3': dependencies: '@jest/types': 28.1.3 '@sinonjs/fake-timers': 9.1.2 '@types/node': 18.16.19 jest-message-util: 28.1.3 jest-mock: 28.1.3 jest-util: 28.1.3 '@jest/fake-timers@29.6.1': dependencies: '@jest/types': 29.6.1 '@sinonjs/fake-timers': 10.3.0 '@types/node': 18.16.19 jest-message-util: 29.6.1 jest-mock: 29.6.1 jest-util: 29.6.1 '@jest/globals@27.5.1': dependencies: '@jest/environment': 27.5.1 '@jest/types': 27.5.1 expect: 27.5.1 '@jest/globals@28.1.3': dependencies: '@jest/environment': 28.1.3 '@jest/expect': 28.1.3 '@jest/types': 28.1.3 transitivePeerDependencies: - supports-color '@jest/reporters@27.5.1': dependencies: '@bcoe/v8-coverage': 0.2.3 '@jest/console': 27.5.1 '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 glob: 7.2.3 graceful-fs: 4.2.11 istanbul-lib-coverage: 3.2.0 istanbul-lib-instrument: 5.2.1 istanbul-lib-report: 3.0.0 istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.5 jest-haste-map: 27.5.1 jest-resolve: 27.5.1 jest-util: 27.5.1 jest-worker: 27.5.1 slash: 3.0.0 source-map: 0.6.1 string-length: 4.0.2 terminal-link: 2.1.1 v8-to-istanbul: 8.1.1 transitivePeerDependencies: - supports-color '@jest/reporters@28.1.3': dependencies: '@bcoe/v8-coverage': 0.2.3 '@jest/console': 28.1.3 '@jest/test-result': 28.1.3 '@jest/transform': 28.1.3 '@jest/types': 28.1.3 '@jridgewell/trace-mapping': 0.3.18 '@types/node': 18.16.19 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 glob: 7.2.3 graceful-fs: 4.2.11 istanbul-lib-coverage: 3.2.0 istanbul-lib-instrument: 5.2.1 istanbul-lib-report: 3.0.0 istanbul-lib-source-maps: 4.0.1 istanbul-reports: 3.1.5 jest-message-util: 28.1.3 jest-util: 28.1.3 jest-worker: 28.1.3 slash: 3.0.0 string-length: 4.0.2 strip-ansi: 6.0.1 terminal-link: 2.1.1 v8-to-istanbul: 9.1.0 transitivePeerDependencies: - supports-color '@jest/schemas@28.1.3': dependencies: '@sinclair/typebox': 0.24.51 '@jest/schemas@29.6.0': dependencies: '@sinclair/typebox': 0.27.8 '@jest/source-map@27.5.1': dependencies: callsites: 3.1.0 graceful-fs: 4.2.11 source-map: 0.6.1 '@jest/source-map@28.1.2': dependencies: '@jridgewell/trace-mapping': 0.3.18 callsites: 3.1.0 graceful-fs: 4.2.11 '@jest/test-result@27.5.1': dependencies: '@jest/console': 27.5.1 '@jest/types': 27.5.1 '@types/istanbul-lib-coverage': 2.0.4 collect-v8-coverage: 1.0.2 '@jest/test-result@28.1.3': dependencies: '@jest/console': 28.1.3 '@jest/types': 28.1.3 '@types/istanbul-lib-coverage': 2.0.4 collect-v8-coverage: 1.0.2 '@jest/test-sequencer@27.5.1': dependencies: '@jest/test-result': 27.5.1 graceful-fs: 4.2.11 jest-haste-map: 27.5.1 jest-runtime: 27.5.1 transitivePeerDependencies: - supports-color '@jest/test-sequencer@28.1.3': dependencies: '@jest/test-result': 28.1.3 graceful-fs: 4.2.11 jest-haste-map: 28.1.3 slash: 3.0.0 '@jest/transform@27.5.1': dependencies: '@babel/core': 7.22.9 '@jest/types': 27.5.1 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 convert-source-map: 1.9.0 fast-json-stable-stringify: 2.1.0 graceful-fs: 4.2.11 jest-haste-map: 27.5.1 jest-regex-util: 27.5.1 jest-util: 27.5.1 micromatch: 4.0.5 pirates: 4.0.6 slash: 3.0.0 source-map: 0.6.1 write-file-atomic: 3.0.3 transitivePeerDependencies: - supports-color '@jest/transform@28.1.3': dependencies: '@babel/core': 7.22.9 '@jest/types': 28.1.3 '@jridgewell/trace-mapping': 0.3.18 babel-plugin-istanbul: 6.1.1 chalk: 4.1.2 convert-source-map: 1.9.0 fast-json-stable-stringify: 2.1.0 graceful-fs: 4.2.11 jest-haste-map: 28.1.3 jest-regex-util: 28.0.2 jest-util: 28.1.3 micromatch: 4.0.5 pirates: 4.0.6 slash: 3.0.0 write-file-atomic: 4.0.2 transitivePeerDependencies: - supports-color '@jest/types@26.6.2': dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 '@types/node': 18.16.19 '@types/yargs': 15.0.15 chalk: 4.1.2 '@jest/types@27.5.1': dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 '@types/node': 18.16.19 '@types/yargs': 16.0.5 chalk: 4.1.2 '@jest/types@28.1.3': dependencies: '@jest/schemas': 28.1.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 '@types/node': 18.16.19 '@types/yargs': 17.0.24 chalk: 4.1.2 '@jest/types@29.6.1': dependencies: '@jest/schemas': 29.6.0 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 '@types/node': 18.16.19 '@types/yargs': 17.0.24 chalk: 4.1.2 '@jnwng/walletconnect-solana@0.2.0(@react-native-async-storage/async-storage@1.19.1)(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@walletconnect/qrcode-modal': 1.8.0 '@walletconnect/sign-client': 2.9.1(@react-native-async-storage/async-storage@1.19.1)(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@walletconnect/utils': 2.9.1(@react-native-async-storage/async-storage@1.19.1) bs58: 5.0.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' - bufferutil - lokijs - utf-8-validate '@jridgewell/gen-mapping@0.3.3': dependencies: '@jridgewell/set-array': 1.1.2 '@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/trace-mapping': 0.3.18 '@jridgewell/resolve-uri@3.1.0': {} '@jridgewell/set-array@1.1.2': {} '@jridgewell/source-map@0.3.5': dependencies: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.18 '@jridgewell/sourcemap-codec@1.4.14': {} '@jridgewell/sourcemap-codec@1.4.15': {} '@jridgewell/trace-mapping@0.3.18': dependencies: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 '@keystonehq/alias-sampling@0.1.2': {} '@keystonehq/bc-ur-registry-sol@0.9.3': dependencies: '@keystonehq/bc-ur-registry': 0.6.4 bs58check: 2.1.2 uuid: 8.3.2 '@keystonehq/bc-ur-registry@0.5.4': dependencies: '@ngraveio/bc-ur': 1.1.12 bs58check: 2.1.2 tslib: 2.6.2 '@keystonehq/bc-ur-registry@0.6.4': dependencies: '@ngraveio/bc-ur': 1.1.12 bs58check: 2.1.2 tslib: 2.6.2 '@keystonehq/sdk@0.19.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@ngraveio/bc-ur': 1.1.12 qrcode.react: 1.0.1(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-modal: 3.16.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react-qr-reader: 2.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rxjs: 6.6.7 '@keystonehq/sol-keyring@0.20.0(bufferutil@4.0.7)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(utf-8-validate@5.0.10)': dependencies: '@keystonehq/bc-ur-registry': 0.5.4 '@keystonehq/bc-ur-registry-sol': 0.9.3 '@keystonehq/sdk': 0.19.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@solana/web3.js': 1.90.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) bs58: 5.0.0 uuid: 8.3.2 transitivePeerDependencies: - bufferutil - encoding - react - react-dom - utf-8-validate '@ledgerhq/devices@6.27.1': dependencies: '@ledgerhq/errors': 6.16.3 '@ledgerhq/logs': 6.10.1 rxjs: 6.6.7 semver: 7.5.4 '@ledgerhq/errors@6.16.3': {} '@ledgerhq/hw-transport-webhid@6.27.1': dependencies: '@ledgerhq/devices': 6.27.1 '@ledgerhq/errors': 6.16.3 '@ledgerhq/hw-transport': 6.27.1 '@ledgerhq/logs': 6.10.1 '@ledgerhq/hw-transport@6.27.1': dependencies: '@ledgerhq/devices': 6.27.1 '@ledgerhq/errors': 6.16.3 events: 3.3.0 '@ledgerhq/logs@6.10.1': {} '@leichtgewicht/ip-codec@2.0.4': {} '@lezer/common@0.15.12': {} '@lezer/lr@0.15.8': dependencies: '@lezer/common': 0.15.12 '@lmdb/lmdb-darwin-arm64@2.7.11': optional: true '@lmdb/lmdb-darwin-x64@2.7.11': optional: true '@lmdb/lmdb-linux-arm64@2.7.11': optional: true '@lmdb/lmdb-linux-arm@2.7.11': optional: true '@lmdb/lmdb-linux-x64@2.7.11': optional: true '@lmdb/lmdb-win32-x64@2.7.11': optional: true '@manypkg/find-root@1.1.0': dependencies: '@babel/runtime': 7.22.6 '@types/node': 12.20.55 find-up: 4.1.0 fs-extra: 8.1.0 '@manypkg/get-packages@1.1.3': dependencies: '@babel/runtime': 7.22.6 '@changesets/types': 4.1.0 '@manypkg/find-root': 1.1.0 fs-extra: 8.1.0 globby: 11.1.0 read-yaml-file: 1.1.0 '@metamask/abi-utils@2.0.2': dependencies: '@metamask/utils': 8.2.1 superstruct: 1.0.3 transitivePeerDependencies: - supports-color '@metamask/eth-sig-util@7.0.1': dependencies: '@ethereumjs/util': 8.1.0 '@metamask/abi-utils': 2.0.2 '@metamask/utils': 8.2.1 ethereum-cryptography: 2.1.2 tweetnacl: 1.0.3 tweetnacl-util: 0.15.1 transitivePeerDependencies: - supports-color '@metamask/rpc-errors@5.1.1': dependencies: '@metamask/utils': 5.0.2 fast-safe-stringify: 2.1.1 transitivePeerDependencies: - supports-color '@metamask/utils@5.0.2': dependencies: '@ethereumjs/tx': 4.2.0 '@types/debug': 4.1.8 debug: 4.3.4 semver: 7.5.4 superstruct: 1.0.3 transitivePeerDependencies: - supports-color '@metamask/utils@8.2.1': dependencies: '@ethereumjs/tx': 4.2.0 '@noble/hashes': 1.3.2 '@scure/base': 1.1.5 '@types/debug': 4.1.8 debug: 4.3.4 pony-cause: 2.1.10 semver: 7.5.4 superstruct: 1.0.3 transitivePeerDependencies: - supports-color '@mischnic/json-sourcemap@0.1.0': dependencies: '@lezer/common': 0.15.12 '@lezer/lr': 0.15.8 json5: 2.2.3 '@mobily/ts-belt@3.13.1': {} '@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.2': optional: true '@msgpackr-extract/msgpackr-extract-darwin-x64@3.0.2': optional: true '@msgpackr-extract/msgpackr-extract-linux-arm64@3.0.2': optional: true '@msgpackr-extract/msgpackr-extract-linux-arm@3.0.2': optional: true '@msgpackr-extract/msgpackr-extract-linux-x64@3.0.2': optional: true '@msgpackr-extract/msgpackr-extract-win32-x64@3.0.2': optional: true '@mui/base@5.0.0-beta.8(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@emotion/is-prop-valid': 1.2.1 '@mui/types': 7.2.4(@types/react@18.2.15) '@mui/utils': 5.14.1(react@18.2.0) '@popperjs/core': 2.11.8 clsx: 1.2.1 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-is: 18.2.0 optionalDependencies: '@types/react': 18.2.15 '@mui/core-downloads-tracker@5.14.1': {} '@mui/icons-material@5.14.1(@mui/material@5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@types/react@18.2.15)(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@mui/material': 5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 optionalDependencies: '@types/react': 18.2.15 '@mui/material@5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@mui/base': 5.0.0-beta.8(@types/react@18.2.15)(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@mui/core-downloads-tracker': 5.14.1 '@mui/system': 5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@mui/types': 7.2.4(@types/react@18.2.15) '@mui/utils': 5.14.1(react@18.2.0) '@types/react-transition-group': 4.4.6 clsx: 1.2.1 csstype: 3.1.2 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-is: 18.2.0 react-transition-group: 4.4.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0) optionalDependencies: '@emotion/react': 11.11.1(@types/react@18.2.15)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@types/react': 18.2.15 '@mui/private-theming@5.13.7(@types/react@18.2.15)(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@mui/utils': 5.14.1(react@18.2.0) prop-types: 15.8.1 react: 18.2.0 optionalDependencies: '@types/react': 18.2.15 '@mui/styled-engine@5.13.2(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@emotion/cache': 11.11.0 csstype: 3.1.2 prop-types: 15.8.1 react: 18.2.0 optionalDependencies: '@emotion/react': 11.11.1(@types/react@18.2.15)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@mui/system@5.14.1(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@mui/private-theming': 5.13.7(@types/react@18.2.15)(react@18.2.0) '@mui/styled-engine': 5.13.2(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@emotion/styled@11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0))(react@18.2.0) '@mui/types': 7.2.4(@types/react@18.2.15) '@mui/utils': 5.14.1(react@18.2.0) clsx: 1.2.1 csstype: 3.1.2 prop-types: 15.8.1 react: 18.2.0 optionalDependencies: '@emotion/react': 11.11.1(@types/react@18.2.15)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.1(@types/react@18.2.15)(react@18.2.0))(@types/react@18.2.15)(react@18.2.0) '@types/react': 18.2.15 '@mui/types@7.2.4(@types/react@18.2.15)': optionalDependencies: '@types/react': 18.2.15 '@mui/utils@5.14.1(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@types/prop-types': 15.7.5 '@types/react-is': 18.2.1 prop-types: 15.8.1 react: 18.2.0 react-is: 18.2.0 '@next/env@12.3.4': {} '@next/eslint-plugin-next@12.3.4': dependencies: glob: 7.1.7 '@next/swc-android-arm-eabi@12.3.4': optional: true '@next/swc-android-arm64@12.3.4': optional: true '@next/swc-darwin-arm64@12.3.4': optional: true '@next/swc-darwin-x64@12.3.4': optional: true '@next/swc-freebsd-x64@12.3.4': optional: true '@next/swc-linux-arm-gnueabihf@12.3.4': optional: true '@next/swc-linux-arm64-gnu@12.3.4': optional: true '@next/swc-linux-arm64-musl@12.3.4': optional: true '@next/swc-linux-x64-gnu@12.3.4': optional: true '@next/swc-linux-x64-musl@12.3.4': optional: true '@next/swc-win32-arm64-msvc@12.3.4': optional: true '@next/swc-win32-ia32-msvc@12.3.4': optional: true '@next/swc-win32-x64-msvc@12.3.4': optional: true '@ngraveio/bc-ur@1.1.12': dependencies: '@keystonehq/alias-sampling': 0.1.2 assert: 2.0.0 bignumber.js: 9.1.2 cbor-sync: 1.0.4 crc: 3.8.0 jsbi: 3.2.5 sha.js: 2.4.11 '@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1': dependencies: eslint-scope: 5.1.1 '@nicolo-ribaudo/semver-v6@6.3.3': {} '@noble/curves@1.1.0': dependencies: '@noble/hashes': 1.3.1 '@noble/curves@1.2.0': dependencies: '@noble/hashes': 1.3.2 '@noble/curves@1.3.0': dependencies: '@noble/hashes': 1.3.3 '@noble/hashes@1.3.1': {} '@noble/hashes@1.3.2': {} '@noble/hashes@1.3.3': {} '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 run-parallel: 1.2.0 '@nodelib/fs.stat@2.0.5': {} '@nodelib/fs.walk@1.2.8': dependencies: '@nodelib/fs.scandir': 2.1.5 fastq: 1.15.0 '@npmcli/fs@1.1.1': dependencies: '@gar/promisify': 1.1.3 semver: 7.5.4 '@npmcli/move-file@1.1.2': dependencies: mkdirp: 1.0.4 rimraf: 3.0.2 '@parcel/bundler-default@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/graph': 2.9.3 '@parcel/hash': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/cache@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/core': 2.9.3 '@parcel/fs': 2.9.3(@parcel/core@2.9.3) '@parcel/logger': 2.9.3 '@parcel/utils': 2.9.3 lmdb: 2.7.11 '@parcel/codeframe@2.9.3': dependencies: chalk: 4.1.2 '@parcel/compressor-raw@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) transitivePeerDependencies: - '@parcel/core' '@parcel/config-default@2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.1)(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(terser@5.19.1)': dependencies: '@parcel/bundler-default': 2.9.3(@parcel/core@2.9.3) '@parcel/compressor-raw': 2.9.3(@parcel/core@2.9.3) '@parcel/core': 2.9.3 '@parcel/namer-default': 2.9.3(@parcel/core@2.9.3) '@parcel/optimizer-css': 2.9.3(@parcel/core@2.9.3) '@parcel/optimizer-htmlnano': 2.9.3(@parcel/core@2.9.3)(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(terser@5.19.1) '@parcel/optimizer-image': 2.9.3(@parcel/core@2.9.3) '@parcel/optimizer-svgo': 2.9.3(@parcel/core@2.9.3) '@parcel/optimizer-swc': 2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.1) '@parcel/packager-css': 2.9.3(@parcel/core@2.9.3) '@parcel/packager-html': 2.9.3(@parcel/core@2.9.3) '@parcel/packager-js': 2.9.3(@parcel/core@2.9.3) '@parcel/packager-raw': 2.9.3(@parcel/core@2.9.3) '@parcel/packager-svg': 2.9.3(@parcel/core@2.9.3) '@parcel/reporter-dev-server': 2.9.3(@parcel/core@2.9.3) '@parcel/resolver-default': 2.9.3(@parcel/core@2.9.3) '@parcel/runtime-browser-hmr': 2.9.3(@parcel/core@2.9.3) '@parcel/runtime-js': 2.9.3(@parcel/core@2.9.3) '@parcel/runtime-react-refresh': 2.9.3(@parcel/core@2.9.3) '@parcel/runtime-service-worker': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-babel': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-css': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-html': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-image': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-js': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-json': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-postcss': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-posthtml': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-raw': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-react-refresh-wrap': 2.9.3(@parcel/core@2.9.3) '@parcel/transformer-svg': 2.9.3(@parcel/core@2.9.3) transitivePeerDependencies: - '@swc/helpers' - cssnano - postcss - purgecss - relateurl - srcset - terser - uncss '@parcel/core@2.9.3': dependencies: '@mischnic/json-sourcemap': 0.1.0 '@parcel/cache': 2.9.3(@parcel/core@2.9.3) '@parcel/diagnostic': 2.9.3 '@parcel/events': 2.9.3 '@parcel/fs': 2.9.3(@parcel/core@2.9.3) '@parcel/graph': 2.9.3 '@parcel/hash': 2.9.3 '@parcel/logger': 2.9.3 '@parcel/package-manager': 2.9.3(@parcel/core@2.9.3) '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/profiler': 2.9.3 '@parcel/source-map': 2.1.1 '@parcel/types': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 '@parcel/workers': 2.9.3(@parcel/core@2.9.3) abortcontroller-polyfill: 1.7.5 base-x: 3.0.9 browserslist: 4.21.9 clone: 2.1.2 dotenv: 7.0.0 dotenv-expand: 5.1.0 json5: 2.2.3 msgpackr: 1.9.5 nullthrows: 1.1.1 semver: 7.5.4 '@parcel/diagnostic@2.9.3': dependencies: '@mischnic/json-sourcemap': 0.1.0 nullthrows: 1.1.1 '@parcel/events@2.9.3': {} '@parcel/fs-search@2.9.3': {} '@parcel/fs@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/core': 2.9.3 '@parcel/fs-search': 2.9.3 '@parcel/types': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 '@parcel/watcher': 2.2.0 '@parcel/workers': 2.9.3(@parcel/core@2.9.3) '@parcel/graph@2.9.3': dependencies: nullthrows: 1.1.1 '@parcel/hash@2.9.3': dependencies: xxhash-wasm: 0.4.2 '@parcel/logger@2.9.3': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/events': 2.9.3 '@parcel/markdown-ansi@2.9.3': dependencies: chalk: 4.1.2 '@parcel/namer-default@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/node-resolver-core@3.0.3(@parcel/core@2.9.3)': dependencies: '@mischnic/json-sourcemap': 0.1.0 '@parcel/diagnostic': 2.9.3 '@parcel/fs': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 nullthrows: 1.1.1 semver: 7.5.4 transitivePeerDependencies: - '@parcel/core' '@parcel/optimizer-css@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 browserslist: 4.21.9 lightningcss: 1.21.5 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/optimizer-htmlnano@2.9.3(@parcel/core@2.9.3)(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(terser@5.19.1)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) htmlnano: 2.0.4(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(svgo@2.8.0)(terser@5.19.1) nullthrows: 1.1.1 posthtml: 0.16.6 svgo: 2.8.0 transitivePeerDependencies: - '@parcel/core' - cssnano - postcss - purgecss - relateurl - srcset - terser - uncss '@parcel/optimizer-image@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/core': 2.9.3 '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 '@parcel/workers': 2.9.3(@parcel/core@2.9.3) '@parcel/optimizer-svgo@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 svgo: 2.8.0 transitivePeerDependencies: - '@parcel/core' '@parcel/optimizer-swc@2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.1)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 '@swc/core': 1.3.70(@swc/helpers@0.5.1) nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' - '@swc/helpers' '@parcel/package-manager@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/core': 2.9.3 '@parcel/diagnostic': 2.9.3 '@parcel/fs': 2.9.3(@parcel/core@2.9.3) '@parcel/logger': 2.9.3 '@parcel/node-resolver-core': 3.0.3(@parcel/core@2.9.3) '@parcel/types': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 '@parcel/workers': 2.9.3(@parcel/core@2.9.3) semver: 7.5.4 '@parcel/packager-css@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/packager-html@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/types': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 nullthrows: 1.1.1 posthtml: 0.16.6 transitivePeerDependencies: - '@parcel/core' '@parcel/packager-js@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/hash': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 globals: 13.20.0 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/packager-raw@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) transitivePeerDependencies: - '@parcel/core' '@parcel/packager-svg@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/types': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 posthtml: 0.16.6 transitivePeerDependencies: - '@parcel/core' '@parcel/plugin@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/types': 2.9.3(@parcel/core@2.9.3) transitivePeerDependencies: - '@parcel/core' '@parcel/profiler@2.9.3': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/events': 2.9.3 chrome-trace-event: 1.0.3 '@parcel/reporter-cli@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/types': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 chalk: 4.1.2 term-size: 2.2.1 transitivePeerDependencies: - '@parcel/core' '@parcel/reporter-dev-server@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 transitivePeerDependencies: - '@parcel/core' '@parcel/reporter-tracer@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 chrome-trace-event: 1.0.3 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/resolver-default@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/node-resolver-core': 3.0.3(@parcel/core@2.9.3) '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) transitivePeerDependencies: - '@parcel/core' '@parcel/runtime-browser-hmr@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 transitivePeerDependencies: - '@parcel/core' '@parcel/runtime-js@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/runtime-react-refresh@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 react-error-overlay: 6.0.9 react-refresh: 0.9.0 transitivePeerDependencies: - '@parcel/core' '@parcel/runtime-service-worker@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/source-map@2.1.1': dependencies: detect-libc: 1.0.3 '@parcel/transformer-babel@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 browserslist: 4.21.9 json5: 2.2.3 nullthrows: 1.1.1 semver: 7.5.4 transitivePeerDependencies: - '@parcel/core' '@parcel/transformer-css@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 browserslist: 4.21.9 lightningcss: 1.21.5 nullthrows: 1.1.1 transitivePeerDependencies: - '@parcel/core' '@parcel/transformer-html@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/hash': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) nullthrows: 1.1.1 posthtml: 0.16.6 posthtml-parser: 0.10.2 posthtml-render: 3.0.0 semver: 7.5.4 srcset: 4.0.0 transitivePeerDependencies: - '@parcel/core' '@parcel/transformer-image@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/core': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 '@parcel/workers': 2.9.3(@parcel/core@2.9.3) nullthrows: 1.1.1 '@parcel/transformer-js@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/core': 2.9.3 '@parcel/diagnostic': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/utils': 2.9.3 '@parcel/workers': 2.9.3(@parcel/core@2.9.3) '@swc/helpers': 0.5.1 browserslist: 4.21.9 nullthrows: 1.1.1 regenerator-runtime: 0.13.11 semver: 7.5.4 '@parcel/transformer-json@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) json5: 2.2.3 transitivePeerDependencies: - '@parcel/core' '@parcel/transformer-postcss@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/hash': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 clone: 2.1.2 nullthrows: 1.1.1 postcss-value-parser: 4.2.0 semver: 7.5.4 transitivePeerDependencies: - '@parcel/core' '@parcel/transformer-posthtml@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 nullthrows: 1.1.1 posthtml: 0.16.6 posthtml-parser: 0.10.2 posthtml-render: 3.0.0 semver: 7.5.4 transitivePeerDependencies: - '@parcel/core' '@parcel/transformer-raw@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) transitivePeerDependencies: - '@parcel/core' '@parcel/transformer-react-refresh-wrap@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 react-refresh: 0.9.0 transitivePeerDependencies: - '@parcel/core' '@parcel/transformer-svg@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/diagnostic': 2.9.3 '@parcel/hash': 2.9.3 '@parcel/plugin': 2.9.3(@parcel/core@2.9.3) nullthrows: 1.1.1 posthtml: 0.16.6 posthtml-parser: 0.10.2 posthtml-render: 3.0.0 semver: 7.5.4 transitivePeerDependencies: - '@parcel/core' '@parcel/types@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/cache': 2.9.3(@parcel/core@2.9.3) '@parcel/diagnostic': 2.9.3 '@parcel/fs': 2.9.3(@parcel/core@2.9.3) '@parcel/package-manager': 2.9.3(@parcel/core@2.9.3) '@parcel/source-map': 2.1.1 '@parcel/workers': 2.9.3(@parcel/core@2.9.3) utility-types: 3.10.0 transitivePeerDependencies: - '@parcel/core' '@parcel/utils@2.9.3': dependencies: '@parcel/codeframe': 2.9.3 '@parcel/diagnostic': 2.9.3 '@parcel/hash': 2.9.3 '@parcel/logger': 2.9.3 '@parcel/markdown-ansi': 2.9.3 '@parcel/source-map': 2.1.1 chalk: 4.1.2 nullthrows: 1.1.1 '@parcel/watcher-android-arm64@2.2.0': optional: true '@parcel/watcher-darwin-arm64@2.2.0': optional: true '@parcel/watcher-darwin-x64@2.2.0': optional: true '@parcel/watcher-linux-arm-glibc@2.2.0': optional: true '@parcel/watcher-linux-arm64-glibc@2.2.0': optional: true '@parcel/watcher-linux-arm64-musl@2.2.0': optional: true '@parcel/watcher-linux-x64-glibc@2.2.0': optional: true '@parcel/watcher-linux-x64-musl@2.2.0': optional: true '@parcel/watcher-win32-arm64@2.2.0': optional: true '@parcel/watcher-win32-x64@2.2.0': optional: true '@parcel/watcher@2.2.0': dependencies: detect-libc: 1.0.3 is-glob: 4.0.3 micromatch: 4.0.5 node-addon-api: 7.0.0 optionalDependencies: '@parcel/watcher-android-arm64': 2.2.0 '@parcel/watcher-darwin-arm64': 2.2.0 '@parcel/watcher-darwin-x64': 2.2.0 '@parcel/watcher-linux-arm-glibc': 2.2.0 '@parcel/watcher-linux-arm64-glibc': 2.2.0 '@parcel/watcher-linux-arm64-musl': 2.2.0 '@parcel/watcher-linux-x64-glibc': 2.2.0 '@parcel/watcher-linux-x64-musl': 2.2.0 '@parcel/watcher-win32-arm64': 2.2.0 '@parcel/watcher-win32-x64': 2.2.0 '@parcel/workers@2.9.3(@parcel/core@2.9.3)': dependencies: '@parcel/core': 2.9.3 '@parcel/diagnostic': 2.9.3 '@parcel/logger': 2.9.3 '@parcel/profiler': 2.9.3 '@parcel/types': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 nullthrows: 1.1.1 '@particle-network/analytics@1.0.1': dependencies: hash.js: 1.1.7 uuidv4: 6.2.13 '@particle-network/auth@1.3.1': dependencies: '@particle-network/analytics': 1.0.1 '@particle-network/chains': 1.3.3 '@particle-network/crypto': 1.0.1 buffer: 6.0.3 draggabilly: 3.0.0 '@particle-network/chains@1.3.3': {} '@particle-network/crypto@1.0.1': dependencies: crypto-js: 4.1.1 uuidv4: 6.2.13 '@particle-network/solana-wallet@1.3.2(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bs58@5.0.0)': dependencies: '@particle-network/auth': 1.3.1 '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) bs58: 5.0.0 '@pmmmwh/react-refresh-webpack-plugin@0.5.10(react-refresh@0.11.0)(type-fest@0.21.3)(webpack-dev-server@4.15.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)(webpack@5.88.2))(webpack@5.88.2)': dependencies: ansi-html-community: 0.0.8 common-path-prefix: 3.0.0 core-js-pure: 3.31.1 error-stack-parser: 2.1.4 find-up: 5.0.0 html-entities: 2.4.0 loader-utils: 2.0.4 react-refresh: 0.11.0 schema-utils: 3.3.0 source-map: 0.7.4 webpack: 5.88.2 optionalDependencies: type-fest: 0.21.3 webpack-dev-server: 4.15.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)(webpack@5.88.2) '@popperjs/core@2.11.8': {} '@project-serum/sol-wallet-adapter@0.2.6(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))': dependencies: '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) bs58: 4.0.1 eventemitter3: 4.0.7 '@protobufjs/aspromise@1.1.2': {} '@protobufjs/base64@1.1.2': {} '@protobufjs/codegen@2.0.4': {} '@protobufjs/eventemitter@1.1.0': {} '@protobufjs/fetch@1.1.0': dependencies: '@protobufjs/aspromise': 1.1.2 '@protobufjs/inquire': 1.1.0 '@protobufjs/float@1.0.2': {} '@protobufjs/inquire@1.1.0': {} '@protobufjs/path@1.1.2': {} '@protobufjs/pool@1.1.0': {} '@protobufjs/utf8@1.1.0': {} '@rc-component/portal@1.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) '@react-native-async-storage/async-storage@1.19.1(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10))': dependencies: merge-options: 3.0.4 react-native: 0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10) '@react-native-community/cli-clean@11.3.5': dependencies: '@react-native-community/cli-tools': 11.3.5 chalk: 4.1.2 execa: 5.1.1 prompts: 2.4.2 transitivePeerDependencies: - encoding '@react-native-community/cli-config@11.3.5': dependencies: '@react-native-community/cli-tools': 11.3.5 chalk: 4.1.2 cosmiconfig: 5.2.1 deepmerge: 4.3.1 glob: 7.2.3 joi: 17.9.2 transitivePeerDependencies: - encoding '@react-native-community/cli-debugger-ui@11.3.5': dependencies: serve-static: 1.15.0 transitivePeerDependencies: - supports-color '@react-native-community/cli-doctor@11.3.5': dependencies: '@react-native-community/cli-config': 11.3.5 '@react-native-community/cli-platform-android': 11.3.5 '@react-native-community/cli-platform-ios': 11.3.5 '@react-native-community/cli-tools': 11.3.5 chalk: 4.1.2 command-exists: 1.2.9 envinfo: 7.10.0 execa: 5.1.1 hermes-profile-transformer: 0.0.6 ip: 1.1.8 node-stream-zip: 1.15.0 ora: 5.4.1 prompts: 2.4.2 semver: 6.3.1 strip-ansi: 5.2.0 sudo-prompt: 9.2.1 wcwidth: 1.0.1 yaml: 2.3.1 transitivePeerDependencies: - encoding '@react-native-community/cli-hermes@11.3.5': dependencies: '@react-native-community/cli-platform-android': 11.3.5 '@react-native-community/cli-tools': 11.3.5 chalk: 4.1.2 hermes-profile-transformer: 0.0.6 ip: 1.1.8 transitivePeerDependencies: - encoding '@react-native-community/cli-platform-android@11.3.5': dependencies: '@react-native-community/cli-tools': 11.3.5 chalk: 4.1.2 execa: 5.1.1 glob: 7.2.3 logkitty: 0.7.1 transitivePeerDependencies: - encoding '@react-native-community/cli-platform-ios@11.3.5': dependencies: '@react-native-community/cli-tools': 11.3.5 chalk: 4.1.2 execa: 5.1.1 fast-xml-parser: 4.2.6 glob: 7.2.3 ora: 5.4.1 transitivePeerDependencies: - encoding '@react-native-community/cli-plugin-metro@11.3.5(@babel/core@7.22.9)(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@react-native-community/cli-server-api': 11.3.5(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@react-native-community/cli-tools': 11.3.5 chalk: 4.1.2 execa: 5.1.1 metro: 0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10) metro-config: 0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10) metro-core: 0.76.7 metro-react-native-babel-transformer: 0.76.7(@babel/core@7.22.9) metro-resolver: 0.76.7 metro-runtime: 0.76.7 readline: 1.3.0 transitivePeerDependencies: - '@babel/core' - bufferutil - encoding - supports-color - utf-8-validate '@react-native-community/cli-server-api@11.3.5(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@react-native-community/cli-debugger-ui': 11.3.5 '@react-native-community/cli-tools': 11.3.5 compression: 1.7.4 connect: 3.7.0 errorhandler: 1.5.1 nocache: 3.0.4 pretty-format: 26.6.2 serve-static: 1.15.0 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - encoding - supports-color - utf-8-validate '@react-native-community/cli-tools@11.3.5': dependencies: appdirsjs: 1.2.7 chalk: 4.1.2 find-up: 5.0.0 mime: 2.6.0 node-fetch: 2.7.0 open: 6.4.0 ora: 5.4.1 semver: 6.3.1 shell-quote: 1.8.1 transitivePeerDependencies: - encoding '@react-native-community/cli-types@11.3.5': dependencies: joi: 17.9.2 '@react-native-community/cli@11.3.5(@babel/core@7.22.9)(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@react-native-community/cli-clean': 11.3.5 '@react-native-community/cli-config': 11.3.5 '@react-native-community/cli-debugger-ui': 11.3.5 '@react-native-community/cli-doctor': 11.3.5 '@react-native-community/cli-hermes': 11.3.5 '@react-native-community/cli-plugin-metro': 11.3.5(@babel/core@7.22.9)(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@react-native-community/cli-server-api': 11.3.5(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@react-native-community/cli-tools': 11.3.5 '@react-native-community/cli-types': 11.3.5 chalk: 4.1.2 commander: 9.5.0 execa: 5.1.1 find-up: 4.1.0 fs-extra: 8.1.0 graceful-fs: 4.2.11 prompts: 2.4.2 semver: 6.3.1 transitivePeerDependencies: - '@babel/core' - bufferutil - encoding - supports-color - utf-8-validate '@react-native/assets-registry@0.72.0': {} '@react-native/assets-registry@0.73.1': {} '@react-native/babel-plugin-codegen@0.73.4(@babel/preset-env@7.22.9(@babel/core@7.22.9))': dependencies: '@react-native/codegen': 0.73.3(@babel/preset-env@7.22.9(@babel/core@7.22.9)) transitivePeerDependencies: - '@babel/preset-env' - supports-color '@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))': dependencies: '@babel/core': 7.22.9 '@babel/plugin-proposal-async-generator-functions': 7.20.7(@babel/core@7.22.9) '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-export-default-from': 7.22.5(@babel/core@7.22.9) '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.22.9) '@babel/plugin-proposal-optional-catch-binding': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.22.9) '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-export-default-from': 7.22.5(@babel/core@7.22.9) '@babel/plugin-syntax-flow': 7.22.5(@babel/core@7.22.9) '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-arrow-functions': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-async-to-generator': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-block-scoping': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-classes': 7.22.6(@babel/core@7.22.9) '@babel/plugin-transform-computed-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-destructuring': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-flow-strip-types': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-function-name': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.22.9) '@babel/plugin-transform-private-methods': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.22.9) '@babel/plugin-transform-react-display-name': 7.23.3(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-runtime': 7.22.9(@babel/core@7.22.9) '@babel/plugin-transform-shorthand-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-spread': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-sticky-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-typescript': 7.22.9(@babel/core@7.22.9) '@babel/plugin-transform-unicode-regex': 7.22.5(@babel/core@7.22.9) '@babel/template': 7.24.0 '@react-native/babel-plugin-codegen': 0.73.4(@babel/preset-env@7.22.9(@babel/core@7.22.9)) babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.22.9) react-refresh: 0.14.0 transitivePeerDependencies: - '@babel/preset-env' - supports-color '@react-native/codegen@0.72.6(@babel/preset-env@7.22.9(@babel/core@7.22.9))': dependencies: '@babel/parser': 7.24.0 '@babel/preset-env': 7.22.9(@babel/core@7.22.9) flow-parser: 0.206.0 jscodeshift: 0.14.0(@babel/preset-env@7.22.9(@babel/core@7.22.9)) nullthrows: 1.1.1 transitivePeerDependencies: - supports-color '@react-native/codegen@0.73.3(@babel/preset-env@7.22.9(@babel/core@7.22.9))': dependencies: '@babel/parser': 7.24.0 '@babel/preset-env': 7.22.9(@babel/core@7.22.9) flow-parser: 0.206.0 glob: 7.2.3 invariant: 2.2.4 jscodeshift: 0.14.0(@babel/preset-env@7.22.9(@babel/core@7.22.9)) mkdirp: 0.5.6 nullthrows: 1.1.1 transitivePeerDependencies: - supports-color '@react-native/debugger-frontend@0.73.3': {} '@react-native/dev-middleware@0.73.8(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@isaacs/ttlcache': 1.4.1 '@react-native/debugger-frontend': 0.73.3 chrome-launcher: 0.15.2 chromium-edge-launcher: 1.0.0 connect: 3.7.0 debug: 2.6.9 node-fetch: 2.7.0 open: 7.4.2 serve-static: 1.15.0 temp-dir: 2.0.0 ws: 6.2.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - encoding - supports-color - utf-8-validate '@react-native/gradle-plugin@0.72.11': {} '@react-native/js-polyfills@0.72.1': {} '@react-native/normalize-color@2.1.0': {} '@react-native/normalize-colors@0.72.0': {} '@react-native/virtualized-lists@0.72.6(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10))': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react-native: 0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10) '@react-native/virtualized-lists@0.72.6(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))': dependencies: invariant: 2.2.4 nullthrows: 1.1.1 react-native: 0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10) optional: true '@rollup/plugin-babel@5.3.1(@babel/core@7.22.9)(@types/babel__core@7.20.1)(rollup@2.79.1)': dependencies: '@babel/core': 7.22.9 '@babel/helper-module-imports': 7.22.5 '@rollup/pluginutils': 3.1.0(rollup@2.79.1) rollup: 2.79.1 optionalDependencies: '@types/babel__core': 7.20.1 '@rollup/plugin-node-resolve@11.2.1(rollup@2.79.1)': dependencies: '@rollup/pluginutils': 3.1.0(rollup@2.79.1) '@types/resolve': 1.17.1 builtin-modules: 3.3.0 deepmerge: 4.3.1 is-module: 1.0.0 resolve: 1.22.2 rollup: 2.79.1 '@rollup/plugin-replace@2.4.2(rollup@2.79.1)': dependencies: '@rollup/pluginutils': 3.1.0(rollup@2.79.1) magic-string: 0.25.9 rollup: 2.79.1 '@rollup/pluginutils@3.1.0(rollup@2.79.1)': dependencies: '@types/estree': 0.0.39 estree-walker: 1.0.1 picomatch: 2.3.1 rollup: 2.79.1 '@rushstack/eslint-patch@1.3.2': {} '@scure/base@1.1.1': {} '@scure/base@1.1.5': {} '@scure/bip32@1.3.1': dependencies: '@noble/curves': 1.1.0 '@noble/hashes': 1.3.2 '@scure/base': 1.1.1 '@scure/bip32@1.3.3': dependencies: '@noble/curves': 1.3.0 '@noble/hashes': 1.3.3 '@scure/base': 1.1.5 '@scure/bip39@1.2.1': dependencies: '@noble/hashes': 1.3.2 '@scure/base': 1.1.1 '@scure/bip39@1.2.2': dependencies: '@noble/hashes': 1.3.3 '@scure/base': 1.1.5 '@segment/loosely-validate-event@2.0.0': dependencies: component-type: 1.2.2 join-component: 1.1.0 '@sideway/address@4.1.4': dependencies: '@hapi/hoek': 9.3.0 '@sideway/formula@3.0.1': {} '@sideway/pinpoint@2.0.0': {} '@sinclair/typebox@0.24.51': {} '@sinclair/typebox@0.27.8': {} '@sinclair/typebox@0.31.28': {} '@sinonjs/commons@1.8.6': dependencies: type-detect: 4.0.8 '@sinonjs/commons@3.0.0': dependencies: type-detect: 4.0.8 '@sinonjs/fake-timers@10.3.0': dependencies: '@sinonjs/commons': 3.0.0 '@sinonjs/fake-timers@8.1.0': dependencies: '@sinonjs/commons': 1.8.6 '@sinonjs/fake-timers@9.1.2': dependencies: '@sinonjs/commons': 1.8.6 '@socket.io/component-emitter@3.1.0': {} '@solana-mobile/mobile-wallet-adapter-protocol-web3js@2.0.1(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10))': dependencies: '@solana-mobile/mobile-wallet-adapter-protocol': 1.0.1(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10)) '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) bs58: 5.0.0 js-base64: 3.7.5 transitivePeerDependencies: - react-native '@solana-mobile/mobile-wallet-adapter-protocol@1.0.1(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10))': dependencies: react-native: 0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10) '@solana-mobile/wallet-adapter-mobile@2.0.1(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10))': dependencies: '@react-native-async-storage/async-storage': 1.19.1(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10)) '@solana-mobile/mobile-wallet-adapter-protocol-web3js': 2.0.1(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-base': link:packages/core/base '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) js-base64: 3.7.5 transitivePeerDependencies: - react-native '@solana/buffer-layout@4.0.1': dependencies: buffer: 6.0.3 '@solana/wallet-standard-chains@1.1.0': dependencies: '@wallet-standard/base': 1.0.1 '@solana/wallet-standard-features@1.1.0': dependencies: '@wallet-standard/base': 1.0.1 '@wallet-standard/features': 1.0.3 '@solana/wallet-standard-util@1.1.0': dependencies: '@noble/curves': 1.1.0 '@solana/wallet-standard-chains': 1.1.0 '@solana/wallet-standard-features': 1.1.0 '@solana/wallet-standard-wallet-adapter-base@1.1.0(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bs58@5.0.0)': dependencies: '@solana/wallet-adapter-base': link:packages/core/base '@solana/wallet-standard-chains': 1.1.0 '@solana/wallet-standard-features': 1.1.0 '@solana/wallet-standard-util': 1.1.0 '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@wallet-standard/app': 1.0.1 '@wallet-standard/base': 1.0.1 '@wallet-standard/features': 1.0.3 '@wallet-standard/wallet': 1.0.1 bs58: 5.0.0 '@solana/wallet-standard-wallet-adapter-react@1.1.0(@solana/wallet-adapter-base@packages+core+base)(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bs58@5.0.0)(react@18.2.0)': dependencies: '@solana/wallet-adapter-base': link:packages/core/base '@solana/wallet-standard-wallet-adapter-base': 1.1.0(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))(bs58@5.0.0) '@wallet-standard/app': 1.0.1 '@wallet-standard/base': 1.0.1 react: 18.2.0 transitivePeerDependencies: - '@solana/web3.js' - bs58 '@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.22.6 '@noble/curves': 1.1.0 '@noble/hashes': 1.3.1 '@solana/buffer-layout': 4.0.1 agentkeepalive: 4.3.0 bigint-buffer: 1.1.5 bn.js: 5.2.1 borsh: 0.7.0 bs58: 4.0.1 buffer: 6.0.3 fast-stable-stringify: 1.0.0 jayson: 4.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) node-fetch: 2.6.12 rpc-websockets: 7.5.1 superstruct: 0.14.2 transitivePeerDependencies: - bufferutil - encoding - supports-color - utf-8-validate '@solana/web3.js@1.90.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.23.5 '@noble/curves': 1.2.0 '@noble/hashes': 1.3.3 '@solana/buffer-layout': 4.0.1 agentkeepalive: 4.5.0 bigint-buffer: 1.1.5 bn.js: 5.2.1 borsh: 0.7.0 bs58: 4.0.1 buffer: 6.0.3 fast-stable-stringify: 1.0.0 jayson: 4.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) node-fetch: 2.7.0 rpc-websockets: 7.5.1 superstruct: 0.14.2 transitivePeerDependencies: - bufferutil - encoding - utf-8-validate '@solflare-wallet/metamask-sdk@1.0.2(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))': dependencies: '@solana/wallet-standard-features': 1.1.0 '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@wallet-standard/base': 1.0.1 bs58: 5.0.0 eventemitter3: 5.0.1 uuid: 9.0.0 '@solflare-wallet/sdk@1.3.0(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10))': dependencies: '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) bs58: 5.0.0 eventemitter3: 5.0.1 uuid: 9.0.0 '@stablelib/aead@1.0.1': {} '@stablelib/binary@1.0.1': dependencies: '@stablelib/int': 1.0.1 '@stablelib/bytes@1.0.1': {} '@stablelib/chacha20poly1305@1.0.1': dependencies: '@stablelib/aead': 1.0.1 '@stablelib/binary': 1.0.1 '@stablelib/chacha': 1.0.1 '@stablelib/constant-time': 1.0.1 '@stablelib/poly1305': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/chacha@1.0.1': dependencies: '@stablelib/binary': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/constant-time@1.0.1': {} '@stablelib/ed25519@1.0.3': dependencies: '@stablelib/random': 1.0.2 '@stablelib/sha512': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/hash@1.0.1': {} '@stablelib/hkdf@1.0.1': dependencies: '@stablelib/hash': 1.0.1 '@stablelib/hmac': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/hmac@1.0.1': dependencies: '@stablelib/constant-time': 1.0.1 '@stablelib/hash': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/int@1.0.1': {} '@stablelib/keyagreement@1.0.1': dependencies: '@stablelib/bytes': 1.0.1 '@stablelib/poly1305@1.0.1': dependencies: '@stablelib/constant-time': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/random@1.0.2': dependencies: '@stablelib/binary': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/sha256@1.0.1': dependencies: '@stablelib/binary': 1.0.1 '@stablelib/hash': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/sha512@1.0.1': dependencies: '@stablelib/binary': 1.0.1 '@stablelib/hash': 1.0.1 '@stablelib/wipe': 1.0.1 '@stablelib/wipe@1.0.1': {} '@stablelib/x25519@1.0.3': dependencies: '@stablelib/keyagreement': 1.0.1 '@stablelib/random': 1.0.2 '@stablelib/wipe': 1.0.1 '@surma/rollup-plugin-off-main-thread@2.2.3': dependencies: ejs: 3.1.9 json5: 2.2.3 magic-string: 0.25.9 string.prototype.matchall: 4.0.8 '@svgr/babel-plugin-add-jsx-attribute@5.4.0': {} '@svgr/babel-plugin-remove-jsx-attribute@5.4.0': {} '@svgr/babel-plugin-remove-jsx-empty-expression@5.0.1': {} '@svgr/babel-plugin-replace-jsx-attribute-value@5.0.1': {} '@svgr/babel-plugin-svg-dynamic-title@5.4.0': {} '@svgr/babel-plugin-svg-em-dimensions@5.4.0': {} '@svgr/babel-plugin-transform-react-native-svg@5.4.0': {} '@svgr/babel-plugin-transform-svg-component@5.5.0': {} '@svgr/babel-preset@5.5.0': dependencies: '@svgr/babel-plugin-add-jsx-attribute': 5.4.0 '@svgr/babel-plugin-remove-jsx-attribute': 5.4.0 '@svgr/babel-plugin-remove-jsx-empty-expression': 5.0.1 '@svgr/babel-plugin-replace-jsx-attribute-value': 5.0.1 '@svgr/babel-plugin-svg-dynamic-title': 5.4.0 '@svgr/babel-plugin-svg-em-dimensions': 5.4.0 '@svgr/babel-plugin-transform-react-native-svg': 5.4.0 '@svgr/babel-plugin-transform-svg-component': 5.5.0 '@svgr/core@5.5.0': dependencies: '@svgr/plugin-jsx': 5.5.0 camelcase: 6.3.0 cosmiconfig: 7.1.0 transitivePeerDependencies: - supports-color '@svgr/hast-util-to-babel-ast@5.5.0': dependencies: '@babel/types': 7.22.5 '@svgr/plugin-jsx@5.5.0': dependencies: '@babel/core': 7.22.9 '@svgr/babel-preset': 5.5.0 '@svgr/hast-util-to-babel-ast': 5.5.0 svg-parser: 2.0.4 transitivePeerDependencies: - supports-color '@svgr/plugin-svgo@5.5.0': dependencies: cosmiconfig: 7.1.0 deepmerge: 4.3.1 svgo: 1.3.2 '@svgr/webpack@5.5.0': dependencies: '@babel/core': 7.22.9 '@babel/plugin-transform-react-constant-elements': 7.22.5(@babel/core@7.22.9) '@babel/preset-env': 7.22.9(@babel/core@7.22.9) '@babel/preset-react': 7.22.5(@babel/core@7.22.9) '@svgr/core': 5.5.0 '@svgr/plugin-jsx': 5.5.0 '@svgr/plugin-svgo': 5.5.0 loader-utils: 2.0.4 transitivePeerDependencies: - supports-color '@swc/core-darwin-arm64@1.3.70': optional: true '@swc/core-darwin-x64@1.3.70': optional: true '@swc/core-linux-arm-gnueabihf@1.3.70': optional: true '@swc/core-linux-arm64-gnu@1.3.70': optional: true '@swc/core-linux-arm64-musl@1.3.70': optional: true '@swc/core-linux-x64-gnu@1.3.70': optional: true '@swc/core-linux-x64-musl@1.3.70': optional: true '@swc/core-win32-arm64-msvc@1.3.70': optional: true '@swc/core-win32-ia32-msvc@1.3.70': optional: true '@swc/core-win32-x64-msvc@1.3.70': optional: true '@swc/core@1.3.70(@swc/helpers@0.5.1)': optionalDependencies: '@swc/core-darwin-arm64': 1.3.70 '@swc/core-darwin-x64': 1.3.70 '@swc/core-linux-arm-gnueabihf': 1.3.70 '@swc/core-linux-arm64-gnu': 1.3.70 '@swc/core-linux-arm64-musl': 1.3.70 '@swc/core-linux-x64-gnu': 1.3.70 '@swc/core-linux-x64-musl': 1.3.70 '@swc/core-win32-arm64-msvc': 1.3.70 '@swc/core-win32-ia32-msvc': 1.3.70 '@swc/core-win32-x64-msvc': 1.3.70 '@swc/helpers': 0.5.1 '@swc/helpers@0.4.11': dependencies: tslib: 2.6.0 '@swc/helpers@0.5.1': dependencies: tslib: 2.6.0 '@testing-library/dom@8.20.1': dependencies: '@babel/code-frame': 7.22.5 '@babel/runtime': 7.22.6 '@types/aria-query': 5.0.1 aria-query: 5.1.3 chalk: 4.1.2 dom-accessibility-api: 0.5.16 lz-string: 1.5.0 pretty-format: 27.5.1 '@testing-library/dom@9.3.1': dependencies: '@babel/code-frame': 7.23.5 '@babel/runtime': 7.23.5 '@types/aria-query': 5.0.1 aria-query: 5.1.3 chalk: 4.1.2 dom-accessibility-api: 0.5.16 lz-string: 1.5.0 pretty-format: 27.5.1 '@testing-library/jest-dom@5.17.0': dependencies: '@adobe/css-tools': 4.2.0 '@babel/runtime': 7.22.6 '@types/testing-library__jest-dom': 5.14.8 aria-query: 5.3.0 chalk: 3.0.0 css.escape: 1.5.1 dom-accessibility-api: 0.5.16 lodash: 4.17.21 redent: 3.0.0 '@testing-library/react@13.4.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)': dependencies: '@babel/runtime': 7.22.6 '@testing-library/dom': 8.20.1 '@types/react-dom': 18.2.7 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) '@testing-library/user-event@14.4.3(@testing-library/dom@9.3.1)': dependencies: '@testing-library/dom': 9.3.1 '@tootallnate/once@1.1.2': {} '@tootallnate/once@2.0.0': {} '@toruslabs/base-controllers@2.9.0(@babel/runtime@7.22.6)(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.22.6 '@ethereumjs/util': 8.1.0 '@toruslabs/broadcast-channel': 6.3.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@toruslabs/http-helpers': 3.4.0(@babel/runtime@7.22.6) '@toruslabs/openlogin-jrpc': 4.7.0(@babel/runtime@7.22.6) async-mutex: 0.4.0 bignumber.js: 9.1.1 bowser: 2.11.0 eth-rpc-errors: 4.0.3 json-rpc-random-id: 1.0.1 lodash: 4.17.21 loglevel: 1.8.1 transitivePeerDependencies: - '@sentry/types' - bufferutil - supports-color - utf-8-validate '@toruslabs/broadcast-channel@6.3.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.22.6 '@toruslabs/eccrypto': 2.2.1 '@toruslabs/metadata-helpers': 3.2.0(@babel/runtime@7.22.6) bowser: 2.11.0 loglevel: 1.8.1 oblivious-set: 1.1.1 socket.io-client: 4.7.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) unload: 2.4.1 transitivePeerDependencies: - '@sentry/types' - bufferutil - supports-color - utf-8-validate '@toruslabs/eccrypto@2.2.1': dependencies: elliptic: 6.5.4 '@toruslabs/http-helpers@3.4.0(@babel/runtime@7.22.6)': dependencies: '@babel/runtime': 7.22.6 lodash.merge: 4.6.2 loglevel: 1.8.1 '@toruslabs/metadata-helpers@3.2.0(@babel/runtime@7.22.6)': dependencies: '@babel/runtime': 7.22.6 '@toruslabs/eccrypto': 2.2.1 '@toruslabs/http-helpers': 3.4.0(@babel/runtime@7.22.6) elliptic: 6.5.4 ethereum-cryptography: 2.1.2 json-stable-stringify: 1.0.2 transitivePeerDependencies: - '@sentry/types' '@toruslabs/openlogin-jrpc@3.2.0(@babel/runtime@7.22.6)': dependencies: '@babel/runtime': 7.22.6 '@toruslabs/openlogin-utils': 3.0.0(@babel/runtime@7.22.6) end-of-stream: 1.4.4 eth-rpc-errors: 4.0.3 events: 3.3.0 fast-safe-stringify: 2.1.1 once: 1.4.0 pump: 3.0.0 readable-stream: 3.6.2 '@toruslabs/openlogin-jrpc@4.7.0(@babel/runtime@7.22.6)': dependencies: '@babel/runtime': 7.22.6 '@metamask/rpc-errors': 5.1.1 '@toruslabs/openlogin-utils': 4.7.0(@babel/runtime@7.22.6) end-of-stream: 1.4.4 events: 3.3.0 fast-safe-stringify: 2.1.1 once: 1.4.0 pump: 3.0.0 readable-stream: 4.4.2 transitivePeerDependencies: - supports-color '@toruslabs/openlogin-utils@3.0.0(@babel/runtime@7.22.6)': dependencies: '@babel/runtime': 7.22.6 base64url: 3.0.1 keccak: 3.0.3 randombytes: 2.1.0 '@toruslabs/openlogin-utils@4.7.0(@babel/runtime@7.22.6)': dependencies: '@babel/runtime': 7.22.6 base64url: 3.0.1 '@toruslabs/solana-embed@0.3.4(@babel/runtime@7.22.6)(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@babel/runtime': 7.22.6 '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@toruslabs/base-controllers': 2.9.0(@babel/runtime@7.22.6)(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@toruslabs/http-helpers': 3.4.0(@babel/runtime@7.22.6) '@toruslabs/openlogin-jrpc': 3.2.0(@babel/runtime@7.22.6) eth-rpc-errors: 4.0.3 fast-deep-equal: 3.1.3 is-stream: 2.0.1 lodash-es: 4.17.21 loglevel: 1.8.1 pump: 3.0.0 transitivePeerDependencies: - '@sentry/types' - bufferutil - encoding - supports-color - utf-8-validate '@trezor/analytics@1.0.15(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2)': dependencies: '@trezor/env-utils': 1.0.14(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2) '@trezor/utils': 9.0.22(tslib@2.6.2) tslib: 2.6.2 transitivePeerDependencies: - expo - expo-localization - react-native - supports-color '@trezor/blockchain-link-types@1.0.14(bufferutil@4.0.7)(tslib@2.6.2)(utf-8-validate@5.0.10)': dependencies: '@solana/web3.js': 1.90.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@trezor/type-utils': 1.0.5 '@trezor/utxo-lib': 2.0.7(tslib@2.6.2) socks-proxy-agent: 6.1.1 transitivePeerDependencies: - bufferutil - encoding - supports-color - tslib - utf-8-validate '@trezor/blockchain-link-utils@1.0.15(bufferutil@4.0.7)(tslib@2.6.2)(utf-8-validate@5.0.10)': dependencies: '@mobily/ts-belt': 3.13.1 '@solana/web3.js': 1.90.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@trezor/utils': 9.0.22(tslib@2.6.2) bignumber.js: 9.1.2 tslib: 2.6.2 transitivePeerDependencies: - bufferutil - encoding - utf-8-validate '@trezor/blockchain-link@2.1.27(bufferutil@4.0.7)(tslib@2.6.2)(utf-8-validate@5.0.10)': dependencies: '@solana/buffer-layout': 4.0.1 '@solana/web3.js': 1.90.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@trezor/blockchain-link-types': 1.0.14(bufferutil@4.0.7)(tslib@2.6.2)(utf-8-validate@5.0.10) '@trezor/blockchain-link-utils': 1.0.15(bufferutil@4.0.7)(tslib@2.6.2)(utf-8-validate@5.0.10) '@trezor/utils': 9.0.22(tslib@2.6.2) '@trezor/utxo-lib': 2.0.7(tslib@2.6.2) '@types/web': typescript@4.7.4 bignumber.js: 9.1.2 events: 3.3.0 ripple-lib: 1.10.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) socks-proxy-agent: 6.1.1 tslib: 2.6.2 ws: 8.16.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - encoding - supports-color - utf-8-validate '@trezor/connect-analytics@1.0.13(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2)': dependencies: '@trezor/analytics': 1.0.15(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2) tslib: 2.6.2 transitivePeerDependencies: - expo - expo-localization - react-native - supports-color '@trezor/connect-common@0.0.30(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2)': dependencies: '@trezor/env-utils': 1.0.14(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2) '@trezor/utils': 9.0.22(tslib@2.6.2) tslib: 2.6.2 transitivePeerDependencies: - expo - expo-localization - react-native - supports-color '@trezor/connect-web@9.2.1(bufferutil@4.0.7)(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2)(utf-8-validate@5.0.10)': dependencies: '@trezor/connect': 9.2.1(bufferutil@4.0.7)(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2)(utf-8-validate@5.0.10) '@trezor/connect-common': 0.0.30(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2) '@trezor/utils': 9.0.22(tslib@2.6.2) events: 3.3.0 tslib: 2.6.2 transitivePeerDependencies: - bufferutil - c-kzg - encoding - expo - expo-localization - react-native - supports-color - utf-8-validate '@trezor/connect@9.2.1(bufferutil@4.0.7)(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2)(utf-8-validate@5.0.10)': dependencies: '@ethereumjs/common': 4.2.0 '@ethereumjs/tx': 5.2.1 '@fivebinaries/coin-selection': 2.2.1 '@trezor/blockchain-link': 2.1.27(bufferutil@4.0.7)(tslib@2.6.2)(utf-8-validate@5.0.10) '@trezor/blockchain-link-types': 1.0.14(bufferutil@4.0.7)(tslib@2.6.2)(utf-8-validate@5.0.10) '@trezor/connect-analytics': 1.0.13(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2) '@trezor/connect-common': 0.0.30(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2) '@trezor/protobuf': 1.0.10(tslib@2.6.2) '@trezor/protocol': 1.0.6(tslib@2.6.2) '@trezor/schema-utils': 1.0.2 '@trezor/transport': 1.1.26(tslib@2.6.2) '@trezor/utils': 9.0.22(tslib@2.6.2) '@trezor/utxo-lib': 2.0.7(tslib@2.6.2) bignumber.js: 9.1.2 blakejs: 1.2.1 bs58: 5.0.0 bs58check: 3.0.1 cross-fetch: 4.0.0 events: 3.3.0 tslib: 2.6.2 transitivePeerDependencies: - bufferutil - c-kzg - encoding - expo - expo-localization - react-native - supports-color - utf-8-validate '@trezor/env-utils@1.0.14(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10))(tslib@2.6.2)': dependencies: expo-constants: 15.4.5(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)) tslib: 2.6.2 ua-parser-js: 1.0.37 optionalDependencies: react-native: 0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - expo - supports-color '@trezor/protobuf@1.0.10(tslib@2.6.2)': dependencies: '@trezor/schema-utils': 1.0.2 long: 4.0.0 protobufjs: 7.2.6 tslib: 2.6.2 '@trezor/protocol@1.0.6(tslib@2.6.2)': dependencies: tslib: 2.6.2 '@trezor/schema-utils@1.0.2': dependencies: '@sinclair/typebox': 0.31.28 ts-mixer: 6.0.4 '@trezor/transport@1.1.26(tslib@2.6.2)': dependencies: '@trezor/protobuf': 1.0.10(tslib@2.6.2) '@trezor/protocol': 1.0.6(tslib@2.6.2) '@trezor/utils': 9.0.22(tslib@2.6.2) json-stable-stringify: 1.1.1 long: 4.0.0 protobufjs: 7.2.6 tslib: 2.6.2 usb: 2.11.0 '@trezor/type-utils@1.0.5': {} '@trezor/utils@9.0.22(tslib@2.6.2)': dependencies: tslib: 2.6.2 '@trezor/utxo-lib@2.0.7(tslib@2.6.2)': dependencies: '@trezor/utils': 9.0.22(tslib@2.6.2) bchaddrjs: 0.5.2 bech32: 2.0.0 bip66: 1.1.5 bitcoin-ops: 1.4.1 blake-hash: 2.0.0 blakejs: 1.2.1 bn.js: 5.2.1 bs58: 5.0.0 bs58check: 3.0.1 create-hash: 1.2.0 create-hmac: 1.1.7 int64-buffer: 1.0.1 pushdata-bitcoin: 1.0.1 tiny-secp256k1: 1.1.6 tslib: 2.6.2 typeforce: 1.18.0 varuint-bitcoin: 1.1.2 wif: 4.0.0 '@trysound/sax@0.2.0': {} '@types/aria-query@5.0.1': {} '@types/babel__core@7.20.1': dependencies: '@babel/parser': 7.22.7 '@babel/types': 7.22.5 '@types/babel__generator': 7.6.4 '@types/babel__template': 7.4.1 '@types/babel__traverse': 7.20.1 '@types/babel__generator@7.6.4': dependencies: '@babel/types': 7.22.5 '@types/babel__template@7.4.1': dependencies: '@babel/parser': 7.22.7 '@babel/types': 7.22.5 '@types/babel__traverse@7.20.1': dependencies: '@babel/types': 7.22.5 '@types/body-parser@1.19.2': dependencies: '@types/connect': 3.4.35 '@types/node': 18.16.19 '@types/bonjour@3.5.10': dependencies: '@types/node': 18.16.19 '@types/bs58@4.0.1': dependencies: base-x: 3.0.9 '@types/connect-history-api-fallback@1.5.0': dependencies: '@types/express-serve-static-core': 4.17.35 '@types/node': 18.16.19 '@types/connect@3.4.35': dependencies: '@types/node': 18.16.19 '@types/debug@4.1.8': dependencies: '@types/ms': 0.7.31 '@types/eslint-scope@3.7.4': dependencies: '@types/eslint': 8.44.0 '@types/estree': 1.0.1 '@types/eslint@8.44.0': dependencies: '@types/estree': 1.0.1 '@types/json-schema': 7.0.12 '@types/estree@0.0.39': {} '@types/estree@1.0.1': {} '@types/express-serve-static-core@4.17.35': dependencies: '@types/node': 18.16.19 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 '@types/send': 0.17.1 '@types/express@4.17.17': dependencies: '@types/body-parser': 1.19.2 '@types/express-serve-static-core': 4.17.35 '@types/qs': 6.9.7 '@types/serve-static': 1.15.2 '@types/graceful-fs@4.1.6': dependencies: '@types/node': 18.16.19 '@types/html-minifier-terser@6.1.0': {} '@types/http-errors@2.0.1': {} '@types/http-proxy@1.17.11': dependencies: '@types/node': 18.16.19 '@types/is-ci@3.0.0': dependencies: ci-info: 3.8.0 '@types/istanbul-lib-coverage@2.0.4': {} '@types/istanbul-lib-report@3.0.0': dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports@3.0.1': dependencies: '@types/istanbul-lib-report': 3.0.0 '@types/jest@28.1.8': dependencies: expect: 28.1.3 pretty-format: 28.1.3 '@types/jsdom@16.2.15': dependencies: '@types/node': 18.16.19 '@types/parse5': 6.0.3 '@types/tough-cookie': 4.0.2 '@types/json-schema@7.0.12': {} '@types/json5@0.0.29': {} '@types/keccak@3.0.1': dependencies: '@types/node': 18.16.19 '@types/lodash@4.14.199': {} '@types/mime@1.3.2': {} '@types/mime@3.0.1': {} '@types/minimist@1.2.2': {} '@types/ms@0.7.31': {} '@types/node-fetch@2.6.4': dependencies: '@types/node': 18.16.19 form-data: 3.0.1 '@types/node@12.20.55': {} '@types/node@18.16.19': {} '@types/normalize-package-data@2.4.1': {} '@types/parse-json@4.0.0': {} '@types/parse5@6.0.3': {} '@types/pino-pretty@5.0.0': dependencies: pino-pretty: 10.0.1 '@types/pino-std-serializers@4.0.0': dependencies: pino-std-serializers: 6.2.2 '@types/pino@6.3.12': dependencies: '@types/node': 18.16.19 '@types/pino-pretty': 5.0.0 '@types/pino-std-serializers': 4.0.0 sonic-boom: 2.8.0 '@types/prettier@2.7.3': {} '@types/prop-types@15.7.5': {} '@types/q@1.5.5': {} '@types/qs@6.9.7': {} '@types/range-parser@1.2.4': {} '@types/react-dom@18.2.7': dependencies: '@types/react': 18.2.15 '@types/react-is@18.2.1': dependencies: '@types/react': 18.2.15 '@types/react-transition-group@4.4.6': dependencies: '@types/react': 18.2.15 '@types/react@18.2.15': dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.3 csstype: 3.1.2 '@types/readable-stream@2.3.15': dependencies: '@types/node': 18.16.19 safe-buffer: 5.1.2 '@types/resolve@1.17.1': dependencies: '@types/node': 18.16.19 '@types/retry@0.12.0': {} '@types/scheduler@0.16.3': {} '@types/semver@7.5.0': {} '@types/send@0.17.1': dependencies: '@types/mime': 1.3.2 '@types/node': 18.16.19 '@types/serve-index@1.9.1': dependencies: '@types/express': 4.17.17 '@types/serve-static@1.15.2': dependencies: '@types/http-errors': 2.0.1 '@types/mime': 3.0.1 '@types/node': 18.16.19 '@types/sockjs@0.3.33': dependencies: '@types/node': 18.16.19 '@types/stack-utils@2.0.1': {} '@types/testing-library__jest-dom@5.14.8': dependencies: '@types/jest': 28.1.8 '@types/tough-cookie@4.0.2': {} '@types/trusted-types@2.0.3': {} '@types/uuid@8.3.4': {} '@types/w3c-web-hid@1.0.3': {} '@types/w3c-web-usb@1.0.10': {} '@types/ws@7.4.7': dependencies: '@types/node': 18.16.19 '@types/ws@8.5.5': dependencies: '@types/node': 18.16.19 '@types/yargs-parser@21.0.0': {} '@types/yargs@15.0.15': dependencies: '@types/yargs-parser': 21.0.0 '@types/yargs@16.0.5': dependencies: '@types/yargs-parser': 21.0.0 '@types/yargs@17.0.24': dependencies: '@types/yargs-parser': 21.0.0 '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint@8.22.0)(typescript@4.7.4)': dependencies: '@eslint-community/regexpp': 4.5.1 '@typescript-eslint/parser': 5.62.0(eslint@8.22.0)(typescript@4.7.4) '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/type-utils': 5.62.0(eslint@8.22.0)(typescript@4.7.4) '@typescript-eslint/utils': 5.62.0(eslint@8.22.0)(typescript@4.7.4) debug: 4.3.4 eslint: 8.22.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare-lite: 1.4.0 semver: 7.5.4 tsutils: 3.21.0(typescript@4.7.4) optionalDependencies: typescript: 4.7.4 transitivePeerDependencies: - supports-color '@typescript-eslint/experimental-utils@5.62.0(eslint@8.22.0)(typescript@4.7.4)': dependencies: '@typescript-eslint/utils': 5.62.0(eslint@8.22.0)(typescript@4.7.4) eslint: 8.22.0 transitivePeerDependencies: - supports-color - typescript '@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4)': dependencies: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@4.7.4) debug: 4.3.4 eslint: 8.22.0 optionalDependencies: typescript: 4.7.4 transitivePeerDependencies: - supports-color '@typescript-eslint/scope-manager@5.62.0': dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 '@typescript-eslint/type-utils@5.62.0(eslint@8.22.0)(typescript@4.7.4)': dependencies: '@typescript-eslint/typescript-estree': 5.62.0(typescript@4.7.4) '@typescript-eslint/utils': 5.62.0(eslint@8.22.0)(typescript@4.7.4) debug: 4.3.4 eslint: 8.22.0 tsutils: 3.21.0(typescript@4.7.4) optionalDependencies: typescript: 4.7.4 transitivePeerDependencies: - supports-color '@typescript-eslint/types@5.62.0': {} '@typescript-eslint/typescript-estree@5.62.0(typescript@4.7.4)': dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.4 tsutils: 3.21.0(typescript@4.7.4) optionalDependencies: typescript: 4.7.4 transitivePeerDependencies: - supports-color '@typescript-eslint/utils@5.62.0(eslint@8.22.0)(typescript@4.7.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.22.0) '@types/json-schema': 7.0.12 '@types/semver': 7.5.0 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@4.7.4) eslint: 8.22.0 eslint-scope: 5.1.1 semver: 7.5.4 transitivePeerDependencies: - supports-color - typescript '@typescript-eslint/visitor-keys@5.62.0': dependencies: '@typescript-eslint/types': 5.62.0 eslint-visitor-keys: 3.4.1 '@urql/core@2.3.6(graphql@15.8.0)': dependencies: '@graphql-typed-document-node/core': 3.2.0(graphql@15.8.0) graphql: 15.8.0 wonka: 4.0.15 '@urql/exchange-retry@0.3.0(graphql@15.8.0)': dependencies: '@urql/core': 2.3.6(graphql@15.8.0) graphql: 15.8.0 wonka: 4.0.15 '@wallet-standard/app@1.0.1': dependencies: '@wallet-standard/base': 1.0.1 '@wallet-standard/base@1.0.1': {} '@wallet-standard/features@1.0.3': dependencies: '@wallet-standard/base': 1.0.1 '@wallet-standard/wallet@1.0.1': dependencies: '@wallet-standard/base': 1.0.1 '@walletconnect/browser-utils@1.8.0': dependencies: '@walletconnect/safe-json': 1.0.0 '@walletconnect/types': 1.8.0 '@walletconnect/window-getters': 1.0.0 '@walletconnect/window-metadata': 1.0.0 detect-browser: 5.2.0 '@walletconnect/core@2.9.1(@react-native-async-storage/async-storage@1.19.1)(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-provider': 1.0.13 '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/jsonrpc-ws-connection': 1.0.13(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@walletconnect/keyvaluestorage': 1.0.2(@react-native-async-storage/async-storage@1.19.1) '@walletconnect/logger': 2.0.1 '@walletconnect/relay-api': 1.0.9 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.9.1(@react-native-async-storage/async-storage@1.19.1) '@walletconnect/utils': 2.9.1(@react-native-async-storage/async-storage@1.19.1) events: 3.3.0 lodash.isequal: 4.5.0 uint8arrays: 3.1.1 transitivePeerDependencies: - '@react-native-async-storage/async-storage' - bufferutil - lokijs - utf-8-validate '@walletconnect/environment@1.0.1': dependencies: tslib: 1.14.1 '@walletconnect/events@1.0.1': dependencies: keyvaluestorage-interface: 1.0.0 tslib: 1.14.1 '@walletconnect/heartbeat@1.2.1': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/time': 1.0.2 tslib: 1.14.1 '@walletconnect/jsonrpc-provider@1.0.13': dependencies: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/safe-json': 1.0.2 tslib: 1.14.1 '@walletconnect/jsonrpc-types@1.0.3': dependencies: keyvaluestorage-interface: 1.0.0 tslib: 1.14.1 '@walletconnect/jsonrpc-utils@1.0.8': dependencies: '@walletconnect/environment': 1.0.1 '@walletconnect/jsonrpc-types': 1.0.3 tslib: 1.14.1 '@walletconnect/jsonrpc-ws-connection@1.0.13(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/safe-json': 1.0.2 events: 3.3.0 tslib: 1.14.1 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate '@walletconnect/keyvaluestorage@1.0.2(@react-native-async-storage/async-storage@1.19.1)': dependencies: safe-json-utils: 1.1.1 tslib: 1.14.1 optionalDependencies: '@react-native-async-storage/async-storage': 1.19.1(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10)) '@walletconnect/logger@2.0.1': dependencies: pino: 7.11.0 tslib: 1.14.1 '@walletconnect/mobile-registry@1.4.0': {} '@walletconnect/qrcode-modal@1.8.0': dependencies: '@walletconnect/browser-utils': 1.8.0 '@walletconnect/mobile-registry': 1.4.0 '@walletconnect/types': 1.8.0 copy-to-clipboard: 3.3.3 preact: 10.4.1 qrcode: 1.4.4 '@walletconnect/relay-api@1.0.9': dependencies: '@walletconnect/jsonrpc-types': 1.0.3 tslib: 1.14.1 '@walletconnect/relay-auth@1.0.4': dependencies: '@stablelib/ed25519': 1.0.3 '@stablelib/random': 1.0.2 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 tslib: 1.14.1 uint8arrays: 3.1.1 '@walletconnect/safe-json@1.0.0': {} '@walletconnect/safe-json@1.0.2': dependencies: tslib: 1.14.1 '@walletconnect/sign-client@2.9.1(@react-native-async-storage/async-storage@1.19.1)(bufferutil@4.0.7)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/core': 2.9.1(@react-native-async-storage/async-storage@1.19.1)(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.0.1 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.9.1(@react-native-async-storage/async-storage@1.19.1) '@walletconnect/utils': 2.9.1(@react-native-async-storage/async-storage@1.19.1) events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' - bufferutil - lokijs - utf-8-validate '@walletconnect/time@1.0.2': dependencies: tslib: 1.14.1 '@walletconnect/types@1.8.0': {} '@walletconnect/types@2.9.1(@react-native-async-storage/async-storage@1.19.1)': dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/keyvaluestorage': 1.0.2(@react-native-async-storage/async-storage@1.19.1) '@walletconnect/logger': 2.0.1 events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' - lokijs '@walletconnect/utils@2.9.1(@react-native-async-storage/async-storage@1.19.1)': dependencies: '@stablelib/chacha20poly1305': 1.0.1 '@stablelib/hkdf': 1.0.1 '@stablelib/random': 1.0.2 '@stablelib/sha256': 1.0.1 '@stablelib/x25519': 1.0.3 '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.9.1(@react-native-async-storage/async-storage@1.19.1) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 query-string: 7.1.3 uint8arrays: 3.1.1 transitivePeerDependencies: - '@react-native-async-storage/async-storage' - lokijs '@walletconnect/window-getters@1.0.0': {} '@walletconnect/window-getters@1.0.1': dependencies: tslib: 1.14.1 '@walletconnect/window-metadata@1.0.0': dependencies: '@walletconnect/window-getters': 1.0.0 '@walletconnect/window-metadata@1.0.1': dependencies: '@walletconnect/window-getters': 1.0.1 tslib: 1.14.1 '@webassemblyjs/ast@1.11.6': dependencies: '@webassemblyjs/helper-numbers': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/floating-point-hex-parser@1.11.6': {} '@webassemblyjs/helper-api-error@1.11.6': {} '@webassemblyjs/helper-buffer@1.11.6': {} '@webassemblyjs/helper-numbers@1.11.6': dependencies: '@webassemblyjs/floating-point-hex-parser': 1.11.6 '@webassemblyjs/helper-api-error': 1.11.6 '@xtuc/long': 4.2.2 '@webassemblyjs/helper-wasm-bytecode@1.11.6': {} '@webassemblyjs/helper-wasm-section@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-buffer': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/wasm-gen': 1.11.6 '@webassemblyjs/ieee754@1.11.6': dependencies: '@xtuc/ieee754': 1.2.0 '@webassemblyjs/leb128@1.11.6': dependencies: '@xtuc/long': 4.2.2 '@webassemblyjs/utf8@1.11.6': {} '@webassemblyjs/wasm-edit@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-buffer': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/helper-wasm-section': 1.11.6 '@webassemblyjs/wasm-gen': 1.11.6 '@webassemblyjs/wasm-opt': 1.11.6 '@webassemblyjs/wasm-parser': 1.11.6 '@webassemblyjs/wast-printer': 1.11.6 '@webassemblyjs/wasm-gen@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/ieee754': 1.11.6 '@webassemblyjs/leb128': 1.11.6 '@webassemblyjs/utf8': 1.11.6 '@webassemblyjs/wasm-opt@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-buffer': 1.11.6 '@webassemblyjs/wasm-gen': 1.11.6 '@webassemblyjs/wasm-parser': 1.11.6 '@webassemblyjs/wasm-parser@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/helper-api-error': 1.11.6 '@webassemblyjs/helper-wasm-bytecode': 1.11.6 '@webassemblyjs/ieee754': 1.11.6 '@webassemblyjs/leb128': 1.11.6 '@webassemblyjs/utf8': 1.11.6 '@webassemblyjs/wast-printer@1.11.6': dependencies: '@webassemblyjs/ast': 1.11.6 '@xtuc/long': 4.2.2 '@xmldom/xmldom@0.7.13': {} '@xmldom/xmldom@0.8.10': {} '@xtuc/ieee754@1.2.0': {} '@xtuc/long@4.2.2': {} JSONStream@1.3.5: dependencies: jsonparse: 1.3.1 through: 2.3.8 abab@2.0.6: {} abort-controller@3.0.0: dependencies: event-target-shim: 5.0.1 abortcontroller-polyfill@1.7.5: {} accepts@1.3.8: dependencies: mime-types: 2.1.35 negotiator: 0.6.3 acorn-globals@6.0.0: dependencies: acorn: 7.4.1 acorn-walk: 7.2.0 acorn-import-assertions@1.9.0(acorn@8.10.0): dependencies: acorn: 8.10.0 acorn-jsx@5.3.2(acorn@8.10.0): dependencies: acorn: 8.10.0 acorn-walk@7.2.0: {} acorn@7.4.1: {} acorn@8.10.0: {} address@1.2.2: {} adjust-sourcemap-loader@4.0.0: dependencies: loader-utils: 2.0.4 regex-parser: 2.2.11 agent-base@6.0.2: dependencies: debug: 4.3.4 transitivePeerDependencies: - supports-color agentkeepalive@4.3.0: dependencies: debug: 4.3.4 depd: 2.0.0 humanize-ms: 1.2.1 transitivePeerDependencies: - supports-color agentkeepalive@4.5.0: dependencies: humanize-ms: 1.2.1 aggregate-error@3.1.0: dependencies: clean-stack: 2.2.0 indent-string: 4.0.0 ajv-formats@2.1.1(ajv@8.12.0): optionalDependencies: ajv: 8.12.0 ajv-keywords@3.5.2(ajv@6.12.6): dependencies: ajv: 6.12.6 ajv-keywords@5.1.0(ajv@8.12.0): dependencies: ajv: 8.12.0 fast-deep-equal: 3.1.3 ajv@6.12.6: dependencies: fast-deep-equal: 3.1.3 fast-json-stable-stringify: 2.1.0 json-schema-traverse: 0.4.1 uri-js: 4.4.1 ajv@8.12.0: dependencies: fast-deep-equal: 3.1.3 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 uri-js: 4.4.1 anser@1.4.10: {} ansi-colors@4.1.3: {} ansi-escapes@4.3.2: dependencies: type-fest: 0.21.3 ansi-fragments@0.2.1: dependencies: colorette: 1.4.0 slice-ansi: 2.1.0 strip-ansi: 5.2.0 ansi-html-community@0.0.8: {} ansi-regex@4.1.1: {} ansi-regex@5.0.1: {} ansi-regex@6.0.1: {} ansi-sequence-parser@1.1.0: {} ansi-styles@3.2.1: dependencies: color-convert: 1.9.3 ansi-styles@4.3.0: dependencies: color-convert: 2.0.1 ansi-styles@5.2.0: {} antd@4.24.12(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@ant-design/colors': 6.0.0 '@ant-design/icons': 4.8.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) '@ant-design/react-slick': 0.29.2(react@18.2.0) '@babel/runtime': 7.22.6 '@ctrl/tinycolor': 3.6.0 classnames: 2.3.2 copy-to-clipboard: 3.3.3 lodash: 4.17.21 moment: 2.29.4 rc-cascader: 3.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-checkbox: 3.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-collapse: 3.4.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-dialog: 9.0.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-drawer: 6.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-dropdown: 4.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-field-form: 1.34.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-image: 5.13.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-input: 0.1.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-input-number: 7.3.11(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-mentions: 1.13.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-menu: 9.8.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-notification: 4.6.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-pagination: 3.2.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-picker: 2.7.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-progress: 3.4.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-rate: 2.9.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-resize-observer: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-segmented: 2.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-select: 14.1.17(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-slider: 10.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-steps: 5.0.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-switch: 3.2.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-table: 7.26.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-tabs: 12.5.10(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-textarea: 0.4.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-tooltip: 5.2.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-tree: 5.7.9(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-tree-select: 5.5.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-trigger: 5.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-upload: 4.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) scroll-into-view-if-needed: 2.2.31 any-promise@1.3.0: {} anymatch@3.1.3: dependencies: normalize-path: 3.0.0 picomatch: 2.3.1 appdirsjs@1.2.7: {} application-config-path@0.1.1: {} arg@5.0.2: {} argparse@1.0.10: dependencies: sprintf-js: 1.0.3 argparse@2.0.1: {} aria-query@5.1.3: dependencies: deep-equal: 2.2.2 aria-query@5.3.0: dependencies: dequal: 2.0.3 array-buffer-byte-length@1.0.0: dependencies: call-bind: 1.0.2 is-array-buffer: 3.0.2 array-flatten@1.1.1: {} array-flatten@2.1.2: {} array-includes@3.1.6: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 get-intrinsic: 1.2.1 is-string: 1.0.7 array-tree-filter@2.1.0: {} array-union@1.0.2: dependencies: array-uniq: 1.0.3 array-union@2.1.0: {} array-uniq@1.0.3: {} array.prototype.flat@1.3.1: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 es-shim-unscopables: 1.0.0 array.prototype.flatmap@1.3.1: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 es-shim-unscopables: 1.0.0 array.prototype.reduce@1.0.5: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 es-array-method-boxes-properly: 1.0.0 is-string: 1.0.7 array.prototype.tosorted@1.1.1: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 es-shim-unscopables: 1.0.0 get-intrinsic: 1.2.1 arraybuffer.prototype.slice@1.0.1: dependencies: array-buffer-byte-length: 1.0.0 call-bind: 1.0.2 define-properties: 1.2.0 get-intrinsic: 1.2.1 is-array-buffer: 3.0.2 is-shared-array-buffer: 1.0.2 arrify@1.0.1: {} asap@2.0.6: {} asn1.js@5.4.1: dependencies: bn.js: 4.12.0 inherits: 2.0.4 minimalistic-assert: 1.0.1 safer-buffer: 2.1.2 assert@2.0.0: dependencies: es6-object-assign: 1.1.0 is-nan: 1.3.2 object-is: 1.1.5 util: 0.12.5 ast-types-flow@0.0.7: {} ast-types@0.15.2: dependencies: tslib: 2.6.2 astral-regex@1.0.0: {} async-limiter@1.0.1: {} async-mutex@0.4.0: dependencies: tslib: 2.6.0 async-validator@4.2.5: {} async@2.6.4: dependencies: lodash: 4.17.21 async@3.2.4: {} asynckit@0.4.0: {} at-least-node@1.0.0: {} atomic-sleep@1.0.0: {} autoprefixer@10.4.14(postcss@8.4.26): dependencies: browserslist: 4.21.9 caniuse-lite: 1.0.30001517 fraction.js: 4.2.0 normalize-range: 0.1.2 picocolors: 1.0.0 postcss: 8.4.26 postcss-value-parser: 4.2.0 available-typed-arrays@1.0.5: {} axe-core@4.7.2: {} axobject-query@3.2.1: dependencies: dequal: 2.0.3 babel-core@7.0.0-bridge.0(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 babel-jest@27.5.1(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 '@types/babel__core': 7.20.1 babel-plugin-istanbul: 6.1.1 babel-preset-jest: 27.5.1(@babel/core@7.22.9) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 transitivePeerDependencies: - supports-color babel-jest@28.1.3(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 '@jest/transform': 28.1.3 '@types/babel__core': 7.20.1 babel-plugin-istanbul: 6.1.1 babel-preset-jest: 28.1.3(@babel/core@7.22.9) chalk: 4.1.2 graceful-fs: 4.2.11 slash: 3.0.0 transitivePeerDependencies: - supports-color babel-loader@8.3.0(@babel/core@7.22.9)(webpack@5.88.2): dependencies: '@babel/core': 7.22.9 find-cache-dir: 3.3.2 loader-utils: 2.0.4 make-dir: 3.1.0 schema-utils: 2.7.1 webpack: 5.88.2 babel-plugin-istanbul@6.1.1: dependencies: '@babel/helper-plugin-utils': 7.22.5 '@istanbuljs/load-nyc-config': 1.1.0 '@istanbuljs/schema': 0.1.3 istanbul-lib-instrument: 5.2.1 test-exclude: 6.0.0 transitivePeerDependencies: - supports-color babel-plugin-jest-hoist@27.5.1: dependencies: '@babel/template': 7.22.5 '@babel/types': 7.22.5 '@types/babel__core': 7.20.1 '@types/babel__traverse': 7.20.1 babel-plugin-jest-hoist@28.1.3: dependencies: '@babel/template': 7.22.5 '@babel/types': 7.22.5 '@types/babel__core': 7.20.1 '@types/babel__traverse': 7.20.1 babel-plugin-macros@3.1.0: dependencies: '@babel/runtime': 7.22.6 cosmiconfig: 7.1.0 resolve: 1.22.2 babel-plugin-named-asset-import@0.3.8(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 babel-plugin-polyfill-corejs2@0.4.4(@babel/core@7.22.9): dependencies: '@babel/compat-data': 7.22.9 '@babel/core': 7.22.9 '@babel/helper-define-polyfill-provider': 0.4.1(@babel/core@7.22.9) '@nicolo-ribaudo/semver-v6': 6.3.3 transitivePeerDependencies: - supports-color babel-plugin-polyfill-corejs3@0.8.2(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 '@babel/helper-define-polyfill-provider': 0.4.1(@babel/core@7.22.9) core-js-compat: 3.31.1 transitivePeerDependencies: - supports-color babel-plugin-polyfill-regenerator@0.5.1(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 '@babel/helper-define-polyfill-provider': 0.4.1(@babel/core@7.22.9) transitivePeerDependencies: - supports-color babel-plugin-react-native-web@0.18.12: {} babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0: {} babel-plugin-transform-flow-enums@0.0.2(@babel/core@7.22.9): dependencies: '@babel/plugin-syntax-flow': 7.22.5(@babel/core@7.22.9) transitivePeerDependencies: - '@babel/core' babel-plugin-transform-react-remove-prop-types@0.4.24: {} babel-preset-current-node-syntax@1.0.1(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.22.9) '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.22.9) '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.22.9) '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.22.9) '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.22.9) '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.22.9) babel-preset-expo@10.0.1(@babel/core@7.22.9): dependencies: '@babel/plugin-proposal-decorators': 7.22.7(@babel/core@7.22.9) '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.22.9) '@babel/plugin-transform-object-rest-spread': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.22.9) '@babel/preset-env': 7.22.9(@babel/core@7.22.9) '@babel/preset-react': 7.23.3(@babel/core@7.22.9) '@react-native/babel-preset': 0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)) babel-plugin-react-native-web: 0.18.12 react-refresh: 0.14.0 transitivePeerDependencies: - '@babel/core' - supports-color babel-preset-fbjs@3.4.0(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.22.9) '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.22.9) '@babel/plugin-syntax-flow': 7.22.5(@babel/core@7.22.9) '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.22.9) '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-arrow-functions': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-block-scoped-functions': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-block-scoping': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-classes': 7.22.6(@babel/core@7.22.9) '@babel/plugin-transform-computed-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-destructuring': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-flow-strip-types': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-for-of': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-function-name': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-member-expression-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-object-super': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.22.9) '@babel/plugin-transform-property-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-display-name': 7.23.3(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.22.9) '@babel/plugin-transform-shorthand-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-spread': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-template-literals': 7.22.5(@babel/core@7.22.9) babel-plugin-syntax-trailing-function-commas: 7.0.0-beta.0 babel-preset-jest@27.5.1(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 babel-plugin-jest-hoist: 27.5.1 babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.9) babel-preset-jest@28.1.3(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 babel-plugin-jest-hoist: 28.1.3 babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.9) babel-preset-react-app@10.0.1: dependencies: '@babel/core': 7.22.9 '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-decorators': 7.22.7(@babel/core@7.22.9) '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.22.9) '@babel/plugin-proposal-private-methods': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-private-property-in-object': 7.21.11(@babel/core@7.22.9) '@babel/plugin-transform-flow-strip-types': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-display-name': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-runtime': 7.22.9(@babel/core@7.22.9) '@babel/preset-env': 7.22.9(@babel/core@7.22.9) '@babel/preset-react': 7.22.5(@babel/core@7.22.9) '@babel/preset-typescript': 7.22.5(@babel/core@7.22.9) '@babel/runtime': 7.22.6 babel-plugin-macros: 3.1.0 babel-plugin-transform-react-remove-prop-types: 0.4.24 transitivePeerDependencies: - supports-color balanced-match@1.0.2: {} base-x@3.0.9: dependencies: safe-buffer: 5.2.1 base-x@4.0.0: {} base64-js@1.5.1: {} base64url@3.0.1: {} batch@0.6.1: {} bchaddrjs@0.5.2: dependencies: bs58check: 2.1.2 buffer: 6.0.3 cashaddrjs: 0.4.4 stream-browserify: 3.0.0 bech32@2.0.0: {} better-opn@3.0.2: dependencies: open: 8.4.2 better-path-resolve@1.0.0: dependencies: is-windows: 1.0.2 bfj@7.0.2: dependencies: bluebird: 3.7.2 check-types: 11.2.2 hoopy: 0.1.4 tryer: 1.0.1 big-integer@1.6.36: {} big-integer@1.6.51: {} big.js@5.2.2: {} bigint-buffer@1.1.5: dependencies: bindings: 1.5.0 bignumber.js@9.1.1: {} bignumber.js@9.1.2: {} binary-extensions@2.2.0: {} bindings@1.5.0: dependencies: file-uri-to-path: 1.0.0 bip66@1.1.5: dependencies: safe-buffer: 5.2.1 bitcoin-ops@1.4.1: {} bl@4.1.0: dependencies: buffer: 5.7.1 inherits: 2.0.4 readable-stream: 3.6.2 blake-hash@2.0.0: dependencies: node-addon-api: 3.2.1 node-gyp-build: 4.6.0 readable-stream: 3.6.2 blakejs@1.2.1: {} bluebird@3.7.2: {} blueimp-md5@2.19.0: {} bn.js@4.12.0: {} bn.js@5.2.1: {} body-parser@1.20.1: dependencies: bytes: 3.1.2 content-type: 1.0.5 debug: 2.6.9 depd: 2.0.0 destroy: 1.2.0 http-errors: 2.0.0 iconv-lite: 0.4.24 on-finished: 2.4.1 qs: 6.11.0 raw-body: 2.5.1 type-is: 1.6.18 unpipe: 1.0.0 transitivePeerDependencies: - supports-color bonjour-service@1.1.1: dependencies: array-flatten: 2.1.2 dns-equal: 1.0.0 fast-deep-equal: 3.1.3 multicast-dns: 7.2.5 boolbase@1.0.0: {} borsh@0.7.0: dependencies: bn.js: 5.2.1 bs58: 4.0.1 text-encoding-utf-8: 1.0.2 bowser@2.11.0: {} bplist-creator@0.1.0: dependencies: stream-buffers: 2.2.0 bplist-parser@0.3.1: dependencies: big-integer: 1.6.51 bplist-parser@0.3.2: dependencies: big-integer: 1.6.51 brace-expansion@1.1.11: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 brace-expansion@2.0.1: dependencies: balanced-match: 1.0.2 braces@3.0.2: dependencies: fill-range: 7.0.1 breakword@1.0.6: dependencies: wcwidth: 1.0.1 brorand@1.1.0: {} browser-process-hrtime@1.0.0: {} browserify-aes@1.2.0: dependencies: buffer-xor: 1.0.3 cipher-base: 1.0.4 create-hash: 1.2.0 evp_bytestokey: 1.0.3 inherits: 2.0.4 safe-buffer: 5.2.1 browserify-cipher@1.0.1: dependencies: browserify-aes: 1.2.0 browserify-des: 1.0.2 evp_bytestokey: 1.0.3 browserify-des@1.0.2: dependencies: cipher-base: 1.0.4 des.js: 1.1.0 inherits: 2.0.4 safe-buffer: 5.2.1 browserify-rsa@4.1.0: dependencies: bn.js: 5.2.1 randombytes: 2.1.0 browserify-sign@4.2.1: dependencies: bn.js: 5.2.1 browserify-rsa: 4.1.0 create-hash: 1.2.0 create-hmac: 1.1.7 elliptic: 6.5.4 inherits: 2.0.4 parse-asn1: 5.1.6 readable-stream: 3.6.2 safe-buffer: 5.2.1 browserify-zlib@0.2.0: dependencies: pako: 1.0.11 browserslist@4.21.9: dependencies: caniuse-lite: 1.0.30001517 electron-to-chromium: 1.4.467 node-releases: 2.0.13 update-browserslist-db: 1.0.11(browserslist@4.21.9) bs-logger@0.2.6: dependencies: fast-json-stable-stringify: 2.1.0 bs58@4.0.1: dependencies: base-x: 3.0.9 bs58@5.0.0: dependencies: base-x: 4.0.0 bs58check@2.1.2: dependencies: bs58: 4.0.1 create-hash: 1.2.0 safe-buffer: 5.2.1 bs58check@3.0.1: dependencies: '@noble/hashes': 1.3.2 bs58: 5.0.0 bser@2.1.1: dependencies: node-int64: 0.4.0 buffer-alloc-unsafe@1.1.0: {} buffer-alloc@1.2.0: dependencies: buffer-alloc-unsafe: 1.1.0 buffer-fill: 1.0.0 buffer-fill@1.0.0: {} buffer-from@1.1.2: {} buffer-xor@1.0.3: {} buffer@5.7.1: dependencies: base64-js: 1.5.1 ieee754: 1.2.1 buffer@6.0.3: dependencies: base64-js: 1.5.1 ieee754: 1.2.1 bufferutil@4.0.7: dependencies: node-gyp-build: 4.6.0 optional: true builtin-modules@3.3.0: {} builtin-status-codes@3.0.0: {} builtins@1.0.3: {} bytes@3.0.0: {} bytes@3.1.2: {} cacache@15.3.0: dependencies: '@npmcli/fs': 1.1.1 '@npmcli/move-file': 1.1.2 chownr: 2.0.0 fs-minipass: 2.1.0 glob: 7.2.3 infer-owner: 1.0.4 lru-cache: 6.0.0 minipass: 3.3.6 minipass-collect: 1.0.2 minipass-flush: 1.0.5 minipass-pipeline: 1.2.4 mkdirp: 1.0.4 p-map: 4.0.0 promise-inflight: 1.0.1 rimraf: 3.0.2 ssri: 8.0.1 tar: 6.2.0 unique-filename: 1.1.1 transitivePeerDependencies: - bluebird call-bind@1.0.2: dependencies: function-bind: 1.1.1 get-intrinsic: 1.2.1 call-bind@1.0.7: dependencies: es-define-property: 1.0.0 es-errors: 1.3.0 function-bind: 1.1.2 get-intrinsic: 1.2.4 set-function-length: 1.2.1 caller-callsite@2.0.0: dependencies: callsites: 2.0.0 caller-path@2.0.0: dependencies: caller-callsite: 2.0.0 callsites@2.0.0: {} callsites@3.1.0: {} camel-case@4.1.2: dependencies: pascal-case: 3.1.2 tslib: 2.6.0 camelcase-css@2.0.1: {} camelcase-keys@6.2.2: dependencies: camelcase: 5.3.1 map-obj: 4.3.0 quick-lru: 4.0.1 camelcase@5.3.1: {} camelcase@6.3.0: {} caniuse-api@3.0.0: dependencies: browserslist: 4.21.9 caniuse-lite: 1.0.30001517 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 caniuse-lite@1.0.30001517: {} case-sensitive-paths-webpack-plugin@2.4.0: {} cashaddrjs@0.4.4: dependencies: big-integer: 1.6.36 cbor-sync@1.0.4: {} chalk@2.4.2: dependencies: ansi-styles: 3.2.1 escape-string-regexp: 1.0.5 supports-color: 5.5.0 chalk@3.0.0: dependencies: ansi-styles: 4.3.0 supports-color: 7.2.0 chalk@4.1.2: dependencies: ansi-styles: 4.3.0 supports-color: 7.2.0 char-regex@1.0.2: {} char-regex@2.0.1: {} chardet@0.7.0: {} charenc@0.0.2: {} check-types@11.2.2: {} chokidar@3.5.3: dependencies: anymatch: 3.1.3 braces: 3.0.2 glob-parent: 5.1.2 is-binary-path: 2.1.0 is-glob: 4.0.3 normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: fsevents: 2.3.2 chownr@2.0.0: {} chrome-launcher@0.15.2: dependencies: '@types/node': 18.16.19 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.4.2 transitivePeerDependencies: - supports-color chrome-trace-event@1.0.3: {} chromium-edge-launcher@1.0.0: dependencies: '@types/node': 18.16.19 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.4.2 mkdirp: 1.0.4 rimraf: 3.0.2 transitivePeerDependencies: - supports-color ci-info@2.0.0: {} ci-info@3.8.0: {} cipher-base@1.0.4: dependencies: inherits: 2.0.4 safe-buffer: 5.2.1 cjs-module-lexer@1.2.3: {} classnames@2.3.2: {} clean-css@5.3.2: dependencies: source-map: 0.6.1 clean-stack@2.2.0: {} cli-cursor@2.1.0: dependencies: restore-cursor: 2.0.0 cli-cursor@3.1.0: dependencies: restore-cursor: 3.1.0 cli-spinners@2.9.0: {} cliui@5.0.0: dependencies: string-width: 3.1.0 strip-ansi: 5.2.0 wrap-ansi: 5.1.0 cliui@6.0.0: dependencies: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 6.2.0 cliui@7.0.4: dependencies: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 7.0.0 cliui@8.0.1: dependencies: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 7.0.0 clone-deep@4.0.1: dependencies: is-plain-object: 2.0.4 kind-of: 6.0.3 shallow-clone: 3.0.1 clone@1.0.4: {} clone@2.1.2: {} clsx@1.2.1: {} co@4.6.0: {} coa@2.0.2: dependencies: '@types/q': 1.5.5 chalk: 2.4.2 q: 1.5.1 collect-v8-coverage@1.0.2: {} color-convert@1.9.3: dependencies: color-name: 1.1.3 color-convert@2.0.1: dependencies: color-name: 1.1.4 color-name@1.1.3: {} color-name@1.1.4: {} colord@2.9.3: {} colorette@1.4.0: {} colorette@2.0.20: {} combined-stream@1.0.8: dependencies: delayed-stream: 1.0.0 command-exists@1.2.9: {} commander@2.13.0: {} commander@2.20.3: {} commander@4.1.1: {} commander@7.2.0: {} commander@8.3.0: {} commander@9.5.0: {} common-path-prefix@3.0.0: {} common-tags@1.8.2: {} commondir@1.0.1: {} component-type@1.2.2: {} compressible@2.0.18: dependencies: mime-db: 1.52.0 compression@1.7.4: dependencies: accepts: 1.3.8 bytes: 3.0.0 compressible: 2.0.18 debug: 2.6.9 on-headers: 1.0.2 safe-buffer: 5.1.2 vary: 1.1.2 transitivePeerDependencies: - supports-color compute-scroll-into-view@1.0.20: {} concat-map@0.0.1: {} confusing-browser-globals@1.0.11: {} connect-history-api-fallback@2.0.0: {} connect@3.7.0: dependencies: debug: 2.6.9 finalhandler: 1.1.2 parseurl: 1.3.3 utils-merge: 1.0.1 transitivePeerDependencies: - supports-color content-disposition@0.5.4: dependencies: safe-buffer: 5.2.1 content-type@1.0.5: {} convert-source-map@1.9.0: {} cookie-signature@1.0.6: {} cookie@0.5.0: {} copy-anything@2.0.6: dependencies: is-what: 3.14.1 copy-to-clipboard@3.3.3: dependencies: toggle-selection: 1.0.6 core-js-compat@3.31.1: dependencies: browserslist: 4.21.9 core-js-pure@3.31.1: {} core-js@3.31.1: {} core-util-is@1.0.3: {} cosmiconfig@5.2.1: dependencies: import-fresh: 2.0.0 is-directory: 0.3.1 js-yaml: 3.14.1 parse-json: 4.0.0 cosmiconfig@6.0.0: dependencies: '@types/parse-json': 4.0.0 import-fresh: 3.3.0 parse-json: 5.2.0 path-type: 4.0.0 yaml: 1.10.2 cosmiconfig@7.1.0: dependencies: '@types/parse-json': 4.0.0 import-fresh: 3.3.0 parse-json: 5.2.0 path-type: 4.0.0 yaml: 1.10.2 cosmiconfig@8.2.0: dependencies: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 path-type: 4.0.0 crc-32@1.2.2: {} crc@3.8.0: dependencies: buffer: 5.7.1 create-ecdh@4.0.4: dependencies: bn.js: 4.12.0 elliptic: 6.5.4 create-hash@1.2.0: dependencies: cipher-base: 1.0.4 inherits: 2.0.4 md5.js: 1.3.5 ripemd160: 2.0.2 sha.js: 2.4.11 create-hmac@1.1.7: dependencies: cipher-base: 1.0.4 create-hash: 1.2.0 inherits: 2.0.4 ripemd160: 2.0.2 safe-buffer: 5.2.1 sha.js: 2.4.11 cross-fetch@3.1.8: dependencies: node-fetch: 2.7.0 transitivePeerDependencies: - encoding cross-fetch@4.0.0: dependencies: node-fetch: 2.6.12 transitivePeerDependencies: - encoding cross-spawn@5.1.0: dependencies: lru-cache: 4.1.5 shebang-command: 1.2.0 which: 1.3.1 cross-spawn@6.0.5: dependencies: nice-try: 1.0.5 path-key: 2.0.1 semver: 5.7.2 shebang-command: 1.2.0 which: 1.3.1 cross-spawn@7.0.3: dependencies: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 crypt@0.0.2: {} crypto-browserify@3.12.0: dependencies: browserify-cipher: 1.0.1 browserify-sign: 4.2.1 create-ecdh: 4.0.4 create-hash: 1.2.0 create-hmac: 1.1.7 diffie-hellman: 5.0.3 inherits: 2.0.4 pbkdf2: 3.1.2 public-encrypt: 4.0.3 randombytes: 2.1.0 randomfill: 1.0.4 crypto-js@4.1.1: {} crypto-random-string@1.0.0: {} crypto-random-string@2.0.0: {} css-blank-pseudo@3.0.3(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 css-declaration-sorter@6.4.1(postcss@8.4.26): dependencies: postcss: 8.4.26 css-has-pseudo@3.0.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 css-loader@6.8.1(webpack@5.88.2): dependencies: icss-utils: 5.1.0(postcss@8.4.26) postcss: 8.4.26 postcss-modules-extract-imports: 3.0.0(postcss@8.4.26) postcss-modules-local-by-default: 4.0.3(postcss@8.4.26) postcss-modules-scope: 3.0.0(postcss@8.4.26) postcss-modules-values: 4.0.0(postcss@8.4.26) postcss-value-parser: 4.2.0 semver: 7.5.4 webpack: 5.88.2 css-minimizer-webpack-plugin@3.4.1(webpack@5.88.2): dependencies: cssnano: 5.1.15(postcss@8.4.26) jest-worker: 27.5.1 postcss: 8.4.26 schema-utils: 4.2.0 serialize-javascript: 6.0.1 source-map: 0.6.1 webpack: 5.88.2 css-prefers-color-scheme@6.0.3(postcss@8.4.26): dependencies: postcss: 8.4.26 css-select-base-adapter@0.1.1: {} css-select@2.1.0: dependencies: boolbase: 1.0.0 css-what: 3.4.2 domutils: 1.7.0 nth-check: 1.0.2 css-select@4.3.0: dependencies: boolbase: 1.0.0 css-what: 6.1.0 domhandler: 4.3.1 domutils: 2.8.0 nth-check: 2.1.1 css-tree@1.0.0-alpha.37: dependencies: mdn-data: 2.0.4 source-map: 0.6.1 css-tree@1.1.3: dependencies: mdn-data: 2.0.14 source-map: 0.6.1 css-what@3.4.2: {} css-what@6.1.0: {} css.escape@1.5.1: {} cssdb@7.6.0: {} cssesc@3.0.0: {} cssnano-preset-default@5.2.14(postcss@8.4.26): dependencies: css-declaration-sorter: 6.4.1(postcss@8.4.26) cssnano-utils: 3.1.0(postcss@8.4.26) postcss: 8.4.26 postcss-calc: 8.2.4(postcss@8.4.26) postcss-colormin: 5.3.1(postcss@8.4.26) postcss-convert-values: 5.1.3(postcss@8.4.26) postcss-discard-comments: 5.1.2(postcss@8.4.26) postcss-discard-duplicates: 5.1.0(postcss@8.4.26) postcss-discard-empty: 5.1.1(postcss@8.4.26) postcss-discard-overridden: 5.1.0(postcss@8.4.26) postcss-merge-longhand: 5.1.7(postcss@8.4.26) postcss-merge-rules: 5.1.4(postcss@8.4.26) postcss-minify-font-values: 5.1.0(postcss@8.4.26) postcss-minify-gradients: 5.1.1(postcss@8.4.26) postcss-minify-params: 5.1.4(postcss@8.4.26) postcss-minify-selectors: 5.2.1(postcss@8.4.26) postcss-normalize-charset: 5.1.0(postcss@8.4.26) postcss-normalize-display-values: 5.1.0(postcss@8.4.26) postcss-normalize-positions: 5.1.1(postcss@8.4.26) postcss-normalize-repeat-style: 5.1.1(postcss@8.4.26) postcss-normalize-string: 5.1.0(postcss@8.4.26) postcss-normalize-timing-functions: 5.1.0(postcss@8.4.26) postcss-normalize-unicode: 5.1.1(postcss@8.4.26) postcss-normalize-url: 5.1.0(postcss@8.4.26) postcss-normalize-whitespace: 5.1.1(postcss@8.4.26) postcss-ordered-values: 5.1.3(postcss@8.4.26) postcss-reduce-initial: 5.1.2(postcss@8.4.26) postcss-reduce-transforms: 5.1.0(postcss@8.4.26) postcss-svgo: 5.1.0(postcss@8.4.26) postcss-unique-selectors: 5.1.1(postcss@8.4.26) cssnano-utils@3.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 cssnano@5.1.15(postcss@8.4.26): dependencies: cssnano-preset-default: 5.2.14(postcss@8.4.26) lilconfig: 2.1.0 postcss: 8.4.26 yaml: 1.10.2 csso@4.2.0: dependencies: css-tree: 1.1.3 cssom@0.3.8: {} cssom@0.4.4: {} cssom@0.5.0: {} cssstyle@2.3.0: dependencies: cssom: 0.3.8 csstype@3.1.2: {} csv-generate@3.4.3: {} csv-parse@4.16.3: {} csv-stringify@5.6.5: {} csv@5.5.3: dependencies: csv-generate: 3.4.3 csv-parse: 4.16.3 csv-stringify: 5.6.5 stream-transform: 2.1.3 dag-map@1.0.2: {} damerau-levenshtein@1.0.8: {} data-urls@2.0.0: dependencies: abab: 2.0.6 whatwg-mimetype: 2.3.0 whatwg-url: 8.7.0 data-urls@3.0.2: dependencies: abab: 2.0.6 whatwg-mimetype: 3.0.0 whatwg-url: 11.0.0 date-fns@2.30.0: dependencies: '@babel/runtime': 7.22.6 dateformat@4.6.3: {} dayjs@1.11.9: {} debug@2.6.9: dependencies: ms: 2.0.0 debug@3.2.7: dependencies: ms: 2.1.3 debug@4.3.4: dependencies: ms: 2.1.2 decamelize-keys@1.1.1: dependencies: decamelize: 1.2.0 map-obj: 1.0.1 decamelize@1.2.0: {} decimal.js@10.4.3: {} decode-uri-component@0.2.2: {} dedent@0.7.0: {} deep-equal@2.2.2: dependencies: array-buffer-byte-length: 1.0.0 call-bind: 1.0.2 es-get-iterator: 1.1.3 get-intrinsic: 1.2.1 is-arguments: 1.1.1 is-array-buffer: 3.0.2 is-date-object: 1.0.5 is-regex: 1.1.4 is-shared-array-buffer: 1.0.2 isarray: 2.0.5 object-is: 1.1.5 object-keys: 1.1.1 object.assign: 4.1.4 regexp.prototype.flags: 1.5.0 side-channel: 1.0.4 which-boxed-primitive: 1.0.2 which-collection: 1.0.1 which-typed-array: 1.1.11 deep-extend@0.6.0: {} deep-is@0.1.4: {} deepmerge@4.3.1: {} default-gateway@4.2.0: dependencies: execa: 1.0.0 ip-regex: 2.1.0 default-gateway@6.0.3: dependencies: execa: 5.1.1 defaults@1.0.4: dependencies: clone: 1.0.4 define-data-property@1.1.4: dependencies: es-define-property: 1.0.0 es-errors: 1.3.0 gopd: 1.0.1 define-lazy-prop@2.0.0: {} define-properties@1.2.0: dependencies: has-property-descriptors: 1.0.0 object-keys: 1.1.1 del@6.1.1: dependencies: globby: 11.1.0 graceful-fs: 4.2.11 is-glob: 4.0.3 is-path-cwd: 2.2.0 is-path-inside: 3.0.3 p-map: 4.0.0 rimraf: 3.0.2 slash: 3.0.0 delay@5.0.0: {} delayed-stream@1.0.0: {} denodeify@1.2.1: {} depd@1.1.2: {} depd@2.0.0: {} deprecated-react-native-prop-types@4.1.0: dependencies: '@react-native/normalize-colors': 0.72.0 invariant: 2.2.4 prop-types: 15.8.1 dequal@2.0.3: {} des.js@1.1.0: dependencies: inherits: 2.0.4 minimalistic-assert: 1.0.1 destroy@1.2.0: {} detect-browser@5.2.0: {} detect-browser@5.3.0: {} detect-indent@6.1.0: {} detect-libc@1.0.3: {} detect-newline@3.1.0: {} detect-node@2.1.0: {} detect-port-alt@1.1.6: dependencies: address: 1.2.2 debug: 2.6.9 transitivePeerDependencies: - supports-color didyoumean@1.2.2: {} diff-sequences@27.5.1: {} diff-sequences@28.1.1: {} diffie-hellman@5.0.3: dependencies: bn.js: 4.12.0 miller-rabin: 4.0.1 randombytes: 2.1.0 dijkstrajs@1.0.3: {} dir-glob@3.0.1: dependencies: path-type: 4.0.0 dlv@1.1.3: {} dns-equal@1.0.0: {} dns-packet@5.6.0: dependencies: '@leichtgewicht/ip-codec': 2.0.4 doctrine@2.1.0: dependencies: esutils: 2.0.3 doctrine@3.0.0: dependencies: esutils: 2.0.3 dom-accessibility-api@0.5.16: {} dom-align@1.12.4: {} dom-converter@0.2.0: dependencies: utila: 0.4.0 dom-helpers@5.2.1: dependencies: '@babel/runtime': 7.22.6 csstype: 3.1.2 dom-serializer@0.2.2: dependencies: domelementtype: 2.3.0 entities: 2.2.0 dom-serializer@1.4.1: dependencies: domelementtype: 2.3.0 domhandler: 4.3.1 entities: 2.2.0 domelementtype@1.3.1: {} domelementtype@2.3.0: {} domexception@2.0.1: dependencies: webidl-conversions: 5.0.0 domexception@4.0.0: dependencies: webidl-conversions: 7.0.0 domhandler@4.3.1: dependencies: domelementtype: 2.3.0 domutils@1.7.0: dependencies: dom-serializer: 0.2.2 domelementtype: 1.3.1 domutils@2.8.0: dependencies: dom-serializer: 1.4.1 domelementtype: 2.3.0 domhandler: 4.3.1 dot-case@3.0.4: dependencies: no-case: 3.0.4 tslib: 2.6.0 dotenv-expand@10.0.0: {} dotenv-expand@5.1.0: {} dotenv@10.0.0: {} dotenv@16.0.3: {} dotenv@7.0.0: {} draggabilly@3.0.0: dependencies: get-size: 3.0.0 unidragger: 3.0.1 duplexer@0.1.2: {} duplexify@4.1.2: dependencies: end-of-stream: 1.4.4 inherits: 2.0.4 readable-stream: 3.6.2 stream-shift: 1.0.1 ee-first@1.1.1: {} ejs@3.1.9: dependencies: jake: 10.8.7 electron-to-chromium@1.4.467: {} elliptic@6.5.4: dependencies: bn.js: 4.12.0 brorand: 1.1.0 hash.js: 1.1.7 hmac-drbg: 1.0.1 inherits: 2.0.4 minimalistic-assert: 1.0.1 minimalistic-crypto-utils: 1.0.1 email-addresses@3.1.0: {} emittery@0.10.2: {} emittery@0.8.1: {} emoji-regex@7.0.3: {} emoji-regex@8.0.0: {} emoji-regex@9.2.2: {} emojis-list@3.0.0: {} encodeurl@1.0.2: {} end-of-stream@1.4.4: dependencies: once: 1.4.0 engine.io-client@6.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@socket.io/component-emitter': 3.1.0 debug: 4.3.4 engine.io-parser: 5.1.0 ws: 8.11.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) xmlhttprequest-ssl: 2.0.0 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate engine.io-parser@5.1.0: {} enhanced-resolve@5.15.0: dependencies: graceful-fs: 4.2.11 tapable: 2.2.1 enquirer@2.3.6: dependencies: ansi-colors: 4.1.3 entities@2.2.0: {} entities@3.0.1: {} env-editor@0.4.2: {} envinfo@7.10.0: {} eol@0.9.1: {} errno@0.1.8: dependencies: prr: 1.0.1 optional: true error-ex@1.3.2: dependencies: is-arrayish: 0.2.1 error-stack-parser@2.1.4: dependencies: stackframe: 1.3.4 errorhandler@1.5.1: dependencies: accepts: 1.3.8 escape-html: 1.0.3 es-abstract@1.22.1: dependencies: array-buffer-byte-length: 1.0.0 arraybuffer.prototype.slice: 1.0.1 available-typed-arrays: 1.0.5 call-bind: 1.0.2 es-set-tostringtag: 2.0.1 es-to-primitive: 1.2.1 function.prototype.name: 1.1.5 get-intrinsic: 1.2.1 get-symbol-description: 1.0.0 globalthis: 1.0.3 gopd: 1.0.1 has: 1.0.3 has-property-descriptors: 1.0.0 has-proto: 1.0.1 has-symbols: 1.0.3 internal-slot: 1.0.5 is-array-buffer: 3.0.2 is-callable: 1.2.7 is-negative-zero: 2.0.2 is-regex: 1.1.4 is-shared-array-buffer: 1.0.2 is-string: 1.0.7 is-typed-array: 1.1.12 is-weakref: 1.0.2 object-inspect: 1.12.3 object-keys: 1.1.1 object.assign: 4.1.4 regexp.prototype.flags: 1.5.0 safe-array-concat: 1.0.0 safe-regex-test: 1.0.0 string.prototype.trim: 1.2.7 string.prototype.trimend: 1.0.6 string.prototype.trimstart: 1.0.6 typed-array-buffer: 1.0.0 typed-array-byte-length: 1.0.0 typed-array-byte-offset: 1.0.0 typed-array-length: 1.0.4 unbox-primitive: 1.0.2 which-typed-array: 1.1.11 es-array-method-boxes-properly@1.0.0: {} es-define-property@1.0.0: dependencies: get-intrinsic: 1.2.4 es-errors@1.3.0: {} es-get-iterator@1.1.3: dependencies: call-bind: 1.0.2 get-intrinsic: 1.2.1 has-symbols: 1.0.3 is-arguments: 1.1.1 is-map: 2.0.2 is-set: 2.0.2 is-string: 1.0.7 isarray: 2.0.5 stop-iteration-iterator: 1.0.0 es-module-lexer@1.3.0: {} es-set-tostringtag@2.0.1: dependencies: get-intrinsic: 1.2.1 has: 1.0.3 has-tostringtag: 1.0.0 es-shim-unscopables@1.0.0: dependencies: has: 1.0.3 es-to-primitive@1.2.1: dependencies: is-callable: 1.2.7 is-date-object: 1.0.5 is-symbol: 1.0.4 es6-object-assign@1.1.0: {} es6-promise@4.2.8: {} es6-promisify@5.0.0: dependencies: es6-promise: 4.2.8 escalade@3.1.1: {} escape-html@1.0.3: {} escape-string-regexp@1.0.5: {} escape-string-regexp@2.0.0: {} escape-string-regexp@4.0.0: {} escodegen@2.1.0: dependencies: esprima: 4.0.1 estraverse: 5.3.0 esutils: 2.0.3 optionalDependencies: source-map: 0.6.1 eslint-config-next@12.3.4(eslint@8.22.0)(typescript@4.7.4): dependencies: '@next/eslint-plugin-next': 12.3.4 '@rushstack/eslint-patch': 1.3.2 '@typescript-eslint/parser': 5.62.0(eslint@8.22.0)(typescript@4.7.4) eslint: 8.22.0 eslint-import-resolver-node: 0.3.7 eslint-import-resolver-typescript: 2.7.1(eslint-plugin-import@2.27.5)(eslint@8.22.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint-import-resolver-typescript@2.7.1)(eslint@8.22.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.22.0) eslint-plugin-react: 7.33.0(eslint@8.22.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.22.0) optionalDependencies: typescript: 4.7.4 transitivePeerDependencies: - eslint-import-resolver-webpack - supports-color eslint-config-prettier@8.8.0(eslint@8.22.0): dependencies: eslint: 8.22.0 eslint-config-react-app@7.0.1(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(eslint@8.22.0)(jest@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10))(typescript@4.7.4): dependencies: '@babel/core': 7.22.9 '@babel/eslint-parser': 7.22.9(@babel/core@7.22.9)(eslint@8.22.0) '@rushstack/eslint-patch': 1.3.2 '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint@8.22.0)(typescript@4.7.4) '@typescript-eslint/parser': 5.62.0(eslint@8.22.0)(typescript@4.7.4) babel-preset-react-app: 10.0.1 confusing-browser-globals: 1.0.11 eslint: 8.22.0 eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(eslint@8.22.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint-import-resolver-typescript@2.7.1)(eslint@8.22.0) eslint-plugin-jest: 25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint@8.22.0)(typescript@4.7.4))(eslint@8.22.0)(jest@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10))(typescript@4.7.4) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.22.0) eslint-plugin-react: 7.33.0(eslint@8.22.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.22.0) eslint-plugin-testing-library: 5.11.0(eslint@8.22.0)(typescript@4.7.4) optionalDependencies: typescript: 4.7.4 transitivePeerDependencies: - '@babel/plugin-syntax-flow' - '@babel/plugin-transform-react-jsx' - eslint-import-resolver-typescript - eslint-import-resolver-webpack - jest - supports-color eslint-import-resolver-node@0.3.7: dependencies: debug: 3.2.7 is-core-module: 2.12.1 resolve: 1.22.2 transitivePeerDependencies: - supports-color eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.27.5)(eslint@8.22.0): dependencies: debug: 4.3.4 eslint: 8.22.0 eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint-import-resolver-typescript@2.7.1)(eslint@8.22.0) glob: 7.2.3 is-glob: 4.0.3 resolve: 1.22.2 tsconfig-paths: 3.14.2 transitivePeerDependencies: - supports-color eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.27.5)(eslint@8.22.0))(eslint@8.22.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 5.62.0(eslint@8.22.0)(typescript@4.7.4) eslint: 8.22.0 eslint-import-resolver-node: 0.3.7 eslint-import-resolver-typescript: 2.7.1(eslint-plugin-import@2.27.5)(eslint@8.22.0) transitivePeerDependencies: - supports-color eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(eslint@8.22.0): dependencies: '@babel/plugin-syntax-flow': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.22.9) eslint: 8.22.0 lodash: 4.17.21 string-natural-compare: 3.0.1 eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint-import-resolver-typescript@2.7.1)(eslint@8.22.0): dependencies: array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 debug: 3.2.7 doctrine: 2.1.0 eslint: 8.22.0 eslint-import-resolver-node: 0.3.7 eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@2.7.1(eslint-plugin-import@2.27.5)(eslint@8.22.0))(eslint@8.22.0) has: 1.0.3 is-core-module: 2.12.1 is-glob: 4.0.3 minimatch: 3.1.2 object.values: 1.1.6 resolve: 1.22.2 semver: 6.3.1 tsconfig-paths: 3.14.2 optionalDependencies: '@typescript-eslint/parser': 5.62.0(eslint@8.22.0)(typescript@4.7.4) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color eslint-plugin-jest@25.7.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint@8.22.0)(typescript@4.7.4))(eslint@8.22.0)(jest@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10))(typescript@4.7.4): dependencies: '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.22.0)(typescript@4.7.4) eslint: 8.22.0 optionalDependencies: '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.22.0)(typescript@4.7.4))(eslint@8.22.0)(typescript@4.7.4) jest: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - supports-color - typescript eslint-plugin-jsx-a11y@6.7.1(eslint@8.22.0): dependencies: '@babel/runtime': 7.22.6 aria-query: 5.3.0 array-includes: 3.1.6 array.prototype.flatmap: 1.3.1 ast-types-flow: 0.0.7 axe-core: 4.7.2 axobject-query: 3.2.1 damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 eslint: 8.22.0 has: 1.0.3 jsx-ast-utils: 3.3.4 language-tags: 1.0.5 minimatch: 3.1.2 object.entries: 1.1.6 object.fromentries: 2.0.6 semver: 6.3.1 eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.8.0(eslint@8.22.0))(eslint@8.22.0)(prettier@2.8.8): dependencies: eslint: 8.22.0 prettier: 2.8.8 prettier-linter-helpers: 1.0.0 optionalDependencies: eslint-config-prettier: 8.8.0(eslint@8.22.0) eslint-plugin-react-hooks@4.6.0(eslint@8.22.0): dependencies: eslint: 8.22.0 eslint-plugin-react@7.33.0(eslint@8.22.0): dependencies: array-includes: 3.1.6 array.prototype.flatmap: 1.3.1 array.prototype.tosorted: 1.1.1 doctrine: 2.1.0 eslint: 8.22.0 estraverse: 5.3.0 jsx-ast-utils: 3.3.4 minimatch: 3.1.2 object.entries: 1.1.6 object.fromentries: 2.0.6 object.hasown: 1.1.2 object.values: 1.1.6 prop-types: 15.8.1 resolve: 2.0.0-next.4 semver: 6.3.1 string.prototype.matchall: 4.0.8 eslint-plugin-require-extensions@0.1.3(eslint@8.22.0): dependencies: eslint: 8.22.0 eslint-plugin-testing-library@5.11.0(eslint@8.22.0)(typescript@4.7.4): dependencies: '@typescript-eslint/utils': 5.62.0(eslint@8.22.0)(typescript@4.7.4) eslint: 8.22.0 transitivePeerDependencies: - supports-color - typescript eslint-scope@5.1.1: dependencies: esrecurse: 4.3.0 estraverse: 4.3.0 eslint-scope@7.2.1: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 eslint-utils@3.0.0(eslint@8.22.0): dependencies: eslint: 8.22.0 eslint-visitor-keys: 2.1.0 eslint-visitor-keys@2.1.0: {} eslint-visitor-keys@3.4.1: {} eslint-webpack-plugin@3.2.0(eslint@8.22.0)(webpack@5.88.2): dependencies: '@types/eslint': 8.44.0 eslint: 8.22.0 jest-worker: 28.1.3 micromatch: 4.0.5 normalize-path: 3.0.0 schema-utils: 4.2.0 webpack: 5.88.2 eslint@8.22.0: dependencies: '@eslint/eslintrc': 1.4.1 '@humanwhocodes/config-array': 0.10.7 '@humanwhocodes/gitignore-to-minimatch': 1.0.2 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 debug: 4.3.4 doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.1 eslint-utils: 3.0.0(eslint@8.22.0) eslint-visitor-keys: 3.4.1 espree: 9.6.1 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 file-entry-cache: 6.0.1 find-up: 5.0.0 functional-red-black-tree: 1.0.1 glob-parent: 6.0.2 globals: 13.20.0 globby: 11.1.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash.merge: 4.6.2 minimatch: 3.1.2 natural-compare: 1.4.0 optionator: 0.9.3 regexpp: 3.2.0 strip-ansi: 6.0.1 strip-json-comments: 3.1.1 text-table: 0.2.0 v8-compile-cache: 2.3.0 transitivePeerDependencies: - supports-color espree@9.6.1: dependencies: acorn: 8.10.0 acorn-jsx: 5.3.2(acorn@8.10.0) eslint-visitor-keys: 3.4.1 esprima@4.0.1: {} esquery@1.5.0: dependencies: estraverse: 5.3.0 esrecurse@4.3.0: dependencies: estraverse: 5.3.0 estraverse@4.3.0: {} estraverse@5.3.0: {} estree-walker@1.0.1: {} esutils@2.0.3: {} etag@1.8.1: {} eth-rpc-errors@4.0.3: dependencies: fast-safe-stringify: 2.1.1 ethereum-cryptography@2.1.2: dependencies: '@noble/curves': 1.1.0 '@noble/hashes': 1.3.1 '@scure/bip32': 1.3.1 '@scure/bip39': 1.2.1 ethereum-cryptography@2.1.3: dependencies: '@noble/curves': 1.3.0 '@noble/hashes': 1.3.3 '@scure/bip32': 1.3.3 '@scure/bip39': 1.2.2 ev-emitter@2.1.2: {} event-target-shim@5.0.1: {} eventemitter3@4.0.7: {} eventemitter3@5.0.1: {} events@3.3.0: {} evp_bytestokey@1.0.3: dependencies: md5.js: 1.3.5 safe-buffer: 5.2.1 exec-async@2.2.0: {} execa@1.0.0: dependencies: cross-spawn: 6.0.5 get-stream: 4.1.0 is-stream: 1.1.0 npm-run-path: 2.0.2 p-finally: 1.0.0 signal-exit: 3.0.7 strip-eof: 1.0.0 execa@5.1.1: dependencies: cross-spawn: 7.0.3 get-stream: 6.0.1 human-signals: 2.1.0 is-stream: 2.0.1 merge-stream: 2.0.0 npm-run-path: 4.0.1 onetime: 5.1.2 signal-exit: 3.0.7 strip-final-newline: 2.0.0 exenv@1.2.2: {} exit@0.1.2: {} expect@27.5.1: dependencies: '@jest/types': 27.5.1 jest-get-type: 27.5.1 jest-matcher-utils: 27.5.1 jest-message-util: 27.5.1 expect@28.1.3: dependencies: '@jest/expect-utils': 28.1.3 jest-get-type: 28.0.2 jest-matcher-utils: 28.1.3 jest-message-util: 28.1.3 jest-util: 28.1.3 expo-asset@9.0.2(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)): dependencies: '@react-native/assets-registry': 0.73.1 blueimp-md5: 2.19.0 expo-constants: 15.4.5(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)) expo-file-system: 16.0.8(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)) invariant: 2.2.4 md5-file: 3.2.3 transitivePeerDependencies: - expo - supports-color expo-constants@15.4.5(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)): dependencies: '@expo/config': 8.5.4 expo: 50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - supports-color expo-file-system@16.0.8(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)): dependencies: expo: 50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10) expo-font@11.10.3(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)): dependencies: expo: 50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10) fontfaceobserver: 2.3.0 expo-keep-awake@12.8.2(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)): dependencies: expo: 50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10) expo-modules-autolinking@1.10.3: dependencies: '@expo/config': 8.5.4 chalk: 4.1.2 commander: 7.2.0 fast-glob: 3.3.0 find-up: 5.0.0 fs-extra: 9.1.0 transitivePeerDependencies: - supports-color expo-modules-core@1.11.10: dependencies: invariant: 2.2.4 expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@babel/runtime': 7.23.5 '@expo/cli': 0.17.7(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(expo-modules-autolinking@1.10.3)(utf-8-validate@5.0.10) '@expo/config': 8.5.4 '@expo/config-plugins': 7.8.4 '@expo/metro-config': 0.17.6(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))) '@expo/vector-icons': 14.0.0 babel-preset-expo: 10.0.1(@babel/core@7.22.9) expo-asset: 9.0.2(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)) expo-file-system: 16.0.8(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)) expo-font: 11.10.3(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)) expo-keep-awake: 12.8.2(expo@50.0.11(@babel/core@7.22.9)(@react-native/babel-preset@0.73.21(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9)))(bufferutil@4.0.7)(utf-8-validate@5.0.10)) expo-modules-autolinking: 1.10.3 expo-modules-core: 1.11.10 fbemitter: 3.0.0 whatwg-url-without-unicode: 8.0.0-3 transitivePeerDependencies: - '@babel/core' - '@react-native/babel-preset' - bluebird - bufferutil - encoding - supports-color - utf-8-validate express@4.18.2: dependencies: accepts: 1.3.8 array-flatten: 1.1.1 body-parser: 1.20.1 content-disposition: 0.5.4 content-type: 1.0.5 cookie: 0.5.0 cookie-signature: 1.0.6 debug: 2.6.9 depd: 2.0.0 encodeurl: 1.0.2 escape-html: 1.0.3 etag: 1.8.1 finalhandler: 1.2.0 fresh: 0.5.2 http-errors: 2.0.0 merge-descriptors: 1.0.1 methods: 1.1.2 on-finished: 2.4.1 parseurl: 1.3.3 path-to-regexp: 0.1.7 proxy-addr: 2.0.7 qs: 6.11.0 range-parser: 1.2.1 safe-buffer: 5.2.1 send: 0.18.0 serve-static: 1.15.0 setprototypeof: 1.2.0 statuses: 2.0.1 type-is: 1.6.18 utils-merge: 1.0.1 vary: 1.1.2 transitivePeerDependencies: - supports-color extendable-error@0.1.7: {} external-editor@3.1.0: dependencies: chardet: 0.7.0 iconv-lite: 0.4.24 tmp: 0.0.33 eyes@0.1.8: {} fast-copy@3.0.1: {} fast-deep-equal@3.1.3: {} fast-diff@1.3.0: {} fast-glob@3.3.0: dependencies: '@nodelib/fs.stat': 2.0.5 '@nodelib/fs.walk': 1.2.8 glob-parent: 5.1.2 merge2: 1.4.1 micromatch: 4.0.5 fast-json-stable-stringify@2.1.0: {} fast-levenshtein@2.0.6: {} fast-redact@3.2.0: {} fast-safe-stringify@2.1.1: {} fast-stable-stringify@1.0.0: {} fast-xml-parser@4.2.6: dependencies: strnum: 1.0.5 fastq@1.15.0: dependencies: reusify: 1.0.4 faye-websocket@0.11.4: dependencies: websocket-driver: 0.7.4 fb-watchman@2.0.2: dependencies: bser: 2.1.1 fbemitter@3.0.0: dependencies: fbjs: 3.0.5 transitivePeerDependencies: - encoding fbjs-css-vars@1.0.2: {} fbjs@3.0.5: dependencies: cross-fetch: 3.1.8 fbjs-css-vars: 1.0.2 loose-envify: 1.4.0 object-assign: 4.1.1 promise: 7.3.1 setimmediate: 1.0.5 ua-parser-js: 1.0.37 transitivePeerDependencies: - encoding fetch-retry@4.1.1: {} file-entry-cache@6.0.1: dependencies: flat-cache: 3.0.4 file-loader@6.2.0(webpack@5.88.2): dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 webpack: 5.88.2 file-uri-to-path@1.0.0: {} filelist@1.0.4: dependencies: minimatch: 5.1.6 filename-reserved-regex@2.0.0: {} filenamify@4.3.0: dependencies: filename-reserved-regex: 2.0.0 strip-outer: 1.0.1 trim-repeated: 1.0.0 filesize@8.0.7: {} fill-range@7.0.1: dependencies: to-regex-range: 5.0.1 filter-obj@1.1.0: {} finalhandler@1.1.2: dependencies: debug: 2.6.9 encodeurl: 1.0.2 escape-html: 1.0.3 on-finished: 2.3.0 parseurl: 1.3.3 statuses: 1.5.0 unpipe: 1.0.0 transitivePeerDependencies: - supports-color finalhandler@1.2.0: dependencies: debug: 2.6.9 encodeurl: 1.0.2 escape-html: 1.0.3 on-finished: 2.4.1 parseurl: 1.3.3 statuses: 2.0.1 unpipe: 1.0.0 transitivePeerDependencies: - supports-color find-cache-dir@2.1.0: dependencies: commondir: 1.0.1 make-dir: 2.1.0 pkg-dir: 3.0.0 find-cache-dir@3.3.2: dependencies: commondir: 1.0.1 make-dir: 3.1.0 pkg-dir: 4.2.0 find-root@1.1.0: {} find-up@3.0.0: dependencies: locate-path: 3.0.0 find-up@4.1.0: dependencies: locate-path: 5.0.0 path-exists: 4.0.0 find-up@5.0.0: dependencies: locate-path: 6.0.0 path-exists: 4.0.0 find-yarn-workspace-root2@1.2.16: dependencies: micromatch: 4.0.5 pkg-dir: 4.2.0 find-yarn-workspace-root@2.0.0: dependencies: micromatch: 4.0.5 flat-cache@3.0.4: dependencies: flatted: 3.2.7 rimraf: 3.0.2 flatted@3.2.7: {} flow-enums-runtime@0.0.5: {} flow-parser@0.206.0: {} follow-redirects@1.15.2: {} fontfaceobserver@2.3.0: {} for-each@0.3.3: dependencies: is-callable: 1.2.7 fork-ts-checker-webpack-plugin@6.5.3(eslint@8.22.0)(typescript@4.7.4)(webpack@5.88.2): dependencies: '@babel/code-frame': 7.22.5 '@types/json-schema': 7.0.12 chalk: 4.1.2 chokidar: 3.5.3 cosmiconfig: 6.0.0 deepmerge: 4.3.1 fs-extra: 9.1.0 glob: 7.2.3 memfs: 3.5.3 minimatch: 3.1.2 schema-utils: 2.7.0 semver: 7.5.4 tapable: 1.1.3 typescript: 4.7.4 webpack: 5.88.2 optionalDependencies: eslint: 8.22.0 form-data@3.0.1: dependencies: asynckit: 0.4.0 combined-stream: 1.0.8 mime-types: 2.1.35 form-data@4.0.0: dependencies: asynckit: 0.4.0 combined-stream: 1.0.8 mime-types: 2.1.35 forwarded@0.2.0: {} fraction.js@4.2.0: {} freeport-async@2.0.0: {} fresh@0.5.2: {} fs-extra@10.1.0: dependencies: graceful-fs: 4.2.11 jsonfile: 6.1.0 universalify: 2.0.0 fs-extra@7.0.1: dependencies: graceful-fs: 4.2.11 jsonfile: 4.0.0 universalify: 0.1.2 fs-extra@8.1.0: dependencies: graceful-fs: 4.2.11 jsonfile: 4.0.0 universalify: 0.1.2 fs-extra@9.0.0: dependencies: at-least-node: 1.0.0 graceful-fs: 4.2.11 jsonfile: 6.1.0 universalify: 1.0.0 fs-extra@9.1.0: dependencies: at-least-node: 1.0.0 graceful-fs: 4.2.11 jsonfile: 6.1.0 universalify: 2.0.0 fs-minipass@2.1.0: dependencies: minipass: 3.3.6 fs-monkey@1.0.4: {} fs.realpath@1.0.0: {} fsevents@2.3.2: optional: true function-bind@1.1.1: {} function-bind@1.1.2: {} function.prototype.name@1.1.5: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 functions-have-names: 1.2.3 functional-red-black-tree@1.0.1: {} functions-have-names@1.2.3: {} gensync@1.0.0-beta.2: {} get-caller-file@2.0.5: {} get-intrinsic@1.2.1: dependencies: function-bind: 1.1.1 has: 1.0.3 has-proto: 1.0.1 has-symbols: 1.0.3 get-intrinsic@1.2.4: dependencies: es-errors: 1.3.0 function-bind: 1.1.2 has-proto: 1.0.1 has-symbols: 1.0.3 hasown: 2.0.1 get-own-enumerable-property-symbols@3.0.2: {} get-package-type@0.1.0: {} get-port@3.2.0: {} get-port@4.2.0: {} get-size@3.0.0: {} get-stream@4.1.0: dependencies: pump: 3.0.0 get-stream@6.0.1: {} get-symbol-description@1.0.0: dependencies: call-bind: 1.0.2 get-intrinsic: 1.2.1 getenv@1.0.0: {} gh-pages@4.0.0: dependencies: async: 2.6.4 commander: 2.20.3 email-addresses: 3.1.0 filenamify: 4.3.0 find-cache-dir: 3.3.2 fs-extra: 8.1.0 globby: 6.1.0 glob-parent@5.1.2: dependencies: is-glob: 4.0.3 glob-parent@6.0.2: dependencies: is-glob: 4.0.3 glob-to-regexp@0.4.1: {} glob@6.0.4: dependencies: inflight: 1.0.6 inherits: 2.0.4 minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 optional: true glob@7.1.6: dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 glob@7.1.7: dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 glob@7.2.3: dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 glob@8.1.0: dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 inherits: 2.0.4 minimatch: 5.1.6 once: 1.4.0 global-modules@2.0.0: dependencies: global-prefix: 3.0.0 global-prefix@3.0.0: dependencies: ini: 1.3.8 kind-of: 6.0.3 which: 1.3.1 globals@11.12.0: {} globals@13.20.0: dependencies: type-fest: 0.20.2 globalthis@1.0.3: dependencies: define-properties: 1.2.0 globby@11.1.0: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.3.0 ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 globby@6.1.0: dependencies: array-union: 1.0.2 glob: 7.2.3 object-assign: 4.1.1 pify: 2.3.0 pinkie-promise: 2.0.1 goober@2.1.13(csstype@3.1.2): dependencies: csstype: 3.1.2 gopd@1.0.1: dependencies: get-intrinsic: 1.2.1 graceful-fs@4.2.11: {} grapheme-splitter@1.0.4: {} graphemer@1.4.0: {} graphql-tag@2.12.6(graphql@15.8.0): dependencies: graphql: 15.8.0 tslib: 2.6.2 graphql@15.8.0: {} gzip-size@6.0.0: dependencies: duplexer: 0.1.2 handle-thing@2.0.1: {} hard-rejection@2.1.0: {} harmony-reflect@1.6.2: {} has-bigints@1.0.2: {} has-flag@3.0.0: {} has-flag@4.0.0: {} has-property-descriptors@1.0.0: dependencies: get-intrinsic: 1.2.1 has-property-descriptors@1.0.2: dependencies: es-define-property: 1.0.0 has-proto@1.0.1: {} has-symbols@1.0.3: {} has-tostringtag@1.0.0: dependencies: has-symbols: 1.0.3 has@1.0.3: dependencies: function-bind: 1.1.1 hash-base@3.1.0: dependencies: inherits: 2.0.4 readable-stream: 3.6.2 safe-buffer: 5.2.1 hash.js@1.1.7: dependencies: inherits: 2.0.4 minimalistic-assert: 1.0.1 hasown@2.0.1: dependencies: function-bind: 1.1.2 he@1.2.0: {} help-me@4.2.0: dependencies: glob: 8.1.0 readable-stream: 3.6.2 hermes-estree@0.12.0: {} hermes-parser@0.12.0: dependencies: hermes-estree: 0.12.0 hermes-profile-transformer@0.0.6: dependencies: source-map: 0.7.4 hmac-drbg@1.0.1: dependencies: hash.js: 1.1.7 minimalistic-assert: 1.0.1 minimalistic-crypto-utils: 1.0.1 hoist-non-react-statics@3.3.2: dependencies: react-is: 16.13.1 hoopy@0.1.4: {} hosted-git-info@2.8.9: {} hosted-git-info@3.0.8: dependencies: lru-cache: 6.0.0 hpack.js@2.1.6: dependencies: inherits: 2.0.4 obuf: 1.1.2 readable-stream: 2.3.8 wbuf: 1.7.3 html-encoding-sniffer@2.0.1: dependencies: whatwg-encoding: 1.0.5 html-encoding-sniffer@3.0.0: dependencies: whatwg-encoding: 2.0.0 html-entities@2.4.0: {} html-escaper@2.0.2: {} html-minifier-terser@6.1.0: dependencies: camel-case: 4.1.2 clean-css: 5.3.2 commander: 8.3.0 he: 1.2.0 param-case: 3.0.4 relateurl: 0.2.7 terser: 5.19.1 html-webpack-plugin@5.5.3(webpack@5.88.2): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 lodash: 4.17.21 pretty-error: 4.0.0 tapable: 2.2.1 webpack: 5.88.2 htmlnano@2.0.4(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(svgo@2.8.0)(terser@5.19.1): dependencies: cosmiconfig: 8.2.0 posthtml: 0.16.6 timsort: 0.3.0 optionalDependencies: postcss: 8.4.35 relateurl: 0.2.7 srcset: 4.0.0 svgo: 2.8.0 terser: 5.19.1 htmlparser2@6.1.0: dependencies: domelementtype: 2.3.0 domhandler: 4.3.1 domutils: 2.8.0 entities: 2.2.0 htmlparser2@7.2.0: dependencies: domelementtype: 2.3.0 domhandler: 4.3.1 domutils: 2.8.0 entities: 3.0.1 http-deceiver@1.2.7: {} http-errors@1.6.3: dependencies: depd: 1.1.2 inherits: 2.0.3 setprototypeof: 1.1.0 statuses: 1.5.0 http-errors@2.0.0: dependencies: depd: 2.0.0 inherits: 2.0.4 setprototypeof: 1.2.0 statuses: 2.0.1 toidentifier: 1.0.1 http-parser-js@0.5.8: {} http-proxy-agent@4.0.1: dependencies: '@tootallnate/once': 1.1.2 agent-base: 6.0.2 debug: 4.3.4 transitivePeerDependencies: - supports-color http-proxy-agent@5.0.0: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 debug: 4.3.4 transitivePeerDependencies: - supports-color http-proxy-middleware@2.0.6(@types/express@4.17.17): dependencies: '@types/http-proxy': 1.17.11 http-proxy: 1.18.1 is-glob: 4.0.3 is-plain-obj: 3.0.0 micromatch: 4.0.5 optionalDependencies: '@types/express': 4.17.17 transitivePeerDependencies: - debug http-proxy@1.18.1: dependencies: eventemitter3: 4.0.7 follow-redirects: 1.15.2 requires-port: 1.0.0 transitivePeerDependencies: - debug https-browserify@1.0.0: {} https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 debug: 4.3.4 transitivePeerDependencies: - supports-color human-id@1.0.2: {} human-signals@2.1.0: {} humanize-ms@1.2.1: dependencies: ms: 2.1.3 iconv-lite@0.4.24: dependencies: safer-buffer: 2.1.2 iconv-lite@0.6.3: dependencies: safer-buffer: 2.1.2 icss-utils@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 idb@7.1.1: {} identity-obj-proxy@3.0.0: dependencies: harmony-reflect: 1.6.2 ieee754@1.2.1: {} ignore@5.2.4: {} image-size@0.5.5: optional: true image-size@1.0.2: dependencies: queue: 6.0.2 immer@9.0.21: {} import-fresh@2.0.0: dependencies: caller-path: 2.0.0 resolve-from: 3.0.0 import-fresh@3.3.0: dependencies: parent-module: 1.0.1 resolve-from: 4.0.0 import-local@3.1.0: dependencies: pkg-dir: 4.2.0 resolve-cwd: 3.0.0 imurmurhash@0.1.4: {} indent-string@4.0.0: {} infer-owner@1.0.4: {} inflight@1.0.6: dependencies: once: 1.4.0 wrappy: 1.0.2 inherits@2.0.3: {} inherits@2.0.4: {} ini@1.3.8: {} int64-buffer@1.0.1: {} internal-ip@4.3.0: dependencies: default-gateway: 4.2.0 ipaddr.js: 1.9.1 internal-slot@1.0.5: dependencies: get-intrinsic: 1.2.1 has: 1.0.3 side-channel: 1.0.4 interpret@1.4.0: {} invariant@2.2.4: dependencies: loose-envify: 1.4.0 ip-regex@2.1.0: {} ip@1.1.8: {} ip@2.0.0: {} ipaddr.js@1.9.1: {} ipaddr.js@2.1.0: {} is-arguments@1.1.1: dependencies: call-bind: 1.0.2 has-tostringtag: 1.0.0 is-array-buffer@3.0.2: dependencies: call-bind: 1.0.2 get-intrinsic: 1.2.1 is-typed-array: 1.1.12 is-arrayish@0.2.1: {} is-bigint@1.0.4: dependencies: has-bigints: 1.0.2 is-binary-path@2.1.0: dependencies: binary-extensions: 2.2.0 is-boolean-object@1.1.2: dependencies: call-bind: 1.0.2 has-tostringtag: 1.0.0 is-buffer@1.1.6: {} is-callable@1.2.7: {} is-ci@3.0.1: dependencies: ci-info: 3.8.0 is-core-module@2.12.1: dependencies: has: 1.0.3 is-date-object@1.0.5: dependencies: has-tostringtag: 1.0.0 is-directory@0.3.1: {} is-docker@2.2.1: {} is-extglob@1.0.0: {} is-extglob@2.1.1: {} is-fullwidth-code-point@2.0.0: {} is-fullwidth-code-point@3.0.0: {} is-generator-fn@2.1.0: {} is-generator-function@1.0.10: dependencies: has-tostringtag: 1.0.0 is-glob@2.0.1: dependencies: is-extglob: 1.0.0 is-glob@4.0.3: dependencies: is-extglob: 2.1.1 is-interactive@1.0.0: {} is-invalid-path@0.1.0: dependencies: is-glob: 2.0.1 is-json@2.0.1: {} is-map@2.0.2: {} is-module@1.0.0: {} is-nan@1.3.2: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 is-negative-zero@2.0.2: {} is-number-object@1.0.7: dependencies: has-tostringtag: 1.0.0 is-number@7.0.0: {} is-obj@1.0.1: {} is-path-cwd@2.2.0: {} is-path-inside@3.0.3: {} is-plain-obj@1.1.0: {} is-plain-obj@2.1.0: {} is-plain-obj@3.0.0: {} is-plain-object@2.0.4: dependencies: isobject: 3.0.1 is-potential-custom-element-name@1.0.1: {} is-regex@1.1.4: dependencies: call-bind: 1.0.2 has-tostringtag: 1.0.0 is-regexp@1.0.0: {} is-root@2.1.0: {} is-set@2.0.2: {} is-shared-array-buffer@1.0.2: dependencies: call-bind: 1.0.2 is-stream@1.1.0: {} is-stream@2.0.1: {} is-string@1.0.7: dependencies: has-tostringtag: 1.0.0 is-subdir@1.2.0: dependencies: better-path-resolve: 1.0.0 is-symbol@1.0.4: dependencies: has-symbols: 1.0.3 is-typed-array@1.1.12: dependencies: which-typed-array: 1.1.11 is-typedarray@1.0.0: {} is-unicode-supported@0.1.0: {} is-valid-path@0.1.1: dependencies: is-invalid-path: 0.1.0 is-weakmap@2.0.1: {} is-weakref@1.0.2: dependencies: call-bind: 1.0.2 is-weakset@2.0.2: dependencies: call-bind: 1.0.2 get-intrinsic: 1.2.1 is-what@3.14.1: {} is-windows@1.0.2: {} is-wsl@1.1.0: {} is-wsl@2.2.0: dependencies: is-docker: 2.2.1 isarray@1.0.0: {} isarray@2.0.5: {} isexe@2.0.0: {} isobject@3.0.1: {} isomorphic-ws@4.0.1(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10)): dependencies: ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) istanbul-lib-coverage@3.2.0: {} istanbul-lib-instrument@5.2.1: dependencies: '@babel/core': 7.22.9 '@babel/parser': 7.22.7 '@istanbuljs/schema': 0.1.3 istanbul-lib-coverage: 3.2.0 semver: 6.3.1 transitivePeerDependencies: - supports-color istanbul-lib-report@3.0.0: dependencies: istanbul-lib-coverage: 3.2.0 make-dir: 3.1.0 supports-color: 7.2.0 istanbul-lib-source-maps@4.0.1: dependencies: debug: 4.3.4 istanbul-lib-coverage: 3.2.0 source-map: 0.6.1 transitivePeerDependencies: - supports-color istanbul-reports@3.1.5: dependencies: html-escaper: 2.0.2 istanbul-lib-report: 3.0.0 jake@10.8.7: dependencies: async: 3.2.4 chalk: 4.1.2 filelist: 1.0.4 minimatch: 3.1.2 jayson@4.1.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@types/connect': 3.4.35 '@types/node': 12.20.55 '@types/ws': 7.4.7 JSONStream: 1.3.5 commander: 2.20.3 delay: 5.0.0 es6-promisify: 5.0.0 eyes: 0.1.8 isomorphic-ws: 4.0.1(ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10)) json-stringify-safe: 5.0.1 uuid: 8.3.2 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate jest-changed-files@27.5.1: dependencies: '@jest/types': 27.5.1 execa: 5.1.1 throat: 6.0.2 jest-changed-files@28.1.3: dependencies: execa: 5.1.1 p-limit: 3.1.0 jest-circus@27.5.1: dependencies: '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 expect: 27.5.1 is-generator-fn: 2.1.0 jest-each: 27.5.1 jest-matcher-utils: 27.5.1 jest-message-util: 27.5.1 jest-runtime: 27.5.1 jest-snapshot: 27.5.1 jest-util: 27.5.1 pretty-format: 27.5.1 slash: 3.0.0 stack-utils: 2.0.6 throat: 6.0.2 transitivePeerDependencies: - supports-color jest-circus@28.1.3: dependencies: '@jest/environment': 28.1.3 '@jest/expect': 28.1.3 '@jest/test-result': 28.1.3 '@jest/types': 28.1.3 '@types/node': 18.16.19 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 is-generator-fn: 2.1.0 jest-each: 28.1.3 jest-matcher-utils: 28.1.3 jest-message-util: 28.1.3 jest-runtime: 28.1.3 jest-snapshot: 28.1.3 jest-util: 28.1.3 p-limit: 3.1.0 pretty-format: 28.1.3 slash: 3.0.0 stack-utils: 2.0.6 transitivePeerDependencies: - supports-color jest-cli@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@jest/core': 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 import-local: 3.1.0 jest-config: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-util: 27.5.1 jest-validate: 27.5.1 prompts: 2.4.2 yargs: 16.2.0 transitivePeerDependencies: - bufferutil - canvas - supports-color - ts-node - utf-8-validate jest-cli@28.1.3(@types/node@18.16.19): dependencies: '@jest/core': 28.1.3 '@jest/test-result': 28.1.3 '@jest/types': 28.1.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 import-local: 3.1.0 jest-config: 28.1.3(@types/node@18.16.19) jest-util: 28.1.3 jest-validate: 28.1.3 prompts: 2.4.2 yargs: 17.7.2 transitivePeerDependencies: - '@types/node' - supports-color - ts-node jest-config@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@babel/core': 7.22.9 '@jest/test-sequencer': 27.5.1 '@jest/types': 27.5.1 babel-jest: 27.5.1(@babel/core@7.22.9) chalk: 4.1.2 ci-info: 3.8.0 deepmerge: 4.3.1 glob: 7.2.3 graceful-fs: 4.2.11 jest-circus: 27.5.1 jest-environment-jsdom: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-environment-node: 27.5.1 jest-get-type: 27.5.1 jest-jasmine2: 27.5.1 jest-regex-util: 27.5.1 jest-resolve: 27.5.1 jest-runner: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-util: 27.5.1 jest-validate: 27.5.1 micromatch: 4.0.5 parse-json: 5.2.0 pretty-format: 27.5.1 slash: 3.0.0 strip-json-comments: 3.1.1 transitivePeerDependencies: - bufferutil - canvas - supports-color - utf-8-validate jest-config@28.1.3(@types/node@18.16.19): dependencies: '@babel/core': 7.22.9 '@jest/test-sequencer': 28.1.3 '@jest/types': 28.1.3 babel-jest: 28.1.3(@babel/core@7.22.9) chalk: 4.1.2 ci-info: 3.8.0 deepmerge: 4.3.1 glob: 7.2.3 graceful-fs: 4.2.11 jest-circus: 28.1.3 jest-environment-node: 28.1.3 jest-get-type: 28.0.2 jest-regex-util: 28.0.2 jest-resolve: 28.1.3 jest-runner: 28.1.3 jest-util: 28.1.3 jest-validate: 28.1.3 micromatch: 4.0.5 parse-json: 5.2.0 pretty-format: 28.1.3 slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 18.16.19 transitivePeerDependencies: - supports-color jest-diff@27.5.1: dependencies: chalk: 4.1.2 diff-sequences: 27.5.1 jest-get-type: 27.5.1 pretty-format: 27.5.1 jest-diff@28.1.3: dependencies: chalk: 4.1.2 diff-sequences: 28.1.1 jest-get-type: 28.0.2 pretty-format: 28.1.3 jest-docblock@27.5.1: dependencies: detect-newline: 3.1.0 jest-docblock@28.1.1: dependencies: detect-newline: 3.1.0 jest-each@27.5.1: dependencies: '@jest/types': 27.5.1 chalk: 4.1.2 jest-get-type: 27.5.1 jest-util: 27.5.1 pretty-format: 27.5.1 jest-each@28.1.3: dependencies: '@jest/types': 28.1.3 chalk: 4.1.2 jest-get-type: 28.0.2 jest-util: 28.1.3 pretty-format: 28.1.3 jest-environment-jsdom@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 jest-mock: 27.5.1 jest-util: 27.5.1 jsdom: 16.7.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - canvas - supports-color - utf-8-validate jest-environment-jsdom@28.1.3(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@jest/environment': 28.1.3 '@jest/fake-timers': 28.1.3 '@jest/types': 28.1.3 '@types/jsdom': 16.2.15 '@types/node': 18.16.19 jest-mock: 28.1.3 jest-util: 28.1.3 jsdom: 19.0.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - canvas - supports-color - utf-8-validate jest-environment-node@27.5.1: dependencies: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 jest-mock: 27.5.1 jest-util: 27.5.1 jest-environment-node@28.1.3: dependencies: '@jest/environment': 28.1.3 '@jest/fake-timers': 28.1.3 '@jest/types': 28.1.3 '@types/node': 18.16.19 jest-mock: 28.1.3 jest-util: 28.1.3 jest-environment-node@29.6.1: dependencies: '@jest/environment': 29.6.1 '@jest/fake-timers': 29.6.1 '@jest/types': 29.6.1 '@types/node': 18.16.19 jest-mock: 29.6.1 jest-util: 29.6.1 jest-get-type@27.5.1: {} jest-get-type@28.0.2: {} jest-get-type@29.4.3: {} jest-haste-map@27.5.1: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.6 '@types/node': 18.16.19 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 jest-regex-util: 27.5.1 jest-serializer: 27.5.1 jest-util: 27.5.1 jest-worker: 27.5.1 micromatch: 4.0.5 walker: 1.0.8 optionalDependencies: fsevents: 2.3.2 jest-haste-map@28.1.3: dependencies: '@jest/types': 28.1.3 '@types/graceful-fs': 4.1.6 '@types/node': 18.16.19 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 jest-regex-util: 28.0.2 jest-util: 28.1.3 jest-worker: 28.1.3 micromatch: 4.0.5 walker: 1.0.8 optionalDependencies: fsevents: 2.3.2 jest-jasmine2@27.5.1: dependencies: '@jest/environment': 27.5.1 '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 is-generator-fn: 2.1.0 jest-each: 27.5.1 jest-matcher-utils: 27.5.1 jest-message-util: 27.5.1 jest-runtime: 27.5.1 jest-snapshot: 27.5.1 jest-util: 27.5.1 pretty-format: 27.5.1 throat: 6.0.2 transitivePeerDependencies: - supports-color jest-leak-detector@27.5.1: dependencies: jest-get-type: 27.5.1 pretty-format: 27.5.1 jest-leak-detector@28.1.3: dependencies: jest-get-type: 28.0.2 pretty-format: 28.1.3 jest-localstorage-mock@2.4.26: {} jest-matcher-utils@27.5.1: dependencies: chalk: 4.1.2 jest-diff: 27.5.1 jest-get-type: 27.5.1 pretty-format: 27.5.1 jest-matcher-utils@28.1.3: dependencies: chalk: 4.1.2 jest-diff: 28.1.3 jest-get-type: 28.0.2 pretty-format: 28.1.3 jest-message-util@27.5.1: dependencies: '@babel/code-frame': 7.22.5 '@jest/types': 27.5.1 '@types/stack-utils': 2.0.1 chalk: 4.1.2 graceful-fs: 4.2.11 micromatch: 4.0.5 pretty-format: 27.5.1 slash: 3.0.0 stack-utils: 2.0.6 jest-message-util@28.1.3: dependencies: '@babel/code-frame': 7.22.5 '@jest/types': 28.1.3 '@types/stack-utils': 2.0.1 chalk: 4.1.2 graceful-fs: 4.2.11 micromatch: 4.0.5 pretty-format: 28.1.3 slash: 3.0.0 stack-utils: 2.0.6 jest-message-util@29.6.1: dependencies: '@babel/code-frame': 7.23.5 '@jest/types': 29.6.1 '@types/stack-utils': 2.0.1 chalk: 4.1.2 graceful-fs: 4.2.11 micromatch: 4.0.5 pretty-format: 29.6.1 slash: 3.0.0 stack-utils: 2.0.6 jest-mock@27.5.1: dependencies: '@jest/types': 27.5.1 '@types/node': 18.16.19 jest-mock@28.1.3: dependencies: '@jest/types': 28.1.3 '@types/node': 18.16.19 jest-mock@29.6.1: dependencies: '@jest/types': 29.6.1 '@types/node': 18.16.19 jest-util: 29.6.1 jest-pnp-resolver@1.2.3(jest-resolve@27.5.1): optionalDependencies: jest-resolve: 27.5.1 jest-pnp-resolver@1.2.3(jest-resolve@28.1.3): optionalDependencies: jest-resolve: 28.1.3 jest-regex-util@27.5.1: {} jest-regex-util@28.0.2: {} jest-resolve-dependencies@27.5.1: dependencies: '@jest/types': 27.5.1 jest-regex-util: 27.5.1 jest-snapshot: 27.5.1 transitivePeerDependencies: - supports-color jest-resolve-dependencies@28.1.3: dependencies: jest-regex-util: 28.0.2 jest-snapshot: 28.1.3 transitivePeerDependencies: - supports-color jest-resolve@27.5.1: dependencies: '@jest/types': 27.5.1 chalk: 4.1.2 graceful-fs: 4.2.11 jest-haste-map: 27.5.1 jest-pnp-resolver: 1.2.3(jest-resolve@27.5.1) jest-util: 27.5.1 jest-validate: 27.5.1 resolve: 1.22.2 resolve.exports: 1.1.1 slash: 3.0.0 jest-resolve@28.1.3: dependencies: chalk: 4.1.2 graceful-fs: 4.2.11 jest-haste-map: 28.1.3 jest-pnp-resolver: 1.2.3(jest-resolve@28.1.3) jest-util: 28.1.3 jest-validate: 28.1.3 resolve: 1.22.2 resolve.exports: 1.1.1 slash: 3.0.0 jest-runner@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@jest/console': 27.5.1 '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.11 jest-docblock: 27.5.1 jest-environment-jsdom: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-environment-node: 27.5.1 jest-haste-map: 27.5.1 jest-leak-detector: 27.5.1 jest-message-util: 27.5.1 jest-resolve: 27.5.1 jest-runtime: 27.5.1 jest-util: 27.5.1 jest-worker: 27.5.1 source-map-support: 0.5.21 throat: 6.0.2 transitivePeerDependencies: - bufferutil - canvas - supports-color - utf-8-validate jest-runner@28.1.3: dependencies: '@jest/console': 28.1.3 '@jest/environment': 28.1.3 '@jest/test-result': 28.1.3 '@jest/transform': 28.1.3 '@jest/types': 28.1.3 '@types/node': 18.16.19 chalk: 4.1.2 emittery: 0.10.2 graceful-fs: 4.2.11 jest-docblock: 28.1.1 jest-environment-node: 28.1.3 jest-haste-map: 28.1.3 jest-leak-detector: 28.1.3 jest-message-util: 28.1.3 jest-resolve: 28.1.3 jest-runtime: 28.1.3 jest-util: 28.1.3 jest-watcher: 28.1.3 jest-worker: 28.1.3 p-limit: 3.1.0 source-map-support: 0.5.13 transitivePeerDependencies: - supports-color jest-runtime@27.5.1: dependencies: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/globals': 27.5.1 '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 execa: 5.1.1 glob: 7.2.3 graceful-fs: 4.2.11 jest-haste-map: 27.5.1 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-regex-util: 27.5.1 jest-resolve: 27.5.1 jest-snapshot: 27.5.1 jest-util: 27.5.1 slash: 3.0.0 strip-bom: 4.0.0 transitivePeerDependencies: - supports-color jest-runtime@28.1.3: dependencies: '@jest/environment': 28.1.3 '@jest/fake-timers': 28.1.3 '@jest/globals': 28.1.3 '@jest/source-map': 28.1.2 '@jest/test-result': 28.1.3 '@jest/transform': 28.1.3 '@jest/types': 28.1.3 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 execa: 5.1.1 glob: 7.2.3 graceful-fs: 4.2.11 jest-haste-map: 28.1.3 jest-message-util: 28.1.3 jest-mock: 28.1.3 jest-regex-util: 28.0.2 jest-resolve: 28.1.3 jest-snapshot: 28.1.3 jest-util: 28.1.3 slash: 3.0.0 strip-bom: 4.0.0 transitivePeerDependencies: - supports-color jest-serializer@27.5.1: dependencies: '@types/node': 18.16.19 graceful-fs: 4.2.11 jest-snapshot@27.5.1: dependencies: '@babel/core': 7.22.9 '@babel/generator': 7.22.9 '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.22.9) '@babel/traverse': 7.22.8 '@babel/types': 7.22.5 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 '@types/babel__traverse': 7.20.1 '@types/prettier': 2.7.3 babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.9) chalk: 4.1.2 expect: 27.5.1 graceful-fs: 4.2.11 jest-diff: 27.5.1 jest-get-type: 27.5.1 jest-haste-map: 27.5.1 jest-matcher-utils: 27.5.1 jest-message-util: 27.5.1 jest-util: 27.5.1 natural-compare: 1.4.0 pretty-format: 27.5.1 semver: 7.5.4 transitivePeerDependencies: - supports-color jest-snapshot@28.1.3: dependencies: '@babel/core': 7.22.9 '@babel/generator': 7.22.9 '@babel/plugin-syntax-typescript': 7.22.5(@babel/core@7.22.9) '@babel/traverse': 7.22.8 '@babel/types': 7.22.5 '@jest/expect-utils': 28.1.3 '@jest/transform': 28.1.3 '@jest/types': 28.1.3 '@types/babel__traverse': 7.20.1 '@types/prettier': 2.7.3 babel-preset-current-node-syntax: 1.0.1(@babel/core@7.22.9) chalk: 4.1.2 expect: 28.1.3 graceful-fs: 4.2.11 jest-diff: 28.1.3 jest-get-type: 28.0.2 jest-haste-map: 28.1.3 jest-matcher-utils: 28.1.3 jest-message-util: 28.1.3 jest-util: 28.1.3 natural-compare: 1.4.0 pretty-format: 28.1.3 semver: 7.5.4 transitivePeerDependencies: - supports-color jest-util@27.5.1: dependencies: '@jest/types': 27.5.1 '@types/node': 18.16.19 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 picomatch: 2.3.1 jest-util@28.1.3: dependencies: '@jest/types': 28.1.3 '@types/node': 18.16.19 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 picomatch: 2.3.1 jest-util@29.6.1: dependencies: '@jest/types': 29.6.1 '@types/node': 18.16.19 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 picomatch: 2.3.1 jest-validate@27.5.1: dependencies: '@jest/types': 27.5.1 camelcase: 6.3.0 chalk: 4.1.2 jest-get-type: 27.5.1 leven: 3.1.0 pretty-format: 27.5.1 jest-validate@28.1.3: dependencies: '@jest/types': 28.1.3 camelcase: 6.3.0 chalk: 4.1.2 jest-get-type: 28.0.2 leven: 3.1.0 pretty-format: 28.1.3 jest-validate@29.6.1: dependencies: '@jest/types': 29.6.1 camelcase: 6.3.0 chalk: 4.1.2 jest-get-type: 29.4.3 leven: 3.1.0 pretty-format: 29.6.1 jest-watch-typeahead@1.1.0(jest@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)): dependencies: ansi-escapes: 4.3.2 chalk: 4.1.2 jest: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-regex-util: 28.0.2 jest-watcher: 28.1.3 slash: 4.0.0 string-length: 5.0.1 strip-ansi: 7.1.0 jest-watcher@27.5.1: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 '@types/node': 18.16.19 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 string-length: 4.0.2 jest-watcher@28.1.3: dependencies: '@jest/test-result': 28.1.3 '@jest/types': 28.1.3 '@types/node': 18.16.19 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.10.2 jest-util: 28.1.3 string-length: 4.0.2 jest-worker@26.6.2: dependencies: '@types/node': 18.16.19 merge-stream: 2.0.0 supports-color: 7.2.0 jest-worker@27.5.1: dependencies: '@types/node': 18.16.19 merge-stream: 2.0.0 supports-color: 8.1.1 jest-worker@28.1.3: dependencies: '@types/node': 18.16.19 merge-stream: 2.0.0 supports-color: 8.1.1 jest@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@jest/core': 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) import-local: 3.1.0 jest-cli: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - canvas - supports-color - ts-node - utf-8-validate jest@28.1.3(@types/node@18.16.19): dependencies: '@jest/core': 28.1.3 '@jest/types': 28.1.3 import-local: 3.1.0 jest-cli: 28.1.3(@types/node@18.16.19) transitivePeerDependencies: - '@types/node' - supports-color - ts-node jimp-compact@0.16.1: {} jiti@1.19.1: {} joi@17.9.2: dependencies: '@hapi/hoek': 9.3.0 '@hapi/topo': 5.1.0 '@sideway/address': 4.1.4 '@sideway/formula': 3.0.1 '@sideway/pinpoint': 2.0.0 join-component@1.1.0: {} joycon@3.1.1: {} js-base64@3.7.5: {} js-tokens@4.0.0: {} js-yaml@3.14.1: dependencies: argparse: 1.0.10 esprima: 4.0.1 js-yaml@4.1.0: dependencies: argparse: 2.0.1 jsbi@3.2.5: {} jsc-android@250231.0.0: {} jsc-safe-url@0.2.4: {} jscodeshift@0.14.0(@babel/preset-env@7.22.9(@babel/core@7.22.9)): dependencies: '@babel/core': 7.22.9 '@babel/parser': 7.24.0 '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.22.9) '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.9) '@babel/preset-env': 7.22.9(@babel/core@7.22.9) '@babel/preset-flow': 7.22.5(@babel/core@7.22.9) '@babel/preset-typescript': 7.22.5(@babel/core@7.22.9) '@babel/register': 7.22.5(@babel/core@7.22.9) babel-core: 7.0.0-bridge.0(@babel/core@7.22.9) chalk: 4.1.2 flow-parser: 0.206.0 graceful-fs: 4.2.11 micromatch: 4.0.5 neo-async: 2.6.2 node-dir: 0.1.17 recast: 0.21.5 temp: 0.8.4 write-file-atomic: 2.4.3 transitivePeerDependencies: - supports-color jsdom@16.7.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: abab: 2.0.6 acorn: 8.10.0 acorn-globals: 6.0.0 cssom: 0.4.4 cssstyle: 2.3.0 data-urls: 2.0.0 decimal.js: 10.4.3 domexception: 2.0.1 escodegen: 2.1.0 form-data: 3.0.1 html-encoding-sniffer: 2.0.1 http-proxy-agent: 4.0.1 https-proxy-agent: 5.0.1 is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.7 parse5: 6.0.1 saxes: 5.0.1 symbol-tree: 3.2.4 tough-cookie: 4.1.3 w3c-hr-time: 1.0.2 w3c-xmlserializer: 2.0.0 webidl-conversions: 6.1.0 whatwg-encoding: 1.0.5 whatwg-mimetype: 2.3.0 whatwg-url: 8.7.0 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) xml-name-validator: 3.0.0 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate jsdom@19.0.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: abab: 2.0.6 acorn: 8.10.0 acorn-globals: 6.0.0 cssom: 0.5.0 cssstyle: 2.3.0 data-urls: 3.0.2 decimal.js: 10.4.3 domexception: 4.0.0 escodegen: 2.1.0 form-data: 4.0.0 html-encoding-sniffer: 3.0.0 http-proxy-agent: 5.0.0 https-proxy-agent: 5.0.1 is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.7 parse5: 6.0.1 saxes: 5.0.1 symbol-tree: 3.2.4 tough-cookie: 4.1.3 w3c-hr-time: 1.0.2 w3c-xmlserializer: 3.0.0 webidl-conversions: 7.0.0 whatwg-encoding: 2.0.0 whatwg-mimetype: 3.0.0 whatwg-url: 10.0.0 ws: 8.13.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) xml-name-validator: 4.0.0 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate jsesc@0.5.0: {} jsesc@2.5.2: {} json-parse-better-errors@1.0.2: {} json-parse-even-better-errors@2.3.1: {} json-rpc-random-id@1.0.1: {} json-schema-deref-sync@0.13.0: dependencies: clone: 2.1.2 dag-map: 1.0.2 is-valid-path: 0.1.1 lodash: 4.17.21 md5: 2.2.1 memory-cache: 0.2.0 traverse: 0.6.8 valid-url: 1.0.9 json-schema-traverse@0.4.1: {} json-schema-traverse@1.0.0: {} json-schema@0.4.0: {} json-stable-stringify-without-jsonify@1.0.1: {} json-stable-stringify@1.0.2: dependencies: jsonify: 0.0.1 json-stable-stringify@1.1.1: dependencies: call-bind: 1.0.7 isarray: 2.0.5 jsonify: 0.0.1 object-keys: 1.1.1 json-stringify-safe@5.0.1: {} json2mq@0.2.0: dependencies: string-convert: 0.2.1 json5@1.0.2: dependencies: minimist: 1.2.8 json5@2.2.3: {} jsonc-parser@3.2.0: {} jsonfile@4.0.0: optionalDependencies: graceful-fs: 4.2.11 jsonfile@6.1.0: dependencies: universalify: 2.0.0 optionalDependencies: graceful-fs: 4.2.11 jsonify@0.0.1: {} jsonparse@1.3.1: {} jsonpointer@5.0.1: {} jsonschema@1.2.2: {} jsqr@1.4.0: {} jsx-ast-utils@3.3.4: dependencies: array-includes: 3.1.6 array.prototype.flat: 1.3.1 object.assign: 4.1.4 object.values: 1.1.6 keccak@3.0.3: dependencies: node-addon-api: 2.0.2 node-gyp-build: 4.6.0 readable-stream: 3.6.2 keyvaluestorage-interface@1.0.0: {} kind-of@6.0.3: {} kleur@3.0.3: {} kleur@4.1.5: {} klona@2.0.6: {} language-subtag-registry@0.3.22: {} language-tags@1.0.5: dependencies: language-subtag-registry: 0.3.22 launch-editor@2.6.0: dependencies: picocolors: 1.0.0 shell-quote: 1.8.1 less-loader@7.3.0(less@4.1.3)(webpack@5.88.2): dependencies: klona: 2.0.6 less: 4.1.3 loader-utils: 2.0.4 schema-utils: 3.3.0 webpack: 5.88.2 less@4.1.3: dependencies: copy-anything: 2.0.6 parse-node-version: 1.0.1 tslib: 2.6.0 optionalDependencies: errno: 0.1.8 graceful-fs: 4.2.11 image-size: 0.5.5 make-dir: 2.1.0 mime: 1.6.0 needle: 3.2.0 source-map: 0.6.1 transitivePeerDependencies: - supports-color leven@3.1.0: {} levn@0.4.1: dependencies: prelude-ls: 1.2.1 type-check: 0.4.0 lighthouse-logger@1.4.2: dependencies: debug: 2.6.9 marky: 1.2.5 transitivePeerDependencies: - supports-color lightningcss-darwin-arm64@1.19.0: optional: true lightningcss-darwin-arm64@1.21.5: optional: true lightningcss-darwin-x64@1.19.0: optional: true lightningcss-darwin-x64@1.21.5: optional: true lightningcss-linux-arm-gnueabihf@1.19.0: optional: true lightningcss-linux-arm-gnueabihf@1.21.5: optional: true lightningcss-linux-arm64-gnu@1.19.0: optional: true lightningcss-linux-arm64-gnu@1.21.5: optional: true lightningcss-linux-arm64-musl@1.19.0: optional: true lightningcss-linux-arm64-musl@1.21.5: optional: true lightningcss-linux-x64-gnu@1.19.0: optional: true lightningcss-linux-x64-gnu@1.21.5: optional: true lightningcss-linux-x64-musl@1.19.0: optional: true lightningcss-linux-x64-musl@1.21.5: optional: true lightningcss-win32-x64-msvc@1.19.0: optional: true lightningcss-win32-x64-msvc@1.21.5: optional: true lightningcss@1.19.0: dependencies: detect-libc: 1.0.3 optionalDependencies: lightningcss-darwin-arm64: 1.19.0 lightningcss-darwin-x64: 1.19.0 lightningcss-linux-arm-gnueabihf: 1.19.0 lightningcss-linux-arm64-gnu: 1.19.0 lightningcss-linux-arm64-musl: 1.19.0 lightningcss-linux-x64-gnu: 1.19.0 lightningcss-linux-x64-musl: 1.19.0 lightningcss-win32-x64-msvc: 1.19.0 lightningcss@1.21.5: dependencies: detect-libc: 1.0.3 optionalDependencies: lightningcss-darwin-arm64: 1.21.5 lightningcss-darwin-x64: 1.21.5 lightningcss-linux-arm-gnueabihf: 1.21.5 lightningcss-linux-arm64-gnu: 1.21.5 lightningcss-linux-arm64-musl: 1.21.5 lightningcss-linux-x64-gnu: 1.21.5 lightningcss-linux-x64-musl: 1.21.5 lightningcss-win32-x64-msvc: 1.21.5 lilconfig@2.1.0: {} lines-and-columns@1.2.4: {} lmdb@2.7.11: dependencies: msgpackr: 1.8.5 node-addon-api: 4.3.0 node-gyp-build-optional-packages: 5.0.6 ordered-binary: 1.4.1 weak-lru-cache: 1.2.2 optionalDependencies: '@lmdb/lmdb-darwin-arm64': 2.7.11 '@lmdb/lmdb-darwin-x64': 2.7.11 '@lmdb/lmdb-linux-arm': 2.7.11 '@lmdb/lmdb-linux-arm64': 2.7.11 '@lmdb/lmdb-linux-x64': 2.7.11 '@lmdb/lmdb-win32-x64': 2.7.11 load-yaml-file@0.2.0: dependencies: graceful-fs: 4.2.11 js-yaml: 3.14.1 pify: 4.0.1 strip-bom: 3.0.0 loader-runner@4.3.0: {} loader-utils@2.0.4: dependencies: big.js: 5.2.2 emojis-list: 3.0.0 json5: 2.2.3 loader-utils@3.2.1: {} locate-path@3.0.0: dependencies: p-locate: 3.0.0 path-exists: 3.0.0 locate-path@5.0.0: dependencies: p-locate: 4.1.0 locate-path@6.0.0: dependencies: p-locate: 5.0.0 lodash-es@4.17.21: {} lodash.debounce@4.0.8: {} lodash.isequal@4.5.0: {} lodash.memoize@4.1.2: {} lodash.merge@4.6.2: {} lodash.sortby@4.7.0: {} lodash.startcase@4.4.0: {} lodash.throttle@4.1.1: {} lodash.uniq@4.5.0: {} lodash@4.17.21: {} log-symbols@2.2.0: dependencies: chalk: 2.4.2 log-symbols@4.1.0: dependencies: chalk: 4.1.2 is-unicode-supported: 0.1.0 logkitty@0.7.1: dependencies: ansi-fragments: 0.2.1 dayjs: 1.11.9 yargs: 15.4.1 loglevel@1.8.1: {} long@4.0.0: {} long@5.2.3: {} loose-envify@1.4.0: dependencies: js-tokens: 4.0.0 lower-case@2.0.2: dependencies: tslib: 2.6.0 lru-cache@4.1.5: dependencies: pseudomap: 1.0.2 yallist: 2.1.2 lru-cache@5.1.1: dependencies: yallist: 3.1.1 lru-cache@6.0.0: dependencies: yallist: 4.0.0 lunr@2.3.9: {} lz-string@1.5.0: {} magic-string@0.25.9: dependencies: sourcemap-codec: 1.4.8 make-dir@2.1.0: dependencies: pify: 4.0.1 semver: 5.7.2 make-dir@3.1.0: dependencies: semver: 6.3.1 make-error@1.3.6: {} makeerror@1.0.12: dependencies: tmpl: 1.0.5 map-obj@1.0.1: {} map-obj@4.3.0: {} marked@4.3.0: {} marky@1.2.5: {} md5-file@3.2.3: dependencies: buffer-alloc: 1.2.0 md5.js@1.3.5: dependencies: hash-base: 3.1.0 inherits: 2.0.4 safe-buffer: 5.2.1 md5@2.2.1: dependencies: charenc: 0.0.2 crypt: 0.0.2 is-buffer: 1.1.6 md5@2.3.0: dependencies: charenc: 0.0.2 crypt: 0.0.2 is-buffer: 1.1.6 md5hex@1.0.0: {} mdn-data@2.0.14: {} mdn-data@2.0.4: {} media-typer@0.3.0: {} memfs@3.5.3: dependencies: fs-monkey: 1.0.4 memoize-one@5.2.1: {} memory-cache@0.2.0: {} meow@6.1.1: dependencies: '@types/minimist': 1.2.2 camelcase-keys: 6.2.2 decamelize-keys: 1.1.1 hard-rejection: 2.1.0 minimist-options: 4.1.0 normalize-package-data: 2.5.0 read-pkg-up: 7.0.1 redent: 3.0.0 trim-newlines: 3.0.1 type-fest: 0.13.1 yargs-parser: 18.1.3 merge-descriptors@1.0.1: {} merge-options@3.0.4: dependencies: is-plain-obj: 2.1.0 merge-stream@2.0.0: {} merge2@1.4.1: {} methods@1.1.2: {} metro-babel-transformer@0.76.7: dependencies: '@babel/core': 7.22.9 hermes-parser: 0.12.0 nullthrows: 1.1.1 transitivePeerDependencies: - supports-color metro-cache-key@0.76.7: {} metro-cache@0.76.7: dependencies: metro-core: 0.76.7 rimraf: 3.0.2 metro-config@0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: connect: 3.7.0 cosmiconfig: 5.2.1 jest-validate: 29.6.1 metro: 0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10) metro-cache: 0.76.7 metro-core: 0.76.7 metro-runtime: 0.76.7 transitivePeerDependencies: - bufferutil - encoding - supports-color - utf-8-validate metro-core@0.76.7: dependencies: lodash.throttle: 4.1.1 metro-resolver: 0.76.7 metro-file-map@0.76.7: dependencies: anymatch: 3.1.3 debug: 2.6.9 fb-watchman: 2.0.2 graceful-fs: 4.2.11 invariant: 2.2.4 jest-regex-util: 27.5.1 jest-util: 27.5.1 jest-worker: 27.5.1 micromatch: 4.0.5 node-abort-controller: 3.1.1 nullthrows: 1.1.1 walker: 1.0.8 optionalDependencies: fsevents: 2.3.2 transitivePeerDependencies: - supports-color metro-inspector-proxy@0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: connect: 3.7.0 debug: 2.6.9 node-fetch: 2.7.0 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) yargs: 17.7.2 transitivePeerDependencies: - bufferutil - encoding - supports-color - utf-8-validate metro-minify-terser@0.76.7: dependencies: terser: 5.19.1 metro-minify-uglify@0.76.7: dependencies: uglify-es: 3.3.9 metro-react-native-babel-preset@0.76.7(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 '@babel/plugin-proposal-async-generator-functions': 7.20.7(@babel/core@7.22.9) '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-export-default-from': 7.22.5(@babel/core@7.22.9) '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-numeric-separator': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-object-rest-spread': 7.20.7(@babel/core@7.22.9) '@babel/plugin-proposal-optional-catch-binding': 7.18.6(@babel/core@7.22.9) '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.22.9) '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-export-default-from': 7.22.5(@babel/core@7.22.9) '@babel/plugin-syntax-flow': 7.22.5(@babel/core@7.22.9) '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.22.9) '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.22.9) '@babel/plugin-transform-arrow-functions': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-async-to-generator': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-block-scoping': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-classes': 7.22.6(@babel/core@7.22.9) '@babel/plugin-transform-computed-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-destructuring': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-flow-strip-types': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-function-name': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-literals': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-modules-commonjs': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.22.9) '@babel/plugin-transform-react-display-name': 7.23.3(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx-self': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-runtime': 7.22.9(@babel/core@7.22.9) '@babel/plugin-transform-shorthand-properties': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-spread': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-sticky-regex': 7.22.5(@babel/core@7.22.9) '@babel/plugin-transform-typescript': 7.22.9(@babel/core@7.22.9) '@babel/plugin-transform-unicode-regex': 7.22.5(@babel/core@7.22.9) '@babel/template': 7.24.0 babel-plugin-transform-flow-enums: 0.0.2(@babel/core@7.22.9) react-refresh: 0.4.3 transitivePeerDependencies: - supports-color metro-react-native-babel-transformer@0.76.7(@babel/core@7.22.9): dependencies: '@babel/core': 7.22.9 babel-preset-fbjs: 3.4.0(@babel/core@7.22.9) hermes-parser: 0.12.0 metro-react-native-babel-preset: 0.76.7(@babel/core@7.22.9) nullthrows: 1.1.1 transitivePeerDependencies: - supports-color metro-resolver@0.76.7: {} metro-runtime@0.76.7: dependencies: '@babel/runtime': 7.23.5 react-refresh: 0.4.3 metro-source-map@0.76.7: dependencies: '@babel/traverse': 7.22.8 '@babel/types': 7.24.0 invariant: 2.2.4 metro-symbolicate: 0.76.7 nullthrows: 1.1.1 ob1: 0.76.7 source-map: 0.5.7 vlq: 1.0.1 transitivePeerDependencies: - supports-color metro-symbolicate@0.76.7: dependencies: invariant: 2.2.4 metro-source-map: 0.76.7 nullthrows: 1.1.1 source-map: 0.5.7 through2: 2.0.5 vlq: 1.0.1 transitivePeerDependencies: - supports-color metro-transform-plugins@0.76.7: dependencies: '@babel/core': 7.22.9 '@babel/generator': 7.22.9 '@babel/template': 7.24.0 '@babel/traverse': 7.22.8 nullthrows: 1.1.1 transitivePeerDependencies: - supports-color metro-transform-worker@0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@babel/core': 7.22.9 '@babel/generator': 7.22.9 '@babel/parser': 7.24.0 '@babel/types': 7.24.0 babel-preset-fbjs: 3.4.0(@babel/core@7.22.9) metro: 0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10) metro-babel-transformer: 0.76.7 metro-cache: 0.76.7 metro-cache-key: 0.76.7 metro-source-map: 0.76.7 metro-transform-plugins: 0.76.7 nullthrows: 1.1.1 transitivePeerDependencies: - bufferutil - encoding - supports-color - utf-8-validate metro@0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@babel/code-frame': 7.23.5 '@babel/core': 7.22.9 '@babel/generator': 7.22.9 '@babel/parser': 7.24.0 '@babel/template': 7.24.0 '@babel/traverse': 7.22.8 '@babel/types': 7.24.0 accepts: 1.3.8 async: 3.2.4 chalk: 4.1.2 ci-info: 2.0.0 connect: 3.7.0 debug: 2.6.9 denodeify: 1.2.1 error-stack-parser: 2.1.4 graceful-fs: 4.2.11 hermes-parser: 0.12.0 image-size: 1.0.2 invariant: 2.2.4 jest-worker: 27.5.1 jsc-safe-url: 0.2.4 lodash.throttle: 4.1.1 metro-babel-transformer: 0.76.7 metro-cache: 0.76.7 metro-cache-key: 0.76.7 metro-config: 0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10) metro-core: 0.76.7 metro-file-map: 0.76.7 metro-inspector-proxy: 0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10) metro-minify-terser: 0.76.7 metro-minify-uglify: 0.76.7 metro-react-native-babel-preset: 0.76.7(@babel/core@7.22.9) metro-resolver: 0.76.7 metro-runtime: 0.76.7 metro-source-map: 0.76.7 metro-symbolicate: 0.76.7 metro-transform-plugins: 0.76.7 metro-transform-worker: 0.76.7(bufferutil@4.0.7)(utf-8-validate@5.0.10) mime-types: 2.1.35 node-fetch: 2.7.0 nullthrows: 1.1.1 rimraf: 3.0.2 serialize-error: 2.1.0 source-map: 0.5.7 strip-ansi: 6.0.1 throat: 5.0.0 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) yargs: 17.7.2 transitivePeerDependencies: - bufferutil - encoding - supports-color - utf-8-validate micro-ftch@0.3.1: {} micromatch@4.0.5: dependencies: braces: 3.0.2 picomatch: 2.3.1 miller-rabin@4.0.1: dependencies: bn.js: 4.12.0 brorand: 1.1.0 mime-db@1.52.0: {} mime-types@2.1.35: dependencies: mime-db: 1.52.0 mime@1.6.0: {} mime@2.6.0: {} mimic-fn@1.2.0: {} mimic-fn@2.1.0: {} min-indent@1.0.1: {} mini-css-extract-plugin@2.7.6(webpack@5.88.2): dependencies: schema-utils: 4.2.0 webpack: 5.88.2 minimalistic-assert@1.0.1: {} minimalistic-crypto-utils@1.0.1: {} minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 minimatch@5.1.6: dependencies: brace-expansion: 2.0.1 minimatch@7.4.6: dependencies: brace-expansion: 2.0.1 minimist-options@4.1.0: dependencies: arrify: 1.0.1 is-plain-obj: 1.1.0 kind-of: 6.0.3 minimist@1.2.8: {} minipass-collect@1.0.2: dependencies: minipass: 3.3.6 minipass-flush@1.0.5: dependencies: minipass: 3.3.6 minipass-pipeline@1.2.4: dependencies: minipass: 3.3.6 minipass@3.3.6: dependencies: yallist: 4.0.0 minipass@5.0.0: {} minizlib@2.1.2: dependencies: minipass: 3.3.6 yallist: 4.0.0 mixme@0.5.9: {} mkdirp@0.5.6: dependencies: minimist: 1.2.8 mkdirp@1.0.4: {} moment@2.29.4: {} ms@2.0.0: {} ms@2.1.2: {} ms@2.1.3: {} msgpackr-extract@3.0.2: dependencies: node-gyp-build-optional-packages: 5.0.7 optionalDependencies: '@msgpackr-extract/msgpackr-extract-darwin-arm64': 3.0.2 '@msgpackr-extract/msgpackr-extract-darwin-x64': 3.0.2 '@msgpackr-extract/msgpackr-extract-linux-arm': 3.0.2 '@msgpackr-extract/msgpackr-extract-linux-arm64': 3.0.2 '@msgpackr-extract/msgpackr-extract-linux-x64': 3.0.2 '@msgpackr-extract/msgpackr-extract-win32-x64': 3.0.2 optional: true msgpackr@1.8.5: optionalDependencies: msgpackr-extract: 3.0.2 msgpackr@1.9.5: optionalDependencies: msgpackr-extract: 3.0.2 multicast-dns@7.2.5: dependencies: dns-packet: 5.6.0 thunky: 1.1.0 multiformats@9.9.0: {} mv@2.1.1: dependencies: mkdirp: 0.5.6 ncp: 2.0.0 rimraf: 2.4.5 optional: true mz@2.7.0: dependencies: any-promise: 1.3.0 object-assign: 4.1.1 thenify-all: 1.6.0 nan@2.18.0: {} nanoid@3.3.6: {} nanoid@3.3.7: {} natural-compare-lite@1.4.0: {} natural-compare@1.4.0: {} ncp@2.0.0: optional: true needle@3.2.0: dependencies: debug: 3.2.7 iconv-lite: 0.6.3 sax: 1.2.4 transitivePeerDependencies: - supports-color optional: true negotiator@0.6.3: {} neo-async@2.6.2: {} nested-error-stacks@2.0.1: {} next-plugin-antd-less@1.8.0(webpack@5.88.2): dependencies: clone: 2.1.2 less: 4.1.3 less-loader: 7.3.0(less@4.1.3)(webpack@5.88.2) loader-utils: 3.2.1 null-loader: 4.0.1(webpack@5.88.2) transitivePeerDependencies: - supports-color - webpack next@12.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@next/env': 12.3.4 '@swc/helpers': 0.4.11 caniuse-lite: 1.0.30001517 postcss: 8.4.14 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) styled-jsx: 5.0.7(react@18.2.0) use-sync-external-store: 1.2.0(react@18.2.0) optionalDependencies: '@next/swc-android-arm-eabi': 12.3.4 '@next/swc-android-arm64': 12.3.4 '@next/swc-darwin-arm64': 12.3.4 '@next/swc-darwin-x64': 12.3.4 '@next/swc-freebsd-x64': 12.3.4 '@next/swc-linux-arm-gnueabihf': 12.3.4 '@next/swc-linux-arm64-gnu': 12.3.4 '@next/swc-linux-arm64-musl': 12.3.4 '@next/swc-linux-x64-gnu': 12.3.4 '@next/swc-linux-x64-musl': 12.3.4 '@next/swc-win32-arm64-msvc': 12.3.4 '@next/swc-win32-ia32-msvc': 12.3.4 '@next/swc-win32-x64-msvc': 12.3.4 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros nice-try@1.0.5: {} no-case@3.0.4: dependencies: lower-case: 2.0.2 tslib: 2.6.0 nocache@3.0.4: {} node-abort-controller@3.1.1: {} node-addon-api@2.0.2: {} node-addon-api@3.2.1: {} node-addon-api@4.3.0: {} node-addon-api@7.0.0: {} node-dir@0.1.17: dependencies: minimatch: 3.1.2 node-fetch@2.6.12: dependencies: whatwg-url: 5.0.0 node-fetch@2.7.0: dependencies: whatwg-url: 5.0.0 node-forge@1.3.1: {} node-gyp-build-optional-packages@5.0.6: {} node-gyp-build-optional-packages@5.0.7: optional: true node-gyp-build@4.6.0: {} node-int64@0.4.0: {} node-releases@2.0.13: {} node-stream-zip@1.15.0: {} normalize-package-data@2.5.0: dependencies: hosted-git-info: 2.8.9 resolve: 1.22.2 semver: 5.7.2 validate-npm-package-license: 3.0.4 normalize-path@3.0.0: {} normalize-range@0.1.2: {} normalize-url@6.1.0: {} notistack@3.0.1(csstype@3.1.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: clsx: 1.2.1 goober: 2.1.13(csstype@3.1.2) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) transitivePeerDependencies: - csstype npm-package-arg@7.0.0: dependencies: hosted-git-info: 3.0.8 osenv: 0.1.5 semver: 5.7.2 validate-npm-package-name: 3.0.0 npm-run-path@2.0.2: dependencies: path-key: 2.0.1 npm-run-path@4.0.1: dependencies: path-key: 3.1.1 nth-check@1.0.2: dependencies: boolbase: 1.0.0 nth-check@2.1.1: dependencies: boolbase: 1.0.0 null-loader@4.0.1(webpack@5.88.2): dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 webpack: 5.88.2 nullthrows@1.1.1: {} nwsapi@2.2.7: {} ob1@0.76.7: {} object-assign@4.1.1: {} object-hash@3.0.0: {} object-inspect@1.12.3: {} object-is@1.1.5: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 object-keys@1.1.1: {} object.assign@4.1.4: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 has-symbols: 1.0.3 object-keys: 1.1.1 object.entries@1.1.6: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 object.fromentries@2.0.6: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 object.getownpropertydescriptors@2.1.6: dependencies: array.prototype.reduce: 1.0.5 call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 safe-array-concat: 1.0.0 object.hasown@1.1.2: dependencies: define-properties: 1.2.0 es-abstract: 1.22.1 object.values@1.1.6: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 oblivious-set@1.1.1: {} obuf@1.1.2: {} on-exit-leak-free@0.2.0: {} on-exit-leak-free@2.1.0: {} on-finished@2.3.0: dependencies: ee-first: 1.1.1 on-finished@2.4.1: dependencies: ee-first: 1.1.1 on-headers@1.0.2: {} once@1.4.0: dependencies: wrappy: 1.0.2 onetime@2.0.1: dependencies: mimic-fn: 1.2.0 onetime@5.1.2: dependencies: mimic-fn: 2.1.0 open@6.4.0: dependencies: is-wsl: 1.1.0 open@7.4.2: dependencies: is-docker: 2.2.1 is-wsl: 2.2.0 open@8.4.2: dependencies: define-lazy-prop: 2.0.0 is-docker: 2.2.1 is-wsl: 2.2.0 optionator@0.9.3: dependencies: '@aashutoshrathi/word-wrap': 1.2.6 deep-is: 0.1.4 fast-levenshtein: 2.0.6 levn: 0.4.1 prelude-ls: 1.2.1 type-check: 0.4.0 ora@3.4.0: dependencies: chalk: 2.4.2 cli-cursor: 2.1.0 cli-spinners: 2.9.0 log-symbols: 2.2.0 strip-ansi: 5.2.0 wcwidth: 1.0.1 ora@5.4.1: dependencies: bl: 4.1.0 chalk: 4.1.2 cli-cursor: 3.1.0 cli-spinners: 2.9.0 is-interactive: 1.0.0 is-unicode-supported: 0.1.0 log-symbols: 4.1.0 strip-ansi: 6.0.1 wcwidth: 1.0.1 ordered-binary@1.4.1: {} os-homedir@1.0.2: {} os-tmpdir@1.0.2: {} osenv@0.1.5: dependencies: os-homedir: 1.0.2 os-tmpdir: 1.0.2 outdent@0.5.0: {} p-filter@2.1.0: dependencies: p-map: 2.1.0 p-finally@1.0.0: {} p-limit@2.3.0: dependencies: p-try: 2.2.0 p-limit@3.1.0: dependencies: yocto-queue: 0.1.0 p-locate@3.0.0: dependencies: p-limit: 2.3.0 p-locate@4.1.0: dependencies: p-limit: 2.3.0 p-locate@5.0.0: dependencies: p-limit: 3.1.0 p-map@2.1.0: {} p-map@4.0.0: dependencies: aggregate-error: 3.1.0 p-retry@4.6.2: dependencies: '@types/retry': 0.12.0 retry: 0.13.1 p-try@2.2.0: {} pako@1.0.11: {} param-case@3.0.4: dependencies: dot-case: 3.0.4 tslib: 2.6.0 parcel@2.9.3(@swc/helpers@0.5.1)(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(terser@5.19.1): dependencies: '@parcel/config-default': 2.9.3(@parcel/core@2.9.3)(@swc/helpers@0.5.1)(postcss@8.4.35)(relateurl@0.2.7)(srcset@4.0.0)(terser@5.19.1) '@parcel/core': 2.9.3 '@parcel/diagnostic': 2.9.3 '@parcel/events': 2.9.3 '@parcel/fs': 2.9.3(@parcel/core@2.9.3) '@parcel/logger': 2.9.3 '@parcel/package-manager': 2.9.3(@parcel/core@2.9.3) '@parcel/reporter-cli': 2.9.3(@parcel/core@2.9.3) '@parcel/reporter-dev-server': 2.9.3(@parcel/core@2.9.3) '@parcel/reporter-tracer': 2.9.3(@parcel/core@2.9.3) '@parcel/utils': 2.9.3 chalk: 4.1.2 commander: 7.2.0 get-port: 4.2.0 transitivePeerDependencies: - '@swc/helpers' - cssnano - postcss - purgecss - relateurl - srcset - terser - uncss parent-module@1.0.1: dependencies: callsites: 3.1.0 parse-asn1@5.1.6: dependencies: asn1.js: 5.4.1 browserify-aes: 1.2.0 evp_bytestokey: 1.0.3 pbkdf2: 3.1.2 safe-buffer: 5.2.1 parse-json@4.0.0: dependencies: error-ex: 1.3.2 json-parse-better-errors: 1.0.2 parse-json@5.2.0: dependencies: '@babel/code-frame': 7.22.5 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 parse-node-version@1.0.1: {} parse-png@2.1.0: dependencies: pngjs: 3.4.0 parse5@6.0.1: {} parseurl@1.3.3: {} pascal-case@3.1.2: dependencies: no-case: 3.0.4 tslib: 2.6.0 password-prompt@1.1.3: dependencies: ansi-escapes: 4.3.2 cross-spawn: 7.0.3 path-exists@3.0.0: {} path-exists@4.0.0: {} path-is-absolute@1.0.1: {} path-key@2.0.1: {} path-key@3.1.1: {} path-parse@1.0.7: {} path-to-regexp@0.1.7: {} path-type@4.0.0: {} pbkdf2@3.1.2: dependencies: create-hash: 1.2.0 create-hmac: 1.1.7 ripemd160: 2.0.2 safe-buffer: 5.2.1 sha.js: 2.4.11 performance-now@2.1.0: {} picocolors@0.2.1: {} picocolors@1.0.0: {} picomatch@2.3.1: {} picomatch@3.0.1: {} pify@2.3.0: {} pify@4.0.1: {} pinkie-promise@2.0.1: dependencies: pinkie: 2.0.4 pinkie@2.0.4: {} pino-abstract-transport@0.5.0: dependencies: duplexify: 4.1.2 split2: 4.2.0 pino-abstract-transport@1.0.0: dependencies: readable-stream: 4.4.2 split2: 4.2.0 pino-pretty@10.0.1: dependencies: colorette: 2.0.20 dateformat: 4.6.3 fast-copy: 3.0.1 fast-safe-stringify: 2.1.1 help-me: 4.2.0 joycon: 3.1.1 minimist: 1.2.8 on-exit-leak-free: 2.1.0 pino-abstract-transport: 1.0.0 pump: 3.0.0 readable-stream: 4.4.2 secure-json-parse: 2.7.0 sonic-boom: 3.3.0 strip-json-comments: 3.1.1 pino-std-serializers@4.0.0: {} pino-std-serializers@6.2.2: {} pino@7.11.0: dependencies: atomic-sleep: 1.0.0 fast-redact: 3.2.0 on-exit-leak-free: 0.2.0 pino-abstract-transport: 0.5.0 pino-std-serializers: 4.0.0 process-warning: 1.0.0 quick-format-unescaped: 4.0.4 real-require: 0.1.0 safe-stable-stringify: 2.4.3 sonic-boom: 2.8.0 thread-stream: 0.15.2 pirates@4.0.6: {} pkg-dir@3.0.0: dependencies: find-up: 3.0.0 pkg-dir@4.2.0: dependencies: find-up: 4.1.0 pkg-up@3.1.0: dependencies: find-up: 3.0.0 plist@3.1.0: dependencies: '@xmldom/xmldom': 0.8.10 base64-js: 1.5.1 xmlbuilder: 15.1.1 pngjs@3.4.0: {} pnpm@9.1.1: {} pony-cause@2.1.10: {} postcss-attribute-case-insensitive@5.0.2(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-browser-comments@4.0.0(browserslist@4.21.9)(postcss@8.4.26): dependencies: browserslist: 4.21.9 postcss: 8.4.26 postcss-calc@8.2.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-value-parser: 4.2.0 postcss-clamp@4.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-color-functional-notation@4.2.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-color-hex-alpha@8.0.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-color-rebeccapurple@7.1.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-colormin@5.3.1(postcss@8.4.26): dependencies: browserslist: 4.21.9 caniuse-api: 3.0.0 colord: 2.9.3 postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-convert-values@5.1.3(postcss@8.4.26): dependencies: browserslist: 4.21.9 postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-custom-media@8.0.2(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-custom-properties@12.1.11(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-custom-selectors@6.0.3(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-dir-pseudo-class@6.0.5(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-discard-comments@5.1.2(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-discard-duplicates@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-discard-empty@5.1.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-discard-overridden@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-double-position-gradients@3.1.2(postcss@8.4.26): dependencies: '@csstools/postcss-progressive-custom-properties': 1.3.0(postcss@8.4.26) postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-env-function@4.0.6(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-flexbugs-fixes@5.0.2(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-focus-visible@6.0.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-focus-within@5.0.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-font-variant@5.0.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-gap-properties@3.0.5(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-image-set-function@4.0.7(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-import@15.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.2 postcss-initial@4.0.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-js@4.0.1(postcss@8.4.26): dependencies: camelcase-css: 2.0.1 postcss: 8.4.26 postcss-lab-function@4.2.1(postcss@8.4.26): dependencies: '@csstools/postcss-progressive-custom-properties': 1.3.0(postcss@8.4.26) postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-load-config@4.0.1(postcss@8.4.26): dependencies: lilconfig: 2.1.0 yaml: 2.3.1 optionalDependencies: postcss: 8.4.26 postcss-loader@6.2.1(postcss@8.4.26)(webpack@5.88.2): dependencies: cosmiconfig: 7.1.0 klona: 2.0.6 postcss: 8.4.26 semver: 7.5.4 webpack: 5.88.2 postcss-logical@5.0.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-media-minmax@5.0.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-merge-longhand@5.1.7(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 stylehacks: 5.1.1(postcss@8.4.26) postcss-merge-rules@5.1.4(postcss@8.4.26): dependencies: browserslist: 4.21.9 caniuse-api: 3.0.0 cssnano-utils: 3.1.0(postcss@8.4.26) postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-minify-font-values@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-minify-gradients@5.1.1(postcss@8.4.26): dependencies: colord: 2.9.3 cssnano-utils: 3.1.0(postcss@8.4.26) postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-minify-params@5.1.4(postcss@8.4.26): dependencies: browserslist: 4.21.9 cssnano-utils: 3.1.0(postcss@8.4.26) postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-minify-selectors@5.2.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-modules-extract-imports@3.0.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-modules-local-by-default@4.0.3(postcss@8.4.26): dependencies: icss-utils: 5.1.0(postcss@8.4.26) postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-value-parser: 4.2.0 postcss-modules-scope@3.0.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-modules-values@4.0.0(postcss@8.4.26): dependencies: icss-utils: 5.1.0(postcss@8.4.26) postcss: 8.4.26 postcss-nested@6.0.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-nesting@10.2.0(postcss@8.4.26): dependencies: '@csstools/selector-specificity': 2.2.0(postcss-selector-parser@6.0.13) postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-normalize-charset@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-normalize-display-values@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-normalize-positions@5.1.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-normalize-repeat-style@5.1.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-normalize-string@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-normalize-timing-functions@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-normalize-unicode@5.1.1(postcss@8.4.26): dependencies: browserslist: 4.21.9 postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-normalize-url@5.1.0(postcss@8.4.26): dependencies: normalize-url: 6.1.0 postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-normalize-whitespace@5.1.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-normalize@10.0.1(browserslist@4.21.9)(postcss@8.4.26): dependencies: '@csstools/normalize.css': 12.0.0 browserslist: 4.21.9 postcss: 8.4.26 postcss-browser-comments: 4.0.0(browserslist@4.21.9)(postcss@8.4.26) sanitize.css: 13.0.0 postcss-opacity-percentage@1.1.3(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-ordered-values@5.1.3(postcss@8.4.26): dependencies: cssnano-utils: 3.1.0(postcss@8.4.26) postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-overflow-shorthand@3.0.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-page-break@3.0.4(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-place@7.0.5(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-preset-env@7.8.3(postcss@8.4.26): dependencies: '@csstools/postcss-cascade-layers': 1.1.1(postcss@8.4.26) '@csstools/postcss-color-function': 1.1.1(postcss@8.4.26) '@csstools/postcss-font-format-keywords': 1.0.1(postcss@8.4.26) '@csstools/postcss-hwb-function': 1.0.2(postcss@8.4.26) '@csstools/postcss-ic-unit': 1.0.1(postcss@8.4.26) '@csstools/postcss-is-pseudo-class': 2.0.7(postcss@8.4.26) '@csstools/postcss-nested-calc': 1.0.0(postcss@8.4.26) '@csstools/postcss-normalize-display-values': 1.0.1(postcss@8.4.26) '@csstools/postcss-oklab-function': 1.1.1(postcss@8.4.26) '@csstools/postcss-progressive-custom-properties': 1.3.0(postcss@8.4.26) '@csstools/postcss-stepped-value-functions': 1.0.1(postcss@8.4.26) '@csstools/postcss-text-decoration-shorthand': 1.0.0(postcss@8.4.26) '@csstools/postcss-trigonometric-functions': 1.0.2(postcss@8.4.26) '@csstools/postcss-unset-value': 1.0.2(postcss@8.4.26) autoprefixer: 10.4.14(postcss@8.4.26) browserslist: 4.21.9 css-blank-pseudo: 3.0.3(postcss@8.4.26) css-has-pseudo: 3.0.4(postcss@8.4.26) css-prefers-color-scheme: 6.0.3(postcss@8.4.26) cssdb: 7.6.0 postcss: 8.4.26 postcss-attribute-case-insensitive: 5.0.2(postcss@8.4.26) postcss-clamp: 4.1.0(postcss@8.4.26) postcss-color-functional-notation: 4.2.4(postcss@8.4.26) postcss-color-hex-alpha: 8.0.4(postcss@8.4.26) postcss-color-rebeccapurple: 7.1.1(postcss@8.4.26) postcss-custom-media: 8.0.2(postcss@8.4.26) postcss-custom-properties: 12.1.11(postcss@8.4.26) postcss-custom-selectors: 6.0.3(postcss@8.4.26) postcss-dir-pseudo-class: 6.0.5(postcss@8.4.26) postcss-double-position-gradients: 3.1.2(postcss@8.4.26) postcss-env-function: 4.0.6(postcss@8.4.26) postcss-focus-visible: 6.0.4(postcss@8.4.26) postcss-focus-within: 5.0.4(postcss@8.4.26) postcss-font-variant: 5.0.0(postcss@8.4.26) postcss-gap-properties: 3.0.5(postcss@8.4.26) postcss-image-set-function: 4.0.7(postcss@8.4.26) postcss-initial: 4.0.1(postcss@8.4.26) postcss-lab-function: 4.2.1(postcss@8.4.26) postcss-logical: 5.0.4(postcss@8.4.26) postcss-media-minmax: 5.0.0(postcss@8.4.26) postcss-nesting: 10.2.0(postcss@8.4.26) postcss-opacity-percentage: 1.1.3(postcss@8.4.26) postcss-overflow-shorthand: 3.0.4(postcss@8.4.26) postcss-page-break: 3.0.4(postcss@8.4.26) postcss-place: 7.0.5(postcss@8.4.26) postcss-pseudo-class-any-link: 7.1.6(postcss@8.4.26) postcss-replace-overflow-wrap: 4.0.0(postcss@8.4.26) postcss-selector-not: 6.0.1(postcss@8.4.26) postcss-value-parser: 4.2.0 postcss-pseudo-class-any-link@7.1.6(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-reduce-initial@5.1.2(postcss@8.4.26): dependencies: browserslist: 4.21.9 caniuse-api: 3.0.0 postcss: 8.4.26 postcss-reduce-transforms@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 postcss-replace-overflow-wrap@4.0.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-not@6.0.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-selector-parser@6.0.13: dependencies: cssesc: 3.0.0 util-deprecate: 1.0.2 postcss-svgo@5.1.0(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-value-parser: 4.2.0 svgo: 2.8.0 postcss-unique-selectors@5.1.1(postcss@8.4.26): dependencies: postcss: 8.4.26 postcss-selector-parser: 6.0.13 postcss-value-parser@4.2.0: {} postcss@7.0.39: dependencies: picocolors: 0.2.1 source-map: 0.6.1 postcss@8.4.14: dependencies: nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 postcss@8.4.26: dependencies: nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 postcss@8.4.35: dependencies: nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.0.2 posthtml-parser@0.10.2: dependencies: htmlparser2: 7.2.0 posthtml-parser@0.11.0: dependencies: htmlparser2: 7.2.0 posthtml-render@3.0.0: dependencies: is-json: 2.0.1 posthtml@0.16.6: dependencies: posthtml-parser: 0.11.0 posthtml-render: 3.0.0 preact@10.4.1: {} preferred-pm@3.0.3: dependencies: find-up: 5.0.0 find-yarn-workspace-root2: 1.2.16 path-exists: 4.0.0 which-pm: 2.0.0 prelude-ls@1.2.1: {} prettier-linter-helpers@1.0.0: dependencies: fast-diff: 1.3.0 prettier@2.8.8: {} pretty-bytes@5.6.0: {} pretty-error@4.0.0: dependencies: lodash: 4.17.21 renderkid: 3.0.0 pretty-format@26.6.2: dependencies: '@jest/types': 26.6.2 ansi-regex: 5.0.1 ansi-styles: 4.3.0 react-is: 17.0.2 pretty-format@27.5.1: dependencies: ansi-regex: 5.0.1 ansi-styles: 5.2.0 react-is: 17.0.2 pretty-format@28.1.3: dependencies: '@jest/schemas': 28.1.3 ansi-regex: 5.0.1 ansi-styles: 5.2.0 react-is: 18.2.0 pretty-format@29.6.1: dependencies: '@jest/schemas': 29.6.0 ansi-styles: 5.2.0 react-is: 18.2.0 process-nextick-args@2.0.1: {} process-warning@1.0.0: {} process@0.11.10: {} progress@2.0.3: {} promise-inflight@1.0.1: {} promise@7.3.1: dependencies: asap: 2.0.6 promise@8.3.0: dependencies: asap: 2.0.6 prompts@2.4.2: dependencies: kleur: 3.0.3 sisteransi: 1.0.5 prop-types@15.8.1: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 react-is: 16.13.1 protobufjs@7.2.6: dependencies: '@protobufjs/aspromise': 1.1.2 '@protobufjs/base64': 1.1.2 '@protobufjs/codegen': 2.0.4 '@protobufjs/eventemitter': 1.1.0 '@protobufjs/fetch': 1.1.0 '@protobufjs/float': 1.0.2 '@protobufjs/inquire': 1.1.0 '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 '@types/node': 18.16.19 long: 5.2.3 proxy-addr@2.0.7: dependencies: forwarded: 0.2.0 ipaddr.js: 1.9.1 prr@1.0.1: optional: true pseudomap@1.0.2: {} psl@1.9.0: {} public-encrypt@4.0.3: dependencies: bn.js: 4.12.0 browserify-rsa: 4.1.0 create-hash: 1.2.0 parse-asn1: 5.1.6 randombytes: 2.1.0 safe-buffer: 5.2.1 pump@3.0.0: dependencies: end-of-stream: 1.4.4 once: 1.4.0 punycode@1.4.1: {} punycode@2.3.0: {} pushdata-bitcoin@1.0.1: dependencies: bitcoin-ops: 1.4.1 q@1.5.1: {} qr.js@0.0.0: {} qrcode-terminal@0.11.0: {} qrcode.react@1.0.1(react@18.2.0): dependencies: loose-envify: 1.4.0 prop-types: 15.8.1 qr.js: 0.0.0 react: 18.2.0 qrcode@1.4.4: dependencies: buffer: 5.7.1 buffer-alloc: 1.2.0 buffer-from: 1.1.2 dijkstrajs: 1.0.3 isarray: 2.0.5 pngjs: 3.4.0 yargs: 13.3.2 qs@6.11.0: dependencies: side-channel: 1.0.4 qs@6.11.2: dependencies: side-channel: 1.0.4 query-string@7.1.3: dependencies: decode-uri-component: 0.2.2 filter-obj: 1.1.0 split-on-first: 1.1.0 strict-uri-encode: 2.0.0 querystringify@2.2.0: {} queue-microtask@1.2.3: {} queue@6.0.2: dependencies: inherits: 2.0.4 quick-format-unescaped@4.0.4: {} quick-lru@4.0.1: {} raf@3.4.1: dependencies: performance-now: 2.1.0 randombytes@2.1.0: dependencies: safe-buffer: 5.2.1 randomfill@1.0.4: dependencies: randombytes: 2.1.0 safe-buffer: 5.2.1 range-parser@1.2.1: {} raw-body@2.5.1: dependencies: bytes: 3.1.2 http-errors: 2.0.0 iconv-lite: 0.4.24 unpipe: 1.0.0 rc-align@4.0.15(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 dom-align: 1.12.4 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) resize-observer-polyfill: 1.5.1 rc-cascader@3.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 array-tree-filter: 2.1.0 classnames: 2.3.2 rc-select: 14.1.17(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-tree: 5.7.9(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-checkbox@3.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-collapse@3.4.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 rc-dialog@9.0.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 '@rc-component/portal': 1.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) classnames: 2.3.2 rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-drawer@6.3.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 '@rc-component/portal': 1.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) classnames: 2.3.2 rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-dropdown@4.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-trigger: 5.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-field-form@1.34.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 async-validator: 4.2.5 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-image@5.13.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 '@rc-component/portal': 1.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) classnames: 2.3.2 rc-dialog: 9.0.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-input-number@7.3.11(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-input@0.1.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-mentions@1.13.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-menu: 9.8.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-textarea: 0.4.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-trigger: 5.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-menu@9.8.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-overflow: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-trigger: 5.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-motion@2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-notification@4.6.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-overflow@1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-resize-observer: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-pagination@3.2.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-picker@2.7.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 date-fns: 2.30.0 dayjs: 1.11.9 moment: 2.29.4 rc-trigger: 5.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 rc-progress@3.4.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-rate@2.9.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-resize-observer@1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) resize-observer-polyfill: 1.5.1 rc-segmented@2.1.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-select@14.1.17(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-overflow: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-trigger: 5.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-virtual-list: 3.5.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-slider@10.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 rc-steps@5.0.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-switch@3.2.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-table@7.26.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-resize-observer: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 rc-tabs@12.5.10(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-dropdown: 4.0.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-menu: 9.8.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-resize-observer: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-textarea@0.4.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-resize-observer: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) shallowequal: 1.1.0 rc-tooltip@5.2.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-trigger: 5.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-tree-select@5.5.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-select: 14.1.17(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-tree: 5.7.9(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-tree@5.7.9(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-virtual-list: 3.5.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-trigger@5.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-align: 4.0.15(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-motion: 2.7.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-upload@4.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc-util@5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-is: 16.13.1 rc-virtual-list@3.5.3(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 classnames: 2.3.2 rc-resize-observer: 1.3.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) rc-util: 5.34.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) rc@1.2.8: dependencies: deep-extend: 0.6.0 ini: 1.3.8 minimist: 1.2.8 strip-json-comments: 2.0.1 react-app-polyfill@3.0.0: dependencies: core-js: 3.31.1 object-assign: 4.1.1 promise: 8.3.0 raf: 3.4.1 regenerator-runtime: 0.13.11 whatwg-fetch: 3.6.16 react-app-rewired@2.2.1(react-scripts@5.0.1(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(@types/babel__core@7.20.1)(bufferutil@4.0.7)(eslint@8.22.0)(react@18.2.0)(type-fest@0.21.3)(typescript@4.7.4)(utf-8-validate@5.0.10)): dependencies: react-scripts: 5.0.1(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(@types/babel__core@7.20.1)(bufferutil@4.0.7)(eslint@8.22.0)(react@18.2.0)(type-fest@0.21.3)(typescript@4.7.4)(utf-8-validate@5.0.10) semver: 5.7.2 react-dev-utils@12.0.1(eslint@8.22.0)(typescript@4.7.4)(webpack@5.88.2): dependencies: '@babel/code-frame': 7.22.5 address: 1.2.2 browserslist: 4.21.9 chalk: 4.1.2 cross-spawn: 7.0.3 detect-port-alt: 1.1.6 escape-string-regexp: 4.0.0 filesize: 8.0.7 find-up: 5.0.0 fork-ts-checker-webpack-plugin: 6.5.3(eslint@8.22.0)(typescript@4.7.4)(webpack@5.88.2) global-modules: 2.0.0 globby: 11.1.0 gzip-size: 6.0.0 immer: 9.0.21 is-root: 2.1.0 loader-utils: 3.2.1 open: 8.4.2 pkg-up: 3.1.0 prompts: 2.4.2 react-error-overlay: 6.0.11 recursive-readdir: 2.2.3 shell-quote: 1.8.1 strip-ansi: 6.0.1 text-table: 0.2.0 webpack: 5.88.2 optionalDependencies: typescript: 4.7.4 transitivePeerDependencies: - eslint - supports-color - vue-template-compiler react-devtools-core@4.28.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: shell-quote: 1.8.1 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - utf-8-validate react-dom@18.2.0(react@18.2.0): dependencies: loose-envify: 1.4.0 react: 18.2.0 scheduler: 0.23.0 react-error-overlay@6.0.11: {} react-error-overlay@6.0.9: {} react-is@16.13.1: {} react-is@17.0.2: {} react-is@18.2.0: {} react-lifecycles-compat@3.0.4: {} react-modal@3.16.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: exenv: 1.2.2 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react-lifecycles-compat: 3.0.4 warning: 4.0.3 react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.6.1 '@react-native-community/cli': 11.3.5(@babel/core@7.22.9)(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@react-native-community/cli-platform-android': 11.3.5 '@react-native-community/cli-platform-ios': 11.3.5 '@react-native/assets-registry': 0.72.0 '@react-native/codegen': 0.72.6(@babel/preset-env@7.22.9(@babel/core@7.22.9)) '@react-native/gradle-plugin': 0.72.11 '@react-native/js-polyfills': 0.72.1 '@react-native/normalize-colors': 0.72.0 '@react-native/virtualized-lists': 0.72.6(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(react@18.2.0)(utf-8-validate@5.0.10)) abort-controller: 3.0.0 anser: 1.4.10 base64-js: 1.5.1 deprecated-react-native-prop-types: 4.1.0 event-target-shim: 5.0.1 flow-enums-runtime: 0.0.5 invariant: 2.2.4 jest-environment-node: 29.6.1 jsc-android: 250231.0.0 memoize-one: 5.2.1 metro-runtime: 0.76.7 metro-source-map: 0.76.7 mkdirp: 0.5.6 nullthrows: 1.1.1 pretty-format: 26.6.2 promise: 8.3.0 react: 18.2.0 react-devtools-core: 4.28.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) react-refresh: 0.4.3 react-shallow-renderer: 16.15.0(react@18.2.0) regenerator-runtime: 0.13.11 scheduler: 0.24.0-canary-efb381bbf-20230505 stacktrace-parser: 0.1.10 use-sync-external-store: 1.2.0(react@18.2.0) whatwg-fetch: 3.6.16 ws: 6.2.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) yargs: 17.7.2 transitivePeerDependencies: - '@babel/core' - '@babel/preset-env' - bufferutil - encoding - supports-color - utf-8-validate react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.6.1 '@react-native-community/cli': 11.3.5(@babel/core@7.22.9)(bufferutil@4.0.7)(utf-8-validate@5.0.10) '@react-native-community/cli-platform-android': 11.3.5 '@react-native-community/cli-platform-ios': 11.3.5 '@react-native/assets-registry': 0.72.0 '@react-native/codegen': 0.72.6(@babel/preset-env@7.22.9(@babel/core@7.22.9)) '@react-native/gradle-plugin': 0.72.11 '@react-native/js-polyfills': 0.72.1 '@react-native/normalize-colors': 0.72.0 '@react-native/virtualized-lists': 0.72.6(react-native@0.72.3(@babel/core@7.22.9)(@babel/preset-env@7.22.9(@babel/core@7.22.9))(bufferutil@4.0.7)(utf-8-validate@5.0.10)) abort-controller: 3.0.0 anser: 1.4.10 base64-js: 1.5.1 deprecated-react-native-prop-types: 4.1.0 event-target-shim: 5.0.1 flow-enums-runtime: 0.0.5 invariant: 2.2.4 jest-environment-node: 29.6.1 jsc-android: 250231.0.0 memoize-one: 5.2.1 metro-runtime: 0.76.7 metro-source-map: 0.76.7 mkdirp: 0.5.6 nullthrows: 1.1.1 pretty-format: 26.6.2 promise: 8.3.0 react-devtools-core: 4.28.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) react-refresh: 0.4.3 react-shallow-renderer: 16.15.0(react@18.2.0) regenerator-runtime: 0.13.11 scheduler: 0.24.0-canary-efb381bbf-20230505 stacktrace-parser: 0.1.10 use-sync-external-store: 1.2.0(react@18.2.0) whatwg-fetch: 3.6.16 ws: 6.2.2(bufferutil@4.0.7)(utf-8-validate@5.0.10) yargs: 17.7.2 transitivePeerDependencies: - '@babel/core' - '@babel/preset-env' - bufferutil - encoding - supports-color - utf-8-validate optional: true react-qr-reader@2.2.1(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: jsqr: 1.4.0 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) webrtc-adapter: 7.7.1 react-refresh@0.11.0: {} react-refresh@0.14.0: {} react-refresh@0.4.3: {} react-refresh@0.9.0: {} react-scripts@5.0.1(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(@types/babel__core@7.20.1)(bufferutil@4.0.7)(eslint@8.22.0)(react@18.2.0)(type-fest@0.21.3)(typescript@4.7.4)(utf-8-validate@5.0.10): dependencies: '@babel/core': 7.22.9 '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.11.0)(type-fest@0.21.3)(webpack-dev-server@4.15.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)(webpack@5.88.2))(webpack@5.88.2) '@svgr/webpack': 5.5.0 babel-jest: 27.5.1(@babel/core@7.22.9) babel-loader: 8.3.0(@babel/core@7.22.9)(webpack@5.88.2) babel-plugin-named-asset-import: 0.3.8(@babel/core@7.22.9) babel-preset-react-app: 10.0.1 bfj: 7.0.2 browserslist: 4.21.9 camelcase: 6.3.0 case-sensitive-paths-webpack-plugin: 2.4.0 css-loader: 6.8.1(webpack@5.88.2) css-minimizer-webpack-plugin: 3.4.1(webpack@5.88.2) dotenv: 10.0.0 dotenv-expand: 5.1.0 eslint: 8.22.0 eslint-config-react-app: 7.0.1(@babel/plugin-syntax-flow@7.22.5(@babel/core@7.22.9))(@babel/plugin-transform-react-jsx@7.23.4(@babel/core@7.22.9))(eslint@8.22.0)(jest@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10))(typescript@4.7.4) eslint-webpack-plugin: 3.2.0(eslint@8.22.0)(webpack@5.88.2) file-loader: 6.2.0(webpack@5.88.2) fs-extra: 10.1.0 html-webpack-plugin: 5.5.3(webpack@5.88.2) identity-obj-proxy: 3.0.0 jest: 27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) jest-resolve: 27.5.1 jest-watch-typeahead: 1.1.0(jest@27.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)) mini-css-extract-plugin: 2.7.6(webpack@5.88.2) postcss: 8.4.26 postcss-flexbugs-fixes: 5.0.2(postcss@8.4.26) postcss-loader: 6.2.1(postcss@8.4.26)(webpack@5.88.2) postcss-normalize: 10.0.1(browserslist@4.21.9)(postcss@8.4.26) postcss-preset-env: 7.8.3(postcss@8.4.26) prompts: 2.4.2 react: 18.2.0 react-app-polyfill: 3.0.0 react-dev-utils: 12.0.1(eslint@8.22.0)(typescript@4.7.4)(webpack@5.88.2) react-refresh: 0.11.0 resolve: 1.22.2 resolve-url-loader: 4.0.0 sass-loader: 12.6.0(webpack@5.88.2) semver: 7.5.4 source-map-loader: 3.0.2(webpack@5.88.2) style-loader: 3.3.3(webpack@5.88.2) tailwindcss: 3.3.3 terser-webpack-plugin: 5.3.9(webpack@5.88.2) webpack: 5.88.2 webpack-dev-server: 4.15.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)(webpack@5.88.2) webpack-manifest-plugin: 4.1.1(webpack@5.88.2) workbox-webpack-plugin: 6.6.0(@types/babel__core@7.20.1)(webpack@5.88.2) optionalDependencies: fsevents: 2.3.2 typescript: 4.7.4 transitivePeerDependencies: - '@babel/plugin-syntax-flow' - '@babel/plugin-transform-react-jsx' - '@parcel/css' - '@swc/core' - '@types/babel__core' - '@types/webpack' - bufferutil - canvas - clean-css - csso - debug - esbuild - eslint-import-resolver-typescript - eslint-import-resolver-webpack - fibers - node-notifier - node-sass - rework - rework-visit - sass - sass-embedded - sockjs-client - supports-color - ts-node - type-fest - uglify-js - utf-8-validate - vue-template-compiler - webpack-cli - webpack-hot-middleware - webpack-plugin-serve react-shallow-renderer@16.15.0(react@18.2.0): dependencies: object-assign: 4.1.1 react: 18.2.0 react-is: 18.2.0 react-transition-group@4.4.5(react-dom@18.2.0(react@18.2.0))(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) react@18.2.0: dependencies: loose-envify: 1.4.0 read-cache@1.0.0: dependencies: pify: 2.3.0 read-pkg-up@7.0.1: dependencies: find-up: 4.1.0 read-pkg: 5.2.0 type-fest: 0.8.1 read-pkg@5.2.0: dependencies: '@types/normalize-package-data': 2.4.1 normalize-package-data: 2.5.0 parse-json: 5.2.0 type-fest: 0.6.0 read-yaml-file@1.1.0: dependencies: graceful-fs: 4.2.11 js-yaml: 3.14.1 pify: 4.0.1 strip-bom: 3.0.0 readable-stream@2.3.8: dependencies: core-util-is: 1.0.3 inherits: 2.0.4 isarray: 1.0.0 process-nextick-args: 2.0.1 safe-buffer: 5.1.2 string_decoder: 1.1.1 util-deprecate: 1.0.2 readable-stream@3.6.2: dependencies: inherits: 2.0.4 string_decoder: 1.3.0 util-deprecate: 1.0.2 readable-stream@4.4.2: dependencies: abort-controller: 3.0.0 buffer: 6.0.3 events: 3.3.0 process: 0.11.10 string_decoder: 1.3.0 readdirp@3.6.0: dependencies: picomatch: 2.3.1 readline@1.3.0: {} real-require@0.1.0: {} recast@0.21.5: dependencies: ast-types: 0.15.2 esprima: 4.0.1 source-map: 0.6.1 tslib: 2.6.2 rechoir@0.6.2: dependencies: resolve: 1.22.2 recursive-readdir@2.2.3: dependencies: minimatch: 3.1.2 redent@3.0.0: dependencies: indent-string: 4.0.0 strip-indent: 3.0.0 regenerate-unicode-properties@10.1.0: dependencies: regenerate: 1.4.2 regenerate@1.4.2: {} regenerator-runtime@0.13.11: {} regenerator-runtime@0.14.0: {} regenerator-transform@0.15.1: dependencies: '@babel/runtime': 7.22.6 regex-parser@2.2.11: {} regexp.prototype.flags@1.5.0: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 functions-have-names: 1.2.3 regexpp@3.2.0: {} regexpu-core@5.3.2: dependencies: '@babel/regjsgen': 0.8.0 regenerate: 1.4.2 regenerate-unicode-properties: 10.1.0 regjsparser: 0.9.1 unicode-match-property-ecmascript: 2.0.0 unicode-match-property-value-ecmascript: 2.1.0 regjsparser@0.9.1: dependencies: jsesc: 0.5.0 relateurl@0.2.7: {} remove-trailing-slash@0.1.1: {} renderkid@3.0.0: dependencies: css-select: 4.3.0 dom-converter: 0.2.0 htmlparser2: 6.1.0 lodash: 4.17.21 strip-ansi: 6.0.1 require-directory@2.1.1: {} require-from-string@2.0.2: {} require-main-filename@2.0.0: {} requireg@0.2.2: dependencies: nested-error-stacks: 2.0.1 rc: 1.2.8 resolve: 1.7.1 requires-port@1.0.0: {} resize-observer-polyfill@1.5.1: {} resolve-cwd@3.0.0: dependencies: resolve-from: 5.0.0 resolve-from@3.0.0: {} resolve-from@4.0.0: {} resolve-from@5.0.0: {} resolve-url-loader@4.0.0: dependencies: adjust-sourcemap-loader: 4.0.0 convert-source-map: 1.9.0 loader-utils: 2.0.4 postcss: 7.0.39 source-map: 0.6.1 resolve.exports@1.1.1: {} resolve.exports@2.0.2: {} resolve@1.22.2: dependencies: is-core-module: 2.12.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 resolve@1.7.1: dependencies: path-parse: 1.0.7 resolve@2.0.0-next.4: dependencies: is-core-module: 2.12.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 restore-cursor@2.0.0: dependencies: onetime: 2.0.1 signal-exit: 3.0.7 restore-cursor@3.1.0: dependencies: onetime: 5.1.2 signal-exit: 3.0.7 retry@0.13.1: {} reusify@1.0.4: {} rimraf@2.4.5: dependencies: glob: 6.0.4 optional: true rimraf@2.6.3: dependencies: glob: 7.2.3 rimraf@3.0.2: dependencies: glob: 7.2.3 ripemd160@2.0.2: dependencies: hash-base: 3.1.0 inherits: 2.0.4 ripple-address-codec@4.3.1: dependencies: base-x: 3.0.9 create-hash: 1.2.0 ripple-binary-codec@1.10.0: dependencies: assert: 2.0.0 big-integer: 1.6.51 buffer: 6.0.3 create-hash: 1.2.0 decimal.js: 10.4.3 ripple-address-codec: 4.3.1 ripple-keypairs@1.3.1: dependencies: bn.js: 5.2.1 brorand: 1.1.0 elliptic: 6.5.4 hash.js: 1.1.7 ripple-address-codec: 4.3.1 ripple-lib-transactionparser@0.8.2: dependencies: bignumber.js: 9.1.2 lodash: 4.17.21 ripple-lib@1.10.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@types/lodash': 4.14.199 '@types/ws': 7.4.7 bignumber.js: 9.1.2 https-proxy-agent: 5.0.1 jsonschema: 1.2.2 lodash: 4.17.21 ripple-address-codec: 4.3.1 ripple-binary-codec: 1.10.0 ripple-keypairs: 1.3.1 ripple-lib-transactionparser: 0.8.2 ws: 7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10) transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate rollup-plugin-terser@7.0.2(rollup@2.79.1): dependencies: '@babel/code-frame': 7.22.5 jest-worker: 26.6.2 rollup: 2.79.1 serialize-javascript: 4.0.0 terser: 5.19.1 rollup@2.79.1: optionalDependencies: fsevents: 2.3.2 rpc-websockets@7.5.1: dependencies: '@babel/runtime': 7.22.6 eventemitter3: 4.0.7 uuid: 8.3.2 ws: 8.13.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) optionalDependencies: bufferutil: 4.0.7 utf-8-validate: 5.0.10 rtcpeerconnection-shim@1.2.15: dependencies: sdp: 2.12.0 run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 rxjs@6.6.7: dependencies: tslib: 1.14.1 safe-array-concat@1.0.0: dependencies: call-bind: 1.0.2 get-intrinsic: 1.2.1 has-symbols: 1.0.3 isarray: 2.0.5 safe-buffer@5.1.2: {} safe-buffer@5.2.1: {} safe-json-stringify@1.2.0: optional: true safe-json-utils@1.1.1: {} safe-regex-test@1.0.0: dependencies: call-bind: 1.0.2 get-intrinsic: 1.2.1 is-regex: 1.1.4 safe-stable-stringify@2.4.3: {} safer-buffer@2.1.2: {} salmon-adapter-sdk@1.1.1(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10)): dependencies: '@project-serum/sol-wallet-adapter': 0.2.6(@solana/web3.js@1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10)) '@solana/web3.js': 1.78.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) eventemitter3: 4.0.7 sanitize.css@13.0.0: {} sass-loader@12.6.0(webpack@5.88.2): dependencies: klona: 2.0.6 neo-async: 2.6.2 webpack: 5.88.2 sax@1.2.4: {} saxes@5.0.1: dependencies: xmlchars: 2.2.0 scheduler@0.23.0: dependencies: loose-envify: 1.4.0 scheduler@0.24.0-canary-efb381bbf-20230505: dependencies: loose-envify: 1.4.0 schema-utils@2.7.0: dependencies: '@types/json-schema': 7.0.12 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) schema-utils@2.7.1: dependencies: '@types/json-schema': 7.0.12 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) schema-utils@3.3.0: dependencies: '@types/json-schema': 7.0.12 ajv: 6.12.6 ajv-keywords: 3.5.2(ajv@6.12.6) schema-utils@4.2.0: dependencies: '@types/json-schema': 7.0.12 ajv: 8.12.0 ajv-formats: 2.1.1(ajv@8.12.0) ajv-keywords: 5.1.0(ajv@8.12.0) scroll-into-view-if-needed@2.2.31: dependencies: compute-scroll-into-view: 1.0.20 sdp@2.12.0: {} secure-json-parse@2.7.0: {} select-hose@2.0.0: {} selfsigned@2.1.1: dependencies: node-forge: 1.3.1 semver@5.7.2: {} semver@6.3.1: {} semver@7.3.2: {} semver@7.5.3: dependencies: lru-cache: 6.0.0 semver@7.5.4: dependencies: lru-cache: 6.0.0 send@0.18.0: dependencies: debug: 2.6.9 depd: 2.0.0 destroy: 1.2.0 encodeurl: 1.0.2 escape-html: 1.0.3 etag: 1.8.1 fresh: 0.5.2 http-errors: 2.0.0 mime: 1.6.0 ms: 2.1.3 on-finished: 2.4.1 range-parser: 1.2.1 statuses: 2.0.1 transitivePeerDependencies: - supports-color serialize-error@2.1.0: {} serialize-javascript@4.0.0: dependencies: randombytes: 2.1.0 serialize-javascript@6.0.1: dependencies: randombytes: 2.1.0 serve-index@1.9.1: dependencies: accepts: 1.3.8 batch: 0.6.1 debug: 2.6.9 escape-html: 1.0.3 http-errors: 1.6.3 mime-types: 2.1.35 parseurl: 1.3.3 transitivePeerDependencies: - supports-color serve-static@1.15.0: dependencies: encodeurl: 1.0.2 escape-html: 1.0.3 parseurl: 1.3.3 send: 0.18.0 transitivePeerDependencies: - supports-color set-blocking@2.0.0: {} set-function-length@1.2.1: dependencies: define-data-property: 1.1.4 es-errors: 1.3.0 function-bind: 1.1.2 get-intrinsic: 1.2.4 gopd: 1.0.1 has-property-descriptors: 1.0.2 setimmediate@1.0.5: {} setprototypeof@1.1.0: {} setprototypeof@1.2.0: {} sha.js@2.4.11: dependencies: inherits: 2.0.4 safe-buffer: 5.2.1 shallow-clone@3.0.1: dependencies: kind-of: 6.0.3 shallowequal@1.1.0: {} shebang-command@1.2.0: dependencies: shebang-regex: 1.0.0 shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 shebang-regex@1.0.0: {} shebang-regex@3.0.0: {} shell-quote@1.8.1: {} shelljs@0.8.5: dependencies: glob: 7.2.3 interpret: 1.4.0 rechoir: 0.6.2 shiki@0.14.3: dependencies: ansi-sequence-parser: 1.1.0 jsonc-parser: 3.2.0 vscode-oniguruma: 1.7.0 vscode-textmate: 8.0.0 shx@0.3.4: dependencies: minimist: 1.2.8 shelljs: 0.8.5 side-channel@1.0.4: dependencies: call-bind: 1.0.2 get-intrinsic: 1.2.1 object-inspect: 1.12.3 signal-exit@3.0.7: {} simple-plist@1.3.1: dependencies: bplist-creator: 0.1.0 bplist-parser: 0.3.1 plist: 3.1.0 sisteransi@1.0.5: {} slash@3.0.0: {} slash@4.0.0: {} slice-ansi@2.1.0: dependencies: ansi-styles: 3.2.1 astral-regex: 1.0.0 is-fullwidth-code-point: 2.0.0 slugify@1.6.6: {} smart-buffer@4.2.0: {} smartwrap@2.0.2: dependencies: array.prototype.flat: 1.3.1 breakword: 1.0.6 grapheme-splitter: 1.0.4 strip-ansi: 6.0.1 wcwidth: 1.0.1 yargs: 15.4.1 socket.io-client@4.7.1(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: '@socket.io/component-emitter': 3.1.0 debug: 4.3.4 engine.io-client: 6.5.1(bufferutil@4.0.7)(utf-8-validate@5.0.10) socket.io-parser: 4.2.4 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate socket.io-parser@4.2.4: dependencies: '@socket.io/component-emitter': 3.1.0 debug: 4.3.4 transitivePeerDependencies: - supports-color sockjs@0.3.24: dependencies: faye-websocket: 0.11.4 uuid: 8.3.2 websocket-driver: 0.7.4 socks-proxy-agent@6.1.1: dependencies: agent-base: 6.0.2 debug: 4.3.4 socks: 2.7.1 transitivePeerDependencies: - supports-color socks@2.7.1: dependencies: ip: 2.0.0 smart-buffer: 4.2.0 sonic-boom@2.8.0: dependencies: atomic-sleep: 1.0.0 sonic-boom@3.3.0: dependencies: atomic-sleep: 1.0.0 source-list-map@2.0.1: {} source-map-js@1.0.2: {} source-map-loader@3.0.2(webpack@5.88.2): dependencies: abab: 2.0.6 iconv-lite: 0.6.3 source-map-js: 1.0.2 webpack: 5.88.2 source-map-loader@4.0.1(webpack@5.88.2): dependencies: abab: 2.0.6 iconv-lite: 0.6.3 source-map-js: 1.0.2 webpack: 5.88.2 source-map-support@0.5.13: dependencies: buffer-from: 1.1.2 source-map: 0.6.1 source-map-support@0.5.21: dependencies: buffer-from: 1.1.2 source-map: 0.6.1 source-map@0.5.7: {} source-map@0.6.1: {} source-map@0.7.4: {} source-map@0.8.0-beta.0: dependencies: whatwg-url: 7.1.0 sourcemap-codec@1.4.8: {} spawndamnit@2.0.0: dependencies: cross-spawn: 5.1.0 signal-exit: 3.0.7 spdx-correct@3.2.0: dependencies: spdx-expression-parse: 3.0.1 spdx-license-ids: 3.0.13 spdx-exceptions@2.3.0: {} spdx-expression-parse@3.0.1: dependencies: spdx-exceptions: 2.3.0 spdx-license-ids: 3.0.13 spdx-license-ids@3.0.13: {} spdy-transport@3.0.0: dependencies: debug: 4.3.4 detect-node: 2.1.0 hpack.js: 2.1.6 obuf: 1.1.2 readable-stream: 3.6.2 wbuf: 1.7.3 transitivePeerDependencies: - supports-color spdy@4.0.2: dependencies: debug: 4.3.4 handle-thing: 2.0.1 http-deceiver: 1.2.7 select-hose: 2.0.0 spdy-transport: 3.0.0 transitivePeerDependencies: - supports-color split-on-first@1.1.0: {} split2@4.2.0: {} split@1.0.1: dependencies: through: 2.3.8 sprintf-js@1.0.3: {} srcset@4.0.0: {} ssri@8.0.1: dependencies: minipass: 3.3.6 stable@0.1.8: {} stack-utils@2.0.6: dependencies: escape-string-regexp: 2.0.0 stackframe@1.3.4: {} stacktrace-parser@0.1.10: dependencies: type-fest: 0.7.1 statuses@1.5.0: {} statuses@2.0.1: {} stop-iteration-iterator@1.0.0: dependencies: internal-slot: 1.0.5 stream-browserify@3.0.0: dependencies: inherits: 2.0.4 readable-stream: 3.6.2 stream-buffers@2.2.0: {} stream-http@3.2.0: dependencies: builtin-status-codes: 3.0.0 inherits: 2.0.4 readable-stream: 3.6.2 xtend: 4.0.2 stream-shift@1.0.1: {} stream-transform@2.1.3: dependencies: mixme: 0.5.9 strict-uri-encode@2.0.0: {} string-convert@0.2.1: {} string-length@4.0.2: dependencies: char-regex: 1.0.2 strip-ansi: 6.0.1 string-length@5.0.1: dependencies: char-regex: 2.0.1 strip-ansi: 7.1.0 string-natural-compare@3.0.1: {} string-width@3.1.0: dependencies: emoji-regex: 7.0.3 is-fullwidth-code-point: 2.0.0 strip-ansi: 5.2.0 string-width@4.2.3: dependencies: emoji-regex: 8.0.0 is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 string.prototype.matchall@4.0.8: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 get-intrinsic: 1.2.1 has-symbols: 1.0.3 internal-slot: 1.0.5 regexp.prototype.flags: 1.5.0 side-channel: 1.0.4 string.prototype.trim@1.2.7: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 string.prototype.trimend@1.0.6: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 string.prototype.trimstart@1.0.6: dependencies: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 string_decoder@1.1.1: dependencies: safe-buffer: 5.1.2 string_decoder@1.3.0: dependencies: safe-buffer: 5.2.1 stringify-object@3.3.0: dependencies: get-own-enumerable-property-symbols: 3.0.2 is-obj: 1.0.1 is-regexp: 1.0.0 strip-ansi@5.2.0: dependencies: ansi-regex: 4.1.1 strip-ansi@6.0.1: dependencies: ansi-regex: 5.0.1 strip-ansi@7.1.0: dependencies: ansi-regex: 6.0.1 strip-bom@3.0.0: {} strip-bom@4.0.0: {} strip-comments@2.0.1: {} strip-eof@1.0.0: {} strip-final-newline@2.0.0: {} strip-indent@3.0.0: dependencies: min-indent: 1.0.1 strip-json-comments@2.0.1: {} strip-json-comments@3.1.1: {} strip-outer@1.0.1: dependencies: escape-string-regexp: 1.0.5 strnum@1.0.5: {} structured-headers@0.4.1: {} style-loader@3.3.3(webpack@5.88.2): dependencies: webpack: 5.88.2 styled-jsx@5.0.7(react@18.2.0): dependencies: react: 18.2.0 stylehacks@5.1.1(postcss@8.4.26): dependencies: browserslist: 4.21.9 postcss: 8.4.26 postcss-selector-parser: 6.0.13 stylis@4.2.0: {} sucrase@3.34.0: dependencies: '@jridgewell/gen-mapping': 0.3.3 commander: 4.1.1 glob: 7.1.6 lines-and-columns: 1.2.4 mz: 2.7.0 pirates: 4.0.6 ts-interface-checker: 0.1.13 sudo-prompt@8.2.5: {} sudo-prompt@9.1.1: {} sudo-prompt@9.2.1: {} superstruct@0.14.2: {} superstruct@1.0.3: {} supports-color@5.5.0: dependencies: has-flag: 3.0.0 supports-color@7.2.0: dependencies: has-flag: 4.0.0 supports-color@8.1.1: dependencies: has-flag: 4.0.0 supports-hyperlinks@2.3.0: dependencies: has-flag: 4.0.0 supports-color: 7.2.0 supports-preserve-symlinks-flag@1.0.0: {} svg-parser@2.0.4: {} svgo@1.3.2: dependencies: chalk: 2.4.2 coa: 2.0.2 css-select: 2.1.0 css-select-base-adapter: 0.1.1 css-tree: 1.0.0-alpha.37 csso: 4.2.0 js-yaml: 3.14.1 mkdirp: 0.5.6 object.values: 1.1.6 sax: 1.2.4 stable: 0.1.8 unquote: 1.1.1 util.promisify: 1.0.1 svgo@2.8.0: dependencies: '@trysound/sax': 0.2.0 commander: 7.2.0 css-select: 4.3.0 css-tree: 1.1.3 csso: 4.2.0 picocolors: 1.0.0 stable: 0.1.8 symbol-tree@3.2.4: {} tailwindcss@3.3.3: dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 chokidar: 3.5.3 didyoumean: 1.2.2 dlv: 1.1.3 fast-glob: 3.3.0 glob-parent: 6.0.2 is-glob: 4.0.3 jiti: 1.19.1 lilconfig: 2.1.0 micromatch: 4.0.5 normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.0 postcss: 8.4.26 postcss-import: 15.1.0(postcss@8.4.26) postcss-js: 4.0.1(postcss@8.4.26) postcss-load-config: 4.0.1(postcss@8.4.26) postcss-nested: 6.0.1(postcss@8.4.26) postcss-selector-parser: 6.0.13 resolve: 1.22.2 sucrase: 3.34.0 transitivePeerDependencies: - ts-node tapable@1.1.3: {} tapable@2.2.1: {} tar@6.2.0: dependencies: chownr: 2.0.0 fs-minipass: 2.1.0 minipass: 5.0.0 minizlib: 2.1.2 mkdirp: 1.0.4 yallist: 4.0.0 temp-dir@1.0.0: {} temp-dir@2.0.0: {} temp@0.8.4: dependencies: rimraf: 2.6.3 tempy@0.3.0: dependencies: temp-dir: 1.0.0 type-fest: 0.3.1 unique-string: 1.0.0 tempy@0.6.0: dependencies: is-stream: 2.0.1 temp-dir: 2.0.0 type-fest: 0.16.0 unique-string: 2.0.0 tempy@0.7.1: dependencies: del: 6.1.1 is-stream: 2.0.1 temp-dir: 2.0.0 type-fest: 0.16.0 unique-string: 2.0.0 term-size@2.2.1: {} terminal-link@2.1.1: dependencies: ansi-escapes: 4.3.2 supports-hyperlinks: 2.3.0 terser-webpack-plugin@5.3.9(webpack@5.88.2): dependencies: '@jridgewell/trace-mapping': 0.3.18 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.1 terser: 5.19.1 webpack: 5.88.2 terser@5.19.1: dependencies: '@jridgewell/source-map': 0.3.5 acorn: 8.10.0 commander: 2.20.3 source-map-support: 0.5.21 test-exclude@6.0.0: dependencies: '@istanbuljs/schema': 0.1.3 glob: 7.2.3 minimatch: 3.1.2 text-encoding-utf-8@1.0.2: {} text-table@0.2.0: {} thenify-all@1.6.0: dependencies: thenify: 3.3.1 thenify@3.3.1: dependencies: any-promise: 1.3.0 thread-stream@0.15.2: dependencies: real-require: 0.1.0 throat@5.0.0: {} throat@6.0.2: {} through2@2.0.5: dependencies: readable-stream: 2.3.8 xtend: 4.0.2 through@2.3.8: {} thunky@1.1.0: {} timsort@0.3.0: {} tiny-secp256k1@1.1.6: dependencies: bindings: 1.5.0 bn.js: 4.12.0 create-hmac: 1.1.7 elliptic: 6.5.4 nan: 2.18.0 tmp@0.0.33: dependencies: os-tmpdir: 1.0.2 tmpl@1.0.5: {} to-fast-properties@2.0.0: {} to-regex-range@5.0.1: dependencies: is-number: 7.0.0 toggle-selection@1.0.6: {} toidentifier@1.0.1: {} tough-cookie@4.1.3: dependencies: psl: 1.9.0 punycode: 2.3.0 universalify: 0.2.0 url-parse: 1.5.10 tr46@0.0.3: {} tr46@1.0.1: dependencies: punycode: 2.3.0 tr46@2.1.0: dependencies: punycode: 2.3.0 tr46@3.0.0: dependencies: punycode: 2.3.0 traverse@0.6.8: {} trim-newlines@3.0.1: {} trim-repeated@1.0.0: dependencies: escape-string-regexp: 1.0.5 tryer@1.0.1: {} ts-interface-checker@0.1.13: {} ts-jest@28.0.8(@babel/core@7.22.9)(@jest/types@28.1.3)(babel-jest@28.1.3(@babel/core@7.22.9))(jest@28.1.3(@types/node@18.16.19))(typescript@4.7.4): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 28.1.3(@types/node@18.16.19) jest-util: 28.1.3 json5: 2.2.3 lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.5.4 typescript: 4.7.4 yargs-parser: 21.1.1 optionalDependencies: '@babel/core': 7.22.9 '@jest/types': 28.1.3 babel-jest: 28.1.3(@babel/core@7.22.9) ts-mixer@6.0.4: {} tsconfig-paths@3.14.2: dependencies: '@types/json5': 0.0.29 json5: 1.0.2 minimist: 1.2.8 strip-bom: 3.0.0 tslib@1.14.1: {} tslib@2.6.0: {} tslib@2.6.2: {} tsutils@3.21.0(typescript@4.7.4): dependencies: tslib: 1.14.1 typescript: 4.7.4 tty-table@4.2.1: dependencies: chalk: 4.1.2 csv: 5.5.3 kleur: 4.1.5 smartwrap: 2.0.2 strip-ansi: 6.0.1 wcwidth: 1.0.1 yargs: 17.7.2 turbo-darwin-64@1.13.3: optional: true turbo-darwin-arm64@1.13.3: optional: true turbo-linux-64@1.13.3: optional: true turbo-linux-arm64@1.13.3: optional: true turbo-windows-64@1.13.3: optional: true turbo-windows-arm64@1.13.3: optional: true turbo@1.13.3: optionalDependencies: turbo-darwin-64: 1.13.3 turbo-darwin-arm64: 1.13.3 turbo-linux-64: 1.13.3 turbo-linux-arm64: 1.13.3 turbo-windows-64: 1.13.3 turbo-windows-arm64: 1.13.3 tweetnacl-util@0.15.1: {} tweetnacl@1.0.3: {} type-check@0.4.0: dependencies: prelude-ls: 1.2.1 type-detect@4.0.8: {} type-fest@0.13.1: {} type-fest@0.16.0: {} type-fest@0.20.2: {} type-fest@0.21.3: {} type-fest@0.3.1: {} type-fest@0.6.0: {} type-fest@0.7.1: {} type-fest@0.8.1: {} type-is@1.6.18: dependencies: media-typer: 0.3.0 mime-types: 2.1.35 typed-array-buffer@1.0.0: dependencies: call-bind: 1.0.2 get-intrinsic: 1.2.1 is-typed-array: 1.1.12 typed-array-byte-length@1.0.0: dependencies: call-bind: 1.0.2 for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.12 typed-array-byte-offset@1.0.0: dependencies: available-typed-arrays: 1.0.5 call-bind: 1.0.2 for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.12 typed-array-length@1.0.4: dependencies: call-bind: 1.0.2 for-each: 0.3.3 is-typed-array: 1.1.12 typedarray-to-buffer@3.1.5: dependencies: is-typedarray: 1.0.0 typedoc@0.23.28(typescript@4.7.4): dependencies: lunr: 2.3.9 marked: 4.3.0 minimatch: 7.4.6 shiki: 0.14.3 typescript: 4.7.4 typeforce@1.18.0: {} typescript@4.7.4: {} ua-parser-js@1.0.37: {} uglify-es@3.3.9: dependencies: commander: 2.13.0 source-map: 0.6.1 uint8arrays@3.1.1: dependencies: multiformats: 9.9.0 unbox-primitive@1.0.2: dependencies: call-bind: 1.0.2 has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 unicode-canonical-property-names-ecmascript@2.0.0: {} unicode-match-property-ecmascript@2.0.0: dependencies: unicode-canonical-property-names-ecmascript: 2.0.0 unicode-property-aliases-ecmascript: 2.1.0 unicode-match-property-value-ecmascript@2.1.0: {} unicode-property-aliases-ecmascript@2.1.0: {} unidragger@3.0.1: dependencies: ev-emitter: 2.1.2 unique-filename@1.1.1: dependencies: unique-slug: 2.0.2 unique-slug@2.0.2: dependencies: imurmurhash: 0.1.4 unique-string@1.0.0: dependencies: crypto-random-string: 1.0.0 unique-string@2.0.0: dependencies: crypto-random-string: 2.0.0 universalify@0.1.2: {} universalify@0.2.0: {} universalify@1.0.0: {} universalify@2.0.0: {} unload@2.4.1: {} unpipe@1.0.0: {} unquote@1.1.1: {} upath@1.2.0: {} update-browserslist-db@1.0.11(browserslist@4.21.9): dependencies: browserslist: 4.21.9 escalade: 3.1.1 picocolors: 1.0.0 uri-js@4.4.1: dependencies: punycode: 2.3.0 url-join@4.0.0: {} url-parse@1.5.10: dependencies: querystringify: 2.2.0 requires-port: 1.0.0 url@0.11.1: dependencies: punycode: 1.4.1 qs: 6.11.2 usb@2.11.0: dependencies: '@types/w3c-web-usb': 1.0.10 node-addon-api: 7.0.0 node-gyp-build: 4.6.0 use-sync-external-store@1.2.0(react@18.2.0): dependencies: react: 18.2.0 utf-8-validate@5.0.10: dependencies: node-gyp-build: 4.6.0 optional: true util-deprecate@1.0.2: {} util.promisify@1.0.1: dependencies: define-properties: 1.2.0 es-abstract: 1.22.1 has-symbols: 1.0.3 object.getownpropertydescriptors: 2.1.6 util@0.12.5: dependencies: inherits: 2.0.4 is-arguments: 1.1.1 is-generator-function: 1.0.10 is-typed-array: 1.1.12 which-typed-array: 1.1.11 utila@0.4.0: {} utility-types@3.10.0: {} utils-merge@1.0.1: {} uuid@7.0.3: {} uuid@8.3.2: {} uuid@9.0.0: {} uuidv4@6.2.13: dependencies: '@types/uuid': 8.3.4 uuid: 8.3.2 v8-compile-cache@2.3.0: {} v8-to-istanbul@8.1.1: dependencies: '@types/istanbul-lib-coverage': 2.0.4 convert-source-map: 1.9.0 source-map: 0.7.4 v8-to-istanbul@9.1.0: dependencies: '@jridgewell/trace-mapping': 0.3.18 '@types/istanbul-lib-coverage': 2.0.4 convert-source-map: 1.9.0 valid-url@1.0.9: {} validate-npm-package-license@3.0.4: dependencies: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 validate-npm-package-name@3.0.0: dependencies: builtins: 1.0.3 varuint-bitcoin@1.1.2: dependencies: safe-buffer: 5.2.1 vary@1.1.2: {} vlq@1.0.1: {} vscode-oniguruma@1.7.0: {} vscode-textmate@8.0.0: {} w3c-hr-time@1.0.2: dependencies: browser-process-hrtime: 1.0.0 w3c-xmlserializer@2.0.0: dependencies: xml-name-validator: 3.0.0 w3c-xmlserializer@3.0.0: dependencies: xml-name-validator: 4.0.0 walker@1.0.8: dependencies: makeerror: 1.0.12 warning@4.0.3: dependencies: loose-envify: 1.4.0 watchpack@2.4.0: dependencies: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 wbuf@1.7.3: dependencies: minimalistic-assert: 1.0.1 wcwidth@1.0.1: dependencies: defaults: 1.0.4 weak-lru-cache@1.2.2: {} web-vitals@2.1.4: {} webidl-conversions@3.0.1: {} webidl-conversions@4.0.2: {} webidl-conversions@5.0.0: {} webidl-conversions@6.1.0: {} webidl-conversions@7.0.0: {} webpack-dev-middleware@5.3.3(webpack@5.88.2): dependencies: colorette: 2.0.20 memfs: 3.5.3 mime-types: 2.1.35 range-parser: 1.2.1 schema-utils: 4.2.0 webpack: 5.88.2 webpack-dev-server@4.15.1(bufferutil@4.0.7)(utf-8-validate@5.0.10)(webpack@5.88.2): dependencies: '@types/bonjour': 3.5.10 '@types/connect-history-api-fallback': 1.5.0 '@types/express': 4.17.17 '@types/serve-index': 1.9.1 '@types/serve-static': 1.15.2 '@types/sockjs': 0.3.33 '@types/ws': 8.5.5 ansi-html-community: 0.0.8 bonjour-service: 1.1.1 chokidar: 3.5.3 colorette: 2.0.20 compression: 1.7.4 connect-history-api-fallback: 2.0.0 default-gateway: 6.0.3 express: 4.18.2 graceful-fs: 4.2.11 html-entities: 2.4.0 http-proxy-middleware: 2.0.6(@types/express@4.17.17) ipaddr.js: 2.1.0 launch-editor: 2.6.0 open: 8.4.2 p-retry: 4.6.2 rimraf: 3.0.2 schema-utils: 4.2.0 selfsigned: 2.1.1 serve-index: 1.9.1 sockjs: 0.3.24 spdy: 4.0.2 webpack-dev-middleware: 5.3.3(webpack@5.88.2) ws: 8.13.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) optionalDependencies: webpack: 5.88.2 transitivePeerDependencies: - bufferutil - debug - supports-color - utf-8-validate webpack-manifest-plugin@4.1.1(webpack@5.88.2): dependencies: tapable: 2.2.1 webpack: 5.88.2 webpack-sources: 2.3.1 webpack-sources@1.4.3: dependencies: source-list-map: 2.0.1 source-map: 0.6.1 webpack-sources@2.3.1: dependencies: source-list-map: 2.0.1 source-map: 0.6.1 webpack-sources@3.2.3: {} webpack@5.88.2: dependencies: '@types/eslint-scope': 3.7.4 '@types/estree': 1.0.1 '@webassemblyjs/ast': 1.11.6 '@webassemblyjs/wasm-edit': 1.11.6 '@webassemblyjs/wasm-parser': 1.11.6 acorn: 8.10.0 acorn-import-assertions: 1.9.0(acorn@8.10.0) browserslist: 4.21.9 chrome-trace-event: 1.0.3 enhanced-resolve: 5.15.0 es-module-lexer: 1.3.0 eslint-scope: 5.1.1 events: 3.3.0 glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 json-parse-even-better-errors: 2.3.1 loader-runner: 4.3.0 mime-types: 2.1.35 neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 terser-webpack-plugin: 5.3.9(webpack@5.88.2) watchpack: 2.4.0 webpack-sources: 3.2.3 transitivePeerDependencies: - '@swc/core' - esbuild - uglify-js webrtc-adapter@7.7.1: dependencies: rtcpeerconnection-shim: 1.2.15 sdp: 2.12.0 websocket-driver@0.7.4: dependencies: http-parser-js: 0.5.8 safe-buffer: 5.2.1 websocket-extensions: 0.1.4 websocket-extensions@0.1.4: {} whatwg-encoding@1.0.5: dependencies: iconv-lite: 0.4.24 whatwg-encoding@2.0.0: dependencies: iconv-lite: 0.6.3 whatwg-fetch@3.6.16: {} whatwg-mimetype@2.3.0: {} whatwg-mimetype@3.0.0: {} whatwg-url-without-unicode@8.0.0-3: dependencies: buffer: 5.7.1 punycode: 2.3.0 webidl-conversions: 5.0.0 whatwg-url@10.0.0: dependencies: tr46: 3.0.0 webidl-conversions: 7.0.0 whatwg-url@11.0.0: dependencies: tr46: 3.0.0 webidl-conversions: 7.0.0 whatwg-url@5.0.0: dependencies: tr46: 0.0.3 webidl-conversions: 3.0.1 whatwg-url@7.1.0: dependencies: lodash.sortby: 4.7.0 tr46: 1.0.1 webidl-conversions: 4.0.2 whatwg-url@8.7.0: dependencies: lodash: 4.17.21 tr46: 2.1.0 webidl-conversions: 6.1.0 which-boxed-primitive@1.0.2: dependencies: is-bigint: 1.0.4 is-boolean-object: 1.1.2 is-number-object: 1.0.7 is-string: 1.0.7 is-symbol: 1.0.4 which-collection@1.0.1: dependencies: is-map: 2.0.2 is-set: 2.0.2 is-weakmap: 2.0.1 is-weakset: 2.0.2 which-module@2.0.1: {} which-pm@2.0.0: dependencies: load-yaml-file: 0.2.0 path-exists: 4.0.0 which-typed-array@1.1.11: dependencies: available-typed-arrays: 1.0.5 call-bind: 1.0.2 for-each: 0.3.3 gopd: 1.0.1 has-tostringtag: 1.0.0 which@1.3.1: dependencies: isexe: 2.0.0 which@2.0.2: dependencies: isexe: 2.0.0 wif@4.0.0: dependencies: bs58check: 3.0.1 wonka@4.0.15: {} workbox-background-sync@6.6.0: dependencies: idb: 7.1.1 workbox-core: 6.6.0 workbox-broadcast-update@6.6.0: dependencies: workbox-core: 6.6.0 workbox-build@6.6.0(@types/babel__core@7.20.1): dependencies: '@apideck/better-ajv-errors': 0.3.6(ajv@8.12.0) '@babel/core': 7.22.9 '@babel/preset-env': 7.22.9(@babel/core@7.22.9) '@babel/runtime': 7.22.6 '@rollup/plugin-babel': 5.3.1(@babel/core@7.22.9)(@types/babel__core@7.20.1)(rollup@2.79.1) '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1) '@rollup/plugin-replace': 2.4.2(rollup@2.79.1) '@surma/rollup-plugin-off-main-thread': 2.2.3 ajv: 8.12.0 common-tags: 1.8.2 fast-json-stable-stringify: 2.1.0 fs-extra: 9.1.0 glob: 7.2.3 lodash: 4.17.21 pretty-bytes: 5.6.0 rollup: 2.79.1 rollup-plugin-terser: 7.0.2(rollup@2.79.1) source-map: 0.8.0-beta.0 stringify-object: 3.3.0 strip-comments: 2.0.1 tempy: 0.6.0 upath: 1.2.0 workbox-background-sync: 6.6.0 workbox-broadcast-update: 6.6.0 workbox-cacheable-response: 6.6.0 workbox-core: 6.6.0 workbox-expiration: 6.6.0 workbox-google-analytics: 6.6.0 workbox-navigation-preload: 6.6.0 workbox-precaching: 6.6.0 workbox-range-requests: 6.6.0 workbox-recipes: 6.6.0 workbox-routing: 6.6.0 workbox-strategies: 6.6.0 workbox-streams: 6.6.0 workbox-sw: 6.6.0 workbox-window: 6.6.0 transitivePeerDependencies: - '@types/babel__core' - supports-color workbox-cacheable-response@6.6.0: dependencies: workbox-core: 6.6.0 workbox-core@6.6.0: {} workbox-expiration@6.6.0: dependencies: idb: 7.1.1 workbox-core: 6.6.0 workbox-google-analytics@6.6.0: dependencies: workbox-background-sync: 6.6.0 workbox-core: 6.6.0 workbox-routing: 6.6.0 workbox-strategies: 6.6.0 workbox-navigation-preload@6.6.0: dependencies: workbox-core: 6.6.0 workbox-precaching@6.6.0: dependencies: workbox-core: 6.6.0 workbox-routing: 6.6.0 workbox-strategies: 6.6.0 workbox-range-requests@6.6.0: dependencies: workbox-core: 6.6.0 workbox-recipes@6.6.0: dependencies: workbox-cacheable-response: 6.6.0 workbox-core: 6.6.0 workbox-expiration: 6.6.0 workbox-precaching: 6.6.0 workbox-routing: 6.6.0 workbox-strategies: 6.6.0 workbox-routing@6.6.0: dependencies: workbox-core: 6.6.0 workbox-strategies@6.6.0: dependencies: workbox-core: 6.6.0 workbox-streams@6.6.0: dependencies: workbox-core: 6.6.0 workbox-routing: 6.6.0 workbox-sw@6.6.0: {} workbox-webpack-plugin@6.6.0(@types/babel__core@7.20.1)(webpack@5.88.2): dependencies: fast-json-stable-stringify: 2.1.0 pretty-bytes: 5.6.0 upath: 1.2.0 webpack: 5.88.2 webpack-sources: 1.4.3 workbox-build: 6.6.0(@types/babel__core@7.20.1) transitivePeerDependencies: - '@types/babel__core' - supports-color workbox-window@6.6.0: dependencies: '@types/trusted-types': 2.0.3 workbox-core: 6.6.0 wrap-ansi@5.1.0: dependencies: ansi-styles: 3.2.1 string-width: 3.1.0 strip-ansi: 5.2.0 wrap-ansi@6.2.0: dependencies: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi@7.0.0: dependencies: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 wrappy@1.0.2: {} write-file-atomic@2.4.3: dependencies: graceful-fs: 4.2.11 imurmurhash: 0.1.4 signal-exit: 3.0.7 write-file-atomic@3.0.3: dependencies: imurmurhash: 0.1.4 is-typedarray: 1.0.0 signal-exit: 3.0.7 typedarray-to-buffer: 3.1.5 write-file-atomic@4.0.2: dependencies: imurmurhash: 0.1.4 signal-exit: 3.0.7 ws@6.2.2(bufferutil@4.0.7)(utf-8-validate@5.0.10): dependencies: async-limiter: 1.0.1 optionalDependencies: bufferutil: 4.0.7 utf-8-validate: 5.0.10 ws@7.5.9(bufferutil@4.0.7)(utf-8-validate@5.0.10): optionalDependencies: bufferutil: 4.0.7 utf-8-validate: 5.0.10 ws@8.11.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): optionalDependencies: bufferutil: 4.0.7 utf-8-validate: 5.0.10 ws@8.13.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): optionalDependencies: bufferutil: 4.0.7 utf-8-validate: 5.0.10 ws@8.16.0(bufferutil@4.0.7)(utf-8-validate@5.0.10): optionalDependencies: bufferutil: 4.0.7 utf-8-validate: 5.0.10 xcode@3.0.1: dependencies: simple-plist: 1.3.1 uuid: 7.0.3 xml-name-validator@3.0.0: {} xml-name-validator@4.0.0: {} xml2js@0.6.0: dependencies: sax: 1.2.4 xmlbuilder: 11.0.1 xmlbuilder@11.0.1: {} xmlbuilder@14.0.0: {} xmlbuilder@15.1.1: {} xmlchars@2.2.0: {} xmlhttprequest-ssl@2.0.0: {} xtend@4.0.2: {} xxhash-wasm@0.4.2: {} y18n@4.0.3: {} y18n@5.0.8: {} yallist@2.1.2: {} yallist@3.1.1: {} yallist@4.0.0: {} yaml@1.10.2: {} yaml@2.3.1: {} yargs-parser@13.1.2: dependencies: camelcase: 5.3.1 decamelize: 1.2.0 yargs-parser@18.1.3: dependencies: camelcase: 5.3.1 decamelize: 1.2.0 yargs-parser@20.2.9: {} yargs-parser@21.1.1: {} yargs@13.3.2: dependencies: cliui: 5.0.0 find-up: 3.0.0 get-caller-file: 2.0.5 require-directory: 2.1.1 require-main-filename: 2.0.0 set-blocking: 2.0.0 string-width: 3.1.0 which-module: 2.0.1 y18n: 4.0.3 yargs-parser: 13.1.2 yargs@15.4.1: dependencies: cliui: 6.0.0 decamelize: 1.2.0 find-up: 4.1.0 get-caller-file: 2.0.5 require-directory: 2.1.1 require-main-filename: 2.0.0 set-blocking: 2.0.0 string-width: 4.2.3 which-module: 2.0.1 y18n: 4.0.3 yargs-parser: 18.1.3 yargs@16.2.0: dependencies: cliui: 7.0.4 escalade: 3.1.1 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 20.2.9 yargs@17.7.2: dependencies: cliui: 8.0.1 escalade: 3.1.1 get-caller-file: 2.0.5 require-directory: 2.1.1 string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 21.1.1 yocto-queue@0.1.0: {}
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/tsconfig.root.json
{ "extends": "./tsconfig.base.json", "compilerOptions": { "composite": true } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/tsconfig.base.json
{ "include": [], "compilerOptions": { "target": "ESNext", "module": "ESNext", "moduleResolution": "Node", "esModuleInterop": true, "isolatedModules": true, "noEmitOnError": true, "resolveJsonModule": true, "strict": true, "stripInternal": true } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/turbo.json
{ "$schema": "https://turbo.build/schema.json", "pipeline": { "build": { "dependsOn": ["^build"], "inputs": ["$TURBO_DEFAULT$", "tsconfig.*", "src/**"], "outputs": [".next/**", "build/**", "dist/**", "lib/**"] }, "lint": { "inputs": ["$TURBO_DEFAULT$", "src/**", "test/**"], "outputs": [] }, "test": { "dependsOn": ["build"], "inputs": ["$TURBO_DEFAULT$", "src/**", "test/**"], "outputs": [] } } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/.eslintrc
{ "root": true, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended", "plugin:react/recommended", "plugin:react-hooks/recommended", "plugin:require-extensions/recommended" ], "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "prettier", "react", "react-hooks", "require-extensions" ], "settings": { "react": { "version": "detect" } }, "rules": { "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/consistent-type-imports": "error", "react/no-unescaped-entities": ["error", { "forbid": [">"] }], "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn" }, "overrides": [ { "files": [ "packages/starter/**/*" ], "rules": { "require-extensions/require-extensions": "off" } } ] }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/.npmrc
auto-install-peers=true strict-peer-dependencies=false shamefully-hoist=true
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/tsconfig.tests.json
{ "extends": "./tsconfig.base.json", "compilerOptions": { "noEmit": true } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/.prettierignore
.github .next .parcel-cache .swc docs lib build dist out
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/.editorconfig
root = true [*] charset = utf-8 indent_style = space indent_size = 4 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/tsconfig.esm.json
{ "extends": "./tsconfig.base.json", "compilerOptions": { "target": "ES2020", "module": "ES2020", "sourceMap": true, "declaration": true, "declarationMap": true } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/package.json
{ "private": true, "name": "@solana/wallet-adapter", "author": "Solana Maintainers <maintainers@solana.foundation>", "repository": "https://github.com/anza-xyz/wallet-adapter", "license": "Apache-2.0", "engines": { "node": ">=18", "pnpm": ">=9" }, "type": "module", "sideEffects": false, "scripts": { "nuke": "shx rm -rf packages/*/*/node_modules node_modules pnpm-lock.yaml || true", "reinstall": "pnpm run nuke && pnpm install", "clean": "pnpm --recursive --workspace-concurrency=0 run clean && shx rm -rf **/*.tsbuildinfo", "build": "turbo run build --concurrency=100%", "build:clean": "pnpm run clean && pnpm run build", "release": "pnpm run build:clean && pnpm test && changeset publish && git push --follow-tags && git status", "watch": "tsc --build --verbose --watch tsconfig.all.json", "fmt": "prettier --write '{*,**/*}.{ts,tsx,js,jsx,json}'", "lint": "turbo run lint --concurrency=100%", "lint:fix": "pnpm run fmt && eslint --fix .", "test": "turbo run test --concurrency=100%", "deploy": "pnpm run deploy:docs && pnpm run deploy:example", "docs": "shx rm -rf docs && NODE_OPTIONS=--max_old_space_size=16000 typedoc && shx cp ./{.nojekyll,wallets.png} docs/", "deploy:docs": "pnpm run docs && gh-pages --dist docs --dotfiles", "example": "pnpm run --filter {packages/starter/example} export", "deploy:example": "pnpm run example && gh-pages --dist packages/starter/example/out --dest example --dotfiles" }, "devDependencies": { "@changesets/cli": "^2.26.1", "@types/node": "^18.16.18", "@typescript-eslint/eslint-plugin": "^5.60.0", "@typescript-eslint/parser": "^5.60.0", "eslint": "8.22.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-require-extensions": "^0.1.3", "gh-pages": "^4.0.0", "pnpm": "^9", "prettier": "^2.8.8", "shx": "^0.3.4", "turbo": "^1.13.3", "typedoc": "^0.23.28", "typescript": "~4.7.4" }, "overrides": { "@ledgerhq/devices": "6.27.1", "@ledgerhq/errors": "6.16.3", "@ledgerhq/hw-transport": "6.27.1", "@ledgerhq/hw-transport-webhid": "6.27.1", "@solana/wallet-adapter-base": "workspace:^", "@types/web": "npm:typescript@~4.7.4", "eslint": "8.22.0", "@ngraveio/bc-ur": "1.1.12" }, "resolutions": { "@ledgerhq/devices": "6.27.1", "@ledgerhq/errors": "6.16.3", "@ledgerhq/hw-transport": "6.27.1", "@ledgerhq/hw-transport-webhid": "6.27.1", "@solana/wallet-adapter-base": "workspace:^", "@types/web": "npm:typescript@~4.7.4", "eslint": "8.22.0", "@ngraveio/bc-ur": "1.1.12" } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/tsconfig.cjs.json
{ "extends": "./tsconfig.base.json", "compilerOptions": { "target": "ES2016", "module": "CommonJS", "sourceMap": true } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/.prettierrc
{ "printWidth": 120, "trailingComma": "es5", "tabWidth": 4, "semi": true, "singleQuote": true }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/typedoc.json
{ "entryPoints": ["packages/core/*", "packages/ui/*", "packages/wallets/wallets"], "entryPointStrategy": "packages", "out": "docs", "readme": "README.md" }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/tsconfig.json
{ "extends": "./tsconfig.all.json", "include": ["./packages/*/*/src", "./packages/*/*/package.json"], "compilerOptions": { "noEmit": true, "skipLibCheck": true, "jsx": "react" } }
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/.eslintignore
.github .next .parcel-cache .swc docs lib build dist out
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/pnpm-workspace.yaml
packages: - 'packages/*/*'
0
solana_public_repos/anza-xyz
solana_public_repos/anza-xyz/wallet-adapter/tsconfig.all.json
{ "extends": "./tsconfig.root.json", "references": [ { "path": "./packages/core/base/tsconfig.json" }, { "path": "./packages/core/react/tsconfig.json" }, { "path": "./packages/starter/create-react-app-starter/tsconfig.json" }, { "path": "./packages/starter/example/tsconfig.json" }, { "path": "./packages/starter/material-ui-starter/tsconfig.json" }, { "path": "./packages/starter/nextjs-starter/tsconfig.json" }, { "path": "./packages/starter/react-ui-starter/tsconfig.json" }, { "path": "./packages/ui/ant-design/tsconfig.json" }, { "path": "./packages/ui/base-ui/tsconfig.json" }, { "path": "./packages/ui/material-ui/tsconfig.json" }, { "path": "./packages/ui/react-ui/tsconfig.json" }, { "path": "./packages/wallets/alpha/tsconfig.json" }, { "path": "./packages/wallets/avana/tsconfig.json" }, { "path": "./packages/wallets/bitkeep/tsconfig.json" }, { "path": "./packages/wallets/bitpie/tsconfig.json" }, { "path": "./packages/wallets/clover/tsconfig.json" }, { "path": "./packages/wallets/coin98/tsconfig.json" }, { "path": "./packages/wallets/coinbase/tsconfig.json" }, { "path": "./packages/wallets/coinhub/tsconfig.json" }, { "path": "./packages/wallets/fractal/tsconfig.json" }, { "path": "./packages/wallets/huobi/tsconfig.json" }, { "path": "./packages/wallets/hyperpay/tsconfig.json" }, { "path": "./packages/wallets/keystone/tsconfig.json" }, { "path": "./packages/wallets/krystal/tsconfig.json" }, { "path": "./packages/wallets/ledger/tsconfig.json" }, { "path": "./packages/wallets/mathwallet/tsconfig.json" }, { "path": "./packages/wallets/neko/tsconfig.json" }, { "path": "./packages/wallets/nightly/tsconfig.json" }, { "path": "./packages/wallets/nufi/tsconfig.json" }, { "path": "./packages/wallets/onto/tsconfig.json" }, { "path": "./packages/wallets/particle/tsconfig.json" }, { "path": "./packages/wallets/phantom/tsconfig.json" }, { "path": "./packages/wallets/safepal/tsconfig.json" }, { "path": "./packages/wallets/saifu/tsconfig.json" }, { "path": "./packages/wallets/salmon/tsconfig.json" }, { "path": "./packages/wallets/sky/tsconfig.json" }, { "path": "./packages/wallets/solflare/tsconfig.json" }, { "path": "./packages/wallets/solong/tsconfig.json" }, { "path": "./packages/wallets/spot/tsconfig.json" }, { "path": "./packages/wallets/tokenary/tsconfig.json" }, { "path": "./packages/wallets/tokenpocket/tsconfig.json" }, { "path": "./packages/wallets/torus/tsconfig.json" }, { "path": "./packages/wallets/trezor/tsconfig.json" }, { "path": "./packages/wallets/trust/tsconfig.json" }, { "path": "./packages/wallets/unsafe-burner/tsconfig.json" }, { "path": "./packages/wallets/walletconnect/tsconfig.json" }, { "path": "./packages/wallets/wallets/tsconfig.json" }, { "path": "./packages/wallets/xdefi/tsconfig.json" } ] }
0
solana_public_repos/anza-xyz/wallet-adapter
solana_public_repos/anza-xyz/wallet-adapter/.changeset/config.json
{ "$schema": "https://unpkg.com/@changesets/config@2.2.0/schema.json", "changelog": "@changesets/cli/changelog", "commit": false, "fixed": [], "linked": [], "access": "restricted", "baseBranch": "master", "updateInternalDependencies": "patch", "ignore": [] }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/tsconfig.esm.json
{ "extends": "../../../tsconfig.esm.json", "include": ["src"], "compilerOptions": { "outDir": "lib/esm", "declarationDir": "lib/types", "jsx": "react" } }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/package.json
{ "name": "@solana/wallet-adapter-material-ui", "version": "0.16.34", "author": "Solana Maintainers <maintainers@solana.foundation>", "repository": "https://github.com/anza-xyz/wallet-adapter", "license": "Apache-2.0", "publishConfig": { "access": "public" }, "files": [ "lib", "src", "LICENSE" ], "engines": { "node": ">=18" }, "type": "module", "sideEffects": false, "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "types": "./lib/types/index.d.ts", "exports": { "require": "./lib/cjs/index.js", "import": "./lib/esm/index.js", "types": "./lib/types/index.d.ts" }, "scripts": { "build": "tsc --build --verbose && pnpm run package", "clean": "shx mkdir -p lib && shx rm -rf lib", "lint": "prettier --check 'src/{*,**/*}.{ts,tsx,js,jsx,json}' && eslint", "package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json" }, "peerDependencies": { "@mui/icons-material": "*", "@mui/material": "*", "@solana/web3.js": "^1.77.3", "react": "*", "react-dom": "*" }, "dependencies": { "@solana/wallet-adapter-base": "workspace:^", "@solana/wallet-adapter-base-ui": "workspace:^", "@solana/wallet-adapter-react": "workspace:^" }, "devDependencies": { "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@mui/icons-material": "^5.11.16", "@mui/material": "^5.13.5", "@solana/web3.js": "^1.77.3", "@types/react": "^18.2.13", "@types/react-dom": "^18.2.6", "react": "^18.2.0", "react-dom": "^18.2.0", "shx": "^0.3.4" } }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/tsconfig.cjs.json
{ "extends": "../../../tsconfig.cjs.json", "include": ["src"], "compilerOptions": { "outDir": "lib/cjs", "jsx": "react" } }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/tsconfig.json
{ "extends": "../../../tsconfig.root.json", "references": [ { "path": "./tsconfig.cjs.json" }, { "path": "./tsconfig.esm.json" } ] }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/WalletIcon.tsx
import type { Theme } from '@mui/material'; import { styled } from '@mui/material'; import type { Wallet } from '@solana/wallet-adapter-react'; import type { DetailedHTMLProps, FC, ImgHTMLAttributes } from 'react'; import React from 'react'; const Img = styled('img')(({ theme }: { theme: Theme }) => ({ width: theme.spacing(3), height: theme.spacing(3), })); export interface WalletIconProps extends DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> { wallet: { adapter: Pick<Wallet['adapter'], 'icon' | 'name'> } | null; } export const WalletIcon: FC<WalletIconProps> = ({ wallet, ...props }) => { return wallet && <Img src={wallet.adapter.icon} alt={`${wallet.adapter.name} icon`} {...props} />; };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/WalletConnectButton.tsx
import type { ButtonProps } from '@mui/material'; import React from 'react'; import { BaseWalletConnectButton } from './BaseWalletConnectButton.js'; const LABELS = { connecting: 'Connecting ...', connected: 'Connected', 'has-wallet': 'Connect', 'no-wallet': 'Connect Wallet', } as const; export function WalletConnectButton(props: ButtonProps) { return <BaseWalletConnectButton {...props} labels={LABELS} />; }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/WalletDialogProvider.tsx
import type { FC, ReactNode } from 'react'; import React, { useState } from 'react'; import { WalletDialogContext } from './useWalletDialog.js'; import type { WalletDialogProps } from './WalletDialog.js'; import { WalletDialog } from './WalletDialog.js'; export interface WalletDialogProviderProps extends WalletDialogProps { children: ReactNode; } export const WalletDialogProvider: FC<WalletDialogProviderProps> = ({ children, ...props }) => { const [open, setOpen] = useState(false); return ( <WalletDialogContext.Provider value={{ open, setOpen, }} > {children} <WalletDialog {...props} /> </WalletDialogContext.Provider> ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/WalletDialog.tsx
import { // FIXME(https://github.com/mui/material-ui/issues/35233) Close as CloseIcon, // FIXME(https://github.com/mui/material-ui/issues/35233) ExpandLess as CollapseIcon, // FIXME(https://github.com/mui/material-ui/issues/35233) ExpandMore as ExpandIcon, } from '@mui/icons-material'; import type { DialogProps, Theme } from '@mui/material'; import { Button, Collapse, Dialog, DialogContent, DialogTitle, IconButton, List, ListItem, styled, } from '@mui/material'; import type { WalletName } from '@solana/wallet-adapter-base'; import { WalletReadyState } from '@solana/wallet-adapter-base'; import { useWallet, type Wallet } from '@solana/wallet-adapter-react'; import type { FC, ReactElement, SyntheticEvent } from 'react'; import React, { useCallback, useMemo, useState } from 'react'; import { WalletListItem } from './WalletListItem.js'; import { useWalletDialog } from './useWalletDialog.js'; const RootDialog = styled(Dialog)(({ theme }: { theme: Theme }) => ({ '& .MuiDialog-paper': { width: theme.spacing(40), margin: 0, }, '& .MuiDialogTitle-root': { backgroundColor: theme.palette.primary.main, display: 'flex', justifyContent: 'space-between', lineHeight: theme.spacing(5), '& .MuiIconButton-root': { flexShrink: 1, padding: theme.spacing(), marginRight: theme.spacing(-1), color: theme.palette.grey[500], }, }, '& .MuiDialogContent-root': { padding: 0, '& .MuiCollapse-root': { '& .MuiList-root': { background: theme.palette.grey[900], }, }, '& .MuiList-root': { background: theme.palette.grey[900], padding: 0, }, '& .MuiListItem-root': { boxShadow: 'inset 0 1px 0 0 ' + 'rgba(255, 255, 255, 0.1)', '&:hover': { boxShadow: 'inset 0 1px 0 0 ' + 'rgba(255, 255, 255, 0.1)' + ', 0 1px 0 0 ' + 'rgba(255, 255, 255, 0.05)', }, padding: 0, '& .MuiButton-endIcon': { margin: 0, }, '& .MuiButton-root': { color: theme.palette.text.primary, flexGrow: 1, justifyContent: 'space-between', padding: theme.spacing(1, 3), borderRadius: undefined, fontSize: '1rem', fontWeight: 400, }, '& .MuiSvgIcon-root': { color: theme.palette.grey[500], }, }, }, })); export interface WalletDialogProps extends Omit<DialogProps, 'title' | 'open'> { featuredWallets?: number; title?: ReactElement; } export const WalletDialog: FC<WalletDialogProps> = ({ title = 'Select your wallet', featuredWallets = 3, onClose, ...props }) => { const { wallets, select } = useWallet(); const { open, setOpen } = useWalletDialog(); const [expanded, setExpanded] = useState(false); const [featured, more] = useMemo(() => { const installed: Wallet[] = []; const notInstalled: Wallet[] = []; for (const wallet of wallets) { if (wallet.readyState === WalletReadyState.Installed) { installed.push(wallet); } else { notInstalled.push(wallet); } } const orderedWallets = [...installed, ...notInstalled]; return [orderedWallets.slice(0, featuredWallets), orderedWallets.slice(featuredWallets)]; }, [wallets, featuredWallets]); const handleClose = useCallback( (event: SyntheticEvent, reason?: 'backdropClick' | 'escapeKeyDown') => { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion if (onClose) onClose(event, reason!); if (!event.defaultPrevented) setOpen(false); }, [setOpen, onClose] ); const handleWalletClick = useCallback( (event: SyntheticEvent, walletName: WalletName) => { select(walletName); handleClose(event); }, [select, handleClose] ); const handleExpandClick = useCallback(() => setExpanded(!expanded), [setExpanded, expanded]); return ( <RootDialog open={open} onClose={handleClose} {...props}> <DialogTitle> {title} <IconButton onClick={handleClose} size="large"> <CloseIcon /> </IconButton> </DialogTitle> <DialogContent> <List> {featured.map((wallet) => ( <WalletListItem key={wallet.adapter.name} onClick={(event) => handleWalletClick(event, wallet.adapter.name)} wallet={wallet} /> ))} {more.length ? ( <> <Collapse in={expanded} timeout="auto" unmountOnExit> <List> {more.map((wallet) => ( <WalletListItem key={wallet.adapter.name} onClick={(event) => handleWalletClick(event, wallet.adapter.name)} wallet={wallet} /> ))} </List> </Collapse> <ListItem> <Button onClick={handleExpandClick}> {expanded ? 'Less' : 'More'} options {expanded ? <CollapseIcon /> : <ExpandIcon />} </Button> </ListItem> </> ) : null} </List> </DialogContent> </RootDialog> ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/WalletMultiButton.tsx
import type { ButtonProps } from '@mui/material'; import React from 'react'; import { BaseWalletMultiButton } from './BaseWalletMultiButton.js'; const LABELS = { 'change-wallet': 'Change wallet', connecting: 'Connecting ...', 'copy-address': 'Copy address', disconnect: 'Disconnect', 'has-wallet': 'Connect', 'no-wallet': 'Select Wallet', } as const; export function WalletMultiButton(props: ButtonProps) { return <BaseWalletMultiButton {...props} labels={LABELS} />; }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/useWalletDialog.ts
import { createContext, useContext } from 'react'; export interface WalletDialogContextState { open: boolean; setOpen: (open: boolean) => void; } export const WalletDialogContext = createContext<WalletDialogContextState>({} as WalletDialogContextState); export function useWalletDialog(): WalletDialogContextState { return useContext(WalletDialogContext); }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/BaseWalletMultiButton.tsx
import { // FIXME(https://github.com/mui/material-ui/issues/35233) FileCopy as CopyIcon, // FIXME(https://github.com/mui/material-ui/issues/35233) LinkOff as DisconnectIcon, // FIXME(https://github.com/mui/material-ui/issues/35233) SwapHoriz as SwitchIcon, } from '@mui/icons-material'; import type { ButtonProps, Theme } from '@mui/material'; import { Collapse, Fade, ListItemIcon, Menu, MenuItem, styled } from '@mui/material'; import { useWalletMultiButton } from '@solana/wallet-adapter-base-ui'; import React, { useMemo, useState } from 'react'; import { BaseWalletConnectionButton } from './BaseWalletConnectionButton.js'; import { useWalletDialog } from './useWalletDialog.js'; const StyledMenu = styled(Menu)(({ theme }: { theme: Theme }) => ({ '& .MuiList-root': { padding: 0, }, '& .MuiListItemIcon-root': { marginRight: theme.spacing(), minWidth: 'unset', '& .MuiSvgIcon-root': { width: 20, height: 20, }, }, })); const WalletActionMenuItem = styled(MenuItem)(({ theme }: { theme: Theme }) => ({ padding: theme.spacing(1, 2), boxShadow: 'inset 0 1px 0 0 ' + 'rgba(255, 255, 255, 0.1)', '&:hover': { boxShadow: 'inset 0 1px 0 0 ' + 'rgba(255, 255, 255, 0.1)' + ', 0 1px 0 0 ' + 'rgba(255, 255, 255, 0.05)', }, })); const WalletMenuItem = styled(WalletActionMenuItem)(() => ({ padding: 0, '& .MuiButton-root': { borderRadius: 0, }, })); type Props = ButtonProps & { labels: Omit< { [TButtonState in ReturnType<typeof useWalletMultiButton>['buttonState']]: string }, 'connected' | 'disconnecting' > & { 'copy-address': string; 'change-wallet': string; disconnect: string; }; }; export function BaseWalletMultiButton({ children, labels, ...props }: Props) { const { setOpen: setModalVisible } = useWalletDialog(); const anchorRef = React.createRef<HTMLButtonElement>(); const [menuOpen, setMenuOpen] = useState(false); const { buttonState, onConnect, onDisconnect, publicKey, walletIcon, walletName } = useWalletMultiButton({ onSelectWallet() { setModalVisible(true); }, }); const content = useMemo(() => { if (children) { return children; } else if (publicKey) { const base58 = publicKey.toBase58(); return base58.slice(0, 4) + '..' + base58.slice(-4); } else if (buttonState === 'connecting' || buttonState === 'has-wallet') { return labels[buttonState]; } else { return labels['no-wallet']; } }, [buttonState, children, labels, publicKey]); return ( <> <BaseWalletConnectionButton {...props} aria-controls="wallet-menu" aria-haspopup="true" onClick={() => { switch (buttonState) { case 'no-wallet': setModalVisible(true); break; case 'has-wallet': if (onConnect) { onConnect(); } break; case 'connected': setMenuOpen(true); break; } }} ref={anchorRef} walletIcon={walletIcon} walletName={walletName} > {content} </BaseWalletConnectionButton> <StyledMenu id="wallet-menu" anchorEl={ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion () => anchorRef.current! } open={menuOpen} onClose={() => setMenuOpen(false)} marginThreshold={0} TransitionComponent={Fade} transitionDuration={250} keepMounted anchorOrigin={{ vertical: 'top', horizontal: 'left', }} > <WalletMenuItem onClick={() => setMenuOpen(false)}> <BaseWalletConnectionButton {...props} fullWidth onClick={() => setMenuOpen(false)} walletIcon={walletIcon} walletName={walletName} > {walletName} </BaseWalletConnectionButton> </WalletMenuItem> <Collapse in={menuOpen}> {publicKey ? ( <WalletActionMenuItem onClick={async () => { setMenuOpen(false); await navigator.clipboard.writeText(publicKey.toBase58()); }} > <ListItemIcon> <CopyIcon /> </ListItemIcon> {labels['copy-address']} </WalletActionMenuItem> ) : null} <WalletActionMenuItem onClick={() => { setMenuOpen(false); setModalVisible(true); }} > <ListItemIcon> <SwitchIcon /> </ListItemIcon> {labels['change-wallet']} </WalletActionMenuItem> {onDisconnect ? ( <WalletActionMenuItem onClick={() => { setMenuOpen(false); onDisconnect(); }} > <ListItemIcon> <DisconnectIcon /> </ListItemIcon> {labels['disconnect']} </WalletActionMenuItem> ) : null} </Collapse> </StyledMenu> </> ); }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/WalletDisconnectButton.tsx
import type { ButtonProps } from '@mui/material'; import React from 'react'; import { BaseWalletDisconnectButton } from './BaseWalletDisconnectButton.js'; const LABELS = { disconnecting: 'Disconnecting ...', 'has-wallet': 'Disconnect', 'no-wallet': 'Disconnect Wallet', } as const; export function WalletDisconnectButton(props: ButtonProps) { return <BaseWalletDisconnectButton {...props} labels={LABELS} />; }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/BaseWalletDisconnectButton.tsx
import type { ButtonProps } from '@mui/material'; import { useWalletDisconnectButton } from '@solana/wallet-adapter-base-ui'; import React from 'react'; import { BaseWalletConnectionButton } from './BaseWalletConnectionButton.js'; type Props = ButtonProps & { labels: { [TButtonState in ReturnType<typeof useWalletDisconnectButton>['buttonState']]: string }; }; export function BaseWalletDisconnectButton({ children, disabled, labels, onClick, ...props }: Props) { const { buttonDisabled, buttonState, onButtonClick, walletIcon, walletName } = useWalletDisconnectButton(); return ( <BaseWalletConnectionButton {...props} disabled={disabled || buttonDisabled} onClick={(e) => { if (onClick) { onClick(e); } if (e.defaultPrevented) { return; } if (onButtonClick) { onButtonClick(); } }} walletIcon={walletIcon} walletName={walletName} > {children ? children : labels[buttonState]} </BaseWalletConnectionButton> ); }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/BaseWalletConnectionButton.tsx
import type { ButtonProps } from '@mui/material'; import { Button } from '@mui/material'; import type { WalletName } from '@solana/wallet-adapter-base'; import React from 'react'; import { WalletIcon } from './WalletIcon.js'; type Props = ButtonProps & { walletIcon?: string; walletName?: WalletName; }; export const BaseWalletConnectionButton = React.forwardRef(function BaseWalletConnectionButton( { color = 'primary', type = 'button', walletIcon, walletName, variant = 'contained', ...props }: Props, forwardedRef: React.Ref<HTMLButtonElement> ) { return ( <Button {...props} color={color} startIcon={ walletIcon && walletName ? ( <WalletIcon wallet={{ adapter: { icon: walletIcon, name: walletName } }} /> ) : undefined } ref={forwardedRef} type={type} variant={variant} /> ); });
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/WalletListItem.tsx
import type { ListItemProps } from '@mui/material'; import { Button, ListItem } from '@mui/material'; import type { Wallet } from '@solana/wallet-adapter-react'; import type { FC, MouseEventHandler } from 'react'; import React from 'react'; import { WalletIcon } from './WalletIcon.js'; interface WalletListItemProps extends Omit<ListItemProps, 'onClick' | 'button'> { onClick: MouseEventHandler<HTMLButtonElement>; wallet: Wallet; } export const WalletListItem: FC<WalletListItemProps> = ({ onClick, wallet, ...props }) => { return ( <ListItem {...props}> <Button onClick={onClick} endIcon={<WalletIcon wallet={wallet} />}> {wallet.adapter.name} </Button> </ListItem> ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/BaseWalletConnectButton.tsx
import type { ButtonProps } from '@mui/material'; import { useWalletConnectButton } from '@solana/wallet-adapter-base-ui'; import React from 'react'; import { BaseWalletConnectionButton } from './BaseWalletConnectionButton.js'; type Props = ButtonProps & { labels: { [TButtonState in ReturnType<typeof useWalletConnectButton>['buttonState']]: string }; }; export function BaseWalletConnectButton({ children, disabled, labels, onClick, ...props }: Props) { const { buttonDisabled, buttonState, onButtonClick, walletIcon, walletName } = useWalletConnectButton(); return ( <BaseWalletConnectionButton {...props} disabled={disabled || buttonDisabled} onClick={(e) => { if (onClick) { onClick(e); } if (e.defaultPrevented) { return; } if (onButtonClick) { onButtonClick(); } }} walletIcon={walletIcon} walletName={walletName} > {children ? children : labels[buttonState]} </BaseWalletConnectionButton> ); }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/index.ts
export * from './useWalletDialog.js'; export * from './BaseWalletConnectButton.js'; export * from './BaseWalletDisconnectButton.js'; export * from './BaseWalletMultiButton.js'; export * from './WalletConnectButton.js'; export * from './WalletDialog.js'; export * from './WalletDialogButton.js'; export * from './WalletDialogProvider.js'; export * from './WalletDisconnectButton.js'; export * from './WalletIcon.js'; export * from './WalletMultiButton.js';
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/material-ui/src/WalletDialogButton.tsx
import type { ButtonProps } from '@mui/material'; import { Button } from '@mui/material'; import type { FC, MouseEventHandler } from 'react'; import React, { useCallback } from 'react'; import { useWalletDialog } from './useWalletDialog.js'; export const WalletDialogButton: FC<ButtonProps> = ({ children = 'Select Wallet', color = 'primary', variant = 'contained', type = 'button', onClick, ...props }) => { const { setOpen } = useWalletDialog(); const handleClick: MouseEventHandler<HTMLButtonElement> = useCallback( (event) => { if (onClick) onClick(event); if (!event.defaultPrevented) setOpen(true); }, [onClick, setOpen] ); return ( <Button color={color} variant={variant} type={type} onClick={handleClick} {...props}> {children} </Button> ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/styles.css
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap'); .wallet-adapter-button { background-color: transparent; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 600; height: 48px; line-height: 48px; padding: 0 24px; border-radius: 4px; } .wallet-adapter-button-trigger { background-color: #512da8; } .wallet-adapter-button:not([disabled]):focus-visible { outline-color: white; } .wallet-adapter-button:not([disabled]):hover { background-color: #1a1f2e; } .wallet-adapter-button[disabled] { background: #404144; color: #999; cursor: not-allowed; } .wallet-adapter-button-end-icon, .wallet-adapter-button-start-icon, .wallet-adapter-button-end-icon img, .wallet-adapter-button-start-icon img { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; } .wallet-adapter-button-end-icon { margin-left: 12px; } .wallet-adapter-button-start-icon { margin-right: 12px; } .wallet-adapter-collapse { width: 100%; } .wallet-adapter-dropdown { position: relative; display: inline-block; } .wallet-adapter-dropdown-list { position: absolute; z-index: 99; display: grid; grid-template-rows: 1fr; grid-row-gap: 10px; padding: 10px; top: 100%; right: 0; margin: 0; list-style: none; background: #2c2d30; border-radius: 10px; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6); opacity: 0; visibility: hidden; transition: opacity 200ms ease, transform 200ms ease, visibility 200ms; font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif; } .wallet-adapter-dropdown-list-active { opacity: 1; visibility: visible; transform: translateY(10px); } .wallet-adapter-dropdown-list-item { display: flex; flex-direction: row; justify-content: center; align-items: center; border: none; outline: none; cursor: pointer; white-space: nowrap; box-sizing: border-box; padding: 0 20px; width: 100%; border-radius: 6px; font-size: 14px; font-weight: 600; height: 37px; color: #fff; } .wallet-adapter-dropdown-list-item:not([disabled]):hover { background-color: #1a1f2e; } .wallet-adapter-modal-collapse-button svg { align-self: center; fill: #999; } .wallet-adapter-modal-collapse-button.wallet-adapter-modal-collapse-button-active svg { transform: rotate(180deg); transition: transform ease-in 150ms; } .wallet-adapter-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity linear 150ms; background: rgba(0, 0, 0, 0.5); z-index: 1040; overflow-y: auto; } .wallet-adapter-modal.wallet-adapter-modal-fade-in { opacity: 1; } .wallet-adapter-modal-button-close { display: flex; align-items: center; justify-content: center; position: absolute; top: 18px; right: 18px; padding: 12px; cursor: pointer; background: #1a1f2e; border: none; border-radius: 50%; } .wallet-adapter-modal-button-close:focus-visible { outline-color: white; } .wallet-adapter-modal-button-close svg { fill: #777; transition: fill 200ms ease 0s; } .wallet-adapter-modal-button-close:hover svg { fill: #fff; } .wallet-adapter-modal-overlay { background: rgba(0, 0, 0, 0.5); position: fixed; top: 0; left: 0; bottom: 0; right: 0; } .wallet-adapter-modal-container { display: flex; margin: 3rem; min-height: calc(100vh - 6rem); /* 100vh - 2 * margin */ align-items: center; justify-content: center; } @media (max-width: 480px) { .wallet-adapter-modal-container { margin: 1rem; min-height: calc(100vh - 2rem); /* 100vh - 2 * margin */ } } .wallet-adapter-modal-wrapper { box-sizing: border-box; position: relative; display: flex; align-items: center; flex-direction: column; z-index: 1050; max-width: 400px; border-radius: 10px; background: #10141f; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6); font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif; flex: 1; } .wallet-adapter-modal-wrapper .wallet-adapter-button { width: 100%; } .wallet-adapter-modal-title { font-weight: 500; font-size: 24px; line-height: 36px; margin: 0; padding: 64px 48px 48px 48px; text-align: center; color: #fff; } @media (max-width: 374px) { .wallet-adapter-modal-title { font-size: 18px; } } .wallet-adapter-modal-list { margin: 0 0 12px 0; padding: 0; width: 100%; list-style: none; } .wallet-adapter-modal-list .wallet-adapter-button { font-weight: 400; border-radius: 0; font-size: 18px; } .wallet-adapter-modal-list .wallet-adapter-button-end-icon, .wallet-adapter-modal-list .wallet-adapter-button-start-icon, .wallet-adapter-modal-list .wallet-adapter-button-end-icon img, .wallet-adapter-modal-list .wallet-adapter-button-start-icon img { width: 28px; height: 28px; } .wallet-adapter-modal-list .wallet-adapter-button span { margin-left: auto; font-size: 14px; opacity: .6; } .wallet-adapter-modal-list-more { cursor: pointer; border: none; padding: 12px 24px 24px 12px; align-self: flex-end; display: flex; align-items: center; background-color: transparent; color: #fff; } .wallet-adapter-modal-list-more svg { transition: all 0.1s ease; fill: rgba(255, 255, 255, 1); margin-left: 0.5rem; } .wallet-adapter-modal-list-more-icon-rotate { transform: rotate(180deg); } .wallet-adapter-modal-middle { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 0 24px 24px 24px; box-sizing: border-box; } .wallet-adapter-modal-middle-button { display: block; cursor: pointer; margin-top: 48px; width: 100%; background-color: #512da8; padding: 12px; font-size: 18px; border: none; border-radius: 8px; color: #fff; }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/tsconfig.esm.json
{ "extends": "../../../tsconfig.esm.json", "include": ["src"], "compilerOptions": { "outDir": "lib/esm", "declarationDir": "lib/types", "jsx": "react" } }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/package.json
{ "name": "@solana/wallet-adapter-react-ui", "version": "0.9.35", "author": "Solana Maintainers <maintainers@solana.foundation>", "repository": "https://github.com/anza-xyz/wallet-adapter", "license": "Apache-2.0", "publishConfig": { "access": "public" }, "files": [ "lib", "src", "LICENSE", "styles.css" ], "engines": { "node": ">=18" }, "type": "module", "sideEffects": [ "styles.css" ], "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "types": "./lib/types/index.d.ts", "exports": { ".": { "import": "./lib/esm/index.js", "require": "./lib/cjs/index.js", "types": "./lib/types/index.d.ts" }, "./styles.css": "./styles.css" }, "scripts": { "build": "tsc --build --verbose && pnpm run package", "clean": "shx mkdir -p lib && shx rm -rf lib", "lint": "prettier --check 'src/{*,**/*}.{ts,tsx,js,jsx,json}' && eslint", "package": "shx mkdir -p lib/cjs && shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json" }, "peerDependencies": { "@solana/web3.js": "^1.77.3", "react": "*", "react-dom": "*" }, "dependencies": { "@solana/wallet-adapter-base": "workspace:^", "@solana/wallet-adapter-base-ui": "workspace:^", "@solana/wallet-adapter-react": "workspace:^" }, "devDependencies": { "@solana/web3.js": "^1.77.3", "@types/react": "^18.2.13", "@types/react-dom": "^18.2.6", "react": "^18.2.0", "react-dom": "^18.2.0", "shx": "^0.3.4" } }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/tsconfig.cjs.json
{ "extends": "../../../tsconfig.cjs.json", "include": ["src"], "compilerOptions": { "outDir": "lib/cjs", "jsx": "react" } }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/tsconfig.json
{ "extends": "../../../tsconfig.root.json", "references": [ { "path": "./tsconfig.cjs.json" }, { "path": "./tsconfig.esm.json" } ] }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/WalletModalButton.tsx
import type { FC, MouseEvent } from 'react'; import React, { useCallback } from 'react'; import type { ButtonProps } from './Button.js'; import { Button as BaseWalletConnectionButton } from './Button.js'; import { useWalletModal } from './useWalletModal.js'; export const WalletModalButton: FC<ButtonProps> = ({ children = 'Select Wallet', onClick, ...props }) => { const { visible, setVisible } = useWalletModal(); const handleClick = useCallback( (event: MouseEvent<HTMLButtonElement>) => { if (onClick) onClick(event); if (!event.defaultPrevented) setVisible(!visible); }, [onClick, setVisible, visible] ); return ( <BaseWalletConnectionButton {...props} className="wallet-adapter-button-trigger" onClick={handleClick}> {children} </BaseWalletConnectionButton> ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/WalletIcon.tsx
import type { Wallet } from '@solana/wallet-adapter-react'; import type { DetailedHTMLProps, FC, ImgHTMLAttributes } from 'react'; import React from 'react'; export interface WalletIconProps extends DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> { wallet: { adapter: Pick<Wallet['adapter'], 'icon' | 'name'> } | null; } export const WalletIcon: FC<WalletIconProps> = ({ wallet, ...props }) => { return wallet && <img src={wallet.adapter.icon} alt={`${wallet.adapter.name} icon`} {...props} />; };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/WalletConnectButton.tsx
import React from 'react'; import { BaseWalletConnectButton } from './BaseWalletConnectButton.js'; import type { ButtonProps } from './Button.js'; const LABELS = { connecting: 'Connecting ...', connected: 'Connected', 'has-wallet': 'Connect', 'no-wallet': 'Connect Wallet', } as const; export function WalletConnectButton(props: ButtonProps) { return <BaseWalletConnectButton {...props} labels={LABELS} />; }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/Collapse.tsx
import type { FC, PropsWithChildren } from 'react'; import React, { useLayoutEffect, useRef } from 'react'; export type CollapseProps = PropsWithChildren<{ expanded: boolean; id: string; }>; export const Collapse: FC<CollapseProps> = ({ id, children, expanded = false }) => { const ref = useRef<HTMLDivElement>(null); const instant = useRef(true); const transition = 'height 250ms ease-out'; const openCollapse = () => { const node = ref.current; if (!node) return; requestAnimationFrame(() => { node.style.height = node.scrollHeight + 'px'; }); }; const closeCollapse = () => { const node = ref.current; if (!node) return; requestAnimationFrame(() => { node.style.height = node.offsetHeight + 'px'; node.style.overflow = 'hidden'; requestAnimationFrame(() => { node.style.height = '0'; }); }); }; useLayoutEffect(() => { if (expanded) { openCollapse(); } else { closeCollapse(); } }, [expanded]); useLayoutEffect(() => { const node = ref.current; if (!node) return; function handleComplete() { if (!node) return; node.style.overflow = expanded ? 'initial' : 'hidden'; if (expanded) { node.style.height = 'auto'; } } function handleTransitionEnd(event: TransitionEvent) { if (node && event.target === node && event.propertyName === 'height') { handleComplete(); } } if (instant.current) { handleComplete(); instant.current = false; } node.addEventListener('transitionend', handleTransitionEnd); return () => node.removeEventListener('transitionend', handleTransitionEnd); }, [expanded]); return ( <div className="wallet-adapter-collapse" id={id} ref={ref} role="region" style={{ height: 0, transition: instant.current ? undefined : transition }} > {children} </div> ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/WalletModal.tsx
import type { WalletName } from '@solana/wallet-adapter-base'; import { WalletReadyState } from '@solana/wallet-adapter-base'; import type { Wallet } from '@solana/wallet-adapter-react'; import { useWallet } from '@solana/wallet-adapter-react'; import type { FC, MouseEvent } from 'react'; import React, { useCallback, useLayoutEffect, useMemo, useRef, useState } from 'react'; import { createPortal } from 'react-dom'; import { Collapse } from './Collapse.js'; import { WalletListItem } from './WalletListItem.js'; import { WalletSVG } from './WalletSVG.js'; import { useWalletModal } from './useWalletModal.js'; export interface WalletModalProps { className?: string; container?: string; } export const WalletModal: FC<WalletModalProps> = ({ className = '', container = 'body' }) => { const ref = useRef<HTMLDivElement>(null); const { wallets, select } = useWallet(); const { setVisible } = useWalletModal(); const [expanded, setExpanded] = useState(false); const [fadeIn, setFadeIn] = useState(false); const [portal, setPortal] = useState<Element | null>(null); const [listedWallets, collapsedWallets] = useMemo(() => { const installed: Wallet[] = []; const notInstalled: Wallet[] = []; for (const wallet of wallets) { if (wallet.readyState === WalletReadyState.Installed) { installed.push(wallet); } else { notInstalled.push(wallet); } } return installed.length ? [installed, notInstalled] : [notInstalled, []]; }, [wallets]); const hideModal = useCallback(() => { setFadeIn(false); setTimeout(() => setVisible(false), 150); }, [setVisible]); const handleClose = useCallback( (event: MouseEvent) => { event.preventDefault(); hideModal(); }, [hideModal] ); const handleWalletClick = useCallback( (event: MouseEvent, walletName: WalletName) => { select(walletName); handleClose(event); }, [select, handleClose] ); const handleCollapseClick = useCallback(() => setExpanded(!expanded), [expanded]); const handleTabKey = useCallback( (event: KeyboardEvent) => { const node = ref.current; if (!node) return; // here we query all focusable elements const focusableElements = node.querySelectorAll('button'); // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const firstElement = focusableElements[0]!; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const lastElement = focusableElements[focusableElements.length - 1]!; if (event.shiftKey) { // if going backward by pressing tab and firstElement is active, shift focus to last focusable element if (document.activeElement === firstElement) { lastElement.focus(); event.preventDefault(); } } else { // if going forward by pressing tab and lastElement is active, shift focus to first focusable element if (document.activeElement === lastElement) { firstElement.focus(); event.preventDefault(); } } }, [ref] ); useLayoutEffect(() => { const handleKeyDown = (event: KeyboardEvent) => { if (event.key === 'Escape') { hideModal(); } else if (event.key === 'Tab') { handleTabKey(event); } }; // Get original overflow const { overflow } = window.getComputedStyle(document.body); // Hack to enable fade in animation after mount setTimeout(() => setFadeIn(true), 0); // Prevent scrolling on mount document.body.style.overflow = 'hidden'; // Listen for keydown events window.addEventListener('keydown', handleKeyDown, false); return () => { // Re-enable scrolling when component unmounts document.body.style.overflow = overflow; window.removeEventListener('keydown', handleKeyDown, false); }; }, [hideModal, handleTabKey]); useLayoutEffect(() => setPortal(document.querySelector(container)), [container]); return ( portal && createPortal( <div aria-labelledby="wallet-adapter-modal-title" aria-modal="true" className={`wallet-adapter-modal ${fadeIn && 'wallet-adapter-modal-fade-in'} ${className}`} ref={ref} role="dialog" > <div className="wallet-adapter-modal-container"> <div className="wallet-adapter-modal-wrapper"> <button onClick={handleClose} className="wallet-adapter-modal-button-close"> <svg width="14" height="14"> <path d="M14 12.461 8.3 6.772l5.234-5.233L12.006 0 6.772 5.234 1.54 0 0 1.539l5.234 5.233L0 12.006l1.539 1.528L6.772 8.3l5.69 5.7L14 12.461z" /> </svg> </button> {listedWallets.length ? ( <> <h1 className="wallet-adapter-modal-title">Connect a wallet on Solana to continue</h1> <ul className="wallet-adapter-modal-list"> {listedWallets.map((wallet) => ( <WalletListItem key={wallet.adapter.name} handleClick={(event) => handleWalletClick(event, wallet.adapter.name)} wallet={wallet} /> ))} {collapsedWallets.length ? ( <Collapse expanded={expanded} id="wallet-adapter-modal-collapse"> {collapsedWallets.map((wallet) => ( <WalletListItem key={wallet.adapter.name} handleClick={(event) => handleWalletClick(event, wallet.adapter.name) } tabIndex={expanded ? 0 : -1} wallet={wallet} /> ))} </Collapse> ) : null} </ul> {collapsedWallets.length ? ( <button className="wallet-adapter-modal-list-more" onClick={handleCollapseClick} tabIndex={0} > <span>{expanded ? 'Less ' : 'More '}options</span> <svg width="13" height="7" viewBox="0 0 13 7" xmlns="http://www.w3.org/2000/svg" className={`${ expanded ? 'wallet-adapter-modal-list-more-icon-rotate' : '' }`} > <path d="M0.71418 1.626L5.83323 6.26188C5.91574 6.33657 6.0181 6.39652 6.13327 6.43762C6.24844 6.47872 6.37371 6.5 6.50048 6.5C6.62725 6.5 6.75252 6.47872 6.8677 6.43762C6.98287 6.39652 7.08523 6.33657 7.16774 6.26188L12.2868 1.626C12.7753 1.1835 12.3703 0.5 11.6195 0.5H1.37997C0.629216 0.5 0.224175 1.1835 0.71418 1.626Z" /> </svg> </button> ) : null} </> ) : ( <> <h1 className="wallet-adapter-modal-title"> You'll need a wallet on Solana to continue </h1> <div className="wallet-adapter-modal-middle"> <WalletSVG /> </div> {collapsedWallets.length ? ( <> <button className="wallet-adapter-modal-list-more" onClick={handleCollapseClick} tabIndex={0} > <span>{expanded ? 'Hide ' : 'Already have a wallet? View '}options</span> <svg width="13" height="7" viewBox="0 0 13 7" xmlns="http://www.w3.org/2000/svg" className={`${ expanded ? 'wallet-adapter-modal-list-more-icon-rotate' : '' }`} > <path d="M0.71418 1.626L5.83323 6.26188C5.91574 6.33657 6.0181 6.39652 6.13327 6.43762C6.24844 6.47872 6.37371 6.5 6.50048 6.5C6.62725 6.5 6.75252 6.47872 6.8677 6.43762C6.98287 6.39652 7.08523 6.33657 7.16774 6.26188L12.2868 1.626C12.7753 1.1835 12.3703 0.5 11.6195 0.5H1.37997C0.629216 0.5 0.224175 1.1835 0.71418 1.626Z" /> </svg> </button> <Collapse expanded={expanded} id="wallet-adapter-modal-collapse"> <ul className="wallet-adapter-modal-list"> {collapsedWallets.map((wallet) => ( <WalletListItem key={wallet.adapter.name} handleClick={(event) => handleWalletClick(event, wallet.adapter.name) } tabIndex={expanded ? 0 : -1} wallet={wallet} /> ))} </ul> </Collapse> </> ) : null} </> )} </div> </div> <div className="wallet-adapter-modal-overlay" onMouseDown={handleClose} /> </div>, portal ) ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/WalletModalProvider.tsx
import type { FC, ReactNode } from 'react'; import React, { useState } from 'react'; import { WalletModalContext } from './useWalletModal.js'; import type { WalletModalProps } from './WalletModal.js'; import { WalletModal } from './WalletModal.js'; export interface WalletModalProviderProps extends WalletModalProps { children: ReactNode; } export const WalletModalProvider: FC<WalletModalProviderProps> = ({ children, ...props }) => { const [visible, setVisible] = useState(false); return ( <WalletModalContext.Provider value={{ visible, setVisible, }} > {children} {visible && <WalletModal {...props} />} </WalletModalContext.Provider> ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/WalletMultiButton.tsx
import React from 'react'; import { BaseWalletMultiButton } from './BaseWalletMultiButton.js'; import type { ButtonProps } from './Button.js'; const LABELS = { 'change-wallet': 'Change wallet', connecting: 'Connecting ...', 'copy-address': 'Copy address', copied: 'Copied', disconnect: 'Disconnect', 'has-wallet': 'Connect', 'no-wallet': 'Select Wallet', } as const; export function WalletMultiButton(props: ButtonProps) { return <BaseWalletMultiButton {...props} labels={LABELS} />; }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/BaseWalletMultiButton.tsx
import { useWalletMultiButton } from '@solana/wallet-adapter-base-ui'; import React, { useEffect, useMemo, useRef, useState } from 'react'; import { BaseWalletConnectionButton } from './BaseWalletConnectionButton.js'; import type { ButtonProps } from './Button.js'; import { useWalletModal } from './useWalletModal.js'; type Props = ButtonProps & { labels: Omit< { [TButtonState in ReturnType<typeof useWalletMultiButton>['buttonState']]: string }, 'connected' | 'disconnecting' > & { 'copy-address': string; copied: string; 'change-wallet': string; disconnect: string; }; }; export function BaseWalletMultiButton({ children, labels, ...props }: Props) { const { setVisible: setModalVisible } = useWalletModal(); const { buttonState, onConnect, onDisconnect, publicKey, walletIcon, walletName } = useWalletMultiButton({ onSelectWallet() { setModalVisible(true); }, }); const [copied, setCopied] = useState(false); const [menuOpen, setMenuOpen] = useState(false); const ref = useRef<HTMLUListElement>(null); useEffect(() => { const listener = (event: MouseEvent | TouchEvent) => { const node = ref.current; // Do nothing if clicking dropdown or its descendants if (!node || node.contains(event.target as Node)) return; setMenuOpen(false); }; document.addEventListener('mousedown', listener); document.addEventListener('touchstart', listener); return () => { document.removeEventListener('mousedown', listener); document.removeEventListener('touchstart', listener); }; }, []); const content = useMemo(() => { if (children) { return children; } else if (publicKey) { const base58 = publicKey.toBase58(); return base58.slice(0, 4) + '..' + base58.slice(-4); } else if (buttonState === 'connecting' || buttonState === 'has-wallet') { return labels[buttonState]; } else { return labels['no-wallet']; } }, [buttonState, children, labels, publicKey]); return ( <div className="wallet-adapter-dropdown"> <BaseWalletConnectionButton {...props} aria-expanded={menuOpen} style={{ pointerEvents: menuOpen ? 'none' : 'auto', ...props.style }} onClick={() => { switch (buttonState) { case 'no-wallet': setModalVisible(true); break; case 'has-wallet': if (onConnect) { onConnect(); } break; case 'connected': setMenuOpen(true); break; } }} walletIcon={walletIcon} walletName={walletName} > {content} </BaseWalletConnectionButton> <ul aria-label="dropdown-list" className={`wallet-adapter-dropdown-list ${menuOpen && 'wallet-adapter-dropdown-list-active'}`} ref={ref} role="menu" > {publicKey ? ( <li className="wallet-adapter-dropdown-list-item" onClick={async () => { await navigator.clipboard.writeText(publicKey.toBase58()); setCopied(true); setTimeout(() => setCopied(false), 400); }} role="menuitem" > {copied ? labels['copied'] : labels['copy-address']} </li> ) : null} <li className="wallet-adapter-dropdown-list-item" onClick={() => { setModalVisible(true); setMenuOpen(false); }} role="menuitem" > {labels['change-wallet']} </li> {onDisconnect ? ( <li className="wallet-adapter-dropdown-list-item" onClick={() => { onDisconnect(); setMenuOpen(false); }} role="menuitem" > {labels['disconnect']} </li> ) : null} </ul> </div> ); }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/WalletDisconnectButton.tsx
import React from 'react'; import { BaseWalletDisconnectButton } from './BaseWalletDisconnectButton.js'; import type { ButtonProps } from './Button.js'; const LABELS = { disconnecting: 'Disconnecting ...', 'has-wallet': 'Disconnect', 'no-wallet': 'Disconnect Wallet', } as const; export function WalletDisconnectButton(props: ButtonProps) { return <BaseWalletDisconnectButton {...props} labels={LABELS} />; }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/WalletSVG.tsx
import type { FC } from 'react'; import React from 'react'; export const WalletSVG: FC = () => { return ( <svg width="97" height="96" viewBox="0 0 97 96" fill="none" xmlns="http://www.w3.org/2000/svg"> <circle cx="48.5" cy="48" r="48" fill="url(#paint0_linear_880_5115)" fillOpacity="0.1" /> <circle cx="48.5" cy="48" r="47" stroke="url(#paint1_linear_880_5115)" strokeOpacity="0.4" strokeWidth="2" /> <g clipPath="url(#clip0_880_5115)"> <path d="M65.5769 28.1523H31.4231C27.6057 28.1523 24.5 31.258 24.5 35.0754V60.9215C24.5 64.7389 27.6057 67.8446 31.4231 67.8446H65.5769C69.3943 67.8446 72.5 64.7389 72.5 60.9215V35.0754C72.5 31.258 69.3943 28.1523 65.5769 28.1523ZM69.7308 52.1523H59.5769C57.2865 52.1523 55.4231 50.289 55.4231 47.9985C55.4231 45.708 57.2864 43.8446 59.5769 43.8446H69.7308V52.1523ZM69.7308 41.0754H59.5769C55.7595 41.0754 52.6539 44.1811 52.6539 47.9985C52.6539 51.8159 55.7595 54.9215 59.5769 54.9215H69.7308V60.9215C69.7308 63.2119 67.8674 65.0754 65.5769 65.0754H31.4231C29.1327 65.0754 27.2692 63.212 27.2692 60.9215V35.0754C27.2692 32.785 29.1326 30.9215 31.4231 30.9215H65.5769C67.8673 30.9215 69.7308 32.7849 69.7308 35.0754V41.0754Z" fill="url(#paint2_linear_880_5115)" /> <path d="M61.4231 46.6172H59.577C58.8123 46.6172 58.1924 47.2371 58.1924 48.0018C58.1924 48.7665 58.8123 49.3863 59.577 49.3863H61.4231C62.1878 49.3863 62.8077 48.7664 62.8077 48.0018C62.8077 47.2371 62.1878 46.6172 61.4231 46.6172Z" fill="url(#paint3_linear_880_5115)" /> </g> <defs> <linearGradient id="paint0_linear_880_5115" x1="3.41664" y1="98.0933" x2="103.05" y2="8.42498" gradientUnits="userSpaceOnUse" > <stop stopColor="#9945FF" /> <stop offset="0.14" stopColor="#8A53F4" /> <stop offset="0.42" stopColor="#6377D6" /> <stop offset="0.79" stopColor="#24B0A7" /> <stop offset="0.99" stopColor="#00D18C" /> <stop offset="1" stopColor="#00D18C" /> </linearGradient> <linearGradient id="paint1_linear_880_5115" x1="3.41664" y1="98.0933" x2="103.05" y2="8.42498" gradientUnits="userSpaceOnUse" > <stop stopColor="#9945FF" /> <stop offset="0.14" stopColor="#8A53F4" /> <stop offset="0.42" stopColor="#6377D6" /> <stop offset="0.79" stopColor="#24B0A7" /> <stop offset="0.99" stopColor="#00D18C" /> <stop offset="1" stopColor="#00D18C" /> </linearGradient> <linearGradient id="paint2_linear_880_5115" x1="25.9583" y1="68.7101" x2="67.2337" y2="23.7879" gradientUnits="userSpaceOnUse" > <stop stopColor="#9945FF" /> <stop offset="0.14" stopColor="#8A53F4" /> <stop offset="0.42" stopColor="#6377D6" /> <stop offset="0.79" stopColor="#24B0A7" /> <stop offset="0.99" stopColor="#00D18C" /> <stop offset="1" stopColor="#00D18C" /> </linearGradient> <linearGradient id="paint3_linear_880_5115" x1="58.3326" y1="49.4467" x2="61.0002" y2="45.4453" gradientUnits="userSpaceOnUse" > <stop stopColor="#9945FF" /> <stop offset="0.14" stopColor="#8A53F4" /> <stop offset="0.42" stopColor="#6377D6" /> <stop offset="0.79" stopColor="#24B0A7" /> <stop offset="0.99" stopColor="#00D18C" /> <stop offset="1" stopColor="#00D18C" /> </linearGradient> <clipPath id="clip0_880_5115"> <rect width="48" height="48" fill="white" transform="translate(24.5 24)" /> </clipPath> </defs> </svg> ); };
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/useWalletModal.tsx
import { createContext, useContext } from 'react'; export interface WalletModalContextState { visible: boolean; setVisible: (open: boolean) => void; } const DEFAULT_CONTEXT = { setVisible(_open: boolean) { console.error(constructMissingProviderErrorMessage('call', 'setVisible')); }, visible: false, }; Object.defineProperty(DEFAULT_CONTEXT, 'visible', { get() { console.error(constructMissingProviderErrorMessage('read', 'visible')); return false; }, }); function constructMissingProviderErrorMessage(action: string, valueName: string) { return ( 'You have tried to ' + ` ${action} "${valueName}"` + ' on a WalletModalContext without providing one.' + ' Make sure to render a WalletModalProvider' + ' as an ancestor of the component that uses ' + 'WalletModalContext' ); } export const WalletModalContext = createContext<WalletModalContextState>(DEFAULT_CONTEXT as WalletModalContextState); export function useWalletModal(): WalletModalContextState { return useContext(WalletModalContext); }
0
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui
solana_public_repos/anza-xyz/wallet-adapter/packages/ui/react-ui/src/BaseWalletDisconnectButton.tsx
import { useWalletDisconnectButton } from '@solana/wallet-adapter-base-ui'; import React from 'react'; import { BaseWalletConnectionButton } from './BaseWalletConnectionButton.js'; import type { ButtonProps } from './Button.js'; type Props = ButtonProps & { labels: { [TButtonState in ReturnType<typeof useWalletDisconnectButton>['buttonState']]: string }; }; export function BaseWalletDisconnectButton({ children, disabled, labels, onClick, ...props }: Props) { const { buttonDisabled, buttonState, onButtonClick, walletIcon, walletName } = useWalletDisconnectButton(); return ( <BaseWalletConnectionButton {...props} disabled={disabled || buttonDisabled} onClick={(e) => { if (onClick) { onClick(e); } if (e.defaultPrevented) { return; } if (onButtonClick) { onButtonClick(); } }} walletIcon={walletIcon} walletName={walletName} > {children ? children : labels[buttonState]} </BaseWalletConnectionButton> ); }
0