github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/dryrun_source.go (about)

     1  package models
     2  
     3  // DryrunSource dryrunSource is TEAL source text that gets uploaded, compiled, and
     4  // inserted into transactions or application state.
     5  type DryrunSource struct {
     6  	// AppIndex
     7  	AppIndex uint64 `json:"app-index"`
     8  
     9  	// FieldName fieldName is what kind of sources this is. If lsig then it goes into
    10  	// the transactions[this.TxnIndex].LogicSig. If approv or clearp it goes into the
    11  	// Approval Program or Clear State Program of application[this.AppIndex].
    12  	FieldName string `json:"field-name"`
    13  
    14  	// Source
    15  	Source string `json:"source"`
    16  
    17  	// TxnIndex
    18  	TxnIndex uint64 `json:"txn-index"`
    19  }