Skip to content

Commit

Permalink
bugfix: LIVE-12665 desactivate tezos unrevealed account swap (#6915)
Browse files Browse the repository at this point in the history
  • Loading branch information
CremaFR authored May 24, 2024
1 parent f0aad82 commit 8dabb3b
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .changeset/eight-coins-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"ledger-live-desktop": patch
"live-mobile": patch
"@ledgerhq/live-common": patch
---

desactivate tezos unrevealed account swap
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import SwapFormSelectors from "./FormSelectors";
import { SwapMigrationUI } from "./Migrations/SwapMigrationUI";
import EmptyState from "./Rates/EmptyState";
import SwapWebView, { SwapWebProps, useSwapLiveAppManifestID } from "./SwapWebView";
import { maybeTezosAccountUnrevealedAccount } from "@ledgerhq/live-common/exchange/swap/index";

const DAPP_PROVIDERS = ["paraswap", "oneinch", "moonpay"];

Expand Down Expand Up @@ -105,7 +106,10 @@ const SwapForm = () => {
}, []);

const exchangeRatesState = swapTransaction.swap?.rates;
const swapError = swapTransaction.fromAmountError || exchangeRatesState?.error;
const swapError =
swapTransaction.fromAmountError ||
exchangeRatesState?.error ||
maybeTezosAccountUnrevealedAccount(swapTransaction);
const swapWarning = swapTransaction.fromAmountWarning;
const pageState = usePageState(swapTransaction, swapError);
const provider = useMemo(() => exchangeRate?.provider, [exchangeRate?.provider]);
Expand Down
3 changes: 3 additions & 0 deletions apps/ledger-live-desktop/static/i18n/en/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6082,6 +6082,9 @@
"FailedToRetrieveFirmwareUpdateInfo": {
"title": "OS update check failed",
"description": "Something went wrong. Please try again or contact Ledger Support if in doubt."
},
"TezosUnrevealedAccount": {
"title": "Swap unavailable: Initial send/delegate needed with Tezos account or change pair."
}
},
"cryptoOrg": {
Expand Down
3 changes: 3 additions & 0 deletions apps/ledger-live-mobile/src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,9 @@
"SequenceNumberError": {
"title": "Sequence number error",
"description": "Please close the window and try again later"
},
"TezosUnrevealedAccount": {
"title": "Swap unavailable: Initial send/delegate needed with Tezos account or change pair."
}
},
"crash": {
Expand Down
10 changes: 8 additions & 2 deletions apps/ledger-live-mobile/src/screens/Swap/Form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ import { BaseNavigatorStackParamList } from "~/components/RootNavigator/types/Ba
import { SwapFormNavigatorParamList } from "~/components/RootNavigator/types/SwapFormNavigator";
import { formatCurrencyUnit } from "@ledgerhq/live-common/currencies/index";
import type { DetailsSwapParamList } from "../types";
import { getAvailableProviders } from "@ledgerhq/live-common/exchange/swap/index";
import {
getAvailableProviders,
maybeTezosAccountUnrevealedAccount,
} from "@ledgerhq/live-common/exchange/swap/index";
import { DEFAULT_SWAP_RATES_LLM_INTERVAL_MS } from "@ledgerhq/live-common/exchange/swap/const/timeout";
import { useSelectedSwapRate } from "./useSelectedSwapRate";
import { walletSelector } from "~/reducers/wallet";
Expand Down Expand Up @@ -133,7 +136,10 @@ export function SwapForm({
);
}, [exchangeRatesState.value, swapTransaction.swap.to.currency]);

const swapError = swapTransaction.fromAmountError || exchangeRatesState?.error;
const swapError =
swapTransaction.fromAmountError ||
exchangeRatesState?.error ||
maybeTezosAccountUnrevealedAccount(swapTransaction);
const swapWarning = swapTransaction.fromAmountWarning;
const pageState = usePageState(swapTransaction, swapError || swapWarning);

Expand Down
2 changes: 2 additions & 0 deletions libs/ledger-live-common/src/exchange/swap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import getCompleteSwapHistory from "./getCompleteSwapHistory";
import initSwap from "./initSwap";
import { postSwapAccepted, postSwapCancelled } from "./postSwapState";
import getExchangeRates from "./getExchangeRates";
import { maybeTezosAccountUnrevealedAccount } from "./maybeTezosAccountUnrevealedAccount";

export { getAvailableProviders } from "../providers";

Expand Down Expand Up @@ -130,6 +131,7 @@ export {
getCompleteSwapHistory,
postSwapAccepted,
getExchangeRates,
maybeTezosAccountUnrevealedAccount,
postSwapCancelled,
initSwap,
USStates,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { SwapTransactionType } from "./types";

export const maybeTezosAccountUnrevealedAccount = (
swapTransaction: SwapTransactionType,
): Error | undefined => {
if (
swapTransaction?.transaction?.family == "tezos" &&
swapTransaction?.transaction?.estimatedFees &&
swapTransaction?.transaction?.fees !== swapTransaction?.transaction?.estimatedFees
) {
const tezosError = new Error("Cannot swap with an unrevealed Tezos account");
tezosError.name = "TezosUnrevealedAccount";
return tezosError;
}
};

1 comment on commit 8dabb3b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Bot] Testing with 'Nitrogen' ✅ 3 txs ($4.19) ⏲ 86.7s

✅ 1 specs are successful: Algorand

What is the bot and how does it work? Everything is documented here!

⚠️ 1 spec hints
  • Spec Algorand:
    • mutations should define a testDestination(): opt-In ASA available
Details of the 3 mutations

Spec Algorand (6)

Spec Algorand found 6 Algorand accounts. Will use Algorand 2.1.11 on nanoS 2.1.0
undefined: 2.9 ALGO (404ops) (TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4 on 44'/283'/0'/0/0) #0 js:2:algorand:TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4:
undefined: 3.34806 ALGO (403ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ:
undefined: 2.4 ALGO (418ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE:
undefined: 5.75203 ALGO (449ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA:
undefined: 8.67444 ALGO (372ops) (GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI on 44'/283'/4'/0/0) #4 js:2:algorand:GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI:
undefined: 0 ALGO (0ops) (X3TNYJCHUW6UBWVEN5K2ULWMLRWRGBEUWZLR4V2XR3UDN4TWNZP3Q6EAQU on 44'/283'/5'/0/0) #5 js:2:algorand:X3TNYJCHUW6UBWVEN5K2ULWMLRWRGBEUWZLR4V2XR3UDN4TWNZP3Q6EAQU:
necessary accounts resynced in 0.19ms
▬ Algorand 2.1.11 on nanoS 2.1.0
→ FROM undefined: 3.34806 ALGO (403ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ: 0.348063 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Exodus: 0 EXIT (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount Opulous: 0 OPUL (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)
max spendable ~0.347063
★ using mutation 'opt-In ASA available'
→ TO undefined: 3.34806 ALGO (403ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ:
✔️ transaction 
    OPT_IN 0 ALGO
    TO RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ
    with fees=0.001 ALGO
STATUS (342ms)
  amount: 0 ALGO
  estimated fees: 0.001 ALGO
  total spent: 0.001 ALGO
errors: 
warnings: 
✔️ has been signed! (4.9s) 
✔️ broadcasted! (137ms) optimistic operation: 
  -0.001 ALGO        OPT_IN     7CRWFM47VOCDDZQIZXPISDMGYL3TCJNDV2ZAEG2ZVGJMLNOX4ANA 2024-05-24T12:08
✔️ operation confirmed (10.3s): 
  -0.001 ALGO        OPT_IN     7CRWFM47VOCDDZQIZXPISDMGYL3TCJNDV2ZAEG2ZVGJMLNOX4ANA 2024-05-24T12:08 REWARDS : 0 ALGO          
✔️ undefined: 3.34706 ALGO (404ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ: 0.247063 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Netflix: 0 M-NFLX (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Exodus: 0 EXIT (0 ops)
  TokenAccount Yieldly: 0 YLDY (0 ops)
  TokenAccount AlgoGems: 0 GEMS (0 ops)
  TokenAccount Opulous: 0 OPUL (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)
  TokenAccount goETH: 0 goETH (0 ops)(in 10.3s)

necessary accounts resynced in 0.22ms
▬ Algorand 2.1.11 on nanoS 2.1.0
→ FROM undefined: 5.75203 ALGO (449ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA: 3.552031 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)
max spendable ~3.55103
★ using mutation 'send max'
→ TO undefined: 2.4 ALGO (418ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE:
✔️ transaction 
    SEND MAX
    TO YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE
    with fees=0.001 ALGO
STATUS (764ms)
  amount: 3.551031 ALGO
  estimated fees: 0.001 ALGO
  total spent: 3.552031 ALGO
errors: 
warnings: 
✔️ has been signed! (4.7s) 
✔️ broadcasted! (143ms) optimistic operation: 
  -3.552031 ALGO     OUT        LOATXC65FG7NQICFIGKNF5JSOJE5XWIIUDQWNB2UOLBTXRYBYVJQ 2024-05-24T12:08
✔️ operation confirmed (10.2s): 
  -3.552031 ALGO     OUT        LOATXC65FG7NQICFIGKNF5JSOJE5XWIIUDQWNB2UOLBTXRYBYVJQ 2024-05-24T12:08 REWARDS : 0 ALGO          
✔️ undefined: 2.2 ALGO (450ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA: 0 ALGO spendable. 
  TokenAccount Asia Reserve Currency Coin: 0 ARCC (0 ops)
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Twitter: 0 M-TWTR (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount PLANET: 0 PLANETS (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Smile Coin: 0 SMILE (0 ops)
  TokenAccount goBTC: 0 goBTC (0 ops)
  TokenAccount Nimble: 0 NIMBLE (0 ops)(in 10.2s)
✔️ destination operation 
  +3.551031 ALGO     IN         LOATXC65FG7NQICFIGKNF5JSOJE5XWIIUDQWNB2UOLBTXRYBYVJQ 2024-05-24T12:08 REWARDS : 0 ALGO          
(in 10.3s)

necessary accounts resynced in 0.23ms
▬ Algorand 2.1.11 on nanoS 2.1.0
→ FROM undefined: 8.67444 ALGO (372ops) (GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI on 44'/283'/4'/0/0) #4 js:2:algorand:GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI: 6.674442 ALGO spendable. 
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Opulous: 0 OPUL (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)
max spendable ~6.67344
★ using mutation 'move ~50%'
→ TO undefined: 2.9 ALGO (404ops) (TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4 on 44'/283'/0'/0/0) #0 js:2:algorand:TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4:
✔️ transaction 
    SEND 3.34574 ALGO
    TO TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4
    with fees=0.001 ALGO
STATUS (491ms)
  amount: 3.345749 ALGO
  estimated fees: 0.001 ALGO
  total spent: 3.346749 ALGO
errors: 
warnings: 
✔️ has been signed! (4.8s) 
✔️ broadcasted! (84ms) optimistic operation: 
  -3.346749 ALGO     OUT        OJH3H6YN3SF4YQEEEFEWFG7EPCTNGHBUQAMD3AXHBFV4MVD2J7LA 2024-05-24T12:09
✔️ operation confirmed (10.2s): 
  -3.346749 ALGO     OUT        OJH3H6YN3SF4YQEEEFEWFG7EPCTNGHBUQAMD3AXHBFV4MVD2J7LA 2024-05-24T12:09 REWARDS : 0 ALGO          
✔️ undefined: 5.32769 ALGO (373ops) (GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI on 44'/283'/4'/0/0) #4 js:2:algorand:GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI: 3.327693 ALGO spendable. 
  TokenAccount MESE USD Exchange Token: 0 USD-MESE (0 ops)
  TokenAccount MESE Index Fund: 0 MESX (0 ops)
  TokenAccount Micro-Microsoft: 0 M-MSFT (0 ops)
  TokenAccount Micro-Amazon: 0 M-AMZN (0 ops)
  TokenAccount Micro-Google: 0 M-GOOGL (0 ops)
  TokenAccount Micro-Apple: 0 M-AAPL (0 ops)
  TokenAccount Micro-Tesla: 0 M-TSLA (0 ops)
  TokenAccount Realio Token: 0 RIO (0 ops)
  TokenAccount realioUSD: 0 RUSD (0 ops)
  TokenAccount Liquid Mining Fund I: 0 RHO 1 (0 ops)
  TokenAccount Credit Opportunities Fund I: 0 VAL 1 (0 ops)
  TokenAccount Meld Gold: 0 MCAU (0 ops)
  TokenAccount Meld Silver: 0 MCAG (0 ops)
  TokenAccount USDC: 0 USDC (0 ops)
  TokenAccount HEADLINE: 0 HDL (0 ops)
  TokenAccount Opulous: 0 OPUL (0 ops)
  TokenAccount Choice Coin: 0 CHOICE (0 ops)
  TokenAccount goMINT: 0 goMINT (0 ops)
  TokenAccount CollecteursX: 0 CLTR (0 ops)(in 10.2s)
✔️ destination operation 
  +3.345749 ALGO     IN         OJH3H6YN3SF4YQEEEFEWFG7EPCTNGHBUQAMD3AXHBFV4MVD2J7LA 2024-05-24T12:09 REWARDS : 0 ALGO          
(in 10.3s)


Details of the 2 uncovered mutations

Spec Algorand (2)

  • send ASA ~50%: Spendable balance is too low (3)
  • claim rewards: No pending rewards (3)
Portfolio ($4.19) – Details of the 1 currencies
Spec (accounts) State Remaining Runs (est) funds?
Algorand (6) 2051 ops (+5), 10.5745 ALGO ($4.19) 💪 999+ TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4
undefined: 6.24574 ALGO (405ops) (TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4 on 44'/283'/0'/0/0) #0 js:2:algorand:TM4WJOS4MZ2TD775W7GSXZMBUF74YT6SKSBXCZY3N7OUIAPXE54MZ5FCD4:
undefined: 3.34706 ALGO (404ops) (RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ on 44'/283'/1'/0/0) #1 js:2:algorand:RWYWVHL3QJSTOLJTM6TIQ65LZX5IUJMHRMSEISS5FGJ7CRLTJSH3S5UAQQ:
undefined: 5.95103 ALGO (419ops) (YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE on 44'/283'/2'/0/0) #2 js:2:algorand:YHPWECPNX7OU2AS5NGEC6JUFZRUZWKXKO5RK267DEMQZ2R7IBCE2MAAYNE:
undefined: 2.2 ALGO (450ops) (WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA on 44'/283'/3'/0/0) #3 js:2:algorand:WNBXHLRE6IL5W5S3UO2FUWW7DJ6NUBVIVCYV2K66MFE3ABLAPDVEJX5ILA:
undefined: 5.32769 ALGO (373ops) (GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI on 44'/283'/4'/0/0) #4 js:2:algorand:GEPEPFCOO7TRQ3HKU5IKQPARS7DDXDHH6Y2VNMUJWH7TMLLOZ3Z6JKRQAI:
undefined: 0 ALGO (0ops) (X3TNYJCHUW6UBWVEN5K2ULWMLRWRGBEUWZLR4V2XR3UDN4TWNZP3Q6EAQU on 44'/283'/5'/0/0) #5 js:2:algorand:X3TNYJCHUW6UBWVEN5K2ULWMLRWRGBEUWZLR4V2XR3UDN4TWNZP3Q6EAQU:
Performance ⏲ 86.7s

Time spent for each spec: (total across mutations)

Spec (accounts) preload scan re-sync tx status sign op broadcast test destination test
TOTAL 1.11ms 16.2s 1.22ms 1596ms 14.4s 365ms 30.8s 20.6s
Algorand (5) 1.11ms 16.2s 1.22ms 1596ms 14.4s 365ms 30.8s 20.6s

What is the bot and how does it work? Everything is documented here!

Please sign in to comment.