Skip to content

Commit

Permalink
new relayed v3
Browse files Browse the repository at this point in the history
  • Loading branch information
sstanculeanu committed Oct 24, 2024
1 parent 75bab2a commit 7105ba3
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 38 deletions.
1 change: 1 addition & 0 deletions data/transaction/apiTransactionResult.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ type ApiTransactionResult struct {
IsRefund bool `json:"isRefund,omitempty"`
CallType string `json:"callType,omitempty"`
RelayerAddress string `json:"relayerAddress,omitempty"`
RelayerSignature string `json:"relayerSignature,omitempty"`
RelayedValue string `json:"relayedValue,omitempty"`
ChainID string `json:"chainID,omitempty"`
Version uint32 `json:"version,omitempty"`
Expand Down
2 changes: 2 additions & 0 deletions data/transaction/frontendTransaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ type FrontendTransaction struct {
Options uint32 `json:"options,omitempty"`
GuardianAddr string `json:"guardian,omitempty"`
GuardianSignature string `json:"guardianSignature,omitempty"`
RelayerAddr string `json:"relayer,omitempty"`
RelayerSignature string `json:"relayerSignature,omitempty"`
}
199 changes: 161 additions & 38 deletions data/transaction/transaction.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions data/transaction/transaction.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ message Transaction {
uint32 Options = 13 [(gogoproto.jsontag) = "options,omitempty"];
bytes GuardianAddr = 14 [(gogoproto.jsontag) = "guardian,omitempty"];
bytes GuardianSignature = 15 [(gogoproto.jsontag) = "guardianSignature,omitempty"];
bytes RelayerAddr = 16 [(gogoproto.jsontag) = "relayer,omitempty"];
bytes RelayerSignature = 17 [(gogoproto.jsontag) = "relayerSignature,omitempty"];
}

0 comments on commit 7105ba3

Please sign in to comment.