wasm-ast-types 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/main/client/client.js +4 -6
  2. package/main/context/imports.js +1 -1
  3. package/main/message-composer/message-composer.js +3 -5
  4. package/main/react-query/react-query.js +4 -11
  5. package/main/utils/babel.js +1 -0
  6. package/main/utils/constants.js +25 -0
  7. package/main/utils/index.js +22 -1
  8. package/module/client/client.js +3 -4
  9. package/module/context/imports.js +1 -1
  10. package/module/message-composer/message-composer.js +4 -5
  11. package/module/react-query/react-query.js +5 -6
  12. package/module/utils/babel.js +1 -0
  13. package/module/utils/constants.js +6 -0
  14. package/module/utils/index.js +3 -1
  15. package/package.json +2 -2
  16. package/src/client/client.ts +235 -323
  17. package/src/client/test/__snapshots__/ts-client.account-nfts.spec.ts.snap +45 -45
  18. package/src/client/test/__snapshots__/ts-client.arrays-ref.spec.ts.snap +42 -42
  19. package/src/client/test/__snapshots__/ts-client.arrays.spec.ts.snap +3 -3
  20. package/src/client/test/__snapshots__/ts-client.cw-named-groups.test.ts.snap +9 -9
  21. package/src/client/test/__snapshots__/ts-client.cw-proposal-single.test.ts.snap +27 -27
  22. package/src/client/test/__snapshots__/ts-client.issue-101.spec.ts.snap +6 -6
  23. package/src/client/test/__snapshots__/ts-client.issue-71.test.ts.snap +30 -30
  24. package/src/client/test/__snapshots__/ts-client.issue-98.test.ts.snap +9 -9
  25. package/src/client/test/__snapshots__/ts-client.issues.test.ts.snap +78 -78
  26. package/src/client/test/__snapshots__/ts-client.overrides.spec.ts.snap +80 -80
  27. package/src/client/test/__snapshots__/ts-client.sg721.spec.ts.snap +24 -24
  28. package/src/client/test/__snapshots__/ts-client.spec.ts.snap +46 -46
  29. package/src/client/test/__snapshots__/ts-client.vectis.spec.ts.snap +24 -24
  30. package/src/client/test/__snapshots__/ts-client.wager.spec.ts.snap +8 -8
  31. package/src/context/context.ts +2 -0
  32. package/src/context/imports.ts +1 -1
  33. package/src/message-composer/__snapshots__/message-composer.spec.ts.snap +30 -30
  34. package/src/message-composer/message-composer.ts +216 -267
  35. package/src/react-query/react-query.ts +28 -25
  36. package/src/utils/babel.ts +4 -3
  37. package/src/utils/constants.ts +30 -0
  38. package/src/utils/index.ts +2 -0
  39. package/types/context/context.d.ts +2 -0
@@ -32,61 +32,61 @@ exports[`execute classes array types 1`] = `
32
32
  msgs
33
33
  }: {
34
34
  msgs: CosmosMsg_for_Empty[];
35
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
35
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
36
36
  return await this.client.execute(this.sender, this.contractAddress, {
37
37
  execute: {
38
38
  msgs
39
39
  }
40
- }, fee, memo, funds);
40
+ }, fee, memo, _funds);
41
41
  };
42
- revertFreezeStatus = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
42
+ revertFreezeStatus = async (fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
43
43
  return await this.client.execute(this.sender, this.contractAddress, {
44
44
  revert_freeze_status: {}
45
- }, fee, memo, funds);
45
+ }, fee, memo, _funds);
46
46
  };
47
47
  relay = async ({
48
48
  transaction
49
49
  }: {
50
50
  transaction: RelayTransaction;
51
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
51
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
52
52
  return await this.client.execute(this.sender, this.contractAddress, {
53
53
  relay: {
54
54
  transaction
55
55
  }
56
- }, fee, memo, funds);
56
+ }, fee, memo, _funds);
57
57
  };
58
58
  rotateUserKey = async ({
59
59
  newUserAddress
60
60
  }: {
61
61
  newUserAddress: string;
62
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
62
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
63
63
  return await this.client.execute(this.sender, this.contractAddress, {
64
64
  rotate_user_key: {
65
65
  new_user_address: newUserAddress
66
66
  }
67
- }, fee, memo, funds);
67
+ }, fee, memo, _funds);
68
68
  };
69
69
  addRelayer = async ({
70
70
  newRelayerAddress
71
71
  }: {
72
72
  newRelayerAddress: Addr;
73
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
73
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
74
74
  return await this.client.execute(this.sender, this.contractAddress, {
75
75
  add_relayer: {
76
76
  new_relayer_address: newRelayerAddress
77
77
  }
78
- }, fee, memo, funds);
78
+ }, fee, memo, _funds);
79
79
  };
80
80
  removeRelayer = async ({
81
81
  relayerAddress
82
82
  }: {
83
83
  relayerAddress: Addr;
84
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
84
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
85
85
  return await this.client.execute(this.sender, this.contractAddress, {
86
86
  remove_relayer: {
87
87
  relayer_address: relayerAddress
88
88
  }
89
- }, fee, memo, funds);
89
+ }, fee, memo, _funds);
90
90
  };
91
91
  updateGuardians = async ({
92
92
  guardians,
@@ -94,24 +94,24 @@ exports[`execute classes array types 1`] = `
94
94
  }: {
95
95
  guardians: Guardians;
96
96
  newMultisigCodeId?: number;
97
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
97
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
98
98
  return await this.client.execute(this.sender, this.contractAddress, {
99
99
  update_guardians: {
100
100
  guardians,
101
101
  new_multisig_code_id: newMultisigCodeId
102
102
  }
103
- }, fee, memo, funds);
103
+ }, fee, memo, _funds);
104
104
  };
105
105
  updateLabel = async ({
106
106
  newLabel
107
107
  }: {
108
108
  newLabel: string;
109
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
109
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
110
110
  return await this.client.execute(this.sender, this.contractAddress, {
111
111
  update_label: {
112
112
  new_label: newLabel
113
113
  }
114
- }, fee, memo, funds);
114
+ }, fee, memo, _funds);
115
115
  };
116
116
  }"
117
117
  `;
@@ -124,40 +124,40 @@ exports[`execute interfaces no extends 1`] = `
124
124
  msgs
125
125
  }: {
126
126
  msgs: CosmosMsg_for_Empty[];
127
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
128
- revertFreezeStatus: (fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
127
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
128
+ revertFreezeStatus: (fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
129
129
  relay: ({
130
130
  transaction
131
131
  }: {
132
132
  transaction: RelayTransaction;
133
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
133
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
134
134
  rotateUserKey: ({
135
135
  newUserAddress
136
136
  }: {
137
137
  newUserAddress: string;
138
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
138
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
139
139
  addRelayer: ({
140
140
  newRelayerAddress
141
141
  }: {
142
142
  newRelayerAddress: Addr;
143
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
143
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
144
144
  removeRelayer: ({
145
145
  relayerAddress
146
146
  }: {
147
147
  relayerAddress: Addr;
148
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
148
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
149
149
  updateGuardians: ({
150
150
  guardians,
151
151
  newMultisigCodeId
152
152
  }: {
153
153
  guardians: Guardians;
154
154
  newMultisigCodeId?: number;
155
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
155
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
156
156
  updateLabel: ({
157
157
  newLabel
158
158
  }: {
159
159
  newLabel: string;
160
- }, fee?: number | StdFee | \\"auto\\", memo?: string, funds?: Coin[]) => Promise<ExecuteResult>;
160
+ }, fee?: number | StdFee | \\"auto\\", memo?: string, _funds?: Coin[]) => Promise<ExecuteResult>;
161
161
  }"
162
162
  `;
163
163
 
@@ -22,12 +22,12 @@ exports[`execute classes 1`] = `
22
22
  params
23
23
  }: {
24
24
  params: ParamInfo;
25
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
25
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
26
26
  return await this.client.execute(this.sender, this.contractAddress, {
27
27
  update_config: {
28
28
  params
29
29
  }
30
- }, fee, memo, funds);
30
+ }, fee, memo, _funds);
31
31
  };
32
32
  setWinner = async ({
33
33
  currentPrices,
@@ -37,14 +37,14 @@ exports[`execute classes 1`] = `
37
37
  currentPrices: number[][];
38
38
  prevPrices: number[][];
39
39
  wagerKey: Addr[][];
40
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
40
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
41
41
  return await this.client.execute(this.sender, this.contractAddress, {
42
42
  set_winner: {
43
43
  current_prices: currentPrices,
44
44
  prev_prices: prevPrices,
45
45
  wager_key: wagerKey
46
46
  }
47
- }, fee, memo, funds);
47
+ }, fee, memo, _funds);
48
48
  };
49
49
  wager = async ({
50
50
  againstCurrencies,
@@ -56,7 +56,7 @@ exports[`execute classes 1`] = `
56
56
  currency: Currency;
57
57
  expiry: number;
58
58
  token: Addr[][];
59
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
59
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
60
60
  return await this.client.execute(this.sender, this.contractAddress, {
61
61
  wager: {
62
62
  against_currencies: againstCurrencies,
@@ -64,18 +64,18 @@ exports[`execute classes 1`] = `
64
64
  expiry,
65
65
  token
66
66
  }
67
- }, fee, memo, funds);
67
+ }, fee, memo, _funds);
68
68
  };
69
69
  cancel = async ({
70
70
  token
71
71
  }: {
72
72
  token: Addr[][];
73
- }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, funds?: Coin[]): Promise<ExecuteResult> => {
73
+ }, fee: number | StdFee | \\"auto\\" = \\"auto\\", memo?: string, _funds?: Coin[]): Promise<ExecuteResult> => {
74
74
  return await this.client.execute(this.sender, this.contractAddress, {
75
75
  cancel: {
76
76
  token
77
77
  }
78
- }, fee, memo, funds);
78
+ }, fee, memo, _funds);
79
79
  };
80
80
  }"
81
81
  `;
@@ -30,7 +30,9 @@ export interface RecoilOptions {
30
30
  }
31
31
  export interface TSTypesOptions {
32
32
  enabled?: boolean;
33
+ // deprecated
33
34
  aliasExecuteMsg?: boolean;
35
+ aliasEntryPoints?: boolean;
34
36
  }
35
37
 
36
38
  /// END Plugin Types
@@ -41,7 +41,7 @@ const makeReactQuerySwitch = (varName) => {
41
41
  export const UTILS = {
42
42
  selectorFamily: 'recoil',
43
43
  MsgExecuteContract: 'cosmjs-types/cosmwasm/wasm/v1/tx',
44
- MsgExecuteContractEncodeObject: 'cosmwasm',
44
+ MsgExecuteContractEncodeObject: '@cosmjs/cosmwasm-stargate',
45
45
  Coin: '@cosmjs/amino',
46
46
  toUtf8: '@cosmjs/encoding',
47
47
  StdFee: '@cosmjs/amino',
@@ -10,7 +10,7 @@ exports[`createMessageComposerInterface 1`] = `
10
10
  }: {
11
11
  recipient: string;
12
12
  tokenId: string;
13
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
13
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
14
14
  sendNft: ({
15
15
  contract,
16
16
  msg,
@@ -19,7 +19,7 @@ exports[`createMessageComposerInterface 1`] = `
19
19
  contract: string;
20
20
  msg: Binary;
21
21
  tokenId: string;
22
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
22
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
23
23
  approve: ({
24
24
  expires,
25
25
  spender,
@@ -28,26 +28,26 @@ exports[`createMessageComposerInterface 1`] = `
28
28
  expires?: Expiration;
29
29
  spender: string;
30
30
  tokenId: string;
31
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
31
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
32
32
  revoke: ({
33
33
  spender,
34
34
  tokenId
35
35
  }: {
36
36
  spender: string;
37
37
  tokenId: string;
38
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
38
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
39
39
  approveAll: ({
40
40
  expires,
41
41
  operator
42
42
  }: {
43
43
  expires?: Expiration;
44
44
  operator: string;
45
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
45
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
46
46
  revokeAll: ({
47
47
  operator
48
48
  }: {
49
49
  operator: string;
50
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
50
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
51
51
  mint: ({
52
52
  extension,
53
53
  owner,
@@ -58,12 +58,12 @@ exports[`createMessageComposerInterface 1`] = `
58
58
  owner: string;
59
59
  tokenId: string;
60
60
  tokenUri?: string;
61
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
61
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
62
62
  burn: ({
63
63
  tokenId
64
64
  }: {
65
65
  tokenId: string;
66
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
66
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
67
67
  }"
68
68
  `;
69
69
 
@@ -91,7 +91,7 @@ exports[`execute classes 1`] = `
91
91
  }: {
92
92
  recipient: string;
93
93
  tokenId: string;
94
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
94
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
95
95
  return {
96
96
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
97
97
  value: MsgExecuteContract.fromPartial({
@@ -103,7 +103,7 @@ exports[`execute classes 1`] = `
103
103
  token_id: tokenId
104
104
  }
105
105
  })),
106
- funds
106
+ funds: _funds
107
107
  })
108
108
  };
109
109
  };
@@ -115,7 +115,7 @@ exports[`execute classes 1`] = `
115
115
  contract: string;
116
116
  msg: Binary;
117
117
  tokenId: string;
118
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
118
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
119
119
  return {
120
120
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
121
121
  value: MsgExecuteContract.fromPartial({
@@ -128,7 +128,7 @@ exports[`execute classes 1`] = `
128
128
  token_id: tokenId
129
129
  }
130
130
  })),
131
- funds
131
+ funds: _funds
132
132
  })
133
133
  };
134
134
  };
@@ -140,7 +140,7 @@ exports[`execute classes 1`] = `
140
140
  expires?: Expiration;
141
141
  spender: string;
142
142
  tokenId: string;
143
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
143
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
144
144
  return {
145
145
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
146
146
  value: MsgExecuteContract.fromPartial({
@@ -153,7 +153,7 @@ exports[`execute classes 1`] = `
153
153
  token_id: tokenId
154
154
  }
155
155
  })),
156
- funds
156
+ funds: _funds
157
157
  })
158
158
  };
159
159
  };
@@ -163,7 +163,7 @@ exports[`execute classes 1`] = `
163
163
  }: {
164
164
  spender: string;
165
165
  tokenId: string;
166
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
166
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
167
167
  return {
168
168
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
169
169
  value: MsgExecuteContract.fromPartial({
@@ -175,7 +175,7 @@ exports[`execute classes 1`] = `
175
175
  token_id: tokenId
176
176
  }
177
177
  })),
178
- funds
178
+ funds: _funds
179
179
  })
180
180
  };
181
181
  };
@@ -185,7 +185,7 @@ exports[`execute classes 1`] = `
185
185
  }: {
186
186
  expires?: Expiration;
187
187
  operator: string;
188
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
188
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
189
189
  return {
190
190
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
191
191
  value: MsgExecuteContract.fromPartial({
@@ -197,7 +197,7 @@ exports[`execute classes 1`] = `
197
197
  operator
198
198
  }
199
199
  })),
200
- funds
200
+ funds: _funds
201
201
  })
202
202
  };
203
203
  };
@@ -205,7 +205,7 @@ exports[`execute classes 1`] = `
205
205
  operator
206
206
  }: {
207
207
  operator: string;
208
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
208
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
209
209
  return {
210
210
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
211
211
  value: MsgExecuteContract.fromPartial({
@@ -216,7 +216,7 @@ exports[`execute classes 1`] = `
216
216
  operator
217
217
  }
218
218
  })),
219
- funds
219
+ funds: _funds
220
220
  })
221
221
  };
222
222
  };
@@ -230,7 +230,7 @@ exports[`execute classes 1`] = `
230
230
  owner: string;
231
231
  tokenId: string;
232
232
  tokenUri?: string;
233
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
233
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
234
234
  return {
235
235
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
236
236
  value: MsgExecuteContract.fromPartial({
@@ -244,7 +244,7 @@ exports[`execute classes 1`] = `
244
244
  token_uri: tokenUri
245
245
  }
246
246
  })),
247
- funds
247
+ funds: _funds
248
248
  })
249
249
  };
250
250
  };
@@ -252,7 +252,7 @@ exports[`execute classes 1`] = `
252
252
  tokenId
253
253
  }: {
254
254
  tokenId: string;
255
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
255
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
256
256
  return {
257
257
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
258
258
  value: MsgExecuteContract.fromPartial({
@@ -263,7 +263,7 @@ exports[`execute classes 1`] = `
263
263
  token_id: tokenId
264
264
  }
265
265
  })),
266
- funds
266
+ funds: _funds
267
267
  })
268
268
  };
269
269
  };
@@ -286,7 +286,7 @@ exports[`ownershipClass 1`] = `
286
286
  newFactory
287
287
  }: {
288
288
  newFactory: string;
289
- }, funds?: Coin[]): MsgExecuteContractEncodeObject => {
289
+ }, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
290
290
  return {
291
291
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
292
292
  value: MsgExecuteContract.fromPartial({
@@ -297,11 +297,11 @@ exports[`ownershipClass 1`] = `
297
297
  new_factory: newFactory
298
298
  }
299
299
  })),
300
- funds
300
+ funds: _funds
301
301
  })
302
302
  };
303
303
  };
304
- updateOwnership = (action: Action, funds?: Coin[]): MsgExecuteContractEncodeObject => {
304
+ updateOwnership = (action: Action, _funds?: Coin[]): MsgExecuteContractEncodeObject => {
305
305
  return {
306
306
  typeUrl: \\"/cosmwasm.wasm.v1.MsgExecuteContract\\",
307
307
  value: MsgExecuteContract.fromPartial({
@@ -310,7 +310,7 @@ exports[`ownershipClass 1`] = `
310
310
  msg: toUtf8(JSON.stringify({
311
311
  update_ownership: action
312
312
  })),
313
- funds
313
+ funds: _funds
314
314
  })
315
315
  };
316
316
  };
@@ -325,7 +325,7 @@ exports[`ownershipInterface 1`] = `
325
325
  newFactory
326
326
  }: {
327
327
  newFactory: string;
328
- }, funds?: Coin[]) => MsgExecuteContractEncodeObject;
329
- updateOwnership: (action: Action, funds?: Coin[]) => MsgExecuteContractEncodeObject;
328
+ }, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
329
+ updateOwnership: (action: Action, _funds?: Coin[]) => MsgExecuteContractEncodeObject;
330
330
  }"
331
331
  `;