|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`execute execute classes array types 1`] = ` |
| 4 | +"export class Client implements Instance { |
| 5 | + client: SigningCosmWasmClient; |
| 6 | + sender: string; |
| 7 | + contractAddress: string; |
| 8 | +
|
| 9 | + constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { |
| 10 | + this.client = client; |
| 11 | + this.sender = sender; |
| 12 | + this.contractAddress = contractAddress; |
| 13 | + } |
| 14 | +
|
| 15 | +}" |
| 16 | +`; |
| 17 | + |
| 18 | +exports[`execute execute interfaces no extends 1`] = ` |
| 19 | +"export interface SG721Instance { |
| 20 | + contractAddress: string; |
| 21 | + sender: string; |
| 22 | +}" |
| 23 | +`; |
| 24 | + |
| 25 | +exports[`execute execute_msg_for__empty 1`] = `"export type ExecuteMsg = ExecuteMsg;"`; |
| 26 | + |
| 27 | +exports[`execute query classes 1`] = ` |
| 28 | +"export class QueryClient implements ReadOnlyInstance { |
| 29 | + client: CosmWasmClient; |
| 30 | + contractAddress: string; |
| 31 | +
|
| 32 | + constructor(client: CosmWasmClient, contractAddress: string) { |
| 33 | + this.client = client; |
| 34 | + this.contractAddress = contractAddress; |
| 35 | + } |
| 36 | +
|
| 37 | +}" |
| 38 | +`; |
| 39 | + |
| 40 | +exports[`execute query classes response 1`] = `"export type QueryMsg = QueryMsg;"`; |
| 41 | + |
| 42 | +exports[`query execute classes array types 1`] = ` |
| 43 | +"export class Client implements Instance { |
| 44 | + client: SigningCosmWasmClient; |
| 45 | + sender: string; |
| 46 | + contractAddress: string; |
| 47 | +
|
| 48 | + constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { |
| 49 | + this.client = client; |
| 50 | + this.sender = sender; |
| 51 | + this.contractAddress = contractAddress; |
| 52 | + } |
| 53 | +
|
| 54 | +}" |
| 55 | +`; |
| 56 | + |
| 57 | +exports[`query execute interfaces no extends 1`] = ` |
| 58 | +"export interface SG721Instance { |
| 59 | + contractAddress: string; |
| 60 | + sender: string; |
| 61 | +}" |
| 62 | +`; |
| 63 | + |
| 64 | +exports[`query execute_msg_for__empty 1`] = `"export type QueryMsg = QueryMsg;"`; |
| 65 | + |
| 66 | +exports[`query query classes 1`] = ` |
| 67 | +"export class QueryClient implements ReadOnlyInstance { |
| 68 | + client: CosmWasmClient; |
| 69 | + contractAddress: string; |
| 70 | +
|
| 71 | + constructor(client: CosmWasmClient, contractAddress: string) { |
| 72 | + this.client = client; |
| 73 | + this.contractAddress = contractAddress; |
| 74 | + } |
| 75 | +
|
| 76 | +}" |
| 77 | +`; |
| 78 | + |
| 79 | +exports[`query query classes response 1`] = `"export type QueryMsg = QueryMsg;"`; |
0 commit comments