@metaplex-foundation/genesis 0.12.5 → 0.13.0-beta.1
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 +8 -0
- package/dist/src/generated/accounts/index.js +8 -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/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 +162 -0
- package/dist/src/generated/errors/genesis.js +299 -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.js +1 -1
- 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/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/graduateToRaydiumCpmmV1.js +1 -1
- 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 +22 -1
- package/dist/src/generated/instructions/index.js +22 -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 +70 -0
- package/dist/src/generated/instructions/swapVaultToBondingCurveV2.js +237 -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.js +1 -1
- 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 +27 -0
- package/dist/src/generated/types/index.js +27 -0
- package/dist/src/generated/types/index.js.map +1 -1
- package/dist/src/generated/types/key.d.ts +9 -1
- package/dist/src/generated/types/key.js +8 -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/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/raydium.d.ts +40 -3
- package/dist/src/raydium.js +46 -9
- package/dist/src/raydium.js.map +1 -1
- package/package.json +2 -2
- package/dist/src/generated/instructions/feeOverride.js.map +0 -1
|
@@ -0,0 +1,25 @@
|
|
|
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.getBehaviorTypesSerializer = exports.BehaviorTypes = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
var BehaviorTypes;
|
|
13
|
+
(function (BehaviorTypes) {
|
|
14
|
+
BehaviorTypes[BehaviorTypes["None"] = 0] = "None";
|
|
15
|
+
BehaviorTypes[BehaviorTypes["SendQuoteTokenPercentage"] = 1] = "SendQuoteTokenPercentage";
|
|
16
|
+
BehaviorTypes[BehaviorTypes["Rollover"] = 2] = "Rollover";
|
|
17
|
+
BehaviorTypes[BehaviorTypes["SendStartPrice"] = 3] = "SendStartPrice";
|
|
18
|
+
})(BehaviorTypes = exports.BehaviorTypes || (exports.BehaviorTypes = {}));
|
|
19
|
+
function getBehaviorTypesSerializer() {
|
|
20
|
+
return (0, serializers_1.scalarEnum)(BehaviorTypes, {
|
|
21
|
+
description: 'BehaviorTypes',
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
exports.getBehaviorTypesSerializer = getBehaviorTypesSerializer;
|
|
25
|
+
//# sourceMappingURL=behaviorTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"behaviorTypes.js","sourceRoot":"","sources":["../../../../src/generated/types/behaviorTypes.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,sEAA8E;AAE9E,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,iDAAI,CAAA;IACJ,yFAAwB,CAAA;IACxB,yDAAQ,CAAA;IACR,qEAAc,CAAA;AAChB,CAAC,EALW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAKxB;AAID,SAAgB,0BAA0B;IAIxC,OAAO,IAAA,wBAAU,EAAgB,aAAa,EAAE;QAC9C,WAAW,EAAE,eAAe;KAC7B,CAAiD,CAAC;AACrD,CAAC;AAPD,gEAOC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
export type BondingCurveV2Extensions = {
|
|
11
|
+
backendSigner: PublicKey;
|
|
12
|
+
actionsAuthority: PublicKey;
|
|
13
|
+
paused: boolean;
|
|
14
|
+
padding: Array<number>;
|
|
15
|
+
};
|
|
16
|
+
export type BondingCurveV2ExtensionsArgs = BondingCurveV2Extensions;
|
|
17
|
+
export declare function getBondingCurveV2ExtensionsSerializer(): Serializer<BondingCurveV2ExtensionsArgs, BondingCurveV2Extensions>;
|
|
@@ -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,6 +30,8 @@ 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';
|
|
@@ -29,12 +43,25 @@ export * from './key';
|
|
|
29
43
|
export * from './launchPoolBucketState';
|
|
30
44
|
export * from './linearBpsSchedule';
|
|
31
45
|
export * from './meteoraBucketState';
|
|
46
|
+
export * from './perCooldownDepositLimit';
|
|
32
47
|
export * from './presaleBucketState';
|
|
48
|
+
export * from './presaleV2Extensions';
|
|
33
49
|
export * from './pumpBucketState';
|
|
50
|
+
export * from './quoteAmountInCondition';
|
|
34
51
|
export * from './raydiumCpmmBucketState';
|
|
52
|
+
export * from './raydiumCpmmV2Extensions';
|
|
53
|
+
export * from './rolloverBehavior';
|
|
35
54
|
export * from './schedule';
|
|
55
|
+
export * from './sendQuoteTokenPercentageBehavior';
|
|
56
|
+
export * from './sendStartPriceBehavior';
|
|
57
|
+
export * from './steppedDepositLimit';
|
|
36
58
|
export * from './streamflowBucketState';
|
|
37
59
|
export * from './streamflowConfig';
|
|
38
60
|
export * from './swapDirection';
|
|
61
|
+
export * from './timeAbsoluteCondition';
|
|
62
|
+
export * from './timeRelativeCondition';
|
|
39
63
|
export * from './unlockedBucketState';
|
|
64
|
+
export * from './unlockedV2Extensions';
|
|
40
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,6 +46,8 @@ __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);
|
|
@@ -45,13 +59,26 @@ __exportStar(require("./key"), exports);
|
|
|
45
59
|
__exportStar(require("./launchPoolBucketState"), exports);
|
|
46
60
|
__exportStar(require("./linearBpsSchedule"), exports);
|
|
47
61
|
__exportStar(require("./meteoraBucketState"), exports);
|
|
62
|
+
__exportStar(require("./perCooldownDepositLimit"), exports);
|
|
48
63
|
__exportStar(require("./presaleBucketState"), exports);
|
|
64
|
+
__exportStar(require("./presaleV2Extensions"), exports);
|
|
49
65
|
__exportStar(require("./pumpBucketState"), exports);
|
|
66
|
+
__exportStar(require("./quoteAmountInCondition"), exports);
|
|
50
67
|
__exportStar(require("./raydiumCpmmBucketState"), exports);
|
|
68
|
+
__exportStar(require("./raydiumCpmmV2Extensions"), exports);
|
|
69
|
+
__exportStar(require("./rolloverBehavior"), exports);
|
|
51
70
|
__exportStar(require("./schedule"), exports);
|
|
71
|
+
__exportStar(require("./sendQuoteTokenPercentageBehavior"), exports);
|
|
72
|
+
__exportStar(require("./sendStartPriceBehavior"), exports);
|
|
73
|
+
__exportStar(require("./steppedDepositLimit"), exports);
|
|
52
74
|
__exportStar(require("./streamflowBucketState"), exports);
|
|
53
75
|
__exportStar(require("./streamflowConfig"), exports);
|
|
54
76
|
__exportStar(require("./swapDirection"), exports);
|
|
77
|
+
__exportStar(require("./timeAbsoluteCondition"), exports);
|
|
78
|
+
__exportStar(require("./timeRelativeCondition"), exports);
|
|
55
79
|
__exportStar(require("./unlockedBucketState"), exports);
|
|
80
|
+
__exportStar(require("./unlockedV2Extensions"), exports);
|
|
56
81
|
__exportStar(require("./vaultBucketState"), exports);
|
|
82
|
+
__exportStar(require("./vaultV2Extensions"), exports);
|
|
83
|
+
__exportStar(require("./vesting"), exports);
|
|
57
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,mDAAiC;AACjC,yGAAuF;AACvF,yGAAuF;AACvF,oDAAkC;AAClC,wCAAsB;AACtB,0DAAwC;AACxC,sDAAoC;AACpC,uDAAqC;AACrC,uDAAqC;AACrC,oDAAkC;AAClC,2DAAyC;AACzC,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"}
|
|
@@ -24,7 +24,15 @@ export declare enum Key {
|
|
|
24
24
|
AuctionBucket = 14,
|
|
25
25
|
AuctionBid = 15,
|
|
26
26
|
AuctionTree = 16,
|
|
27
|
-
RaydiumCpmmBucket = 17
|
|
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
|
|
28
36
|
}
|
|
29
37
|
export type KeyArgs = Key;
|
|
30
38
|
export declare function getKeySerializer(): Serializer<KeyArgs, Key>;
|
|
@@ -29,6 +29,14 @@ var Key;
|
|
|
29
29
|
Key[Key["AuctionBid"] = 15] = "AuctionBid";
|
|
30
30
|
Key[Key["AuctionTree"] = 16] = "AuctionTree";
|
|
31
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";
|
|
32
40
|
})(Key = exports.Key || (exports.Key = {}));
|
|
33
41
|
function getKeySerializer() {
|
|
34
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>;
|
|
@@ -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.getPerCooldownDepositLimitSerializer = void 0;
|
|
11
|
+
const serializers_1 = require("@metaplex-foundation/umi/serializers");
|
|
12
|
+
function getPerCooldownDepositLimitSerializer() {
|
|
13
|
+
return (0, serializers_1.struct)([['limit', (0, serializers_1.u64)()]], {
|
|
14
|
+
description: 'PerCooldownDepositLimit',
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
exports.getPerCooldownDepositLimitSerializer = getPerCooldownDepositLimitSerializer;
|
|
18
|
+
//# sourceMappingURL=perCooldownDepositLimit.js.map
|