forked from exo-tech-xyz/stake-deposit-interceptor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.solitarc.js
25 lines (24 loc) · 860 Bytes
/
.solitarc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const path = require('path');
const programDir = path.join(__dirname, 'stake_deposit_interceptor');
const idlDir = path.join(__dirname, 'package', 'idl');
const sdkDir = path.join(__dirname, 'package', 'src', 'generated');
const binaryInstallDir = path.join(__dirname, '.crates');
const serializerDir = path.join(__dirname, 'package', 'src', 'custom');
module.exports = {
idlGenerator: 'shank',
programName: 'stake_deposit_interceptor',
programId: '5TAiuAh3YGDbwjEruC1ZpXTJWdNDS7Ur7VeqNNiHMmGV',
idlDir,
sdkDir,
binaryInstallDir,
programDir,
removeExistingIdl: true,
typeAliases: {
PodU64: "u64",
PodU32: "u32",
},
serializers: {
DepositReceipt: path.join(serializerDir, 'deposit-receipt-serializer.ts'),
StakePoolDepositStakeAuthority: path.join(serializerDir, 'stake-pool-deposit-stake-authority-serializer.ts'),
}
};