Gets the balances to be transferred for a given transfer with increments.
For a transfer with balances: [{ badgeIds: [{ start: 1n, end: 1n }], amount: 1n }], incrementIdsBy: 1n, toAddressesLength: 1000We return [{ badgeIds: [{ start: 1n, end: 1000n }], amount: 1n }] because we transfer x1 badge to 1000 addressesand increment the badgeIds by 1 each time.This is really inefficient and should be optimized for large N. Copy
For a transfer with balances: [{ badgeIds: [{ start: 1n, end: 1n }], amount: 1n }], incrementIdsBy: 1n, toAddressesLength: 1000We return [{ badgeIds: [{ start: 1n, end: 1000n }], amount: 1n }] because we transfer x1 badge to 1000 addressesand increment the badgeIds by 1 each time.This is really inefficient and should be optimized for large N.
Gets the balances to be transferred for a given transfer with increments.
Example