-
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.
add StarkGate STRK bridge contract (#76)
pretty print
- Loading branch information
1 parent
d945157
commit 5f4bed3
Showing
1 changed file
with
57 additions
and
0 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,57 @@ | ||
{ | ||
Check notice on line 1 in registry/starkgate/calldata-StarkGate-STRK.json GitHub Actions / 🔎 validate descriptorsProxy contract
|
||
"$schema": "../../specs/erc7730-v1.schema.json", | ||
|
||
"context": { | ||
"$id": "L1StarkGateSTRKbridge", | ||
"contract": { | ||
"abi": "https://api.etherscan.io/api?module=contract&action=getabi&address=0x6ad74D4B79A06A492C288eF66Ef868Dd981fdC85", | ||
"deployments": [ | ||
{ | ||
"chainId": 1, | ||
"address": "0xcE5485Cfb26914C5dcE00B9BAF0580364daFC7a4" | ||
} | ||
] | ||
} | ||
}, | ||
|
||
"metadata": { | ||
"owner": "Starknet", | ||
"info": { | ||
"url": "https://starkgate.starknet.io/", | ||
"legalName": "StarkWare", | ||
"lastUpdate": "2024-10-01T00:00:00Z" | ||
} | ||
}, | ||
|
||
"display": { | ||
"formats": { | ||
"deposit(address token, uint256 amount, uint256 l2Recipient)" : { | ||
"$id": "deposit", | ||
"intent": "Bridge", | ||
"fields": [ | ||
{ | ||
"path": "token", | ||
"label": "Token", | ||
"format": "addressName", | ||
"params": { | ||
"types": [ | ||
"token" | ||
] | ||
} | ||
}, | ||
{ | ||
"path": "amount", | ||
"label": "Amount", | ||
"format": "amount" | ||
}, | ||
{ | ||
"path": "l2Recipient", | ||
"label": "Recipient", | ||
"format": "raw" | ||
} | ||
], | ||
"required": ["token", "amount", "l2Recipient"] | ||
} | ||
} | ||
} | ||
} |