@woof-software/contracts-tools-sdk-ethers 0.0.16 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ export declare class BaseContract {
|
|
|
9
9
|
readonly contractOptions: ContractOptions;
|
|
10
10
|
static createAutoClass(abi: Interface | InterfaceAbi, address?: string, driver?: Provider | Signer, options?: ContractOptions): DynamicContractConstructor;
|
|
11
11
|
static createAutoInstance(abi: Interface | InterfaceAbi, address?: string, driver?: Provider | Signer, options?: ContractOptions): import("../types").DynamicContract;
|
|
12
|
-
constructor(abi: Interface | InterfaceAbi, address
|
|
12
|
+
constructor(abi: Interface | InterfaceAbi, address?: string, driver?: Signer | Provider, options?: ContractOptions);
|
|
13
13
|
get provider(): Provider | null;
|
|
14
14
|
get signer(): Signer | null;
|
|
15
15
|
get interface(): Interface;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Contract, Provider, Signer } from "ethers";
|
|
1
|
+
import type { Contract, Provider, Signer, TransactionResponse } from "ethers";
|
|
2
2
|
import type { PriorityCallOptions } from "../types";
|
|
3
|
-
export declare function priorityCall(provider: Provider, signer: Signer, contract: Contract, method: string, args?: any[], options?: PriorityCallOptions): Promise<
|
|
3
|
+
export declare function priorityCall(provider: Provider, signer: Signer, contract: Contract, method: string, args?: any[], options?: PriorityCallOptions): Promise<TransactionResponse>;
|
|
4
4
|
export declare function priorityCallEstimate(provider: Provider, signer: Signer, contract: Contract, method: string, args?: any[], options?: PriorityCallOptions): Promise<bigint>;
|
|
@@ -8,10 +8,10 @@ import { isParsable, isStaticArray } from "../helpers/index.js";
|
|
|
8
8
|
import { CallMutability, } from "../types/index.js";
|
|
9
9
|
import { checkSignals, createTimeoutSignal, raceWithSignals, waitWithSignals, } from "../utils/index.js";
|
|
10
10
|
import { multicallErrorEventName } from "./multicall-error-event-name.js";
|
|
11
|
+
import { multicallGenerateTag } from "./multicall-generate-tag.js";
|
|
11
12
|
import { multicallNormalizeTags } from "./multicall-normalize-tags.js";
|
|
12
13
|
import { multicallResultEventName } from "./multicall-result-event-name.js";
|
|
13
14
|
import { multicallSplitCalls } from "./multicall-split-calls.js";
|
|
14
|
-
import { multicallGenerateTag } from "./multicall-generate-tag.js";
|
|
15
15
|
const aggregate3 = "aggregate3";
|
|
16
16
|
export class MulticallUnit extends BaseContract {
|
|
17
17
|
constructor(driver, options = {}, multicallAddress = MULTICALL_ADDRESS) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@woof-software/contracts-tools-sdk-ethers",
|
|
3
3
|
"description": "Module simplify smart contract interactions and multicall3 aggregation on the Ethereum blockchain and other EVM-compatible networks.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.18",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/woof-compound/sandbox-sdks.git"
|