Skip to content

Commit cd408aa

Browse files
committed
Merge branch 'main' of github.com:peersky/eds
2 parents 19aef30 + 01c50b2 commit cd408aa

File tree

20 files changed

+299
-52
lines changed

20 files changed

+299
-52
lines changed

.changeset/beige-sloths-learn.md

-5
This file was deleted.

.changeset/eleven-falcons-study.md

-5
This file was deleted.

.changeset/quick-badgers-cough.md

-5
This file was deleted.

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @peeramid-labs/eds
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- [`198ceee7711a59c335d48c29233772b21ce0a7a1`](https://github.com/peeramid-labs/eds/commit/198ceee7711a59c335d48c29233772b21ce0a7a1) Thanks [@peersky](https://github.com/peersky)! - instantiation now returns version and name
8+
9+
- [`6ada120ad22dae8af8da88d2bd4cf99db81bee7a`](https://github.com/peeramid-labs/eds/commit/6ada120ad22dae8af8da88d2bd4cf99db81bee7a) Thanks [@peersky](https://github.com/peersky)! - renamed getSources to get, added contract version and name to the return parameters
10+
11+
### Patch Changes
12+
13+
- [`67e1cacd37f961e451d8fda4a7172728735015de`](https://github.com/peeramid-labs/eds/commit/67e1cacd37f961e451d8fda4a7172728735015de) Thanks [@peersky](https://github.com/peersky)! - fixed type errors in tests
14+
315
## 0.1.0
416

517
### Minor Changes

abi/src/abstracts/CloneDistribution.sol/CloneDistribution.json

+27-7
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,35 @@
2525
},
2626
{
2727
"inputs": [],
28-
"name": "getMetadata",
28+
"name": "get",
2929
"outputs": [
3030
{
31-
"internalType": "string",
32-
"name": "",
33-
"type": "string"
31+
"internalType": "address[]",
32+
"name": "src",
33+
"type": "address[]"
34+
},
35+
{
36+
"internalType": "bytes32",
37+
"name": "name",
38+
"type": "bytes32"
39+
},
40+
{
41+
"internalType": "uint256",
42+
"name": "version",
43+
"type": "uint256"
3444
}
3545
],
3646
"stateMutability": "view",
3747
"type": "function"
3848
},
3949
{
4050
"inputs": [],
41-
"name": "getSources",
51+
"name": "getMetadata",
4252
"outputs": [
4353
{
44-
"internalType": "address[]",
54+
"internalType": "string",
4555
"name": "",
46-
"type": "address[]"
56+
"type": "string"
4757
}
4858
],
4959
"stateMutability": "view",
@@ -57,6 +67,16 @@
5767
"internalType": "address[]",
5868
"name": "instances",
5969
"type": "address[]"
70+
},
71+
{
72+
"internalType": "bytes32",
73+
"name": "distributionName",
74+
"type": "bytes32"
75+
},
76+
{
77+
"internalType": "uint256",
78+
"name": "distributionVersion",
79+
"type": "uint256"
6080
}
6181
],
6282
"stateMutability": "nonpayable",

abi/src/abstracts/Distributor.sol/Distributor.json

+10
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,16 @@
240240
"internalType": "address[]",
241241
"name": "",
242242
"type": "address[]"
243+
},
244+
{
245+
"internalType": "bytes32",
246+
"name": "distributionName",
247+
"type": "bytes32"
248+
},
249+
{
250+
"internalType": "uint256",
251+
"name": "distributionVersion",
252+
"type": "uint256"
243253
}
244254
],
245255
"stateMutability": "nonpayable",

abi/src/abstracts/Repository.sol/Repository.json

+13
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,19 @@
381381
"stateMutability": "nonpayable",
382382
"type": "function"
383383
},
384+
{
385+
"inputs": [],
386+
"name": "repositoryName",
387+
"outputs": [
388+
{
389+
"internalType": "bytes32",
390+
"name": "",
391+
"type": "bytes32"
392+
}
393+
],
394+
"stateMutability": "view",
395+
"type": "function"
396+
},
384397
{
385398
"inputs": [
386399
{

abi/src/abstracts/VersionDistributor.sol/VersionDistributor.json

+10
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,16 @@
374374
"internalType": "address[]",
375375
"name": "",
376376
"type": "address[]"
377+
},
378+
{
379+
"internalType": "bytes32",
380+
"name": "",
381+
"type": "bytes32"
382+
},
383+
{
384+
"internalType": "uint256",
385+
"name": "",
386+
"type": "uint256"
377387
}
378388
],
379389
"stateMutability": "nonpayable",

abi/src/distributions/CodeHashDistribution.sol/CodeHashDistribution.json

+61-5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
"internalType": "bytes32",
1111
"name": "_metadata",
1212
"type": "bytes32"
13+
},
14+
{
15+
"internalType": "bytes32",
16+
"name": "name",
17+
"type": "bytes32"
18+
},
19+
{
20+
"internalType": "uint256",
21+
"name": "version",
22+
"type": "uint256"
1323
}
1424
],
1525
"stateMutability": "nonpayable",
@@ -41,25 +51,61 @@
4151
},
4252
{
4353
"inputs": [],
44-
"name": "getMetadata",
54+
"name": "distributionName",
4555
"outputs": [
4656
{
47-
"internalType": "string",
57+
"internalType": "bytes32",
4858
"name": "",
49-
"type": "string"
59+
"type": "bytes32"
5060
}
5161
],
5262
"stateMutability": "view",
5363
"type": "function"
5464
},
5565
{
5666
"inputs": [],
57-
"name": "getSources",
67+
"name": "distributionVersion",
5868
"outputs": [
5969
{
60-
"internalType": "address[]",
70+
"internalType": "uint256",
6171
"name": "",
72+
"type": "uint256"
73+
}
74+
],
75+
"stateMutability": "view",
76+
"type": "function"
77+
},
78+
{
79+
"inputs": [],
80+
"name": "get",
81+
"outputs": [
82+
{
83+
"internalType": "address[]",
84+
"name": "src",
6285
"type": "address[]"
86+
},
87+
{
88+
"internalType": "bytes32",
89+
"name": "name",
90+
"type": "bytes32"
91+
},
92+
{
93+
"internalType": "uint256",
94+
"name": "version",
95+
"type": "uint256"
96+
}
97+
],
98+
"stateMutability": "view",
99+
"type": "function"
100+
},
101+
{
102+
"inputs": [],
103+
"name": "getMetadata",
104+
"outputs": [
105+
{
106+
"internalType": "string",
107+
"name": "",
108+
"type": "string"
63109
}
64110
],
65111
"stateMutability": "view",
@@ -73,6 +119,16 @@
73119
"internalType": "address[]",
74120
"name": "instances",
75121
"type": "address[]"
122+
},
123+
{
124+
"internalType": "bytes32",
125+
"name": "distributionName",
126+
"type": "bytes32"
127+
},
128+
{
129+
"internalType": "uint256",
130+
"name": "distributionVersion",
131+
"type": "uint256"
76132
}
77133
],
78134
"stateMutability": "nonpayable",

abi/src/distributions/LatestVersionDistribution.sol/LatestVersionDistribution.json

+27-7
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,35 @@
4141
},
4242
{
4343
"inputs": [],
44-
"name": "getMetadata",
44+
"name": "get",
4545
"outputs": [
4646
{
47-
"internalType": "string",
48-
"name": "",
49-
"type": "string"
47+
"internalType": "address[]",
48+
"name": "src",
49+
"type": "address[]"
50+
},
51+
{
52+
"internalType": "bytes32",
53+
"name": "name",
54+
"type": "bytes32"
55+
},
56+
{
57+
"internalType": "uint256",
58+
"name": "version",
59+
"type": "uint256"
5060
}
5161
],
5262
"stateMutability": "view",
5363
"type": "function"
5464
},
5565
{
5666
"inputs": [],
57-
"name": "getSources",
67+
"name": "getMetadata",
5868
"outputs": [
5969
{
60-
"internalType": "address[]",
70+
"internalType": "string",
6171
"name": "",
62-
"type": "address[]"
72+
"type": "string"
6373
}
6474
],
6575
"stateMutability": "view",
@@ -73,6 +83,16 @@
7383
"internalType": "address[]",
7484
"name": "instances",
7585
"type": "address[]"
86+
},
87+
{
88+
"internalType": "bytes32",
89+
"name": "distributionName",
90+
"type": "bytes32"
91+
},
92+
{
93+
"internalType": "uint256",
94+
"name": "distributionVersion",
95+
"type": "uint256"
7696
}
7797
],
7898
"stateMutability": "nonpayable",

abi/src/distributors/OwnableDistributor.sol/OwnableDistributor.json

+10
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,16 @@
292292
"internalType": "address[]",
293293
"name": "",
294294
"type": "address[]"
295+
},
296+
{
297+
"internalType": "bytes32",
298+
"name": "",
299+
"type": "bytes32"
300+
},
301+
{
302+
"internalType": "uint256",
303+
"name": "",
304+
"type": "uint256"
295305
}
296306
],
297307
"stateMutability": "nonpayable",

abi/src/distributors/OwnableVersionDistributor.sol/OwnableVersionDistributor.json

+10
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,16 @@
426426
"internalType": "address[]",
427427
"name": "",
428428
"type": "address[]"
429+
},
430+
{
431+
"internalType": "bytes32",
432+
"name": "",
433+
"type": "bytes32"
434+
},
435+
{
436+
"internalType": "uint256",
437+
"name": "",
438+
"type": "uint256"
429439
}
430440
],
431441
"stateMutability": "nonpayable",

0 commit comments

Comments
 (0)