| 365 | } |
| 366 | |
| 367 | type stackItem struct { |
| 368 | // values |
| 369 | amount int64 // valid only if anchor is not empty |
| 370 | assetID bc.Hash |
| 371 | anchor []byte |
| 372 | |
| 373 | // signature checks |
| 374 | pubkeys []ed25519.PublicKey |
| 375 | sigs *[]i10rjson.HexBytes |
| 376 | } |
| 377 | |
| 378 | var ( |
| 379 | // ErrNoAnchor happens when the top-level contract stack contains no |
nothing calls this directly
no outgoing calls
no test coverage detected