@ledgerhq/coin-aptos
Version:
Ledger Aptos Coin integration
74 lines • 1.8 kB
JavaScript
import { deviceActionFlow, SpeculosButton } from "@ledgerhq/coin-framework/bot/specs";
export const acceptTransaction = deviceActionFlow({
steps: [
{
title: "Review",
button: SpeculosButton.RIGHT,
},
{
title: "Transaction Type",
button: SpeculosButton.RIGHT,
},
{
title: "Function",
button: SpeculosButton.RIGHT,
},
{
title: "Amount",
button: SpeculosButton.RIGHT,
},
{
title: "To (1/2)",
button: SpeculosButton.RIGHT,
},
{
title: "To (2/2)",
button: SpeculosButton.RIGHT,
},
{
title: "Gas Fee",
button: SpeculosButton.RIGHT,
},
{
title: "Approve",
button: SpeculosButton.BOTH,
},
],
});
export const acceptTokenTransaction = deviceActionFlow({
steps: [
{
title: "Review",
button: SpeculosButton.RIGHT,
},
{
title: "Transaction Type",
button: SpeculosButton.RIGHT,
},
{
title: "Function",
button: SpeculosButton.RIGHT,
},
{
title: "Amount",
button: SpeculosButton.RIGHT,
},
{
title: "To (1/2)",
button: SpeculosButton.RIGHT,
},
{
title: "To (2/2)",
button: SpeculosButton.RIGHT,
},
{
title: "Gas Fee",
button: SpeculosButton.RIGHT,
},
{
title: "Approve",
button: SpeculosButton.BOTH,
},
],
});
//# sourceMappingURL=speculos-deviceActions.js.map