Compare commits

..
6 Commits
Author SHA1 Message Date
github-actions[bot] 2da085afb8 [CI Skip] release/stable 9.9.2
skip-checks: true
2022-11-27 17:14:51 +00:00
Jaco 973cc13873 9.9.2 (#5355) 2022-11-27 19:07:02 +02:00
github-actions[bot] 61e5f91e5b [CI Skip] bump/beta 9.9.2-1-x
skip-checks: true
2022-11-27 15:25:35 +00:00
Jaco 8c52f050fe Bumnp Substrate metadata (#5354) 2022-11-27 17:15:23 +02:00
github-actions[bot] d1bf4402cf [CI Skip] bump/beta 9.9.2-0-x
skip-checks: true
2022-11-27 14:42:57 +00:00
Jaco d3eb1de49b Bump util (#5353) 2022-11-27 16:34:07 +02:00
44 changed files with 614 additions and 630 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## 9.9.2 Nov 27, 2022
Changes:
- Update to latest Polkadot, Kusama & Substrate metadata
## 9.9.1 Nov 20, 2022
Changes:
+1 -1
View File
@@ -1,4 +1,4 @@
3287 Jaco 9.9.1 (#5349)
3290 Jaco 9.9.2 (#5355)
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
37 Keith Ingram Update contract types and rpc (#4541)
35 Stefanie Doll Updated child storage parameters (#1709)
+4 -4
View File
@@ -11,10 +11,10 @@
},
"sideEffects": false,
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"versions": {
"git": "9.9.1",
"npm": "9.9.1"
"git": "9.9.2",
"npm": "9.9.2"
},
"workspaces": [
"packages/*"
@@ -39,7 +39,7 @@
"@babel/core": "^7.20.2",
"@babel/register": "^7.18.9",
"@babel/runtime": "^7.20.1",
"@polkadot/dev": "^0.67.161",
"@polkadot/dev": "^0.67.163",
"@polkadot/typegen": "workspace:packages/typegen",
"@types/jest": "^29.2.3",
"copyfiles": "^2.4.1"
+8 -8
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/api-base": "9.9.1",
"@polkadot/rpc-augment": "9.9.1",
"@polkadot/types": "9.9.1",
"@polkadot/types-augment": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/util": "^10.1.13"
"@polkadot/api-base": "9.9.2",
"@polkadot/rpc-augment": "9.9.2",
"@polkadot/types": "9.9.2",
"@polkadot/types-augment": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.14"
},
"devDependencies": {
"@polkadot/types-support": "9.9.1"
"@polkadot/types-support": "9.9.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '9.9.2' };
+1 -2
View File
@@ -25,8 +25,7 @@ declare module '@polkadot/api-base/types/consts' {
**/
maxAnnouncementsCount: u32 & AugmentedConst<ApiType>;
/**
* 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.
**/
maxMembersCount: u32 & AugmentedConst<ApiType>;
/**
+8 -11
View File
@@ -46,9 +46,9 @@ declare module '@polkadot/api-base/types/errors' {
**/
BadWitness: AugmentedError<ApiType>;
/**
* Founders must be provided to initialize the Alliance.
* Fellows must be provided to initialize the Alliance.
**/
FoundersMissing: AugmentedError<ApiType>;
FellowsMissing: AugmentedError<ApiType>;
/**
* Balance is insufficient for the required deposit.
**/
@@ -65,10 +65,6 @@ declare module '@polkadot/api-base/types/errors' {
* Account is not an ally.
**/
NotAlly: AugmentedError<ApiType>;
/**
* Account is not a founder.
**/
NotFounder: AugmentedError<ApiType>;
/**
* Item has not been deemed unscrupulous.
**/
@@ -77,10 +73,6 @@ declare module '@polkadot/api-base/types/errors' {
* Account is not a member.
**/
NotMember: AugmentedError<ApiType>;
/**
* The proposal is not vetoable.
**/
NotVetoableProposal: AugmentedError<ApiType>;
/**
* Account does not have voting rights.
**/
@@ -427,8 +419,13 @@ declare module '@polkadot/api-base/types/errors' {
CodeNotFound: AugmentedError<ApiType>;
/**
* 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`.
**/
CodeRejected: AugmentedError<ApiType>;
/**
+7 -3
View File
@@ -19,7 +19,7 @@ declare module '@polkadot/api-base/types/events' {
/**
* Alliance disbanded. Includes number deleted members and unreserved deposits.
**/
AllianceDisbanded: AugmentedEvent<ApiType, [votingMembers: u32, allyMembers: u32, unreserved: u32], { votingMembers: u32, allyMembers: u32, unreserved: u32 }>;
AllianceDisbanded: AugmentedEvent<ApiType, [fellowMembers: u32, allyMembers: u32, unreserved: u32], { fellowMembers: u32, allyMembers: u32, unreserved: u32 }>;
/**
* An ally has been elevated to Fellow.
**/
@@ -32,6 +32,10 @@ declare module '@polkadot/api-base/types/events' {
* An on-chain announcement has been removed.
**/
AnnouncementRemoved: AugmentedEvent<ApiType, [announcement: PalletAllianceCid], { announcement: PalletAllianceCid }>;
/**
* A Fellow abdicated their voting rights. They are now an Ally.
**/
FellowAbdicated: AugmentedEvent<ApiType, [fellow: AccountId32], { fellow: AccountId32 }>;
/**
* A member has been kicked out with its deposit slashed.
**/
@@ -45,9 +49,9 @@ declare module '@polkadot/api-base/types/events' {
**/
MemberRetirementPeriodStarted: AugmentedEvent<ApiType, [member: AccountId32], { member: AccountId32 }>;
/**
* Some accounts have been initialized as members (founders/fellows/allies).
* Some accounts have been initialized as members (fellows/allies).
**/
MembersInitialized: AugmentedEvent<ApiType, [founders: Vec<AccountId32>, fellows: Vec<AccountId32>, allies: Vec<AccountId32>], { founders: Vec<AccountId32>, fellows: Vec<AccountId32>, allies: Vec<AccountId32> }>;
MembersInitialized: AugmentedEvent<ApiType, [fellows: Vec<AccountId32>, allies: Vec<AccountId32>], { fellows: Vec<AccountId32>, allies: Vec<AccountId32> }>;
/**
* An account has been added as an Ally and reserved its deposit.
**/
+2 -4
View File
@@ -30,7 +30,7 @@ declare module '@polkadot/api-base/types/storage' {
/**
* Maps member type to members of each type.
**/
members: AugmentedQuery<ApiType, (arg: PalletAllianceMemberRole | 'Founder' | 'Fellow' | 'Ally' | 'Retiring' | number | Uint8Array) => Observable<Vec<AccountId32>>, [PalletAllianceMemberRole]> & QueryableStorageEntry<ApiType, [PalletAllianceMemberRole]>;
members: AugmentedQuery<ApiType, (arg: PalletAllianceMemberRole | 'Fellow' | 'Ally' | 'Retiring' | number | Uint8Array) => Observable<Vec<AccountId32>>, [PalletAllianceMemberRole]> & QueryableStorageEntry<ApiType, [PalletAllianceMemberRole]>;
/**
* A set of members who gave a retirement notice. They can retire after the end of retirement
* period stored as a future block number.
@@ -38,9 +38,7 @@ declare module '@polkadot/api-base/types/storage' {
retiringMembers: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
/**
* 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.
**/
rule: AugmentedQuery<ApiType, () => Observable<Option<PalletAllianceCid>>, []> & QueryableStorageEntry<ApiType, []>;
/**
+24 -23
View File
@@ -19,6 +19,12 @@ export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = Submittab
declare module '@polkadot/api-base/types/submittable' {
interface AugmentedSubmittables<ApiType extends ApiTypes> {
alliance: {
/**
* 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.
**/
abdicateFellowStatus: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Add accounts or websites to the list of unscrupulous items.
**/
@@ -30,13 +36,13 @@ declare module '@polkadot/api-base/types/submittable' {
/**
* 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.
**/
close: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, SpWeightsWeightV2Weight, Compact<u32>]>;
/**
* 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.
**/
closeOldWeight: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, proposalWeightBound: Compact<u64> | AnyNumber | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, Compact<u64>, Compact<u32>]>;
/**
@@ -44,9 +50,9 @@ declare module '@polkadot/api-base/types/submittable' {
*
* Witness data must be set.
**/
disband: AugmentedSubmittable<(witness: PalletAllianceDisbandWitness | { votingMembers?: any; allyMembers?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceDisbandWitness]>;
disband: AugmentedSubmittable<(witness: PalletAllianceDisbandWitness | { fellowMembers?: any; allyMembers?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceDisbandWitness]>;
/**
* Elevate an ally to fellow.
* Elevate an Ally to Fellow.
**/
elevateAlly: AugmentedSubmittable<(ally: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
@@ -55,30 +61,30 @@ declare module '@polkadot/api-base/types/submittable' {
**/
giveRetirementNotice: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* 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.
**/
initMembers: AugmentedSubmittable<(founders: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>, Vec<AccountId32>]>;
initMembers: AugmentedSubmittable<(fellows: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], allies: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Vec<AccountId32>]>;
/**
* Submit oneself for candidacy. A fixed deposit is reserved.
**/
joinAlliance: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Kick a member from the alliance and slash its deposit.
* Kick a member from the Alliance and slash its deposit.
**/
kickMember: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* 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.
**/
nominateAlly: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
/**
* Add a new proposal to be voted on.
*
* Requires the sender to be a founder or fellow.
* Must be called by a Fellow.
**/
propose: AugmentedSubmittable<(threshold: Compact<u32> | AnyNumber | Uint8Array, proposal: Call | IMethod | string | Uint8Array, lengthBound: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Call, Compact<u32>]>;
/**
@@ -86,29 +92,24 @@ declare module '@polkadot/api-base/types/submittable' {
**/
removeAnnouncement: AugmentedSubmittable<(announcement: PalletAllianceCid | { version?: any; codec?: any; hash_?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceCid]>;
/**
* Deem an item no longer unscrupulous.
* Deem some items no longer unscrupulous.
**/
removeUnscrupulousItems: AugmentedSubmittable<(items: Vec<PalletAllianceUnscrupulousItem> | (PalletAllianceUnscrupulousItem | { AccountId: any } | { Website: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<PalletAllianceUnscrupulousItem>]>;
/**
* 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.
**/
retire: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
/**
* Set a new IPFS CID to the alliance rule.
**/
setRule: AugmentedSubmittable<(rule: PalletAllianceCid | { version?: any; codec?: any; hash_?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletAllianceCid]>;
/**
* 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.
**/
veto: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/**
* Add an aye or nay vote for the sender to the given proposal.
*
* Requires the sender to be a founder or fellow.
* Must be called by a Fellow.
**/
vote: AugmentedSubmittable<(proposal: H256 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, Compact<u32>, bool]>;
/**
+4 -4
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/rpc-core": "9.9.1",
"@polkadot/types": "9.9.1",
"@polkadot/util": "^10.1.13",
"@polkadot/rpc-core": "9.9.2",
"@polkadot/types": "9.9.2",
"@polkadot/util": "^10.1.14",
"rxjs": "^7.5.7"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '9.9.2' };
+9 -9
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/api": "9.9.1",
"@polkadot/types": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/types-create": "9.9.1",
"@polkadot/util": "^10.1.13",
"@polkadot/util-crypto": "^10.1.13",
"@polkadot/api": "9.9.2",
"@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.9.2",
"@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.14",
"rxjs": "^7.5.7"
},
"devDependencies": {
"@polkadot/api-augment": "9.9.1",
"@polkadot/keyring": "^10.1.13"
"@polkadot/api-augment": "9.9.2",
"@polkadot/keyring": "^10.1.14"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '9.9.2' };
+14 -14
View File
@@ -20,25 +20,25 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/api": "9.9.1",
"@polkadot/api-augment": "9.9.1",
"@polkadot/api-base": "9.9.1",
"@polkadot/rpc-core": "9.9.1",
"@polkadot/types": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/util": "^10.1.13",
"@polkadot/util-crypto": "^10.1.13",
"@polkadot/api": "9.9.2",
"@polkadot/api-augment": "9.9.2",
"@polkadot/api-base": "9.9.2",
"@polkadot/rpc-core": "9.9.2",
"@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.14",
"rxjs": "^7.5.7"
},
"devDependencies": {
"@polkadot/api": "9.9.1",
"@polkadot/api-augment": "9.9.1",
"@polkadot/rpc-augment": "9.9.1",
"@polkadot/rpc-provider": "9.9.1",
"@polkadot/types-support": "9.9.1"
"@polkadot/api": "9.9.2",
"@polkadot/api-augment": "9.9.2",
"@polkadot/rpc-augment": "9.9.2",
"@polkadot/rpc-provider": "9.9.2",
"@polkadot/types-support": "9.9.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '9.9.2' };
+17 -17
View File
@@ -20,29 +20,29 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/api-augment": "9.9.1",
"@polkadot/api-base": "9.9.1",
"@polkadot/api-derive": "9.9.1",
"@polkadot/keyring": "^10.1.13",
"@polkadot/rpc-augment": "9.9.1",
"@polkadot/rpc-core": "9.9.1",
"@polkadot/rpc-provider": "9.9.1",
"@polkadot/types": "9.9.1",
"@polkadot/types-augment": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/types-create": "9.9.1",
"@polkadot/types-known": "9.9.1",
"@polkadot/util": "^10.1.13",
"@polkadot/util-crypto": "^10.1.13",
"@polkadot/api-augment": "9.9.2",
"@polkadot/api-base": "9.9.2",
"@polkadot/api-derive": "9.9.2",
"@polkadot/keyring": "^10.1.14",
"@polkadot/rpc-augment": "9.9.2",
"@polkadot/rpc-core": "9.9.2",
"@polkadot/rpc-provider": "9.9.2",
"@polkadot/types": "9.9.2",
"@polkadot/types-augment": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.9.2",
"@polkadot/types-known": "9.9.2",
"@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.14",
"eventemitter3": "^4.0.7",
"rxjs": "^7.5.7"
},
"devDependencies": {
"@polkadot/api-augment": "9.9.1",
"@polkadot/types-support": "9.9.1"
"@polkadot/api-augment": "9.9.2",
"@polkadot/types-support": "9.9.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '9.9.2' };
+5 -5
View File
@@ -20,13 +20,13 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/rpc-core": "9.9.1",
"@polkadot/types": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/util": "^10.1.13"
"@polkadot/rpc-core": "9.9.2",
"@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.14"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '9.9.2' };
+7 -7
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/rpc-augment": "9.9.1",
"@polkadot/rpc-provider": "9.9.1",
"@polkadot/types": "9.9.1",
"@polkadot/util": "^10.1.13",
"@polkadot/rpc-augment": "9.9.2",
"@polkadot/rpc-provider": "9.9.2",
"@polkadot/types": "9.9.2",
"@polkadot/util": "^10.1.14",
"rxjs": "^7.5.7"
},
"devDependencies": {
"@polkadot/keyring": "^10.1.13",
"@polkadot/rpc-augment": "9.9.1"
"@polkadot/keyring": "^10.1.14",
"@polkadot/rpc-augment": "9.9.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '9.9.2' };
+9 -9
View File
@@ -20,18 +20,18 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/keyring": "^10.1.13",
"@polkadot/types": "9.9.1",
"@polkadot/types-support": "9.9.1",
"@polkadot/util": "^10.1.13",
"@polkadot/util-crypto": "^10.1.13",
"@polkadot/x-fetch": "^10.1.13",
"@polkadot/x-global": "^10.1.13",
"@polkadot/x-ws": "^10.1.13",
"@polkadot/keyring": "^10.1.14",
"@polkadot/types": "9.9.2",
"@polkadot/types-support": "9.9.2",
"@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.14",
"@polkadot/x-fetch": "^10.1.14",
"@polkadot/x-global": "^10.1.14",
"@polkadot/x-ws": "^10.1.14",
"@substrate/connect": "0.7.17",
"eventemitter3": "^4.0.7",
"mock-socket": "^9.1.5",
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '9.9.2' };
+14 -14
View File
@@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"bin": {
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.cjs",
@@ -33,24 +33,24 @@
"@babel/core": "^7.20.2",
"@babel/register": "^7.18.9",
"@babel/runtime": "^7.20.1",
"@polkadot/api": "9.9.1",
"@polkadot/api-augment": "9.9.1",
"@polkadot/rpc-augment": "9.9.1",
"@polkadot/rpc-provider": "9.9.1",
"@polkadot/types": "9.9.1",
"@polkadot/types-augment": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/types-create": "9.9.1",
"@polkadot/types-support": "9.9.1",
"@polkadot/util": "^10.1.13",
"@polkadot/util-crypto": "^10.1.13",
"@polkadot/x-ws": "^10.1.13",
"@polkadot/api": "9.9.2",
"@polkadot/api-augment": "9.9.2",
"@polkadot/rpc-augment": "9.9.2",
"@polkadot/rpc-provider": "9.9.2",
"@polkadot/types": "9.9.2",
"@polkadot/types-augment": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.9.2",
"@polkadot/types-support": "9.9.2",
"@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.14",
"@polkadot/x-ws": "^10.1.14",
"handlebars": "^4.7.7",
"websocket": "^1.0.34",
"yargs": "^17.6.2"
},
"devDependencies": {
"@types/websocket": "^1.0.5",
"@types/yargs": "^17.0.13"
"@types/yargs": "^17.0.14"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '9.9.2' };
+4 -4
View File
@@ -20,12 +20,12 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/types": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/util": "^10.1.13"
"@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.14"
}
}
+12 -13
View File
@@ -3504,9 +3504,6 @@ export default {
index: 'Compact<u32>',
approve: 'bool',
},
veto: {
proposalHash: 'H256',
},
close_old_weight: {
proposalHash: 'H256',
index: 'Compact<u32>',
@@ -3514,7 +3511,6 @@ export default {
lengthBound: 'Compact<u32>',
},
init_members: {
founders: 'Vec<AccountId32>',
fellows: 'Vec<AccountId32>',
allies: 'Vec<AccountId32>',
},
@@ -3552,15 +3548,16 @@ export default {
proposalHash: 'H256',
index: 'Compact<u32>',
proposalWeightBound: 'SpWeightsWeightV2Weight',
lengthBound: 'Compact<u32>'
}
lengthBound: 'Compact<u32>',
},
abdicate_fellow_status: 'Null'
}
},
/**
* Lookup330: pallet_alliance::types::DisbandWitness
**/
PalletAllianceDisbandWitness: {
votingMembers: 'Compact<u32>',
fellowMembers: 'Compact<u32>',
allyMembers: 'Compact<u32>'
},
/**
@@ -3823,7 +3820,6 @@ export default {
announcement: 'PalletAllianceCid',
},
MembersInitialized: {
founders: 'Vec<AccountId32>',
fellows: 'Vec<AccountId32>',
allies: 'Vec<AccountId32>',
},
@@ -3853,9 +3849,12 @@ export default {
items: 'Vec<PalletAllianceUnscrupulousItem>',
},
AllianceDisbanded: {
votingMembers: 'u32',
fellowMembers: 'u32',
allyMembers: 'u32',
unreserved: 'u32'
unreserved: 'u32',
},
FellowAbdicated: {
fellow: 'AccountId32'
}
}
},
@@ -4653,7 +4652,7 @@ export default {
hashBlake2128PerByte: 'u64',
ecdsaRecover: 'u64',
ecdsaToEthAddress: 'u64',
reentrantCount: 'u64',
reentranceCount: 'u64',
accountReentranceCount: 'u64'
},
/**
@@ -5301,13 +5300,13 @@ export default {
* Lookup648: pallet_alliance::MemberRole
**/
PalletAllianceMemberRole: {
_enum: ['Founder', 'Fellow', 'Ally', 'Retiring']
_enum: ['Fellow', 'Ally', 'Retiring']
},
/**
* Lookup652: pallet_alliance::pallet::Error<T, I>
**/
PalletAllianceError: {
_enum: ['AllianceNotYetInitialized', 'AllianceAlreadyInitialized', 'AlreadyMember', 'NotMember', 'NotAlly', 'NotFounder', 'NoVotingRights', 'AlreadyElevated', 'AlreadyUnscrupulous', 'AccountNonGrata', 'NotListedAsUnscrupulous', 'TooManyUnscrupulousItems', 'TooLongWebsiteUrl', 'InsufficientFunds', 'WithoutIdentityDisplayAndWebsite', 'WithoutGoodIdentityJudgement', 'MissingProposalHash', 'NotVetoableProposal', 'MissingAnnouncement', 'TooManyMembers', 'TooManyAnnouncements', 'BadWitness', 'AlreadyRetiring', 'RetirementNoticeNotGiven', 'RetirementPeriodNotPassed', 'FoundersMissing']
_enum: ['AllianceNotYetInitialized', 'AllianceAlreadyInitialized', 'AlreadyMember', 'NotMember', 'NotAlly', 'NoVotingRights', 'AlreadyElevated', 'AlreadyUnscrupulous', 'AccountNonGrata', 'NotListedAsUnscrupulous', 'TooManyUnscrupulousItems', 'TooLongWebsiteUrl', 'InsufficientFunds', 'WithoutIdentityDisplayAndWebsite', 'WithoutGoodIdentityJudgement', 'MissingProposalHash', 'MissingAnnouncement', 'TooManyMembers', 'TooManyAnnouncements', 'BadWitness', 'AlreadyRetiring', 'RetirementNoticeNotGiven', 'RetirementPeriodNotPassed', 'FellowsMissing']
},
/**
* Lookup653: pallet_nomination_pools::PoolMember<T>
@@ -3752,10 +3752,6 @@ declare module '@polkadot/types/lookup' {
readonly index: Compact<u32>;
readonly approve: bool;
} & Struct;
readonly isVeto: boolean;
readonly asVeto: {
readonly proposalHash: H256;
} & Struct;
readonly isCloseOldWeight: boolean;
readonly asCloseOldWeight: {
readonly proposalHash: H256;
@@ -3765,7 +3761,6 @@ declare module '@polkadot/types/lookup' {
} & Struct;
readonly isInitMembers: boolean;
readonly asInitMembers: {
readonly founders: Vec<AccountId32>;
readonly fellows: Vec<AccountId32>;
readonly allies: Vec<AccountId32>;
} & Struct;
@@ -3815,12 +3810,13 @@ declare module '@polkadot/types/lookup' {
readonly proposalWeightBound: SpWeightsWeightV2Weight;
readonly lengthBound: Compact<u32>;
} & Struct;
readonly type: 'Propose' | 'Vote' | 'Veto' | 'CloseOldWeight' | 'InitMembers' | 'Disband' | 'SetRule' | 'Announce' | 'RemoveAnnouncement' | 'JoinAlliance' | 'NominateAlly' | 'ElevateAlly' | 'GiveRetirementNotice' | 'Retire' | 'KickMember' | 'AddUnscrupulousItems' | 'RemoveUnscrupulousItems' | 'Close';
readonly isAbdicateFellowStatus: boolean;
readonly type: 'Propose' | 'Vote' | 'CloseOldWeight' | 'InitMembers' | 'Disband' | 'SetRule' | 'Announce' | 'RemoveAnnouncement' | 'JoinAlliance' | 'NominateAlly' | 'ElevateAlly' | 'GiveRetirementNotice' | 'Retire' | 'KickMember' | 'AddUnscrupulousItems' | 'RemoveUnscrupulousItems' | 'Close' | 'AbdicateFellowStatus';
}
/** @name PalletAllianceDisbandWitness (330) */
interface PalletAllianceDisbandWitness extends Struct {
readonly votingMembers: Compact<u32>;
readonly fellowMembers: Compact<u32>;
readonly allyMembers: Compact<u32>;
}
@@ -4090,7 +4086,6 @@ declare module '@polkadot/types/lookup' {
} & Struct;
readonly isMembersInitialized: boolean;
readonly asMembersInitialized: {
readonly founders: Vec<AccountId32>;
readonly fellows: Vec<AccountId32>;
readonly allies: Vec<AccountId32>;
} & Struct;
@@ -4128,11 +4123,15 @@ declare module '@polkadot/types/lookup' {
} & Struct;
readonly isAllianceDisbanded: boolean;
readonly asAllianceDisbanded: {
readonly votingMembers: u32;
readonly fellowMembers: u32;
readonly allyMembers: u32;
readonly unreserved: u32;
} & Struct;
readonly type: 'NewRuleSet' | 'Announced' | 'AnnouncementRemoved' | 'MembersInitialized' | 'NewAllyJoined' | 'AllyElevated' | 'MemberRetirementPeriodStarted' | 'MemberRetired' | 'MemberKicked' | 'UnscrupulousItemAdded' | 'UnscrupulousItemRemoved' | 'AllianceDisbanded';
readonly isFellowAbdicated: boolean;
readonly asFellowAbdicated: {
readonly fellow: AccountId32;
} & Struct;
readonly type: 'NewRuleSet' | 'Announced' | 'AnnouncementRemoved' | 'MembersInitialized' | 'NewAllyJoined' | 'AllyElevated' | 'MemberRetirementPeriodStarted' | 'MemberRetired' | 'MemberKicked' | 'UnscrupulousItemAdded' | 'UnscrupulousItemRemoved' | 'AllianceDisbanded' | 'FellowAbdicated';
}
/** @name PalletNominationPoolsEvent (358) */
@@ -5030,7 +5029,7 @@ declare module '@polkadot/types/lookup' {
readonly hashBlake2128PerByte: u64;
readonly ecdsaRecover: u64;
readonly ecdsaToEthAddress: u64;
readonly reentrantCount: u64;
readonly reentranceCount: u64;
readonly accountReentranceCount: u64;
}
@@ -5866,11 +5865,10 @@ declare module '@polkadot/types/lookup' {
/** @name PalletAllianceMemberRole (648) */
interface PalletAllianceMemberRole extends Enum {
readonly isFounder: boolean;
readonly isFellow: boolean;
readonly isAlly: boolean;
readonly isRetiring: boolean;
readonly type: 'Founder' | 'Fellow' | 'Ally' | 'Retiring';
readonly type: 'Fellow' | 'Ally' | 'Retiring';
}
/** @name PalletAllianceError (652) */
@@ -5880,7 +5878,6 @@ declare module '@polkadot/types/lookup' {
readonly isAlreadyMember: boolean;
readonly isNotMember: boolean;
readonly isNotAlly: boolean;
readonly isNotFounder: boolean;
readonly isNoVotingRights: boolean;
readonly isAlreadyElevated: boolean;
readonly isAlreadyUnscrupulous: boolean;
@@ -5892,7 +5889,6 @@ declare module '@polkadot/types/lookup' {
readonly isWithoutIdentityDisplayAndWebsite: boolean;
readonly isWithoutGoodIdentityJudgement: boolean;
readonly isMissingProposalHash: boolean;
readonly isNotVetoableProposal: boolean;
readonly isMissingAnnouncement: boolean;
readonly isTooManyMembers: boolean;
readonly isTooManyAnnouncements: boolean;
@@ -5900,8 +5896,8 @@ declare module '@polkadot/types/lookup' {
readonly isAlreadyRetiring: boolean;
readonly isRetirementNoticeNotGiven: boolean;
readonly isRetirementPeriodNotPassed: boolean;
readonly isFoundersMissing: boolean;
readonly type: 'AllianceNotYetInitialized' | 'AllianceAlreadyInitialized' | 'AlreadyMember' | 'NotMember' | 'NotAlly' | 'NotFounder' | 'NoVotingRights' | 'AlreadyElevated' | 'AlreadyUnscrupulous' | 'AccountNonGrata' | 'NotListedAsUnscrupulous' | 'TooManyUnscrupulousItems' | 'TooLongWebsiteUrl' | 'InsufficientFunds' | 'WithoutIdentityDisplayAndWebsite' | 'WithoutGoodIdentityJudgement' | 'MissingProposalHash' | 'NotVetoableProposal' | 'MissingAnnouncement' | 'TooManyMembers' | 'TooManyAnnouncements' | 'BadWitness' | 'AlreadyRetiring' | 'RetirementNoticeNotGiven' | 'RetirementPeriodNotPassed' | 'FoundersMissing';
readonly isFellowsMissing: boolean;
readonly type: 'AllianceNotYetInitialized' | 'AllianceAlreadyInitialized' | 'AlreadyMember' | 'NotMember' | 'NotAlly' | 'NoVotingRights' | 'AlreadyElevated' | 'AlreadyUnscrupulous' | 'AccountNonGrata' | 'NotListedAsUnscrupulous' | 'TooManyUnscrupulousItems' | 'TooLongWebsiteUrl' | 'InsufficientFunds' | 'WithoutIdentityDisplayAndWebsite' | 'WithoutGoodIdentityJudgement' | 'MissingProposalHash' | 'MissingAnnouncement' | 'TooManyMembers' | 'TooManyAnnouncements' | 'BadWitness' | 'AlreadyRetiring' | 'RetirementNoticeNotGiven' | 'RetirementPeriodNotPassed' | 'FellowsMissing';
}
/** @name PalletNominationPoolsPoolMember (653) */
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '9.9.2' };
+7 -7
View File
@@ -20,17 +20,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/util": "^10.1.13",
"@polkadot/x-bigint": "^10.1.13"
"@polkadot/util": "^10.1.14",
"@polkadot/x-bigint": "^10.1.14"
},
"devDependencies": {
"@polkadot/types": "9.9.1",
"@polkadot/types-augment": "9.9.1",
"@polkadot/types-support": "9.9.1",
"@polkadot/util-crypto": "^10.1.13"
"@polkadot/types": "9.9.2",
"@polkadot/types-augment": "9.9.2",
"@polkadot/types-support": "9.9.2",
"@polkadot/util-crypto": "^10.1.14"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '9.9.2' };
+4 -4
View File
@@ -20,14 +20,14 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/util": "^10.1.13"
"@polkadot/types-codec": "9.9.2",
"@polkadot/util": "^10.1.14"
},
"devDependencies": {
"@polkadot/types": "9.9.1"
"@polkadot/types": "9.9.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '9.9.2' };
+7 -7
View File
@@ -20,17 +20,17 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/networks": "^10.1.13",
"@polkadot/types": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/types-create": "9.9.1",
"@polkadot/util": "^10.1.13"
"@polkadot/networks": "^10.1.14",
"@polkadot/types": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.9.2",
"@polkadot/util": "^10.1.14"
},
"devDependencies": {
"@polkadot/api": "9.9.1"
"@polkadot/api": "9.9.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '9.9.2' };
+2 -2
View File
@@ -20,10 +20,10 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/util": "^10.1.13"
"@polkadot/util": "^10.1.14"
}
}
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."
]
}
]
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '9.9.2' };
+9 -9
View File
@@ -20,20 +20,20 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "9.9.1",
"version": "9.9.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.20.1",
"@polkadot/keyring": "^10.1.13",
"@polkadot/types-augment": "9.9.1",
"@polkadot/types-codec": "9.9.1",
"@polkadot/types-create": "9.9.1",
"@polkadot/util": "^10.1.13",
"@polkadot/util-crypto": "^10.1.13",
"@polkadot/keyring": "^10.1.14",
"@polkadot/types-augment": "9.9.2",
"@polkadot/types-codec": "9.9.2",
"@polkadot/types-create": "9.9.2",
"@polkadot/util": "^10.1.14",
"@polkadot/util-crypto": "^10.1.14",
"rxjs": "^7.5.7"
},
"devDependencies": {
"@polkadot/keyring": "^10.1.13",
"@polkadot/types-support": "9.9.1"
"@polkadot/keyring": "^10.1.14",
"@polkadot/types-support": "9.9.2"
}
}
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.9.1' };
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '9.9.2' };
+306 -300
View File
File diff suppressed because it is too large Load Diff