SmartContract describe smart contract execute engine
| 44 | |
| 45 | // SmartContract describe smart contract execute engine |
| 46 | type SmartContract struct { |
| 47 | Contexts []*context.Context // all execute smart contract context |
| 48 | CacheDB *storage.CacheDB // state cache |
| 49 | Store store.LedgerStore // ledger store |
| 50 | Config *Config |
| 51 | Notifications []*event.NotifyEventInfo // all execute smart contract event notify info |
| 52 | GasTable map[string]uint64 |
| 53 | Gas uint64 |
| 54 | ExecStep int |
| 55 | WasmExecStep uint64 |
| 56 | PreExec bool |
| 57 | } |
| 58 | |
| 59 | // Config describe smart contract need parameters configuration |
| 60 | type Config struct { |
nothing calls this directly
no outgoing calls
no test coverage detected