Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphprotocol/graph-ts

Package Overview
Dependencies
Maintainers
2
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphprotocol/graph-ts - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

33

index.ts

@@ -775,2 +775,31 @@ // Export allocator functions for hosts to manage WASM memory

/**
* An Ethereum block.
*/
export class EthereumBlock {
hash: H256
parentHash: H256
unclesHash: H256
author: Address
stateRoot: H256
transactionsRoot: H256
receiptsRoot: H256
number: U128
gasUsed: U256
gasLimit: U256
timestamp: U256
difficulty: U256
totalDifficulty: U256
}
/**
* An Ethereum transaction.
*/
export class EthereumTransaction {
hash: H256
blockHash: H256
blockNumber: U256
gasUsed: U256
}
/**
* Common representation for Ethereum smart contract events.

@@ -780,4 +809,4 @@ */

address: Address
eventSignature: string
blockHash: H256
block: EthereumBlock
transaction: EthereumTransaction
parameters: Array<EthereumEventParam>

@@ -784,0 +813,0 @@ }

2

package.json
{
"name": "@graphprotocol/graph-ts",
"description": "TypeScript/AssemblyScript library for writing subgraph mappings for The Graph",
"version": "0.3.2",
"version": "0.3.3",
"module": "index.ts",

@@ -6,0 +6,0 @@ "types": "index.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc