Skip to content

Commit 8af69fc

Browse files
clear3: refresh start-block bookkeeping + pin 0.1.12 deploy constants
After deploying the redeployed RaindexV6 (clear3 NegativeBounty guard hoist) and the three dependent arb/flash-borrower takers to all five chains, refresh the RaindexV6 deploy-block bookkeeping (RAINDEX_START_BLOCK_* + subgraph/networks.json + subgraph/subgraph.yaml) to the new address 0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20, and pre-pin the 0.1.12 deploy-constant suite (address + codehash for all six deployed contracts) that #2732 publishes on merge, so testAllPublishedSoldeerTagsHaveAFullConstantSuite stays green when autopublish lands 0.1.12. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 42cac7b commit 8af69fc

3 files changed

Lines changed: 72 additions & 13 deletions

File tree

src/lib/deploy/LibRaindexDeploy.sol

Lines changed: 63 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ library LibRaindexDeploy {
142142
bytes32 constant RAINDEX_DEPLOYED_CODEHASH_0_1_11 =
143143
0xb9aa0944893a2aa695250428cee0d2e839f3794aebbc229e2070f064598c4b31;
144144

145+
/// The deployed address of the `RaindexV6` contract at the published `0.1.12`
146+
/// tag. (Changed in 0.1.12 — clear3 NegativeBounty guard hoisted ahead of any
147+
/// vault settlement.)
148+
address constant RAINDEX_DEPLOYED_ADDRESS_0_1_12 = 0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20;
149+
150+
/// The runtime code hash of the `RaindexV6` contract at the published `0.1.12`
151+
/// tag.
152+
bytes32 constant RAINDEX_DEPLOYED_CODEHASH_0_1_12 =
153+
0x6dccd7018126439bb9bceec4cd37f5bcfdd5319979fbf70f9faf41450da10b6f;
154+
145155
/// The address of the `RaindexV6SubParser` contract when deployed with
146156
/// the rain standard zoltu deployer.
147157
address constant SUB_PARSER_DEPLOYED_ADDRESS = SUB_PARSER_ADDR;
@@ -249,6 +259,15 @@ library LibRaindexDeploy {
249259
bytes32 constant SUB_PARSER_DEPLOYED_CODEHASH_0_1_11 =
250260
0x704aadc1ed56f63ff918ab219e6681a5d2851d774e2ee136bbe7904ea3b2fdcd;
251261

262+
/// The deployed address of the `RaindexV6SubParser` contract at the published
263+
/// `0.1.12` tag. (Unchanged since 0.1.11.)
264+
address constant SUB_PARSER_DEPLOYED_ADDRESS_0_1_12 = 0x09Bc7AF266012F44fb41D8Bd682da931666605e1;
265+
266+
/// The runtime code hash of the `RaindexV6SubParser` contract at the
267+
/// published `0.1.12` tag.
268+
bytes32 constant SUB_PARSER_DEPLOYED_CODEHASH_0_1_12 =
269+
0x704aadc1ed56f63ff918ab219e6681a5d2851d774e2ee136bbe7904ea3b2fdcd;
270+
252271
/// The address of the `RouteProcessor4` contract when deployed with the
253272
/// rain standard zoltu deployer.
254273
address constant ROUTE_PROCESSOR_DEPLOYED_ADDRESS = ROUTE_PROCESSOR_ADDR;
@@ -356,6 +375,15 @@ library LibRaindexDeploy {
356375
bytes32 constant ROUTE_PROCESSOR_DEPLOYED_CODEHASH_0_1_11 =
357376
0xeb3745a79c6ba48e8767b9c355b8e7b79f9d6edeca004e4bb91be4de515a7eeb;
358377

378+
/// The deployed address of the `RouteProcessor4` contract at the published
379+
/// `0.1.12` tag. (Unchanged since 0.1.11.)
380+
address constant ROUTE_PROCESSOR_DEPLOYED_ADDRESS_0_1_12 = 0x6E2d0e71d900474b262E545Bc4C98b71ab368d21;
381+
382+
/// The runtime code hash of the `RouteProcessor4` contract at the published
383+
/// `0.1.12` tag.
384+
bytes32 constant ROUTE_PROCESSOR_DEPLOYED_CODEHASH_0_1_12 =
385+
0xeb3745a79c6ba48e8767b9c355b8e7b79f9d6edeca004e4bb91be4de515a7eeb;
386+
359387
/// The address of the `GenericPoolRaindexV6ArbOrderTaker` contract when
360388
/// deployed with the rain standard zoltu deployer.
361389
address constant GENERIC_POOL_ARB_ORDER_TAKER_DEPLOYED_ADDRESS = GENERIC_POOL_ARB_OT_ADDR;
@@ -468,6 +496,16 @@ library LibRaindexDeploy {
468496
bytes32 constant GENERIC_POOL_ARB_ORDER_TAKER_DEPLOYED_CODEHASH_0_1_11 =
469497
0x04b0da6d34aaa9b7df623ea46c7849a9e13bcff32dbb02e781b94acaab02bacf;
470498

499+
/// The deployed address of the `GenericPoolRaindexV6ArbOrderTaker` contract
500+
/// at the published `0.1.12` tag. (Changed in 0.1.12 — embeds the redeployed
501+
/// RaindexV6.)
502+
address constant GENERIC_POOL_ARB_ORDER_TAKER_DEPLOYED_ADDRESS_0_1_12 = 0xE84c106B0A89A164d2D65205B9EBAE37c15Fd84a;
503+
504+
/// The runtime code hash of the `GenericPoolRaindexV6ArbOrderTaker` contract
505+
/// at the published `0.1.12` tag.
506+
bytes32 constant GENERIC_POOL_ARB_ORDER_TAKER_DEPLOYED_CODEHASH_0_1_12 =
507+
0x02b17ab238a36ebcedee19fa5a374d6122865be8fff61bf45ad15822c8482030;
508+
471509
/// The address of the `RouteProcessorRaindexV6ArbOrderTaker` contract
472510
/// when deployed with the rain standard zoltu deployer.
473511
address constant ROUTE_PROCESSOR_ARB_ORDER_TAKER_DEPLOYED_ADDRESS = RP_ARB_OT_ADDR;
@@ -591,6 +629,17 @@ library LibRaindexDeploy {
591629
bytes32 constant ROUTE_PROCESSOR_ARB_ORDER_TAKER_DEPLOYED_CODEHASH_0_1_11 =
592630
0x14f012211cd8e3e0f07777b5e93f1f441a80bbeb8845b762913d7b9362ba71f6;
593631

632+
/// The deployed address of the `RouteProcessorRaindexV6ArbOrderTaker`
633+
/// contract at the published `0.1.12` tag. (Changed in 0.1.12 — embeds the
634+
/// redeployed RaindexV6.)
635+
address constant ROUTE_PROCESSOR_ARB_ORDER_TAKER_DEPLOYED_ADDRESS_0_1_12 =
636+
0x1350420cbf3E9eb8F1734bbe466e0F303579eE24;
637+
638+
/// The runtime code hash of the `RouteProcessorRaindexV6ArbOrderTaker`
639+
/// contract at the published `0.1.12` tag.
640+
bytes32 constant ROUTE_PROCESSOR_ARB_ORDER_TAKER_DEPLOYED_CODEHASH_0_1_12 =
641+
0x9a0d64fd312dc16761f28a7e13e48a8e8ad2f0ba5995c16710514e7524f43ee2;
642+
594643
/// The address of the `GenericPoolRaindexV6FlashBorrower` contract when
595644
/// deployed with the rain standard zoltu deployer.
596645
address constant GENERIC_POOL_FLASH_BORROWER_DEPLOYED_ADDRESS = GENERIC_POOL_FB_ADDR;
@@ -703,8 +752,18 @@ library LibRaindexDeploy {
703752
bytes32 constant GENERIC_POOL_FLASH_BORROWER_DEPLOYED_CODEHASH_0_1_11 =
704753
0x09617589f55317f6e41e1a1fba10d0d77996af310e5ce4d2705249fcaf3cb029;
705754

706-
uint256 constant RAINDEX_START_BLOCK_ARBITRUM = 473877912;
707-
uint256 constant RAINDEX_START_BLOCK_BASE = 47384882;
708-
uint256 constant RAINDEX_START_BLOCK_FLARE = 63007250;
709-
uint256 constant RAINDEX_START_BLOCK_POLYGON = 88569424;
755+
/// The deployed address of the `GenericPoolRaindexV6FlashBorrower` contract
756+
/// at the published `0.1.12` tag. (Changed in 0.1.12 — embeds the redeployed
757+
/// RaindexV6.)
758+
address constant GENERIC_POOL_FLASH_BORROWER_DEPLOYED_ADDRESS_0_1_12 = 0x032d9D94A79909F3b337ECFE6f73f4e86bA79c7E;
759+
760+
/// The runtime code hash of the `GenericPoolRaindexV6FlashBorrower` contract
761+
/// at the published `0.1.12` tag.
762+
bytes32 constant GENERIC_POOL_FLASH_BORROWER_DEPLOYED_CODEHASH_0_1_12 =
763+
0x03cde49152f7b5e29826ea8c561481b747b86be1f5cb4136fa064be6e4ac1c0d;
764+
765+
uint256 constant RAINDEX_START_BLOCK_ARBITRUM = 473899359;
766+
uint256 constant RAINDEX_START_BLOCK_BASE = 47387582;
767+
uint256 constant RAINDEX_START_BLOCK_FLARE = 63011168;
768+
uint256 constant RAINDEX_START_BLOCK_POLYGON = 88573024;
710769
}

subgraph/networks.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
22
"arbitrum-one": {
33
"Raindex": {
4-
"address": "0x1115EBC9C82F074454F6AC28f123B0684A453aF7",
5-
"startBlock": 473877912
4+
"address": "0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20",
5+
"startBlock": 473899359
66
}
77
},
88
"matic": {
99
"Raindex": {
10-
"address": "0x1115EBC9C82F074454F6AC28f123B0684A453aF7",
11-
"startBlock": 88569424
10+
"address": "0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20",
11+
"startBlock": 88573024
1212
}
1313
},
1414
"base": {
1515
"Raindex": {
16-
"address": "0x1115EBC9C82F074454F6AC28f123B0684A453aF7",
17-
"startBlock": 47384882
16+
"address": "0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20",
17+
"startBlock": 47387582
1818
}
1919
},
2020
"flare": {
2121
"Raindex": {
22-
"address": "0x1115EBC9C82F074454F6AC28f123B0684A453aF7",
23-
"startBlock": 63007250
22+
"address": "0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20",
23+
"startBlock": 63011168
2424
}
2525
}
2626
}

subgraph/subgraph.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dataSources:
66
name: Raindex
77
network: sepolia
88
source:
9-
address: "0x1115EBC9C82F074454F6AC28f123B0684A453aF7"
9+
address: "0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20"
1010
abi: Raindex
1111
startBlock: 0
1212
mapping:

0 commit comments

Comments
 (0)