Skip to content

Commit 2c57df8

Browse files
committed
core: schema for erc20 signature
1 parent a0d6024 commit 2c57df8

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

packages/graphql/schema.graphql

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ input BorrowRequest {
8484

8585
input CancelIntentSwapInput {
8686
id: SwapId!
87-
signature: ERC712Signature!
87+
signature: Signature!
8888
}
8989

9090
union CancelSwapExecutionPlan = TransactionRequest | SwapCancelled
@@ -155,7 +155,7 @@ type DomainData {
155155
verifyingContract: EvmAddress!
156156
}
157157

158-
input ERC712Signature {
158+
input ERC20PermitSignature {
159159
"""The signature for the erc721"""
160160
value: Signature!
161161

@@ -751,7 +751,7 @@ input RepayErc20AmountInputWithPermit {
751751
"""
752752
The signed ERC20 permit message to operate on the relevant token without a need for an ERC20 Approval transaction.
753753
"""
754-
permitSig: ERC712Signature
754+
permitSig: ERC20PermitSignature
755755
}
756756

757757
input RepayPermitRequest {
@@ -836,7 +836,7 @@ input ReserveErc20AmountInputWithPermit {
836836
"""
837837
The signed ERC20 permit message to operate on the relevant token without a need for an ERC20 Approval transaction.
838838
"""
839-
permitSig: ERC712Signature
839+
permitSig: ERC20PermitSignature
840840
}
841841

842842
scalar ReserveId
@@ -950,7 +950,7 @@ input SetSpokeUserPositionManagerRequest {
950950
user: EvmAddress!
951951

952952
"""The signature"""
953-
signature: ERC712Signature
953+
signature: ERC20PermitSignature
954954
}
955955

956956
input SetUserSupplyAsCollateralRequest {
@@ -1127,7 +1127,7 @@ type SwapByIntent {
11271127

11281128
input SwapByIntentInput {
11291129
quoteId: SwapQuoteId!
1130-
signature: ERC712Signature!
1130+
signature: Signature!
11311131
}
11321132

11331133
type SwapByIntentTypeDefinition {
@@ -1263,7 +1263,7 @@ type SwapTransactionRequest {
12631263

12641264
input SwapWithTransactionInput {
12651265
quoteId: SwapQuoteId!
1266-
permitSig: ERC712Signature
1266+
permitSig: Signature
12671267

12681268
"""
12691269
Whether the swap order creator is a smart contract wallet. If not provided, it will be inferred following the ERC-1271 standard.

0 commit comments

Comments
 (0)