LocalVariable.memory_property

Returns the memory type of the local variable.

property memory_type: str

Query Example

from glider import *


def query():
  functions = (
    Functions()
    .with_name("communityMint")
    .exec(1)
  )

  for func in functions:
    local_vars = func.local_variables().list()
    for local_var in local_vars:
      print(local_var.memory_type)

  return functions

Example Output

Last updated