defi-kit 1.10.4 → 1.12.0
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.
- package/dist/arb1.d.mts +45 -0
- package/dist/arb1.d.ts +45 -0
- package/dist/arb1.js +22433 -0
- package/dist/arb1.js.map +1 -0
- package/dist/arb1.mjs +18 -0
- package/dist/arb1.mjs.map +1 -0
- package/dist/{chunk-35H7I4PR.mjs → chunk-62Q7GIME.mjs} +861 -379
- package/dist/chunk-62Q7GIME.mjs.map +1 -0
- package/dist/{chunk-PU3MJ7WD.mjs → chunk-UZTSR4X2.mjs} +2 -1
- package/dist/chunk-UZTSR4X2.mjs.map +1 -0
- package/dist/eth.d.mts +4 -4
- package/dist/eth.d.ts +4 -4
- package/dist/eth.js +857 -383
- package/dist/eth.js.map +1 -1
- package/dist/eth.mjs +2 -2
- package/dist/gno.d.mts +4 -4
- package/dist/gno.d.ts +4 -4
- package/dist/gno.js +857 -383
- package/dist/gno.js.map +1 -1
- package/dist/gno.mjs +2 -2
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/schema-jBnMtcL_.d.mts +498 -0
- package/dist/schema-jBnMtcL_.d.ts +498 -0
- package/package.json +10 -2
- package/dist/chunk-35H7I4PR.mjs.map +0 -1
- package/dist/chunk-PU3MJ7WD.mjs.map +0 -1
- package/dist/schema-z2N8H8wn.d.mts +0 -398
- package/dist/schema-z2N8H8wn.d.ts +0 -398
package/dist/arb1.d.mts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { T as Target, A as Annotation, C as ContractInput } from './schema-jBnMtcL_.mjs';
|
|
2
|
+
export { c as allow, d as schema } from './schema-jBnMtcL_.mjs';
|
|
3
|
+
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
|
|
4
|
+
import 'zod';
|
|
5
|
+
|
|
6
|
+
declare const apply: (roleKey: `0x${string}`, permissions: (zodiac_roles_sdk__.Permission | zodiac_roles_sdk__.PermissionSet | Promise<zodiac_roles_sdk__.PermissionSet>)[], options: {
|
|
7
|
+
address: `0x${string}`;
|
|
8
|
+
mode: "replace" | "remove" | "extend";
|
|
9
|
+
log?: boolean | ((message: string) => void) | undefined;
|
|
10
|
+
currentTargets?: Target[] | undefined;
|
|
11
|
+
currentAnnotations?: Annotation[] | undefined;
|
|
12
|
+
}) => Promise<{
|
|
13
|
+
to: `0x${string}`;
|
|
14
|
+
data: `0x${string}`;
|
|
15
|
+
value: "0";
|
|
16
|
+
}[]>;
|
|
17
|
+
declare const exportToSafeTransactionBuilder: (transactions: {
|
|
18
|
+
to: `0x${string}`;
|
|
19
|
+
data: `0x${string}`;
|
|
20
|
+
value: "0";
|
|
21
|
+
}[], meta?: {
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
description?: string | undefined;
|
|
24
|
+
} | undefined) => {
|
|
25
|
+
readonly version: "1.0";
|
|
26
|
+
readonly chainId: string;
|
|
27
|
+
readonly createdAt: number;
|
|
28
|
+
readonly meta: {
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly description: string;
|
|
31
|
+
readonly txBuilderVersion: "1.16.2";
|
|
32
|
+
};
|
|
33
|
+
readonly transactions: {
|
|
34
|
+
to: `0x${string}`;
|
|
35
|
+
value: "0";
|
|
36
|
+
contractMethod: {
|
|
37
|
+
inputs: ContractInput[];
|
|
38
|
+
name: string;
|
|
39
|
+
payable: boolean;
|
|
40
|
+
};
|
|
41
|
+
contractInputsValues: Record<string, string>;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { apply, exportToSafeTransactionBuilder };
|
package/dist/arb1.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { T as Target, A as Annotation, C as ContractInput } from './schema-jBnMtcL_.js';
|
|
2
|
+
export { c as allow, d as schema } from './schema-jBnMtcL_.js';
|
|
3
|
+
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
|
|
4
|
+
import 'zod';
|
|
5
|
+
|
|
6
|
+
declare const apply: (roleKey: `0x${string}`, permissions: (zodiac_roles_sdk__.Permission | zodiac_roles_sdk__.PermissionSet | Promise<zodiac_roles_sdk__.PermissionSet>)[], options: {
|
|
7
|
+
address: `0x${string}`;
|
|
8
|
+
mode: "replace" | "remove" | "extend";
|
|
9
|
+
log?: boolean | ((message: string) => void) | undefined;
|
|
10
|
+
currentTargets?: Target[] | undefined;
|
|
11
|
+
currentAnnotations?: Annotation[] | undefined;
|
|
12
|
+
}) => Promise<{
|
|
13
|
+
to: `0x${string}`;
|
|
14
|
+
data: `0x${string}`;
|
|
15
|
+
value: "0";
|
|
16
|
+
}[]>;
|
|
17
|
+
declare const exportToSafeTransactionBuilder: (transactions: {
|
|
18
|
+
to: `0x${string}`;
|
|
19
|
+
data: `0x${string}`;
|
|
20
|
+
value: "0";
|
|
21
|
+
}[], meta?: {
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
description?: string | undefined;
|
|
24
|
+
} | undefined) => {
|
|
25
|
+
readonly version: "1.0";
|
|
26
|
+
readonly chainId: string;
|
|
27
|
+
readonly createdAt: number;
|
|
28
|
+
readonly meta: {
|
|
29
|
+
readonly name: string;
|
|
30
|
+
readonly description: string;
|
|
31
|
+
readonly txBuilderVersion: "1.16.2";
|
|
32
|
+
};
|
|
33
|
+
readonly transactions: {
|
|
34
|
+
to: `0x${string}`;
|
|
35
|
+
value: "0";
|
|
36
|
+
contractMethod: {
|
|
37
|
+
inputs: ContractInput[];
|
|
38
|
+
name: string;
|
|
39
|
+
payable: boolean;
|
|
40
|
+
};
|
|
41
|
+
contractInputsValues: Record<string, string>;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export { apply, exportToSafeTransactionBuilder };
|