github.com/TrueBlocks/trueblocks-core/src/apps/chifra@v0.0.0-20241022031540-b362680128f7/pkg/articulate/receipt.go (about)

     1  package articulate
     2  
     3  import (
     4  	"github.com/TrueBlocks/trueblocks-core/src/apps/chifra/pkg/types"
     5  )
     6  
     7  func (abiCache *AbiCache) ArticulateReceipt(receipt *types.Receipt) (err error) {
     8  	if receipt != nil {
     9  		for index := range receipt.Logs {
    10  			if err = abiCache.ArticulateLog(&receipt.Logs[index]); err != nil {
    11  				return err
    12  			}
    13  		}
    14  	}
    15  
    16  	return nil
    17  }