@zoralabs/protocol-deployments 0.3.5-COMMENTS.0 → 0.3.5-COMMENTS.2
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/.turbo/turbo-build.log +48 -48
- package/CHANGELOG.md +16 -0
- package/dist/ccip-TLVKUNHE.js +15 -0
- package/dist/chunk-IB365BT5.js +3957 -0
- package/dist/generated/wagmi.d.ts +228 -59
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +190 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +176 -17
- package/dist/index.js.map +1 -1
- package/dist/typedData.d.ts +137 -1
- package/dist/typedData.d.ts.map +1 -1
- package/dist/types.d.ts +18 -0
- package/dist/types.d.ts.map +1 -1
- package/json/1155.json +212 -0
- package/json/mints.json +46 -0
- package/package/.turbo/turbo-build.log +48 -0
- package/package/dist/_esm-KB2T7G46.js +3923 -0
- package/package/dist/_esm-KB2T7G46.js.map +1 -0
- package/package/dist/ccip-42FQPB7J.js.map +1 -0
- package/package/dist/chunk-3EJPJMEH.js +44 -0
- package/package/dist/chunk-3EJPJMEH.js.map +1 -0
- package/package/dist/chunk-5JV63AHR.js +129 -0
- package/package/dist/chunk-5JV63AHR.js.map +1 -0
- package/package/dist/chunk-YMRS2KON.js.map +1 -0
- package/package/dist/encoding.d.ts +15 -0
- package/package/dist/encoding.d.ts.map +1 -0
- package/package/dist/generated/1155.d.ts +232 -0
- package/package/dist/generated/1155.d.ts.map +1 -0
- package/package/dist/generated/sparks.d.ts +85 -0
- package/package/dist/generated/sparks.d.ts.map +1 -0
- package/package/dist/generated/wagmi.d.ts +27548 -0
- package/package/dist/generated/wagmi.d.ts.map +1 -0
- package/package/dist/index.cjs +12957 -0
- package/package/dist/index.cjs.map +1 -0
- package/package/dist/index.d.ts +7 -0
- package/package/dist/index.d.ts.map +1 -0
- package/package/dist/index.js +11268 -0
- package/package/dist/index.js.map +1 -0
- package/package/dist/secp256k1-5CEPNAX3.js +2244 -0
- package/package/dist/secp256k1-5CEPNAX3.js.map +1 -0
- package/package/dist/typedData.d.ts +234 -0
- package/package/dist/typedData.d.ts.map +1 -0
- package/package/dist/types.d.ts +45 -0
- package/package/dist/types.d.ts.map +1 -0
- package/package/package/.turbo/turbo-build.log +48 -0
- package/package/package/dist/_esm-KB2T7G46.js +3923 -0
- package/package/package/dist/_esm-KB2T7G46.js.map +1 -0
- package/package/package/dist/ccip-42FQPB7J.js +15 -0
- package/package/package/dist/ccip-42FQPB7J.js.map +1 -0
- package/package/package/dist/chunk-3EJPJMEH.js +44 -0
- package/package/package/dist/chunk-3EJPJMEH.js.map +1 -0
- package/package/package/dist/chunk-5JV63AHR.js +129 -0
- package/package/package/dist/chunk-5JV63AHR.js.map +1 -0
- package/package/package/dist/chunk-YMRS2KON.js +3956 -0
- package/package/package/dist/chunk-YMRS2KON.js.map +1 -0
- package/package/package/dist/encoding.d.ts +15 -0
- package/package/package/dist/encoding.d.ts.map +1 -0
- package/package/package/dist/generated/1155.d.ts +232 -0
- package/package/package/dist/generated/1155.d.ts.map +1 -0
- package/package/package/dist/generated/sparks.d.ts +85 -0
- package/package/package/dist/generated/sparks.d.ts.map +1 -0
- package/package/package/dist/generated/wagmi.d.ts +27548 -0
- package/package/package/dist/generated/wagmi.d.ts.map +1 -0
- package/package/package/dist/index.cjs +12957 -0
- package/package/package/dist/index.cjs.map +1 -0
- package/package/package/dist/index.d.ts +7 -0
- package/package/package/dist/index.d.ts.map +1 -0
- package/package/package/dist/index.js +11268 -0
- package/package/package/dist/index.js.map +1 -0
- package/package/package/dist/secp256k1-5CEPNAX3.js +2244 -0
- package/package/package/dist/secp256k1-5CEPNAX3.js.map +1 -0
- package/package/package/dist/typedData.d.ts +234 -0
- package/package/package/dist/typedData.d.ts.map +1 -0
- package/package/package/dist/types.d.ts +45 -0
- package/package/package/dist/types.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/generated/wagmi.ts +74 -19
- package/src/typedData.ts +133 -0
- package/src/types.ts +24 -0
- /package/dist/{ccip-42FQPB7J.js.map → ccip-TLVKUNHE.js.map} +0 -0
- /package/dist/{chunk-YMRS2KON.js.map → chunk-IB365BT5.js.map} +0 -0
- /package/{dist → package/dist}/ccip-42FQPB7J.js +0 -0
- /package/{dist → package/dist}/chunk-YMRS2KON.js +0 -0
package/dist/index.cjs
CHANGED
|
@@ -1609,6 +1609,18 @@ var init_getAbiItem = __esm({
|
|
|
1609
1609
|
}
|
|
1610
1610
|
});
|
|
1611
1611
|
|
|
1612
|
+
// ../../node_modules/.pnpm/viem@2.18.0_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/unit.js
|
|
1613
|
+
var etherUnits;
|
|
1614
|
+
var init_unit = __esm({
|
|
1615
|
+
"../../node_modules/.pnpm/viem@2.18.0_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/constants/unit.js"() {
|
|
1616
|
+
"use strict";
|
|
1617
|
+
etherUnits = {
|
|
1618
|
+
gwei: 9,
|
|
1619
|
+
wei: 18
|
|
1620
|
+
};
|
|
1621
|
+
}
|
|
1622
|
+
});
|
|
1623
|
+
|
|
1612
1624
|
// src/index.ts
|
|
1613
1625
|
var src_exports = {};
|
|
1614
1626
|
__export(src_exports, {
|
|
@@ -1634,6 +1646,8 @@ __export(src_exports, {
|
|
|
1634
1646
|
mintsEthUnwrapperAndCallerConfig: () => mintsEthUnwrapperAndCallerConfig,
|
|
1635
1647
|
mintsSafeTransferBatchTypedDataDefinition: () => mintsSafeTransferBatchTypedDataDefinition,
|
|
1636
1648
|
mintsSafeTransferTypedDataDefinition: () => mintsSafeTransferTypedDataDefinition,
|
|
1649
|
+
permitCommentTypedDataDefinition: () => permitCommentTypedDataDefinition,
|
|
1650
|
+
permitSparkCommentTypedDataDefinition: () => permitSparkCommentTypedDataDefinition,
|
|
1637
1651
|
premintTypedDataDefinition: () => premintTypedDataDefinition,
|
|
1638
1652
|
premintV1TypedDataDefinition: () => premintV1TypedDataDefinition,
|
|
1639
1653
|
premintV2TypedDataDefinition: () => premintV2TypedDataDefinition,
|
|
@@ -1644,6 +1658,7 @@ __export(src_exports, {
|
|
|
1644
1658
|
secondarySwapABI: () => secondarySwapABI,
|
|
1645
1659
|
secondarySwapAddress: () => secondarySwapAddress,
|
|
1646
1660
|
secondarySwapConfig: () => secondarySwapConfig,
|
|
1661
|
+
sparkValue: () => sparkValue,
|
|
1647
1662
|
sparks: () => sparks_exports,
|
|
1648
1663
|
sponsoredSparksBatchTransferTypedDataType: () => sponsoredSparksBatchTransferTypedDataType,
|
|
1649
1664
|
sponsoredSparksBatchTypedDataDefinition: () => sponsoredSparksBatchTypedDataDefinition,
|
|
@@ -1815,6 +1830,11 @@ var commentsABI = [
|
|
|
1815
1830
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1816
1831
|
]
|
|
1817
1832
|
},
|
|
1833
|
+
{
|
|
1834
|
+
name: "commenterSmartWallet",
|
|
1835
|
+
internalType: "address",
|
|
1836
|
+
type: "address"
|
|
1837
|
+
},
|
|
1818
1838
|
{ name: "referrer", internalType: "address", type: "address" }
|
|
1819
1839
|
],
|
|
1820
1840
|
name: "comment",
|
|
@@ -1835,7 +1855,19 @@ var commentsABI = [
|
|
|
1835
1855
|
{
|
|
1836
1856
|
stateMutability: "view",
|
|
1837
1857
|
type: "function",
|
|
1838
|
-
inputs: [
|
|
1858
|
+
inputs: [
|
|
1859
|
+
{
|
|
1860
|
+
name: "commentIdentifier",
|
|
1861
|
+
internalType: "struct IComments.CommentIdentifier",
|
|
1862
|
+
type: "tuple",
|
|
1863
|
+
components: [
|
|
1864
|
+
{ name: "commenter", internalType: "address", type: "address" },
|
|
1865
|
+
{ name: "contractAddress", internalType: "address", type: "address" },
|
|
1866
|
+
{ name: "tokenId", internalType: "uint256", type: "uint256" },
|
|
1867
|
+
{ name: "nonce", internalType: "bytes32", type: "bytes32" }
|
|
1868
|
+
]
|
|
1869
|
+
}
|
|
1870
|
+
],
|
|
1839
1871
|
name: "commentSparksQuantity",
|
|
1840
1872
|
outputs: [{ name: "", internalType: "uint64", type: "uint64" }]
|
|
1841
1873
|
},
|
|
@@ -1888,6 +1920,21 @@ var commentsABI = [
|
|
|
1888
1920
|
}
|
|
1889
1921
|
]
|
|
1890
1922
|
},
|
|
1923
|
+
{
|
|
1924
|
+
stateMutability: "view",
|
|
1925
|
+
type: "function",
|
|
1926
|
+
inputs: [],
|
|
1927
|
+
name: "eip712Domain",
|
|
1928
|
+
outputs: [
|
|
1929
|
+
{ name: "fields", internalType: "bytes1", type: "bytes1" },
|
|
1930
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
1931
|
+
{ name: "version", internalType: "string", type: "string" },
|
|
1932
|
+
{ name: "chainId", internalType: "uint256", type: "uint256" },
|
|
1933
|
+
{ name: "verifyingContract", internalType: "address", type: "address" },
|
|
1934
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
1935
|
+
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
1936
|
+
]
|
|
1937
|
+
},
|
|
1891
1938
|
{
|
|
1892
1939
|
stateMutability: "view",
|
|
1893
1940
|
type: "function",
|
|
@@ -2003,15 +2050,19 @@ var commentsABI = [
|
|
|
2003
2050
|
]
|
|
2004
2051
|
},
|
|
2005
2052
|
{ name: "text", internalType: "string", type: "string" },
|
|
2006
|
-
{ name: "sparksQuantity", internalType: "uint64", type: "uint64" },
|
|
2007
2053
|
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2008
2054
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2009
2055
|
{ name: "referrer", internalType: "address", type: "address" },
|
|
2010
|
-
{ name: "sourceChainId", internalType: "
|
|
2056
|
+
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
2011
2057
|
{
|
|
2012
2058
|
name: "destinationChainId",
|
|
2013
|
-
internalType: "
|
|
2014
|
-
type: "
|
|
2059
|
+
internalType: "uint32",
|
|
2060
|
+
type: "uint32"
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
name: "commenterSmartWallet",
|
|
2064
|
+
internalType: "address",
|
|
2065
|
+
type: "address"
|
|
2015
2066
|
}
|
|
2016
2067
|
]
|
|
2017
2068
|
}
|
|
@@ -2048,11 +2099,11 @@ var commentsABI = [
|
|
|
2048
2099
|
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2049
2100
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2050
2101
|
{ name: "referrer", internalType: "address", type: "address" },
|
|
2051
|
-
{ name: "sourceChainId", internalType: "
|
|
2102
|
+
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
2052
2103
|
{
|
|
2053
2104
|
name: "destinationChainId",
|
|
2054
|
-
internalType: "
|
|
2055
|
-
type: "
|
|
2105
|
+
internalType: "uint32",
|
|
2106
|
+
type: "uint32"
|
|
2056
2107
|
}
|
|
2057
2108
|
]
|
|
2058
2109
|
}
|
|
@@ -2060,6 +2111,13 @@ var commentsABI = [
|
|
|
2060
2111
|
name: "hashPermitSparkComment",
|
|
2061
2112
|
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2062
2113
|
},
|
|
2114
|
+
{
|
|
2115
|
+
stateMutability: "view",
|
|
2116
|
+
type: "function",
|
|
2117
|
+
inputs: [],
|
|
2118
|
+
name: "implementation",
|
|
2119
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2120
|
+
},
|
|
2063
2121
|
{
|
|
2064
2122
|
stateMutability: "nonpayable",
|
|
2065
2123
|
type: "function",
|
|
@@ -2121,15 +2179,19 @@ var commentsABI = [
|
|
|
2121
2179
|
]
|
|
2122
2180
|
},
|
|
2123
2181
|
{ name: "text", internalType: "string", type: "string" },
|
|
2124
|
-
{ name: "sparksQuantity", internalType: "uint64", type: "uint64" },
|
|
2125
2182
|
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2126
2183
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2127
2184
|
{ name: "referrer", internalType: "address", type: "address" },
|
|
2128
|
-
{ name: "sourceChainId", internalType: "
|
|
2185
|
+
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
2129
2186
|
{
|
|
2130
2187
|
name: "destinationChainId",
|
|
2131
|
-
internalType: "
|
|
2132
|
-
type: "
|
|
2188
|
+
internalType: "uint32",
|
|
2189
|
+
type: "uint32"
|
|
2190
|
+
},
|
|
2191
|
+
{
|
|
2192
|
+
name: "commenterSmartWallet",
|
|
2193
|
+
internalType: "address",
|
|
2194
|
+
type: "address"
|
|
2133
2195
|
}
|
|
2134
2196
|
]
|
|
2135
2197
|
},
|
|
@@ -2167,11 +2229,11 @@ var commentsABI = [
|
|
|
2167
2229
|
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2168
2230
|
{ name: "nonce", internalType: "bytes32", type: "bytes32" },
|
|
2169
2231
|
{ name: "referrer", internalType: "address", type: "address" },
|
|
2170
|
-
{ name: "sourceChainId", internalType: "
|
|
2232
|
+
{ name: "sourceChainId", internalType: "uint32", type: "uint32" },
|
|
2171
2233
|
{
|
|
2172
2234
|
name: "destinationChainId",
|
|
2173
|
-
internalType: "
|
|
2174
|
-
type: "
|
|
2235
|
+
internalType: "uint32",
|
|
2236
|
+
type: "uint32"
|
|
2175
2237
|
}
|
|
2176
2238
|
]
|
|
2177
2239
|
},
|
|
@@ -2361,6 +2423,7 @@ var commentsABI = [
|
|
|
2361
2423
|
],
|
|
2362
2424
|
name: "Commented"
|
|
2363
2425
|
},
|
|
2426
|
+
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
2364
2427
|
{
|
|
2365
2428
|
type: "event",
|
|
2366
2429
|
anonymous: false,
|
|
@@ -2575,7 +2638,10 @@ var commentsABI = [
|
|
|
2575
2638
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2576
2639
|
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
2577
2640
|
{ type: "error", inputs: [], name: "MustSendAtLeastOneSpark" },
|
|
2641
|
+
{ type: "error", inputs: [], name: "NoFundsRecipient" },
|
|
2578
2642
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
2643
|
+
{ type: "error", inputs: [], name: "NotSmartWallet" },
|
|
2644
|
+
{ type: "error", inputs: [], name: "NotSmartWalletOwner" },
|
|
2579
2645
|
{ type: "error", inputs: [], name: "NotTokenHolderOrAdmin" },
|
|
2580
2646
|
{ type: "error", inputs: [], name: "OnlySparksContract" },
|
|
2581
2647
|
{ type: "error", inputs: [], name: "TransferFailed" },
|
|
@@ -2595,7 +2661,8 @@ var commentsABI = [
|
|
|
2595
2661
|
}
|
|
2596
2662
|
];
|
|
2597
2663
|
var commentsAddress = {
|
|
2598
|
-
|
|
2664
|
+
7777777: "0x8C0757EFfD2Cc68F00810d2d144F729F6ed5CdA3",
|
|
2665
|
+
999999999: "0x7777777C2B3132e03a65721a41745C07170a5877"
|
|
2599
2666
|
};
|
|
2600
2667
|
var commentsConfig = {
|
|
2601
2668
|
address: commentsAddress,
|
|
@@ -13218,6 +13285,45 @@ var zoraTimedSaleStrategyConfig = {
|
|
|
13218
13285
|
abi: zoraTimedSaleStrategyABI
|
|
13219
13286
|
};
|
|
13220
13287
|
|
|
13288
|
+
// ../../node_modules/.pnpm/viem@2.18.0_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseUnits.js
|
|
13289
|
+
function parseUnits(value, decimals) {
|
|
13290
|
+
let [integer, fraction = "0"] = value.split(".");
|
|
13291
|
+
const negative = integer.startsWith("-");
|
|
13292
|
+
if (negative)
|
|
13293
|
+
integer = integer.slice(1);
|
|
13294
|
+
fraction = fraction.replace(/(0+)$/, "");
|
|
13295
|
+
if (decimals === 0) {
|
|
13296
|
+
if (Math.round(Number(`.${fraction}`)) === 1)
|
|
13297
|
+
integer = `${BigInt(integer) + 1n}`;
|
|
13298
|
+
fraction = "";
|
|
13299
|
+
} else if (fraction.length > decimals) {
|
|
13300
|
+
const [left, unit, right] = [
|
|
13301
|
+
fraction.slice(0, decimals - 1),
|
|
13302
|
+
fraction.slice(decimals - 1, decimals),
|
|
13303
|
+
fraction.slice(decimals)
|
|
13304
|
+
];
|
|
13305
|
+
const rounded = Math.round(Number(`${unit}.${right}`));
|
|
13306
|
+
if (rounded > 9)
|
|
13307
|
+
fraction = `${BigInt(left) + BigInt(1)}0`.padStart(left.length + 1, "0");
|
|
13308
|
+
else
|
|
13309
|
+
fraction = `${left}${rounded}`;
|
|
13310
|
+
if (fraction.length > decimals) {
|
|
13311
|
+
fraction = fraction.slice(1);
|
|
13312
|
+
integer = `${BigInt(integer) + 1n}`;
|
|
13313
|
+
}
|
|
13314
|
+
fraction = fraction.slice(0, decimals);
|
|
13315
|
+
} else {
|
|
13316
|
+
fraction = fraction.padEnd(decimals, "0");
|
|
13317
|
+
}
|
|
13318
|
+
return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
|
|
13319
|
+
}
|
|
13320
|
+
|
|
13321
|
+
// ../../node_modules/.pnpm/viem@2.18.0_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/utils/unit/parseEther.js
|
|
13322
|
+
init_unit();
|
|
13323
|
+
function parseEther(ether, unit = "wei") {
|
|
13324
|
+
return parseUnits(ether, etherUnits[unit]);
|
|
13325
|
+
}
|
|
13326
|
+
|
|
13221
13327
|
// ../../node_modules/.pnpm/viem@2.18.0_bufferutil@4.0.8_typescript@5.5.4_utf-8-validate@5.0.10_zod@3.23.8/node_modules/viem/_esm/index.js
|
|
13222
13328
|
init_encodeAbiParameters();
|
|
13223
13329
|
init_getAbiItem();
|
|
@@ -13531,6 +13637,71 @@ var sponsoredSparksBatchTypedDataDefinition = ({
|
|
|
13531
13637
|
verifyingContract: sponsoredSparksSpenderAddress[chainId]
|
|
13532
13638
|
}
|
|
13533
13639
|
});
|
|
13640
|
+
var commentIdentifierType = [
|
|
13641
|
+
{ name: "contractAddress", type: "address" },
|
|
13642
|
+
{ name: "tokenId", type: "uint256" },
|
|
13643
|
+
{ name: "commenter", type: "address" },
|
|
13644
|
+
{ name: "nonce", type: "bytes32" }
|
|
13645
|
+
];
|
|
13646
|
+
var permitCommentTypedDataType = {
|
|
13647
|
+
PermitComment: [
|
|
13648
|
+
{ name: "contractAddress", type: "address" },
|
|
13649
|
+
{ name: "tokenId", type: "uint256" },
|
|
13650
|
+
{ name: "commenter", type: "address" },
|
|
13651
|
+
{ name: "replyTo", type: "CommentIdentifier" },
|
|
13652
|
+
{ name: "text", type: "string" },
|
|
13653
|
+
{ name: "deadline", type: "uint256" },
|
|
13654
|
+
{ name: "nonce", type: "bytes32" },
|
|
13655
|
+
{ name: "commenterSmartWallet", type: "address" },
|
|
13656
|
+
{ name: "referrer", type: "address" },
|
|
13657
|
+
{ name: "sourceChainId", type: "uint32" },
|
|
13658
|
+
{ name: "destinationChainId", type: "uint32" }
|
|
13659
|
+
],
|
|
13660
|
+
CommentIdentifier: commentIdentifierType
|
|
13661
|
+
};
|
|
13662
|
+
var permitSparkCommentTypedDataType = {
|
|
13663
|
+
PermitSparkComment: [
|
|
13664
|
+
{ name: "comment", type: "CommentIdentifier" },
|
|
13665
|
+
{ name: "sparker", type: "address" },
|
|
13666
|
+
{ name: "sparksQuantity", type: "uint64" },
|
|
13667
|
+
{ name: "deadline", type: "uint256" },
|
|
13668
|
+
{ name: "nonce", type: "bytes32" },
|
|
13669
|
+
{ name: "referrer", type: "address" },
|
|
13670
|
+
{ name: "sourceChainId", type: "uint32" },
|
|
13671
|
+
{ name: "destinationChainId", type: "uint32" }
|
|
13672
|
+
],
|
|
13673
|
+
CommentIdentifier: commentIdentifierType
|
|
13674
|
+
};
|
|
13675
|
+
var commentsDomain = ({
|
|
13676
|
+
signingChainId,
|
|
13677
|
+
destinationChainId
|
|
13678
|
+
}) => ({
|
|
13679
|
+
chainId: signingChainId,
|
|
13680
|
+
name: "Comments",
|
|
13681
|
+
version: "1",
|
|
13682
|
+
verifyingContract: commentsAddress[destinationChainId]
|
|
13683
|
+
});
|
|
13684
|
+
var permitCommentTypedDataDefinition = (message, signingAccount) => ({
|
|
13685
|
+
types: permitCommentTypedDataType,
|
|
13686
|
+
message,
|
|
13687
|
+
primaryType: "PermitComment",
|
|
13688
|
+
domain: commentsDomain({
|
|
13689
|
+
signingChainId: message.sourceChainId,
|
|
13690
|
+
destinationChainId: message.destinationChainId
|
|
13691
|
+
}),
|
|
13692
|
+
account: signingAccount || message.commenter
|
|
13693
|
+
});
|
|
13694
|
+
var permitSparkCommentTypedDataDefinition = (message, signingAccount) => ({
|
|
13695
|
+
types: permitSparkCommentTypedDataType,
|
|
13696
|
+
message,
|
|
13697
|
+
primaryType: "PermitSparkComment",
|
|
13698
|
+
domain: commentsDomain({
|
|
13699
|
+
signingChainId: message.sourceChainId,
|
|
13700
|
+
destinationChainId: message.destinationChainId
|
|
13701
|
+
}),
|
|
13702
|
+
account: signingAccount || message.sparker
|
|
13703
|
+
});
|
|
13704
|
+
var sparkValue = () => parseEther("0.000001");
|
|
13534
13705
|
|
|
13535
13706
|
// src/encoding.ts
|
|
13536
13707
|
var safeTransferSwapAbiParameters = [
|
|
@@ -13891,6 +14062,8 @@ var addresses2 = {
|
|
|
13891
14062
|
mintsEthUnwrapperAndCallerConfig,
|
|
13892
14063
|
mintsSafeTransferBatchTypedDataDefinition,
|
|
13893
14064
|
mintsSafeTransferTypedDataDefinition,
|
|
14065
|
+
permitCommentTypedDataDefinition,
|
|
14066
|
+
permitSparkCommentTypedDataDefinition,
|
|
13894
14067
|
premintTypedDataDefinition,
|
|
13895
14068
|
premintV1TypedDataDefinition,
|
|
13896
14069
|
premintV2TypedDataDefinition,
|
|
@@ -13901,6 +14074,7 @@ var addresses2 = {
|
|
|
13901
14074
|
secondarySwapABI,
|
|
13902
14075
|
secondarySwapAddress,
|
|
13903
14076
|
secondarySwapConfig,
|
|
14077
|
+
sparkValue,
|
|
13904
14078
|
sparks,
|
|
13905
14079
|
sponsoredSparksBatchTransferTypedDataType,
|
|
13906
14080
|
sponsoredSparksBatchTypedDataDefinition,
|