Skip to content

Commit c7805cf

Browse files
committed
Updated tests
1 parent 08521bd commit c7805cf

37 files changed

+222
-222
lines changed

__fixtures__/issues/98/out/98.client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class 98Client extends 98QueryClient implements 98Interface {
144144
}: {
145145
id: number;
146146
instantiateMsg: Binary;
147-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
147+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
148148
return await this.client.execute(this.sender, this.contractAddress, {
149149
proxy_install_plugin: {
150150
id,
@@ -166,7 +166,7 @@ export class 98Client extends 98QueryClient implements 98Interface {
166166
ipfsHash: string;
167167
name: string;
168168
version: string;
169-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
169+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
170170
return await this.client.execute(this.sender, this.contractAddress, {
171171
register_plugin: {
172172
checksum,
@@ -182,7 +182,7 @@ export class 98Client extends 98QueryClient implements 98Interface {
182182
id
183183
}: {
184184
id: number;
185-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
185+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
186186
return await this.client.execute(this.sender, this.contractAddress, {
187187
unregister_plugin: {
188188
id
@@ -205,7 +205,7 @@ export class 98Client extends 98QueryClient implements 98Interface {
205205
ipfsHash?: string;
206206
name?: string;
207207
version?: string;
208-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
208+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
209209
return await this.client.execute(this.sender, this.contractAddress, {
210210
update_plugin: {
211211
checksum,
@@ -222,7 +222,7 @@ export class 98Client extends 98QueryClient implements 98Interface {
222222
newFee
223223
}: {
224224
newFee: Coin;
225-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
225+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
226226
return await this.client.execute(this.sender, this.contractAddress, {
227227
update_registry_fee: {
228228
new_fee: newFee
@@ -233,7 +233,7 @@ export class 98Client extends 98QueryClient implements 98Interface {
233233
newAddr
234234
}: {
235235
newAddr: string;
236-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
236+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
237237
return await this.client.execute(this.sender, this.contractAddress, {
238238
update_dao_addr: {
239239
new_addr: newAddr

__output__/builder/bundler_test/contracts/CwAdminFactory.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class CwAdminFactoryClient implements CwAdminFactoryInterface {
4949
codeId: number;
5050
instantiateMsg: Binary;
5151
label: string;
52-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
52+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
5353
return await this.client.execute(this.sender, this.contractAddress, {
5454
instantiate_contract_with_self_admin: {
5555
code_id: codeId,

__output__/builder/bundler_test/contracts/CwCodeIdRegistry.client.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class CwCodeIdRegistryClient implements CwCodeIdRegistryInterface {
167167
amount: Uint128;
168168
msg: Binary;
169169
sender: string;
170-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
170+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
171171
return await this.client.execute(this.sender, this.contractAddress, {
172172
receive: {
173173
amount,
@@ -188,7 +188,7 @@ export class CwCodeIdRegistryClient implements CwCodeIdRegistryInterface {
188188
codeId: number;
189189
name: string;
190190
version: string;
191-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
191+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
192192
return await this.client.execute(this.sender, this.contractAddress, {
193193
register: {
194194
chain_id: chainId,
@@ -207,7 +207,7 @@ export class CwCodeIdRegistryClient implements CwCodeIdRegistryInterface {
207207
chainId: string;
208208
name: string;
209209
owner?: string;
210-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
210+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
211211
return await this.client.execute(this.sender, this.contractAddress, {
212212
set_owner: {
213213
chain_id: chainId,
@@ -222,7 +222,7 @@ export class CwCodeIdRegistryClient implements CwCodeIdRegistryInterface {
222222
}: {
223223
chainId: string;
224224
codeId: number;
225-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
225+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
226226
return await this.client.execute(this.sender, this.contractAddress, {
227227
unregister: {
228228
chain_id: chainId,
@@ -236,7 +236,7 @@ export class CwCodeIdRegistryClient implements CwCodeIdRegistryInterface {
236236
}: {
237237
admin?: string;
238238
paymentInfo?: PaymentInfo;
239-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
239+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
240240
return await this.client.execute(this.sender, this.contractAddress, {
241241
update_config: {
242242
admin,

__output__/builder/bundler_test/contracts/CwSingle.client.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export class CwSingleClient implements CwSingleInterface {
256256
description: string;
257257
msgs: CosmosMsgForEmpty[];
258258
title: string;
259-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
259+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
260260
return await this.client.execute(this.sender, this.contractAddress, {
261261
propose: {
262262
description,
@@ -271,7 +271,7 @@ export class CwSingleClient implements CwSingleInterface {
271271
}: {
272272
proposalId: number;
273273
vote: Vote;
274-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
274+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
275275
return await this.client.execute(this.sender, this.contractAddress, {
276276
vote: {
277277
proposal_id: proposalId,
@@ -283,7 +283,7 @@ export class CwSingleClient implements CwSingleInterface {
283283
proposalId
284284
}: {
285285
proposalId: number;
286-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
286+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
287287
return await this.client.execute(this.sender, this.contractAddress, {
288288
execute: {
289289
proposal_id: proposalId
@@ -294,7 +294,7 @@ export class CwSingleClient implements CwSingleInterface {
294294
proposalId
295295
}: {
296296
proposalId: number;
297-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
297+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
298298
return await this.client.execute(this.sender, this.contractAddress, {
299299
close: {
300300
proposal_id: proposalId
@@ -317,7 +317,7 @@ export class CwSingleClient implements CwSingleInterface {
317317
minVotingPeriod?: Duration;
318318
onlyMembersExecute: boolean;
319319
threshold: Threshold;
320-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
320+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
321321
return await this.client.execute(this.sender, this.contractAddress, {
322322
update_config: {
323323
allow_revoting: allowRevoting,
@@ -334,7 +334,7 @@ export class CwSingleClient implements CwSingleInterface {
334334
address
335335
}: {
336336
address: string;
337-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
337+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
338338
return await this.client.execute(this.sender, this.contractAddress, {
339339
add_proposal_hook: {
340340
address
@@ -345,7 +345,7 @@ export class CwSingleClient implements CwSingleInterface {
345345
address
346346
}: {
347347
address: string;
348-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
348+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
349349
return await this.client.execute(this.sender, this.contractAddress, {
350350
remove_proposal_hook: {
351351
address
@@ -356,7 +356,7 @@ export class CwSingleClient implements CwSingleInterface {
356356
address
357357
}: {
358358
address: string;
359-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
359+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
360360
return await this.client.execute(this.sender, this.contractAddress, {
361361
add_vote_hook: {
362362
address
@@ -367,7 +367,7 @@ export class CwSingleClient implements CwSingleInterface {
367367
address
368368
}: {
369369
address: string;
370-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
370+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
371371
return await this.client.execute(this.sender, this.contractAddress, {
372372
remove_vote_hook: {
373373
address

__output__/builder/bundler_test/contracts/Factory.client.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class FactoryClient implements FactoryInterface {
170170
createWalletMsg
171171
}: {
172172
createWalletMsg: CreateWalletMsg;
173-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
173+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
174174
return await this.client.execute(this.sender, this.contractAddress, {
175175
create_wallet: {
176176
create_wallet_msg: createWalletMsg
@@ -183,7 +183,7 @@ export class FactoryClient implements FactoryInterface {
183183
}: {
184184
newUser: Addr;
185185
oldUser: Addr;
186-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
186+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
187187
return await this.client.execute(this.sender, this.contractAddress, {
188188
update_proxy_user: {
189189
new_user: newUser,
@@ -197,7 +197,7 @@ export class FactoryClient implements FactoryInterface {
197197
}: {
198198
migrationMsg: ProxyMigrationTxMsg;
199199
walletAddress: WalletAddr;
200-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
200+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
201201
return await this.client.execute(this.sender, this.contractAddress, {
202202
migrate_wallet: {
203203
migration_msg: migrationMsg,
@@ -211,7 +211,7 @@ export class FactoryClient implements FactoryInterface {
211211
}: {
212212
newCodeId: number;
213213
ty: CodeIdType;
214-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
214+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
215215
return await this.client.execute(this.sender, this.contractAddress, {
216216
update_code_id: {
217217
new_code_id: newCodeId,
@@ -223,7 +223,7 @@ export class FactoryClient implements FactoryInterface {
223223
newFee
224224
}: {
225225
newFee: Coin;
226-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
226+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
227227
return await this.client.execute(this.sender, this.contractAddress, {
228228
update_wallet_fee: {
229229
new_fee: newFee
@@ -234,7 +234,7 @@ export class FactoryClient implements FactoryInterface {
234234
addr
235235
}: {
236236
addr: string;
237-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
237+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
238238
return await this.client.execute(this.sender, this.contractAddress, {
239239
update_govec_addr: {
240240
addr
@@ -245,7 +245,7 @@ export class FactoryClient implements FactoryInterface {
245245
addr
246246
}: {
247247
addr: string;
248-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
248+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
249249
return await this.client.execute(this.sender, this.contractAddress, {
250250
update_admin: {
251251
addr

__output__/builder/bundler_test/contracts/Minter.client.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class MinterClient implements MinterInterface {
108108
this.mintFor = this.mintFor.bind(this);
109109
this.withdraw = this.withdraw.bind(this);
110110
}
111-
mint = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
111+
mint = async (fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
112112
return await this.client.execute(this.sender, this.contractAddress, {
113113
mint: {}
114114
}, fee_, memo_, funds_);
@@ -117,14 +117,14 @@ export class MinterClient implements MinterInterface {
117117
whitelist
118118
}: {
119119
whitelist: string;
120-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
120+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
121121
return await this.client.execute(this.sender, this.contractAddress, {
122122
set_whitelist: {
123123
whitelist
124124
}
125125
}, fee_, memo_, funds_);
126126
};
127-
updateStartTime = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
127+
updateStartTime = async (fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
128128
return await this.client.execute(this.sender, this.contractAddress, {
129129
update_start_time: {}
130130
}, fee_, memo_, funds_);
@@ -133,7 +133,7 @@ export class MinterClient implements MinterInterface {
133133
perAddressLimit
134134
}: {
135135
perAddressLimit: number;
136-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
136+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
137137
return await this.client.execute(this.sender, this.contractAddress, {
138138
update_per_address_limit: {
139139
per_address_limit: perAddressLimit
@@ -144,7 +144,7 @@ export class MinterClient implements MinterInterface {
144144
recipient
145145
}: {
146146
recipient: string;
147-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
147+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
148148
return await this.client.execute(this.sender, this.contractAddress, {
149149
mint_to: {
150150
recipient
@@ -157,15 +157,15 @@ export class MinterClient implements MinterInterface {
157157
}: {
158158
recipient: string;
159159
tokenId: number;
160-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
160+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
161161
return await this.client.execute(this.sender, this.contractAddress, {
162162
mint_for: {
163163
recipient,
164164
token_id: tokenId
165165
}
166166
}, fee_, memo_, funds_);
167167
};
168-
withdraw = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
168+
withdraw = async (fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
169169
return await this.client.execute(this.sender, this.contractAddress, {
170170
withdraw: {}
171171
}, fee_, memo_, funds_);

__output__/builder/default/CwAdminFactory.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class CwAdminFactoryClient extends CwAdminFactoryQueryClient implements C
5050
codeId: number;
5151
instantiateMsg: Binary;
5252
label: string;
53-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
53+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
5454
return await this.client.execute(this.sender, this.contractAddress, {
5555
instantiate_contract_with_self_admin: {
5656
code_id: codeId,

__output__/builder/default/CwCodeIdRegistry.client.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class CwCodeIdRegistryClient extends CwCodeIdRegistryQueryClient implemen
168168
amount: Uint128;
169169
msg: Binary;
170170
sender: string;
171-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
171+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
172172
return await this.client.execute(this.sender, this.contractAddress, {
173173
receive: {
174174
amount,
@@ -189,7 +189,7 @@ export class CwCodeIdRegistryClient extends CwCodeIdRegistryQueryClient implemen
189189
codeId: number;
190190
name: string;
191191
version: string;
192-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
192+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
193193
return await this.client.execute(this.sender, this.contractAddress, {
194194
register: {
195195
chain_id: chainId,
@@ -208,7 +208,7 @@ export class CwCodeIdRegistryClient extends CwCodeIdRegistryQueryClient implemen
208208
chainId: string;
209209
name: string;
210210
owner?: string;
211-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
211+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
212212
return await this.client.execute(this.sender, this.contractAddress, {
213213
set_owner: {
214214
chain_id: chainId,
@@ -223,7 +223,7 @@ export class CwCodeIdRegistryClient extends CwCodeIdRegistryQueryClient implemen
223223
}: {
224224
chainId: string;
225225
codeId: number;
226-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
226+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
227227
return await this.client.execute(this.sender, this.contractAddress, {
228228
unregister: {
229229
chain_id: chainId,
@@ -237,7 +237,7 @@ export class CwCodeIdRegistryClient extends CwCodeIdRegistryQueryClient implemen
237237
}: {
238238
admin?: string;
239239
paymentInfo?: PaymentInfo;
240-
}, fee: number | StdFee | "auto" = "auto", memo?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
240+
}, fee_: number | StdFee | "auto" = "auto", memo_?: string, funds_?: Coin[]): Promise<ExecuteResult> => {
241241
return await this.client.execute(this.sender, this.contractAddress, {
242242
update_config: {
243243
admin,

0 commit comments

Comments
 (0)