@dfinity/nns 11.1.0 → 11.1.1-next-2025-11-10
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/dist/candid/genesis_token.did +1 -1
- package/dist/candid/governance.certified.idl.js +14 -0
- package/dist/candid/governance.d.ts +7 -0
- package/dist/candid/governance.did +9 -1
- package/dist/candid/governance.idl.js +14 -0
- package/dist/candid/governance_test.certified.idl.js +14 -0
- package/dist/candid/governance_test.d.ts +7 -0
- package/dist/candid/governance_test.did +9 -1
- package/dist/candid/governance_test.idl.js +14 -0
- package/dist/candid/sns_wasm.did +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +3 -3
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 0378315 (2025-11-05 tags: release-2025-11-06_03-24-base) 'rs/nns/gtc/canister/gtc.did' by import-candid
|
|
2
2
|
|
|
3
3
|
type AccountState = record {
|
|
4
4
|
authenticated_principal_id : opt principal;
|
|
@@ -11,6 +11,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
11
11
|
const Proposal = IDL.Rec();
|
|
12
12
|
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
13
13
|
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
14
|
+
const DateUtc = IDL.Record({
|
|
15
|
+
day: IDL.Nat32,
|
|
16
|
+
month: IDL.Nat32,
|
|
17
|
+
year: IDL.Nat32,
|
|
18
|
+
});
|
|
14
19
|
const AccountIdentifier = IDL.Record({ hash: IDL.Vec(IDL.Nat8) });
|
|
15
20
|
const NodeProvider = IDL.Record({
|
|
16
21
|
id: IDL.Opt(IDL.Principal),
|
|
@@ -35,8 +40,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
35
40
|
});
|
|
36
41
|
const MonthlyNodeProviderRewards = IDL.Record({
|
|
37
42
|
minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
|
|
43
|
+
end_date: IDL.Opt(DateUtc),
|
|
38
44
|
registry_version: IDL.Opt(IDL.Nat64),
|
|
39
45
|
node_providers: IDL.Vec(NodeProvider),
|
|
46
|
+
start_date: IDL.Opt(DateUtc),
|
|
40
47
|
timestamp: IDL.Nat64,
|
|
41
48
|
rewards: IDL.Vec(RewardNodeProvider),
|
|
42
49
|
xdr_conversion_rate: IDL.Opt(XdrConversionRate),
|
|
@@ -1082,6 +1089,11 @@ export const init = ({ IDL }) => {
|
|
|
1082
1089
|
const Proposal = IDL.Rec();
|
|
1083
1090
|
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
1084
1091
|
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
1092
|
+
const DateUtc = IDL.Record({
|
|
1093
|
+
day: IDL.Nat32,
|
|
1094
|
+
month: IDL.Nat32,
|
|
1095
|
+
year: IDL.Nat32,
|
|
1096
|
+
});
|
|
1085
1097
|
const AccountIdentifier = IDL.Record({ hash: IDL.Vec(IDL.Nat8) });
|
|
1086
1098
|
const NodeProvider = IDL.Record({
|
|
1087
1099
|
id: IDL.Opt(IDL.Principal),
|
|
@@ -1106,8 +1118,10 @@ export const init = ({ IDL }) => {
|
|
|
1106
1118
|
});
|
|
1107
1119
|
const MonthlyNodeProviderRewards = IDL.Record({
|
|
1108
1120
|
minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
|
|
1121
|
+
end_date: IDL.Opt(DateUtc),
|
|
1109
1122
|
registry_version: IDL.Opt(IDL.Nat64),
|
|
1110
1123
|
node_providers: IDL.Vec(NodeProvider),
|
|
1124
|
+
start_date: IDL.Opt(DateUtc),
|
|
1111
1125
|
timestamp: IDL.Nat64,
|
|
1112
1126
|
rewards: IDL.Vec(RewardNodeProvider),
|
|
1113
1127
|
xdr_conversion_rate: IDL.Opt(XdrConversionRate),
|
|
@@ -183,6 +183,11 @@ export interface DateRangeFilter {
|
|
|
183
183
|
start_timestamp_seconds: [] | [bigint];
|
|
184
184
|
end_timestamp_seconds: [] | [bigint];
|
|
185
185
|
}
|
|
186
|
+
export interface DateUtc {
|
|
187
|
+
day: number;
|
|
188
|
+
month: number;
|
|
189
|
+
year: number;
|
|
190
|
+
}
|
|
186
191
|
export interface Decimal {
|
|
187
192
|
human_readable: [] | [string];
|
|
188
193
|
}
|
|
@@ -617,8 +622,10 @@ export interface MergeResponse {
|
|
|
617
622
|
}
|
|
618
623
|
export interface MonthlyNodeProviderRewards {
|
|
619
624
|
minimum_xdr_permyriad_per_icp: [] | [bigint];
|
|
625
|
+
end_date: [] | [DateUtc];
|
|
620
626
|
registry_version: [] | [bigint];
|
|
621
627
|
node_providers: Array<NodeProvider>;
|
|
628
|
+
start_date: [] | [DateUtc];
|
|
622
629
|
timestamp: bigint;
|
|
623
630
|
rewards: Array<RewardNodeProvider>;
|
|
624
631
|
xdr_conversion_rate: [] | [XdrConversionRate];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 0378315 (2025-11-05 tags: release-2025-11-06_03-24-base) 'rs/nns/governance/canister/governance.did' by import-candid
|
|
2
2
|
|
|
3
3
|
type AccountIdentifier = record {
|
|
4
4
|
hash : blob;
|
|
@@ -613,11 +613,19 @@ type MergeResponse = record {
|
|
|
613
613
|
source_neuron_info : opt NeuronInfo;
|
|
614
614
|
};
|
|
615
615
|
|
|
616
|
+
type DateUtc = record {
|
|
617
|
+
year : nat32;
|
|
618
|
+
month : nat32;
|
|
619
|
+
day : nat32;
|
|
620
|
+
};
|
|
621
|
+
|
|
616
622
|
type MonthlyNodeProviderRewards = record {
|
|
617
623
|
minimum_xdr_permyriad_per_icp : opt nat64;
|
|
618
624
|
registry_version : opt nat64;
|
|
619
625
|
node_providers : vec NodeProvider;
|
|
620
626
|
timestamp : nat64;
|
|
627
|
+
start_date : opt DateUtc;
|
|
628
|
+
end_date : opt DateUtc;
|
|
621
629
|
rewards : vec RewardNodeProvider;
|
|
622
630
|
xdr_conversion_rate : opt XdrConversionRate;
|
|
623
631
|
maximum_node_provider_rewards_e8s : opt nat64;
|
|
@@ -11,6 +11,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
11
11
|
const Proposal = IDL.Rec();
|
|
12
12
|
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
13
13
|
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
14
|
+
const DateUtc = IDL.Record({
|
|
15
|
+
day: IDL.Nat32,
|
|
16
|
+
month: IDL.Nat32,
|
|
17
|
+
year: IDL.Nat32,
|
|
18
|
+
});
|
|
14
19
|
const AccountIdentifier = IDL.Record({ hash: IDL.Vec(IDL.Nat8) });
|
|
15
20
|
const NodeProvider = IDL.Record({
|
|
16
21
|
id: IDL.Opt(IDL.Principal),
|
|
@@ -35,8 +40,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
35
40
|
});
|
|
36
41
|
const MonthlyNodeProviderRewards = IDL.Record({
|
|
37
42
|
minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
|
|
43
|
+
end_date: IDL.Opt(DateUtc),
|
|
38
44
|
registry_version: IDL.Opt(IDL.Nat64),
|
|
39
45
|
node_providers: IDL.Vec(NodeProvider),
|
|
46
|
+
start_date: IDL.Opt(DateUtc),
|
|
40
47
|
timestamp: IDL.Nat64,
|
|
41
48
|
rewards: IDL.Vec(RewardNodeProvider),
|
|
42
49
|
xdr_conversion_rate: IDL.Opt(XdrConversionRate),
|
|
@@ -1090,6 +1097,11 @@ export const init = ({ IDL }) => {
|
|
|
1090
1097
|
const Proposal = IDL.Rec();
|
|
1091
1098
|
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
1092
1099
|
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
1100
|
+
const DateUtc = IDL.Record({
|
|
1101
|
+
day: IDL.Nat32,
|
|
1102
|
+
month: IDL.Nat32,
|
|
1103
|
+
year: IDL.Nat32,
|
|
1104
|
+
});
|
|
1093
1105
|
const AccountIdentifier = IDL.Record({ hash: IDL.Vec(IDL.Nat8) });
|
|
1094
1106
|
const NodeProvider = IDL.Record({
|
|
1095
1107
|
id: IDL.Opt(IDL.Principal),
|
|
@@ -1114,8 +1126,10 @@ export const init = ({ IDL }) => {
|
|
|
1114
1126
|
});
|
|
1115
1127
|
const MonthlyNodeProviderRewards = IDL.Record({
|
|
1116
1128
|
minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
|
|
1129
|
+
end_date: IDL.Opt(DateUtc),
|
|
1117
1130
|
registry_version: IDL.Opt(IDL.Nat64),
|
|
1118
1131
|
node_providers: IDL.Vec(NodeProvider),
|
|
1132
|
+
start_date: IDL.Opt(DateUtc),
|
|
1119
1133
|
timestamp: IDL.Nat64,
|
|
1120
1134
|
rewards: IDL.Vec(RewardNodeProvider),
|
|
1121
1135
|
xdr_conversion_rate: IDL.Opt(XdrConversionRate),
|
|
@@ -11,6 +11,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
11
11
|
const Proposal = IDL.Rec();
|
|
12
12
|
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
13
13
|
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
14
|
+
const DateUtc = IDL.Record({
|
|
15
|
+
day: IDL.Nat32,
|
|
16
|
+
month: IDL.Nat32,
|
|
17
|
+
year: IDL.Nat32,
|
|
18
|
+
});
|
|
14
19
|
const AccountIdentifier = IDL.Record({ hash: IDL.Vec(IDL.Nat8) });
|
|
15
20
|
const NodeProvider = IDL.Record({
|
|
16
21
|
id: IDL.Opt(IDL.Principal),
|
|
@@ -35,8 +40,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
35
40
|
});
|
|
36
41
|
const MonthlyNodeProviderRewards = IDL.Record({
|
|
37
42
|
minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
|
|
43
|
+
end_date: IDL.Opt(DateUtc),
|
|
38
44
|
registry_version: IDL.Opt(IDL.Nat64),
|
|
39
45
|
node_providers: IDL.Vec(NodeProvider),
|
|
46
|
+
start_date: IDL.Opt(DateUtc),
|
|
40
47
|
timestamp: IDL.Nat64,
|
|
41
48
|
rewards: IDL.Vec(RewardNodeProvider),
|
|
42
49
|
xdr_conversion_rate: IDL.Opt(XdrConversionRate),
|
|
@@ -1083,6 +1090,11 @@ export const init = ({ IDL }) => {
|
|
|
1083
1090
|
const Proposal = IDL.Rec();
|
|
1084
1091
|
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
1085
1092
|
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
1093
|
+
const DateUtc = IDL.Record({
|
|
1094
|
+
day: IDL.Nat32,
|
|
1095
|
+
month: IDL.Nat32,
|
|
1096
|
+
year: IDL.Nat32,
|
|
1097
|
+
});
|
|
1086
1098
|
const AccountIdentifier = IDL.Record({ hash: IDL.Vec(IDL.Nat8) });
|
|
1087
1099
|
const NodeProvider = IDL.Record({
|
|
1088
1100
|
id: IDL.Opt(IDL.Principal),
|
|
@@ -1107,8 +1119,10 @@ export const init = ({ IDL }) => {
|
|
|
1107
1119
|
});
|
|
1108
1120
|
const MonthlyNodeProviderRewards = IDL.Record({
|
|
1109
1121
|
minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
|
|
1122
|
+
end_date: IDL.Opt(DateUtc),
|
|
1110
1123
|
registry_version: IDL.Opt(IDL.Nat64),
|
|
1111
1124
|
node_providers: IDL.Vec(NodeProvider),
|
|
1125
|
+
start_date: IDL.Opt(DateUtc),
|
|
1112
1126
|
timestamp: IDL.Nat64,
|
|
1113
1127
|
rewards: IDL.Vec(RewardNodeProvider),
|
|
1114
1128
|
xdr_conversion_rate: IDL.Opt(XdrConversionRate),
|
|
@@ -183,6 +183,11 @@ export interface DateRangeFilter {
|
|
|
183
183
|
start_timestamp_seconds: [] | [bigint];
|
|
184
184
|
end_timestamp_seconds: [] | [bigint];
|
|
185
185
|
}
|
|
186
|
+
export interface DateUtc {
|
|
187
|
+
day: number;
|
|
188
|
+
month: number;
|
|
189
|
+
year: number;
|
|
190
|
+
}
|
|
186
191
|
export interface Decimal {
|
|
187
192
|
human_readable: [] | [string];
|
|
188
193
|
}
|
|
@@ -617,8 +622,10 @@ export interface MergeResponse {
|
|
|
617
622
|
}
|
|
618
623
|
export interface MonthlyNodeProviderRewards {
|
|
619
624
|
minimum_xdr_permyriad_per_icp: [] | [bigint];
|
|
625
|
+
end_date: [] | [DateUtc];
|
|
620
626
|
registry_version: [] | [bigint];
|
|
621
627
|
node_providers: Array<NodeProvider>;
|
|
628
|
+
start_date: [] | [DateUtc];
|
|
622
629
|
timestamp: bigint;
|
|
623
630
|
rewards: Array<RewardNodeProvider>;
|
|
624
631
|
xdr_conversion_rate: [] | [XdrConversionRate];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 0378315 (2025-11-05 tags: release-2025-11-06_03-24-base) 'packages/nns/src/candid/governance_test.did.tmp' by import-candid
|
|
2
2
|
|
|
3
3
|
type AccountIdentifier = record {
|
|
4
4
|
hash : blob;
|
|
@@ -613,11 +613,19 @@ type MergeResponse = record {
|
|
|
613
613
|
source_neuron_info : opt NeuronInfo;
|
|
614
614
|
};
|
|
615
615
|
|
|
616
|
+
type DateUtc = record {
|
|
617
|
+
year : nat32;
|
|
618
|
+
month : nat32;
|
|
619
|
+
day : nat32;
|
|
620
|
+
};
|
|
621
|
+
|
|
616
622
|
type MonthlyNodeProviderRewards = record {
|
|
617
623
|
minimum_xdr_permyriad_per_icp : opt nat64;
|
|
618
624
|
registry_version : opt nat64;
|
|
619
625
|
node_providers : vec NodeProvider;
|
|
620
626
|
timestamp : nat64;
|
|
627
|
+
start_date : opt DateUtc;
|
|
628
|
+
end_date : opt DateUtc;
|
|
621
629
|
rewards : vec RewardNodeProvider;
|
|
622
630
|
xdr_conversion_rate : opt XdrConversionRate;
|
|
623
631
|
maximum_node_provider_rewards_e8s : opt nat64;
|
|
@@ -11,6 +11,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
11
11
|
const Proposal = IDL.Rec();
|
|
12
12
|
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
13
13
|
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
14
|
+
const DateUtc = IDL.Record({
|
|
15
|
+
day: IDL.Nat32,
|
|
16
|
+
month: IDL.Nat32,
|
|
17
|
+
year: IDL.Nat32,
|
|
18
|
+
});
|
|
14
19
|
const AccountIdentifier = IDL.Record({ hash: IDL.Vec(IDL.Nat8) });
|
|
15
20
|
const NodeProvider = IDL.Record({
|
|
16
21
|
id: IDL.Opt(IDL.Principal),
|
|
@@ -35,8 +40,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
35
40
|
});
|
|
36
41
|
const MonthlyNodeProviderRewards = IDL.Record({
|
|
37
42
|
minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
|
|
43
|
+
end_date: IDL.Opt(DateUtc),
|
|
38
44
|
registry_version: IDL.Opt(IDL.Nat64),
|
|
39
45
|
node_providers: IDL.Vec(NodeProvider),
|
|
46
|
+
start_date: IDL.Opt(DateUtc),
|
|
40
47
|
timestamp: IDL.Nat64,
|
|
41
48
|
rewards: IDL.Vec(RewardNodeProvider),
|
|
42
49
|
xdr_conversion_rate: IDL.Opt(XdrConversionRate),
|
|
@@ -1091,6 +1098,11 @@ export const init = ({ IDL }) => {
|
|
|
1091
1098
|
const Proposal = IDL.Rec();
|
|
1092
1099
|
const NeuronId = IDL.Record({ id: IDL.Nat64 });
|
|
1093
1100
|
const Followees = IDL.Record({ followees: IDL.Vec(NeuronId) });
|
|
1101
|
+
const DateUtc = IDL.Record({
|
|
1102
|
+
day: IDL.Nat32,
|
|
1103
|
+
month: IDL.Nat32,
|
|
1104
|
+
year: IDL.Nat32,
|
|
1105
|
+
});
|
|
1094
1106
|
const AccountIdentifier = IDL.Record({ hash: IDL.Vec(IDL.Nat8) });
|
|
1095
1107
|
const NodeProvider = IDL.Record({
|
|
1096
1108
|
id: IDL.Opt(IDL.Principal),
|
|
@@ -1115,8 +1127,10 @@ export const init = ({ IDL }) => {
|
|
|
1115
1127
|
});
|
|
1116
1128
|
const MonthlyNodeProviderRewards = IDL.Record({
|
|
1117
1129
|
minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
|
|
1130
|
+
end_date: IDL.Opt(DateUtc),
|
|
1118
1131
|
registry_version: IDL.Opt(IDL.Nat64),
|
|
1119
1132
|
node_providers: IDL.Vec(NodeProvider),
|
|
1133
|
+
start_date: IDL.Opt(DateUtc),
|
|
1120
1134
|
timestamp: IDL.Nat64,
|
|
1121
1135
|
rewards: IDL.Vec(RewardNodeProvider),
|
|
1122
1136
|
xdr_conversion_rate: IDL.Opt(XdrConversionRate),
|
package/dist/candid/sns_wasm.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 0378315 (2025-11-05 tags: release-2025-11-06_03-24-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
|
|
2
2
|
|
|
3
3
|
type AddWasmRequest = record {
|
|
4
4
|
hash : blob;
|