Skip to content

Commit

Permalink
Update Tenderly VDF v2 contract and use Tenderly SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
hernandoagf committed Oct 29, 2024
1 parent d52b82c commit 7ce6ea2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion modules/contracts/eth-sdk.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const config: EthSdkConfig = {
pollingOld: '0xF9be8F0945acDdeeDaA64DFCA5Fe9629D0CF8E5D',
pot: '0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7',
vat: '0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B',
voteDelegateFactory: '0xC3D809E87A2C9da4F6d98fECea9135d834d6F5A0',
voteDelegateFactory: '0x093d305366218d6d09ba10448922f10814b031dd',
voteDelegateFactoryOld: '0xD897F108670903D1d6070fcf818f9db3615AF272',
voteProxyFactory: '0x6FCD258af181B3221073A96dD90D1f7AE7eEc408',
voteProxyFactoryOld: '0xa63E145309cadaa6A903a19993868Ef7E85058BE',
Expand Down
4 changes: 2 additions & 2 deletions modules/web3/helpers/getContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { getMainnetSdk } from '@dethcrypto/eth-sdk-client';
import { getMainnetSdk, getTenderlySdk } from '@dethcrypto/eth-sdk-client';
import { providers } from 'ethers';
import { CHAIN_INFO, DEFAULT_NETWORK } from '../constants/networks';
import { SupportedChainId } from '../constants/chainID';
Expand All @@ -17,7 +17,7 @@ import { EthSdk, SdkGenerators } from '../types/contracts';

const sdkGenerators: SdkGenerators = {
mainnet: getMainnetSdk,
tenderly: getMainnetSdk
tenderly: getTenderlySdk
};

let connectedAccount: string | undefined;
Expand Down
4 changes: 2 additions & 2 deletions modules/web3/helpers/getReadOnlyContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ SPDX-License-Identifier: AGPL-3.0-or-later
*/

import { providers } from 'ethers';
import { getMainnetSdk } from '@dethcrypto/eth-sdk-client';
import { getMainnetSdk, getTenderlySdk } from '@dethcrypto/eth-sdk-client';
import { SupportedNetworks } from '../constants/networks';
import { EthSdk, SdkGenerators } from '../types/contracts';

const sdkGenerators: SdkGenerators = {
mainnet: getMainnetSdk,
tenderly: getMainnetSdk
tenderly: getTenderlySdk
};

let currentNetwork: string | undefined;
Expand Down

0 comments on commit 7ce6ea2

Please sign in to comment.