UNPKG

@ledgerhq/coin-aptos

Version:
12 lines 435 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getFunctionAddress = void 0; function getFunctionAddress(payload) { if (payload.function) { const parts = payload.function.split("::"); return parts.length === 3 && parts[0].length ? parts[0] : undefined; } return undefined; } exports.getFunctionAddress = getFunctionAddress; //# sourceMappingURL=getFunctionAddress.js.map