@pina-rs/amm 0.0.0 → 0.2.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.
Files changed (48) hide show
  1. package/README.md +27 -2
  2. package/dist/index.cjs +1744 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +2192 -0
  5. package/dist/index.d.ts +2192 -0
  6. package/dist/index.js +1507 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +55 -5
  9. package/src/generated/accounts/ammConfig.ts +197 -0
  10. package/src/generated/accounts/index.ts +10 -0
  11. package/src/generated/accounts/pool.ts +274 -0
  12. package/src/generated/errors/index.ts +9 -0
  13. package/src/generated/errors/pinaAmm.ts +66 -0
  14. package/src/generated/events/configCreated.ts +80 -0
  15. package/src/generated/events/configUpdated.ts +64 -0
  16. package/src/generated/events/feesCollected.ts +64 -0
  17. package/src/generated/events/index.ts +18 -0
  18. package/src/generated/events/liquidityChanged.ts +72 -0
  19. package/src/generated/events/logs.ts +732 -0
  20. package/src/generated/events/poolCreated.ts +80 -0
  21. package/src/generated/events/poolCreatorChanged.ts +56 -0
  22. package/src/generated/events/poolSynced.ts +78 -0
  23. package/src/generated/events/poolSyncedV0.ts +44 -0
  24. package/src/generated/events/swapped.ts +100 -0
  25. package/src/generated/index.ts +14 -0
  26. package/src/generated/instructions/collectCreatorFees.ts +119 -0
  27. package/src/generated/instructions/collectProtocolFees.ts +123 -0
  28. package/src/generated/instructions/createConfig.ts +142 -0
  29. package/src/generated/instructions/createPool.ts +291 -0
  30. package/src/generated/instructions/deposit.ts +139 -0
  31. package/src/generated/instructions/index.ts +20 -0
  32. package/src/generated/instructions/migrate.ts +155 -0
  33. package/src/generated/instructions/setPoolCreator.ts +90 -0
  34. package/src/generated/instructions/swapExactIn.ts +119 -0
  35. package/src/generated/instructions/swapExactOut.ts +119 -0
  36. package/src/generated/instructions/syncPool.ts +93 -0
  37. package/src/generated/instructions/updateConfig.ts +105 -0
  38. package/src/generated/instructions/withdraw.ts +139 -0
  39. package/src/generated/pdas/ammConfig.ts +18 -0
  40. package/src/generated/pdas/index.ts +12 -0
  41. package/src/generated/pdas/pool.ts +20 -0
  42. package/src/generated/pdas/poolLpMint.ts +18 -0
  43. package/src/generated/pdas/poolVault.ts +19 -0
  44. package/src/generated/pinaPodCodecs.ts +232 -0
  45. package/src/generated/programs/index.ts +9 -0
  46. package/src/generated/programs/pinaAmm.ts +124 -0
  47. package/src/index.ts +11 -0
  48. package/CHANGELOG.md +0 -5
@@ -0,0 +1,80 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+
9
+ import { getPinaPodDiscriminatorDecoder, getPinaPodMigrationVersionDecoder } from "../pinaPodCodecs";
10
+ import { combineCodec, containsBytes, getAddressDecoder, getAddressEncoder, getStructDecoder, getStructEncoder, getU16Decoder, getU16Encoder, getU32Decoder, getU32Encoder, getU8Decoder, getU8Encoder, transformEncoder, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
11
+
12
+ export const CONFIG_CREATED_EVENT_DISCRIMINATOR = 8;
13
+
14
+ export function getConfigCreatedEventDiscriminatorBytes(): ReadonlyUint8Array { return getU8Encoder().encode(CONFIG_CREATED_EVENT_DISCRIMINATOR); }
15
+
16
+ export const CONFIG_CREATED_EVENT_DISCRIMINATOR2 = 0;
17
+
18
+ export function getConfigCreatedEventDiscriminator2Bytes(): ReadonlyUint8Array { return getU8Encoder().encode(CONFIG_CREATED_EVENT_DISCRIMINATOR2); }
19
+
20
+ /** Emitted by `CreateConfig`. */
21
+ export type ConfigCreatedEvent = { discriminator: number; migrationVersion: number;
22
+ /** The new tier. */
23
+ ammConfig: Address;
24
+ /** Signer that may update the tier and collect its protocol fees. */
25
+ authority: Address;
26
+ /**
27
+ * The only signer allowed to create pools under the tier, or the
28
+ * default address when pool creation is open to anyone. Fixed for the
29
+ * life of the tier.
30
+ */
31
+ poolCreatorAuthority: Address;
32
+ /** Trade fee pools snapshot, in parts per million. */
33
+ tradeFeeRate: number;
34
+ /** Protocol share of the trade fee pools snapshot, in parts per million. */
35
+ protocolFeeRate: number;
36
+ /** Creator fee pools snapshot, in parts per million. */
37
+ creatorFeeRate: number;
38
+ /** Tier index used as the PDA seed. */
39
+ index: number; };
40
+
41
+ export type ConfigCreatedEventArgs = {
42
+ /** The new tier. */
43
+ ammConfig: Address;
44
+ /** Signer that may update the tier and collect its protocol fees. */
45
+ authority: Address;
46
+ /**
47
+ * The only signer allowed to create pools under the tier, or the
48
+ * default address when pool creation is open to anyone. Fixed for the
49
+ * life of the tier.
50
+ */
51
+ poolCreatorAuthority: Address;
52
+ /** Trade fee pools snapshot, in parts per million. */
53
+ tradeFeeRate: number;
54
+ /** Protocol share of the trade fee pools snapshot, in parts per million. */
55
+ protocolFeeRate: number;
56
+ /** Creator fee pools snapshot, in parts per million. */
57
+ creatorFeeRate: number;
58
+ /** Tier index used as the PDA seed. */
59
+ index: number; };
60
+
61
+ /** Gets the encoder for {@link ConfigCreatedEventArgs} event data. */
62
+ export function getConfigCreatedEventEncoder(): FixedSizeEncoder<ConfigCreatedEventArgs> {
63
+ return transformEncoder(getStructEncoder([['discriminator', getU8Encoder()], ['migrationVersion', getU8Encoder()], ['ammConfig', getAddressEncoder()], ['authority', getAddressEncoder()], ['poolCreatorAuthority', getAddressEncoder()], ['tradeFeeRate', getU32Encoder()], ['protocolFeeRate', getU32Encoder()], ['creatorFeeRate', getU32Encoder()], ['index', getU16Encoder()]]), (value) => ({ ...value, discriminator: 8, migrationVersion: 0 }));
64
+ }
65
+
66
+ /** Gets the decoder for {@link ConfigCreatedEvent} event data. */
67
+ export function getConfigCreatedEventDecoder(): FixedSizeDecoder<ConfigCreatedEvent> {
68
+ return getStructDecoder([['discriminator', getPinaPodDiscriminatorDecoder(CONFIG_CREATED_EVENT_DISCRIMINATOR, getU8Decoder())], ['migrationVersion', getPinaPodMigrationVersionDecoder(0, getU8Decoder())], ['ammConfig', getAddressDecoder()], ['authority', getAddressDecoder()], ['poolCreatorAuthority', getAddressDecoder()], ['tradeFeeRate', getU32Decoder()], ['protocolFeeRate', getU32Decoder()], ['creatorFeeRate', getU32Decoder()], ['index', getU16Decoder()]]);
69
+ }
70
+
71
+ /** Gets the codec for {@link ConfigCreatedEvent} event data. */
72
+ export function getConfigCreatedEventCodec(): FixedSizeCodec<ConfigCreatedEventArgs, ConfigCreatedEvent> {
73
+ return combineCodec(getConfigCreatedEventEncoder(), getConfigCreatedEventDecoder());
74
+ }
75
+
76
+ /** Parses the provided bytes into {@link ConfigCreatedEvent} event data. */
77
+ export function parseConfigCreatedEvent(data: ReadonlyUint8Array | Uint8Array): ConfigCreatedEvent {
78
+ if (containsBytes(data, getU8Encoder().encode(CONFIG_CREATED_EVENT_DISCRIMINATOR), 0) && containsBytes(data, getU8Encoder().encode(CONFIG_CREATED_EVENT_DISCRIMINATOR2), 1)) { return getConfigCreatedEventDecoder().decode(data); }
79
+ throw new Error('The provided data does not match the "ConfigCreatedEvent" event discriminators.');
80
+ }
@@ -0,0 +1,64 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+
9
+ import { getPinaPodDiscriminatorDecoder, getPinaPodMigrationVersionDecoder } from "../pinaPodCodecs";
10
+ import { combineCodec, containsBytes, getAddressDecoder, getAddressEncoder, getStructDecoder, getStructEncoder, getU32Decoder, getU32Encoder, getU8Decoder, getU8Encoder, transformEncoder, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
11
+
12
+ export const CONFIG_UPDATED_EVENT_DISCRIMINATOR = 6;
13
+
14
+ export function getConfigUpdatedEventDiscriminatorBytes(): ReadonlyUint8Array { return getU8Encoder().encode(CONFIG_UPDATED_EVENT_DISCRIMINATOR); }
15
+
16
+ export const CONFIG_UPDATED_EVENT_DISCRIMINATOR2 = 0;
17
+
18
+ export function getConfigUpdatedEventDiscriminator2Bytes(): ReadonlyUint8Array { return getU8Encoder().encode(CONFIG_UPDATED_EVENT_DISCRIMINATOR2); }
19
+
20
+ /** Emitted by `UpdateConfig`. */
21
+ export type ConfigUpdatedEvent = { discriminator: number; migrationVersion: number;
22
+ /** The tier that was updated. */
23
+ ammConfig: Address;
24
+ /** The tier's new authority. */
25
+ newAuthority: Address;
26
+ /** Trade fee future pools snapshot, in parts per million. */
27
+ tradeFeeRate: number;
28
+ /** Protocol share future pools snapshot, in parts per million. */
29
+ protocolFeeRate: number;
30
+ /** Creator fee future pools snapshot, in parts per million. */
31
+ creatorFeeRate: number; };
32
+
33
+ export type ConfigUpdatedEventArgs = {
34
+ /** The tier that was updated. */
35
+ ammConfig: Address;
36
+ /** The tier's new authority. */
37
+ newAuthority: Address;
38
+ /** Trade fee future pools snapshot, in parts per million. */
39
+ tradeFeeRate: number;
40
+ /** Protocol share future pools snapshot, in parts per million. */
41
+ protocolFeeRate: number;
42
+ /** Creator fee future pools snapshot, in parts per million. */
43
+ creatorFeeRate: number; };
44
+
45
+ /** Gets the encoder for {@link ConfigUpdatedEventArgs} event data. */
46
+ export function getConfigUpdatedEventEncoder(): FixedSizeEncoder<ConfigUpdatedEventArgs> {
47
+ return transformEncoder(getStructEncoder([['discriminator', getU8Encoder()], ['migrationVersion', getU8Encoder()], ['ammConfig', getAddressEncoder()], ['newAuthority', getAddressEncoder()], ['tradeFeeRate', getU32Encoder()], ['protocolFeeRate', getU32Encoder()], ['creatorFeeRate', getU32Encoder()]]), (value) => ({ ...value, discriminator: 6, migrationVersion: 0 }));
48
+ }
49
+
50
+ /** Gets the decoder for {@link ConfigUpdatedEvent} event data. */
51
+ export function getConfigUpdatedEventDecoder(): FixedSizeDecoder<ConfigUpdatedEvent> {
52
+ return getStructDecoder([['discriminator', getPinaPodDiscriminatorDecoder(CONFIG_UPDATED_EVENT_DISCRIMINATOR, getU8Decoder())], ['migrationVersion', getPinaPodMigrationVersionDecoder(0, getU8Decoder())], ['ammConfig', getAddressDecoder()], ['newAuthority', getAddressDecoder()], ['tradeFeeRate', getU32Decoder()], ['protocolFeeRate', getU32Decoder()], ['creatorFeeRate', getU32Decoder()]]);
53
+ }
54
+
55
+ /** Gets the codec for {@link ConfigUpdatedEvent} event data. */
56
+ export function getConfigUpdatedEventCodec(): FixedSizeCodec<ConfigUpdatedEventArgs, ConfigUpdatedEvent> {
57
+ return combineCodec(getConfigUpdatedEventEncoder(), getConfigUpdatedEventDecoder());
58
+ }
59
+
60
+ /** Parses the provided bytes into {@link ConfigUpdatedEvent} event data. */
61
+ export function parseConfigUpdatedEvent(data: ReadonlyUint8Array | Uint8Array): ConfigUpdatedEvent {
62
+ if (containsBytes(data, getU8Encoder().encode(CONFIG_UPDATED_EVENT_DISCRIMINATOR), 0) && containsBytes(data, getU8Encoder().encode(CONFIG_UPDATED_EVENT_DISCRIMINATOR2), 1)) { return getConfigUpdatedEventDecoder().decode(data); }
63
+ throw new Error('The provided data does not match the "ConfigUpdatedEvent" event discriminators.');
64
+ }
@@ -0,0 +1,64 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+
9
+ import { getPinaPodDiscriminatorDecoder, getPinaPodMigrationVersionDecoder } from "../pinaPodCodecs";
10
+ import { combineCodec, containsBytes, getAddressDecoder, getAddressEncoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, getU8Decoder, getU8Encoder, transformEncoder, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
11
+
12
+ export const FEES_COLLECTED_EVENT_DISCRIMINATOR = 4;
13
+
14
+ export function getFeesCollectedEventDiscriminatorBytes(): ReadonlyUint8Array { return getU8Encoder().encode(FEES_COLLECTED_EVENT_DISCRIMINATOR); }
15
+
16
+ export const FEES_COLLECTED_EVENT_DISCRIMINATOR2 = 0;
17
+
18
+ export function getFeesCollectedEventDiscriminator2Bytes(): ReadonlyUint8Array { return getU8Encoder().encode(FEES_COLLECTED_EVENT_DISCRIMINATOR2); }
19
+
20
+ /** Emitted by `CollectProtocolFees` and `CollectCreatorFees`. */
21
+ export type FeesCollectedEvent = { discriminator: number; migrationVersion: number;
22
+ /** The pool the fees were accrued in. */
23
+ pool: Address;
24
+ /** The signer who collected them. */
25
+ collector: Address;
26
+ /** `1` for protocol fees and `0` for creator fees. */
27
+ isProtocol: number;
28
+ /** Token 0 paid out. */
29
+ amount0: bigint;
30
+ /** Token 1 paid out. */
31
+ amount1: bigint; };
32
+
33
+ export type FeesCollectedEventArgs = {
34
+ /** The pool the fees were accrued in. */
35
+ pool: Address;
36
+ /** The signer who collected them. */
37
+ collector: Address;
38
+ /** `1` for protocol fees and `0` for creator fees. */
39
+ isProtocol: number;
40
+ /** Token 0 paid out. */
41
+ amount0: number | bigint;
42
+ /** Token 1 paid out. */
43
+ amount1: number | bigint; };
44
+
45
+ /** Gets the encoder for {@link FeesCollectedEventArgs} event data. */
46
+ export function getFeesCollectedEventEncoder(): FixedSizeEncoder<FeesCollectedEventArgs> {
47
+ return transformEncoder(getStructEncoder([['discriminator', getU8Encoder()], ['migrationVersion', getU8Encoder()], ['pool', getAddressEncoder()], ['collector', getAddressEncoder()], ['isProtocol', getU8Encoder()], ['amount0', getU64Encoder()], ['amount1', getU64Encoder()]]), (value) => ({ ...value, discriminator: 4, migrationVersion: 0 }));
48
+ }
49
+
50
+ /** Gets the decoder for {@link FeesCollectedEvent} event data. */
51
+ export function getFeesCollectedEventDecoder(): FixedSizeDecoder<FeesCollectedEvent> {
52
+ return getStructDecoder([['discriminator', getPinaPodDiscriminatorDecoder(FEES_COLLECTED_EVENT_DISCRIMINATOR, getU8Decoder())], ['migrationVersion', getPinaPodMigrationVersionDecoder(0, getU8Decoder())], ['pool', getAddressDecoder()], ['collector', getAddressDecoder()], ['isProtocol', getU8Decoder()], ['amount0', getU64Decoder()], ['amount1', getU64Decoder()]]);
53
+ }
54
+
55
+ /** Gets the codec for {@link FeesCollectedEvent} event data. */
56
+ export function getFeesCollectedEventCodec(): FixedSizeCodec<FeesCollectedEventArgs, FeesCollectedEvent> {
57
+ return combineCodec(getFeesCollectedEventEncoder(), getFeesCollectedEventDecoder());
58
+ }
59
+
60
+ /** Parses the provided bytes into {@link FeesCollectedEvent} event data. */
61
+ export function parseFeesCollectedEvent(data: ReadonlyUint8Array | Uint8Array): FeesCollectedEvent {
62
+ if (containsBytes(data, getU8Encoder().encode(FEES_COLLECTED_EVENT_DISCRIMINATOR), 0) && containsBytes(data, getU8Encoder().encode(FEES_COLLECTED_EVENT_DISCRIMINATOR2), 1)) { return getFeesCollectedEventDecoder().decode(data); }
63
+ throw new Error('The provided data does not match the "FeesCollectedEvent" event discriminators.');
64
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+
9
+ export * from "./logs";
10
+ export * from './configCreated';
11
+ export * from './configUpdated';
12
+ export * from './feesCollected';
13
+ export * from './liquidityChanged';
14
+ export * from './poolCreated';
15
+ export * from './poolCreatorChanged';
16
+ export * from './poolSynced';
17
+ export * from './poolSyncedV0';
18
+ export * from './swapped';
@@ -0,0 +1,72 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+
9
+ import { getPinaPodDiscriminatorDecoder, getPinaPodMigrationVersionDecoder } from "../pinaPodCodecs";
10
+ import { combineCodec, containsBytes, getAddressDecoder, getAddressEncoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, getU8Decoder, getU8Encoder, transformEncoder, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
11
+
12
+ export const LIQUIDITY_CHANGED_EVENT_DISCRIMINATOR = 3;
13
+
14
+ export function getLiquidityChangedEventDiscriminatorBytes(): ReadonlyUint8Array { return getU8Encoder().encode(LIQUIDITY_CHANGED_EVENT_DISCRIMINATOR); }
15
+
16
+ export const LIQUIDITY_CHANGED_EVENT_DISCRIMINATOR2 = 0;
17
+
18
+ export function getLiquidityChangedEventDiscriminator2Bytes(): ReadonlyUint8Array { return getU8Encoder().encode(LIQUIDITY_CHANGED_EVENT_DISCRIMINATOR2); }
19
+
20
+ /** Emitted by `Deposit` and `Withdraw`. */
21
+ export type LiquidityChangedEvent = { discriminator: number; migrationVersion: number;
22
+ /** The pool whose liquidity changed. */
23
+ pool: Address;
24
+ /** The LP owner who signed. */
25
+ owner: Address;
26
+ /** `1` for a deposit and `0` for a withdrawal. */
27
+ isDeposit: number;
28
+ /** LP minted or burned. */
29
+ lpAmount: bigint;
30
+ /** Token 0 added or removed. */
31
+ amount0: bigint;
32
+ /** Token 1 added or removed. */
33
+ amount1: bigint;
34
+ /** Economic LP supply after the change. */
35
+ lpSupply: bigint; };
36
+
37
+ export type LiquidityChangedEventArgs = {
38
+ /** The pool whose liquidity changed. */
39
+ pool: Address;
40
+ /** The LP owner who signed. */
41
+ owner: Address;
42
+ /** `1` for a deposit and `0` for a withdrawal. */
43
+ isDeposit: number;
44
+ /** LP minted or burned. */
45
+ lpAmount: number | bigint;
46
+ /** Token 0 added or removed. */
47
+ amount0: number | bigint;
48
+ /** Token 1 added or removed. */
49
+ amount1: number | bigint;
50
+ /** Economic LP supply after the change. */
51
+ lpSupply: number | bigint; };
52
+
53
+ /** Gets the encoder for {@link LiquidityChangedEventArgs} event data. */
54
+ export function getLiquidityChangedEventEncoder(): FixedSizeEncoder<LiquidityChangedEventArgs> {
55
+ return transformEncoder(getStructEncoder([['discriminator', getU8Encoder()], ['migrationVersion', getU8Encoder()], ['pool', getAddressEncoder()], ['owner', getAddressEncoder()], ['isDeposit', getU8Encoder()], ['lpAmount', getU64Encoder()], ['amount0', getU64Encoder()], ['amount1', getU64Encoder()], ['lpSupply', getU64Encoder()]]), (value) => ({ ...value, discriminator: 3, migrationVersion: 0 }));
56
+ }
57
+
58
+ /** Gets the decoder for {@link LiquidityChangedEvent} event data. */
59
+ export function getLiquidityChangedEventDecoder(): FixedSizeDecoder<LiquidityChangedEvent> {
60
+ return getStructDecoder([['discriminator', getPinaPodDiscriminatorDecoder(LIQUIDITY_CHANGED_EVENT_DISCRIMINATOR, getU8Decoder())], ['migrationVersion', getPinaPodMigrationVersionDecoder(0, getU8Decoder())], ['pool', getAddressDecoder()], ['owner', getAddressDecoder()], ['isDeposit', getU8Decoder()], ['lpAmount', getU64Decoder()], ['amount0', getU64Decoder()], ['amount1', getU64Decoder()], ['lpSupply', getU64Decoder()]]);
61
+ }
62
+
63
+ /** Gets the codec for {@link LiquidityChangedEvent} event data. */
64
+ export function getLiquidityChangedEventCodec(): FixedSizeCodec<LiquidityChangedEventArgs, LiquidityChangedEvent> {
65
+ return combineCodec(getLiquidityChangedEventEncoder(), getLiquidityChangedEventDecoder());
66
+ }
67
+
68
+ /** Parses the provided bytes into {@link LiquidityChangedEvent} event data. */
69
+ export function parseLiquidityChangedEvent(data: ReadonlyUint8Array | Uint8Array): LiquidityChangedEvent {
70
+ if (containsBytes(data, getU8Encoder().encode(LIQUIDITY_CHANGED_EVENT_DISCRIMINATOR), 0) && containsBytes(data, getU8Encoder().encode(LIQUIDITY_CHANGED_EVENT_DISCRIMINATOR2), 1)) { return getLiquidityChangedEventDecoder().decode(data); }
71
+ throw new Error('The provided data does not match the "LiquidityChangedEvent" event discriminators.');
72
+ }