@imtbl/x-client 2.1.16 → 2.1.17-alpha.1

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.
Files changed (26) hide show
  1. package/dist/browser/index.js +84 -8
  2. package/dist/node/index.cjs +27 -25
  3. package/dist/node/index.js +6 -4
  4. package/dist/types/contracts/@openzeppelin/contracts/token/ERC20/IERC20.d.ts +127 -114
  5. package/dist/types/contracts/@openzeppelin/contracts/token/ERC721/IERC721.d.ts +201 -180
  6. package/dist/types/contracts/@openzeppelin/contracts/utils/introspection/IERC165.d.ts +36 -23
  7. package/dist/types/contracts/common.d.ts +12 -40
  8. package/dist/types/contracts/contracts/v3/Core.d.ts +1194 -991
  9. package/dist/types/contracts/contracts/v3/Registration.d.ts +165 -151
  10. package/dist/types/contracts/contracts/v4/CoreV4.d.ts +1569 -1497
  11. package/dist/types/contracts/contracts/v4/RegistrationV4.d.ts +129 -97
  12. package/dist/types/contracts/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts +31 -143
  13. package/dist/types/contracts/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.d.ts +31 -223
  14. package/dist/types/contracts/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts +18 -17
  15. package/dist/types/contracts/factories/contracts/v3/Core__factory.d.ts +31 -1250
  16. package/dist/types/contracts/factories/contracts/v3/Registration__factory.d.ts +37 -206
  17. package/dist/types/contracts/factories/contracts/v4/CoreV4__factory.d.ts +38 -1886
  18. package/dist/types/contracts/factories/contracts/v4/RegistrationV4__factory.d.ts +47 -160
  19. package/dist/types/types/api.d.ts +3 -1
  20. package/dist/types/types/signers.d.ts +1 -1
  21. package/dist/types/utils/crypto/crypto.d.ts +1 -1
  22. package/dist/types/utils/stark/legacy/crypto/crypto.d.ts +2 -0
  23. package/dist/types/utils/stark/starkCurve.d.ts +1 -1
  24. package/dist/types/workflows/minting.d.ts +1 -1
  25. package/dist/types/workflows/workflows.d.ts +1 -1
  26. package/package.json +14 -5
@@ -1,168 +1,55 @@
1
- import { ContractFactory, ContractTransactionResponse } from "ethers";
2
- import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
3
- import type { NonPayableOverrides } from "../../../common";
1
+ import { Signer, ContractFactory, Overrides } from "ethers-v5";
2
+ import type { Provider, TransactionRequest } from "@ethersproject/providers";
3
+ import type { PromiseOrValue } from "../../../common";
4
4
  import type { RegistrationV4, RegistrationV4Interface } from "../../../contracts/v4/RegistrationV4";
5
5
  type RegistrationV4ConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
6
  export declare class RegistrationV4__factory extends ContractFactory {
7
7
  constructor(...args: RegistrationV4ConstructorParams);
8
- getDeployTransaction(_imx: AddressLike, overrides?: NonPayableOverrides & {
9
- from?: string;
10
- }): Promise<ContractDeployTransaction>;
11
- deploy(_imx: AddressLike, overrides?: NonPayableOverrides & {
12
- from?: string;
13
- }): Promise<RegistrationV4 & {
14
- deploymentTransaction(): ContractTransactionResponse;
15
- }>;
16
- connect(runner: ContractRunner | null): RegistrationV4__factory;
8
+ deploy(_imx: PromiseOrValue<string>, overrides?: Overrides & {
9
+ from?: PromiseOrValue<string>;
10
+ }): Promise<RegistrationV4>;
11
+ getDeployTransaction(_imx: PromiseOrValue<string>, overrides?: Overrides & {
12
+ from?: PromiseOrValue<string>;
13
+ }): TransactionRequest;
14
+ attach(address: string): RegistrationV4;
15
+ connect(signer: Signer): RegistrationV4__factory;
17
16
  static readonly bytecode = "0x60a06040523480156200001157600080fd5b50604051620012bc380380620012bc8339818101604052810190620000379190620000dc565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050506200010e565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620000a48262000077565b9050919050565b620000b68162000097565b8114620000c257600080fd5b50565b600081519050620000d681620000ab565b92915050565b600060208284031215620000f557620000f462000072565b5b60006200010584828501620000c5565b91505092915050565b608051611145620001776000396000818161016d01528181610229015281816102c2015281816102f30152818161038501528181610429015281816104bb0152818161056e01528181610629015281816106c9015281816107c4015261085b01526111456000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063352eb84c1161005b578063352eb84c146100da57806343fa186d146100f6578063579a698814610112578063d2fc99b5146101425761007d565b8063022cabbc146100825780630d8e6e2c1461009e5780630f08025f146100bc575b600080fd5b61009c600480360381019061009791906109fb565b61015e565b005b6100a6610225565b6040516100b39190610b13565b60405180910390f35b6100c46102c0565b6040516100d19190610b94565b60405180910390f35b6100f460048036038101906100ef9190610baf565b6102e4565b005b610110600480360381019061010b9190610c49565b61041a565b005b61012c60048036038101906101279190610d05565b610553565b6040516101399190610d4d565b60405180910390f35b61015c60048036038101906101579190610d68565b610625565b005b61016784610553565b6101fd577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bea84187868686866040518563ffffffff1660e01b81526004016101ca9493929190610e26565b600060405180830381600087803b1580156101e457600080fd5b505af11580156101f8573d6000803e3d6000fd5b505050505b61021e8573ffffffffffffffffffffffffffffffffffffffff168583610625565b5050505050565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ffa1ad746040518163ffffffff1660e01b8152600401600060405180830381865afa158015610292573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906102bb9190610f87565b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b6102ed85610553565b610383577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bea84187878787876040518563ffffffff1660e01b81526004016103509493929190610e26565b600060405180830381600087803b15801561036a57600080fd5b505af115801561037e573d6000803e3d6000fd5b505050505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663019b417a8684846040518463ffffffff1660e01b81526004016103e093929190610fd0565b600060405180830381600087803b1580156103fa57600080fd5b505af115801561040e573d6000803e3d6000fd5b50505050505050505050565b61042386610553565b6104b9577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bea84187888888886040518563ffffffff1660e01b81526004016104869493929190610e26565b600060405180830381600087803b1580156104a057600080fd5b505af11580156104b4573d6000803e3d6000fd5b505050505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d91443b7878585856040518563ffffffff1660e01b81526004016105189493929190611007565b600060405180830381600087803b15801561053257600080fd5b505af1158015610546573d6000803e3d6000fd5b5050505050505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631dbd1da7846040518263ffffffff1660e01b81526004016105c59190611047565b602060405180830381865afa1580156105e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106069190611077565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ec3161b085846040518363ffffffff1660e01b81526004016106829291906110a4565b602060405180830381865afa15801561069f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c391906110e2565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ec3161b085856040518363ffffffff1660e01b81526004016107229291906110a4565b602060405180830381865afa15801561073f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076391906110e2565b90506000821480156107755750600081145b156107b95784846040517f1362cdf20000000000000000000000000000000000000000000000000000000081526004016107b09291906110a4565b60405180910390fd5b6000821115610850577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663441a3e7086856040518363ffffffff1660e01b815260040161081d9291906110a4565b600060405180830381600087803b15801561083757600080fd5b505af115801561084b573d6000803e3d6000fd5b505050505b60008111156108e7577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663441a3e7085856040518363ffffffff1660e01b81526004016108b49291906110a4565b600060405180830381600087803b1580156108ce57600080fd5b505af11580156108e2573d6000803e3d6000fd5b505050505b5050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061092d82610902565b9050919050565b61093d81610922565b811461094857600080fd5b50565b60008135905061095a81610934565b92915050565b6000819050919050565b61097381610960565b811461097e57600080fd5b50565b6000813590506109908161096a565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126109bb576109ba610996565b5b8235905067ffffffffffffffff8111156109d8576109d761099b565b5b6020830191508360018202830111156109f4576109f36109a0565b5b9250929050565b600080600080600060808688031215610a1757610a166108f8565b5b6000610a258882890161094b565b9550506020610a3688828901610981565b945050604086013567ffffffffffffffff811115610a5757610a566108fd565b5b610a63888289016109a5565b93509350506060610a7688828901610981565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b60005b83811015610abd578082015181840152602081019050610aa2565b60008484015250505050565b6000601f19601f8301169050919050565b6000610ae582610a83565b610aef8185610a8e565b9350610aff818560208601610a9f565b610b0881610ac9565b840191505092915050565b60006020820190508181036000830152610b2d8184610ada565b905092915050565b6000819050919050565b6000610b5a610b55610b5084610902565b610b35565b610902565b9050919050565b6000610b6c82610b3f565b9050919050565b6000610b7e82610b61565b9050919050565b610b8e81610b73565b82525050565b6000602082019050610ba96000830184610b85565b92915050565b60008060008060008060a08789031215610bcc57610bcb6108f8565b5b6000610bda89828a0161094b565b9650506020610beb89828a01610981565b955050604087013567ffffffffffffffff811115610c0c57610c0b6108fd565b5b610c1889828a016109a5565b94509450506060610c2b89828a01610981565b9250506080610c3c89828a01610981565b9150509295509295509295565b600080600080600080600060a0888a031215610c6857610c676108f8565b5b6000610c768a828b0161094b565b9750506020610c878a828b01610981565b965050604088013567ffffffffffffffff811115610ca857610ca76108fd565b5b610cb48a828b016109a5565b95509550506060610cc78a828b01610981565b935050608088013567ffffffffffffffff811115610ce857610ce76108fd565b5b610cf48a828b016109a5565b925092505092959891949750929550565b600060208284031215610d1b57610d1a6108f8565b5b6000610d2984828501610981565b91505092915050565b60008115159050919050565b610d4781610d32565b82525050565b6000602082019050610d626000830184610d3e565b92915050565b600080600060608486031215610d8157610d806108f8565b5b6000610d8f86828701610981565b9350506020610da086828701610981565b9250506040610db186828701610981565b9150509250925092565b610dc481610922565b82525050565b610dd381610960565b82525050565b600082825260208201905092915050565b82818337600083830152505050565b6000610e058385610dd9565b9350610e12838584610dea565b610e1b83610ac9565b840190509392505050565b6000606082019050610e3b6000830187610dbb565b610e486020830186610dca565b8181036040830152610e5b818486610df9565b905095945050505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610ea382610ac9565b810181811067ffffffffffffffff82111715610ec257610ec1610e6b565b5b80604052505050565b6000610ed56108ee565b9050610ee18282610e9a565b919050565b600067ffffffffffffffff821115610f0157610f00610e6b565b5b610f0a82610ac9565b9050602081019050919050565b6000610f2a610f2584610ee6565b610ecb565b905082815260208101848484011115610f4657610f45610e66565b5b610f51848285610a9f565b509392505050565b600082601f830112610f6e57610f6d610996565b5b8151610f7e848260208601610f17565b91505092915050565b600060208284031215610f9d57610f9c6108f8565b5b600082015167ffffffffffffffff811115610fbb57610fba6108fd565b5b610fc784828501610f59565b91505092915050565b6000606082019050610fe56000830186610dca565b610ff26020830185610dca565b610fff6040830184610dca565b949350505050565b600060608201905061101c6000830187610dca565b6110296020830186610dca565b818103604083015261103c818486610df9565b905095945050505050565b600060208201905061105c6000830184610dca565b92915050565b60008151905061107181610934565b92915050565b60006020828403121561108d5761108c6108f8565b5b600061109b84828501611062565b91505092915050565b60006040820190506110b96000830185610dca565b6110c66020830184610dca565b9392505050565b6000815190506110dc8161096a565b92915050565b6000602082840312156110f8576110f76108f8565b5b6000611106848285016110cd565b9150509291505056fea2646970667358221220c33e1830b470bf1e012ac831ec80242d6268e5e6e990b7e1574a230f71533ebd64736f6c63430008130033";
18
- static readonly abi: readonly [{
19
- readonly inputs: readonly [{
20
- readonly internalType: "address payable";
21
- readonly name: "_imx";
22
- readonly type: "address";
23
- }];
24
- readonly stateMutability: "nonpayable";
25
- readonly type: "constructor";
26
- }, {
27
- readonly inputs: readonly [{
28
- readonly internalType: "uint256";
29
- readonly name: "ethKey";
30
- readonly type: "uint256";
31
- }, {
32
- readonly internalType: "uint256";
33
- readonly name: "starkKey";
34
- readonly type: "uint256";
35
- }];
36
- readonly name: "NoFundsToWithdraw";
37
- readonly type: "error";
38
- }, {
39
- readonly inputs: readonly [];
40
- readonly name: "getVersion";
41
- readonly outputs: readonly [{
42
- readonly internalType: "string";
43
- readonly name: "";
44
- readonly type: "string";
45
- }];
46
- readonly stateMutability: "view";
47
- readonly type: "function";
48
- }, {
49
- readonly inputs: readonly [];
50
- readonly name: "imx";
51
- readonly outputs: readonly [{
52
- readonly internalType: "contract CoreV4";
53
- readonly name: "";
54
- readonly type: "address";
55
- }];
56
- readonly stateMutability: "view";
57
- readonly type: "function";
58
- }, {
59
- readonly inputs: readonly [{
60
- readonly internalType: "uint256";
61
- readonly name: "starkKey";
62
- readonly type: "uint256";
63
- }];
64
- readonly name: "isRegistered";
65
- readonly outputs: readonly [{
66
- readonly internalType: "bool";
67
- readonly name: "";
68
- readonly type: "bool";
69
- }];
70
- readonly stateMutability: "view";
71
- readonly type: "function";
72
- }, {
73
- readonly inputs: readonly [{
74
- readonly internalType: "address";
75
- readonly name: "ethKey";
76
- readonly type: "address";
77
- }, {
78
- readonly internalType: "uint256";
79
- readonly name: "starkKey";
80
- readonly type: "uint256";
81
- }, {
82
- readonly internalType: "bytes";
83
- readonly name: "signature";
84
- readonly type: "bytes";
85
- }, {
86
- readonly internalType: "uint256";
87
- readonly name: "assetType";
88
- readonly type: "uint256";
89
- }];
90
- readonly name: "registerAndWithdrawAll";
91
- readonly outputs: readonly [];
92
- readonly stateMutability: "nonpayable";
93
- readonly type: "function";
94
- }, {
95
- readonly inputs: readonly [{
96
- readonly internalType: "address";
97
- readonly name: "ethKey";
98
- readonly type: "address";
99
- }, {
100
- readonly internalType: "uint256";
101
- readonly name: "starkKey";
102
- readonly type: "uint256";
103
- }, {
104
- readonly internalType: "bytes";
105
- readonly name: "signature";
106
- readonly type: "bytes";
107
- }, {
108
- readonly internalType: "uint256";
109
- readonly name: "assetType";
110
- readonly type: "uint256";
111
- }, {
112
- readonly internalType: "uint256";
113
- readonly name: "tokenId";
114
- readonly type: "uint256";
115
- }];
116
- readonly name: "registerAndWithdrawNft";
117
- readonly outputs: readonly [];
118
- readonly stateMutability: "nonpayable";
119
- readonly type: "function";
120
- }, {
121
- readonly inputs: readonly [{
122
- readonly internalType: "address";
123
- readonly name: "ethKey";
124
- readonly type: "address";
125
- }, {
126
- readonly internalType: "uint256";
127
- readonly name: "starkKey";
128
- readonly type: "uint256";
129
- }, {
130
- readonly internalType: "bytes";
131
- readonly name: "signature";
132
- readonly type: "bytes";
133
- }, {
134
- readonly internalType: "uint256";
135
- readonly name: "assetType";
136
- readonly type: "uint256";
137
- }, {
138
- readonly internalType: "bytes";
139
- readonly name: "mintingBlob";
140
- readonly type: "bytes";
141
- }];
142
- readonly name: "registerWithdrawAndMint";
143
- readonly outputs: readonly [];
144
- readonly stateMutability: "nonpayable";
145
- readonly type: "function";
146
- }, {
147
- readonly inputs: readonly [{
148
- readonly internalType: "uint256";
149
- readonly name: "ethKey";
150
- readonly type: "uint256";
151
- }, {
152
- readonly internalType: "uint256";
153
- readonly name: "starkKey";
154
- readonly type: "uint256";
155
- }, {
156
- readonly internalType: "uint256";
157
- readonly name: "assetType";
158
- readonly type: "uint256";
159
- }];
160
- readonly name: "withdrawAll";
161
- readonly outputs: readonly [];
162
- readonly stateMutability: "nonpayable";
163
- readonly type: "function";
164
- }];
17
+ static readonly abi: ({
18
+ inputs: {
19
+ internalType: string;
20
+ name: string;
21
+ type: string;
22
+ }[];
23
+ stateMutability: string;
24
+ type: string;
25
+ name?: undefined;
26
+ outputs?: undefined;
27
+ } | {
28
+ inputs: {
29
+ internalType: string;
30
+ name: string;
31
+ type: string;
32
+ }[];
33
+ name: string;
34
+ type: string;
35
+ stateMutability?: undefined;
36
+ outputs?: undefined;
37
+ } | {
38
+ inputs: {
39
+ internalType: string;
40
+ name: string;
41
+ type: string;
42
+ }[];
43
+ name: string;
44
+ outputs: {
45
+ internalType: string;
46
+ name: string;
47
+ type: string;
48
+ }[];
49
+ stateMutability: string;
50
+ type: string;
51
+ })[];
165
52
  static createInterface(): RegistrationV4Interface;
166
- static connect(address: string, runner?: ContractRunner | null): RegistrationV4;
53
+ static connect(address: string, signerOrProvider: Signer | Provider): RegistrationV4;
167
54
  }
168
55
  export {};
@@ -1,5 +1,7 @@
1
1
  import { imx } from '@imtbl/generated-clients';
2
- export type { TransactionResponse } from 'ethers';
2
+ import { providers } from 'ethers-v5';
3
+ type TransactionResponse = providers.TransactionResponse;
4
+ export type { TransactionResponse };
3
5
  /**
4
6
  * Need to specifically export the classes and interfaces from the generated
5
7
  * clients imx object for rollup to bundle them correctly.
@@ -1,4 +1,4 @@
1
- import { Signer as EthSigner } from 'ethers';
1
+ import { Signer as EthSigner } from 'ethers-v5';
2
2
  export type { EthSigner };
3
3
  /**
4
4
  * An abstraction of a Stark account, which can be used to sign messages and transactions on StarkEx to execute state changing operations
@@ -1,4 +1,4 @@
1
- import { Signer } from 'ethers';
1
+ import { Signer } from 'ethers-v5';
2
2
  import { StarkSigner } from '../../types';
3
3
  export declare function signRaw(payload: string, signer: Signer): Promise<string>;
4
4
  type IMXAuthorisationHeaders = {
@@ -1,12 +1,14 @@
1
1
  import BN from 'bn.js';
2
2
  import elliptic from 'elliptic';
3
3
  export declare function isHexPrefixed(str: string): boolean;
4
+ export declare function checkHexValue(hex: string): void;
4
5
  export declare function getIntFromBits(hex: string, start: number, end?: number | undefined): number;
5
6
  export declare function getAccountPath(layer: string, application: string, ethereumAddress: string, index: string): string;
6
7
  export declare function hashKeyWithIndex(key: string, index: number): BN;
7
8
  export declare function grindKey(privateKey: string): string;
8
9
  export declare function getKeyPair(privateKey: string): elliptic.ec.KeyPair;
9
10
  export declare function getPrivateKeyFromPath(seed: string, path: string): string;
11
+ export declare function getKeyPairFromPath(seed: string, path: string): elliptic.ec.KeyPair;
10
12
  export declare function getPublic(keyPair: elliptic.ec.KeyPair, compressed?: boolean): string;
11
13
  export declare function getStarkPublicKey(keyPair: elliptic.ec.KeyPair): string;
12
14
  export declare function getKeyPairFromPublicKey(publicKey: string): elliptic.ec.KeyPair;
@@ -1,5 +1,5 @@
1
+ import { Signer } from '@ethersproject/abstract-signer';
1
2
  import BN from 'bn.js';
2
- import { Signer } from 'ethers';
3
3
  export declare const starkEcOrder: BN;
4
4
  export declare const starkEc: any;
5
5
  export declare function grindKeyV201(keySeed: BN): string;
@@ -1,4 +1,4 @@
1
- import { Signer } from 'ethers';
1
+ import { Signer } from 'ethers-v5';
2
2
  import { MintsApi, MintTokensResponse } from '../types/api';
3
3
  import { UnsignedMintRequest } from '../types';
4
4
  export declare function mintingWorkflow(signer: Signer, request: UnsignedMintRequest, mintsApi: MintsApi): Promise<MintTokensResponse>;
@@ -1,5 +1,5 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import { Signer } from 'ethers';
2
+ import { Signer } from 'ethers-v5';
3
3
  import { CollectionsApi, ExchangesApi, ProjectsApi, MetadataApi, MetadataRefreshesApi, MintsApi, CreateCollectionRequest, UpdateCollectionRequest, AddMetadataSchemaToCollectionRequest, CreateMetadataRefreshRequest, MetadataSchemaRequest, Project, Collection, SuccessResponse, GetMetadataRefreshes, GetMetadataRefreshErrorsResponse, GetMetadataRefreshResponse, CreateMetadataRefreshResponse } from '../types/api';
4
4
  import { UnsignedMintRequest, WalletConnection, EthSigner, UnsignedExchangeTransferRequest } from '../types';
5
5
  import { ImmutableXConfiguration } from '../config';
package/package.json CHANGED
@@ -1,18 +1,27 @@
1
1
  {
2
2
  "name": "@imtbl/x-client",
3
3
  "description": "Immutable X Client for Immutable SDK",
4
- "version": "2.1.16",
4
+ "version": "2.1.17-alpha.1",
5
5
  "author": "Immutable",
6
6
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
7
7
  "dependencies": {
8
+ "@ethereumjs/util": "^9.1.0",
8
9
  "@ethereumjs/wallet": "^2.0.4",
9
- "@imtbl/config": "2.1.16",
10
- "@imtbl/generated-clients": "2.1.16",
10
+ "@ethersproject/abi": "^5.7.0",
11
+ "@ethersproject/abstract-signer": "^5.7.0",
12
+ "@ethersproject/bytes": "^5.7.0",
13
+ "@ethersproject/keccak256": "^5.7.0",
14
+ "@ethersproject/providers": "^5.7.2",
15
+ "@ethersproject/strings": "^5.7.0",
16
+ "@ethersproject/wallet": "^5.7.0",
17
+ "@imtbl/config": "2.1.17-alpha.1",
18
+ "@imtbl/generated-clients": "2.1.17-alpha.1",
11
19
  "axios": "^1.6.5",
12
20
  "bn.js": "^5.2.1",
21
+ "crypto": "1.0.1",
13
22
  "elliptic": "^6.6.1",
14
23
  "enc-utils": "^3.0.0",
15
- "ethers": "^6.13.4",
24
+ "ethers-v5": "npm:ethers@5.7.2",
16
25
  "hash.js": "^1.1.7"
17
26
  },
18
27
  "devDependencies": {
@@ -20,7 +29,7 @@
20
29
  "@swc/jest": "^0.2.37",
21
30
  "@types/bn.js": "^5.1.6",
22
31
  "@types/jest": "^29.4.3",
23
- "crypto": "^1.0.1",
32
+ "assert": "^2.1.0",
24
33
  "eslint": "^8.40.0",
25
34
  "jest": "^29.4.3",
26
35
  "jest-environment-jsdom": "^29.4.3",