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

Function EncodeParamProgramInto

core/program/program.go:138–143  ·  view source on GitHub ↗
(sink *common.ZeroCopySink, sigs [][]byte)

Source from the content-addressed store, hash-verified

136}
137
138func EncodeParamProgramInto(sink *common.ZeroCopySink, sigs [][]byte) {
139 builder := ProgramBuilder{sink: sink}
140 for _, sig := range sigs {
141 builder.PushBytes(sig)
142 }
143}
144
145type ProgramInfo struct {
146 PubKeys []keypair.PublicKey

Callers 1

SerializationMethod · 0.92

Calls 1

PushBytesMethod · 0.95

Tested by

no test coverage detected