Expand description
This module implements support for tracing related to PTB execution. IMPORTANT: Bodies of all public functions in this module should be enclosed in a large if statement checking if tracing is enabled or not to make sure that any errors coming from these functions only manifest itself when tracing is enabled.
Functionsยง
- add_
coin_ obj_ info - Adds coin object info to the mutable vector passed as an argument. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- add_
move_ value_ info_ from_ obj_ value - Adds
ExtMoveValueInfoto the mutable vector passed as an argument. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled. - add_
move_ value_ info_ from_ value - Adds
ExtMoveValueInfoto the mutable vector passed as an argument. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled. - trace_
execution_ error - Inserts execution error event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
make_ move_ vec - Inserts make move vec event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
merge_ coins - Inserts merge coins event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
move_ call_ end - Inserts Move call end event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
move_ call_ start - Inserts Move call start event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
ptb_ summary - Inserts PTB summary event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
publish_ event - Inserts publish event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
split_ coins - Inserts split coins event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
transfer - Inserts transfer event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.
- trace_
upgrade_ event - Inserts upgrade event into the trace. As is the case for all other public functions in this module, its body is (and must be) enclosed in an if statement checking if tracing is enabled.