-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
import ledger-asset-dapps EIP-712 descriptors (#21)
* import ledger-asset-dapps EIP-712 descriptors * format descriptors * update after LedgerHQ/python-erc7730#49 fix * chore: update with erc7730 0.0.25 * merge 1inch descriptors * merge degate descriptors * merge dispatch descriptors * merge ledgerquest descriptors * merge lens descriptors * merge opensea descriptors * merge paraswap descriptors * merge rarible descriptors * merge smartcredit descriptors * merge tally descriptors * merge uniswap descriptors * merge permit descriptors * fixes/excluded * fixes/excluded * fixes/excluded * fixes/excluded * fixes/excluded * fixes/excluded * fixes/excluded * add $schema
- Loading branch information
1 parent
c85dd5b
commit d4cbece
Showing
57 changed files
with
4,931 additions
and
266 deletions.
There are no files selected for viewing
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,133 @@ | ||
{ | ||
"$schema": "../../specs/erc7730-v1.schema.json", | ||
"context": { | ||
"eip712": { | ||
"deployments": [ | ||
{ | ||
"chainId": 1, | ||
"address": "0x111111125421ca6dc452d289314280a0f8842a65" | ||
}, | ||
{ | ||
"chainId": 10, | ||
"address": "0x111111125421ca6dc452d289314280a0f8842a65" | ||
}, | ||
{ | ||
"chainId": 56, | ||
"address": "0x111111125421ca6dc452d289314280a0f8842a65" | ||
}, | ||
{ | ||
"chainId": 137, | ||
"address": "0x111111125421ca6dc452d289314280a0f8842a65" | ||
}, | ||
{ | ||
"chainId": 42161, | ||
"address": "0x111111125421ca6dc452d289314280a0f8842a65" | ||
} | ||
], | ||
"domain": { | ||
"name": "Permit2" | ||
}, | ||
"schemas": [ | ||
{ | ||
"primaryType": "Order", | ||
"types": { | ||
"EIP712Domain": [ | ||
{ | ||
"name": "name", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "version", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "chainId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "verifyingContract", | ||
"type": "address" | ||
} | ||
], | ||
"Order": [ | ||
{ | ||
"name": "salt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "maker", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "receiver", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "makerAsset", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "takerAsset", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "makingAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "takingAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "makerTraits", | ||
"type": "uint256" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"metadata": { | ||
"owner": "1inch Aggregation Router" | ||
}, | ||
"display": { | ||
"formats": { | ||
"Order": { | ||
"intent": "1inch Order", | ||
"fields": [ | ||
{ | ||
"path": "maker", | ||
"label": "From", | ||
"format": "raw" | ||
}, | ||
{ | ||
"path": "makingAmount", | ||
"label": "Send", | ||
"format": "tokenAmount", | ||
"params": { | ||
"tokenPath": "makerAsset" | ||
} | ||
}, | ||
{ | ||
"path": "takingAmount", | ||
"label": "Receive minimum", | ||
"format": "tokenAmount", | ||
"params": { | ||
"tokenPath": "takerAsset" | ||
} | ||
}, | ||
{ | ||
"path": "receiver", | ||
"label": "To", | ||
"format": "raw" | ||
} | ||
], | ||
"excluded": [ | ||
"salt", | ||
"makerTraits" | ||
] | ||
} | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.