MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetRawCode

Method GetRawCode

core/payload/deploy_code.go:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (dc *DeployCode) GetRawCode() []byte {
87 return dc.code
88}
89
90func (dc *DeployCode) GetWasmCode() ([]byte, error) {
91 if dc.VmType() == WASMVM_TYPE {

Callers 5

TransPayloadToHexFunction · 0.80
PreExecuteContractMethod · 0.80
checkTransactionPayloadFunction · 0.80
ContractGetCodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected