@bannynet/core-v6 0.0.44 → 0.0.45
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 +7 -11
- package/src/Banny721TokenUriResolver.sol +3 -6
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
- [AUDIT_INSTRUCTIONS.md](./AUDIT_INSTRUCTIONS.md) — guidance for security reviewers
|
|
14
14
|
- [SKILLS.md](./SKILLS.md) — repo-specific gotchas and integration notes
|
|
15
15
|
- [STYLE_GUIDE.md](./STYLE_GUIDE.md) — coding and naming conventions
|
|
16
|
-
- [CHANGELOG.md](./CHANGELOG.md)
|
|
16
|
+
- [CHANGELOG.md](./CHANGELOG.md) - V5 to V6 migration changelog
|
|
17
17
|
|
|
18
18
|
## Overview
|
|
19
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bannynet/core-v6",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"test": "forge test",
|
|
21
21
|
"coverage": "forge coverage --match-path \"./src/*.sol\" --report lcov --report summary",
|
|
22
|
-
"generate:migration": "node ./script/outfit_drop/generate-migration.js",
|
|
23
22
|
"deploy:mainnets": "source ./.env && export START_TIME=$(date +%s) && npx sphinx propose ./script/Deploy.s.sol --networks mainnets",
|
|
24
23
|
"deploy:testnets": "source ./.env && export START_TIME=$(date +%s) && npx sphinx propose ./script/Deploy.s.sol --networks testnets",
|
|
25
24
|
"deploy:testnets:drop:1": "source ./.env && npx sphinx propose ./script/Drop1.s.sol --networks testnets",
|
|
@@ -27,18 +26,15 @@
|
|
|
27
26
|
"artifacts": "source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'banny-core-v6'"
|
|
28
27
|
},
|
|
29
28
|
"dependencies": {
|
|
30
|
-
"@bananapus/721-hook-v6": "^0.0.
|
|
31
|
-
"@bananapus/buyback-hook-v6": "^0.0.
|
|
32
|
-
"@bananapus/core-v6": "^0.0.
|
|
33
|
-
"@bananapus/
|
|
34
|
-
"@bananapus/suckers-v6": "^0.0.67",
|
|
35
|
-
"@croptop/core-v6": "^0.0.64",
|
|
29
|
+
"@bananapus/721-hook-v6": "^0.0.69",
|
|
30
|
+
"@bananapus/buyback-hook-v6": "^0.0.69",
|
|
31
|
+
"@bananapus/core-v6": "^0.0.82",
|
|
32
|
+
"@bananapus/suckers-v6": "^0.0.72",
|
|
36
33
|
"@openzeppelin/contracts": "5.6.1",
|
|
37
|
-
"@rev-net/core-v6": "^0.0.
|
|
38
|
-
"keccak": "3.0.4"
|
|
34
|
+
"@rev-net/core-v6": "^0.0.89"
|
|
39
35
|
},
|
|
40
36
|
"devDependencies": {
|
|
41
|
-
"@bananapus/address-registry-v6": "^0.0.
|
|
37
|
+
"@bananapus/address-registry-v6": "^0.0.34",
|
|
42
38
|
"@sphinx-labs/plugins": "0.33.3"
|
|
43
39
|
}
|
|
44
40
|
}
|
|
@@ -508,9 +508,7 @@ contract Banny721TokenUriResolver is
|
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
510
|
|
|
511
|
-
/// @notice Returns the SVG
|
|
512
|
-
/// outfit
|
|
513
|
-
/// or background.
|
|
511
|
+
/// @notice Returns the SVG for a banny body, a standalone outfit, or a standalone background.
|
|
514
512
|
/// @param hook The hook storing the assets.
|
|
515
513
|
/// @param tokenId The ID of the token to show. If the ID belongs to a banny body, it will be shown with its
|
|
516
514
|
/// current outfits in its current background if specified.
|
|
@@ -1173,9 +1171,8 @@ contract Banny721TokenUriResolver is
|
|
|
1173
1171
|
///
|
|
1174
1172
|
/// @dev WARNING: Equipped outfits and backgrounds are held by this contract on behalf of the banny body. When the
|
|
1175
1173
|
/// banny body NFT is transferred to a new owner, all equipped assets remain associated with that body. The new
|
|
1176
|
-
/// owner of the body effectively gains control of all equipped items
|
|
1177
|
-
///
|
|
1178
|
-
/// NFTs) or re-equip different items. Sellers should unequip valuable outfits before transferring a banny body.
|
|
1174
|
+
/// owner of the body effectively gains control of all equipped items. They can unequip them, receiving the outfit
|
|
1175
|
+
/// NFTs, or re-equip different items. Sellers should unequip valuable outfits before transferring a banny body.
|
|
1179
1176
|
///
|
|
1180
1177
|
/// @param hook The hook storing the assets.
|
|
1181
1178
|
/// @param bannyBodyId The ID of the banny body to dress.
|