-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
104 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './goerli'; | ||
export * from './sepolia'; | ||
export * from './mainnet'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import Azorius from '@fractal-framework/fractal-contracts/deployments/sepolia/Azorius.json'; | ||
import AzoriusFreezeGuard from '@fractal-framework/fractal-contracts/deployments/sepolia/AzoriusFreezeGuard.json'; | ||
import ERC20Claim from '@fractal-framework/fractal-contracts/deployments/sepolia/ERC20Claim.json'; | ||
import ERC20FreezeVoting from '@fractal-framework/fractal-contracts/deployments/sepolia/ERC20FreezeVoting.json'; | ||
import ERC721FreezeVoting from '@fractal-framework/fractal-contracts/deployments/sepolia/ERC721FreezeVoting.json'; | ||
import FractalModule from '@fractal-framework/fractal-contracts/deployments/sepolia/FractalModule.json'; | ||
import FractalRegistry from '@fractal-framework/fractal-contracts/deployments/sepolia/FractalRegistry.json'; | ||
import KeyValuePairs from '@fractal-framework/fractal-contracts/deployments/sepolia/KeyValuePairs.json'; | ||
import LinearERC20Voting from '@fractal-framework/fractal-contracts/deployments/sepolia/LinearERC20Voting.json'; | ||
import LinearVotingERC721 from '@fractal-framework/fractal-contracts/deployments/sepolia/LinearERC721Voting.json'; | ||
import ModuleProxyFactory from '@fractal-framework/fractal-contracts/deployments/sepolia/ModuleProxyFactory.json'; | ||
import MultisigFreezeGuard from '@fractal-framework/fractal-contracts/deployments/sepolia/MultisigFreezeGuard.json'; | ||
import MultisigFreezeVoting from '@fractal-framework/fractal-contracts/deployments/sepolia/MultisigFreezeVoting.json'; | ||
import VotesERC20 from '@fractal-framework/fractal-contracts/deployments/sepolia/VotesERC20.json'; | ||
import VotesERC20Wrapper from '@fractal-framework/fractal-contracts/deployments/sepolia/VotesERC20Wrapper.json'; | ||
import { | ||
getMultiSendCallOnlyDeployment, | ||
getProxyFactoryDeployment, | ||
getSafeSingletonDeployment, | ||
} from '@safe-global/safe-deployments'; | ||
import { sepolia } from 'wagmi/chains'; | ||
import { GovernanceType } from '../../../types'; | ||
import { NetworkConfig } from '../../../types/network'; | ||
|
||
const CHAIN_ID = 11155111; | ||
const SAFE_VERSION = '1.3.0'; | ||
|
||
export const sepoliaConfig: NetworkConfig = { | ||
safeBaseURL: 'https://safe-transaction-sepolia.safe.global', | ||
etherscanBaseURL: 'https://sepolia.etherscan.io/', | ||
etherscanAPIBaseUrl: 'https://api-sepolia.etherscan.io', | ||
chainId: CHAIN_ID, | ||
name: sepolia.name, | ||
color: 'gold.300', | ||
nativeTokenSymbol: sepolia.nativeCurrency.symbol, | ||
nativeTokenIcon: '/images/coin-icon-eth.svg', | ||
wagmiChain: sepolia, | ||
subgraphChainName: 'sepolia', | ||
contracts: { | ||
fractalAzoriusMasterCopy: Azorius.address, | ||
fractalModuleMasterCopy: FractalModule.address, | ||
fractalRegistry: FractalRegistry.address, | ||
votesERC20MasterCopy: VotesERC20.address, | ||
linearVotingERC721MasterCopy: LinearVotingERC721.address, | ||
claimingMasterCopy: ERC20Claim.address, | ||
azoriusFreezeGuardMasterCopy: AzoriusFreezeGuard.address, | ||
multisigFreezeVotingMasterCopy: MultisigFreezeVoting.address, | ||
erc20FreezeVotingMasterCopy: ERC20FreezeVoting.address, | ||
erc721FreezeVotingMasterCopy: ERC721FreezeVoting.address, | ||
multisigFreezeGuardMasterCopy: MultisigFreezeGuard.address, | ||
safe: getSafeSingletonDeployment({ version: SAFE_VERSION, network: CHAIN_ID.toString() }) | ||
?.defaultAddress!, | ||
safeFactory: getProxyFactoryDeployment({ | ||
version: SAFE_VERSION, | ||
network: CHAIN_ID.toString(), | ||
})?.defaultAddress!, | ||
zodiacModuleProxyFactory: ModuleProxyFactory.address, | ||
linearVotingMasterCopy: LinearERC20Voting.address, | ||
multisend: getMultiSendCallOnlyDeployment({ | ||
version: SAFE_VERSION, | ||
network: CHAIN_ID.toString(), | ||
})?.defaultAddress!, | ||
votesERC20WrapperMasterCopy: VotesERC20Wrapper.address, | ||
keyValuePairs: KeyValuePairs.address, | ||
}, | ||
staking: {}, | ||
createOptions: [ | ||
GovernanceType.MULTISIG, | ||
GovernanceType.AZORIUS_ERC20, | ||
GovernanceType.AZORIUS_ERC721, | ||
], | ||
}; |