Enum .toJSON() to return type name as specified (#1811)
* Enum `.toJSON()` to return type name as specified * Fix text compares
This commit is contained in:
@@ -438,7 +438,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "AccountNonce",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -450,7 +450,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ExtrinsicCount",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "u32"
|
||||
},
|
||||
@@ -459,7 +459,7 @@
|
||||
},
|
||||
{
|
||||
"name": "BlockHash",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "BlockNumber",
|
||||
@@ -471,7 +471,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ExtrinsicData",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "u32",
|
||||
@@ -483,7 +483,7 @@
|
||||
},
|
||||
{
|
||||
"name": "RandomSeed",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Hash"
|
||||
},
|
||||
@@ -492,7 +492,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Number",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -503,7 +503,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ParentHash",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Hash"
|
||||
},
|
||||
@@ -512,7 +512,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ExtrinsicsRoot",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Hash"
|
||||
},
|
||||
@@ -521,7 +521,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Digest",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Digest"
|
||||
},
|
||||
@@ -530,7 +530,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Events",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<EventRecord>"
|
||||
},
|
||||
@@ -586,7 +586,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "Now",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Moment"
|
||||
},
|
||||
@@ -597,7 +597,7 @@
|
||||
},
|
||||
{
|
||||
"name": "BlockPeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Moment"
|
||||
},
|
||||
@@ -608,7 +608,7 @@
|
||||
},
|
||||
{
|
||||
"name": "DidUpdate",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "bool"
|
||||
},
|
||||
@@ -713,7 +713,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "OriginalAuthorities",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "Vec<SessionKey>"
|
||||
},
|
||||
@@ -737,7 +737,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "NextEnumSet",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "AccountIndex"
|
||||
},
|
||||
@@ -748,7 +748,7 @@
|
||||
},
|
||||
{
|
||||
"name": "EnumSet",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountIndex",
|
||||
@@ -816,7 +816,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "TotalIssuance",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -827,7 +827,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ExistentialDeposit",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -838,7 +838,7 @@
|
||||
},
|
||||
{
|
||||
"name": "TransferFee",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -849,7 +849,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CreationFee",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -860,7 +860,7 @@
|
||||
},
|
||||
{
|
||||
"name": "FreeBalance",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -884,7 +884,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ReservedBalance",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -909,7 +909,7 @@
|
||||
},
|
||||
{
|
||||
"name": "TransactionBaseFee",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -920,7 +920,7 @@
|
||||
},
|
||||
{
|
||||
"name": "TransactionByteFee",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -987,7 +987,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "Validators",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<AccountId>"
|
||||
},
|
||||
@@ -998,7 +998,7 @@
|
||||
},
|
||||
{
|
||||
"name": "SessionLength",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1009,7 +1009,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CurrentIndex",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1020,7 +1020,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CurrentStart",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Moment"
|
||||
},
|
||||
@@ -1031,7 +1031,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ForcingNewSession",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "bool"
|
||||
},
|
||||
@@ -1043,7 +1043,7 @@
|
||||
},
|
||||
{
|
||||
"name": "LastLengthChange",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1054,7 +1054,7 @@
|
||||
},
|
||||
{
|
||||
"name": "NextKeyFor",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -1068,7 +1068,7 @@
|
||||
},
|
||||
{
|
||||
"name": "NextSessionLength",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1243,7 +1243,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "ValidatorCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "u32"
|
||||
},
|
||||
@@ -1254,7 +1254,7 @@
|
||||
},
|
||||
{
|
||||
"name": "MinimumValidatorCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "u32"
|
||||
},
|
||||
@@ -1265,7 +1265,7 @@
|
||||
},
|
||||
{
|
||||
"name": "SessionsPerEra",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1276,7 +1276,7 @@
|
||||
},
|
||||
{
|
||||
"name": "SessionReward",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Perbill"
|
||||
},
|
||||
@@ -1287,7 +1287,7 @@
|
||||
},
|
||||
{
|
||||
"name": "OfflineSlash",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Perbill"
|
||||
},
|
||||
@@ -1298,7 +1298,7 @@
|
||||
},
|
||||
{
|
||||
"name": "OfflineSlashGrace",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "u32"
|
||||
},
|
||||
@@ -1309,7 +1309,7 @@
|
||||
},
|
||||
{
|
||||
"name": "BondingDuration",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1320,7 +1320,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Invulerables",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<AccountId>"
|
||||
},
|
||||
@@ -1332,7 +1332,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CurrentEra",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1343,7 +1343,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ValidatorPreferences",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -1357,7 +1357,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Intentions",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<AccountId>"
|
||||
},
|
||||
@@ -1368,7 +1368,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Nominating",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -1382,7 +1382,7 @@
|
||||
},
|
||||
{
|
||||
"name": "NominatorsFor",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -1396,7 +1396,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CurrentNominatorsFor",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -1410,7 +1410,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CurrentSessionReward",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -1421,7 +1421,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CurrentOfflineSlash",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -1432,7 +1432,7 @@
|
||||
},
|
||||
{
|
||||
"name": "NextSessionsPerEra",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1443,7 +1443,7 @@
|
||||
},
|
||||
{
|
||||
"name": "LastEraLengthChange",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1454,7 +1454,7 @@
|
||||
},
|
||||
{
|
||||
"name": "StakeRange",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "(Balance,Balance)"
|
||||
},
|
||||
@@ -1465,7 +1465,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Bondage",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -1479,7 +1479,7 @@
|
||||
},
|
||||
{
|
||||
"name": "SlashCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -1493,7 +1493,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ForcingNewEra",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "()"
|
||||
},
|
||||
@@ -1619,7 +1619,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "PublicPropCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "PropIndex"
|
||||
},
|
||||
@@ -1630,7 +1630,7 @@
|
||||
},
|
||||
{
|
||||
"name": "PublicProps",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<(PropIndex,Proposal,AccountId)>"
|
||||
},
|
||||
@@ -1641,7 +1641,7 @@
|
||||
},
|
||||
{
|
||||
"name": "DepositOf",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "PropIndex",
|
||||
@@ -1655,7 +1655,7 @@
|
||||
},
|
||||
{
|
||||
"name": "LaunchPeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1666,7 +1666,7 @@
|
||||
},
|
||||
{
|
||||
"name": "MinimumDeposit",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -1677,7 +1677,7 @@
|
||||
},
|
||||
{
|
||||
"name": "PublicDelay",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1688,7 +1688,7 @@
|
||||
},
|
||||
{
|
||||
"name": "MaxLockPeriods",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "LockPeriods"
|
||||
},
|
||||
@@ -1699,7 +1699,7 @@
|
||||
},
|
||||
{
|
||||
"name": "VotingPeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -1710,7 +1710,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ReferendumCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "ReferendumIndex"
|
||||
},
|
||||
@@ -1721,7 +1721,7 @@
|
||||
},
|
||||
{
|
||||
"name": "NextTally",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "ReferendumIndex"
|
||||
},
|
||||
@@ -1732,7 +1732,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ReferendumInfoOf",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "ReferendumIndex",
|
||||
@@ -1746,7 +1746,7 @@
|
||||
},
|
||||
{
|
||||
"name": "DispatchQueue",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "BlockNumber",
|
||||
@@ -1760,7 +1760,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Bondage",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -1774,7 +1774,7 @@
|
||||
},
|
||||
{
|
||||
"name": "VotersFor",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "ReferendumIndex",
|
||||
@@ -1788,7 +1788,7 @@
|
||||
},
|
||||
{
|
||||
"name": "VoteOf",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "(ReferendumIndex,AccountId)",
|
||||
@@ -1976,7 +1976,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "CandidacyBond",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -1987,7 +1987,7 @@
|
||||
},
|
||||
{
|
||||
"name": "VotingBond",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -1998,7 +1998,7 @@
|
||||
},
|
||||
{
|
||||
"name": "PresentSlashPerVoter",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -2009,7 +2009,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CarryCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "u32"
|
||||
},
|
||||
@@ -2020,7 +2020,7 @@
|
||||
},
|
||||
{
|
||||
"name": "PresentationDuration",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -2031,7 +2031,7 @@
|
||||
},
|
||||
{
|
||||
"name": "InactiveGracePeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "VoteIndex"
|
||||
},
|
||||
@@ -2043,7 +2043,7 @@
|
||||
},
|
||||
{
|
||||
"name": "VotingPeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -2054,7 +2054,7 @@
|
||||
},
|
||||
{
|
||||
"name": "TermDuration",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -2065,7 +2065,7 @@
|
||||
},
|
||||
{
|
||||
"name": "DesiredSeats",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "u32"
|
||||
},
|
||||
@@ -2076,7 +2076,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ActiveCouncil",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<(AccountId,BlockNumber)>"
|
||||
},
|
||||
@@ -2090,7 +2090,7 @@
|
||||
},
|
||||
{
|
||||
"name": "VoteCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "VoteIndex"
|
||||
},
|
||||
@@ -2101,7 +2101,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ApprovalsOf",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -2116,7 +2116,7 @@
|
||||
},
|
||||
{
|
||||
"name": "RegisterInfoOf",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -2131,7 +2131,7 @@
|
||||
},
|
||||
{
|
||||
"name": "LastActiveOf",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "AccountId",
|
||||
@@ -2145,7 +2145,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Voters",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<AccountId>"
|
||||
},
|
||||
@@ -2156,7 +2156,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Candidates",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<AccountId>"
|
||||
},
|
||||
@@ -2167,7 +2167,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CandidateCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "u32"
|
||||
},
|
||||
@@ -2176,7 +2176,7 @@
|
||||
},
|
||||
{
|
||||
"name": "NextFinalise",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "(BlockNumber,u32,Vec<AccountId>)"
|
||||
},
|
||||
@@ -2187,7 +2187,7 @@
|
||||
},
|
||||
{
|
||||
"name": "SnapshotedStakes",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<Balance>"
|
||||
},
|
||||
@@ -2198,7 +2198,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Leaderboard",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "Vec<(Balance,AccountId)>"
|
||||
},
|
||||
@@ -2284,7 +2284,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "CooloffPeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -2293,7 +2293,7 @@
|
||||
},
|
||||
{
|
||||
"name": "VotingPeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -2302,7 +2302,7 @@
|
||||
},
|
||||
{
|
||||
"name": "EnactDelayPeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -2313,7 +2313,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Proposals",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<(BlockNumber,Hash)>"
|
||||
},
|
||||
@@ -2322,7 +2322,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ProposalOf",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "Hash",
|
||||
@@ -2334,7 +2334,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ProposalVoters",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "Hash",
|
||||
@@ -2346,7 +2346,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CouncilVoteOf",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "(Hash,AccountId)",
|
||||
@@ -2358,7 +2358,7 @@
|
||||
},
|
||||
{
|
||||
"name": "VetoedProposal",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "Hash",
|
||||
@@ -2420,7 +2420,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "Proposals",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<Hash>"
|
||||
},
|
||||
@@ -2431,7 +2431,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ProposalOf",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "Hash",
|
||||
@@ -2445,7 +2445,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Voting",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "Hash",
|
||||
@@ -2459,7 +2459,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ProposalCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "u32"
|
||||
},
|
||||
@@ -2499,7 +2499,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "PendingChange",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Plain": "StoredPendingChange"
|
||||
},
|
||||
@@ -2608,7 +2608,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "ProposalBond",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Permill"
|
||||
},
|
||||
@@ -2620,7 +2620,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ProposalBondMinimum",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -2631,7 +2631,7 @@
|
||||
},
|
||||
{
|
||||
"name": "SpendPeriod",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "BlockNumber"
|
||||
},
|
||||
@@ -2642,7 +2642,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Burn",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Permill"
|
||||
},
|
||||
@@ -2653,7 +2653,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Pot",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Balance"
|
||||
},
|
||||
@@ -2664,7 +2664,7 @@
|
||||
},
|
||||
{
|
||||
"name": "ProposalCount",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "ProposalIndex"
|
||||
},
|
||||
@@ -2675,7 +2675,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Proposals",
|
||||
"modifier": "optional",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"Map": {
|
||||
"key": "ProposalIndex",
|
||||
@@ -2689,7 +2689,7 @@
|
||||
},
|
||||
{
|
||||
"name": "Approvals",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "Vec<ProposalIndex>"
|
||||
},
|
||||
@@ -2809,7 +2809,7 @@
|
||||
"functions": [
|
||||
{
|
||||
"name": "Key",
|
||||
"modifier": "default",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"Plain": "AccountId"
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user