Skip to content

Commit

Permalink
🤖 Documentation auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 2, 2023
1 parent 40b7c35 commit 7df86c3
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 108 deletions.
4 changes: 0 additions & 4 deletions packages/ckbtc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ Parameters:
- `params`: The Bitcoin address and network to parse
- `params.network`: Optional. Default BtcNetwork is Mainnet

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ckbtc/src/utils/btc.utils.ts#L194)

### :factory: CkBTCMinterCanister

#### Methods
Expand Down Expand Up @@ -183,8 +181,6 @@ Parameters:
- `params`: The parameters to get the deposit fee.
- `params.certified`: query or update call

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ckbtc/src/minter.canister.ts#L33)

<!-- TSDOC_END -->

## Resources
Expand Down
2 changes: 0 additions & 2 deletions packages/cmc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,4 @@ It returns the new Cycles of the canister.
| ------------- | ---------------------------------------------- |
| `notifyTopUp` | `(request: NotifyTopUpArg) => Promise<bigint>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/cmc/src/cmc.canister.ts#L13)

<!-- TSDOC_END -->
2 changes: 0 additions & 2 deletions packages/ic-management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ Creates a canister. Only available on development instances.
| ------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| `provisionalCreateCanisterWithCycles` | `({ settings, amount, canisterId, }?: ProvisionalCreateCanisterWithCyclesParams) => Promise<Principal>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ic-management/src/ic-management.canister.ts#L24)

<!-- TSDOC_END -->

## Resources
Expand Down
10 changes: 0 additions & 10 deletions packages/ledger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ Parameters:

- `account`: : Principal, subaccount?: Uint8Array }

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ledger/src/utils/ledger.utils.ts#L21)

#### :gear: decodeIcrcAccount

Decodes a string into an Icrc-1 compatible account.
Expand All @@ -88,8 +86,6 @@ Parameters:

- `accountString`: string

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ledger/src/utils/ledger.utils.ts#L59)

#### :gear: decodePayment

A naive implementation of a payment parser. Given a code, the function attempts to extract a token name, account identifier (textual representation), and an optional amount.
Expand Down Expand Up @@ -117,8 +113,6 @@ Parameters:

- `code`: string

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ledger/src/utils/payment.utils.ts#L24)

### :factory: IcrcLedgerCanister

#### Methods
Expand Down Expand Up @@ -184,8 +178,6 @@ Returns the total supply of tokens.
| ------------------- | ------------------------------------------ |
| `totalTokensSupply` | `(params: QueryParams) => Promise<bigint>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ledger/src/ledger.canister.ts#L16)

### :factory: IcrcIndexCanister

#### Methods
Expand All @@ -212,8 +204,6 @@ Index Canister only holds the transactions ids in state, not the whole transacti
| ----------------- | -------------------------------------------------------------------- |
| `getTransactions` | `(params: GetAccountTransactionsParams) => Promise<GetTransactions>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/ledger/src/index.canister.ts#L13)

<!-- TSDOC_END -->

## Resources
Expand Down
20 changes: 0 additions & 20 deletions packages/nns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ Parameters:
- `params.neurons`: The neurons to filter.
- `params.proposal`: The proposal to match against the selected neurons.

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L39)

#### :gear: votableNeurons

Filter the neurons that can vote for a proposal - i.e. the neurons that have not voted yet and are eligible
Expand All @@ -102,8 +100,6 @@ Parameters:
- `params.neurons`: The neurons to filter.
- `params.proposal`: The proposal to match against the selected neurons.

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L68)

#### :gear: votedNeurons

Filter the neurons that have voted for a proposal.
Expand All @@ -117,8 +113,6 @@ Parameters:
- `params.neurons`: The neurons to filter.
- `params.proposal`: The proposal for which some neurons might have already voted.

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/utils/neurons.utils.ts#L94)

### :factory: AccountIdentifier

#### Methods
Expand Down Expand Up @@ -173,8 +167,6 @@ Parameters:
| ------------------------- | ------------------------- |
| `toAccountIdentifierHash` | `() => AccountIdentifier` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L12)

### :factory: SubAccount

#### Methods
Expand Down Expand Up @@ -208,8 +200,6 @@ Parameters:
| -------------- | ------------------ |
| `toUint8Array` | `() => Uint8Array` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/account_identifier.ts#L73)

### :factory: GenesisTokenCanister

#### Methods
Expand All @@ -229,8 +219,6 @@ Parameters:
| -------------- | --------------------------------------------------------------- |
| `claimNeurons` | `({ hexPubKey, }: { hexPubKey: string; }) => Promise<bigint[]>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/genesis_token.canister.ts#L9)

### :factory: LedgerCanister

#### Methods
Expand Down Expand Up @@ -274,8 +262,6 @@ Returns the index of the block containing the tx if it was successful.
| ---------- | ----------------------------------------------- |
| `transfer` | `(request: TransferRequest) => Promise<bigint>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main//home/runner/work/ic-js/ic-js/packages/nns/src/ledger.canister.ts#L27)

### :factory: GovernanceCanister

#### Methods
Expand Down Expand Up @@ -584,8 +570,6 @@ Return the data of the neuron provided as id.
| ----------- | ---------------------------------------------------------------------------------------------- |
| `getNeuron` | `({ certified, neuronId, }: { certified: boolean; neuronId: bigint; }) => Promise<NeuronInfo>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L106)

### :factory: ICP

We don't extend to keep `fromE8s` and `fromString` as backwards compatible.
Expand Down Expand Up @@ -627,8 +611,6 @@ Initialize from a string. Accepted formats:
| --------- | ---------------------- |
| `toProto` | `() => Promise<ICPTs>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/icp.ts#L14)

### :factory: SnsWasmCanister

#### Methods
Expand All @@ -648,6 +630,4 @@ Initialize from a string. Accepted formats:
| ----------- | ---------------------------------------------------------------------- |
| `listSnses` | `({ certified, }: { certified?: boolean; }) => Promise<DeployedSns[]>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/sns_wasm.canister.ts#L10)

<!-- TSDOC_END -->
10 changes: 0 additions & 10 deletions packages/sns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ Lookup for the canister ids of a Sns and initialize the wrapper to access its fe
| ---------------- | ---------------- |
| `initSnsWrapper` | `InitSnsWrapper` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/sns/src/sns.ts#L33)

### :factory: SnsGovernanceCanister

#### Methods
Expand Down Expand Up @@ -317,8 +315,6 @@ Claim neuron
| ------------- | -------------------------------------------------------------------------------- |
| `claimNeuron` | `({ memo, controller, subaccount, }: SnsClaimNeuronParams) => Promise<NeuronId>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/sns/src/governance.canister.ts#L60)

### :factory: SnsRootCanister

#### Methods
Expand All @@ -342,8 +338,6 @@ Source code: https://github.com/dfinity/ic/blob/master/rs/sns/root/src/lib.rs
| ------------------ | --------------------------------------------------------------------------------- |
| `listSnsCanisters` | `({ certified, }: { certified?: boolean; }) => Promise<ListSnsCanistersResponse>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/sns/src/root.canister.ts#L10)

### :factory: SnsSwapCanister

#### Methods
Expand Down Expand Up @@ -437,8 +431,6 @@ Get sale lifecycle state
| -------------- | -------------------------------------------------------- |
| `getLifecycle` | `(params: QueryParams) => Promise<GetLifecycleResponse>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main//home/runner/work/ic-js/ic-js/packages/sns/src/swap.canister.ts#L30)

### :factory: SnsWrapper

Sns wrapper - notably used by NNS-dapp - ease the access to a particular Sns.
Expand Down Expand Up @@ -773,6 +765,4 @@ Always certified
| ------------------- | ------------------------------------------------------------- |
| `autoStakeMaturity` | `(params: SnsNeuronAutoStakeMaturityParams) => Promise<void>` |

[:link: Source](https://github.com/dfinity/ic-js/tree/main//home/runner/work/ic-js/ic-js/packages/sns/src/sns.wrapper.ts#L82)

<!-- TSDOC_END -->
Loading

0 comments on commit 7df86c3

Please sign in to comment.