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

Function ProgramFromMultiPubKey

core/program/program.go:123–127  ·  view source on GitHub ↗
(pubkeys []keypair.PublicKey, m int)

Source from the content-addressed store, hash-verified

121}
122
123func ProgramFromMultiPubKey(pubkeys []keypair.PublicKey, m int) ([]byte, error) {
124 sink := common.ZeroCopySink{}
125 err := EncodeMultiPubKeyProgramInto(&sink, pubkeys, m)
126 return sink.Bytes(), err
127}
128
129func ProgramFromParams(sigs [][]byte) []byte {
130 builder := NewProgramBuilder()

Callers 3

GetRawSigMethod · 0.92
AddressFromMultiPubKeysFunction · 0.92
TestGetProgramInfoFunction · 0.85

Calls 2

BytesMethod · 0.95

Tested by 1

TestGetProgramInfoFunction · 0.68