Skip to content

Commit 27627bf

Browse files
committed
bump sqd packages
1 parent 8061a84 commit 27627bf

6 files changed

Lines changed: 56 additions & 91 deletions

File tree

lib/abi/multicall.d.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,33 @@ type AnyFunc = AbiFunction<any, any>;
1212
type AggregateTuple<T extends AnyFunc = AnyFunc> = [func: T, address: string, args: T extends AnyFunc ? FunctionArguments<T> : never];
1313
export declare class Multicall extends ContractBase {
1414
static aggregate: AbiFunction<{
15-
readonly calls: p.Codec<{
15+
readonly calls: p.ArrayCodec<{
1616
readonly target: string;
1717
readonly callData: string | Uint8Array<ArrayBufferLike>;
18-
}[], {
18+
}, {
1919
readonly target: string;
2020
readonly callData: string;
21-
}[]>;
22-
}, {
21+
}>;
22+
}, p.StructCodec<{
2323
readonly blockNumber: p.Codec<number | bigint, bigint>;
24-
readonly returnData: p.Codec<(string | Uint8Array<ArrayBufferLike>)[], string[]>;
25-
}>;
24+
readonly returnData: p.ArrayCodec<string | Uint8Array<ArrayBufferLike>, string>;
25+
}>>;
2626
static tryAggregate: AbiFunction<{
2727
readonly requireSuccess: p.Codec<boolean, boolean>;
28-
readonly calls: p.Codec<{
28+
readonly calls: p.ArrayCodec<{
2929
readonly target: string;
3030
readonly callData: string | Uint8Array<ArrayBufferLike>;
31-
}[], {
31+
}, {
3232
readonly target: string;
3333
readonly callData: string;
34-
}[]>;
35-
}, p.Codec<{
34+
}>;
35+
}, p.ArrayCodec<{
3636
readonly success: boolean;
3737
readonly returnData: string | Uint8Array<ArrayBufferLike>;
38-
}[], {
38+
}, {
3939
readonly success: boolean;
4040
readonly returnData: string;
41-
}[]>>;
41+
}>>;
4242
aggregate<TF extends AnyFunc>(func: TF, address: string, calls: FunctionArguments<TF>[], paging?: number): Promise<FunctionReturn<TF>[]>;
4343
aggregate<TF extends AnyFunc>(func: TF, calls: (readonly [address: string, args: FunctionArguments<TF>])[], paging?: number): Promise<FunctionReturn<TF>[]>;
4444
aggregate(calls: AggregateTuple[], paging?: number): Promise<any[]>;

lib/abi/multicall.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/abi/multicall.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
"license": "UNLICENSED",
1818
"dependencies": {
1919
"@subsquid/archive-registry": "^3.3.2",
20-
"@subsquid/evm-abi": "^0.3.1",
21-
"@subsquid/evm-codec": "^0.3.0",
20+
"@subsquid/evm-abi": "^1.0.0",
21+
"@subsquid/evm-codec": "^1.0.0",
2222
"@subsquid/evm-processor": "1.28.0-portal-api.721f49",
23-
"@subsquid/typeorm-store": "^1.5.1",
23+
"@subsquid/typeorm-store": "^1.9.1",
2424
"dayjs": "^1.11.13",
2525
"lodash": "^4.17.21",
2626
"node-fetch": "^2.7.0",

0 commit comments

Comments
 (0)