Skip to content

Commit

Permalink
Merge pull request #126 from neonlabsorg/fix/bigint
Browse files Browse the repository at this point in the history
Fix/bigint
  • Loading branch information
oable authored Nov 21, 2022
2 parents 88414b7 + 49546f4 commit d097fac
Show file tree
Hide file tree
Showing 26 changed files with 5,663 additions and 3,923 deletions.
6 changes: 3 additions & 3 deletions dist/api/neon-proxy-rpc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/api/neon-proxy-rpc.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions dist/core/InstructionService.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ export declare class InstructionService {
neonAccountAddress(neonWallet: string): Promise<[PublicKey, number]>;
getNeonAccount(neonAssociatedKey: PublicKey): Promise<AccountInfo<Buffer> | null>;
createAccountV3Instruction(solanaWallet: PublicKey, neonWalletPDA: PublicKey, neonWallet: string): TransactionInstruction;
approveDepositInstruction(solanaPubkey: PublicKey, neonPDAPubkey: PublicKey, token: SPLToken, amount: number): Promise<{
associatedTokenAddress: PublicKey;
createApproveInstruction: TransactionInstruction;
}>;
getAssociatedTokenAddress(mintPubkey: PublicKey, walletPubkey: PublicKey): Promise<PublicKey>;
approveDepositInstruction(walletPubkey: PublicKey, neonPDAPubkey: PublicKey, associatedTokenPubkey: PublicKey, amount: number | bigint): TransactionInstruction;
createApproveSolanaData(solanaWallet: PublicKey, splToken: SPLToken, amount: number): string;
getEthereumTransactionParams(amount: number, token: SPLToken): TransactionConfig;
emitFunction: (functionName?: Function, ...args: any[]) => void;
Expand Down
14 changes: 6 additions & 8 deletions dist/core/InstructionService.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core/InstructionService.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 5 additions & 19 deletions dist/core/MintPortal.d.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
import { AccountMeta, PublicKey, TransactionInstruction } from '@solana/web3.js';
import { AccountMeta, PublicKey, Transaction, TransactionInstruction } from '@solana/web3.js';
import { Account, SignedTransaction, TransactionReceipt } from 'web3-core';
import { InstructionService } from './InstructionService';
import { SPLToken } from '../models';
export declare class MintPortal extends InstructionService {
createNeonTransfer(events: import("../models").InstructionEvents | undefined, amount: number, splToken?: {
chainId: number;
address_spl: string;
address: string;
decimals: number;
name: string;
symbol: string;
logoURI: string;
}): Promise<void>;
createNeonTransfer(amount: number, splToken: SPLToken, events?: import("../models").InstructionEvents): Promise<void>;
createSolanaTransfer(amount: number, splToken: SPLToken, events?: import("../models").InstructionEvents): Promise<void>;
neonTransferTransaction(amount: number, splToken: SPLToken): Promise<Transaction>;
computeBudgetUtilsInstruction(programId: PublicKey): TransactionInstruction;
computeBudgetHeapFrameInstruction(programId: PublicKey): TransactionInstruction;
createClaimInstruction(owner: PublicKey, from: PublicKey, to: string, splToken: SPLToken, emulateSigner: Account, amount: any): Promise<{
Expand All @@ -23,14 +17,6 @@ export declare class MintPortal extends InstructionService {
makeTrExecFromDataIx(neonAddress: PublicKey, neonRawTransaction: string, neonKeys: AccountMeta[]): Promise<TransactionInstruction>;
getCollateralPoolAddress(collateralPoolIndex: number): Promise<[PublicKey, number]>;
createNeonTransaction(neonWallet: string, solanaWallet: PublicKey, splToken: SPLToken, amount: number): Promise<TransactionReceipt>;
createSolanaTransfer(events?: import("../models").InstructionEvents, amount?: number, splToken?: {
chainId: number;
address_spl: string;
address: string;
decimals: number;
name: string;
symbol: string;
logoURI: string;
}): Promise<void>;
solanaTransferTransaction(walletPubkey: PublicKey, mintPubkey: PublicKey, associatedTokenPubkey: PublicKey): Promise<Transaction>;
createAssociatedTokenAccountInstruction(associatedProgramId: PublicKey, programId: PublicKey, mint: PublicKey, associatedAccount: PublicKey, owner: PublicKey, payer: PublicKey): TransactionInstruction;
}
Loading

0 comments on commit d097fac

Please sign in to comment.