Bumnp Substrate metadata (#5354)

This commit is contained in:
Jaco
2022-11-27 17:15:23 +02:00
committed by GitHub
parent d1bf4402cf
commit 8c52f050fe
11 changed files with 168 additions and 190 deletions
File diff suppressed because one or more lines are too long
@@ -3159,7 +3159,7 @@
{
"name": "Schedule",
"type": 496,
"value": "0x040000000000010000800000001000000000100000000100002000000020000000004000000300000000000000561100001b490000e1480000bd160000402d000042150000b9180000bc20000026000000f0de0000f01301009f030000e4110000d8130000d112000027280000bc2a0000241300000bf5ae000b1100007311000078110000ef110000cd100000a7100000541100003f150000f01400000a1500003c150000c61400001f15000000150000a01500001f150000fe1400001a1400004f1400000d140000372d0000f42b0000992e0000e92a00006d15000024140000f2130000e814000031150000f114000009150000ef14000015ad0600000000006fb8a50100000000ff75b00100000000c45b070000000000e9e302000000000018b106000000000078a1060000000000d5eb1400000000004d97060000000000618c060000000000b8840600000000000e8b060000000000416e1400000000002708030000000000004506000000000074000000000000006a521f0000000000b500000000000000d2a2722e0000000023a5190000000000c0ed2c0000000000e0799407000000002603000000000000d81b050000000000ab61c50700000000352e000000000000ff2c000000000000760e671000000000d990c20700000000172d000000000000aea6bb01000000007f0b0000000000007a1dc00100000000b10f000000000000feffc607000000006d3100000000000078077808000000007ed1c11b00000000afc71b15000000004d5a7808000000004cda010000000000505ee63500000000f505000000000000bf0500000000000060fb0a0000000000580f0000000000007f7d0d0000000000c00b000000000000dd72090000000000b8040000000000005f22090000000000b6040000000000001c5a35020000000011728f01000000007df00200000000008424070000000000",
"value": "0x040000000000010000800000001000000000100000000100002000000020000000004000000400000000000000bb0600001d1b0000fd140000780a0000621e00000c070000c10a0000ee150000300000004e4800008a5900005700000098070000260800001c070000e3180000c11900006f1400008413b000510600009006000098060000ff0600002e0600003f0600003b060000660800005a080000af080000d3080000fb080000dc0800007d080000ad08000055080000aa080000ed070000b7070000b90700006d200000e21d00006d220000f81d000062080000e00a00004f080000fe08000083080000880800007e0800009308000030160300000000005d6fa20100000000aa86aa01000000000cc1030000000000a416020000000000cd23030000000000f8090300000000005317110000000000f200030000000000000603000000000028fa020000000000f807030000000000d11b1000000000005d84010000000000959b0200000000007500000000000000ec84160000000000b8000000000000002b035a2e00000000fbc4140000000000d3f1280000000000fb31940700000000390300000000000080710200000000003a2cc00700000000fd2d000000000000c52c00000000000023536110000000008a06bf0700000000e72c000000000000df3cb701000000004d0b000000000000074aba01000000009c0f0000000000000857c10700000000343100000000000007596e080000000082f5601e00000000b28ace1700000000e6845e0800000000fadb0100000000007eb5933800000000f505000000000000d6050000000000009e010800000000006e0f000000000000f9240a0000000000d10b000000000000fef7050000000000c00400000000000047e3050000000000c004000000000000bd303d0200000000bfa08c0100000000b8170200000000006cd4040000000000",
"docs": [
" Cost schedule and limits."
]
@@ -6281,9 +6281,7 @@
"fallback": "0x00",
"docs": [
" The IPFS CID of the alliance rule.",
" Founders and fellows can propose a new rule with a super-majority.",
"",
" Any founder has a special one-vote veto right to the rule setting."
" Fellows can propose a new rule with a super-majority."
]
},
{
@@ -6418,8 +6416,7 @@
"type": 4,
"value": "0x64000000",
"docs": [
" The maximum number of members per member role. Should not exceed the sum of",
" `MaxFounders` and `MaxFellows`."
" The maximum number of members per member role."
]
}
],
@@ -26308,7 +26308,7 @@
"docs": [
"Add a new proposal to be voted on.",
"",
"Requires the sender to be a founder or fellow."
"Must be called by a Fellow."
]
},
{
@@ -26337,25 +26337,7 @@
"docs": [
"Add an aye or nay vote for the sender to the given proposal.",
"",
"Requires the sender to be a founder or fellow."
]
},
{
"name": "veto",
"fields": [
{
"name": "proposal_hash",
"type": 11,
"typeName": "T::Hash",
"docs": []
}
],
"index": 2,
"docs": [
"Veto a proposal about `set_rule` and `elevate_ally`, close, and remove it from the",
"system, regardless of its current state.",
"",
"Must be called by a founder."
"Must be called by a Fellow."
]
},
{
@@ -26386,22 +26368,16 @@
"docs": []
}
],
"index": 3,
"index": 2,
"docs": [
"Close a vote that is either approved, disapproved, or whose voting period has ended.",
"",
"Requires the sender to be a founder or fellow."
"Must be called by a Fellow."
]
},
{
"name": "init_members",
"fields": [
{
"name": "founders",
"type": 79,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "fellows",
"type": 79,
@@ -26415,12 +26391,12 @@
"docs": []
}
],
"index": 4,
"index": 3,
"docs": [
"Initialize the Alliance, onboard founders, fellows, and allies.",
"Initialize the Alliance, onboard fellows and allies.",
"",
"The Alliance must be empty, and the call must provide some founding members.",
"",
"Founders must be not empty.",
"The Alliance must be empty.",
"Must be called by the Root origin."
]
},
@@ -26434,7 +26410,7 @@
"docs": []
}
],
"index": 5,
"index": 4,
"docs": [
"Disband the Alliance, remove all active members and unreserve deposits.",
"",
@@ -26451,7 +26427,7 @@
"docs": []
}
],
"index": 6,
"index": 5,
"docs": [
"Set a new IPFS CID to the alliance rule."
]
@@ -26466,7 +26442,7 @@
"docs": []
}
],
"index": 7,
"index": 6,
"docs": [
"Make an announcement of a new IPFS CID about alliance issues."
]
@@ -26481,7 +26457,7 @@
"docs": []
}
],
"index": 8,
"index": 7,
"docs": [
"Remove an announcement."
]
@@ -26489,7 +26465,7 @@
{
"name": "join_alliance",
"fields": [],
"index": 9,
"index": 8,
"docs": [
"Submit oneself for candidacy. A fixed deposit is reserved."
]
@@ -26504,10 +26480,10 @@
"docs": []
}
],
"index": 10,
"index": 9,
"docs": [
"A founder or fellow can nominate someone to join the alliance as an Ally.",
"There is no deposit required to the nominator or nominee."
"A Fellow can nominate someone to join the alliance as an Ally. There is no deposit",
"required from the nominator or nominee."
]
},
{
@@ -26520,15 +26496,15 @@
"docs": []
}
],
"index": 11,
"index": 10,
"docs": [
"Elevate an ally to fellow."
"Elevate an Ally to Fellow."
]
},
{
"name": "give_retirement_notice",
"fields": [],
"index": 12,
"index": 11,
"docs": [
"As a member, give a retirement notice and start a retirement period required to pass in",
"order to retire."
@@ -26537,10 +26513,12 @@
{
"name": "retire",
"fields": [],
"index": 13,
"index": 12,
"docs": [
"As a member, retire from the alliance and unreserve the deposit.",
"This can only be done once you have `give_retirement_notice` and it has expired."
"As a member, retire from the Alliance and unreserve the deposit.",
"",
"This can only be done once you have called `give_retirement_notice` and the",
"`RetirementPeriod` has passed."
]
},
{
@@ -26553,9 +26531,9 @@
"docs": []
}
],
"index": 14,
"index": 13,
"docs": [
"Kick a member from the alliance and slash its deposit."
"Kick a member from the Alliance and slash its deposit."
]
},
{
@@ -26568,7 +26546,7 @@
"docs": []
}
],
"index": 15,
"index": 14,
"docs": [
"Add accounts or websites to the list of unscrupulous items."
]
@@ -26583,9 +26561,9 @@
"docs": []
}
],
"index": 16,
"index": 15,
"docs": [
"Deem an item no longer unscrupulous."
"Deem some items no longer unscrupulous."
]
},
{
@@ -26616,11 +26594,21 @@
"docs": []
}
],
"index": 17,
"index": 16,
"docs": [
"Close a vote that is either approved, disapproved, or whose voting period has ended.",
"",
"Requires the sender to be a founder or fellow."
"Must be called by a Fellow."
]
},
{
"name": "abdicate_fellow_status",
"fields": [],
"index": 17,
"docs": [
"Abdicate one's position as a voting member and just be an Ally. May be used by Fellows",
"who do not want to leave the Alliance but do not have the capacity to participate",
"operationally for some time."
]
}
]
@@ -26644,7 +26632,7 @@
"composite": {
"fields": [
{
"name": "voting_members",
"name": "fellow_members",
"type": 127,
"typeName": "u32",
"docs": []
@@ -28724,12 +28712,6 @@
{
"name": "MembersInitialized",
"fields": [
{
"name": "founders",
"type": 79,
"typeName": "Vec<T::AccountId>",
"docs": []
},
{
"name": "fellows",
"type": 79,
@@ -28745,7 +28727,7 @@
],
"index": 3,
"docs": [
"Some accounts have been initialized as members (founders/fellows/allies)."
"Some accounts have been initialized as members (fellows/allies)."
]
},
{
@@ -28881,7 +28863,7 @@
"name": "AllianceDisbanded",
"fields": [
{
"name": "voting_members",
"name": "fellow_members",
"type": 4,
"typeName": "u32",
"docs": []
@@ -28903,6 +28885,21 @@
"docs": [
"Alliance disbanded. Includes number deleted members and unreserved deposits."
]
},
{
"name": "FellowAbdicated",
"fields": [
{
"name": "fellow",
"type": 0,
"typeName": "T::AccountId",
"docs": []
}
],
"index": 12,
"docs": [
"A Fellow abdicated their voting rights. They are now an Ally."
]
}
]
}
@@ -36051,7 +36048,7 @@
"docs": []
},
{
"name": "reentrant_count",
"name": "reentrance_count",
"type": 10,
"typeName": "u64",
"docs": []
@@ -36330,8 +36327,13 @@
"index": 28,
"docs": [
"The contract's code was found to be invalid during validation or instrumentation.",
"",
"The most likely cause of this is that an API was used which is not supported by the",
"node. This hapens if an older node is used with a new version of ink!. Try updating",
"your node to the newest available version.",
"",
"A more detailed error can be found on the node console if debug messages are enabled",
"or in the debug buffer which is returned to RPC clients."
"by supplying `-lruntime::contracts=debug`."
]
},
{
@@ -43334,27 +43336,21 @@
"variant": {
"variants": [
{
"name": "Founder",
"name": "Fellow",
"fields": [],
"index": 0,
"docs": []
},
{
"name": "Fellow",
"name": "Ally",
"fields": [],
"index": 1,
"docs": []
},
{
"name": "Ally",
"fields": [],
"index": 2,
"docs": []
},
{
"name": "Retiring",
"fields": [],
"index": 3,
"index": 2,
"docs": []
}
]
@@ -43505,18 +43501,10 @@
"Account is not an ally."
]
},
{
"name": "NotFounder",
"fields": [],
"index": 5,
"docs": [
"Account is not a founder."
]
},
{
"name": "NoVotingRights",
"fields": [],
"index": 6,
"index": 5,
"docs": [
"Account does not have voting rights."
]
@@ -43524,7 +43512,7 @@
{
"name": "AlreadyElevated",
"fields": [],
"index": 7,
"index": 6,
"docs": [
"Account is already an elevated (fellow) member."
]
@@ -43532,7 +43520,7 @@
{
"name": "AlreadyUnscrupulous",
"fields": [],
"index": 8,
"index": 7,
"docs": [
"Item is already listed as unscrupulous."
]
@@ -43540,7 +43528,7 @@
{
"name": "AccountNonGrata",
"fields": [],
"index": 9,
"index": 8,
"docs": [
"Account has been deemed unscrupulous by the Alliance and is not welcome to join or be",
"nominated."
@@ -43549,7 +43537,7 @@
{
"name": "NotListedAsUnscrupulous",
"fields": [],
"index": 10,
"index": 9,
"docs": [
"Item has not been deemed unscrupulous."
]
@@ -43557,7 +43545,7 @@
{
"name": "TooManyUnscrupulousItems",
"fields": [],
"index": 11,
"index": 10,
"docs": [
"The number of unscrupulous items exceeds `MaxUnscrupulousItems`."
]
@@ -43565,7 +43553,7 @@
{
"name": "TooLongWebsiteUrl",
"fields": [],
"index": 12,
"index": 11,
"docs": [
"Length of website URL exceeds `MaxWebsiteUrlLength`."
]
@@ -43573,7 +43561,7 @@
{
"name": "InsufficientFunds",
"fields": [],
"index": 13,
"index": 12,
"docs": [
"Balance is insufficient for the required deposit."
]
@@ -43581,7 +43569,7 @@
{
"name": "WithoutIdentityDisplayAndWebsite",
"fields": [],
"index": 14,
"index": 13,
"docs": [
"The account's identity does not have display field and website field."
]
@@ -43589,7 +43577,7 @@
{
"name": "WithoutGoodIdentityJudgement",
"fields": [],
"index": 15,
"index": 14,
"docs": [
"The account's identity has no good judgement."
]
@@ -43597,23 +43585,15 @@
{
"name": "MissingProposalHash",
"fields": [],
"index": 16,
"index": 15,
"docs": [
"The proposal hash is not found."
]
},
{
"name": "NotVetoableProposal",
"fields": [],
"index": 17,
"docs": [
"The proposal is not vetoable."
]
},
{
"name": "MissingAnnouncement",
"fields": [],
"index": 18,
"index": 16,
"docs": [
"The announcement is not found."
]
@@ -43621,7 +43601,7 @@
{
"name": "TooManyMembers",
"fields": [],
"index": 19,
"index": 17,
"docs": [
"Number of members exceeds `MaxMembersCount`."
]
@@ -43629,7 +43609,7 @@
{
"name": "TooManyAnnouncements",
"fields": [],
"index": 20,
"index": 18,
"docs": [
"Number of announcements exceeds `MaxAnnouncementsCount`."
]
@@ -43637,7 +43617,7 @@
{
"name": "BadWitness",
"fields": [],
"index": 21,
"index": 19,
"docs": [
"Invalid witness data given."
]
@@ -43645,7 +43625,7 @@
{
"name": "AlreadyRetiring",
"fields": [],
"index": 22,
"index": 20,
"docs": [
"Account already gave retirement notice"
]
@@ -43653,7 +43633,7 @@
{
"name": "RetirementNoticeNotGiven",
"fields": [],
"index": 23,
"index": 21,
"docs": [
"Account did not give a retirement notice required to retire."
]
@@ -43661,17 +43641,17 @@
{
"name": "RetirementPeriodNotPassed",
"fields": [],
"index": 24,
"index": 22,
"docs": [
"Retirement period has not passed."
]
},
{
"name": "FoundersMissing",
"name": "FellowsMissing",
"fields": [],
"index": 25,
"index": 23,
"docs": [
"Founders must be provided to initialize the Alliance."
"Fellows must be provided to initialize the Alliance."
]
}
]