|
487 | 487 | , "enum": [ "constitutionalCommitteeHotKeyRegistration" ] |
488 | 488 | } |
489 | 489 | , "member": |
490 | | - { "$ref": "cardano.json#/definitions/ConstitutionalCommitteeMember" |
| 490 | + { "type": "object" |
| 491 | + , "additionalProperties": false |
| 492 | + , "required": [ "id" ] |
| 493 | + , "properties": |
| 494 | + { "id": { "$ref": "cardano.json#/definitions/Digest<Blake2b, 224>" } |
| 495 | + } |
491 | 496 | } |
492 | 497 | , "hotKey": |
493 | 498 | { "$ref": "cardano.json#/definitions/Digest<Blake2b, 224>" |
|
505 | 510 | , "enum": [ "constitutionalCommitteeRetirement" ] |
506 | 511 | } |
507 | 512 | , "member": |
508 | | - { "$ref": "cardano.json#/definitions/ConstitutionalCommitteeMember" |
| 513 | + { "type": "object" |
| 514 | + , "additionalProperties": false |
| 515 | + , "required": [ "id" ] |
| 516 | + , "properties": |
| 517 | + { "id": { "$ref": "cardano.json#/definitions/Digest<Blake2b, 224>" } |
| 518 | + } |
509 | 519 | } |
510 | 520 | } |
511 | 521 | } |
|
525 | 535 | , "deposit": |
526 | 536 | { "$ref": "cardano.json#/definitions/Lovelace" |
527 | 537 | } |
| 538 | + , "anchor": |
| 539 | + { "$ref": "cardano.json#/definitions/Anchor" |
| 540 | + } |
| 541 | + } |
| 542 | + } |
| 543 | + , { "type": "object" |
| 544 | + , "description": "" |
| 545 | + , "title": "DelegateRepresentativeUpdate" |
| 546 | + , "additionalProperties": false |
| 547 | + , "required": [ "type", "delegateRepresentative", "anchor" ] |
| 548 | + , "properties": |
| 549 | + { "type": |
| 550 | + { "type": "string" |
| 551 | + , "enum": [ "delegateRepresentativeUpdate" ] |
| 552 | + } |
| 553 | + , "delegateRepresentative": |
| 554 | + { "$ref": "cardano.json#/definitions/DelegateRepresentative" |
| 555 | + } |
| 556 | + , "anchor": |
| 557 | + { "oneOf": |
| 558 | + [ { "type": "null", "title": "None" } |
| 559 | + , { "$ref": "cardano.json#/definitions/Anchor" } |
| 560 | + ] |
| 561 | + } |
528 | 562 | } |
529 | 563 | } |
530 | 564 | , { "type": "object" |
|
566 | 600 | } |
567 | 601 |
|
568 | 602 | , "ConstitutionalCommitteeMember": |
569 | | - { "type": "object" |
| 603 | + { "title": "ConstitutionalCommitteeMember" |
| 604 | + , "type": "object" |
570 | 605 | , "additionalProperties": false |
571 | | - , "required": [ "id" ] |
| 606 | + , "required": [ "id", "mandate" ] |
572 | 607 | , "properties": |
573 | 608 | { "id": { "$ref": "cardano.json#/definitions/Digest<Blake2b, 224>" } |
| 609 | + , "mandate": |
| 610 | + { "type": "object" |
| 611 | + , "additionalProperties": false |
| 612 | + , "required": [ "epoch" ] |
| 613 | + , "properties": |
| 614 | + { "epoch": { "$ref": "cardano.json#/definitions/Epoch" } |
| 615 | + } |
| 616 | + } |
574 | 617 | } |
575 | 618 | } |
576 | 619 |
|
|
598 | 641 | , "contentEncoding": "base16" |
599 | 642 | } |
600 | 643 |
|
| 644 | + , "DelegateRepresentativeVotingThresholds": |
| 645 | + { "title": "DelegateRepresentativeVotingThresholds" |
| 646 | + , "type": "object" |
| 647 | + , "additionalProperties": false |
| 648 | + , "required": |
| 649 | + [ "noConfidence" |
| 650 | + , "constitutionalCommittee" |
| 651 | + , "constitution" |
| 652 | + , "hardForkInitiation" |
| 653 | + , "protocolParametersUpdate" |
| 654 | + , "treasuryWithdrawals" |
| 655 | + ] |
| 656 | + , "properties": |
| 657 | + { "noConfidence": { "$ref": "cardano.json#/definitions/Ratio" } |
| 658 | + , "constitution": { "$ref": "cardano.json#/definitions/Ratio" } |
| 659 | + , "constitutionalCommittee": |
| 660 | + { "type": "object" |
| 661 | + , "additionalProperties": false |
| 662 | + , "required": [ "default", "stateOfNoConfidence" ] |
| 663 | + , "properties": |
| 664 | + { "default": { "$ref": "cardano.json#/definitions/Ratio" } |
| 665 | + , "stateOfNoConfidence": { "$ref": "cardano.json#/definitions/Ratio" } |
| 666 | + } |
| 667 | + } |
| 668 | + , "hardForkInitiation": { "$ref": "cardano.json#/definitions/Ratio" } |
| 669 | + , "protocolParametersUpdate": |
| 670 | + { "type": "object" |
| 671 | + , "additionalProperties": false |
| 672 | + , "required": [ "network", "economic", "technical", "governance" ] |
| 673 | + , "properties": |
| 674 | + { "network": { "$ref": "cardano.json#/definitions/Ratio" } |
| 675 | + , "economic": { "$ref": "cardano.json#/definitions/Ratio" } |
| 676 | + , "technical": { "$ref": "cardano.json#/definitions/Ratio" } |
| 677 | + , "governance": { "$ref": "cardano.json#/definitions/Ratio" } |
| 678 | + } |
| 679 | + } |
| 680 | + , "treasuryWithdrawals": { "$ref": "cardano.json#/definitions/Ratio" } |
| 681 | + } |
| 682 | + } |
| 683 | + |
601 | 684 | , "Digest<Any>": |
602 | 685 | { "title": "Digest<Any>" |
603 | 686 | , "type": "string" |
|
843 | 926 | , "additionalProperties": false |
844 | 927 | , "required": |
845 | 928 | [ "era" |
846 | | - , "initialParameters" |
| 929 | + , "updatableParameters" |
847 | 930 | ] |
848 | 931 | , "properties": |
849 | 932 | { "era": |
850 | 933 | { "type": "string" |
851 | 934 | , "enum": [ "alonzo" ] |
852 | 935 | } |
853 | | - , "initialParameters": |
| 936 | + , "updatableParameters": |
854 | 937 | { "type": "object" |
855 | 938 | , "additionalProperties": false |
856 | 939 | , "required": |
|
884 | 967 | , "additionalProperties": false |
885 | 968 | , "required": |
886 | 969 | [ "era" |
887 | | - , "initialDelegates" |
| 970 | + , "constitution" |
| 971 | + , "constitutionalCommittee" |
| 972 | + , "updatableParameters" |
888 | 973 | ] |
889 | 974 | , "properties": |
890 | 975 | { "era": |
891 | 976 | { "type": "string" |
892 | 977 | , "enum": [ "conway" ] |
893 | 978 | } |
894 | | - , "initialDelegates": |
895 | | - { "$ref": "cardano.json#/definitions/InitialDelegates" |
| 979 | + , "constitution": |
| 980 | + { "type": "object" |
| 981 | + , "additionalProperties": false |
| 982 | + , "required": [ "anchor" ] |
| 983 | + , "properties": |
| 984 | + { "hash": |
| 985 | + { "$ref": "cardano.json#/definitions/Digest<Blake2b, 224>" |
| 986 | + } |
| 987 | + , "anchor": |
| 988 | + { "$ref": "cardano.json#/definitions/Anchor" |
| 989 | + } |
| 990 | + } |
| 991 | + } |
| 992 | + , "constitutionalCommittee": |
| 993 | + { "type": "object" |
| 994 | + , "additionalProperties": false |
| 995 | + , "required": [ "members", "quorum" ] |
| 996 | + , "properties": |
| 997 | + { "members": |
| 998 | + { "type": "array" |
| 999 | + , "items": { "$ref": "cardano.json#/definitions/ConstitutionalCommitteeMember" } |
| 1000 | + } |
| 1001 | + , "quorum": |
| 1002 | + { "$ref": "cardano.json#/definitions/Ratio" |
| 1003 | + } |
| 1004 | + } |
| 1005 | + } |
| 1006 | + , "updatableParameters": |
| 1007 | + { "type": "object" |
| 1008 | + , "additionalProperties": false |
| 1009 | + , "required": |
| 1010 | + [ "stakePoolVotingThresholds" |
| 1011 | + , "constitutionalCommitteeMinSize" |
| 1012 | + , "constitutionalCommitteeMaxTermLength" |
| 1013 | + , "governanceActionLifetime" |
| 1014 | + , "governanceActionDeposit" |
| 1015 | + , "delegateRepresentativeVotingThresholds" |
| 1016 | + , "delegateRepresentativeDeposit" |
| 1017 | + , "delegateRepresentativeMaxIdleTime" |
| 1018 | + ] |
| 1019 | + , "properties": |
| 1020 | + { "stakePoolVotingThresholds": { "$ref": "cardano.json#/definitions/StakePoolVotingThresholds" } |
| 1021 | + , "constitutionalCommitteeMinSize": { "$ref": "cardano.json#/definitions/UInt64" } |
| 1022 | + , "constitutionalCommitteeMaxTermLength": { "$ref": "cardano.json#/definitions/UInt64" } |
| 1023 | + , "governanceActionLifetime": { "$ref": "cardano.json#/definitions/Epoch" } |
| 1024 | + , "governanceActionDeposit": { "$ref": "cardano.json#/definitions/Lovelace" } |
| 1025 | + , "delegateRepresentativeVotingThresholds": { "$ref": "cardano.json#/definitions/DelegateRepresentativeVotingThresholds" } |
| 1026 | + , "delegateRepresentativeDeposit": { "$ref": "cardano.json#/definitions/Lovelace" } |
| 1027 | + , "delegateRepresentativeMaxIdleTime": { "$ref": "cardano.json#/definitions/Epoch" } |
| 1028 | + } |
896 | 1029 | } |
897 | 1030 | } |
898 | 1031 | } |
|
1014 | 1147 | , "enum": [ "constitutionalCommittee" ] |
1015 | 1148 | } |
1016 | 1149 | , "members": |
1017 | | - { "$ref": "cardano.json#/definitions/ConstitutionalCommitteeMember" |
| 1150 | + { "type": "object" |
| 1151 | + , "additionalProperties": false |
| 1152 | + , "required": [ "added", "removed" ] |
| 1153 | + , "properties": |
| 1154 | + { "added": |
| 1155 | + { "type": "array" |
| 1156 | + , "items": |
| 1157 | + { "$ref": "cardano.json#/definitions/ConstitutionalCommitteeMember" |
| 1158 | + } |
| 1159 | + } |
| 1160 | + , "removed": |
| 1161 | + { "type": "array" |
| 1162 | + , "items": |
| 1163 | + { "type": "object" |
| 1164 | + , "additionalProperties": false |
| 1165 | + , "required": [ "id" ] |
| 1166 | + , "properties": |
| 1167 | + { "id": { "$ref": "cardano.json#/definitions/Digest<Blake2b, 224>" } |
| 1168 | + } |
| 1169 | + } |
| 1170 | + } |
| 1171 | + } |
1018 | 1172 | } |
1019 | 1173 | , "quorum": |
1020 | 1174 | { "$ref": "cardano.json#/definitions/Ratio" |
|
1025 | 1179 | , "title": "GovernanceAction<Constitution>" |
1026 | 1180 | , "description": "A change in the constitution. Only its hash is recorded on-chain." |
1027 | 1181 | , "additionalProperties": false |
1028 | | - , "required": [ "type", "hash" ] |
| 1182 | + , "required": [ "type", "anchor" ] |
1029 | 1183 | , "properties": |
1030 | 1184 | { "type": |
1031 | 1185 | { "type": "string" |
1032 | 1186 | , "enum": [ "constitution" ] |
1033 | 1187 | } |
1034 | 1188 | , "hash": |
1035 | | - { "$ref": "cardano.json#/definitions/Digest<Blake2b, 256>" |
| 1189 | + { "$ref": "cardano.json#/definitions/Digest<Blake2b, 224>" |
| 1190 | + } |
| 1191 | + , "anchor": |
| 1192 | + { "$ref": "cardano.json#/definitions/Anchor" |
1036 | 1193 | } |
1037 | 1194 | } |
1038 | 1195 | } |
|
1073 | 1230 | { "$ref": "cardano.json#/definitions/Lovelace" |
1074 | 1231 | } |
1075 | 1232 | , "returnAccount": |
1076 | | - { "$ref": "cardano.json#/definitions/Digest<Blake2b, 224>" |
| 1233 | + { "$ref": "cardano.json#/definitions/RewardAccount" |
1077 | 1234 | } |
1078 | 1235 | , "anchor": |
1079 | 1236 | { "$ref": "cardano.json#/definitions/Anchor" |
|
1453 | 1610 | ] |
1454 | 1611 | } |
1455 | 1612 |
|
| 1613 | + , "StakePoolVotingThresholds": |
| 1614 | + { "title": "StakePoolVotingThresholds" |
| 1615 | + , "type": "object" |
| 1616 | + , "additionalProperties": false |
| 1617 | + , "required": |
| 1618 | + [ "noConfidence" |
| 1619 | + , "constitutionalCommittee" |
| 1620 | + , "hardForkInitiation" |
| 1621 | + ] |
| 1622 | + , "properties": |
| 1623 | + { "noConfidence": { "$ref": "cardano.json#/definitions/Ratio" } |
| 1624 | + , "constitutionalCommittee": |
| 1625 | + { "type": "object" |
| 1626 | + , "additionalProperties": false |
| 1627 | + , "required": [ "default", "stateOfNoConfidence" ] |
| 1628 | + , "properties": |
| 1629 | + { "default": { "$ref": "cardano.json#/definitions/Ratio" } |
| 1630 | + , "stateOfNoConfidence": { "$ref": "cardano.json#/definitions/Ratio" } |
| 1631 | + } |
| 1632 | + } |
| 1633 | + , "hardForkInitiation": { "$ref": "cardano.json#/definitions/Ratio" } |
| 1634 | + } |
| 1635 | + } |
| 1636 | + |
1456 | 1637 | , "ProposedProtocolParameters": |
1457 | 1638 | { "title": "ProposedProtocolParameters" |
1458 | 1639 | , "type": "object" |
|
1482 | 1663 | , "scriptExecutionPrices": { "$ref": "cardano.json#/definitions/ScriptExecutionPrices" } |
1483 | 1664 | , "maxExecutionUnitsPerTransaction": { "$ref": "cardano.json#/definitions/ExecutionUnits" } |
1484 | 1665 | , "maxExecutionUnitsPerBlock": { "$ref": "cardano.json#/definitions/ExecutionUnits" } |
| 1666 | + , "stakePoolVotingThresholds": { "$ref": "cardano.json#/definitions/StakePoolVotingThresholds" } |
| 1667 | + , "constitutionalCommitteeMinSize": { "$ref": "cardano.json#/definitions/UInt64" } |
| 1668 | + , "constitutionalCommitteeMaxTermLength": { "$ref": "cardano.json#/definitions/UInt64" } |
| 1669 | + , "governanceActionLifetime": { "$ref": "cardano.json#/definitions/Epoch" } |
| 1670 | + , "governanceActionDeposit": { "$ref": "cardano.json#/definitions/Lovelace" } |
| 1671 | + , "delegateRepresentativeVotingThresholds": { "$ref": "cardano.json#/definitions/DelegateRepresentativeVotingThresholds" } |
| 1672 | + , "delegateRepresentativeDeposit": { "$ref": "cardano.json#/definitions/Lovelace" } |
| 1673 | + , "delegateRepresentativeMaxIdleTime": { "$ref": "cardano.json#/definitions/Epoch" } |
1485 | 1674 | , "version": { "$ref": "cardano.json#/definitions/ProtocolVersion" } |
1486 | 1675 | } |
1487 | 1676 | } |
|
1532 | 1721 | , "scriptExecutionPrices": { "$ref": "cardano.json#/definitions/ScriptExecutionPrices" } |
1533 | 1722 | , "maxExecutionUnitsPerTransaction": { "$ref": "cardano.json#/definitions/ExecutionUnits" } |
1534 | 1723 | , "maxExecutionUnitsPerBlock": { "$ref": "cardano.json#/definitions/ExecutionUnits" } |
| 1724 | + , "stakePoolVotingThresholds": { "$ref": "cardano.json#/definitions/StakePoolVotingThresholds" } |
| 1725 | + , "constitutionalCommitteeMinSize": { "$ref": "cardano.json#/definitions/UInt64" } |
| 1726 | + , "constitutionalCommitteeMaxTermLength": { "$ref": "cardano.json#/definitions/UInt64" } |
| 1727 | + , "governanceActionLifetime": { "$ref": "cardano.json#/definitions/Epoch" } |
| 1728 | + , "governanceActionDeposit": { "$ref": "cardano.json#/definitions/Lovelace" } |
| 1729 | + , "delegateRepresentativeVotingThresholds": { "$ref": "cardano.json#/definitions/DelegateRepresentativeVotingThresholds" } |
| 1730 | + , "delegateRepresentativeDeposit": { "$ref": "cardano.json#/definitions/Lovelace" } |
| 1731 | + , "delegateRepresentativeMaxIdleTime": { "$ref": "cardano.json#/definitions/Epoch" } |
1535 | 1732 | , "version": { "$ref": "cardano.json#/definitions/ProtocolVersion" } |
1536 | 1733 | } |
1537 | 1734 | } |
|
2213 | 2410 | , "Value": |
2214 | 2411 | { "title": "Value" |
2215 | 2412 | , "type": "object" |
2216 | | - , "propertyNames": { "pattern": "^[0-9a-z]{56}$" } |
| 2413 | + , "propertyNames": { "pattern": "^[0-9a-f]{56}$" } |
2217 | 2414 | , "additionalProperties": |
2218 | 2415 | { "type": "object" |
2219 | | - , "propertyNames": { "pattern": "^[0-9a-z]{0,64}$" } |
| 2416 | + , "propertyNames": { "pattern": "^[0-9a-f]{0,64}$" } |
2220 | 2417 | , "additionalProperties": { "$ref": "cardano.json#/definitions/AssetQuantity" } |
2221 | 2418 | } |
2222 | 2419 | , "required": [ "ada" ] |
|
0 commit comments