diff --git a/src/common/converters/tests/balances.rs b/src/common/converters/tests/balances.rs index 98c4f297f..48cd36f70 100644 --- a/src/common/converters/tests/balances.rs +++ b/src/common/converters/tests/balances.rs @@ -48,7 +48,9 @@ fn erc20_token_balance_usd_balance() { decimals: 8, symbol: "cETH".to_string(), name: "Compound Ether 📈".to_string(), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png".to_string()), + logo_uri: Some( + "https://example.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png".to_string(), + ), }, balance: "5002".to_string(), fiat_balance: "0.0014".to_string(), @@ -80,7 +82,9 @@ fn erc20_token_balance_fiat_is_twice_usd() { decimals: 8, symbol: "cETH".to_string(), name: "Compound Ether 📈".to_string(), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png".to_string()), + logo_uri: Some( + "https://example.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png".to_string(), + ), }, balance: "5002".to_string(), fiat_balance: "0.0028".to_string(), diff --git a/src/common/converters/tests/balances_v2.rs b/src/common/converters/tests/balances_v2.rs index 029d6788b..6a49c7c5b 100644 --- a/src/common/converters/tests/balances_v2.rs +++ b/src/common/converters/tests/balances_v2.rs @@ -50,7 +50,9 @@ fn erc20_token_balance_usd_balance() { decimals: 8, symbol: "cETH".to_string(), name: "Compound Ether 📈".to_string(), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png".to_string()), + logo_uri: Some( + "https://example.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png".to_string(), + ), }, balance: "5002".to_string(), fiat_balance: "0.00142".to_string(), @@ -82,7 +84,9 @@ fn erc20_token_balance_fiat_is_twice_usd() { decimals: 8, symbol: "cETH".to_string(), name: "Compound Ether 📈".to_string(), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png".to_string()), + logo_uri: Some( + "https://example.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png".to_string(), + ), }, balance: "5002".to_string(), fiat_balance: "0.00285".to_string(), diff --git a/src/common/converters/tests/transfer_erc20.rs b/src/common/converters/tests/transfer_erc20.rs index aabacd39e..2c41ab835 100644 --- a/src/common/converters/tests/transfer_erc20.rs +++ b/src/common/converters/tests/transfer_erc20.rs @@ -26,16 +26,16 @@ async fn erc20_transfer_dto_to_incoming_transfer_transaction() { sender: AddressEx::address_only("0xfFfa5813ED9a5DB4880D7303DB7d0cBe41bC771F"), recipient: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), direction: TransferDirection::Incoming, - transfer_info: TransferInfo::Erc20( - Erc20Transfer { - token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), - value: "1000000000000000000".to_string(), - token_name: Some("Dai".to_string()), - token_symbol: Some("DAI".to_string()), - decimals: Some(18), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string()), - } - ), + transfer_info: TransferInfo::Erc20(Erc20Transfer { + token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), + value: "1000000000000000000".to_string(), + token_name: Some("Dai".to_string()), + token_symbol: Some("DAI".to_string()), + decimals: Some(18), + logo_uri: Some( + "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string(), + ), + }), }; let actual = Erc20TransferDto::to_transfer_transaction( @@ -70,23 +70,23 @@ async fn erc20_transfer_dto_to_incoming_transfer_transaction_with_address_info() }); let expected = Transfer { - sender: AddressEx{ + sender: AddressEx { value: "0xfFfa5813ED9a5DB4880D7303DB7d0cBe41bC771F".to_string(), name: Some("".to_string()), - logo_uri: None + logo_uri: None, }, recipient: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), direction: TransferDirection::Incoming, - transfer_info: TransferInfo::Erc20( - Erc20Transfer { - token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), - value: "1000000000000000000".to_string(), - token_name: Some("Dai".to_string()), - token_symbol: Some("DAI".to_string()), - decimals: Some(18), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string()), - } - ), + transfer_info: TransferInfo::Erc20(Erc20Transfer { + token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), + value: "1000000000000000000".to_string(), + token_name: Some("Dai".to_string()), + token_symbol: Some("DAI".to_string()), + decimals: Some(18), + logo_uri: Some( + "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string(), + ), + }), }; let actual = Erc20TransferDto::to_transfer_transaction( @@ -122,22 +122,22 @@ async fn erc20_transfer_dto_to_outgoing_transfer_transaction_with_address_info() let expected = Transfer { sender: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), - recipient: AddressEx{ + recipient: AddressEx { value: "0xfFfa5813ED9a5DB4880D7303DB7d0cBe41bC771F".to_string(), name: Some("".to_string()), - logo_uri: None + logo_uri: None, }, direction: TransferDirection::Outgoing, - transfer_info: TransferInfo::Erc20( - Erc20Transfer { - token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), - value: "1000000000000000000".to_string(), - token_name: Some("Dai".to_string()), - token_symbol: Some("DAI".to_string()), - decimals: Some(18), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string()), - } - ), + transfer_info: TransferInfo::Erc20(Erc20Transfer { + token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), + value: "1000000000000000000".to_string(), + token_name: Some("Dai".to_string()), + token_symbol: Some("DAI".to_string()), + decimals: Some(18), + logo_uri: Some( + "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string(), + ), + }), }; let actual = Erc20TransferDto::to_transfer_transaction( @@ -160,16 +160,16 @@ async fn erc20_transfer_dto_to_transfer_info_token_available() { mock_info_provider.expect_safe_info().times(0); mock_info_provider.expect_token_info().times(0); - let expected = TransferInfo::Erc20( - Erc20Transfer { - token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), - value: "1000000000000000000".to_string(), - token_name: Some("Dai".to_string()), - token_symbol: Some("DAI".to_string()), - decimals: Some(18), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string()), - } - ); + let expected = TransferInfo::Erc20(Erc20Transfer { + token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), + value: "1000000000000000000".to_string(), + token_name: Some("Dai".to_string()), + token_symbol: Some("DAI".to_string()), + decimals: Some(18), + logo_uri: Some( + "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string(), + ), + }); let actual = Erc20TransferDto::to_transfer_info(&erc20_transfer, &mut mock_info_provider).await; @@ -213,13 +213,15 @@ async fn erc20_transfer_dto_get_token_info_present() { mock_info_provider.expect_safe_info().times(0); mock_info_provider.expect_token_info().times(0); - let expected = TransferInfo::Erc20 (Erc20Transfer{ + let expected = TransferInfo::Erc20(Erc20Transfer { token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), token_name: Some("Dai".to_string()), token_symbol: Some("DAI".to_string()), decimals: Some(18), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string()), - value: "1000000000000000000".to_string() + logo_uri: Some( + "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string(), + ), + value: "1000000000000000000".to_string(), }); let actual = Erc20TransferDto::to_transfer_info(&erc20_transfer, &mut mock_info_provider).await; @@ -240,13 +242,15 @@ async fn erc20_transfer_dto_get_token_info_not_present() { .times(1) .return_once(move |_| Ok(token_info)); - let expected = TransferInfo::Erc20 (Erc20Transfer{ + let expected = TransferInfo::Erc20(Erc20Transfer { token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), token_name: Some("Dai".to_string()), token_symbol: Some("DAI".to_string()), decimals: Some(18), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string()), - value: "1000000000000000000".to_string() + logo_uri: Some( + "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string(), + ), + value: "1000000000000000000".to_string(), }); let actual = Erc20TransferDto::to_transfer_info(&erc20_transfer, &mut mock_info_provider).await; diff --git a/src/common/converters/tests/transfer_erc721.rs b/src/common/converters/tests/transfer_erc721.rs index 963bda01f..1bc3b855a 100644 --- a/src/common/converters/tests/transfer_erc721.rs +++ b/src/common/converters/tests/transfer_erc721.rs @@ -26,15 +26,15 @@ async fn erc721_transfer_dto_to_incoming_transfer_transaction() { sender: AddressEx::address_only("0x938bae50a210b80EA233112800Cd5Bc2e7644300"), recipient: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), direction: TransferDirection::Incoming, - transfer_info: TransferInfo::Erc721( - Erc721Transfer { - token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), - token_id: "37".to_string(), - token_name: Some("PV Memorial Token".to_string()), - token_symbol: Some("PVT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string()), - } - ), + transfer_info: TransferInfo::Erc721(Erc721Transfer { + token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), + token_id: "37".to_string(), + token_name: Some("PV Memorial Token".to_string()), + token_symbol: Some("PVT".to_string()), + logo_uri: Some( + "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string(), + ), + }), }; let actual = Erc721TransferDto::to_transfer_transaction( @@ -69,18 +69,22 @@ async fn erc721_transfer_dto_to_incoming_transfer_transaction_with_address_info( }); let expected = Transfer { - sender: AddressEx { value: "0x938bae50a210b80EA233112800Cd5Bc2e7644300".to_string(), name: Some("".to_string()), logo_uri: None }, + sender: AddressEx { + value: "0x938bae50a210b80EA233112800Cd5Bc2e7644300".to_string(), + name: Some("".to_string()), + logo_uri: None, + }, recipient: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), direction: TransferDirection::Incoming, - transfer_info: TransferInfo::Erc721( - Erc721Transfer { - token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), - token_id: "37".to_string(), - token_name: Some("PV Memorial Token".to_string()), - token_symbol: Some("PVT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string()), - } - ), + transfer_info: TransferInfo::Erc721(Erc721Transfer { + token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), + token_id: "37".to_string(), + token_name: Some("PV Memorial Token".to_string()), + token_symbol: Some("PVT".to_string()), + logo_uri: Some( + "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string(), + ), + }), }; let actual = Erc721TransferDto::to_transfer_transaction( @@ -116,17 +120,21 @@ async fn erc721_transfer_dto_to_outgoing_transfer_transaction_with_address_info( let expected = Transfer { sender: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), - recipient: AddressEx{ value: "0x938bae50a210b80EA233112800Cd5Bc2e7644300".to_string(), name: Some("".to_string()), logo_uri: None }, + recipient: AddressEx { + value: "0x938bae50a210b80EA233112800Cd5Bc2e7644300".to_string(), + name: Some("".to_string()), + logo_uri: None, + }, direction: TransferDirection::Outgoing, - transfer_info: TransferInfo::Erc721( - Erc721Transfer { - token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), - token_id: "37".to_string(), - token_name: Some("PV Memorial Token".to_string()), - token_symbol: Some("PVT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string()), - } - ), + transfer_info: TransferInfo::Erc721(Erc721Transfer { + token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), + token_id: "37".to_string(), + token_name: Some("PV Memorial Token".to_string()), + token_symbol: Some("PVT".to_string()), + logo_uri: Some( + "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string(), + ), + }), }; let actual = Erc721TransferDto::to_transfer_transaction( @@ -149,15 +157,15 @@ async fn erc721_transfer_dto_to_transfer_info_token_available() { mock_info_provider.expect_safe_info().times(0); mock_info_provider.expect_token_info().times(0); - let expected = TransferInfo::Erc721( - Erc721Transfer { - token_id: "37".to_string(), - token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), - token_name: Some("PV Memorial Token".to_string()), - token_symbol: Some("PVT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string()), - } - ); + let expected = TransferInfo::Erc721(Erc721Transfer { + token_id: "37".to_string(), + token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), + token_name: Some("PV Memorial Token".to_string()), + token_symbol: Some("PVT".to_string()), + logo_uri: Some( + "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string(), + ), + }); let actual = Erc721TransferDto::to_transfer_info(&erc721_transfer, &mut mock_info_provider).await; @@ -202,13 +210,15 @@ async fn erc721_transfer_dto_get_token_info_present() { mock_info_provider.expect_safe_info().times(0); mock_info_provider.expect_token_info().times(0); - let expected = TransferInfo::Erc721(Erc721Transfer{ + let expected = TransferInfo::Erc721(Erc721Transfer { token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), token_id: "37".to_string(), token_name: Some("PV Memorial Token".to_string()), token_symbol: Some("PVT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string()) - }) ; + logo_uri: Some( + "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string(), + ), + }); let actual = Erc721TransferDto::to_transfer_info(&erc721_transfer, &mut mock_info_provider).await; @@ -231,12 +241,14 @@ async fn erc721_transfer_dto_get_token_info_not_present() { .times(1) .return_once(move |_| Ok(token_info)); - let expected = TransferInfo::Erc721 (Erc721Transfer{ + let expected = TransferInfo::Erc721(Erc721Transfer { token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), token_id: "37".to_string(), token_name: Some("PV Memorial Token".to_string()), token_symbol: Some("PVT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string()), + logo_uri: Some( + "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string(), + ), }); let actual = diff --git a/src/common/converters/tests/transfers.rs b/src/common/converters/tests/transfers.rs index 536ef53ea..17242995e 100644 --- a/src/common/converters/tests/transfers.rs +++ b/src/common/converters/tests/transfers.rs @@ -32,16 +32,16 @@ async fn erc_20_transfer_dto_to_transaction_info() { sender: AddressEx::address_only("0xfFfa5813ED9a5DB4880D7303DB7d0cBe41bC771F"), recipient: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), direction: TransferDirection::Incoming, - transfer_info: TransferInfo::Erc20( - Erc20Transfer { - token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), - value: "1000000000000000000".to_string(), - token_name: Some("Dai".to_string()), - token_symbol: Some("DAI".to_string()), - decimals: Some(18), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string()), - } - ), + transfer_info: TransferInfo::Erc20(Erc20Transfer { + token_address: "0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa".to_string(), + value: "1000000000000000000".to_string(), + token_name: Some("Dai".to_string()), + token_symbol: Some("DAI".to_string()), + decimals: Some(18), + logo_uri: Some( + "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png".to_string(), + ), + }), }); let actual = erc_20_transfer @@ -73,15 +73,15 @@ async fn erc_721_transfer_dto_to_transaction_info() { sender: AddressEx::address_only("0x938bae50a210b80EA233112800Cd5Bc2e7644300"), recipient: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), direction: TransferDirection::Incoming, - transfer_info: TransferInfo::Erc721( - Erc721Transfer { - token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), - token_id: "37".to_string(), - token_name: Some("PV Memorial Token".to_string()), - token_symbol: Some("PVT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string()), - } - ), + transfer_info: TransferInfo::Erc721(Erc721Transfer { + token_address: "0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98".to_string(), + token_id: "37".to_string(), + token_name: Some("PV Memorial Token".to_string()), + token_symbol: Some("PVT".to_string()), + logo_uri: Some( + "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png".to_string(), + ), + }), }); let actual = erc_721_transfer @@ -237,7 +237,9 @@ async fn transfer_erc20_transfer_with_erc721_token_info_returns_transfer_tx() { token_id: "856420144564".to_string(), token_name: Some("a!NEVER VISIT www.168pools.com to check DeFi ROi !".to_string()), token_symbol: Some("a!NEVER VISIT www.168pools.com to check DeFi ROi !".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xa9517B2E61a57350D6555665292dBC632C76adFe.png".to_string()), + logo_uri: Some( + "https://example.com/0xa9517B2E61a57350D6555665292dBC632C76adFe.png".to_string(), + ), }), }); diff --git a/src/routes/collectibles/routes.rs b/src/routes/collectibles/routes.rs index 347bc2f30..0f0724826 100644 --- a/src/routes/collectibles/routes.rs +++ b/src/routes/collectibles/routes.rs @@ -59,7 +59,7 @@ use super::models::Collectible; /// "address": "0xD753e03c05533F85bA9695C139771b1E9698a53C", /// "tokenName": "Main", /// "tokenSymbol": "JOSE", -/// "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD753e03c05533F85bA9695C139771b1E9698a53C.png", +/// "logoUri": "https://example.com/0xD753e03c05533F85bA9695C139771b1E9698a53C.png", /// "id": "2", /// "uri": "https://arweave.net/8Vje5kmuRKaJwYht19rl-tEte9J8WifCrXoCwAB2IK8", /// "name": "Chiken dinner", @@ -90,7 +90,7 @@ use super::models::Collectible; /// "address": "0xD753e03c05533F85bA9695C139771b1E9698a53C", /// "tokenName": "Main", /// "tokenSymbol": "JOSE", -/// "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD753e03c05533F85bA9695C139771b1E9698a53C.png", +/// "logoUri": "https://example.com/0xD753e03c05533F85bA9695C139771b1E9698a53C.png", /// "id": "4", /// "uri": "https://arweave.net/8Vje5kmuRKaJwYht19rl-tEte9J8WifCrXoCwAB2IK8", /// "name": "Chiken dinner", @@ -121,7 +121,7 @@ use super::models::Collectible; /// "address": "0xD753e03c05533F85bA9695C139771b1E9698a53C", /// "tokenName": "Main", /// "tokenSymbol": "JOSE", -/// "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD753e03c05533F85bA9695C139771b1E9698a53C.png", +/// "logoUri": "https://example.com/0xD753e03c05533F85bA9695C139771b1E9698a53C.png", /// "id": "5", /// "uri": "https://arweave.net/8Vje5kmuRKaJwYht19rl-tEte9J8WifCrXoCwAB2IK8", /// "name": "Chiken dinner", diff --git a/src/routes/safes/tests/json/last_collectible_transfer.json b/src/routes/safes/tests/json/last_collectible_transfer.json index 89e549eea..808e21afe 100644 --- a/src/routes/safes/tests/json/last_collectible_transfer.json +++ b/src/routes/safes/tests/json/last_collectible_transfer.json @@ -18,7 +18,7 @@ "name": "Main", "symbol": "TEST", "decimals": null, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD753e03c05533F85bA9695C139771b1E9698a53C.png" + "logoUri": "https://example.com/0xD753e03c05533F85bA9695C139771b1E9698a53C.png" }, "from": "0x4cb09344de5bCCD45F045c5Defa0E0452869FF0f" } diff --git a/src/routes/transactions/converters/tests/details.rs b/src/routes/transactions/converters/tests/details.rs index 6c36b8a9b..ac516a338 100644 --- a/src/routes/transactions/converters/tests/details.rs +++ b/src/routes/transactions/converters/tests/details.rs @@ -309,7 +309,10 @@ async fn ethereum_tx_transfer_to_transaction_details() { let expected = TransactionDetails { safe_address: "0xBc79855178842FDBA0c353494895DEEf509E26bB".to_string(), - tx_id: transfer.generate_id("0xBc79855178842FDBA0c353494895DEEf509E26bB", "0x317db9d079e46fef2f758e37bd20efb14d5c83e2510307079207bc6f04cdee48"), + tx_id: transfer.generate_id( + "0xBc79855178842FDBA0c353494895DEEf509E26bB", + "0x317db9d079e46fef2f758e37bd20efb14d5c83e2510307079207bc6f04cdee48", + ), executed_at: Some(transfer.get_execution_time().unwrap()), tx_status: TransactionStatus::Success, tx_hash: Some( @@ -323,8 +326,13 @@ async fn ethereum_tx_transfer_to_transaction_details() { token_address: "0xa9517B2E61a57350D6555665292dBC632C76adFe".to_string(), token_id: "856420144564".to_string(), token_name: Some("a!NEVER VISIT www.168pools.com to check DeFi ROi !".to_string()), - token_symbol: Some("a!NEVER VISIT www.168pools.com to check DeFi ROi !".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xa9517B2E61a57350D6555665292dBC632C76adFe.png".to_string()), + token_symbol: Some( + "a!NEVER VISIT www.168pools.com to check DeFi ROi !".to_string(), + ), + logo_uri: Some( + "https://example.com/0xa9517B2E61a57350D6555665292dBC632C76adFe.png" + .to_string(), + ), }), }), tx_data: None, diff --git a/src/routes/transactions/converters/tests/summary.rs b/src/routes/transactions/converters/tests/summary.rs index 47781968c..5c36b1768 100644 --- a/src/routes/transactions/converters/tests/summary.rs +++ b/src/routes/transactions/converters/tests/summary.rs @@ -465,7 +465,11 @@ async fn multisig_transaction_to_erc20_transfer_summary() { .return_once(move |_| bail!("No address info")); let expected = TransactionSummary { - id: create_id!(ID_PREFIX_MULTISIG_TX, "0x1230B3d59858296A31053C1b8562Ecf89A2f888b", "0x95e32bb8cb88ecdc45732c0a551eae7b3744187cf1ba19cda1440eaaf7b4950c"), + id: create_id!( + ID_PREFIX_MULTISIG_TX, + "0x1230B3d59858296A31053C1b8562Ecf89A2f888b", + "0x95e32bb8cb88ecdc45732c0a551eae7b3744187cf1ba19cda1440eaaf7b4950c" + ), timestamp: multisig_tx.execution_date.unwrap().timestamp_millis(), tx_status: TransactionStatus::Success, tx_info: TransactionInfo::Transfer(Transfer { @@ -476,7 +480,10 @@ async fn multisig_transaction_to_erc20_transfer_summary() { token_address: "0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02".to_string(), token_name: Some("Compound USDT".to_string()), token_symbol: Some("USDT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png".to_string()), + logo_uri: Some( + "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + .to_string(), + ), decimals: Some(18), value: "50000000000000".to_string(), }), @@ -522,7 +529,11 @@ async fn multisig_transaction_to_erc721_transfer_summary() { .return_once(move |_| bail!("No address info")); let expected = TransactionSummary { - id: create_id!(ID_PREFIX_MULTISIG_TX, "0x1230B3d59858296A31053C1b8562Ecf89A2f888b", "0x9155f7741dd33572bc49c251eb4f4a5e9cf9653151417bdc4a2aca0767779603"), + id: create_id!( + ID_PREFIX_MULTISIG_TX, + "0x1230B3d59858296A31053C1b8562Ecf89A2f888b", + "0x9155f7741dd33572bc49c251eb4f4a5e9cf9653151417bdc4a2aca0767779603" + ), timestamp: multisig_tx.execution_date.unwrap().timestamp_millis(), tx_status: TransactionStatus::Success, tx_info: TransactionInfo::Transfer(Transfer { @@ -534,7 +545,10 @@ async fn multisig_transaction_to_erc721_transfer_summary() { token_id: "1316".to_string(), token_name: Some("CryptoKitties".to_string()), token_symbol: Some("CK".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png".to_string()), + logo_uri: Some( + "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" + .to_string(), + ), }), }), execution_info: Some(ExecutionInfo::Multisig(MultisigExecutionInfo { @@ -816,7 +830,10 @@ async fn ethereum_transaction_with_inconsistent_token_types() { token_id: "856420144564".to_string(), token_name: Some("A! WWW.SPACESWAP.APP ! TOP DEFI AGGREGATOR !".to_string()), token_symbol: Some("A! WWW.SPACESWAP.APP ! TOP DEFI AGGREGATOR !".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xb07de4b2989E180F8907B8C7e617637C26cE2776.png".to_string()), + logo_uri: Some( + "https://example.com/0xb07de4b2989E180F8907B8C7e617637C26cE2776.png" + .to_string(), + ), }), }), execution_info: None, diff --git a/src/routes/transactions/converters/tests/transaction_types.rs b/src/routes/transactions/converters/tests/transaction_types.rs index 8dd7d9a3e..d735020ed 100644 --- a/src/routes/transactions/converters/tests/transaction_types.rs +++ b/src/routes/transactions/converters/tests/transaction_types.rs @@ -361,15 +361,16 @@ async fn transaction_data_decoded_is_erc20_receiver_ok_transfer_method() { sender: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), recipient: AddressEx::address_only("0x65F8236309e5A99Ff0d129d04E486EBCE20DC7B0"), direction: TransferDirection::Outgoing, - transfer_info: TransferInfo::Erc20( - Erc20Transfer { - token_address: "0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02".to_string(), - token_name: Some("Compound USDT".to_string()), - token_symbol: Some("USDT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png".to_string()), - decimals: Some(18), - value: "50000000000000".to_string(), - }), + transfer_info: TransferInfo::Erc20(Erc20Transfer { + token_address: "0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02".to_string(), + token_name: Some("Compound USDT".to_string()), + token_symbol: Some("USDT".to_string()), + logo_uri: Some( + "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png".to_string(), + ), + decimals: Some(18), + value: "50000000000000".to_string(), + }), }); let actual = tx.transaction_info(&mut mock_info_provider).await; @@ -398,15 +399,16 @@ async fn module_transaction_data_decoded_is_erc20_receiver_ok_transfer_method() sender: AddressEx::address_only("0x1230B3d59858296A31053C1b8562Ecf89A2f888b"), recipient: AddressEx::address_only("0xF353eBBa77e5E71c210599236686D51cA1F88b84"), direction: TransferDirection::Outgoing, - transfer_info: TransferInfo::Erc20( - Erc20Transfer { - token_address: "0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02".to_string(), - token_name: Some("Compound USDT".to_string()), - token_symbol: Some("USDT".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png".to_string()), - decimals: Some(18), - value: "100000000000000".to_string(), - }), + transfer_info: TransferInfo::Erc20(Erc20Transfer { + token_address: "0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02".to_string(), + token_name: Some("Compound USDT".to_string()), + token_symbol: Some("USDT".to_string()), + logo_uri: Some( + "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png".to_string(), + ), + decimals: Some(18), + value: "100000000000000".to_string(), + }), }); let actual = tx.transaction_info(&mut mock_info_provider).await; @@ -442,7 +444,9 @@ async fn transaction_data_decoded_is_erc721_receiver_ok_transfer_method() { token_id: "1316".to_string(), token_name: Some("CryptoKitties".to_string()), token_symbol: Some("CK".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png".to_string()), + logo_uri: Some( + "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png".to_string(), + ), }), }); @@ -478,7 +482,9 @@ async fn module_transaction_data_decoded_is_erc721_receiver_ok_transfer_method() token_id: "1316".to_string(), token_name: Some("CryptoKitties".to_string()), token_symbol: Some("CK".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png".to_string()), + logo_uri: Some( + "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png".to_string(), + ), }), }); @@ -626,7 +632,10 @@ async fn transaction_data_decoded_is_erc20_unexpected_parameter_names() { decimals: 18, symbol: "WETH".to_string(), name: "Wrapped Ether".to_string(), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xc778417E063141139Fce010982780140Aa0cD5Ab.png".to_string()), + logo_uri: Some( + "https://example.com/0xc778417E063141139Fce010982780140Aa0cD5Ab.png" + .to_string(), + ), }) }); @@ -642,7 +651,9 @@ async fn transaction_data_decoded_is_erc20_unexpected_parameter_names() { token_address: "0xc778417E063141139Fce010982780140Aa0cD5Ab".to_string(), token_name: Some("Wrapped Ether".to_string()), token_symbol: Some("WETH".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xc778417E063141139Fce010982780140Aa0cD5Ab.png".to_string()), + logo_uri: Some( + "https://example.com/0xc778417E063141139Fce010982780140Aa0cD5Ab.png".to_string(), + ), decimals: Some(18), value: "10000000000000000".to_string(), }), diff --git a/src/routes/transactions/converters/tests/transfer_type_checks.rs b/src/routes/transactions/converters/tests/transfer_type_checks.rs index 65ff2fa6e..574838620 100644 --- a/src/routes/transactions/converters/tests/transfer_type_checks.rs +++ b/src/routes/transactions/converters/tests/transfer_type_checks.rs @@ -18,7 +18,9 @@ async fn multisig_tx_check_erc721_transfer() { name: String::from("CryptoKitties"), symbol: String::from("CK"), decimals: 0, - logo_uri: Some(String::from("https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png")), + logo_uri: Some(String::from( + "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png", + )), }; let mut mock_info_provider = MockInfoProvider::new(); mock_info_provider.expect_safe_info().times(0); @@ -105,7 +107,9 @@ async fn multisig_tx_check_erc721_transfer() { token_id: "1126".to_string(), token_name: Some(String::from("CryptoKitties")), token_symbol: Some(String::from("CK")), - logo_uri: Some(String::from("https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png")), + logo_uri: Some(String::from( + "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png", + )), }), }); @@ -122,7 +126,9 @@ async fn multisig_tx_check_erc20_transfer() { name: String::from("Maker"), symbol: String::from("MKR"), decimals: 18, - logo_uri: Some(String::from("https://gnosis-safe-token-logos.s3.amazonaws.com/0xF9bA5210F91D0474bd1e1DcDAeC4C58E359AaD85.png")), + logo_uri: Some(String::from( + "https://example.com/0xF9bA5210F91D0474bd1e1DcDAeC4C58E359AaD85.png", + )), }; let mut mock_info_provider = MockInfoProvider::new(); mock_info_provider.expect_safe_info().times(0); @@ -208,7 +214,9 @@ async fn multisig_tx_check_erc20_transfer() { token_address: "0xF9bA5210F91D0474bd1e1DcDAeC4C58E359AaD85".to_string(), token_name: Some(String::from("Maker")), token_symbol: Some(String::from("MKR")), - logo_uri: Some(String::from("https://gnosis-safe-token-logos.s3.amazonaws.com/0xF9bA5210F91D0474bd1e1DcDAeC4C58E359AaD85.png")), + logo_uri: Some(String::from( + "https://example.com/0xF9bA5210F91D0474bd1e1DcDAeC4C58E359AaD85.png", + )), decimals: Some(18), value: "50000000000000".to_string(), }), diff --git a/src/routes/transactions/handlers/tests/transactions_history.rs b/src/routes/transactions/handlers/tests/transactions_history.rs index d09c2bc6d..76d47a560 100644 --- a/src/routes/transactions/handlers/tests/transactions_history.rs +++ b/src/routes/transactions/handlers/tests/transactions_history.rs @@ -164,7 +164,7 @@ async fn backend_txs_to_summary_txs_with_values() { "AQER".into(), ), logo_uri: Some( - "https://gnosis-safe-token-logos.s3.amazonaws.com/0x63704B63Ac04f3a173Dfe677C7e3D330c347CD88.png".into(), + "https://example.com/0x63704B63Ac04f3a173Dfe677C7e3D330c347CD88.png".into(), ), decimals: Some( 18, @@ -196,7 +196,7 @@ async fn backend_txs_to_summary_txs_with_values() { "AQER".into(), ), logo_uri: Some( - "https://gnosis-safe-token-logos.s3.amazonaws.com/0x63704B63Ac04f3a173Dfe677C7e3D330c347CD88.png".into(), + "https://example.com/0x63704B63Ac04f3a173Dfe677C7e3D330c347CD88.png".into(), ), decimals: Some(18), value: "100000000000000000".into(), @@ -226,7 +226,7 @@ async fn backend_txs_to_summary_txs_with_values() { "LS".into(), ), logo_uri: Some( - "https://gnosis-safe-token-logos.s3.amazonaws.com/0x81D0FF4fE216fB6aC98ED609086A92d94dbfE666.png".into(), + "https://example.com/0x81D0FF4fE216fB6aC98ED609086A92d94dbfE666.png".into(), ), decimals: Some( 18, diff --git a/src/routes/transactions/handlers/tests/transactions_queued.rs b/src/routes/transactions/handlers/tests/transactions_queued.rs index 53de60a0e..8c9375eff 100644 --- a/src/routes/transactions/handlers/tests/transactions_queued.rs +++ b/src/routes/transactions/handlers/tests/transactions_queued.rs @@ -239,7 +239,7 @@ async fn process_transactions_no_conflicts_everything_queued() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "10".to_string() }) @@ -272,7 +272,7 @@ async fn process_transactions_no_conflicts_everything_queued() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "20".to_string() }) @@ -303,7 +303,7 @@ async fn process_transactions_no_conflicts_everything_queued() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "20".to_string() }) @@ -400,7 +400,7 @@ async fn process_transactions_conflicts_in_queued() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "10".to_string() }) @@ -437,7 +437,7 @@ async fn process_transactions_conflicts_in_queued() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "20".to_string() }) @@ -468,7 +468,7 @@ async fn process_transactions_conflicts_in_queued() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "20".to_string() }) @@ -568,7 +568,7 @@ async fn process_transactions_conflicts_in_next() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "10".to_string() }), @@ -600,7 +600,7 @@ async fn process_transactions_conflicts_in_next() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "20".to_string() }) @@ -634,7 +634,7 @@ async fn process_transactions_conflicts_in_next() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "20".to_string() }) @@ -729,7 +729,7 @@ async fn process_transactions_conflicts_in_queued_spanning_to_next_page() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "10".to_string() }) @@ -763,7 +763,7 @@ async fn process_transactions_conflicts_in_queued_spanning_to_next_page() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "20".to_string() }) @@ -794,7 +794,7 @@ async fn process_transactions_conflicts_in_queued_spanning_to_next_page() { token_address: "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46".to_string(), token_name: Some("BigAmount".to_string()), token_symbol: Some("BA-T".to_string()), - logo_uri: Some("https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), + logo_uri: Some("https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png".to_string()), decimals: Some(1), value: "20".to_string() }) diff --git a/src/routes/transactions/tests/json/multisig_tx_details.json b/src/routes/transactions/tests/json/multisig_tx_details.json index de34a95c0..a0a42fc14 100644 --- a/src/routes/transactions/tests/json/multisig_tx_details.json +++ b/src/routes/transactions/tests/json/multisig_tx_details.json @@ -17,7 +17,7 @@ "tokenAddress": "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46", "tokenName": "BigAmount", "tokenSymbol": "BA-T", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png", + "logoUri": "https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png", "decimals": 1, "value": "20" } diff --git a/src/routes/transactions/tests/json/post_confirmation_result.json b/src/routes/transactions/tests/json/post_confirmation_result.json index 5cb144a85..348a7d61a 100644 --- a/src/routes/transactions/tests/json/post_confirmation_result.json +++ b/src/routes/transactions/tests/json/post_confirmation_result.json @@ -17,7 +17,7 @@ "tokenAddress": "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46", "tokenName": "BigAmount", "tokenSymbol": "BA-T", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png", + "logoUri": "https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png", "decimals": 1, "value": "20" } @@ -42,7 +42,7 @@ "to": { "value": "0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46", "name": "BigAmount", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png" + "logoUri": "https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png" }, "value": "0", "operation": 0 diff --git a/src/tests/json/balances/balance_compound_ether.json b/src/tests/json/balances/balance_compound_ether.json index 87c13a952..9a2c3b97f 100644 --- a/src/tests/json/balances/balance_compound_ether.json +++ b/src/tests/json/balances/balance_compound_ether.json @@ -4,7 +4,7 @@ "name": "Compound Ether 📈", "symbol": "cETH", "decimals": 8, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png" + "logoUri": "https://example.com/0xd6801a1DfFCd0a410336Ef88DeF4320D6DF1883e.png" }, "balance": "5002", "fiatBalance": "0.0014", diff --git a/src/tests/json/collectibles/collectibles_page.json b/src/tests/json/collectibles/collectibles_page.json index 92b70e78b..4deed0fca 100644 --- a/src/tests/json/collectibles/collectibles_page.json +++ b/src/tests/json/collectibles/collectibles_page.json @@ -3,7 +3,7 @@ "address": "0x7667A25a327ee97EEc7d5d69F846659238F3c078", "tokenName": "Copernicus.20200210.212404", "tokenSymbol": "CP", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x7667A25a327ee97EEc7d5d69F846659238F3c078.png", + "logoUri": "https://example.com/0x7667A25a327ee97EEc7d5d69F846659238F3c078.png", "id": "11", "uri": "https://projectcopernicus.autonomous-times.com/assets/json/ticket_11.json", "name": null, @@ -15,23 +15,23 @@ "address": "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85", "tokenName": "Ethereum Name Service", "tokenSymbol": "ENS", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png", + "logoUri": "https://example.com/ENS.png", "id": "73759565539416811842765838110575927933836232265069912251972739501781285886854", "uri": null, "name": "safe1.eth", "description": ".eth ENS Domain", - "imageUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png", + "imageUri": "https://example.com/ENS.png", "metadata": { "name": "safe1.eth", "description": ".eth ENS Domain", - "image": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png" + "image": "https://example.com/ENS.png" } }, { "address": "0xAad76bea7CFEc82927239415BB18D2e93518ecBB", "tokenName": ".crypto", "tokenSymbol": "UD", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", + "logoUri": "https://example.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", "id": "16901347448092016018370066087420610201854448193660137846183334589211113480159", "uri": "https://metadata.staging.unstoppabledomains.com/metadata/udtestdev-361786.crypto", "name": "udtestdev-361786.crypto", @@ -71,7 +71,7 @@ "address": "0xAad76bea7CFEc82927239415BB18D2e93518ecBB", "tokenName": ".crypto", "tokenSymbol": "UD", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", + "logoUri": "https://example.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", "id": "65064849277095008645805721699881592934207592453433429843849505605132523369844", "uri": "https://metadata.staging.unstoppabledomains.com/metadata/udtestdev-8f3755.crypto", "name": "udtestdev-8f3755.crypto", diff --git a/src/tests/json/collectibles/collectibles_paginated_page_1_cgw.json b/src/tests/json/collectibles/collectibles_paginated_page_1_cgw.json index bf1a5f1e8..00f238f3a 100644 --- a/src/tests/json/collectibles/collectibles_paginated_page_1_cgw.json +++ b/src/tests/json/collectibles/collectibles_paginated_page_1_cgw.json @@ -6,7 +6,7 @@ "address": "0x7667A25a327ee97EEc7d5d69F846659238F3c078", "tokenName": "Copernicus.20200210.212404", "tokenSymbol": "CP", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x7667A25a327ee97EEc7d5d69F846659238F3c078.png", + "logoUri": "https://example.com/0x7667A25a327ee97EEc7d5d69F846659238F3c078.png", "id": "11", "uri": "https://projectcopernicus.autonomous-times.com/assets/json/ticket_11.json", "name": null, @@ -18,23 +18,23 @@ "address": "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85", "tokenName": "Ethereum Name Service", "tokenSymbol": "ENS", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png", + "logoUri": "https://example.com/ENS.png", "id": "73759565539416811842765838110575927933836232265069912251972739501781285886854", "uri": null, "name": "safe1.eth", "description": ".eth ENS Domain", - "imageUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png", + "imageUri": "https://example.com/ENS.png", "metadata": { "name": "safe1.eth", "description": ".eth ENS Domain", - "image": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png" + "image": "https://example.com/ENS.png" } }, { "address": "0xAad76bea7CFEc82927239415BB18D2e93518ecBB", "tokenName": ".crypto", "tokenSymbol": "UD", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", + "logoUri": "https://example.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", "id": "16901347448092016018370066087420610201854448193660137846183334589211113480159", "uri": "https://metadata.staging.unstoppabledomains.com/metadata/udtestdev-361786.crypto", "name": "udtestdev-361786.crypto", diff --git a/src/tests/json/collectibles/collectibles_paginated_page_1_txs.json b/src/tests/json/collectibles/collectibles_paginated_page_1_txs.json index 9dc6f403c..3d72258d1 100644 --- a/src/tests/json/collectibles/collectibles_paginated_page_1_txs.json +++ b/src/tests/json/collectibles/collectibles_paginated_page_1_txs.json @@ -7,7 +7,7 @@ "address": "0x7667A25a327ee97EEc7d5d69F846659238F3c078", "tokenName": "Copernicus.20200210.212404", "tokenSymbol": "CP", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x7667A25a327ee97EEc7d5d69F846659238F3c078.png", + "logoUri": "https://example.com/0x7667A25a327ee97EEc7d5d69F846659238F3c078.png", "id": "11", "uri": "https://projectcopernicus.autonomous-times.com/assets/json/ticket_11.json", "name": null, @@ -19,23 +19,23 @@ "address": "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85", "tokenName": "Ethereum Name Service", "tokenSymbol": "ENS", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png", + "logoUri": "https://example.com/ENS.png", "id": "73759565539416811842765838110575927933836232265069912251972739501781285886854", "uri": null, "name": "safe1.eth", "description": ".eth ENS Domain", - "imageUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png", + "imageUri": "https://example.com/ENS.png", "metadata": { "name": "safe1.eth", "description": ".eth ENS Domain", - "image": "https://gnosis-safe-token-logos.s3.amazonaws.com/ENS.png" + "image": "https://example.com/ENS.png" } }, { "address": "0xAad76bea7CFEc82927239415BB18D2e93518ecBB", "tokenName": ".crypto", "tokenSymbol": "UD", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", + "logoUri": "https://example.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", "id": "16901347448092016018370066087420610201854448193660137846183334589211113480159", "uri": "https://metadata.staging.unstoppabledomains.com/metadata/udtestdev-361786.crypto", "name": "udtestdev-361786.crypto", diff --git a/src/tests/json/collectibles/collectibles_paginated_page_2_cgw.json b/src/tests/json/collectibles/collectibles_paginated_page_2_cgw.json index fc296cb87..7f0af97a1 100644 --- a/src/tests/json/collectibles/collectibles_paginated_page_2_cgw.json +++ b/src/tests/json/collectibles/collectibles_paginated_page_2_cgw.json @@ -7,7 +7,7 @@ "address": "0xAad76bea7CFEc82927239415BB18D2e93518ecBB", "tokenName": ".crypto", "tokenSymbol": "UD", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", + "logoUri": "https://example.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", "id": "65064849277095008645805721699881592934207592453433429843849505605132523369844", "uri": "https://metadata.staging.unstoppabledomains.com/metadata/udtestdev-8f3755.crypto", "name": "udtestdev-8f3755.crypto", diff --git a/src/tests/json/collectibles/collectibles_paginated_page_2_txs.json b/src/tests/json/collectibles/collectibles_paginated_page_2_txs.json index 33a3c7e1d..a1a0f63ce 100644 --- a/src/tests/json/collectibles/collectibles_paginated_page_2_txs.json +++ b/src/tests/json/collectibles/collectibles_paginated_page_2_txs.json @@ -8,7 +8,7 @@ "address": "0xAad76bea7CFEc82927239415BB18D2e93518ecBB", "tokenName": ".crypto", "tokenSymbol": "UD", - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", + "logoUri": "https://example.com/0xAad76bea7CFEc82927239415BB18D2e93518ecBB.png", "id": "65064849277095008645805721699881592934207592453433429843849505605132523369844", "uri": "https://metadata.staging.unstoppabledomains.com/metadata/udtestdev-8f3755.crypto", "name": "udtestdev-8f3755.crypto", diff --git a/src/tests/json/tokens/bat.json b/src/tests/json/tokens/bat.json index 00ee82a74..4a986d8fd 100644 --- a/src/tests/json/tokens/bat.json +++ b/src/tests/json/tokens/bat.json @@ -4,5 +4,5 @@ "name": "BigAmount", "symbol": "BA-T", "decimals": 1, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png" + "logoUri": "https://example.com/0xD81F7D71ed570D121A1Ef9e3Bc0fc2bd6192De46.png" } \ No newline at end of file diff --git a/src/tests/json/tokens/crypto_kitties.json b/src/tests/json/tokens/crypto_kitties.json index 39d04db66..e07d70088 100644 --- a/src/tests/json/tokens/crypto_kitties.json +++ b/src/tests/json/tokens/crypto_kitties.json @@ -4,5 +4,5 @@ "name": "CryptoKitties", "symbol": "CK", "decimals": 0, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" + "logoUri": "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" } \ No newline at end of file diff --git a/src/tests/json/tokens/dai.json b/src/tests/json/tokens/dai.json index 109cfb852..d72da3bb5 100644 --- a/src/tests/json/tokens/dai.json +++ b/src/tests/json/tokens/dai.json @@ -4,5 +4,5 @@ "name": "Dai", "symbol": "DAI", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png" + "logoUri": "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png" } \ No newline at end of file diff --git a/src/tests/json/tokens/pv_memorial_token.json b/src/tests/json/tokens/pv_memorial_token.json index e0d13cce6..2b55878cb 100644 --- a/src/tests/json/tokens/pv_memorial_token.json +++ b/src/tests/json/tokens/pv_memorial_token.json @@ -4,5 +4,5 @@ "name": "PV Memorial Token", "symbol": "PVT", "decimals": 0, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png" + "logoUri": "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png" } \ No newline at end of file diff --git a/src/tests/json/tokens/usdt.json b/src/tests/json/tokens/usdt.json index 8bfa3426d..c49477ca3 100644 --- a/src/tests/json/tokens/usdt.json +++ b/src/tests/json/tokens/usdt.json @@ -4,5 +4,5 @@ "name": "Compound USDT", "symbol": "USDT", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + "logoUri": "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" } \ No newline at end of file diff --git a/src/tests/json/transactions/backend_history_transaction_list_page.json b/src/tests/json/transactions/backend_history_transaction_list_page.json index 9b0de7056..ea9c23783 100644 --- a/src/tests/json/transactions/backend_history_transaction_list_page.json +++ b/src/tests/json/transactions/backend_history_transaction_list_page.json @@ -46,7 +46,7 @@ "name": "Wrapped Ether", "symbol": "WETH", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xc778417E063141139Fce010982780140Aa0cD5Ab.png" + "logoUri": "https://example.com/0xc778417E063141139Fce010982780140Aa0cD5Ab.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } @@ -96,7 +96,7 @@ "name": "Compound USDT", "symbol": "USDT", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + "logoUri": "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } @@ -146,7 +146,7 @@ "name": "Compound USDT", "symbol": "USDT", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + "logoUri": "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } @@ -175,7 +175,7 @@ "name": "TEST AQER", "symbol": "AQER", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x63704B63Ac04f3a173Dfe677C7e3D330c347CD88.png" + "logoUri": "https://example.com/0x63704B63Ac04f3a173Dfe677C7e3D330c347CD88.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } @@ -205,7 +205,7 @@ "name": "TEST AQER", "symbol": "AQER", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x63704B63Ac04f3a173Dfe677C7e3D330c347CD88.png" + "logoUri": "https://example.com/0x63704B63Ac04f3a173Dfe677C7e3D330c347CD88.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } @@ -235,7 +235,7 @@ "name": "LS", "symbol": "LS", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x81D0FF4fE216fB6aC98ED609086A92d94dbfE666.png" + "logoUri": "https://example.com/0x81D0FF4fE216fB6aC98ED609086A92d94dbfE666.png" }, "from": "0xf2565317F3Ae8Ae9EA98E9Fe1e7FADC77F823cbD" } diff --git a/src/tests/json/transactions/ethereum_inconsistent_token_types.json b/src/tests/json/transactions/ethereum_inconsistent_token_types.json index 24dae4b09..2ca359b3b 100644 --- a/src/tests/json/transactions/ethereum_inconsistent_token_types.json +++ b/src/tests/json/transactions/ethereum_inconsistent_token_types.json @@ -20,7 +20,7 @@ "name": "A! WWW.SPACESWAP.APP ! TOP DEFI AGGREGATOR !", "symbol": "A! WWW.SPACESWAP.APP ! TOP DEFI AGGREGATOR !", "decimals": null, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xb07de4b2989E180F8907B8C7e617637C26cE2776.png" + "logoUri": "https://example.com/0xb07de4b2989E180F8907B8C7e617637C26cE2776.png" }, "from": "0xd31e655bC4Eb5BCFe25A47d636B25bb4aa4041B2" } diff --git a/src/tests/json/transactions/module_erc20_transfer.json b/src/tests/json/transactions/module_erc20_transfer.json index 28d385e3e..05b9e5d5f 100644 --- a/src/tests/json/transactions/module_erc20_transfer.json +++ b/src/tests/json/transactions/module_erc20_transfer.json @@ -41,7 +41,7 @@ "name": "Compound USDT", "symbol": "USDT", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + "logoUri": "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } diff --git a/src/tests/json/transactions/module_erc721_transfer.json b/src/tests/json/transactions/module_erc721_transfer.json index 9621c6396..30882954e 100644 --- a/src/tests/json/transactions/module_erc721_transfer.json +++ b/src/tests/json/transactions/module_erc721_transfer.json @@ -41,7 +41,7 @@ "name": "CryptoKitties", "symbol": "CK", "decimals": 0, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" + "logoUri": "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } diff --git a/src/tests/json/transactions/multisig_erc20_transfer.json b/src/tests/json/transactions/multisig_erc20_transfer.json index ba64f4f0d..2e1d831f6 100644 --- a/src/tests/json/transactions/multisig_erc20_transfer.json +++ b/src/tests/json/transactions/multisig_erc20_transfer.json @@ -82,7 +82,7 @@ "name": "Compound USDT", "symbol": "USDT", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + "logoUri": "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } diff --git a/src/tests/json/transactions/multisig_erc20_transfer_delegate.json b/src/tests/json/transactions/multisig_erc20_transfer_delegate.json index 769c0c184..b27e7bd3a 100644 --- a/src/tests/json/transactions/multisig_erc20_transfer_delegate.json +++ b/src/tests/json/transactions/multisig_erc20_transfer_delegate.json @@ -82,7 +82,7 @@ "name": "Compound USDT", "symbol": "USDT", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + "logoUri": "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } diff --git a/src/tests/json/transactions/multisig_erc20_transfer_invalid_to_and_from.json b/src/tests/json/transactions/multisig_erc20_transfer_invalid_to_and_from.json index 8d0ba70d0..5bada2f9c 100644 --- a/src/tests/json/transactions/multisig_erc20_transfer_invalid_to_and_from.json +++ b/src/tests/json/transactions/multisig_erc20_transfer_invalid_to_and_from.json @@ -87,7 +87,7 @@ "name": "Compound USDT", "symbol": "USDT", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + "logoUri": "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" }, "from": "0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02" } diff --git a/src/tests/json/transactions/multisig_erc20_transfer_with_value.json b/src/tests/json/transactions/multisig_erc20_transfer_with_value.json index a68a0a4ea..4a03d2bf0 100644 --- a/src/tests/json/transactions/multisig_erc20_transfer_with_value.json +++ b/src/tests/json/transactions/multisig_erc20_transfer_with_value.json @@ -82,7 +82,7 @@ "name": "Compound USDT", "symbol": "USDT", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" + "logoUri": "https://example.com/0xD9BA894E0097f8cC2BBc9D24D308b98e36dc6D02.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } diff --git a/src/tests/json/transactions/multisig_erc721_transfer.json b/src/tests/json/transactions/multisig_erc721_transfer.json index bd4a77247..dfdf576a9 100644 --- a/src/tests/json/transactions/multisig_erc721_transfer.json +++ b/src/tests/json/transactions/multisig_erc721_transfer.json @@ -82,7 +82,7 @@ "name": "CryptoKitties", "symbol": "CK", "decimals": 0, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" + "logoUri": "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" }, "from": "0x1230B3d59858296A31053C1b8562Ecf89A2f888b" } diff --git a/src/tests/json/transactions/multisig_erc721_transfer_invalid_to_and_from.json b/src/tests/json/transactions/multisig_erc721_transfer_invalid_to_and_from.json index ce393a901..8be2e9c2e 100644 --- a/src/tests/json/transactions/multisig_erc721_transfer_invalid_to_and_from.json +++ b/src/tests/json/transactions/multisig_erc721_transfer_invalid_to_and_from.json @@ -87,7 +87,7 @@ "name": "CryptoKitties", "symbol": "CK", "decimals": 0, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" + "logoUri": "https://example.com/0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF.png" }, "from": "0x16baF0dE678E52367adC69fD067E5eDd1D33e3bF" } diff --git a/src/tests/json/transactions/multisig_with_origin.json b/src/tests/json/transactions/multisig_with_origin.json index 38dc1aaae..06aed66d3 100644 --- a/src/tests/json/transactions/multisig_with_origin.json +++ b/src/tests/json/transactions/multisig_with_origin.json @@ -139,7 +139,7 @@ "name": "Wrapped Ether", "symbol": "WETH", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2.png" + "logoUri": "https://example.com/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2.png" }, "from": "0xd47140F6Ab73f6d6B6675Fb1610Bb5E9B5d96FE5" } diff --git a/src/tests/json/transfers/erc20_transfer_with_erc721_token_info.json b/src/tests/json/transfers/erc20_transfer_with_erc721_token_info.json index c20aeedbf..78793c1a3 100644 --- a/src/tests/json/transfers/erc20_transfer_with_erc721_token_info.json +++ b/src/tests/json/transfers/erc20_transfer_with_erc721_token_info.json @@ -13,7 +13,7 @@ "name": "a!NEVER VISIT www.168pools.com to check DeFi ROi !", "symbol": "a!NEVER VISIT www.168pools.com to check DeFi ROi !", "decimals": null, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0xa9517B2E61a57350D6555665292dBC632C76adFe.png" + "logoUri": "https://example.com/0xa9517B2E61a57350D6555665292dBC632C76adFe.png" }, "from": "0xd31e655bC4Eb5BCFe25A47d636B25bb4aa4041B2" } diff --git a/src/tests/json/transfers/erc_20_transfer_with_token_info_incoming.json b/src/tests/json/transfers/erc_20_transfer_with_token_info_incoming.json index e4ac19abf..69c8aa0cf 100644 --- a/src/tests/json/transfers/erc_20_transfer_with_token_info_incoming.json +++ b/src/tests/json/transfers/erc_20_transfer_with_token_info_incoming.json @@ -14,6 +14,6 @@ "name": "Dai", "symbol": "DAI", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png" + "logoUri": "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png" } } \ No newline at end of file diff --git a/src/tests/json/transfers/erc_20_transfer_with_token_info_outgoing.json b/src/tests/json/transfers/erc_20_transfer_with_token_info_outgoing.json index 7dc16e27e..bd5b34218 100644 --- a/src/tests/json/transfers/erc_20_transfer_with_token_info_outgoing.json +++ b/src/tests/json/transfers/erc_20_transfer_with_token_info_outgoing.json @@ -14,6 +14,6 @@ "name": "Dai", "symbol": "DAI", "decimals": 18, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png" + "logoUri": "https://example.com/0x5592EC0cfb4dbc12D3aB100b257153436a1f0FEa.png" } } \ No newline at end of file diff --git a/src/tests/json/transfers/erc_721_transfer_with_token_info_incoming.json b/src/tests/json/transfers/erc_721_transfer_with_token_info_incoming.json index d99decdec..0376976e7 100644 --- a/src/tests/json/transfers/erc_721_transfer_with_token_info_incoming.json +++ b/src/tests/json/transfers/erc_721_transfer_with_token_info_incoming.json @@ -14,6 +14,6 @@ "name": "PV Memorial Token", "symbol": "PVT", "decimals": 0, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png" + "logoUri": "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png" } } \ No newline at end of file diff --git a/src/tests/json/transfers/erc_721_transfer_with_token_info_outgoing.json b/src/tests/json/transfers/erc_721_transfer_with_token_info_outgoing.json index e520b5e5c..1df53cf88 100644 --- a/src/tests/json/transfers/erc_721_transfer_with_token_info_outgoing.json +++ b/src/tests/json/transfers/erc_721_transfer_with_token_info_outgoing.json @@ -14,6 +14,6 @@ "name": "PV Memorial Token", "symbol": "PVT", "decimals": 0, - "logoUri": "https://gnosis-safe-token-logos.s3.amazonaws.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png" + "logoUri": "https://example.com/0x8979D84FF2c2B797dFEc02469d3a5322cBEf4b98.png" } } \ No newline at end of file