Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VEN-2882] Multichain Governance on Base Sepolia and Mainnet #433

Merged
merged 19 commits into from
Dec 18, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'feat/ven-2880' into feat/ven-2882
chechu committed Dec 4, 2024
commit 70affb55c59bb88d27160e249a04d6b0fa0928a6
21 changes: 11 additions & 10 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -12,17 +12,18 @@ export type SUPPORTED_NETWORKS =
| "opsepolia"
| "opmainnet";

export type REMOTE_NETWORKS =
| "sepolia"
| "ethereum"
| "opbnbtestnet"
| "opbnbmainnet"
| "arbitrumsepolia"
| "arbitrumone"
| "basesepolia";
export type REMOTE_NETWORKS = Exclude<SUPPORTED_NETWORKS, "bscmainnet" | "bsctestnet">;

export const REMOTE_TESTNET_NETWORKS = [
"sepolia",
"opbnbtestnet",
"arbitrumsepolia",
"zksyncsepolia",
"opsepolia",
"basesepolia",
];
export const REMOTE_MAINNET_NETWORKS = ["ethereum", "opbnbmainnet", "arbitrumone", "zksyncmainnet", "opmainnet"];

export const REMOTE_TESTNET_NETWORKS = ["sepolia", "opbnbtestnet", "arbitrumsepolia", "zksyncsepolia", "basesepolia"];
export const REMOTE_MAINNET_NETWORKS = ["ethereum", "opbnbmainnet", "arbitrumone", "zksyncmainnet"];
export interface ProposalMeta {
version: string;
title: string;

Unchanged files with check annotations Beta

forking(4120238, async () => {
describe("Post-Execution state", () => {
let allMarkets: any;

Check warning on line 24 in multisig/simulations/zksyncsepolia/vip-012/index.ts

GitHub Actions / lint

Unexpected any. Specify a different type
let vToken: Contract;
let comptroller: Contract;
});
}
type JsonObject = { [key: string]: any };

Check warning on line 32 in scripts/createProposal.ts

GitHub Actions / lint

Unexpected any. Specify a different type
const processJson = async (data: JsonObject) => {
const convertBigNumberToString = (obj: JsonObject) => {
forking(30887665, async () => {
testVip("VIP-130-testnet Swap routers accept ownership", await vip130Testnet(), {
callbackAfterExecution: async (txResponse: any) => {

Check warning on line 13 in simulations/vip-130/vip-130-testnet/simulations.ts

GitHub Actions / lint

Unexpected any. Specify a different type
await expectEvents(txResponse, [SWAP_ROUTER_ABI], ["OwnershipTransferred"], [2]);
},
});
forking(29321964, async () => {
testVip("VIP-130 Swap router accept ownership", await vip130(), {
callbackAfterExecution: async (txResponse: any) => {

Check warning on line 14 in simulations/vip-130/vip-130/simulations.ts

GitHub Actions / lint

Unexpected any. Specify a different type
await expectEvents(
txResponse,
[SWAP_ROUTER_ABI, XVS_STORE_ABI],
closeFactorMantissa: BigNumberish,
liquidationIncentiveMantissa: BigNumberish,
allMarkets: Array<object>,
venusSupplyState: any,

Check warning on line 34 in simulations/vip-174/vip-174-testnet/simulations.ts

GitHub Actions / lint

Unexpected any. Specify a different type
venusBorrowState: any,

Check warning on line 35 in simulations/vip-174/vip-174-testnet/simulations.ts

GitHub Actions / lint

Unexpected any. Specify a different type
venusAccrued: BigNumberish,
vaiMintRate: BigNumberish,
vaiController: Contract,
liquidatorContract: Contract,
comptrollerLens: Contract;
const borrowSpeeds: any = {};

Check warning on line 53 in simulations/vip-174/vip-174-testnet/simulations.ts

GitHub Actions / lint

Unexpected any. Specify a different type
const supplySpeeds: any = {};

Check warning on line 54 in simulations/vip-174/vip-174-testnet/simulations.ts

GitHub Actions / lint

Unexpected any. Specify a different type
const userBorrowIndexes: any = {};

Check warning on line 55 in simulations/vip-174/vip-174-testnet/simulations.ts

GitHub Actions / lint

Unexpected any. Specify a different type
const userSupplyIndexes: any = {};

Check warning on line 56 in simulations/vip-174/vip-174-testnet/simulations.ts

GitHub Actions / lint

Unexpected any. Specify a different type
const markets: any = {};
let BUSD: Contract;
You are viewing a condensed version of this merge commit. You can view the full changes here.