@hanssv.chain
Thank you for your code, the pop_n function just remove the “n” top data of the list, how can i just return some of the data on the top of list , It is also change the contract status, It’s there a better way for get the subset of list data without change the contract status, just use the static call.
Ex:
let a = ( (1, 1, 1), (2, 2, 2,), (3, 3, 3), (4, 4, 4,) … (n, n, n, ) )
How to return (1, 1, 1), (2, 2, 2,), (3, 3, 3) or more, without change the contract status. Thank you.