@graphprotocol/graph-ts
Advanced tools
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 @@ } |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38553
789