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

matchstick-as

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

matchstick-as - npm Package Compare versions

Comparing version 0.5.0-rc.0 to 0.5.0

18

assembly/defaults.ts

@@ -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));
}

4

package.json
{
"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"

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