Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

feat(studio): Change strategy for calculating balances for Kwenta and Polynomial #3131

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
783 changes: 783 additions & 0 deletions src/apps/kwenta/contracts/abis/kwenta-perp.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/apps/kwenta/contracts/viem.contract-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Network } from '~types/network.interface';
import {
KwentaAccountResolver__factory,
KwentaEscrow__factory,
KwentaPerp__factory,
KwentaStaking__factory,
KwentaStakingV2__factory,
} from './viem';
Expand All @@ -22,6 +23,9 @@ export class KwentaViemContractFactory {
kwentaEscrow({ address, network }: ContractOpts) {
return KwentaEscrow__factory.connect(address, this.appToolkit.getViemNetworkProvider(network));
}
kwentaPerp({ address, network }: ContractOpts) {
return KwentaPerp__factory.connect(address, this.appToolkit.getViemNetworkProvider(network));
}
kwentaStaking({ address, network }: ContractOpts) {
return KwentaStaking__factory.connect(address, this.appToolkit.getViemNetworkProvider(network));
}
Expand Down
Loading
Loading