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

Method AnyScript

src/scripts/script_variant.cpp:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace blocksci {
31
32 AnyScript::AnyScript(const Address &address) : wrapped(scriptCreator.at(static_cast<size_t>(address.type))(address.scriptNum, address.getAccess())) {}
33 AnyScript::AnyScript(uint32_t addressNum, AddressType::Enum type, DataAccess &access) : wrapped(scriptCreator.at(static_cast<size_t>(type))(addressNum, access)) {}
34
35 Transaction AnyScript::getFirstTransaction() const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected