Function: ballotStampContent()
function ballotStampContent(ballot: Ballot): {
hash: string;
length: number;
mime: string;
};
Defined in: vote-core/src/anchor.ts:39 (opens in a new tab)
The content an OC Stamp over ballot carries (SPEC §4.6): the bytes ballot_id hashes.
ParametersLink to this section
| Parameter | Type |
|---|---|
ballot | Ballot |
ReturnsLink to this section
{
hash: string;
length: number;
mime: string;
}
| Name | Type | Defined in |
|---|---|---|
hash | string | vote-core/src/anchor.ts:39 (opens in a new tab) |
length | number | vote-core/src/anchor.ts:39 (opens in a new tab) |
mime | string | vote-core/src/anchor.ts:39 (opens in a new tab) |