@ic-wallet-kit/hpl
Version:
Ic middleware wallet HPL protocol
20 lines (19 loc) • 557 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransferAccountReferenceProvider = void 0;
class TransferAccountReferenceProvider {
static toTransferAccountReference(model) {
if (model.owner) {
return {
type: model.type,
owner: model.owner,
id: model.id,
};
}
return {
type: model.type,
id: model.id
};
}
}
exports.TransferAccountReferenceProvider = TransferAccountReferenceProvider;