mirror of
https://github.com/luxfi/safe-ios.git
synced 2026-10-30 15:19:20 +00:00
Handles #2886 Changes proposed in this pull request: - Shows warning in the transaction details if: - transaction is awaiting signatures or execution AND - ( transaction has no confirmations OR - confirming addresses are not safe owners OR - confirming addresses do not match recovered addresses from confirmation signatures )
215 lines
6.9 KiB
JSON
215 lines
6.9 KiB
JSON
{
|
|
"testCaseName": "Transaction confirmation signer is not in safe owners",
|
|
"chain": {
|
|
"chainId": "1",
|
|
"chainName": "Ethereum",
|
|
"description": "The main Ethereum network",
|
|
"l2": false,
|
|
"nativeCurrency": {
|
|
"name": "Ether",
|
|
"symbol": "ETH",
|
|
"decimals": 18,
|
|
"logoUri": "https://safe-transaction-assets.safe.global/chains/1/currency_logo.png"
|
|
},
|
|
"transactionService": "https://safe-transaction-mainnet.safe.global",
|
|
"blockExplorerUriTemplate": {
|
|
"address": "https://etherscan.io/address/{{address}}",
|
|
"txHash": "https://etherscan.io/tx/{{txHash}}",
|
|
"api": "https://api.etherscan.io/api?module={{module}}&action={{action}}&address={{address}}&apiKey={{apiKey}}"
|
|
},
|
|
"disabledWallets": [
|
|
"NONE",
|
|
"opera",
|
|
"operaTouch",
|
|
"safeMobile",
|
|
"socialSigner",
|
|
"tally",
|
|
"trust",
|
|
"walletConnect"
|
|
],
|
|
"ensRegistryAddress": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
|
|
"features": [
|
|
"CONTRACT_INTERACTION",
|
|
"DEFAULT_TOKENLIST",
|
|
"DOMAIN_LOOKUP",
|
|
"EIP1271",
|
|
"EIP1559",
|
|
"ERC721",
|
|
"MOONPAY_MOBILE",
|
|
"NATIVE_WALLETCONNECT",
|
|
"PUSH_NOTIFICATIONS",
|
|
"RISK_MITIGATION",
|
|
"SAFE_APPS",
|
|
"SAFE_TX_GAS_OPTIONAL",
|
|
"SOCIAL_LOGIN",
|
|
"SPENDING_LIMIT",
|
|
"TX_SIMULATION"
|
|
],
|
|
"gasPrice": [
|
|
{
|
|
"type": "oracle",
|
|
"uri": "https://api.etherscan.io/api?module=gastracker&action=gasoracle&apikey=JNFAU892RF9TJWBU3EV7DJCPIWZY8KEMY1",
|
|
"gasParameter": "FastGasPrice",
|
|
"gweiFactor": "1000000000.000000000"
|
|
}
|
|
],
|
|
"publicRpcUri": {
|
|
"authentication": "NO_AUTHENTICATION",
|
|
"value": "https://cloudflare-eth.com"
|
|
},
|
|
"rpcUri": {
|
|
"authentication": "API_KEY_PATH",
|
|
"value": "https://mainnet.infura.io/v3/"
|
|
},
|
|
"safeAppsRpcUri": {
|
|
"authentication": "API_KEY_PATH",
|
|
"value": "https://mainnet.infura.io/v3/"
|
|
},
|
|
"shortName": "eth",
|
|
"theme": {
|
|
"textColor": "#001428",
|
|
"backgroundColor": "#DDDDDD"
|
|
}
|
|
},
|
|
"safe": {
|
|
"address": {
|
|
"value": "0xfF501B324DC6d78dC9F983f140B9211c3EdB4dc7",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
"chainId": "1",
|
|
"nonce": 20,
|
|
"threshold": 2,
|
|
"owners": [
|
|
{
|
|
"value": "0x9F87C1aCaF3Afc6a5557c58284D9F8609470b571",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
{
|
|
"value": "0x80F59C1D46EFC1Bb18F0AaEc132b77266f00Be9a",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
{
|
|
"value": "0x9F7dfAb2222A473284205cdDF08a677726d786A0",
|
|
"name": null,
|
|
"logoUri": null
|
|
}
|
|
],
|
|
"implementation": {
|
|
"value": "0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F",
|
|
"name": "Safe 1.1.1",
|
|
"logoUri": "https://safe-transaction-assets.safe.global/contracts/logos/0x34CfAC646f301356fAa8B21e94227e3583Fe3F5F.png"
|
|
},
|
|
"implementationVersionState": "OUTDATED",
|
|
"collectiblesTag": "1663062476",
|
|
"txQueuedTag": "1670938242",
|
|
"txHistoryTag": "1697840747",
|
|
"messagesTag": "1700560947",
|
|
"modules": [
|
|
{
|
|
"value": "0xCFbFaC74C26F8647cBDb8c5caf80BB5b32E43134",
|
|
"name": null,
|
|
"logoUri": null
|
|
}
|
|
],
|
|
"fallbackHandler": {
|
|
"value": "0xd5D82B6aDDc9027B22dCA772Aa68D5d74cdBdF44",
|
|
"name": "Safe: DefaultCallbackHandler 1.1.1",
|
|
"logoUri": "https://safe-transaction-assets.safe.global/contracts/logos/0xd5D82B6aDDc9027B22dCA772Aa68D5d74cdBdF44.png"
|
|
},
|
|
"guard": null,
|
|
"version": "1.1.1"
|
|
},
|
|
"tx": {
|
|
"safeAddress": "0xfF501B324DC6d78dC9F983f140B9211c3EdB4dc7",
|
|
"txId": "multisig_0xfF501B324DC6d78dC9F983f140B9211c3EdB4dc7_0xaed54190962dce2c448391841fcd7730eb23ac18c5fa2a7896ac9074bf38f127",
|
|
"executedAt": null,
|
|
"txStatus": "AWAITING_CONFIRMATIONS",
|
|
"txInfo": {
|
|
"type": "Custom",
|
|
"humanDescription": null,
|
|
"richDecodedInfo": null,
|
|
"to": {
|
|
"value": "0xfF501B324DC6d78dC9F983f140B9211c3EdB4dc7",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
"dataSize": "0",
|
|
"value": "0",
|
|
"methodName": null,
|
|
"actionCount": null,
|
|
"isCancellation": false
|
|
},
|
|
"txData": {
|
|
"hexData": null,
|
|
"dataDecoded": null,
|
|
"to": {
|
|
"value": "0xfF501B324DC6d78dC9F983f140B9211c3EdB4dc7",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
"value": "0",
|
|
"operation": 0,
|
|
"trustedDelegateCallTarget": null,
|
|
"addressInfoIndex": null
|
|
},
|
|
"txHash": null,
|
|
"detailedExecutionInfo": {
|
|
"type": "MULTISIG",
|
|
"submittedAt": 1614014118782,
|
|
"nonce": 20,
|
|
"safeTxGas": "43808",
|
|
"baseGas": "0",
|
|
"gasPrice": "0",
|
|
"gasToken": "0x0000000000000000000000000000000000000000",
|
|
"refundReceiver": {
|
|
"value": "0x0000000000000000000000000000000000000000",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
"safeTxHash": "0xaed54190962dce2c448391841fcd7730eb23ac18c5fa2a7896ac9074bf38f127",
|
|
"executor": null,
|
|
"signers": [
|
|
{
|
|
"value": "0x9F87C1aCaF3Afc6a5557c58284D9F8609470b571",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
{
|
|
"value": "0x8712128BEA09C9687Df05A5D692F3750F8086C81",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
{
|
|
"value": "0x80F59C1D46EFC1Bb18F0AaEc132b77266f00Be9a",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
{
|
|
"value": "0x9F7dfAb2222A473284205cdDF08a677726d786A0",
|
|
"name": null,
|
|
"logoUri": null
|
|
}
|
|
],
|
|
"confirmationsRequired": 2,
|
|
"confirmations": [
|
|
{
|
|
"signer": {
|
|
"value": "0x8712128BEA09C9687Df05A5D692F3750F8086C81",
|
|
"name": null,
|
|
"logoUri": null
|
|
},
|
|
"signature": "0x7dec7a1c46320f9bc4b62fe22e6ad34fe1f54b08c39637d064d104def4f3c812591ad2da837f5d9049d74e038811f76fcb33ac739e7ef866f696abdc9e55e1f51b",
|
|
"submittedAt": 1614014118798
|
|
}
|
|
],
|
|
"rejectors": [],
|
|
"gasTokenInfo": null,
|
|
"trusted": true
|
|
},
|
|
"safeAppInfo": null
|
|
}
|
|
}
|