zklicensing 0.1.0-beta.2 → 0.1.0-beta.21
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/README.md +417 -201
- package/build/agent.d.ts +371 -0
- package/build/agent.d.ts.map +1 -0
- package/build/agent.js +553 -0
- package/build/agent.js.map +1 -0
- package/build/agentActions.d.ts +841 -0
- package/build/agentActions.d.ts.map +1 -0
- package/build/agentActions.js +581 -0
- package/build/agentActions.js.map +1 -0
- package/build/agentRecord.d.ts +83 -0
- package/build/agentRecord.d.ts.map +1 -0
- package/build/agentRecord.js +69 -0
- package/build/agentRecord.js.map +1 -0
- package/build/agentVendor.d.ts +220 -0
- package/build/agentVendor.d.ts.map +1 -0
- package/build/agentVendor.js +306 -0
- package/build/agentVendor.js.map +1 -0
- package/build/appsLookup.d.ts +14 -0
- package/build/appsLookup.d.ts.map +1 -0
- package/build/appsLookup.js +12 -0
- package/build/appsLookup.js.map +1 -0
- package/build/archiveBootstrap.d.ts +31 -5
- package/build/archiveBootstrap.d.ts.map +1 -0
- package/build/archiveBootstrap.js +140 -47
- package/build/archiveBootstrap.js.map +1 -0
- package/build/atomicJson.d.ts +5 -0
- package/build/atomicJson.d.ts.map +1 -0
- package/build/atomicJson.js +55 -0
- package/build/atomicJson.js.map +1 -0
- package/build/bindClient.d.ts +85 -0
- package/build/bindClient.d.ts.map +1 -0
- package/build/bindClient.js +187 -0
- package/build/bindClient.js.map +1 -0
- package/build/buyClient.d.ts +27 -4
- package/build/buyClient.d.ts.map +1 -0
- package/build/buyClient.js +72 -26
- package/build/buyClient.js.map +1 -0
- package/build/chainHead.d.ts +61 -0
- package/build/chainHead.d.ts.map +1 -0
- package/build/chainHead.js +88 -0
- package/build/chainHead.js.map +1 -0
- package/build/compactMerkleMap.d.ts +72 -0
- package/build/compactMerkleMap.d.ts.map +1 -0
- package/build/compactMerkleMap.js +224 -0
- package/build/compactMerkleMap.js.map +1 -0
- package/build/contractInterface.d.ts +191 -51
- package/build/contractInterface.d.ts.map +1 -0
- package/build/contractInterface.js +234 -43
- package/build/contractInterface.js.map +1 -0
- package/build/contractTypes.d.ts +9 -0
- package/build/contractTypes.d.ts.map +1 -0
- package/build/contractTypes.js +28 -0
- package/build/contractTypes.js.map +1 -0
- package/build/countryStats.d.ts +12 -3
- package/build/countryStats.d.ts.map +1 -0
- package/build/countryStats.js +87 -23
- package/build/countryStats.js.map +1 -0
- package/build/deployClient.d.ts +138 -24
- package/build/deployClient.d.ts.map +1 -0
- package/build/deployClient.js +91 -31
- package/build/deployClient.js.map +1 -0
- package/build/deviceIdentity.d.ts +68 -0
- package/build/deviceIdentity.d.ts.map +1 -0
- package/build/deviceIdentity.js +209 -0
- package/build/deviceIdentity.js.map +1 -0
- package/build/freezeClient.d.ts +26 -6
- package/build/freezeClient.d.ts.map +1 -0
- package/build/freezeClient.js +30 -6
- package/build/freezeClient.js.map +1 -0
- package/build/generationClient.d.ts +6 -3
- package/build/generationClient.d.ts.map +1 -0
- package/build/generationClient.js +25 -38
- package/build/generationClient.js.map +1 -0
- package/build/holderSecret.d.ts +70 -0
- package/build/holderSecret.d.ts.map +1 -0
- package/build/holderSecret.js +76 -0
- package/build/holderSecret.js.map +1 -0
- package/build/index.d.ts +38 -38
- package/build/index.d.ts.map +1 -0
- package/build/index.js +97 -121
- package/build/index.js.map +1 -0
- package/build/keysClient.d.ts +142 -0
- package/build/keysClient.d.ts.map +1 -0
- package/build/keysClient.js +109 -0
- package/build/keysClient.js.map +1 -0
- package/build/licenseLeaf.d.ts +76 -0
- package/build/licenseLeaf.d.ts.map +1 -0
- package/build/licenseLeaf.js +189 -0
- package/build/licenseLeaf.js.map +1 -0
- package/build/licenseRecord.d.ts +68 -5
- package/build/licenseRecord.d.ts.map +1 -0
- package/build/licenseRecord.js +26 -1
- package/build/licenseRecord.js.map +1 -0
- package/build/licenseStore.d.ts +81 -4
- package/build/licenseStore.d.ts.map +1 -0
- package/build/licenseStore.js +400 -30
- package/build/licenseStore.js.map +1 -0
- package/build/licenseTrustless.d.ts +43 -0
- package/build/licenseTrustless.d.ts.map +1 -0
- package/build/licenseTrustless.js +180 -0
- package/build/licenseTrustless.js.map +1 -0
- package/build/manifestVerify.d.ts +29 -1
- package/build/manifestVerify.d.ts.map +1 -0
- package/build/manifestVerify.js +46 -4
- package/build/manifestVerify.js.map +1 -0
- package/build/minaPriceHistory.d.ts +9 -0
- package/build/minaPriceHistory.d.ts.map +1 -0
- package/build/minaPriceHistory.js +152 -0
- package/build/minaPriceHistory.js.map +1 -0
- package/build/onChainRoot.d.ts +60 -0
- package/build/onChainRoot.d.ts.map +1 -0
- package/build/onChainRoot.js +74 -0
- package/build/onChainRoot.js.map +1 -0
- package/build/ownershipLicenseHash.d.ts +25 -0
- package/build/ownershipLicenseHash.d.ts.map +1 -0
- package/build/ownershipLicenseHash.js +29 -0
- package/build/ownershipLicenseHash.js.map +1 -0
- package/build/ownershipSignature.d.ts +153 -0
- package/build/ownershipSignature.d.ts.map +1 -0
- package/build/ownershipSignature.js +297 -0
- package/build/ownershipSignature.js.map +1 -0
- package/build/permitCheckFlow.d.ts +155 -0
- package/build/permitCheckFlow.d.ts.map +1 -0
- package/build/permitCheckFlow.js +196 -0
- package/build/permitCheckFlow.js.map +1 -0
- package/build/permitDescribe.d.ts +124 -0
- package/build/permitDescribe.d.ts.map +1 -0
- package/build/permitDescribe.js +324 -0
- package/build/permitDescribe.js.map +1 -0
- package/build/permitInterface.d.ts +85 -0
- package/build/permitInterface.d.ts.map +1 -0
- package/build/permitInterface.js +121 -0
- package/build/permitInterface.js.map +1 -0
- package/build/permitMessages.d.ts +313 -0
- package/build/permitMessages.d.ts.map +1 -0
- package/build/permitMessages.js +462 -0
- package/build/permitMessages.js.map +1 -0
- package/build/permitProof.d.ts +108 -0
- package/build/permitProof.d.ts.map +1 -0
- package/build/permitProof.js +202 -0
- package/build/permitProof.js.map +1 -0
- package/build/permitRegistryRebuild.d.ts +166 -0
- package/build/permitRegistryRebuild.d.ts.map +1 -0
- package/build/permitRegistryRebuild.js +347 -0
- package/build/permitRegistryRebuild.js.map +1 -0
- package/build/permitTree.d.ts +88 -0
- package/build/permitTree.d.ts.map +1 -0
- package/build/permitTree.js +230 -0
- package/build/permitTree.js.map +1 -0
- package/build/permitsClient.d.ts +680 -0
- package/build/permitsClient.d.ts.map +1 -0
- package/build/permitsClient.js +597 -0
- package/build/permitsClient.js.map +1 -0
- package/build/proveErrors.d.ts +50 -0
- package/build/proveErrors.d.ts.map +1 -0
- package/build/proveErrors.js +76 -0
- package/build/proveErrors.js.map +1 -0
- package/build/receipt.d.ts +95 -0
- package/build/receipt.d.ts.map +1 -0
- package/build/receipt.js +84 -0
- package/build/receipt.js.map +1 -0
- package/build/refundClient.d.ts +7 -12
- package/build/refundClient.d.ts.map +1 -0
- package/build/refundClient.js +52 -21
- package/build/refundClient.js.map +1 -0
- package/build/registryTrustVerify.d.ts +78 -0
- package/build/registryTrustVerify.d.ts.map +1 -0
- package/build/registryTrustVerify.js +129 -0
- package/build/registryTrustVerify.js.map +1 -0
- package/build/releaseClient.d.ts +26 -0
- package/build/releaseClient.d.ts.map +1 -0
- package/build/releaseClient.js +65 -0
- package/build/releaseClient.js.map +1 -0
- package/build/renewClient.d.ts +28 -2
- package/build/renewClient.d.ts.map +1 -0
- package/build/renewClient.js +31 -27
- package/build/renewClient.js.map +1 -0
- package/build/seatName.d.ts +8 -0
- package/build/seatName.d.ts.map +1 -0
- package/build/seatName.js +136 -0
- package/build/seatName.js.map +1 -0
- package/build/slotConstants.d.ts +15 -0
- package/build/slotConstants.d.ts.map +1 -0
- package/build/slotConstants.js +17 -0
- package/build/slotConstants.js.map +1 -0
- package/build/statsClient.d.ts +61 -7
- package/build/statsClient.d.ts.map +1 -0
- package/build/statsClient.js +44 -5
- package/build/statsClient.js.map +1 -0
- package/build/successorChain.d.ts +35 -0
- package/build/successorChain.d.ts.map +1 -0
- package/build/successorChain.js +69 -0
- package/build/successorChain.js.map +1 -0
- package/build/taxId.d.ts +44 -0
- package/build/taxId.d.ts.map +1 -0
- package/build/taxId.js +212 -0
- package/build/taxId.js.map +1 -0
- package/build/trustAnchorVerify.d.ts +49 -0
- package/build/trustAnchorVerify.d.ts.map +1 -0
- package/build/trustAnchorVerify.js +432 -0
- package/build/trustAnchorVerify.js.map +1 -0
- package/build/trustAnchorVerifyCli.d.ts +45 -0
- package/build/trustAnchorVerifyCli.d.ts.map +1 -0
- package/build/trustAnchorVerifyCli.js +235 -0
- package/build/trustAnchorVerifyCli.js.map +1 -0
- package/build/txBroadcastClient.d.ts +26 -0
- package/build/txBroadcastClient.d.ts.map +1 -0
- package/build/txBroadcastClient.js +20 -0
- package/build/txBroadcastClient.js.map +1 -0
- package/build/unbindClient.d.ts +77 -0
- package/build/unbindClient.d.ts.map +1 -0
- package/build/unbindClient.js +169 -0
- package/build/unbindClient.js.map +1 -0
- package/build/units.d.ts +28 -0
- package/build/units.d.ts.map +1 -0
- package/build/units.js +65 -0
- package/build/units.js.map +1 -0
- package/build/vatRates.d.ts +54 -0
- package/build/vatRates.d.ts.map +1 -0
- package/build/vatRates.js +82 -0
- package/build/vatRates.js.map +1 -0
- package/build/vatRatesData.d.ts +5 -0
- package/build/vatRatesData.d.ts.map +1 -0
- package/build/vatRatesData.js +42 -0
- package/build/vatRatesData.js.map +1 -0
- package/build/vendorAccountClient.d.ts +66 -0
- package/build/vendorAccountClient.d.ts.map +1 -0
- package/build/vendorAccountClient.js +47 -0
- package/build/vendorAccountClient.js.map +1 -0
- package/build/verifyCore.d.ts +4 -1
- package/build/verifyCore.d.ts.map +1 -0
- package/build/verifyCore.js +21 -10
- package/build/verifyCore.js.map +1 -0
- package/build/verifyOffline.d.ts +85 -0
- package/build/verifyOffline.d.ts.map +1 -0
- package/build/verifyOffline.js +139 -0
- package/build/verifyOffline.js.map +1 -0
- package/build/verifyService.d.ts.map +1 -0
- package/build/verifyService.js +571 -501
- package/build/verifyService.js.map +1 -0
- package/build/verifyWithAncestors.d.ts +19 -0
- package/build/verifyWithAncestors.d.ts.map +1 -0
- package/build/verifyWithAncestors.js +127 -0
- package/build/verifyWithAncestors.js.map +1 -0
- package/build/zipToState.d.ts +2 -0
- package/build/zipToState.d.ts.map +1 -0
- package/build/zipToState.js +94 -0
- package/build/zipToState.js.map +1 -0
- package/package.json +141 -16
- package/src/agent.ts +682 -0
- package/src/agentActions.ts +637 -0
- package/src/agentRecord.ts +121 -0
- package/src/agentVendor.ts +356 -0
- package/src/appsLookup.ts +48 -0
- package/src/archiveBootstrap.ts +386 -0
- package/src/atomicJson.ts +53 -0
- package/src/bindClient.ts +297 -0
- package/src/buyClient.ts +344 -0
- package/src/chainHead.ts +106 -0
- package/src/compactMerkleMap.ts +222 -0
- package/src/contractInterface.ts +465 -0
- package/src/contractTypes.ts +31 -0
- package/src/countryStats.ts +200 -0
- package/src/deployClient.ts +517 -0
- package/src/deviceIdentity.ts +249 -0
- package/src/freezeClient.ts +162 -0
- package/src/generationClient.ts +145 -0
- package/src/holderSecret.ts +91 -0
- package/src/index.ts +362 -0
- package/src/keysClient.ts +135 -0
- package/src/licenseLeaf.ts +221 -0
- package/src/licenseRecord.ts +190 -0
- package/src/licenseStore.ts +767 -0
- package/src/licenseTrustless.ts +207 -0
- package/src/manifestVerify.ts +164 -0
- package/src/minaPriceHistory.ts +166 -0
- package/src/onChainRoot.ts +90 -0
- package/src/ownershipLicenseHash.ts +31 -0
- package/src/ownershipSignature.ts +421 -0
- package/src/permitCheckFlow.ts +227 -0
- package/src/permitDescribe.ts +362 -0
- package/src/permitInterface.ts +146 -0
- package/src/permitMessages.ts +572 -0
- package/src/permitProof.ts +230 -0
- package/src/permitRegistryRebuild.ts +423 -0
- package/src/permitTree.ts +232 -0
- package/src/permitsClient.ts +746 -0
- package/src/proveErrors.ts +98 -0
- package/src/receipt.ts +156 -0
- package/src/refundClient.ts +177 -0
- package/src/registryTrustVerify.ts +192 -0
- package/src/releaseClient.ts +101 -0
- package/src/renewClient.ts +234 -0
- package/src/seatName.ts +165 -0
- package/src/slotConstants.ts +18 -0
- package/src/statsClient.ts +249 -0
- package/src/successorChain.ts +87 -0
- package/src/taxId.ts +227 -0
- package/src/trustAnchorVerify.ts +550 -0
- package/src/trustAnchorVerifyCli.ts +234 -0
- package/src/txBroadcastClient.ts +48 -0
- package/src/unbindClient.ts +233 -0
- package/src/units.ts +74 -0
- package/src/vatRates.ts +100 -0
- package/src/vatRatesData.ts +43 -0
- package/src/vendorAccountClient.ts +120 -0
- package/src/verifyCore.ts +100 -0
- package/src/verifyOffline.ts +212 -0
- package/src/verifyService.ts +982 -0
- package/src/verifyWithAncestors.ts +163 -0
- package/src/zipToState.ts +94 -0
- package/build/licenseProof.d.ts +0 -26
- package/build/licenseProof.js +0 -41
- package/build/migrateClient.d.ts +0 -43
- package/build/migrateClient.js +0 -47
- package/build/ownership.d.ts +0 -34
- package/build/ownership.js +0 -147
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* permitMessages.ts — `zklicensing/permits/messages`
|
|
3
|
+
*
|
|
4
|
+
* The single definition of everything signed or hashed for zkPermits: the
|
|
5
|
+
* permit leaf, subject derivation, packed fees and policy, the authority
|
|
6
|
+
* key-set commitment, and the message each signer signs. The PermitRegistry
|
|
7
|
+
* circuit imports this module, so an off-chain signature (authority console,
|
|
8
|
+
* operator page, agent) always hashes to exactly what the circuit verifies.
|
|
9
|
+
* Test vectors: permitMessages.vectors.json.
|
|
10
|
+
*
|
|
11
|
+
* Every function works both off-chain and inside a circuit (o1js types
|
|
12
|
+
* only). Messages are short Field arrays; wallets sign them with
|
|
13
|
+
* `signFields` (Auro, WalletConnect `mina_signFields`), and o1js
|
|
14
|
+
* `Signature.verify` accepts those signatures in-circuit.
|
|
15
|
+
*
|
|
16
|
+
* Wallet field signatures are NOT bound to a network by the signer, so
|
|
17
|
+
* every message carries the network, the registry address and a
|
|
18
|
+
* per-message nonce itself (see `authorityMessage`).
|
|
19
|
+
*/
|
|
20
|
+
import { Bool, Field, PublicKey, Signature, UInt32, UInt64 } from 'o1js';
|
|
21
|
+
/** One tag per message type. Never reuse or renumber. */
|
|
22
|
+
export declare const PERMIT_TAGS: Readonly<Record<'INIT' | 'GRANT' | 'ACCEPT' | 'SUSPEND' | 'REINSTATE' | 'REVOKE' | 'SURRENDER' | 'SET_FEES' | 'ROTATE' | 'LEAF' | 'SUBJECT' | 'KEYS' | 'APPLICATION' | 'APPLY' | 'APPROVE' | 'REJECT' | 'WITHDRAW' | 'RETIRE' | 'PLATFORM_RETIRE' | 'PLATFORM_CANCEL' | 'PAYOUT' | 'PAYOUT_CANCEL' | 'REKEY', Field>>;
|
|
23
|
+
/** Network in signed messages. 0 is never valid. */
|
|
24
|
+
export declare const PERMIT_NETWORK: Readonly<{
|
|
25
|
+
devnet: Field;
|
|
26
|
+
mainnet: Field;
|
|
27
|
+
}>;
|
|
28
|
+
export type PermitNetwork = keyof typeof PERMIT_NETWORK;
|
|
29
|
+
export declare function networkField(network: PermitNetwork): Field;
|
|
30
|
+
/** MOVED: the permit moved to a new holder key (rekeyPermit), under a new subject; this leaf is closed. */
|
|
31
|
+
export declare const PERMIT_STATUS: {
|
|
32
|
+
readonly ACTIVE: 0;
|
|
33
|
+
readonly SUSPENDED: 1;
|
|
34
|
+
readonly REVOKED: 2;
|
|
35
|
+
readonly MOVED: 3;
|
|
36
|
+
};
|
|
37
|
+
export declare const PERMIT_STATUS_ACTIVE: UInt32;
|
|
38
|
+
export declare const PERMIT_STATUS_SUSPENDED: UInt32;
|
|
39
|
+
export declare const PERMIT_STATUS_REVOKED: UInt32;
|
|
40
|
+
export declare const PERMIT_STATUS_MOVED: UInt32;
|
|
41
|
+
/** Expiry value meaning "does not expire" (only if the policy allows it). */
|
|
42
|
+
export declare const NO_EXPIRY_SLOT: UInt32;
|
|
43
|
+
export declare const PermitLeaf: any;
|
|
44
|
+
export type PermitLeaf = any;
|
|
45
|
+
/** Hash stored in the permits MerkleMap. An empty map slot is Field(0). */
|
|
46
|
+
export declare function permitLeafHash(leaf: PermitLeaf): Field;
|
|
47
|
+
/** Tree key of an operator: hides the key behind a salt. */
|
|
48
|
+
export declare function permitSubject(holderKey: PublicKey, salt: Field): Field;
|
|
49
|
+
/** Leaf value for a subject that has never held a permit. */
|
|
50
|
+
export declare function emptyPermitLeaf(subject: Field): PermitLeaf;
|
|
51
|
+
export type PermitFees = {
|
|
52
|
+
grantFee: UInt64;
|
|
53
|
+
renewalFee: UInt64;
|
|
54
|
+
minFee: UInt64;
|
|
55
|
+
};
|
|
56
|
+
/** grantFee | renewalFee << 64 | minFee << 128 (nanomina). */
|
|
57
|
+
export declare function packFees(f: PermitFees): Field;
|
|
58
|
+
/** Inverse of packFees; range-checks every part (safe in-circuit). */
|
|
59
|
+
export declare function unpackFees(packed: Field): PermitFees;
|
|
60
|
+
/** Default minimum permit fee: 10 MINA. Configurable per registry at initialize. */
|
|
61
|
+
export declare const DEFAULT_MIN_PERMIT_FEE: UInt64;
|
|
62
|
+
/** Platform share of a fee: 2%, rounded down (rounding favours the authority). */
|
|
63
|
+
export declare const PERMIT_PLATFORM_FEE_BASIS: UInt64;
|
|
64
|
+
export declare function platformShare(fee: UInt64): UInt64;
|
|
65
|
+
export type PermitPolicy = {
|
|
66
|
+
gracePeriod: UInt32;
|
|
67
|
+
maxTerm: UInt32;
|
|
68
|
+
singleKeySuspend: Bool;
|
|
69
|
+
holderSigRequired: Bool;
|
|
70
|
+
};
|
|
71
|
+
/** gracePeriod | maxTerm << 32 | singleKeySuspend << 64 | holderSigRequired << 65 */
|
|
72
|
+
export declare function packPolicy(p: PermitPolicy): Field;
|
|
73
|
+
export declare function unpackPolicy(packed: Field): PermitPolicy;
|
|
74
|
+
export type ApplicationTerms = {
|
|
75
|
+
processingFee: UInt64;
|
|
76
|
+
minProcessingFee: UInt64;
|
|
77
|
+
decisionWindow: UInt32;
|
|
78
|
+
};
|
|
79
|
+
/** processingFee | minProcessingFee << 64 | decisionWindow << 128 */
|
|
80
|
+
export declare function packApplicationTerms(t: ApplicationTerms): Field;
|
|
81
|
+
export declare function unpackApplicationTerms(packed: Field): ApplicationTerms;
|
|
82
|
+
/** Default minimum processing fee: 1 MINA. Configurable per registry at initialize. */
|
|
83
|
+
export declare const DEFAULT_MIN_PROCESSING_FEE: UInt64;
|
|
84
|
+
/** Default decision window: 14 days of 90 s slots (as licensing's refund window). */
|
|
85
|
+
export declare const DEFAULT_DECISION_WINDOW: UInt32;
|
|
86
|
+
/** Longest decision window an authority may set: one year. */
|
|
87
|
+
export declare const MAX_DECISION_WINDOW: UInt32;
|
|
88
|
+
/**
|
|
89
|
+
* An application with its fee in escrow. Stored as `applicationHash` in the
|
|
90
|
+
* registry's escrow MerkleMap under `subject`; emitted in full when filed.
|
|
91
|
+
* `baseSeq` is the permit leaf's `seq` it applies to (0 = new permit);
|
|
92
|
+
* `fee` is the whole amount escrowed, `processingFee` the part kept on
|
|
93
|
+
* rejection or withdrawal; both are locked at filing. `filing` is the
|
|
94
|
+
* registry's filing number (its filingCount when filed), so two filings
|
|
95
|
+
* never share a hash and a signature settling one can't settle another.
|
|
96
|
+
*/
|
|
97
|
+
export declare const Application: any;
|
|
98
|
+
export type Application = any;
|
|
99
|
+
export declare function applicationHash(app: Application): Field;
|
|
100
|
+
/**
|
|
101
|
+
* What the holder agrees to when applying: everything in the application
|
|
102
|
+
* except the payer (the transaction sender), the deadline (set by the
|
|
103
|
+
* contract from the filing slot) and the filing number (the registry's next).
|
|
104
|
+
*/
|
|
105
|
+
export declare function applicationTermsHash(app: Application): Field;
|
|
106
|
+
/** The permit leaf an approved application becomes. */
|
|
107
|
+
export declare function leafFromApplication(app: Application): PermitLeaf;
|
|
108
|
+
/** Outcome codes in `applicationSettled` events. */
|
|
109
|
+
export declare const APPLICATION_OUTCOME: {
|
|
110
|
+
readonly APPROVED: 1;
|
|
111
|
+
readonly REJECTED: 2;
|
|
112
|
+
readonly WITHDRAWN: 3;
|
|
113
|
+
readonly RECLAIMED: 4;
|
|
114
|
+
readonly CANCELLED: 5;
|
|
115
|
+
};
|
|
116
|
+
export declare const MAX_AUTHORITY_KEYS = 3;
|
|
117
|
+
export declare const AuthorityKeys: any;
|
|
118
|
+
export type AuthorityKeys = any;
|
|
119
|
+
export declare function authorityKeys(keys: PublicKey[], threshold: number): AuthorityKeys;
|
|
120
|
+
export declare const AuthoritySigs: any;
|
|
121
|
+
export type AuthoritySigs = any;
|
|
122
|
+
/** Builds the signature bundle from `{ slotIndex: signature }` (base58 or Signature). */
|
|
123
|
+
export declare function authoritySigs(bySlot: Record<number, Signature | string>): AuthoritySigs;
|
|
124
|
+
/**
|
|
125
|
+
* Number of valid signatures over `message` from distinct, in-use key
|
|
126
|
+
* slots. Works in-circuit. Absent or unused slots count zero; a present
|
|
127
|
+
* signature that doesn't verify also counts zero.
|
|
128
|
+
*/
|
|
129
|
+
export declare function countAuthoritySignatures(keys: AuthorityKeys, sigs: AuthoritySigs, message: Field[]): UInt32;
|
|
130
|
+
/**
|
|
131
|
+
* In-circuit validity of a key set: 1 ≤ count ≤ MAX, 1 ≤ threshold ≤ count,
|
|
132
|
+
* in-use keys pairwise distinct, unused slots empty.
|
|
133
|
+
*/
|
|
134
|
+
export declare function assertValidAuthorityKeys(keys: AuthorityKeys): void;
|
|
135
|
+
/** Commitment stored on-chain as `authorityKeysHash`. */
|
|
136
|
+
export declare function authorityKeysHash(k: AuthorityKeys): Field;
|
|
137
|
+
/**
|
|
138
|
+
* Message an authority key signs:
|
|
139
|
+
* [tag, network, registry.x, registry.isOdd, epoch, nonce, payloadHash]
|
|
140
|
+
* `nonce` is the leaf's `seq` for per-permit actions and the registry's
|
|
141
|
+
* `actionNonce` for registry-wide ones (setFees, rotate, init = 0).
|
|
142
|
+
*/
|
|
143
|
+
export declare function authorityMessage(tag: Field, network: Field, registry: PublicKey, epoch: UInt32, nonce: UInt32, payload: Field[]): Field[];
|
|
144
|
+
export declare function initMessage(a: {
|
|
145
|
+
network: Field;
|
|
146
|
+
registry: PublicKey;
|
|
147
|
+
keysHash: Field;
|
|
148
|
+
policyPacked: Field;
|
|
149
|
+
feesPacked: Field;
|
|
150
|
+
appTermsPacked: Field;
|
|
151
|
+
metadataHash: Field;
|
|
152
|
+
payout: PublicKey;
|
|
153
|
+
forkActivationSlot: UInt32;
|
|
154
|
+
predecessor: PublicKey;
|
|
155
|
+
initialPermitsRoot: Field;
|
|
156
|
+
}): Field[];
|
|
157
|
+
/** Authority approval of a leaf change (issue, renew, scope change). Nonce = oldLeaf.seq. */
|
|
158
|
+
export declare function grantMessage(a: {
|
|
159
|
+
network: Field;
|
|
160
|
+
registry: PublicKey;
|
|
161
|
+
epoch: UInt32;
|
|
162
|
+
oldLeaf: PermitLeaf;
|
|
163
|
+
newLeaf: PermitLeaf;
|
|
164
|
+
}): Field[];
|
|
165
|
+
/** The operator's acceptance of a grant, including the fee it pays. */
|
|
166
|
+
export declare function acceptMessage(a: {
|
|
167
|
+
network: Field;
|
|
168
|
+
registry: PublicKey;
|
|
169
|
+
newLeaf: PermitLeaf;
|
|
170
|
+
fee: UInt64;
|
|
171
|
+
}): Field[];
|
|
172
|
+
export type StatusAction = 'suspend' | 'reinstate' | 'revoke';
|
|
173
|
+
/** Authority status change of a permit. Nonce = leaf.seq. */
|
|
174
|
+
export declare function statusMessage(action: StatusAction, a: {
|
|
175
|
+
network: Field;
|
|
176
|
+
registry: PublicKey;
|
|
177
|
+
epoch: UInt32;
|
|
178
|
+
leaf: PermitLeaf;
|
|
179
|
+
reasonCode: Field;
|
|
180
|
+
}): Field[];
|
|
181
|
+
/** The holder giving up their permit. */
|
|
182
|
+
export declare function surrenderMessage(a: {
|
|
183
|
+
network: Field;
|
|
184
|
+
registry: PublicKey;
|
|
185
|
+
leaf: PermitLeaf;
|
|
186
|
+
}): Field[];
|
|
187
|
+
/** New fees and application terms (processing fee, decision window). */
|
|
188
|
+
export declare function setFeesMessage(a: {
|
|
189
|
+
network: Field;
|
|
190
|
+
registry: PublicKey;
|
|
191
|
+
epoch: UInt32;
|
|
192
|
+
actionNonce: UInt32;
|
|
193
|
+
newFeesPacked: Field;
|
|
194
|
+
newAppTermsPacked: Field;
|
|
195
|
+
}): Field[];
|
|
196
|
+
/**
|
|
197
|
+
* The authority retires the registry, freezing its permits at `permitsRoot`
|
|
198
|
+
* (the root the redeployed registry's ancestorsRoot commits to). Bound to the
|
|
199
|
+
* epoch and action nonce like the other registry-wide actions.
|
|
200
|
+
*/
|
|
201
|
+
export declare function retireMessage(a: {
|
|
202
|
+
network: Field;
|
|
203
|
+
registry: PublicKey;
|
|
204
|
+
epoch: UInt32;
|
|
205
|
+
actionNonce: UInt32;
|
|
206
|
+
permitsRoot: Field;
|
|
207
|
+
/** The one registry that may start from these permits (stored on chain). */
|
|
208
|
+
successor: PublicKey;
|
|
209
|
+
}): Field[];
|
|
210
|
+
/**
|
|
211
|
+
* The platform's retirement of a registry (`retireByPlatform`): what the
|
|
212
|
+
* platform key signs, the fields of retireMessage under its own tag (so
|
|
213
|
+
* neither signature can stand in for the other) plus `force`: retire with
|
|
214
|
+
* application fees still in escrow, which then stay on the retired registry.
|
|
215
|
+
*/
|
|
216
|
+
export declare function platformRetireMessage(a: {
|
|
217
|
+
network: Field;
|
|
218
|
+
registry: PublicKey;
|
|
219
|
+
epoch: UInt32;
|
|
220
|
+
actionNonce: UInt32;
|
|
221
|
+
permitsRoot: Field;
|
|
222
|
+
successor: PublicKey;
|
|
223
|
+
force: Bool;
|
|
224
|
+
}): Field[];
|
|
225
|
+
/**
|
|
226
|
+
* authorityKeysHash of a retired registry: no key set hashes to it, so no
|
|
227
|
+
* authority action can run again, and filing and surrender check
|
|
228
|
+
* it. (0 means not yet initialized.)
|
|
229
|
+
*/
|
|
230
|
+
export declare const RETIRED_KEYS_HASH: Field;
|
|
231
|
+
export declare function rotateMessage(a: {
|
|
232
|
+
network: Field;
|
|
233
|
+
registry: PublicKey;
|
|
234
|
+
epoch: UInt32;
|
|
235
|
+
actionNonce: UInt32;
|
|
236
|
+
newKeysHash: Field;
|
|
237
|
+
}): Field[];
|
|
238
|
+
/** The holder's application: the terms and the fee they put in escrow. */
|
|
239
|
+
export declare function applyMessage(a: {
|
|
240
|
+
network: Field;
|
|
241
|
+
registry: PublicKey;
|
|
242
|
+
application: Application;
|
|
243
|
+
}): Field[];
|
|
244
|
+
/** Authority approval of an application exactly as filed. Nonce = baseSeq. */
|
|
245
|
+
export declare function approveMessage(a: {
|
|
246
|
+
network: Field;
|
|
247
|
+
registry: PublicKey;
|
|
248
|
+
epoch: UInt32;
|
|
249
|
+
application: Application;
|
|
250
|
+
}): Field[];
|
|
251
|
+
/** Authority rejection of an application. Nonce = baseSeq. */
|
|
252
|
+
export declare function rejectMessage(a: {
|
|
253
|
+
network: Field;
|
|
254
|
+
registry: PublicKey;
|
|
255
|
+
epoch: UInt32;
|
|
256
|
+
application: Application;
|
|
257
|
+
reasonCode: Field;
|
|
258
|
+
}): Field[];
|
|
259
|
+
/**
|
|
260
|
+
* The platform cancelling the open applications of a registry before it
|
|
261
|
+
* retires it (`cancelApplication`, e.g. ahead of a hard fork): every
|
|
262
|
+
* application filed before filing number `cutoff` (the registry's filing
|
|
263
|
+
* count when signed) may be cancelled, its whole fee back to its payer. One
|
|
264
|
+
* signature covers them all; anyone may send the cancellations. Later
|
|
265
|
+
* filings it never covers.
|
|
266
|
+
*/
|
|
267
|
+
export declare function cancelMessage(a: {
|
|
268
|
+
network: Field;
|
|
269
|
+
registry: PublicKey;
|
|
270
|
+
cutoff: UInt32;
|
|
271
|
+
}): Field[];
|
|
272
|
+
/**
|
|
273
|
+
* A new payout address for the registry (threshold, registry-wide nonce):
|
|
274
|
+
* it takes effect PAYOUT_DELAY_SLOTS_N after it is proposed, unless the keys
|
|
275
|
+
* cancel it (payoutCancelMessage) meanwhile.
|
|
276
|
+
*/
|
|
277
|
+
export declare function payoutMessage(a: {
|
|
278
|
+
network: Field;
|
|
279
|
+
registry: PublicKey;
|
|
280
|
+
epoch: UInt32;
|
|
281
|
+
actionNonce: UInt32;
|
|
282
|
+
payout: PublicKey;
|
|
283
|
+
}): Field[];
|
|
284
|
+
export declare function payoutCancelMessage(a: {
|
|
285
|
+
network: Field;
|
|
286
|
+
registry: PublicKey;
|
|
287
|
+
epoch: UInt32;
|
|
288
|
+
actionNonce: UInt32;
|
|
289
|
+
}): Field[];
|
|
290
|
+
/**
|
|
291
|
+
* A permit moving to a new holder key (rekeyPermit), with the same terms,
|
|
292
|
+
* under the new subject permitSubject(newHolderKey, newSalt): signed by the
|
|
293
|
+
* current holder key and the new one, over the permit as it is now. The old
|
|
294
|
+
* leaf is closed (MOVED), so the signatures can't be used twice.
|
|
295
|
+
*/
|
|
296
|
+
export declare function rekeyMessage(a: {
|
|
297
|
+
network: Field;
|
|
298
|
+
registry: PublicKey;
|
|
299
|
+
leaf: PermitLeaf;
|
|
300
|
+
newSubject: Field;
|
|
301
|
+
newHolderKey: PublicKey;
|
|
302
|
+
}): Field[];
|
|
303
|
+
/** The holder withdrawing their application before a decision. */
|
|
304
|
+
export declare function withdrawMessage(a: {
|
|
305
|
+
network: Field;
|
|
306
|
+
registry: PublicKey;
|
|
307
|
+
application: Application;
|
|
308
|
+
}): Field[];
|
|
309
|
+
/** What both wallets sign (signMessage) to move an authority account to a new wallet. */
|
|
310
|
+
export declare function authorityMoveText(from: string, to: string): string;
|
|
311
|
+
/** Decimal strings for a wallet's `signFields({ message })`. */
|
|
312
|
+
export declare function toSignableFields(message: Field[]): string[];
|
|
313
|
+
//# sourceMappingURL=permitMessages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permitMessages.d.ts","sourceRoot":"","sources":["../src/permitMessages.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,IAAI,EAAE,KAAK,EAAkC,SAAS,EAAE,SAAS,EAAU,MAAM,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAkBjH,yDAAyD;AACzD,eAAO,MAAM,WAAW,EAAE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