Skip to content

Commit

Permalink
test: ui update
Browse files Browse the repository at this point in the history
  • Loading branch information
molecula451 committed Jul 7, 2023
1 parent f9b93b9 commit e61450c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# infura key created at infura.io
INFURA_ID=XXXXXX
NEXT_PUBLIC_JSON_RPC_URL=XXXXXX
NEXT_PUBLIC_WALLET_CONNECT_ID=XXXXXX
NEXT_PUBLIC_DEBUG=
4 changes: 2 additions & 2 deletions packages/dapp/components/utils/local-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export async function fetchData() {
const provider = new ethers.providers.JsonRpcProvider(LOCAL_NODE_ADDRESS);
const signer = provider.getSigner();
try {
const managerAddress = "0x4e037B9A8Ce977462DA4E10Fc164363C827abfc6";
const managerContract = await getUbiquityManagerContract(managerAddress, provider);
const diamondAddress = "0xbe0efAbc83686a81903C1D4a2515f8111e53B5Cb";
const managerContract = await getUbiquityManagerContract(diamondAddress, provider);

console.log(await managerContract.connect(signer).twapOracleAddress(), "Twap Oracle Address");
console.log(await managerContract.connect(signer).creditCalculatorAddress(), "Credit Calculator Address");
Expand Down

0 comments on commit e61450c

Please sign in to comment.