UNPKG

@ledgerhq/coin-celo

Version:
40 lines 1.55 kB
import { DeviceModelId } from "@ledgerhq/devices"; import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/index"; import { minimalAmount, createLockMutation, createRegisterAccountMutation, createSend50PercentMutation, createSendMaxMutation, createUnlockMutation, createVoteMutation, createActivateVoteMutation, createRevokeVoteMutation, createWithdrawMutation, } from "./specs/index"; import { acceptTransaction } from "./speculos-deviceActions"; const currency = getCryptoCurrencyById("celo"); const send50PercentMutation = createSend50PercentMutation(); const sendMaxMutation = createSendMaxMutation(); const registerAccountMutation = createRegisterAccountMutation(); const unlockMutation = createUnlockMutation(); const lockMutation = createLockMutation(); const voteMutation = createVoteMutation(); const activateVoteMutation = createActivateVoteMutation(); const revokeVoteMutation = createRevokeVoteMutation(); const withdrawMutation = createWithdrawMutation(); const celo = { name: "Celo", currency, appQuery: { model: DeviceModelId.nanoS, appName: "Celo", }, testTimeout: 4 * 60 * 1000, genericDeviceAction: acceptTransaction, minViableAmount: minimalAmount, mutations: [ send50PercentMutation, sendMaxMutation, registerAccountMutation, unlockMutation, lockMutation, voteMutation, activateVoteMutation, revokeVoteMutation, withdrawMutation, ], }; export default { celo, }; //# sourceMappingURL=bot-specs.js.map