solana.js: import BN from switchboard common
This commit is contained in:
parent
6d60e1c5c1
commit
06f9b4676d
|
@ -98,6 +98,10 @@ async function main() {
|
|||
);
|
||||
|
||||
console.log(file);
|
||||
// replace BN import
|
||||
execSync(
|
||||
`sed -i '' 's/import BN from \\"bn.js\\"/import { BN } from \\"@switchboard-xyz\\/common\\"/g' ${file}`
|
||||
);
|
||||
// remove PROGRAM_ID import, we will use SwitchboardProgram instead
|
||||
execSync(
|
||||
`sed -i '' 's/import { PROGRAM_ID } from "..\\/programId"/ /g' ${file}`
|
||||
|
|
|
@ -13,15 +13,11 @@
|
|||
"@project-serum/borsh": "^0.2.5",
|
||||
"@solana/spl-token": "^0.3.6",
|
||||
"@solana/web3.js": "^1.73.0",
|
||||
"@switchboard-xyz/common": "^2.1.12",
|
||||
"big.js": "^6.2.1",
|
||||
"bn.js": "^5.2.1",
|
||||
"@switchboard-xyz/common": "^2.1.13",
|
||||
"dotenv": "^16.0.3",
|
||||
"lodash": "^4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/big.js": "^6.1.6",
|
||||
"@types/bn.js": "^5.1.1",
|
||||
"@types/chai": "^4.3.4",
|
||||
"@types/expect": "^24.3.0",
|
||||
"@types/lodash": "^4.14.191",
|
||||
|
@ -589,9 +585,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@switchboard-xyz/common": {
|
||||
"version": "2.1.12",
|
||||
"resolved": "https://registry.npmjs.org/@switchboard-xyz/common/-/common-2.1.12.tgz",
|
||||
"integrity": "sha512-eQ3JSybbmNG0AqHsSUXS1hKZvE21JZ9HV6s9wRNXtQhMVw9sy92NyIze5RDfyxs9mbPsrFhkqaJh+nl6TnU3rQ==",
|
||||
"version": "2.1.13",
|
||||
"resolved": "https://registry.npmjs.org/@switchboard-xyz/common/-/common-2.1.13.tgz",
|
||||
"integrity": "sha512-1lsYd9E+oHw4ADuAbjhTYSulvTB/PhHCmf1MH4l2Is4X318IHzxdzjeS/u1tze6Wgg9LssCWjfPMxC0FUQ4H3Q==",
|
||||
"dependencies": {
|
||||
"@solana/web3.js": "^1.66.2",
|
||||
"big.js": "^6.2.1",
|
||||
|
@ -660,21 +656,6 @@
|
|||
"integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/big.js": {
|
||||
"version": "6.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@types/big.js/-/big.js-6.1.6.tgz",
|
||||
"integrity": "sha1-PUF+dYSD1VNFoDoIf34MhxN8pEQ= sha512-0r9J+Zz9rYm2hOTwiMAVkm3XFQ4u5uTK37xrQMhc9bysn/sf/okzovWMYYIBMFTn/yrEZ11pusgLEaoarTlQbA==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/@types/bn.js": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz",
|
||||
"integrity": "sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@types/node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/chai": {
|
||||
"version": "4.3.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.4.tgz",
|
||||
|
@ -5702,9 +5683,9 @@
|
|||
}
|
||||
},
|
||||
"@switchboard-xyz/common": {
|
||||
"version": "2.1.12",
|
||||
"resolved": "https://registry.npmjs.org/@switchboard-xyz/common/-/common-2.1.12.tgz",
|
||||
"integrity": "sha512-eQ3JSybbmNG0AqHsSUXS1hKZvE21JZ9HV6s9wRNXtQhMVw9sy92NyIze5RDfyxs9mbPsrFhkqaJh+nl6TnU3rQ==",
|
||||
"version": "2.1.13",
|
||||
"resolved": "https://registry.npmjs.org/@switchboard-xyz/common/-/common-2.1.13.tgz",
|
||||
"integrity": "sha512-1lsYd9E+oHw4ADuAbjhTYSulvTB/PhHCmf1MH4l2Is4X318IHzxdzjeS/u1tze6Wgg9LssCWjfPMxC0FUQ4H3Q==",
|
||||
"requires": {
|
||||
"@solana/web3.js": "^1.66.2",
|
||||
"big.js": "^6.2.1",
|
||||
|
@ -5766,21 +5747,6 @@
|
|||
"integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/big.js": {
|
||||
"version": "6.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@types/big.js/-/big.js-6.1.6.tgz",
|
||||
"integrity": "sha1-PUF+dYSD1VNFoDoIf34MhxN8pEQ= sha512-0r9J+Zz9rYm2hOTwiMAVkm3XFQ4u5uTK37xrQMhc9bysn/sf/okzovWMYYIBMFTn/yrEZ11pusgLEaoarTlQbA==",
|
||||
"dev": true
|
||||
},
|
||||
"@types/bn.js": {
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.1.tgz",
|
||||
"integrity": "sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@types/node": "*"
|
||||
}
|
||||
},
|
||||
"@types/chai": {
|
||||
"version": "4.3.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.4.tgz",
|
||||
|
|
|
@ -51,15 +51,11 @@
|
|||
"@project-serum/borsh": "^0.2.5",
|
||||
"@solana/spl-token": "^0.3.6",
|
||||
"@solana/web3.js": "^1.73.0",
|
||||
"@switchboard-xyz/common": "^2.1.12",
|
||||
"big.js": "^6.2.1",
|
||||
"bn.js": "^5.2.1",
|
||||
"@switchboard-xyz/common": "^2.1.13",
|
||||
"dotenv": "^16.0.3",
|
||||
"lodash": "^4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/big.js": "^6.1.6",
|
||||
"@types/bn.js": "^5.1.1",
|
||||
"@types/chai": "^4.3.4",
|
||||
"@types/expect": "^24.3.0",
|
||||
"@types/lodash": "^4.14.191",
|
||||
|
|
|
@ -2,7 +2,7 @@ import * as types from '../generated';
|
|||
import * as anchor from '@project-serum/anchor';
|
||||
import { Account, OnAccountChangeCallback } from './account';
|
||||
import * as errors from '../errors';
|
||||
import Big from 'big.js';
|
||||
import { Big } from '@switchboard-xyz/common';
|
||||
import { SwitchboardProgram } from '../SwitchboardProgram';
|
||||
import {
|
||||
AccountInfo,
|
||||
|
|
|
@ -19,8 +19,8 @@ import {
|
|||
import { TransactionObject } from '../TransactionObject';
|
||||
import { AggregatorAccount } from './aggregatorAccount';
|
||||
import { SwitchboardDecimal } from '../generated';
|
||||
import Big from 'big.js';
|
||||
import BN from 'bn.js';
|
||||
import { Big } from '@switchboard-xyz/common';
|
||||
import { BN } from '@switchboard-xyz/common';
|
||||
|
||||
export interface AggregatorHistoryInit {
|
||||
/** Aggregator account to add a history buffer for. */
|
||||
|
|
|
@ -16,7 +16,7 @@ import {
|
|||
import { AggregatorAccount } from './aggregatorAccount';
|
||||
import { QueueAccount } from './queueAccount';
|
||||
import { TransactionObject } from '../TransactionObject';
|
||||
import BN from 'bn.js';
|
||||
import { BN } from '@switchboard-xyz/common';
|
||||
import { JobAccount } from './jobAccount';
|
||||
import { OracleJob } from '@switchboard-xyz/common';
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ import { PermissionAccount } from './permissionAccount';
|
|||
import { QueueAccount } from './queueAccount';
|
||||
import * as spl from '@solana/spl-token';
|
||||
import { TransactionObject } from '../TransactionObject';
|
||||
import BN from 'bn.js';
|
||||
import { BN } from '@switchboard-xyz/common';
|
||||
|
||||
/**
|
||||
* Account type holding an oracle's configuration including the authority and the reward/slashing wallet along with a set of metrics tracking its reliability.
|
||||
|
|
|
@ -10,7 +10,7 @@ import {
|
|||
TransactionSignature,
|
||||
} from '@solana/web3.js';
|
||||
import { SwitchboardDecimal, toUtf8 } from '@switchboard-xyz/common';
|
||||
import Big from 'big.js';
|
||||
import { Big } from '@switchboard-xyz/common';
|
||||
import { BN } from 'bn.js';
|
||||
import * as errors from '../errors';
|
||||
import * as types from '../generated';
|
||||
|
|
|
@ -19,7 +19,7 @@ import { SwitchboardProgram } from '../SwitchboardProgram';
|
|||
import { Account } from './account';
|
||||
import * as types from '../generated';
|
||||
import * as errors from '../errors';
|
||||
import BN from 'bn.js';
|
||||
import { BN } from '@switchboard-xyz/common';
|
||||
import { vrfLiteInit } from '../generated';
|
||||
import { Callback } from './vrfAccount';
|
||||
import { QueueAccount } from './queueAccount';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { SwitchboardProgram } from '../../SwitchboardProgram';
|
||||
import { PublicKey, Connection } from '@solana/web3.js';
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
PublicKey,
|
||||
AccountMeta,
|
||||
} from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { PublicKey } from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh';
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { PublicKey } from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh';
|
||||
import Big from 'big.js';
|
||||
import { Big } from '@switchboard-xyz/common';
|
||||
|
||||
export interface SwitchboardDecimalFields {
|
||||
/**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { PublicKey } from '@solana/web3.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import BN from 'bn.js'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import { BN } from '@switchboard-xyz/common'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as types from '../types'; // eslint-disable-line @typescript-eslint/no-unused-vars
|
||||
import * as borsh from '@project-serum/borsh';
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ import {
|
|||
} from '@solana/web3.js';
|
||||
import { InsufficientFundsError, NativeMintOnlyError } from './errors';
|
||||
import { SwitchboardDecimal } from './generated';
|
||||
import Big from 'big.js';
|
||||
import BN from 'bn.js';
|
||||
import { Big } from '@switchboard-xyz/common';
|
||||
import { BN } from '@switchboard-xyz/common';
|
||||
import { TransactionObject } from './TransactionObject';
|
||||
|
||||
export class Mint {
|
||||
|
|
Loading…
Reference in New Issue