matchstick-as
Advanced tools
Comparing version 0.5.0-rc.0 to 0.5.0
@@ -1,6 +0,7 @@ | ||
import { Address, BigInt, Bytes, ethereum } from "@graphprotocol/graph-ts"; | ||
import { Address, BigInt, Bytes, ByteArray, Wrapped, ethereum } from "@graphprotocol/graph-ts"; | ||
let defaultAddress = Address.fromString("0xA16081F360e3847006dB660bae1c6d1b2e17eC2A"); | ||
let defaultAddressBytes = Address.fromString("0xA16081F360e3847006dB660bae1c6d1b2e17eC2A") as Bytes; | ||
let defaultAddressBytes = defaultAddress as Bytes; | ||
let defaultBigInt = BigInt.fromI32(1); | ||
let defaultIntBytes = Bytes.fromI32(1); | ||
let defaultEventDataLogType = "default_log_type"; | ||
@@ -10,3 +11,3 @@ | ||
return new ethereum.Event(defaultAddress, defaultBigInt, | ||
defaultBigInt, defaultEventDataLogType, newBlock(), newTransaction(), []); | ||
defaultBigInt, defaultEventDataLogType, newBlock(), newTransaction(), [], newTransactionReceipt()); | ||
} | ||
@@ -28,1 +29,12 @@ | ||
} | ||
function newTransactionReceipt(): ethereum.TransactionReceipt { | ||
return new ethereum.TransactionReceipt(defaultAddressBytes, defaultBigInt, defaultAddressBytes, defaultBigInt, | ||
defaultBigInt, defaultBigInt, defaultAddress, [newLog()], defaultBigInt, defaultAddressBytes, defaultAddressBytes) | ||
} | ||
function newLog(): ethereum.Log { | ||
return new ethereum.Log(defaultAddress, [defaultAddressBytes], defaultAddressBytes, | ||
defaultAddressBytes, defaultIntBytes, defaultAddressBytes, defaultBigInt, | ||
defaultBigInt, defaultBigInt, defaultEventDataLogType, new Wrapped(false)); | ||
} |
{ | ||
"name": "matchstick-as", | ||
"version": "0.5.0-rc.0", | ||
"version": "0.5.0", | ||
"author": "LimeChain", | ||
@@ -8,3 +8,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@graphprotocol/graph-ts": "^0.26.0", | ||
"@graphprotocol/graph-ts": "^0.27.0", | ||
"assemblyscript": "^0.19.20", | ||
@@ -11,0 +11,0 @@ "wabt": "1.0.24" |
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
12299
300
+ Added@graphprotocol/graph-ts@0.27.0(transitive)
- Removed@graphprotocol/graph-ts@0.26.0(transitive)