Hostile 99% javascript Download

@aztec/stdlib 2.1.11

“Javascript types and helper functions for the aztec circuits.”

Basename is uppercase README.mdContains an unconditional loop header

Evidence

Repeated Zod object-schema type references abi.d.ts · lines 43–49
43:54… >;
44/** A named type. */
45export declare const ABIVariableSchema: z.ZodObject<{
46 /** The name of the variable. */
47 name: z.ZodString;
48 /** The type of the variable. */
49 type: z.ZodType<AbiType, …
Identifier text ends with Abi suffix abi.d.ts · lines 127–134
127:16… utility"
128}
129/** The abi entry of a function. */
130export interface FunctionAbi {
131 /** The name of the function. */
132 name: string;
133 /** Whether the function is secret. */
134 functionType: FunctionT …
imports pako abi.js · lines 1–14
1/* eslint-disable camelcase */ import { createLogger } from '@aztec/foundation/log';
2import { schemas } from '@aztec/foundation/schemas';
3import { inflate } from 'pako';
4import { z } from 'zod';
5import { FunctionSelector } from './function_selector.js';
6const logger = createLogger('aztec:foundation:abi');
7export const AbiValueSchema = z.discriminatedUnion('kind', [
8 z.object({
⋯6 lines
JavaScript invokes a Base64 decoder abi.js · lines 206–215
206:93…
207}
208export function parseDebugSymbols(debugSymbols) {
209 return JSON.parse(inflate(Buffer.from(debugSymbols, 'base64'), {
210 to: 'string',
211 raw: true
⋯4 lines
Slash line comment contains a URL abi.js · lines 221–223
221:10… f (functionArtifact.debugSymbols && contractArtifact.fileMap) {
222 // TODO(https://github.com/AztecProtocol/aztec-packages/issues/10546) investigate why debugMetadata is so big for some tests.
223 const programDebu …

Showing the top 5 files — 6 more files (58 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.