VariableListMath.StableSlotRow method
StableSlots mapping: the data index pool slot slot shows when the window starts at first. Row l lives in slot l % poolSize, so the window [first, first+poolSize) covers every slot exactly once and a row keeps its slot while it stays in the window. Use it in the row Funcs instead of first + slot. poolSize ≤ 0 ⇒ first + slot (the plain mapping).
public static int StableSlotRow(int first, int slot, int poolSize)See Also
Section titled “See Also”- class VariableListMath
- namespace Stellar.Abstractions.Services