Contract.source_code()

Returns the source code of the contract.

source_code() → str

Example query

from glider import *

def query():
  contracts = Contracts().exec(1)

  print(contracts[0].source_code())

  return contracts

Example output

Last updated