MCPcopy Create free account
hub / github.com/citp/BlockSci / init_nulldata

Function init_nulldata

blockscipy/src/scripts/nulldata/nulldata_py.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace py = pybind11;
17
18void init_nulldata(py::class_<script::OpReturn> &cl) {
19 cl
20 .def("__repr__", &script::OpReturn::toString)
21 .def("__str__", &script::OpReturn::toPrettyString)
22 ;
23}
24
25void addNulldataRangeMethods(RangeClasses<script::OpReturn> &classes) {
26 addAllRangeMethods(classes);

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected