@floorlaunchpad/sdk-solana 0.0.0-stage → 0.1.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/LICENSE +61 -0
- package/NOTICE +65 -0
- package/README.md +158 -2
- package/THIRD_PARTY.md +22 -0
- package/deployments.json +88 -0
- package/dist/adapter.d.ts +107 -0
- package/dist/adapter.d.ts.map +1 -0
- package/dist/adapter.js +402 -0
- package/dist/adapter.js.map +1 -0
- package/dist/adapters.d.ts +49 -0
- package/dist/adapters.d.ts.map +1 -0
- package/dist/adapters.js +102 -0
- package/dist/adapters.js.map +1 -0
- package/dist/constants.d.ts +257 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +250 -0
- package/dist/constants.js.map +1 -0
- package/dist/deployments.d.ts +109 -0
- package/dist/deployments.d.ts.map +1 -0
- package/dist/deployments.js +67 -0
- package/dist/deployments.js.map +1 -0
- package/dist/events.d.ts +57 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.js +368 -0
- package/dist/events.js.map +1 -0
- package/dist/generated/client/floor_holders/constants/floorHolders.d.ts +15 -0
- package/dist/generated/client/floor_holders/constants/floorHolders.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/constants/floorHolders.js +14 -0
- package/dist/generated/client/floor_holders/constants/floorHolders.js.map +1 -0
- package/dist/generated/client/floor_holders/constants/index.d.ts +9 -0
- package/dist/generated/client/floor_holders/constants/index.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/constants/index.js +9 -0
- package/dist/generated/client/floor_holders/constants/index.js.map +1 -0
- package/dist/generated/client/floor_holders/errors/floorHolders.d.ts +52 -0
- package/dist/generated/client/floor_holders/errors/floorHolders.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/errors/floorHolders.js +55 -0
- package/dist/generated/client/floor_holders/errors/floorHolders.js.map +1 -0
- package/dist/generated/client/floor_holders/errors/index.d.ts +9 -0
- package/dist/generated/client/floor_holders/errors/index.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/errors/index.js +9 -0
- package/dist/generated/client/floor_holders/errors/index.js.map +1 -0
- package/dist/generated/client/floor_holders/events/claimsTableExtended.d.ts +27 -0
- package/dist/generated/client/floor_holders/events/claimsTableExtended.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/events/claimsTableExtended.js +30 -0
- package/dist/generated/client/floor_holders/events/claimsTableExtended.js.map +1 -0
- package/dist/generated/client/floor_holders/events/claimsTableRotated.d.ts +27 -0
- package/dist/generated/client/floor_holders/events/claimsTableRotated.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/events/claimsTableRotated.js +30 -0
- package/dist/generated/client/floor_holders/events/claimsTableRotated.js.map +1 -0
- package/dist/generated/client/floor_holders/events/holderClaimed.d.ts +33 -0
- package/dist/generated/client/floor_holders/events/holderClaimed.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/events/holderClaimed.js +30 -0
- package/dist/generated/client/floor_holders/events/holderClaimed.js.map +1 -0
- package/dist/generated/client/floor_holders/events/index.d.ts +14 -0
- package/dist/generated/client/floor_holders/events/index.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/events/index.js +14 -0
- package/dist/generated/client/floor_holders/events/index.js.map +1 -0
- package/dist/generated/client/floor_holders/events/launchHooked.d.ts +26 -0
- package/dist/generated/client/floor_holders/events/launchHooked.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/events/launchHooked.js +30 -0
- package/dist/generated/client/floor_holders/events/launchHooked.js.map +1 -0
- package/dist/generated/client/floor_holders/events/recordClosed.d.ts +31 -0
- package/dist/generated/client/floor_holders/events/recordClosed.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/events/recordClosed.js +30 -0
- package/dist/generated/client/floor_holders/events/recordClosed.js.map +1 -0
- package/dist/generated/client/floor_holders/events/recordOpened.d.ts +35 -0
- package/dist/generated/client/floor_holders/events/recordOpened.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/events/recordOpened.js +30 -0
- package/dist/generated/client/floor_holders/events/recordOpened.js.map +1 -0
- package/dist/generated/client/floor_holders/index.d.ts +14 -0
- package/dist/generated/client/floor_holders/index.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/index.js +14 -0
- package/dist/generated/client/floor_holders/index.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/authorizeClaim.d.ts +102 -0
- package/dist/generated/client/floor_holders/instructions/authorizeClaim.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/authorizeClaim.js +68 -0
- package/dist/generated/client/floor_holders/instructions/authorizeClaim.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/claim.d.ts +97 -0
- package/dist/generated/client/floor_holders/instructions/claim.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/claim.js +64 -0
- package/dist/generated/client/floor_holders/instructions/claim.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/closeRecord.d.ts +48 -0
- package/dist/generated/client/floor_holders/instructions/closeRecord.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/closeRecord.js +43 -0
- package/dist/generated/client/floor_holders/instructions/closeRecord.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/execute.d.ts +44 -0
- package/dist/generated/client/floor_holders/instructions/execute.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/execute.js +45 -0
- package/dist/generated/client/floor_holders/instructions/execute.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/index.d.ts +18 -0
- package/dist/generated/client/floor_holders/instructions/index.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/index.js +18 -0
- package/dist/generated/client/floor_holders/instructions/index.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/initLaunch.d.ts +84 -0
- package/dist/generated/client/floor_holders/instructions/initLaunch.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/initLaunch.js +81 -0
- package/dist/generated/client/floor_holders/instructions/initLaunch.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/initializeClaimsRegistry.d.ts +46 -0
- package/dist/generated/client/floor_holders/instructions/initializeClaimsRegistry.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/initializeClaimsRegistry.js +64 -0
- package/dist/generated/client/floor_holders/instructions/initializeClaimsRegistry.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/openRecord.d.ts +52 -0
- package/dist/generated/client/floor_holders/instructions/openRecord.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/openRecord.js +47 -0
- package/dist/generated/client/floor_holders/instructions/openRecord.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/rotateClaimsTable.d.ts +66 -0
- package/dist/generated/client/floor_holders/instructions/rotateClaimsTable.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/rotateClaimsTable.js +77 -0
- package/dist/generated/client/floor_holders/instructions/rotateClaimsTable.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/sync.d.ts +42 -0
- package/dist/generated/client/floor_holders/instructions/sync.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/sync.js +43 -0
- package/dist/generated/client/floor_holders/instructions/sync.js.map +1 -0
- package/dist/generated/client/floor_holders/instructions/touch.d.ts +52 -0
- package/dist/generated/client/floor_holders/instructions/touch.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/instructions/touch.js +47 -0
- package/dist/generated/client/floor_holders/instructions/touch.js.map +1 -0
- package/dist/generated/client/floor_holders/pdas/claimsAltAuthority.d.ts +12 -0
- package/dist/generated/client/floor_holders/pdas/claimsAltAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/pdas/claimsAltAuthority.js +13 -0
- package/dist/generated/client/floor_holders/pdas/claimsAltAuthority.js.map +1 -0
- package/dist/generated/client/floor_holders/pdas/claimsRegistry.d.ts +12 -0
- package/dist/generated/client/floor_holders/pdas/claimsRegistry.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/pdas/claimsRegistry.js +13 -0
- package/dist/generated/client/floor_holders/pdas/claimsRegistry.js.map +1 -0
- package/dist/generated/client/floor_holders/pdas/holdersAuthority.d.ts +12 -0
- package/dist/generated/client/floor_holders/pdas/holdersAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/pdas/holdersAuthority.js +13 -0
- package/dist/generated/client/floor_holders/pdas/holdersAuthority.js.map +1 -0
- package/dist/generated/client/floor_holders/pdas/index.d.ts +11 -0
- package/dist/generated/client/floor_holders/pdas/index.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/pdas/index.js +11 -0
- package/dist/generated/client/floor_holders/pdas/index.js.map +1 -0
- package/dist/generated/client/floor_holders/programs/floorHolders.d.ts +90 -0
- package/dist/generated/client/floor_holders/programs/floorHolders.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/programs/floorHolders.js +142 -0
- package/dist/generated/client/floor_holders/programs/floorHolders.js.map +1 -0
- package/dist/generated/client/floor_holders/programs/index.d.ts +9 -0
- package/dist/generated/client/floor_holders/programs/index.d.ts.map +1 -0
- package/dist/generated/client/floor_holders/programs/index.js +9 -0
- package/dist/generated/client/floor_holders/programs/index.js.map +1 -0
- package/dist/generated/client/floor_hook/accounts/floorPlatformPool.d.ts +51 -0
- package/dist/generated/client/floor_hook/accounts/floorPlatformPool.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/accounts/floorPlatformPool.js +47 -0
- package/dist/generated/client/floor_hook/accounts/floorPlatformPool.js.map +1 -0
- package/dist/generated/client/floor_hook/accounts/floorPool.d.ts +216 -0
- package/dist/generated/client/floor_hook/accounts/floorPool.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/accounts/floorPool.js +48 -0
- package/dist/generated/client/floor_hook/accounts/floorPool.js.map +1 -0
- package/dist/generated/client/floor_hook/accounts/hookConfig.d.ts +57 -0
- package/dist/generated/client/floor_hook/accounts/hookConfig.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/accounts/hookConfig.js +47 -0
- package/dist/generated/client/floor_hook/accounts/hookConfig.js.map +1 -0
- package/dist/generated/client/floor_hook/accounts/index.d.ts +13 -0
- package/dist/generated/client/floor_hook/accounts/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/accounts/index.js +13 -0
- package/dist/generated/client/floor_hook/accounts/index.js.map +1 -0
- package/dist/generated/client/floor_hook/accounts/platformTreasury.d.ts +43 -0
- package/dist/generated/client/floor_hook/accounts/platformTreasury.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/accounts/platformTreasury.js +47 -0
- package/dist/generated/client/floor_hook/accounts/platformTreasury.js.map +1 -0
- package/dist/generated/client/floor_hook/accounts/quotePolicy.d.ts +55 -0
- package/dist/generated/client/floor_hook/accounts/quotePolicy.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/accounts/quotePolicy.js +47 -0
- package/dist/generated/client/floor_hook/accounts/quotePolicy.js.map +1 -0
- package/dist/generated/client/floor_hook/constants/floorHook.d.ts +16 -0
- package/dist/generated/client/floor_hook/constants/floorHook.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/constants/floorHook.js +15 -0
- package/dist/generated/client/floor_hook/constants/floorHook.js.map +1 -0
- package/dist/generated/client/floor_hook/constants/index.d.ts +9 -0
- package/dist/generated/client/floor_hook/constants/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/constants/index.js +9 -0
- package/dist/generated/client/floor_hook/constants/index.js.map +1 -0
- package/dist/generated/client/floor_hook/errors/floorHook.d.ts +164 -0
- package/dist/generated/client/floor_hook/errors/floorHook.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/errors/floorHook.js +167 -0
- package/dist/generated/client/floor_hook/errors/floorHook.js.map +1 -0
- package/dist/generated/client/floor_hook/errors/index.d.ts +9 -0
- package/dist/generated/client/floor_hook/errors/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/errors/index.js +9 -0
- package/dist/generated/client/floor_hook/errors/index.js.map +1 -0
- package/dist/generated/client/floor_hook/events/allowAllQuotesSet.d.ts +26 -0
- package/dist/generated/client/floor_hook/events/allowAllQuotesSet.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/allowAllQuotesSet.js +30 -0
- package/dist/generated/client/floor_hook/events/allowAllQuotesSet.js.map +1 -0
- package/dist/generated/client/floor_hook/events/bidReplaced.d.ts +33 -0
- package/dist/generated/client/floor_hook/events/bidReplaced.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/bidReplaced.js +30 -0
- package/dist/generated/client/floor_hook/events/bidReplaced.js.map +1 -0
- package/dist/generated/client/floor_hook/events/creatorClaimed.d.ts +31 -0
- package/dist/generated/client/floor_hook/events/creatorClaimed.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/creatorClaimed.js +30 -0
- package/dist/generated/client/floor_hook/events/creatorClaimed.js.map +1 -0
- package/dist/generated/client/floor_hook/events/creatorFee.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/creatorFee.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/creatorFee.js +30 -0
- package/dist/generated/client/floor_hook/events/creatorFee.js.map +1 -0
- package/dist/generated/client/floor_hook/events/floorPoolDesignated.d.ts +25 -0
- package/dist/generated/client/floor_hook/events/floorPoolDesignated.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/floorPoolDesignated.js +30 -0
- package/dist/generated/client/floor_hook/events/floorPoolDesignated.js.map +1 -0
- package/dist/generated/client/floor_hook/events/floorUnbacked.d.ts +31 -0
- package/dist/generated/client/floor_hook/events/floorUnbacked.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/floorUnbacked.js +30 -0
- package/dist/generated/client/floor_hook/events/floorUnbacked.js.map +1 -0
- package/dist/generated/client/floor_hook/events/holderPaid.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/holderPaid.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/holderPaid.js +30 -0
- package/dist/generated/client/floor_hook/events/holderPaid.js.map +1 -0
- package/dist/generated/client/floor_hook/events/hookConfigInitialized.d.ts +27 -0
- package/dist/generated/client/floor_hook/events/hookConfigInitialized.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/hookConfigInitialized.js +30 -0
- package/dist/generated/client/floor_hook/events/hookConfigInitialized.js.map +1 -0
- package/dist/generated/client/floor_hook/events/hookGovernanceChanged.d.ts +25 -0
- package/dist/generated/client/floor_hook/events/hookGovernanceChanged.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/hookGovernanceChanged.js +30 -0
- package/dist/generated/client/floor_hook/events/hookGovernanceChanged.js.map +1 -0
- package/dist/generated/client/floor_hook/events/index.d.ts +53 -0
- package/dist/generated/client/floor_hook/events/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/index.js +53 -0
- package/dist/generated/client/floor_hook/events/index.js.map +1 -0
- package/dist/generated/client/floor_hook/events/inventoryDonated.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/inventoryDonated.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/inventoryDonated.js +30 -0
- package/dist/generated/client/floor_hook/events/inventoryDonated.js.map +1 -0
- package/dist/generated/client/floor_hook/events/platformCut.d.ts +27 -0
- package/dist/generated/client/floor_hook/events/platformCut.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/platformCut.js +30 -0
- package/dist/generated/client/floor_hook/events/platformCut.js.map +1 -0
- package/dist/generated/client/floor_hook/events/platformPoolCredit.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/platformPoolCredit.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/platformPoolCredit.js +30 -0
- package/dist/generated/client/floor_hook/events/platformPoolCredit.js.map +1 -0
- package/dist/generated/client/floor_hook/events/platformSwept.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/platformSwept.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/platformSwept.js +30 -0
- package/dist/generated/client/floor_hook/events/platformSwept.js.map +1 -0
- package/dist/generated/client/floor_hook/events/platformWithdrawn.d.ts +35 -0
- package/dist/generated/client/floor_hook/events/platformWithdrawn.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/platformWithdrawn.js +30 -0
- package/dist/generated/client/floor_hook/events/platformWithdrawn.js.map +1 -0
- package/dist/generated/client/floor_hook/events/polRaised.d.ts +33 -0
- package/dist/generated/client/floor_hook/events/polRaised.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/polRaised.js +30 -0
- package/dist/generated/client/floor_hook/events/polRaised.js.map +1 -0
- package/dist/generated/client/floor_hook/events/poolReferralTiers.d.ts +27 -0
- package/dist/generated/client/floor_hook/events/poolReferralTiers.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/poolReferralTiers.js +30 -0
- package/dist/generated/client/floor_hook/events/poolReferralTiers.js.map +1 -0
- package/dist/generated/client/floor_hook/events/poolRegistered.d.ts +27 -0
- package/dist/generated/client/floor_hook/events/poolRegistered.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/poolRegistered.js +30 -0
- package/dist/generated/client/floor_hook/events/poolRegistered.js.map +1 -0
- package/dist/generated/client/floor_hook/events/poolRewardsTerms.d.ts +28 -0
- package/dist/generated/client/floor_hook/events/poolRewardsTerms.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/poolRewardsTerms.js +30 -0
- package/dist/generated/client/floor_hook/events/poolRewardsTerms.js.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteAdmitted.d.ts +39 -0
- package/dist/generated/client/floor_hook/events/quoteAdmitted.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteAdmitted.js +30 -0
- package/dist/generated/client/floor_hook/events/quoteAdmitted.js.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteEconomicsSet.d.ts +33 -0
- package/dist/generated/client/floor_hook/events/quoteEconomicsSet.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteEconomicsSet.js +30 -0
- package/dist/generated/client/floor_hook/events/quoteEconomicsSet.js.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteListed.d.ts +39 -0
- package/dist/generated/client/floor_hook/events/quoteListed.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteListed.js +30 -0
- package/dist/generated/client/floor_hook/events/quoteListed.js.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteObserved.d.ts +31 -0
- package/dist/generated/client/floor_hook/events/quoteObserved.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteObserved.js +30 -0
- package/dist/generated/client/floor_hook/events/quoteObserved.js.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteRetired.d.ts +23 -0
- package/dist/generated/client/floor_hook/events/quoteRetired.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/quoteRetired.js +30 -0
- package/dist/generated/client/floor_hook/events/quoteRetired.js.map +1 -0
- package/dist/generated/client/floor_hook/events/ratcheted.d.ts +35 -0
- package/dist/generated/client/floor_hook/events/ratcheted.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/ratcheted.js +30 -0
- package/dist/generated/client/floor_hook/events/ratcheted.js.map +1 -0
- package/dist/generated/client/floor_hook/events/recipientResolved.d.ts +26 -0
- package/dist/generated/client/floor_hook/events/recipientResolved.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/recipientResolved.js +30 -0
- package/dist/generated/client/floor_hook/events/recipientResolved.js.map +1 -0
- package/dist/generated/client/floor_hook/events/referralFunded.d.ts +33 -0
- package/dist/generated/client/floor_hook/events/referralFunded.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/referralFunded.js +30 -0
- package/dist/generated/client/floor_hook/events/referralFunded.js.map +1 -0
- package/dist/generated/client/floor_hook/events/referralPaid.d.ts +31 -0
- package/dist/generated/client/floor_hook/events/referralPaid.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/referralPaid.js +30 -0
- package/dist/generated/client/floor_hook/events/referralPaid.js.map +1 -0
- package/dist/generated/client/floor_hook/events/referralTierPaid.d.ts +31 -0
- package/dist/generated/client/floor_hook/events/referralTierPaid.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/referralTierPaid.js +30 -0
- package/dist/generated/client/floor_hook/events/referralTierPaid.js.map +1 -0
- package/dist/generated/client/floor_hook/events/skimmed.d.ts +33 -0
- package/dist/generated/client/floor_hook/events/skimmed.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/skimmed.js +30 -0
- package/dist/generated/client/floor_hook/events/skimmed.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairArrayReclaimed.d.ts +33 -0
- package/dist/generated/client/floor_hook/events/stairArrayReclaimed.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairArrayReclaimed.js +30 -0
- package/dist/generated/client/floor_hook/events/stairArrayReclaimed.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairFeesSwept.d.ts +31 -0
- package/dist/generated/client/floor_hook/events/stairFeesSwept.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairFeesSwept.js +30 -0
- package/dist/generated/client/floor_hook/events/stairFeesSwept.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairOwnerBooked.d.ts +39 -0
- package/dist/generated/client/floor_hook/events/stairOwnerBooked.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairOwnerBooked.js +30 -0
- package/dist/generated/client/floor_hook/events/stairOwnerBooked.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairOwnersPlaced.d.ts +43 -0
- package/dist/generated/client/floor_hook/events/stairOwnersPlaced.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairOwnersPlaced.js +30 -0
- package/dist/generated/client/floor_hook/events/stairOwnersPlaced.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairPayeeResolved.d.ts +26 -0
- package/dist/generated/client/floor_hook/events/stairPayeeResolved.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairPayeeResolved.js +30 -0
- package/dist/generated/client/floor_hook/events/stairPayeeResolved.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairPayeeSwept.d.ts +33 -0
- package/dist/generated/client/floor_hook/events/stairPayeeSwept.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairPayeeSwept.js +30 -0
- package/dist/generated/client/floor_hook/events/stairPayeeSwept.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairRatcheted.d.ts +43 -0
- package/dist/generated/client/floor_hook/events/stairRatcheted.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairRatcheted.js +30 -0
- package/dist/generated/client/floor_hook/events/stairRatcheted.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairRentReimbursed.d.ts +31 -0
- package/dist/generated/client/floor_hook/events/stairRentReimbursed.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairRentReimbursed.js +30 -0
- package/dist/generated/client/floor_hook/events/stairRentReimbursed.js.map +1 -0
- package/dist/generated/client/floor_hook/events/stairTokensWithdrawn.d.ts +35 -0
- package/dist/generated/client/floor_hook/events/stairTokensWithdrawn.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/stairTokensWithdrawn.js +30 -0
- package/dist/generated/client/floor_hook/events/stairTokensWithdrawn.js.map +1 -0
- package/dist/generated/client/floor_hook/events/teamSwept.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/teamSwept.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/teamSwept.js +30 -0
- package/dist/generated/client/floor_hook/events/teamSwept.js.map +1 -0
- package/dist/generated/client/floor_hook/events/teamWithdrawn.d.ts +35 -0
- package/dist/generated/client/floor_hook/events/teamWithdrawn.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/teamWithdrawn.js +30 -0
- package/dist/generated/client/floor_hook/events/teamWithdrawn.js.map +1 -0
- package/dist/generated/client/floor_hook/events/traderReferralBooked.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/traderReferralBooked.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/traderReferralBooked.js +30 -0
- package/dist/generated/client/floor_hook/events/traderReferralBooked.js.map +1 -0
- package/dist/generated/client/floor_hook/events/traderReferralClaimed.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/traderReferralClaimed.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/traderReferralClaimed.js +30 -0
- package/dist/generated/client/floor_hook/events/traderReferralClaimed.js.map +1 -0
- package/dist/generated/client/floor_hook/events/traderReferralSwept.d.ts +29 -0
- package/dist/generated/client/floor_hook/events/traderReferralSwept.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/traderReferralSwept.js +30 -0
- package/dist/generated/client/floor_hook/events/traderReferralSwept.js.map +1 -0
- package/dist/generated/client/floor_hook/events/treasuryGovernanceChanged.d.ts +26 -0
- package/dist/generated/client/floor_hook/events/treasuryGovernanceChanged.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/treasuryGovernanceChanged.js +30 -0
- package/dist/generated/client/floor_hook/events/treasuryGovernanceChanged.js.map +1 -0
- package/dist/generated/client/floor_hook/events/vaultTokensFed.d.ts +39 -0
- package/dist/generated/client/floor_hook/events/vaultTokensFed.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/events/vaultTokensFed.js +30 -0
- package/dist/generated/client/floor_hook/events/vaultTokensFed.js.map +1 -0
- package/dist/generated/client/floor_hook/index.d.ts +16 -0
- package/dist/generated/client/floor_hook/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/index.js +16 -0
- package/dist/generated/client/floor_hook/index.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/acceptHookGovernance.d.ts +52 -0
- package/dist/generated/client/floor_hook/instructions/acceptHookGovernance.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/acceptHookGovernance.js +57 -0
- package/dist/generated/client/floor_hook/instructions/acceptHookGovernance.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/acceptTeamTreasuryGovernance.d.ts +55 -0
- package/dist/generated/client/floor_hook/instructions/acceptTeamTreasuryGovernance.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/acceptTeamTreasuryGovernance.js +60 -0
- package/dist/generated/client/floor_hook/instructions/acceptTeamTreasuryGovernance.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/acceptTreasuryGovernance.d.ts +55 -0
- package/dist/generated/client/floor_hook/instructions/acceptTreasuryGovernance.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/acceptTreasuryGovernance.js +60 -0
- package/dist/generated/client/floor_hook/instructions/acceptTreasuryGovernance.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/afterActions.d.ts +74 -0
- package/dist/generated/client/floor_hook/instructions/afterActions.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/afterActions.js +46 -0
- package/dist/generated/client/floor_hook/instructions/afterActions.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/afterSwap.d.ts +92 -0
- package/dist/generated/client/floor_hook/instructions/afterSwap.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/afterSwap.js +46 -0
- package/dist/generated/client/floor_hook/instructions/afterSwap.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/beforeInitialize.d.ts +73 -0
- package/dist/generated/client/floor_hook/instructions/beforeInitialize.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/beforeInitialize.js +45 -0
- package/dist/generated/client/floor_hook/instructions/beforeInitialize.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/beforeSwap.d.ts +80 -0
- package/dist/generated/client/floor_hook/instructions/beforeSwap.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/beforeSwap.js +46 -0
- package/dist/generated/client/floor_hook/instructions/beforeSwap.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/claimCreatorFees.d.ts +78 -0
- package/dist/generated/client/floor_hook/instructions/claimCreatorFees.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/claimCreatorFees.js +61 -0
- package/dist/generated/client/floor_hook/instructions/claimCreatorFees.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/claimReferralFees.d.ts +78 -0
- package/dist/generated/client/floor_hook/instructions/claimReferralFees.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/claimReferralFees.js +61 -0
- package/dist/generated/client/floor_hook/instructions/claimReferralFees.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/claimTraderReferral.d.ts +73 -0
- package/dist/generated/client/floor_hook/instructions/claimTraderReferral.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/claimTraderReferral.js +67 -0
- package/dist/generated/client/floor_hook/instructions/claimTraderReferral.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/clearTeamBuyBooks.d.ts +46 -0
- package/dist/generated/client/floor_hook/instructions/clearTeamBuyBooks.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/clearTeamBuyBooks.js +57 -0
- package/dist/generated/client/floor_hook/instructions/clearTeamBuyBooks.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/creditFloorPool.d.ts +91 -0
- package/dist/generated/client/floor_hook/instructions/creditFloorPool.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/creditFloorPool.js +79 -0
- package/dist/generated/client/floor_hook/instructions/creditFloorPool.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/creditTraderBucket.d.ts +51 -0
- package/dist/generated/client/floor_hook/instructions/creditTraderBucket.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/creditTraderBucket.js +61 -0
- package/dist/generated/client/floor_hook/instructions/creditTraderBucket.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/designateFloorPool.d.ts +61 -0
- package/dist/generated/client/floor_hook/instructions/designateFloorPool.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/designateFloorPool.js +67 -0
- package/dist/generated/client/floor_hook/instructions/designateFloorPool.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/donateInventory.d.ts +58 -0
- package/dist/generated/client/floor_hook/instructions/donateInventory.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/donateInventory.js +45 -0
- package/dist/generated/client/floor_hook/instructions/donateInventory.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/index.d.ts +55 -0
- package/dist/generated/client/floor_hook/instructions/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/index.js +55 -0
- package/dist/generated/client/floor_hook/instructions/index.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/initializeHookConfig.d.ts +66 -0
- package/dist/generated/client/floor_hook/instructions/initializeHookConfig.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/initializeHookConfig.js +74 -0
- package/dist/generated/client/floor_hook/instructions/initializeHookConfig.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/initializeTeamTreasury.d.ts +63 -0
- package/dist/generated/client/floor_hook/instructions/initializeTeamTreasury.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/initializeTeamTreasury.js +71 -0
- package/dist/generated/client/floor_hook/instructions/initializeTeamTreasury.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/listQuote.d.ts +94 -0
- package/dist/generated/client/floor_hook/instructions/listQuote.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/listQuote.js +74 -0
- package/dist/generated/client/floor_hook/instructions/listQuote.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/observeQuote.d.ts +46 -0
- package/dist/generated/client/floor_hook/instructions/observeQuote.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/observeQuote.js +43 -0
- package/dist/generated/client/floor_hook/instructions/observeQuote.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/openTraderBucket.d.ts +44 -0
- package/dist/generated/client/floor_hook/instructions/openTraderBucket.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/openTraderBucket.js +47 -0
- package/dist/generated/client/floor_hook/instructions/openTraderBucket.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/openTraderRefVault.d.ts +58 -0
- package/dist/generated/client/floor_hook/instructions/openTraderRefVault.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/openTraderRefVault.js +76 -0
- package/dist/generated/client/floor_hook/instructions/openTraderRefVault.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/payHolder.d.ts +78 -0
- package/dist/generated/client/floor_hook/instructions/payHolder.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/payHolder.js +61 -0
- package/dist/generated/client/floor_hook/instructions/payHolder.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/payHolderAuthorized.d.ts +78 -0
- package/dist/generated/client/floor_hook/instructions/payHolderAuthorized.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/payHolderAuthorized.js +61 -0
- package/dist/generated/client/floor_hook/instructions/payHolderAuthorized.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/preparePositions.d.ts +64 -0
- package/dist/generated/client/floor_hook/instructions/preparePositions.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/preparePositions.js +64 -0
- package/dist/generated/client/floor_hook/instructions/preparePositions.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/ratchet.d.ts +100 -0
- package/dist/generated/client/floor_hook/instructions/ratchet.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/ratchet.js +73 -0
- package/dist/generated/client/floor_hook/instructions/ratchet.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/reclaimStairArray.d.ts +69 -0
- package/dist/generated/client/floor_hook/instructions/reclaimStairArray.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/reclaimStairArray.js +68 -0
- package/dist/generated/client/floor_hook/instructions/reclaimStairArray.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/registerPool.d.ts +196 -0
- package/dist/generated/client/floor_hook/instructions/registerPool.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/registerPool.js +72 -0
- package/dist/generated/client/floor_hook/instructions/registerPool.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/resolveRecipient.d.ts +61 -0
- package/dist/generated/client/floor_hook/instructions/resolveRecipient.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/resolveRecipient.js +61 -0
- package/dist/generated/client/floor_hook/instructions/resolveRecipient.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/resolveStairPayee.d.ts +61 -0
- package/dist/generated/client/floor_hook/instructions/resolveStairPayee.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/resolveStairPayee.js +61 -0
- package/dist/generated/client/floor_hook/instructions/resolveStairPayee.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/retireQuote.d.ts +52 -0
- package/dist/generated/client/floor_hook/instructions/retireQuote.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/retireQuote.js +57 -0
- package/dist/generated/client/floor_hook/instructions/retireQuote.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/seedFloor.d.ts +61 -0
- package/dist/generated/client/floor_hook/instructions/seedFloor.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/seedFloor.js +45 -0
- package/dist/generated/client/floor_hook/instructions/seedFloor.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/seedInventory.d.ts +151 -0
- package/dist/generated/client/floor_hook/instructions/seedInventory.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/seedInventory.js +69 -0
- package/dist/generated/client/floor_hook/instructions/seedInventory.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/seedLiquidity.d.ts +118 -0
- package/dist/generated/client/floor_hook/instructions/seedLiquidity.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/seedLiquidity.js +69 -0
- package/dist/generated/client/floor_hook/instructions/seedLiquidity.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setAllowAllQuotes.d.ts +54 -0
- package/dist/generated/client/floor_hook/instructions/setAllowAllQuotes.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setAllowAllQuotes.js +61 -0
- package/dist/generated/client/floor_hook/instructions/setAllowAllQuotes.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setGenesisStair.d.ts +63 -0
- package/dist/generated/client/floor_hook/instructions/setGenesisStair.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setGenesisStair.js +65 -0
- package/dist/generated/client/floor_hook/instructions/setGenesisStair.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setHookGovernance.d.ts +57 -0
- package/dist/generated/client/floor_hook/instructions/setHookGovernance.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setHookGovernance.js +61 -0
- package/dist/generated/client/floor_hook/instructions/setHookGovernance.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setQuoteEconomics.d.ts +61 -0
- package/dist/generated/client/floor_hook/instructions/setQuoteEconomics.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setQuoteEconomics.js +61 -0
- package/dist/generated/client/floor_hook/instructions/setQuoteEconomics.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setTeamTreasuryGovernance.d.ts +60 -0
- package/dist/generated/client/floor_hook/instructions/setTeamTreasuryGovernance.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setTeamTreasuryGovernance.js +64 -0
- package/dist/generated/client/floor_hook/instructions/setTeamTreasuryGovernance.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setTreasuryGovernance.d.ts +60 -0
- package/dist/generated/client/floor_hook/instructions/setTreasuryGovernance.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/setTreasuryGovernance.js +64 -0
- package/dist/generated/client/floor_hook/instructions/setTreasuryGovernance.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/sweepPlatformCut.d.ts +85 -0
- package/dist/generated/client/floor_hook/instructions/sweepPlatformCut.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/sweepPlatformCut.js +76 -0
- package/dist/generated/client/floor_hook/instructions/sweepPlatformCut.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/sweepStairFees.d.ts +93 -0
- package/dist/generated/client/floor_hook/instructions/sweepStairFees.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/sweepStairFees.js +72 -0
- package/dist/generated/client/floor_hook/instructions/sweepStairFees.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/sweepStairPayee.d.ts +84 -0
- package/dist/generated/client/floor_hook/instructions/sweepStairPayee.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/sweepStairPayee.js +65 -0
- package/dist/generated/client/floor_hook/instructions/sweepStairPayee.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/sweepTraderReferral.d.ts +73 -0
- package/dist/generated/client/floor_hook/instructions/sweepTraderReferral.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/sweepTraderReferral.js +64 -0
- package/dist/generated/client/floor_hook/instructions/sweepTraderReferral.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/twapTick.d.ts +40 -0
- package/dist/generated/client/floor_hook/instructions/twapTick.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/twapTick.js +45 -0
- package/dist/generated/client/floor_hook/instructions/twapTick.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/withdrawPlatform.d.ts +66 -0
- package/dist/generated/client/floor_hook/instructions/withdrawPlatform.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/withdrawPlatform.js +68 -0
- package/dist/generated/client/floor_hook/instructions/withdrawPlatform.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/withdrawStairTokens.d.ts +97 -0
- package/dist/generated/client/floor_hook/instructions/withdrawStairTokens.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/withdrawStairTokens.js +68 -0
- package/dist/generated/client/floor_hook/instructions/withdrawStairTokens.js.map +1 -0
- package/dist/generated/client/floor_hook/instructions/withdrawTeam.d.ts +66 -0
- package/dist/generated/client/floor_hook/instructions/withdrawTeam.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/instructions/withdrawTeam.js +68 -0
- package/dist/generated/client/floor_hook/instructions/withdrawTeam.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/floorPlatformPool.d.ts +12 -0
- package/dist/generated/client/floor_hook/pdas/floorPlatformPool.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/floorPlatformPool.js +13 -0
- package/dist/generated/client/floor_hook/pdas/floorPlatformPool.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/hookAuthority.d.ts +12 -0
- package/dist/generated/client/floor_hook/pdas/hookAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/hookAuthority.js +13 -0
- package/dist/generated/client/floor_hook/pdas/hookAuthority.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/hookConfig.d.ts +12 -0
- package/dist/generated/client/floor_hook/pdas/hookConfig.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/hookConfig.js +13 -0
- package/dist/generated/client/floor_hook/pdas/hookConfig.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/index.d.ts +16 -0
- package/dist/generated/client/floor_hook/pdas/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/index.js +16 -0
- package/dist/generated/client/floor_hook/pdas/index.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/platformTreasury.d.ts +12 -0
- package/dist/generated/client/floor_hook/pdas/platformTreasury.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/platformTreasury.js +13 -0
- package/dist/generated/client/floor_hook/pdas/platformTreasury.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/quotePolicy.d.ts +15 -0
- package/dist/generated/client/floor_hook/pdas/quotePolicy.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/quotePolicy.js +13 -0
- package/dist/generated/client/floor_hook/pdas/quotePolicy.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/stairRent.d.ts +15 -0
- package/dist/generated/client/floor_hook/pdas/stairRent.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/stairRent.js +13 -0
- package/dist/generated/client/floor_hook/pdas/stairRent.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/teamTreasury.d.ts +12 -0
- package/dist/generated/client/floor_hook/pdas/teamTreasury.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/teamTreasury.js +13 -0
- package/dist/generated/client/floor_hook/pdas/teamTreasury.js.map +1 -0
- package/dist/generated/client/floor_hook/pdas/vaultAuthority.d.ts +12 -0
- package/dist/generated/client/floor_hook/pdas/vaultAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/pdas/vaultAuthority.js +13 -0
- package/dist/generated/client/floor_hook/pdas/vaultAuthority.js.map +1 -0
- package/dist/generated/client/floor_hook/programs/floorHook.d.ts +302 -0
- package/dist/generated/client/floor_hook/programs/floorHook.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/programs/floorHook.js +622 -0
- package/dist/generated/client/floor_hook/programs/floorHook.js.map +1 -0
- package/dist/generated/client/floor_hook/programs/index.d.ts +9 -0
- package/dist/generated/client/floor_hook/programs/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/programs/index.js +9 -0
- package/dist/generated/client/floor_hook/programs/index.js.map +1 -0
- package/dist/generated/client/floor_hook/types/actionResult.d.ts +31 -0
- package/dist/generated/client/floor_hook/types/actionResult.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/actionResult.js +19 -0
- package/dist/generated/client/floor_hook/types/actionResult.js.map +1 -0
- package/dist/generated/client/floor_hook/types/balanceDelta.d.ts +20 -0
- package/dist/generated/client/floor_hook/types/balanceDelta.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/balanceDelta.js +18 -0
- package/dist/generated/client/floor_hook/types/balanceDelta.js.map +1 -0
- package/dist/generated/client/floor_hook/types/hookAction.d.ts +41 -0
- package/dist/generated/client/floor_hook/types/hookAction.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/hookAction.js +25 -0
- package/dist/generated/client/floor_hook/types/hookAction.js.map +1 -0
- package/dist/generated/client/floor_hook/types/hookRecordV1.d.ts +37 -0
- package/dist/generated/client/floor_hook/types/hookRecordV1.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/hookRecordV1.js +19 -0
- package/dist/generated/client/floor_hook/types/hookRecordV1.js.map +1 -0
- package/dist/generated/client/floor_hook/types/index.d.ts +18 -0
- package/dist/generated/client/floor_hook/types/index.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/index.js +18 -0
- package/dist/generated/client/floor_hook/types/index.js.map +1 -0
- package/dist/generated/client/floor_hook/types/poolSnapshot.d.ts +24 -0
- package/dist/generated/client/floor_hook/types/poolSnapshot.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/poolSnapshot.js +18 -0
- package/dist/generated/client/floor_hook/types/poolSnapshot.js.map +1 -0
- package/dist/generated/client/floor_hook/types/rentOwnerArg.d.ts +16 -0
- package/dist/generated/client/floor_hook/types/rentOwnerArg.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/rentOwnerArg.js +18 -0
- package/dist/generated/client/floor_hook/types/rentOwnerArg.js.map +1 -0
- package/dist/generated/client/floor_hook/types/slotArg.d.ts +18 -0
- package/dist/generated/client/floor_hook/types/slotArg.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/slotArg.js +18 -0
- package/dist/generated/client/floor_hook/types/slotArg.js.map +1 -0
- package/dist/generated/client/floor_hook/types/stairOwnerKindArg.d.ts +16 -0
- package/dist/generated/client/floor_hook/types/stairOwnerKindArg.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/stairOwnerKindArg.js +18 -0
- package/dist/generated/client/floor_hook/types/stairOwnerKindArg.js.map +1 -0
- package/dist/generated/client/floor_hook/types/swapParams.d.ts +22 -0
- package/dist/generated/client/floor_hook/types/swapParams.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/swapParams.js +18 -0
- package/dist/generated/client/floor_hook/types/swapParams.js.map +1 -0
- package/dist/generated/client/floor_hook/types/u128.d.ts +18 -0
- package/dist/generated/client/floor_hook/types/u128.d.ts.map +1 -0
- package/dist/generated/client/floor_hook/types/u128.js +18 -0
- package/dist/generated/client/floor_hook/types/u128.js.map +1 -0
- package/dist/generated/client/floor_launch/accounts/buyerPosition.d.ts +39 -0
- package/dist/generated/client/floor_launch/accounts/buyerPosition.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/accounts/buyerPosition.js +47 -0
- package/dist/generated/client/floor_launch/accounts/buyerPosition.js.map +1 -0
- package/dist/generated/client/floor_launch/accounts/genesisSale.d.ts +111 -0
- package/dist/generated/client/floor_launch/accounts/genesisSale.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/accounts/genesisSale.js +47 -0
- package/dist/generated/client/floor_launch/accounts/genesisSale.js.map +1 -0
- package/dist/generated/client/floor_launch/accounts/index.d.ts +15 -0
- package/dist/generated/client/floor_launch/accounts/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/accounts/index.js +15 -0
- package/dist/generated/client/floor_launch/accounts/index.js.map +1 -0
- package/dist/generated/client/floor_launch/accounts/launch.d.ts +134 -0
- package/dist/generated/client/floor_launch/accounts/launch.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/accounts/launch.js +48 -0
- package/dist/generated/client/floor_launch/accounts/launch.js.map +1 -0
- package/dist/generated/client/floor_launch/accounts/launchConfig.d.ts +81 -0
- package/dist/generated/client/floor_launch/accounts/launchConfig.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/accounts/launchConfig.js +47 -0
- package/dist/generated/client/floor_launch/accounts/launchConfig.js.map +1 -0
- package/dist/generated/client/floor_launch/accounts/presetRegistry.d.ts +44 -0
- package/dist/generated/client/floor_launch/accounts/presetRegistry.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/accounts/presetRegistry.js +48 -0
- package/dist/generated/client/floor_launch/accounts/presetRegistry.js.map +1 -0
- package/dist/generated/client/floor_launch/accounts/quoteWalk.d.ts +51 -0
- package/dist/generated/client/floor_launch/accounts/quoteWalk.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/accounts/quoteWalk.js +47 -0
- package/dist/generated/client/floor_launch/accounts/quoteWalk.js.map +1 -0
- package/dist/generated/client/floor_launch/accounts/registryEntry.d.ts +43 -0
- package/dist/generated/client/floor_launch/accounts/registryEntry.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/accounts/registryEntry.js +47 -0
- package/dist/generated/client/floor_launch/accounts/registryEntry.js.map +1 -0
- package/dist/generated/client/floor_launch/constants/floorLaunch.d.ts +20 -0
- package/dist/generated/client/floor_launch/constants/floorLaunch.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/constants/floorLaunch.js +19 -0
- package/dist/generated/client/floor_launch/constants/floorLaunch.js.map +1 -0
- package/dist/generated/client/floor_launch/constants/index.d.ts +9 -0
- package/dist/generated/client/floor_launch/constants/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/constants/index.js +9 -0
- package/dist/generated/client/floor_launch/constants/index.js.map +1 -0
- package/dist/generated/client/floor_launch/errors/floorLaunch.d.ts +222 -0
- package/dist/generated/client/floor_launch/errors/floorLaunch.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/errors/floorLaunch.js +225 -0
- package/dist/generated/client/floor_launch/errors/floorLaunch.js.map +1 -0
- package/dist/generated/client/floor_launch/errors/index.d.ts +9 -0
- package/dist/generated/client/floor_launch/errors/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/errors/index.js +9 -0
- package/dist/generated/client/floor_launch/errors/index.js.map +1 -0
- package/dist/generated/client/floor_launch/events/allocationDustRouted.d.ts +25 -0
- package/dist/generated/client/floor_launch/events/allocationDustRouted.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/allocationDustRouted.js +30 -0
- package/dist/generated/client/floor_launch/events/allocationDustRouted.js.map +1 -0
- package/dist/generated/client/floor_launch/events/attestorChanged.d.ts +25 -0
- package/dist/generated/client/floor_launch/events/attestorChanged.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/attestorChanged.js +30 -0
- package/dist/generated/client/floor_launch/events/attestorChanged.js.map +1 -0
- package/dist/generated/client/floor_launch/events/bought.d.ts +37 -0
- package/dist/generated/client/floor_launch/events/bought.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/bought.js +30 -0
- package/dist/generated/client/floor_launch/events/bought.js.map +1 -0
- package/dist/generated/client/floor_launch/events/contributed.d.ts +39 -0
- package/dist/generated/client/floor_launch/events/contributed.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/contributed.js +30 -0
- package/dist/generated/client/floor_launch/events/contributed.js.map +1 -0
- package/dist/generated/client/floor_launch/events/floorFeesApplied.d.ts +27 -0
- package/dist/generated/client/floor_launch/events/floorFeesApplied.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/floorFeesApplied.js +30 -0
- package/dist/generated/client/floor_launch/events/floorFeesApplied.js.map +1 -0
- package/dist/generated/client/floor_launch/events/floorShareUpdated.d.ts +24 -0
- package/dist/generated/client/floor_launch/events/floorShareUpdated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/floorShareUpdated.js +30 -0
- package/dist/generated/client/floor_launch/events/floorShareUpdated.js.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisAuthorityTransferStarted.d.ts +24 -0
- package/dist/generated/client/floor_launch/events/genesisAuthorityTransferStarted.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisAuthorityTransferStarted.js +30 -0
- package/dist/generated/client/floor_launch/events/genesisAuthorityTransferStarted.js.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisAuthorityTransferred.d.ts +24 -0
- package/dist/generated/client/floor_launch/events/genesisAuthorityTransferred.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisAuthorityTransferred.js +30 -0
- package/dist/generated/client/floor_launch/events/genesisAuthorityTransferred.js.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisClaimed.d.ts +31 -0
- package/dist/generated/client/floor_launch/events/genesisClaimed.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisClaimed.js +30 -0
- package/dist/generated/client/floor_launch/events/genesisClaimed.js.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisGraduated.d.ts +39 -0
- package/dist/generated/client/floor_launch/events/genesisGraduated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisGraduated.js +30 -0
- package/dist/generated/client/floor_launch/events/genesisGraduated.js.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisInitialized.d.ts +37 -0
- package/dist/generated/client/floor_launch/events/genesisInitialized.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisInitialized.js +30 -0
- package/dist/generated/client/floor_launch/events/genesisInitialized.js.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisRefunded.d.ts +29 -0
- package/dist/generated/client/floor_launch/events/genesisRefunded.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisRefunded.js +30 -0
- package/dist/generated/client/floor_launch/events/genesisRefunded.js.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisStairTopUpdated.d.ts +27 -0
- package/dist/generated/client/floor_launch/events/genesisStairTopUpdated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisStairTopUpdated.js +30 -0
- package/dist/generated/client/floor_launch/events/genesisStairTopUpdated.js.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisWhitelistUpdated.d.ts +25 -0
- package/dist/generated/client/floor_launch/events/genesisWhitelistUpdated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/genesisWhitelistUpdated.js +30 -0
- package/dist/generated/client/floor_launch/events/genesisWhitelistUpdated.js.map +1 -0
- package/dist/generated/client/floor_launch/events/governanceChanged.d.ts +26 -0
- package/dist/generated/client/floor_launch/events/governanceChanged.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/governanceChanged.js +30 -0
- package/dist/generated/client/floor_launch/events/governanceChanged.js.map +1 -0
- package/dist/generated/client/floor_launch/events/graduated.d.ts +35 -0
- package/dist/generated/client/floor_launch/events/graduated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/graduated.js +30 -0
- package/dist/generated/client/floor_launch/events/graduated.js.map +1 -0
- package/dist/generated/client/floor_launch/events/graduationPrepared.d.ts +33 -0
- package/dist/generated/client/floor_launch/events/graduationPrepared.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/graduationPrepared.js +30 -0
- package/dist/generated/client/floor_launch/events/graduationPrepared.js.map +1 -0
- package/dist/generated/client/floor_launch/events/graduationRentClosed.d.ts +31 -0
- package/dist/generated/client/floor_launch/events/graduationRentClosed.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/graduationRentClosed.js +30 -0
- package/dist/generated/client/floor_launch/events/graduationRentClosed.js.map +1 -0
- package/dist/generated/client/floor_launch/events/graduationRentReserved.d.ts +29 -0
- package/dist/generated/client/floor_launch/events/graduationRentReserved.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/graduationRentReserved.js +30 -0
- package/dist/generated/client/floor_launch/events/graduationRentReserved.js.map +1 -0
- package/dist/generated/client/floor_launch/events/index.d.ts +52 -0
- package/dist/generated/client/floor_launch/events/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/index.js +52 -0
- package/dist/generated/client/floor_launch/events/index.js.map +1 -0
- package/dist/generated/client/floor_launch/events/launchConfigInitialized.d.ts +26 -0
- package/dist/generated/client/floor_launch/events/launchConfigInitialized.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/launchConfigInitialized.js +30 -0
- package/dist/generated/client/floor_launch/events/launchConfigInitialized.js.map +1 -0
- package/dist/generated/client/floor_launch/events/launchCreated.d.ts +55 -0
- package/dist/generated/client/floor_launch/events/launchCreated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/launchCreated.js +30 -0
- package/dist/generated/client/floor_launch/events/launchCreated.js.map +1 -0
- package/dist/generated/client/floor_launch/events/launchEconomicsUpdated.d.ts +39 -0
- package/dist/generated/client/floor_launch/events/launchEconomicsUpdated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/launchEconomicsUpdated.js +30 -0
- package/dist/generated/client/floor_launch/events/launchEconomicsUpdated.js.map +1 -0
- package/dist/generated/client/floor_launch/events/metadataBaseSet.d.ts +31 -0
- package/dist/generated/client/floor_launch/events/metadataBaseSet.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/metadataBaseSet.js +30 -0
- package/dist/generated/client/floor_launch/events/metadataBaseSet.js.map +1 -0
- package/dist/generated/client/floor_launch/events/metadataUriFilled.d.ts +25 -0
- package/dist/generated/client/floor_launch/events/metadataUriFilled.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/metadataUriFilled.js +30 -0
- package/dist/generated/client/floor_launch/events/metadataUriFilled.js.map +1 -0
- package/dist/generated/client/floor_launch/events/openingTick.d.ts +31 -0
- package/dist/generated/client/floor_launch/events/openingTick.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/openingTick.js +30 -0
- package/dist/generated/client/floor_launch/events/openingTick.js.map +1 -0
- package/dist/generated/client/floor_launch/events/payeeSlotsSet.d.ts +30 -0
- package/dist/generated/client/floor_launch/events/payeeSlotsSet.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/payeeSlotsSet.js +31 -0
- package/dist/generated/client/floor_launch/events/payeeSlotsSet.js.map +1 -0
- package/dist/generated/client/floor_launch/events/presetAdded.d.ts +28 -0
- package/dist/generated/client/floor_launch/events/presetAdded.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/presetAdded.js +31 -0
- package/dist/generated/client/floor_launch/events/presetAdded.js.map +1 -0
- package/dist/generated/client/floor_launch/events/presetAuthorityTransferStarted.d.ts +24 -0
- package/dist/generated/client/floor_launch/events/presetAuthorityTransferStarted.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/presetAuthorityTransferStarted.js +30 -0
- package/dist/generated/client/floor_launch/events/presetAuthorityTransferStarted.js.map +1 -0
- package/dist/generated/client/floor_launch/events/presetAuthorityTransferred.d.ts +24 -0
- package/dist/generated/client/floor_launch/events/presetAuthorityTransferred.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/presetAuthorityTransferred.js +30 -0
- package/dist/generated/client/floor_launch/events/presetAuthorityTransferred.js.map +1 -0
- package/dist/generated/client/floor_launch/events/presetEnabled.d.ts +24 -0
- package/dist/generated/client/floor_launch/events/presetEnabled.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/presetEnabled.js +30 -0
- package/dist/generated/client/floor_launch/events/presetEnabled.js.map +1 -0
- package/dist/generated/client/floor_launch/events/quoteChainPriced.d.ts +33 -0
- package/dist/generated/client/floor_launch/events/quoteChainPriced.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/quoteChainPriced.js +30 -0
- package/dist/generated/client/floor_launch/events/quoteChainPriced.js.map +1 -0
- package/dist/generated/client/floor_launch/events/recipientClaimed.d.ts +26 -0
- package/dist/generated/client/floor_launch/events/recipientClaimed.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/recipientClaimed.js +30 -0
- package/dist/generated/client/floor_launch/events/recipientClaimed.js.map +1 -0
- package/dist/generated/client/floor_launch/events/saleTraderReferralBooked.d.ts +33 -0
- package/dist/generated/client/floor_launch/events/saleTraderReferralBooked.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/saleTraderReferralBooked.js +30 -0
- package/dist/generated/client/floor_launch/events/saleTraderReferralBooked.js.map +1 -0
- package/dist/generated/client/floor_launch/events/saleTraderReferralSwept.d.ts +29 -0
- package/dist/generated/client/floor_launch/events/saleTraderReferralSwept.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/saleTraderReferralSwept.js +30 -0
- package/dist/generated/client/floor_launch/events/saleTraderReferralSwept.js.map +1 -0
- package/dist/generated/client/floor_launch/events/scheduleUpdated.d.ts +29 -0
- package/dist/generated/client/floor_launch/events/scheduleUpdated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/scheduleUpdated.js +30 -0
- package/dist/generated/client/floor_launch/events/scheduleUpdated.js.map +1 -0
- package/dist/generated/client/floor_launch/events/soldBack.d.ts +35 -0
- package/dist/generated/client/floor_launch/events/soldBack.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/soldBack.js +30 -0
- package/dist/generated/client/floor_launch/events/soldBack.js.map +1 -0
- package/dist/generated/client/floor_launch/events/stairPayeeClaimed.d.ts +26 -0
- package/dist/generated/client/floor_launch/events/stairPayeeClaimed.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/stairPayeeClaimed.js +30 -0
- package/dist/generated/client/floor_launch/events/stairPayeeClaimed.js.map +1 -0
- package/dist/generated/client/floor_launch/events/stairRentFunded.d.ts +33 -0
- package/dist/generated/client/floor_launch/events/stairRentFunded.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/stairRentFunded.js +30 -0
- package/dist/generated/client/floor_launch/events/stairRentFunded.js.map +1 -0
- package/dist/generated/client/floor_launch/events/teamBought.d.ts +41 -0
- package/dist/generated/client/floor_launch/events/teamBought.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/teamBought.js +30 -0
- package/dist/generated/client/floor_launch/events/teamBought.js.map +1 -0
- package/dist/generated/client/floor_launch/events/teamBuySoldBack.d.ts +37 -0
- package/dist/generated/client/floor_launch/events/teamBuySoldBack.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/teamBuySoldBack.js +30 -0
- package/dist/generated/client/floor_launch/events/teamBuySoldBack.js.map +1 -0
- package/dist/generated/client/floor_launch/events/teamFeesSet.d.ts +28 -0
- package/dist/generated/client/floor_launch/events/teamFeesSet.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/teamFeesSet.js +30 -0
- package/dist/generated/client/floor_launch/events/teamFeesSet.js.map +1 -0
- package/dist/generated/client/floor_launch/events/teamVestedClaimed.d.ts +33 -0
- package/dist/generated/client/floor_launch/events/teamVestedClaimed.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/teamVestedClaimed.js +30 -0
- package/dist/generated/client/floor_launch/events/teamVestedClaimed.js.map +1 -0
- package/dist/generated/client/floor_launch/events/traderLinked.d.ts +26 -0
- package/dist/generated/client/floor_launch/events/traderLinked.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/traderLinked.js +30 -0
- package/dist/generated/client/floor_launch/events/traderLinked.js.map +1 -0
- package/dist/generated/client/floor_launch/events/vestingCreated.d.ts +23 -0
- package/dist/generated/client/floor_launch/events/vestingCreated.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/events/vestingCreated.js +30 -0
- package/dist/generated/client/floor_launch/events/vestingCreated.js.map +1 -0
- package/dist/generated/client/floor_launch/index.d.ts +16 -0
- package/dist/generated/client/floor_launch/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/index.js +16 -0
- package/dist/generated/client/floor_launch/index.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/acceptGenesisAuthority.d.ts +49 -0
- package/dist/generated/client/floor_launch/instructions/acceptGenesisAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/acceptGenesisAuthority.js +57 -0
- package/dist/generated/client/floor_launch/instructions/acceptGenesisAuthority.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/acceptGovernance.d.ts +49 -0
- package/dist/generated/client/floor_launch/instructions/acceptGovernance.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/acceptGovernance.js +57 -0
- package/dist/generated/client/floor_launch/instructions/acceptGovernance.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/acceptPresetAuthority.d.ts +49 -0
- package/dist/generated/client/floor_launch/instructions/acceptPresetAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/acceptPresetAuthority.js +57 -0
- package/dist/generated/client/floor_launch/instructions/acceptPresetAuthority.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/addPreset.d.ts +55 -0
- package/dist/generated/client/floor_launch/instructions/addPreset.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/addPreset.js +62 -0
- package/dist/generated/client/floor_launch/instructions/addPreset.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/buy.d.ts +89 -0
- package/dist/generated/client/floor_launch/instructions/buy.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/buy.js +89 -0
- package/dist/generated/client/floor_launch/instructions/buy.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimGenesis.d.ts +73 -0
- package/dist/generated/client/floor_launch/instructions/claimGenesis.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimGenesis.js +79 -0
- package/dist/generated/client/floor_launch/instructions/claimGenesis.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimGenesisPayee.d.ts +79 -0
- package/dist/generated/client/floor_launch/instructions/claimGenesisPayee.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimGenesisPayee.js +64 -0
- package/dist/generated/client/floor_launch/instructions/claimGenesisPayee.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimRecipient.d.ts +83 -0
- package/dist/generated/client/floor_launch/instructions/claimRecipient.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimRecipient.js +64 -0
- package/dist/generated/client/floor_launch/instructions/claimRecipient.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimTeamPayee.d.ts +83 -0
- package/dist/generated/client/floor_launch/instructions/claimTeamPayee.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimTeamPayee.js +64 -0
- package/dist/generated/client/floor_launch/instructions/claimTeamPayee.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimTeamVested.d.ts +69 -0
- package/dist/generated/client/floor_launch/instructions/claimTeamVested.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/claimTeamVested.js +68 -0
- package/dist/generated/client/floor_launch/instructions/claimTeamVested.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/closeBuyerPosition.d.ts +46 -0
- package/dist/generated/client/floor_launch/instructions/closeBuyerPosition.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/closeBuyerPosition.js +57 -0
- package/dist/generated/client/floor_launch/instructions/closeBuyerPosition.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/closeGraduationRent.d.ts +52 -0
- package/dist/generated/client/floor_launch/instructions/closeGraduationRent.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/closeGraduationRent.js +57 -0
- package/dist/generated/client/floor_launch/instructions/closeGraduationRent.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/closePreparedTickArray.d.ts +61 -0
- package/dist/generated/client/floor_launch/instructions/closePreparedTickArray.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/closePreparedTickArray.js +57 -0
- package/dist/generated/client/floor_launch/instructions/closePreparedTickArray.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/closeQuoteWalk.d.ts +36 -0
- package/dist/generated/client/floor_launch/instructions/closeQuoteWalk.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/closeQuoteWalk.js +43 -0
- package/dist/generated/client/floor_launch/instructions/closeQuoteWalk.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/contribute.d.ts +74 -0
- package/dist/generated/client/floor_launch/instructions/contribute.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/contribute.js +74 -0
- package/dist/generated/client/floor_launch/instructions/contribute.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/createLaunch.d.ts +243 -0
- package/dist/generated/client/floor_launch/instructions/createLaunch.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/createLaunch.js +118 -0
- package/dist/generated/client/floor_launch/instructions/createLaunch.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/endGenesisSale.d.ts +67 -0
- package/dist/generated/client/floor_launch/instructions/endGenesisSale.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/endGenesisSale.js +60 -0
- package/dist/generated/client/floor_launch/instructions/endGenesisSale.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/fillMetadataUri.d.ts +64 -0
- package/dist/generated/client/floor_launch/instructions/fillMetadataUri.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/fillMetadataUri.js +76 -0
- package/dist/generated/client/floor_launch/instructions/fillMetadataUri.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/flushAllocationDust.d.ts +79 -0
- package/dist/generated/client/floor_launch/instructions/flushAllocationDust.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/flushAllocationDust.js +64 -0
- package/dist/generated/client/floor_launch/instructions/flushAllocationDust.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/flushFloorFees.d.ts +88 -0
- package/dist/generated/client/floor_launch/instructions/flushFloorFees.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/flushFloorFees.js +73 -0
- package/dist/generated/client/floor_launch/instructions/flushFloorFees.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/fundStairRent.d.ts +55 -0
- package/dist/generated/client/floor_launch/instructions/fundStairRent.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/fundStairRent.js +57 -0
- package/dist/generated/client/floor_launch/instructions/fundStairRent.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/graduate.d.ts +67 -0
- package/dist/generated/client/floor_launch/instructions/graduate.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/graduate.js +76 -0
- package/dist/generated/client/floor_launch/instructions/graduate.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/graduateGenesis.d.ts +70 -0
- package/dist/generated/client/floor_launch/instructions/graduateGenesis.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/graduateGenesis.js +76 -0
- package/dist/generated/client/floor_launch/instructions/graduateGenesis.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/index.d.ts +56 -0
- package/dist/generated/client/floor_launch/instructions/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/index.js +56 -0
- package/dist/generated/client/floor_launch/instructions/index.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/initGenesis.d.ts +99 -0
- package/dist/generated/client/floor_launch/instructions/initGenesis.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/initGenesis.js +80 -0
- package/dist/generated/client/floor_launch/instructions/initGenesis.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/initPresetRegistry.d.ts +58 -0
- package/dist/generated/client/floor_launch/instructions/initPresetRegistry.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/initPresetRegistry.js +67 -0
- package/dist/generated/client/floor_launch/instructions/initPresetRegistry.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/initializeLaunchConfig.d.ts +93 -0
- package/dist/generated/client/floor_launch/instructions/initializeLaunchConfig.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/initializeLaunchConfig.js +71 -0
- package/dist/generated/client/floor_launch/instructions/initializeLaunchConfig.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/linkTrader.d.ts +84 -0
- package/dist/generated/client/floor_launch/instructions/linkTrader.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/linkTrader.js +77 -0
- package/dist/generated/client/floor_launch/instructions/linkTrader.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/lockGenesis.d.ts +82 -0
- package/dist/generated/client/floor_launch/instructions/lockGenesis.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/lockGenesis.js +76 -0
- package/dist/generated/client/floor_launch/instructions/lockGenesis.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/openSaleTraderReferral.d.ts +58 -0
- package/dist/generated/client/floor_launch/instructions/openSaleTraderReferral.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/openSaleTraderReferral.js +67 -0
- package/dist/generated/client/floor_launch/instructions/openSaleTraderReferral.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/prepareGraduation.d.ts +58 -0
- package/dist/generated/client/floor_launch/instructions/prepareGraduation.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/prepareGraduation.js +70 -0
- package/dist/generated/client/floor_launch/instructions/prepareGraduation.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/refundGenesis.d.ts +58 -0
- package/dist/generated/client/floor_launch/instructions/refundGenesis.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/refundGenesis.js +63 -0
- package/dist/generated/client/floor_launch/instructions/refundGenesis.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/sellBack.d.ts +75 -0
- package/dist/generated/client/floor_launch/instructions/sellBack.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/sellBack.js +77 -0
- package/dist/generated/client/floor_launch/instructions/sellBack.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/sellBackWsol.d.ts +75 -0
- package/dist/generated/client/floor_launch/instructions/sellBackWsol.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/sellBackWsol.js +77 -0
- package/dist/generated/client/floor_launch/instructions/sellBackWsol.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setAttestor.d.ts +63 -0
- package/dist/generated/client/floor_launch/instructions/setAttestor.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setAttestor.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setAttestor.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisFloorShare.d.ts +54 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisFloorShare.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisFloorShare.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisFloorShare.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisSchedule.d.ts +58 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisSchedule.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisSchedule.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisSchedule.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisStairTop.d.ts +54 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisStairTop.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisStairTop.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisStairTop.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisWhitelist.d.ts +58 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisWhitelist.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisWhitelist.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setGenesisWhitelist.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGovernance.d.ts +54 -0
- package/dist/generated/client/floor_launch/instructions/setGovernance.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setGovernance.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setGovernance.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setLaunchEconomics.d.ts +65 -0
- package/dist/generated/client/floor_launch/instructions/setLaunchEconomics.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setLaunchEconomics.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setLaunchEconomics.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setMetadataBase.d.ts +54 -0
- package/dist/generated/client/floor_launch/instructions/setMetadataBase.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setMetadataBase.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setMetadataBase.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setPresetAuthority.d.ts +54 -0
- package/dist/generated/client/floor_launch/instructions/setPresetAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setPresetAuthority.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setPresetAuthority.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setPresetEnabled.d.ts +58 -0
- package/dist/generated/client/floor_launch/instructions/setPresetEnabled.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setPresetEnabled.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setPresetEnabled.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setTeamFees.d.ts +61 -0
- package/dist/generated/client/floor_launch/instructions/setTeamFees.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/setTeamFees.js +61 -0
- package/dist/generated/client/floor_launch/instructions/setTeamFees.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/sweepSaleTraderReferral.d.ts +61 -0
- package/dist/generated/client/floor_launch/instructions/sweepSaleTraderReferral.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/sweepSaleTraderReferral.js +57 -0
- package/dist/generated/client/floor_launch/instructions/sweepSaleTraderReferral.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/teamBuySellBack.d.ts +64 -0
- package/dist/generated/client/floor_launch/instructions/teamBuySellBack.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/teamBuySellBack.js +60 -0
- package/dist/generated/client/floor_launch/instructions/teamBuySellBack.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/transferGenesisAuthority.d.ts +54 -0
- package/dist/generated/client/floor_launch/instructions/transferGenesisAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/transferGenesisAuthority.js +61 -0
- package/dist/generated/client/floor_launch/instructions/transferGenesisAuthority.js.map +1 -0
- package/dist/generated/client/floor_launch/instructions/walkQuoteChain.d.ts +58 -0
- package/dist/generated/client/floor_launch/instructions/walkQuoteChain.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/instructions/walkQuoteChain.js +68 -0
- package/dist/generated/client/floor_launch/instructions/walkQuoteChain.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/buyerPosition.d.ts +16 -0
- package/dist/generated/client/floor_launch/pdas/buyerPosition.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/buyerPosition.js +13 -0
- package/dist/generated/client/floor_launch/pdas/buyerPosition.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/contributeContribution.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/contributeContribution.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/contributeContribution.js +13 -0
- package/dist/generated/client/floor_launch/pdas/contributeContribution.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/contribution.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/contribution.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/contribution.js +13 -0
- package/dist/generated/client/floor_launch/pdas/contribution.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/creatorTraderLink.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/creatorTraderLink.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/creatorTraderLink.js +13 -0
- package/dist/generated/client/floor_launch/pdas/creatorTraderLink.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/genesisSale.d.ts +12 -0
- package/dist/generated/client/floor_launch/pdas/genesisSale.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/genesisSale.js +13 -0
- package/dist/generated/client/floor_launch/pdas/genesisSale.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/graduationRent.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/graduationRent.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/graduationRent.js +13 -0
- package/dist/generated/client/floor_launch/pdas/graduationRent.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/index.d.ts +26 -0
- package/dist/generated/client/floor_launch/pdas/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/index.js +26 -0
- package/dist/generated/client/floor_launch/pdas/index.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/launch.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/launch.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/launch.js +13 -0
- package/dist/generated/client/floor_launch/pdas/launch.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/launchAuthority.d.ts +12 -0
- package/dist/generated/client/floor_launch/pdas/launchAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/launchAuthority.js +13 -0
- package/dist/generated/client/floor_launch/pdas/launchAuthority.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/launchConfig.d.ts +12 -0
- package/dist/generated/client/floor_launch/pdas/launchConfig.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/launchConfig.js +13 -0
- package/dist/generated/client/floor_launch/pdas/launchConfig.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/lockAuthority.d.ts +12 -0
- package/dist/generated/client/floor_launch/pdas/lockAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/lockAuthority.js +13 -0
- package/dist/generated/client/floor_launch/pdas/lockAuthority.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/mint.d.ts +16 -0
- package/dist/generated/client/floor_launch/pdas/mint.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/mint.js +13 -0
- package/dist/generated/client/floor_launch/pdas/mint.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/mintAuthority.d.ts +12 -0
- package/dist/generated/client/floor_launch/pdas/mintAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/mintAuthority.js +13 -0
- package/dist/generated/client/floor_launch/pdas/mintAuthority.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/presetRegistry.d.ts +12 -0
- package/dist/generated/client/floor_launch/pdas/presetRegistry.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/presetRegistry.js +13 -0
- package/dist/generated/client/floor_launch/pdas/presetRegistry.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/quoteWalk.d.ts +16 -0
- package/dist/generated/client/floor_launch/pdas/quoteWalk.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/quoteWalk.js +13 -0
- package/dist/generated/client/floor_launch/pdas/quoteWalk.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/registryEntry.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/registryEntry.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/registryEntry.js +13 -0
- package/dist/generated/client/floor_launch/pdas/registryEntry.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/saleVault.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/saleVault.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/saleVault.js +13 -0
- package/dist/generated/client/floor_launch/pdas/saleVault.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/traderLink.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/traderLink.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/traderLink.js +13 -0
- package/dist/generated/client/floor_launch/pdas/traderLink.js.map +1 -0
- package/dist/generated/client/floor_launch/pdas/traderRefSale.d.ts +15 -0
- package/dist/generated/client/floor_launch/pdas/traderRefSale.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/pdas/traderRefSale.js +13 -0
- package/dist/generated/client/floor_launch/pdas/traderRefSale.js.map +1 -0
- package/dist/generated/client/floor_launch/programs/floorLaunch.d.ts +319 -0
- package/dist/generated/client/floor_launch/programs/floorLaunch.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/programs/floorLaunch.js +634 -0
- package/dist/generated/client/floor_launch/programs/floorLaunch.js.map +1 -0
- package/dist/generated/client/floor_launch/programs/index.d.ts +9 -0
- package/dist/generated/client/floor_launch/programs/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/programs/index.js +9 -0
- package/dist/generated/client/floor_launch/programs/index.js.map +1 -0
- package/dist/generated/client/floor_launch/types/index.d.ts +12 -0
- package/dist/generated/client/floor_launch/types/index.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/types/index.js +12 -0
- package/dist/generated/client/floor_launch/types/index.js.map +1 -0
- package/dist/generated/client/floor_launch/types/presetRowArgs.d.ts +40 -0
- package/dist/generated/client/floor_launch/types/presetRowArgs.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/types/presetRowArgs.js +18 -0
- package/dist/generated/client/floor_launch/types/presetRowArgs.js.map +1 -0
- package/dist/generated/client/floor_launch/types/presetRowZc.d.ts +44 -0
- package/dist/generated/client/floor_launch/types/presetRowZc.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/types/presetRowZc.js +18 -0
- package/dist/generated/client/floor_launch/types/presetRowZc.js.map +1 -0
- package/dist/generated/client/floor_launch/types/slotArg.d.ts +18 -0
- package/dist/generated/client/floor_launch/types/slotArg.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/types/slotArg.js +18 -0
- package/dist/generated/client/floor_launch/types/slotArg.js.map +1 -0
- package/dist/generated/client/floor_launch/types/u128.d.ts +18 -0
- package/dist/generated/client/floor_launch/types/u128.d.ts.map +1 -0
- package/dist/generated/client/floor_launch/types/u128.js +18 -0
- package/dist/generated/client/floor_launch/types/u128.js.map +1 -0
- package/dist/generated/client/floor_vesting/accounts/index.d.ts +9 -0
- package/dist/generated/client/floor_vesting/accounts/index.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/accounts/index.js +9 -0
- package/dist/generated/client/floor_vesting/accounts/index.js.map +1 -0
- package/dist/generated/client/floor_vesting/accounts/vestingSchedule.d.ts +57 -0
- package/dist/generated/client/floor_vesting/accounts/vestingSchedule.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/accounts/vestingSchedule.js +47 -0
- package/dist/generated/client/floor_vesting/accounts/vestingSchedule.js.map +1 -0
- package/dist/generated/client/floor_vesting/errors/floorVesting.d.ts +42 -0
- package/dist/generated/client/floor_vesting/errors/floorVesting.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/errors/floorVesting.js +45 -0
- package/dist/generated/client/floor_vesting/errors/floorVesting.js.map +1 -0
- package/dist/generated/client/floor_vesting/errors/index.d.ts +9 -0
- package/dist/generated/client/floor_vesting/errors/index.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/errors/index.js +9 -0
- package/dist/generated/client/floor_vesting/errors/index.js.map +1 -0
- package/dist/generated/client/floor_vesting/events/absoluteSchedule.d.ts +33 -0
- package/dist/generated/client/floor_vesting/events/absoluteSchedule.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/events/absoluteSchedule.js +30 -0
- package/dist/generated/client/floor_vesting/events/absoluteSchedule.js.map +1 -0
- package/dist/generated/client/floor_vesting/events/claimed.d.ts +33 -0
- package/dist/generated/client/floor_vesting/events/claimed.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/events/claimed.js +30 -0
- package/dist/generated/client/floor_vesting/events/claimed.js.map +1 -0
- package/dist/generated/client/floor_vesting/events/index.d.ts +12 -0
- package/dist/generated/client/floor_vesting/events/index.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/events/index.js +12 -0
- package/dist/generated/client/floor_vesting/events/index.js.map +1 -0
- package/dist/generated/client/floor_vesting/events/scheduleClosed.d.ts +31 -0
- package/dist/generated/client/floor_vesting/events/scheduleClosed.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/events/scheduleClosed.js +30 -0
- package/dist/generated/client/floor_vesting/events/scheduleClosed.js.map +1 -0
- package/dist/generated/client/floor_vesting/events/scheduleCreated.d.ts +43 -0
- package/dist/generated/client/floor_vesting/events/scheduleCreated.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/events/scheduleCreated.js +30 -0
- package/dist/generated/client/floor_vesting/events/scheduleCreated.js.map +1 -0
- package/dist/generated/client/floor_vesting/index.d.ts +14 -0
- package/dist/generated/client/floor_vesting/index.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/index.js +14 -0
- package/dist/generated/client/floor_vesting/index.js.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/claim.d.ts +64 -0
- package/dist/generated/client/floor_vesting/instructions/claim.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/claim.js +67 -0
- package/dist/generated/client/floor_vesting/instructions/claim.js.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/closeSchedule.d.ts +67 -0
- package/dist/generated/client/floor_vesting/instructions/closeSchedule.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/closeSchedule.js +71 -0
- package/dist/generated/client/floor_vesting/instructions/closeSchedule.js.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/createSchedule.d.ts +87 -0
- package/dist/generated/client/floor_vesting/instructions/createSchedule.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/createSchedule.js +80 -0
- package/dist/generated/client/floor_vesting/instructions/createSchedule.js.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/createScheduleAt.d.ts +94 -0
- package/dist/generated/client/floor_vesting/instructions/createScheduleAt.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/createScheduleAt.js +80 -0
- package/dist/generated/client/floor_vesting/instructions/createScheduleAt.js.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/index.d.ts +12 -0
- package/dist/generated/client/floor_vesting/instructions/index.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/instructions/index.js +12 -0
- package/dist/generated/client/floor_vesting/instructions/index.js.map +1 -0
- package/dist/generated/client/floor_vesting/pdas/escrow.d.ts +15 -0
- package/dist/generated/client/floor_vesting/pdas/escrow.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/pdas/escrow.js +13 -0
- package/dist/generated/client/floor_vesting/pdas/escrow.js.map +1 -0
- package/dist/generated/client/floor_vesting/pdas/index.d.ts +11 -0
- package/dist/generated/client/floor_vesting/pdas/index.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/pdas/index.js +11 -0
- package/dist/generated/client/floor_vesting/pdas/index.js.map +1 -0
- package/dist/generated/client/floor_vesting/pdas/schedule.d.ts +16 -0
- package/dist/generated/client/floor_vesting/pdas/schedule.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/pdas/schedule.js +13 -0
- package/dist/generated/client/floor_vesting/pdas/schedule.js.map +1 -0
- package/dist/generated/client/floor_vesting/pdas/vestingAuthority.d.ts +12 -0
- package/dist/generated/client/floor_vesting/pdas/vestingAuthority.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/pdas/vestingAuthority.js +13 -0
- package/dist/generated/client/floor_vesting/pdas/vestingAuthority.js.map +1 -0
- package/dist/generated/client/floor_vesting/programs/floorVesting.d.ts +76 -0
- package/dist/generated/client/floor_vesting/programs/floorVesting.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/programs/floorVesting.js +98 -0
- package/dist/generated/client/floor_vesting/programs/floorVesting.js.map +1 -0
- package/dist/generated/client/floor_vesting/programs/index.d.ts +9 -0
- package/dist/generated/client/floor_vesting/programs/index.d.ts.map +1 -0
- package/dist/generated/client/floor_vesting/programs/index.js +9 -0
- package/dist/generated/client/floor_vesting/programs/index.js.map +1 -0
- package/dist/generated/deployments.d.ts +3 -0
- package/dist/generated/deployments.d.ts.map +1 -0
- package/dist/generated/deployments.js +89 -0
- package/dist/generated/deployments.js.map +1 -0
- package/dist/generated/idls.d.ts +12 -0
- package/dist/generated/idls.d.ts.map +1 -0
- package/dist/generated/idls.js +11 -0
- package/dist/generated/idls.js.map +1 -0
- package/dist/generated/wasm.d.ts +5 -0
- package/dist/generated/wasm.d.ts.map +1 -0
- package/dist/generated/wasm.js +6 -0
- package/dist/generated/wasm.js.map +1 -0
- package/dist/holders.d.ts +68 -0
- package/dist/holders.d.ts.map +1 -0
- package/dist/holders.js +124 -0
- package/dist/holders.js.map +1 -0
- package/dist/idl.d.ts +13 -0
- package/dist/idl.d.ts.map +1 -0
- package/dist/idl.js +17 -0
- package/dist/idl.js.map +1 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -0
- package/dist/layouts.d.ts +666 -0
- package/dist/layouts.d.ts.map +1 -0
- package/dist/layouts.js +420 -0
- package/dist/layouts.js.map +1 -0
- package/dist/pda.d.ts +88 -0
- package/dist/pda.d.ts.map +1 -0
- package/dist/pda.js +85 -0
- package/dist/pda.js.map +1 -0
- package/dist/predict.d.ts +169 -0
- package/dist/predict.d.ts.map +1 -0
- package/dist/predict.js +403 -0
- package/dist/predict.js.map +1 -0
- package/dist/quote/quoter.d.ts +212 -0
- package/dist/quote/quoter.d.ts.map +1 -0
- package/dist/quote/quoter.js +239 -0
- package/dist/quote/quoter.js.map +1 -0
- package/dist/quote/wasm.d.ts +22 -0
- package/dist/quote/wasm.d.ts.map +1 -0
- package/dist/quote/wasm.js +38 -0
- package/dist/quote/wasm.js.map +1 -0
- package/dist/slots.d.ts +86 -0
- package/dist/slots.d.ts.map +1 -0
- package/dist/slots.js +88 -0
- package/dist/slots.js.map +1 -0
- package/dist/stateView.d.ts +136 -0
- package/dist/stateView.d.ts.map +1 -0
- package/dist/stateView.js +203 -0
- package/dist/stateView.js.map +1 -0
- package/dist/tickmath.d.ts +60 -0
- package/dist/tickmath.d.ts.map +1 -0
- package/dist/tickmath.js +114 -0
- package/dist/tickmath.js.map +1 -0
- package/dist/twap.d.ts +34 -0
- package/dist/twap.d.ts.map +1 -0
- package/dist/twap.js +119 -0
- package/dist/twap.js.map +1 -0
- package/dist/tx/builders.d.ts +352 -0
- package/dist/tx/builders.d.ts.map +1 -0
- package/dist/tx/builders.js +484 -0
- package/dist/tx/builders.js.map +1 -0
- package/dist/tx/common.d.ts +34 -0
- package/dist/tx/common.d.ts.map +1 -0
- package/dist/tx/common.js +27 -0
- package/dist/tx/common.js.map +1 -0
- package/dist/tx/instructions.d.ts +303 -0
- package/dist/tx/instructions.d.ts.map +1 -0
- package/dist/tx/instructions.js +256 -0
- package/dist/tx/instructions.js.map +1 -0
- package/dist/tx/launchAlt.d.ts +41 -0
- package/dist/tx/launchAlt.d.ts.map +1 -0
- package/dist/tx/launchAlt.js +49 -0
- package/dist/tx/launchAlt.js.map +1 -0
- package/dist/tx/traderRef.d.ts +107 -0
- package/dist/tx/traderRef.d.ts.map +1 -0
- package/dist/tx/traderRef.js +132 -0
- package/dist/tx/traderRef.js.map +1 -0
- package/idl/floor_holders.json +1458 -0
- package/idl/floor_hook.json +9312 -0
- package/idl/floor_launch.json +10480 -0
- package/idl/floor_vesting.json +820 -0
- package/package.json +70 -4
- package/src/adapter.ts +487 -0
- package/src/adapters.ts +138 -0
- package/src/constants.ts +265 -0
- package/src/deployments.ts +144 -0
- package/src/events.ts +411 -0
- package/src/generated/client/floor_holders/constants/floorHolders.ts +21 -0
- package/src/generated/client/floor_holders/constants/index.ts +9 -0
- package/src/generated/client/floor_holders/errors/floorHolders.ts +66 -0
- package/src/generated/client/floor_holders/errors/index.ts +9 -0
- package/src/generated/client/floor_holders/events/claimsTableExtended.ts +38 -0
- package/src/generated/client/floor_holders/events/claimsTableRotated.ts +38 -0
- package/src/generated/client/floor_holders/events/holderClaimed.ts +38 -0
- package/src/generated/client/floor_holders/events/index.ts +14 -0
- package/src/generated/client/floor_holders/events/launchHooked.ts +38 -0
- package/src/generated/client/floor_holders/events/recordClosed.ts +38 -0
- package/src/generated/client/floor_holders/events/recordOpened.ts +38 -0
- package/src/generated/client/floor_holders/index.ts +14 -0
- package/src/generated/client/floor_holders/instructions/authorizeClaim.ts +168 -0
- package/src/generated/client/floor_holders/instructions/claim.ts +158 -0
- package/src/generated/client/floor_holders/instructions/closeRecord.ts +86 -0
- package/src/generated/client/floor_holders/instructions/execute.ts +83 -0
- package/src/generated/client/floor_holders/instructions/index.ts +18 -0
- package/src/generated/client/floor_holders/instructions/initLaunch.ts +163 -0
- package/src/generated/client/floor_holders/instructions/initializeClaimsRegistry.ts +107 -0
- package/src/generated/client/floor_holders/instructions/openRecord.ts +93 -0
- package/src/generated/client/floor_holders/instructions/rotateClaimsTable.ts +141 -0
- package/src/generated/client/floor_holders/instructions/sync.ts +80 -0
- package/src/generated/client/floor_holders/instructions/touch.ts +93 -0
- package/src/generated/client/floor_holders/pdas/claimsAltAuthority.ts +14 -0
- package/src/generated/client/floor_holders/pdas/claimsRegistry.ts +14 -0
- package/src/generated/client/floor_holders/pdas/holdersAuthority.ts +14 -0
- package/src/generated/client/floor_holders/pdas/index.ts +11 -0
- package/src/generated/client/floor_holders/programs/floorHolders.ts +103 -0
- package/src/generated/client/floor_holders/programs/index.ts +9 -0
- package/src/generated/client/floor_hook/accounts/floorPlatformPool.ts +80 -0
- package/src/generated/client/floor_hook/accounts/floorPool.ts +81 -0
- package/src/generated/client/floor_hook/accounts/hookConfig.ts +80 -0
- package/src/generated/client/floor_hook/accounts/index.ts +13 -0
- package/src/generated/client/floor_hook/accounts/platformTreasury.ts +80 -0
- package/src/generated/client/floor_hook/accounts/quotePolicy.ts +80 -0
- package/src/generated/client/floor_hook/constants/floorHook.ts +23 -0
- package/src/generated/client/floor_hook/constants/index.ts +9 -0
- package/src/generated/client/floor_hook/errors/floorHook.ts +178 -0
- package/src/generated/client/floor_hook/errors/index.ts +9 -0
- package/src/generated/client/floor_hook/events/allowAllQuotesSet.ts +38 -0
- package/src/generated/client/floor_hook/events/bidReplaced.ts +38 -0
- package/src/generated/client/floor_hook/events/creatorClaimed.ts +38 -0
- package/src/generated/client/floor_hook/events/creatorFee.ts +38 -0
- package/src/generated/client/floor_hook/events/floorPoolDesignated.ts +38 -0
- package/src/generated/client/floor_hook/events/floorUnbacked.ts +38 -0
- package/src/generated/client/floor_hook/events/holderPaid.ts +38 -0
- package/src/generated/client/floor_hook/events/hookConfigInitialized.ts +38 -0
- package/src/generated/client/floor_hook/events/hookGovernanceChanged.ts +38 -0
- package/src/generated/client/floor_hook/events/index.ts +53 -0
- package/src/generated/client/floor_hook/events/inventoryDonated.ts +38 -0
- package/src/generated/client/floor_hook/events/platformCut.ts +38 -0
- package/src/generated/client/floor_hook/events/platformPoolCredit.ts +38 -0
- package/src/generated/client/floor_hook/events/platformSwept.ts +38 -0
- package/src/generated/client/floor_hook/events/platformWithdrawn.ts +38 -0
- package/src/generated/client/floor_hook/events/polRaised.ts +38 -0
- package/src/generated/client/floor_hook/events/poolReferralTiers.ts +38 -0
- package/src/generated/client/floor_hook/events/poolRegistered.ts +38 -0
- package/src/generated/client/floor_hook/events/poolRewardsTerms.ts +38 -0
- package/src/generated/client/floor_hook/events/quoteAdmitted.ts +38 -0
- package/src/generated/client/floor_hook/events/quoteEconomicsSet.ts +38 -0
- package/src/generated/client/floor_hook/events/quoteListed.ts +38 -0
- package/src/generated/client/floor_hook/events/quoteObserved.ts +38 -0
- package/src/generated/client/floor_hook/events/quoteRetired.ts +38 -0
- package/src/generated/client/floor_hook/events/ratcheted.ts +38 -0
- package/src/generated/client/floor_hook/events/recipientResolved.ts +38 -0
- package/src/generated/client/floor_hook/events/referralFunded.ts +38 -0
- package/src/generated/client/floor_hook/events/referralPaid.ts +38 -0
- package/src/generated/client/floor_hook/events/referralTierPaid.ts +38 -0
- package/src/generated/client/floor_hook/events/skimmed.ts +38 -0
- package/src/generated/client/floor_hook/events/stairArrayReclaimed.ts +38 -0
- package/src/generated/client/floor_hook/events/stairFeesSwept.ts +38 -0
- package/src/generated/client/floor_hook/events/stairOwnerBooked.ts +38 -0
- package/src/generated/client/floor_hook/events/stairOwnersPlaced.ts +38 -0
- package/src/generated/client/floor_hook/events/stairPayeeResolved.ts +38 -0
- package/src/generated/client/floor_hook/events/stairPayeeSwept.ts +38 -0
- package/src/generated/client/floor_hook/events/stairRatcheted.ts +38 -0
- package/src/generated/client/floor_hook/events/stairRentReimbursed.ts +38 -0
- package/src/generated/client/floor_hook/events/stairTokensWithdrawn.ts +38 -0
- package/src/generated/client/floor_hook/events/teamSwept.ts +38 -0
- package/src/generated/client/floor_hook/events/teamWithdrawn.ts +38 -0
- package/src/generated/client/floor_hook/events/traderReferralBooked.ts +38 -0
- package/src/generated/client/floor_hook/events/traderReferralClaimed.ts +38 -0
- package/src/generated/client/floor_hook/events/traderReferralSwept.ts +38 -0
- package/src/generated/client/floor_hook/events/treasuryGovernanceChanged.ts +38 -0
- package/src/generated/client/floor_hook/events/vaultTokensFed.ts +38 -0
- package/src/generated/client/floor_hook/index.ts +16 -0
- package/src/generated/client/floor_hook/instructions/acceptHookGovernance.ts +107 -0
- package/src/generated/client/floor_hook/instructions/acceptTeamTreasuryGovernance.ts +113 -0
- package/src/generated/client/floor_hook/instructions/acceptTreasuryGovernance.ts +113 -0
- package/src/generated/client/floor_hook/instructions/afterActions.ts +95 -0
- package/src/generated/client/floor_hook/instructions/afterSwap.ts +101 -0
- package/src/generated/client/floor_hook/instructions/beforeInitialize.ts +94 -0
- package/src/generated/client/floor_hook/instructions/beforeSwap.ts +97 -0
- package/src/generated/client/floor_hook/instructions/claimCreatorFees.ts +138 -0
- package/src/generated/client/floor_hook/instructions/claimReferralFees.ts +138 -0
- package/src/generated/client/floor_hook/instructions/claimTraderReferral.ts +137 -0
- package/src/generated/client/floor_hook/instructions/clearTeamBuyBooks.ts +101 -0
- package/src/generated/client/floor_hook/instructions/creditFloorPool.ts +167 -0
- package/src/generated/client/floor_hook/instructions/creditTraderBucket.ts +111 -0
- package/src/generated/client/floor_hook/instructions/designateFloorPool.ts +125 -0
- package/src/generated/client/floor_hook/instructions/donateInventory.ts +97 -0
- package/src/generated/client/floor_hook/instructions/index.ts +55 -0
- package/src/generated/client/floor_hook/instructions/initializeHookConfig.ts +138 -0
- package/src/generated/client/floor_hook/instructions/initializeTeamTreasury.ts +132 -0
- package/src/generated/client/floor_hook/instructions/listQuote.ts +158 -0
- package/src/generated/client/floor_hook/instructions/observeQuote.ts +84 -0
- package/src/generated/client/floor_hook/instructions/openTraderBucket.ts +85 -0
- package/src/generated/client/floor_hook/instructions/openTraderRefVault.ts +131 -0
- package/src/generated/client/floor_hook/instructions/payHolder.ts +138 -0
- package/src/generated/client/floor_hook/instructions/payHolderAuthorized.ts +138 -0
- package/src/generated/client/floor_hook/instructions/preparePositions.ts +125 -0
- package/src/generated/client/floor_hook/instructions/ratchet.ts +170 -0
- package/src/generated/client/floor_hook/instructions/reclaimStairArray.ts +135 -0
- package/src/generated/client/floor_hook/instructions/registerPool.ts +211 -0
- package/src/generated/client/floor_hook/instructions/resolveRecipient.ts +119 -0
- package/src/generated/client/floor_hook/instructions/resolveStairPayee.ts +119 -0
- package/src/generated/client/floor_hook/instructions/retireQuote.ts +107 -0
- package/src/generated/client/floor_hook/instructions/seedFloor.ts +98 -0
- package/src/generated/client/floor_hook/instructions/seedInventory.ts +193 -0
- package/src/generated/client/floor_hook/instructions/seedLiquidity.ts +178 -0
- package/src/generated/client/floor_hook/instructions/setAllowAllQuotes.ts +114 -0
- package/src/generated/client/floor_hook/instructions/setGenesisStair.ts +122 -0
- package/src/generated/client/floor_hook/instructions/setHookGovernance.ts +117 -0
- package/src/generated/client/floor_hook/instructions/setQuoteEconomics.ts +119 -0
- package/src/generated/client/floor_hook/instructions/setTeamTreasuryGovernance.ts +123 -0
- package/src/generated/client/floor_hook/instructions/setTreasuryGovernance.ts +123 -0
- package/src/generated/client/floor_hook/instructions/sweepPlatformCut.ts +158 -0
- package/src/generated/client/floor_hook/instructions/sweepStairFees.ts +163 -0
- package/src/generated/client/floor_hook/instructions/sweepStairPayee.ts +148 -0
- package/src/generated/client/floor_hook/instructions/sweepTraderReferral.ts +134 -0
- package/src/generated/client/floor_hook/instructions/twapTick.ts +79 -0
- package/src/generated/client/floor_hook/instructions/withdrawPlatform.ts +132 -0
- package/src/generated/client/floor_hook/instructions/withdrawStairTokens.ts +161 -0
- package/src/generated/client/floor_hook/instructions/withdrawTeam.ts +132 -0
- package/src/generated/client/floor_hook/pdas/floorPlatformPool.ts +14 -0
- package/src/generated/client/floor_hook/pdas/hookAuthority.ts +14 -0
- package/src/generated/client/floor_hook/pdas/hookConfig.ts +14 -0
- package/src/generated/client/floor_hook/pdas/index.ts +16 -0
- package/src/generated/client/floor_hook/pdas/platformTreasury.ts +14 -0
- package/src/generated/client/floor_hook/pdas/quotePolicy.ts +18 -0
- package/src/generated/client/floor_hook/pdas/stairRent.ts +18 -0
- package/src/generated/client/floor_hook/pdas/teamTreasury.ts +14 -0
- package/src/generated/client/floor_hook/pdas/vaultAuthority.ts +14 -0
- package/src/generated/client/floor_hook/programs/floorHook.ts +305 -0
- package/src/generated/client/floor_hook/programs/index.ts +9 -0
- package/src/generated/client/floor_hook/types/actionResult.ts +26 -0
- package/src/generated/client/floor_hook/types/balanceDelta.ts +25 -0
- package/src/generated/client/floor_hook/types/hookAction.ts +36 -0
- package/src/generated/client/floor_hook/types/hookRecordV1.ts +26 -0
- package/src/generated/client/floor_hook/types/index.ts +18 -0
- package/src/generated/client/floor_hook/types/poolSnapshot.ts +25 -0
- package/src/generated/client/floor_hook/types/rentOwnerArg.ts +25 -0
- package/src/generated/client/floor_hook/types/slotArg.ts +25 -0
- package/src/generated/client/floor_hook/types/stairOwnerKindArg.ts +25 -0
- package/src/generated/client/floor_hook/types/swapParams.ts +25 -0
- package/src/generated/client/floor_hook/types/u128.ts +25 -0
- package/src/generated/client/floor_launch/accounts/buyerPosition.ts +80 -0
- package/src/generated/client/floor_launch/accounts/genesisSale.ts +80 -0
- package/src/generated/client/floor_launch/accounts/index.ts +15 -0
- package/src/generated/client/floor_launch/accounts/launch.ts +81 -0
- package/src/generated/client/floor_launch/accounts/launchConfig.ts +80 -0
- package/src/generated/client/floor_launch/accounts/presetRegistry.ts +81 -0
- package/src/generated/client/floor_launch/accounts/quoteWalk.ts +80 -0
- package/src/generated/client/floor_launch/accounts/registryEntry.ts +80 -0
- package/src/generated/client/floor_launch/constants/floorLaunch.ts +31 -0
- package/src/generated/client/floor_launch/constants/index.ts +9 -0
- package/src/generated/client/floor_launch/errors/floorLaunch.ts +236 -0
- package/src/generated/client/floor_launch/errors/index.ts +9 -0
- package/src/generated/client/floor_launch/events/allocationDustRouted.ts +38 -0
- package/src/generated/client/floor_launch/events/attestorChanged.ts +38 -0
- package/src/generated/client/floor_launch/events/bought.ts +38 -0
- package/src/generated/client/floor_launch/events/contributed.ts +38 -0
- package/src/generated/client/floor_launch/events/floorFeesApplied.ts +38 -0
- package/src/generated/client/floor_launch/events/floorShareUpdated.ts +38 -0
- package/src/generated/client/floor_launch/events/genesisAuthorityTransferStarted.ts +38 -0
- package/src/generated/client/floor_launch/events/genesisAuthorityTransferred.ts +38 -0
- package/src/generated/client/floor_launch/events/genesisClaimed.ts +38 -0
- package/src/generated/client/floor_launch/events/genesisGraduated.ts +38 -0
- package/src/generated/client/floor_launch/events/genesisInitialized.ts +38 -0
- package/src/generated/client/floor_launch/events/genesisRefunded.ts +38 -0
- package/src/generated/client/floor_launch/events/genesisStairTopUpdated.ts +38 -0
- package/src/generated/client/floor_launch/events/genesisWhitelistUpdated.ts +38 -0
- package/src/generated/client/floor_launch/events/governanceChanged.ts +38 -0
- package/src/generated/client/floor_launch/events/graduated.ts +38 -0
- package/src/generated/client/floor_launch/events/graduationPrepared.ts +38 -0
- package/src/generated/client/floor_launch/events/graduationRentClosed.ts +38 -0
- package/src/generated/client/floor_launch/events/graduationRentReserved.ts +38 -0
- package/src/generated/client/floor_launch/events/index.ts +52 -0
- package/src/generated/client/floor_launch/events/launchConfigInitialized.ts +38 -0
- package/src/generated/client/floor_launch/events/launchCreated.ts +38 -0
- package/src/generated/client/floor_launch/events/launchEconomicsUpdated.ts +38 -0
- package/src/generated/client/floor_launch/events/metadataBaseSet.ts +38 -0
- package/src/generated/client/floor_launch/events/metadataUriFilled.ts +38 -0
- package/src/generated/client/floor_launch/events/openingTick.ts +38 -0
- package/src/generated/client/floor_launch/events/payeeSlotsSet.ts +39 -0
- package/src/generated/client/floor_launch/events/presetAdded.ts +39 -0
- package/src/generated/client/floor_launch/events/presetAuthorityTransferStarted.ts +38 -0
- package/src/generated/client/floor_launch/events/presetAuthorityTransferred.ts +38 -0
- package/src/generated/client/floor_launch/events/presetEnabled.ts +38 -0
- package/src/generated/client/floor_launch/events/quoteChainPriced.ts +38 -0
- package/src/generated/client/floor_launch/events/recipientClaimed.ts +38 -0
- package/src/generated/client/floor_launch/events/saleTraderReferralBooked.ts +38 -0
- package/src/generated/client/floor_launch/events/saleTraderReferralSwept.ts +38 -0
- package/src/generated/client/floor_launch/events/scheduleUpdated.ts +38 -0
- package/src/generated/client/floor_launch/events/soldBack.ts +38 -0
- package/src/generated/client/floor_launch/events/stairPayeeClaimed.ts +38 -0
- package/src/generated/client/floor_launch/events/stairRentFunded.ts +38 -0
- package/src/generated/client/floor_launch/events/teamBought.ts +38 -0
- package/src/generated/client/floor_launch/events/teamBuySoldBack.ts +38 -0
- package/src/generated/client/floor_launch/events/teamFeesSet.ts +38 -0
- package/src/generated/client/floor_launch/events/teamVestedClaimed.ts +38 -0
- package/src/generated/client/floor_launch/events/traderLinked.ts +38 -0
- package/src/generated/client/floor_launch/events/vestingCreated.ts +38 -0
- package/src/generated/client/floor_launch/index.ts +16 -0
- package/src/generated/client/floor_launch/instructions/acceptGenesisAuthority.ts +104 -0
- package/src/generated/client/floor_launch/instructions/acceptGovernance.ts +104 -0
- package/src/generated/client/floor_launch/instructions/acceptPresetAuthority.ts +104 -0
- package/src/generated/client/floor_launch/instructions/addPreset.ts +115 -0
- package/src/generated/client/floor_launch/instructions/buy.ts +172 -0
- package/src/generated/client/floor_launch/instructions/claimGenesis.ts +149 -0
- package/src/generated/client/floor_launch/instructions/claimGenesisPayee.ts +140 -0
- package/src/generated/client/floor_launch/instructions/claimRecipient.ts +142 -0
- package/src/generated/client/floor_launch/instructions/claimTeamPayee.ts +142 -0
- package/src/generated/client/floor_launch/instructions/claimTeamVested.ts +135 -0
- package/src/generated/client/floor_launch/instructions/closeBuyerPosition.ts +101 -0
- package/src/generated/client/floor_launch/instructions/closeGraduationRent.ts +107 -0
- package/src/generated/client/floor_launch/instructions/closePreparedTickArray.ts +116 -0
- package/src/generated/client/floor_launch/instructions/closeQuoteWalk.ts +74 -0
- package/src/generated/client/floor_launch/instructions/contribute.ts +142 -0
- package/src/generated/client/floor_launch/instructions/createLaunch.ts +318 -0
- package/src/generated/client/floor_launch/instructions/endGenesisSale.ts +125 -0
- package/src/generated/client/floor_launch/instructions/fillMetadataUri.ts +137 -0
- package/src/generated/client/floor_launch/instructions/flushAllocationDust.ts +140 -0
- package/src/generated/client/floor_launch/instructions/flushFloorFees.ts +158 -0
- package/src/generated/client/floor_launch/instructions/fundStairRent.ts +110 -0
- package/src/generated/client/floor_launch/instructions/graduate.ts +140 -0
- package/src/generated/client/floor_launch/instructions/graduateGenesis.ts +143 -0
- package/src/generated/client/floor_launch/instructions/index.ts +56 -0
- package/src/generated/client/floor_launch/instructions/initGenesis.ts +171 -0
- package/src/generated/client/floor_launch/instructions/initPresetRegistry.ts +122 -0
- package/src/generated/client/floor_launch/instructions/initializeLaunchConfig.ts +150 -0
- package/src/generated/client/floor_launch/instructions/linkTrader.ts +153 -0
- package/src/generated/client/floor_launch/instructions/lockGenesis.ts +155 -0
- package/src/generated/client/floor_launch/instructions/openSaleTraderReferral.ts +122 -0
- package/src/generated/client/floor_launch/instructions/prepareGraduation.ts +125 -0
- package/src/generated/client/floor_launch/instructions/refundGenesis.ts +119 -0
- package/src/generated/client/floor_launch/instructions/sellBack.ts +150 -0
- package/src/generated/client/floor_launch/instructions/sellBackWsol.ts +150 -0
- package/src/generated/client/floor_launch/instructions/setAttestor.ts +123 -0
- package/src/generated/client/floor_launch/instructions/setGenesisFloorShare.ts +114 -0
- package/src/generated/client/floor_launch/instructions/setGenesisSchedule.ts +116 -0
- package/src/generated/client/floor_launch/instructions/setGenesisStairTop.ts +114 -0
- package/src/generated/client/floor_launch/instructions/setGenesisWhitelist.ts +116 -0
- package/src/generated/client/floor_launch/instructions/setGovernance.ts +114 -0
- package/src/generated/client/floor_launch/instructions/setLaunchEconomics.ts +121 -0
- package/src/generated/client/floor_launch/instructions/setMetadataBase.ts +114 -0
- package/src/generated/client/floor_launch/instructions/setPresetAuthority.ts +114 -0
- package/src/generated/client/floor_launch/instructions/setPresetEnabled.ts +116 -0
- package/src/generated/client/floor_launch/instructions/setTeamFees.ts +119 -0
- package/src/generated/client/floor_launch/instructions/sweepSaleTraderReferral.ts +116 -0
- package/src/generated/client/floor_launch/instructions/teamBuySellBack.ts +122 -0
- package/src/generated/client/floor_launch/instructions/transferGenesisAuthority.ts +114 -0
- package/src/generated/client/floor_launch/instructions/walkQuoteChain.ts +122 -0
- package/src/generated/client/floor_launch/pdas/buyerPosition.ts +19 -0
- package/src/generated/client/floor_launch/pdas/contributeContribution.ts +18 -0
- package/src/generated/client/floor_launch/pdas/contribution.ts +18 -0
- package/src/generated/client/floor_launch/pdas/creatorTraderLink.ts +18 -0
- package/src/generated/client/floor_launch/pdas/genesisSale.ts +14 -0
- package/src/generated/client/floor_launch/pdas/graduationRent.ts +18 -0
- package/src/generated/client/floor_launch/pdas/index.ts +26 -0
- package/src/generated/client/floor_launch/pdas/launch.ts +18 -0
- package/src/generated/client/floor_launch/pdas/launchAuthority.ts +14 -0
- package/src/generated/client/floor_launch/pdas/launchConfig.ts +14 -0
- package/src/generated/client/floor_launch/pdas/lockAuthority.ts +14 -0
- package/src/generated/client/floor_launch/pdas/mint.ts +19 -0
- package/src/generated/client/floor_launch/pdas/mintAuthority.ts +14 -0
- package/src/generated/client/floor_launch/pdas/presetRegistry.ts +14 -0
- package/src/generated/client/floor_launch/pdas/quoteWalk.ts +19 -0
- package/src/generated/client/floor_launch/pdas/registryEntry.ts +18 -0
- package/src/generated/client/floor_launch/pdas/saleVault.ts +18 -0
- package/src/generated/client/floor_launch/pdas/traderLink.ts +18 -0
- package/src/generated/client/floor_launch/pdas/traderRefSale.ts +18 -0
- package/src/generated/client/floor_launch/programs/floorLaunch.ts +310 -0
- package/src/generated/client/floor_launch/programs/index.ts +9 -0
- package/src/generated/client/floor_launch/types/index.ts +12 -0
- package/src/generated/client/floor_launch/types/presetRowArgs.ts +25 -0
- package/src/generated/client/floor_launch/types/presetRowZc.ts +25 -0
- package/src/generated/client/floor_launch/types/slotArg.ts +25 -0
- package/src/generated/client/floor_launch/types/u128.ts +25 -0
- package/src/generated/client/floor_vesting/accounts/index.ts +9 -0
- package/src/generated/client/floor_vesting/accounts/vestingSchedule.ts +80 -0
- package/src/generated/client/floor_vesting/errors/floorVesting.ts +56 -0
- package/src/generated/client/floor_vesting/errors/index.ts +9 -0
- package/src/generated/client/floor_vesting/events/absoluteSchedule.ts +38 -0
- package/src/generated/client/floor_vesting/events/claimed.ts +38 -0
- package/src/generated/client/floor_vesting/events/index.ts +12 -0
- package/src/generated/client/floor_vesting/events/scheduleClosed.ts +38 -0
- package/src/generated/client/floor_vesting/events/scheduleCreated.ts +38 -0
- package/src/generated/client/floor_vesting/index.ts +14 -0
- package/src/generated/client/floor_vesting/instructions/claim.ts +128 -0
- package/src/generated/client/floor_vesting/instructions/closeSchedule.ts +135 -0
- package/src/generated/client/floor_vesting/instructions/createSchedule.ts +159 -0
- package/src/generated/client/floor_vesting/instructions/createScheduleAt.ts +164 -0
- package/src/generated/client/floor_vesting/instructions/index.ts +12 -0
- package/src/generated/client/floor_vesting/pdas/escrow.ts +18 -0
- package/src/generated/client/floor_vesting/pdas/index.ts +11 -0
- package/src/generated/client/floor_vesting/pdas/schedule.ts +19 -0
- package/src/generated/client/floor_vesting/pdas/vestingAuthority.ts +14 -0
- package/src/generated/client/floor_vesting/programs/floorVesting.ts +88 -0
- package/src/generated/client/floor_vesting/programs/index.ts +9 -0
- package/src/generated/deployments.ts +91 -0
- package/src/generated/idls.ts +17 -0
- package/src/generated/wasm.ts +5 -0
- package/src/holders.ts +168 -0
- package/src/idl.ts +20 -0
- package/src/index.ts +52 -0
- package/src/layouts.ts +763 -0
- package/src/pda.ts +122 -0
- package/src/predict.ts +540 -0
- package/src/quote/quoter.ts +439 -0
- package/src/quote/wasm.ts +43 -0
- package/src/slots.ts +152 -0
- package/src/stateView.ts +289 -0
- package/src/tickmath.ts +120 -0
- package/src/twap.ts +130 -0
- package/src/tx/builders.ts +794 -0
- package/src/tx/common.ts +60 -0
- package/src/tx/instructions.ts +425 -0
- package/src/tx/launchAlt.ts +64 -0
- package/src/tx/traderRef.ts +195 -0
- package/wasm/SHA256SUMS +1 -0
- package/wasm/floor_quote.d.ts +79 -0
- package/wasm/floor_quote.js +621 -0
- package/wasm/floor_quote_bg.wasm +0 -0
- package/wasm/floor_quote_bg.wasm.d.ts +22 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getI32Decoder, getI32Encoder, getStructDecoder, getStructEncoder, getU16Decoder, getU16Encoder, getU64Decoder, getU64Encoder, getU8Decoder, getU8Encoder, transformEncoder, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
|
|
10
|
+
import { getU128Decoder, getU128Encoder, type U128, type U128Args } from '../types/index.js';
|
|
11
|
+
|
|
12
|
+
export const FLOOR_POOL_DISCRIMINATOR: ReadonlyUint8Array = new Uint8Array([115, 235, 216, 23, 209, 113, 149, 196]);
|
|
13
|
+
|
|
14
|
+
export function getFloorPoolDiscriminatorBytes(): ReadonlyUint8Array { return fixEncoderSize(getBytesEncoder(), 8).encode(FLOOR_POOL_DISCRIMINATOR); }
|
|
15
|
+
|
|
16
|
+
export type FloorPool = { discriminator: ReadonlyUint8Array; version: number; bump: number; poolBound: number; quoteIsToken1: number; ladderSeeded: number; needsRatchet: number; mode: number; quoteSuspended: number; tickSpacing: number; floorTick: number; ammPool: Address; poolInitializer: Address; baseMint: Address; quoteMint: Address; pad9: ReadonlyUint8Array; pad10: ReadonlyUint8Array; skimBuyFarBps: number; skimSellFarBps: number; creatorBuyBps: number; creatorSellBps: number; holderBuyBps: number; holderSellBps: number; wallTicks: number; platformBps: number; minBid: bigint; minSellable: bigint; ownerOwed: bigint; ownerPaid: bigint; vaultEth: bigint; bidEthDeployed: bigint; unpaidSkim: bigint; cumulativeVolumeEth: bigint; inventoryTokens: bigint; inventoryCostEth: bigint; askTokensDeployed: bigint; ladderTokensRemaining: bigint; bidLower: number; askUpper: number; askWidth: number; seedLower: number; seedUpper: number; ladderLower: number; ladderUpper: number; wallSplitTick: number; bidLiquidity: U128; askLiquidity: U128; seedLiq: U128; ladderLiq: U128; creatorFeesOwed: bigint; platformOwed: bigint; holderOwed: bigint; wallTailLiq: U128; wallHeldTokens: bigint; seedFeesSweptEth: bigint; seedFeesSweptTokens: bigint; ladderProceedsEth: bigint; platformPaidEth: bigint; platformSwept: bigint; creatorFeesPaid: bigint; holderPaidEth: bigint; lastRatchetSlot: bigint; bidWidth: number; skimBuyAtFloorBps: number; skimSellAtFloorBps: number; pad6: ReadonlyUint8Array; maxBounty: bigint; bountyBps: number; wallBandTicks: number; wallTailBps: number; wallListBps: number; referralOwed: bigint; referralFeesPaid: bigint; traderRefOwed: bigint; traderRefBooked: bigint; pad7: ReadonlyUint8Array; referralShareBps: number; stairSteps: number; stairReady: number; stairGrowthBps: number; stairKind: number; stairOwner: number; referrer: Address; pad8: number; holdersHooked: number; pad4: ReadonlyUint8Array; referrerT2: Address; referrerT3: Address; referralPaidT2: bigint; referralPaidT3: bigint; teamOwed: bigint; teamFeesPaid: bigint; teamFeeBps: number; pad5: ReadonlyUint8Array; };
|
|
17
|
+
|
|
18
|
+
export type FloorPoolArgs = { version: number; bump: number; poolBound: number; quoteIsToken1: number; ladderSeeded: number; needsRatchet: number; mode: number; quoteSuspended: number; tickSpacing: number; floorTick: number; ammPool: Address; poolInitializer: Address; baseMint: Address; quoteMint: Address; pad9: ReadonlyUint8Array; pad10: ReadonlyUint8Array; skimBuyFarBps: number; skimSellFarBps: number; creatorBuyBps: number; creatorSellBps: number; holderBuyBps: number; holderSellBps: number; wallTicks: number; platformBps: number; minBid: number | bigint; minSellable: number | bigint; ownerOwed: number | bigint; ownerPaid: number | bigint; vaultEth: number | bigint; bidEthDeployed: number | bigint; unpaidSkim: number | bigint; cumulativeVolumeEth: number | bigint; inventoryTokens: number | bigint; inventoryCostEth: number | bigint; askTokensDeployed: number | bigint; ladderTokensRemaining: number | bigint; bidLower: number; askUpper: number; askWidth: number; seedLower: number; seedUpper: number; ladderLower: number; ladderUpper: number; wallSplitTick: number; bidLiquidity: U128Args; askLiquidity: U128Args; seedLiq: U128Args; ladderLiq: U128Args; creatorFeesOwed: number | bigint; platformOwed: number | bigint; holderOwed: number | bigint; wallTailLiq: U128Args; wallHeldTokens: number | bigint; seedFeesSweptEth: number | bigint; seedFeesSweptTokens: number | bigint; ladderProceedsEth: number | bigint; platformPaidEth: number | bigint; platformSwept: number | bigint; creatorFeesPaid: number | bigint; holderPaidEth: number | bigint; lastRatchetSlot: number | bigint; bidWidth: number; skimBuyAtFloorBps: number; skimSellAtFloorBps: number; pad6: ReadonlyUint8Array; maxBounty: number | bigint; bountyBps: number; wallBandTicks: number; wallTailBps: number; wallListBps: number; referralOwed: number | bigint; referralFeesPaid: number | bigint; traderRefOwed: number | bigint; traderRefBooked: number | bigint; pad7: ReadonlyUint8Array; referralShareBps: number; stairSteps: number; stairReady: number; stairGrowthBps: number; stairKind: number; stairOwner: number; referrer: Address; pad8: number; holdersHooked: number; pad4: ReadonlyUint8Array; referrerT2: Address; referrerT3: Address; referralPaidT2: number | bigint; referralPaidT3: number | bigint; teamOwed: number | bigint; teamFeesPaid: number | bigint; teamFeeBps: number; pad5: ReadonlyUint8Array; };
|
|
19
|
+
|
|
20
|
+
/** Gets the encoder for {@link FloorPoolArgs} account data. */
|
|
21
|
+
export function getFloorPoolEncoder(): FixedSizeEncoder<FloorPoolArgs> {
|
|
22
|
+
return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['version', getU8Encoder()], ['bump', getU8Encoder()], ['poolBound', getU8Encoder()], ['quoteIsToken1', getU8Encoder()], ['ladderSeeded', getU8Encoder()], ['needsRatchet', getU8Encoder()], ['mode', getU8Encoder()], ['quoteSuspended', getU8Encoder()], ['tickSpacing', getI32Encoder()], ['floorTick', getI32Encoder()], ['ammPool', getAddressEncoder()], ['poolInitializer', getAddressEncoder()], ['baseMint', getAddressEncoder()], ['quoteMint', getAddressEncoder()], ['pad9', fixEncoderSize(getBytesEncoder(), 32)], ['pad10', fixEncoderSize(getBytesEncoder(), 32)], ['skimBuyFarBps', getU16Encoder()], ['skimSellFarBps', getU16Encoder()], ['creatorBuyBps', getU16Encoder()], ['creatorSellBps', getU16Encoder()], ['holderBuyBps', getU16Encoder()], ['holderSellBps', getU16Encoder()], ['wallTicks', getU16Encoder()], ['platformBps', getU16Encoder()], ['minBid', getU64Encoder()], ['minSellable', getU64Encoder()], ['ownerOwed', getU64Encoder()], ['ownerPaid', getU64Encoder()], ['vaultEth', getU64Encoder()], ['bidEthDeployed', getU64Encoder()], ['unpaidSkim', getU64Encoder()], ['cumulativeVolumeEth', getU64Encoder()], ['inventoryTokens', getU64Encoder()], ['inventoryCostEth', getU64Encoder()], ['askTokensDeployed', getU64Encoder()], ['ladderTokensRemaining', getU64Encoder()], ['bidLower', getI32Encoder()], ['askUpper', getI32Encoder()], ['askWidth', getI32Encoder()], ['seedLower', getI32Encoder()], ['seedUpper', getI32Encoder()], ['ladderLower', getI32Encoder()], ['ladderUpper', getI32Encoder()], ['wallSplitTick', getI32Encoder()], ['bidLiquidity', getU128Encoder()], ['askLiquidity', getU128Encoder()], ['seedLiq', getU128Encoder()], ['ladderLiq', getU128Encoder()], ['creatorFeesOwed', getU64Encoder()], ['platformOwed', getU64Encoder()], ['holderOwed', getU64Encoder()], ['wallTailLiq', getU128Encoder()], ['wallHeldTokens', getU64Encoder()], ['seedFeesSweptEth', getU64Encoder()], ['seedFeesSweptTokens', getU64Encoder()], ['ladderProceedsEth', getU64Encoder()], ['platformPaidEth', getU64Encoder()], ['platformSwept', getU64Encoder()], ['creatorFeesPaid', getU64Encoder()], ['holderPaidEth', getU64Encoder()], ['lastRatchetSlot', getU64Encoder()], ['bidWidth', getI32Encoder()], ['skimBuyAtFloorBps', getU16Encoder()], ['skimSellAtFloorBps', getU16Encoder()], ['pad6', fixEncoderSize(getBytesEncoder(), 32)], ['maxBounty', getU64Encoder()], ['bountyBps', getU16Encoder()], ['wallBandTicks', getU16Encoder()], ['wallTailBps', getU16Encoder()], ['wallListBps', getU16Encoder()], ['referralOwed', getU64Encoder()], ['referralFeesPaid', getU64Encoder()], ['traderRefOwed', getU64Encoder()], ['traderRefBooked', getU64Encoder()], ['pad7', fixEncoderSize(getBytesEncoder(), 16)], ['referralShareBps', getU16Encoder()], ['stairSteps', getU8Encoder()], ['stairReady', getU8Encoder()], ['stairGrowthBps', getU16Encoder()], ['stairKind', getU8Encoder()], ['stairOwner', getU8Encoder()], ['referrer', getAddressEncoder()], ['pad8', getU8Encoder()], ['holdersHooked', getU8Encoder()], ['pad4', fixEncoderSize(getBytesEncoder(), 6)], ['referrerT2', getAddressEncoder()], ['referrerT3', getAddressEncoder()], ['referralPaidT2', getU64Encoder()], ['referralPaidT3', getU64Encoder()], ['teamOwed', getU64Encoder()], ['teamFeesPaid', getU64Encoder()], ['teamFeeBps', getU16Encoder()], ['pad5', fixEncoderSize(getBytesEncoder(), 6)]]), (value) => ({ ...value, discriminator: FLOOR_POOL_DISCRIMINATOR }));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Gets the decoder for {@link FloorPool} account data. */
|
|
26
|
+
export function getFloorPoolDecoder(): FixedSizeDecoder<FloorPool> {
|
|
27
|
+
return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['version', getU8Decoder()], ['bump', getU8Decoder()], ['poolBound', getU8Decoder()], ['quoteIsToken1', getU8Decoder()], ['ladderSeeded', getU8Decoder()], ['needsRatchet', getU8Decoder()], ['mode', getU8Decoder()], ['quoteSuspended', getU8Decoder()], ['tickSpacing', getI32Decoder()], ['floorTick', getI32Decoder()], ['ammPool', getAddressDecoder()], ['poolInitializer', getAddressDecoder()], ['baseMint', getAddressDecoder()], ['quoteMint', getAddressDecoder()], ['pad9', fixDecoderSize(getBytesDecoder(), 32)], ['pad10', fixDecoderSize(getBytesDecoder(), 32)], ['skimBuyFarBps', getU16Decoder()], ['skimSellFarBps', getU16Decoder()], ['creatorBuyBps', getU16Decoder()], ['creatorSellBps', getU16Decoder()], ['holderBuyBps', getU16Decoder()], ['holderSellBps', getU16Decoder()], ['wallTicks', getU16Decoder()], ['platformBps', getU16Decoder()], ['minBid', getU64Decoder()], ['minSellable', getU64Decoder()], ['ownerOwed', getU64Decoder()], ['ownerPaid', getU64Decoder()], ['vaultEth', getU64Decoder()], ['bidEthDeployed', getU64Decoder()], ['unpaidSkim', getU64Decoder()], ['cumulativeVolumeEth', getU64Decoder()], ['inventoryTokens', getU64Decoder()], ['inventoryCostEth', getU64Decoder()], ['askTokensDeployed', getU64Decoder()], ['ladderTokensRemaining', getU64Decoder()], ['bidLower', getI32Decoder()], ['askUpper', getI32Decoder()], ['askWidth', getI32Decoder()], ['seedLower', getI32Decoder()], ['seedUpper', getI32Decoder()], ['ladderLower', getI32Decoder()], ['ladderUpper', getI32Decoder()], ['wallSplitTick', getI32Decoder()], ['bidLiquidity', getU128Decoder()], ['askLiquidity', getU128Decoder()], ['seedLiq', getU128Decoder()], ['ladderLiq', getU128Decoder()], ['creatorFeesOwed', getU64Decoder()], ['platformOwed', getU64Decoder()], ['holderOwed', getU64Decoder()], ['wallTailLiq', getU128Decoder()], ['wallHeldTokens', getU64Decoder()], ['seedFeesSweptEth', getU64Decoder()], ['seedFeesSweptTokens', getU64Decoder()], ['ladderProceedsEth', getU64Decoder()], ['platformPaidEth', getU64Decoder()], ['platformSwept', getU64Decoder()], ['creatorFeesPaid', getU64Decoder()], ['holderPaidEth', getU64Decoder()], ['lastRatchetSlot', getU64Decoder()], ['bidWidth', getI32Decoder()], ['skimBuyAtFloorBps', getU16Decoder()], ['skimSellAtFloorBps', getU16Decoder()], ['pad6', fixDecoderSize(getBytesDecoder(), 32)], ['maxBounty', getU64Decoder()], ['bountyBps', getU16Decoder()], ['wallBandTicks', getU16Decoder()], ['wallTailBps', getU16Decoder()], ['wallListBps', getU16Decoder()], ['referralOwed', getU64Decoder()], ['referralFeesPaid', getU64Decoder()], ['traderRefOwed', getU64Decoder()], ['traderRefBooked', getU64Decoder()], ['pad7', fixDecoderSize(getBytesDecoder(), 16)], ['referralShareBps', getU16Decoder()], ['stairSteps', getU8Decoder()], ['stairReady', getU8Decoder()], ['stairGrowthBps', getU16Decoder()], ['stairKind', getU8Decoder()], ['stairOwner', getU8Decoder()], ['referrer', getAddressDecoder()], ['pad8', getU8Decoder()], ['holdersHooked', getU8Decoder()], ['pad4', fixDecoderSize(getBytesDecoder(), 6)], ['referrerT2', getAddressDecoder()], ['referrerT3', getAddressDecoder()], ['referralPaidT2', getU64Decoder()], ['referralPaidT3', getU64Decoder()], ['teamOwed', getU64Decoder()], ['teamFeesPaid', getU64Decoder()], ['teamFeeBps', getU16Decoder()], ['pad5', fixDecoderSize(getBytesDecoder(), 6)]]);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** Gets the codec for {@link FloorPool} account data. */
|
|
31
|
+
export function getFloorPoolCodec(): FixedSizeCodec<FloorPoolArgs, FloorPool> {
|
|
32
|
+
return combineCodec(getFloorPoolEncoder(), getFloorPoolDecoder());
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function decodeFloorPool<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<FloorPool, TAddress>;
|
|
36
|
+
export function decodeFloorPool<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<FloorPool, TAddress>;
|
|
37
|
+
export function decodeFloorPool<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress> | MaybeEncodedAccount<TAddress>): Account<FloorPool, TAddress> | MaybeAccount<FloorPool, TAddress> {
|
|
38
|
+
return decodeAccount(encodedAccount as MaybeEncodedAccount<TAddress>, getFloorPoolDecoder());
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export async function fetchFloorPool<TAddress extends string = string>(
|
|
42
|
+
rpc: Parameters<typeof fetchEncodedAccount>[0],
|
|
43
|
+
address: Address<TAddress>,
|
|
44
|
+
config?: FetchAccountConfig,
|
|
45
|
+
): Promise<Account<FloorPool, TAddress>> {
|
|
46
|
+
const maybeAccount = await fetchMaybeFloorPool(rpc, address, config);
|
|
47
|
+
assertAccountExists(maybeAccount);
|
|
48
|
+
return maybeAccount;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export async function fetchMaybeFloorPool<TAddress extends string = string>(
|
|
52
|
+
rpc: Parameters<typeof fetchEncodedAccount>[0],
|
|
53
|
+
address: Address<TAddress>,
|
|
54
|
+
config?: FetchAccountConfig,
|
|
55
|
+
): Promise<MaybeAccount<FloorPool, TAddress>> {
|
|
56
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address, config);
|
|
57
|
+
return decodeFloorPool(maybeAccount);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export async function fetchAllFloorPool(
|
|
61
|
+
rpc: Parameters<typeof fetchEncodedAccounts>[0],
|
|
62
|
+
addresses: Array<Address>,
|
|
63
|
+
config?: FetchAccountsConfig,
|
|
64
|
+
): Promise<Account<FloorPool>[]> {
|
|
65
|
+
const maybeAccounts = await fetchAllMaybeFloorPool(rpc, addresses, config);
|
|
66
|
+
assertAccountsExist(maybeAccounts);
|
|
67
|
+
return maybeAccounts;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export async function fetchAllMaybeFloorPool(
|
|
71
|
+
rpc: Parameters<typeof fetchEncodedAccounts>[0],
|
|
72
|
+
addresses: Array<Address>,
|
|
73
|
+
config?: FetchAccountsConfig,
|
|
74
|
+
): Promise<MaybeAccount<FloorPool>[]> {
|
|
75
|
+
const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
|
|
76
|
+
return maybeAccounts.map((maybeAccount) => decodeFloorPool(maybeAccount));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function getFloorPoolSize(): number {
|
|
80
|
+
return 792;
|
|
81
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, getU16Decoder, getU16Encoder, getU8Decoder, getU8Encoder, transformEncoder, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
|
|
10
|
+
|
|
11
|
+
export const HOOK_CONFIG_DISCRIMINATOR: ReadonlyUint8Array = new Uint8Array([137, 155, 101, 95, 138, 72, 8, 182]);
|
|
12
|
+
|
|
13
|
+
export function getHookConfigDiscriminatorBytes(): ReadonlyUint8Array { return fixEncoderSize(getBytesEncoder(), 8).encode(HOOK_CONFIG_DISCRIMINATOR); }
|
|
14
|
+
|
|
15
|
+
export type HookConfig = { discriminator: ReadonlyUint8Array; version: number; bump: number; maxRounds: number; callbackAccounts: number; flags: number; authorityBump: number; pad0: number; governance: Address; platformDestination: Address; launchProgram: Address; launchAuthority: Address; hookAuthority: Address; platformOwner: Address; pendingGovernance: Address; };
|
|
16
|
+
|
|
17
|
+
export type HookConfigArgs = { version: number; bump: number; maxRounds: number; callbackAccounts: number; flags: number; authorityBump: number; pad0: number; governance: Address; platformDestination: Address; launchProgram: Address; launchAuthority: Address; hookAuthority: Address; platformOwner: Address; pendingGovernance: Address; };
|
|
18
|
+
|
|
19
|
+
/** Gets the encoder for {@link HookConfigArgs} account data. */
|
|
20
|
+
export function getHookConfigEncoder(): FixedSizeEncoder<HookConfigArgs> {
|
|
21
|
+
return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['version', getU8Encoder()], ['bump', getU8Encoder()], ['maxRounds', getU8Encoder()], ['callbackAccounts', getU8Encoder()], ['flags', getU16Encoder()], ['authorityBump', getU8Encoder()], ['pad0', getU8Encoder()], ['governance', getAddressEncoder()], ['platformDestination', getAddressEncoder()], ['launchProgram', getAddressEncoder()], ['launchAuthority', getAddressEncoder()], ['hookAuthority', getAddressEncoder()], ['platformOwner', getAddressEncoder()], ['pendingGovernance', getAddressEncoder()]]), (value) => ({ ...value, discriminator: HOOK_CONFIG_DISCRIMINATOR }));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Gets the decoder for {@link HookConfig} account data. */
|
|
25
|
+
export function getHookConfigDecoder(): FixedSizeDecoder<HookConfig> {
|
|
26
|
+
return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['version', getU8Decoder()], ['bump', getU8Decoder()], ['maxRounds', getU8Decoder()], ['callbackAccounts', getU8Decoder()], ['flags', getU16Decoder()], ['authorityBump', getU8Decoder()], ['pad0', getU8Decoder()], ['governance', getAddressDecoder()], ['platformDestination', getAddressDecoder()], ['launchProgram', getAddressDecoder()], ['launchAuthority', getAddressDecoder()], ['hookAuthority', getAddressDecoder()], ['platformOwner', getAddressDecoder()], ['pendingGovernance', getAddressDecoder()]]);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** Gets the codec for {@link HookConfig} account data. */
|
|
30
|
+
export function getHookConfigCodec(): FixedSizeCodec<HookConfigArgs, HookConfig> {
|
|
31
|
+
return combineCodec(getHookConfigEncoder(), getHookConfigDecoder());
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function decodeHookConfig<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<HookConfig, TAddress>;
|
|
35
|
+
export function decodeHookConfig<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<HookConfig, TAddress>;
|
|
36
|
+
export function decodeHookConfig<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress> | MaybeEncodedAccount<TAddress>): Account<HookConfig, TAddress> | MaybeAccount<HookConfig, TAddress> {
|
|
37
|
+
return decodeAccount(encodedAccount as MaybeEncodedAccount<TAddress>, getHookConfigDecoder());
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export async function fetchHookConfig<TAddress extends string = string>(
|
|
41
|
+
rpc: Parameters<typeof fetchEncodedAccount>[0],
|
|
42
|
+
address: Address<TAddress>,
|
|
43
|
+
config?: FetchAccountConfig,
|
|
44
|
+
): Promise<Account<HookConfig, TAddress>> {
|
|
45
|
+
const maybeAccount = await fetchMaybeHookConfig(rpc, address, config);
|
|
46
|
+
assertAccountExists(maybeAccount);
|
|
47
|
+
return maybeAccount;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export async function fetchMaybeHookConfig<TAddress extends string = string>(
|
|
51
|
+
rpc: Parameters<typeof fetchEncodedAccount>[0],
|
|
52
|
+
address: Address<TAddress>,
|
|
53
|
+
config?: FetchAccountConfig,
|
|
54
|
+
): Promise<MaybeAccount<HookConfig, TAddress>> {
|
|
55
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address, config);
|
|
56
|
+
return decodeHookConfig(maybeAccount);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export async function fetchAllHookConfig(
|
|
60
|
+
rpc: Parameters<typeof fetchEncodedAccounts>[0],
|
|
61
|
+
addresses: Array<Address>,
|
|
62
|
+
config?: FetchAccountsConfig,
|
|
63
|
+
): Promise<Account<HookConfig>[]> {
|
|
64
|
+
const maybeAccounts = await fetchAllMaybeHookConfig(rpc, addresses, config);
|
|
65
|
+
assertAccountsExist(maybeAccounts);
|
|
66
|
+
return maybeAccounts;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export async function fetchAllMaybeHookConfig(
|
|
70
|
+
rpc: Parameters<typeof fetchEncodedAccounts>[0],
|
|
71
|
+
addresses: Array<Address>,
|
|
72
|
+
config?: FetchAccountsConfig,
|
|
73
|
+
): Promise<MaybeAccount<HookConfig>[]> {
|
|
74
|
+
const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
|
|
75
|
+
return maybeAccounts.map((maybeAccount) => decodeHookConfig(maybeAccount));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function getHookConfigSize(): number {
|
|
79
|
+
return 240;
|
|
80
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export * from './floorPlatformPool.js';
|
|
10
|
+
export * from './floorPool.js';
|
|
11
|
+
export * from './hookConfig.js';
|
|
12
|
+
export * from './platformTreasury.js';
|
|
13
|
+
export * from './quotePolicy.js';
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
|
|
10
|
+
|
|
11
|
+
export const PLATFORM_TREASURY_DISCRIMINATOR: ReadonlyUint8Array = new Uint8Array([35, 229, 15, 221, 215, 174, 167, 92]);
|
|
12
|
+
|
|
13
|
+
export function getPlatformTreasuryDiscriminatorBytes(): ReadonlyUint8Array { return fixEncoderSize(getBytesEncoder(), 8).encode(PLATFORM_TREASURY_DISCRIMINATOR); }
|
|
14
|
+
|
|
15
|
+
export type PlatformTreasury = { discriminator: ReadonlyUint8Array; version: number; bump: number; allowAllQuotes: number; pad0: ReadonlyUint8Array; governance: Address; pendingGovernance: Address; reserved: ReadonlyUint8Array; };
|
|
16
|
+
|
|
17
|
+
export type PlatformTreasuryArgs = { version: number; bump: number; allowAllQuotes: number; pad0: ReadonlyUint8Array; governance: Address; pendingGovernance: Address; reserved: ReadonlyUint8Array; };
|
|
18
|
+
|
|
19
|
+
/** Gets the encoder for {@link PlatformTreasuryArgs} account data. */
|
|
20
|
+
export function getPlatformTreasuryEncoder(): FixedSizeEncoder<PlatformTreasuryArgs> {
|
|
21
|
+
return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['version', getU8Encoder()], ['bump', getU8Encoder()], ['allowAllQuotes', getU8Encoder()], ['pad0', fixEncoderSize(getBytesEncoder(), 5)], ['governance', getAddressEncoder()], ['pendingGovernance', getAddressEncoder()], ['reserved', fixEncoderSize(getBytesEncoder(), 32)]]), (value) => ({ ...value, discriminator: PLATFORM_TREASURY_DISCRIMINATOR }));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Gets the decoder for {@link PlatformTreasury} account data. */
|
|
25
|
+
export function getPlatformTreasuryDecoder(): FixedSizeDecoder<PlatformTreasury> {
|
|
26
|
+
return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['version', getU8Decoder()], ['bump', getU8Decoder()], ['allowAllQuotes', getU8Decoder()], ['pad0', fixDecoderSize(getBytesDecoder(), 5)], ['governance', getAddressDecoder()], ['pendingGovernance', getAddressDecoder()], ['reserved', fixDecoderSize(getBytesDecoder(), 32)]]);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** Gets the codec for {@link PlatformTreasury} account data. */
|
|
30
|
+
export function getPlatformTreasuryCodec(): FixedSizeCodec<PlatformTreasuryArgs, PlatformTreasury> {
|
|
31
|
+
return combineCodec(getPlatformTreasuryEncoder(), getPlatformTreasuryDecoder());
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function decodePlatformTreasury<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<PlatformTreasury, TAddress>;
|
|
35
|
+
export function decodePlatformTreasury<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<PlatformTreasury, TAddress>;
|
|
36
|
+
export function decodePlatformTreasury<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress> | MaybeEncodedAccount<TAddress>): Account<PlatformTreasury, TAddress> | MaybeAccount<PlatformTreasury, TAddress> {
|
|
37
|
+
return decodeAccount(encodedAccount as MaybeEncodedAccount<TAddress>, getPlatformTreasuryDecoder());
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export async function fetchPlatformTreasury<TAddress extends string = string>(
|
|
41
|
+
rpc: Parameters<typeof fetchEncodedAccount>[0],
|
|
42
|
+
address: Address<TAddress>,
|
|
43
|
+
config?: FetchAccountConfig,
|
|
44
|
+
): Promise<Account<PlatformTreasury, TAddress>> {
|
|
45
|
+
const maybeAccount = await fetchMaybePlatformTreasury(rpc, address, config);
|
|
46
|
+
assertAccountExists(maybeAccount);
|
|
47
|
+
return maybeAccount;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export async function fetchMaybePlatformTreasury<TAddress extends string = string>(
|
|
51
|
+
rpc: Parameters<typeof fetchEncodedAccount>[0],
|
|
52
|
+
address: Address<TAddress>,
|
|
53
|
+
config?: FetchAccountConfig,
|
|
54
|
+
): Promise<MaybeAccount<PlatformTreasury, TAddress>> {
|
|
55
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address, config);
|
|
56
|
+
return decodePlatformTreasury(maybeAccount);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export async function fetchAllPlatformTreasury(
|
|
60
|
+
rpc: Parameters<typeof fetchEncodedAccounts>[0],
|
|
61
|
+
addresses: Array<Address>,
|
|
62
|
+
config?: FetchAccountsConfig,
|
|
63
|
+
): Promise<Account<PlatformTreasury>[]> {
|
|
64
|
+
const maybeAccounts = await fetchAllMaybePlatformTreasury(rpc, addresses, config);
|
|
65
|
+
assertAccountsExist(maybeAccounts);
|
|
66
|
+
return maybeAccounts;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export async function fetchAllMaybePlatformTreasury(
|
|
70
|
+
rpc: Parameters<typeof fetchEncodedAccounts>[0],
|
|
71
|
+
addresses: Array<Address>,
|
|
72
|
+
config?: FetchAccountsConfig,
|
|
73
|
+
): Promise<MaybeAccount<PlatformTreasury>[]> {
|
|
74
|
+
const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
|
|
75
|
+
return maybeAccounts.map((maybeAccount) => decodePlatformTreasury(maybeAccount));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function getPlatformTreasurySize(): number {
|
|
79
|
+
return 112;
|
|
80
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, getU8Decoder, getU8Encoder, transformEncoder, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
|
|
10
|
+
|
|
11
|
+
export const QUOTE_POLICY_DISCRIMINATOR: ReadonlyUint8Array = new Uint8Array([1, 43, 26, 79, 86, 39, 171, 67]);
|
|
12
|
+
|
|
13
|
+
export function getQuotePolicyDiscriminatorBytes(): ReadonlyUint8Array { return fixEncoderSize(getBytesEncoder(), 8).encode(QUOTE_POLICY_DISCRIMINATOR); }
|
|
14
|
+
|
|
15
|
+
export type QuotePolicy = { discriminator: ReadonlyUint8Array; version: number; bump: number; decimals: number; retired: number; pad0: ReadonlyUint8Array; quoteMint: Address; tokenProgram: Address; minBidFloor: bigint; minBidCeil: bigint; maxBountyCeil: bigint; minBid: bigint; maxBounty: bigint; reserved: ReadonlyUint8Array; };
|
|
16
|
+
|
|
17
|
+
export type QuotePolicyArgs = { version: number; bump: number; decimals: number; retired: number; pad0: ReadonlyUint8Array; quoteMint: Address; tokenProgram: Address; minBidFloor: number | bigint; minBidCeil: number | bigint; maxBountyCeil: number | bigint; minBid: number | bigint; maxBounty: number | bigint; reserved: ReadonlyUint8Array; };
|
|
18
|
+
|
|
19
|
+
/** Gets the encoder for {@link QuotePolicyArgs} account data. */
|
|
20
|
+
export function getQuotePolicyEncoder(): FixedSizeEncoder<QuotePolicyArgs> {
|
|
21
|
+
return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['version', getU8Encoder()], ['bump', getU8Encoder()], ['decimals', getU8Encoder()], ['retired', getU8Encoder()], ['pad0', fixEncoderSize(getBytesEncoder(), 4)], ['quoteMint', getAddressEncoder()], ['tokenProgram', getAddressEncoder()], ['minBidFloor', getU64Encoder()], ['minBidCeil', getU64Encoder()], ['maxBountyCeil', getU64Encoder()], ['minBid', getU64Encoder()], ['maxBounty', getU64Encoder()], ['reserved', fixEncoderSize(getBytesEncoder(), 56)]]), (value) => ({ ...value, discriminator: QUOTE_POLICY_DISCRIMINATOR }));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Gets the decoder for {@link QuotePolicy} account data. */
|
|
25
|
+
export function getQuotePolicyDecoder(): FixedSizeDecoder<QuotePolicy> {
|
|
26
|
+
return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['version', getU8Decoder()], ['bump', getU8Decoder()], ['decimals', getU8Decoder()], ['retired', getU8Decoder()], ['pad0', fixDecoderSize(getBytesDecoder(), 4)], ['quoteMint', getAddressDecoder()], ['tokenProgram', getAddressDecoder()], ['minBidFloor', getU64Decoder()], ['minBidCeil', getU64Decoder()], ['maxBountyCeil', getU64Decoder()], ['minBid', getU64Decoder()], ['maxBounty', getU64Decoder()], ['reserved', fixDecoderSize(getBytesDecoder(), 56)]]);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** Gets the codec for {@link QuotePolicy} account data. */
|
|
30
|
+
export function getQuotePolicyCodec(): FixedSizeCodec<QuotePolicyArgs, QuotePolicy> {
|
|
31
|
+
return combineCodec(getQuotePolicyEncoder(), getQuotePolicyDecoder());
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function decodeQuotePolicy<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<QuotePolicy, TAddress>;
|
|
35
|
+
export function decodeQuotePolicy<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<QuotePolicy, TAddress>;
|
|
36
|
+
export function decodeQuotePolicy<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress> | MaybeEncodedAccount<TAddress>): Account<QuotePolicy, TAddress> | MaybeAccount<QuotePolicy, TAddress> {
|
|
37
|
+
return decodeAccount(encodedAccount as MaybeEncodedAccount<TAddress>, getQuotePolicyDecoder());
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export async function fetchQuotePolicy<TAddress extends string = string>(
|
|
41
|
+
rpc: Parameters<typeof fetchEncodedAccount>[0],
|
|
42
|
+
address: Address<TAddress>,
|
|
43
|
+
config?: FetchAccountConfig,
|
|
44
|
+
): Promise<Account<QuotePolicy, TAddress>> {
|
|
45
|
+
const maybeAccount = await fetchMaybeQuotePolicy(rpc, address, config);
|
|
46
|
+
assertAccountExists(maybeAccount);
|
|
47
|
+
return maybeAccount;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export async function fetchMaybeQuotePolicy<TAddress extends string = string>(
|
|
51
|
+
rpc: Parameters<typeof fetchEncodedAccount>[0],
|
|
52
|
+
address: Address<TAddress>,
|
|
53
|
+
config?: FetchAccountConfig,
|
|
54
|
+
): Promise<MaybeAccount<QuotePolicy, TAddress>> {
|
|
55
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address, config);
|
|
56
|
+
return decodeQuotePolicy(maybeAccount);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export async function fetchAllQuotePolicy(
|
|
60
|
+
rpc: Parameters<typeof fetchEncodedAccounts>[0],
|
|
61
|
+
addresses: Array<Address>,
|
|
62
|
+
config?: FetchAccountsConfig,
|
|
63
|
+
): Promise<Account<QuotePolicy>[]> {
|
|
64
|
+
const maybeAccounts = await fetchAllMaybeQuotePolicy(rpc, addresses, config);
|
|
65
|
+
assertAccountsExist(maybeAccounts);
|
|
66
|
+
return maybeAccounts;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export async function fetchAllMaybeQuotePolicy(
|
|
70
|
+
rpc: Parameters<typeof fetchEncodedAccounts>[0],
|
|
71
|
+
addresses: Array<Address>,
|
|
72
|
+
config?: FetchAccountsConfig,
|
|
73
|
+
): Promise<MaybeAccount<QuotePolicy>[]> {
|
|
74
|
+
const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
|
|
75
|
+
return maybeAccounts.map((maybeAccount) => decodeQuotePolicy(maybeAccount));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function getQuotePolicySize(): number {
|
|
79
|
+
return 176;
|
|
80
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import type { ReadonlyUint8Array } from '@solana/kit';
|
|
10
|
+
|
|
11
|
+
export const FLOOR_PLATFORM_POOL_SEED: ReadonlyUint8Array = new Uint8Array([102, 108, 111, 111, 114, 95, 112, 108, 97, 116, 102, 111, 114, 109, 95, 112, 111, 111, 108]);
|
|
12
|
+
|
|
13
|
+
export const FLOOR_POOL_SEED: ReadonlyUint8Array = new Uint8Array([102, 108, 111, 111, 114, 95, 112, 111, 111, 108]);
|
|
14
|
+
|
|
15
|
+
export const HOOK_AUTHORITY_SEED: ReadonlyUint8Array = new Uint8Array([104, 111, 111, 107, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121]);
|
|
16
|
+
|
|
17
|
+
export const HOOK_CONFIG_SEED: ReadonlyUint8Array = new Uint8Array([104, 111, 111, 107, 95, 99, 111, 110, 102, 105, 103]);
|
|
18
|
+
|
|
19
|
+
export const PLATFORM_TREASURY_SEED: ReadonlyUint8Array = new Uint8Array([112, 108, 97, 116, 102, 111, 114, 109, 95, 116, 114, 101, 97, 115, 117, 114, 121]);
|
|
20
|
+
|
|
21
|
+
export const QUOTE_POLICY_SEED: ReadonlyUint8Array = new Uint8Array([113, 117, 111, 116, 101]);
|
|
22
|
+
|
|
23
|
+
export const STAIR_RENT_SEED: ReadonlyUint8Array = new Uint8Array([115, 116, 97, 105, 114, 95, 114, 101, 110, 116]);
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { isProgramError, type Address, type SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, type SolanaError } from '@solana/kit';
|
|
10
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
11
|
+
|
|
12
|
+
/** Unauthorized: signer is not the required authority */
|
|
13
|
+
export const FLOOR_HOOK_ERROR__UNAUTHORIZED = 0x1b58; // 7000
|
|
14
|
+
/** BadConfig: register_pool configuration is invalid */
|
|
15
|
+
export const FLOOR_HOOK_ERROR__BAD_CONFIG = 0x1b59; // 7001
|
|
16
|
+
/** NotLauncher: signer is not the launch authority */
|
|
17
|
+
export const FLOOR_HOOK_ERROR__NOT_LAUNCHER = 0x1b5a; // 7002
|
|
18
|
+
/** MintAlreadyPooled: mint already has a pool */
|
|
19
|
+
export const FLOOR_HOOK_ERROR__MINT_ALREADY_POOLED = 0x1b5b; // 7003
|
|
20
|
+
/** NotAmmPool: callback signer is not this FloorPool's AMM pool */
|
|
21
|
+
export const FLOOR_HOOK_ERROR__NOT_AMM_POOL = 0x1b5c; // 7004
|
|
22
|
+
/** NotInitializer: pool initializer is not the registered Launch */
|
|
23
|
+
export const FLOOR_HOOK_ERROR__NOT_INITIALIZER = 0x1b5d; // 7005
|
|
24
|
+
/** NotBound: FloorPool is not bound to a pool */
|
|
25
|
+
export const FLOOR_HOOK_ERROR__NOT_BOUND = 0x1b5e; // 7006
|
|
26
|
+
/** WrongPool: pool account is not this FloorPool's AMM pool */
|
|
27
|
+
export const FLOOR_HOOK_ERROR__WRONG_POOL = 0x1b5f; // 7007
|
|
28
|
+
/** NotDynamicFee: FLOOR pools require the dynamic fee flag */
|
|
29
|
+
export const FLOOR_HOOK_ERROR__NOT_DYNAMIC_FEE = 0x1b60; // 7008
|
|
30
|
+
/** ExactOutNotSupported: FLOOR pools refuse exact-output swaps in this build */
|
|
31
|
+
export const FLOOR_HOOK_ERROR__EXACT_OUT_NOT_SUPPORTED = 0x1b61; // 7009
|
|
32
|
+
/** SeedRangeFixed: the seed range is fixed by the first seed_liquidity */
|
|
33
|
+
export const FLOOR_HOOK_ERROR__SEED_RANGE_FIXED = 0x1b62; // 7010
|
|
34
|
+
/** BadRange: range is invalid or yields zero liquidity */
|
|
35
|
+
export const FLOOR_HOOK_ERROR__BAD_RANGE = 0x1b63; // 7011
|
|
36
|
+
/** LadderAlreadySeeded: the ladder is already seeded */
|
|
37
|
+
export const FLOOR_HOOK_ERROR__LADDER_ALREADY_SEEDED = 0x1b64; // 7012
|
|
38
|
+
/** RecipientPendingClaim: fee recipient is pending its claim */
|
|
39
|
+
export const FLOOR_HOOK_ERROR__RECIPIENT_PENDING_CLAIM = 0x1b65; // 7013
|
|
40
|
+
/** WrongDestination: destination token account is not the configured one */
|
|
41
|
+
export const FLOOR_HOOK_ERROR__WRONG_DESTINATION = 0x1b66; // 7014
|
|
42
|
+
/** AlreadyResolved: recipient already resolved */
|
|
43
|
+
export const FLOOR_HOOK_ERROR__ALREADY_RESOLVED = 0x1b67; // 7015
|
|
44
|
+
/** InvariantViolated: an invariant failed in an epilogue */
|
|
45
|
+
export const FLOOR_HOOK_ERROR__INVARIANT_VIOLATED = 0x1b68; // 7016
|
|
46
|
+
/** AmmReturnMissing: the AMM returned no or malformed HookOpResultV1 */
|
|
47
|
+
export const FLOOR_HOOK_ERROR__AMM_RETURN_MISSING = 0x1b69; // 7017
|
|
48
|
+
/** MathOverflow: arithmetic overflow */
|
|
49
|
+
export const FLOOR_HOOK_ERROR__MATH_OVERFLOW = 0x1b6a; // 7018
|
|
50
|
+
/** MinBidOutOfRange: min_bid is outside this quote's hard range */
|
|
51
|
+
export const FLOOR_HOOK_ERROR__MIN_BID_OUT_OF_RANGE = 0x1b6b; // 7019
|
|
52
|
+
/** BountyOutOfRange: the ratchet bounty rate or ceiling is outside its hard range */
|
|
53
|
+
export const FLOOR_HOOK_ERROR__BOUNTY_OUT_OF_RANGE = 0x1b6c; // 7020
|
|
54
|
+
/** NotSeeded: the pool is not open for trade until graduation has seeded it */
|
|
55
|
+
export const FLOOR_HOOK_ERROR__NOT_SEEDED = 0x1b6d; // 7021
|
|
56
|
+
/** QuoteNotListed: the quote mint is not on the FLOOR roster (list_quote it first) */
|
|
57
|
+
export const FLOOR_HOOK_ERROR__QUOTE_NOT_LISTED = 0x1b6e; // 7022
|
|
58
|
+
/** QuoteAlreadyListed: the quote mint is already on the FLOOR roster */
|
|
59
|
+
export const FLOOR_HOOK_ERROR__QUOTE_ALREADY_LISTED = 0x1b6f; // 7023
|
|
60
|
+
/** QuoteRetired: the quote mint is retired: no new pool may be registered against it */
|
|
61
|
+
export const FLOOR_HOOK_ERROR__QUOTE_RETIRED = 0x1b70; // 7024
|
|
62
|
+
/** QuoteDecimalsOutOfRange: the quote mint decimals are outside the admissible window (no launch could ever price on it) */
|
|
63
|
+
export const FLOOR_HOOK_ERROR__QUOTE_DECIMALS_OUT_OF_RANGE = 0x1b71; // 7025
|
|
64
|
+
/** QuoteNotAmmQuote: carpenter_amm does not list this mint as a quote mint */
|
|
65
|
+
export const FLOOR_HOOK_ERROR__QUOTE_NOT_AMM_QUOTE = 0x1b72; // 7026
|
|
66
|
+
/** NothingOwed: nothing is owed: pay_holder was asked to pay zero */
|
|
67
|
+
export const FLOOR_HOOK_ERROR__NOTHING_OWED = 0x1b73; // 7027
|
|
68
|
+
/** QuoteMintNotSupported: the quote mint is refused by the mint gate in the quote role (carpenter-mint-gate) */
|
|
69
|
+
export const FLOOR_HOOK_ERROR__QUOTE_MINT_NOT_SUPPORTED = 0x1b74; // 7028
|
|
70
|
+
/** QuoteCapsNotAdmitted: a capability of this quote mint is not admitted by carpenter_amm's quote_caps_admitted mask */
|
|
71
|
+
export const FLOOR_HOOK_ERROR__QUOTE_CAPS_NOT_ADMITTED = 0x1b75; // 7029
|
|
72
|
+
/** QuoteSuspended: the quote is suspended (its vault is frozen or its mint is paused): observe_quote must read it clear first */
|
|
73
|
+
export const FLOOR_HOOK_ERROR__QUOTE_SUSPENDED = 0x1b76; // 7030
|
|
74
|
+
/** TreasuryNotMigrated: the platform cut is paid only to the program-owned treasury */
|
|
75
|
+
export const FLOOR_HOOK_ERROR__TREASURY_NOT_MIGRATED = 0x1b77; // 7031
|
|
76
|
+
/** TreasuryIsNotGovernance: the treasury cannot be its own governance: it can never sign a withdrawal */
|
|
77
|
+
export const FLOOR_HOOK_ERROR__TREASURY_IS_NOT_GOVERNANCE = 0x1b78; // 7032
|
|
78
|
+
/** TreasuryGovernanceIsAttestor: the treasury's governance may not be the launch program's attestor: one key, one role */
|
|
79
|
+
export const FLOOR_HOOK_ERROR__TREASURY_GOVERNANCE_IS_ATTESTOR = 0x1b79; // 7033
|
|
80
|
+
/** BadWithdrawal: a withdrawal moves a non-zero amount out of the treasury, never back into it */
|
|
81
|
+
export const FLOOR_HOOK_ERROR__BAD_WITHDRAWAL = 0x1b7a; // 7034
|
|
82
|
+
/** NotTreasuryAccount: the withdrawal source is not a token account the platform treasury owns */
|
|
83
|
+
export const FLOOR_HOOK_ERROR__NOT_TREASURY_ACCOUNT = 0x1b7b; // 7035
|
|
84
|
+
/** TreasuryBalanceShort: the withdrawal is larger than the treasury account's balance */
|
|
85
|
+
export const FLOOR_HOOK_ERROR__TREASURY_BALANCE_SHORT = 0x1b7c; // 7036
|
|
86
|
+
/** NotHoldersAuthority: pay_holder must be signed by floor_holders' holders_authority PDA */
|
|
87
|
+
export const FLOOR_HOOK_ERROR__NOT_HOLDERS_AUTHORITY = 0x1b7d; // 7037
|
|
88
|
+
/** HolderPayExceedsOwed: pay_holder: the amount exceeds what this pool owes its holders */
|
|
89
|
+
export const FLOOR_HOOK_ERROR__HOLDER_PAY_EXCEEDS_OWED = 0x1b7e; // 7038
|
|
90
|
+
/** HolderRateNeedsHook: a holder rate needs FLOOR's empty transfer-hook slot on the base mint, and the slot needs a holder rate */
|
|
91
|
+
export const FLOOR_HOOK_ERROR__HOLDER_RATE_NEEDS_HOOK = 0x1b7f; // 7039
|
|
92
|
+
/** ReferrerNotAllowed: a referrer is allowed only when the fee recipient is the deployer's own wallet, and never the referrer itself */
|
|
93
|
+
export const FLOOR_HOOK_ERROR__REFERRER_NOT_ALLOWED = 0x1b80; // 7040
|
|
94
|
+
/** BadReferralTier: claim_referral_fees: the tier must be 1, 2 or 3 */
|
|
95
|
+
export const FLOOR_HOOK_ERROR__BAD_REFERRAL_TIER = 0x1b81; // 7041
|
|
96
|
+
/** TeamFeeOutOfRange: the pool's FLOOR Platform fee is above its cap (TEAM_POOL_FEE_BPS_MAX) */
|
|
97
|
+
export const FLOOR_HOOK_ERROR__TEAM_FEE_OUT_OF_RANGE = 0x1b82; // 7042
|
|
98
|
+
/** TwapUnavailable: twap_tick: this pool has no price oracle yet (no tail, or never written) */
|
|
99
|
+
export const FLOOR_HOOK_ERROR__TWAP_UNAVAILABLE = 0x1b83; // 7043
|
|
100
|
+
/** TwapWindowTooLong: twap_tick: the window is longer than the oracle's oldest checkpoint */
|
|
101
|
+
export const FLOOR_HOOK_ERROR__TWAP_WINDOW_TOO_LONG = 0x1b84; // 7044
|
|
102
|
+
/** BadQuoteToken: only a wSOL pool's platform cut feeds $FLOOR, and $FLOOR's pool is wSOL-quoted */
|
|
103
|
+
export const FLOOR_HOOK_ERROR__BAD_QUOTE_TOKEN = 0x1b85; // 7045
|
|
104
|
+
/** FloorPoolNotLive: $FLOOR's pool is not live yet: the wSOL cut stays owed on its pool until it graduates */
|
|
105
|
+
export const FLOOR_HOOK_ERROR__FLOOR_POOL_NOT_LIVE = 0x1b86; // 7046
|
|
106
|
+
/** FloorPoolNotEligible: $FLOOR's pool: designation needs a fresh unbound pool, and it never credits itself */
|
|
107
|
+
export const FLOOR_HOOK_ERROR__FLOOR_POOL_NOT_ELIGIBLE = 0x1b87; // 7047
|
|
108
|
+
/** SkimSellMultipleOutOfRange: register_pool: the at-floor sell multiple is outside 10,000..=50,000 bps (1x..=5x) */
|
|
109
|
+
export const FLOOR_HOOK_ERROR__SKIM_SELL_MULTIPLE_OUT_OF_RANGE = 0x1b88; // 7048
|
|
110
|
+
/** SkimSellAtFloorAboveCap: register_pool: the at-floor sell skim (far x multiple) is above 1,500 bps (15 %) */
|
|
111
|
+
export const FLOOR_HOOK_ERROR__SKIM_SELL_AT_FLOOR_ABOVE_CAP = 0x1b89; // 7049
|
|
112
|
+
/** StairShapeOutOfRange: register_pool: the staircase is outside steps 1..=16, growth 5,000..=20,000 bps */
|
|
113
|
+
export const FLOOR_HOOK_ERROR__STAIR_SHAPE_OUT_OF_RANGE = 0x1b8a; // 7050
|
|
114
|
+
/** StairStateMissing: the staircase's StairState account is missing or wrong */
|
|
115
|
+
export const FLOOR_HOOK_ERROR__STAIR_STATE_MISSING = 0x1b8b; // 7051
|
|
116
|
+
/** StairNotTokenOnly: the staircase: a step would not be token-only at the market */
|
|
117
|
+
export const FLOOR_HOOK_ERROR__STAIR_NOT_TOKEN_ONLY = 0x1b8c; // 7052
|
|
118
|
+
/** GenesisStairRefused: set_genesis_stair: only $FLOOR's designated pool, once, before it is bound or seeded */
|
|
119
|
+
export const FLOOR_HOOK_ERROR__GENESIS_STAIR_REFUSED = 0x1b8d; // 7053
|
|
120
|
+
/** StairOwnerBadConfig: the owner steps: the config is outside its allowed range, or already written */
|
|
121
|
+
export const FLOOR_HOOK_ERROR__STAIR_OWNER_BAD_CONFIG = 0x1b8e; // 7054
|
|
122
|
+
/** StairPayeePending: the owner steps: the payee's handle is not claimed yet */
|
|
123
|
+
export const FLOOR_HOOK_ERROR__STAIR_PAYEE_PENDING = 0x1b8f; // 7055
|
|
124
|
+
/** StairWrongPayee: the owner steps: only the payee, to its own account */
|
|
125
|
+
export const FLOOR_HOOK_ERROR__STAIR_WRONG_PAYEE = 0x1b90; // 7056
|
|
126
|
+
/** StairStepLocked: the owner steps: this step is still locked */
|
|
127
|
+
export const FLOOR_HOOK_ERROR__STAIR_STEP_LOCKED = 0x1b91; // 7057
|
|
128
|
+
/** StairStepNotAbove: the owner steps: only a step wholly above the price, after the ratchet */
|
|
129
|
+
export const FLOOR_HOOK_ERROR__STAIR_STEP_NOT_ABOVE = 0x1b92; // 7058
|
|
130
|
+
/** StairPayeeResolved: the owner steps: the payee is already resolved */
|
|
131
|
+
export const FLOOR_HOOK_ERROR__STAIR_PAYEE_RESOLVED = 0x1b93; // 7059
|
|
132
|
+
/** HookGovernanceIsAttestor: the hook's governance can never be the attestor */
|
|
133
|
+
export const FLOOR_HOOK_ERROR__HOOK_GOVERNANCE_IS_ATTESTOR = 0x1b94; // 7060
|
|
134
|
+
/** HookGovernanceCannotSign: the hook's governance must be a key that can sign */
|
|
135
|
+
export const FLOOR_HOOK_ERROR__HOOK_GOVERNANCE_CANNOT_SIGN = 0x1b95; // 7061
|
|
136
|
+
/** StairArrayHot: the staircase rent reserve: that tick array is next to the price */
|
|
137
|
+
export const FLOOR_HOOK_ERROR__STAIR_ARRAY_HOT = 0x1b96; // 7062
|
|
138
|
+
/** OwnerBooksExceedHoldings: the owner steps: the books claim more than the position holds */
|
|
139
|
+
export const FLOOR_HOOK_ERROR__OWNER_BOOKS_EXCEED_HOLDINGS = 0x1b97; // 7063
|
|
140
|
+
/** QuoteNotAdmitted: the quote is not admitted: no QuotePolicy, no qualifying FLOOR parent, and allow-all is off */
|
|
141
|
+
export const FLOOR_HOOK_ERROR__QUOTE_NOT_ADMITTED = 0x1b98; // 7064
|
|
142
|
+
/** DerivedQuoteTerms: a derived quote's terms are the hook's own: min_bid = 0.001 whole token rounded up, max_bounty = 0 */
|
|
143
|
+
export const FLOOR_HOOK_ERROR__DERIVED_QUOTE_TERMS = 0x1b99; // 7065
|
|
144
|
+
/** QuoteIsFloorLaunch: a FLOOR launch's token is never a listed quote: it is admitted by lineage and priced through its pools */
|
|
145
|
+
export const FLOOR_HOOK_ERROR__QUOTE_IS_FLOOR_LAUNCH = 0x1b9a; // 7066
|
|
146
|
+
/** TraderNotLinked: trader referrals: the trader has no TraderLink (link first) */
|
|
147
|
+
export const FLOOR_HOOK_ERROR__TRADER_NOT_LINKED = 0x1b9b; // 7067
|
|
148
|
+
/** TraderBucketOpen: trader referrals: that bucket is already open */
|
|
149
|
+
export const FLOOR_HOOK_ERROR__TRADER_BUCKET_OPEN = 0x1b9c; // 7068
|
|
150
|
+
/** TraderRefBadAccount: trader referrals: an account is not the bucket, vault, payee or TraderBucket it must be */
|
|
151
|
+
export const FLOOR_HOOK_ERROR__TRADER_REF_BAD_ACCOUNT = 0x1b9d; // 7069
|
|
152
|
+
/** BadRecipients: bad recipient slots: up to 5, each an address or a pending handle id, shares summing to 10,000 */
|
|
153
|
+
export const FLOOR_HOOK_ERROR__BAD_RECIPIENTS = 0x1b9e; // 7070
|
|
154
|
+
/** BadSlot: no such slot */
|
|
155
|
+
export const FLOOR_HOOK_ERROR__BAD_SLOT = 0x1b9f; // 7071
|
|
156
|
+
|
|
157
|
+
export type FloorHookError = typeof FLOOR_HOOK_ERROR__ALREADY_RESOLVED | typeof FLOOR_HOOK_ERROR__AMM_RETURN_MISSING | typeof FLOOR_HOOK_ERROR__BAD_CONFIG | typeof FLOOR_HOOK_ERROR__BAD_QUOTE_TOKEN | typeof FLOOR_HOOK_ERROR__BAD_RANGE | typeof FLOOR_HOOK_ERROR__BAD_RECIPIENTS | typeof FLOOR_HOOK_ERROR__BAD_REFERRAL_TIER | typeof FLOOR_HOOK_ERROR__BAD_SLOT | typeof FLOOR_HOOK_ERROR__BAD_WITHDRAWAL | typeof FLOOR_HOOK_ERROR__BOUNTY_OUT_OF_RANGE | typeof FLOOR_HOOK_ERROR__DERIVED_QUOTE_TERMS | typeof FLOOR_HOOK_ERROR__EXACT_OUT_NOT_SUPPORTED | typeof FLOOR_HOOK_ERROR__FLOOR_POOL_NOT_ELIGIBLE | typeof FLOOR_HOOK_ERROR__FLOOR_POOL_NOT_LIVE | typeof FLOOR_HOOK_ERROR__GENESIS_STAIR_REFUSED | typeof FLOOR_HOOK_ERROR__HOLDER_PAY_EXCEEDS_OWED | typeof FLOOR_HOOK_ERROR__HOLDER_RATE_NEEDS_HOOK | typeof FLOOR_HOOK_ERROR__HOOK_GOVERNANCE_CANNOT_SIGN | typeof FLOOR_HOOK_ERROR__HOOK_GOVERNANCE_IS_ATTESTOR | typeof FLOOR_HOOK_ERROR__INVARIANT_VIOLATED | typeof FLOOR_HOOK_ERROR__LADDER_ALREADY_SEEDED | typeof FLOOR_HOOK_ERROR__MATH_OVERFLOW | typeof FLOOR_HOOK_ERROR__MIN_BID_OUT_OF_RANGE | typeof FLOOR_HOOK_ERROR__MINT_ALREADY_POOLED | typeof FLOOR_HOOK_ERROR__NOT_AMM_POOL | typeof FLOOR_HOOK_ERROR__NOT_BOUND | typeof FLOOR_HOOK_ERROR__NOT_DYNAMIC_FEE | typeof FLOOR_HOOK_ERROR__NOTHING_OWED | typeof FLOOR_HOOK_ERROR__NOT_HOLDERS_AUTHORITY | typeof FLOOR_HOOK_ERROR__NOT_INITIALIZER | typeof FLOOR_HOOK_ERROR__NOT_LAUNCHER | typeof FLOOR_HOOK_ERROR__NOT_SEEDED | typeof FLOOR_HOOK_ERROR__NOT_TREASURY_ACCOUNT | typeof FLOOR_HOOK_ERROR__OWNER_BOOKS_EXCEED_HOLDINGS | typeof FLOOR_HOOK_ERROR__QUOTE_ALREADY_LISTED | typeof FLOOR_HOOK_ERROR__QUOTE_CAPS_NOT_ADMITTED | typeof FLOOR_HOOK_ERROR__QUOTE_DECIMALS_OUT_OF_RANGE | typeof FLOOR_HOOK_ERROR__QUOTE_IS_FLOOR_LAUNCH | typeof FLOOR_HOOK_ERROR__QUOTE_MINT_NOT_SUPPORTED | typeof FLOOR_HOOK_ERROR__QUOTE_NOT_ADMITTED | typeof FLOOR_HOOK_ERROR__QUOTE_NOT_AMM_QUOTE | typeof FLOOR_HOOK_ERROR__QUOTE_NOT_LISTED | typeof FLOOR_HOOK_ERROR__QUOTE_RETIRED | typeof FLOOR_HOOK_ERROR__QUOTE_SUSPENDED | typeof FLOOR_HOOK_ERROR__RECIPIENT_PENDING_CLAIM | typeof FLOOR_HOOK_ERROR__REFERRER_NOT_ALLOWED | typeof FLOOR_HOOK_ERROR__SEED_RANGE_FIXED | typeof FLOOR_HOOK_ERROR__SKIM_SELL_AT_FLOOR_ABOVE_CAP | typeof FLOOR_HOOK_ERROR__SKIM_SELL_MULTIPLE_OUT_OF_RANGE | typeof FLOOR_HOOK_ERROR__STAIR_ARRAY_HOT | typeof FLOOR_HOOK_ERROR__STAIR_NOT_TOKEN_ONLY | typeof FLOOR_HOOK_ERROR__STAIR_OWNER_BAD_CONFIG | typeof FLOOR_HOOK_ERROR__STAIR_PAYEE_PENDING | typeof FLOOR_HOOK_ERROR__STAIR_PAYEE_RESOLVED | typeof FLOOR_HOOK_ERROR__STAIR_SHAPE_OUT_OF_RANGE | typeof FLOOR_HOOK_ERROR__STAIR_STATE_MISSING | typeof FLOOR_HOOK_ERROR__STAIR_STEP_LOCKED | typeof FLOOR_HOOK_ERROR__STAIR_STEP_NOT_ABOVE | typeof FLOOR_HOOK_ERROR__STAIR_WRONG_PAYEE | typeof FLOOR_HOOK_ERROR__TEAM_FEE_OUT_OF_RANGE | typeof FLOOR_HOOK_ERROR__TRADER_BUCKET_OPEN | typeof FLOOR_HOOK_ERROR__TRADER_NOT_LINKED | typeof FLOOR_HOOK_ERROR__TRADER_REF_BAD_ACCOUNT | typeof FLOOR_HOOK_ERROR__TREASURY_BALANCE_SHORT | typeof FLOOR_HOOK_ERROR__TREASURY_GOVERNANCE_IS_ATTESTOR | typeof FLOOR_HOOK_ERROR__TREASURY_IS_NOT_GOVERNANCE | typeof FLOOR_HOOK_ERROR__TREASURY_NOT_MIGRATED | typeof FLOOR_HOOK_ERROR__TWAP_UNAVAILABLE | typeof FLOOR_HOOK_ERROR__TWAP_WINDOW_TOO_LONG | typeof FLOOR_HOOK_ERROR__UNAUTHORIZED | typeof FLOOR_HOOK_ERROR__WRONG_DESTINATION | typeof FLOOR_HOOK_ERROR__WRONG_POOL;
|
|
158
|
+
|
|
159
|
+
let floorHookErrorMessages: Record<FloorHookError, string> | undefined;
|
|
160
|
+
if (process.env['NODE_ENV'] !== 'production') {
|
|
161
|
+
floorHookErrorMessages = { [FLOOR_HOOK_ERROR__ALREADY_RESOLVED]: `recipient already resolved`, [FLOOR_HOOK_ERROR__AMM_RETURN_MISSING]: `the AMM returned no or malformed HookOpResultV1`, [FLOOR_HOOK_ERROR__BAD_CONFIG]: `register_pool configuration is invalid`, [FLOOR_HOOK_ERROR__BAD_QUOTE_TOKEN]: `only a wSOL pool's platform cut feeds $FLOOR, and $FLOOR's pool is wSOL-quoted`, [FLOOR_HOOK_ERROR__BAD_RANGE]: `range is invalid or yields zero liquidity`, [FLOOR_HOOK_ERROR__BAD_RECIPIENTS]: `bad recipient slots: up to 5, each an address or a pending handle id, shares summing to 10,000`, [FLOOR_HOOK_ERROR__BAD_REFERRAL_TIER]: `claim_referral_fees: the tier must be 1, 2 or 3`, [FLOOR_HOOK_ERROR__BAD_SLOT]: `no such slot`, [FLOOR_HOOK_ERROR__BAD_WITHDRAWAL]: `a withdrawal moves a non-zero amount out of the treasury, never back into it`, [FLOOR_HOOK_ERROR__BOUNTY_OUT_OF_RANGE]: `the ratchet bounty rate or ceiling is outside its hard range`, [FLOOR_HOOK_ERROR__DERIVED_QUOTE_TERMS]: `a derived quote's terms are the hook's own: min_bid = 0.001 whole token rounded up, max_bounty = 0`, [FLOOR_HOOK_ERROR__EXACT_OUT_NOT_SUPPORTED]: `FLOOR pools refuse exact-output swaps in this build`, [FLOOR_HOOK_ERROR__FLOOR_POOL_NOT_ELIGIBLE]: `$FLOOR's pool: designation needs a fresh unbound pool, and it never credits itself`, [FLOOR_HOOK_ERROR__FLOOR_POOL_NOT_LIVE]: `$FLOOR's pool is not live yet: the wSOL cut stays owed on its pool until it graduates`, [FLOOR_HOOK_ERROR__GENESIS_STAIR_REFUSED]: `set_genesis_stair: only $FLOOR's designated pool, once, before it is bound or seeded`, [FLOOR_HOOK_ERROR__HOLDER_PAY_EXCEEDS_OWED]: `pay_holder: the amount exceeds what this pool owes its holders`, [FLOOR_HOOK_ERROR__HOLDER_RATE_NEEDS_HOOK]: `a holder rate needs FLOOR's empty transfer-hook slot on the base mint, and the slot needs a holder rate`, [FLOOR_HOOK_ERROR__HOOK_GOVERNANCE_CANNOT_SIGN]: `the hook's governance must be a key that can sign`, [FLOOR_HOOK_ERROR__HOOK_GOVERNANCE_IS_ATTESTOR]: `the hook's governance can never be the attestor`, [FLOOR_HOOK_ERROR__INVARIANT_VIOLATED]: `an invariant failed in an epilogue`, [FLOOR_HOOK_ERROR__LADDER_ALREADY_SEEDED]: `the ladder is already seeded`, [FLOOR_HOOK_ERROR__MATH_OVERFLOW]: `arithmetic overflow`, [FLOOR_HOOK_ERROR__MIN_BID_OUT_OF_RANGE]: `min_bid is outside this quote's hard range`, [FLOOR_HOOK_ERROR__MINT_ALREADY_POOLED]: `mint already has a pool`, [FLOOR_HOOK_ERROR__NOT_AMM_POOL]: `callback signer is not this FloorPool's AMM pool`, [FLOOR_HOOK_ERROR__NOT_BOUND]: `FloorPool is not bound to a pool`, [FLOOR_HOOK_ERROR__NOT_DYNAMIC_FEE]: `FLOOR pools require the dynamic fee flag`, [FLOOR_HOOK_ERROR__NOTHING_OWED]: `nothing is owed: pay_holder was asked to pay zero`, [FLOOR_HOOK_ERROR__NOT_HOLDERS_AUTHORITY]: `pay_holder must be signed by floor_holders' holders_authority PDA`, [FLOOR_HOOK_ERROR__NOT_INITIALIZER]: `pool initializer is not the registered Launch`, [FLOOR_HOOK_ERROR__NOT_LAUNCHER]: `signer is not the launch authority`, [FLOOR_HOOK_ERROR__NOT_SEEDED]: `the pool is not open for trade until graduation has seeded it`, [FLOOR_HOOK_ERROR__NOT_TREASURY_ACCOUNT]: `the withdrawal source is not a token account the platform treasury owns`, [FLOOR_HOOK_ERROR__OWNER_BOOKS_EXCEED_HOLDINGS]: `the owner steps: the books claim more than the position holds`, [FLOOR_HOOK_ERROR__QUOTE_ALREADY_LISTED]: `the quote mint is already on the FLOOR roster`, [FLOOR_HOOK_ERROR__QUOTE_CAPS_NOT_ADMITTED]: `a capability of this quote mint is not admitted by carpenter_amm's quote_caps_admitted mask`, [FLOOR_HOOK_ERROR__QUOTE_DECIMALS_OUT_OF_RANGE]: `the quote mint decimals are outside the admissible window (no launch could ever price on it)`, [FLOOR_HOOK_ERROR__QUOTE_IS_FLOOR_LAUNCH]: `a FLOOR launch's token is never a listed quote: it is admitted by lineage and priced through its pools`, [FLOOR_HOOK_ERROR__QUOTE_MINT_NOT_SUPPORTED]: `the quote mint is refused by the mint gate in the quote role (carpenter-mint-gate)`, [FLOOR_HOOK_ERROR__QUOTE_NOT_ADMITTED]: `the quote is not admitted: no QuotePolicy, no qualifying FLOOR parent, and allow-all is off`, [FLOOR_HOOK_ERROR__QUOTE_NOT_AMM_QUOTE]: `carpenter_amm does not list this mint as a quote mint`, [FLOOR_HOOK_ERROR__QUOTE_NOT_LISTED]: `the quote mint is not on the FLOOR roster (list_quote it first)`, [FLOOR_HOOK_ERROR__QUOTE_RETIRED]: `the quote mint is retired: no new pool may be registered against it`, [FLOOR_HOOK_ERROR__QUOTE_SUSPENDED]: `the quote is suspended (its vault is frozen or its mint is paused): observe_quote must read it clear first`, [FLOOR_HOOK_ERROR__RECIPIENT_PENDING_CLAIM]: `fee recipient is pending its claim`, [FLOOR_HOOK_ERROR__REFERRER_NOT_ALLOWED]: `a referrer is allowed only when the fee recipient is the deployer's own wallet, and never the referrer itself`, [FLOOR_HOOK_ERROR__SEED_RANGE_FIXED]: `the seed range is fixed by the first seed_liquidity`, [FLOOR_HOOK_ERROR__SKIM_SELL_AT_FLOOR_ABOVE_CAP]: `register_pool: the at-floor sell skim (far x multiple) is above 1,500 bps (15 %)`, [FLOOR_HOOK_ERROR__SKIM_SELL_MULTIPLE_OUT_OF_RANGE]: `register_pool: the at-floor sell multiple is outside 10,000..=50,000 bps (1x..=5x)`, [FLOOR_HOOK_ERROR__STAIR_ARRAY_HOT]: `the staircase rent reserve: that tick array is next to the price`, [FLOOR_HOOK_ERROR__STAIR_NOT_TOKEN_ONLY]: `the staircase: a step would not be token-only at the market`, [FLOOR_HOOK_ERROR__STAIR_OWNER_BAD_CONFIG]: `the owner steps: the config is outside its allowed range, or already written`, [FLOOR_HOOK_ERROR__STAIR_PAYEE_PENDING]: `the owner steps: the payee's handle is not claimed yet`, [FLOOR_HOOK_ERROR__STAIR_PAYEE_RESOLVED]: `the owner steps: the payee is already resolved`, [FLOOR_HOOK_ERROR__STAIR_SHAPE_OUT_OF_RANGE]: `register_pool: the staircase is outside steps 1..=16, growth 5,000..=20,000 bps`, [FLOOR_HOOK_ERROR__STAIR_STATE_MISSING]: `the staircase's StairState account is missing or wrong`, [FLOOR_HOOK_ERROR__STAIR_STEP_LOCKED]: `the owner steps: this step is still locked`, [FLOOR_HOOK_ERROR__STAIR_STEP_NOT_ABOVE]: `the owner steps: only a step wholly above the price, after the ratchet`, [FLOOR_HOOK_ERROR__STAIR_WRONG_PAYEE]: `the owner steps: only the payee, to its own account`, [FLOOR_HOOK_ERROR__TEAM_FEE_OUT_OF_RANGE]: `the pool's FLOOR Platform fee is above its cap (TEAM_POOL_FEE_BPS_MAX)`, [FLOOR_HOOK_ERROR__TRADER_BUCKET_OPEN]: `trader referrals: that bucket is already open`, [FLOOR_HOOK_ERROR__TRADER_NOT_LINKED]: `trader referrals: the trader has no TraderLink (link first)`, [FLOOR_HOOK_ERROR__TRADER_REF_BAD_ACCOUNT]: `trader referrals: an account is not the bucket, vault, payee or TraderBucket it must be`, [FLOOR_HOOK_ERROR__TREASURY_BALANCE_SHORT]: `the withdrawal is larger than the treasury account's balance`, [FLOOR_HOOK_ERROR__TREASURY_GOVERNANCE_IS_ATTESTOR]: `the treasury's governance may not be the launch program's attestor: one key, one role`, [FLOOR_HOOK_ERROR__TREASURY_IS_NOT_GOVERNANCE]: `the treasury cannot be its own governance: it can never sign a withdrawal`, [FLOOR_HOOK_ERROR__TREASURY_NOT_MIGRATED]: `the platform cut is paid only to the program-owned treasury`, [FLOOR_HOOK_ERROR__TWAP_UNAVAILABLE]: `twap_tick: this pool has no price oracle yet (no tail, or never written)`, [FLOOR_HOOK_ERROR__TWAP_WINDOW_TOO_LONG]: `twap_tick: the window is longer than the oracle's oldest checkpoint`, [FLOOR_HOOK_ERROR__UNAUTHORIZED]: `signer is not the required authority`, [FLOOR_HOOK_ERROR__WRONG_DESTINATION]: `destination token account is not the configured one`, [FLOOR_HOOK_ERROR__WRONG_POOL]: `pool account is not this FloorPool's AMM pool` };
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export function getFloorHookErrorMessage(code: FloorHookError): string {
|
|
165
|
+
if (process.env['NODE_ENV'] !== 'production') {
|
|
166
|
+
return (floorHookErrorMessages as Record<FloorHookError, string>)[code];
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
return 'Error message not available in production bundles.';
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export function isFloorHookError<TProgramErrorCode extends FloorHookError>(
|
|
173
|
+
error: unknown,
|
|
174
|
+
transactionMessage: { instructions: Record<number, { programAddress: Address }> },
|
|
175
|
+
code?: TProgramErrorCode,
|
|
176
|
+
): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{ context: Readonly<{ code: TProgramErrorCode }> }> {
|
|
177
|
+
return isProgramError<TProgramErrorCode>(error, transactionMessage, FLOOR_HOOK_PROGRAM_ADDRESS, code);
|
|
178
|
+
}
|