@@ -81,7 +81,7 @@ func (c *Convo) NextStep() (out loop.Cmd) {
8181 return cmd (AskContractAddress {})
8282 }
8383
84- if contract .Abi == nil || contract .Abi .abi == nil {
84+ if contract .abi == nil || contract .abi .abi == nil {
8585 // if the user pasted an empty ABI, we would restart the process or choosing a contract address
8686 if contract .emptyABI {
8787 contract .Address = "" // reset the address
@@ -133,7 +133,7 @@ func (c *Convo) NextStep() (out loop.Cmd) {
133133 if ! dynContract .TrackEvents && ! dynContract .TrackCalls {
134134 return notifyContext (cmd (AskDynamicContractTrackWhat {}))
135135 }
136- if dynContract .Abi == nil {
136+ if dynContract .abi == nil {
137137 // if the user pasted an empty ABI, we would restart the process or choosing a contract address
138138 if dynContract .emptyABI {
139139 dynContract .ReferenceContractAddress = "" // reset the reference address
@@ -293,9 +293,9 @@ func (c *Convo) Update(msg loop.Msg) loop.Cmd {
293293 return QuitInvalidContext
294294 }
295295
296- if contract .AbiType == "string" {
296+ if contract .abiType == "string" {
297297 return loop .Seq (cmd (AskContractABIString {}))
298- } else if contract .AbiType == "file" {
298+ } else if contract .abiType == "file" {
299299 return loop .Seq (cmd (AskContractABIFile {}))
300300 }
301301
@@ -312,7 +312,7 @@ func (c *Convo) Update(msg loop.Msg) loop.Cmd {
312312 return QuitInvalidContext
313313 }
314314
315- contract .AbiType = msg .Value
315+ contract .abiType = msg .Value
316316
317317 return c .NextStep ()
318318
@@ -508,7 +508,7 @@ func (c *Convo) Update(msg loop.Msg) loop.Cmd {
508508 if msg .Err != nil {
509509 return loop .Quit (fmt .Errorf ("decoding ABI for contract %q: %w" , contract .Name , msg .Err ))
510510 }
511- contract .Abi = msg .Abi
511+ contract .abi = msg .Abi
512512 evt := contract .EventModels ()
513513 calls := contract .CallModels ()
514514
@@ -577,7 +577,7 @@ message {{.Proto.MessageName}} {{.Proto.OutputModuleFieldName}} {
577577 return loop .Quit (fmt .Errorf ("decoding ABI for dynamic contract of %q: %w" , factory .Name , msg .err ))
578578 }
579579 contract := c .State .dynamicContractOf (factory .Name )
580- contract .Abi = msg .abi
580+ contract .abi = msg .abi
581581 evt := contract .EventModels ()
582582 calls := contract .CallModels ()
583583
@@ -819,7 +819,7 @@ message {{.Proto.MessageName}} {{.Proto.OutputModuleFieldName}} {
819819 return QuitInvalidContext
820820 }
821821
822- events := contract .Abi .EventIDsToSig ()
822+ events := contract .abi .EventIDsToSig ()
823823
824824 values := make ([]string , 0 )
825825
0 commit comments