@berachain/graphql 0.1.10 → 0.2.1

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.
Files changed (33) hide show
  1. package/dist/bend/whisk.codegen.cjs +7 -7
  2. package/dist/bend/whisk.codegen.d.cts +40 -40
  3. package/dist/bend/whisk.codegen.d.ts +40 -40
  4. package/dist/bend/whisk.codegen.mjs +9 -9
  5. package/dist/chain/chain.codegen.cjs +1 -1
  6. package/dist/chain/chain.codegen.d.cts +14 -14
  7. package/dist/chain/chain.codegen.d.ts +14 -14
  8. package/dist/chain/chain.codegen.mjs +2 -2
  9. package/dist/dex/api.codegen.cjs +10 -10
  10. package/dist/dex/api.codegen.d.cts +187 -187
  11. package/dist/dex/api.codegen.d.ts +187 -187
  12. package/dist/dex/api.codegen.mjs +10 -10
  13. package/dist/dex/subgraph.codegen.cjs +2 -2
  14. package/dist/dex/subgraph.codegen.d.cts +47 -47
  15. package/dist/dex/subgraph.codegen.d.ts +47 -47
  16. package/dist/dex/subgraph.codegen.mjs +2 -2
  17. package/dist/governance/governance.codegen.cjs +9 -9
  18. package/dist/governance/governance.codegen.d.cts +133 -133
  19. package/dist/governance/governance.codegen.d.ts +133 -133
  20. package/dist/governance/governance.codegen.mjs +9 -9
  21. package/dist/honey/honey.codegen.cjs +3 -3
  22. package/dist/honey/honey.codegen.d.cts +40 -40
  23. package/dist/honey/honey.codegen.d.ts +40 -40
  24. package/dist/honey/honey.codegen.mjs +2 -2
  25. package/dist/pol/api.codegen.cjs +1 -1
  26. package/dist/pol/api.codegen.d.cts +6 -6
  27. package/dist/pol/api.codegen.d.ts +6 -6
  28. package/dist/pol/api.codegen.mjs +2 -2
  29. package/dist/pol/subgraph.codegen.cjs +19 -19
  30. package/dist/pol/subgraph.codegen.d.cts +86 -86
  31. package/dist/pol/subgraph.codegen.d.ts +86 -86
  32. package/dist/pol/subgraph.codegen.mjs +20 -20
  33. package/package.json +1 -1
@@ -44,24 +44,24 @@ type Scalars = {
44
44
  output: number;
45
45
  };
46
46
  BigDecimal: {
47
- input: any;
48
- output: any;
47
+ input: string;
48
+ output: string;
49
49
  };
50
50
  BigInt: {
51
- input: any;
52
- output: any;
51
+ input: string;
52
+ output: string;
53
53
  };
54
54
  Bytes: {
55
- input: any;
56
- output: any;
55
+ input: `0x${string}`;
56
+ output: `0x${string}`;
57
57
  };
58
58
  Int8: {
59
- input: any;
60
- output: any;
59
+ input: string;
60
+ output: string;
61
61
  };
62
62
  Timestamp: {
63
- input: any;
64
- output: any;
63
+ input: string;
64
+ output: string;
65
65
  };
66
66
  };
67
67
  declare enum Aggregation_Interval {
@@ -1307,117 +1307,117 @@ declare enum _SubgraphErrorPolicy_ {
1307
1307
  type ProposalSelectionFragment = {
1308
1308
  __typename?: 'Proposal';
1309
1309
  id: string;
1310
- proposer: any;
1311
- proposalId: any;
1310
+ proposer: `0x${string}`;
1311
+ proposalId: string;
1312
1312
  description: string;
1313
1313
  status: ProposalStatus;
1314
- createdAt: any;
1315
- createdAtBlock: any;
1314
+ createdAt: string;
1315
+ createdAtBlock: string;
1316
1316
  unverifiedForumLink?: string | null;
1317
- quorum?: any | null;
1318
- succeededAt?: any | null;
1319
- voteStartAt: any;
1320
- voteEndAt: any;
1321
- queueStart?: any | null;
1322
- queueEnd?: any | null;
1323
- canceledAt?: any | null;
1324
- executedAt?: any | null;
1317
+ quorum?: string | null;
1318
+ succeededAt?: string | null;
1319
+ voteStartAt: string;
1320
+ voteEndAt: string;
1321
+ queueStart?: string | null;
1322
+ queueEnd?: string | null;
1323
+ canceledAt?: string | null;
1324
+ executedAt?: string | null;
1325
1325
  title?: string | null;
1326
1326
  topics: Array<string>;
1327
1327
  timelock?: {
1328
1328
  __typename?: 'Timelock';
1329
- id: any;
1329
+ id: `0x${string}`;
1330
1330
  } | null;
1331
1331
  pollResult: {
1332
1332
  __typename?: 'PollResult';
1333
- for: any;
1333
+ for: string;
1334
1334
  forVotersCount: number;
1335
1335
  forPercentage: string;
1336
- against: any;
1336
+ against: string;
1337
1337
  againstVotersCount: number;
1338
1338
  againstPercentage: string;
1339
- abstain: any;
1339
+ abstain: string;
1340
1340
  abstainVotersCount: number;
1341
1341
  abstainPercentage: string;
1342
- total: any;
1342
+ total: string;
1343
1343
  totalVotersCount: number;
1344
- totalTowardsQuorum: any;
1344
+ totalTowardsQuorum: string;
1345
1345
  };
1346
1346
  };
1347
1347
  type ExecutableCallSubsetFragment = {
1348
1348
  __typename?: 'ExecutableCall';
1349
1349
  id: string;
1350
- target: any;
1351
- value: any;
1352
- calldata: any;
1350
+ target: `0x${string}`;
1351
+ value: string;
1352
+ calldata: `0x${string}`;
1353
1353
  };
1354
1354
  type ProposalVoteFragment = {
1355
1355
  __typename?: 'Vote';
1356
- id: any;
1357
- voter: any;
1358
- weight: any;
1356
+ id: string;
1357
+ voter: `0x${string}`;
1358
+ weight: string;
1359
1359
  support: VoteSupportType;
1360
- timestamp: any;
1360
+ timestamp: string;
1361
1361
  reason: string;
1362
1362
  };
1363
1363
  type ProposalWithVotesFragment = {
1364
1364
  __typename?: 'Proposal';
1365
- queueTxHash?: any | null;
1366
- createTxHash?: any | null;
1367
- cancelTxHash?: any | null;
1368
- executeTxHash?: any | null;
1365
+ queueTxHash?: `0x${string}` | null;
1366
+ createTxHash?: `0x${string}` | null;
1367
+ cancelTxHash?: `0x${string}` | null;
1368
+ executeTxHash?: `0x${string}` | null;
1369
1369
  id: string;
1370
- proposer: any;
1371
- proposalId: any;
1370
+ proposer: `0x${string}`;
1371
+ proposalId: string;
1372
1372
  description: string;
1373
1373
  status: ProposalStatus;
1374
- createdAt: any;
1375
- createdAtBlock: any;
1374
+ createdAt: string;
1375
+ createdAtBlock: string;
1376
1376
  unverifiedForumLink?: string | null;
1377
- quorum?: any | null;
1378
- succeededAt?: any | null;
1379
- voteStartAt: any;
1380
- voteEndAt: any;
1381
- queueStart?: any | null;
1382
- queueEnd?: any | null;
1383
- canceledAt?: any | null;
1384
- executedAt?: any | null;
1377
+ quorum?: string | null;
1378
+ succeededAt?: string | null;
1379
+ voteStartAt: string;
1380
+ voteEndAt: string;
1381
+ queueStart?: string | null;
1382
+ queueEnd?: string | null;
1383
+ canceledAt?: string | null;
1384
+ executedAt?: string | null;
1385
1385
  title?: string | null;
1386
1386
  topics: Array<string>;
1387
1387
  executableCalls: Array<{
1388
1388
  __typename?: 'ExecutableCall';
1389
1389
  id: string;
1390
- target: any;
1391
- value: any;
1392
- calldata: any;
1390
+ target: `0x${string}`;
1391
+ value: string;
1392
+ calldata: `0x${string}`;
1393
1393
  }>;
1394
1394
  timelock?: {
1395
1395
  __typename?: 'Timelock';
1396
- id: any;
1396
+ id: `0x${string}`;
1397
1397
  } | null;
1398
1398
  votes: Array<{
1399
1399
  __typename?: 'Vote';
1400
- id: any;
1401
- voter: any;
1402
- weight: any;
1400
+ id: string;
1401
+ voter: `0x${string}`;
1402
+ weight: string;
1403
1403
  support: VoteSupportType;
1404
- timestamp: any;
1404
+ timestamp: string;
1405
1405
  reason: string;
1406
1406
  }>;
1407
1407
  pollResult: {
1408
1408
  __typename?: 'PollResult';
1409
- for: any;
1409
+ for: string;
1410
1410
  forVotersCount: number;
1411
1411
  forPercentage: string;
1412
- against: any;
1412
+ against: string;
1413
1413
  againstVotersCount: number;
1414
1414
  againstPercentage: string;
1415
- abstain: any;
1415
+ abstain: string;
1416
1416
  abstainVotersCount: number;
1417
1417
  abstainPercentage: string;
1418
- total: any;
1418
+ total: string;
1419
1419
  totalVotersCount: number;
1420
- totalTowardsQuorum: any;
1420
+ totalTowardsQuorum: string;
1421
1421
  };
1422
1422
  };
1423
1423
  type GetProposalVotesQueryVariables = Exact<{
@@ -1431,11 +1431,11 @@ type GetProposalVotesQuery = {
1431
1431
  __typename?: 'Query';
1432
1432
  votes: Array<{
1433
1433
  __typename?: 'Vote';
1434
- id: any;
1435
- voter: any;
1436
- weight: any;
1434
+ id: string;
1435
+ voter: `0x${string}`;
1436
+ weight: string;
1437
1437
  support: VoteSupportType;
1438
- timestamp: any;
1438
+ timestamp: string;
1439
1439
  reason: string;
1440
1440
  }>;
1441
1441
  };
@@ -1451,41 +1451,41 @@ type GetProposalsQuery = {
1451
1451
  proposals: Array<{
1452
1452
  __typename?: 'Proposal';
1453
1453
  id: string;
1454
- proposer: any;
1455
- proposalId: any;
1454
+ proposer: `0x${string}`;
1455
+ proposalId: string;
1456
1456
  description: string;
1457
1457
  status: ProposalStatus;
1458
- createdAt: any;
1459
- createdAtBlock: any;
1458
+ createdAt: string;
1459
+ createdAtBlock: string;
1460
1460
  unverifiedForumLink?: string | null;
1461
- quorum?: any | null;
1462
- succeededAt?: any | null;
1463
- voteStartAt: any;
1464
- voteEndAt: any;
1465
- queueStart?: any | null;
1466
- queueEnd?: any | null;
1467
- canceledAt?: any | null;
1468
- executedAt?: any | null;
1461
+ quorum?: string | null;
1462
+ succeededAt?: string | null;
1463
+ voteStartAt: string;
1464
+ voteEndAt: string;
1465
+ queueStart?: string | null;
1466
+ queueEnd?: string | null;
1467
+ canceledAt?: string | null;
1468
+ executedAt?: string | null;
1469
1469
  title?: string | null;
1470
1470
  topics: Array<string>;
1471
1471
  timelock?: {
1472
1472
  __typename?: 'Timelock';
1473
- id: any;
1473
+ id: `0x${string}`;
1474
1474
  } | null;
1475
1475
  pollResult: {
1476
1476
  __typename?: 'PollResult';
1477
- for: any;
1477
+ for: string;
1478
1478
  forVotersCount: number;
1479
1479
  forPercentage: string;
1480
- against: any;
1480
+ against: string;
1481
1481
  againstVotersCount: number;
1482
1482
  againstPercentage: string;
1483
- abstain: any;
1483
+ abstain: string;
1484
1484
  abstainVotersCount: number;
1485
1485
  abstainPercentage: string;
1486
- total: any;
1486
+ total: string;
1487
1487
  totalVotersCount: number;
1488
- totalTowardsQuorum: any;
1488
+ totalTowardsQuorum: string;
1489
1489
  };
1490
1490
  }>;
1491
1491
  };
@@ -1500,41 +1500,41 @@ type SearchProposalsQuery = {
1500
1500
  proposals: Array<{
1501
1501
  __typename?: 'Proposal';
1502
1502
  id: string;
1503
- proposer: any;
1504
- proposalId: any;
1503
+ proposer: `0x${string}`;
1504
+ proposalId: string;
1505
1505
  description: string;
1506
1506
  status: ProposalStatus;
1507
- createdAt: any;
1508
- createdAtBlock: any;
1507
+ createdAt: string;
1508
+ createdAtBlock: string;
1509
1509
  unverifiedForumLink?: string | null;
1510
- quorum?: any | null;
1511
- succeededAt?: any | null;
1512
- voteStartAt: any;
1513
- voteEndAt: any;
1514
- queueStart?: any | null;
1515
- queueEnd?: any | null;
1516
- canceledAt?: any | null;
1517
- executedAt?: any | null;
1510
+ quorum?: string | null;
1511
+ succeededAt?: string | null;
1512
+ voteStartAt: string;
1513
+ voteEndAt: string;
1514
+ queueStart?: string | null;
1515
+ queueEnd?: string | null;
1516
+ canceledAt?: string | null;
1517
+ executedAt?: string | null;
1518
1518
  title?: string | null;
1519
1519
  topics: Array<string>;
1520
1520
  timelock?: {
1521
1521
  __typename?: 'Timelock';
1522
- id: any;
1522
+ id: `0x${string}`;
1523
1523
  } | null;
1524
1524
  pollResult: {
1525
1525
  __typename?: 'PollResult';
1526
- for: any;
1526
+ for: string;
1527
1527
  forVotersCount: number;
1528
1528
  forPercentage: string;
1529
- against: any;
1529
+ against: string;
1530
1530
  againstVotersCount: number;
1531
1531
  againstPercentage: string;
1532
- abstain: any;
1532
+ abstain: string;
1533
1533
  abstainVotersCount: number;
1534
1534
  abstainPercentage: string;
1535
- total: any;
1535
+ total: string;
1536
1536
  totalVotersCount: number;
1537
- totalTowardsQuorum: any;
1537
+ totalTowardsQuorum: string;
1538
1538
  };
1539
1539
  }>;
1540
1540
  };
@@ -1545,62 +1545,62 @@ type GetProposalQuery = {
1545
1545
  __typename?: 'Query';
1546
1546
  proposal?: {
1547
1547
  __typename?: 'Proposal';
1548
- queueTxHash?: any | null;
1549
- createTxHash?: any | null;
1550
- cancelTxHash?: any | null;
1551
- executeTxHash?: any | null;
1548
+ queueTxHash?: `0x${string}` | null;
1549
+ createTxHash?: `0x${string}` | null;
1550
+ cancelTxHash?: `0x${string}` | null;
1551
+ executeTxHash?: `0x${string}` | null;
1552
1552
  id: string;
1553
- proposer: any;
1554
- proposalId: any;
1553
+ proposer: `0x${string}`;
1554
+ proposalId: string;
1555
1555
  description: string;
1556
1556
  status: ProposalStatus;
1557
- createdAt: any;
1558
- createdAtBlock: any;
1557
+ createdAt: string;
1558
+ createdAtBlock: string;
1559
1559
  unverifiedForumLink?: string | null;
1560
- quorum?: any | null;
1561
- succeededAt?: any | null;
1562
- voteStartAt: any;
1563
- voteEndAt: any;
1564
- queueStart?: any | null;
1565
- queueEnd?: any | null;
1566
- canceledAt?: any | null;
1567
- executedAt?: any | null;
1560
+ quorum?: string | null;
1561
+ succeededAt?: string | null;
1562
+ voteStartAt: string;
1563
+ voteEndAt: string;
1564
+ queueStart?: string | null;
1565
+ queueEnd?: string | null;
1566
+ canceledAt?: string | null;
1567
+ executedAt?: string | null;
1568
1568
  title?: string | null;
1569
1569
  topics: Array<string>;
1570
1570
  executableCalls: Array<{
1571
1571
  __typename?: 'ExecutableCall';
1572
1572
  id: string;
1573
- target: any;
1574
- value: any;
1575
- calldata: any;
1573
+ target: `0x${string}`;
1574
+ value: string;
1575
+ calldata: `0x${string}`;
1576
1576
  }>;
1577
1577
  timelock?: {
1578
1578
  __typename?: 'Timelock';
1579
- id: any;
1579
+ id: `0x${string}`;
1580
1580
  } | null;
1581
1581
  votes: Array<{
1582
1582
  __typename?: 'Vote';
1583
- id: any;
1584
- voter: any;
1585
- weight: any;
1583
+ id: string;
1584
+ voter: `0x${string}`;
1585
+ weight: string;
1586
1586
  support: VoteSupportType;
1587
- timestamp: any;
1587
+ timestamp: string;
1588
1588
  reason: string;
1589
1589
  }>;
1590
1590
  pollResult: {
1591
1591
  __typename?: 'PollResult';
1592
- for: any;
1592
+ for: string;
1593
1593
  forVotersCount: number;
1594
1594
  forPercentage: string;
1595
- against: any;
1595
+ against: string;
1596
1596
  againstVotersCount: number;
1597
1597
  againstPercentage: string;
1598
- abstain: any;
1598
+ abstain: string;
1599
1599
  abstainVotersCount: number;
1600
1600
  abstainPercentage: string;
1601
- total: any;
1601
+ total: string;
1602
1602
  totalVotersCount: number;
1603
- totalTowardsQuorum: any;
1603
+ totalTowardsQuorum: string;
1604
1604
  };
1605
1605
  } | null;
1606
1606
  };