@agoric/orchestration 0.1.1-dev-47d00ff.0 → 0.1.1-dev-da94029.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 +2 -2
- package/src/axelar-types.d.ts +1 -1
- package/src/axelar-types.d.ts.map +1 -1
- package/src/axelar-types.js +1 -1
- package/src/examples/axelar-gmp-account-kit.d.ts +3 -3
- package/src/examples/axelar-gmp-account-kit.d.ts.map +1 -1
- package/src/examples/axelar-gmp-account-kit.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-da94029.0+da94029",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"typeCoverage": {
|
|
104
104
|
"atLeast": 97.7
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "da940299e592bd6866ddb29e4ceebdbe17c79ce0"
|
|
107
107
|
}
|
package/src/axelar-types.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export type AbiEncodedContractCall = {
|
|
|
40
40
|
target: `0x${string}`;
|
|
41
41
|
data: `0x${string}`;
|
|
42
42
|
};
|
|
43
|
-
export type
|
|
43
|
+
export type SupportedEVMChains = keyof typeof EVM_CHAINS;
|
|
44
44
|
import type { Bech32Address } from '@agoric/orchestration';
|
|
45
45
|
import type { OrchestrationAccount } from '@agoric/orchestration';
|
|
46
46
|
import type { CosmosChainAddress } from '@agoric/orchestration';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axelar-types.d.ts","sourceRoot":"","sources":["axelar-types.js"],"names":[],"mappings":";;;;;6BAuBa,CAAC,OAAO,oBAAoB,EAAE,MAAM,OAAO,oBAAoB,CAAC;;kBAK/D,MAAM;oBACN,MAAM;aACN,MAAM;UACN,cAAc;;;YAKd,MAAM;eACN,aAAa;;;uBAKb,MAAM;yBACN,MAAM;aACN,MAAM,EAAE,GAAG,IAAI;UACf,cAAc;;;;kBAMd,qBAAqB;QAAE,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC;uBAC3C,kBAAkB;mBAClB,YAAY;gBACZ,KAAK;YACL,GAAG;qBACH,GAAG;;;YAKH,KAAK,MAAM,EAAE;uBACb,MAAM;UACN,OAAO,EAAE;;;YAKT,KAAK,MAAM,EAAE;UACb,KAAK,MAAM,EAAE;;
|
|
1
|
+
{"version":3,"file":"axelar-types.d.ts","sourceRoot":"","sources":["axelar-types.js"],"names":[],"mappings":";;;;;6BAuBa,CAAC,OAAO,oBAAoB,EAAE,MAAM,OAAO,oBAAoB,CAAC;;kBAK/D,MAAM;oBACN,MAAM;aACN,MAAM;UACN,cAAc;;;YAKd,MAAM;eACN,aAAa;;;uBAKb,MAAM;yBACN,MAAM;aACN,MAAM,EAAE,GAAG,IAAI;UACf,cAAc;;;;kBAMd,qBAAqB;QAAE,OAAO,EAAE,QAAQ,CAAA;KAAE,CAAC;uBAC3C,kBAAkB;mBAClB,YAAY;gBACZ,KAAK;YACL,GAAG;qBACH,GAAG;;;YAKH,KAAK,MAAM,EAAE;uBACb,MAAM;UACN,OAAO,EAAE;;;YAKT,KAAK,MAAM,EAAE;UACb,KAAK,MAAM,EAAE;;iCAId,MAAa,iBAAU;mCArEV,uBAAuB;0CAAvB,uBAAuB;wCAAvB,uBAAuB;kCAClB,cAAc;2BADnB,uBAAuB;gCAEpB,gBAAgB"}
|
package/src/axelar-types.js
CHANGED
|
@@ -28,7 +28,7 @@ export function prepareEvmAccountKit(zone: Zone, { zcf, vowTools, log, zoeTools
|
|
|
28
28
|
* @param {{
|
|
29
29
|
* destinationAddress: string;
|
|
30
30
|
* type: GMPMessageType;
|
|
31
|
-
* destinationEVMChain:
|
|
31
|
+
* destinationEVMChain: SupportedEVMChains;
|
|
32
32
|
* gasAmount: number;
|
|
33
33
|
* contractInvocationData: ContractCall[];
|
|
34
34
|
* }} offerArgs
|
|
@@ -36,7 +36,7 @@ export function prepareEvmAccountKit(zone: Zone, { zcf, vowTools, log, zoeTools
|
|
|
36
36
|
sendGmp(seat: ZCFSeat, offerArgs: {
|
|
37
37
|
destinationAddress: string;
|
|
38
38
|
type: GMPMessageType;
|
|
39
|
-
destinationEVMChain:
|
|
39
|
+
destinationEVMChain: SupportedEVMChains;
|
|
40
40
|
gasAmount: number;
|
|
41
41
|
contractInvocationData: ContractCall[];
|
|
42
42
|
}): Promise<string>;
|
|
@@ -62,6 +62,6 @@ import type { EvmTapState } from '../axelar-types.js';
|
|
|
62
62
|
import type { VTransferIBCEvent } from '@agoric/vats';
|
|
63
63
|
import type { ZCFSeat } from '@agoric/zoe';
|
|
64
64
|
import type { GMPMessageType } from '../axelar-types.js';
|
|
65
|
-
import type {
|
|
65
|
+
import type { SupportedEVMChains } from '../axelar-types.js';
|
|
66
66
|
import type { ContractCall } from '../axelar-types.js';
|
|
67
67
|
//# sourceMappingURL=axelar-gmp-account-kit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axelar-gmp-account-kit.d.ts","sourceRoot":"","sources":["axelar-gmp-account-kit.js"],"names":[],"mappings":"AAgEO,2CARI,IAAI,oCACJ;IACN,GAAG,EAAE,GAAG,CAAC;IACT,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,CAAC;IAChC,QAAQ,EAAE,QAAQ,CAAC;CACpB;;QAsCI;;WAEG;6BADQ,iBAAiB;;;;;;QAyE5B;;;;;;;WAOG;wBAHQ,OAAO,uBAAuB,EAAE,kBAAkB,UAClD,OAAO,uBAAuB,EAAE,SAAS,GACvC,OAAO,CAAC,MAAM,CAAC;QAO5B;;;;;;;;;WASG;sBARQ,OAAO,aACP;YACN,kBAAkB,EAAE,MAAM,CAAC;YAC3B,IAAI,EAAE,cAAc,CAAC;YACrB,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"axelar-gmp-account-kit.d.ts","sourceRoot":"","sources":["axelar-gmp-account-kit.js"],"names":[],"mappings":"AAgEO,2CARI,IAAI,oCACJ;IACN,GAAG,EAAE,GAAG,CAAC;IACT,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,CAAC;IAChC,QAAQ,EAAE,QAAQ,CAAC;CACpB;;QAsCI;;WAEG;6BADQ,iBAAiB;;;;;;QAyE5B;;;;;;;WAOG;wBAHQ,OAAO,uBAAuB,EAAE,kBAAkB,UAClD,OAAO,uBAAuB,EAAE,SAAS,GACvC,OAAO,CAAC,MAAM,CAAC;QAO5B;;;;;;;;;WASG;sBARQ,OAAO,aACP;YACN,kBAAkB,EAAE,MAAM,CAAC;YAC3B,IAAI,EAAE,cAAc,CAAC;YACrB,mBAAmB,EAAE,kBAAkB,CAAC;YACxC,SAAS,EAAE,MAAM,CAAC;YAClB,sBAAsB,EAAE,YAAY,EAAE,CAAC;SACxC;QA4FJ;;;WAGG;sBAFQ,OAAO,QACP,GAAG;;;;;GAoErB;2BAzVa,YAAY;gCA2VZ,UAAU,CAAC,OAAO,oBAAoB,CAAC;4BACvC,UAAU,CAAC,iBAAiB,CAAC;0BArWpB,cAAc;yBAKN,aAAa;8BANZ,aAAa;yBAAb,aAAa;8BAIlB,uBAAuB;iCACqC,oBAAoB;uCANvE,cAAc;6BAOnB,aAAa;oCACY,oBAAoB;wCAFW,oBAAoB;kCAApB,oBAAoB"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @import {TypedPattern} from '@agoric/internal';
|
|
6
6
|
* @import {FungibleTokenPacketData} from '@agoric/cosmic-proto/ibc/applications/transfer/v2/packet.js';
|
|
7
7
|
* @import {ZoeTools} from '../utils/zoe-tools.js';
|
|
8
|
-
* @import {AxelarGmpIncomingMemo, EvmTapState, ContractCall,
|
|
8
|
+
* @import {AxelarGmpIncomingMemo, EvmTapState, ContractCall, SupportedEVMChains} from '../axelar-types.js';
|
|
9
9
|
* @import {ZCF, ZCFSeat} from '@agoric/zoe';
|
|
10
10
|
* @import {AxelarGmpOutgoingMemo, GMPMessageType} from '../axelar-types.js'
|
|
11
11
|
*/
|
|
@@ -190,7 +190,7 @@ export const prepareEvmAccountKit = (
|
|
|
190
190
|
* @param {{
|
|
191
191
|
* destinationAddress: string;
|
|
192
192
|
* type: GMPMessageType;
|
|
193
|
-
* destinationEVMChain:
|
|
193
|
+
* destinationEVMChain: SupportedEVMChains;
|
|
194
194
|
* gasAmount: number;
|
|
195
195
|
* contractInvocationData: ContractCall[];
|
|
196
196
|
* }} offerArgs
|