Skip to content

Commit dd3315b

Browse files
committed
refactor: remove-template-registry-param-struct-from-curate-factory
1 parent 116767a commit dd3315b

File tree

6 files changed

+105
-115
lines changed

6 files changed

+105
-115
lines changed

contracts/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Refresh the list of deployed contracts by running `./scripts/generateDeployments
1616

1717
#### Arbitrum Sepolia
1818

19-
- [CurateFactory](https://sepolia.arbiscan.io/address/0x3F5768ca9a36d49a8f102E903e44D32a8b84a29F)
20-
- [CurateV2](https://sepolia.arbiscan.io/address/0x7eC8b337bb297c6429794CD888EdcBB3e54A2D20)
21-
- [CurateView](https://sepolia.arbiscan.io/address/0xC153EDAbA561Be9F7E12ACce4079D4a7475d508E)
19+
- [CurateFactory](https://sepolia.arbiscan.io/address/0x6b6Df30De48cC7737138ed7531D85aFcffDe9b44)
20+
- [CurateV2](https://sepolia.arbiscan.io/address/0x90c415B8E515E9376A89ED52A11c667843D3e199)
21+
- [CurateView](https://sepolia.arbiscan.io/address/0x5c7695A48202E2F7dBCeAe264072E4a0792C23e5)
2222

2323
#### Sepolia
2424

contracts/deployments/arbitrumSepoliaDevnet/CurateFactory.json

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

contracts/deployments/arbitrumSepoliaDevnet/CurateV2.json

Lines changed: 66 additions & 66 deletions
Large diffs are not rendered by default.

contracts/deployments/arbitrumSepoliaDevnet/CurateView.json

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.

contracts/src/CurateFactory.sol

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@ contract CurateFactory {
2121
/// @param _address The address of the newly deployed Curate contract.
2222
event NewList(CurateV2 indexed _address);
2323

24-
// ************************************* //
25-
// * Enums / Structs * //
26-
// ************************************* //
27-
28-
struct TemplateRegistryParams {
29-
address templateRegistry; // Template registry address.
30-
string[2] registrationTemplateParameters; // Template and data mappings json for registration requests.
31-
string[2] removalTemplateParameters; // Template and data mappings json for removal requests.
32-
}
33-
3424
// ************************************* //
3525
// * Storage * //
3626
// ************************************* //
@@ -76,7 +66,7 @@ contract CurateFactory {
7666
bytes calldata _arbitratorExtraData,
7767
EvidenceModule _evidenceModule,
7868
address _connectedList,
79-
TemplateRegistryParams calldata _templateRegistryParams,
69+
CurateV2.TemplateRegistryParams calldata _templateRegistryParams,
8070
uint256[4] calldata _baseDeposits,
8171
uint256 _challengePeriodDuration,
8272
address _relayerContract,

subgraph/subgraph.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ dataSources:
1111
name: CurateFactory
1212
network: arbitrum-sepolia
1313
source:
14-
address: "0x3F5768ca9a36d49a8f102E903e44D32a8b84a29F"
14+
address: "0x6b6Df30De48cC7737138ed7531D85aFcffDe9b44"
1515
abi: CurateFactory
16-
startBlock: 23531452
16+
startBlock: 24725439
1717
mapping:
1818
kind: ethereum/events
1919
apiVersion: 0.0.6

0 commit comments

Comments
 (0)