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

@abacus-network/core

Package Overview
Dependencies
Maintainers
5
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abacus-network/core - npm Package Compare versions

Comparing version 0.2.4-0 to 0.3.0-beta0

dist/AbacusConnectionManager.d.ts

9

dist/contracts/test/bad-recipient/BadRecipient2.d.ts

@@ -9,5 +9,7 @@ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../../common";

};
getFunction(nameOrSignatureOrTopic: "handle"): FunctionFragment;
getFunction(nameOrSignatureOrTopic: "handle" | "handle(uint32,bytes32)"): FunctionFragment;
encodeFunctionData(functionFragment: "handle", values: [BigNumberish, BytesLike]): string;
encodeFunctionData(functionFragment: "handle(uint32,bytes32)", values: [BigNumberish, BytesLike]): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "handle(uint32,bytes32)", data: BytesLike): Result;
events: {};

@@ -31,6 +33,9 @@ }

handle(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<[void]>;
"handle(uint32,bytes32)"(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<[void]>;
};
handle(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<void>;
"handle(uint32,bytes32)"(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<void>;
callStatic: {
handle(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<void>;
"handle(uint32,bytes32)"(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<void>;
};

@@ -40,7 +45,9 @@ filters: {};

handle(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
"handle(uint32,bytes32)"(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
handle(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
"handle(uint32,bytes32)"(arg0: BigNumberish, arg1: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}
//# sourceMappingURL=BadRecipient2.d.ts.map

@@ -12,11 +12,19 @@ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common";

};
getFunction(nameOrSignatureOrTopic: "doMath" | "getState" | "setState" | "stateVar"): FunctionFragment;
getFunction(nameOrSignatureOrTopic: "doMath" | "doMath(uint256,uint256)" | "getState" | "getState()" | "setState" | "setState(uint256)" | "stateVar" | "stateVar()"): FunctionFragment;
encodeFunctionData(functionFragment: "doMath", values: [BigNumberish, BigNumberish]): string;
encodeFunctionData(functionFragment: "doMath(uint256,uint256)", values: [BigNumberish, BigNumberish]): string;
encodeFunctionData(functionFragment: "getState", values?: undefined): string;
encodeFunctionData(functionFragment: "getState()", values?: undefined): string;
encodeFunctionData(functionFragment: "setState", values: [BigNumberish]): string;
encodeFunctionData(functionFragment: "setState(uint256)", values: [BigNumberish]): string;
encodeFunctionData(functionFragment: "stateVar", values?: undefined): string;
encodeFunctionData(functionFragment: "stateVar()", values?: undefined): string;
decodeFunctionResult(functionFragment: "doMath", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "doMath(uint256,uint256)", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState()", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState(uint256)", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar()", data: BytesLike): Result;
events: {};

@@ -42,19 +50,37 @@ }

}>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber] & {
_result: BigNumber;
}>;
getState(overrides?: CallOverrides): Promise<[BigNumber]>;
"getState()"(overrides?: CallOverrides): Promise<[BigNumber]>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<[BigNumber]>;
"stateVar()"(overrides?: CallOverrides): Promise<[BigNumber]>;
};
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
callStatic: {
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
"setState(uint256)"(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
};

@@ -64,17 +90,29 @@ filters: {};

doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<BigNumber>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<BigNumber>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getState(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"getState()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<PopulatedTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<PopulatedTransaction>;
stateVar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"stateVar()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}
//# sourceMappingURL=MysteryMath.d.ts.map

@@ -13,13 +13,23 @@ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common";

};
getFunction(nameOrSignatureOrTopic: "doMath" | "getState" | "setState" | "stateVar" | "version"): FunctionFragment;
getFunction(nameOrSignatureOrTopic: "doMath" | "doMath(uint256,uint256)" | "getState" | "getState()" | "setState" | "setState(uint256)" | "stateVar" | "stateVar()" | "version" | "version()"): FunctionFragment;
encodeFunctionData(functionFragment: "doMath", values: [BigNumberish, BigNumberish]): string;
encodeFunctionData(functionFragment: "doMath(uint256,uint256)", values: [BigNumberish, BigNumberish]): string;
encodeFunctionData(functionFragment: "getState", values?: undefined): string;
encodeFunctionData(functionFragment: "getState()", values?: undefined): string;
encodeFunctionData(functionFragment: "setState", values: [BigNumberish]): string;
encodeFunctionData(functionFragment: "setState(uint256)", values: [BigNumberish]): string;
encodeFunctionData(functionFragment: "stateVar", values?: undefined): string;
encodeFunctionData(functionFragment: "stateVar()", values?: undefined): string;
encodeFunctionData(functionFragment: "version", values?: undefined): string;
encodeFunctionData(functionFragment: "version()", values?: undefined): string;
decodeFunctionResult(functionFragment: "doMath", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "doMath(uint256,uint256)", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState()", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState(uint256)", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar()", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "version()", data: BytesLike): Result;
events: {};

@@ -45,22 +55,43 @@ }

}>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber] & {
_result: BigNumber;
}>;
getState(overrides?: CallOverrides): Promise<[BigNumber]>;
"getState()"(overrides?: CallOverrides): Promise<[BigNumber]>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<[BigNumber]>;
"stateVar()"(overrides?: CallOverrides): Promise<[BigNumber]>;
version(overrides?: CallOverrides): Promise<[number]>;
"version()"(overrides?: CallOverrides): Promise<[number]>;
};
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<number>;
"version()"(overrides?: CallOverrides): Promise<number>;
callStatic: {
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
"setState(uint256)"(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<number>;
"version()"(overrides?: CallOverrides): Promise<number>;
};

@@ -70,19 +101,33 @@ filters: {};

doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<BigNumber>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<BigNumber>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<BigNumber>;
"version()"(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getState(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"getState()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<PopulatedTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<PopulatedTransaction>;
stateVar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"stateVar()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"version()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}
//# sourceMappingURL=MysteryMathV1.d.ts.map

@@ -13,13 +13,23 @@ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "../../common";

};
getFunction(nameOrSignatureOrTopic: "doMath" | "getState" | "setState" | "stateVar" | "version"): FunctionFragment;
getFunction(nameOrSignatureOrTopic: "doMath" | "doMath(uint256,uint256)" | "getState" | "getState()" | "setState" | "setState(uint256)" | "stateVar" | "stateVar()" | "version" | "version()"): FunctionFragment;
encodeFunctionData(functionFragment: "doMath", values: [BigNumberish, BigNumberish]): string;
encodeFunctionData(functionFragment: "doMath(uint256,uint256)", values: [BigNumberish, BigNumberish]): string;
encodeFunctionData(functionFragment: "getState", values?: undefined): string;
encodeFunctionData(functionFragment: "getState()", values?: undefined): string;
encodeFunctionData(functionFragment: "setState", values: [BigNumberish]): string;
encodeFunctionData(functionFragment: "setState(uint256)", values: [BigNumberish]): string;
encodeFunctionData(functionFragment: "stateVar", values?: undefined): string;
encodeFunctionData(functionFragment: "stateVar()", values?: undefined): string;
encodeFunctionData(functionFragment: "version", values?: undefined): string;
encodeFunctionData(functionFragment: "version()", values?: undefined): string;
decodeFunctionResult(functionFragment: "doMath", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "doMath(uint256,uint256)", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState()", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState(uint256)", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar()", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "version()", data: BytesLike): Result;
events: {};

@@ -45,22 +55,43 @@ }

}>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber] & {
_result: BigNumber;
}>;
getState(overrides?: CallOverrides): Promise<[BigNumber]>;
"getState()"(overrides?: CallOverrides): Promise<[BigNumber]>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<[BigNumber]>;
"stateVar()"(overrides?: CallOverrides): Promise<[BigNumber]>;
version(overrides?: CallOverrides): Promise<[number]>;
"version()"(overrides?: CallOverrides): Promise<[number]>;
};
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<number>;
"version()"(overrides?: CallOverrides): Promise<number>;
callStatic: {
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
"setState(uint256)"(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<number>;
"version()"(overrides?: CallOverrides): Promise<number>;
};

@@ -70,19 +101,33 @@ filters: {};

doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
"getState()"(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<BigNumber>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<BigNumber>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
"stateVar()"(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<BigNumber>;
"version()"(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
doMath(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
"doMath(uint256,uint256)"(a: BigNumberish, b: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getState(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"getState()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
setState(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<PopulatedTransaction>;
"setState(uint256)"(_var: BigNumberish, overrides?: Overrides & {
from?: string | Promise<string>;
}): Promise<PopulatedTransaction>;
stateVar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"stateVar()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
"version()"(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}
//# sourceMappingURL=MysteryMathV2.d.ts.map

8

package.json
{
"name": "@abacus-network/core",
"description": "Core solidity contracts for Abacus",
"version": "0.2.4-0",
"version": "0.3.0-beta0",
"dependencies": {
"@abacus-network/utils": "^0.2.4-0",
"@abacus-network/utils": "^0.3.0-beta0",
"@openzeppelin/contracts": "^4.6.0",

@@ -48,3 +48,3 @@ "@openzeppelin/contracts-upgradeable": "^4.6.0",

"build": "hardhat compile && tsc",
"clean": "hardhat clean",
"clean": "hardhat clean && rm -rf dist cache",
"coverage": "hardhat coverage",

@@ -56,2 +56,2 @@ "prettier": "prettier --write ./contracts ./interfaces ./test",

"stableVersion": "0.2.3"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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