defi-kit 0.1.12

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/eth.d.ts ADDED
@@ -0,0 +1,33 @@
1
+ import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
2
+ export { e as allow, a as schema } from './schema-ad08d8ab.js';
3
+ import 'zodiac-roles-sdk/build/cjs/sdk/src/presets/types';
4
+ import 'zod';
5
+
6
+ declare const apply: (roleKey: string, entries: zodiac_roles_sdk__.PresetAllowEntry[], options: ({
7
+ address: string;
8
+ } | {
9
+ currentPermissions: zodiac_roles_sdk__.Target[];
10
+ }) & {
11
+ mode: "replace" | "extend" | "remove";
12
+ log?: boolean | ((message: string) => void) | undefined;
13
+ }) => Promise<string[]>;
14
+ declare const exportJson: (address: `0x${string}`, calls: string[], meta?: {
15
+ name: string;
16
+ description: string;
17
+ } | undefined) => {
18
+ readonly version: "1.0";
19
+ readonly chainId: string;
20
+ readonly meta: {
21
+ readonly name: string;
22
+ readonly description: string;
23
+ readonly txBuilderVersion: "1.13.3";
24
+ };
25
+ readonly createdAt: number;
26
+ readonly transactions: {
27
+ to: `0x${string}`;
28
+ data: string;
29
+ value: string;
30
+ }[];
31
+ };
32
+
33
+ export { apply, exportJson };