-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Asset.Fungible.CorporateActions.Ballots.Ballots
api/entities/Asset/Fungible/CorporateActions/Ballots.Ballots
Handles all Asset Ballots related functionality
-
Namespace
<FungibleAsset
>↳
Ballots
▸ create(args
, opts?
): Promise
<GenericPolymeshTransaction
<CorporateBallotWithDetails
, CorporateBallotWithDetails
>>
Create a Ballot for an Asset
Name | Type |
---|---|
args |
CreateBallotParams |
opts? |
ProcedureOpts |
Promise
<GenericPolymeshTransaction
<CorporateBallotWithDetails
, CorporateBallotWithDetails
>>
Note
this method is of type ProcedureMethod, which means you can call create.checkAuthorization on it to see whether the signing Account and Identity have the required roles and permissions to run it
api/entities/Asset/Fungible/CorporateActions/Ballots.ts:29
▸ get(): Promise
<CorporateBallotWithDetails
[]>
Retrieve all Ballots associated to this Asset
Promise
<CorporateBallotWithDetails
[]>
api/entities/Asset/Fungible/CorporateActions/Ballots.ts:78
▸ getOne(args
): Promise
<CorporateBallotWithDetails
>
Retrieve a single Ballot associated to this Asset by its ID
Name | Type |
---|---|
args |
Object |
args.id |
BigNumber |
Promise
<CorporateBallotWithDetails
>
Throws
if there is no Ballot assigned to the provided Corporate Action with the passed ID
Throws
if the provided Corporate Action does not exist
Entities
- Account
- Asset
- Authorization Request
- Checkpoint
- Checkpoint Schedule
- Corporate Action
- Corporate Action Base
- Corporate Ballot
- 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