Skip to content

Commit

Permalink
add StarkGate STRK bridge contract (#76)
Browse files Browse the repository at this point in the history
pretty print
  • Loading branch information
adrienlacombe authored Nov 6, 2024
1 parent d945157 commit 5f4bed3
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions registry/starkgate/calldata-StarkGate-STRK.json
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

View workflow job for this annotation

GitHub Actions / 🔎 validate descriptors

Proxy contract

Contract https://etherscan.io/address/0xce5485cfb26914c5dce00b9baf0580364dafc7a4#code is likely to be a proxy, validation of descriptor ABIs skipped
"$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"]
}
}
}
}

0 comments on commit 5f4bed3

Please sign in to comment.