@@ -11,44 +11,63 @@ import {
1111} from './generated' ;
1212import { sequencerInboxABI , rollupAdminLogicABI } from './abi' ;
1313
14- /** erc20 returns a {@link Foo}. */
14+ /**
15+ * ERC-20 token contract configuration.
16+ * @property {Array } abi - The ABI of the ERC-20 token contract.
17+ */
1518export const erc20 = {
1619 abi : erc20ABI ,
1720} ;
1821
19- /** arbOwner configures the Arbitrum owner with the specified address. */
22+ /**
23+ * Arbitrum owner configuration.
24+ * @property {Object } arbOwnerConfig - The configuration object for the Arbitrum owner.
25+ * @property {string } address - The address of the Arbitrum owner.
26+ */
2027export const arbOwner = {
2128 ...arbOwnerConfig ,
2229 address : Object . values ( arbOwnerConfig . address ) [ 0 ] ,
2330} as const ;
2431
2532/**
26- * arbGasInfo provides information about the gas configuration for the Arbitrum
27- * network.
33+ * Gas information configuration for the Arbitrum network.
34+ * @property {Object } arbGasInfoConfig - The configuration object for Arbitrum gas information.
35+ * @property {string } address - The address for gas information.
2836 */
2937export const arbGasInfo = {
3038 ...arbGasInfoConfig ,
3139 address : Object . values ( arbGasInfoConfig . address ) [ 0 ] ,
3240} as const ;
3341
34- /** arbOwnerPublic configuration for the Arbitrum owner's public address. */
42+ /**
43+ * Public configuration for the Arbitrum owner's address.
44+ * @property {Object } arbOwnerPublicConfig - The configuration object for the Arbitrum owner's public address.
45+ * @property {string } address - The public address of the Arbitrum owner.
46+ */
3547export const arbOwnerPublic = {
3648 ...arbOwnerPublicConfig ,
3749 address : Object . values ( arbOwnerPublicConfig . address ) [ 0 ] ,
3850} as const ;
3951
40- /** arbAggregator retrieves data from a specified source. */
52+ /**
53+ * Aggregator configuration for retrieving data from a specified source.
54+ * @property {Object } arbAggregatorConfig - The configuration object for the Arbitrum aggregator.
55+ * @property {string } address - The address of the aggregator.
56+ */
4157export const arbAggregator = {
4258 ...arbAggregatorConfig ,
4359 address : Object . values ( arbAggregatorConfig . address ) [ 0 ] ,
4460} as const ;
4561
46- /** rollupCreator returns a {@link rollupCreatorConfig}. */
62+ /**
63+ * Rollup creator configuration.
64+ * @property {Object } rollupCreatorConfig - The configuration object for the rollup creator.
65+ */
4766export const rollupCreator = rollupCreatorConfig ;
4867
4968/**
50- * upgradeExecutor provides functions to execute upgrades, execute calls, check
51- * roles, grant roles, and revoke roles .
69+ * Executor for upgrades, calls, and role management.
70+ * @property { Array } abi - The ABI for the upgrade executor contract .
5271 */
5372export const upgradeExecutor = {
5473 abi : parseAbi ( [
@@ -106,19 +125,6 @@ const tokenBridgeCreatorABI = [
106125 anonymous : false ,
107126 inputs : [
108127 { indexed : true , internalType : 'address' , name : 'inbox' , type : 'address' } ,
109- {
110- components : [
111- { internalType : 'address' , name : 'router' , type : 'address' } ,
112- { internalType : 'address' , name : 'standardGateway' , type : 'address' } ,
113- { internalType : 'address' , name : 'customGateway' , type : 'address' } ,
114- { internalType : 'address' , name : 'wethGateway' , type : 'address' } ,
115- { internalType : 'address' , name : 'weth' , type : 'address' } ,
116- ] ,
117- indexed : false ,
118- internalType : 'struct L1DeploymentAddresses' ,
119- name : 'l1' ,
120- type : 'tuple' ,
121- } ,
122128 {
123129 components : [
124130 { internalType : 'address' , name : 'router' , type : 'address' } ,
@@ -213,20 +219,28 @@ const tokenBridgeCreatorABI = [
213219] as const ;
214220
215221/**
216- * tokenBridgeCreator configures and deploys a token bridge between Layer 1 and
217- * Layer 2 Ethereum networks.
222+ * Token bridge creator configuration and ABI.
223+ * @property {Object } tokenBridgeCreatorConfig - The configuration object for the token bridge creator.
224+ * @property {Array } abi - The ABI for the token bridge creator contract.
218225 */
219226export const tokenBridgeCreator = {
220227 ...tokenBridgeCreatorConfig ,
221228 abi : tokenBridgeCreatorABI ,
222229} as const ;
223230
224- /** sequencerInbox returns a {@link sequencerInboxABI}. */
231+ /**
232+ * Sequencer inbox contract configuration.
233+ * @property {Array } abi - The ABI of the sequencer inbox contract.
234+ */
225235export const sequencerInbox = {
226236 abi : sequencerInboxABI ,
227237} ;
228238
229- /** rollupAdminLogic represents the ABI for the Rollup Admin Logic contract. */
239+ /**
240+ * Rollup Admin Logic contract configuration.
241+ * @property {Array } abi - The ABI of the Rollup Admin Logic contract.
242+ */
230243export const rollupAdminLogic = {
231244 abi : rollupAdminLogicABI ,
232245} ;
246+
0 commit comments