@leofcoin/standards 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/exports/public-voting.js
CHANGED
|
@@ -17,6 +17,9 @@ export default class TokenReceiver extends PublicVoting implements IPublicVoting
|
|
|
17
17
|
tokenToReceive: string;
|
|
18
18
|
tokenAmountToReceive: import("@ethersproject/bignumber").BigNumber;
|
|
19
19
|
voteType: "burn" | "transfer";
|
|
20
|
+
votes: {
|
|
21
|
+
[id: string]: import("./voting/types.js").Vote;
|
|
22
|
+
};
|
|
20
23
|
votingDisabled: boolean;
|
|
21
24
|
votingDuration: number;
|
|
22
25
|
contractCreator: string;
|
|
@@ -9,6 +9,9 @@ export default class Voting extends ContractCreator {
|
|
|
9
9
|
get votingDuration(): number;
|
|
10
10
|
get votingDisabled(): boolean;
|
|
11
11
|
get state(): {
|
|
12
|
+
votes: {
|
|
13
|
+
[id: string]: Vote;
|
|
14
|
+
};
|
|
12
15
|
votingDisabled: boolean;
|
|
13
16
|
votingDuration: number;
|
|
14
17
|
contractCreator: string;
|
package/package.json
CHANGED