@keel-fi/svm-alm-controller 1.0.0-rc.1 → 1.0.2-rc.1
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/generated/accounts/oracle.d.ts +2 -2
- package/dist/generated/accounts/oracle.d.ts.map +1 -1
- package/dist/generated/instructions/atomicSwapBorrow.d.ts +2 -2
- package/dist/generated/instructions/atomicSwapRepay.d.ts +1 -1
- package/dist/generated/instructions/claimRent.d.ts +45 -0
- package/dist/generated/instructions/claimRent.d.ts.map +1 -0
- package/dist/generated/instructions/index.d.ts +1 -0
- package/dist/generated/instructions/index.d.ts.map +1 -1
- package/dist/generated/instructions/initializeController.d.ts +1 -1
- package/dist/generated/instructions/initializeIntegration.d.ts +1 -1
- package/dist/generated/instructions/initializeReserve.d.ts +1 -1
- package/dist/generated/instructions/manageController.d.ts +1 -1
- package/dist/generated/instructions/manageIntegration.d.ts +1 -1
- package/dist/generated/instructions/managePermission.d.ts +1 -1
- package/dist/generated/instructions/manageReserve.d.ts +1 -1
- package/dist/generated/instructions/pull.d.ts +6 -9
- package/dist/generated/instructions/pull.d.ts.map +1 -1
- package/dist/generated/instructions/push.d.ts +6 -9
- package/dist/generated/instructions/push.d.ts.map +1 -1
- package/dist/generated/instructions/sync.d.ts +13 -7
- package/dist/generated/instructions/sync.d.ts.map +1 -1
- package/dist/generated/instructions/updateOracle.d.ts +5 -5
- package/dist/generated/instructions/updateOracle.d.ts.map +1 -1
- package/dist/generated/programs/svmAlmController.d.ts +8 -5
- package/dist/generated/programs/svmAlmController.d.ts.map +1 -1
- package/dist/generated/types/controllerStatus.d.ts +2 -1
- package/dist/generated/types/controllerStatus.d.ts.map +1 -1
- package/dist/generated/types/controllerUpdateEvent.d.ts +1 -1
- package/dist/generated/types/controllerUpdateEvent.d.ts.map +1 -1
- package/dist/generated/types/driftConfig.d.ts +12 -0
- package/dist/generated/types/driftConfig.d.ts.map +1 -0
- package/dist/generated/types/feed.d.ts +3 -2
- package/dist/generated/types/feed.d.ts.map +1 -1
- package/dist/generated/types/index.d.ts +4 -7
- package/dist/generated/types/index.d.ts.map +1 -1
- package/dist/generated/types/initializeArgs.d.ts +16 -5
- package/dist/generated/types/initializeArgs.d.ts.map +1 -1
- package/dist/generated/types/integrationConfig.d.ts +15 -8
- package/dist/generated/types/integrationConfig.d.ts.map +1 -1
- package/dist/generated/types/integrationState.d.ts +15 -8
- package/dist/generated/types/integrationState.d.ts.map +1 -1
- package/dist/generated/types/integrationType.d.ts +5 -4
- package/dist/generated/types/integrationType.d.ts.map +1 -1
- package/dist/generated/types/integrationUpdateEvent.d.ts +1 -1
- package/dist/generated/types/integrationUpdateEvent.d.ts.map +1 -1
- package/dist/generated/types/kaminoConfig.d.ts +14 -0
- package/dist/generated/types/kaminoConfig.d.ts.map +1 -0
- package/dist/generated/types/lendingState.d.ts +13 -0
- package/dist/generated/types/lendingState.d.ts.map +1 -0
- package/dist/generated/types/oracleUpdateEvent.d.ts +1 -1
- package/dist/generated/types/oracleUpdateEvent.d.ts.map +1 -1
- package/dist/generated/types/permissionUpdateEvent.d.ts +1 -1
- package/dist/generated/types/permissionUpdateEvent.d.ts.map +1 -1
- package/dist/generated/types/pullArgs.d.ts +16 -13
- package/dist/generated/types/pullArgs.d.ts.map +1 -1
- package/dist/generated/types/pushArgs.d.ts +16 -13
- package/dist/generated/types/pushArgs.d.ts.map +1 -1
- package/dist/generated/types/reserveUpdateEvent.d.ts +1 -1
- package/dist/generated/types/reserveUpdateEvent.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +751 -505
- package/dist/index.js +766 -521
- package/dist/integrations/drift/index.d.ts +2 -0
- package/dist/integrations/drift/index.d.ts.map +1 -0
- package/dist/integrations/drift/pdas.d.ts +10 -0
- package/dist/integrations/drift/pdas.d.ts.map +1 -0
- package/dist/integrations/index.d.ts +3 -0
- package/dist/integrations/index.d.ts.map +1 -0
- package/dist/integrations/kamino/index.d.ts +2 -0
- package/dist/integrations/kamino/index.d.ts.map +1 -0
- package/dist/integrations/kamino/pdas.d.ts +27 -0
- package/dist/integrations/kamino/pdas.d.ts.map +1 -0
- package/dist/pdas.d.ts +0 -1
- package/dist/pdas.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/generated/types/depositForBurnArgs.d.ts +0 -15
- package/dist/generated/types/depositForBurnArgs.d.ts.map +0 -1
- package/dist/generated/types/depositSingleTokenTypeExactAmountInArgs.d.ts +0 -13
- package/dist/generated/types/depositSingleTokenTypeExactAmountInArgs.d.ts.map +0 -1
- package/dist/generated/types/splTokenSwapConfig.d.ts +0 -15
- package/dist/generated/types/splTokenSwapConfig.d.ts.map +0 -1
- package/dist/generated/types/splTokenSwapState.d.ts +0 -17
- package/dist/generated/types/splTokenSwapState.d.ts.map +0 -1
- package/dist/generated/types/swapV1Subset.d.ts +0 -17
- package/dist/generated/types/swapV1Subset.d.ts.map +0 -1
- package/dist/generated/types/withdrawSingleTokenTypeExactAmountOutArgs.d.ts +0 -13
- package/dist/generated/types/withdrawSingleTokenTypeExactAmountOutArgs.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/drift/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Address } from "@solana/addresses";
|
|
2
|
+
export declare const DRIFT_PROGRAM_ID: Address;
|
|
3
|
+
export declare const deriveDriftSigner: () => Promise<Address<string>>;
|
|
4
|
+
export declare const deriveDriftSignerNonce: () => Promise<number>;
|
|
5
|
+
export declare const deriveStatePda: () => Promise<Address<string>>;
|
|
6
|
+
export declare const deriveUserStatsPda: (authority: Address) => Promise<Address<string>>;
|
|
7
|
+
export declare const deriveUserPda: (authority: Address, subAccountId: number) => Promise<Address<string>>;
|
|
8
|
+
export declare const deriveSpotMarketPda: (marketIndex: number) => Promise<Address<string>>;
|
|
9
|
+
export declare const deriveSpotMarketVaultPda: (marketIndex: number) => Promise<Address<string>>;
|
|
10
|
+
//# sourceMappingURL=pdas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pdas.d.ts","sourceRoot":"","sources":["../../../src/integrations/drift/pdas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,gBAAgB,EACsB,OAAO,CAAC;AAG3D,eAAO,MAAM,iBAAiB,gCAO7B,CAAC;AAGF,eAAO,MAAM,sBAAsB,QAAa,OAAO,CAAC,MAAM,CAO7D,CAAC;AAGF,eAAO,MAAM,cAAc,gCAO1B,CAAC;AAGF,eAAO,MAAM,kBAAkB,GAAU,WAAW,OAAO,6BAS1D,CAAC;AAGF,eAAO,MAAM,aAAa,GACxB,WAAW,OAAO,EAClB,cAAc,MAAM,6BAcrB,CAAC;AAGF,eAAO,MAAM,mBAAmB,GAAU,aAAa,MAAM,6BAU5D,CAAC;AAGF,eAAO,MAAM,wBAAwB,GAAU,aAAa,MAAM,6BAUjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/integrations/kamino/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Address } from "@solana/addresses";
|
|
2
|
+
export declare const KAMINO_LEND_PROGRAM_ID: Address;
|
|
3
|
+
export declare const KAMINO_FARMS_PROGRAM_ID: Address;
|
|
4
|
+
export declare const deriveVanillaObligationAddress: (obligationId: number, authority: Address, market: Address) => Promise<Address<string>>;
|
|
5
|
+
export declare const deriveReserveLiquiditySupply: (market: Address, reserveLiquidityMint: Address) => Promise<Address<string>>;
|
|
6
|
+
export declare const deriveReserveCollateralMint: (market: Address, reserveLiquidityMint: Address) => Promise<Address<string>>;
|
|
7
|
+
export declare const deriveReserveCollateralSupply: (market: Address, reserveLiquidityMint: Address) => Promise<Address<string>>;
|
|
8
|
+
export declare const deriveMarketAuthorityAddress: (market: Address) => Promise<{
|
|
9
|
+
address: Address<string>;
|
|
10
|
+
bump: import("@solana/addresses").ProgramDerivedAddressBump;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const deriveObligationFarmAddress: (reserveFarm: Address, obligation: Address) => Promise<Address<string>>;
|
|
13
|
+
export declare const deriveUserMetadataAddress: (user: Address) => Promise<{
|
|
14
|
+
address: Address<string>;
|
|
15
|
+
bump: import("@solana/addresses").ProgramDerivedAddressBump;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const deriveRewardsVault: (farmState: Address, rewardsVaultMint: Address) => Promise<Address<string>>;
|
|
18
|
+
export declare const deriveRewardsTreasuryVault: (globalConfig: Address, rewardsVaultMint: Address) => Promise<Address<string>>;
|
|
19
|
+
export declare const deriveFarmVaultsAuthority: (farmState: Address) => Promise<{
|
|
20
|
+
address: Address<string>;
|
|
21
|
+
bump: import("@solana/addresses").ProgramDerivedAddressBump;
|
|
22
|
+
}>;
|
|
23
|
+
export declare const deriveKFarmsTreasuryVaultAuthority: (globalConfig: Address) => Promise<{
|
|
24
|
+
address: Address<string>;
|
|
25
|
+
bump: import("@solana/addresses").ProgramDerivedAddressBump;
|
|
26
|
+
}>;
|
|
27
|
+
//# sourceMappingURL=pdas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pdas.d.ts","sourceRoot":"","sources":["../../../src/integrations/kamino/pdas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,sBAAsB,EACgB,OAAO,CAAC;AAE3D,eAAO,MAAM,uBAAuB,EACgB,OAAO,CAAC;AAK5D,eAAO,MAAM,8BAA8B,GACzC,cAAc,MAAM,EACpB,WAAW,OAAO,EAClB,QAAQ,OAAO,6BAuBhB,CAAC;AAGF,eAAO,MAAM,4BAA4B,GACvC,QAAQ,OAAO,EACf,sBAAsB,OAAO,6BAc9B,CAAC;AAGF,eAAO,MAAM,2BAA2B,GACtC,QAAQ,OAAO,EACf,sBAAsB,OAAO,6BAc9B,CAAC;AAGF,eAAO,MAAM,6BAA6B,GACxC,QAAQ,OAAO,EACf,sBAAsB,OAAO,6BAc9B,CAAC;AAGF,eAAO,MAAM,4BAA4B,GAAU,QAAQ,OAAO;;;EASjE,CAAC;AAGF,eAAO,MAAM,2BAA2B,GACtC,aAAa,OAAO,EACpB,YAAY,OAAO,6BAcpB,CAAC;AAGF,eAAO,MAAM,yBAAyB,GAAU,MAAM,OAAO;;;EAS5D,CAAC;AAGF,eAAO,MAAM,kBAAkB,GAC7B,WAAW,OAAO,EAClB,kBAAkB,OAAO,6BAc1B,CAAC;AAGF,eAAO,MAAM,0BAA0B,GACrC,cAAc,OAAO,EACrB,kBAAkB,OAAO,6BAc1B,CAAC;AAGF,eAAO,MAAM,yBAAyB,GAAU,WAAW,OAAO;;;EASjE,CAAC;AAGF,eAAO,MAAM,kCAAkC,GAC7C,cAAc,OAAO;;;EAUtB,CAAC"}
|
package/dist/pdas.d.ts
CHANGED
|
@@ -5,5 +5,4 @@ export declare const deriveControllerPda: (id: number) => Promise<Address<string
|
|
|
5
5
|
export declare const deriveControllerAuthorityPda: (controller: Address) => Promise<Address<string>>;
|
|
6
6
|
export declare const derivePermissionPda: (controller: Address, authority: Address) => Promise<Address<string>>;
|
|
7
7
|
export declare const deriveReservePda: (controller: Address, mint: Address) => Promise<Address<string>>;
|
|
8
|
-
export declare const deriveSplTokenSwapLpTokenPda: (controller: Address, lpMintAddress: Address) => Promise<Address<string>>;
|
|
9
8
|
//# sourceMappingURL=pdas.d.ts.map
|
package/dist/pdas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdas.d.ts","sourceRoot":"","sources":["../src/pdas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGjD,eAAO,MAAM,oBAAoB,GAC/B,YAAY,OAAO,EACnB,iBAAiB,kBAAkB,6BAWpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,IAAI,MAAM,6BAOnD,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAU,YAAY,OAAO,6BASrE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,YAAY,OAAO,EACnB,WAAW,OAAO,6BAcnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAU,YAAY,OAAO,EAAE,MAAM,OAAO,6BAaxE,CAAC
|
|
1
|
+
{"version":3,"file":"pdas.d.ts","sourceRoot":"","sources":["../src/pdas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGjD,eAAO,MAAM,oBAAoB,GAC/B,YAAY,OAAO,EACnB,iBAAiB,kBAAkB,6BAWpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,IAAI,MAAM,6BAOnD,CAAC;AAEF,eAAO,MAAM,4BAA4B,GAAU,YAAY,OAAO,6BASrE,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,YAAY,OAAO,EACnB,WAAW,OAAO,6BAcnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAU,YAAY,OAAO,EAAE,MAAM,OAAO,6BAaxE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
|
|
2
|
-
export type DepositForBurnArgs = {
|
|
3
|
-
amount: bigint;
|
|
4
|
-
destinationDomain: number;
|
|
5
|
-
mintRecipient: Address;
|
|
6
|
-
};
|
|
7
|
-
export type DepositForBurnArgsArgs = {
|
|
8
|
-
amount: number | bigint;
|
|
9
|
-
destinationDomain: number;
|
|
10
|
-
mintRecipient: Address;
|
|
11
|
-
};
|
|
12
|
-
export declare function getDepositForBurnArgsEncoder(): FixedSizeEncoder<DepositForBurnArgsArgs>;
|
|
13
|
-
export declare function getDepositForBurnArgsDecoder(): FixedSizeDecoder<DepositForBurnArgs>;
|
|
14
|
-
export declare function getDepositForBurnArgsCodec(): FixedSizeCodec<DepositForBurnArgsArgs, DepositForBurnArgs>;
|
|
15
|
-
//# sourceMappingURL=depositForBurnArgs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"depositForBurnArgs.d.ts","sourceRoot":"","sources":["../../../src/generated/types/depositForBurnArgs.ts"],"names":[],"mappings":"AAQA,OAAO,EAUL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,wBAAgB,4BAA4B,IAAI,gBAAgB,CAAC,sBAAsB,CAAC,CAMvF;AAED,wBAAgB,4BAA4B,IAAI,gBAAgB,CAAC,kBAAkB,CAAC,CAMnF;AAED,wBAAgB,0BAA0B,IAAI,cAAc,CAC1D,sBAAsB,EACtB,kBAAkB,CACnB,CAKA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
|
|
2
|
-
export type DepositSingleTokenTypeExactAmountInArgs = {
|
|
3
|
-
sourceTokenAmount: bigint;
|
|
4
|
-
minimumPoolTokenAmount: bigint;
|
|
5
|
-
};
|
|
6
|
-
export type DepositSingleTokenTypeExactAmountInArgsArgs = {
|
|
7
|
-
sourceTokenAmount: number | bigint;
|
|
8
|
-
minimumPoolTokenAmount: number | bigint;
|
|
9
|
-
};
|
|
10
|
-
export declare function getDepositSingleTokenTypeExactAmountInArgsEncoder(): FixedSizeEncoder<DepositSingleTokenTypeExactAmountInArgsArgs>;
|
|
11
|
-
export declare function getDepositSingleTokenTypeExactAmountInArgsDecoder(): FixedSizeDecoder<DepositSingleTokenTypeExactAmountInArgs>;
|
|
12
|
-
export declare function getDepositSingleTokenTypeExactAmountInArgsCodec(): FixedSizeCodec<DepositSingleTokenTypeExactAmountInArgsArgs, DepositSingleTokenTypeExactAmountInArgs>;
|
|
13
|
-
//# sourceMappingURL=depositSingleTokenTypeExactAmountInArgs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"depositSingleTokenTypeExactAmountInArgs.d.ts","sourceRoot":"","sources":["../../../src/generated/types/depositSingleTokenTypeExactAmountInArgs.ts"],"names":[],"mappings":"AAQA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,uCAAuC,GAAG;IACpD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,2CAA2C,GAAG;IACxD,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,sBAAsB,EAAE,MAAM,GAAG,MAAM,CAAC;CACzC,CAAC;AAEF,wBAAgB,iDAAiD,IAAI,gBAAgB,CAAC,2CAA2C,CAAC,CAKjI;AAED,wBAAgB,iDAAiD,IAAI,gBAAgB,CAAC,uCAAuC,CAAC,CAK7H;AAED,wBAAgB,+CAA+C,IAAI,cAAc,CAC/E,2CAA2C,EAC3C,uCAAuC,CACxC,CAKA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
|
|
2
|
-
export type SplTokenSwapConfig = {
|
|
3
|
-
program: Address;
|
|
4
|
-
swap: Address;
|
|
5
|
-
mintA: Address;
|
|
6
|
-
mintB: Address;
|
|
7
|
-
lpMint: Address;
|
|
8
|
-
lpTokenAccount: Address;
|
|
9
|
-
padding: ReadonlyUint8Array;
|
|
10
|
-
};
|
|
11
|
-
export type SplTokenSwapConfigArgs = SplTokenSwapConfig;
|
|
12
|
-
export declare function getSplTokenSwapConfigEncoder(): FixedSizeEncoder<SplTokenSwapConfigArgs>;
|
|
13
|
-
export declare function getSplTokenSwapConfigDecoder(): FixedSizeDecoder<SplTokenSwapConfig>;
|
|
14
|
-
export declare function getSplTokenSwapConfigCodec(): FixedSizeCodec<SplTokenSwapConfigArgs, SplTokenSwapConfig>;
|
|
15
|
-
//# sourceMappingURL=splTokenSwapConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"splTokenSwapConfig.d.ts","sourceRoot":"","sources":["../../../src/generated/types/splTokenSwapConfig.ts"],"names":[],"mappings":"AAQA,OAAO,EAUL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,kBAAkB,CAAC;AAExD,wBAAgB,4BAA4B,IAAI,gBAAgB,CAAC,sBAAsB,CAAC,CAUvF;AAED,wBAAgB,4BAA4B,IAAI,gBAAgB,CAAC,kBAAkB,CAAC,CAUnF;AAED,wBAAgB,0BAA0B,IAAI,cAAc,CAC1D,sBAAsB,EACtB,kBAAkB,CACnB,CAKA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type ReadonlyUint8Array } from '@solana/kit';
|
|
2
|
-
export type SplTokenSwapState = {
|
|
3
|
-
lastBalanceA: bigint;
|
|
4
|
-
lastBalanceB: bigint;
|
|
5
|
-
lastBalanceLp: bigint;
|
|
6
|
-
padding: ReadonlyUint8Array;
|
|
7
|
-
};
|
|
8
|
-
export type SplTokenSwapStateArgs = {
|
|
9
|
-
lastBalanceA: number | bigint;
|
|
10
|
-
lastBalanceB: number | bigint;
|
|
11
|
-
lastBalanceLp: number | bigint;
|
|
12
|
-
padding: ReadonlyUint8Array;
|
|
13
|
-
};
|
|
14
|
-
export declare function getSplTokenSwapStateEncoder(): FixedSizeEncoder<SplTokenSwapStateArgs>;
|
|
15
|
-
export declare function getSplTokenSwapStateDecoder(): FixedSizeDecoder<SplTokenSwapState>;
|
|
16
|
-
export declare function getSplTokenSwapStateCodec(): FixedSizeCodec<SplTokenSwapStateArgs, SplTokenSwapState>;
|
|
17
|
-
//# sourceMappingURL=splTokenSwapState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"splTokenSwapState.d.ts","sourceRoot":"","sources":["../../../src/generated/types/splTokenSwapState.ts"],"names":[],"mappings":"AAQA,OAAO,EAUL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,OAAO,EAAE,kBAAkB,CAAC;CAC7B,CAAC;AAEF,wBAAgB,2BAA2B,IAAI,gBAAgB,CAAC,qBAAqB,CAAC,CAOrF;AAED,wBAAgB,2BAA2B,IAAI,gBAAgB,CAAC,iBAAiB,CAAC,CAOjF;AAED,wBAAgB,yBAAyB,IAAI,cAAc,CACzD,qBAAqB,EACrB,iBAAiB,CAClB,CAKA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
|
|
2
|
-
export type SwapV1Subset = {
|
|
3
|
-
isInitialized: boolean;
|
|
4
|
-
bumpSeed: number;
|
|
5
|
-
tokenProgramId: Address;
|
|
6
|
-
tokenA: Address;
|
|
7
|
-
tokenB: Address;
|
|
8
|
-
poolMint: Address;
|
|
9
|
-
tokenAMint: Address;
|
|
10
|
-
tokenBMint: Address;
|
|
11
|
-
poolFeeAccount: Address;
|
|
12
|
-
};
|
|
13
|
-
export type SwapV1SubsetArgs = SwapV1Subset;
|
|
14
|
-
export declare function getSwapV1SubsetEncoder(): FixedSizeEncoder<SwapV1SubsetArgs>;
|
|
15
|
-
export declare function getSwapV1SubsetDecoder(): FixedSizeDecoder<SwapV1Subset>;
|
|
16
|
-
export declare function getSwapV1SubsetCodec(): FixedSizeCodec<SwapV1SubsetArgs, SwapV1Subset>;
|
|
17
|
-
//# sourceMappingURL=swapV1Subset.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"swapV1Subset.d.ts","sourceRoot":"","sources":["../../../src/generated/types/swapV1Subset.ts"],"names":[],"mappings":"AAQA,OAAO,EAUL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,EAAE,OAAO,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE5C,wBAAgB,sBAAsB,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,CAY3E;AAED,wBAAgB,sBAAsB,IAAI,gBAAgB,CAAC,YAAY,CAAC,CAYvE;AAED,wBAAgB,oBAAoB,IAAI,cAAc,CACpD,gBAAgB,EAChB,YAAY,CACb,CAEA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
|
|
2
|
-
export type WithdrawSingleTokenTypeExactAmountOutArgs = {
|
|
3
|
-
destinationTokenAmount: bigint;
|
|
4
|
-
maximumPoolTokenAmount: bigint;
|
|
5
|
-
};
|
|
6
|
-
export type WithdrawSingleTokenTypeExactAmountOutArgsArgs = {
|
|
7
|
-
destinationTokenAmount: number | bigint;
|
|
8
|
-
maximumPoolTokenAmount: number | bigint;
|
|
9
|
-
};
|
|
10
|
-
export declare function getWithdrawSingleTokenTypeExactAmountOutArgsEncoder(): FixedSizeEncoder<WithdrawSingleTokenTypeExactAmountOutArgsArgs>;
|
|
11
|
-
export declare function getWithdrawSingleTokenTypeExactAmountOutArgsDecoder(): FixedSizeDecoder<WithdrawSingleTokenTypeExactAmountOutArgs>;
|
|
12
|
-
export declare function getWithdrawSingleTokenTypeExactAmountOutArgsCodec(): FixedSizeCodec<WithdrawSingleTokenTypeExactAmountOutArgsArgs, WithdrawSingleTokenTypeExactAmountOutArgs>;
|
|
13
|
-
//# sourceMappingURL=withdrawSingleTokenTypeExactAmountOutArgs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withdrawSingleTokenTypeExactAmountOutArgs.d.ts","sourceRoot":"","sources":["../../../src/generated/types/withdrawSingleTokenTypeExactAmountOutArgs.ts"],"names":[],"mappings":"AAQA,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,yCAAyC,GAAG;IACtD,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,6CAA6C,GAAG;IAC1D,sBAAsB,EAAE,MAAM,GAAG,MAAM,CAAC;IACxC,sBAAsB,EAAE,MAAM,GAAG,MAAM,CAAC;CACzC,CAAC;AAEF,wBAAgB,mDAAmD,IAAI,gBAAgB,CAAC,6CAA6C,CAAC,CAKrI;AAED,wBAAgB,mDAAmD,IAAI,gBAAgB,CAAC,yCAAyC,CAAC,CAKjI;AAED,wBAAgB,iDAAiD,IAAI,cAAc,CACjF,6CAA6C,EAC7C,yCAAyC,CAC1C,CAKA"}
|