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/chunk-CS4FH2KK.mjs +64 -0
- package/dist/chunk-CS4FH2KK.mjs.map +1 -0
- package/dist/chunk-VQMEUJ4S.mjs +15080 -0
- package/dist/chunk-VQMEUJ4S.mjs.map +1 -0
- package/dist/eth.d.ts +33 -0
- package/dist/eth.js +15122 -0
- package/dist/eth.js.map +1 -0
- package/dist/eth.mjs +18 -0
- package/dist/eth.mjs.map +1 -0
- package/dist/gor.d.ts +33 -0
- package/dist/gor.js +13952 -0
- package/dist/gor.js.map +1 -0
- package/dist/gor.mjs +18 -0
- package/dist/gor.mjs.map +1 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.js +77 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +26 -0
- package/dist/index.mjs.map +1 -0
- package/dist/schema-ad08d8ab.d.ts +314 -0
- package/package.json +72 -0
package/dist/eth.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createApply,
|
|
3
|
+
createExportJson,
|
|
4
|
+
eth,
|
|
5
|
+
eth2
|
|
6
|
+
} from "./chunk-VQMEUJ4S.mjs";
|
|
7
|
+
import "./chunk-CS4FH2KK.mjs";
|
|
8
|
+
|
|
9
|
+
// src/eth.ts
|
|
10
|
+
var apply = createApply(1);
|
|
11
|
+
var exportJson = createExportJson(1);
|
|
12
|
+
export {
|
|
13
|
+
eth as allow,
|
|
14
|
+
apply,
|
|
15
|
+
exportJson,
|
|
16
|
+
eth2 as schema
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=eth.mjs.map
|
package/dist/eth.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/eth.ts"],"sourcesContent":["import { eth as allow } from \"./protocols\"\nimport { eth as schema } from \"./protocols/schema\"\n\nimport { createApply } from \"./apply\"\nimport { createExportJson } from \"./json\"\n\nexport { allow, schema }\n\nexport const apply = createApply(1)\nexport const exportJson = createExportJson(1)\n"],"mappings":";;;;;;;;;AAQO,IAAM,QAAQ,YAAY,CAAC;AAC3B,IAAM,aAAa,iBAAiB,CAAC;","names":[]}
|
package/dist/gor.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
|
|
2
|
+
export { g as allow, b 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 };
|