mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* test: e2e verify allowance module version * fix: removing 'only' from test * fix: restrict address search scope * Merge remote-tracking branch 'origin/dev' into e2e-allowance-module * fix: fixed safe address
156 lines
10 KiB
JavaScript
156 lines
10 KiB
JavaScript
/**
|
||
* @fileoverview Static Safe addresses for Cypress E2E tests
|
||
*
|
||
* Predefined Safe addresses across multiple networks for use in Cypress tests.
|
||
*
|
||
* When adding new safes, use the next available number and follow the naming convention:
|
||
* `{NETWORK}_STATIC_SAFE_{NUMBER}`
|
||
*/
|
||
|
||
export default {
|
||
// Sepolia Safes
|
||
/** Create Safe CF and multichain testing - Used in: create_safe_cf.cy.js, multichain_sidebar.cy.js, notifications.cy.js */
|
||
SEP_STATIC_SAFE_0: 'sep:0x926186108f74dB20BFeb2b6c888E523C78cb7E00',
|
||
/** Swaps and swap history testing - Used in: swaps.cy.js, swaps_history.cy.js, swaps_tokens.cy.js, limit_order_history.cy.js, apps_list.cy.js */
|
||
SEP_STATIC_SAFE_1: 'sep:0x03042B890b99552b60A073F808100517fb148F60',
|
||
/** Dashboard, assets, tokens, and NFTs testing - Used in: dashboard.cy.js, batch_tx.cy.js, tokens.cy.js, nfts.cy.js, assets.cy.js, safe-apps tests */
|
||
SEP_STATIC_SAFE_2: 'sep:0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415',
|
||
/** Owner management and load safe testing - Used in: add_owner.cy.js, remove_owner.cy.js, replace_owner.cy.js, load_safe_3.cy.js, spending_limits_nonowner.cy.js */
|
||
SEP_STATIC_SAFE_3: 'sep:0x33C4AA5729D91FfB3B87AEf8a324bb6304Fb905c',
|
||
/** Load safe and owner management testing - Used in: load_safe.cy.js, add_owner.cy.js, replace_owner.cy.js, address_book.cy.js, load_safe_3.cy.js */
|
||
SEP_STATIC_SAFE_4: 'sep:0xBb26E3717172d5000F87DeFd391994f789D80aEB',
|
||
/** Address book and CSV import testing - Used in: constants.js (CSV entry), address_book tests */
|
||
SEP_STATIC_SAFE_5: 'sep:0x6E834E9D04ad6b26e1525dE1a37BFd9b215f40B7',
|
||
/** Create transaction and ENS testing (e2etestsafe.eth) - Used in: create_tx.cy.js, tx_notes.cy.js, mass_payouts.cy.js, spending_limits.cy.js */
|
||
SEP_STATIC_SAFE_6: 'sep:0xBf30F749FC027a5d79c4710D988F0D3C8e217A4F',
|
||
/** Queue delete/reject testing - Used in: tx_queue_delete_btn.cy.js, tx_queue_reject_btn.cy.js */
|
||
SEP_STATIC_SAFE_7: 'sep:0x5912f6616c84024cD1aff0D5b55bb36F5180fFdb',
|
||
/** Spending limits and transaction notes testing - Used in: spending_limits.cy.js, tx_notes.cy.js, mass_payouts.cy.js */
|
||
SEP_STATIC_SAFE_8: 'sep:0x9190cc22D592dDcf396Fa616ce84a9978fD96Fc9',
|
||
/** Sidebar testing - Used in: sidebar_2.cy.js through sidebar_8.cy.js */
|
||
SEP_STATIC_SAFE_9: 'sep:0x98705770aF3b18db0a64597F6d4DCe825915fec0',
|
||
SEP_STATIC_SAFE_9_SHORT: '0x9870...fec0',
|
||
/** Messages (onchain/offchain) testing - Used in: messages_offchain.cy.js, messages_onchain.cy.js, messages_popup.cy.js, create_tx.cy.js */
|
||
SEP_STATIC_SAFE_10: 'sep:0xc2F3645bfd395516d1a18CA6ad9298299d328C01',
|
||
/** Sidebar non-owner testing - Used in: sidebar_nonowner.cy.js, sidebar.cy.js */
|
||
SEP_STATIC_SAFE_11: 'sep:0x10B45a24640E2170B6AA63ea3A289D723a0C9cba',
|
||
/** Dashboard testing - Used in: dashboard.cy.js */
|
||
SEP_STATIC_SAFE_12: 'sep:0xFFfaC243A24EecE6553f0Da278322aCF1Fb6CeF1',
|
||
/** Recovery, owner management, and data import/export testing - Used in: recovery.cy.js, remove_owner.cy.js, load_safe_2.cy.js, import_export_data.cy.js */
|
||
SEP_STATIC_SAFE_13: 'sep:0x027bBe128174F0e5e5d22ECe9623698E01cd3970',
|
||
/** Dashboard testing - Used in: dashboard.cy.js */
|
||
SEP_STATIC_SAFE_14: 'sep:0xe41D568F5040FD9adeE8B64200c6B7C363C68c41',
|
||
|
||
// Ethereum Safes
|
||
/** Recovery and balances testing - Used in: recovery.cy.js, prodhealthcheck/recovery.cy.js, balances_endpoints.cy.js */
|
||
ETH_STATIC_SAFE_15: 'eth:0xfF501B324DC6d78dC9F983f140B9211c3EdB4dc7',
|
||
/** Case #1 – Outdated official mastercopy (Info, "Update" CTA). Used in: dashboard.cy.js. Repro from requirements: app.safe.global/home?safe=eth:0x1230... */
|
||
ETH_STATIC_SAFE_OUTDATED_MASTERCOPY: 'eth:0x1230B3d59858296A31053C1b8562Ecf89A2f888b',
|
||
|
||
// Gnosis Chain Safes
|
||
/** Recovery testing - Used in: recovery.cy.js, prodhealthcheck/recovery.cy.js */
|
||
GNO_STATIC_SAFE_16: 'gno:0xB8d760a90a5ed54D3c2b3EFC231277e99188642A',
|
||
|
||
// Polygon (Matic) Safes
|
||
/** Recovery module testing - Used in: recovery.cy.js, prodhealthcheck/recovery.cy.js */
|
||
MATIC_STATIC_SAFE_17: 'matic:0x6D04edC44F7C88faa670683036edC2F6FC10b86e',
|
||
|
||
// BNB Chain Safes
|
||
/** BNB Chain testing */
|
||
BNB_STATIC_SAFE_18: 'bnb:0x1D28a316431bAFf410Fe53398c6C5BD566032Eec',
|
||
|
||
// Aurora Safes
|
||
/** Aurora testing */
|
||
AURORA_STATIC_SAFE_19: 'aurora:0xCEA454dD3d76Da856E72C3CBaDa8ee6A789aD167',
|
||
|
||
// Avalanche Safes
|
||
/** Avalanche testing */
|
||
AVAX_STATIC_SAFE_20: 'avax:0x480e5A3E90a3fF4a16AECCB5d638fAba96a15c28',
|
||
|
||
// Linea Safes
|
||
/** Linea testing */
|
||
LINEA_STATIC_SAFE_21: 'linea:0x95934e67299E0B3DD277907acABB512802f3536E',
|
||
|
||
// zkSync Safes
|
||
/** zkSync testing */
|
||
ZKSYNC_STATIC_SAFE_22: 'zksync:0x49136c0270c5682FFbb38Cb29Ecf0563b2E1F9f6',
|
||
|
||
// More Sepolia Safes
|
||
/** Transaction history, NFTs, messages, and spending limits testing - Used in: tx_history.cy.js, nfts.cy.js, messages_offchain.cy.js, spending_limits.cy.js */
|
||
SEP_STATIC_SAFE_23: 'sep:0x589d862CE2d519d5A862066bB923da0564c3D2EA',
|
||
/** Add owner testing - Used in: add_owner.cy.js (happypath_2) */
|
||
SEP_STATIC_SAFE_24: 'sep:0x49DC5764961DA4864DC5469f16BC68a0F765f2F2',
|
||
/** Replace owner testing - Used in: replace_owner.cy.js */
|
||
SEP_STATIC_SAFE_25: 'sep:0x4ECFAa2E8cb4697bCD27bdC9Ce3E16f03F73124F',
|
||
/** Transaction notes and messages testing - Used in: tx_notes.cy.js, messages_offchain.cy.js */
|
||
SEP_STATIC_SAFE_26: 'sep:0x755428b02A458eD17fa93c86F6C3a2046F2c4C3C',
|
||
/** TWAP and swap testing - Used in: twaps_integration.cy.js, twaps_history.cy.js, limit_order.cy.js */
|
||
SEP_STATIC_SAFE_27: 'sep:0xC97FCf0B8890a5a7b1a1490d44Dc9EbE3cE04884',
|
||
|
||
// More Polygon (Matic) Safes
|
||
/** Multichain testing (primary CF safe) - Used in: multichain_*.cy.js, sidebar_*.cy.js, create_tx.cy.js
|
||
* ⚠️ Heavily used for multichain testing - avoid modifying its state */
|
||
MATIC_STATIC_SAFE_28: 'matic:0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B',
|
||
|
||
// More zkSync Safes
|
||
/** zkSync testing */
|
||
ZKSYNC_STATIC_SAFE_29: 'zksync:0x950e07c80d7Bb754CcD84afE2b7751dc7Fd65D1f',
|
||
|
||
// More Sepolia Safes
|
||
/** Swaps testing - Used in: swaps.cy.js (happypath_2) */
|
||
SEP_STATIC_SAFE_30: 'sep:0x2687E6643E189c1245EA8419e5e427809136021F',
|
||
/** Proposers testing - Used in: proposers.cy.js, proposers_2.cy.js, tx_share_block.cy.js, sidebar_8.cy.js */
|
||
SEP_STATIC_SAFE_31: 'sep:0x09725D3c2f9bE905F8f9f1b11a771122cf9C9f35',
|
||
/** Proposers testing - Used in: proposers.cy.js (happypath_2) */
|
||
SEP_STATIC_SAFE_32: 'sep:0x698C8D95D7B6b0B50338c2885d9583737546768f',
|
||
/** Proposers testing - Used in: proposers_2.cy.js */
|
||
SEP_STATIC_SAFE_33: 'sep:0x597D644b1F2b66B84F2C56f0D40D0314E8D5895b',
|
||
/** Queue transaction testing - Used in: tx_queue.cy.js, tx_queue_replace_btn.cy.js, tx_queue_reject_btn.cy.js, swaps_queue.cy.js, limit_order_queue.cy.js, twaps_queue.cy.js */
|
||
SEP_STATIC_SAFE_34: 'sep:0xD8b85a669413b25a8BE7D7698f88b7bFA20889d2',
|
||
/** Transaction details queue and spaces testing - Used in: tx_details_queue.cy.js, spaces_basicflow.cy.js */
|
||
SEP_STATIC_SAFE_35: 'sep:0xc36A530ccD728d36a654ccedEB7994473474C018',
|
||
/** Transaction details create tx testing - Used in: tx_details_createtx.cy.js */
|
||
SEP_STATIC_SAFE_36: 'sep:0xD9BD8a5F97A003f948d684695667BB8Ff9F3d61E',
|
||
/** Queue reject testing - Used in: tx_queue_reject_btn.cy.js */
|
||
SEP_STATIC_SAFE_37: 'sep:0x4B8A8Ca9F0002a850CB2c81b205a6D7429a22DEe',
|
||
/** Transaction history filter testing - Used in: tx_history_filter_2.cy.js */
|
||
SEP_STATIC_SAFE_38: 'sep:0x30aeC11779d29dB096C434D4e72E77276EB01BdE',
|
||
/** Nested safes testing - Used in: nested_safes.cy.js, nested_safes_review.cy.js */
|
||
SEP_STATIC_SAFE_39: 'sep:0xAD5e4a366cc840120701384fca4Ec9b8bEb47cAD',
|
||
/** Nested safes testing - Used in: nested_safes.cy.js */
|
||
SEP_STATIC_SAFE_40: 'sep:0x22e5093F4A75c2E99A8EcabfBF8c5c7fDcaDCf9d',
|
||
/** Nested safes testing - Used in: nested_safes.cy.js */
|
||
SEP_STATIC_SAFE_41: 'sep:0xE5577b9E75F94C4a900E74F63F79A7968e812208',
|
||
/** Mass payouts testing - Used in: mass_payouts.cy.js (happypath_2) */
|
||
SEP_STATIC_SAFE_42: 'sep:0x7AaE77F475E718AdD032C7665427C6d4e6104D3c',
|
||
/** Transaction builder testing - Used in: tx-builder_3.cy.js */
|
||
SEP_STATIC_SAFE_43: 'sep:0xC5AaBf061f2412F9D84585755dc517EF040becF9',
|
||
/** Sidebar testing - Used in: sidebar_3.cy.js (prodhealthcheck) */
|
||
SEP_STATIC_SAFE_44: 'sep:0x8A3faB996b721d68357B42eD0D6328eBE6113e00',
|
||
/** Nested safes review and fund asset testing - Used in: nested_safes_review.cy.js, nested_safes_fund_asset.cy.js */
|
||
SEP_STATIC_SAFE_45: 'sep:0x5958B92f412408bF12Bbc8638d524ebe5878E795',
|
||
/** Nested safes curation testing (hide/show functionality) - Used in: nested_safes_curation.cy.js
|
||
* This safe has 8 nested safes, 2 of which are suspicious (auto-hidden by default) */
|
||
SEP_STATIC_SAFE_46: 'sep:0xdC269A6415d7802B232B59034e325c9D1c8fB3E8',
|
||
|
||
// More Polygon (Matic) Safes
|
||
/** Available for general testing - Currently unused */
|
||
MATIC_STATIC_SAFE_29: 'matic:0x5E9242FD52c4c4A60d874E8ff4Ba25657dd6e551',
|
||
/** Safe Shield tests - Used in: safe_shield.cy.js
|
||
* Dedicated for Safe Shield transaction monitoring and risk detection tests */
|
||
MATIC_STATIC_SAFE_30: 'matic:0x65e1Ff7e0901055B3bea7D8b3AF457a659714013',
|
||
/** Case #2 – Unsupported but migratable in-app (Warning, "Migrate" CTA). Used in: dashboard.cy.js. Repro: safe-wallet-web.dev.5afe.dev/home?safe=matic:0x0b26... */
|
||
MATIC_STATIC_SAFE_31: 'matic:0x0b268DC6D1DfF21CaEb161c7aF5cEc3093057082',
|
||
/** Case #3 – Unsupported not migratable in-app (Warning, "Get CLI" CTA). Used in: dashboard.cy.js. Repro: safe-wallet-web.dev.5afe.dev/home?safe=matic:0xc8D6... */
|
||
MATIC_STATIC_SAFE_32: 'matic:0xc8D6C3f866597a63780fdEC4C4Cb08B5C19CDb60',
|
||
/** Positions static safe - Used in: portfolio.cy.js */
|
||
MATIC_STATIC_SAFE_33: 'matic:0xc1f4652866ddB3811adcd3418c13eF640e88E1f6',
|
||
|
||
// Allowance Module address verification safes (same Safe on two networks)
|
||
// New safes were added to be sure they don't have the AllowanceModule enabled by default
|
||
/** Spending limits AllowanceModule address verification (Sepolia) - Used in: spending_limits.cy.js */
|
||
SEP_STATIC_SAFE_47: 'sep:0xED6ee29286c4791B55129eA2570d2e3097B067De',
|
||
/** Spending limits AllowanceModule address verification (Polygon) - Used in: spending_limits.cy.js */
|
||
MATIC_STATIC_SAFE_34: 'matic:0xED6ee29286c4791B55129eA2570d2e3097B067De',
|
||
}
|