Skip to content

Commit f07cf37

Browse files
vforgeoux-ledgerlcastillo-ledger
authored andcommitted
replace lastUpdate by deploymentDate
1 parent 79927de commit f07cf37

22 files changed

+27
-27
lines changed

Diff for: developer-preview/src/app/Screens.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface Props {
1010
chainId: number;
1111
contractAddress: string;
1212
chosenOperation: Operation;
13-
info: { lastUpdate: string; legalName: string; url: string };
13+
info: { deploymentDate: string; legalName: string; url: string };
1414
owner: string;
1515
operationType: string;
1616
}

Diff for: developer-preview/src/lib/getPreviewData.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const minimumERC7730Schema: ERC7730Schema = {
2222
$schema: "unused",
2323
metadata: {
2424
owner: "",
25-
info: { legalName: "", lastUpdate: "", url: "" },
25+
info: { legalName: "", deploymentDate: "", url: "" },
2626
},
2727
context: exampleTransactionContext,
2828
};
@@ -35,7 +35,7 @@ describe("getPreviewData", () => {
3535
info: {
3636
url: "https://poap.xyz/",
3737
legalName: "legalName",
38-
lastUpdate: "2022-03-03T17:56:02Z",
38+
deploymentDate: "2022-03-03T17:56:02Z",
3939
},
4040
};
4141

Diff for: developer-preview/src/types/ERC7730Schema.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ interface Metadata {
4444

4545
interface OwnerInfo {
4646
legalName: string;
47-
lastUpdate: string;
47+
deploymentDate: string;
4848
url: string;
4949
}
5050

Diff for: developer-preview/src/types/PreviewData.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type PreviewData = {
88
owner: string;
99
info?: {
1010
legalName: string;
11-
lastUpdate?: string;
11+
deploymentDate?: string;
1212
url: string;
1313
};
1414
};

Diff for: registry/1inch/calldata-AggregationRouterV3.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"metadata": {
1515
"owner": "1inch",
16-
"info": { "url": "https://1inch.io/", "legalName": "1inch Network", "lastUpdate": "2021-03-14T20:28:50Z" },
16+
"info": { "url": "https://1inch.io/", "legalName": "1inch Network", "deploymentDate": "2021-03-14T20:28:50Z" },
1717
"constants": {
1818
"addressAsEth": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
1919
"addressAsNull": "0x0000000000000000000000000000000000000000"

Diff for: registry/1inch/calldata-AggregationRouterV5.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"metadata": {
1717
"owner": "1inch",
18-
"info": { "url": "https://1inch.io/", "legalName": "1inch Network", "lastUpdate": "2022-11-04T06:04:59Z" },
18+
"info": { "url": "https://1inch.io/", "legalName": "1inch Network", "deploymentDate": "2022-11-04T06:04:59Z" },
1919
"constants": {
2020
"addressAsEth": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
2121
"addressAsNull": "0x0000000000000000000000000000000000000000"

Diff for: registry/1inch/common-AggregationRouterV4.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"info": {
77
"url": "https://1inch.io/",
88
"legalName": "1inch Network",
9-
"lastUpdate": "2021-11-05T10:18:09Z"
9+
"deploymentDate": "2021-11-05T10:18:09Z"
1010
},
1111
"constants": {
1212
"addressAsEth": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",

Diff for: registry/aave/calldata-lpv2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"metadata": {
1111
"owner": "Aave",
12-
"info": { "url": "https://aave.com", "legalName": "Aave DAO", "lastUpdate": "2020-11-30T09:25:48Z" },
12+
"info": { "url": "https://aave.com", "legalName": "Aave DAO", "deploymentDate": "2020-11-30T09:25:48Z" },
1313
"enums": { "interestRateMode": { "1": "stable", "2": "variable" } },
1414
"constants": { "max": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }
1515
},

Diff for: registry/aave/calldata-lpv3.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"metadata": {
1111
"owner": "Aave",
12-
"info": { "url": "https://aave.com", "legalName": "Aave DAO", "lastUpdate": "2024-10-09T21:46:47Z" },
12+
"info": { "url": "https://aave.com", "legalName": "Aave DAO", "deploymentDate": "2024-10-09T21:46:47Z" },
1313
"enums": { "interestRateMode": { "1": "stable", "2": "variable" } },
1414
"constants": { "max": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }
1515
},

Diff for: registry/lido/calldata-OssifiableProxy.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"metadata": {
1111
"owner": "Lido",
12-
"info": { "url": "https://lido.fi", "legalName": "Lido DAO", "lastUpdate": "2023-05-02T10:38:47Z" },
12+
"info": { "url": "https://lido.fi", "legalName": "Lido DAO", "deploymentDate": "2023-05-02T10:38:47Z" },
1313
"constants": {
1414
"stETHaddress": "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84",
1515
"wstETHaddress": "0x0B925eD163218f6662a35e0f0371Ac234f9E9371"

Diff for: registry/lido/calldata-stETH.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"abi": "https://github.com/LedgerHQ/ledger-asset-dapps/blob/211e75ed27de3894f592ca73710fa0b72c3ceeae/ethereum/lido/abis/0xae7ab96520de3a18e5e111b5eaab095312d7fe84.abi.json"
88
}
99
},
10-
"metadata": { "owner": "Lido", "info": { "url": "https://lido.fi", "legalName": "Lido DAO", "lastUpdate": "2021-02-19T04:37:20Z" } },
10+
"metadata": { "owner": "Lido", "info": { "url": "https://lido.fi", "legalName": "Lido DAO", "deploymentDate": "2021-02-19T04:37:20Z" } },
1111
"display": {
1212
"formats": {
1313
"submit(address)": {

Diff for: registry/lido/calldata-wstETH.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"metadata": {
1111
"owner": "Lido",
12-
"info": { "url": "https://lido.fi", "legalName": "Lido DAO", "lastUpdate": "2021-02-19T04:37:20Z" },
12+
"info": { "url": "https://lido.fi", "legalName": "Lido DAO", "deploymentDate": "2021-02-19T04:37:20Z" },
1313
"constants": { "stETHaddress": "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84" }
1414
},
1515
"display": {

Diff for: registry/makerdao/eip712-permit-DAI.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"includes": "../../ercs/eip712-erc2612-permit.json",
1010
"metadata": {
1111
"owner": "MakerDAO",
12-
"info": { "legalName": "Maker Foundation", "url": "https://makerdao.com/", "lastUpdate": "2017-12-18T00:00:00Z" },
12+
"info": { "legalName": "Maker Foundation", "url": "https://makerdao.com/", "deploymentDate": "2017-12-18T00:00:00Z" },
1313
"token": { "name": "Dai Stablecoin", "ticker": "DAI", "decimals": 18 }
1414
},
1515
"display": {

Diff for: registry/paraswap/calldata-AugustusSwapper.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"metadata": {
1111
"owner": "Paraswap",
12-
"info": { "url": "https://www.paraswap.io/", "legalName": "ParaSwap", "lastUpdate": "2021-08-18T12:42:05Z" },
12+
"info": { "url": "https://www.paraswap.io/", "legalName": "ParaSwap", "deploymentDate": "2021-08-18T12:42:05Z" },
1313
"constants": { "addressAsEth": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" }
1414
},
1515
"display": {

Diff for: registry/poap/calldata-PoapBridge.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"metadata": {
1111
"owner": "POAP",
12-
"info": { "url": "https://poap.xyz/", "legalName": "Proof of Attendance Protocol", "lastUpdate": "2022-03-03T17:56:02Z" }
12+
"info": { "url": "https://poap.xyz/", "legalName": "Proof of Attendance Protocol", "deploymentDate": "2022-03-03T17:56:02Z" }
1313
},
1414
"display": {
1515
"formats": {

Diff for: registry/quickswap/calldata-QuickSwap.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"metadata": {
1010
"owner": "QuickSwap",
11-
"info": { "legalName": "QuickSwap", "lastUpdate": "2024-10-01T00:00:00Z", "url": "https://quickswap.exchange" }
11+
"info": { "legalName": "QuickSwap", "deploymentDate": "2020-09-25T10:52:01Z", "url": "https://quickswap.exchange" }
1212
},
1313
"display": {
1414
"formats": {

Diff for: registry/starkgate/calldata-StarkGate-STRK.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"metadata": {
1111
"owner": "Starknet",
12-
"info": { "url": "https://starkgate.starknet.io/", "legalName": "StarkWare", "lastUpdate": "2024-10-01T00:00:00Z" }
12+
"info": { "url": "https://starkgate.starknet.io/", "legalName": "StarkWare", "deploymentDate": "2024-10-01T00:00:00Z" }
1313
},
1414
"display": {
1515
"formats": {

Diff for: registry/tether/calldata-usdt.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"includes": "../../ercs/calldata-erc20-tokens.json",
88
"metadata": {
99
"owner": "Tether",
10-
"info": { "legalName": "Tether Limited", "url": "https://tether.to/", "lastUpdate": "2017-11-28T12:41:21Z" },
10+
"info": { "legalName": "Tether Limited", "url": "https://tether.to/", "deploymentDate": "2017-11-28T12:41:21Z" },
1111
"token": { "ticker": "USDT", "name": "Tether USD", "decimals": 6 }
1212
}
1313
}

Diff for: registry/uniswap/calldata-UniswapV3Router02.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"metadata": {
1111
"owner": "Uniswap",
12-
"info": { "legalName": "Uniswap Labs", "lastUpdate": "2021-12-14T00:00:00Z", "url": "https://uniswap.org/" }
12+
"info": { "legalName": "Uniswap Labs", "deploymentDate": "2021-12-14T00:00:00Z", "url": "https://uniswap.org/" }
1313
},
1414
"display": {
1515
"formats": {

Diff for: registry/uniswap/uniswap-common-eip712.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"owner": "Uniswap",
7272
"info": {
7373
"legalName": "Uniswap Labs",
74-
"lastUpdate": "2021-12-14T00:00:00Z",
74+
"deploymentDate": "2021-12-14T00:00:00Z",
7575
"url": "https://uniswap.org/"
7676
}
7777
}

Diff for: specs/erc-7730.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The following is a simple example of how to clear sign a `transfer` function cal
7878
"info": {
7979
"legalName": "Tether Limited",
8080
"url": "https://tether.to/",
81-
"lastUpdate": "2017-11-28T12:41:21Z"
81+
"deploymentDate": "2017-11-28T12:41:21Z"
8282
}
8383
},
8484

@@ -316,7 +316,7 @@ The following file would include this generic interface and bind it to the speci
316316
"info": {
317317
"legalName": "Tether Limited",
318318
"url": "https://tether.to/",
319-
"lastUpdate": "2017-11-28T12:41:21Z"
319+
"deploymentDate": "2017-11-28T12:41:21Z"
320320
},
321321
"token": {
322322
"ticker": "USDT",
@@ -536,7 +536,7 @@ Wallet MAY use this value to display the target of the interaction being reviewe
536536

537537
A key containing additional structured info about the *owner* of the contract:
538538
* `legalName` is the legal owner entity name
539-
* `lastUpdate` is the date of the contract (or verifying contract) last update
539+
* `deploymentDate` is the date of deployment of the contract (or verifying contract)
540540
* `url` is the official URL of the owner
541541

542542
A wallet MAY use this information to display additional details about the targeted contract.

Diff for: specs/erc7730-v1.schema.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@
258258
"type": "string",
259259
"description": "The full legal name of the owner if different from the owner field."
260260
},
261-
"lastUpdate": {
262-
"title": "Last Update of the contract / message",
261+
"deploymentDate": {
262+
"title": "Deployment date of the contract / message",
263263
"type": "string",
264264
"format": "date-time",
265-
"description": "The date of the last update of the contract / message."
265+
"description": "The date of deployment of the contract / message."
266266
},
267267
"url": {
268268
"title": "Owner URL",

0 commit comments

Comments
 (0)