@agoric/orchestration 0.1.1-dev-f04cf72.0 → 0.1.1-dev-9a2121d.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/package.json +7 -5
- package/src/examples/axelar-gmp-account-kit.d.ts.map +1 -1
- package/src/examples/axelar-gmp-account-kit.js +6 -4
- package/src/stubs/viem-abi.d.ts +12 -0
- package/src/stubs/viem-abi.d.ts.map +1 -0
- package/src/stubs/viem-abi.ts +11 -0
- package/src/utils/gmp.d.ts.map +1 -1
- package/src/utils/gmp.js +8 -1
- package/src/vendor/viem/_esm-YOAV66U4.js +5814 -0
- package/src/vendor/viem/ccip-AAQDZF3N.js +14 -0
- package/src/vendor/viem/chunk-4EF4K2MH.js +4082 -0
- package/src/vendor/viem/chunk-4VNS5WPM.js +42 -0
- package/src/vendor/viem/chunk-XN4LUOIH.js +253 -0
- package/src/vendor/viem/secp256k1-WHBDSQB2.js +1914 -0
- package/src/vendor/viem/viem-abi.d.ts +1 -0
- package/src/vendor/viem/viem-abi.js +12 -0
- package/tools/contract-tests.d.ts +19 -0
- package/tools/contract-tests.d.ts.map +1 -1
- package/tools/contract-tests.ts +3 -1
- package/tsup.config.ts +26 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { decodeAbiParameters, encodeAbiParameters, encodeFunctionData } from 'viem/utils';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
decodeAbiParameters,
|
|
3
|
+
encodeAbiParameters,
|
|
4
|
+
encodeFunctionData
|
|
5
|
+
} from "./chunk-4EF4K2MH.js";
|
|
6
|
+
import "./chunk-XN4LUOIH.js";
|
|
7
|
+
import "./chunk-4VNS5WPM.js";
|
|
8
|
+
export {
|
|
9
|
+
decodeAbiParameters,
|
|
10
|
+
encodeAbiParameters,
|
|
11
|
+
encodeFunctionData
|
|
12
|
+
};
|
|
@@ -20,6 +20,25 @@ export declare const setupOrchestrationTest: ({ log, }: {
|
|
|
20
20
|
}): Promise<void>;
|
|
21
21
|
getBankForAddress(address: string): Promise<Bank>;
|
|
22
22
|
}>;
|
|
23
|
+
board: import("@endo/exo").Guarded<{
|
|
24
|
+
getId(value: RemotableObject): string;
|
|
25
|
+
getValue(id: BoardId): RemotableObject;
|
|
26
|
+
lookup(...path: string[]): Promise<any>;
|
|
27
|
+
has(val: RemotableObject): boolean;
|
|
28
|
+
ids(): string[];
|
|
29
|
+
getPublishingMarshaller(): import("@endo/exo").Guarded<{
|
|
30
|
+
toCapData(val: any): import("@endo/marshal").CapData<string>;
|
|
31
|
+
fromCapData(data: any): any;
|
|
32
|
+
serialize(data: any): import("@endo/marshal").CapData<string>;
|
|
33
|
+
unserialize(data: any): any;
|
|
34
|
+
}>;
|
|
35
|
+
getReadonlyMarshaller(): import("@endo/exo").Guarded<{
|
|
36
|
+
toCapData(val: any): import("@endo/marshal").CapData<string | null>;
|
|
37
|
+
fromCapData(data: any): any;
|
|
38
|
+
serialize(data: any): import("@endo/marshal").CapData<string | null>;
|
|
39
|
+
unserialize(data: any): any;
|
|
40
|
+
}>;
|
|
41
|
+
}>;
|
|
23
42
|
timer: import("@agoric/zoe/tools/manualTimer.js").ZoeManualTimer;
|
|
24
43
|
localchain: import("@endo/exo").Guarded<{
|
|
25
44
|
makeAccount(): import("@agoric/vow").PromiseVow<LocalChainAccount>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-tests.d.ts","sourceRoot":"","sources":["contract-tests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yDAAyD,CAAC;AAS3F,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,cAAc,CAAC;AAgBtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAS5C,eAAO,MAAM,iBAAiB,aAAa,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAU,UAE1C;IACD,GAAG,EAAE,gBAAgB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA2HF,kGAAkG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA/InE,MAAM;qBAT9B,WAAW;sBACV,MAAM;;;wCA2DT,iBAAiB,CAAC,OAAO,CAAC,SAC1B,MAAM,GAAG;YAAE,OAAO,EAAE,WAAW,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,yBACnC,MAAM;;;EA4GhC,CAAC"}
|
package/tools/contract-tests.ts
CHANGED
|
@@ -103,7 +103,8 @@ export const setupOrchestrationTest = async ({
|
|
|
103
103
|
transfer: transferMiddleware,
|
|
104
104
|
});
|
|
105
105
|
const timer = buildZoeManualTimer(log);
|
|
106
|
-
const
|
|
106
|
+
const board = makeFakeBoard();
|
|
107
|
+
const marshaller = board.getPublishingMarshaller();
|
|
107
108
|
const storage = makeFakeStorageKit(ROOT_STORAGE_PATH);
|
|
108
109
|
|
|
109
110
|
const { portAllocator, setupIBCProtocol, ibcBridge } = setupFakeNetwork(
|
|
@@ -245,6 +246,7 @@ export const setupOrchestrationTest = async ({
|
|
|
245
246
|
agoricNames,
|
|
246
247
|
agoricNamesAdmin,
|
|
247
248
|
bankManager,
|
|
249
|
+
board,
|
|
248
250
|
timer,
|
|
249
251
|
localchain,
|
|
250
252
|
cosmosInterchainService,
|
package/tsup.config.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
* @see {@link src/stubs/viem-abi.ts}
|
|
4
|
+
*/
|
|
5
|
+
import { defineConfig } from 'tsup';
|
|
6
|
+
|
|
7
|
+
export default defineConfig({
|
|
8
|
+
entry: ['src/stubs/viem-abi.ts'],
|
|
9
|
+
format: ['esm'],
|
|
10
|
+
outDir: 'src/vendor/viem',
|
|
11
|
+
target: 'es2020',
|
|
12
|
+
clean: true,
|
|
13
|
+
dts: true,
|
|
14
|
+
bundle: true,
|
|
15
|
+
platform: 'neutral',
|
|
16
|
+
external: [
|
|
17
|
+
'stream',
|
|
18
|
+
'crypto',
|
|
19
|
+
'http',
|
|
20
|
+
'https',
|
|
21
|
+
'zlib',
|
|
22
|
+
'net',
|
|
23
|
+
'tls',
|
|
24
|
+
'url',
|
|
25
|
+
],
|
|
26
|
+
});
|