@artblocks/contracts 1.5.0 → 1.7.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.
Files changed (53) hide show
  1. package/artifacts/contracts/DependencyRegistryV0.sol/DependencyRegistryV0.json +61 -148
  2. package/artifacts/contracts/generator/GenArt721GeneratorV0.sol/GenArt721GeneratorV0.json +15 -2
  3. package/artifacts/contracts/generator/InPlaceDocument.sol/InPlaceDocument.json +10 -0
  4. package/artifacts/contracts/interfaces/v0.8.x/IAbxfsFileDataReader.sol/IAbxfsFileDataReader.json +109 -0
  5. package/artifacts/contracts/interfaces/v0.8.x/IAbxfsFileStore.sol/IAbxfsFileStore.json +86 -0
  6. package/artifacts/contracts/interfaces/v0.8.x/IDependencyRegistryV0.sol/IDependencyRegistryV0.json +41 -27
  7. package/artifacts/contracts/interfaces/v0.8.x/IFormPaletteBindingHooks.sol/IFormPaletteBindingHooks.json +723 -0
  8. package/artifacts/contracts/interfaces/v0.8.x/IPMPProjectViewsV0.sol/IPMPProjectViewsV0.json +126 -0
  9. package/artifacts/contracts/interfaces/v0.8.x/ISharedMinterRequiredPMPV0.sol/ISharedMinterRequiredPMPV0.json +36 -0
  10. package/artifacts/contracts/libs/v0.8.x/AbxfsCanonical.sol/AbxfsCanonical.json +10 -0
  11. package/artifacts/contracts/libs/v0.8.x/DependencyRegistryStorageLib.sol/DependencyRegistryStorageLib.json +2 -2
  12. package/artifacts/contracts/libs/v0.8.x/minter-libs/RequiredPMPLib.sol/RequiredPMPLib.json +10 -0
  13. package/artifacts/contracts/minter-suite/Minters/MinterSetPricePMPV0.sol/MinterSetPricePMPV0.json +613 -0
  14. package/artifacts/contracts/mock/CallProbeMock.sol/CallProbeMock.json +45 -0
  15. package/artifacts/contracts/mock/GasProbeMock.sol/GasProbeMock.json +45 -0
  16. package/artifacts/contracts/mock/GenArt721GeneratorV0ScriptyReferenceMock.sol/GenArt721GeneratorV0ScriptyReferenceMock.json +346 -0
  17. package/artifacts/contracts/mock/GenArt721GeneratorV0ScriptyReferenceMock.sol/ILegacyGenArt721CoreV2_PBAB_Flex.json +47 -0
  18. package/artifacts/contracts/mock/InPlaceDocumentHarnessMock.sol/InPlaceDocumentHarnessMock.json +161 -0
  19. package/artifacts/contracts/mock/MockAbxfsFileDataReader.sol/IMockFileStore.json +91 -0
  20. package/artifacts/contracts/mock/MockAbxfsFileDataReader.sol/MockAbxfsFileDataReader.json +183 -0
  21. package/artifacts/contracts/mock/MockAbxfsFileStore.sol/MockAbxfsFileStore.json +204 -0
  22. package/artifacts/contracts/mock/MockPMPMinterReentrantConfigureHook.sol/IMinterPMPPurchase.json +91 -0
  23. package/artifacts/contracts/mock/MockPMPMinterReentrantConfigureHook.sol/MockPMPMinterReentrantConfigureHook.json +180 -0
  24. package/artifacts/contracts/mock/MockPMPReentrantConfigureHook.sol/MockPMPReentrantConfigureHook.json +158 -0
  25. package/artifacts/contracts/mock/RawResponseMock.sol/RawResponseMock.json +61 -0
  26. package/artifacts/contracts/mock/ReentrancyPMPMockShared.sol/IMinterPurchaseWithPMPs.json +67 -0
  27. package/artifacts/contracts/mock/ReentrancyPMPMockShared.sol/ReentrancyPMPMockShared.json +154 -0
  28. package/artifacts/contracts/web3call/combined-hooks/FormPaletteBindingHooks.sol/FormPaletteBindingHooks.json +919 -0
  29. package/contracts/DependencyRegistryV0.sol +136 -226
  30. package/contracts/generator/GenArt721GeneratorV0.sol +541 -280
  31. package/contracts/generator/InPlaceDocument.sol +306 -0
  32. package/contracts/interfaces/v0.8.x/IAbxfsFileDataReader.sol +67 -0
  33. package/contracts/interfaces/v0.8.x/IAbxfsFileStore.sol +40 -0
  34. package/contracts/interfaces/v0.8.x/IDependencyRegistryV0.sol +33 -22
  35. package/contracts/interfaces/v0.8.x/IFormPaletteBindingHooks.sol +339 -0
  36. package/contracts/interfaces/v0.8.x/IPMPProjectViewsV0.sol +59 -0
  37. package/contracts/interfaces/v0.8.x/ISharedMinterRequiredPMPV0.sol +27 -0
  38. package/contracts/libs/v0.8.x/AbxfsCanonical.sol +23 -0
  39. package/contracts/libs/v0.8.x/DependencyRegistryStorageLib.sol +10 -4
  40. package/contracts/libs/v0.8.x/minter-libs/RequiredPMPLib.sol +336 -0
  41. package/contracts/minter-suite/Minters/MinterSetPricePMPV0.sol +664 -0
  42. package/contracts/mock/CallProbeMock.sol +20 -0
  43. package/contracts/mock/GasProbeMock.sol +21 -0
  44. package/contracts/mock/GenArt721GeneratorV0ScriptyReferenceMock.sol +1316 -0
  45. package/contracts/mock/InPlaceDocumentHarnessMock.sol +189 -0
  46. package/contracts/mock/MockAbxfsFileDataReader.sol +134 -0
  47. package/contracts/mock/MockAbxfsFileStore.sol +125 -0
  48. package/contracts/mock/MockPMPMinterReentrantConfigureHook.sol +85 -0
  49. package/contracts/mock/MockPMPReentrantConfigureHook.sol +59 -0
  50. package/contracts/mock/RawResponseMock.sol +58 -0
  51. package/contracts/mock/ReentrancyPMPMockShared.sol +81 -0
  52. package/contracts/web3call/combined-hooks/FormPaletteBindingHooks.sol +1392 -0
  53. package/package.json +1 -1
@@ -0,0 +1,126 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPMPProjectViewsV0",
4
+ "sourceName": "contracts/interfaces/v0.8.x/IPMPProjectViewsV0.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "coreContract",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "projectId",
16
+ "type": "uint256"
17
+ }
18
+ ],
19
+ "name": "getProjectConfig",
20
+ "outputs": [
21
+ {
22
+ "internalType": "string[]",
23
+ "name": "pmpKeys",
24
+ "type": "string[]"
25
+ },
26
+ {
27
+ "internalType": "uint8",
28
+ "name": "configNonce",
29
+ "type": "uint8"
30
+ },
31
+ {
32
+ "internalType": "contract IPMPConfigureHook",
33
+ "name": "tokenPMPPostConfigHook",
34
+ "type": "address"
35
+ },
36
+ {
37
+ "internalType": "contract IPMPAugmentHook",
38
+ "name": "tokenPMPReadAugmentationHook",
39
+ "type": "address"
40
+ }
41
+ ],
42
+ "stateMutability": "view",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [
47
+ {
48
+ "internalType": "address",
49
+ "name": "coreContract",
50
+ "type": "address"
51
+ },
52
+ {
53
+ "internalType": "uint256",
54
+ "name": "projectId",
55
+ "type": "uint256"
56
+ },
57
+ {
58
+ "internalType": "string",
59
+ "name": "pmpKey",
60
+ "type": "string"
61
+ }
62
+ ],
63
+ "name": "getProjectPMPConfig",
64
+ "outputs": [
65
+ {
66
+ "components": [
67
+ {
68
+ "internalType": "uint8",
69
+ "name": "highestConfigNonce",
70
+ "type": "uint8"
71
+ },
72
+ {
73
+ "internalType": "enum IPMPV0.AuthOption",
74
+ "name": "authOption",
75
+ "type": "uint8"
76
+ },
77
+ {
78
+ "internalType": "enum IPMPV0.ParamType",
79
+ "name": "paramType",
80
+ "type": "uint8"
81
+ },
82
+ {
83
+ "internalType": "uint48",
84
+ "name": "pmpLockedAfterTimestamp",
85
+ "type": "uint48"
86
+ },
87
+ {
88
+ "internalType": "address",
89
+ "name": "authAddress",
90
+ "type": "address"
91
+ },
92
+ {
93
+ "internalType": "uint8",
94
+ "name": "selectOptionsLength",
95
+ "type": "uint8"
96
+ },
97
+ {
98
+ "internalType": "string[]",
99
+ "name": "selectOptions",
100
+ "type": "string[]"
101
+ },
102
+ {
103
+ "internalType": "bytes32",
104
+ "name": "minRange",
105
+ "type": "bytes32"
106
+ },
107
+ {
108
+ "internalType": "bytes32",
109
+ "name": "maxRange",
110
+ "type": "bytes32"
111
+ }
112
+ ],
113
+ "internalType": "struct IPMPV0.PMPConfigView",
114
+ "name": "pmpConfigView",
115
+ "type": "tuple"
116
+ }
117
+ ],
118
+ "stateMutability": "view",
119
+ "type": "function"
120
+ }
121
+ ],
122
+ "bytecode": "0x",
123
+ "deployedBytecode": "0x",
124
+ "linkReferences": {},
125
+ "deployedLinkReferences": {}
126
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ISharedMinterRequiredPMPV0",
4
+ "sourceName": "contracts/interfaces/v0.8.x/ISharedMinterRequiredPMPV0.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": true,
11
+ "internalType": "uint256",
12
+ "name": "projectId",
13
+ "type": "uint256"
14
+ },
15
+ {
16
+ "indexed": true,
17
+ "internalType": "address",
18
+ "name": "coreContract",
19
+ "type": "address"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "string[]",
24
+ "name": "requiredPMPKeys",
25
+ "type": "string[]"
26
+ }
27
+ ],
28
+ "name": "ProjectRequiredPMPKeysUpdated",
29
+ "type": "event"
30
+ }
31
+ ],
32
+ "bytecode": "0x",
33
+ "deployedBytecode": "0x",
34
+ "linkReferences": {},
35
+ "deployedLinkReferences": {}
36
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "AbxfsCanonical",
4
+ "sourceName": "contracts/libs/v0.8.x/AbxfsCanonical.sol",
5
+ "abi": [],
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e1bb52d34a5169e477f3c2e3621ba46fdc2d3c3a73a3e806195fa8606c22c5ed64736f6c63430008160033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e1bb52d34a5169e477f3c2e3621ba46fdc2d3c3a73a3e806195fa8606c22c5ed64736f6c63430008160033",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -3,8 +3,8 @@
3
3
  "contractName": "DependencyRegistryStorageLib",
4
4
  "sourceName": "contracts/libs/v0.8.x/DependencyRegistryStorageLib.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122030df3219f832f5b3c9edf59e917b7f1cf2b4c6830492f4e5740e3475d982c92a64736f6c63430008160033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122030df3219f832f5b3c9edf59e917b7f1cf2b4c6830492f4e5740e3475d982c92a64736f6c63430008160033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122030ddfbebc78cafcf2051e040448aed2daa8789bb338c7f47013e80ccf9ad90ed64736f6c63430008160033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122030ddfbebc78cafcf2051e040448aed2daa8789bb338c7f47013e80ccf9ad90ed64736f6c63430008160033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RequiredPMPLib",
4
+ "sourceName": "contracts/libs/v0.8.x/minter-libs/RequiredPMPLib.sol",
5
+ "abi": [],
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220beb8745f4cd739edb736c15bb6ee4530d5feb646d281cd255a898e64f373a3a664736f6c63430008160033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220beb8745f4cd739edb736c15bb6ee4530d5feb646d281cd255a898e64f373a3a664736f6c63430008160033",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }