Skip to content

Commit

Permalink
Update Candid Files (#748)
Browse files Browse the repository at this point in the history
# Motivation
The canisters APIs have been updated.

# Changes
* Updated the candid interface files for the canisters used in this
library.
* Updated the javascript bindings for the latest candid interfaces.

# Tests
- [ ] Please check the API updates for any breaking changes that affect
our code.

Co-authored-by: gix-bot <[email protected]>
  • Loading branch information
sa-github-api and gix-bot authored Nov 11, 2024
1 parent c2d45a4 commit 9c0a5f6
Show file tree
Hide file tree
Showing 32 changed files with 125 additions and 29 deletions.
2 changes: 1 addition & 1 deletion packages/ckbtc/candid/minter.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid
// Represents an account on the ckBTC ledger.
type Account = record { owner : principal; subaccount : opt blob };

Expand Down
7 changes: 7 additions & 0 deletions packages/cketh/candid/minter.certified.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ export const idlFactory = ({ IDL }) => {
'Latest' : IDL.Null,
});
const UpgradeArg = IDL.Record({
'deposit_with_subaccount_helper_contract_address' : IDL.Opt(IDL.Text),
'next_transaction_nonce' : IDL.Opt(IDL.Nat),
'evm_rpc_id' : IDL.Opt(IDL.Principal),
'ledger_suite_orchestrator_id' : IDL.Opt(IDL.Principal),
'erc20_helper_contract_address' : IDL.Opt(IDL.Text),
'last_erc20_scraped_block_number' : IDL.Opt(IDL.Nat),
'ethereum_contract_address' : IDL.Opt(IDL.Text),
'minimum_withdrawal_amount' : IDL.Opt(IDL.Nat),
'last_deposit_with_subaccount_scraped_block_number' : IDL.Opt(IDL.Nat),
'ethereum_block_height' : IDL.Opt(BlockTag),
});
const EthereumNetwork = IDL.Variant({
Expand Down Expand Up @@ -149,6 +151,9 @@ export const idlFactory = ({ IDL }) => {
'address' : IDL.Text,
'ckerc20_token_symbol' : IDL.Text,
}),
'SyncedDepositWithSubaccountToBlock' : IDL.Record({
'block_number' : IDL.Nat,
}),
'QuarantinedDeposit' : IDL.Record({ 'event_source' : EventSource }),
'SyncedToBlock' : IDL.Record({ 'block_number' : IDL.Nat }),
'AcceptedDeposit' : IDL.Record({
Expand Down Expand Up @@ -412,13 +417,15 @@ export const init = ({ IDL }) => {
'Latest' : IDL.Null,
});
const UpgradeArg = IDL.Record({
'deposit_with_subaccount_helper_contract_address' : IDL.Opt(IDL.Text),
'next_transaction_nonce' : IDL.Opt(IDL.Nat),
'evm_rpc_id' : IDL.Opt(IDL.Principal),
'ledger_suite_orchestrator_id' : IDL.Opt(IDL.Principal),
'erc20_helper_contract_address' : IDL.Opt(IDL.Text),
'last_erc20_scraped_block_number' : IDL.Opt(IDL.Nat),
'ethereum_contract_address' : IDL.Opt(IDL.Text),
'minimum_withdrawal_amount' : IDL.Opt(IDL.Nat),
'last_deposit_with_subaccount_scraped_block_number' : IDL.Opt(IDL.Nat),
'ethereum_block_height' : IDL.Opt(BlockTag),
});
const EthereumNetwork = IDL.Variant({
Expand Down
3 changes: 3 additions & 0 deletions packages/cketh/candid/minter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface Event {
ckerc20_token_symbol: string;
};
}
| { SyncedDepositWithSubaccountToBlock: { block_number: bigint } }
| { QuarantinedDeposit: { event_source: EventSource } }
| { SyncedToBlock: { block_number: bigint } }
| {
Expand Down Expand Up @@ -324,13 +325,15 @@ export interface UnsignedTransaction {
}>;
}
export interface UpgradeArg {
deposit_with_subaccount_helper_contract_address: [] | [string];
next_transaction_nonce: [] | [bigint];
evm_rpc_id: [] | [Principal];
ledger_suite_orchestrator_id: [] | [Principal];
erc20_helper_contract_address: [] | [string];
last_erc20_scraped_block_number: [] | [bigint];
ethereum_contract_address: [] | [string];
minimum_withdrawal_amount: [] | [bigint];
last_deposit_with_subaccount_scraped_block_number: [] | [bigint];
ethereum_block_height: [] | [BlockTag];
}
export interface WithdrawErc20Arg {
Expand Down
11 changes: 10 additions & 1 deletion packages/cketh/candid/minter.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid
type EthereumNetwork = variant {
// The public Ethereum mainnet.
Mainnet;
Expand Down Expand Up @@ -111,6 +111,12 @@ type UpgradeArg = record {
// The principal of the EVM RPC canister that handles the communication
// with the Ethereum blockchain.
evm_rpc_id : opt principal;

// Change the deposit with subaccount helper smart contract address.
deposit_with_subaccount_helper_contract_address : opt text;

// Change the last scraped block number of the deposit with subaccount helper smart contract.
last_deposit_with_subaccount_scraped_block_number : opt nat;
};

type MinterArg = variant { UpgradeArg : UpgradeArg; InitArg : InitArg };
Expand Down Expand Up @@ -450,6 +456,9 @@ type Event = record {
SyncedErc20ToBlock : record {
block_number : nat;
};
SyncedDepositWithSubaccountToBlock : record {
block_number : nat;
};
AcceptedEthWithdrawalRequest : record {
withdrawal_amount : nat;
destination : text;
Expand Down
7 changes: 7 additions & 0 deletions packages/cketh/candid/minter.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ export const idlFactory = ({ IDL }) => {
'Latest' : IDL.Null,
});
const UpgradeArg = IDL.Record({
'deposit_with_subaccount_helper_contract_address' : IDL.Opt(IDL.Text),
'next_transaction_nonce' : IDL.Opt(IDL.Nat),
'evm_rpc_id' : IDL.Opt(IDL.Principal),
'ledger_suite_orchestrator_id' : IDL.Opt(IDL.Principal),
'erc20_helper_contract_address' : IDL.Opt(IDL.Text),
'last_erc20_scraped_block_number' : IDL.Opt(IDL.Nat),
'ethereum_contract_address' : IDL.Opt(IDL.Text),
'minimum_withdrawal_amount' : IDL.Opt(IDL.Nat),
'last_deposit_with_subaccount_scraped_block_number' : IDL.Opt(IDL.Nat),
'ethereum_block_height' : IDL.Opt(BlockTag),
});
const EthereumNetwork = IDL.Variant({
Expand Down Expand Up @@ -149,6 +151,9 @@ export const idlFactory = ({ IDL }) => {
'address' : IDL.Text,
'ckerc20_token_symbol' : IDL.Text,
}),
'SyncedDepositWithSubaccountToBlock' : IDL.Record({
'block_number' : IDL.Nat,
}),
'QuarantinedDeposit' : IDL.Record({ 'event_source' : EventSource }),
'SyncedToBlock' : IDL.Record({ 'block_number' : IDL.Nat }),
'AcceptedDeposit' : IDL.Record({
Expand Down Expand Up @@ -412,13 +417,15 @@ export const init = ({ IDL }) => {
'Latest' : IDL.Null,
});
const UpgradeArg = IDL.Record({
'deposit_with_subaccount_helper_contract_address' : IDL.Opt(IDL.Text),
'next_transaction_nonce' : IDL.Opt(IDL.Nat),
'evm_rpc_id' : IDL.Opt(IDL.Principal),
'ledger_suite_orchestrator_id' : IDL.Opt(IDL.Principal),
'erc20_helper_contract_address' : IDL.Opt(IDL.Text),
'last_erc20_scraped_block_number' : IDL.Opt(IDL.Nat),
'ethereum_contract_address' : IDL.Opt(IDL.Text),
'minimum_withdrawal_amount' : IDL.Opt(IDL.Nat),
'last_deposit_with_subaccount_scraped_block_number' : IDL.Opt(IDL.Nat),
'ethereum_block_height' : IDL.Opt(BlockTag),
});
const EthereumNetwork = IDL.Variant({
Expand Down
2 changes: 1 addition & 1 deletion packages/cketh/candid/orchestrator.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/ethereum/ledger-suite-orchestrator/ledger_suite_orchestrator.did' by import-candid
type OrchestratorArg = variant {
UpgradeArg : UpgradeArg;
InitArg : InitArg;
Expand Down
2 changes: 1 addition & 1 deletion packages/cmc/candid/cmc.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/nns/cmc/cmc.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/nns/cmc/cmc.did' by import-candid
type Cycles = nat;
type BlockIndex = nat64;
type log_visibility = variant {
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icp/candid/index.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/ledger_suite/icp/index/index.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/ledger_suite/icp/index/index.did' by import-candid
type Account = record { owner : principal; subaccount : opt vec nat8 };
type GetAccountIdentifierTransactionsArgs = record {
max_results : nat64;
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icp/candid/ledger.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/ledger_suite/icp/ledger.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/ledger_suite/icp/ledger.did' by import-candid
// This is the official Ledger interface that is guaranteed to be backward compatible.

// Amount of tokens, measured in 10^-8 of a token.
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icrc/candid/icrc_index-ng.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/ledger_suite/icrc1/index-ng/index-ng.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/ledger_suite/icrc1/index-ng/index-ng.did' by import-candid
type Tokens = nat;

type InitArg = record {
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icrc/candid/icrc_index.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/ledger_suite/icrc1/index/index.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/ledger_suite/icrc1/index/index.did' by import-candid
type TxId = nat;

type Account = record { owner : principal; subaccount : opt blob };
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icrc/candid/icrc_ledger.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/ledger_suite/icrc1/ledger/ledger.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/ledger_suite/icrc1/ledger/ledger.did' by import-candid
type BlockIndex = nat;
type Subaccount = blob;
// Number of nanoseconds since the UNIX epoch in UTC timezone.
Expand Down
2 changes: 1 addition & 1 deletion packages/nns/candid/genesis_token.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/nns/gtc/canister/gtc.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/nns/gtc/canister/gtc.did' by import-candid
type AccountState = record {
authenticated_principal_id : opt principal;
successfully_transferred_neurons : vec TransferredNeuron;
Expand Down
3 changes: 3 additions & 0 deletions packages/nns/candid/governance.certified.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ export const idlFactory = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down Expand Up @@ -712,6 +713,7 @@ export const idlFactory = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'reward_status' : IDL.Int32,
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down Expand Up @@ -1528,6 +1530,7 @@ export const init = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down
2 changes: 2 additions & 0 deletions packages/nns/candid/governance.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ export interface ProposalData {
reject_cost_e8s: bigint;
derived_proposal_information: [] | [DerivedProposalInformation];
latest_tally: [] | [Tally];
total_potential_voting_power: [] | [bigint];
sns_token_swap_lifecycle: [] | [number];
decided_timestamp_seconds: bigint;
proposal: [] | [Proposal];
Expand All @@ -708,6 +709,7 @@ export interface ProposalInfo {
reject_cost_e8s: bigint;
derived_proposal_information: [] | [DerivedProposalInformation];
latest_tally: [] | [Tally];
total_potential_voting_power: [] | [bigint];
reward_status: number;
decided_timestamp_seconds: bigint;
proposal: [] | [Proposal];
Expand Down
4 changes: 3 additions & 1 deletion packages/nns/candid/governance.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/nns/governance/canister/governance.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/nns/governance/canister/governance.did' by import-candid
type AccountIdentifier = record {
hash : blob;
};
Expand Down Expand Up @@ -812,6 +812,7 @@ type ProposalData = record {
wait_for_quiet_state : opt WaitForQuietState;
executed_timestamp_seconds : nat64;
original_total_community_fund_maturity_e8s_equivalent : opt nat64;
total_potential_voting_power : opt nat64;
};

type ProposalInfo = record {
Expand All @@ -832,6 +833,7 @@ type ProposalInfo = record {
proposal : opt Proposal;
proposer : opt NeuronId;
executed_timestamp_seconds : nat64;
total_potential_voting_power : opt nat64;
};

type RegisterVote = record {
Expand Down
3 changes: 3 additions & 0 deletions packages/nns/candid/governance.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ export const idlFactory = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down Expand Up @@ -712,6 +713,7 @@ export const idlFactory = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'reward_status' : IDL.Int32,
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down Expand Up @@ -1544,6 +1546,7 @@ export const init = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down
3 changes: 3 additions & 0 deletions packages/nns/candid/governance_test.certified.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ export const idlFactory = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down Expand Up @@ -712,6 +713,7 @@ export const idlFactory = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'reward_status' : IDL.Int32,
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down Expand Up @@ -1529,6 +1531,7 @@ export const init = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down
2 changes: 2 additions & 0 deletions packages/nns/candid/governance_test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ export interface ProposalData {
reject_cost_e8s: bigint;
derived_proposal_information: [] | [DerivedProposalInformation];
latest_tally: [] | [Tally];
total_potential_voting_power: [] | [bigint];
sns_token_swap_lifecycle: [] | [number];
decided_timestamp_seconds: bigint;
proposal: [] | [Proposal];
Expand All @@ -708,6 +709,7 @@ export interface ProposalInfo {
reject_cost_e8s: bigint;
derived_proposal_information: [] | [DerivedProposalInformation];
latest_tally: [] | [Tally];
total_potential_voting_power: [] | [bigint];
reward_status: number;
decided_timestamp_seconds: bigint;
proposal: [] | [Proposal];
Expand Down
4 changes: 3 additions & 1 deletion packages/nns/candid/governance_test.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/nns/governance/canister/governance_test.did' by import-candid
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-kernel) 'rs/nns/governance/canister/governance_test.did' by import-candid
type AccountIdentifier = record {
hash : blob;
};
Expand Down Expand Up @@ -814,6 +814,7 @@ type ProposalData = record {
wait_for_quiet_state : opt WaitForQuietState;
executed_timestamp_seconds : nat64;
original_total_community_fund_maturity_e8s_equivalent : opt nat64;
total_potential_voting_power : opt nat64;
};

type ProposalInfo = record {
Expand All @@ -834,6 +835,7 @@ type ProposalInfo = record {
proposal : opt Proposal;
proposer : opt NeuronId;
executed_timestamp_seconds : nat64;
total_potential_voting_power : opt nat64;
};

type RegisterVote = record {
Expand Down
3 changes: 3 additions & 0 deletions packages/nns/candid/governance_test.idl.js
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ export const idlFactory = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down Expand Up @@ -712,6 +713,7 @@ export const idlFactory = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'reward_status' : IDL.Int32,
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down Expand Up @@ -1545,6 +1547,7 @@ export const init = ({ IDL }) => {
'reject_cost_e8s' : IDL.Nat64,
'derived_proposal_information' : IDL.Opt(DerivedProposalInformation),
'latest_tally' : IDL.Opt(Tally),
'total_potential_voting_power' : IDL.Opt(IDL.Nat64),
'sns_token_swap_lifecycle' : IDL.Opt(IDL.Int32),
'decided_timestamp_seconds' : IDL.Nat64,
'proposal' : IDL.Opt(Proposal),
Expand Down
2 changes: 1 addition & 1 deletion packages/nns/candid/sns_wasm.did
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from IC repo commit 51f6f4e4ab (2024-10-31 tags: release-2024-10-31_03-09-ubuntu20.04) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
// 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
type AddWasmRequest = record {
hash : blob;
wasm : opt SnsWasm;
Expand Down
Loading

0 comments on commit 9c0a5f6

Please sign in to comment.