@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.
- package/dist/bend/whisk.codegen.cjs +7 -7
- package/dist/bend/whisk.codegen.d.cts +40 -40
- package/dist/bend/whisk.codegen.d.ts +40 -40
- package/dist/bend/whisk.codegen.mjs +9 -9
- package/dist/chain/chain.codegen.cjs +1 -1
- package/dist/chain/chain.codegen.d.cts +14 -14
- package/dist/chain/chain.codegen.d.ts +14 -14
- package/dist/chain/chain.codegen.mjs +2 -2
- package/dist/dex/api.codegen.cjs +10 -10
- package/dist/dex/api.codegen.d.cts +187 -187
- package/dist/dex/api.codegen.d.ts +187 -187
- package/dist/dex/api.codegen.mjs +10 -10
- package/dist/dex/subgraph.codegen.cjs +2 -2
- package/dist/dex/subgraph.codegen.d.cts +47 -47
- package/dist/dex/subgraph.codegen.d.ts +47 -47
- package/dist/dex/subgraph.codegen.mjs +2 -2
- package/dist/governance/governance.codegen.cjs +9 -9
- package/dist/governance/governance.codegen.d.cts +133 -133
- package/dist/governance/governance.codegen.d.ts +133 -133
- package/dist/governance/governance.codegen.mjs +9 -9
- package/dist/honey/honey.codegen.cjs +3 -3
- package/dist/honey/honey.codegen.d.cts +40 -40
- package/dist/honey/honey.codegen.d.ts +40 -40
- package/dist/honey/honey.codegen.mjs +2 -2
- package/dist/pol/api.codegen.cjs +1 -1
- package/dist/pol/api.codegen.d.cts +6 -6
- package/dist/pol/api.codegen.d.ts +6 -6
- package/dist/pol/api.codegen.mjs +2 -2
- package/dist/pol/subgraph.codegen.cjs +19 -19
- package/dist/pol/subgraph.codegen.d.cts +86 -86
- package/dist/pol/subgraph.codegen.d.ts +86 -86
- package/dist/pol/subgraph.codegen.mjs +20 -20
- package/package.json +1 -1
|
@@ -44,24 +44,24 @@ type Scalars = {
|
|
|
44
44
|
output: number;
|
|
45
45
|
};
|
|
46
46
|
BigDecimal: {
|
|
47
|
-
input:
|
|
48
|
-
output:
|
|
47
|
+
input: string;
|
|
48
|
+
output: string;
|
|
49
49
|
};
|
|
50
50
|
BigInt: {
|
|
51
|
-
input:
|
|
52
|
-
output:
|
|
51
|
+
input: string;
|
|
52
|
+
output: string;
|
|
53
53
|
};
|
|
54
54
|
Bytes: {
|
|
55
|
-
input:
|
|
56
|
-
output:
|
|
55
|
+
input: `0x${string}`;
|
|
56
|
+
output: `0x${string}`;
|
|
57
57
|
};
|
|
58
58
|
Int8: {
|
|
59
|
-
input:
|
|
60
|
-
output:
|
|
59
|
+
input: string;
|
|
60
|
+
output: string;
|
|
61
61
|
};
|
|
62
62
|
Timestamp: {
|
|
63
|
-
input:
|
|
64
|
-
output:
|
|
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:
|
|
1311
|
-
proposalId:
|
|
1310
|
+
proposer: `0x${string}`;
|
|
1311
|
+
proposalId: string;
|
|
1312
1312
|
description: string;
|
|
1313
1313
|
status: ProposalStatus;
|
|
1314
|
-
createdAt:
|
|
1315
|
-
createdAtBlock:
|
|
1314
|
+
createdAt: string;
|
|
1315
|
+
createdAtBlock: string;
|
|
1316
1316
|
unverifiedForumLink?: string | null;
|
|
1317
|
-
quorum?:
|
|
1318
|
-
succeededAt?:
|
|
1319
|
-
voteStartAt:
|
|
1320
|
-
voteEndAt:
|
|
1321
|
-
queueStart?:
|
|
1322
|
-
queueEnd?:
|
|
1323
|
-
canceledAt?:
|
|
1324
|
-
executedAt?:
|
|
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:
|
|
1329
|
+
id: `0x${string}`;
|
|
1330
1330
|
} | null;
|
|
1331
1331
|
pollResult: {
|
|
1332
1332
|
__typename?: 'PollResult';
|
|
1333
|
-
for:
|
|
1333
|
+
for: string;
|
|
1334
1334
|
forVotersCount: number;
|
|
1335
1335
|
forPercentage: string;
|
|
1336
|
-
against:
|
|
1336
|
+
against: string;
|
|
1337
1337
|
againstVotersCount: number;
|
|
1338
1338
|
againstPercentage: string;
|
|
1339
|
-
abstain:
|
|
1339
|
+
abstain: string;
|
|
1340
1340
|
abstainVotersCount: number;
|
|
1341
1341
|
abstainPercentage: string;
|
|
1342
|
-
total:
|
|
1342
|
+
total: string;
|
|
1343
1343
|
totalVotersCount: number;
|
|
1344
|
-
totalTowardsQuorum:
|
|
1344
|
+
totalTowardsQuorum: string;
|
|
1345
1345
|
};
|
|
1346
1346
|
};
|
|
1347
1347
|
type ExecutableCallSubsetFragment = {
|
|
1348
1348
|
__typename?: 'ExecutableCall';
|
|
1349
1349
|
id: string;
|
|
1350
|
-
target:
|
|
1351
|
-
value:
|
|
1352
|
-
calldata:
|
|
1350
|
+
target: `0x${string}`;
|
|
1351
|
+
value: string;
|
|
1352
|
+
calldata: `0x${string}`;
|
|
1353
1353
|
};
|
|
1354
1354
|
type ProposalVoteFragment = {
|
|
1355
1355
|
__typename?: 'Vote';
|
|
1356
|
-
id:
|
|
1357
|
-
voter:
|
|
1358
|
-
weight:
|
|
1356
|
+
id: string;
|
|
1357
|
+
voter: `0x${string}`;
|
|
1358
|
+
weight: string;
|
|
1359
1359
|
support: VoteSupportType;
|
|
1360
|
-
timestamp:
|
|
1360
|
+
timestamp: string;
|
|
1361
1361
|
reason: string;
|
|
1362
1362
|
};
|
|
1363
1363
|
type ProposalWithVotesFragment = {
|
|
1364
1364
|
__typename?: 'Proposal';
|
|
1365
|
-
queueTxHash?:
|
|
1366
|
-
createTxHash?:
|
|
1367
|
-
cancelTxHash?:
|
|
1368
|
-
executeTxHash?:
|
|
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:
|
|
1371
|
-
proposalId:
|
|
1370
|
+
proposer: `0x${string}`;
|
|
1371
|
+
proposalId: string;
|
|
1372
1372
|
description: string;
|
|
1373
1373
|
status: ProposalStatus;
|
|
1374
|
-
createdAt:
|
|
1375
|
-
createdAtBlock:
|
|
1374
|
+
createdAt: string;
|
|
1375
|
+
createdAtBlock: string;
|
|
1376
1376
|
unverifiedForumLink?: string | null;
|
|
1377
|
-
quorum?:
|
|
1378
|
-
succeededAt?:
|
|
1379
|
-
voteStartAt:
|
|
1380
|
-
voteEndAt:
|
|
1381
|
-
queueStart?:
|
|
1382
|
-
queueEnd?:
|
|
1383
|
-
canceledAt?:
|
|
1384
|
-
executedAt?:
|
|
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:
|
|
1391
|
-
value:
|
|
1392
|
-
calldata:
|
|
1390
|
+
target: `0x${string}`;
|
|
1391
|
+
value: string;
|
|
1392
|
+
calldata: `0x${string}`;
|
|
1393
1393
|
}>;
|
|
1394
1394
|
timelock?: {
|
|
1395
1395
|
__typename?: 'Timelock';
|
|
1396
|
-
id:
|
|
1396
|
+
id: `0x${string}`;
|
|
1397
1397
|
} | null;
|
|
1398
1398
|
votes: Array<{
|
|
1399
1399
|
__typename?: 'Vote';
|
|
1400
|
-
id:
|
|
1401
|
-
voter:
|
|
1402
|
-
weight:
|
|
1400
|
+
id: string;
|
|
1401
|
+
voter: `0x${string}`;
|
|
1402
|
+
weight: string;
|
|
1403
1403
|
support: VoteSupportType;
|
|
1404
|
-
timestamp:
|
|
1404
|
+
timestamp: string;
|
|
1405
1405
|
reason: string;
|
|
1406
1406
|
}>;
|
|
1407
1407
|
pollResult: {
|
|
1408
1408
|
__typename?: 'PollResult';
|
|
1409
|
-
for:
|
|
1409
|
+
for: string;
|
|
1410
1410
|
forVotersCount: number;
|
|
1411
1411
|
forPercentage: string;
|
|
1412
|
-
against:
|
|
1412
|
+
against: string;
|
|
1413
1413
|
againstVotersCount: number;
|
|
1414
1414
|
againstPercentage: string;
|
|
1415
|
-
abstain:
|
|
1415
|
+
abstain: string;
|
|
1416
1416
|
abstainVotersCount: number;
|
|
1417
1417
|
abstainPercentage: string;
|
|
1418
|
-
total:
|
|
1418
|
+
total: string;
|
|
1419
1419
|
totalVotersCount: number;
|
|
1420
|
-
totalTowardsQuorum:
|
|
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:
|
|
1435
|
-
voter:
|
|
1436
|
-
weight:
|
|
1434
|
+
id: string;
|
|
1435
|
+
voter: `0x${string}`;
|
|
1436
|
+
weight: string;
|
|
1437
1437
|
support: VoteSupportType;
|
|
1438
|
-
timestamp:
|
|
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:
|
|
1455
|
-
proposalId:
|
|
1454
|
+
proposer: `0x${string}`;
|
|
1455
|
+
proposalId: string;
|
|
1456
1456
|
description: string;
|
|
1457
1457
|
status: ProposalStatus;
|
|
1458
|
-
createdAt:
|
|
1459
|
-
createdAtBlock:
|
|
1458
|
+
createdAt: string;
|
|
1459
|
+
createdAtBlock: string;
|
|
1460
1460
|
unverifiedForumLink?: string | null;
|
|
1461
|
-
quorum?:
|
|
1462
|
-
succeededAt?:
|
|
1463
|
-
voteStartAt:
|
|
1464
|
-
voteEndAt:
|
|
1465
|
-
queueStart?:
|
|
1466
|
-
queueEnd?:
|
|
1467
|
-
canceledAt?:
|
|
1468
|
-
executedAt?:
|
|
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:
|
|
1473
|
+
id: `0x${string}`;
|
|
1474
1474
|
} | null;
|
|
1475
1475
|
pollResult: {
|
|
1476
1476
|
__typename?: 'PollResult';
|
|
1477
|
-
for:
|
|
1477
|
+
for: string;
|
|
1478
1478
|
forVotersCount: number;
|
|
1479
1479
|
forPercentage: string;
|
|
1480
|
-
against:
|
|
1480
|
+
against: string;
|
|
1481
1481
|
againstVotersCount: number;
|
|
1482
1482
|
againstPercentage: string;
|
|
1483
|
-
abstain:
|
|
1483
|
+
abstain: string;
|
|
1484
1484
|
abstainVotersCount: number;
|
|
1485
1485
|
abstainPercentage: string;
|
|
1486
|
-
total:
|
|
1486
|
+
total: string;
|
|
1487
1487
|
totalVotersCount: number;
|
|
1488
|
-
totalTowardsQuorum:
|
|
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:
|
|
1504
|
-
proposalId:
|
|
1503
|
+
proposer: `0x${string}`;
|
|
1504
|
+
proposalId: string;
|
|
1505
1505
|
description: string;
|
|
1506
1506
|
status: ProposalStatus;
|
|
1507
|
-
createdAt:
|
|
1508
|
-
createdAtBlock:
|
|
1507
|
+
createdAt: string;
|
|
1508
|
+
createdAtBlock: string;
|
|
1509
1509
|
unverifiedForumLink?: string | null;
|
|
1510
|
-
quorum?:
|
|
1511
|
-
succeededAt?:
|
|
1512
|
-
voteStartAt:
|
|
1513
|
-
voteEndAt:
|
|
1514
|
-
queueStart?:
|
|
1515
|
-
queueEnd?:
|
|
1516
|
-
canceledAt?:
|
|
1517
|
-
executedAt?:
|
|
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:
|
|
1522
|
+
id: `0x${string}`;
|
|
1523
1523
|
} | null;
|
|
1524
1524
|
pollResult: {
|
|
1525
1525
|
__typename?: 'PollResult';
|
|
1526
|
-
for:
|
|
1526
|
+
for: string;
|
|
1527
1527
|
forVotersCount: number;
|
|
1528
1528
|
forPercentage: string;
|
|
1529
|
-
against:
|
|
1529
|
+
against: string;
|
|
1530
1530
|
againstVotersCount: number;
|
|
1531
1531
|
againstPercentage: string;
|
|
1532
|
-
abstain:
|
|
1532
|
+
abstain: string;
|
|
1533
1533
|
abstainVotersCount: number;
|
|
1534
1534
|
abstainPercentage: string;
|
|
1535
|
-
total:
|
|
1535
|
+
total: string;
|
|
1536
1536
|
totalVotersCount: number;
|
|
1537
|
-
totalTowardsQuorum:
|
|
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?:
|
|
1549
|
-
createTxHash?:
|
|
1550
|
-
cancelTxHash?:
|
|
1551
|
-
executeTxHash?:
|
|
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:
|
|
1554
|
-
proposalId:
|
|
1553
|
+
proposer: `0x${string}`;
|
|
1554
|
+
proposalId: string;
|
|
1555
1555
|
description: string;
|
|
1556
1556
|
status: ProposalStatus;
|
|
1557
|
-
createdAt:
|
|
1558
|
-
createdAtBlock:
|
|
1557
|
+
createdAt: string;
|
|
1558
|
+
createdAtBlock: string;
|
|
1559
1559
|
unverifiedForumLink?: string | null;
|
|
1560
|
-
quorum?:
|
|
1561
|
-
succeededAt?:
|
|
1562
|
-
voteStartAt:
|
|
1563
|
-
voteEndAt:
|
|
1564
|
-
queueStart?:
|
|
1565
|
-
queueEnd?:
|
|
1566
|
-
canceledAt?:
|
|
1567
|
-
executedAt?:
|
|
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:
|
|
1574
|
-
value:
|
|
1575
|
-
calldata:
|
|
1573
|
+
target: `0x${string}`;
|
|
1574
|
+
value: string;
|
|
1575
|
+
calldata: `0x${string}`;
|
|
1576
1576
|
}>;
|
|
1577
1577
|
timelock?: {
|
|
1578
1578
|
__typename?: 'Timelock';
|
|
1579
|
-
id:
|
|
1579
|
+
id: `0x${string}`;
|
|
1580
1580
|
} | null;
|
|
1581
1581
|
votes: Array<{
|
|
1582
1582
|
__typename?: 'Vote';
|
|
1583
|
-
id:
|
|
1584
|
-
voter:
|
|
1585
|
-
weight:
|
|
1583
|
+
id: string;
|
|
1584
|
+
voter: `0x${string}`;
|
|
1585
|
+
weight: string;
|
|
1586
1586
|
support: VoteSupportType;
|
|
1587
|
-
timestamp:
|
|
1587
|
+
timestamp: string;
|
|
1588
1588
|
reason: string;
|
|
1589
1589
|
}>;
|
|
1590
1590
|
pollResult: {
|
|
1591
1591
|
__typename?: 'PollResult';
|
|
1592
|
-
for:
|
|
1592
|
+
for: string;
|
|
1593
1593
|
forVotersCount: number;
|
|
1594
1594
|
forPercentage: string;
|
|
1595
|
-
against:
|
|
1595
|
+
against: string;
|
|
1596
1596
|
againstVotersCount: number;
|
|
1597
1597
|
againstPercentage: string;
|
|
1598
|
-
abstain:
|
|
1598
|
+
abstain: string;
|
|
1599
1599
|
abstainVotersCount: number;
|
|
1600
1600
|
abstainPercentage: string;
|
|
1601
|
-
total:
|
|
1601
|
+
total: string;
|
|
1602
1602
|
totalVotersCount: number;
|
|
1603
|
-
totalTowardsQuorum:
|
|
1603
|
+
totalTowardsQuorum: string;
|
|
1604
1604
|
};
|
|
1605
1605
|
} | null;
|
|
1606
1606
|
};
|