Skip to main content

UnifiedSwapStorageCompositeIndexes

type UnifiedSwapStorageCompositeIndexes = readonly [{
keys: readonly ["initiator", "id"];
unique: false;
}, {
keys: readonly ["type", "state"];
unique: false;
}, {
keys: readonly ["type", "paymentHash"];
unique: false;
}, {
keys: readonly ["type", "initiator", "state"];
unique: false;
}];

Defined in: atomiq-sdk/src/storage/UnifiedSwapStorage.ts:37

Composite index types for SDK swap storage