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

Method PopTripleAsIntVal

vm/neovm/value_stack_conversion.go:183–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181}
182
183func (self *ValueStack) PopTripleAsIntVal() (left, middle, right types.IntValue, err error) {
184 right, err = self.PopAsIntValue()
185 if err != nil {
186 return
187 }
188 middle, err = self.PopAsIntValue()
189 if err != nil {
190 return
191 }
192 left, err = self.PopAsIntValue()
193 return
194}
195
196func (self *ValueStack) PeekAsBytes(index int64) ([]byte, error) {
197 val, err := self.Peek(index)

Callers 1

ExecuteOpMethod · 0.80

Calls 1

PopAsIntValueMethod · 0.95

Tested by

no test coverage detected