Systems and methods for selectively indexing blockchain operations by parsing raw blockchain data for relevant data prior to executing confirmatory function calls
Abstract
Methods and systems for parsing and identifying unindexed parameters and other information (e.g., a token contract address) that may appear encoded in event data. Specifically, the system may retrieve bytecode for an identified blockchain operation (e.g., a transaction). The system may then segregate the bytecode into constructor arguments, code sections, and/or metadata. The system may then parse the segregated portions of bytecode for bytecode representations that are based on function signatures, event signatures, token standards, and/or contract addresses. In some embodiments, the system may further narrow the pool of known bytecode representations that are compared against the remaining sections of bytecode based on bytecode representations corresponding to a particular type of blockchain network standard.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A system for selectively indexing blockchain operations by parsing raw blockchain data for relevant smart contracts prior to executing confirmatory function calls, the system comprising: one or more processors and non-transitory media storing instructions that, when executed by the one or more processors, cause operations comprising: in response to receiving a request related to indexing blockchain operations related to one or more smart contracts that correspond to a blockchain network standard of a plurality of blockchain network standards, generating a bytecode representation of a standard-specific constant corresponding to the blockchain network standard, wherein the standard-specific constant is determined using a machine learning model trained on labeled standard-specific constants corresponding to the blockchain network standard to detect the standard-specific constant; parsing a bytecode sample corresponding to a block of a blockchain network using the bytecode representation o
- Claim 2Independent Claim
A method for selectively indexing blockchain operations by parsing raw blockchain data for relevant smart contracts prior to executing confirmatory function calls, the method comprising: receiving a first input that indicates a first type of blockchain network standard of a plurality of types of blockchain network standards for detection; generating a first bytecode representation of a first standard-specific constant corresponding to the first type of blockchain network standard, wherein generating the first bytecode representation of the first standard-specific constant comprises: determining a first combination of characters in a plurality of bytecode samples in a threshold number of the plurality of bytecode samples; and assigning the first combination of characters as the first bytecode representation of the first standard-specific constant; using the first bytecode representation of the first standard-specific constant to determine a probability related to whether a first blockch
- Claim 3Depends on #2
The method of claim 2, wherein the first standard-specific constant comprises a compiling of an indicium of a plurality of indicia of bytecode representations that correspond to the first type of blockchain network standard of a blockchain network, and wherein the first standard-specific constant comprises compile-time values, which do not change after being compiled.
- Claim 4Depends on #2
The method of claim 2, wherein determining the first standard-specific constant corresponding to the first type of blockchain network standard further comprises: accessing a blockchain node; retrieving a plurality of runtime bytecode samples from blocks on the blockchain node, wherein the plurality of runtime bytecode samples comprises non-human readable text; extracting the plurality of bytecode samples from the plurality of runtime bytecode samples; and determining the first standard-specific constant based on the plurality of bytecode samples.
- Claim 5Depends on #2
The method of claim 2, wherein executing the first function further comprises: accessing an application binary interface; and causing the application binary interface to execute a STATICCALL opcode in an Ethereum Virtual Machine (EVM).
- Claim 6Depends on #2
The method of claim 2, wherein the first function comprises a function with a value argument of zero.
- Claim 7Depends on #2
The method of claim 2, wherein the first input further comprises a known contract address, and wherein using the first bytecode representation to determine the probability related to whether the first blockchain operation corresponds to the first type of blockchain network standard comprises: retrieving a first bytecode sample corresponding to a first block of a blockchain network; parsing the first bytecode sample using the first bytecode representation of the first standard-specific constant to determine a first probability that the first block comprises the first blockchain operation corresponding to the first type of blockchain network standard, wherein parsing the first bytecode sample further comprises determining a second probability that the first blockchain operation corresponds to the known contract address; and comparing the first probability to the threshold probability, and determining that the first probability equals or exceeds the threshold probability, wherein executin
- Claim 8Depends on #2
The method of claim 2, wherein generating the first bytecode representation of the first standard-specific constant comprises: mapping a plurality of portions of the plurality of bytecode samples; locating a first portion of the plurality of portions; and parsing the first portion to determine the first combination of characters.
Technical Overview & Description
BACKGROUND In recent years, the use of blockchains and blockchain technology has exponentially increased. Blockchains comprise a list of records, called “ blocks, ” that are “ chained ” together using cryptography. Each block may comprise data that is computed using a one-way function (e.g., a function that is practically impossible to invert or reverse-compute) of a previous block, a timestamp (e.g., indicating a creation and/or modification time), and additional data (e.g., transactional or operational data related to blockchain operations). While publicity for blockchains and blockchain technology has been concentrated on its use for cryptocurrencies and smart contracts, blockchains and blockchain technology may be applicable to numerous technological avenues. A common theme of the technological avenues is the manner in which blockchains and blockchain technology are decentralized such that facilitation, management, and/or verification of blockchain-based operations is governed or administered not by any one authority but instead by a community of users. The blockchain may therefore remain distributed (e.g., on a network of computers that communicate and coordinate their actions by passing messages to one another), and in many cases public, through a digital ledger, which records the series of blocks forming the chain. Notably, because each block depends on a preceding block, edits to existing blocks in the chain may not be made without affecting subsequent blocks. Furthermore, updates to the blockchain (e.g., the addition of new blocks) may include incentivization systems that reward community members for the generation of the updates while also ensuring a consensus by the community. By doing so, the proliferation of the blockchain may proceed indefinitely. SUMMARY Methods and systems are described herein for novel uses and/or improvements to blockchains and blockchain technology. As one example, methods and systems are described herein for improved indexing of
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (15)
| Patent | Title | Year | Citations |
|---|---|---|---|
| KR 20220045867 A | A Transparent three-dimensional mask and Manufacturing method thereof | — | 0 |