Skip to content

Commit fd48e40

Browse files
committed
remove non available functionalities
1 parent 8fc9481 commit fd48e40

File tree

8 files changed

+70
-127
lines changed

8 files changed

+70
-127
lines changed

src/content/ccip/api-reference/svm/v1.6.0/base-token-pool.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub struct BaseConfig {
5353
// Ownership and administration
5454
pub owner: Pubkey, // Current pool owner
5555
pub proposed_owner: Pubkey, // Proposed new owner (for ownership transfer)
56-
pub rate_limit_admin: Pubkey, // Rate limit administrator
56+
pub rate_limit_admin: Pubkey, // Rate limit administrator (currently unused - rate limits managed by pool owner)
5757

5858
// CCIP integration
5959
pub router_onramp_authority: Pubkey, // Router's onramp authority PDA

src/content/ccip/api-reference/svm/v1.6.0/burn-mint-token-pool.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,11 @@ fn set_chain_rate_limit(
440440
| -------------- | ---------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------ |
441441
| `state` | `Account<State>` | No | Pool state PDA. <br/>**Derivation**: `["ccip_tokenpool_config", mint]` under this program. |
442442
| `chain_config` | `Account<ChainConfig>` | Yes | Chain config PDA. <br/>**Derivation**: `["ccip_tokenpool_chainconfig", remote_chain_selector, mint]` under this program. |
443-
| `authority` | `Signer<'info>` | Yes | Must be pool owner or rate limit admin. |
443+
| `authority` | `Signer<'info>` | Yes | Must be the pool owner. |
444444

445445
##### Authorization
446446

447-
- **Caller**: Must be the pool owner OR the rate limit admin
447+
- **Caller**: Must be the pool owner
448448

449449
#### `delete_chain_config`
450450

src/content/ccip/api-reference/svm/v1.6.0/events.mdx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -97,23 +97,6 @@ pub struct PoolSet {
9797
| `previous_pool_lookup_table` | `Pubkey` | The previous Address Lookup Table (zero if first time) |
9898
| `new_pool_lookup_table` | `Pubkey` | The new Address Lookup Table (zero to delist from CCIP) |
9999

100-
##### `PoolEdited`
101-
102-
Emitted when pool auto-derivation support is modified via `set_pool_supports_auto_derivation`.
103-
104-
```rust
105-
#[event]
106-
pub struct PoolEdited {
107-
pub token: Pubkey,
108-
pub supports_auto_derivation: bool,
109-
}
110-
```
111-
112-
| Field | Type | Description |
113-
| -------------------------- | -------- | ----------------------------------------- |
114-
| `token` | `Pubkey` | The SPL token mint address |
115-
| `supports_auto_derivation` | `bool` | Whether the pool supports auto-derivation |
116-
117100
### BurnMint Token Pool
118101

119102
The BurnMint Token Pool program emits events related to pool configuration, token operations, and mint authority management.

src/content/ccip/api-reference/svm/v1.6.0/lock-release-token-pool.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,9 @@ pub fn set_chain_rate_limit(
402402

403403
- `state`: Pool State PDA
404404
- `chain_config`: Chain Config PDA (mutable)
405-
- `authority`: Pool owner or rate limit admin (signer)
405+
- `authority`: Pool owner (signer)
406406

407-
**Authorization:** Pool owner OR rate limit admin
407+
**Authorization:** Pool owner only
408408

409409
##### `delete_chain_config`
410410

src/content/ccip/api-reference/svm/v1.6.0/router.mdx

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -424,39 +424,3 @@ fn set_pool(
424424

425425
- **Enable Token**: Set `pool_lookuptable` to a valid Address Lookup Table with required pool accounts
426426
- **Disable Token**: Set `pool_lookuptable` to zero address (`Pubkey::default()`) to delist from CCIP
427-
428-
#### `set_pool_supports_auto_derivation`
429-
430-
Configures whether a token pool supports automatic account derivation for cross-chain transfers.
431-
432-
```rust
433-
fn set_pool_supports_auto_derivation(
434-
ctx: Context<EditPoolTokenAdminRegistry>,
435-
mint: Pubkey,
436-
supports_auto_derivation: bool,
437-
) -> Result<()>;
438-
```
439-
440-
##### Parameters
441-
442-
| Name | Type | Description |
443-
| --------------------------------------- | --------------------- | ----------------------------------------------------- |
444-
| <nobr>`mint`</nobr> | <nobr>`Pubkey`</nobr> | The SPL token mint to configure. |
445-
| <nobr>`supports_auto_derivation`</nobr> | <nobr>`bool`</nobr> | Whether the pool supports dynamic account derivation. |
446-
447-
##### Context (Accounts)
448-
449-
| Field | Type | Writable? | Description |
450-
| ---------------------- | ------------------------------------------ | --------- | ------------------------------------------------------------------------------------------------------------------------- |
451-
| `config` | <nobr>`Account<Config>`</nobr> | No | Router config PDA. <br/>**Derivation**: `["config"]` under the `ccip_router` program. |
452-
| `token_admin_registry` | <nobr>`Account<TokenAdminRegistry>`</nobr> | Yes | Existing token admin registry PDA. <br/>**Derivation**: `["token_admin_registry", mint]` under the `ccip_router` program. |
453-
| `authority` | <nobr>`Signer<'info>`</nobr> | Yes | Must be the current administrator of the token admin registry. |
454-
455-
##### Authorization
456-
457-
- **Caller**: Must be the current `administrator` listed in the TokenAdminRegistry PDA
458-
459-
##### Auto-Derivation Impact
460-
461-
- **Enabled (`true`)**: The Router validates only static accounts in the Address Lookup Table, allowing the pool to handle additional dynamically-derived accounts
462-
- **Disabled (`false`)**: The Router validates all accounts against the static Address Lookup Table, expecting a complete and fixed account set

src/content/ccip/concepts/cross-chain-token/svm/architecture.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,11 @@ The CCIP Router program is central to cross-chain token management. It has two f
9595

9696
For detailed step-by-step procedures, sequence diagrams, and complete registration workflows, see [Registration & Administration](/ccip/concepts/cross-chain-token/svm/registration-administration).
9797

98-
- **Pool configuration:** The TokenAdminRegistry maps each mint to exactly one token pool configuration through the ALT. This ensures that during cross-chain transfers, only the authorized token pool implementation can interact with the token. The registry also includes a `supports_auto_derivation` flag for enhanced account derivation capabilities.
98+
- **Pool configuration:** The TokenAdminRegistry maps each mint to exactly one token pool configuration through the ALT. This ensures that during cross-chain transfers, only the authorized token pool implementation can interact with the token.
9999
- **Security Architecture:** The one-to-one mapping between tokens and pools provides critical security guarantees:
100100
- **Single Authorized Pool:** Each token mint can only have one authorized pool configuration, preventing unauthorized token handling
101101
- **Atomic Pool Updates:** Changing pool configurations requires updating the entire ALT reference, ensuring consistent state
102102
- **Access Control:** Only the registry administrator can modify pool assignments, maintaining strict governance
103-
- **Enhanced Account Derivation:** When `supports_auto_derivation` is enabled, token pools can dynamically derive additional accounts during cross-chain operations. This allows pools to handle complex transfer scenarios with varying account requirements while maintaining security through the registry's controlled environment.
104103

105104
1. **Lock or Burn Flow (when sending tokens cross-chain)**
106105

src/content/ccip/concepts/cross-chain-token/svm/registration-administration.mdx

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ Understanding who can call which Router instructions is critical for secure toke
2828
| [`accept_admin_role_token_admin_registry`](/ccip/api-reference/svm/v1.6.0/router#accept_admin_role_token_admin_registry) |||||
2929
| [`transfer_admin_role_token_admin_registry`](/ccip/api-reference/svm/v1.6.0/router#transfer_admin_role_token_admin_registry) |||||
3030
| [`set_pool`](/ccip/api-reference/svm/v1.6.0/router#set_pool) |||||
31-
| [`set_pool_supports_auto_derivation`](/ccip/api-reference/svm/v1.6.0/router#set_pool_supports_auto_derivation) |||||
3231

3332
**Notes:**
3433

@@ -165,25 +164,6 @@ The sequence diagram below explains how the [`set_pool`](/ccip/api-reference/svm
165164
style="display: block; margin: 2rem auto; max-height: 60vh; width: auto;"
166165
/>
167166

168-
### Configuring Pool Auto-Derivation
169-
170-
The [`set_pool_supports_auto_derivation`](/ccip/api-reference/svm/v1.6.0/router#set_pool_supports_auto_derivation) instruction allows a token administrator to configure whether their token pool supports automatic account derivation for cross-chain transfers. This setting affects how the CCIP Router validates and handles account lists during token transfer operations.
171-
172-
**Auto-Derivation Capability:** When enabled (`supports_auto_derivation = true`), the token pool can dynamically derive additional accounts and lookup tables required for cross-chain operations by implementing `derive_accounts_lock_or_burn` and `derive_accounts_release_or_mint` functions. This provides flexibility for pools that need message-dependent or dynamically calculated account sets.
173-
174-
**Account Validation Impact:**
175-
176-
- **Auto-derivation enabled**: The Router validates only the static accounts present in the Address Lookup Table, allowing the pool to handle validation of additional dynamically-derived accounts.
177-
- **Auto-derivation disabled**: The Router validates all accounts against the static Address Lookup Table, expecting a complete and fixed account set.
178-
179-
**Administrative Control:** Only the current token administrator can modify this setting, ensuring that pool configuration changes are properly authorized. The function updates the `supports_auto_derivation` flag in the `TokenAdminRegistry` PDA and emits a `PoolEdited` event for transparency.
180-
181-
<ClickToZoom
182-
src="/images/ccip/cct/cct-svm-diagrams/solana_set_pool_supports_auto_derivation.svg"
183-
alt="Cross-Chain Token Standard - Configure Pool Auto-Derivation"
184-
style="display: block; margin: 2rem auto; max-height: 60vh; width: auto;"
185-
/>
186-
187167
## Token Pool Configuration (Pool Side)
188168

189169
Once you have registered your token and set the token pool via the Router, you need to configure the specific pool parameters. These operations are performed directly on the Token Pool programs, not the Router.
@@ -253,7 +233,7 @@ Configure transfer limits and access controls for your token pool:
253233

254234
- **Instruction:** [`set_chain_rate_limit`](/ccip/api-reference/svm/v1.6.0/burn-mint-token-pool#set_chain_rate_limit)
255235
- **Use Case:** Apply or modify the remote blockchain's inbound/outbound rate-limit configuration. This uses a token bucket algorithm in which you can configure the capacity (maximum tokens) and rate (tokens per second refill rate) for both inbound and outbound transfers.
256-
- **Authorization:** Pool Owner OR Rate Limit Admin
236+
- **Authorization:** Pool Owner only
257237
- Read the [API reference](/ccip/api-reference/svm/v1.6.0/burn-mint-token-pool#set_chain_rate_limit) to learn more.
258238

259239
1. **Optional Allowlist**

0 commit comments

Comments
 (0)