@spicenet-io/spiceflow-core 0.3.10 → 0.3.12
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/dist/abis/index.d.ts +2 -0
- package/dist/abis/index.d.ts.map +1 -1
- package/dist/abis/spicenet.d.ts +116 -0
- package/dist/abis/spicenet.d.ts.map +1 -0
- package/dist/abis/spicenetWalletManager.d.ts +771 -0
- package/dist/abis/spicenetWalletManager.d.ts.map +1 -0
- package/dist/api.d.ts +161 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/index.cjs +1157 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1155 -0
- package/package.json +1 -1
package/dist/abis/index.d.ts
CHANGED
|
@@ -2,4 +2,6 @@ export { DELEGATE_ABI } from "./delegate.js";
|
|
|
2
2
|
export { ERC20_ABI } from "./erc20.js";
|
|
3
3
|
export { WCBTC_ABI } from "./wcbtc.js";
|
|
4
4
|
export { uniV3QuoterV2Abi, uniV3SwapRouterAbi } from "./uniV3.js";
|
|
5
|
+
export { spicenetAbi } from "./spicenet.js";
|
|
6
|
+
export { spicenetWalletManagerAbi } from "./spicenetWalletManager.js";
|
|
5
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/abis/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/abis/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/abis/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export declare const spicenetAbi: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "closeRebalancingRequest";
|
|
4
|
+
readonly inputs: readonly [{
|
|
5
|
+
readonly name: "args";
|
|
6
|
+
readonly type: "tuple";
|
|
7
|
+
readonly internalType: "struct Spicenet.CloseRebalancingRequestArgs";
|
|
8
|
+
readonly components: readonly [{
|
|
9
|
+
readonly name: "idempotenceKey";
|
|
10
|
+
readonly type: "bytes32";
|
|
11
|
+
readonly internalType: "bytes32";
|
|
12
|
+
}, {
|
|
13
|
+
readonly name: "repaymentChainTokenAmount";
|
|
14
|
+
readonly type: "uint256";
|
|
15
|
+
readonly internalType: "uint256";
|
|
16
|
+
}];
|
|
17
|
+
}];
|
|
18
|
+
readonly outputs: readonly [];
|
|
19
|
+
readonly stateMutability: "nonpayable";
|
|
20
|
+
}, {
|
|
21
|
+
readonly type: "function";
|
|
22
|
+
readonly name: "createWithdrawalRequest";
|
|
23
|
+
readonly inputs: readonly [{
|
|
24
|
+
readonly name: "request";
|
|
25
|
+
readonly type: "tuple";
|
|
26
|
+
readonly internalType: "struct Spicenet.CreateWithdrawalRequestArgs";
|
|
27
|
+
readonly components: readonly [{
|
|
28
|
+
readonly name: "chainId";
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
readonly internalType: "string";
|
|
31
|
+
}, {
|
|
32
|
+
readonly name: "idempotenceKey";
|
|
33
|
+
readonly type: "bytes32";
|
|
34
|
+
readonly internalType: "bytes32";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "nbf";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
}, {
|
|
40
|
+
readonly name: "exp";
|
|
41
|
+
readonly type: "uint256";
|
|
42
|
+
readonly internalType: "uint256";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "metadata";
|
|
45
|
+
readonly type: "string";
|
|
46
|
+
readonly internalType: "string";
|
|
47
|
+
}, {
|
|
48
|
+
readonly name: "transfers";
|
|
49
|
+
readonly type: "tuple[]";
|
|
50
|
+
readonly internalType: "struct Spicenet.CreateTokenTransfer[]";
|
|
51
|
+
readonly components: readonly [{
|
|
52
|
+
readonly name: "token";
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
readonly internalType: "string";
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "to";
|
|
57
|
+
readonly type: "string";
|
|
58
|
+
readonly internalType: "string";
|
|
59
|
+
}, {
|
|
60
|
+
readonly name: "amount";
|
|
61
|
+
readonly type: "uint256";
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
}];
|
|
64
|
+
}];
|
|
65
|
+
}];
|
|
66
|
+
readonly outputs: readonly [];
|
|
67
|
+
readonly stateMutability: "nonpayable";
|
|
68
|
+
}, {
|
|
69
|
+
readonly type: "function";
|
|
70
|
+
readonly name: "createRebalancingRequest";
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly name: "request";
|
|
73
|
+
readonly type: "tuple";
|
|
74
|
+
readonly internalType: "struct Spicenet.CreateRebalancingRequestArgs";
|
|
75
|
+
readonly components: readonly [{
|
|
76
|
+
readonly name: "idempotenceKey";
|
|
77
|
+
readonly type: "bytes32";
|
|
78
|
+
readonly internalType: "bytes32";
|
|
79
|
+
}, {
|
|
80
|
+
readonly name: "nbf";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
readonly internalType: "uint256";
|
|
83
|
+
}, {
|
|
84
|
+
readonly name: "exp";
|
|
85
|
+
readonly type: "uint256";
|
|
86
|
+
readonly internalType: "uint256";
|
|
87
|
+
}, {
|
|
88
|
+
readonly name: "metadata";
|
|
89
|
+
readonly type: "string";
|
|
90
|
+
readonly internalType: "string";
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "recipient";
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
readonly internalType: "string";
|
|
95
|
+
}, {
|
|
96
|
+
readonly name: "fromChainToken";
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
readonly internalType: "string";
|
|
99
|
+
}, {
|
|
100
|
+
readonly name: "fromChainTokenAmount";
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
}, {
|
|
104
|
+
readonly name: "toChainToken";
|
|
105
|
+
readonly type: "string";
|
|
106
|
+
readonly internalType: "string";
|
|
107
|
+
}, {
|
|
108
|
+
readonly name: "toChainTokenAmountMin";
|
|
109
|
+
readonly type: "uint256";
|
|
110
|
+
readonly internalType: "uint256";
|
|
111
|
+
}];
|
|
112
|
+
}];
|
|
113
|
+
readonly outputs: readonly [];
|
|
114
|
+
readonly stateMutability: "nonpayable";
|
|
115
|
+
}];
|
|
116
|
+
//# sourceMappingURL=spicenet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spicenet.d.ts","sourceRoot":"","sources":["../../src/abis/spicenet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoJA,CAAC"}
|