@dfinity/nns 7.0.1 → 7.0.2-next-2024-11-14
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/LICENSE +1 -1
- package/README.md +53 -44
- package/dist/candid/genesis_token.did +1 -1
- package/dist/candid/governance.certified.idl.js +20 -12
- package/dist/candid/governance.d.ts +15 -8
- package/dist/candid/governance.did +17 -9
- package/dist/candid/governance.idl.js +20 -12
- package/dist/candid/governance_test.certified.idl.js +20 -12
- package/dist/candid/governance_test.d.ts +15 -8
- package/dist/candid/governance_test.did +17 -9
- package/dist/candid/governance_test.idl.js +20 -12
- package/dist/candid/old_list_neurons_service.certified.idl.js +59 -56
- package/dist/candid/sns_wasm.did +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +4 -4
- package/dist/esm/chunk-226TICS2.js +19 -0
- package/dist/esm/chunk-226TICS2.js.map +7 -0
- package/dist/esm/governance.canister.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +4 -4
- package/dist/types/governance.canister.d.ts +0 -16
- package/dist/types/types/governance_converters.d.ts +1 -0
- package/dist/types/utils/neurons.utils.d.ts +11 -0
- package/package.json +7 -7
- package/dist/esm/chunk-QAGO7B5R.js +0 -19
- package/dist/esm/chunk-QAGO7B5R.js.map +0 -7
|
@@ -59,9 +59,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
59
59
|
'SetDissolveTimestamp' : SetDissolveTimestamp,
|
|
60
60
|
});
|
|
61
61
|
const Configure = IDL.Record({ 'operation' : IDL.Opt(Operation) });
|
|
62
|
+
const ProposalId = IDL.Record({ 'id' : IDL.Nat64 });
|
|
62
63
|
const RegisterVote = IDL.Record({
|
|
63
64
|
'vote' : IDL.Int32,
|
|
64
|
-
'proposal' : IDL.Opt(
|
|
65
|
+
'proposal' : IDL.Opt(ProposalId),
|
|
65
66
|
});
|
|
66
67
|
const Merge = IDL.Record({ 'source_neuron_id' : IDL.Opt(NeuronId) });
|
|
67
68
|
const DisburseToNeuron = IDL.Record({
|
|
@@ -447,7 +448,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
447
448
|
'total_available_e8s_equivalent' : IDL.Nat64,
|
|
448
449
|
'latest_round_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
449
450
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
450
|
-
'settled_proposals' : IDL.Vec(
|
|
451
|
+
'settled_proposals' : IDL.Vec(ProposalId),
|
|
451
452
|
});
|
|
452
453
|
const NeuronStakeTransfer = IDL.Record({
|
|
453
454
|
'to_subaccount' : IDL.Vec(IDL.Nat8),
|
|
@@ -550,7 +551,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
550
551
|
'current_deadline_timestamp_seconds' : IDL.Nat64,
|
|
551
552
|
});
|
|
552
553
|
const ProposalData = IDL.Record({
|
|
553
|
-
'id' : IDL.Opt(
|
|
554
|
+
'id' : IDL.Opt(ProposalId),
|
|
554
555
|
'failure_reason' : IDL.Opt(GovernanceError),
|
|
555
556
|
'ballots' : IDL.Vec(IDL.Tuple(IDL.Nat64, Ballot)),
|
|
556
557
|
'proposal_timestamp_seconds' : IDL.Nat64,
|
|
@@ -560,6 +561,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
560
561
|
'reject_cost_e8s' : IDL.Nat64,
|
|
561
562
|
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
|
|
562
563
|
'latest_tally' : IDL.Opt(Tally),
|
|
564
|
+
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
|
|
563
565
|
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
|
|
564
566
|
'decided_timestamp_seconds' : IDL.Nat64,
|
|
565
567
|
'proposal' : IDL.Opt(Proposal),
|
|
@@ -587,7 +589,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
587
589
|
});
|
|
588
590
|
const BallotInfo = IDL.Record({
|
|
589
591
|
'vote' : IDL.Int32,
|
|
590
|
-
'proposal_id' : IDL.Opt(
|
|
592
|
+
'proposal_id' : IDL.Opt(ProposalId),
|
|
591
593
|
});
|
|
592
594
|
const DissolveState = IDL.Variant({
|
|
593
595
|
'DissolveDelaySeconds' : IDL.Nat64,
|
|
@@ -598,6 +600,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
598
600
|
'staked_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
599
601
|
'controller' : IDL.Opt(IDL.Principal),
|
|
600
602
|
'recent_ballots' : IDL.Vec(BallotInfo),
|
|
603
|
+
'voting_power_refreshed_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
601
604
|
'kyc_verified' : IDL.Bool,
|
|
602
605
|
'neuron_type' : IDL.Opt(IDL.Int32),
|
|
603
606
|
'not_for_profit' : IDL.Bool,
|
|
@@ -665,6 +668,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
665
668
|
const NeuronInfo = IDL.Record({
|
|
666
669
|
'dissolve_delay_seconds' : IDL.Nat64,
|
|
667
670
|
'recent_ballots' : IDL.Vec(BallotInfo),
|
|
671
|
+
'voting_power_refreshed_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
668
672
|
'neuron_type' : IDL.Opt(IDL.Int32),
|
|
669
673
|
'created_timestamp_seconds' : IDL.Nat64,
|
|
670
674
|
'state' : IDL.Int32,
|
|
@@ -678,7 +682,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
678
682
|
});
|
|
679
683
|
const Result_5 = IDL.Variant({ 'Ok' : NeuronInfo, 'Err' : GovernanceError });
|
|
680
684
|
const GetNeuronsFundAuditInfoRequest = IDL.Record({
|
|
681
|
-
'nns_proposal_id' : IDL.Opt(
|
|
685
|
+
'nns_proposal_id' : IDL.Opt(ProposalId),
|
|
682
686
|
});
|
|
683
687
|
const NeuronsFundAuditInfo = IDL.Record({
|
|
684
688
|
'final_neurons_fund_participation' : IDL.Opt(NeuronsFundParticipation),
|
|
@@ -697,7 +701,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
697
701
|
'Err' : GovernanceError,
|
|
698
702
|
});
|
|
699
703
|
const ProposalInfo = IDL.Record({
|
|
700
|
-
'id' : IDL.Opt(
|
|
704
|
+
'id' : IDL.Opt(ProposalId),
|
|
701
705
|
'status' : IDL.Int32,
|
|
702
706
|
'topic' : IDL.Int32,
|
|
703
707
|
'failure_reason' : IDL.Opt(GovernanceError),
|
|
@@ -709,6 +713,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
709
713
|
'reject_cost_e8s' : IDL.Nat64,
|
|
710
714
|
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
|
|
711
715
|
'latest_tally' : IDL.Opt(Tally),
|
|
716
|
+
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
|
|
712
717
|
'reward_status' : IDL.Int32,
|
|
713
718
|
'decided_timestamp_seconds' : IDL.Nat64,
|
|
714
719
|
'proposal' : IDL.Opt(Proposal),
|
|
@@ -744,7 +749,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
744
749
|
const ListProposalInfo = IDL.Record({
|
|
745
750
|
'include_reward_status' : IDL.Vec(IDL.Int32),
|
|
746
751
|
'omit_large_fields' : IDL.Opt(IDL.Bool),
|
|
747
|
-
'before_proposal' : IDL.Opt(
|
|
752
|
+
'before_proposal' : IDL.Opt(ProposalId),
|
|
748
753
|
'limit' : IDL.Nat32,
|
|
749
754
|
'exclude_topic' : IDL.Vec(IDL.Int32),
|
|
750
755
|
'include_all_manage_neuron_proposals' : IDL.Opt(IDL.Bool),
|
|
@@ -814,7 +819,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
814
819
|
});
|
|
815
820
|
const MakeProposalResponse = IDL.Record({
|
|
816
821
|
'message' : IDL.Opt(IDL.Text),
|
|
817
|
-
'proposal_id' : IDL.Opt(
|
|
822
|
+
'proposal_id' : IDL.Opt(ProposalId),
|
|
818
823
|
});
|
|
819
824
|
const StakeMaturityResponse = IDL.Record({
|
|
820
825
|
'maturity_e8s' : IDL.Nat64,
|
|
@@ -1040,9 +1045,10 @@ export const init = ({ IDL }) => {
|
|
|
1040
1045
|
'SetDissolveTimestamp' : SetDissolveTimestamp,
|
|
1041
1046
|
});
|
|
1042
1047
|
const Configure = IDL.Record({ 'operation' : IDL.Opt(Operation) });
|
|
1048
|
+
const ProposalId = IDL.Record({ 'id' : IDL.Nat64 });
|
|
1043
1049
|
const RegisterVote = IDL.Record({
|
|
1044
1050
|
'vote' : IDL.Int32,
|
|
1045
|
-
'proposal' : IDL.Opt(
|
|
1051
|
+
'proposal' : IDL.Opt(ProposalId),
|
|
1046
1052
|
});
|
|
1047
1053
|
const Merge = IDL.Record({ 'source_neuron_id' : IDL.Opt(NeuronId) });
|
|
1048
1054
|
const DisburseToNeuron = IDL.Record({
|
|
@@ -1428,7 +1434,7 @@ export const init = ({ IDL }) => {
|
|
|
1428
1434
|
'total_available_e8s_equivalent' : IDL.Nat64,
|
|
1429
1435
|
'latest_round_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
1430
1436
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
1431
|
-
'settled_proposals' : IDL.Vec(
|
|
1437
|
+
'settled_proposals' : IDL.Vec(ProposalId),
|
|
1432
1438
|
});
|
|
1433
1439
|
const NeuronStakeTransfer = IDL.Record({
|
|
1434
1440
|
'to_subaccount' : IDL.Vec(IDL.Nat8),
|
|
@@ -1531,7 +1537,7 @@ export const init = ({ IDL }) => {
|
|
|
1531
1537
|
'current_deadline_timestamp_seconds' : IDL.Nat64,
|
|
1532
1538
|
});
|
|
1533
1539
|
const ProposalData = IDL.Record({
|
|
1534
|
-
'id' : IDL.Opt(
|
|
1540
|
+
'id' : IDL.Opt(ProposalId),
|
|
1535
1541
|
'failure_reason' : IDL.Opt(GovernanceError),
|
|
1536
1542
|
'ballots' : IDL.Vec(IDL.Tuple(IDL.Nat64, Ballot)),
|
|
1537
1543
|
'proposal_timestamp_seconds' : IDL.Nat64,
|
|
@@ -1541,6 +1547,7 @@ export const init = ({ IDL }) => {
|
|
|
1541
1547
|
'reject_cost_e8s' : IDL.Nat64,
|
|
1542
1548
|
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
|
|
1543
1549
|
'latest_tally' : IDL.Opt(Tally),
|
|
1550
|
+
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
|
|
1544
1551
|
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
|
|
1545
1552
|
'decided_timestamp_seconds' : IDL.Nat64,
|
|
1546
1553
|
'proposal' : IDL.Opt(Proposal),
|
|
@@ -1568,7 +1575,7 @@ export const init = ({ IDL }) => {
|
|
|
1568
1575
|
});
|
|
1569
1576
|
const BallotInfo = IDL.Record({
|
|
1570
1577
|
'vote' : IDL.Int32,
|
|
1571
|
-
'proposal_id' : IDL.Opt(
|
|
1578
|
+
'proposal_id' : IDL.Opt(ProposalId),
|
|
1572
1579
|
});
|
|
1573
1580
|
const DissolveState = IDL.Variant({
|
|
1574
1581
|
'DissolveDelaySeconds' : IDL.Nat64,
|
|
@@ -1579,6 +1586,7 @@ export const init = ({ IDL }) => {
|
|
|
1579
1586
|
'staked_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
1580
1587
|
'controller' : IDL.Opt(IDL.Principal),
|
|
1581
1588
|
'recent_ballots' : IDL.Vec(BallotInfo),
|
|
1589
|
+
'voting_power_refreshed_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
1582
1590
|
'kyc_verified' : IDL.Bool,
|
|
1583
1591
|
'neuron_type' : IDL.Opt(IDL.Int32),
|
|
1584
1592
|
'not_for_profit' : IDL.Bool,
|
|
@@ -1,78 +1,81 @@
|
|
|
1
1
|
// This file was created manually by taking governance.certified.idl.js and
|
|
2
2
|
// removing everything that isn't needed for `list_neurons` and then removing
|
|
3
|
-
// `
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
// we use this service for
|
|
3
|
+
// all fields except `neuron_ids` and `include_neurons_readable_by_caller` from
|
|
4
|
+
// `ListNeurons`.
|
|
5
|
+
// The Ledger hardware wallet app verion 2.4.9 doesn't support the newer fields,
|
|
6
|
+
// even when they are optional and not set, so we use this service for
|
|
7
|
+
// compatibility with the hardware wallet.
|
|
7
8
|
export const idlFactory = ({ IDL }) => {
|
|
8
|
-
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
9
|
-
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
9
|
+
const NeuronId = IDL.Record({ 'id' : IDL.Nat64 });
|
|
10
|
+
const Followees = IDL.Record({ 'followees' : IDL.Vec(NeuronId) });
|
|
10
11
|
const KnownNeuronData = IDL.Record({
|
|
11
|
-
name: IDL.Text,
|
|
12
|
-
description: IDL.Opt(IDL.Text),
|
|
12
|
+
'name' : IDL.Text,
|
|
13
|
+
'description' : IDL.Opt(IDL.Text),
|
|
13
14
|
});
|
|
14
15
|
const NeuronStakeTransfer = IDL.Record({
|
|
15
|
-
to_subaccount: IDL.Vec(IDL.Nat8),
|
|
16
|
-
neuron_stake_e8s: IDL.Nat64,
|
|
17
|
-
from: IDL.Opt(IDL.Principal),
|
|
18
|
-
memo: IDL.Nat64,
|
|
19
|
-
from_subaccount: IDL.Vec(IDL.Nat8),
|
|
20
|
-
transfer_timestamp: IDL.Nat64,
|
|
21
|
-
block_height: IDL.Nat64,
|
|
16
|
+
'to_subaccount' : IDL.Vec(IDL.Nat8),
|
|
17
|
+
'neuron_stake_e8s' : IDL.Nat64,
|
|
18
|
+
'from' : IDL.Opt(IDL.Principal),
|
|
19
|
+
'memo' : IDL.Nat64,
|
|
20
|
+
'from_subaccount' : IDL.Vec(IDL.Nat8),
|
|
21
|
+
'transfer_timestamp' : IDL.Nat64,
|
|
22
|
+
'block_height' : IDL.Nat64,
|
|
22
23
|
});
|
|
23
24
|
const BallotInfo = IDL.Record({
|
|
24
|
-
vote: IDL.Int32,
|
|
25
|
-
proposal_id: IDL.Opt(NeuronId),
|
|
25
|
+
'vote' : IDL.Int32,
|
|
26
|
+
'proposal_id' : IDL.Opt(NeuronId),
|
|
26
27
|
});
|
|
27
28
|
const DissolveState = IDL.Variant({
|
|
28
|
-
DissolveDelaySeconds: IDL.Nat64,
|
|
29
|
-
WhenDissolvedTimestampSeconds: IDL.Nat64,
|
|
29
|
+
'DissolveDelaySeconds' : IDL.Nat64,
|
|
30
|
+
'WhenDissolvedTimestampSeconds' : IDL.Nat64,
|
|
30
31
|
});
|
|
31
32
|
const Neuron = IDL.Record({
|
|
32
|
-
id: IDL.Opt(NeuronId),
|
|
33
|
-
staked_maturity_e8s_equivalent: IDL.Opt(IDL.Nat64),
|
|
34
|
-
controller: IDL.Opt(IDL.Principal),
|
|
35
|
-
recent_ballots: IDL.Vec(BallotInfo),
|
|
36
|
-
kyc_verified: IDL.Bool,
|
|
37
|
-
neuron_type: IDL.Opt(IDL.Int32),
|
|
38
|
-
not_for_profit: IDL.Bool,
|
|
39
|
-
maturity_e8s_equivalent: IDL.Nat64,
|
|
40
|
-
cached_neuron_stake_e8s: IDL.Nat64,
|
|
41
|
-
created_timestamp_seconds: IDL.Nat64,
|
|
42
|
-
auto_stake_maturity: IDL.Opt(IDL.Bool),
|
|
43
|
-
aging_since_timestamp_seconds: IDL.Nat64,
|
|
44
|
-
hot_keys: IDL.Vec(IDL.Principal),
|
|
45
|
-
account: IDL.Vec(IDL.Nat8),
|
|
46
|
-
joined_community_fund_timestamp_seconds: IDL.Opt(IDL.Nat64),
|
|
47
|
-
dissolve_state: IDL.Opt(DissolveState),
|
|
48
|
-
followees: IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
|
|
49
|
-
neuron_fees_e8s: IDL.Nat64,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
33
|
+
'id' : IDL.Opt(NeuronId),
|
|
34
|
+
'staked_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
35
|
+
'controller' : IDL.Opt(IDL.Principal),
|
|
36
|
+
'recent_ballots' : IDL.Vec(BallotInfo),
|
|
37
|
+
'kyc_verified' : IDL.Bool,
|
|
38
|
+
'neuron_type' : IDL.Opt(IDL.Int32),
|
|
39
|
+
'not_for_profit' : IDL.Bool,
|
|
40
|
+
'maturity_e8s_equivalent' : IDL.Nat64,
|
|
41
|
+
'cached_neuron_stake_e8s' : IDL.Nat64,
|
|
42
|
+
'created_timestamp_seconds' : IDL.Nat64,
|
|
43
|
+
'auto_stake_maturity' : IDL.Opt(IDL.Bool),
|
|
44
|
+
'aging_since_timestamp_seconds' : IDL.Nat64,
|
|
45
|
+
'hot_keys' : IDL.Vec(IDL.Principal),
|
|
46
|
+
'account' : IDL.Vec(IDL.Nat8),
|
|
47
|
+
'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
48
|
+
'dissolve_state' : IDL.Opt(DissolveState),
|
|
49
|
+
'followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
|
|
50
|
+
'neuron_fees_e8s' : IDL.Nat64,
|
|
51
|
+
'visibility' : IDL.Opt(IDL.Int32),
|
|
52
|
+
'transfer' : IDL.Opt(NeuronStakeTransfer),
|
|
53
|
+
'known_neuron_data' : IDL.Opt(KnownNeuronData),
|
|
54
|
+
'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
53
55
|
});
|
|
54
56
|
const NeuronInfo = IDL.Record({
|
|
55
|
-
dissolve_delay_seconds: IDL.Nat64,
|
|
56
|
-
recent_ballots: IDL.Vec(BallotInfo),
|
|
57
|
-
neuron_type: IDL.Opt(IDL.Int32),
|
|
58
|
-
created_timestamp_seconds: IDL.Nat64,
|
|
59
|
-
state: IDL.Int32,
|
|
60
|
-
stake_e8s: IDL.Nat64,
|
|
61
|
-
joined_community_fund_timestamp_seconds: IDL.Opt(IDL.Nat64),
|
|
62
|
-
retrieved_at_timestamp_seconds: IDL.Nat64,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
'dissolve_delay_seconds' : IDL.Nat64,
|
|
58
|
+
'recent_ballots' : IDL.Vec(BallotInfo),
|
|
59
|
+
'neuron_type' : IDL.Opt(IDL.Int32),
|
|
60
|
+
'created_timestamp_seconds' : IDL.Nat64,
|
|
61
|
+
'state' : IDL.Int32,
|
|
62
|
+
'stake_e8s' : IDL.Nat64,
|
|
63
|
+
'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
64
|
+
'retrieved_at_timestamp_seconds' : IDL.Nat64,
|
|
65
|
+
'visibility' : IDL.Opt(IDL.Int32),
|
|
66
|
+
'known_neuron_data' : IDL.Opt(KnownNeuronData),
|
|
67
|
+
'voting_power' : IDL.Nat64,
|
|
68
|
+
'age_seconds' : IDL.Nat64,
|
|
66
69
|
});
|
|
67
70
|
const ListNeurons = IDL.Record({
|
|
68
|
-
neuron_ids: IDL.Vec(IDL.Nat64),
|
|
69
|
-
include_neurons_readable_by_caller: IDL.Bool,
|
|
71
|
+
'neuron_ids' : IDL.Vec(IDL.Nat64),
|
|
72
|
+
'include_neurons_readable_by_caller' : IDL.Bool,
|
|
70
73
|
});
|
|
71
74
|
const ListNeuronsResponse = IDL.Record({
|
|
72
|
-
neuron_infos: IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInfo)),
|
|
73
|
-
full_neurons: IDL.Vec(Neuron),
|
|
75
|
+
'neuron_infos' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInfo)),
|
|
76
|
+
'full_neurons' : IDL.Vec(Neuron),
|
|
74
77
|
});
|
|
75
78
|
return IDL.Service({
|
|
76
|
-
list_neurons: IDL.Func([ListNeurons], [ListNeuronsResponse], []),
|
|
79
|
+
'list_neurons' : IDL.Func([ListNeurons], [ListNeuronsResponse], []),
|
|
77
80
|
});
|
|
78
81
|
};
|
package/dist/candid/sns_wasm.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
|
|
2
2
|
type AddWasmRequest = record {
|
|
3
3
|
hash : blob;
|
|
4
4
|
wasm : opt SnsWasm;
|