@ledgerhq/coin-celo
Version:
42 lines • 1.57 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const devices_1 = require("@ledgerhq/devices");
const index_1 = require("@ledgerhq/cryptoassets/index");
const index_2 = require("./specs/index");
const speculos_deviceActions_1 = require("./speculos-deviceActions");
const currency = (0, index_1.getCryptoCurrencyById)("celo");
const send50PercentMutation = (0, index_2.createSend50PercentMutation)();
const sendMaxMutation = (0, index_2.createSendMaxMutation)();
const registerAccountMutation = (0, index_2.createRegisterAccountMutation)();
const unlockMutation = (0, index_2.createUnlockMutation)();
const lockMutation = (0, index_2.createLockMutation)();
const voteMutation = (0, index_2.createVoteMutation)();
const activateVoteMutation = (0, index_2.createActivateVoteMutation)();
const revokeVoteMutation = (0, index_2.createRevokeVoteMutation)();
const withdrawMutation = (0, index_2.createWithdrawMutation)();
const celo = {
name: "Celo",
currency,
appQuery: {
model: devices_1.DeviceModelId.nanoS,
appName: "Celo",
},
testTimeout: 4 * 60 * 1000,
genericDeviceAction: speculos_deviceActions_1.acceptTransaction,
minViableAmount: index_2.minimalAmount,
mutations: [
send50PercentMutation,
sendMaxMutation,
registerAccountMutation,
unlockMutation,
lockMutation,
voteMutation,
activateVoteMutation,
revokeVoteMutation,
withdrawMutation,
],
};
exports.default = {
celo,
};
//# sourceMappingURL=bot-specs.js.map