zkcloudworker 0.18.6 → 0.18.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -201,6 +201,10 @@ declare const WhitelistedAddress_base: (new (value: {
|
|
201
201
|
};
|
202
202
|
export declare class WhitelistedAddress extends WhitelistedAddress_base {
|
203
203
|
}
|
204
|
+
export type WhitelistedAddressList = WhitelistedAddress[] | {
|
205
|
+
address: string;
|
206
|
+
amount?: number;
|
207
|
+
}[];
|
204
208
|
declare const Whitelist_base: (new (value: {
|
205
209
|
root: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
206
210
|
storage: Storage;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"whitelist.js","sourceRoot":"","sources":["../../../../src/mina/token/whitelist.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,MAAM,EACN,QAAQ,GAET,MAAM,MAAM,CAAC;AACd,OAAO,EACL,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,MAAM,EAAE,gBAAgB,EAAE,GAAG,YAAY,CAAC;AAE1C,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAE5B,4DAA4D;AAC5D,MAAM,OAAO,YAAa,SAAQ,gBAAgB,CAAC,gBAAgB,CAAC;CAAG;AACvE,MAAM,OAAO,kBAAmB,SAAQ,MAAM,CAAC,YAAY,CAAC;CAAG;AAC/D,MAAM,OAAO,YAAa,SAAQ,MAAM,CAAC,MAAM,CAAC;CAAG;AACnD,MAAM,OAAO,kBAAmB,SAAQ,MAAM,CAAC;IAC7C,OAAO,EAAE,SAAS;IAClB,M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;gBACV,IAAI;gBACJ,SAAS;gBACT,IAAI;aACL,CAAC,CAAC;QACL,CAAC;QACD,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAEtD,OAAO,IAAI,SAAS,CAAC;YACnB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;SAClC,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -201,6 +201,10 @@ declare const WhitelistedAddress_base: (new (value: {
|
|
201
201
|
};
|
202
202
|
export declare class WhitelistedAddress extends WhitelistedAddress_base {
|
203
203
|
}
|
204
|
+
export type WhitelistedAddressList = WhitelistedAddress[] | {
|
205
|
+
address: string;
|
206
|
+
amount?: number;
|
207
|
+
}[];
|
204
208
|
declare const Whitelist_base: (new (value: {
|
205
209
|
root: import("node_modules/o1js/dist/node/lib/provable/field.js").Field;
|
206
210
|
storage: Storage;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"whitelist.js","sourceRoot":"","sources":["../../../../src/mina/token/whitelist.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,MAAM,EACN,KAAK,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,MAAM,EACN,QAAQ,GAET,MAAM,MAAM,CAAC;AACd,OAAO,EACL,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,MAAM,EAAE,gBAAgB,EAAE,GAAG,YAAY,CAAC;AAE1C,MAAM,gBAAgB,GAAG,EAAE,CAAC;AAE5B,4DAA4D;AAC5D,MAAM,OAAO,YAAa,SA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,IAAI,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG,OAAO,EAAE,CAAC;YACnE,OAAO,EAAE,CAAC;YACV,MAAM,KAAK,CAAC,IAAI,GAAG,OAAO,CAAC,CAAC,CAAC,qBAAqB;YAClD,IAAI,GAAG,MAAM,OAAO,CAAC;gBACnB,IAAI,EAAE,IAAI;gBACV,IAAI;gBACJ,SAAS;gBACT,IAAI;aACL,CAAC,CAAC;QACL,CAAC;QACD,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAEtD,OAAO,IAAI,SAAS,CAAC;YACnB,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC;SAClC,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "zkcloudworker",
|
3
|
-
"version": "0.18.
|
3
|
+
"version": "0.18.7",
|
4
4
|
"type": "module",
|
5
5
|
"description": "zkCloudWorker library",
|
6
6
|
"author": "zkCloudWorker",
|
@@ -62,5 +62,6 @@
|
|
62
62
|
"@types/node": "^22.9.3",
|
63
63
|
"o1js": "^2.1.0",
|
64
64
|
"typescript": "^5.7.2"
|
65
|
-
}
|
65
|
+
},
|
66
|
+
"packageManager": "yarn@4.5.2"
|
66
67
|
}
|
@@ -31,6 +31,10 @@ export class WhitelistedAddress extends Struct({
|
|
31
31
|
amount: UInt64, // Maximum permitted amount of the transaction
|
32
32
|
}) {}
|
33
33
|
|
34
|
+
export type WhitelistedAddressList =
|
35
|
+
| WhitelistedAddress[]
|
36
|
+
| { address: string; amount?: number }[];
|
37
|
+
|
34
38
|
export class Whitelist extends Struct({
|
35
39
|
/** The root hash of the Merkle tree representing the whitelist. */
|
36
40
|
root: Field,
|