@longdotxyz/shared 0.0.145 → 0.0.147
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/contracts/activity.contract.d.ts +60 -60
- package/dist/contracts/asset.contract.d.ts +884 -152
- package/dist/contracts/asset.contract.js +15 -0
- package/dist/contracts/asset.contract.js.map +1 -1
- package/dist/contracts/auction-template.contract.d.ts +16 -16
- package/dist/contracts/builder.contract.d.ts +492 -382
- package/dist/contracts/builder.contract.js +20 -2
- package/dist/contracts/builder.contract.js.map +1 -1
- package/dist/contracts/community.contract.d.ts +10 -10
- package/dist/contracts/index.d.ts +1092 -435
- package/dist/contracts/sponsorship.contract.d.ts +14 -14
- package/dist/contracts/tokens.contract.d.ts +8 -8
- package/dist/utils/address-registry.util.js +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ declare const EncodeMulticurveResponseSchema: z.ZodObject<{
|
|
|
16
16
|
token_factory: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
17
17
|
token_factory_data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
numeraire: `0x${string}`;
|
|
19
20
|
governance_factory: `0x${string}`;
|
|
20
21
|
governance_factory_data: `0x${string}`;
|
|
21
22
|
pool_initializer: `0x${string}`;
|
|
@@ -26,10 +27,10 @@ declare const EncodeMulticurveResponseSchema: z.ZodObject<{
|
|
|
26
27
|
salt: `0x${string}`;
|
|
27
28
|
initial_supply: string;
|
|
28
29
|
num_tokens_to_sell: string;
|
|
29
|
-
numeraire: `0x${string}`;
|
|
30
30
|
token_factory: `0x${string}`;
|
|
31
31
|
token_factory_data: `0x${string}`;
|
|
32
32
|
}, {
|
|
33
|
+
numeraire: string;
|
|
33
34
|
governance_factory: string;
|
|
34
35
|
governance_factory_data: string;
|
|
35
36
|
pool_initializer: string;
|
|
@@ -40,7 +41,6 @@ declare const EncodeMulticurveResponseSchema: z.ZodObject<{
|
|
|
40
41
|
salt: string;
|
|
41
42
|
initial_supply: string;
|
|
42
43
|
num_tokens_to_sell: string;
|
|
43
|
-
numeraire: string;
|
|
44
44
|
token_factory: string;
|
|
45
45
|
token_factory_data: string;
|
|
46
46
|
}>>;
|
|
@@ -50,6 +50,7 @@ declare const EncodeMulticurveResponseSchema: z.ZodObject<{
|
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
encoded_payload: `0x${string}`;
|
|
52
52
|
params?: {
|
|
53
|
+
numeraire: `0x${string}`;
|
|
53
54
|
governance_factory: `0x${string}`;
|
|
54
55
|
governance_factory_data: `0x${string}`;
|
|
55
56
|
pool_initializer: `0x${string}`;
|
|
@@ -60,7 +61,6 @@ declare const EncodeMulticurveResponseSchema: z.ZodObject<{
|
|
|
60
61
|
salt: `0x${string}`;
|
|
61
62
|
initial_supply: string;
|
|
62
63
|
num_tokens_to_sell: string;
|
|
63
|
-
numeraire: `0x${string}`;
|
|
64
64
|
token_factory: `0x${string}`;
|
|
65
65
|
token_factory_data: `0x${string}`;
|
|
66
66
|
} | undefined;
|
|
@@ -69,6 +69,7 @@ declare const EncodeMulticurveResponseSchema: z.ZodObject<{
|
|
|
69
69
|
}, {
|
|
70
70
|
encoded_payload: string;
|
|
71
71
|
params?: {
|
|
72
|
+
numeraire: string;
|
|
72
73
|
governance_factory: string;
|
|
73
74
|
governance_factory_data: string;
|
|
74
75
|
pool_initializer: string;
|
|
@@ -79,7 +80,6 @@ declare const EncodeMulticurveResponseSchema: z.ZodObject<{
|
|
|
79
80
|
salt: string;
|
|
80
81
|
initial_supply: string;
|
|
81
82
|
num_tokens_to_sell: string;
|
|
82
|
-
numeraire: string;
|
|
83
83
|
token_factory: string;
|
|
84
84
|
token_factory_data: string;
|
|
85
85
|
} | undefined;
|
|
@@ -107,8 +107,8 @@ export declare const sponsorshipContract: {
|
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
token_name: string;
|
|
109
109
|
token_symbol: string;
|
|
110
|
-
debug: boolean;
|
|
111
110
|
token_uri: string;
|
|
111
|
+
debug: boolean;
|
|
112
112
|
agent_address: `0x${string}`;
|
|
113
113
|
category: "builder" | "product";
|
|
114
114
|
numeraire?: `0x${string}` | undefined;
|
|
@@ -116,9 +116,9 @@ export declare const sponsorshipContract: {
|
|
|
116
116
|
token_name: string;
|
|
117
117
|
token_symbol: string;
|
|
118
118
|
agent_address: string;
|
|
119
|
+
token_uri?: string | undefined;
|
|
119
120
|
numeraire?: string | undefined;
|
|
120
121
|
debug?: boolean | undefined;
|
|
121
|
-
token_uri?: string | undefined;
|
|
122
122
|
category?: "builder" | "product" | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -128,8 +128,8 @@ export declare const sponsorshipContract: {
|
|
|
128
128
|
body: {
|
|
129
129
|
token_name: string;
|
|
130
130
|
token_symbol: string;
|
|
131
|
-
debug: boolean;
|
|
132
131
|
token_uri: string;
|
|
132
|
+
debug: boolean;
|
|
133
133
|
agent_address: `0x${string}`;
|
|
134
134
|
category: "builder" | "product";
|
|
135
135
|
numeraire?: `0x${string}` | undefined;
|
|
@@ -142,9 +142,9 @@ export declare const sponsorshipContract: {
|
|
|
142
142
|
token_name: string;
|
|
143
143
|
token_symbol: string;
|
|
144
144
|
agent_address: string;
|
|
145
|
+
token_uri?: string | undefined;
|
|
145
146
|
numeraire?: string | undefined;
|
|
146
147
|
debug?: boolean | undefined;
|
|
147
|
-
token_uri?: string | undefined;
|
|
148
148
|
category?: "builder" | "product" | undefined;
|
|
149
149
|
};
|
|
150
150
|
}>, z.ZodObject<{
|
|
@@ -164,6 +164,7 @@ export declare const sponsorshipContract: {
|
|
|
164
164
|
token_factory: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
165
165
|
token_factory_data: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
166
166
|
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
numeraire: `0x${string}`;
|
|
167
168
|
governance_factory: `0x${string}`;
|
|
168
169
|
governance_factory_data: `0x${string}`;
|
|
169
170
|
pool_initializer: `0x${string}`;
|
|
@@ -174,10 +175,10 @@ export declare const sponsorshipContract: {
|
|
|
174
175
|
salt: `0x${string}`;
|
|
175
176
|
initial_supply: string;
|
|
176
177
|
num_tokens_to_sell: string;
|
|
177
|
-
numeraire: `0x${string}`;
|
|
178
178
|
token_factory: `0x${string}`;
|
|
179
179
|
token_factory_data: `0x${string}`;
|
|
180
180
|
}, {
|
|
181
|
+
numeraire: string;
|
|
181
182
|
governance_factory: string;
|
|
182
183
|
governance_factory_data: string;
|
|
183
184
|
pool_initializer: string;
|
|
@@ -188,7 +189,6 @@ export declare const sponsorshipContract: {
|
|
|
188
189
|
salt: string;
|
|
189
190
|
initial_supply: string;
|
|
190
191
|
num_tokens_to_sell: string;
|
|
191
|
-
numeraire: string;
|
|
192
192
|
token_factory: string;
|
|
193
193
|
token_factory_data: string;
|
|
194
194
|
}>>;
|
|
@@ -198,6 +198,7 @@ export declare const sponsorshipContract: {
|
|
|
198
198
|
}, "strip", z.ZodTypeAny, {
|
|
199
199
|
encoded_payload: `0x${string}`;
|
|
200
200
|
params?: {
|
|
201
|
+
numeraire: `0x${string}`;
|
|
201
202
|
governance_factory: `0x${string}`;
|
|
202
203
|
governance_factory_data: `0x${string}`;
|
|
203
204
|
pool_initializer: `0x${string}`;
|
|
@@ -208,7 +209,6 @@ export declare const sponsorshipContract: {
|
|
|
208
209
|
salt: `0x${string}`;
|
|
209
210
|
initial_supply: string;
|
|
210
211
|
num_tokens_to_sell: string;
|
|
211
|
-
numeraire: `0x${string}`;
|
|
212
212
|
token_factory: `0x${string}`;
|
|
213
213
|
token_factory_data: `0x${string}`;
|
|
214
214
|
} | undefined;
|
|
@@ -217,6 +217,7 @@ export declare const sponsorshipContract: {
|
|
|
217
217
|
}, {
|
|
218
218
|
encoded_payload: string;
|
|
219
219
|
params?: {
|
|
220
|
+
numeraire: string;
|
|
220
221
|
governance_factory: string;
|
|
221
222
|
governance_factory_data: string;
|
|
222
223
|
pool_initializer: string;
|
|
@@ -227,7 +228,6 @@ export declare const sponsorshipContract: {
|
|
|
227
228
|
salt: string;
|
|
228
229
|
initial_supply: string;
|
|
229
230
|
num_tokens_to_sell: string;
|
|
230
|
-
numeraire: string;
|
|
231
231
|
token_factory: string;
|
|
232
232
|
token_factory_data: string;
|
|
233
233
|
} | undefined;
|
|
@@ -238,6 +238,7 @@ export declare const sponsorshipContract: {
|
|
|
238
238
|
result: {
|
|
239
239
|
encoded_payload: `0x${string}`;
|
|
240
240
|
params?: {
|
|
241
|
+
numeraire: `0x${string}`;
|
|
241
242
|
governance_factory: `0x${string}`;
|
|
242
243
|
governance_factory_data: `0x${string}`;
|
|
243
244
|
pool_initializer: `0x${string}`;
|
|
@@ -248,7 +249,6 @@ export declare const sponsorshipContract: {
|
|
|
248
249
|
salt: `0x${string}`;
|
|
249
250
|
initial_supply: string;
|
|
250
251
|
num_tokens_to_sell: string;
|
|
251
|
-
numeraire: `0x${string}`;
|
|
252
252
|
token_factory: `0x${string}`;
|
|
253
253
|
token_factory_data: `0x${string}`;
|
|
254
254
|
} | undefined;
|
|
@@ -259,6 +259,7 @@ export declare const sponsorshipContract: {
|
|
|
259
259
|
result: {
|
|
260
260
|
encoded_payload: string;
|
|
261
261
|
params?: {
|
|
262
|
+
numeraire: string;
|
|
262
263
|
governance_factory: string;
|
|
263
264
|
governance_factory_data: string;
|
|
264
265
|
pool_initializer: string;
|
|
@@ -269,7 +270,6 @@ export declare const sponsorshipContract: {
|
|
|
269
270
|
salt: string;
|
|
270
271
|
initial_supply: string;
|
|
271
272
|
num_tokens_to_sell: string;
|
|
272
|
-
numeraire: string;
|
|
273
273
|
token_factory: string;
|
|
274
274
|
token_factory_data: string;
|
|
275
275
|
} | undefined;
|
|
@@ -34,18 +34,18 @@ declare const tokensContract: {
|
|
|
34
34
|
description: string;
|
|
35
35
|
agent_address: `0x${string}`;
|
|
36
36
|
category: "builder" | "product";
|
|
37
|
+
numeraire?: `0x${string}` | undefined;
|
|
37
38
|
fee_receiver?: string | undefined;
|
|
38
39
|
social_links?: string | undefined;
|
|
39
|
-
numeraire?: `0x${string}` | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
token_name: string;
|
|
42
42
|
token_symbol: string;
|
|
43
43
|
description: string;
|
|
44
44
|
agent_address: string;
|
|
45
45
|
category: "builder" | "product";
|
|
46
|
+
numeraire?: string | undefined;
|
|
46
47
|
fee_receiver?: string | undefined;
|
|
47
48
|
social_links?: string | undefined;
|
|
48
|
-
numeraire?: string | undefined;
|
|
49
49
|
}>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
query: {
|
|
@@ -57,9 +57,9 @@ declare const tokensContract: {
|
|
|
57
57
|
description: string;
|
|
58
58
|
agent_address: `0x${string}`;
|
|
59
59
|
category: "builder" | "product";
|
|
60
|
+
numeraire?: `0x${string}` | undefined;
|
|
60
61
|
fee_receiver?: string | undefined;
|
|
61
62
|
social_links?: string | undefined;
|
|
62
|
-
numeraire?: `0x${string}` | undefined;
|
|
63
63
|
};
|
|
64
64
|
}, {
|
|
65
65
|
query: {
|
|
@@ -71,9 +71,9 @@ declare const tokensContract: {
|
|
|
71
71
|
description: string;
|
|
72
72
|
agent_address: string;
|
|
73
73
|
category: "builder" | "product";
|
|
74
|
+
numeraire?: string | undefined;
|
|
74
75
|
fee_receiver?: string | undefined;
|
|
75
76
|
social_links?: string | undefined;
|
|
76
|
-
numeraire?: string | undefined;
|
|
77
77
|
};
|
|
78
78
|
}>, z.ZodObject<{
|
|
79
79
|
result: z.ZodObject<{
|
|
@@ -82,28 +82,28 @@ declare const tokensContract: {
|
|
|
82
82
|
hook_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
83
83
|
metadata_uri: z.ZodString;
|
|
84
84
|
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
transaction_hash: `0x${string}`;
|
|
85
86
|
token_address: `0x${string}`;
|
|
86
87
|
hook_address: `0x${string}`;
|
|
87
|
-
transaction_hash: `0x${string}`;
|
|
88
88
|
metadata_uri: string;
|
|
89
89
|
}, {
|
|
90
|
+
transaction_hash: string;
|
|
90
91
|
token_address: string;
|
|
91
92
|
hook_address: string;
|
|
92
|
-
transaction_hash: string;
|
|
93
93
|
metadata_uri: string;
|
|
94
94
|
}>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
result: {
|
|
97
|
+
transaction_hash: `0x${string}`;
|
|
97
98
|
token_address: `0x${string}`;
|
|
98
99
|
hook_address: `0x${string}`;
|
|
99
|
-
transaction_hash: `0x${string}`;
|
|
100
100
|
metadata_uri: string;
|
|
101
101
|
};
|
|
102
102
|
}, {
|
|
103
103
|
result: {
|
|
104
|
+
transaction_hash: string;
|
|
104
105
|
token_address: string;
|
|
105
106
|
hook_address: string;
|
|
106
|
-
transaction_hash: string;
|
|
107
107
|
metadata_uri: string;
|
|
108
108
|
};
|
|
109
109
|
}>, Record<never, never>, Record<never, never>>;
|
|
@@ -11,7 +11,7 @@ const ADDRESS_REGISTRY = {
|
|
|
11
11
|
governanceFactory: (0, viem_1.getAddress)("0xb4deE32EB70A5E55f3D2d861F49Fb3D79f7a14d9"),
|
|
12
12
|
v2UniswapMigrator: zero_address_type_1.zeroAddress,
|
|
13
13
|
v4UniswapMigrator: zero_address_type_1.zeroAddress,
|
|
14
|
-
v4MulticurveInitializer: (0, viem_1.getAddress)("
|
|
14
|
+
v4MulticurveInitializer: (0, viem_1.getAddress)("0xD59cE43E53D69F190E15d9822Fb4540dCcc91178"),
|
|
15
15
|
v4MulticurveHook: (0, viem_1.getAddress)("0x892d3c2b4abeaaf67d52a7b29783e2161b7cad40"),
|
|
16
16
|
migratorMulticurve: (0, viem_1.getAddress)("0x6ddfED58D238Ca3195E49d8ac3d4cEa6386E5C33"),
|
|
17
17
|
dopplerBeneficiary: (0, viem_1.getAddress)("0x21E2ce70511e4FE542a97708e89520471DAa7A66"),
|