@@ -23,6 +23,7 @@ import type {
2323 TypedEvent ,
2424 TypedListener ,
2525 OnEvent ,
26+ PromiseOrValue ,
2627} from "./common" ;
2728
2829export interface CounterInterface extends utils . Interface {
@@ -86,22 +87,22 @@ export interface Counter extends BaseContract {
8687
8788 functions : {
8889 countDown (
89- overrides ?: Overrides & { from ?: string | Promise < string > }
90+ overrides ?: Overrides & { from ?: PromiseOrValue < string > }
9091 ) : Promise < ContractTransaction > ;
9192
9293 countUp (
93- overrides ?: Overrides & { from ?: string | Promise < string > }
94+ overrides ?: Overrides & { from ?: PromiseOrValue < string > }
9495 ) : Promise < ContractTransaction > ;
9596
9697 getCount ( overrides ?: CallOverrides ) : Promise < [ BigNumber ] > ;
9798 } ;
9899
99100 countDown (
100- overrides ?: Overrides & { from ?: string | Promise < string > }
101+ overrides ?: Overrides & { from ?: PromiseOrValue < string > }
101102 ) : Promise < ContractTransaction > ;
102103
103104 countUp (
104- overrides ?: Overrides & { from ?: string | Promise < string > }
105+ overrides ?: Overrides & { from ?: PromiseOrValue < string > }
105106 ) : Promise < ContractTransaction > ;
106107
107108 getCount ( overrides ?: CallOverrides ) : Promise < BigNumber > ;
@@ -121,23 +122,23 @@ export interface Counter extends BaseContract {
121122
122123 estimateGas : {
123124 countDown (
124- overrides ?: Overrides & { from ?: string | Promise < string > }
125+ overrides ?: Overrides & { from ?: PromiseOrValue < string > }
125126 ) : Promise < BigNumber > ;
126127
127128 countUp (
128- overrides ?: Overrides & { from ?: string | Promise < string > }
129+ overrides ?: Overrides & { from ?: PromiseOrValue < string > }
129130 ) : Promise < BigNumber > ;
130131
131132 getCount ( overrides ?: CallOverrides ) : Promise < BigNumber > ;
132133 } ;
133134
134135 populateTransaction : {
135136 countDown (
136- overrides ?: Overrides & { from ?: string | Promise < string > }
137+ overrides ?: Overrides & { from ?: PromiseOrValue < string > }
137138 ) : Promise < PopulatedTransaction > ;
138139
139140 countUp (
140- overrides ?: Overrides & { from ?: string | Promise < string > }
141+ overrides ?: Overrides & { from ?: PromiseOrValue < string > }
141142 ) : Promise < PopulatedTransaction > ;
142143
143144 getCount ( overrides ?: CallOverrides ) : Promise < PopulatedTransaction > ;
0 commit comments