mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* fix: e2e tests for tx-builder (#8492) * fix: e2e tests for tx-builder * chore: address AI comments * fix: post migration
1033 lines
30 KiB
JavaScript
1033 lines
30 KiB
JavaScript
/* eslint-disable */
|
|
|
|
import { CURRENT_COOKIE_TERMS_VERSION } from './constants.js'
|
|
|
|
const cookieState = {
|
|
necessary: true,
|
|
updates: true,
|
|
analytics: true,
|
|
terms: true,
|
|
termsVersion: CURRENT_COOKIE_TERMS_VERSION,
|
|
}
|
|
|
|
export const batchData = {
|
|
entry0: {
|
|
11155111: {
|
|
'0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415': [
|
|
{
|
|
id: 'vn8dwe0amz',
|
|
timestamp: 1701091870022,
|
|
txDetails: {
|
|
safeAddress: '0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415',
|
|
txId: 'multisig_0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415_0xcb83bc36cf4a2998e7fe222e36c458c59c3778f65b4e5bb361c29a73c2de62cc',
|
|
executedAt: null,
|
|
txStatus: 'AWAITING_CONFIRMATIONS',
|
|
txInfo: {
|
|
type: 'Transfer',
|
|
humanDescription: null,
|
|
richDecodedInfo: null,
|
|
sender: {
|
|
value: '0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
recipient: {
|
|
value: '0x03042B890b99552b60A073F808100517fb148F60',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
direction: 'OUTGOING',
|
|
transferInfo: { type: 'NATIVE_COIN', value: '1000000000000000' },
|
|
},
|
|
txData: {
|
|
hexData: null,
|
|
dataDecoded: null,
|
|
to: {
|
|
value: '0x03042B890b99552b60A073F808100517fb148F60',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
value: '1000000000000000',
|
|
operation: 0,
|
|
trustedDelegateCallTarget: null,
|
|
addressInfoIndex: null,
|
|
},
|
|
txHash: null,
|
|
detailedExecutionInfo: {
|
|
type: 'MULTISIG',
|
|
submittedAt: 1698650125722,
|
|
nonce: 15,
|
|
safeTxGas: '0',
|
|
baseGas: '0',
|
|
gasPrice: '0',
|
|
gasToken: '0x0000000000000000000000000000000000000000',
|
|
refundReceiver: {
|
|
value: '0x0000000000000000000000000000000000000000',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
safeTxHash: '0xcb83bc36cf4a2998e7fe222e36c458c59c3778f65b4e5bb361c29a73c2de62cc',
|
|
executor: null,
|
|
signers: [
|
|
{
|
|
value: '0x61a0c717d18232711bC788F19C9Cd56a43cc8872',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x0D65139Da4B36a8A39BF1b63e950038D42231b2e',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
confirmationsRequired: 1,
|
|
confirmations: [],
|
|
rejectors: [],
|
|
gasTokenInfo: null,
|
|
trusted: false,
|
|
},
|
|
safeAppInfo: null,
|
|
},
|
|
},
|
|
{
|
|
id: 'g30cj4yatap',
|
|
timestamp: 1701099937261,
|
|
txDetails: {
|
|
safeAddress: '0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415',
|
|
txId: 'multisig_0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415_0xcb83bc36cf4a2998e7fe222e36c458c59c3778f65b4e5bb361c29a73c2de62cc',
|
|
executedAt: null,
|
|
txStatus: 'AWAITING_CONFIRMATIONS',
|
|
txInfo: {
|
|
type: 'Transfer',
|
|
humanDescription: null,
|
|
richDecodedInfo: null,
|
|
sender: {
|
|
value: '0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
recipient: {
|
|
value: '0x03042B890b99552b60A073F808100517fb148F60',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
direction: 'OUTGOING',
|
|
transferInfo: { type: 'NATIVE_COIN', value: '2000000000000000' },
|
|
},
|
|
txData: {
|
|
hexData: null,
|
|
dataDecoded: null,
|
|
to: {
|
|
value: '0x03042B890b99552b60A073F808100517fb148F60',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
value: '2000000000000000',
|
|
operation: 0,
|
|
trustedDelegateCallTarget: null,
|
|
addressInfoIndex: null,
|
|
},
|
|
txHash: null,
|
|
detailedExecutionInfo: {
|
|
type: 'MULTISIG',
|
|
submittedAt: 1698650125722,
|
|
nonce: 15,
|
|
safeTxGas: '0',
|
|
baseGas: '0',
|
|
gasPrice: '0',
|
|
gasToken: '0x0000000000000000000000000000000000000000',
|
|
refundReceiver: {
|
|
value: '0x0000000000000000000000000000000000000000',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
safeTxHash: '0xcb83bc36cf4a2998e7fe222e36c458c59c3778f65b4e5bb361c29a73c2de62cc',
|
|
executor: null,
|
|
signers: [
|
|
{
|
|
value: '0x61a0c717d18232711bC788F19C9Cd56a43cc8872',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x0D65139Da4B36a8A39BF1b63e950038D42231b2e',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
confirmationsRequired: 1,
|
|
confirmations: [],
|
|
rejectors: [],
|
|
gasTokenInfo: null,
|
|
trusted: false,
|
|
},
|
|
safeAppInfo: null,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
},
|
|
entry1: {
|
|
11155111: {
|
|
'0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415': [
|
|
{
|
|
id: 'vn8dwe0amz',
|
|
timestamp: 1701091870022,
|
|
txDetails: {
|
|
safeAddress: '0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415',
|
|
txId: 'multisig_0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415_0xcb83bc36cf4a2998e7fe222e36c458c59c3778f65b4e5bb361c29a73c2de62cc',
|
|
executedAt: null,
|
|
txStatus: 'AWAITING_CONFIRMATIONS',
|
|
txInfo: {
|
|
type: 'Transfer',
|
|
humanDescription: null,
|
|
richDecodedInfo: null,
|
|
sender: {
|
|
value: '0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
recipient: {
|
|
value: '0x03042B890b99552b60A073F808100517fb148F60',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
direction: 'OUTGOING',
|
|
transferInfo: { type: 'NATIVE_COIN', value: '1000000000000000' },
|
|
},
|
|
txData: {
|
|
hexData: null,
|
|
dataDecoded: null,
|
|
to: {
|
|
value: '0x03042B890b99552b60A073F808100517fb148F60',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
value: '1000000000000000',
|
|
operation: 0,
|
|
trustedDelegateCallTarget: null,
|
|
addressInfoIndex: null,
|
|
},
|
|
txHash: null,
|
|
detailedExecutionInfo: {
|
|
type: 'MULTISIG',
|
|
submittedAt: 1698650125722,
|
|
nonce: 15,
|
|
safeTxGas: '0',
|
|
baseGas: '0',
|
|
gasPrice: '0',
|
|
gasToken: '0x0000000000000000000000000000000000000000',
|
|
refundReceiver: {
|
|
value: '0x0000000000000000000000000000000000000000',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
safeTxHash: '0xcb83bc36cf4a2998e7fe222e36c458c59c3778f65b4e5bb361c29a73c2de62cc',
|
|
executor: null,
|
|
signers: [
|
|
{
|
|
value: '0x61a0c717d18232711bC788F19C9Cd56a43cc8872',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x0D65139Da4B36a8A39BF1b63e950038D42231b2e',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
confirmationsRequired: 1,
|
|
confirmations: [],
|
|
rejectors: [],
|
|
gasTokenInfo: null,
|
|
trusted: false,
|
|
},
|
|
safeAppInfo: null,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
},
|
|
}
|
|
export const visitedSafes = {
|
|
set1: {
|
|
11155111: {
|
|
'0x905934aA8758c06B2422F0C90D97d2fbb6677811': {
|
|
lastVisited: 1732794651004,
|
|
},
|
|
},
|
|
},
|
|
}
|
|
export const addressBookData = {
|
|
proposers: {
|
|
11155111: { '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED': 'AD Proposer1' },
|
|
},
|
|
nestedsafes: {
|
|
11155111: {
|
|
'0xAD5e4a366cc840120701384fca4Ec9b8bEb47cAD': 'Main nested safe',
|
|
'0x22e5093F4A75c2E99A8EcabfBF8c5c7fDcaDCf9d': 'Nested safe1',
|
|
'0xE5577b9E75F94C4a900E74F63F79A7968e812208': 'Nested safe2',
|
|
},
|
|
},
|
|
addedSafesImport: {
|
|
11155111: { '0x6d0b6F96f665Bb4490f9ddb2e450Da2f7e546dC1': 'imported-safe' },
|
|
},
|
|
sepoliaAddress1: {
|
|
11155111: { '0x6a5602335a878ADDCa4BF63a050E34946B56B5bC': 'Owner1' },
|
|
},
|
|
sepoliaAddress2: {
|
|
11155111: {
|
|
'0xC16Db0251654C0a72E91B190d81eAD367d2C6fED': 'Automation owner',
|
|
},
|
|
},
|
|
dataSet: {
|
|
5: {
|
|
'0xD9cA710D531c20117dc74850C5CdebeDA86fbF76': '[email protected]',
|
|
'0x50564D5f8954f94E8045C59f2c884D7CE203b661': 'Relaxed Goerli Safe',
|
|
'0x96D56627215c084649596eaC87bEA4157d6A9304': 'Prominent Goerli Safe',
|
|
'0x2FD9a2F6e70E94deB76c54062564C99abFd3237D': 'Peaceful Goerli Safe',
|
|
'0xdF9De87c2D4932645813B1d878e45f60a299f3Af': 'Kind Goerli Safe',
|
|
'0xc8981a24a4F17b0C92cAF55A2bE30D3D0C689b95': 'Delighted Goerli Safe',
|
|
'0x81CC5855C98cfe29a70EAbA3840D9A9B90cA2B60': 'Delightful Goerli Safe',
|
|
'0x7C51F1e3948f0B1e4008A913Ed047bC2ED1fe75D': 'Congenial Goerli Safe',
|
|
},
|
|
11155111: {
|
|
'0x6E834E9D04ad6b26e1525dE1a37BFd9b215f40B7': 'test-sepolia-3',
|
|
'0xf405BC611F4a4c89CCB3E4d083099f9C36D966f8': 'sepolia-test-4',
|
|
'0x03042B890b99552b60A073F808100517fb148F60': 'sepolia-test-5',
|
|
'0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415': 'assets-test-sepolia',
|
|
},
|
|
},
|
|
importedSafe: {
|
|
5: {
|
|
'0x61a0c717d18232711bC788F19C9Cd56a43cc8872': 'test1',
|
|
'0x7724b234c9099C205F03b458944942bcEBA13408': 'test2',
|
|
'0x6E45d69a383CECa3d54688e833Bd0e1388747e6B': 'test3',
|
|
'0x10f999F150a2E7fd356Aa471bCBf0b75aA7b0e2A': 'safe 1 goerli',
|
|
},
|
|
100: {
|
|
'0x17b34aEf1428A358bA2eA360a098b8A3BEb698C8': 'safe 1 GNO',
|
|
'0x11A6B41322C57Bd0e56cEe06abB11A1E5c1FF1BB': 'Safe 2 GNO',
|
|
'0xB8d760a90a5ed54D3c2b3EFC231277e99188642A': 'main xdai safe',
|
|
'0x11B1D54B66e5e226D6f89069c21A569A22D98cfd': 'trez',
|
|
'0x61a0c717d18232711bC788F19C9Cd56a43cc8872': 'test1',
|
|
'0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8': 'ow1',
|
|
'0x0D65139Da4B36a8A39BF1b63e950038D42231b2e': 'ow 2',
|
|
},
|
|
137: {
|
|
'0xC680d44F526f4372693CAc21dcab255b77bc58F4': 'Safe 1 Poly',
|
|
'0x61a0c717d18232711bC788F19C9Cd56a43cc8872': 'Test1 Poly',
|
|
},
|
|
11155111: {
|
|
'0x6E834E9D04ad6b26e1525dE1a37BFd9b215f40B7': 'test-sepolia-3',
|
|
},
|
|
},
|
|
addedSafes: {
|
|
1: {
|
|
'0x8675B754342754A30A2AeF474D114d8460bca19b': 'Added safe 900',
|
|
},
|
|
11155111: {
|
|
'0x0A0EEb6fBCc7c82259E548Fc4617175A357b3e71': 'Added safe 200',
|
|
'0xF21445699e91aC6F2EeeAF1a19510AC4197e59aB': 'Added owner',
|
|
'0x9E6DAfe829431e1892EcF8461FDAd02665170c31': 'Added non-owner',
|
|
},
|
|
},
|
|
multichain: {
|
|
137: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': 'Multichain polygon',
|
|
},
|
|
11155111: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': 'Multichain Sepolia',
|
|
},
|
|
},
|
|
undeployed: {
|
|
11155111: {
|
|
'0x926186108f74dB20BFeb2b6c888E523C78cb7E00': 'Undeployed Sepolia',
|
|
},
|
|
},
|
|
undeployedSet: {
|
|
100: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': 'Safe A',
|
|
},
|
|
1: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': 'Safe B',
|
|
},
|
|
},
|
|
undeployedEth: {
|
|
1: {
|
|
'0x926186108f74dB20BFeb2b6c888E523C78cb7E00': 'Undeployed Sepolia',
|
|
},
|
|
},
|
|
sortingData: {
|
|
11155111: {
|
|
'0xC16Db0251654C0a72E91B190d81eAD367d2C6fED': 'AA Safe',
|
|
'0x6a5602335a878ADDCa4BF63a050E34946B56B5bC': 'BB Safe',
|
|
},
|
|
},
|
|
autofillData: {
|
|
11155111: {
|
|
'0x01A9F68e339da12565cfBc47fe7D6EdEcB11C46f': 'David',
|
|
},
|
|
},
|
|
sameOwnerName: {
|
|
11155111: {
|
|
'0xC16Db0251654C0a72E91B190d81eAD367d2C6fED': 'Automation owner Sepolia',
|
|
},
|
|
1: {
|
|
'0xC16Db0251654C0a72E91B190d81eAD367d2C6fED': 'Automation owner Eth',
|
|
},
|
|
},
|
|
safeSchiledAddressBook: {
|
|
137: {
|
|
'0x773B97f0b2D38Dbf5C8CbE04C2C622453500F3e0': 'Test Recipient',
|
|
'0xb412684F4F0B5d27cC4A4D287F42595aB3ae124D': 'Test Safe Address',
|
|
'0x9445deb174C1eCbbfce8d31D33F438B8e7a0F1BA': 'Test Signer (Owner 4)',
|
|
},
|
|
},
|
|
pagination: {
|
|
11155111: {
|
|
'0xB8Bfd72663602dB33A454e3D899fb1ee95F54c26': 'Safe 1',
|
|
'0x368D6B0Aa605253D19AB7C1F006a61Aa46bbECEb': 'Safe 2',
|
|
'0x9190cc22D592dDcf396Fa616ce84a9978fD96Fc9': 'Safe 3',
|
|
'0x98705770aF3b18db0a64597F6d4DCe825915fec0': 'Safe 4',
|
|
'0xC23e061252BFc7967203D054136d8fA7c7df2fc4': 'Safe 5',
|
|
'0x0Ec5EF749cce5185900819A3457C0f9129a9a9a1': 'Safe 6',
|
|
'0x0A0EEb6fBCc7c82259E548Fc4617175A357b3e71': 'Safe 7',
|
|
'0x10B45a24640E2170B6AA63ea3A289D723a0C9cba': 'Safe 8',
|
|
'0xF21445699e91aC6F2EeeAF1a19510AC4197e59aB': 'Safe 9',
|
|
'0x9E6DAfe829431e1892EcF8461FDAd02665170c31': 'Safe 10',
|
|
'0x6d0b6F96f665Bb4490f9ddb2e450Da2f7e546dC1': 'Safe 11',
|
|
'0xB8Bfd72663602dB33A454e3D899fb1ee95F54c26': 'Safe 12',
|
|
'0x6E834E9D04ad6b26e1525dE1a37BFd9b215f40B7': 'Safe 13',
|
|
'0xBb26E3717172d5000F87DeFd391994f789D80aEB': 'Safe 14',
|
|
'0x905934aA8758c06B2422F0C90D97d2fbb6677811': 'Safe 15',
|
|
'0xf8D6450d6ae36328cBAA97B1998C741be498c5D3': 'Safe 16',
|
|
'0xBd69b0a9DC90eB6F9bAc3E4a5875f437348b6415': 'Safe 17',
|
|
'0x5912f6616c84024cD1aff0D5b55bb36F5180fFdb': 'Safe 18',
|
|
'0x81034C61a318649F7aD43f9e8C1051427e326443': 'Safe 19',
|
|
'0x06373d5e45AD31BD354CeBfA8dB4eD2c75B8708e': 'Safe 20',
|
|
'0x4DD4cB2299E491E1B469245DB589ccB2B16d7bde': 'Safe 21',
|
|
'0xD1571E8Cc4438aFef2836DD9a0E5D09fb63EDE9a': 'Safe 22',
|
|
'0x691B95d2531BFf662767839d668d3D7651524C21': 'Safe 23',
|
|
'0x39419cC835046D0c7beca69638eBBDD0F9FD85e4': 'Safe 24',
|
|
'0xBf30F749FC027a5d79c4710D988F0D3C8e217A4F': 'Safe 25',
|
|
'0x8A89C14ed0900a95fc94075D0823f8c744789a40': 'Safe 26',
|
|
'0xc2F3645bfd395516d1a18CA6ad9298299d328C01': 'Safe 27',
|
|
},
|
|
},
|
|
cookies: cookieState,
|
|
}
|
|
|
|
export const safeSettings = {
|
|
settings1: {
|
|
currency: 'eur',
|
|
tokenList: 'TRUSTED',
|
|
hiddenTokens: {},
|
|
shortName: {
|
|
show: false,
|
|
qr: false,
|
|
},
|
|
theme: {
|
|
darkMode: true,
|
|
},
|
|
env: {
|
|
rpc: {},
|
|
tenderly: {
|
|
url: '',
|
|
accessToken: '',
|
|
},
|
|
},
|
|
signing: {
|
|
onChainSigning: false,
|
|
},
|
|
transactionExecution: true,
|
|
},
|
|
slimitSettings: {
|
|
currency: 'usd',
|
|
tokenList: 'ALL',
|
|
hiddenTokens: {},
|
|
hideDust: false,
|
|
shortName: {
|
|
show: true,
|
|
qr: true,
|
|
},
|
|
theme: {},
|
|
env: {
|
|
rpc: {},
|
|
tenderly: {
|
|
url: '',
|
|
accessToken: '',
|
|
},
|
|
},
|
|
signing: {
|
|
onChainSigning: false,
|
|
},
|
|
transactionExecution: true,
|
|
},
|
|
}
|
|
|
|
export const addedSafes = {
|
|
set1: {
|
|
5: {
|
|
'0x10f999F150a2E7fd356Aa471bCBf0b75aA7b0e2A': {
|
|
owners: [
|
|
{ value: '0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8' },
|
|
{ value: '0x61a0c717d18232711bC788F19C9Cd56a43cc8872' },
|
|
],
|
|
threshold: 2,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
100: {
|
|
'0x17b34aEf1428A358bA2eA360a098b8A3BEb698C8': {
|
|
owners: [{ value: '0x11B1D54B66e5e226D6f89069c21A569A22D98cfd' }],
|
|
threshold: 1,
|
|
ethBalance: '0.001000002',
|
|
},
|
|
'0x11A6B41322C57Bd0e56cEe06abB11A1E5c1FF1BB': {
|
|
owners: [
|
|
{ value: '0x7724b234c9099C205F03b458944942bcEBA13408' },
|
|
{ value: '0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8' },
|
|
{ value: '0x0D65139Da4B36a8A39BF1b63e950038D42231b2e' },
|
|
],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0xB8d760a90a5ed54D3c2b3EFC231277e99188642A': {
|
|
owners: [
|
|
{ value: '0x11B1D54B66e5e226D6f89069c21A569A22D98cfd' },
|
|
{ value: '0x457D3Fcb58401F9b98d83BC2fe7BF57FF57603AB' },
|
|
{ value: '0x61a0c717d18232711bC788F19C9Cd56a43cc8872' },
|
|
{ value: '0xFD71c1ABadBD37F60E4C8F208386dDFC4d2Bf01f' },
|
|
{ value: '0x5aC255889882aCd3da2aA939679E3f3d4cea221e' },
|
|
{ value: '0x474e5Ded6b5D078163BFB8F6dBa355C3aA5478C8' },
|
|
{ value: '0x86a9F6704280Ac2b99aBD60ed74bF9cF899bd925' },
|
|
{ value: '0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8' },
|
|
{ value: '0x0D65139Da4B36a8A39BF1b63e950038D42231b2e' },
|
|
],
|
|
threshold: 1,
|
|
ethBalance: '0.92132507668989',
|
|
},
|
|
},
|
|
137: {
|
|
'0xC680d44F526f4372693CAc21dcab255b77bc58F4': {
|
|
owners: [
|
|
{ value: '0x0D65139Da4B36a8A39BF1b63e950038D42231b2e' },
|
|
{ value: '0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8' },
|
|
],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
11155111: {
|
|
'0x027bBe128174F0e5e5d22ECe9623698E01cd3970': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x96D4c6fFC338912322813a77655fCC926b9A5aC5',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0x6E834E9D04ad6b26e1525dE1a37BFd9b215f40B7': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x96D4c6fFC338912322813a77655fCC926b9A5aC5',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
set2: {
|
|
11155111: {
|
|
'0x6d0b6F96f665Bb4490f9ddb2e450Da2f7e546dC1': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0x5912f6616c84024cD1aff0D5b55bb36F5180fFdb': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x96D4c6fFC338912322813a77655fCC926b9A5aC5',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 2,
|
|
ethBalance: '0.442500000005',
|
|
},
|
|
'0x06373d5e45AD31BD354CeBfA8dB4eD2c75B8708e': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0x96D4c6fFC338912322813a77655fCC926b9A5aC5',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 1,
|
|
ethBalance: '0.058000000005',
|
|
},
|
|
'0xD1571E8Cc4438aFef2836DD9a0E5D09fb63EDE9a': {
|
|
owners: [
|
|
{
|
|
value: '0x96D4c6fFC338912322813a77655fCC926b9A5aC5',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0x0A0EEb6fBCc7c82259E548Fc4617175A357b3e71': {
|
|
owners: [
|
|
{
|
|
value: '0x8aEf2f5c3F17261F6F1C4dA058D022BE92776af8',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 2,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
1: {
|
|
'0x8675B754342754A30A2AeF474D114d8460bca19b': {
|
|
owners: [{ value: '0x11B1D54B66e5e226D6f89069c21A569A22D98cfd' }],
|
|
threshold: 1,
|
|
ethBalance: '0.001000002',
|
|
},
|
|
},
|
|
},
|
|
set3: {
|
|
11155111: {
|
|
'0xF21445699e91aC6F2EeeAF1a19510AC4197e59aB': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 2,
|
|
ethBalance: '0',
|
|
},
|
|
'0x9E6DAfe829431e1892EcF8461FDAd02665170c31': {
|
|
owners: [
|
|
{
|
|
value: '0x96D4c6fFC338912322813a77655fCC926b9A5aC5',
|
|
name: null,
|
|
logoUri: null,
|
|
},
|
|
],
|
|
threshold: 2,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** Watchlist safe (safe3short). Includes visited safe SEP_STATIC_SAFE_9 when used with addToAppLocalStorage after visit. */
|
|
set4: {
|
|
11155111: {
|
|
'0x98705770aF3b18db0a64597F6d4DCe825915fec0': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0x86Cb401afF6A25A335c440C25954A70b3c232C27': {
|
|
owners: [
|
|
{
|
|
value: '0x70997970C51812dc3A010C7d01b50e0d17dc79C8',
|
|
},
|
|
{
|
|
value: '0x12d0Ad7d21bdbe7E05AB0aDd973C58fB48b52Ae5',
|
|
},
|
|
],
|
|
threshold: 1,
|
|
},
|
|
},
|
|
},
|
|
set5: {
|
|
137: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
},
|
|
],
|
|
threshold: 1,
|
|
},
|
|
},
|
|
11155111: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
},
|
|
],
|
|
threshold: 1,
|
|
},
|
|
},
|
|
},
|
|
/** set5 plus one trusted safe (safe1) on Sepolia - for "Add network" single-safe sidebar test */
|
|
set5WithSingleSafe: {
|
|
137: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
},
|
|
],
|
|
threshold: 1,
|
|
},
|
|
},
|
|
11155111: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [
|
|
{
|
|
value: '0xC16Db0251654C0a72E91B190d81eAD367d2C6fED',
|
|
},
|
|
],
|
|
threshold: 1,
|
|
},
|
|
'0xBb26E3717172d5000F87DeFd391994f789D80aEB': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** CF safe + undeployed. Includes visited safe SEP_STATIC_SAFE_9 when used with addToAppLocalStorage after visit. */
|
|
set6_undeployed_safe: {
|
|
11155111: {
|
|
'0x98705770aF3b18db0a64597F6d4DCe825915fec0': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0x926186108f74dB20BFeb2b6c888E523C78cb7E00': {
|
|
owners: [
|
|
{
|
|
value: '0x9445deb174C1eCbbfce8d31D33F438B8e7a0F1BA',
|
|
},
|
|
],
|
|
threshold: 1,
|
|
},
|
|
'0xBb26E3717172d5000F87DeFd391994f789D80aEB': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** Sidebar tests: one trusted safe (safe1) on Sepolia. Includes visited safe SEP_STATIC_SAFE_9 so overwrite does not drop it. */
|
|
sidebarTrustedSafe1: {
|
|
11155111: {
|
|
'0x98705770aF3b18db0a64597F6d4DCe825915fec0': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0xBb26E3717172d5000F87DeFd391994f789D80aEB': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** Trusted safes in sidebar-sidebar3.cy.js, sidebar5.cy.js */
|
|
sidebarTrustedSafe1Safe2: {
|
|
11155111: {
|
|
'0x98705770aF3b18db0a64597F6d4DCe825915fec0': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0xBb26E3717172d5000F87DeFd391994f789D80aEB': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0x905934aA8758c06B2422F0C90D97d2fbb6677811': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
1: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** Sidebar tests: safe3 on Sepolia + safe3 on Ethereum (chain 1). Includes visited safe SEP_STATIC_SAFE_9 so overwrite does not drop it. */
|
|
sidebarTrustedSafe3TwoChains: {
|
|
11155111: {
|
|
'0x98705770aF3b18db0a64597F6d4DCe825915fec0': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
1: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** Sidebar tests: safe1 + safe2 + safe3 on Sepolia. Includes chain 1 (Ethereum) visited safe for tests that visit MATIC_STATIC_SAFE_28 on eth. */
|
|
sidebarTrustedSafe1Safe2Safe3: {
|
|
11155111: {
|
|
'0xBb26E3717172d5000F87DeFd391994f789D80aEB': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0x905934aA8758c06B2422F0C90D97d2fbb6677811': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
1: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** Sidebar tests: pending-actions safe (SEP_STATIC_SAFE_7) on Sepolia */
|
|
sidebarTrustedPendingSafe1: {
|
|
11155111: {
|
|
'0x5912f6616c84024cD1aff0D5b55bb36F5180fFdb': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** Nested safes: parent safe SEP_STATIC_SAFE_39 on Sepolia */
|
|
nestedParentSafe39: {
|
|
11155111: {
|
|
'0xAD5e4a366cc840120701384fca4Ec9b8bEb47cAD': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
/** Nested safes: parent safe SEP_STATIC_SAFE_45 on Sepolia */
|
|
nestedParentSafe45: {
|
|
11155111: {
|
|
'0x5958B92f412408bF12Bbc8638d524ebe5878E795': {
|
|
owners: [],
|
|
threshold: 1,
|
|
ethBalance: '0',
|
|
},
|
|
},
|
|
},
|
|
}
|
|
|
|
export const pinnedApps = {
|
|
transactionBuilder: { 11155111: { pinned: [24], opened: [] } },
|
|
}
|
|
|
|
export const customApps = (url) => ({
|
|
safeTestApp: [{ url: url }],
|
|
grantedPermissions: {
|
|
[url]: [
|
|
{ feature: 'camera', status: 'granted' },
|
|
{ feature: 'microphone', status: 'granted' },
|
|
],
|
|
},
|
|
})
|
|
|
|
const infoModalAccepted = {
|
|
11155111: {
|
|
consentsAccepted: true,
|
|
warningCheckedCustomApps: [],
|
|
},
|
|
}
|
|
|
|
export const appPermissions = (url) => ({
|
|
grantedPermissions: {
|
|
[url]: [
|
|
{ feature: 'camera', status: 'granted' },
|
|
{ feature: 'microphone', status: 'granted' },
|
|
],
|
|
},
|
|
infoModalAccepted: JSON.stringify(infoModalAccepted),
|
|
})
|
|
|
|
// Safe (SDK) permissions payload for SAFE_PERMISSIONS_KEY, as stored after accepting the prompt
|
|
export const safeAppSafePermissions = (appUrl) => ({
|
|
[appUrl]: [{ invoker: appUrl, parentCapability: 'requestAddressBook', date: 1111111111111, caveats: [] }],
|
|
})
|
|
|
|
export const cookies = {
|
|
acceptedCookies: JSON.stringify(cookieState),
|
|
acceptedTokenListOnboarding: true,
|
|
}
|
|
|
|
export const safeLabsTerms = {
|
|
acceptedTerms: 'true',
|
|
}
|
|
|
|
export const pendingCfDeletes = {
|
|
// Two ghost entries pointing at already-deleted CGW records. Used to reproduce
|
|
// the "[CF Sync] Failed to flush pending CF delete" 404 spam regression.
|
|
twoGhostEntries: [
|
|
{ chainId: '11155111', address: '0x111111111111111111111111111111111111aaaa' },
|
|
{ chainId: '11155111', address: '0x222222222222222222222222222222222222bbbb' },
|
|
],
|
|
}
|
|
|
|
export const undeployedSafe = {
|
|
safe1: {
|
|
11155111: {
|
|
'0x926186108f74dB20BFeb2b6c888E523C78cb7E00': {
|
|
props: {
|
|
safeAccountConfig: {
|
|
threshold: 1,
|
|
owners: ['0x9445deb174C1eCbbfce8d31D33F438B8e7a0F1BA'],
|
|
fallbackHandler: '0x017062a1dE2FE6b99BE3d9d37841FeD19F573804',
|
|
},
|
|
safeDeploymentConfig: {
|
|
saltNonce: '21',
|
|
safeVersion: '1.3.0',
|
|
},
|
|
},
|
|
status: {
|
|
status: 'AWAITING_EXECUTION',
|
|
type: 'PayLater',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
safes2: {
|
|
1: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
props: {
|
|
safeAccountConfig: {
|
|
threshold: 1,
|
|
owners: ['0x3ba5d9a6d6169429Adb278768D9681A125C01Af6'],
|
|
fallbackHandler: '0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99',
|
|
},
|
|
safeDeploymentConfig: {
|
|
saltNonce: '0',
|
|
safeVersion: '1.4.1',
|
|
},
|
|
},
|
|
status: {
|
|
status: 'AWAITING_EXECUTION',
|
|
type: 'PayLater',
|
|
},
|
|
},
|
|
},
|
|
100: {
|
|
'0xC96ee38f5A73C8A70b565CB8EA938D2aF913ee3B': {
|
|
props: {
|
|
safeAccountConfig: {
|
|
threshold: 1,
|
|
owners: ['0x3ba5d9a6d6169429Adb278768D9681A125C01Af6'],
|
|
fallbackHandler: '0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99',
|
|
},
|
|
safeDeploymentConfig: {
|
|
saltNonce: '0',
|
|
safeVersion: '1.4.1',
|
|
},
|
|
},
|
|
status: {
|
|
status: 'AWAITING_EXECUTION',
|
|
type: 'PayLater',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|