v16.0.0-alpha.1
Pre-release
Pre-release
polymesh-bot
released this
13 Sep 19:08
·
12 commits
to alpha
since this release
16.0.0-alpha.1 (2024-09-13)
Features
- 🎸 Add
assetId
attribute toScope
json (9963bfa) - 🎸 Add
offeringAssetId
,raisingAssetId
to Investment (96f08df) - 🎸 add failure reason for instructions (5e06516)
- 🎸 Add support for 7.x chain (6510765)
- 🎸 Add support for latest multisig changes for 7.x chain (ce4c00f)
- 🎸 add ticker fields for dual version support (fee5c84)
- 🎸 ensure one vote per signer for multiSig proposals (4a7e67f)
- 🎸 Make
venue
as optional inInstruction
entity (709b400) - 🎸 Populate multisig admins in genesis handler (c4cabd4)
- 🎸 Revamp settlements related entities (4953428)
BREAKING CHANGES
- 🧨 Changes to support multisig with 7.x chain
- A new
MultiSigAdmin
entity has been added to track admins for a multisig.
This also results in a new derived attributeadmins
to be added totMultiSig
entity. - New
Approved
status has been added toMultiSigProposalStatusEnum
- Both
creator
andcreatorAccount
fields inMultiSigProposal
are now optional.
- 🧨 Since 7.x chain, Instruction can be created
without specifying a venue. To support thatvenue
attribute
inInstruction
entity has been made optional. - 🧨 New attribute
assetId
has been added toScope
json to track the ID of the asset forAsset
scope type - 🧨 New attributes
raisingAssetId
andofferingAssetId
of type string have been added to theInvestment
entity to track
the asset ID for the respective type of assets (raising and offering). - 🧨 Changes to support ticker fields -
- A new attribute
raisingTicker
of type string has been added toSto
entity.
This will track ticker value for the raising Asset associated with an Sto. ticker: String
attribute of theClaimScope
entity has been replaced
byasset: Asset
to have a mapping to asset entity.AssetPendingOwnershipTransfer
entity has been removed
- 🧨 Changes to support 7.x chain:
- New module
electionprovidermultiphase
has been added toModuleIdEnum
- Following new events have been added to
EventIdEnum
:
MultiSigAddedAdmin
,MultiSigRemovedAdmin
,MultiSigRemovedPayingDid
,
MultiSigSignersAuthorized
,MultiSigSignersRemoved
,MultiSigSignersRequiredChanged
,
ProposalApprovalVote
,TickerLinkedToAsset
,Chilled
,EraPaid
,ForceEra
,Kicked
,
PayoutStarted
,SlashReported
,StakersElected
,ValidatorPrefsSet
,ElectionFailed
,
ElectionFinalized
,PhaseTransitioned
,Rewarded
,Slashed
. - Following new extrinsics have been added to
CallIdEnum
:
add_admin
,add_multisig_signers
,add_multisig_signers_via_admin
,approve
,
approve_join_identity
,change_sigs_required_via_admin
,create_proposal
,join_identity
,
reject
,remove_admin_via_admin
,remove_multisig_signers_via_admin
,
remove_multisig_signers
,remove_payer
,remove_payer_via_payer
,chill_other
,
force_apply_min_commission
,kick
,set_min_commission
,set_staking_configs
,
register_unique_ticker
,pre_approve_asset
,exempt_asset_affirmation
,
remove_asset_affirmation_exemption
,remove_asset_pre_approval
,link_ticker_to_asset_id
,
governance_fallback
,set_emergency_election_result
,set_minimum_untrusted_score
,
submit
,sumbit_unsigned
. - New handlers have been added to track the following events:
TickerLinkedToAsset
,MultiSigAdminAdded
,MultiSigRemovedAdmin
,
MultiSigSignersAuthorized
,MultiSigSignersRemoved
,ProposalApprovalVote
- ID of the
Asset
entity is the new Asset ID generated from chain 7.0.0 chain.
For older chains, legacy ticker format is used to generate the ID.
All referencing entities will now be tracking this ID for any given Asset.
To keep the old reference of ticker, new ticker attributes have been added to some
entities whereassetId
was referenced asstring
ticker
attribute ofAsset
entity is now optional.
- 🧨 Since some of the settlements related entities have been removed and new
ones have been added, this will require a full resync. Following are the breaking changes:
- Entities
Settlement
,MediatorAffirmation
,IdentityInstructions
have been removed - Changes in
Venue
entity- New attribute
signers
has been added to track all the allowed signers associated with them - New derived field
instructions: [Instruction]!
has been added to track instruction info
associated a Venue
- New attribute
- Adds new enum
InstructionTypeEnum
to track instruction type - Changes in
Instruction
entityeventId
,eventIdx
have been removedsettlementType: String!
has been modified totype: InstructionTypeEnum!
endAfterBlock: Int
has been added to track block after whichSettleManual
type
instructions can be executedmediators: [String!]!
has been added to track list of mediators for an instruction- New derived fields namely -
parties: [InstructionParty]!
,
affirmations: [InstructionAffirmation]!
,events: [InstructionEvent]!
have been added to
query more information about an instruction
- Changes in
Leg
entity- Attribute
settlement: Settlement
has been removed - Attribute
instruction
is now non-null - The
from
andto
part of the legs have been split separately into identity and
portfolio number to support off chain legs. The new attributes are
from: String!
,fromPortfolio: number
,to: String!
,toPortfolio: number
- Attribute
- Following new entities have been added:
InstructionParty
- to track all the DIDs associated with an instruction.InstructionAffirmation
- to track all the affirmations received for an instructionOffChainReceipt
- to track all the receipts used in affirming off chain legsInstructionEvent
- to track all the event associated with an instruction.
This will give a clear picture about the lifetime of an instruction on how it got created,
to affirming, to execution