-
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.
Merge pull request #16 from zksync-sdk/feat/finalize-withdraw
Feat/finalize withdraw
- Loading branch information
Showing
10 changed files
with
390 additions
and
32 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ plugins { | |
id 'java-library' | ||
id 'maven-publish' | ||
id 'signing' | ||
id 'io.codearte.nexus-staging' version '0.30.0' | ||
} | ||
|
||
group = 'io.zksync' | ||
|
@@ -52,9 +53,9 @@ publishing { | |
} | ||
developers { | ||
developer { | ||
id = 'mfischuk' | ||
name = 'Maxim Fischuk' | ||
email = '[email protected]' | ||
id = 'matterLabs' | ||
name = 'Matter Labs' | ||
email = '[email protected]' | ||
} | ||
} | ||
scm { | ||
|
@@ -77,6 +78,11 @@ publishing { | |
} | ||
} | ||
|
||
nexusStaging { | ||
packageGroup = "io.zksync.zksync2" //optional if packageGroup == project.getGroup() | ||
stagingProfileId findProperty("OSSRH_STAGING_PROFILE_ID") | ||
} | ||
|
||
|
||
signing { | ||
def signingKeyId = findProperty("signingKeyId") | ||
|
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
107 changes: 107 additions & 0 deletions
107
src/main/java/io/zksync/methods/response/L2toL1Log.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 |
---|---|---|
@@ -0,0 +1,107 @@ | ||
package io.zksync.methods.response; | ||
|
||
import org.web3j.abi.datatypes.Address; | ||
|
||
import java.math.BigInteger; | ||
|
||
public class L2toL1Log { | ||
public String BlockNumber; | ||
public String BlockHash; | ||
public String L1BatchNumber; | ||
public String TransactionIndex; | ||
public String ShardId; | ||
public boolean IsService; | ||
public Address Sender; | ||
public String Key; | ||
public String Value; | ||
public String TxHash; | ||
public int Index; | ||
|
||
public String getBlockNumber() { | ||
return BlockNumber; | ||
} | ||
|
||
public void setBlockNumber(String blockNumber) { | ||
BlockNumber = blockNumber; | ||
} | ||
|
||
public String getBlockHash() { | ||
return BlockHash; | ||
} | ||
|
||
public void setBlockHash(String blockHash) { | ||
BlockHash = blockHash; | ||
} | ||
|
||
public String getL1BatchNumber() { | ||
return L1BatchNumber; | ||
} | ||
|
||
public void setL1BatchNumber(String l1BatchNumber) { | ||
L1BatchNumber = l1BatchNumber; | ||
} | ||
|
||
public String getTransactionIndex() { | ||
return TransactionIndex; | ||
} | ||
|
||
public void setTransactionIndex(String transactionIndex) { | ||
TransactionIndex = transactionIndex; | ||
} | ||
|
||
public String getShardId() { | ||
return ShardId; | ||
} | ||
|
||
public void setShardId(String shardId) { | ||
ShardId = shardId; | ||
} | ||
|
||
public boolean isService() { | ||
return IsService; | ||
} | ||
|
||
public void setService(boolean service) { | ||
IsService = service; | ||
} | ||
|
||
public Address getSender() { | ||
return Sender; | ||
} | ||
|
||
public void setSender(Address sender) { | ||
Sender = sender; | ||
} | ||
|
||
public String getKey() { | ||
return Key; | ||
} | ||
|
||
public void setKey(String key) { | ||
Key = key; | ||
} | ||
|
||
public String getValue() { | ||
return Value; | ||
} | ||
|
||
public void setValue(String value) { | ||
Value = value; | ||
} | ||
|
||
public String getTxHash() { | ||
return TxHash; | ||
} | ||
|
||
public void setTxHash(String txHash) { | ||
TxHash = txHash; | ||
} | ||
|
||
public int getIndex() { | ||
return Index; | ||
} | ||
|
||
public void setIndex(int index) { | ||
Index = index; | ||
} | ||
} |
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.