@croptop/core-v6 0.0.67 → 0.0.68
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 +1 -1
- package/package.json +9 -9
- package/src/CTDeployer.sol +1 -2
- package/src/structs/CTPost.sol +2 -2
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Site: <https://croptop.eth.limo>
|
|
|
14
14
|
- [AUDIT_INSTRUCTIONS.md](./AUDIT_INSTRUCTIONS.md) — what auditors should focus on
|
|
15
15
|
- [SKILLS.md](./SKILLS.md) — domain knowledge for working in this repo
|
|
16
16
|
- [STYLE_GUIDE.md](./STYLE_GUIDE.md) — code-style conventions
|
|
17
|
-
- [CHANGELOG.md](./CHANGELOG.md)
|
|
17
|
+
- [CHANGELOG.md](./CHANGELOG.md) - V5 to V6 migration changelog
|
|
18
18
|
|
|
19
19
|
## Overview
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@croptop/core-v6",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.68",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"artifacts": "source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'croptop-core-v6'"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@bananapus/721-hook-v6": "^0.0.
|
|
30
|
-
"@bananapus/core-v6": "^0.0.
|
|
31
|
-
"@bananapus/ownable-v6": "^0.0.
|
|
32
|
-
"@bananapus/permission-ids-v6": "^0.0.
|
|
33
|
-
"@bananapus/router-terminal-v6": "^0.0.
|
|
34
|
-
"@bananapus/suckers-v6": "^0.0.
|
|
29
|
+
"@bananapus/721-hook-v6": "^0.0.69",
|
|
30
|
+
"@bananapus/core-v6": "^0.0.82",
|
|
31
|
+
"@bananapus/ownable-v6": "^0.0.37",
|
|
32
|
+
"@bananapus/permission-ids-v6": "^0.0.30",
|
|
33
|
+
"@bananapus/router-terminal-v6": "^0.0.64",
|
|
34
|
+
"@bananapus/suckers-v6": "^0.0.72",
|
|
35
35
|
"@openzeppelin/contracts": "5.6.1",
|
|
36
|
-
"@rev-net/core-v6": "^0.0.
|
|
36
|
+
"@rev-net/core-v6": "^0.0.89",
|
|
37
37
|
"@uniswap/permit2": "github:Uniswap/permit2#cc56ad0f3439c502c246fc5cfcc3db92bb8b7219"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@bananapus/address-registry-v6": "^0.0.
|
|
40
|
+
"@bananapus/address-registry-v6": "^0.0.34",
|
|
41
41
|
"@sphinx-labs/plugins": "0.33.3"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/src/CTDeployer.sol
CHANGED
|
@@ -418,8 +418,7 @@ contract CTDeployer is ERC2771Context, JBPermissioned, IJBRulesetDataHook, IERC7
|
|
|
418
418
|
/// @notice Accepts only freshly minted project NFTs sent directly by `JBProjects`.
|
|
419
419
|
/// @dev Rejecting transfers from a non-zero `from` ensures the deployer cannot be handed a project after launch.
|
|
420
420
|
/// @param operator Unused; the transfer is authenticated by `msg.sender` and `from`, not the operator.
|
|
421
|
-
/// @param from Unused except to gate acceptance; a non-zero prior owner means this is not a fresh mint
|
|
422
|
-
/// reverts.
|
|
421
|
+
/// @param from Unused except to gate acceptance; a non-zero prior owner means this is not a fresh mint.
|
|
423
422
|
/// @param tokenId Unused; any freshly minted project NFT is accepted.
|
|
424
423
|
/// @param data Unused; no payload is expected on a project mint.
|
|
425
424
|
/// @return magicValue The `IERC721Receiver.onERC721Received` selector that signals a successful receipt.
|
package/src/structs/CTPost.sol
CHANGED
|
@@ -9,8 +9,8 @@ import {JBSplit} from "@bananapus/core-v6/src/structs/JBSplit.sol";
|
|
|
9
9
|
/// alongside this transaction.
|
|
10
10
|
/// @custom:member price The price to pay for buying the post.
|
|
11
11
|
/// @custom:member category The category that the post should be published in.
|
|
12
|
-
/// @custom:member splitPercent The percent of the tier
|
|
13
|
-
/// JBConstants.SPLITS_TOTAL_PERCENT
|
|
12
|
+
/// @custom:member splitPercent The percent of the tier price to route to splits, out of
|
|
13
|
+
/// `JBConstants.SPLITS_TOTAL_PERCENT`.
|
|
14
14
|
/// @custom:member splits The splits to route funds to when this tier is minted.
|
|
15
15
|
struct CTPost {
|
|
16
16
|
bytes32 encodedIpfsUri;
|