@agoric/orchestration 0.1.1-dev-eef7b69.0.eef7b69 → 0.1.1-dev-6fe0466.0.6fe0466
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/package.json +16 -16
- package/src/cosmos-api.d.ts +3 -3
- package/src/cosmos-api.d.ts.map +1 -1
- package/src/cosmos-api.ts +3 -4
- package/src/examples/stake-bld.contract.d.ts +209 -21
- package/src/examples/stake-bld.contract.d.ts.map +1 -1
- package/src/examples/stake-ica.contract.d.ts +410 -50
- package/src/examples/stake-ica.contract.d.ts.map +1 -1
- package/src/exos/cosmos-orchestration-account.d.ts +419 -56
- package/src/exos/cosmos-orchestration-account.d.ts.map +1 -1
- package/src/exos/cosmos-orchestration-account.js +22 -46
- package/src/exos/local-chain-facade.d.ts +41 -1
- package/src/exos/local-chain-facade.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.d.ts +157 -30
- package/src/exos/local-orchestration-account.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.js +17 -14
- package/src/exos/orchestrator.d.ts +37603 -73
- package/src/exos/orchestrator.d.ts.map +1 -1
- package/src/exos/portfolio-holder-kit.d.ts +94 -2
- package/src/exos/portfolio-holder-kit.d.ts.map +1 -1
- package/src/exos/remote-chain-facade.d.ts +1554 -1
- package/src/exos/remote-chain-facade.d.ts.map +1 -1
- package/src/utils/start-helper.d.ts +6 -2
- package/src/utils/start-helper.d.ts.map +1 -1
- package/src/utils/zoe-tools.d.ts.map +1 -1
- package/src/utils/zoe-tools.js +4 -2
- package/tools/contract-tests.d.ts +8 -3
- package/tools/contract-tests.d.ts.map +1 -1
- package/tools/contract-tests.ts +11 -2
|
@@ -25,23 +25,108 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
|
|
|
25
25
|
}, baggage: Baggage): Promise<{
|
|
26
26
|
publicFacet: import("@endo/exo").Guarded<{
|
|
27
27
|
makeAccount(): Promise<import("@endo/exo").Guarded<{
|
|
28
|
-
asContinuingOffer(): import("@agoric/vow").Vow<
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
asContinuingOffer(): import("@agoric/vow").Vow<{
|
|
29
|
+
invitationMakers: {
|
|
30
|
+
[x: string]: (...args: any[]) => import("@agoric/vow").Vow<import("@endo/pass-style").RemotableObject & {
|
|
31
|
+
getAllegedBrand: () => globalThis.Brand<"set">;
|
|
32
|
+
} & {
|
|
33
|
+
readonly "Symbol(tag)": {
|
|
34
|
+
"Set-like value type": import("@agoric/zoe").InvitationDetails;
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
};
|
|
38
|
+
publicSubscribers: {
|
|
39
|
+
[x: string]: {
|
|
40
|
+
description?: string | undefined;
|
|
41
|
+
subscriber: {
|
|
42
|
+
getUpdateSince: (updateCount?: number | bigint | undefined) => import("@agoric/vow").Vow<{
|
|
43
|
+
value: any;
|
|
44
|
+
updateCount?: bigint | undefined | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
subscribeAfter: (publishCount?: bigint | undefined) => import("@agoric/vow").Vow<{
|
|
47
|
+
head: {
|
|
48
|
+
done: true;
|
|
49
|
+
value: any;
|
|
50
|
+
} | {
|
|
51
|
+
done?: false | undefined;
|
|
52
|
+
value: any;
|
|
53
|
+
};
|
|
54
|
+
publishCount: bigint;
|
|
55
|
+
tail: {
|
|
56
|
+
"Symbol(passStyle)": "tagged";
|
|
57
|
+
[Symbol.toStringTag]: "Vow";
|
|
58
|
+
payload: import("@agoric/vow").VowPayload</*elided*/ any>;
|
|
59
|
+
};
|
|
60
|
+
}>;
|
|
61
|
+
} | {};
|
|
62
|
+
storagePath: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
}>;
|
|
66
|
+
getPublicTopics(): import("@agoric/vow").Vow<{
|
|
67
|
+
[x: string]: {
|
|
68
|
+
description?: string | undefined;
|
|
69
|
+
subscriber: {
|
|
70
|
+
getUpdateSince: (updateCount?: number | bigint | undefined) => import("@agoric/vow").Vow<{
|
|
71
|
+
value: {};
|
|
72
|
+
updateCount?: bigint | undefined | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
subscribeAfter: (publishCount?: bigint | undefined) => import("@agoric/vow").Vow<{
|
|
75
|
+
head: {
|
|
76
|
+
done: true;
|
|
77
|
+
value: any;
|
|
78
|
+
} | {
|
|
79
|
+
done?: false | undefined;
|
|
80
|
+
value: {};
|
|
81
|
+
};
|
|
82
|
+
publishCount: bigint;
|
|
83
|
+
tail: {
|
|
84
|
+
"Symbol(passStyle)": "tagged";
|
|
85
|
+
[Symbol.toStringTag]: "Vow";
|
|
86
|
+
payload: import("@agoric/vow").VowPayload</*elided*/ any>;
|
|
87
|
+
};
|
|
88
|
+
}>;
|
|
89
|
+
} | {};
|
|
90
|
+
storagePath: string;
|
|
91
|
+
};
|
|
92
|
+
}>;
|
|
93
|
+
getAddress(): {
|
|
94
|
+
chainId: string;
|
|
95
|
+
value: import("@agoric/orchestration").Bech32Address;
|
|
96
|
+
encoding: "bech32";
|
|
97
|
+
};
|
|
31
98
|
delegate(validator: import("@agoric/orchestration").CosmosValidatorAddress, amount: import("@agoric/orchestration").AmountArg): import("@agoric/vow").Vow<void>;
|
|
32
99
|
redelegate(srcValidator: import("@agoric/orchestration").CosmosValidatorAddress, dstValidator: import("@agoric/orchestration").CosmosValidatorAddress, amount: import("@agoric/orchestration").AmountArg): import("@agoric/vow").Vow<void>;
|
|
33
|
-
withdrawReward(validator: import("@agoric/orchestration").CosmosValidatorAddress): import("@agoric/vow").Vow<
|
|
34
|
-
|
|
35
|
-
|
|
100
|
+
withdrawReward(validator: import("@agoric/orchestration").CosmosValidatorAddress): import("@agoric/vow").Vow<{
|
|
101
|
+
denom: Denom;
|
|
102
|
+
value: bigint;
|
|
103
|
+
}[]>;
|
|
104
|
+
getBalance(denom: import("@agoric/orchestration").DenomArg): import("@agoric/vow").Vow<{
|
|
105
|
+
denom: Denom;
|
|
106
|
+
value: bigint;
|
|
107
|
+
}>;
|
|
108
|
+
getBalances(): import("@agoric/vow").Vow<{
|
|
109
|
+
denom: Denom;
|
|
110
|
+
value: bigint;
|
|
111
|
+
}[]>;
|
|
36
112
|
send(toAccount: import("@agoric/orchestration").AccountIdArg, amount: import("@agoric/orchestration").AmountArg): import("@agoric/vow").Vow<void>;
|
|
37
113
|
sendAll(toAccount: import("@agoric/orchestration").CosmosChainAddress, amounts: import("@agoric/orchestration").AmountArg[]): import("@agoric/vow").Vow<void>;
|
|
38
114
|
transfer(destination: import("@agoric/orchestration").AccountIdArg, amount: import("@agoric/orchestration").AmountArg, opts?: import("@agoric/orchestration").IBCMsgTransferOptions | undefined): import("@agoric/vow").Vow<any>;
|
|
39
115
|
transferWithMeta(destination: import("@agoric/orchestration").AccountIdArg, amount: import("@agoric/orchestration").AmountArg, opts?: import("@agoric/orchestration").IBCMsgTransferOptions | undefined): import("@agoric/vow").Vow<{
|
|
40
|
-
result:
|
|
41
|
-
|
|
116
|
+
result: {
|
|
117
|
+
"Symbol(passStyle)": "tagged";
|
|
118
|
+
[Symbol.toStringTag]: "Vow";
|
|
119
|
+
payload: import("@agoric/vow").VowPayload<any>;
|
|
120
|
+
};
|
|
121
|
+
meta: {
|
|
122
|
+
[x: string]: any;
|
|
123
|
+
};
|
|
42
124
|
}>;
|
|
43
125
|
transferSteps(amount: import("@agoric/orchestration").AmountArg, msg: import("@agoric/orchestration").TransferMsg): import("@agoric/vow").Vow<void>;
|
|
44
|
-
withdrawRewards(): import("@agoric/vow").Vow<
|
|
126
|
+
withdrawRewards(): import("@agoric/vow").Vow<{
|
|
127
|
+
denom: Denom;
|
|
128
|
+
value: bigint;
|
|
129
|
+
}[]>;
|
|
45
130
|
undelegate(delegations: {
|
|
46
131
|
amount: import("@agoric/orchestration").AmountArg;
|
|
47
132
|
delegator?: import("@agoric/orchestration").CosmosChainAddress;
|
|
@@ -49,7 +134,119 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
|
|
|
49
134
|
}[]): import("@agoric/vow").Vow<void>;
|
|
50
135
|
deactivate(): import("@agoric/vow").Vow<void>;
|
|
51
136
|
reactivate(): import("@agoric/vow").Vow<void>;
|
|
52
|
-
getDelegation(validator: import("@agoric/orchestration").CosmosValidatorAddress): import("@agoric/vow").Vow<
|
|
137
|
+
getDelegation(validator: import("@agoric/orchestration").CosmosValidatorAddress): import("@agoric/vow").Vow<{
|
|
138
|
+
delegator: {
|
|
139
|
+
chainId: string;
|
|
140
|
+
value: import("@agoric/orchestration").Bech32Address;
|
|
141
|
+
encoding: "bech32";
|
|
142
|
+
};
|
|
143
|
+
validator: {
|
|
144
|
+
chainId: string;
|
|
145
|
+
value: {
|
|
146
|
+
readonly [x: number]: string;
|
|
147
|
+
toString: () => string;
|
|
148
|
+
charAt: (pos: number) => string;
|
|
149
|
+
charCodeAt: (index: number) => number;
|
|
150
|
+
concat: (...strings: string[]) => string;
|
|
151
|
+
indexOf: (searchString: string, position?: number) => number;
|
|
152
|
+
lastIndexOf: (searchString: string, position?: number) => number;
|
|
153
|
+
localeCompare: {
|
|
154
|
+
(that: string): number;
|
|
155
|
+
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
|
156
|
+
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
|
|
157
|
+
};
|
|
158
|
+
match: {
|
|
159
|
+
(regexp: string | RegExp): RegExpMatchArray | null;
|
|
160
|
+
(matcher: {
|
|
161
|
+
[Symbol.match](string: string): RegExpMatchArray | null;
|
|
162
|
+
}): RegExpMatchArray | null;
|
|
163
|
+
};
|
|
164
|
+
replace: {
|
|
165
|
+
(searchValue: string | RegExp, replaceValue: string): string;
|
|
166
|
+
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
167
|
+
(searchValue: {
|
|
168
|
+
[Symbol.replace](string: string, replaceValue: string): string;
|
|
169
|
+
}, replaceValue: string): string;
|
|
170
|
+
(searchValue: {
|
|
171
|
+
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
172
|
+
}, replacer: (substring: string, ...args: any[]) => string): string;
|
|
173
|
+
};
|
|
174
|
+
search: {
|
|
175
|
+
(regexp: string | RegExp): number;
|
|
176
|
+
(searcher: {
|
|
177
|
+
[Symbol.search](string: string): number;
|
|
178
|
+
}): number;
|
|
179
|
+
};
|
|
180
|
+
slice: (start?: number, end?: number) => string;
|
|
181
|
+
split: {
|
|
182
|
+
(separator: string | RegExp, limit?: number): string[];
|
|
183
|
+
(splitter: {
|
|
184
|
+
[Symbol.split](string: string, limit?: number): string[];
|
|
185
|
+
}, limit?: number): string[];
|
|
186
|
+
};
|
|
187
|
+
substring: (start: number, end?: number) => string;
|
|
188
|
+
toLowerCase: () => string;
|
|
189
|
+
toLocaleLowerCase: {
|
|
190
|
+
(locales?: string | string[]): string;
|
|
191
|
+
(locales?: Intl.LocalesArgument): string;
|
|
192
|
+
};
|
|
193
|
+
toUpperCase: () => string;
|
|
194
|
+
toLocaleUpperCase: {
|
|
195
|
+
(locales?: string | string[]): string;
|
|
196
|
+
(locales?: Intl.LocalesArgument): string;
|
|
197
|
+
};
|
|
198
|
+
trim: () => string;
|
|
199
|
+
readonly length: number;
|
|
200
|
+
substr: (from: number, length?: number) => string;
|
|
201
|
+
valueOf: () => string;
|
|
202
|
+
codePointAt: (pos: number) => number | undefined;
|
|
203
|
+
includes: (searchString: string, position?: number) => boolean;
|
|
204
|
+
endsWith: (searchString: string, endPosition?: number) => boolean;
|
|
205
|
+
normalize: {
|
|
206
|
+
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
|
207
|
+
(form?: string): string;
|
|
208
|
+
};
|
|
209
|
+
repeat: (count: number) => string;
|
|
210
|
+
startsWith: (searchString: string, position?: number) => boolean;
|
|
211
|
+
anchor: (name: string) => string;
|
|
212
|
+
big: () => string;
|
|
213
|
+
blink: () => string;
|
|
214
|
+
bold: () => string;
|
|
215
|
+
fixed: () => string;
|
|
216
|
+
fontcolor: (color: string) => string;
|
|
217
|
+
fontsize: {
|
|
218
|
+
(size: number): string;
|
|
219
|
+
(size: string): string;
|
|
220
|
+
};
|
|
221
|
+
italics: () => string;
|
|
222
|
+
link: (url: string) => string;
|
|
223
|
+
small: () => string;
|
|
224
|
+
strike: () => string;
|
|
225
|
+
sub: () => string;
|
|
226
|
+
sup: () => string;
|
|
227
|
+
padStart: (maxLength: number, fillString?: string) => string;
|
|
228
|
+
padEnd: (maxLength: number, fillString?: string) => string;
|
|
229
|
+
trimEnd: () => string;
|
|
230
|
+
trimStart: () => string;
|
|
231
|
+
trimLeft: () => string;
|
|
232
|
+
trimRight: () => string;
|
|
233
|
+
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
|
|
234
|
+
replaceAll: {
|
|
235
|
+
(searchValue: string | RegExp, replaceValue: string): string;
|
|
236
|
+
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
237
|
+
};
|
|
238
|
+
at: (index: number) => string | undefined;
|
|
239
|
+
isWellFormed: () => boolean;
|
|
240
|
+
toWellFormed: () => string;
|
|
241
|
+
[Symbol.iterator]: () => StringIterator<string>;
|
|
242
|
+
};
|
|
243
|
+
encoding: "bech32";
|
|
244
|
+
};
|
|
245
|
+
amount: {
|
|
246
|
+
denom: Denom;
|
|
247
|
+
value: bigint;
|
|
248
|
+
};
|
|
249
|
+
}>;
|
|
53
250
|
getDelegations(): import("@agoric/vow").Vow<{
|
|
54
251
|
delegator: {
|
|
55
252
|
chainId: string;
|
|
@@ -63,65 +260,98 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
|
|
|
63
260
|
toString: () => string;
|
|
64
261
|
charAt: (pos: number) => string;
|
|
65
262
|
charCodeAt: (index: number) => number;
|
|
66
|
-
concat: (...
|
|
67
|
-
indexOf: (searchString: string, position?: number
|
|
68
|
-
lastIndexOf: (searchString: string, position?: number
|
|
69
|
-
localeCompare:
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
263
|
+
concat: (...strings: string[]) => string;
|
|
264
|
+
indexOf: (searchString: string, position?: number) => number;
|
|
265
|
+
lastIndexOf: (searchString: string, position?: number) => number;
|
|
266
|
+
localeCompare: {
|
|
267
|
+
(that: string): number;
|
|
268
|
+
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
|
269
|
+
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
|
|
270
|
+
};
|
|
271
|
+
match: {
|
|
272
|
+
(regexp: string | RegExp): RegExpMatchArray | null;
|
|
273
|
+
(matcher: {
|
|
274
|
+
[Symbol.match](string: string): RegExpMatchArray | null;
|
|
275
|
+
}): RegExpMatchArray | null;
|
|
276
|
+
};
|
|
277
|
+
replace: {
|
|
278
|
+
(searchValue: string | RegExp, replaceValue: string): string;
|
|
279
|
+
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
280
|
+
(searchValue: {
|
|
281
|
+
[Symbol.replace](string: string, replaceValue: string): string;
|
|
282
|
+
}, replaceValue: string): string;
|
|
283
|
+
(searchValue: {
|
|
284
|
+
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
285
|
+
}, replacer: (substring: string, ...args: any[]) => string): string;
|
|
286
|
+
};
|
|
287
|
+
search: {
|
|
288
|
+
(regexp: string | RegExp): number;
|
|
289
|
+
(searcher: {
|
|
290
|
+
[Symbol.search](string: string): number;
|
|
291
|
+
}): number;
|
|
292
|
+
};
|
|
293
|
+
slice: (start?: number, end?: number) => string;
|
|
294
|
+
split: {
|
|
295
|
+
(separator: string | RegExp, limit?: number): string[];
|
|
296
|
+
(splitter: {
|
|
297
|
+
[Symbol.split](string: string, limit?: number): string[];
|
|
298
|
+
}, limit?: number): string[];
|
|
299
|
+
};
|
|
300
|
+
substring: (start: number, end?: number) => string;
|
|
86
301
|
toLowerCase: () => string;
|
|
87
|
-
toLocaleLowerCase:
|
|
302
|
+
toLocaleLowerCase: {
|
|
303
|
+
(locales?: string | string[]): string;
|
|
304
|
+
(locales?: Intl.LocalesArgument): string;
|
|
305
|
+
};
|
|
88
306
|
toUpperCase: () => string;
|
|
89
|
-
toLocaleUpperCase:
|
|
307
|
+
toLocaleUpperCase: {
|
|
308
|
+
(locales?: string | string[]): string;
|
|
309
|
+
(locales?: Intl.LocalesArgument): string;
|
|
310
|
+
};
|
|
90
311
|
trim: () => string;
|
|
91
312
|
readonly length: number;
|
|
92
|
-
substr: (from: number, length?: number
|
|
313
|
+
substr: (from: number, length?: number) => string;
|
|
93
314
|
valueOf: () => string;
|
|
94
|
-
codePointAt: (
|
|
95
|
-
includes: (
|
|
96
|
-
endsWith: (
|
|
97
|
-
normalize:
|
|
315
|
+
codePointAt: (pos: number) => number | undefined;
|
|
316
|
+
includes: (searchString: string, position?: number) => boolean;
|
|
317
|
+
endsWith: (searchString: string, endPosition?: number) => boolean;
|
|
318
|
+
normalize: {
|
|
319
|
+
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
|
320
|
+
(form?: string): string;
|
|
321
|
+
};
|
|
98
322
|
repeat: (count: number) => string;
|
|
99
|
-
startsWith: (
|
|
323
|
+
startsWith: (searchString: string, position?: number) => boolean;
|
|
100
324
|
anchor: (name: string) => string;
|
|
101
325
|
big: () => string;
|
|
102
326
|
blink: () => string;
|
|
103
327
|
bold: () => string;
|
|
104
328
|
fixed: () => string;
|
|
105
329
|
fontcolor: (color: string) => string;
|
|
106
|
-
fontsize:
|
|
330
|
+
fontsize: {
|
|
331
|
+
(size: number): string;
|
|
332
|
+
(size: string): string;
|
|
333
|
+
};
|
|
107
334
|
italics: () => string;
|
|
108
335
|
link: (url: string) => string;
|
|
109
336
|
small: () => string;
|
|
110
337
|
strike: () => string;
|
|
111
338
|
sub: () => string;
|
|
112
339
|
sup: () => string;
|
|
113
|
-
padStart: (maxLength: number, fillString?: string
|
|
114
|
-
padEnd: (maxLength: number, fillString?: string
|
|
340
|
+
padStart: (maxLength: number, fillString?: string) => string;
|
|
341
|
+
padEnd: (maxLength: number, fillString?: string) => string;
|
|
115
342
|
trimEnd: () => string;
|
|
116
343
|
trimStart: () => string;
|
|
117
344
|
trimLeft: () => string;
|
|
118
345
|
trimRight: () => string;
|
|
119
|
-
matchAll: (regexp: RegExp) =>
|
|
120
|
-
replaceAll:
|
|
121
|
-
|
|
122
|
-
|
|
346
|
+
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
|
|
347
|
+
replaceAll: {
|
|
348
|
+
(searchValue: string | RegExp, replaceValue: string): string;
|
|
349
|
+
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
350
|
+
};
|
|
351
|
+
at: (index: number) => string | undefined;
|
|
352
|
+
isWellFormed: () => boolean;
|
|
123
353
|
toWellFormed: () => string;
|
|
124
|
-
[Symbol.iterator]: () =>
|
|
354
|
+
[Symbol.iterator]: () => StringIterator<string>;
|
|
125
355
|
};
|
|
126
356
|
encoding: "bech32";
|
|
127
357
|
};
|
|
@@ -130,7 +360,21 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
|
|
|
130
360
|
value: bigint;
|
|
131
361
|
};
|
|
132
362
|
}[]>;
|
|
133
|
-
getUnbondingDelegation(validator: import("@agoric/orchestration").CosmosValidatorAddress): import("@agoric/vow").Vow<
|
|
363
|
+
getUnbondingDelegation(validator: import("@agoric/orchestration").CosmosValidatorAddress): import("@agoric/vow").Vow<{
|
|
364
|
+
delegatorAddress: string;
|
|
365
|
+
validatorAddress: string;
|
|
366
|
+
entries: {
|
|
367
|
+
creationHeight: bigint;
|
|
368
|
+
completionTime: {
|
|
369
|
+
seconds: bigint;
|
|
370
|
+
nanos: number;
|
|
371
|
+
};
|
|
372
|
+
initialBalance: string;
|
|
373
|
+
balance: string;
|
|
374
|
+
unbondingId: bigint;
|
|
375
|
+
unbondingOnHoldRefCount: bigint;
|
|
376
|
+
}[];
|
|
377
|
+
}>;
|
|
134
378
|
getUnbondingDelegations(): import("@agoric/vow").Vow<{
|
|
135
379
|
delegatorAddress: string;
|
|
136
380
|
validatorAddress: string;
|
|
@@ -178,8 +422,124 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
|
|
|
178
422
|
balance: string;
|
|
179
423
|
}[];
|
|
180
424
|
}[]>;
|
|
181
|
-
getReward(validator: import("@agoric/orchestration").CosmosValidatorAddress): import("@agoric/vow").Vow<
|
|
182
|
-
|
|
425
|
+
getReward(validator: import("@agoric/orchestration").CosmosValidatorAddress): import("@agoric/vow").Vow<{
|
|
426
|
+
denom: Denom;
|
|
427
|
+
value: bigint;
|
|
428
|
+
}[]>;
|
|
429
|
+
getRewards(): import("@agoric/vow").Vow<{
|
|
430
|
+
rewards: {
|
|
431
|
+
validator: {
|
|
432
|
+
chainId: string;
|
|
433
|
+
value: {
|
|
434
|
+
readonly [x: number]: string;
|
|
435
|
+
toString: () => string;
|
|
436
|
+
charAt: (pos: number) => string;
|
|
437
|
+
charCodeAt: (index: number) => number;
|
|
438
|
+
concat: (...strings: string[]) => string;
|
|
439
|
+
indexOf: (searchString: string, position?: number) => number;
|
|
440
|
+
lastIndexOf: (searchString: string, position?: number) => number;
|
|
441
|
+
localeCompare: {
|
|
442
|
+
(that: string): number;
|
|
443
|
+
(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
|
|
444
|
+
(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
|
|
445
|
+
};
|
|
446
|
+
match: {
|
|
447
|
+
(regexp: string | RegExp): RegExpMatchArray | null;
|
|
448
|
+
(matcher: {
|
|
449
|
+
[Symbol.match](string: string): RegExpMatchArray | null;
|
|
450
|
+
}): RegExpMatchArray | null;
|
|
451
|
+
};
|
|
452
|
+
replace: {
|
|
453
|
+
(searchValue: string | RegExp, replaceValue: string): string;
|
|
454
|
+
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
455
|
+
(searchValue: {
|
|
456
|
+
[Symbol.replace](string: string, replaceValue: string): string;
|
|
457
|
+
}, replaceValue: string): string;
|
|
458
|
+
(searchValue: {
|
|
459
|
+
[Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
|
|
460
|
+
}, replacer: (substring: string, ...args: any[]) => string): string;
|
|
461
|
+
};
|
|
462
|
+
search: {
|
|
463
|
+
(regexp: string | RegExp): number;
|
|
464
|
+
(searcher: {
|
|
465
|
+
[Symbol.search](string: string): number;
|
|
466
|
+
}): number;
|
|
467
|
+
};
|
|
468
|
+
slice: (start?: number, end?: number) => string;
|
|
469
|
+
split: {
|
|
470
|
+
(separator: string | RegExp, limit?: number): string[];
|
|
471
|
+
(splitter: {
|
|
472
|
+
[Symbol.split](string: string, limit?: number): string[];
|
|
473
|
+
}, limit?: number): string[];
|
|
474
|
+
};
|
|
475
|
+
substring: (start: number, end?: number) => string;
|
|
476
|
+
toLowerCase: () => string;
|
|
477
|
+
toLocaleLowerCase: {
|
|
478
|
+
(locales?: string | string[]): string;
|
|
479
|
+
(locales?: Intl.LocalesArgument): string;
|
|
480
|
+
};
|
|
481
|
+
toUpperCase: () => string;
|
|
482
|
+
toLocaleUpperCase: {
|
|
483
|
+
(locales?: string | string[]): string;
|
|
484
|
+
(locales?: Intl.LocalesArgument): string;
|
|
485
|
+
};
|
|
486
|
+
trim: () => string;
|
|
487
|
+
readonly length: number;
|
|
488
|
+
substr: (from: number, length?: number) => string;
|
|
489
|
+
valueOf: () => string;
|
|
490
|
+
codePointAt: (pos: number) => number | undefined;
|
|
491
|
+
includes: (searchString: string, position?: number) => boolean;
|
|
492
|
+
endsWith: (searchString: string, endPosition?: number) => boolean;
|
|
493
|
+
normalize: {
|
|
494
|
+
(form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
|
|
495
|
+
(form?: string): string;
|
|
496
|
+
};
|
|
497
|
+
repeat: (count: number) => string;
|
|
498
|
+
startsWith: (searchString: string, position?: number) => boolean;
|
|
499
|
+
anchor: (name: string) => string;
|
|
500
|
+
big: () => string;
|
|
501
|
+
blink: () => string;
|
|
502
|
+
bold: () => string;
|
|
503
|
+
fixed: () => string;
|
|
504
|
+
fontcolor: (color: string) => string;
|
|
505
|
+
fontsize: {
|
|
506
|
+
(size: number): string;
|
|
507
|
+
(size: string): string;
|
|
508
|
+
};
|
|
509
|
+
italics: () => string;
|
|
510
|
+
link: (url: string) => string;
|
|
511
|
+
small: () => string;
|
|
512
|
+
strike: () => string;
|
|
513
|
+
sub: () => string;
|
|
514
|
+
sup: () => string;
|
|
515
|
+
padStart: (maxLength: number, fillString?: string) => string;
|
|
516
|
+
padEnd: (maxLength: number, fillString?: string) => string;
|
|
517
|
+
trimEnd: () => string;
|
|
518
|
+
trimStart: () => string;
|
|
519
|
+
trimLeft: () => string;
|
|
520
|
+
trimRight: () => string;
|
|
521
|
+
matchAll: (regexp: RegExp) => RegExpStringIterator<RegExpExecArray>;
|
|
522
|
+
replaceAll: {
|
|
523
|
+
(searchValue: string | RegExp, replaceValue: string): string;
|
|
524
|
+
(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
|
|
525
|
+
};
|
|
526
|
+
at: (index: number) => string | undefined;
|
|
527
|
+
isWellFormed: () => boolean;
|
|
528
|
+
toWellFormed: () => string;
|
|
529
|
+
[Symbol.iterator]: () => StringIterator<string>;
|
|
530
|
+
};
|
|
531
|
+
encoding: "bech32";
|
|
532
|
+
};
|
|
533
|
+
reward: {
|
|
534
|
+
denom: Denom;
|
|
535
|
+
value: bigint;
|
|
536
|
+
}[];
|
|
537
|
+
}[];
|
|
538
|
+
total: {
|
|
539
|
+
denom: Denom;
|
|
540
|
+
value: bigint;
|
|
541
|
+
}[];
|
|
542
|
+
}>;
|
|
183
543
|
executeEncodedTx(msgs: {
|
|
184
544
|
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
185
545
|
typeUrl: string;
|
|
@@ -212,8 +572,8 @@ import type { Remote } from '@agoric/internal';
|
|
|
212
572
|
import type { CosmosInterchainService } from '@agoric/orchestration';
|
|
213
573
|
import type { TimerService } from '@agoric/time';
|
|
214
574
|
import type { Baggage } from '@agoric/vat-data';
|
|
215
|
-
import type { ResolvedContinuingOfferResult } from '../utils/zoe-tools.js';
|
|
216
575
|
import type { Denom } from '@agoric/orchestration';
|
|
576
|
+
import type { ResolvedContinuingOfferResult } from '../utils/zoe-tools.js';
|
|
217
577
|
import type { Invitation } from '@agoric/zoe';
|
|
218
578
|
import type { IBCConnectionID } from '@agoric/vats';
|
|
219
579
|
//# sourceMappingURL=stake-ica.contract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stake-ica.contract.d.ts","sourceRoot":"","sources":["stake-ica.contract.js"],"names":[],"mappings":"AAiBA;;;;;;;;GAQG;AAEH,yCAAyC;AACzC,mBADW,aAAa,OAAO,KAAK,CAAC,CAelC;AAEH;;;;;;cAAsD;AAuB/C,2BAVI,IAAI,aAAa,CAAC,eAClB;IACN,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;IACjC,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,KAAK,EAAE,YAAY,CAAC;CACrB,WACO,OAAO
|
|
1
|
+
{"version":3,"file":"stake-ica.contract.d.ts","sourceRoot":"","sources":["stake-ica.contract.js"],"names":[],"mappings":"AAiBA;;;;;;;;GAQG;AAEH,yCAAyC;AACzC,mBADW,aAAa,OAAO,KAAK,CAAC,CAelC;AAEH;;;;;;cAAsD;AAuB/C,2BAVI,IAAI,aAAa,CAAC,eAClB;IACN,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;IACjC,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,KAAK,EAAE,YAAY,CAAC;CACrB,WACO,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAuH2z5C,CAAC;;;;;;;;;GAJ705C;4BApIY;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,eAAe,CAAC;IAClC,sBAAsB,EAAE,eAAe,CAAC;IACxC,UAAU,EAAE,OAAO,CAAC;CACrB;yBAkIU,OAAO,KAAK;kCAlK+B,aAAa;yBAAb,aAAa;6BAC3B,cAAc;4BAHvB,kBAAkB;6CAC2B,uBAAuB;kCAGvE,cAAc;6BALnB,kBAAkB;2BAEmC,uBAAuB;mDAItD,uBAAuB;gCAHd,aAAa;qCAC3B,cAAc"}
|