mradkov / aeternity-fungible-token

Aeternity blockchain Fungible Token reference implementation. The implementation is based on the proposed AEX9 standard for creating and usage of Sophia smart contract-based fungible tokens.
ISC License
6 stars 13 forks source link

Balance interface lacks paging #63

Closed Lfh2msn closed 3 years ago

Lfh2msn commented 3 years ago

there is a problem with balances, it does not support paging. With thousands or even tens of thousands of accounts, it is impossible to obtain all accounts.

mradkov commented 3 years ago

Use entrypoint balance : (address) => option(int) instead?

mradkov commented 3 years ago

Furthermore, this is only a reference implementation on the AEX9 standard, where we never specify in the interface any pagination of sorts.

I'm closing this issue, please re-open it if you think this topic needs further discussion :)