@artblocks/contracts 1.5.0 → 1.6.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 (21) hide show
  1. package/artifacts/contracts/interfaces/v0.8.x/IFormPaletteBindingHooks.sol/IFormPaletteBindingHooks.json +723 -0
  2. package/artifacts/contracts/interfaces/v0.8.x/IPMPProjectViewsV0.sol/IPMPProjectViewsV0.json +126 -0
  3. package/artifacts/contracts/interfaces/v0.8.x/ISharedMinterRequiredPMPV0.sol/ISharedMinterRequiredPMPV0.json +36 -0
  4. package/artifacts/contracts/libs/v0.8.x/minter-libs/RequiredPMPLib.sol/RequiredPMPLib.json +10 -0
  5. package/artifacts/contracts/minter-suite/Minters/MinterSetPricePMPV0.sol/MinterSetPricePMPV0.json +613 -0
  6. package/artifacts/contracts/mock/MockPMPMinterReentrantConfigureHook.sol/IMinterPMPPurchase.json +91 -0
  7. package/artifacts/contracts/mock/MockPMPMinterReentrantConfigureHook.sol/MockPMPMinterReentrantConfigureHook.json +180 -0
  8. package/artifacts/contracts/mock/MockPMPReentrantConfigureHook.sol/MockPMPReentrantConfigureHook.json +158 -0
  9. package/artifacts/contracts/mock/ReentrancyPMPMockShared.sol/IMinterPurchaseWithPMPs.json +67 -0
  10. package/artifacts/contracts/mock/ReentrancyPMPMockShared.sol/ReentrancyPMPMockShared.json +154 -0
  11. package/artifacts/contracts/web3call/combined-hooks/FormPaletteBindingHooks.sol/FormPaletteBindingHooks.json +919 -0
  12. package/contracts/interfaces/v0.8.x/IFormPaletteBindingHooks.sol +339 -0
  13. package/contracts/interfaces/v0.8.x/IPMPProjectViewsV0.sol +59 -0
  14. package/contracts/interfaces/v0.8.x/ISharedMinterRequiredPMPV0.sol +27 -0
  15. package/contracts/libs/v0.8.x/minter-libs/RequiredPMPLib.sol +336 -0
  16. package/contracts/minter-suite/Minters/MinterSetPricePMPV0.sol +664 -0
  17. package/contracts/mock/MockPMPMinterReentrantConfigureHook.sol +85 -0
  18. package/contracts/mock/MockPMPReentrantConfigureHook.sol +59 -0
  19. package/contracts/mock/ReentrancyPMPMockShared.sol +81 -0
  20. package/contracts/web3call/combined-hooks/FormPaletteBindingHooks.sol +1392 -0
  21. 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": "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
+ }