goblingold-sdk
Advanced tools
Comparing version 1.2.29 to 1.2.30
@@ -8,3 +8,2 @@ import { web3 } from "@project-serum/anchor"; | ||
export declare function withdraw(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; | ||
export declare function getWithdrawIx(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.TransactionInstruction>; | ||
export declare function tvl(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; |
@@ -12,3 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tvl = exports.getWithdrawIx = exports.withdraw = exports.deposit = exports.setHashes = exports.initializeProtocol = exports.refreshLendingIx = void 0; | ||
exports.tvl = exports.withdraw = exports.deposit = exports.setHashes = exports.initializeProtocol = exports.refreshLendingIx = void 0; | ||
const anchor_1 = require("@project-serum/anchor"); | ||
@@ -140,8 +140,2 @@ const spl_token_1 = require("@solana/spl-token"); | ||
exports.withdraw = withdraw; | ||
function getWithdrawIx(program, genericAcccounts) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
}); | ||
} | ||
exports.getWithdrawIx = getWithdrawIx; | ||
function withdrawBuilder(program, genericAcccounts) { | ||
@@ -148,0 +142,0 @@ const tokenInput = program.tokenInput; |
@@ -7,3 +7,2 @@ import { web3 } from "@project-serum/anchor"; | ||
export declare function withdraw(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; | ||
export declare function getWithdrawIx(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.TransactionInstruction>; | ||
export declare function tvl(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; |
@@ -12,3 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tvl = exports.getWithdrawIx = exports.withdraw = exports.deposit = exports.setHashes = exports.initializeProtocol = void 0; | ||
exports.tvl = exports.withdraw = exports.deposit = exports.setHashes = exports.initializeProtocol = void 0; | ||
const anchor_1 = require("@project-serum/anchor"); | ||
@@ -125,8 +125,2 @@ const sha256_uint8array_1 = require("sha256-uint8array"); | ||
exports.withdraw = withdraw; | ||
function getWithdrawIx(program, genericAcccounts) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
}); | ||
} | ||
exports.getWithdrawIx = getWithdrawIx; | ||
function withdrawBuilder(program, genericAcccounts) { | ||
@@ -133,0 +127,0 @@ const tokenInput = program.tokenInput; |
@@ -8,3 +8,2 @@ import { web3 } from "@project-serum/anchor"; | ||
export declare function withdraw(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; | ||
export declare function getWithdrawIx(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.TransactionInstruction>; | ||
export declare function tvl(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; |
@@ -15,3 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tvl = exports.getWithdrawIx = exports.withdraw = exports.deposit = exports.refreshReserveIx = exports.setHashes = exports.initializeProtocol = void 0; | ||
exports.tvl = exports.withdraw = exports.deposit = exports.refreshReserveIx = exports.setHashes = exports.initializeProtocol = void 0; | ||
const anchor_1 = require("@project-serum/anchor"); | ||
@@ -149,8 +149,2 @@ const spl_token_1 = require("@solana/spl-token"); | ||
exports.withdraw = withdraw; | ||
function getWithdrawIx(program, genericAcccounts) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
}); | ||
} | ||
exports.getWithdrawIx = getWithdrawIx; | ||
function withdrawBuilder(program, genericAcccounts) { | ||
@@ -157,0 +151,0 @@ const tokenInput = program.tokenInput; |
@@ -10,4 +10,3 @@ import { Idl, web3 } from "@project-serum/anchor"; | ||
export declare function withdraw(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; | ||
export declare function getWithdrawIx(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.TransactionInstruction>; | ||
export declare function withdrawBuilder(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): MethodsBuilder<Idl, IdlInstruction>; | ||
export declare function tvl(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; |
@@ -15,3 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tvl = exports.withdrawBuilder = exports.getWithdrawIx = exports.withdraw = exports.deposit = exports.refreshReserveIx = exports.setHashes = exports.initializeProtocol = void 0; | ||
exports.tvl = exports.withdrawBuilder = exports.withdraw = exports.deposit = exports.refreshReserveIx = exports.setHashes = exports.initializeProtocol = void 0; | ||
const anchor_1 = require("@project-serum/anchor"); | ||
@@ -154,8 +154,2 @@ const spl_token_1 = require("@solana/spl-token"); | ||
exports.withdraw = withdraw; | ||
function getWithdrawIx(program, genericAcccounts) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
}); | ||
} | ||
exports.getWithdrawIx = getWithdrawIx; | ||
function withdrawBuilder(program, genericAcccounts) { | ||
@@ -162,0 +156,0 @@ const tokenInput = program.tokenInput; |
@@ -8,3 +8,2 @@ import { web3 } from "@project-serum/anchor"; | ||
export declare function withdraw(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; | ||
export declare function getWithdrawIx(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.TransactionInstruction>; | ||
export declare function tvl(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; |
@@ -15,3 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tvl = exports.getWithdrawIx = exports.withdraw = exports.deposit = exports.refreshReserveIx = exports.setHashes = exports.initializeProtocol = void 0; | ||
exports.tvl = exports.withdraw = exports.deposit = exports.refreshReserveIx = exports.setHashes = exports.initializeProtocol = void 0; | ||
const anchor_1 = require("@project-serum/anchor"); | ||
@@ -154,8 +154,2 @@ const spl_token_1 = require("@solana/spl-token"); | ||
exports.withdraw = withdraw; | ||
function getWithdrawIx(program, genericAcccounts) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
}); | ||
} | ||
exports.getWithdrawIx = getWithdrawIx; | ||
function withdrawBuilder(program, genericAcccounts) { | ||
@@ -162,0 +156,0 @@ const tokenInput = program.tokenInput; |
@@ -8,3 +8,2 @@ import { web3 } from "@project-serum/anchor"; | ||
export declare function withdraw(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; | ||
export declare function getWithdrawIx(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.TransactionInstruction>; | ||
export declare function tvl(program: StrategyProgram, genericAcccounts: Record<string, web3.PublicKey>): Promise<web3.Transaction>; |
@@ -15,3 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.tvl = exports.getWithdrawIx = exports.withdraw = exports.deposit = exports.refreshReserveIx = exports.setHashes = exports.initializeProtocol = void 0; | ||
exports.tvl = exports.withdraw = exports.deposit = exports.refreshReserveIx = exports.setHashes = exports.initializeProtocol = void 0; | ||
const anchor_1 = require("@project-serum/anchor"); | ||
@@ -143,8 +143,2 @@ const spl_token_1 = require("@solana/spl-token"); | ||
exports.withdraw = withdraw; | ||
function getWithdrawIx(program, genericAcccounts) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
}); | ||
} | ||
exports.getWithdrawIx = getWithdrawIx; | ||
function withdrawBuilder(program, genericAcccounts) { | ||
@@ -151,0 +145,0 @@ const tokenInput = program.tokenInput; |
{ | ||
"name": "goblingold-sdk", | ||
"version": "1.2.29", | ||
"version": "1.2.30", | ||
"description": "Client to interact with GoblinGold", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -165,8 +165,2 @@ import { Idl, web3 } from "@project-serum/anchor"; | ||
} | ||
export async function getWithdrawIx( | ||
program: StrategyProgram, | ||
genericAcccounts: Record<string, web3.PublicKey> | ||
): Promise<web3.TransactionInstruction> { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
} | ||
@@ -173,0 +167,0 @@ function withdrawBuilder( |
@@ -129,8 +129,2 @@ import { BN, Idl, web3 } from "@project-serum/anchor"; | ||
} | ||
export async function getWithdrawIx( | ||
program: StrategyProgram, | ||
genericAcccounts: Record<string, web3.PublicKey> | ||
): Promise<web3.TransactionInstruction> { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
} | ||
@@ -137,0 +131,0 @@ function withdrawBuilder( |
@@ -176,8 +176,2 @@ import { Idl, web3 } from "@project-serum/anchor"; | ||
} | ||
export async function getWithdrawIx( | ||
program: StrategyProgram, | ||
genericAcccounts: Record<string, web3.PublicKey> | ||
): Promise<web3.TransactionInstruction> { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
} | ||
@@ -184,0 +178,0 @@ function withdrawBuilder( |
@@ -197,8 +197,2 @@ import { Idl, web3 } from "@project-serum/anchor"; | ||
} | ||
export async function getWithdrawIx( | ||
program: StrategyProgram, | ||
genericAcccounts: Record<string, web3.PublicKey> | ||
): Promise<web3.TransactionInstruction> { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
} | ||
@@ -205,0 +199,0 @@ export function withdrawBuilder( |
@@ -197,8 +197,3 @@ import { Idl, web3 } from "@project-serum/anchor"; | ||
} | ||
export async function getWithdrawIx( | ||
program: StrategyProgram, | ||
genericAcccounts: Record<string, web3.PublicKey> | ||
): Promise<web3.TransactionInstruction> { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
} | ||
function withdrawBuilder( | ||
@@ -205,0 +200,0 @@ program: StrategyProgram, |
@@ -168,8 +168,2 @@ import { Idl, web3 } from "@project-serum/anchor"; | ||
} | ||
export async function getWithdrawIx( | ||
program: StrategyProgram, | ||
genericAcccounts: Record<string, web3.PublicKey> | ||
): Promise<web3.TransactionInstruction> { | ||
return withdrawBuilder(program, genericAcccounts).instruction(); | ||
} | ||
@@ -176,0 +170,0 @@ function withdrawBuilder( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
716977
14692