Skip to content

Commit

Permalink
Merge pull request #48 from QuantWealth/fix/send-approve-env-issue
Browse files Browse the repository at this point in the history
fix: fixed sendApprove env issue
  • Loading branch information
sanchaymittal authored Jun 10, 2024
2 parents cb67cb7 + 8285447 commit 7ddcd4a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/agents/nova/src/common/constants/address.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const USDC_SEPOLIA = '0x83A9aE82b26249EC6e01498F5aDf0Ec20fF3Da9C';
export const USDC_SEPOLIA = '0x43075445a01Eab90DAD742d60712E88C08Ba15A2';

export const USDT_SEPOLIA = '0x521C5901A1bbF805AE05aad11e93561e76dD7269';
export const USDT_SEPOLIA = '0xE053A6e1CeD9333b21009591bB4AC9d31e2f46F0';
6 changes: 3 additions & 3 deletions packages/agents/nova/src/config/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"contractName": "QWRegistry",
"address": "0x57dbaE44a6a9F14294E4545cbaC5CBf9a9AD9b9a"
},
"QwUniswapV3Stable": {
"contractName": "QwUniswapV3Stable",
"address": "0x3c4bAE0BFb62cD4cf19e0A0BF6e623B5155fcdd3"
"QWUniswapV3Stable": {
"contractName": "QWUniswapV3Stable",
"address": "0x272ebfD1e3D0cf7f5A6c2cA53CeF8F435186B18e"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class OrderbookService {
} = query;
const amounts = [amount]; // Currently, there is only one child contract, so the entire amount will be allocated to it.
const qwUniswapV3StableAddress = Object.values(this.config.chains)[0]
.contractAddresses['QwUniswapV3Stable'];
.contractAddresses['QWUniswapV3Stable'].address;
const dapps = [qwUniswapV3StableAddress];
try {
await this._createOrder(
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/src/constants/tokenAddresses.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const WETH_SEPOLIA = '0xC558DBdd856501FCd9aaF1E62eae57A9F0629a3c';

export const USDC_SEPOLIA = '0x83A9aE82b26249EC6e01498F5aDf0Ec20fF3Da9C';
export const USDC_SEPOLIA = '0x43075445a01Eab90DAD742d60712E88C08Ba15A2';

export const USDT_SEPOLIA = '0x521C5901A1bbF805AE05aad11e93561e76dD7269';
export const USDT_SEPOLIA = '0xE053A6e1CeD9333b21009591bB4AC9d31e2f46F0';

0 comments on commit 7ddcd4a

Please sign in to comment.