Add a var store only scid to Gnomon DB
(scid string)
| 2040 | |
| 2041 | // Add a var store only scid to Gnomon DB |
| 2042 | func (g *Gnomon) AddSCIDToIndex(scid string) (err error) { |
| 2043 | add := make(map[string]*structures.FastSyncImport) |
| 2044 | add[scid] = &structures.FastSyncImport{} |
| 2045 | |
| 2046 | return gnomon.Index.AddSCIDToIndex(add, false, true) |
| 2047 | } |
| 2048 | |
| 2049 | // Get the current code of a smart contract |
| 2050 | func getContractCode(scid string) (code string, err error) { |
no outgoing calls
no test coverage detected