@ercworldio/blockchain-shared 1.0.5-dev.8-PLAT134.6 → 1.0.5-dev.8-PLAT300.0

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.
@@ -2856,6 +2856,53 @@ export type Escrow = {
2856
2856
  ];
2857
2857
  };
2858
2858
  },
2859
+ {
2860
+ "name": "receiverWallet";
2861
+ "docs": [
2862
+ "push-deposit path). Pass `vault_authority`'s own key again here to keep today's behavior —",
2863
+ "only forwarded to when it differs from the vault AND its `treasury_receiver` PDA below is",
2864
+ "whitelisted; never required, never causes a revert on its own."
2865
+ ];
2866
+ "writable": true;
2867
+ },
2868
+ {
2869
+ "name": "treasuryReceiver";
2870
+ "docs": [
2871
+ "diversion). Anchor's `seeds` constraint here only pins the *address* — deliberately an",
2872
+ "UncheckedAccount (not the typed `Account<TreasuryReceiver>` admin_withdraw_v2 uses) so a",
2873
+ "missing/not-yet-whitelisted entry doesn't fail the whole deposit."
2874
+ ];
2875
+ "pda": {
2876
+ "seeds": [
2877
+ {
2878
+ "kind": "const";
2879
+ "value": [
2880
+ 116,
2881
+ 114,
2882
+ 101,
2883
+ 97,
2884
+ 115,
2885
+ 117,
2886
+ 114,
2887
+ 121,
2888
+ 45,
2889
+ 114,
2890
+ 101,
2891
+ 99,
2892
+ 101,
2893
+ 105,
2894
+ 118,
2895
+ 101,
2896
+ 114
2897
+ ];
2898
+ },
2899
+ {
2900
+ "kind": "account";
2901
+ "path": "receiverWallet";
2902
+ }
2903
+ ];
2904
+ };
2905
+ },
2859
2906
  {
2860
2907
  "name": "systemProgram";
2861
2908
  "address": "11111111111111111111111111111111";
@@ -3119,6 +3166,57 @@ export type Escrow = {
3119
3166
  };
3120
3167
  };
3121
3168
  },
3169
+ {
3170
+ "name": "receiverTokenAccount";
3171
+ "docs": [
3172
+ "Diversion target's token account for `mint` (mirrors the off-chain overflow-threshold",
3173
+ "cold-wallet sweep for the push-deposit path). Pass `vault_token_account`'s own key again",
3174
+ "here to keep today's behavior — only forwarded to when its owner differs from",
3175
+ "`vault_authority` AND its `treasury_receiver` PDA below is whitelisted; never required,",
3176
+ "never causes a revert on its own. Must already exist (same convention as every other",
3177
+ "withdrawal/deposit destination in this program — none of them auto-create ATAs)."
3178
+ ];
3179
+ "writable": true;
3180
+ },
3181
+ {
3182
+ "name": "treasuryReceiver";
3183
+ "docs": [
3184
+ "uninitialized (⇒ no diversion). Deliberately an UncheckedAccount (not the typed",
3185
+ "`Account<TreasuryReceiver>` admin_withdraw_spl_v2 uses) so a missing/not-yet-whitelisted",
3186
+ "entry doesn't fail the whole deposit."
3187
+ ];
3188
+ "pda": {
3189
+ "seeds": [
3190
+ {
3191
+ "kind": "const";
3192
+ "value": [
3193
+ 116,
3194
+ 114,
3195
+ 101,
3196
+ 97,
3197
+ 115,
3198
+ 117,
3199
+ 114,
3200
+ 121,
3201
+ 45,
3202
+ 114,
3203
+ 101,
3204
+ 99,
3205
+ 101,
3206
+ 105,
3207
+ 118,
3208
+ 101,
3209
+ 114
3210
+ ];
3211
+ },
3212
+ {
3213
+ "kind": "account";
3214
+ "path": "receiver_token_account.owner";
3215
+ "account": "tokenAccount";
3216
+ }
3217
+ ];
3218
+ };
3219
+ },
3122
3220
  {
3123
3221
  "name": "tokenProgram";
3124
3222
  "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";