-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.MultiSigProposal.MultiSigProposal
api/entities/MultiSigProposal.MultiSigProposal
A proposal for a MultiSig transaction. This is a wrapper around an extrinsic that will be executed when the amount of approvals reaches the signature threshold set on the MultiSig Account
-
Entity
<UniqueIdentifiers
,HumanReadable
>↳
MultiSigProposal
- approve
- createdAt
- creator
- details
- exists
- isEqual
- reject
- toHuman
- votes
- generateUuid
- isUniqueIdentifiers
- unserialize
• id: BigNumber
api/entities/MultiSigProposal/index.ts:54
• multiSig: MultiSig
api/entities/MultiSigProposal/index.ts:53
• uuid: string
▸ approve(opts?
): Promise
<GenericPolymeshTransaction
<void
, void
>>
Approve this MultiSig proposal
Name | Type |
---|---|
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<void
, void
>>
Note
this method is of type NoArgsProcedureMethod, which means you can call approve.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
api/entities/MultiSigProposal/index.ts:98
▸ createdAt(): Promise
<null
| EventIdentifier
>
Retrieve the identifier data (block number, date and event index) of the event that was emitted when this MultiSig Proposal was created
Promise
<null
| EventIdentifier
>
Note
uses the middlewareV2
Note
there is a possibility that the data is not ready by the time it is requested. In that case, null
is returned
api/entities/MultiSigProposal/index.ts:351
▸ creator(): Promise
<null
| Account
>
Retrieve the account which created this MultiSig Proposal
Promise
<null
| Account
>
Note
uses the middlewareV2
Note
there is a possibility that the data is not ready by the time it is requested. In that case, null
is returned
api/entities/MultiSigProposal/index.ts:366
▸ details(): Promise
<MultiSigProposalDetails
>
Fetches the details of the Proposal. This includes the amount of approvals and rejections, the expiry, and details of the wrapped extrinsic
Promise
<MultiSigProposalDetails
>
api/entities/MultiSigProposal/index.ts:115
▸ exists(): Promise
<boolean
>
Determines whether this Proposal exists on chain
Promise
<boolean
>
api/entities/MultiSigProposal/index.ts:248
▸ isEqual(entity
): boolean
Determine whether this Entity is the same as another one
Name | Type |
---|---|
entity |
Entity <unknown , unknown > |
boolean
▸ reject(opts?
): Promise
<GenericPolymeshTransaction
<void
, void
>>
Reject this MultiSig proposal
Name | Type |
---|---|
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<void
, void
>>
Note
this method is of type NoArgsProcedureMethod, which means you can call reject.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
api/entities/MultiSigProposal/index.ts:108
▸ toHuman(): HumanReadable
Returns a human readable representation
api/entities/MultiSigProposal/index.ts:270
▸ votes(): Promise
<MultiSigProposalVote
[]>
Fetches the individual votes for this MultiSig proposal and their identifier data (block number, date and event index) of the event that was emitted when this MultiSig Proposal Vote was casted
Promise
<MultiSigProposalVote
[]>
Note
uses the middlewareV2
api/entities/MultiSigProposal/index.ts:287
▸ Static
generateUuid<Identifiers
>(identifiers
): string
Generate the Entity's UUID from its identifying properties
Name |
---|
Identifiers |
Name | Type |
---|---|
identifiers |
Identifiers |
string
▸ Static
isUniqueIdentifiers(identifiers
): boolean
Typeguard that checks whether the object passed corresponds to the unique identifiers of the class. Must be overridden
Name | Type | Description |
---|---|---|
identifiers |
unknown |
object to type check |
boolean
▸ Static
unserialize<Identifiers
>(serialized
): Identifiers
Unserialize a UUID into its Unique Identifiers
Name |
---|
Identifiers |
Name | Type | Description |
---|---|---|
serialized |
string |
UUID to unserialize |
Identifiers
Entities
- Account
- Asset
- Authorization Request
- Checkpoint
- Checkpoint Schedule
- Corporate Action
- Corporate Action Base
- Custom Permission Group
- Default Portfolio
- Default Trusted Claim Issuer
- Dividend Distribution
- Entity
- Identity
- Instruction
- Known Permission Group
- Metadata Entry
- Multi Sig Proposal
- Numbered Portfolio
- Offering
- Permission Group
- Portfolio
- Subsidies
- Subsidy
- Ticker Reservation
- Venue
- Authorizations
- Types