@zoralabs/coins 2.4.1 → 2.5.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.
- package/.abi-stability +923 -0
- package/.turbo/turbo-build$colon$js.log +112 -110
- package/CHANGELOG.md +19 -0
- package/abis/BaseCoin.json +18 -0
- package/abis/ContentCoin.json +18 -0
- package/abis/CreatorCoin.json +18 -0
- package/abis/IHasCreationInfo.json +20 -0
- package/dist/index.cjs +30 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +42 -0
- package/dist/wagmiGenerated.d.ts.map +1 -1
- package/package/wagmiGenerated.ts +30 -0
- package/package.json +3 -1
- package/src/BaseCoin.sol +32 -2
- package/src/hooks/ZoraV4CoinHook.sol +60 -3
- package/src/interfaces/IHasCreationInfo.sol +12 -0
- package/src/libs/CoinConstants.sol +16 -0
- package/src/libs/CoinSetup.sol +7 -1
- package/src/libs/V3ToV4SwapLib.sol +7 -3
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/CoinUniV4.t.sol +4 -0
- package/test/ContentCoinRewards.t.sol +1 -0
- package/test/CreatorCoinRewards.t.sol +1 -0
- package/test/LaunchFee.t.sol +286 -0
package/dist/index.js
CHANGED
|
@@ -179,6 +179,16 @@ var baseCoinABI = [
|
|
|
179
179
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
180
180
|
stateMutability: "pure"
|
|
181
181
|
},
|
|
182
|
+
{
|
|
183
|
+
type: "function",
|
|
184
|
+
inputs: [],
|
|
185
|
+
name: "creationInfo",
|
|
186
|
+
outputs: [
|
|
187
|
+
{ name: "creationTimestamp", internalType: "uint256", type: "uint256" },
|
|
188
|
+
{ name: "isDeploying", internalType: "bool", type: "bool" }
|
|
189
|
+
],
|
|
190
|
+
stateMutability: "view"
|
|
191
|
+
},
|
|
182
192
|
{
|
|
183
193
|
type: "function",
|
|
184
194
|
inputs: [],
|
|
@@ -1470,6 +1480,16 @@ var contentCoinABI = [
|
|
|
1470
1480
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
1471
1481
|
stateMutability: "pure"
|
|
1472
1482
|
},
|
|
1483
|
+
{
|
|
1484
|
+
type: "function",
|
|
1485
|
+
inputs: [],
|
|
1486
|
+
name: "creationInfo",
|
|
1487
|
+
outputs: [
|
|
1488
|
+
{ name: "creationTimestamp", internalType: "uint256", type: "uint256" },
|
|
1489
|
+
{ name: "isDeploying", internalType: "bool", type: "bool" }
|
|
1490
|
+
],
|
|
1491
|
+
stateMutability: "view"
|
|
1492
|
+
},
|
|
1473
1493
|
{
|
|
1474
1494
|
type: "function",
|
|
1475
1495
|
inputs: [],
|
|
@@ -2573,6 +2593,16 @@ var creatorCoinABI = [
|
|
|
2573
2593
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
2574
2594
|
stateMutability: "pure"
|
|
2575
2595
|
},
|
|
2596
|
+
{
|
|
2597
|
+
type: "function",
|
|
2598
|
+
inputs: [],
|
|
2599
|
+
name: "creationInfo",
|
|
2600
|
+
outputs: [
|
|
2601
|
+
{ name: "creationTimestamp", internalType: "uint256", type: "uint256" },
|
|
2602
|
+
{ name: "isDeploying", internalType: "bool", type: "bool" }
|
|
2603
|
+
],
|
|
2604
|
+
stateMutability: "view"
|
|
2605
|
+
},
|
|
2576
2606
|
{
|
|
2577
2607
|
type: "function",
|
|
2578
2608
|
inputs: [],
|