Socket
Book a DemoInstallSign in
Socket

@boostxyz/sdk

Package Overview
Dependencies
Maintainers
5
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boostxyz/sdk

Typescript devkit for interacting with the Boost V2 Protocol

7.8.0
latest
Source
npmnpm
Version published
Weekly downloads
164
215.38%
Maintainers
5
Weekly downloads
 
Created
Source

Boost SDK

Typescript devkit for interacting with the Boost V2 Protocol

Documentation

Visit https://docs.boost.xyz/v2/boost-sdk/overview for docs, guides, API and more!

Event Actions

Tuple Handling

When a field is declared as TUPLE in the PrimitiveType of an EventAction, we unpack its bit-packed fieldIndex to drill down through each nested level of the tuple. Each sub-index occupies 6 bits (values 0–63), and a sub-index of 63 is treated as a terminator—signaling the end of further drilling. Once we locate the leaf in the nested structure, the code infers the final (non-tuple) PrimitiveType by reading the ABI definition (address, uint256, string, etc.) at that leaf node.

  • We can store up to 5 sub-indexes (each 6 bits) in one fieldIndex.
  • As we parse a TUPLE, we read those sub-indexes one by one, traversing each nested tuple parameter in the ABI.
  • At the final, non-tuple component, we derive the actual PrimitiveType (e.g., ADDRESS, UINT, BYTES, or STRING) by inspecting that component’s type in the ABI definition.

FAQs

Package last updated on 27 Aug 2025

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.