@keel-fi/svm-alm-controller 1.0.1-rc.1 → 1.0.3-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/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +550 -1
- package/dist/index.js +565 -0
- package/dist/instructions/claimRent.d.ts +3 -0
- package/dist/instructions/claimRent.d.ts.map +1 -0
- package/dist/instructions/index.d.ts +16 -0
- package/dist/instructions/index.d.ts.map +1 -0
- package/dist/instructions/initializeIntegration/atomicSwap.d.ts +8 -0
- package/dist/instructions/initializeIntegration/atomicSwap.d.ts.map +1 -0
- package/dist/instructions/initializeIntegration/index.d.ts +2 -0
- package/dist/instructions/initializeIntegration/index.d.ts.map +1 -0
- package/dist/instructions/initializeOracle.d.ts +3 -0
- package/dist/instructions/initializeOracle.d.ts.map +1 -0
- package/dist/instructions/initializeReserve.d.ts +4 -0
- package/dist/instructions/initializeReserve.d.ts.map +1 -0
- package/dist/instructions/manageController.d.ts +4 -0
- package/dist/instructions/manageController.d.ts.map +1 -0
- package/dist/instructions/manageIntegration.d.ts +4 -0
- package/dist/instructions/manageIntegration.d.ts.map +1 -0
- package/dist/instructions/managePermissions.d.ts +4 -0
- package/dist/instructions/managePermissions.d.ts.map +1 -0
- package/dist/instructions/manageReserve.d.ts +4 -0
- package/dist/instructions/manageReserve.d.ts.map +1 -0
- package/dist/instructions/pull/index.d.ts +2 -0
- package/dist/instructions/pull/index.d.ts.map +1 -0
- package/dist/instructions/push/index.d.ts +2 -0
- package/dist/instructions/push/index.d.ts.map +1 -0
- package/dist/instructions/refreshKaminoObligation.d.ts +3 -0
- package/dist/instructions/refreshKaminoObligation.d.ts.map +1 -0
- package/dist/instructions/refreshKaminoReserve.d.ts +3 -0
- package/dist/instructions/refreshKaminoReserve.d.ts.map +1 -0
- package/dist/instructions/syncIntegration.d.ts +3 -0
- package/dist/instructions/syncIntegration.d.ts.map +1 -0
- package/dist/instructions/syncReserve.d.ts +3 -0
- package/dist/instructions/syncReserve.d.ts.map +1 -0
- package/dist/instructions/updateOracle.d.ts +4 -0
- package/dist/instructions/updateOracle.d.ts.map +1 -0
- package/dist/instructions/utils.d.ts +5 -0
- package/dist/instructions/utils.d.ts.map +1 -0
- 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 +1 -0
- package/dist/pdas.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Address, TransactionSigner, OptionOrNullable } from "@solana/kit";
|
|
2
|
+
import type { IntegrationStatusArgs } from "../generated/types";
|
|
3
|
+
export declare function createManageIntegrationInstruction(controller: Address, authority: TransactionSigner, integration: Address, status: OptionOrNullable<IntegrationStatusArgs>, rateLimitSlope: OptionOrNullable<number | bigint>, rateLimitMaxOutflow: OptionOrNullable<number | bigint>, description?: OptionOrNullable<Uint8Array>): Promise<import("../generated").ManageIntegrationInstruction<Address<"ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd">, string, string, string, string, string, "ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd", []>>;
|
|
4
|
+
//# sourceMappingURL=manageIntegration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manageIntegration.d.ts","sourceRoot":"","sources":["../../src/instructions/manageIntegration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAO3E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAKhE,wBAAsB,kCAAkC,CACtD,UAAU,EAAE,OAAO,EACnB,SAAS,EAAE,iBAAiB,EAC5B,WAAW,EAAE,OAAO,EACpB,MAAM,EAAE,gBAAgB,CAAC,qBAAqB,CAAC,EAC/C,cAAc,EAAE,gBAAgB,CAAC,MAAM,GAAG,MAAM,CAAC,EACjD,mBAAmB,EAAE,gBAAgB,CAAC,MAAM,GAAG,MAAM,CAAC,EACtD,WAAW,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,qNAiB3C"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Address, TransactionSigner } from "@solana/kit";
|
|
2
|
+
import type { PermissionStatusArgs } from "../generated/types";
|
|
3
|
+
export declare function createManagePermissionsInstruction(controller: Address, payer: TransactionSigner, callingAuthority: TransactionSigner, subjectAuthority: Address, status: PermissionStatusArgs, canExecuteSwap: boolean, canManagePermissions: boolean, canInvokeExternalTransfer: boolean, canReallocate: boolean, canFreezeController: boolean, canUnfreezeController: boolean, canManageReservesAndIntegrations: boolean, canSuspendPermissions: boolean, canLiquidate: boolean): Promise<import("../generated").ManagePermissionInstruction<Address<"ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd">, string, string, string, string, string, string, string, "ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd", string, []>>;
|
|
4
|
+
//# sourceMappingURL=managePermissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managePermissions.d.ts","sourceRoot":"","sources":["../../src/instructions/managePermissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAO/D,wBAAsB,kCAAkC,CACtD,UAAU,EAAE,OAAO,EACnB,KAAK,EAAE,iBAAiB,EACxB,gBAAgB,EAAE,iBAAiB,EACnC,gBAAgB,EAAE,OAAO,EACzB,MAAM,EAAE,oBAAoB,EAC5B,cAAc,EAAE,OAAO,EACvB,oBAAoB,EAAE,OAAO,EAC7B,yBAAyB,EAAE,OAAO,EAClC,aAAa,EAAE,OAAO,EACtB,mBAAmB,EAAE,OAAO,EAC5B,qBAAqB,EAAE,OAAO,EAC9B,gCAAgC,EAAE,OAAO,EACzC,qBAAqB,EAAE,OAAO,EAC9B,YAAY,EAAE,OAAO,4OAiCtB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Address, TransactionSigner } from "@solana/kit";
|
|
2
|
+
import type { ReserveStatusArgs } from "../generated/types";
|
|
3
|
+
export declare function createManageReserveInstruction(controller: Address, authority: TransactionSigner, mint: Address, status: ReserveStatusArgs, rateLimitSlope: number | bigint, rateLimitMaxOutflow: number | bigint): Promise<import("../generated").ManageReserveInstruction<Address<"ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd">, string, string, string, string, string, "ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd", []>>;
|
|
4
|
+
//# sourceMappingURL=manageReserve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manageReserve.d.ts","sourceRoot":"","sources":["../../src/instructions/manageReserve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAQzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAK5D,wBAAsB,8BAA8B,CAClD,UAAU,EAAE,OAAO,EACnB,SAAS,EAAE,iBAAiB,EAC5B,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,iBAAiB,EACzB,cAAc,EAAE,MAAM,GAAG,MAAM,EAC/B,mBAAmB,EAAE,MAAM,GAAG,MAAM,iNAiBrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/instructions/pull/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/instructions/push/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshKaminoObligation.d.ts","sourceRoot":"","sources":["../../src/instructions/refreshKaminoObligation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,WAAW,EAAe,MAAM,aAAa,CAAC;AAwB7E,wBAAgB,wCAAwC,CACtD,MAAM,EAAE,OAAO,EACf,UAAU,EAAE,OAAO,EACnB,QAAQ,EAAE,OAAO,EAAE,GAClB,WAAW,CAuBb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refreshKaminoReserve.d.ts","sourceRoot":"","sources":["../../src/instructions/refreshKaminoReserve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAe,WAAW,EAAe,MAAM,aAAa,CAAC;AAmB7E,wBAAgB,qCAAqC,CACnD,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,OAAO,EACf,WAAW,EAAE,OAAO,GACnB,WAAW,CAuCb"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Address, TransactionSigner } from "@solana/kit";
|
|
2
|
+
export declare function createSyncIntegrationInstruction(controller: Address, payer: TransactionSigner, integration: Address, reserve: Address): Promise<import("../generated").SyncInstruction<Address<"ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd">, string, string, string, string, string, []>>;
|
|
3
|
+
//# sourceMappingURL=syncIntegration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syncIntegration.d.ts","sourceRoot":"","sources":["../../src/instructions/syncIntegration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAQzD,wBAAsB,gCAAgC,CACpD,UAAU,EAAE,OAAO,EACnB,KAAK,EAAE,iBAAiB,EACxB,WAAW,EAAE,OAAO,EACpB,OAAO,EAAE,OAAO,wJAWjB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Address } from "@solana/kit";
|
|
2
|
+
export declare function createSyncReserveInstruction(controller: Address, mint: Address, tokenProgram: Address): Promise<import("../generated").SyncReserveInstruction<Address<"ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd">, string, string, string, string, []>>;
|
|
3
|
+
//# sourceMappingURL=syncReserve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"syncReserve.d.ts","sourceRoot":"","sources":["../../src/instructions/syncReserve.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAStC,wBAAsB,4BAA4B,CAChD,UAAU,EAAE,OAAO,EACnB,IAAI,EAAE,OAAO,EACb,YAAY,EAAE,OAAO,uJAgBtB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Address, TransactionSigner, OptionOrNullable } from "@solana/kit";
|
|
2
|
+
import type { FeedArgs } from "../generated/types";
|
|
3
|
+
export declare function createUpdateOracleInstruction(controller: Address, authority: TransactionSigner, oracle: Address, priceFeed: Address, feedArgs: OptionOrNullable<FeedArgs>, newAuthority?: Address): Promise<import("../generated").UpdateOracleInstruction<Address<"ALM1JSnEhc5PkNecbSZotgprBuJujL5objTbwGtpTgTd">, string, string, string, string, string, string, []>>;
|
|
4
|
+
//# sourceMappingURL=updateOracle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateOracle.d.ts","sourceRoot":"","sources":["../../src/instructions/updateOracle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAI3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAKnD,wBAAsB,6BAA6B,CACjD,UAAU,EAAE,OAAO,EACnB,SAAS,EAAE,iBAAiB,EAC5B,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,CAAC,EACpC,YAAY,CAAC,EAAE,OAAO,wKAavB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Address } from "@solana/addresses";
|
|
2
|
+
import { IntegrationConfigArgs } from "../generated";
|
|
3
|
+
export declare function getAssociatedTokenAddress(owner: Address, mint: Address, tokenProgram?: Address): Promise<Address>;
|
|
4
|
+
export declare const computeIntegrationHash: (config: IntegrationConfigArgs) => Uint8Array;
|
|
5
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/instructions/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAA+C,MAAM,mBAAmB,CAAC;AAGzF,OAAO,EAA+B,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAOlF,wBAAsB,yBAAyB,CAC7C,KAAK,EAAE,OAAO,EACd,IAAI,EAAE,OAAO,EACb,YAAY,GAAE,OAAkE,GAC/E,OAAO,CAAC,OAAO,CAAC,CAalB;AAQD,eAAO,MAAM,sBAAsB,GAC/B,QAAQ,qBAAqB,KAC5B,UAOF,CAAC"}
|
|
@@ -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,4 +5,5 @@ 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 deriveOraclePda: (nonce: Address) => Promise<Address<string>>;
|
|
8
9
|
//# 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;AAEF,eAAO,MAAM,eAAe,GAAU,OAAO,OAAO,6BASnD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keel-fi/svm-alm-controller",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3-rc.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.es.js",
|
|
6
6
|
"files": [
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@solana/kit": "^3.0.3",
|
|
15
|
+
"keccak": "^3.0.4",
|
|
15
16
|
"ws": "^8.18.3"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|