Skip to content

Commit

Permalink
fix: fantom
Browse files Browse the repository at this point in the history
  • Loading branch information
kx9x committed Jun 16, 2024
1 parent 2aa8f14 commit 1cb1b1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion multisig_ci/ci_override.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def mine_override(timestamp: Optional[int] = None) -> None:
DELEGATE_ADDRESS = os.environ.get("DELEGATE_ADDRESS")
home_directory = os.environ.get("HOME")
BASE_CHAIN_ID = 8453
FANTOM_CHAIN_ID = 250

gnosis_frontend_urls = {
1: 'https://app.safe.global/transactions/queue?safe=eth:{0}',
Expand Down Expand Up @@ -182,8 +183,10 @@ def DelegateSafe(address, base_url=None, multisend=None):
if not base_url and network.chain.id == BASE_CHAIN_ID:
base_url = "https://safe-transaction-base.safe.global"

if not base_url and network.chain.id == FANTOM_CHAIN_ID:
base_url = "https://safe-txservice.fantom.network"

safe = BrownieSafe(address, base_url, multisend)
safe.transaction_service.URL_BY_NETWORK[EthereumNetwork.FANTOM_OPERA] = "https://safe-txservice.fantom.network"
safe.frontend_url = frontend_url
return safe

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "multisig_ci"
version = "0.8.18"
version = "0.8.19"
description = "Gnosis safe ci scripts."
authors = ["kx9x <[email protected]>"]
license = "AGPLv3"
Expand Down

0 comments on commit 1cb1b1b

Please sign in to comment.