Skip to content

Commit

Permalink
Merge branch 'main' of github.com:peersky/eds
Browse files Browse the repository at this point in the history
  • Loading branch information
peersky committed Sep 10, 2024
2 parents 19aef30 + 01c50b2 commit cd408aa
Show file tree
Hide file tree
Showing 20 changed files with 299 additions and 52 deletions.
5 changes: 0 additions & 5 deletions .changeset/beige-sloths-learn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eleven-falcons-study.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quick-badgers-cough.md

This file was deleted.

12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @peeramid-labs/eds

## 0.2.0

### Minor Changes

- [`198ceee7711a59c335d48c29233772b21ce0a7a1`](https://github.com/peeramid-labs/eds/commit/198ceee7711a59c335d48c29233772b21ce0a7a1) Thanks [@peersky](https://github.com/peersky)! - instantiation now returns version and name

- [`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

### Patch Changes

- [`67e1cacd37f961e451d8fda4a7172728735015de`](https://github.com/peeramid-labs/eds/commit/67e1cacd37f961e451d8fda4a7172728735015de) Thanks [@peersky](https://github.com/peersky)! - fixed type errors in tests

## 0.1.0

### Minor Changes
Expand Down
34 changes: 27 additions & 7 deletions abi/src/abstracts/CloneDistribution.sol/CloneDistribution.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,35 @@
},
{
"inputs": [],
"name": "getMetadata",
"name": "get",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
"internalType": "address[]",
"name": "src",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "name",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "version",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSources",
"name": "getMetadata",
"outputs": [
{
"internalType": "address[]",
"internalType": "string",
"name": "",
"type": "address[]"
"type": "string"
}
],
"stateMutability": "view",
Expand All @@ -57,6 +67,16 @@
"internalType": "address[]",
"name": "instances",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "distributionName",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "distributionVersion",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
Expand Down
10 changes: 10 additions & 0 deletions abi/src/abstracts/Distributor.sol/Distributor.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,16 @@
"internalType": "address[]",
"name": "",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "distributionName",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "distributionVersion",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
Expand Down
13 changes: 13 additions & 0 deletions abi/src/abstracts/Repository.sol/Repository.json
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "repositoryName",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down
10 changes: 10 additions & 0 deletions abi/src/abstracts/VersionDistributor.sol/VersionDistributor.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,16 @@
"internalType": "address[]",
"name": "",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
"internalType": "bytes32",
"name": "_metadata",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "name",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "version",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
Expand Down Expand Up @@ -41,25 +51,61 @@
},
{
"inputs": [],
"name": "getMetadata",
"name": "distributionName",
"outputs": [
{
"internalType": "string",
"internalType": "bytes32",
"name": "",
"type": "string"
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSources",
"name": "distributionVersion",
"outputs": [
{
"internalType": "address[]",
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "get",
"outputs": [
{
"internalType": "address[]",
"name": "src",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "name",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "version",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMetadata",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
Expand All @@ -73,6 +119,16 @@
"internalType": "address[]",
"name": "instances",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "distributionName",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "distributionVersion",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,35 @@
},
{
"inputs": [],
"name": "getMetadata",
"name": "get",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
"internalType": "address[]",
"name": "src",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "name",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "version",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getSources",
"name": "getMetadata",
"outputs": [
{
"internalType": "address[]",
"internalType": "string",
"name": "",
"type": "address[]"
"type": "string"
}
],
"stateMutability": "view",
Expand All @@ -73,6 +83,16 @@
"internalType": "address[]",
"name": "instances",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "distributionName",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "distributionVersion",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,16 @@
"internalType": "address[]",
"name": "",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,16 @@
"internalType": "address[]",
"name": "",
"type": "address[]"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
Expand Down
Loading

0 comments on commit cd408aa

Please sign in to comment.