diff --git a/packages/ckbtc/candid/minter.did b/packages/ckbtc/candid/minter.did index b00066d70..d354f6018 100644 --- a/packages/ckbtc/candid/minter.did +++ b/packages/ckbtc/candid/minter.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/bitcoin/ckbtc/minter/ckbtc_minter.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) '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 }; diff --git a/packages/cketh/candid/minter.certified.idl.js b/packages/cketh/candid/minter.certified.idl.js index e6e74c0c1..bb1fd9088 100644 --- a/packages/cketh/candid/minter.certified.idl.js +++ b/packages/cketh/candid/minter.certified.idl.js @@ -229,9 +229,11 @@ export const idlFactory = ({ IDL }) => { 'eth_helper_contract_address' : IDL.Opt(IDL.Text), 'last_observed_block_number' : IDL.Opt(IDL.Nat), 'erc20_helper_contract_address' : IDL.Opt(IDL.Text), + 'last_erc20_scraped_block_number' : IDL.Opt(IDL.Nat), 'supported_ckerc20_tokens' : IDL.Opt(IDL.Vec(CkErc20Token)), 'last_gas_fee_estimate' : IDL.Opt(GasFeeEstimate), 'smart_contract_address' : IDL.Opt(IDL.Text), + 'last_eth_scraped_block_number' : IDL.Opt(IDL.Nat), 'minimum_withdrawal_amount' : IDL.Opt(IDL.Nat), 'erc20_balances' : IDL.Opt( IDL.Vec( @@ -243,7 +245,10 @@ export const idlFactory = ({ IDL }) => { }); const EthTransaction = IDL.Record({ 'transaction_hash' : IDL.Text }); const TxFinalizedStatus = IDL.Variant({ - 'Success' : EthTransaction, + 'Success' : IDL.Record({ + 'transaction_hash' : IDL.Text, + 'effective_transaction_fee' : IDL.Opt(IDL.Nat), + }), 'Reimbursed' : IDL.Record({ 'transaction_hash' : IDL.Text, 'reimbursed_amount' : IDL.Nat, @@ -312,6 +317,31 @@ export const idlFactory = ({ IDL }) => { 'RecipientAddressBlocked' : IDL.Record({ 'address' : IDL.Text }), 'InsufficientFunds' : IDL.Record({ 'balance' : IDL.Nat }), }); + const Account = IDL.Record({ + 'owner' : IDL.Principal, + 'subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)), + }); + const WithdrawalSearchParameter = IDL.Variant({ + 'ByRecipient' : IDL.Text, + 'BySenderAccount' : Account, + 'ByWithdrawalId' : IDL.Nat64, + }); + const WithdrawalStatus = IDL.Variant({ + 'TxFinalized' : TxFinalizedStatus, + 'TxSent' : EthTransaction, + 'TxCreated' : IDL.Null, + 'Pending' : IDL.Null, + }); + const WithdrawalDetail = IDL.Record({ + 'status' : WithdrawalStatus, + 'token_symbol' : IDL.Text, + 'withdrawal_amount' : IDL.Nat, + 'withdrawal_id' : IDL.Nat64, + 'from' : IDL.Principal, + 'from_subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)), + 'max_transaction_fee' : IDL.Opt(IDL.Nat), + 'recipient_address' : IDL.Text, + }); return IDL.Service({ 'add_ckerc20_token' : IDL.Func([AddCkErc20Token], [], []), 'eip_1559_transaction_price' : IDL.Func([], [Eip1559TransactionPrice], []), @@ -346,6 +376,11 @@ export const idlFactory = ({ IDL }) => { [IDL.Variant({ 'Ok' : RetrieveEthRequest, 'Err' : WithdrawalError })], [], ), + 'withdrawal_status' : IDL.Func( + [WithdrawalSearchParameter], + [IDL.Vec(WithdrawalDetail)], + [], + ), }); }; export const init = ({ IDL }) => { diff --git a/packages/cketh/candid/minter.d.ts b/packages/cketh/candid/minter.d.ts index 265f4d36e..f03414834 100644 --- a/packages/cketh/candid/minter.d.ts +++ b/packages/cketh/candid/minter.d.ts @@ -2,6 +2,10 @@ import type { ActorMethod } from "@dfinity/agent"; import type { IDL } from "@dfinity/candid"; import type { Principal } from "@dfinity/principal"; +export interface Account { + owner: Principal; + subaccount: [] | [Uint8Array | number[]]; +} export interface AddCkErc20Token { ckerc20_ledger_id: Principal; chain_id: bigint; @@ -226,9 +230,11 @@ export interface MinterInfo { eth_helper_contract_address: [] | [string]; last_observed_block_number: [] | [bigint]; erc20_helper_contract_address: [] | [string]; + last_erc20_scraped_block_number: [] | [bigint]; supported_ckerc20_tokens: [] | [Array]; last_gas_fee_estimate: [] | [GasFeeEstimate]; smart_contract_address: [] | [string]; + last_eth_scraped_block_number: [] | [bigint]; minimum_withdrawal_amount: [] | [bigint]; erc20_balances: | [] @@ -273,7 +279,12 @@ export interface TransactionReceipt { gas_used: bigint; } export type TxFinalizedStatus = - | { Success: EthTransaction } + | { + Success: { + transaction_hash: string; + effective_transaction_fee: [] | [bigint]; + }; + } | { Reimbursed: { transaction_hash: string; @@ -327,12 +338,31 @@ export interface WithdrawalArg { recipient: string; amount: bigint; } +export interface WithdrawalDetail { + status: WithdrawalStatus; + token_symbol: string; + withdrawal_amount: bigint; + withdrawal_id: bigint; + from: Principal; + from_subaccount: [] | [Uint8Array | number[]]; + max_transaction_fee: [] | [bigint]; + recipient_address: string; +} export type WithdrawalError = | { TemporarilyUnavailable: string } | { InsufficientAllowance: { allowance: bigint } } | { AmountTooLow: { min_withdrawal_amount: bigint } } | { RecipientAddressBlocked: { address: string } } | { InsufficientFunds: { balance: bigint } }; +export type WithdrawalSearchParameter = + | { ByRecipient: string } + | { BySenderAccount: Account } + | { ByWithdrawalId: bigint }; +export type WithdrawalStatus = + | { TxFinalized: TxFinalizedStatus } + | { TxSent: EthTransaction } + | { TxCreated: null } + | { Pending: null }; export interface _SERVICE { add_ckerc20_token: ActorMethod<[AddCkErc20Token], undefined>; eip_1559_transaction_price: ActorMethod<[], Eip1559TransactionPrice>; @@ -354,6 +384,10 @@ export interface _SERVICE { [WithdrawalArg], { Ok: RetrieveEthRequest } | { Err: WithdrawalError } >; + withdrawal_status: ActorMethod< + [WithdrawalSearchParameter], + Array + >; } export declare const idlFactory: IDL.InterfaceFactory; export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/cketh/candid/minter.did b/packages/cketh/candid/minter.did index 626b870b1..245233988 100644 --- a/packages/cketh/candid/minter.did +++ b/packages/cketh/candid/minter.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/ethereum/cketh/minter/cketh_minter.did' by import-candid type EthereumNetwork = variant { // The public Ethereum mainnet. Mainnet; @@ -167,6 +167,12 @@ type MinterInfo = record { // Amount of ETH in Wei controlled by the minter. // This might be less that the actual amount available on the `minter_address()`. erc20_balances : opt vec record { erc20_contract_address: text; balance: nat}; + + // Last scraped block number for logs of the ETH helper contract. + last_eth_scraped_block_number: opt nat; + + // Last scraped block number for logs of the ERC20 helper contract. + last_erc20_scraped_block_number: opt nat; }; @@ -189,7 +195,10 @@ type EthTransaction = record { transaction_hash : text }; // Status of a finalized transaction. type TxFinalizedStatus = variant { // Transaction was successful. - Success : EthTransaction; + Success : record { + transaction_hash : text; + effective_transaction_fee: opt nat; + }; // Transaction failed, user got reimbursed. Reimbursed : record { transaction_hash : text; @@ -221,6 +230,63 @@ type RetrieveEthStatus = variant { type WithdrawalArg = record { recipient : text; amount : nat }; +// Details of a withdrawal request and its status. +type WithdrawalDetail = record { + // Symbol of the withdrawal token (either ckETH or ckERC20 token symbol). + token_symbol : text; + + // Amount of tokens in base unit that was withdrawn. + withdrawal_amount : nat; + + // Max transaction fee in Wei (transaction fee paid by the sender). + max_transaction_fee : opt nat; + + // Withdrawal id (i.e. burn index on the ckETH ledger). + withdrawal_id : nat64; + + // Sender's principal. + from : principal; + + // Sender's subaccount (if given). + from_subaccount : opt blob; + + // Address to send tokens to. + recipient_address : text; + + // Withdrawal status + status : WithdrawalStatus; +}; + +// Status of a withdrawal request. +type WithdrawalStatus = variant { + // Request is pending, i.e. transaction is not yet created. + Pending; + + // Transaction created byt not yet sent. + TxCreated; + + // Transaction sent but not yet finalized. + TxSent : EthTransaction; + + // Transaction already finalized. + TxFinalized : TxFinalizedStatus; +}; + +// ICRC-1 account type. +type Account = record { owner : principal; subaccount : opt blob }; + +// Search parameter for withdrawals. +type WithdrawalSearchParameter = variant { + // Search by recipient's ETH address. + ByRecipient : text; + + // Search by sender's token account. + BySenderAccount : Account; + + // Search by ckETH burn index (which is also used to index ckERC20 withdrawals). + ByWithdrawalId : nat64; +}; + type RetrieveEthRequest = record { block_index : nat }; type WithdrawalError = variant { @@ -489,6 +555,9 @@ service : (MinterArg) -> { // Retrieve the status of a Eth withdrawal request. retrieve_eth_status : (nat64) -> (RetrieveEthStatus); + // Return details of all withdrawals matching the given search parameter. + withdrawal_status : (WithdrawalSearchParameter) -> (vec WithdrawalDetail) query; + // Check if an address is blocked by the minter. is_address_blocked : (text) -> (bool) query; diff --git a/packages/cketh/candid/minter.idl.js b/packages/cketh/candid/minter.idl.js index 5611eea63..57c01751b 100644 --- a/packages/cketh/candid/minter.idl.js +++ b/packages/cketh/candid/minter.idl.js @@ -229,9 +229,11 @@ export const idlFactory = ({ IDL }) => { 'eth_helper_contract_address' : IDL.Opt(IDL.Text), 'last_observed_block_number' : IDL.Opt(IDL.Nat), 'erc20_helper_contract_address' : IDL.Opt(IDL.Text), + 'last_erc20_scraped_block_number' : IDL.Opt(IDL.Nat), 'supported_ckerc20_tokens' : IDL.Opt(IDL.Vec(CkErc20Token)), 'last_gas_fee_estimate' : IDL.Opt(GasFeeEstimate), 'smart_contract_address' : IDL.Opt(IDL.Text), + 'last_eth_scraped_block_number' : IDL.Opt(IDL.Nat), 'minimum_withdrawal_amount' : IDL.Opt(IDL.Nat), 'erc20_balances' : IDL.Opt( IDL.Vec( @@ -243,7 +245,10 @@ export const idlFactory = ({ IDL }) => { }); const EthTransaction = IDL.Record({ 'transaction_hash' : IDL.Text }); const TxFinalizedStatus = IDL.Variant({ - 'Success' : EthTransaction, + 'Success' : IDL.Record({ + 'transaction_hash' : IDL.Text, + 'effective_transaction_fee' : IDL.Opt(IDL.Nat), + }), 'Reimbursed' : IDL.Record({ 'transaction_hash' : IDL.Text, 'reimbursed_amount' : IDL.Nat, @@ -312,6 +317,31 @@ export const idlFactory = ({ IDL }) => { 'RecipientAddressBlocked' : IDL.Record({ 'address' : IDL.Text }), 'InsufficientFunds' : IDL.Record({ 'balance' : IDL.Nat }), }); + const Account = IDL.Record({ + 'owner' : IDL.Principal, + 'subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)), + }); + const WithdrawalSearchParameter = IDL.Variant({ + 'ByRecipient' : IDL.Text, + 'BySenderAccount' : Account, + 'ByWithdrawalId' : IDL.Nat64, + }); + const WithdrawalStatus = IDL.Variant({ + 'TxFinalized' : TxFinalizedStatus, + 'TxSent' : EthTransaction, + 'TxCreated' : IDL.Null, + 'Pending' : IDL.Null, + }); + const WithdrawalDetail = IDL.Record({ + 'status' : WithdrawalStatus, + 'token_symbol' : IDL.Text, + 'withdrawal_amount' : IDL.Nat, + 'withdrawal_id' : IDL.Nat64, + 'from' : IDL.Principal, + 'from_subaccount' : IDL.Opt(IDL.Vec(IDL.Nat8)), + 'max_transaction_fee' : IDL.Opt(IDL.Nat), + 'recipient_address' : IDL.Text, + }); return IDL.Service({ 'add_ckerc20_token' : IDL.Func([AddCkErc20Token], [], []), 'eip_1559_transaction_price' : IDL.Func( @@ -350,6 +380,11 @@ export const idlFactory = ({ IDL }) => { [IDL.Variant({ 'Ok' : RetrieveEthRequest, 'Err' : WithdrawalError })], [], ), + 'withdrawal_status' : IDL.Func( + [WithdrawalSearchParameter], + [IDL.Vec(WithdrawalDetail)], + ['query'], + ), }); }; export const init = ({ IDL }) => { diff --git a/packages/cmc/candid/cmc.did b/packages/cmc/candid/cmc.did index b53cbc423..53647aa12 100644 --- a/packages/cmc/candid/cmc.did +++ b/packages/cmc/candid/cmc.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/nns/cmc/cmc.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/nns/cmc/cmc.did' by import-candid type Cycles = nat; type BlockIndex = nat64; type log_visibility = variant { diff --git a/packages/ledger-icp/candid/index.did b/packages/ledger-icp/candid/index.did index e05339430..d1cf81796 100644 --- a/packages/ledger-icp/candid/index.did +++ b/packages/ledger-icp/candid/index.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/rosetta-api/icp_ledger/index/index.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/rosetta-api/icp_ledger/index/index.did' by import-candid type Account = record { owner : principal; subaccount : opt vec nat8 }; type GetAccountIdentifierTransactionsArgs = record { max_results : nat64; diff --git a/packages/ledger-icp/candid/ledger.did b/packages/ledger-icp/candid/ledger.did index b2e9162c5..297e37bda 100644 --- a/packages/ledger-icp/candid/ledger.did +++ b/packages/ledger-icp/candid/ledger.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/rosetta-api/icp_ledger/ledger.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/rosetta-api/icp_ledger/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. diff --git a/packages/ledger-icrc/candid/icrc_index-ng.did b/packages/ledger-icrc/candid/icrc_index-ng.did index 24cdcacd4..0127cdd58 100644 --- a/packages/ledger-icrc/candid/icrc_index-ng.did +++ b/packages/ledger-icrc/candid/icrc_index-ng.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/rosetta-api/icrc1/index-ng/index-ng.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/rosetta-api/icrc1/index-ng/index-ng.did' by import-candid type Tokens = nat; type InitArg = record { diff --git a/packages/ledger-icrc/candid/icrc_index.did b/packages/ledger-icrc/candid/icrc_index.did index ea0350477..98359db98 100644 --- a/packages/ledger-icrc/candid/icrc_index.did +++ b/packages/ledger-icrc/candid/icrc_index.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/rosetta-api/icrc1/index/index.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/rosetta-api/icrc1/index/index.did' by import-candid type TxId = nat; type Account = record { owner : principal; subaccount : opt blob }; diff --git a/packages/ledger-icrc/candid/icrc_ledger.did b/packages/ledger-icrc/candid/icrc_ledger.did index f33b4738e..0fd807837 100644 --- a/packages/ledger-icrc/candid/icrc_ledger.did +++ b/packages/ledger-icrc/candid/icrc_ledger.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/rosetta-api/icrc1/ledger/ledger.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/rosetta-api/icrc1/ledger/ledger.did' by import-candid type BlockIndex = nat; type Subaccount = blob; // Number of nanoseconds since the UNIX epoch in UTC timezone. diff --git a/packages/nns/candid/genesis_token.did b/packages/nns/candid/genesis_token.did index 13142f02a..17e2f8ba8 100644 --- a/packages/nns/candid/genesis_token.did +++ b/packages/nns/candid/genesis_token.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/nns/gtc/canister/gtc.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/nns/gtc/canister/gtc.did' by import-candid type AccountState = record { authenticated_principal_id : opt principal; successfully_transferred_neurons : vec TransferredNeuron; diff --git a/packages/nns/candid/governance.did b/packages/nns/candid/governance.did index 1ea9e1801..9383a2f31 100644 --- a/packages/nns/candid/governance.did +++ b/packages/nns/candid/governance.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/nns/governance/canister/governance.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/nns/governance/canister/governance.did' by import-candid type AccountIdentifier = record { hash : blob }; type Action = variant { RegisterKnownNeuron : KnownNeuron; diff --git a/packages/nns/candid/governance_test.did b/packages/nns/candid/governance_test.did index 2d171de0b..f63de238c 100644 --- a/packages/nns/candid/governance_test.did +++ b/packages/nns/candid/governance_test.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/nns/governance/canister/governance_test.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/nns/governance/canister/governance_test.did' by import-candid type AccountIdentifier = record { hash : blob }; type Action = variant { RegisterKnownNeuron : KnownNeuron; diff --git a/packages/nns/candid/sns_wasm.certified.idl.js b/packages/nns/candid/sns_wasm.certified.idl.js index 2555476a6..f71dccbe1 100644 --- a/packages/nns/candid/sns_wasm.certified.idl.js +++ b/packages/nns/candid/sns_wasm.certified.idl.js @@ -7,6 +7,7 @@ export const idlFactory = ({ IDL }) => { }); const SnsWasm = IDL.Record({ 'wasm' : IDL.Vec(IDL.Nat8), + 'proposal_id' : IDL.Opt(IDL.Nat64), 'canister_type' : IDL.Int32, }); const AddWasmRequest = IDL.Record({ diff --git a/packages/nns/candid/sns_wasm.d.ts b/packages/nns/candid/sns_wasm.d.ts index 553752588..48648dde3 100644 --- a/packages/nns/candid/sns_wasm.d.ts +++ b/packages/nns/candid/sns_wasm.d.ts @@ -237,6 +237,7 @@ export interface SnsVersion { } export interface SnsWasm { wasm: Uint8Array | number[]; + proposal_id: [] | [bigint]; canister_type: number; } export interface SnsWasmCanisterInitPayload { diff --git a/packages/nns/candid/sns_wasm.did b/packages/nns/candid/sns_wasm.did index d21ff1128..4d369c2c6 100644 --- a/packages/nns/candid/sns_wasm.did +++ b/packages/nns/candid/sns_wasm.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid type AddWasmRequest = record { hash : blob; wasm : opt SnsWasm }; type AddWasmResponse = record { result : opt Result }; type AirdropDistribution = record { airdrop_neurons : vec NeuronDistribution }; @@ -186,7 +186,11 @@ type SnsVersion = record { governance_wasm_hash : blob; index_wasm_hash : blob; }; -type SnsWasm = record { wasm : blob; canister_type : int32 }; +type SnsWasm = record { + wasm : blob; + proposal_id : opt nat64; + canister_type : int32; +}; type SnsWasmCanisterInitPayload = record { allowed_principals : vec principal; access_controls_enabled : bool; diff --git a/packages/nns/candid/sns_wasm.idl.js b/packages/nns/candid/sns_wasm.idl.js index 8a8226fc8..8a9a4d754 100644 --- a/packages/nns/candid/sns_wasm.idl.js +++ b/packages/nns/candid/sns_wasm.idl.js @@ -7,6 +7,7 @@ export const idlFactory = ({ IDL }) => { }); const SnsWasm = IDL.Record({ 'wasm' : IDL.Vec(IDL.Nat8), + 'proposal_id' : IDL.Opt(IDL.Nat64), 'canister_type' : IDL.Int32, }); const AddWasmRequest = IDL.Record({ diff --git a/packages/sns/candid/sns_governance.did b/packages/sns/candid/sns_governance.did index 2bc8ebe4d..64bef7c39 100644 --- a/packages/sns/candid/sns_governance.did +++ b/packages/sns/candid/sns_governance.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/sns/governance/canister/governance.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/sns/governance/canister/governance.did' by import-candid type Account = record { owner : opt principal; subaccount : opt Subaccount }; type Action = variant { ManageNervousSystemParameters : NervousSystemParameters; diff --git a/packages/sns/candid/sns_governance_test.did b/packages/sns/candid/sns_governance_test.did index abfa75597..d08ec36c9 100644 --- a/packages/sns/candid/sns_governance_test.did +++ b/packages/sns/candid/sns_governance_test.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/sns/governance/canister/governance_test.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/sns/governance/canister/governance_test.did' by import-candid type Account = record { owner : opt principal; subaccount : opt Subaccount }; type Action = variant { ManageNervousSystemParameters : NervousSystemParameters; diff --git a/packages/sns/candid/sns_root.did b/packages/sns/candid/sns_root.did index a21dacc69..20b9f6a54 100644 --- a/packages/sns/candid/sns_root.did +++ b/packages/sns/candid/sns_root.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/sns/root/canister/root.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/sns/root/canister/root.did' by import-candid type CanisterCallError = record { code : opt int32; description : text }; type CanisterIdRecord = record { canister_id : principal }; type CanisterInstallMode = variant { reinstall; upgrade; install }; diff --git a/packages/sns/candid/sns_swap.did b/packages/sns/candid/sns_swap.did index 5711dd053..7780b8030 100644 --- a/packages/sns/candid/sns_swap.did +++ b/packages/sns/candid/sns_swap.did @@ -1,4 +1,4 @@ -// Generated from IC repo commit f58424c (2024-04-24 tags: release-2024-05-01_23-01-storage-layer) 'rs/sns/swap/canister/swap.did' by import-candid +// Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/sns/swap/canister/swap.did' by import-candid type BuyerState = record { icp : opt TransferableAmount; has_created_neuron_recipes : opt bool;