schemos 0.1.1 → 0.2.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.
- package/dist/{telescope.d.ts → adapters/telescope.d.ts} +3 -3
- package/dist/adapters/telescope.d.ts.map +1 -0
- package/dist/{telescope.js → adapters/telescope.js} +5 -6
- package/dist/adapters/telescope.js.map +1 -0
- package/dist/adapters/telescope.test.d.ts.map +1 -0
- package/dist/{telescope.test.js → adapters/telescope.test.js} +11 -11
- package/dist/adapters/telescope.test.js.map +1 -0
- package/dist/client.test-d.js +2 -2
- package/dist/client.test-d.js.map +1 -1
- package/dist/contract.bench-d.js +32 -10
- package/dist/contract.bench-d.js.map +1 -1
- package/dist/contract.d.ts +3 -5
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +18 -15
- package/dist/contract.js.map +1 -1
- package/dist/contract.test.js +49 -1
- package/dist/contract.test.js.map +1 -1
- package/dist/encoding/index.d.ts +2 -0
- package/dist/encoding/index.d.ts.map +1 -0
- package/dist/encoding/index.js +2 -0
- package/dist/encoding/index.js.map +1 -0
- package/dist/encoding/json.d.ts +58 -0
- package/dist/encoding/json.d.ts.map +1 -0
- package/dist/encoding/json.js +95 -0
- package/dist/encoding/json.js.map +1 -0
- package/dist/encoding/json.test.d.ts +2 -0
- package/dist/encoding/json.test.d.ts.map +1 -0
- package/dist/encoding/json.test.js +49 -0
- package/dist/encoding/json.test.js.map +1 -0
- package/dist/formats.d.ts +33 -0
- package/dist/formats.d.ts.map +1 -0
- package/dist/formats.js +38 -0
- package/dist/formats.js.map +1 -0
- package/dist/formats.test.d.ts +2 -0
- package/dist/formats.test.d.ts.map +1 -0
- package/dist/formats.test.js +124 -0
- package/dist/formats.test.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/msg-compat.test-d.d.ts +13 -0
- package/dist/msg-compat.test-d.d.ts.map +1 -0
- package/dist/msg-compat.test-d.js +68 -0
- package/dist/msg-compat.test-d.js.map +1 -0
- package/dist/msg.d.ts +96 -0
- package/dist/msg.d.ts.map +1 -0
- package/dist/msg.js +98 -0
- package/dist/msg.js.map +1 -0
- package/dist/msg.test-d.d.ts +2 -0
- package/dist/msg.test-d.d.ts.map +1 -0
- package/dist/msg.test-d.js +121 -0
- package/dist/msg.test-d.js.map +1 -0
- package/dist/msg.test.d.ts +2 -0
- package/dist/msg.test.d.ts.map +1 -0
- package/dist/msg.test.js +177 -0
- package/dist/msg.test.js.map +1 -0
- package/dist/schemas/cw20/index.d.ts +152 -1
- package/dist/schemas/cw20/index.d.ts.map +1 -1
- package/dist/schemas/cw20/index.js +3 -1
- package/dist/schemas/cw20/index.js.map +1 -1
- package/dist/schemas/cw20/instantiate.d.ts +155 -0
- package/dist/schemas/cw20/instantiate.d.ts.map +1 -0
- package/dist/schemas/cw20/instantiate.js +175 -0
- package/dist/schemas/cw20/instantiate.js.map +1 -0
- package/dist/schemas/cw721/index.d.ts +96 -1
- package/dist/schemas/cw721/index.d.ts.map +1 -1
- package/dist/schemas/cw721/index.js +3 -1
- package/dist/schemas/cw721/index.js.map +1 -1
- package/dist/schemas/cw721/instantiate.d.ts +99 -0
- package/dist/schemas/cw721/instantiate.d.ts.map +1 -0
- package/dist/schemas/cw721/instantiate.js +112 -0
- package/dist/schemas/cw721/instantiate.js.map +1 -0
- package/dist/schemas/schemas.test-d.js +55 -0
- package/dist/schemas/schemas.test-d.js.map +1 -1
- package/dist/wallet-compat.test-d.js +11 -11
- package/dist/wallet-compat.test-d.js.map +1 -1
- package/package.json +7 -17
- package/dist/telescope.d.ts.map +0 -1
- package/dist/telescope.js.map +0 -1
- package/dist/telescope.test.d.ts.map +0 -1
- package/dist/telescope.test.js.map +0 -1
- /package/dist/{telescope.test.d.ts → adapters/telescope.test.d.ts} +0 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CW20 InstantiateMsg schema.
|
|
3
|
+
* Generated from cw-plus v2.0.0 cw20-base cargo schema output.
|
|
4
|
+
*/
|
|
5
|
+
export declare const cw20InstantiateSchema: {
|
|
6
|
+
readonly oneOf: readonly [{
|
|
7
|
+
readonly type: "object";
|
|
8
|
+
readonly required: readonly ["decimals", "initial_balances", "name", "symbol"];
|
|
9
|
+
readonly properties: {
|
|
10
|
+
readonly decimals: {
|
|
11
|
+
readonly type: "integer";
|
|
12
|
+
readonly format: "uint8";
|
|
13
|
+
readonly minimum: 0;
|
|
14
|
+
};
|
|
15
|
+
readonly initial_balances: {
|
|
16
|
+
readonly type: "array";
|
|
17
|
+
readonly items: {
|
|
18
|
+
readonly $ref: "#/definitions/Cw20Coin";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
readonly marketing: {
|
|
22
|
+
readonly anyOf: readonly [{
|
|
23
|
+
readonly $ref: "#/definitions/InstantiateMarketingInfo";
|
|
24
|
+
}, {
|
|
25
|
+
readonly type: "null";
|
|
26
|
+
}];
|
|
27
|
+
};
|
|
28
|
+
readonly mint: {
|
|
29
|
+
readonly anyOf: readonly [{
|
|
30
|
+
readonly $ref: "#/definitions/MinterResponse";
|
|
31
|
+
}, {
|
|
32
|
+
readonly type: "null";
|
|
33
|
+
}];
|
|
34
|
+
};
|
|
35
|
+
readonly name: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
};
|
|
38
|
+
readonly symbol: {
|
|
39
|
+
readonly type: "string";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
readonly additionalProperties: false;
|
|
43
|
+
}];
|
|
44
|
+
readonly definitions: {
|
|
45
|
+
readonly Cw20Coin: {
|
|
46
|
+
readonly type: "object";
|
|
47
|
+
readonly required: readonly ["address", "amount"];
|
|
48
|
+
readonly properties: {
|
|
49
|
+
readonly address: {
|
|
50
|
+
readonly type: "string";
|
|
51
|
+
};
|
|
52
|
+
readonly amount: {
|
|
53
|
+
readonly $ref: "#/definitions/Uint128";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
readonly additionalProperties: false;
|
|
57
|
+
};
|
|
58
|
+
readonly EmbeddedLogo: {
|
|
59
|
+
readonly description: "This is used to store the logo on the blockchain in an accepted format. Enforce maximum size of 5KB on all variants.";
|
|
60
|
+
readonly oneOf: readonly [{
|
|
61
|
+
readonly description: "Store the Logo as an SVG file. The content must conform to the spec at https://en.wikipedia.org/wiki/Scalable_Vector_Graphics (The contract should do some light-weight sanity-check validation)";
|
|
62
|
+
readonly type: "object";
|
|
63
|
+
readonly required: readonly ["svg"];
|
|
64
|
+
readonly properties: {
|
|
65
|
+
readonly svg: {
|
|
66
|
+
readonly $ref: "#/definitions/Binary";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
readonly additionalProperties: false;
|
|
70
|
+
}, {
|
|
71
|
+
readonly description: "Store the Logo as a PNG file. This will likely only support up to 64x64 or so within the 5KB limit.";
|
|
72
|
+
readonly type: "object";
|
|
73
|
+
readonly required: readonly ["png"];
|
|
74
|
+
readonly properties: {
|
|
75
|
+
readonly png: {
|
|
76
|
+
readonly $ref: "#/definitions/Binary";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly additionalProperties: false;
|
|
80
|
+
}];
|
|
81
|
+
};
|
|
82
|
+
readonly Binary: {
|
|
83
|
+
readonly description: "Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>. See also <https://github.com/CosmWasm/cosmwasm/blob/main/docs/MESSAGE_TYPES.md>.";
|
|
84
|
+
readonly type: "string";
|
|
85
|
+
};
|
|
86
|
+
readonly InstantiateMarketingInfo: {
|
|
87
|
+
readonly type: "object";
|
|
88
|
+
readonly properties: {
|
|
89
|
+
readonly description: {
|
|
90
|
+
readonly type: readonly ["string", "null"];
|
|
91
|
+
};
|
|
92
|
+
readonly logo: {
|
|
93
|
+
readonly anyOf: readonly [{
|
|
94
|
+
readonly $ref: "#/definitions/Logo";
|
|
95
|
+
}, {
|
|
96
|
+
readonly type: "null";
|
|
97
|
+
}];
|
|
98
|
+
};
|
|
99
|
+
readonly marketing: {
|
|
100
|
+
readonly type: readonly ["string", "null"];
|
|
101
|
+
};
|
|
102
|
+
readonly project: {
|
|
103
|
+
readonly type: readonly ["string", "null"];
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
readonly additionalProperties: false;
|
|
107
|
+
};
|
|
108
|
+
readonly Logo: {
|
|
109
|
+
readonly description: "This is used for uploading logo data, or setting it in InstantiateData";
|
|
110
|
+
readonly oneOf: readonly [{
|
|
111
|
+
readonly description: "A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.";
|
|
112
|
+
readonly type: "object";
|
|
113
|
+
readonly required: readonly ["url"];
|
|
114
|
+
readonly properties: {
|
|
115
|
+
readonly url: {
|
|
116
|
+
readonly type: "string";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
readonly additionalProperties: false;
|
|
120
|
+
}, {
|
|
121
|
+
readonly description: "Logo content stored on the blockchain. Enforce maximum size of 5KB on all variants";
|
|
122
|
+
readonly type: "object";
|
|
123
|
+
readonly required: readonly ["embedded"];
|
|
124
|
+
readonly properties: {
|
|
125
|
+
readonly embedded: {
|
|
126
|
+
readonly $ref: "#/definitions/EmbeddedLogo";
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
readonly additionalProperties: false;
|
|
130
|
+
}];
|
|
131
|
+
};
|
|
132
|
+
readonly MinterResponse: {
|
|
133
|
+
readonly type: "object";
|
|
134
|
+
readonly required: readonly ["minter"];
|
|
135
|
+
readonly properties: {
|
|
136
|
+
readonly cap: {
|
|
137
|
+
readonly anyOf: readonly [{
|
|
138
|
+
readonly $ref: "#/definitions/Uint128";
|
|
139
|
+
}, {
|
|
140
|
+
readonly type: "null";
|
|
141
|
+
}];
|
|
142
|
+
};
|
|
143
|
+
readonly minter: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
readonly additionalProperties: false;
|
|
148
|
+
};
|
|
149
|
+
readonly Uint128: {
|
|
150
|
+
readonly description: "A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```";
|
|
151
|
+
readonly type: "string";
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
//# sourceMappingURL=instantiate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instantiate.d.ts","sourceRoot":"","sources":["../../../src/schemas/cw20/instantiate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiLxB,CAAA"}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CW20 InstantiateMsg schema.
|
|
3
|
+
* Generated from cw-plus v2.0.0 cw20-base cargo schema output.
|
|
4
|
+
*/
|
|
5
|
+
export const cw20InstantiateSchema = {
|
|
6
|
+
oneOf: [
|
|
7
|
+
{
|
|
8
|
+
type: 'object',
|
|
9
|
+
required: ['decimals', 'initial_balances', 'name', 'symbol'],
|
|
10
|
+
properties: {
|
|
11
|
+
decimals: {
|
|
12
|
+
type: 'integer',
|
|
13
|
+
format: 'uint8',
|
|
14
|
+
minimum: 0,
|
|
15
|
+
},
|
|
16
|
+
initial_balances: {
|
|
17
|
+
type: 'array',
|
|
18
|
+
items: {
|
|
19
|
+
$ref: '#/definitions/Cw20Coin',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
marketing: {
|
|
23
|
+
anyOf: [
|
|
24
|
+
{
|
|
25
|
+
$ref: '#/definitions/InstantiateMarketingInfo',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: 'null',
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
mint: {
|
|
33
|
+
anyOf: [
|
|
34
|
+
{
|
|
35
|
+
$ref: '#/definitions/MinterResponse',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: 'null',
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
name: {
|
|
43
|
+
type: 'string',
|
|
44
|
+
},
|
|
45
|
+
symbol: {
|
|
46
|
+
type: 'string',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
additionalProperties: false,
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
definitions: {
|
|
53
|
+
Cw20Coin: {
|
|
54
|
+
type: 'object',
|
|
55
|
+
required: ['address', 'amount'],
|
|
56
|
+
properties: {
|
|
57
|
+
address: {
|
|
58
|
+
type: 'string',
|
|
59
|
+
},
|
|
60
|
+
amount: {
|
|
61
|
+
$ref: '#/definitions/Uint128',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
additionalProperties: false,
|
|
65
|
+
},
|
|
66
|
+
EmbeddedLogo: {
|
|
67
|
+
description: 'This is used to store the logo on the blockchain in an accepted format. Enforce maximum size of 5KB on all variants.',
|
|
68
|
+
oneOf: [
|
|
69
|
+
{
|
|
70
|
+
description: 'Store the Logo as an SVG file. The content must conform to the spec at https://en.wikipedia.org/wiki/Scalable_Vector_Graphics (The contract should do some light-weight sanity-check validation)',
|
|
71
|
+
type: 'object',
|
|
72
|
+
required: ['svg'],
|
|
73
|
+
properties: {
|
|
74
|
+
svg: {
|
|
75
|
+
$ref: '#/definitions/Binary',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
additionalProperties: false,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
description: 'Store the Logo as a PNG file. This will likely only support up to 64x64 or so within the 5KB limit.',
|
|
82
|
+
type: 'object',
|
|
83
|
+
required: ['png'],
|
|
84
|
+
properties: {
|
|
85
|
+
png: {
|
|
86
|
+
$ref: '#/definitions/Binary',
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
additionalProperties: false,
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
},
|
|
93
|
+
Binary: {
|
|
94
|
+
description: 'Binary is a wrapper around Vec<u8> to add base64 de/serialization with serde. It also adds some helper methods to help encode inline.\n\nThis is only needed as serde-json-{core,wasm} has a horrible encoding for Vec<u8>. See also <https://github.com/CosmWasm/cosmwasm/blob/main/docs/MESSAGE_TYPES.md>.',
|
|
95
|
+
type: 'string',
|
|
96
|
+
},
|
|
97
|
+
InstantiateMarketingInfo: {
|
|
98
|
+
type: 'object',
|
|
99
|
+
properties: {
|
|
100
|
+
description: {
|
|
101
|
+
type: ['string', 'null'],
|
|
102
|
+
},
|
|
103
|
+
logo: {
|
|
104
|
+
anyOf: [
|
|
105
|
+
{
|
|
106
|
+
$ref: '#/definitions/Logo',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
type: 'null',
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
marketing: {
|
|
114
|
+
type: ['string', 'null'],
|
|
115
|
+
},
|
|
116
|
+
project: {
|
|
117
|
+
type: ['string', 'null'],
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
additionalProperties: false,
|
|
121
|
+
},
|
|
122
|
+
Logo: {
|
|
123
|
+
description: 'This is used for uploading logo data, or setting it in InstantiateData',
|
|
124
|
+
oneOf: [
|
|
125
|
+
{
|
|
126
|
+
description: 'A reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.',
|
|
127
|
+
type: 'object',
|
|
128
|
+
required: ['url'],
|
|
129
|
+
properties: {
|
|
130
|
+
url: {
|
|
131
|
+
type: 'string',
|
|
132
|
+
},
|
|
133
|
+
},
|
|
134
|
+
additionalProperties: false,
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
description: 'Logo content stored on the blockchain. Enforce maximum size of 5KB on all variants',
|
|
138
|
+
type: 'object',
|
|
139
|
+
required: ['embedded'],
|
|
140
|
+
properties: {
|
|
141
|
+
embedded: {
|
|
142
|
+
$ref: '#/definitions/EmbeddedLogo',
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
additionalProperties: false,
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
},
|
|
149
|
+
MinterResponse: {
|
|
150
|
+
type: 'object',
|
|
151
|
+
required: ['minter'],
|
|
152
|
+
properties: {
|
|
153
|
+
cap: {
|
|
154
|
+
anyOf: [
|
|
155
|
+
{
|
|
156
|
+
$ref: '#/definitions/Uint128',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
type: 'null',
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
},
|
|
163
|
+
minter: {
|
|
164
|
+
type: 'string',
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
additionalProperties: false,
|
|
168
|
+
},
|
|
169
|
+
Uint128: {
|
|
170
|
+
description: 'A thin wrapper around u128 that is using strings for JSON encoding/decoding, such that the full u128 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.\n\n# Examples\n\nUse `from` to create instances of this and `u128` to get the value out:\n\n``` # use cosmwasm_std::Uint128; let a = Uint128::from(123u128); assert_eq!(a.u128(), 123);\n\nlet b = Uint128::from(42u64); assert_eq!(b.u128(), 42);\n\nlet c = Uint128::from(70u32); assert_eq!(c.u128(), 70); ```',
|
|
171
|
+
type: 'string',
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
//# sourceMappingURL=instantiate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instantiate.js","sourceRoot":"","sources":["../../../src/schemas/cw20/instantiate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,KAAK,EAAE;QACL;YACE,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,UAAU,EAAE,kBAAkB,EAAE,MAAM,EAAE,QAAQ,CAAC;YAC5D,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,SAAS;oBACf,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE,CAAC;iBACX;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,IAAI,EAAE,wBAAwB;qBAC/B;iBACF;gBACD,SAAS,EAAE;oBACT,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,wCAAwC;yBAC/C;wBACD;4BACE,IAAI,EAAE,MAAM;yBACb;qBACF;iBACF;gBACD,IAAI,EAAE;oBACJ,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,8BAA8B;yBACrC;wBACD;4BACE,IAAI,EAAE,MAAM;yBACb;qBACF;iBACF;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;SAC5B;KACF;IACD,WAAW,EAAE;QACX,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;YAC/B,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;iBACf;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,uBAAuB;iBAC9B;aACF;YACD,oBAAoB,EAAE,KAAK;SAC5B;QACD,YAAY,EAAE;YACZ,WAAW,EACT,sHAAsH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BACD;oBACE,WAAW,EACT,oFAAoF;oBACtF,IAAI,EAAE,QAAQ;oBACd,QAAQ,EAAE,CAAC,UAAU,CAAC;oBACtB,UAAU,EAAE;wBACV,QAAQ,EAAE;4BACR,IAAI,EAAE,4BAA4B;yBACnC;qBACF;oBACD,oBAAoB,EAAE,KAAK;iBAC5B;aACF;SACF;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,UAAU,EAAE;gBACV,GAAG,EAAE;oBACH,KAAK,EAAE;wBACL;4BACE,IAAI,EAAE,uBAAuB;yBAC9B;wBACD;4BACE,IAAI,EAAE,MAAM;yBACb;qBACF;iBACF;gBACD,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;SAC5B;QACD,OAAO,EAAE;YACP,WAAW,EACT,mfAAmf;YACrf,IAAI,EAAE,QAAQ;SACf;KACF;CACO,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { cw721ExecuteSchema } from './execute.js';
|
|
2
|
+
import { cw721InstantiateSchema } from './instantiate.js';
|
|
2
3
|
import { cw721QuerySchema } from './query.js';
|
|
3
4
|
import { cw721ResponseSchemas } from './responses.js';
|
|
4
5
|
export declare const cw721: {
|
|
@@ -540,6 +541,100 @@ export declare const cw721: {
|
|
|
540
541
|
};
|
|
541
542
|
};
|
|
542
543
|
};
|
|
544
|
+
readonly instantiate: {
|
|
545
|
+
readonly oneOf: readonly [{
|
|
546
|
+
readonly type: "object";
|
|
547
|
+
readonly required: readonly ["name", "symbol"];
|
|
548
|
+
readonly properties: {
|
|
549
|
+
readonly collection_info_extension: {
|
|
550
|
+
readonly anyOf: readonly [{
|
|
551
|
+
readonly $ref: "#/definitions/CollectionExtensionMsg_for_RoyaltyInfoResponse";
|
|
552
|
+
}, {
|
|
553
|
+
readonly type: "null";
|
|
554
|
+
}];
|
|
555
|
+
};
|
|
556
|
+
readonly creator: {
|
|
557
|
+
readonly description: "The account that can update the collection info. If not set, the minter is the creator.";
|
|
558
|
+
readonly type: readonly ["string", "null"];
|
|
559
|
+
};
|
|
560
|
+
readonly minter: {
|
|
561
|
+
readonly description: "The minter is the only one who can create new NFTs. This is designed for a base NFT that is controlled by an external program or contract. You will likely replace this with custom logic in custom NFT contracts.";
|
|
562
|
+
readonly type: readonly ["string", "null"];
|
|
563
|
+
};
|
|
564
|
+
readonly name: {
|
|
565
|
+
readonly type: "string";
|
|
566
|
+
};
|
|
567
|
+
readonly symbol: {
|
|
568
|
+
readonly type: "string";
|
|
569
|
+
};
|
|
570
|
+
readonly withdraw_address: {
|
|
571
|
+
readonly type: readonly ["string", "null"];
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
readonly additionalProperties: false;
|
|
575
|
+
}];
|
|
576
|
+
readonly definitions: {
|
|
577
|
+
readonly CollectionExtensionMsg_for_RoyaltyInfoResponse: {
|
|
578
|
+
readonly type: "object";
|
|
579
|
+
readonly properties: {
|
|
580
|
+
readonly description: {
|
|
581
|
+
readonly type: readonly ["string", "null"];
|
|
582
|
+
};
|
|
583
|
+
readonly explicit_content: {
|
|
584
|
+
readonly type: readonly ["boolean", "null"];
|
|
585
|
+
};
|
|
586
|
+
readonly external_link: {
|
|
587
|
+
readonly type: readonly ["string", "null"];
|
|
588
|
+
};
|
|
589
|
+
readonly image: {
|
|
590
|
+
readonly type: readonly ["string", "null"];
|
|
591
|
+
};
|
|
592
|
+
readonly royalty_info: {
|
|
593
|
+
readonly anyOf: readonly [{
|
|
594
|
+
readonly $ref: "#/definitions/RoyaltyInfoResponse";
|
|
595
|
+
}, {
|
|
596
|
+
readonly type: "null";
|
|
597
|
+
}];
|
|
598
|
+
};
|
|
599
|
+
readonly start_trading_time: {
|
|
600
|
+
readonly anyOf: readonly [{
|
|
601
|
+
readonly $ref: "#/definitions/Timestamp";
|
|
602
|
+
}, {
|
|
603
|
+
readonly type: "null";
|
|
604
|
+
}];
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
readonly additionalProperties: false;
|
|
608
|
+
};
|
|
609
|
+
readonly Decimal: {
|
|
610
|
+
readonly description: "A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 340282366920938463463.374607431768211455 (which is (2^128 - 1) / 10^18)";
|
|
611
|
+
readonly type: "string";
|
|
612
|
+
};
|
|
613
|
+
readonly RoyaltyInfoResponse: {
|
|
614
|
+
readonly type: "object";
|
|
615
|
+
readonly required: readonly ["payment_address", "share"];
|
|
616
|
+
readonly properties: {
|
|
617
|
+
readonly payment_address: {
|
|
618
|
+
readonly type: "string";
|
|
619
|
+
};
|
|
620
|
+
readonly share: {
|
|
621
|
+
readonly $ref: "#/definitions/Decimal";
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
readonly additionalProperties: false;
|
|
625
|
+
};
|
|
626
|
+
readonly Timestamp: {
|
|
627
|
+
readonly description: "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.";
|
|
628
|
+
readonly allOf: readonly [{
|
|
629
|
+
readonly $ref: "#/definitions/Uint64";
|
|
630
|
+
}];
|
|
631
|
+
};
|
|
632
|
+
readonly Uint64: {
|
|
633
|
+
readonly description: "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.";
|
|
634
|
+
readonly type: "string";
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
};
|
|
543
638
|
readonly query: {
|
|
544
639
|
readonly oneOf: readonly [{
|
|
545
640
|
readonly description: "Return the owner of the given token, error if token does not exist";
|
|
@@ -2503,5 +2598,5 @@ export declare const cw721: {
|
|
|
2503
2598
|
};
|
|
2504
2599
|
};
|
|
2505
2600
|
};
|
|
2506
|
-
export { cw721ExecuteSchema, cw721QuerySchema, cw721ResponseSchemas };
|
|
2601
|
+
export { cw721ExecuteSchema, cw721InstantiateSchema, cw721QuerySchema, cw721ResponseSchemas, };
|
|
2507
2602
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/cw721/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/cw721/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKR,CAAA;AAEV,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,GACrB,CAAA"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { cw721ExecuteSchema } from './execute.js';
|
|
2
|
+
import { cw721InstantiateSchema } from './instantiate.js';
|
|
2
3
|
import { cw721QuerySchema } from './query.js';
|
|
3
4
|
import { cw721ResponseSchemas } from './responses.js';
|
|
4
5
|
export const cw721 = {
|
|
5
6
|
execute: cw721ExecuteSchema,
|
|
7
|
+
instantiate: cw721InstantiateSchema,
|
|
6
8
|
query: cw721QuerySchema,
|
|
7
9
|
responses: cw721ResponseSchemas,
|
|
8
10
|
};
|
|
9
|
-
export { cw721ExecuteSchema, cw721QuerySchema, cw721ResponseSchemas };
|
|
11
|
+
export { cw721ExecuteSchema, cw721InstantiateSchema, cw721QuerySchema, cw721ResponseSchemas, };
|
|
10
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/cw721/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,OAAO,EAAE,kBAAkB;IAC3B,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,oBAAoB;CACvB,CAAA;AAEV,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schemas/cw721/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAErD,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,OAAO,EAAE,kBAAkB;IAC3B,WAAW,EAAE,sBAAsB;IACnC,KAAK,EAAE,gBAAgB;IACvB,SAAS,EAAE,oBAAoB;CACvB,CAAA;AAEV,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,GACrB,CAAA"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CW721 InstantiateMsg schema.
|
|
3
|
+
* Generated from cw-nfts cw721-base cargo schema output.
|
|
4
|
+
*/
|
|
5
|
+
export declare const cw721InstantiateSchema: {
|
|
6
|
+
readonly oneOf: readonly [{
|
|
7
|
+
readonly type: "object";
|
|
8
|
+
readonly required: readonly ["name", "symbol"];
|
|
9
|
+
readonly properties: {
|
|
10
|
+
readonly collection_info_extension: {
|
|
11
|
+
readonly anyOf: readonly [{
|
|
12
|
+
readonly $ref: "#/definitions/CollectionExtensionMsg_for_RoyaltyInfoResponse";
|
|
13
|
+
}, {
|
|
14
|
+
readonly type: "null";
|
|
15
|
+
}];
|
|
16
|
+
};
|
|
17
|
+
readonly creator: {
|
|
18
|
+
readonly description: "The account that can update the collection info. If not set, the minter is the creator.";
|
|
19
|
+
readonly type: readonly ["string", "null"];
|
|
20
|
+
};
|
|
21
|
+
readonly minter: {
|
|
22
|
+
readonly description: "The minter is the only one who can create new NFTs. This is designed for a base NFT that is controlled by an external program or contract. You will likely replace this with custom logic in custom NFT contracts.";
|
|
23
|
+
readonly type: readonly ["string", "null"];
|
|
24
|
+
};
|
|
25
|
+
readonly name: {
|
|
26
|
+
readonly type: "string";
|
|
27
|
+
};
|
|
28
|
+
readonly symbol: {
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
};
|
|
31
|
+
readonly withdraw_address: {
|
|
32
|
+
readonly type: readonly ["string", "null"];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
readonly additionalProperties: false;
|
|
36
|
+
}];
|
|
37
|
+
readonly definitions: {
|
|
38
|
+
readonly CollectionExtensionMsg_for_RoyaltyInfoResponse: {
|
|
39
|
+
readonly type: "object";
|
|
40
|
+
readonly properties: {
|
|
41
|
+
readonly description: {
|
|
42
|
+
readonly type: readonly ["string", "null"];
|
|
43
|
+
};
|
|
44
|
+
readonly explicit_content: {
|
|
45
|
+
readonly type: readonly ["boolean", "null"];
|
|
46
|
+
};
|
|
47
|
+
readonly external_link: {
|
|
48
|
+
readonly type: readonly ["string", "null"];
|
|
49
|
+
};
|
|
50
|
+
readonly image: {
|
|
51
|
+
readonly type: readonly ["string", "null"];
|
|
52
|
+
};
|
|
53
|
+
readonly royalty_info: {
|
|
54
|
+
readonly anyOf: readonly [{
|
|
55
|
+
readonly $ref: "#/definitions/RoyaltyInfoResponse";
|
|
56
|
+
}, {
|
|
57
|
+
readonly type: "null";
|
|
58
|
+
}];
|
|
59
|
+
};
|
|
60
|
+
readonly start_trading_time: {
|
|
61
|
+
readonly anyOf: readonly [{
|
|
62
|
+
readonly $ref: "#/definitions/Timestamp";
|
|
63
|
+
}, {
|
|
64
|
+
readonly type: "null";
|
|
65
|
+
}];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly additionalProperties: false;
|
|
69
|
+
};
|
|
70
|
+
readonly Decimal: {
|
|
71
|
+
readonly description: "A fixed-point decimal value with 18 fractional digits, i.e. Decimal(1_000_000_000_000_000_000) == 1.0\n\nThe greatest possible value that can be represented is 340282366920938463463.374607431768211455 (which is (2^128 - 1) / 10^18)";
|
|
72
|
+
readonly type: "string";
|
|
73
|
+
};
|
|
74
|
+
readonly RoyaltyInfoResponse: {
|
|
75
|
+
readonly type: "object";
|
|
76
|
+
readonly required: readonly ["payment_address", "share"];
|
|
77
|
+
readonly properties: {
|
|
78
|
+
readonly payment_address: {
|
|
79
|
+
readonly type: "string";
|
|
80
|
+
};
|
|
81
|
+
readonly share: {
|
|
82
|
+
readonly $ref: "#/definitions/Decimal";
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly additionalProperties: false;
|
|
86
|
+
};
|
|
87
|
+
readonly Timestamp: {
|
|
88
|
+
readonly description: "A point in time in nanosecond precision.\n\nThis type can represent times from 1970-01-01T00:00:00Z to 2554-07-21T23:34:33Z.";
|
|
89
|
+
readonly allOf: readonly [{
|
|
90
|
+
readonly $ref: "#/definitions/Uint64";
|
|
91
|
+
}];
|
|
92
|
+
};
|
|
93
|
+
readonly Uint64: {
|
|
94
|
+
readonly description: "A thin wrapper around u64 that is using strings for JSON encoding/decoding, such that the full u64 range can be used for clients that convert JSON numbers to floats, like JavaScript and jq.";
|
|
95
|
+
readonly type: "string";
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
//# sourceMappingURL=instantiate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instantiate.d.ts","sourceRoot":"","sources":["../../../src/schemas/cw721/instantiate.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+GzB,CAAA"}
|