@pafi-dev/core 0.19.0 → 0.22.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.
Files changed (57) hide show
  1. package/README.md +100 -8
  2. package/dist/abi/index.cjs +14 -4
  3. package/dist/abi/index.cjs.map +1 -1
  4. package/dist/abi/index.d.cts +3846 -482
  5. package/dist/abi/index.d.ts +3846 -482
  6. package/dist/abi/index.js +15 -5
  7. package/dist/{chunk-KRHGFUDI.cjs → chunk-245YA3CQ.cjs} +87 -20
  8. package/dist/chunk-245YA3CQ.cjs.map +1 -0
  9. package/dist/{chunk-C7VB6WTL.cjs → chunk-2CU7ZH2A.cjs} +490 -497
  10. package/dist/chunk-2CU7ZH2A.cjs.map +1 -0
  11. package/dist/chunk-2DVM77Y2.cjs +5018 -0
  12. package/dist/chunk-2DVM77Y2.cjs.map +1 -0
  13. package/dist/{chunk-UZUDJXKE.cjs → chunk-3ZT7KTN4.cjs} +5 -3
  14. package/dist/chunk-3ZT7KTN4.cjs.map +1 -0
  15. package/dist/{chunk-H3X3FYUU.js → chunk-4VPIPVV5.js} +62 -35
  16. package/dist/chunk-4VPIPVV5.js.map +1 -0
  17. package/dist/{chunk-UCO5DXD6.js → chunk-5Y7MGN56.js} +87 -20
  18. package/dist/chunk-5Y7MGN56.js.map +1 -0
  19. package/dist/chunk-DQKCPH6B.cjs +199 -0
  20. package/dist/chunk-DQKCPH6B.cjs.map +1 -0
  21. package/dist/{chunk-4TNHRZ4X.js → chunk-K4GBOB5V.js} +4 -2
  22. package/dist/chunk-K4GBOB5V.js.map +1 -0
  23. package/dist/{chunk-LF5GIN5P.js → chunk-W2DHHR2N.js} +490 -497
  24. package/dist/chunk-W2DHHR2N.js.map +1 -0
  25. package/dist/chunk-ZQVYWMOG.js +5018 -0
  26. package/dist/chunk-ZQVYWMOG.js.map +1 -0
  27. package/dist/contract/index.cjs +8 -4
  28. package/dist/contract/index.cjs.map +1 -1
  29. package/dist/contract/index.d.cts +53 -27
  30. package/dist/contract/index.d.ts +53 -27
  31. package/dist/contract/index.js +13 -9
  32. package/dist/eip712/index.cjs +3 -3
  33. package/dist/eip712/index.d.cts +7 -1
  34. package/dist/eip712/index.d.ts +7 -1
  35. package/dist/eip712/index.js +2 -2
  36. package/dist/index.cjs +174 -24
  37. package/dist/index.cjs.map +1 -1
  38. package/dist/index.d.cts +604 -10
  39. package/dist/index.d.ts +604 -10
  40. package/dist/index.js +174 -24
  41. package/dist/index.js.map +1 -1
  42. package/dist/{types-C17pznGz.d.ts → types-Hn1zUPTt.d.cts} +46 -13
  43. package/dist/{types-C17pznGz.d.cts → types-Hn1zUPTt.d.ts} +46 -13
  44. package/package.json +12 -12
  45. package/dist/chunk-4TNHRZ4X.js.map +0 -1
  46. package/dist/chunk-C7VB6WTL.cjs.map +0 -1
  47. package/dist/chunk-H3X3FYUU.js.map +0 -1
  48. package/dist/chunk-KRHGFUDI.cjs.map +0 -1
  49. package/dist/chunk-LF5GIN5P.js.map +0 -1
  50. package/dist/chunk-TRYGIC2I.cjs +0 -172
  51. package/dist/chunk-TRYGIC2I.cjs.map +0 -1
  52. package/dist/chunk-UCO5DXD6.js.map +0 -1
  53. package/dist/chunk-UZUDJXKE.cjs.map +0 -1
  54. package/dist/chunk-XXLIIWIF.cjs +0 -711
  55. package/dist/chunk-XXLIIWIF.cjs.map +0 -1
  56. package/dist/chunk-ZJXXCG5P.js +0 -711
  57. package/dist/chunk-ZJXXCG5P.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { PublicClient, Address } from 'viem';
2
- import { I as Issuer } from '../types-C17pznGz.cjs';
2
+ import { I as Issuer, o as Source } from '../types-Hn1zUPTt.cjs';
3
3
 
4
4
  declare function getMintRequestNonce(client: PublicClient, pointToken: Address, receiver: Address): Promise<bigint>;
5
5
  declare function isMinter(client: PublicClient, pointToken: Address, account: Address): Promise<boolean>;
@@ -27,51 +27,77 @@ declare const issuerRegistryGetIssuerFlatAbi: readonly [{
27
27
  readonly type: "address";
28
28
  }];
29
29
  readonly outputs: readonly [{
30
- readonly name: "issuerAddress";
31
- readonly type: "address";
32
- }, {
33
30
  readonly name: "signerAddress";
34
31
  readonly type: "address";
35
32
  }, {
36
33
  readonly name: "name";
37
34
  readonly type: "string";
38
- }, {
39
- readonly name: "symbol";
40
- readonly type: "string";
41
35
  }, {
42
36
  readonly name: "active";
43
37
  readonly type: "bool";
44
38
  }, {
45
- readonly name: "pointToken";
46
- readonly type: "address";
39
+ readonly name: "capitalBase";
40
+ readonly type: "uint256";
47
41
  }, {
48
- readonly name: "mintingOracle";
49
- readonly type: "address";
42
+ readonly name: "basisPoints";
43
+ readonly type: "uint16";
50
44
  }];
51
45
  readonly stateMutability: "view";
52
46
  }];
53
47
  declare function isActiveIssuer(client: PublicClient, registryAddress: Address, issuer: Address): Promise<boolean>;
48
+ /**
49
+ * Compute the EQUITY-bucket cap for an issuer from its registry record.
50
+ * V2 cap = `capitalBase * basisPoints / 10000`. Returns the cap as a
51
+ * `bigint` so callers can compare to `equitySupply` directly.
52
+ */
53
+ declare function computeEquityCap(issuer: Issuer): bigint;
54
54
 
55
55
  /**
56
- * Takes `pointToken` as the first arg so the oracle can look up the
57
- * per-token cap. Reverts if the cap would be exceeded.
56
+ * V2 MintingOracle stateless cap verifier. The V1 `tokenCaps`
57
+ * mapping + `getTokenCap` helper are GONE; the oracle no longer holds
58
+ * per-token cap state.
59
+ *
60
+ * Sponsor-relayer's cap pre-check should call `verifyMint` as a view
61
+ * dry-run; it reverts with `MintCapExceeded` / `VaultCapExceeded` /
62
+ * `IssuerNotActive` / `TokenInactive` / `UnregisteredPointToken` /
63
+ * `IssuerMismatch` exactly the same way the on-chain mint path will,
64
+ * so a successful view call is a strong pre-flight guarantee.
58
65
  */
59
- declare function verifyMintCap(client: PublicClient, oracleAddress: Address, pointToken: Address, issuer: Address, amount: bigint): Promise<void>;
60
- declare function getPointTokenIssuer(client: PublicClient, oracleAddress: Address, pointToken: Address): Promise<Address>;
61
66
  /**
62
- * Read the per-PointToken cap config from the oracle. Returns
63
- * `{ declaredTotalSupply, capBasisPoints }`. The on-chain `_mint` path
64
- * computes `hardCap = declaredTotalSupply * capBasisPoints / 10000` and
65
- * reverts if `mintedSupply + amount > hardCap`. Issuers replicate this
66
- * math at pre-validate time to fail fast before the user signs.
67
+ * Dry-run the on-chain cap check. Throws if the mint would revert.
67
68
  *
68
- * Returns `{ 0n, 0 }` when the token is not registered with the oracle —
69
- * caller treats that as "no cap configured", which means mints will
70
- * always revert on-chain (the oracle requires a non-zero cap).
69
+ * pointToken the PT being minted
70
+ * issuer — the issuer address (must match `IssuerRegistry`'s
71
+ * record for this token)
72
+ * source — EQUITY or VAULT (uint8)
73
+ * amount — gross mint amount (the wrapper fee is split *after*
74
+ * this verify, so amount here is the wrapper-call gross)
75
+ */
76
+ declare function verifyMint(client: PublicClient, oracleAddress: Address, pointToken: Address, issuer: Address, source: Source, amount: bigint): Promise<void>;
77
+ /**
78
+ * Convenience for the EQUITY-only path that the SDK + sponsor-relayer
79
+ * currently ship. VAULT minting is contract-ready but no SDK writer
80
+ * exposes it; this helper exists to make the EQUITY default obvious at
81
+ * the call site.
82
+ */
83
+ declare function verifyEquityMint(client: PublicClient, oracleAddress: Address, pointToken: Address, issuer: Address, amount: bigint): Promise<void>;
84
+ /**
85
+ * Confirm the (token, issuer) pair is currently active. Useful as a
86
+ * narrow pre-check for burn / non-mint flows that don't care about the
87
+ * cap but still need the active gate. Reverts with
88
+ * `IssuerNotActive` / `TokenInactive` / `UnregisteredPointToken` /
89
+ * `IssuerMismatch` on failure.
90
+ */
91
+ declare function verifyIssuerOperative(client: PublicClient, oracleAddress: Address, pointToken: Address, issuer: Address): Promise<void>;
92
+ /**
93
+ * V2 routes the issuer lookup through TokenRegistry. The oracle exposes
94
+ * `tokenRegistry()` / `issuerRegistry()` as read-only addresses for
95
+ * callers that want to wire reads themselves.
71
96
  */
72
- declare function getTokenCap(client: PublicClient, oracleAddress: Address, pointToken: Address): Promise<{
73
- declaredTotalSupply: bigint;
74
- capBasisPoints: number;
97
+ declare function getOracleRegistries(client: PublicClient, oracleAddress: Address): Promise<{
98
+ issuerRegistry: Address;
99
+ tokenRegistry: Address;
100
+ vaultRegistry: Address;
75
101
  }>;
76
102
 
77
103
  /**
@@ -93,4 +119,4 @@ declare function getMintFeeRecipients(client: PublicClient, wrapperAddress: Addr
93
119
  basisPoints: number;
94
120
  }[]>;
95
121
 
96
- export { getBurnRequestNonce, getIssuer, getMintFeeBps, getMintFeeRecipients, getMintRequestNonce, getPointTokenBalance, getPointTokenIssuer, getIssuer$1 as getPointTokenIssuerAddress, getTokenCap, getTokenName, isActiveIssuer, isMinter, issuerRegistryGetIssuerFlatAbi, verifyMintCap };
122
+ export { computeEquityCap, getBurnRequestNonce, getIssuer, getMintFeeBps, getMintFeeRecipients, getMintRequestNonce, getOracleRegistries, getPointTokenBalance, getIssuer$1 as getPointTokenIssuerAddress, getTokenName, isActiveIssuer, isMinter, issuerRegistryGetIssuerFlatAbi, verifyEquityMint, verifyIssuerOperative, verifyMint };
@@ -1,5 +1,5 @@
1
1
  import { PublicClient, Address } from 'viem';
2
- import { I as Issuer } from '../types-C17pznGz.js';
2
+ import { I as Issuer, o as Source } from '../types-Hn1zUPTt.js';
3
3
 
4
4
  declare function getMintRequestNonce(client: PublicClient, pointToken: Address, receiver: Address): Promise<bigint>;
5
5
  declare function isMinter(client: PublicClient, pointToken: Address, account: Address): Promise<boolean>;
@@ -27,51 +27,77 @@ declare const issuerRegistryGetIssuerFlatAbi: readonly [{
27
27
  readonly type: "address";
28
28
  }];
29
29
  readonly outputs: readonly [{
30
- readonly name: "issuerAddress";
31
- readonly type: "address";
32
- }, {
33
30
  readonly name: "signerAddress";
34
31
  readonly type: "address";
35
32
  }, {
36
33
  readonly name: "name";
37
34
  readonly type: "string";
38
- }, {
39
- readonly name: "symbol";
40
- readonly type: "string";
41
35
  }, {
42
36
  readonly name: "active";
43
37
  readonly type: "bool";
44
38
  }, {
45
- readonly name: "pointToken";
46
- readonly type: "address";
39
+ readonly name: "capitalBase";
40
+ readonly type: "uint256";
47
41
  }, {
48
- readonly name: "mintingOracle";
49
- readonly type: "address";
42
+ readonly name: "basisPoints";
43
+ readonly type: "uint16";
50
44
  }];
51
45
  readonly stateMutability: "view";
52
46
  }];
53
47
  declare function isActiveIssuer(client: PublicClient, registryAddress: Address, issuer: Address): Promise<boolean>;
48
+ /**
49
+ * Compute the EQUITY-bucket cap for an issuer from its registry record.
50
+ * V2 cap = `capitalBase * basisPoints / 10000`. Returns the cap as a
51
+ * `bigint` so callers can compare to `equitySupply` directly.
52
+ */
53
+ declare function computeEquityCap(issuer: Issuer): bigint;
54
54
 
55
55
  /**
56
- * Takes `pointToken` as the first arg so the oracle can look up the
57
- * per-token cap. Reverts if the cap would be exceeded.
56
+ * V2 MintingOracle stateless cap verifier. The V1 `tokenCaps`
57
+ * mapping + `getTokenCap` helper are GONE; the oracle no longer holds
58
+ * per-token cap state.
59
+ *
60
+ * Sponsor-relayer's cap pre-check should call `verifyMint` as a view
61
+ * dry-run; it reverts with `MintCapExceeded` / `VaultCapExceeded` /
62
+ * `IssuerNotActive` / `TokenInactive` / `UnregisteredPointToken` /
63
+ * `IssuerMismatch` exactly the same way the on-chain mint path will,
64
+ * so a successful view call is a strong pre-flight guarantee.
58
65
  */
59
- declare function verifyMintCap(client: PublicClient, oracleAddress: Address, pointToken: Address, issuer: Address, amount: bigint): Promise<void>;
60
- declare function getPointTokenIssuer(client: PublicClient, oracleAddress: Address, pointToken: Address): Promise<Address>;
61
66
  /**
62
- * Read the per-PointToken cap config from the oracle. Returns
63
- * `{ declaredTotalSupply, capBasisPoints }`. The on-chain `_mint` path
64
- * computes `hardCap = declaredTotalSupply * capBasisPoints / 10000` and
65
- * reverts if `mintedSupply + amount > hardCap`. Issuers replicate this
66
- * math at pre-validate time to fail fast before the user signs.
67
+ * Dry-run the on-chain cap check. Throws if the mint would revert.
67
68
  *
68
- * Returns `{ 0n, 0 }` when the token is not registered with the oracle —
69
- * caller treats that as "no cap configured", which means mints will
70
- * always revert on-chain (the oracle requires a non-zero cap).
69
+ * pointToken the PT being minted
70
+ * issuer — the issuer address (must match `IssuerRegistry`'s
71
+ * record for this token)
72
+ * source — EQUITY or VAULT (uint8)
73
+ * amount — gross mint amount (the wrapper fee is split *after*
74
+ * this verify, so amount here is the wrapper-call gross)
75
+ */
76
+ declare function verifyMint(client: PublicClient, oracleAddress: Address, pointToken: Address, issuer: Address, source: Source, amount: bigint): Promise<void>;
77
+ /**
78
+ * Convenience for the EQUITY-only path that the SDK + sponsor-relayer
79
+ * currently ship. VAULT minting is contract-ready but no SDK writer
80
+ * exposes it; this helper exists to make the EQUITY default obvious at
81
+ * the call site.
82
+ */
83
+ declare function verifyEquityMint(client: PublicClient, oracleAddress: Address, pointToken: Address, issuer: Address, amount: bigint): Promise<void>;
84
+ /**
85
+ * Confirm the (token, issuer) pair is currently active. Useful as a
86
+ * narrow pre-check for burn / non-mint flows that don't care about the
87
+ * cap but still need the active gate. Reverts with
88
+ * `IssuerNotActive` / `TokenInactive` / `UnregisteredPointToken` /
89
+ * `IssuerMismatch` on failure.
90
+ */
91
+ declare function verifyIssuerOperative(client: PublicClient, oracleAddress: Address, pointToken: Address, issuer: Address): Promise<void>;
92
+ /**
93
+ * V2 routes the issuer lookup through TokenRegistry. The oracle exposes
94
+ * `tokenRegistry()` / `issuerRegistry()` as read-only addresses for
95
+ * callers that want to wire reads themselves.
71
96
  */
72
- declare function getTokenCap(client: PublicClient, oracleAddress: Address, pointToken: Address): Promise<{
73
- declaredTotalSupply: bigint;
74
- capBasisPoints: number;
97
+ declare function getOracleRegistries(client: PublicClient, oracleAddress: Address): Promise<{
98
+ issuerRegistry: Address;
99
+ tokenRegistry: Address;
100
+ vaultRegistry: Address;
75
101
  }>;
76
102
 
77
103
  /**
@@ -93,4 +119,4 @@ declare function getMintFeeRecipients(client: PublicClient, wrapperAddress: Addr
93
119
  basisPoints: number;
94
120
  }[]>;
95
121
 
96
- export { getBurnRequestNonce, getIssuer, getMintFeeBps, getMintFeeRecipients, getMintRequestNonce, getPointTokenBalance, getPointTokenIssuer, getIssuer$1 as getPointTokenIssuerAddress, getTokenCap, getTokenName, isActiveIssuer, isMinter, issuerRegistryGetIssuerFlatAbi, verifyMintCap };
122
+ export { computeEquityCap, getBurnRequestNonce, getIssuer, getMintFeeBps, getMintFeeRecipients, getMintRequestNonce, getOracleRegistries, getPointTokenBalance, getIssuer$1 as getPointTokenIssuerAddress, getTokenName, isActiveIssuer, isMinter, issuerRegistryGetIssuerFlatAbi, verifyEquityMint, verifyIssuerOperative, verifyMint };
@@ -1,36 +1,40 @@
1
1
  import {
2
+ computeEquityCap,
2
3
  getBurnRequestNonce,
3
4
  getIssuer,
4
5
  getIssuer2,
5
6
  getMintFeeBps,
6
7
  getMintFeeRecipients,
7
8
  getMintRequestNonce,
9
+ getOracleRegistries,
8
10
  getPointTokenBalance,
9
- getPointTokenIssuer,
10
- getTokenCap,
11
11
  getTokenName,
12
12
  isActiveIssuer,
13
13
  isMinter,
14
14
  issuerRegistryGetIssuerFlatAbi,
15
- verifyMintCap
16
- } from "../chunk-H3X3FYUU.js";
17
- import "../chunk-LF5GIN5P.js";
18
- import "../chunk-UCO5DXD6.js";
15
+ verifyEquityMint,
16
+ verifyIssuerOperative,
17
+ verifyMint
18
+ } from "../chunk-4VPIPVV5.js";
19
+ import "../chunk-W2DHHR2N.js";
20
+ import "../chunk-5Y7MGN56.js";
19
21
  import "../chunk-DGUM43GV.js";
20
22
  export {
23
+ computeEquityCap,
21
24
  getBurnRequestNonce,
22
25
  getIssuer2 as getIssuer,
23
26
  getMintFeeBps,
24
27
  getMintFeeRecipients,
25
28
  getMintRequestNonce,
29
+ getOracleRegistries,
26
30
  getPointTokenBalance,
27
- getPointTokenIssuer,
28
31
  getIssuer as getPointTokenIssuerAddress,
29
- getTokenCap,
30
32
  getTokenName,
31
33
  isActiveIssuer,
32
34
  isMinter,
33
35
  issuerRegistryGetIssuerFlatAbi,
34
- verifyMintCap
36
+ verifyEquityMint,
37
+ verifyIssuerOperative,
38
+ verifyMint
35
39
  };
36
40
  //# sourceMappingURL=index.js.map
@@ -8,8 +8,8 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkUZUDJXKEcjs = require('../chunk-UZUDJXKE.cjs');
12
- require('../chunk-KRHGFUDI.cjs');
11
+ var _chunk3ZT7KTN4cjs = require('../chunk-3ZT7KTN4.cjs');
12
+ require('../chunk-245YA3CQ.cjs');
13
13
  require('../chunk-JEQ2X3Z6.cjs');
14
14
 
15
15
 
@@ -21,5 +21,5 @@ require('../chunk-JEQ2X3Z6.cjs');
21
21
 
22
22
 
23
23
 
24
- exports.Eip712DomainMismatchError = _chunkUZUDJXKEcjs.Eip712DomainMismatchError; exports.assertDomainMatchesContract = _chunkUZUDJXKEcjs.assertDomainMatchesContract; exports.buildBurnRequestTypedData = _chunkUZUDJXKEcjs.buildBurnRequestTypedData; exports.buildDomain = _chunkUZUDJXKEcjs.buildDomain; exports.buildMintRequestTypedData = _chunkUZUDJXKEcjs.buildMintRequestTypedData; exports.signBurnRequest = _chunkUZUDJXKEcjs.signBurnRequest; exports.signMintRequest = _chunkUZUDJXKEcjs.signMintRequest; exports.verifyBurnRequest = _chunkUZUDJXKEcjs.verifyBurnRequest; exports.verifyMintRequest = _chunkUZUDJXKEcjs.verifyMintRequest;
24
+ exports.Eip712DomainMismatchError = _chunk3ZT7KTN4cjs.Eip712DomainMismatchError; exports.assertDomainMatchesContract = _chunk3ZT7KTN4cjs.assertDomainMatchesContract; exports.buildBurnRequestTypedData = _chunk3ZT7KTN4cjs.buildBurnRequestTypedData; exports.buildDomain = _chunk3ZT7KTN4cjs.buildDomain; exports.buildMintRequestTypedData = _chunk3ZT7KTN4cjs.buildMintRequestTypedData; exports.signBurnRequest = _chunk3ZT7KTN4cjs.signBurnRequest; exports.signMintRequest = _chunk3ZT7KTN4cjs.signMintRequest; exports.verifyBurnRequest = _chunk3ZT7KTN4cjs.verifyBurnRequest; exports.verifyMintRequest = _chunk3ZT7KTN4cjs.verifyMintRequest;
25
25
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,5 @@
1
1
  import { PublicClient, WalletClient, Hex, Address } from 'viem';
2
- import { b as PointTokenDomainConfig, M as MintRequest, E as EIP712Signature, S as SignatureVerifyOptions, c as SignatureVerification, e as BurnRequest } from '../types-C17pznGz.cjs';
2
+ import { b as PointTokenDomainConfig, M as MintRequest, E as EIP712Signature, S as SignatureVerifyOptions, c as SignatureVerification, e as BurnRequest } from '../types-Hn1zUPTt.cjs';
3
3
 
4
4
  /**
5
5
  * Build the EIP-712 domain struct from a PointToken config. Uses
@@ -70,6 +70,9 @@ declare function buildMintRequestTypedData(domain: PointTokenDomainConfig, messa
70
70
  }, {
71
71
  readonly name: "amount";
72
72
  readonly type: "uint256";
73
+ }, {
74
+ readonly name: "source";
75
+ readonly type: "uint8";
73
76
  }, {
74
77
  readonly name: "nonce";
75
78
  readonly type: "uint256";
@@ -140,6 +143,9 @@ declare function buildBurnRequestTypedData(domain: PointTokenDomainConfig, messa
140
143
  }, {
141
144
  readonly name: "amount";
142
145
  readonly type: "uint256";
146
+ }, {
147
+ readonly name: "source";
148
+ readonly type: "uint8";
143
149
  }, {
144
150
  readonly name: "nonce";
145
151
  readonly type: "uint256";
@@ -1,5 +1,5 @@
1
1
  import { PublicClient, WalletClient, Hex, Address } from 'viem';
2
- import { b as PointTokenDomainConfig, M as MintRequest, E as EIP712Signature, S as SignatureVerifyOptions, c as SignatureVerification, e as BurnRequest } from '../types-C17pznGz.js';
2
+ import { b as PointTokenDomainConfig, M as MintRequest, E as EIP712Signature, S as SignatureVerifyOptions, c as SignatureVerification, e as BurnRequest } from '../types-Hn1zUPTt.js';
3
3
 
4
4
  /**
5
5
  * Build the EIP-712 domain struct from a PointToken config. Uses
@@ -70,6 +70,9 @@ declare function buildMintRequestTypedData(domain: PointTokenDomainConfig, messa
70
70
  }, {
71
71
  readonly name: "amount";
72
72
  readonly type: "uint256";
73
+ }, {
74
+ readonly name: "source";
75
+ readonly type: "uint8";
73
76
  }, {
74
77
  readonly name: "nonce";
75
78
  readonly type: "uint256";
@@ -140,6 +143,9 @@ declare function buildBurnRequestTypedData(domain: PointTokenDomainConfig, messa
140
143
  }, {
141
144
  readonly name: "amount";
142
145
  readonly type: "uint256";
146
+ }, {
147
+ readonly name: "source";
148
+ readonly type: "uint8";
143
149
  }, {
144
150
  readonly name: "nonce";
145
151
  readonly type: "uint256";
@@ -8,8 +8,8 @@ import {
8
8
  signMintRequest,
9
9
  verifyBurnRequest,
10
10
  verifyMintRequest
11
- } from "../chunk-4TNHRZ4X.js";
12
- import "../chunk-UCO5DXD6.js";
11
+ } from "../chunk-K4GBOB5V.js";
12
+ import "../chunk-5Y7MGN56.js";
13
13
  import "../chunk-DGUM43GV.js";
14
14
  export {
15
15
  Eip712DomainMismatchError,