Skip to content

Commit 8c5983c

Browse files
author
Ivan Work
committed
chore: rename state multicall config variable
1 parent 36df99b commit 8c5983c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/dex/algebra-integral/algebra-integral-events.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ describe('AlgebraIntegral Events', function () {
9797
const { pool, dexHelper } = createPool(
9898
dexKey,
9999
network,
100-
config.algebraStateMulticall,
100+
config.stateMulticall,
101101
token0,
102102
token1,
103103
poolAddress,
@@ -141,7 +141,7 @@ describe('AlgebraIntegral Events', function () {
141141
const { pool, dexHelper } = createPool(
142142
dexKey,
143143
network,
144-
config.algebraStateMulticall,
144+
config.stateMulticall,
145145
token0,
146146
token1,
147147
poolAddress,
@@ -186,7 +186,7 @@ describe('AlgebraIntegral Events', function () {
186186
const { pool, dexHelper } = createPool(
187187
dexKey,
188188
network,
189-
config.algebraStateMulticall,
189+
config.stateMulticall,
190190
token0,
191191
token1,
192192
poolAddress,

src/dex/algebra-integral/algebra-integral.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class AlgebraIntegral
163163
this.dexHelper,
164164
this.dexKey,
165165
this.stateMulticallIface,
166-
this.config.algebraStateMulticall,
166+
this.config.stateMulticall,
167167
this.erc20Interface,
168168
token0,
169169
token1,

src/dex/algebra-integral/config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const AlgebraIntegralConfig: DexConfigMap<DexParams> = {
1010
quoter: '0xA8a1dA1279ea63535c7B3BE8D20241483BC61009',
1111
router: '0xe6c9bb24ddB4aE5c6632dbE0DE14e3E474c6Cb04',
1212
chunksCount: 10,
13-
algebraStateMulticall: '0x0062C27357c71792c6767fA799f974B30BfB8630',
13+
stateMulticall: '0x0062C27357c71792c6767fA799f974B30BfB8630',
1414
},
1515
},
1616
BlackholeCL: {
@@ -21,7 +21,7 @@ export const AlgebraIntegralConfig: DexConfigMap<DexParams> = {
2121
quoter: '0x3e182bcf14Be6142b9217847ec1112e3c39Eb689',
2222
router: '0xaBfc48e8BED7b26762745f3139555F320119709d',
2323
chunksCount: 10,
24-
algebraStateMulticall: '0x484e14Ec742943Ed303310822Fe2FB993B075741',
24+
stateMulticall: '0x484e14Ec742943Ed303310822Fe2FB993B075741',
2525
},
2626
},
2727
Supernova: {
@@ -32,7 +32,7 @@ export const AlgebraIntegralConfig: DexConfigMap<DexParams> = {
3232
quoter: '0x8217550d36823b1194b58562dac55d7fe8efb727',
3333
router: '0x72d63a5b080e1b89cc93f9b9f50cbfa5e291c8ac',
3434
chunksCount: 10,
35-
algebraStateMulticall: '0xFC18433f203c58b8104eCb9b2e995032bc29f64f',
35+
stateMulticall: '0xFC18433f203c58b8104eCb9b2e995032bc29f64f',
3636
},
3737
},
3838
};

src/dex/algebra-integral/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export type DexParams = {
2828
router: Address;
2929
subgraphURL: string;
3030
chunksCount: number;
31-
algebraStateMulticall: Address;
31+
stateMulticall: Address;
3232
};
3333

3434
// Pool state compatible with PoolStateV1_1 shape for AlgebraMath reuse

0 commit comments

Comments
 (0)