Skip to content

Commit e9c5aa5

Browse files
committed
Change code sequence
1 parent 0561906 commit e9c5aa5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sdk.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ export class ContractSDK {
5353
readonly proxyAdmin?: ProxyAdmin;
5454
readonly vesting?: Vesting;
5555

56-
static create(signerOrProvider: AbstractProvider | Signer, options?: SdkOptions) {
57-
return new ContractSDK(signerOrProvider, options);
58-
}
59-
6056
constructor(
6157
private readonly signerOrProvider: AbstractProvider | Signer,
6258
public readonly options?: SdkOptions
@@ -66,6 +62,10 @@ export class ContractSDK {
6662
this._init();
6763
}
6864

65+
static create(signerOrProvider: AbstractProvider | Signer, options?: SdkOptions) {
66+
return new ContractSDK(signerOrProvider, options);
67+
}
68+
6969
private async _init() {
7070
const contracts = Object.entries(this._contractDeployments).map(([name, contract]) => ({
7171
address: contract.address,

0 commit comments

Comments
 (0)