Skip to content

Commit

Permalink
change response
Browse files Browse the repository at this point in the history
  • Loading branch information
cherry-yl-sh committed Mar 8, 2024
1 parent 9bb3951 commit cd7aeda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions common/model/api_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type TryPayUserOpResponse struct {
EntryPointAddress string `json:"entrypoint_address"`
PayMasterAddress string `json:"paymaster_address"`
PayMasterSignature string `json:"paymaster_signature"`
PayMasterAndData string `json:"paymaster_and_data"`
PayReceipt *PayReceipt `json:"pay_receipt"`
GasInfo *ComputeGasResponse `json:"gas_info"`
}
Expand Down
5 changes: 3 additions & 2 deletions common/types/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package types
type TokenType string

const (
USDT TokenType = "USDT"
ETH TokenType = "ETH"
USDT TokenType = "usdt"
ETH TokenType = "eth"
OP TokenType = "op"
)

0 comments on commit cd7aeda

Please sign in to comment.