@ocap/client 1.13.46 → 1.13.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.js CHANGED
@@ -368,6 +368,7 @@
368
368
  * @property {...GraphQLClient.PageInput} paging
369
369
  * @property {string} tokenAddress
370
370
  * @property {string} erc20TokenAddress
371
+ * @property {string} foreignTokenAddress
371
372
  */
372
373
 
373
374
  /**
@@ -942,7 +943,6 @@
942
943
  * @typedef {object} GraphQLClient.CreateRollupTx
943
944
  * @property {string} address
944
945
  * @property {string} tokenAddress
945
- * @property {string} erc20TokenAddress
946
946
  * @property {string} contractAddress
947
947
  * @property {Array<...GraphQLClient.RollupValidator>} seedValidators
948
948
  * @property {string} minStakeAmount
@@ -984,7 +984,14 @@
984
984
  "icon": "abc",
985
985
  "totalSupply": "abc",
986
986
  "address": "abc",
987
- "erc20ContractAddress": "abc",
987
+ "initialSupply": "abc",
988
+ "foreignToken": {
989
+ "type": "abc",
990
+ "contractAddress": "abc",
991
+ "chainType": "abc",
992
+ "chainName": "abc",
993
+ "chainId": 123
994
+ },
988
995
  "data": {
989
996
  "typeUrl": "abc",
990
997
  "value": "abc"
@@ -1002,7 +1009,8 @@
1002
1009
  * @property {string} icon
1003
1010
  * @property {string} totalSupply
1004
1011
  * @property {string} address
1005
- * @property {string} erc20ContractAddress
1012
+ * @property {string} initialSupply
1013
+ * @property {...GraphQLClient.ForeignToken} foreignToken
1006
1014
  * @property {...GraphQLClient.Any} data
1007
1015
  */
1008
1016
 
@@ -1192,6 +1200,18 @@
1192
1200
  * @property {...GraphQLClient.Any} data
1193
1201
  */
1194
1202
 
1203
+ /**
1204
+ * Structure of GraphQLClient.ForeignToken
1205
+ *
1206
+ * @memberof GraphQLClient
1207
+ * @typedef {object} GraphQLClient.ForeignToken
1208
+ * @property {string} type
1209
+ * @property {string} contractAddress
1210
+ * @property {string} chainType
1211
+ * @property {string} chainName
1212
+ * @property {number} chainId
1213
+ */
1214
+
1195
1215
  /**
1196
1216
  * Structure of GraphQLClient.ForgeState
1197
1217
  *
@@ -1476,6 +1496,7 @@
1476
1496
  * @property {string} minWithdrawFee
1477
1497
  * @property {string} maxWithdrawFee
1478
1498
  * @property {boolean} paused
1499
+ * @property {...GraphQLClient.ForeignToken} foreignToken
1479
1500
  * @property {...GraphQLClient.Any} data
1480
1501
  */
1481
1502
 
@@ -1549,6 +1570,7 @@
1549
1570
  * @property {string} genesisTime
1550
1571
  * @property {string} renaissanceTime
1551
1572
  * @property {string} erc20ContractAddress
1573
+ * @property {...GraphQLClient.ForeignToken} foreignToken
1552
1574
  * @property {...GraphQLClient.Any} data
1553
1575
  */
1554
1576
 
@@ -2226,6 +2248,7 @@
2226
2248
  * @property {string} minWithdrawFee
2227
2249
  * @property {string} maxWithdrawFee
2228
2250
  * @property {boolean} paused
2251
+ * @property {...GraphQLClient.ForeignToken} foreignToken
2229
2252
  * @property {...GraphQLClient.StateContext} context
2230
2253
  * @property {...GraphQLClient.Any} data
2231
2254
  */
@@ -2396,6 +2419,7 @@
2396
2419
  * @property {string} icon
2397
2420
  * @property {string} totalSupply
2398
2421
  * @property {string} erc20ContractAddress
2422
+ * @property {...GraphQLClient.ForeignToken} foreignToken
2399
2423
  * @property {...GraphQLClient.StateContext} context
2400
2424
  * @property {...GraphQLClient.Any} data
2401
2425
  */
@@ -3238,7 +3262,8 @@
3238
3262
  * ```json
3239
3263
  {
3240
3264
  "tokenAddress": "abc",
3241
- "erc20TokenAddress": "abc"
3265
+ "erc20TokenAddress": "abc",
3266
+ "foreignTokenAddress": "abc"
3242
3267
  }
3243
3268
  * ```
3244
3269
  *
@@ -3247,6 +3272,7 @@
3247
3272
  * @property {...GraphQLClient.PageInput} paging
3248
3273
  * @property {string} tokenAddress
3249
3274
  * @property {string} erc20TokenAddress
3275
+ * @property {string} foreignTokenAddress
3250
3276
  */
3251
3277
 
3252
3278
  /**