github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/execution/engine/natives.go (about) 1 package engine 2 3 import ( 4 "github.com/hyperledger/burrow/acm" 5 "github.com/hyperledger/burrow/crypto" 6 ) 7 8 type Native interface { 9 Callable 10 SetExternals(externals Dispatcher) 11 ContractMeta() []*acm.ContractMeta 12 FullName() string 13 Address() crypto.Address 14 } 15 16 type Natives interface { 17 ExternalDispatcher 18 GetByAddress(address crypto.Address) Native 19 }