File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
common/src/adapters/types Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ export interface Log {
7272 * Standardized transaction receipt
7373 */
7474export interface TransactionReceipt {
75+ from : string
76+ to : string | null
7577 transactionHash : string
7678 blockNumber : bigint
7779 blockHash : string
Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ export class EthersV5SignerAdapter extends AbstractSigner<RpcProvider> {
5454 wait : async ( confirmations ?: number ) => {
5555 const receipt = await tx . wait ( confirmations )
5656 return {
57+ from : receipt . from ,
58+ to : receipt . to ,
5759 transactionHash : receipt . transactionHash ,
5860 blockNumber : BigInt ( receipt . blockNumber ) ,
5961 blockHash : receipt . blockHash ,
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ export class EthersV6SignerAdapter extends AbstractSigner<Provider> {
4848 throw new Error ( 'Transaction failed' )
4949 }
5050 return {
51+ from : receipt . from ,
52+ to : receipt . to ,
5153 transactionHash : receipt . hash ,
5254 blockNumber : BigInt ( receipt . blockNumber ) ,
5355 blockHash : receipt . blockHash || '' ,
Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ export class ViemSignerAdapter extends AbstractSigner<PublicClient> {
9696 } )
9797
9898 return {
99+ from : receipt . from ,
100+ to : receipt . to ,
99101 transactionHash : receipt . transactionHash ,
100102 blockNumber : BigInt ( receipt . blockNumber ) ,
101103 blockHash : receipt . blockHash ,
You can’t perform that action at this time.
0 commit comments