@metaplex-foundation/genesis 0.12.4 → 0.13.0-beta.0
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/src/fees.d.ts +10 -2
- package/dist/src/fees.js +12 -3
- package/dist/src/fees.js.map +1 -1
- package/dist/src/generated/accounts/bondingCurveBucketV2.d.ts +85 -0
- package/dist/src/generated/accounts/bondingCurveBucketV2.js +118 -0
- package/dist/src/generated/accounts/bondingCurveBucketV2.js.map +1 -0
- package/dist/src/generated/accounts/genesisAccountV2.d.ts +71 -0
- package/dist/src/generated/accounts/genesisAccountV2.js +104 -0
- package/dist/src/generated/accounts/genesisAccountV2.js.map +1 -0
- package/dist/src/generated/accounts/index.d.ts +10 -0
- package/dist/src/generated/accounts/index.js +10 -0
- package/dist/src/generated/accounts/index.js.map +1 -1
- package/dist/src/generated/accounts/presaleBucketV1.d.ts +3 -0
- package/dist/src/generated/accounts/presaleBucketV1.js +4 -2
- package/dist/src/generated/accounts/presaleBucketV1.js.map +1 -1
- package/dist/src/generated/accounts/presaleBucketV2.d.ts +85 -0
- package/dist/src/generated/accounts/presaleBucketV2.js +110 -0
- package/dist/src/generated/accounts/presaleBucketV2.js.map +1 -0
- package/dist/src/generated/accounts/presaleDepositV2.d.ts +62 -0
- package/dist/src/generated/accounts/presaleDepositV2.js +98 -0
- package/dist/src/generated/accounts/presaleDepositV2.js.map +1 -0
- package/dist/src/generated/accounts/raydiumBucketSigner.d.ts +30 -0
- package/dist/src/generated/accounts/raydiumBucketSigner.js +78 -0
- package/dist/src/generated/accounts/raydiumBucketSigner.js.map +1 -0
- package/dist/src/generated/accounts/raydiumCpmmBucketV1.d.ts +86 -0
- package/dist/src/generated/accounts/raydiumCpmmBucketV1.js +116 -0
- package/dist/src/generated/accounts/raydiumCpmmBucketV1.js.map +1 -0
- package/dist/src/generated/accounts/raydiumCpmmBucketV2.d.ts +79 -0
- package/dist/src/generated/accounts/raydiumCpmmBucketV2.js +108 -0
- package/dist/src/generated/accounts/raydiumCpmmBucketV2.js.map +1 -0
- package/dist/src/generated/accounts/unlockedBucketV2.d.ts +59 -0
- package/dist/src/generated/accounts/unlockedBucketV2.js +96 -0
- package/dist/src/generated/accounts/unlockedBucketV2.js.map +1 -0
- package/dist/src/generated/accounts/vaultBucketV2.d.ts +79 -0
- package/dist/src/generated/accounts/vaultBucketV2.js +106 -0
- package/dist/src/generated/accounts/vaultBucketV2.js.map +1 -0
- package/dist/src/generated/accounts/vaultDepositV2.d.ts +59 -0
- package/dist/src/generated/accounts/vaultDepositV2.js +96 -0
- package/dist/src/generated/accounts/vaultDepositV2.js.map +1 -0
- package/dist/src/generated/errors/genesis.d.ts +198 -0
- package/dist/src/generated/errors/genesis.js +365 -1
- package/dist/src/generated/errors/genesis.js.map +1 -1
- package/dist/src/generated/instructions/addAuctionBucketV1.js +1 -1
- package/dist/src/generated/instructions/addConstantProductBondingCurveBucketV1.js +1 -1
- package/dist/src/generated/instructions/addConstantProductBondingCurveBucketV2.d.ts +67 -0
- package/dist/src/generated/instructions/addConstantProductBondingCurveBucketV2.js +161 -0
- package/dist/src/generated/instructions/addConstantProductBondingCurveBucketV2.js.map +1 -0
- package/dist/src/generated/instructions/addPresaleBucketV2.d.ts +77 -0
- package/dist/src/generated/instructions/addPresaleBucketV2.js +209 -0
- package/dist/src/generated/instructions/addPresaleBucketV2.js.map +1 -0
- package/dist/src/generated/instructions/addRaydiumCpmmBucketV1.d.ts +58 -0
- package/dist/src/generated/instructions/addRaydiumCpmmBucketV1.js +162 -0
- package/dist/src/generated/instructions/addRaydiumCpmmBucketV1.js.map +1 -0
- package/dist/src/generated/instructions/addRaydiumCpmmBucketV2.d.ts +67 -0
- package/dist/src/generated/instructions/addRaydiumCpmmBucketV2.js +186 -0
- package/dist/src/generated/instructions/addRaydiumCpmmBucketV2.js.map +1 -0
- package/dist/src/generated/instructions/addUnlockedBucketV2.d.ts +57 -0
- package/dist/src/generated/instructions/addUnlockedBucketV2.js +156 -0
- package/dist/src/generated/instructions/addUnlockedBucketV2.js.map +1 -0
- package/dist/src/generated/instructions/addVaultBucketV1.js +1 -1
- package/dist/src/generated/instructions/addVaultBucketV2.d.ts +57 -0
- package/dist/src/generated/instructions/addVaultBucketV2.js +152 -0
- package/dist/src/generated/instructions/addVaultBucketV2.js.map +1 -0
- package/dist/src/generated/instructions/claimAuctionRefundV1.js +1 -1
- package/dist/src/generated/instructions/claimAuctionTokensV1.js +1 -1
- package/dist/src/generated/instructions/claimPresaleV1.d.ts +1 -1
- package/dist/src/generated/instructions/claimPresaleV1.js +3 -0
- package/dist/src/generated/instructions/claimPresaleV1.js.map +1 -1
- package/dist/src/generated/instructions/claimPresaleV2.d.ts +56 -0
- package/dist/src/generated/instructions/claimPresaleV2.js +193 -0
- package/dist/src/generated/instructions/claimPresaleV2.js.map +1 -0
- package/dist/src/generated/instructions/claimUnlockedV2.d.ts +58 -0
- package/dist/src/generated/instructions/claimUnlockedV2.js +204 -0
- package/dist/src/generated/instructions/claimUnlockedV2.js.map +1 -0
- package/dist/src/generated/instructions/closeAuctionBidV1.js +1 -1
- package/dist/src/generated/instructions/depositPresaleV2.d.ts +65 -0
- package/dist/src/generated/instructions/depositPresaleV2.js +236 -0
- package/dist/src/generated/instructions/depositPresaleV2.js.map +1 -0
- package/dist/src/generated/instructions/depositVaultV1.js +1 -1
- package/dist/src/generated/instructions/depositVaultV2.d.ts +56 -0
- package/dist/src/generated/instructions/depositVaultV2.js +191 -0
- package/dist/src/generated/instructions/depositVaultV2.js.map +1 -0
- package/dist/src/generated/instructions/{feeOverride.d.ts → feeOverrideV1.d.ts} +6 -6
- package/dist/src/generated/instructions/{feeOverride.js → feeOverrideV1.js} +9 -9
- package/dist/src/generated/instructions/feeOverrideV1.js.map +1 -0
- package/dist/src/generated/instructions/feeOverrideV2.d.ts +41 -0
- package/dist/src/generated/instructions/feeOverrideV2.js +96 -0
- package/dist/src/generated/instructions/feeOverrideV2.js.map +1 -0
- package/dist/src/generated/instructions/finalizeV2.d.ts +30 -0
- package/dist/src/generated/instructions/finalizeV2.js +78 -0
- package/dist/src/generated/instructions/finalizeV2.js.map +1 -0
- package/dist/src/generated/instructions/fundOutflowsV1.d.ts +2 -0
- package/dist/src/generated/instructions/fundOutflowsV1.js +5 -0
- package/dist/src/generated/instructions/fundOutflowsV1.js.map +1 -1
- package/dist/src/generated/instructions/graduateToRaydiumCpmmV1.d.ts +72 -0
- package/dist/src/generated/instructions/graduateToRaydiumCpmmV1.js +226 -0
- package/dist/src/generated/instructions/graduateToRaydiumCpmmV1.js.map +1 -0
- package/dist/src/generated/instructions/graduateToRaydiumCpmmV2.d.ts +78 -0
- package/dist/src/generated/instructions/graduateToRaydiumCpmmV2.js +255 -0
- package/dist/src/generated/instructions/graduateToRaydiumCpmmV2.js.map +1 -0
- package/dist/src/generated/instructions/index.d.ts +25 -1
- package/dist/src/generated/instructions/index.js +25 -1
- package/dist/src/generated/instructions/index.js.map +1 -1
- package/dist/src/generated/instructions/initializeV2.d.ts +68 -0
- package/dist/src/generated/instructions/initializeV2.js +214 -0
- package/dist/src/generated/instructions/initializeV2.js.map +1 -0
- package/dist/src/generated/instructions/placeAuctionBidV1.js +1 -1
- package/dist/src/generated/instructions/refundVaultDepositV1.js +1 -1
- package/dist/src/generated/instructions/refundVaultDepositV2.d.ts +50 -0
- package/dist/src/generated/instructions/refundVaultDepositV2.js +169 -0
- package/dist/src/generated/instructions/refundVaultDepositV2.js.map +1 -0
- package/dist/src/generated/instructions/revokeV2.d.ts +33 -0
- package/dist/src/generated/instructions/revokeV2.js +69 -0
- package/dist/src/generated/instructions/revokeV2.js.map +1 -0
- package/dist/src/generated/instructions/setBondingCurvePausedStateV1.js +1 -1
- package/dist/src/generated/instructions/setBondingCurvePausedStateV2.d.ts +36 -0
- package/dist/src/generated/instructions/setBondingCurvePausedStateV2.js +94 -0
- package/dist/src/generated/instructions/setBondingCurvePausedStateV2.js.map +1 -0
- package/dist/src/generated/instructions/swapBondingCurveV1.js +1 -1
- package/dist/src/generated/instructions/swapBondingCurveV2.d.ts +65 -0
- package/dist/src/generated/instructions/swapBondingCurveV2.js +221 -0
- package/dist/src/generated/instructions/swapBondingCurveV2.js.map +1 -0
- package/dist/src/generated/instructions/swapVaultToBondingCurveV1.js +1 -1
- package/dist/src/generated/instructions/swapVaultToBondingCurveV2.d.ts +72 -0
- package/dist/src/generated/instructions/swapVaultToBondingCurveV2.js +242 -0
- package/dist/src/generated/instructions/swapVaultToBondingCurveV2.js.map +1 -0
- package/dist/src/generated/instructions/transitionV2.d.ts +50 -0
- package/dist/src/generated/instructions/transitionV2.js +161 -0
- package/dist/src/generated/instructions/transitionV2.js.map +1 -0
- package/dist/src/generated/instructions/updatePresaleBucketCapsV1.d.ts +38 -0
- package/dist/src/generated/instructions/updatePresaleBucketCapsV1.js +91 -0
- package/dist/src/generated/instructions/updatePresaleBucketCapsV1.js.map +1 -0
- package/dist/src/generated/instructions/withdrawUnsoldPresaleV1.d.ts +47 -0
- package/dist/src/generated/instructions/withdrawUnsoldPresaleV1.js +115 -0
- package/dist/src/generated/instructions/withdrawUnsoldPresaleV1.js.map +1 -0
- package/dist/src/generated/instructions/withdrawVaultV1.js +1 -1
- package/dist/src/generated/instructions/withdrawVaultV2.d.ts +56 -0
- package/dist/src/generated/instructions/withdrawVaultV2.js +201 -0
- package/dist/src/generated/instructions/withdrawVaultV2.js.map +1 -0
- package/dist/src/generated/types/allowlist.d.ts +29 -0
- package/dist/src/generated/types/allowlist.js +25 -0
- package/dist/src/generated/types/allowlist.js.map +1 -0
- package/dist/src/generated/types/allowlistInitArgs.d.ts +25 -0
- package/dist/src/generated/types/allowlistInitArgs.js +23 -0
- package/dist/src/generated/types/allowlistInitArgs.js.map +1 -0
- package/dist/src/generated/types/backendSigner.d.ts +14 -0
- package/dist/src/generated/types/backendSigner.js +18 -0
- package/dist/src/generated/types/backendSigner.js.map +1 -0
- package/dist/src/generated/types/baseAmountOutCondition.d.ts +25 -0
- package/dist/src/generated/types/baseAmountOutCondition.js +23 -0
- package/dist/src/generated/types/baseAmountOutCondition.js.map +1 -0
- package/dist/src/generated/types/behavior.d.ts +39 -0
- package/dist/src/generated/types/behavior.js +59 -0
- package/dist/src/generated/types/behavior.js.map +1 -0
- package/dist/src/generated/types/behaviorBase.d.ts +13 -0
- package/dist/src/generated/types/behaviorBase.js +18 -0
- package/dist/src/generated/types/behaviorBase.js.map +1 -0
- package/dist/src/generated/types/behaviorTypes.d.ts +16 -0
- package/dist/src/generated/types/behaviorTypes.js +25 -0
- package/dist/src/generated/types/behaviorTypes.js.map +1 -0
- package/dist/src/generated/types/bondingCurveV2Extensions.d.ts +17 -0
- package/dist/src/generated/types/bondingCurveV2Extensions.js +21 -0
- package/dist/src/generated/types/bondingCurveV2Extensions.js.map +1 -0
- package/dist/src/generated/types/bucketBase.d.ts +35 -0
- package/dist/src/generated/types/bucketBase.js +28 -0
- package/dist/src/generated/types/bucketBase.js.map +1 -0
- package/dist/src/generated/types/bucketTimes.d.ts +14 -0
- package/dist/src/generated/types/bucketTimes.js +23 -0
- package/dist/src/generated/types/bucketTimes.js.map +1 -0
- package/dist/src/generated/types/condition.d.ts +42 -0
- package/dist/src/generated/types/condition.js +46 -0
- package/dist/src/generated/types/condition.js.map +1 -0
- package/dist/src/generated/types/conditionTypes.d.ts +13 -0
- package/dist/src/generated/types/conditionTypes.js +22 -0
- package/dist/src/generated/types/conditionTypes.js.map +1 -0
- package/dist/src/generated/types/depositCooldown.d.ts +15 -0
- package/dist/src/generated/types/depositCooldown.js +18 -0
- package/dist/src/generated/types/depositCooldown.js.map +1 -0
- package/dist/src/generated/types/depositLimit.d.ts +15 -0
- package/dist/src/generated/types/depositLimit.js +18 -0
- package/dist/src/generated/types/depositLimit.js.map +1 -0
- package/dist/src/generated/types/feeOverrideType.d.ts +2 -1
- package/dist/src/generated/types/feeOverrideType.js +1 -0
- package/dist/src/generated/types/feeOverrideType.js.map +1 -1
- package/dist/src/generated/types/index.d.ts +29 -0
- package/dist/src/generated/types/index.js +29 -0
- package/dist/src/generated/types/index.js.map +1 -1
- package/dist/src/generated/types/initializeArgs.d.ts +19 -0
- package/dist/src/generated/types/initializeArgs.js +20 -0
- package/dist/src/generated/types/initializeArgs.js.map +1 -0
- package/dist/src/generated/types/key.d.ts +10 -1
- package/dist/src/generated/types/key.js +9 -0
- package/dist/src/generated/types/key.js.map +1 -1
- package/dist/src/generated/types/perCooldownDepositLimit.d.ts +15 -0
- package/dist/src/generated/types/perCooldownDepositLimit.js +18 -0
- package/dist/src/generated/types/perCooldownDepositLimit.js.map +1 -0
- package/dist/src/generated/types/presaleV2Extensions.d.ts +29 -0
- package/dist/src/generated/types/presaleV2Extensions.js +25 -0
- package/dist/src/generated/types/presaleV2Extensions.js.map +1 -0
- package/dist/src/generated/types/quoteAmountInCondition.d.ts +25 -0
- package/dist/src/generated/types/quoteAmountInCondition.js +23 -0
- package/dist/src/generated/types/quoteAmountInCondition.js.map +1 -0
- package/dist/src/generated/types/raydiumCpmmBucketState.d.ts +16 -0
- package/dist/src/generated/types/raydiumCpmmBucketState.js +25 -0
- package/dist/src/generated/types/raydiumCpmmBucketState.js.map +1 -0
- package/dist/src/generated/types/raydiumCpmmV2Extensions.d.ts +14 -0
- package/dist/src/generated/types/raydiumCpmmV2Extensions.js +16 -0
- package/dist/src/generated/types/raydiumCpmmV2Extensions.js.map +1 -0
- package/dist/src/generated/types/rolloverBehavior.d.ts +23 -0
- package/dist/src/generated/types/rolloverBehavior.js +22 -0
- package/dist/src/generated/types/rolloverBehavior.js.map +1 -0
- package/dist/src/generated/types/sendQuoteTokenPercentageBehavior.d.ts +25 -0
- package/dist/src/generated/types/sendQuoteTokenPercentageBehavior.js +23 -0
- package/dist/src/generated/types/sendQuoteTokenPercentageBehavior.js.map +1 -0
- package/dist/src/generated/types/sendStartPriceBehavior.d.ts +23 -0
- package/dist/src/generated/types/sendStartPriceBehavior.js +22 -0
- package/dist/src/generated/types/sendStartPriceBehavior.js.map +1 -0
- package/dist/src/generated/types/steppedDepositLimit.d.ts +17 -0
- package/dist/src/generated/types/steppedDepositLimit.js +19 -0
- package/dist/src/generated/types/steppedDepositLimit.js.map +1 -0
- package/dist/src/generated/types/timeAbsoluteCondition.d.ts +22 -0
- package/dist/src/generated/types/timeAbsoluteCondition.js +22 -0
- package/dist/src/generated/types/timeAbsoluteCondition.js.map +1 -0
- package/dist/src/generated/types/timeRelativeCondition.d.ts +27 -0
- package/dist/src/generated/types/timeRelativeCondition.js +24 -0
- package/dist/src/generated/types/timeRelativeCondition.js.map +1 -0
- package/dist/src/generated/types/unlockedV2Extensions.d.ts +14 -0
- package/dist/src/generated/types/unlockedV2Extensions.js +16 -0
- package/dist/src/generated/types/unlockedV2Extensions.js.map +1 -0
- package/dist/src/generated/types/vaultV2Extensions.d.ts +17 -0
- package/dist/src/generated/types/vaultV2Extensions.js +21 -0
- package/dist/src/generated/types/vaultV2Extensions.js.map +1 -0
- package/dist/src/generated/types/vesting.d.ts +25 -0
- package/dist/src/generated/types/vesting.js +23 -0
- package/dist/src/generated/types/vesting.js.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/raydium.d.ts +63 -0
- package/dist/src/raydium.js +151 -0
- package/dist/src/raydium.js.map +1 -0
- package/package.json +3 -3
- package/dist/src/generated/instructions/feeOverride.js.map +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
+
* to add features, then rerun kinobi to update it.
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getBondingCurveV2ExtensionsSerializer = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
function getBondingCurveV2ExtensionsSerializer() {
|
|
13
|
+
return (0, serializers_1.struct)([
|
|
14
|
+
['backendSigner', (0, serializers_1.publicKey)()],
|
|
15
|
+
['actionsAuthority', (0, serializers_1.publicKey)()],
|
|
16
|
+
['paused', (0, serializers_1.bool)()],
|
|
17
|
+
['padding', (0, serializers_1.array)((0, serializers_1.u8)(), { size: 7 })],
|
|
18
|
+
], { description: 'BondingCurveV2Extensions' });
|
|
19
|
+
}
|
|
20
|
+
exports.getBondingCurveV2ExtensionsSerializer = getBondingCurveV2ExtensionsSerializer;
|
|
21
|
+
//# sourceMappingURL=bondingCurveV2Extensions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bondingCurveV2Extensions.js","sourceRoot":"","sources":["../../../../src/generated/types/bondingCurveV2Extensions.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAGH,sEAO8C;AAW9C,SAAgB,qCAAqC;IAInD,OAAO,IAAA,oBAAM,EACX;QACE,CAAC,eAAe,EAAE,IAAA,uBAAmB,GAAE,CAAC;QACxC,CAAC,kBAAkB,EAAE,IAAA,uBAAmB,GAAE,CAAC;QAC3C,CAAC,QAAQ,EAAE,IAAA,kBAAI,GAAE,CAAC;QAClB,CAAC,SAAS,EAAE,IAAA,mBAAK,EAAC,IAAA,gBAAE,GAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;KACtC,EACD,EAAE,WAAW,EAAE,0BAA0B,EAAE,CAC0B,CAAC;AAC1E,CAAC;AAbD,sFAaC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun kinobi to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
|
+
*/
|
|
8
|
+
import { PublicKey } from '@metaplex-foundation/umi';
|
|
9
|
+
import { Serializer } from '@metaplex-foundation/umi/serializers';
|
|
10
|
+
import { FeeDiscriminants, FeeDiscriminantsArgs } from '.';
|
|
11
|
+
export type BucketBase = {
|
|
12
|
+
bump: number;
|
|
13
|
+
bucketIndex: number;
|
|
14
|
+
feeType: FeeDiscriminants;
|
|
15
|
+
padding: Array<number>;
|
|
16
|
+
genesis: PublicKey;
|
|
17
|
+
baseTokenAllocation: bigint;
|
|
18
|
+
baseTokenBalance: bigint;
|
|
19
|
+
quoteTokenBalance: bigint;
|
|
20
|
+
fee: bigint;
|
|
21
|
+
reserved: Array<number>;
|
|
22
|
+
};
|
|
23
|
+
export type BucketBaseArgs = {
|
|
24
|
+
bump: number;
|
|
25
|
+
bucketIndex: number;
|
|
26
|
+
feeType: FeeDiscriminantsArgs;
|
|
27
|
+
padding: Array<number>;
|
|
28
|
+
genesis: PublicKey;
|
|
29
|
+
baseTokenAllocation: number | bigint;
|
|
30
|
+
baseTokenBalance: number | bigint;
|
|
31
|
+
quoteTokenBalance: number | bigint;
|
|
32
|
+
fee: number | bigint;
|
|
33
|
+
reserved: Array<number>;
|
|
34
|
+
};
|
|
35
|
+
export declare function getBucketBaseSerializer(): Serializer<BucketBaseArgs, BucketBase>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
+
* to add features, then rerun kinobi to update it.
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getBucketBaseSerializer = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
const _1 = require(".");
|
|
13
|
+
function getBucketBaseSerializer() {
|
|
14
|
+
return (0, serializers_1.struct)([
|
|
15
|
+
['bump', (0, serializers_1.u8)()],
|
|
16
|
+
['bucketIndex', (0, serializers_1.u8)()],
|
|
17
|
+
['feeType', (0, _1.getFeeDiscriminantsSerializer)()],
|
|
18
|
+
['padding', (0, serializers_1.array)((0, serializers_1.u8)(), { size: 5 })],
|
|
19
|
+
['genesis', (0, serializers_1.publicKey)()],
|
|
20
|
+
['baseTokenAllocation', (0, serializers_1.u64)()],
|
|
21
|
+
['baseTokenBalance', (0, serializers_1.u64)()],
|
|
22
|
+
['quoteTokenBalance', (0, serializers_1.u64)()],
|
|
23
|
+
['fee', (0, serializers_1.u64)()],
|
|
24
|
+
['reserved', (0, serializers_1.array)((0, serializers_1.u8)(), { size: 128 })],
|
|
25
|
+
], { description: 'BucketBase' });
|
|
26
|
+
}
|
|
27
|
+
exports.getBucketBaseSerializer = getBucketBaseSerializer;
|
|
28
|
+
//# sourceMappingURL=bucketBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucketBase.js","sourceRoot":"","sources":["../../../../src/generated/types/bucketBase.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAGH,sEAO8C;AAC9C,wBAIW;AA4BX,SAAgB,uBAAuB;IAIrC,OAAO,IAAA,oBAAM,EACX;QACE,CAAC,MAAM,EAAE,IAAA,gBAAE,GAAE,CAAC;QACd,CAAC,aAAa,EAAE,IAAA,gBAAE,GAAE,CAAC;QACrB,CAAC,SAAS,EAAE,IAAA,gCAA6B,GAAE,CAAC;QAC5C,CAAC,SAAS,EAAE,IAAA,mBAAK,EAAC,IAAA,gBAAE,GAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;QACrC,CAAC,SAAS,EAAE,IAAA,uBAAmB,GAAE,CAAC;QAClC,CAAC,qBAAqB,EAAE,IAAA,iBAAG,GAAE,CAAC;QAC9B,CAAC,kBAAkB,EAAE,IAAA,iBAAG,GAAE,CAAC;QAC3B,CAAC,mBAAmB,EAAE,IAAA,iBAAG,GAAE,CAAC;QAC5B,CAAC,KAAK,EAAE,IAAA,iBAAG,GAAE,CAAC;QACd,CAAC,UAAU,EAAE,IAAA,mBAAK,EAAC,IAAA,gBAAE,GAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;KACzC,EACD,EAAE,WAAW,EAAE,YAAY,EAAE,CACY,CAAC;AAC9C,CAAC;AAnBD,0DAmBC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun kinobi to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
|
+
*/
|
|
8
|
+
import { Serializer } from '@metaplex-foundation/umi/serializers';
|
|
9
|
+
export declare enum BucketTimes {
|
|
10
|
+
Start = 0,
|
|
11
|
+
End = 1
|
|
12
|
+
}
|
|
13
|
+
export type BucketTimesArgs = BucketTimes;
|
|
14
|
+
export declare function getBucketTimesSerializer(): Serializer<BucketTimesArgs, BucketTimes>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
+
* to add features, then rerun kinobi to update it.
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getBucketTimesSerializer = exports.BucketTimes = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
var BucketTimes;
|
|
13
|
+
(function (BucketTimes) {
|
|
14
|
+
BucketTimes[BucketTimes["Start"] = 0] = "Start";
|
|
15
|
+
BucketTimes[BucketTimes["End"] = 1] = "End";
|
|
16
|
+
})(BucketTimes = exports.BucketTimes || (exports.BucketTimes = {}));
|
|
17
|
+
function getBucketTimesSerializer() {
|
|
18
|
+
return (0, serializers_1.scalarEnum)(BucketTimes, {
|
|
19
|
+
description: 'BucketTimes',
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
exports.getBucketTimesSerializer = getBucketTimesSerializer;
|
|
23
|
+
//# sourceMappingURL=bucketTimes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bucketTimes.js","sourceRoot":"","sources":["../../../../src/generated/types/bucketTimes.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA8E;AAE9E,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,+CAAK,CAAA;IACL,2CAAG,CAAA;AACL,CAAC,EAHW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAGtB;AAID,SAAgB,wBAAwB;IAItC,OAAO,IAAA,wBAAU,EAAc,WAAW,EAAE;QAC1C,WAAW,EAAE,aAAa;KAC3B,CAA6C,CAAC;AACjD,CAAC;AAPD,4DAOC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun kinobi to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
|
+
*/
|
|
8
|
+
import { PublicKey } from '@metaplex-foundation/umi';
|
|
9
|
+
import { GetDataEnumKind, GetDataEnumKindContent, Serializer } from '@metaplex-foundation/umi/serializers';
|
|
10
|
+
import { BucketTimes, BucketTimesArgs } from '.';
|
|
11
|
+
export type Condition = {
|
|
12
|
+
__kind: 'TimeAbsolute';
|
|
13
|
+
padding: Array<number>;
|
|
14
|
+
time: bigint;
|
|
15
|
+
triggeredTimestamp: bigint;
|
|
16
|
+
} | {
|
|
17
|
+
__kind: 'TimeRelative';
|
|
18
|
+
bucketTime: BucketTimes;
|
|
19
|
+
padding: Array<number>;
|
|
20
|
+
bucket: PublicKey;
|
|
21
|
+
time: bigint;
|
|
22
|
+
triggeredTimestamp: bigint;
|
|
23
|
+
};
|
|
24
|
+
export type ConditionArgs = {
|
|
25
|
+
__kind: 'TimeAbsolute';
|
|
26
|
+
padding: Array<number>;
|
|
27
|
+
time: number | bigint;
|
|
28
|
+
triggeredTimestamp: number | bigint;
|
|
29
|
+
} | {
|
|
30
|
+
__kind: 'TimeRelative';
|
|
31
|
+
bucketTime: BucketTimesArgs;
|
|
32
|
+
padding: Array<number>;
|
|
33
|
+
bucket: PublicKey;
|
|
34
|
+
time: number | bigint;
|
|
35
|
+
triggeredTimestamp: number | bigint;
|
|
36
|
+
};
|
|
37
|
+
export declare function getConditionSerializer(): Serializer<ConditionArgs, Condition>;
|
|
38
|
+
export declare function condition(kind: 'TimeAbsolute', data: GetDataEnumKindContent<ConditionArgs, 'TimeAbsolute'>): GetDataEnumKind<ConditionArgs, 'TimeAbsolute'>;
|
|
39
|
+
export declare function condition(kind: 'TimeRelative', data: GetDataEnumKindContent<ConditionArgs, 'TimeRelative'>): GetDataEnumKind<ConditionArgs, 'TimeRelative'>;
|
|
40
|
+
export declare function isCondition<K extends Condition['__kind']>(kind: K, value: Condition): value is Condition & {
|
|
41
|
+
__kind: K;
|
|
42
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
+
* to add features, then rerun kinobi to update it.
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.isCondition = exports.condition = exports.getConditionSerializer = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
const _1 = require(".");
|
|
13
|
+
function getConditionSerializer() {
|
|
14
|
+
return (0, serializers_1.dataEnum)([
|
|
15
|
+
[
|
|
16
|
+
'TimeAbsolute',
|
|
17
|
+
(0, serializers_1.struct)([
|
|
18
|
+
['padding', (0, serializers_1.array)((0, serializers_1.u8)(), { size: 47 })],
|
|
19
|
+
['time', (0, serializers_1.i64)()],
|
|
20
|
+
['triggeredTimestamp', (0, serializers_1.i64)()],
|
|
21
|
+
]),
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
'TimeRelative',
|
|
25
|
+
(0, serializers_1.struct)([
|
|
26
|
+
['bucketTime', (0, _1.getBucketTimesSerializer)()],
|
|
27
|
+
['padding', (0, serializers_1.array)((0, serializers_1.u8)(), { size: 14 })],
|
|
28
|
+
['bucket', (0, serializers_1.publicKey)()],
|
|
29
|
+
['time', (0, serializers_1.i64)()],
|
|
30
|
+
['triggeredTimestamp', (0, serializers_1.i64)()],
|
|
31
|
+
]),
|
|
32
|
+
],
|
|
33
|
+
], { description: 'Condition' });
|
|
34
|
+
}
|
|
35
|
+
exports.getConditionSerializer = getConditionSerializer;
|
|
36
|
+
function condition(kind, data) {
|
|
37
|
+
return Array.isArray(data)
|
|
38
|
+
? { __kind: kind, fields: data }
|
|
39
|
+
: { __kind: kind, ...(data ?? {}) };
|
|
40
|
+
}
|
|
41
|
+
exports.condition = condition;
|
|
42
|
+
function isCondition(kind, value) {
|
|
43
|
+
return value.__kind === kind;
|
|
44
|
+
}
|
|
45
|
+
exports.isCondition = isCondition;
|
|
46
|
+
//# sourceMappingURL=condition.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"condition.js","sourceRoot":"","sources":["../../../../src/generated/types/condition.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAGH,sEAU8C;AAC9C,wBAA2E;AAkC3E,SAAgB,sBAAsB;IACpC,OAAO,IAAA,sBAAQ,EACb;QACE;YACE,cAAc;YACd,IAAA,oBAAM,EAAoD;gBACxD,CAAC,SAAS,EAAE,IAAA,mBAAK,EAAC,IAAA,gBAAE,GAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;gBACtC,CAAC,MAAM,EAAE,IAAA,iBAAG,GAAE,CAAC;gBACf,CAAC,oBAAoB,EAAE,IAAA,iBAAG,GAAE,CAAC;aAC9B,CAAC;SACH;QACD;YACE,cAAc;YACd,IAAA,oBAAM,EAAoD;gBACxD,CAAC,YAAY,EAAE,IAAA,2BAAwB,GAAE,CAAC;gBAC1C,CAAC,SAAS,EAAE,IAAA,mBAAK,EAAC,IAAA,gBAAE,GAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;gBACtC,CAAC,QAAQ,EAAE,IAAA,uBAAmB,GAAE,CAAC;gBACjC,CAAC,MAAM,EAAE,IAAA,iBAAG,GAAE,CAAC;gBACf,CAAC,oBAAoB,EAAE,IAAA,iBAAG,GAAE,CAAC;aAC9B,CAAC;SACH;KACF,EACD,EAAE,WAAW,EAAE,WAAW,EAAE,CACW,CAAC;AAC5C,CAAC;AAxBD,wDAwBC;AAWD,SAAgB,SAAS,CACvB,IAAO,EACP,IAAU;IAEV,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QACxB,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;QAChC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,EAAE,CAAC;AACxC,CAAC;AAPD,8BAOC;AACD,SAAgB,WAAW,CACzB,IAAO,EACP,KAAgB;IAEhB,OAAO,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC;AAC/B,CAAC;AALD,kCAKC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun kinobi to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
|
+
*/
|
|
8
|
+
import { Serializer } from '@metaplex-foundation/umi/serializers';
|
|
9
|
+
export declare enum ConditionTypes {
|
|
10
|
+
TimeAbsolute = 0
|
|
11
|
+
}
|
|
12
|
+
export type ConditionTypesArgs = ConditionTypes;
|
|
13
|
+
export declare function getConditionTypesSerializer(): Serializer<ConditionTypesArgs, ConditionTypes>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
+
* to add features, then rerun kinobi to update it.
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getConditionTypesSerializer = exports.ConditionTypes = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
var ConditionTypes;
|
|
13
|
+
(function (ConditionTypes) {
|
|
14
|
+
ConditionTypes[ConditionTypes["TimeAbsolute"] = 0] = "TimeAbsolute";
|
|
15
|
+
})(ConditionTypes = exports.ConditionTypes || (exports.ConditionTypes = {}));
|
|
16
|
+
function getConditionTypesSerializer() {
|
|
17
|
+
return (0, serializers_1.scalarEnum)(ConditionTypes, {
|
|
18
|
+
description: 'ConditionTypes',
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
exports.getConditionTypesSerializer = getConditionTypesSerializer;
|
|
22
|
+
//# sourceMappingURL=conditionTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conditionTypes.js","sourceRoot":"","sources":["../../../../src/generated/types/conditionTypes.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA8E;AAE9E,IAAY,cAEX;AAFD,WAAY,cAAc;IACxB,mEAAY,CAAA;AACd,CAAC,EAFW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAEzB;AAID,SAAgB,2BAA2B;IAIzC,OAAO,IAAA,wBAAU,EAAiB,cAAc,EAAE;QAChD,WAAW,EAAE,gBAAgB;KAC9B,CAAmD,CAAC;AACvD,CAAC;AAPD,kEAOC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun kinobi to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
|
+
*/
|
|
8
|
+
import { Serializer } from '@metaplex-foundation/umi/serializers';
|
|
9
|
+
export type DepositCooldown = {
|
|
10
|
+
duration: bigint;
|
|
11
|
+
};
|
|
12
|
+
export type DepositCooldownArgs = {
|
|
13
|
+
duration: number | bigint;
|
|
14
|
+
};
|
|
15
|
+
export declare function getDepositCooldownSerializer(): Serializer<DepositCooldownArgs, DepositCooldown>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
+
* to add features, then rerun kinobi to update it.
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getDepositCooldownSerializer = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
function getDepositCooldownSerializer() {
|
|
13
|
+
return (0, serializers_1.struct)([['duration', (0, serializers_1.u64)()]], {
|
|
14
|
+
description: 'DepositCooldown',
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
exports.getDepositCooldownSerializer = getDepositCooldownSerializer;
|
|
18
|
+
//# sourceMappingURL=depositCooldown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depositCooldown.js","sourceRoot":"","sources":["../../../../src/generated/types/depositCooldown.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA+E;AAM/E,SAAgB,4BAA4B;IAI1C,OAAO,IAAA,oBAAM,EAAkB,CAAC,CAAC,UAAU,EAAE,IAAA,iBAAG,GAAE,CAAC,CAAC,EAAE;QACpD,WAAW,EAAE,iBAAiB;KAC/B,CAAqD,CAAC;AACzD,CAAC;AAPD,oEAOC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun kinobi to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
|
+
*/
|
|
8
|
+
import { Serializer } from '@metaplex-foundation/umi/serializers';
|
|
9
|
+
export type DepositLimit = {
|
|
10
|
+
limit: bigint;
|
|
11
|
+
};
|
|
12
|
+
export type DepositLimitArgs = {
|
|
13
|
+
limit: number | bigint;
|
|
14
|
+
};
|
|
15
|
+
export declare function getDepositLimitSerializer(): Serializer<DepositLimitArgs, DepositLimit>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
+
* to add features, then rerun kinobi to update it.
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getDepositLimitSerializer = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
function getDepositLimitSerializer() {
|
|
13
|
+
return (0, serializers_1.struct)([['limit', (0, serializers_1.u64)()]], {
|
|
14
|
+
description: 'DepositLimit',
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
exports.getDepositLimitSerializer = getDepositLimitSerializer;
|
|
18
|
+
//# sourceMappingURL=depositLimit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"depositLimit.js","sourceRoot":"","sources":["../../../../src/generated/types/depositLimit.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA+E;AAM/E,SAAgB,yBAAyB;IAIvC,OAAO,IAAA,oBAAM,EAAe,CAAC,CAAC,OAAO,EAAE,IAAA,iBAAG,GAAE,CAAC,CAAC,EAAE;QAC9C,WAAW,EAAE,cAAc;KAC5B,CAA+C,CAAC;AACnD,CAAC;AAPD,8DAOC"}
|
|
@@ -10,7 +10,8 @@ export declare enum FeeOverrideType {
|
|
|
10
10
|
Bucket = 0,
|
|
11
11
|
Deposit = 1,
|
|
12
12
|
Withdraw = 2,
|
|
13
|
-
Bid = 3
|
|
13
|
+
Bid = 3,
|
|
14
|
+
Claim = 4
|
|
14
15
|
}
|
|
15
16
|
export type FeeOverrideTypeArgs = FeeOverrideType;
|
|
16
17
|
export declare function getFeeOverrideTypeSerializer(): Serializer<FeeOverrideTypeArgs, FeeOverrideType>;
|
|
@@ -15,6 +15,7 @@ var FeeOverrideType;
|
|
|
15
15
|
FeeOverrideType[FeeOverrideType["Deposit"] = 1] = "Deposit";
|
|
16
16
|
FeeOverrideType[FeeOverrideType["Withdraw"] = 2] = "Withdraw";
|
|
17
17
|
FeeOverrideType[FeeOverrideType["Bid"] = 3] = "Bid";
|
|
18
|
+
FeeOverrideType[FeeOverrideType["Claim"] = 4] = "Claim";
|
|
18
19
|
})(FeeOverrideType = exports.FeeOverrideType || (exports.FeeOverrideType = {}));
|
|
19
20
|
function getFeeOverrideTypeSerializer() {
|
|
20
21
|
return (0, serializers_1.scalarEnum)(FeeOverrideType, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feeOverrideType.js","sourceRoot":"","sources":["../../../../src/generated/types/feeOverrideType.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA8E;AAE9E,IAAY,
|
|
1
|
+
{"version":3,"file":"feeOverrideType.js","sourceRoot":"","sources":["../../../../src/generated/types/feeOverrideType.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA8E;AAE9E,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,yDAAM,CAAA;IACN,2DAAO,CAAA;IACP,6DAAQ,CAAA;IACR,mDAAG,CAAA;IACH,uDAAK,CAAA;AACP,CAAC,EANW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAM1B;AAID,SAAgB,4BAA4B;IAI1C,OAAO,IAAA,wBAAU,EAAkB,eAAe,EAAE;QAClD,WAAW,EAAE,iBAAiB;KAC/B,CAAqD,CAAC;AACzD,CAAC;AAPD,oEAOC"}
|
|
@@ -5,11 +5,23 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
7
|
*/
|
|
8
|
+
export * from './allowlist';
|
|
9
|
+
export * from './allowlistInitArgs';
|
|
8
10
|
export * from './auctionBucketState';
|
|
11
|
+
export * from './backendSigner';
|
|
9
12
|
export * from './baseAllocator';
|
|
13
|
+
export * from './baseAmountOutCondition';
|
|
14
|
+
export * from './behavior';
|
|
15
|
+
export * from './behaviorBase';
|
|
16
|
+
export * from './behaviorTypes';
|
|
10
17
|
export * from './bondingCurveBucketState';
|
|
11
18
|
export * from './bondingCurveType';
|
|
19
|
+
export * from './bondingCurveV2Extensions';
|
|
20
|
+
export * from './bucketBase';
|
|
12
21
|
export * from './bucketEntry';
|
|
22
|
+
export * from './bucketTimes';
|
|
23
|
+
export * from './condition';
|
|
24
|
+
export * from './conditionTypes';
|
|
13
25
|
export * from './constantProductBondingCurveParameters';
|
|
14
26
|
export * from './createInstructionArgs';
|
|
15
27
|
export * from './createInstructionData';
|
|
@@ -18,9 +30,12 @@ export * from './createMetadataAccountV3InstructionData';
|
|
|
18
30
|
export * from './createPoolInstructionArgs';
|
|
19
31
|
export * from './createPoolInstructionData';
|
|
20
32
|
export * from './dataV2';
|
|
33
|
+
export * from './depositCooldown';
|
|
34
|
+
export * from './depositLimit';
|
|
21
35
|
export * from './distributionBucketState';
|
|
22
36
|
export * from './feeDiscriminants';
|
|
23
37
|
export * from './feeOverrideType';
|
|
38
|
+
export * from './initializeArgs';
|
|
24
39
|
export * from './initializePermissionlessConstantProductPoolWithConfigInstructionArgs';
|
|
25
40
|
export * from './initializePermissionlessConstantProductPoolWithConfigInstructionData';
|
|
26
41
|
export * from './initializeVault';
|
|
@@ -28,11 +43,25 @@ export * from './key';
|
|
|
28
43
|
export * from './launchPoolBucketState';
|
|
29
44
|
export * from './linearBpsSchedule';
|
|
30
45
|
export * from './meteoraBucketState';
|
|
46
|
+
export * from './perCooldownDepositLimit';
|
|
31
47
|
export * from './presaleBucketState';
|
|
48
|
+
export * from './presaleV2Extensions';
|
|
32
49
|
export * from './pumpBucketState';
|
|
50
|
+
export * from './quoteAmountInCondition';
|
|
51
|
+
export * from './raydiumCpmmBucketState';
|
|
52
|
+
export * from './raydiumCpmmV2Extensions';
|
|
53
|
+
export * from './rolloverBehavior';
|
|
33
54
|
export * from './schedule';
|
|
55
|
+
export * from './sendQuoteTokenPercentageBehavior';
|
|
56
|
+
export * from './sendStartPriceBehavior';
|
|
57
|
+
export * from './steppedDepositLimit';
|
|
34
58
|
export * from './streamflowBucketState';
|
|
35
59
|
export * from './streamflowConfig';
|
|
36
60
|
export * from './swapDirection';
|
|
61
|
+
export * from './timeAbsoluteCondition';
|
|
62
|
+
export * from './timeRelativeCondition';
|
|
37
63
|
export * from './unlockedBucketState';
|
|
64
|
+
export * from './unlockedV2Extensions';
|
|
38
65
|
export * from './vaultBucketState';
|
|
66
|
+
export * from './vaultV2Extensions';
|
|
67
|
+
export * from './vesting';
|
|
@@ -21,11 +21,23 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
21
21
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22
22
|
};
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
__exportStar(require("./allowlist"), exports);
|
|
25
|
+
__exportStar(require("./allowlistInitArgs"), exports);
|
|
24
26
|
__exportStar(require("./auctionBucketState"), exports);
|
|
27
|
+
__exportStar(require("./backendSigner"), exports);
|
|
25
28
|
__exportStar(require("./baseAllocator"), exports);
|
|
29
|
+
__exportStar(require("./baseAmountOutCondition"), exports);
|
|
30
|
+
__exportStar(require("./behavior"), exports);
|
|
31
|
+
__exportStar(require("./behaviorBase"), exports);
|
|
32
|
+
__exportStar(require("./behaviorTypes"), exports);
|
|
26
33
|
__exportStar(require("./bondingCurveBucketState"), exports);
|
|
27
34
|
__exportStar(require("./bondingCurveType"), exports);
|
|
35
|
+
__exportStar(require("./bondingCurveV2Extensions"), exports);
|
|
36
|
+
__exportStar(require("./bucketBase"), exports);
|
|
28
37
|
__exportStar(require("./bucketEntry"), exports);
|
|
38
|
+
__exportStar(require("./bucketTimes"), exports);
|
|
39
|
+
__exportStar(require("./condition"), exports);
|
|
40
|
+
__exportStar(require("./conditionTypes"), exports);
|
|
29
41
|
__exportStar(require("./constantProductBondingCurveParameters"), exports);
|
|
30
42
|
__exportStar(require("./createInstructionArgs"), exports);
|
|
31
43
|
__exportStar(require("./createInstructionData"), exports);
|
|
@@ -34,9 +46,12 @@ __exportStar(require("./createMetadataAccountV3InstructionData"), exports);
|
|
|
34
46
|
__exportStar(require("./createPoolInstructionArgs"), exports);
|
|
35
47
|
__exportStar(require("./createPoolInstructionData"), exports);
|
|
36
48
|
__exportStar(require("./dataV2"), exports);
|
|
49
|
+
__exportStar(require("./depositCooldown"), exports);
|
|
50
|
+
__exportStar(require("./depositLimit"), exports);
|
|
37
51
|
__exportStar(require("./distributionBucketState"), exports);
|
|
38
52
|
__exportStar(require("./feeDiscriminants"), exports);
|
|
39
53
|
__exportStar(require("./feeOverrideType"), exports);
|
|
54
|
+
__exportStar(require("./initializeArgs"), exports);
|
|
40
55
|
__exportStar(require("./initializePermissionlessConstantProductPoolWithConfigInstructionArgs"), exports);
|
|
41
56
|
__exportStar(require("./initializePermissionlessConstantProductPoolWithConfigInstructionData"), exports);
|
|
42
57
|
__exportStar(require("./initializeVault"), exports);
|
|
@@ -44,12 +59,26 @@ __exportStar(require("./key"), exports);
|
|
|
44
59
|
__exportStar(require("./launchPoolBucketState"), exports);
|
|
45
60
|
__exportStar(require("./linearBpsSchedule"), exports);
|
|
46
61
|
__exportStar(require("./meteoraBucketState"), exports);
|
|
62
|
+
__exportStar(require("./perCooldownDepositLimit"), exports);
|
|
47
63
|
__exportStar(require("./presaleBucketState"), exports);
|
|
64
|
+
__exportStar(require("./presaleV2Extensions"), exports);
|
|
48
65
|
__exportStar(require("./pumpBucketState"), exports);
|
|
66
|
+
__exportStar(require("./quoteAmountInCondition"), exports);
|
|
67
|
+
__exportStar(require("./raydiumCpmmBucketState"), exports);
|
|
68
|
+
__exportStar(require("./raydiumCpmmV2Extensions"), exports);
|
|
69
|
+
__exportStar(require("./rolloverBehavior"), exports);
|
|
49
70
|
__exportStar(require("./schedule"), exports);
|
|
71
|
+
__exportStar(require("./sendQuoteTokenPercentageBehavior"), exports);
|
|
72
|
+
__exportStar(require("./sendStartPriceBehavior"), exports);
|
|
73
|
+
__exportStar(require("./steppedDepositLimit"), exports);
|
|
50
74
|
__exportStar(require("./streamflowBucketState"), exports);
|
|
51
75
|
__exportStar(require("./streamflowConfig"), exports);
|
|
52
76
|
__exportStar(require("./swapDirection"), exports);
|
|
77
|
+
__exportStar(require("./timeAbsoluteCondition"), exports);
|
|
78
|
+
__exportStar(require("./timeRelativeCondition"), exports);
|
|
53
79
|
__exportStar(require("./unlockedBucketState"), exports);
|
|
80
|
+
__exportStar(require("./unlockedV2Extensions"), exports);
|
|
54
81
|
__exportStar(require("./vaultBucketState"), exports);
|
|
82
|
+
__exportStar(require("./vaultV2Extensions"), exports);
|
|
83
|
+
__exportStar(require("./vesting"), exports);
|
|
55
84
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/types/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,uDAAqC;AACrC,kDAAgC;AAChC,4DAA0C;AAC1C,qDAAmC;AACnC,gDAA8B;AAC9B,0EAAwD;AACxD,0DAAwC;AACxC,0DAAwC;AACxC,2EAAyD;AACzD,2EAAyD;AACzD,8DAA4C;AAC5C,8DAA4C;AAC5C,2CAAyB;AACzB,4DAA0C;AAC1C,qDAAmC;AACnC,oDAAkC;AAClC,yGAAuF;AACvF,yGAAuF;AACvF,oDAAkC;AAClC,wCAAsB;AACtB,0DAAwC;AACxC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,oDAAkC;AAClC,6CAA2B;AAC3B,0DAAwC;AACxC,qDAAmC;AACnC,kDAAgC;AAChC,wDAAsC;AACtC,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/types/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;AAEH,8CAA4B;AAC5B,sDAAoC;AACpC,uDAAqC;AACrC,kDAAgC;AAChC,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,iDAA+B;AAC/B,kDAAgC;AAChC,4DAA0C;AAC1C,qDAAmC;AACnC,6DAA2C;AAC3C,+CAA6B;AAC7B,gDAA8B;AAC9B,gDAA8B;AAC9B,8CAA4B;AAC5B,mDAAiC;AACjC,0EAAwD;AACxD,0DAAwC;AACxC,0DAAwC;AACxC,2EAAyD;AACzD,2EAAyD;AACzD,8DAA4C;AAC5C,8DAA4C;AAC5C,2CAAyB;AACzB,oDAAkC;AAClC,iDAA+B;AAC/B,4DAA0C;AAC1C,qDAAmC;AACnC,oDAAkC;AAClC,mDAAiC;AACjC,yGAAuF;AACvF,yGAAuF;AACvF,oDAAkC;AAClC,wCAAsB;AACtB,0DAAwC;AACxC,sDAAoC;AACpC,uDAAqC;AACrC,4DAA0C;AAC1C,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,2DAAyC;AACzC,2DAAyC;AACzC,4DAA0C;AAC1C,qDAAmC;AACnC,6CAA2B;AAC3B,qEAAmD;AACnD,2DAAyC;AACzC,wDAAsC;AACtC,0DAAwC;AACxC,qDAAmC;AACnC,kDAAgC;AAChC,0DAAwC;AACxC,0DAAwC;AACxC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AACnC,sDAAoC;AACpC,4CAA0B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun kinobi to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
|
+
*/
|
|
8
|
+
import { Serializer } from '@metaplex-foundation/umi/serializers';
|
|
9
|
+
export type InitializeArgs = {
|
|
10
|
+
initAmount0: bigint;
|
|
11
|
+
initAmount1: bigint;
|
|
12
|
+
openTime: bigint;
|
|
13
|
+
};
|
|
14
|
+
export type InitializeArgsArgs = {
|
|
15
|
+
initAmount0: number | bigint;
|
|
16
|
+
initAmount1: number | bigint;
|
|
17
|
+
openTime: number | bigint;
|
|
18
|
+
};
|
|
19
|
+
export declare function getInitializeArgsSerializer(): Serializer<InitializeArgsArgs, InitializeArgs>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
4
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
5
|
+
* to add features, then rerun kinobi to update it.
|
|
6
|
+
*
|
|
7
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.getInitializeArgsSerializer = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
function getInitializeArgsSerializer() {
|
|
13
|
+
return (0, serializers_1.struct)([
|
|
14
|
+
['initAmount0', (0, serializers_1.u64)()],
|
|
15
|
+
['initAmount1', (0, serializers_1.u64)()],
|
|
16
|
+
['openTime', (0, serializers_1.u64)()],
|
|
17
|
+
], { description: 'InitializeArgs' });
|
|
18
|
+
}
|
|
19
|
+
exports.getInitializeArgsSerializer = getInitializeArgsSerializer;
|
|
20
|
+
//# sourceMappingURL=initializeArgs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initializeArgs.js","sourceRoot":"","sources":["../../../../src/generated/types/initializeArgs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA+E;AAc/E,SAAgB,2BAA2B;IAIzC,OAAO,IAAA,oBAAM,EACX;QACE,CAAC,aAAa,EAAE,IAAA,iBAAG,GAAE,CAAC;QACtB,CAAC,aAAa,EAAE,IAAA,iBAAG,GAAE,CAAC;QACtB,CAAC,UAAU,EAAE,IAAA,iBAAG,GAAE,CAAC;KACpB,EACD,EAAE,WAAW,EAAE,gBAAgB,EAAE,CACgB,CAAC;AACtD,CAAC;AAZD,kEAYC"}
|
|
@@ -23,7 +23,16 @@ export declare enum Key {
|
|
|
23
23
|
BondingCurveBucket = 13,
|
|
24
24
|
AuctionBucket = 14,
|
|
25
25
|
AuctionBid = 15,
|
|
26
|
-
AuctionTree = 16
|
|
26
|
+
AuctionTree = 16,
|
|
27
|
+
RaydiumCpmmBucket = 17,
|
|
28
|
+
GenesisAccountV2 = 18,
|
|
29
|
+
PresaleBucketV2 = 19,
|
|
30
|
+
PresaleDepositV2 = 20,
|
|
31
|
+
UnlockedBucketV2 = 21,
|
|
32
|
+
RaydiumCpmmBucketV2 = 22,
|
|
33
|
+
VaultBucketV2 = 23,
|
|
34
|
+
VaultDepositV2 = 24,
|
|
35
|
+
BondingCurveBucketV2 = 25
|
|
27
36
|
}
|
|
28
37
|
export type KeyArgs = Key;
|
|
29
38
|
export declare function getKeySerializer(): Serializer<KeyArgs, Key>;
|
|
@@ -28,6 +28,15 @@ var Key;
|
|
|
28
28
|
Key[Key["AuctionBucket"] = 14] = "AuctionBucket";
|
|
29
29
|
Key[Key["AuctionBid"] = 15] = "AuctionBid";
|
|
30
30
|
Key[Key["AuctionTree"] = 16] = "AuctionTree";
|
|
31
|
+
Key[Key["RaydiumCpmmBucket"] = 17] = "RaydiumCpmmBucket";
|
|
32
|
+
Key[Key["GenesisAccountV2"] = 18] = "GenesisAccountV2";
|
|
33
|
+
Key[Key["PresaleBucketV2"] = 19] = "PresaleBucketV2";
|
|
34
|
+
Key[Key["PresaleDepositV2"] = 20] = "PresaleDepositV2";
|
|
35
|
+
Key[Key["UnlockedBucketV2"] = 21] = "UnlockedBucketV2";
|
|
36
|
+
Key[Key["RaydiumCpmmBucketV2"] = 22] = "RaydiumCpmmBucketV2";
|
|
37
|
+
Key[Key["VaultBucketV2"] = 23] = "VaultBucketV2";
|
|
38
|
+
Key[Key["VaultDepositV2"] = 24] = "VaultDepositV2";
|
|
39
|
+
Key[Key["BondingCurveBucketV2"] = 25] = "BondingCurveBucketV2";
|
|
31
40
|
})(Key = exports.Key || (exports.Key = {}));
|
|
32
41
|
function getKeySerializer() {
|
|
33
42
|
return (0, serializers_1.scalarEnum)(Key, { description: 'Key' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../../../src/generated/types/key.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA8E;AAE9E,IAAY,
|
|
1
|
+
{"version":3,"file":"key.js","sourceRoot":"","sources":["../../../../src/generated/types/key.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA8E;AAE9E,IAAY,GA2BX;AA3BD,WAAY,GAAG;IACb,+CAAa,CAAA;IACb,iDAAc,CAAA;IACd,qDAAgB,CAAA;IAChB,uDAAiB,CAAA;IACjB,qDAAgB,CAAA;IAChB,iDAAc,CAAA;IACd,+CAAa,CAAA;IACb,yCAAU,CAAA;IACV,yDAAkB,CAAA;IAClB,+CAAa,CAAA;IACb,kDAAc,CAAA;IACd,4CAAW,CAAA;IACX,8CAAY,CAAA;IACZ,0DAAkB,CAAA;IAClB,gDAAa,CAAA;IACb,0CAAU,CAAA;IACV,4CAAW,CAAA;IACX,wDAAiB,CAAA;IACjB,sDAAgB,CAAA;IAChB,oDAAe,CAAA;IACf,sDAAgB,CAAA;IAChB,sDAAgB,CAAA;IAChB,4DAAmB,CAAA;IACnB,gDAAa,CAAA;IACb,kDAAc,CAAA;IACd,8DAAoB,CAAA;AACtB,CAAC,EA3BW,GAAG,GAAH,WAAG,KAAH,WAAG,QA2Bd;AAID,SAAgB,gBAAgB;IAC9B,OAAO,IAAA,wBAAU,EAAM,GAAG,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAGjD,CAAC;AACJ,CAAC;AALD,4CAKC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the kinobi library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun kinobi to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
|
+
*/
|
|
8
|
+
import { Serializer } from '@metaplex-foundation/umi/serializers';
|
|
9
|
+
export type PerCooldownDepositLimit = {
|
|
10
|
+
limit: bigint;
|
|
11
|
+
};
|
|
12
|
+
export type PerCooldownDepositLimitArgs = {
|
|
13
|
+
limit: number | bigint;
|
|
14
|
+
};
|
|
15
|
+
export declare function getPerCooldownDepositLimitSerializer(): Serializer<PerCooldownDepositLimitArgs, PerCooldownDepositLimit>;
|