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

Remove Fantom. #111

Closed
wants to merge 1 commit into from
Closed
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
20 changes: 0 additions & 20 deletions .github/workflows/deployment-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,6 @@ jobs:
BASE_RPC_ENDPOINT: ${{ secrets.BASE_RPC_ENDPOINT }}
with:
network-name: base
check-fantom-deployments:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Fantom Deployment Addresses
uses: ./.github/actions/check-network-deployments
env:
FANTOM_RPC_ENDPOINT: ${{ secrets.FANTOM_RPC_ENDPOINT }}
with:
network-name: fantom
check-goerli-deployments:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -228,16 +218,6 @@ jobs:
BASE_RPC_ENDPOINT: ${{ secrets.BASE_RPC_ENDPOINT }}
with:
network-name: base
check-fantom-action-ids:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Fantom Action IDs
uses: ./.github/actions/check-network-action-ids
env:
FANTOM_RPC_ENDPOINT: ${{ secrets.FANTOM_RPC_ENDPOINT }}
with:
network-name: fantom
check-goerli-action-ids:
runs-on: ubuntu-latest
steps:
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/timelock-authorizer-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,6 @@ jobs:
with:
network-name: base

verify-fantom-timelock-authorizer-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Verify Fantom Timelock Authorizer Configuration
uses: ./.github/actions/verify-network-timelock-authorizer-config
env:
FANTOM_RPC_ENDPOINT: ${{ secrets.FANTOM_RPC_ENDPOINT }}
with:
network-name: fantom

verify-goerli-timelock-authorizer-config:
runs-on: ubuntu-latest
steps:
Expand Down
52 changes: 0 additions & 52 deletions action-ids/fantom/action-ids.json

This file was deleted.

4 changes: 0 additions & 4 deletions addresses/.supported-networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,5 @@
"base": {
"chainId": 8453,
"block-explorer": "https://basescan.org"
},
"fantom": {
"chainId": 250,
"block-explorer": "https://ftmscan.com"
}
}
55 changes: 0 additions & 55 deletions addresses/fantom.json

This file was deleted.

3 changes: 0 additions & 3 deletions ci/prepare-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ if (process.env.CI) {
},
"base": {
"url": "${process.env.BASE_RPC_ENDPOINT}"
},
"fantom": {
"url": "${process.env.FANTOM_RPC_ENDPOINT}"
}
},
"defaultConfig": {
Expand Down
9 changes: 0 additions & 9 deletions deployment-txs/fantom.json

This file was deleted.

8 changes: 0 additions & 8 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -449,14 +449,6 @@ export default {
browserURL: 'https://basescan.org/',
},
},
{
network: 'fantom',
chainId: 250,
urls: {
apiURL: 'https://api.ftmscan.com/api',
browserURL: 'https://ftmscan.com',
},
},
],
},
};
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
"check": "yarn check-artifacts && yarn check-deployments",
"check-artifacts": "hardhat check-artifacts",
"check-network-deployments": "hardhat check-deployments --network",
"check-deployments": "hardhat check-deployments --network mainnet && hardhat check-deployments --network polygon && hardhat check-deployments --network arbitrum && hardhat check-deployments --network optimism && hardhat check-deployments --network gnosis && hardhat check-deployments --network bsc && hardhat check-deployments --network avalanche && hardhat check-deployments --network zkevm && hardhat check-deployments --network base && hardhat check-deployments --network fantom && hardhat check-deployments --network goerli && hardhat check-deployments --network sepolia",
"check-deployments": "hardhat check-deployments --network mainnet && hardhat check-deployments --network polygon && hardhat check-deployments --network arbitrum && hardhat check-deployments --network optimism && hardhat check-deployments --network gnosis && hardhat check-deployments --network bsc && hardhat check-deployments --network avalanche && hardhat check-deployments --network zkevm && hardhat check-deployments --network base && hardhat check-deployments hardhat check-deployments --network goerli && hardhat check-deployments --network sepolia",
"check-network-action-ids": "hardhat check-action-ids --network",
"check-action-ids": "hardhat check-action-ids --network mainnet && hardhat check-action-ids --network polygon && hardhat check-action-ids --network arbitrum && hardhat check-action-ids --network optimism && hardhat check-action-ids --network gnosis && hardhat check-action-ids --network bsc && hardhat check-action-ids --network avalanche && hardhat check-action-ids --network zkevm && hardhat check-action-ids --network base && hardhat check-action-ids --network fantom && hardhat check-action-ids --network goerli && hardhat check-action-ids --network sepolia",
"check-action-ids": "hardhat check-action-ids --network mainnet && hardhat check-action-ids --network polygon && hardhat check-action-ids --network arbitrum && hardhat check-action-ids --network optimism && hardhat check-action-ids --network gnosis && hardhat check-action-ids --network bsc && hardhat check-action-ids --network avalanche && hardhat check-action-ids --network zkevm && hardhat check-action-ids --network base && hardhat check-action-ids hardhat check-action-ids --network goerli && hardhat check-action-ids --network sepolia",
"extract-artifacts": "hardhat extract-artifacts",
"build-address-lookup": "hardhat build-address-lookup --network mainnet && hardhat build-address-lookup --network polygon && hardhat build-address-lookup --network arbitrum && hardhat build-address-lookup --network optimism && hardhat build-address-lookup --network gnosis && hardhat build-address-lookup --network bsc && hardhat build-address-lookup --network avalanche && hardhat build-address-lookup --network zkevm && hardhat build-address-lookup --network base && hardhat build-address-lookup --network fantom && hardhat build-address-lookup --network goerli && hardhat build-address-lookup --network sepolia",
"check-address-lookup": "hardhat check-address-lookup --network mainnet && hardhat check-address-lookup --network polygon && hardhat check-address-lookup --network arbitrum && hardhat check-address-lookup --network optimism && hardhat check-address-lookup --network gnosis && hardhat check-address-lookup --network bsc && hardhat check-address-lookup --network avalanche && hardhat check-address-lookup --network zkevm && hardhat check-address-lookup --network base && hardhat check-address-lookup --network fantom && hardhat check-address-lookup --network goerli && hardhat check-address-lookup --network sepolia",
"build-timelock-authorizer-config": "hardhat build-timelock-authorizer-config --network mainnet && hardhat build-timelock-authorizer-config --network polygon && hardhat build-timelock-authorizer-config --network arbitrum && hardhat build-timelock-authorizer-config --network optimism && hardhat build-timelock-authorizer-config --network gnosis && hardhat build-timelock-authorizer-config --network bsc && hardhat build-timelock-authorizer-config --network avalanche && hardhat build-timelock-authorizer-config --network zkevm && hardhat build-timelock-authorizer-config --network base && hardhat build-timelock-authorizer-config --network fantom && hardhat build-timelock-authorizer-config --network goerli && hardhat build-timelock-authorizer-config --network sepolia",
"check-timelock-authorizer-config": "hardhat check-timelock-authorizer-config --network mainnet && hardhat check-timelock-authorizer-config --network polygon && hardhat check-timelock-authorizer-config --network arbitrum && hardhat check-timelock-authorizer-config --network optimism && hardhat check-timelock-authorizer-config --network gnosis && hardhat check-timelock-authorizer-config --network bsc && hardhat check-timelock-authorizer-config --network avalanche && hardhat check-timelock-authorizer-config --network zkevm && hardhat check-timelock-authorizer-config --network base && hardhat check-timelock-authorizer-config --network fantom && hardhat check-timelock-authorizer-config --network goerli && hardhat check-timelock-authorizer-config --network sepolia",
"build-address-lookup": "hardhat build-address-lookup --network mainnet && hardhat build-address-lookup --network polygon && hardhat build-address-lookup --network arbitrum && hardhat build-address-lookup --network optimism && hardhat build-address-lookup --network gnosis && hardhat build-address-lookup --network bsc && hardhat build-address-lookup --network avalanche && hardhat build-address-lookup --network zkevm && hardhat build-address-lookup --network base && hardhat build-address-lookup hardhat build-address-lookup --network goerli && hardhat build-address-lookup --network sepolia",
"check-address-lookup": "hardhat check-address-lookup --network mainnet && hardhat check-address-lookup --network polygon && hardhat check-address-lookup --network arbitrum && hardhat check-address-lookup --network optimism && hardhat check-address-lookup --network gnosis && hardhat check-address-lookup --network bsc && hardhat check-address-lookup --network avalanche && hardhat check-address-lookup --network zkevm && hardhat check-address-lookup --network base && hardhat check-address-lookup hardhat check-address-lookup --network goerli && hardhat check-address-lookup --network sepolia",
"build-timelock-authorizer-config": "hardhat build-timelock-authorizer-config --network mainnet && hardhat build-timelock-authorizer-config --network polygon && hardhat build-timelock-authorizer-config --network arbitrum && hardhat build-timelock-authorizer-config --network optimism && hardhat build-timelock-authorizer-config --network gnosis && hardhat build-timelock-authorizer-config --network bsc && hardhat build-timelock-authorizer-config --network avalanche && hardhat build-timelock-authorizer-config --network zkevm && hardhat build-timelock-authorizer-config --network base && hardhat build-timelock-authorizer-config hardhat build-timelock-authorizer-config --network goerli && hardhat build-timelock-authorizer-config --network sepolia",
"check-timelock-authorizer-config": "hardhat check-timelock-authorizer-config --network mainnet && hardhat check-timelock-authorizer-config --network polygon && hardhat check-timelock-authorizer-config --network arbitrum && hardhat check-timelock-authorizer-config --network optimism && hardhat check-timelock-authorizer-config --network gnosis && hardhat check-timelock-authorizer-config --network bsc && hardhat check-timelock-authorizer-config --network avalanche && hardhat check-timelock-authorizer-config --network zkevm && hardhat check-timelock-authorizer-config --network base && hardhat check-timelock-authorizer-config hardhat check-timelock-authorizer-config --network goerli && hardhat check-timelock-authorizer-config --network sepolia",
"verify-network-timelock-authorizer-config": "hardhat verify-timelock-authorizer-config --network",
"verify-timelock-authorizer-config": "hardhat verify-timelock-authorizer-config --network mainnet && hardhat verify-timelock-authorizer-config --network polygon && hardhat verify-timelock-authorizer-config --network arbitrum && hardhat verify-timelock-authorizer-config --network optimism && hardhat verify-timelock-authorizer-config --network gnosis && hardhat verify-timelock-authorizer-config --network bsc && hardhat verify-timelock-authorizer-config --network avalanche && hardhat verify-timelock-authorizer-config --network zkevm && hardhat verify-timelock-authorizer-config --network base && hardhat verify-timelock-authorizer-config --network fantom && hardhat verify-timelock-authorizer-config --network goerli && hardhat verify-timelock-authorizer-config --network sepolia",
"verify-timelock-authorizer-config": "hardhat verify-timelock-authorizer-config --network mainnet && hardhat verify-timelock-authorizer-config --network polygon && hardhat verify-timelock-authorizer-config --network arbitrum && hardhat verify-timelock-authorizer-config --network optimism && hardhat verify-timelock-authorizer-config --network gnosis && hardhat verify-timelock-authorizer-config --network bsc && hardhat verify-timelock-authorizer-config --network avalanche && hardhat verify-timelock-authorizer-config --network zkevm && hardhat verify-timelock-authorizer-config --network base && hardhat verify-timelock-authorizer-config hardhat verify-timelock-authorizer-config --network goerli && hardhat verify-timelock-authorizer-config --network sepolia",
"lint": "yarn lint:solidity && yarn lint:typescript",
"lint:solidity": "solhint 'src/helpers/contracts/**/*.sol'",
"lint:typescript": "NODE_NO_WARNINGS=1 eslint . --ext .ts --ignore-path ./.eslintignore --max-warnings 0",
Expand Down
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const NETWORKS = [
'zkevm',
'sepolia',
'base',
'fantom',
];

export type Network = (typeof NETWORKS)[number];
Expand Down
4 changes: 0 additions & 4 deletions tasks/00000000-tokens/output/fantom.json

This file was deleted.

3 changes: 0 additions & 3 deletions tasks/20210418-authorizer/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,4 @@ export default {
base: {
admin: '0xC40DCFB13651e64C8551007aa57F9260827B6462',
},
fantom: {
admin: '0x4fbe899d37fb7514adf2f41B0630E018Ec275a0C',
},
};
3 changes: 0 additions & 3 deletions tasks/20210418-authorizer/output/fantom.json

This file was deleted.

1 change: 0 additions & 1 deletion tasks/20210418-authorizer/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ This contract is expected to be eventually replaced by one with a) native suppor
- [Avalanche mainnet addresses](./output/avalanche.json)
- [Polygon zkeVM mainnet addresses](./output/zkevm.json)
- [Base mainnet addresses](./output/base.json)
- [Fantom mainnet addresses](./output/fantom.json)
- [Goerli testnet addresses](./output/goerli.json)
- [Sepolia testnet addresses](./output/sepolia.json)
- [`Authorizer` artifact](./artifact/Authorizer.json)
5 changes: 0 additions & 5 deletions tasks/20210418-vault/output/fantom.json

This file was deleted.

1 change: 0 additions & 1 deletion tasks/20210418-vault/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Aditionally, the `WETH` argument may represent different things in different net
- [Avalanche mainnet addresses](./output/avalanche.json)
- [Polygon zkeVM mainnet addresses](./output/zkevm.json)
- [Base mainnet addresses](./output/base.json)
- [Fantom mainnet addresses](./output/fantom.json)
- [Goerli testnet addresses](./output/goerli.json)
- [Sepolia testnet addresses](./output/sepolia.json)
- [`Vault` artifact](./artifact/Vault.json)
Expand Down
3 changes: 0 additions & 3 deletions tasks/20220325-authorizer-adaptor/output/fantom.json

This file was deleted.

Loading
Loading