MCPcopy Create free account
hub / github.com/chain/Core / AddInt64

Method AddInt64

protocol/vmutil/builder.go:13–16  ·  view source on GitHub ↗
(n int64)

Source from the content-addressed store, hash-verified

11}
12
13func (b *Builder) AddInt64(n int64) *Builder {
14 b.Program = append(b.Program, vm.PushdataInt64(n)...)
15 return b
16}
17
18func (b *Builder) AddData(data []byte) *Builder {
19 b.Program = append(b.Program, vm.PushdataBytes(data)...)

Callers 13

BlockMultiSigProgramFunction · 0.95
P2SPMultiSigProgramFunction · 0.95
codeMethod · 0.95
checkValidFunction · 0.80
op1AddFunction · 0.80
opAddFunction · 0.80
opSubstrFunction · 0.80
opPickFunction · 0.80
opRollFunction · 0.80
TestRecoveryFunction · 0.80
codeMethod · 0.80

Calls

no outgoing calls

Tested by 2

TestRecoveryFunction · 0.64