MCPcopy Create free account
hub / github.com/chain/txvm / contract

Struct contract

protocol/txvm/entries.go:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89type contract struct {
90 typecode byte
91 seed []byte
92 program []byte
93 stack stack
94}
95
96func (x *contract) isPortable() bool { return x.typecode == WrappedContractCode }
97func (x *contract) isDroppable() bool { return false }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected