
Security News
TC39 Advances Temporal to Stage 4 Alongside Several ECMAScript Proposals
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.
@truffle/decoder
Advanced tools
A library that provides both high and low level decoding of Ethereum contract variables
This module provides interfaces for decoding contract state and events.
import decoder from 'truffle-contract-decoder';
const contractDecoder = await decoder.for(instance: TruffleContract);
number | "latest"
An instance of this class represents a decoder for a TruffleContract deployed instance.
contractDecoder.state(block: BlockNumber = "latest"): Promise<Interface ContractState>
contractDecoder.variable(variable: string, block: BlockNumber = "latest"): Promise<Interface DecodedVariable>
contractDecoder.events(name: string | null = null, block: BlockNumber = "latest"): Promise<Interface ContractEvent[]>
contractDecoder.onEvent(name: string, callback: Function(event: ContractEvent, callback: Function(err: Error | falsy = null)))
FAQs
A decoder for Solidity variables of all sorts
The npm package @truffle/decoder receives a total of 1,141 weekly downloads. As such, @truffle/decoder popularity was classified as popular.
We found that @truffle/decoder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.

Research
/Security News
Since January 31, 2026, we identified at least 72 additional malicious Open VSX extensions, including transitive GlassWorm loader extensions targeting developers.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.