@agoric/fast-usdc 0.1.1-dev-afbbd9a.0 → 0.1.1-dev-2422c58.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 +9 -9
- package/tools/mock-evidence.ts +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/fast-usdc",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-2422c58.0+2422c58",
|
|
4
4
|
"description": "CLI and library for Fast USDC product",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"ts-blank-space": "^0.4.4"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@agoric/client-utils": "0.1.1-dev-
|
|
33
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
34
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
35
|
-
"@agoric/internal": "0.3.3-dev-
|
|
36
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
37
|
-
"@agoric/orchestration": "0.1.1-dev-
|
|
38
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
32
|
+
"@agoric/client-utils": "0.1.1-dev-2422c58.0+2422c58",
|
|
33
|
+
"@agoric/cosmic-proto": "0.4.1-dev-2422c58.0+2422c58",
|
|
34
|
+
"@agoric/ertp": "0.16.3-dev-2422c58.0+2422c58",
|
|
35
|
+
"@agoric/internal": "0.3.3-dev-2422c58.0+2422c58",
|
|
36
|
+
"@agoric/notifier": "0.6.3-dev-2422c58.0+2422c58",
|
|
37
|
+
"@agoric/orchestration": "0.1.1-dev-2422c58.0+2422c58",
|
|
38
|
+
"@agoric/zoe": "0.26.3-dev-2422c58.0+2422c58",
|
|
39
39
|
"@cosmjs/proto-signing": "^0.33.0",
|
|
40
40
|
"@cosmjs/stargate": "^0.33.0",
|
|
41
41
|
"@endo/base64": "^1.0.9",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "2422c58646eef01f148bace8cd0f214ace0076e5"
|
|
79
79
|
}
|
package/tools/mock-evidence.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { encodeAddressHook } from '@agoric/cosmic-proto/address-hooks.js';
|
|
2
|
-
import type { CosmosChainAddress } from '@agoric/orchestration';
|
|
2
|
+
import type { Bech32Address, CosmosChainAddress } from '@agoric/orchestration';
|
|
3
3
|
import type { CctpTxEvidence, EvmAddress } from '../src/types.js';
|
|
4
4
|
|
|
5
5
|
const mockScenarios = [
|
|
@@ -21,9 +21,9 @@ const blockTimestamp = 1632340000n;
|
|
|
21
21
|
|
|
22
22
|
export const MockCctpTxEvidences: Record<
|
|
23
23
|
MockScenario,
|
|
24
|
-
(receiverAddress?:
|
|
24
|
+
(receiverAddress?: Bech32Address) => CctpTxEvidence
|
|
25
25
|
> = {
|
|
26
|
-
AGORIC_PLUS_OSMO: (receiverAddress?:
|
|
26
|
+
AGORIC_PLUS_OSMO: (receiverAddress?: Bech32Address) => ({
|
|
27
27
|
blockHash:
|
|
28
28
|
'0x90d7343e04f8160892e94f02d6a9b9f255663ed0ac34caca98544c8143fee665',
|
|
29
29
|
blockNumber: 21037663n,
|
|
@@ -45,7 +45,7 @@ export const MockCctpTxEvidences: Record<
|
|
|
45
45
|
},
|
|
46
46
|
chainId: 1,
|
|
47
47
|
}),
|
|
48
|
-
AGORIC_PLUS_DYDX: (receiverAddress?:
|
|
48
|
+
AGORIC_PLUS_DYDX: (receiverAddress?: Bech32Address) => ({
|
|
49
49
|
blockHash:
|
|
50
50
|
'0x80d7343e04f8160892e94f02d6a9b9f255663ed0ac34caca98544c8143fee699',
|
|
51
51
|
blockNumber: 21037669n,
|
|
@@ -67,7 +67,7 @@ export const MockCctpTxEvidences: Record<
|
|
|
67
67
|
},
|
|
68
68
|
chainId: 1,
|
|
69
69
|
}),
|
|
70
|
-
AGORIC_PLUS_AGORIC: (receiverAddress?:
|
|
70
|
+
AGORIC_PLUS_AGORIC: (receiverAddress?: Bech32Address) => ({
|
|
71
71
|
blockHash:
|
|
72
72
|
'0x80d7343e04f8160892e94f02d6a9b9f255663ed0ac34caca98544c8143fee6z9',
|
|
73
73
|
blockNumber: 21037600n,
|
|
@@ -89,7 +89,7 @@ export const MockCctpTxEvidences: Record<
|
|
|
89
89
|
},
|
|
90
90
|
chainId: 1,
|
|
91
91
|
}),
|
|
92
|
-
AGORIC_NO_PARAMS: (receiverAddress?:
|
|
92
|
+
AGORIC_NO_PARAMS: (receiverAddress?: Bech32Address) => ({
|
|
93
93
|
blockHash:
|
|
94
94
|
'0x70d7343e04f8160892e94f02d6a9b9f255663ed0ac34caca98544c8143fee699',
|
|
95
95
|
blockNumber: 21037669n,
|
|
@@ -107,7 +107,7 @@ export const MockCctpTxEvidences: Record<
|
|
|
107
107
|
},
|
|
108
108
|
chainId: 1,
|
|
109
109
|
}),
|
|
110
|
-
AGORIC_UNKNOWN_EUD: (receiverAddress?:
|
|
110
|
+
AGORIC_UNKNOWN_EUD: (receiverAddress?: Bech32Address) => ({
|
|
111
111
|
blockHash:
|
|
112
112
|
'0x70d7343e04f8160892e94f02d6a9b9f255663ed0ac34caca98544c8143fee699',
|
|
113
113
|
blockNumber: 21037669n,
|
|
@@ -129,7 +129,7 @@ export const MockCctpTxEvidences: Record<
|
|
|
129
129
|
},
|
|
130
130
|
chainId: 1,
|
|
131
131
|
}),
|
|
132
|
-
AGORIC_PLUS_ETHEREUM: (receiverAddress?:
|
|
132
|
+
AGORIC_PLUS_ETHEREUM: (receiverAddress?: Bech32Address) => ({
|
|
133
133
|
blockHash:
|
|
134
134
|
'0x80d7343e04f8160892e94f02d6a9b9f255663ed0ac34caca98544c8143fee6z9',
|
|
135
135
|
blockNumber: 21037600n,
|