@croptop/core-v6 0.0.18 → 0.0.19
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/CHANGE_LOG.md +2 -2
- package/package.json +1 -1
- package/deployments/croptop-core-v5/arbitrum/CTDeployer.json +0 -1896
- package/deployments/croptop-core-v5/arbitrum/CTProjectOwner.json +0 -186
- package/deployments/croptop-core-v5/arbitrum/CTPublisher.json +0 -738
- package/deployments/croptop-core-v5/arbitrum_sepolia/CTDeployer.json +0 -1883
- package/deployments/croptop-core-v5/arbitrum_sepolia/CTProjectOwner.json +0 -186
- package/deployments/croptop-core-v5/arbitrum_sepolia/CTPublisher.json +0 -738
- package/deployments/croptop-core-v5/base/CTDeployer.json +0 -1908
- package/deployments/croptop-core-v5/base/CTProjectOwner.json +0 -190
- package/deployments/croptop-core-v5/base/CTPublisher.json +0 -741
- package/deployments/croptop-core-v5/base_sepolia/CTDeployer.json +0 -1894
- package/deployments/croptop-core-v5/base_sepolia/CTProjectOwner.json +0 -190
- package/deployments/croptop-core-v5/base_sepolia/CTPublisher.json +0 -741
- package/deployments/croptop-core-v5/ethereum/CTDeployer.json +0 -1894
- package/deployments/croptop-core-v5/ethereum/CTProjectOwner.json +0 -190
- package/deployments/croptop-core-v5/ethereum/CTPublisher.json +0 -741
- package/deployments/croptop-core-v5/optimism/CTDeployer.json +0 -1894
- package/deployments/croptop-core-v5/optimism/CTProjectOwner.json +0 -190
- package/deployments/croptop-core-v5/optimism/CTPublisher.json +0 -741
- package/deployments/croptop-core-v5/optimism_sepolia/CTDeployer.json +0 -1894
- package/deployments/croptop-core-v5/optimism_sepolia/CTProjectOwner.json +0 -190
- package/deployments/croptop-core-v5/optimism_sepolia/CTPublisher.json +0 -741
- package/deployments/croptop-core-v5/sepolia/CTDeployer.json +0 -1894
- package/deployments/croptop-core-v5/sepolia/CTProjectOwner.json +0 -190
- package/deployments/croptop-core-v5/sepolia/CTPublisher.json +0 -741
package/CHANGE_LOG.md
CHANGED
|
@@ -86,8 +86,8 @@ Posts can now include a `splitPercent` and an array of `splits` (JBSplit[]) that
|
|
|
86
86
|
- **v5:** When minting from an existing tier, `totalPrice` was accumulated using `post.price` (user-supplied).
|
|
87
87
|
- **v6:** When minting from an existing tier, `totalPrice` is accumulated using the actual tier price fetched from `store.tierOf()`. This prevents a caller from passing `price=0` for an existing tier to evade fees.
|
|
88
88
|
|
|
89
|
-
### CTDeployer
|
|
90
|
-
- The CTDeployer
|
|
89
|
+
### CTDeployer Data Hook Proxy Activated
|
|
90
|
+
- The CTDeployer implemented the data hook proxy pattern in v5 as well -- it had `beforePayRecordedWith`, `beforeCashOutRecordedWith`, `hasMintPermissionFor`, and the `dataHookOf` mapping -- but `deployProjectFor` set `metadata.dataHook = address(hook)` (the 721 hook directly), so the proxy methods were never called. In v6, `deployProjectFor` sets `metadata.dataHook = address(this)`, `cashOutTaxRate = MAX_CASH_OUT_TAX_RATE`, and `useDataHookForCashOut = true`, activating the proxy. This routes all pay and cash out data hook calls through CTDeployer, which forwards them to the stored `dataHookOf[projectId]` while intercepting sucker cash outs (verified via `SUCKER_REGISTRY.isSuckerOf`) to return a 0% tax rate for cross-chain operations.
|
|
91
91
|
|
|
92
92
|
---
|
|
93
93
|
|