@agoric/portfolio-api 0.1.1-dev-6678205.0.6678205 → 0.1.1-dev-6fa0a0f.0.6fa0a0f
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 +4 -4
- package/src/resolver.d.ts +10 -0
- package/src/resolver.d.ts.map +1 -1
- package/src/resolver.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/portfolio-api",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-6fa0a0f.0.6fa0a0f",
|
|
4
4
|
"description": "API for Portfolio management",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"generate:ymax-machine": "npx tsx scripts/gen-ymax-machine.mts"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@agoric/internal": "0.3.3-dev-
|
|
31
|
-
"@agoric/orchestration": "0.1.1-dev-
|
|
30
|
+
"@agoric/internal": "0.3.3-dev-6fa0a0f.0.6fa0a0f",
|
|
31
|
+
"@agoric/orchestration": "0.1.1-dev-6fa0a0f.0.6fa0a0f",
|
|
32
32
|
"@endo/common": "^1.2.13",
|
|
33
33
|
"@endo/errors": "^1.2.13",
|
|
34
34
|
"@endo/patterns": "^1.7.0"
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"engines": {
|
|
70
70
|
"node": "^20.9 || ^22.11"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "6fa0a0fc2a123862a03c59daaef39494c9bebf2e"
|
|
73
73
|
}
|
package/src/resolver.d.ts
CHANGED
|
@@ -71,6 +71,16 @@ export type PublishedPortfolioTxDetails = {
|
|
|
71
71
|
* transaction (required for GMP and MAKE_ACCOUNT transactions)
|
|
72
72
|
*/
|
|
73
73
|
sourceAddress?: `${string}:${string}:${string}` | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* - CCTP protocol version for CCTP_TO_EVM
|
|
76
|
+
* transactions when the version is operationally relevant.
|
|
77
|
+
*/
|
|
78
|
+
cctpVersion?: number | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* - Destination-chain account
|
|
81
|
+
* authorized to call receiveMessage for CCTPv2 CCTP_TO_EVM transactions.
|
|
82
|
+
*/
|
|
83
|
+
destinationCaller?: `${string}:${string}:${string}` | undefined;
|
|
74
84
|
/**
|
|
75
85
|
* - The expected address of the EVM smart
|
|
76
86
|
* wallet to be created (only for type "MAKE_ACCOUNT")
|
package/src/resolver.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["resolver.js"],"names":[],"mappings":";;;;;;uBAeU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;;;;;;;;;;qBAaxC,QAAQ,CAAC,CAAC,OAAO,MAAM,EAAE,MAAM,OAAO,MAAM,CAAC,CAAC;AAHxD;;;;GAIG;AACH;;;;;;;;IAQE;;;;;OAKG;;GAEF;;;;;;wCAIU,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,GAAG;IAC7C,IAAI,EAAE,MAAM,GAAG,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;IACvD,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;;;;;;;;;;;UAYU,OAAO,CAAC,MAAM,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["resolver.js"],"names":[],"mappings":";;;;;;uBAeU,CAAC,OAAO,QAAQ,EAAE,MAAM,OAAO,QAAQ,CAAC;;;;;;;;;;qBAaxC,QAAQ,CAAC,CAAC,OAAO,MAAM,EAAE,MAAM,OAAO,MAAM,CAAC,CAAC;AAHxD;;;;GAIG;AACH;;;;;;;;IAQE;;;;;OAKG;;GAEF;;;;;;wCAIU,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC,GAAG;IAC7C,IAAI,EAAE,MAAM,GAAG,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;IACvD,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;;;;;;;;;;;UAYU,OAAO,CAAC,MAAM,EAAE,yBAAyB,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAsBjE,KAAK,MAAM,EAAE;;;;qBACb,qBAAqB;;;;iCACrB,UAAU;;;;;;;;;;;UASV,MAAM,GAAG,CAAC,YAAY,CAAC;;;;wBACvB,SAAS;;;;;mBACT,SAAS;;;;;;;;;;;;;;;;;;UAUT,MAAM;;;;YACN,QAAQ;;;;;;;;;;0BAMT,eAAe,GAAG,CAAC,yBAAyB,GAAG,2BAA2B,GAAG,2BAA2B,CAAC;kCAjHhE,uBAAuB;2CAErC,2DAA2D;gCAF7C,uBAAuB;+BAAvB,uBAAuB;8BADlD,kBAAkB"}
|
package/src/resolver.js
CHANGED
|
@@ -70,6 +70,10 @@ harden(TxType);
|
|
|
70
70
|
* identifier for the transaction
|
|
71
71
|
* @property {AccountId} [sourceAddress] - The source LCA address initiating the
|
|
72
72
|
* transaction (required for GMP and MAKE_ACCOUNT transactions)
|
|
73
|
+
* @property {number} [cctpVersion] - CCTP protocol version for CCTP_TO_EVM
|
|
74
|
+
* transactions when the version is operationally relevant.
|
|
75
|
+
* @property {AccountId} [destinationCaller] - Destination-chain account
|
|
76
|
+
* authorized to call receiveMessage for CCTPv2 CCTP_TO_EVM transactions.
|
|
73
77
|
* @property {HexAddress} [expectedAddr] - The expected address of the EVM smart
|
|
74
78
|
* wallet to be created (only for type "MAKE_ACCOUNT")
|
|
75
79
|
* @property {HexAddress} [factoryAddr] - The address of the EVM smart wallet
|