For the complete documentation index, see llms.txt. This page is also available as Markdown.

StateVariable.contract()

Returns state variable's parent contract if it exists.

contract() → Contract | NoneObject

Query Example

from glider import *


def query():
  return [
    state_var.contract()
    for state_var 
    in StateVariables().exec(10,10)
  ]

Example Output

Last updated