@agoric/portfolio-api 0.1.1-dev-f5ece76.0.f5ece76 → 0.1.1-dev-45db563.0.45db563
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/types.d.ts +3 -3
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-45db563.0.45db563",
|
|
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-45db563.0.45db563",
|
|
31
|
+
"@agoric/orchestration": "0.1.1-dev-45db563.0.45db563",
|
|
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": "45db56304a0ebced364123f99f4d8bfb29868506"
|
|
73
73
|
}
|
package/src/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NatAmount } from '@agoric/ertp';
|
|
2
2
|
import { type AccountId, type Bech32Address, type CaipChainId, type CosmosChainAddress, type TrafficEntry } from '@agoric/orchestration';
|
|
3
|
-
import type { Address as
|
|
3
|
+
import type { Address as EvmAddress } from 'abitype';
|
|
4
4
|
import type { AxelarChain, SupportedChain, YieldProtocol } from './constants.js';
|
|
5
5
|
import type { InstrumentId } from './instruments.js';
|
|
6
6
|
import type { PublishedTx } from './resolver.js';
|
|
@@ -187,7 +187,7 @@ export type PortfolioGenericRemoteAccountState = {
|
|
|
187
187
|
};
|
|
188
188
|
export type PortfolioEVMRemoteAccountState = {
|
|
189
189
|
chainId: `eip155:${number | bigint | string}`;
|
|
190
|
-
address:
|
|
190
|
+
address: EvmAddress;
|
|
191
191
|
} & {
|
|
192
192
|
state: PortfolioRemoteAccountCommonStates;
|
|
193
193
|
/**
|
|
@@ -195,7 +195,7 @@ export type PortfolioEVMRemoteAccountState = {
|
|
|
195
195
|
*
|
|
196
196
|
* Absent for legacy accounts.
|
|
197
197
|
*/
|
|
198
|
-
routerFactory?:
|
|
198
|
+
routerFactory?: EvmAddress;
|
|
199
199
|
};
|
|
200
200
|
export type PortfolioCosmosRemoteAccountState = {
|
|
201
201
|
chainId: `cosmos:${string}`;
|