-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added zkevm get transaction receipt method
- Loading branch information
Showing
10 changed files
with
1,464 additions
and
101 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
src/Packages/Passport/Runtime/Scripts/Private/Model/Request/TransactionReceiptRequest.cs
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,10 @@ | ||
using System; | ||
|
||
namespace Immutable.Passport.Model | ||
{ | ||
[Serializable] | ||
public class TransactionReceiptRequest | ||
{ | ||
public string txHash; | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...Packages/Passport/Runtime/Scripts/Private/Model/Request/TransactionReceiptRequest.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
54 changes: 54 additions & 0 deletions
54
src/Packages/Passport/Runtime/Scripts/Private/Model/Response/TransactionReceiptResponse.cs
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,54 @@ | ||
namespace Immutable.Passport.Model | ||
{ | ||
public class TransactionReceiptResponse | ||
{ | ||
public string blockHash; | ||
|
||
public string blockNumber; | ||
|
||
public string contractAddress; | ||
|
||
public string cumulativeGasUsed; | ||
|
||
public string effectiveGasPrice; | ||
|
||
public string from; | ||
|
||
public string gasUsed; | ||
|
||
public Log[] logs; | ||
|
||
public string logsBloom; | ||
|
||
public string status; | ||
|
||
public string to; | ||
|
||
public string transactionHash; | ||
|
||
public string transactionIndex; | ||
|
||
public string type; | ||
|
||
public class Log | ||
{ | ||
public string address; | ||
|
||
public string[] topics; | ||
|
||
public string data; | ||
|
||
public string blockNumber; | ||
|
||
public string transactionHash; | ||
|
||
public string transactionIndex; | ||
|
||
public string blockHash; | ||
|
||
public string logIndex; | ||
|
||
public bool removed; | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ckages/Passport/Runtime/Scripts/Private/Model/Response/TransactionReceiptResponse.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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