-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d18406
commit f5914b6
Showing
11 changed files
with
38 additions
and
22 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/main/java/io/zksync/protocol/account/ECDSASmartAccount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.zksync.protocol.account; | ||
|
||
import io.zksync.protocol.ZkSync; | ||
import io.zksync.utils.smart.account.PopulateTransactionECDS; | ||
import io.zksync.utils.smart.account.PopulateTransactionECDSA; | ||
import io.zksync.utils.smart.account.SignPayloadWithECDSA; | ||
|
||
import java.util.Arrays; | ||
|
||
public class ECDSASmartAccount extends SmartAccount{ | ||
public ECDSASmartAccount(ZkSync provider, String address, String secret) { | ||
super(provider, Arrays.asList(secret), address, new SignPayloadWithECDSA(), new PopulateTransactionECDS()); | ||
super(provider, Arrays.asList(secret), address, new SignPayloadWithECDSA(), new PopulateTransactionECDSA()); | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
src/main/java/io/zksync/protocol/account/MultisigECDSASmartAccount.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package io.zksync.protocol.account; | ||
|
||
import io.zksync.protocol.ZkSync; | ||
import io.zksync.utils.smart.account.PopulateTransactionECDS; | ||
import io.zksync.utils.smart.account.PopulateTransactionECDSA; | ||
import io.zksync.utils.smart.account.SignPayloadWithMultipleECDSA; | ||
|
||
import java.util.List; | ||
|
||
public class MultisigECDSASmartAccount extends SmartAccount{ | ||
public MultisigECDSASmartAccount(ZkSync provider, String address, List<String> secrets) { | ||
super(provider, secrets, address, new SignPayloadWithMultipleECDSA(), new PopulateTransactionECDS()); | ||
super(provider, secrets, address, new SignPayloadWithMultipleECDSA(), new PopulateTransactionECDSA()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.