CryptoFly.us | CRYPTOCURRENCY BITCOIN SHIRTS CLOTHING APPAREL HATS

CRYPTO NEWS

Shanghai Man: Fiat on-ramps dry up in China, crypto topics censored on social media

Is there a size limit to the amount of data you can return from a view function

Will this array "break" when someone calls the public getter function if there are too many entries? Here is my code: ListingLookup[] private allListings; struct ListingLookup { address borrowerAddress; address tokenAddress; uint256 tokenId; } Now, because the allListings is a public function, anyone can call and receive a tuple of each ListingLookup structs. Theoretically, this::Listen

Will this array "break" when someone calls the public getter function if there are too many entries?

Here is my code:

    ListingLookup[] private allListings;      struct ListingLookup {       address borrowerAddress;       address tokenAddress;       uint256 tokenId;      } 

Now, because the allListings is a public function, anyone can call and receive a tuple of each ListingLookup structs. Theoretically, this array could have millions of entries.

Shanghai Man: Fiat on-ramps dry up in China, crypto topics censored on social media

Shopping cart
There are no products in the cart!
Continue shopping
0