@chipi-stack/types 1.2.0 → 2.0.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/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -99,14 +99,14 @@ interface ExecuteTransactionParams {
|
|
|
99
99
|
}
|
|
100
100
|
interface Transaction {
|
|
101
101
|
id: string;
|
|
102
|
-
chain:
|
|
102
|
+
chain: "STARKNET" | "BASE" | "ARBITRUM" | "OPTIMISM" | "ROOTSTOCK" | "SCROLL" | "WORLDCHAIN";
|
|
103
103
|
apiPublicKey: string;
|
|
104
104
|
transactionHash: string;
|
|
105
105
|
blockNumber: number;
|
|
106
106
|
senderAddress: string;
|
|
107
107
|
destinationAddress: string;
|
|
108
108
|
amount: string;
|
|
109
|
-
token:
|
|
109
|
+
token: "USDC" | "USDT" | "DAI" | "ETH" | "STRK" | "SLINK" | "ALF" | "BROTHER" | "ARB" | "DOC" | "MXNB" | "WLD";
|
|
110
110
|
calledFunction?: string;
|
|
111
111
|
amountInUSD: number;
|
|
112
112
|
status: string;
|
|
@@ -145,8 +145,7 @@ interface TransferParams {
|
|
|
145
145
|
decimals: number;
|
|
146
146
|
};
|
|
147
147
|
recipient: string;
|
|
148
|
-
amount: string
|
|
149
|
-
decimals?: number;
|
|
148
|
+
amount: string;
|
|
150
149
|
}
|
|
151
150
|
interface ApproveParams {
|
|
152
151
|
encryptKey: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -99,14 +99,14 @@ interface ExecuteTransactionParams {
|
|
|
99
99
|
}
|
|
100
100
|
interface Transaction {
|
|
101
101
|
id: string;
|
|
102
|
-
chain:
|
|
102
|
+
chain: "STARKNET" | "BASE" | "ARBITRUM" | "OPTIMISM" | "ROOTSTOCK" | "SCROLL" | "WORLDCHAIN";
|
|
103
103
|
apiPublicKey: string;
|
|
104
104
|
transactionHash: string;
|
|
105
105
|
blockNumber: number;
|
|
106
106
|
senderAddress: string;
|
|
107
107
|
destinationAddress: string;
|
|
108
108
|
amount: string;
|
|
109
|
-
token:
|
|
109
|
+
token: "USDC" | "USDT" | "DAI" | "ETH" | "STRK" | "SLINK" | "ALF" | "BROTHER" | "ARB" | "DOC" | "MXNB" | "WLD";
|
|
110
110
|
calledFunction?: string;
|
|
111
111
|
amountInUSD: number;
|
|
112
112
|
status: string;
|
|
@@ -145,8 +145,7 @@ interface TransferParams {
|
|
|
145
145
|
decimals: number;
|
|
146
146
|
};
|
|
147
147
|
recipient: string;
|
|
148
|
-
amount: string
|
|
149
|
-
decimals?: number;
|
|
148
|
+
amount: string;
|
|
150
149
|
}
|
|
151
150
|
interface ApproveParams {
|
|
152
151
|
encryptKey: string;
|