@artblocks/contracts 1.6.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.
- package/artifacts/contracts/DependencyRegistryV0.sol/DependencyRegistryV0.json +61 -148
- package/artifacts/contracts/generator/GenArt721GeneratorV0.sol/GenArt721GeneratorV0.json +15 -2
- package/artifacts/contracts/generator/InPlaceDocument.sol/InPlaceDocument.json +10 -0
- package/artifacts/contracts/interfaces/v0.8.x/IAbxfsFileDataReader.sol/IAbxfsFileDataReader.json +109 -0
- package/artifacts/contracts/interfaces/v0.8.x/IAbxfsFileStore.sol/IAbxfsFileStore.json +86 -0
- package/artifacts/contracts/interfaces/v0.8.x/IDependencyRegistryV0.sol/IDependencyRegistryV0.json +41 -27
- package/artifacts/contracts/libs/v0.8.x/AbxfsCanonical.sol/AbxfsCanonical.json +10 -0
- package/artifacts/contracts/libs/v0.8.x/DependencyRegistryStorageLib.sol/DependencyRegistryStorageLib.json +2 -2
- package/artifacts/contracts/mock/CallProbeMock.sol/CallProbeMock.json +45 -0
- package/artifacts/contracts/mock/GasProbeMock.sol/GasProbeMock.json +45 -0
- package/artifacts/contracts/mock/GenArt721GeneratorV0ScriptyReferenceMock.sol/GenArt721GeneratorV0ScriptyReferenceMock.json +346 -0
- package/artifacts/contracts/mock/GenArt721GeneratorV0ScriptyReferenceMock.sol/ILegacyGenArt721CoreV2_PBAB_Flex.json +47 -0
- package/artifacts/contracts/mock/InPlaceDocumentHarnessMock.sol/InPlaceDocumentHarnessMock.json +161 -0
- package/artifacts/contracts/mock/MockAbxfsFileDataReader.sol/IMockFileStore.json +91 -0
- package/artifacts/contracts/mock/MockAbxfsFileDataReader.sol/MockAbxfsFileDataReader.json +183 -0
- package/artifacts/contracts/mock/MockAbxfsFileStore.sol/MockAbxfsFileStore.json +204 -0
- package/artifacts/contracts/mock/RawResponseMock.sol/RawResponseMock.json +61 -0
- package/contracts/DependencyRegistryV0.sol +136 -226
- package/contracts/generator/GenArt721GeneratorV0.sol +541 -280
- package/contracts/generator/InPlaceDocument.sol +306 -0
- package/contracts/interfaces/v0.8.x/IAbxfsFileDataReader.sol +67 -0
- package/contracts/interfaces/v0.8.x/IAbxfsFileStore.sol +40 -0
- package/contracts/interfaces/v0.8.x/IDependencyRegistryV0.sol +33 -22
- package/contracts/libs/v0.8.x/AbxfsCanonical.sol +23 -0
- package/contracts/libs/v0.8.x/DependencyRegistryStorageLib.sol +10 -4
- package/contracts/mock/CallProbeMock.sol +20 -0
- package/contracts/mock/GasProbeMock.sol +21 -0
- package/contracts/mock/GenArt721GeneratorV0ScriptyReferenceMock.sol +1316 -0
- package/contracts/mock/InPlaceDocumentHarnessMock.sol +189 -0
- package/contracts/mock/MockAbxfsFileDataReader.sol +134 -0
- package/contracts/mock/MockAbxfsFileStore.sol +125 -0
- package/contracts/mock/RawResponseMock.sol +58 -0
- package/package.json +1 -1
package/artifacts/contracts/interfaces/v0.8.x/IDependencyRegistryV0.sol/IDependencyRegistryV0.json
CHANGED
|
@@ -16,6 +16,25 @@
|
|
|
16
16
|
"name": "CoreRegistryAddressUpdated",
|
|
17
17
|
"type": "event"
|
|
18
18
|
},
|
|
19
|
+
{
|
|
20
|
+
"anonymous": false,
|
|
21
|
+
"inputs": [
|
|
22
|
+
{
|
|
23
|
+
"indexed": true,
|
|
24
|
+
"internalType": "bytes32",
|
|
25
|
+
"name": "dependencyNameAndVersion",
|
|
26
|
+
"type": "bytes32"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"indexed": false,
|
|
30
|
+
"internalType": "bytes32",
|
|
31
|
+
"name": "abxfsFileCid",
|
|
32
|
+
"type": "bytes32"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"name": "DependencyAbxfsFileCidUpdated",
|
|
36
|
+
"type": "event"
|
|
37
|
+
},
|
|
19
38
|
{
|
|
20
39
|
"anonymous": false,
|
|
21
40
|
"inputs": [
|
|
@@ -451,6 +470,25 @@
|
|
|
451
470
|
"stateMutability": "nonpayable",
|
|
452
471
|
"type": "function"
|
|
453
472
|
},
|
|
473
|
+
{
|
|
474
|
+
"inputs": [
|
|
475
|
+
{
|
|
476
|
+
"internalType": "bytes32",
|
|
477
|
+
"name": "dependencyNameAndVersion",
|
|
478
|
+
"type": "bytes32"
|
|
479
|
+
}
|
|
480
|
+
],
|
|
481
|
+
"name": "getDependencyAbxfsFileCid",
|
|
482
|
+
"outputs": [
|
|
483
|
+
{
|
|
484
|
+
"internalType": "bytes32",
|
|
485
|
+
"name": "",
|
|
486
|
+
"type": "bytes32"
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"stateMutability": "view",
|
|
490
|
+
"type": "function"
|
|
491
|
+
},
|
|
454
492
|
{
|
|
455
493
|
"inputs": [
|
|
456
494
|
{
|
|
@@ -563,9 +601,9 @@
|
|
|
563
601
|
"type": "bool"
|
|
564
602
|
},
|
|
565
603
|
{
|
|
566
|
-
"internalType": "
|
|
567
|
-
"name": "
|
|
568
|
-
"type": "
|
|
604
|
+
"internalType": "bytes32",
|
|
605
|
+
"name": "abxfsFileCid",
|
|
606
|
+
"type": "bytes32"
|
|
569
607
|
},
|
|
570
608
|
{
|
|
571
609
|
"internalType": "bool",
|
|
@@ -644,30 +682,6 @@
|
|
|
644
682
|
"stateMutability": "view",
|
|
645
683
|
"type": "function"
|
|
646
684
|
},
|
|
647
|
-
{
|
|
648
|
-
"inputs": [
|
|
649
|
-
{
|
|
650
|
-
"internalType": "bytes32",
|
|
651
|
-
"name": "dependencyNameAndVersion",
|
|
652
|
-
"type": "bytes32"
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
"internalType": "uint256",
|
|
656
|
-
"name": "index",
|
|
657
|
-
"type": "uint256"
|
|
658
|
-
}
|
|
659
|
-
],
|
|
660
|
-
"name": "getDependencyScriptBytecodeAddress",
|
|
661
|
-
"outputs": [
|
|
662
|
-
{
|
|
663
|
-
"internalType": "address",
|
|
664
|
-
"name": "",
|
|
665
|
-
"type": "address"
|
|
666
|
-
}
|
|
667
|
-
],
|
|
668
|
-
"stateMutability": "view",
|
|
669
|
-
"type": "function"
|
|
670
|
-
},
|
|
671
685
|
{
|
|
672
686
|
"inputs": [
|
|
673
687
|
{
|
|
@@ -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": "
|
|
7
|
-
"deployedBytecode": "
|
|
6
|
+
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122030ddfbebc78cafcf2051e040448aed2daa8789bb338c7f47013e80ccf9ad90ed64736f6c63430008160033",
|
|
7
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122030ddfbebc78cafcf2051e040448aed2daa8789bb338c7f47013e80ccf9ad90ed64736f6c63430008160033",
|
|
8
8
|
"linkReferences": {},
|
|
9
9
|
"deployedLinkReferences": {}
|
|
10
10
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "CallProbeMock",
|
|
4
|
+
"sourceName": "contracts/mock/CallProbeMock.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "target",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes",
|
|
15
|
+
"name": "data",
|
|
16
|
+
"type": "bytes"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "probe",
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "uint256",
|
|
23
|
+
"name": "gasUsed",
|
|
24
|
+
"type": "uint256"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"internalType": "bool",
|
|
28
|
+
"name": "ok",
|
|
29
|
+
"type": "bool"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"internalType": "bytes",
|
|
33
|
+
"name": "result",
|
|
34
|
+
"type": "bytes"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"stateMutability": "view",
|
|
38
|
+
"type": "function"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610239806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063396d731414610030575b600080fd5b61004361003e3660046100dc565b61005b565b6040516100529392919061016c565b60405180910390f35b600080606060005a9050866001600160a01b0316868660405161007f9291906101cc565b600060405180830381855afa9150503d80600081146100ba576040519150601f19603f3d011682016040523d82523d6000602084013e6100bf565b606091505b5090935091505a6100d090826101dc565b93505093509350939050565b6000806000604084860312156100f157600080fd5b83356001600160a01b038116811461010857600080fd5b925060208401356001600160401b038082111561012457600080fd5b818601915086601f83011261013857600080fd5b81358181111561014757600080fd5b87602082850101111561015957600080fd5b6020830194508093505050509250925092565b83815260006020841515602084015260606040840152835180606085015260005b818110156101a95785810183015185820160800152820161018d565b506000608082860101526080601f19601f83011685010192505050949350505050565b8183823760009101908152919050565b818103818111156101fd57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220337cc62306ef15dae11a2f361b3ecfeb22cce12a41e3c28ca79fb6820a924dcc64736f6c63430008160033",
|
|
42
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063396d731414610030575b600080fd5b61004361003e3660046100dc565b61005b565b6040516100529392919061016c565b60405180910390f35b600080606060005a9050866001600160a01b0316868660405161007f9291906101cc565b600060405180830381855afa9150503d80600081146100ba576040519150601f19603f3d011682016040523d82523d6000602084013e6100bf565b606091505b5090935091505a6100d090826101dc565b93505093509350939050565b6000806000604084860312156100f157600080fd5b83356001600160a01b038116811461010857600080fd5b925060208401356001600160401b038082111561012457600080fd5b818601915086601f83011261013857600080fd5b81358181111561014757600080fd5b87602082850101111561015957600080fd5b6020830194508093505050509250925092565b83815260006020841515602084015260606040840152835180606085015260005b818110156101a95785810183015185820160800152820161018d565b506000608082860101526080601f19601f83011685010192505050949350505050565b8183823760009101908152919050565b818103818111156101fd57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220337cc62306ef15dae11a2f361b3ecfeb22cce12a41e3c28ca79fb6820a924dcc64736f6c63430008160033",
|
|
43
|
+
"linkReferences": {},
|
|
44
|
+
"deployedLinkReferences": {}
|
|
45
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "GasProbeMock",
|
|
4
|
+
"sourceName": "contracts/mock/GasProbeMock.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "target",
|
|
11
|
+
"type": "address"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes",
|
|
15
|
+
"name": "data",
|
|
16
|
+
"type": "bytes"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"name": "probe",
|
|
20
|
+
"outputs": [
|
|
21
|
+
{
|
|
22
|
+
"internalType": "uint256",
|
|
23
|
+
"name": "gasUsed",
|
|
24
|
+
"type": "uint256"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"internalType": "bool",
|
|
28
|
+
"name": "ok",
|
|
29
|
+
"type": "bool"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"internalType": "uint256",
|
|
33
|
+
"name": "returnLength",
|
|
34
|
+
"type": "uint256"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"stateMutability": "view",
|
|
38
|
+
"type": "function"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"bytecode": "0x608060405234801561001057600080fd5b506101e6806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063396d731414610030575b600080fd5b61004361003e3660046100e9565b610062565b6040805193845291151560208401529082015260600160405180910390f35b6000806000805a90506060876001600160a01b03168787604051610087929190610179565b600060405180830381855afa9150503d80600081146100c2576040519150601f19603f3d011682016040523d82523d6000602084013e6100c7565b606091505b5090945090505a6100d89083610189565b945080519250505093509350939050565b6000806000604084860312156100fe57600080fd5b83356001600160a01b038116811461011557600080fd5b925060208401356001600160401b038082111561013157600080fd5b818601915086601f83011261014557600080fd5b81358181111561015457600080fd5b87602082850101111561016657600080fd5b6020830194508093505050509250925092565b8183823760009101908152919050565b818103818111156101aa57634e487b7160e01b600052601160045260246000fd5b9291505056fea26469706673582212203ac2d11412dc42a08af94d38813958b2eab150af579571ff31f3680e91c9146364736f6c63430008160033",
|
|
42
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063396d731414610030575b600080fd5b61004361003e3660046100e9565b610062565b6040805193845291151560208401529082015260600160405180910390f35b6000806000805a90506060876001600160a01b03168787604051610087929190610179565b600060405180830381855afa9150503d80600081146100c2576040519150601f19603f3d011682016040523d82523d6000602084013e6100c7565b606091505b5090945090505a6100d89083610189565b945080519250505093509350939050565b6000806000604084860312156100fe57600080fd5b83356001600160a01b038116811461011557600080fd5b925060208401356001600160401b038082111561013157600080fd5b818601915086601f83011261014557600080fd5b81358181111561015457600080fd5b87602082850101111561016657600080fd5b6020830194508093505050509250925092565b8183823760009101908152919050565b818103818111156101aa57634e487b7160e01b600052601160045260246000fd5b9291505056fea26469706673582212203ac2d11412dc42a08af94d38813958b2eab150af579571ff31f3680e91c9146364736f6c63430008160033",
|
|
43
|
+
"linkReferences": {},
|
|
44
|
+
"deployedLinkReferences": {}
|
|
45
|
+
}
|