@liquid-af/sdk 0.11.1 → 0.11.2
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.
- package/dist/idl/liquid.d.ts +24 -1
- package/dist/idl/liquid.d.ts.map +1 -1
- package/dist/idl/liquid.json +24 -1
- package/dist/idl/liquid_events.d.ts +6 -0
- package/dist/idl/liquid_events.d.ts.map +1 -1
- package/dist/idl/liquid_events.json +6 -0
- package/dist/idl/liquid_fees.d.ts +85 -2
- package/dist/idl/liquid_fees.d.ts.map +1 -1
- package/dist/idl/liquid_fees.json +85 -2
- package/dist/idl/liquid_state.d.ts +115 -16
- package/dist/idl/liquid_state.d.ts.map +1 -1
- package/dist/idl/liquid_state.json +115 -16
- package/dist/idl/liquid_swap.d.ts +53 -15
- package/dist/idl/liquid_swap.d.ts.map +1 -1
- package/dist/idl/liquid_swap.json +53 -15
- package/dist/lut.d.ts +0 -13
- package/dist/lut.d.ts.map +1 -1
- package/dist/lut.js +1 -24
- package/dist/lut.js.map +1 -1
- package/package.json +1 -1
- package/src/idl/liquid.json +24 -1
- package/src/idl/liquid.ts +24 -1
- package/src/idl/liquid_events.json +6 -0
- package/src/idl/liquid_events.ts +6 -0
- package/src/idl/liquid_fees.json +85 -2
- package/src/idl/liquid_fees.ts +85 -2
- package/src/idl/liquid_state.json +115 -16
- package/src/idl/liquid_state.ts +115 -16
- package/src/idl/liquid_swap.json +53 -15
- package/src/idl/liquid_swap.ts +53 -15
- package/src/lut.ts +1 -33
package/dist/idl/liquid.d.ts
CHANGED
|
@@ -12527,7 +12527,7 @@ export type Liquid = {
|
|
|
12527
12527
|
"* `trader_referral_reward_basis_points` - Optional new value for trader referral reward",
|
|
12528
12528
|
"* `protocol_fee_basis_points` - Optional new value for protocol fee basis points",
|
|
12529
12529
|
"* `quote_mints` - Optional new list of valid quote mints",
|
|
12530
|
-
"* `sol_usd_price_feed` - Optional new Pyth SOL/USD price feed account"
|
|
12530
|
+
"* `sol_usd_price_feed` - Optional new Pyth SOL/USD price feed account."
|
|
12531
12531
|
];
|
|
12532
12532
|
"discriminator": [
|
|
12533
12533
|
219,
|
|
@@ -13385,6 +13385,9 @@ export type Liquid = {
|
|
|
13385
13385
|
},
|
|
13386
13386
|
{
|
|
13387
13387
|
"name": "feeMode";
|
|
13388
|
+
"docs": [
|
|
13389
|
+
"The fee distribution mode for a token's fee configuration."
|
|
13390
|
+
];
|
|
13388
13391
|
"repr": {
|
|
13389
13392
|
"kind": "rust";
|
|
13390
13393
|
};
|
|
@@ -13402,6 +13405,9 @@ export type Liquid = {
|
|
|
13402
13405
|
},
|
|
13403
13406
|
{
|
|
13404
13407
|
"name": "feeRecipient";
|
|
13408
|
+
"docs": [
|
|
13409
|
+
"A fee recipient with their allocation and vault PDA bump."
|
|
13410
|
+
];
|
|
13405
13411
|
"repr": {
|
|
13406
13412
|
"kind": "c";
|
|
13407
13413
|
};
|
|
@@ -13410,18 +13416,30 @@ export type Liquid = {
|
|
|
13410
13416
|
"fields": [
|
|
13411
13417
|
{
|
|
13412
13418
|
"name": "pubkey";
|
|
13419
|
+
"docs": [
|
|
13420
|
+
"The public key of the fee recipient."
|
|
13421
|
+
];
|
|
13413
13422
|
"type": "pubkey";
|
|
13414
13423
|
},
|
|
13415
13424
|
{
|
|
13416
13425
|
"name": "basisPoints";
|
|
13426
|
+
"docs": [
|
|
13427
|
+
"The recipient's share of fees in basis points (out of 10,000)."
|
|
13428
|
+
];
|
|
13417
13429
|
"type": "u16";
|
|
13418
13430
|
},
|
|
13419
13431
|
{
|
|
13420
13432
|
"name": "vaultBump";
|
|
13433
|
+
"docs": [
|
|
13434
|
+
"The bump seed for the recipient's vault PDA."
|
|
13435
|
+
];
|
|
13421
13436
|
"type": "u8";
|
|
13422
13437
|
},
|
|
13423
13438
|
{
|
|
13424
13439
|
"name": "padding";
|
|
13440
|
+
"docs": [
|
|
13441
|
+
"Padding to align to 8-byte boundary (32 + 2 + 1 + 5 = 40 bytes)."
|
|
13442
|
+
];
|
|
13425
13443
|
"type": {
|
|
13426
13444
|
"array": [
|
|
13427
13445
|
"u8",
|
|
@@ -13840,6 +13858,11 @@ export type Liquid = {
|
|
|
13840
13858
|
},
|
|
13841
13859
|
{
|
|
13842
13860
|
"name": "unifiedFeeConfiguration";
|
|
13861
|
+
"docs": [
|
|
13862
|
+
"Unified fee configuration for a token, supporting both Recipients and Revoked modes.",
|
|
13863
|
+
"",
|
|
13864
|
+
"Stored as a zero-copy account for efficient access in hot paths."
|
|
13865
|
+
];
|
|
13843
13866
|
"serialization": "bytemuckunsafe";
|
|
13844
13867
|
"repr": {
|
|
13845
13868
|
"kind": "c";
|