source_map
- class SourceMap(source_map: Dict[str, Any])
Bases:
object
Decodes a VLQ-encoded source mapping between PC values and TEAL source code lines. Spec available here: https://sourcemaps.info/spec.html
- Parameters
source_map (dict(str, Any)) – source map JSON from algod
- get_line_for_pc(pc: int) Optional[int]
- get_pcs_for_line(line: int) Optional[List[int]]