@floorlaunchpad/sdk-solana 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +61 -0
- package/NOTICE +65 -0
- package/README.md +157 -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,57 @@
|
|
|
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
|
+
import { combineCodec, fixDecoderSize, fixEncoderSize, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, transformEncoder } from '@solana/kit';
|
|
9
|
+
import { getAccountMetaFactory } from '@solana/kit/program-client-core';
|
|
10
|
+
import { findHookConfigPda } from '../pdas/index.js';
|
|
11
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
12
|
+
export const ACCEPT_HOOK_GOVERNANCE_DISCRIMINATOR = new Uint8Array([68, 39, 99, 106, 109, 166, 67, 144]);
|
|
13
|
+
export function getAcceptHookGovernanceDiscriminatorBytes() { return fixEncoderSize(getBytesEncoder(), 8).encode(ACCEPT_HOOK_GOVERNANCE_DISCRIMINATOR); }
|
|
14
|
+
export function getAcceptHookGovernanceInstructionDataEncoder() {
|
|
15
|
+
return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)]]), (value) => ({ ...value, discriminator: ACCEPT_HOOK_GOVERNANCE_DISCRIMINATOR }));
|
|
16
|
+
}
|
|
17
|
+
export function getAcceptHookGovernanceInstructionDataDecoder() {
|
|
18
|
+
return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)]]);
|
|
19
|
+
}
|
|
20
|
+
export function getAcceptHookGovernanceInstructionDataCodec() {
|
|
21
|
+
return combineCodec(getAcceptHookGovernanceInstructionDataEncoder(), getAcceptHookGovernanceInstructionDataDecoder());
|
|
22
|
+
}
|
|
23
|
+
export async function getAcceptHookGovernanceInstructionAsync(input, config) {
|
|
24
|
+
// Program address.
|
|
25
|
+
const programAddress = config?.programAddress ?? FLOOR_HOOK_PROGRAM_ADDRESS;
|
|
26
|
+
// Original accounts.
|
|
27
|
+
const originalAccounts = { governance: { value: input.governance ?? null, isWritable: false }, hookConfig: { value: input.hookConfig ?? null, isWritable: true }, launchConfig: { value: input.launchConfig ?? null, isWritable: false }, eventAuthority: { value: input.eventAuthority ?? null, isWritable: false }, program: { value: input.program ?? null, isWritable: false } };
|
|
28
|
+
const accounts = originalAccounts;
|
|
29
|
+
// Resolve default values.
|
|
30
|
+
if (!accounts.hookConfig.value) {
|
|
31
|
+
accounts.hookConfig.value = await findHookConfigPda({ programAddress });
|
|
32
|
+
}
|
|
33
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
|
|
34
|
+
return Object.freeze({ accounts: [getAccountMeta("governance", accounts.governance), getAccountMeta("hookConfig", accounts.hookConfig), getAccountMeta("launchConfig", accounts.launchConfig), getAccountMeta("eventAuthority", accounts.eventAuthority), getAccountMeta("program", accounts.program)], data: getAcceptHookGovernanceInstructionDataEncoder().encode({}), programAddress });
|
|
35
|
+
}
|
|
36
|
+
export function getAcceptHookGovernanceInstruction(input, config) {
|
|
37
|
+
// Program address.
|
|
38
|
+
const programAddress = config?.programAddress ?? FLOOR_HOOK_PROGRAM_ADDRESS;
|
|
39
|
+
// Original accounts.
|
|
40
|
+
const originalAccounts = { governance: { value: input.governance ?? null, isWritable: false }, hookConfig: { value: input.hookConfig ?? null, isWritable: true }, launchConfig: { value: input.launchConfig ?? null, isWritable: false }, eventAuthority: { value: input.eventAuthority ?? null, isWritable: false }, program: { value: input.program ?? null, isWritable: false } };
|
|
41
|
+
const accounts = originalAccounts;
|
|
42
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
|
|
43
|
+
return Object.freeze({ accounts: [getAccountMeta("governance", accounts.governance), getAccountMeta("hookConfig", accounts.hookConfig), getAccountMeta("launchConfig", accounts.launchConfig), getAccountMeta("eventAuthority", accounts.eventAuthority), getAccountMeta("program", accounts.program)], data: getAcceptHookGovernanceInstructionDataEncoder().encode({}), programAddress });
|
|
44
|
+
}
|
|
45
|
+
export function parseAcceptHookGovernanceInstruction(instruction) {
|
|
46
|
+
if (instruction.accounts.length < 5) {
|
|
47
|
+
throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, { actualAccountMetas: instruction.accounts.length, expectedAccountMetas: 5 });
|
|
48
|
+
}
|
|
49
|
+
let accountIndex = 0;
|
|
50
|
+
const getNextAccount = () => {
|
|
51
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
52
|
+
accountIndex += 1;
|
|
53
|
+
return accountMeta;
|
|
54
|
+
};
|
|
55
|
+
return { programAddress: instruction.programAddress, accounts: { governance: getNextAccount(), hookConfig: getNextAccount(), launchConfig: getNextAccount(), eventAuthority: getNextAccount(), program: getNextAccount() }, data: getAcceptHookGovernanceInstructionDataDecoder().decode(instruction.data) };
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=acceptHookGovernance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acceptHookGovernance.js","sourceRoot":"","sources":["../../../../../src/generated/client/floor_hook/instructions/acceptHookGovernance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,yDAAyD,EAAE,WAAW,EAAE,gBAAgB,EAAgU,MAAM,aAAa,CAAC;AACziB,OAAO,EAAE,qBAAqB,EAAmC,MAAM,iCAAiC,CAAC;AACzG,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,MAAM,CAAC,MAAM,oCAAoC,GAAuB,IAAI,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC;AAE7H,MAAM,UAAU,yCAAyC,KAAyB,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,oCAAoC,CAAC,CAAC,CAAC,CAAC;AAS7K,MAAM,UAAU,6C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,EAAE,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,6CAA6C,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;AAC/S,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
|
|
9
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
10
|
+
export declare const ACCEPT_TEAM_TREASURY_GOVERNANCE_DISCRIMINATOR: ReadonlyUint8Array;
|
|
11
|
+
export declare function getAcceptTeamTreasuryGovernanceDiscriminatorBytes(): ReadonlyUint8Array;
|
|
12
|
+
export type AcceptTeamTreasuryGovernanceInstruction<TProgram extends string = typeof FLOOR_HOOK_PROGRAM_ADDRESS, TAccountGovernance extends string | AccountMeta<string> = string, TAccountTeamTreasury extends string | AccountMeta<string> = string, TAccountHookConfig extends string | AccountMeta<string> = string, TAccountLaunchConfig extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountGovernance extends string ? ReadonlySignerAccount<TAccountGovernance> & AccountSignerMeta<TAccountGovernance> : TAccountGovernance, TAccountTeamTreasury extends string ? WritableAccount<TAccountTeamTreasury> : TAccountTeamTreasury, TAccountHookConfig extends string ? ReadonlyAccount<TAccountHookConfig> : TAccountHookConfig, TAccountLaunchConfig extends string ? ReadonlyAccount<TAccountLaunchConfig> : TAccountLaunchConfig, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
|
|
13
|
+
export type AcceptTeamTreasuryGovernanceInstructionData = {
|
|
14
|
+
discriminator: ReadonlyUint8Array;
|
|
15
|
+
};
|
|
16
|
+
export type AcceptTeamTreasuryGovernanceInstructionDataArgs = {};
|
|
17
|
+
export declare function getAcceptTeamTreasuryGovernanceInstructionDataEncoder(): FixedSizeEncoder<AcceptTeamTreasuryGovernanceInstructionDataArgs>;
|
|
18
|
+
export declare function getAcceptTeamTreasuryGovernanceInstructionDataDecoder(): FixedSizeDecoder<AcceptTeamTreasuryGovernanceInstructionData>;
|
|
19
|
+
export declare function getAcceptTeamTreasuryGovernanceInstructionDataCodec(): FixedSizeCodec<AcceptTeamTreasuryGovernanceInstructionDataArgs, AcceptTeamTreasuryGovernanceInstructionData>;
|
|
20
|
+
export type AcceptTeamTreasuryGovernanceAsyncInput<TAccountGovernance extends string = string, TAccountTeamTreasury extends string = string, TAccountHookConfig extends string = string, TAccountLaunchConfig extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
|
|
21
|
+
governance: TransactionSigner<TAccountGovernance>;
|
|
22
|
+
teamTreasury?: Address<TAccountTeamTreasury>;
|
|
23
|
+
hookConfig?: Address<TAccountHookConfig>;
|
|
24
|
+
launchConfig: Address<TAccountLaunchConfig>;
|
|
25
|
+
eventAuthority: Address<TAccountEventAuthority>;
|
|
26
|
+
program: Address<TAccountProgram>;
|
|
27
|
+
};
|
|
28
|
+
export declare function getAcceptTeamTreasuryGovernanceInstructionAsync<TAccountGovernance extends string, TAccountTeamTreasury extends string, TAccountHookConfig extends string, TAccountLaunchConfig extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof FLOOR_HOOK_PROGRAM_ADDRESS>(input: AcceptTeamTreasuryGovernanceAsyncInput<TAccountGovernance, TAccountTeamTreasury, TAccountHookConfig, TAccountLaunchConfig, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
29
|
+
programAddress?: TProgramAddress;
|
|
30
|
+
}): Promise<AcceptTeamTreasuryGovernanceInstruction<TProgramAddress, TAccountGovernance, TAccountTeamTreasury, TAccountHookConfig, TAccountLaunchConfig, TAccountEventAuthority, TAccountProgram>>;
|
|
31
|
+
export type AcceptTeamTreasuryGovernanceInput<TAccountGovernance extends string = string, TAccountTeamTreasury extends string = string, TAccountHookConfig extends string = string, TAccountLaunchConfig extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
|
|
32
|
+
governance: TransactionSigner<TAccountGovernance>;
|
|
33
|
+
teamTreasury: Address<TAccountTeamTreasury>;
|
|
34
|
+
hookConfig: Address<TAccountHookConfig>;
|
|
35
|
+
launchConfig: Address<TAccountLaunchConfig>;
|
|
36
|
+
eventAuthority: Address<TAccountEventAuthority>;
|
|
37
|
+
program: Address<TAccountProgram>;
|
|
38
|
+
};
|
|
39
|
+
export declare function getAcceptTeamTreasuryGovernanceInstruction<TAccountGovernance extends string, TAccountTeamTreasury extends string, TAccountHookConfig extends string, TAccountLaunchConfig extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof FLOOR_HOOK_PROGRAM_ADDRESS>(input: AcceptTeamTreasuryGovernanceInput<TAccountGovernance, TAccountTeamTreasury, TAccountHookConfig, TAccountLaunchConfig, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
40
|
+
programAddress?: TProgramAddress;
|
|
41
|
+
}): AcceptTeamTreasuryGovernanceInstruction<TProgramAddress, TAccountGovernance, TAccountTeamTreasury, TAccountHookConfig, TAccountLaunchConfig, TAccountEventAuthority, TAccountProgram>;
|
|
42
|
+
export type ParsedAcceptTeamTreasuryGovernanceInstruction<TProgram extends string = typeof FLOOR_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
43
|
+
programAddress: Address<TProgram>;
|
|
44
|
+
accounts: {
|
|
45
|
+
governance: TAccountMetas[0];
|
|
46
|
+
teamTreasury: TAccountMetas[1];
|
|
47
|
+
hookConfig: TAccountMetas[2];
|
|
48
|
+
launchConfig: TAccountMetas[3];
|
|
49
|
+
eventAuthority: TAccountMetas[4];
|
|
50
|
+
program: TAccountMetas[5];
|
|
51
|
+
};
|
|
52
|
+
data: AcceptTeamTreasuryGovernanceInstructionData;
|
|
53
|
+
};
|
|
54
|
+
export declare function parseAcceptTeamTreasuryGovernanceInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAcceptTeamTreasuryGovernanceInstruction<TProgram, TAccountMetas>;
|
|
55
|
+
//# sourceMappingURL=acceptTeamTreasuryGovernance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acceptTeamTreasuryGovernance.d.ts","sourceRoot":"","sources":["../../../../../src/generated/client/floor_hook/instructions/acceptTeamTreasuryGovernance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAgN,KAAK,WAAW,EAAE,KAAK,iBAAiB,EAAE,KAAK,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EAAE,KAAK,uBAAuB,EAAE,KAAK,mBAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,qBAAqB,EAAE,KAAK,kBAAkB,EAAE,KAAK,iBAA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E,sBAAsB,EAAE,eAAe,CAAC,EAAE,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAAI,uCAAuC,CAAC,eAAe,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,eAAe,CAAC,CAanuB;AAED,MAAM,MAAM,6CAA6C,CAAC,QAAQ,SAAS,MAAM,GAAG,OAAO,0BAA0B,EAAE,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IAAI;IAAE,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IACpO,QAAQ,EAAE;QACV,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACjC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACzB,CAAC;IACF,IAAI,EAAE,2CAA2C,CAAC;CAAE,CAAC;AAErD,wBAAgB,4CAA4C,CAAC,QAAQ,SAAS,MAAM,EAAE,aAAa,SAAS,SAAS,WAAW,EAAE,EAAE,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,uBAAuB,CAAC,aAAa,CAAC,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,GAAG,6CAA6C,CAAC,QAAQ,EAAE,aAAa,CAAC,CAWjU"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
import { combineCodec, fixDecoderSize, fixEncoderSize, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, transformEncoder } from '@solana/kit';
|
|
9
|
+
import { getAccountMetaFactory } from '@solana/kit/program-client-core';
|
|
10
|
+
import { findHookConfigPda, findTeamTreasuryPda } from '../pdas/index.js';
|
|
11
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
12
|
+
export const ACCEPT_TEAM_TREASURY_GOVERNANCE_DISCRIMINATOR = new Uint8Array([51, 65, 175, 181, 184, 59, 211, 160]);
|
|
13
|
+
export function getAcceptTeamTreasuryGovernanceDiscriminatorBytes() { return fixEncoderSize(getBytesEncoder(), 8).encode(ACCEPT_TEAM_TREASURY_GOVERNANCE_DISCRIMINATOR); }
|
|
14
|
+
export function getAcceptTeamTreasuryGovernanceInstructionDataEncoder() {
|
|
15
|
+
return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)]]), (value) => ({ ...value, discriminator: ACCEPT_TEAM_TREASURY_GOVERNANCE_DISCRIMINATOR }));
|
|
16
|
+
}
|
|
17
|
+
export function getAcceptTeamTreasuryGovernanceInstructionDataDecoder() {
|
|
18
|
+
return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)]]);
|
|
19
|
+
}
|
|
20
|
+
export function getAcceptTeamTreasuryGovernanceInstructionDataCodec() {
|
|
21
|
+
return combineCodec(getAcceptTeamTreasuryGovernanceInstructionDataEncoder(), getAcceptTeamTreasuryGovernanceInstructionDataDecoder());
|
|
22
|
+
}
|
|
23
|
+
export async function getAcceptTeamTreasuryGovernanceInstructionAsync(input, config) {
|
|
24
|
+
// Program address.
|
|
25
|
+
const programAddress = config?.programAddress ?? FLOOR_HOOK_PROGRAM_ADDRESS;
|
|
26
|
+
// Original accounts.
|
|
27
|
+
const originalAccounts = { governance: { value: input.governance ?? null, isWritable: false }, teamTreasury: { value: input.teamTreasury ?? null, isWritable: true }, hookConfig: { value: input.hookConfig ?? null, isWritable: false }, launchConfig: { value: input.launchConfig ?? null, isWritable: false }, eventAuthority: { value: input.eventAuthority ?? null, isWritable: false }, program: { value: input.program ?? null, isWritable: false } };
|
|
28
|
+
const accounts = originalAccounts;
|
|
29
|
+
// Resolve default values.
|
|
30
|
+
if (!accounts.teamTreasury.value) {
|
|
31
|
+
accounts.teamTreasury.value = await findTeamTreasuryPda({ programAddress });
|
|
32
|
+
}
|
|
33
|
+
if (!accounts.hookConfig.value) {
|
|
34
|
+
accounts.hookConfig.value = await findHookConfigPda({ programAddress });
|
|
35
|
+
}
|
|
36
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
|
|
37
|
+
return Object.freeze({ accounts: [getAccountMeta("governance", accounts.governance), getAccountMeta("teamTreasury", accounts.teamTreasury), getAccountMeta("hookConfig", accounts.hookConfig), getAccountMeta("launchConfig", accounts.launchConfig), getAccountMeta("eventAuthority", accounts.eventAuthority), getAccountMeta("program", accounts.program)], data: getAcceptTeamTreasuryGovernanceInstructionDataEncoder().encode({}), programAddress });
|
|
38
|
+
}
|
|
39
|
+
export function getAcceptTeamTreasuryGovernanceInstruction(input, config) {
|
|
40
|
+
// Program address.
|
|
41
|
+
const programAddress = config?.programAddress ?? FLOOR_HOOK_PROGRAM_ADDRESS;
|
|
42
|
+
// Original accounts.
|
|
43
|
+
const originalAccounts = { governance: { value: input.governance ?? null, isWritable: false }, teamTreasury: { value: input.teamTreasury ?? null, isWritable: true }, hookConfig: { value: input.hookConfig ?? null, isWritable: false }, launchConfig: { value: input.launchConfig ?? null, isWritable: false }, eventAuthority: { value: input.eventAuthority ?? null, isWritable: false }, program: { value: input.program ?? null, isWritable: false } };
|
|
44
|
+
const accounts = originalAccounts;
|
|
45
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
|
|
46
|
+
return Object.freeze({ accounts: [getAccountMeta("governance", accounts.governance), getAccountMeta("teamTreasury", accounts.teamTreasury), getAccountMeta("hookConfig", accounts.hookConfig), getAccountMeta("launchConfig", accounts.launchConfig), getAccountMeta("eventAuthority", accounts.eventAuthority), getAccountMeta("program", accounts.program)], data: getAcceptTeamTreasuryGovernanceInstructionDataEncoder().encode({}), programAddress });
|
|
47
|
+
}
|
|
48
|
+
export function parseAcceptTeamTreasuryGovernanceInstruction(instruction) {
|
|
49
|
+
if (instruction.accounts.length < 6) {
|
|
50
|
+
throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, { actualAccountMetas: instruction.accounts.length, expectedAccountMetas: 6 });
|
|
51
|
+
}
|
|
52
|
+
let accountIndex = 0;
|
|
53
|
+
const getNextAccount = () => {
|
|
54
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
55
|
+
accountIndex += 1;
|
|
56
|
+
return accountMeta;
|
|
57
|
+
};
|
|
58
|
+
return { programAddress: instruction.programAddress, accounts: { governance: getNextAccount(), teamTreasury: getNextAccount(), hookConfig: getNextAccount(), launchConfig: getNextAccount(), eventAuthority: getNextAccount(), program: getNextAccount() }, data: getAcceptTeamTreasuryGovernanceInstructionDataDecoder().decode(instruction.data) };
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=acceptTeamTreasuryGovernance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acceptTeamTreasuryGovernance.js","sourceRoot":"","sources":["../../../../../src/generated/client/floor_hook/instructions/acceptTeamTreasuryGovernance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,yDAAyD,EAAE,WAAW,EAAE,gBAAgB,EAAgU,MAAM,aAAa,CAAC;AACziB,OAAO,EAAE,qBAAqB,EAAmC,MAAM,iCAAiC,CAAC;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1,55 @@
|
|
|
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
|
+
import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
|
|
9
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
10
|
+
export declare const ACCEPT_TREASURY_GOVERNANCE_DISCRIMINATOR: ReadonlyUint8Array;
|
|
11
|
+
export declare function getAcceptTreasuryGovernanceDiscriminatorBytes(): ReadonlyUint8Array;
|
|
12
|
+
export type AcceptTreasuryGovernanceInstruction<TProgram extends string = typeof FLOOR_HOOK_PROGRAM_ADDRESS, TAccountGovernance extends string | AccountMeta<string> = string, TAccountPlatformTreasury extends string | AccountMeta<string> = string, TAccountHookConfig extends string | AccountMeta<string> = string, TAccountLaunchConfig extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountGovernance extends string ? ReadonlySignerAccount<TAccountGovernance> & AccountSignerMeta<TAccountGovernance> : TAccountGovernance, TAccountPlatformTreasury extends string ? WritableAccount<TAccountPlatformTreasury> : TAccountPlatformTreasury, TAccountHookConfig extends string ? ReadonlyAccount<TAccountHookConfig> : TAccountHookConfig, TAccountLaunchConfig extends string ? ReadonlyAccount<TAccountLaunchConfig> : TAccountLaunchConfig, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
|
|
13
|
+
export type AcceptTreasuryGovernanceInstructionData = {
|
|
14
|
+
discriminator: ReadonlyUint8Array;
|
|
15
|
+
};
|
|
16
|
+
export type AcceptTreasuryGovernanceInstructionDataArgs = {};
|
|
17
|
+
export declare function getAcceptTreasuryGovernanceInstructionDataEncoder(): FixedSizeEncoder<AcceptTreasuryGovernanceInstructionDataArgs>;
|
|
18
|
+
export declare function getAcceptTreasuryGovernanceInstructionDataDecoder(): FixedSizeDecoder<AcceptTreasuryGovernanceInstructionData>;
|
|
19
|
+
export declare function getAcceptTreasuryGovernanceInstructionDataCodec(): FixedSizeCodec<AcceptTreasuryGovernanceInstructionDataArgs, AcceptTreasuryGovernanceInstructionData>;
|
|
20
|
+
export type AcceptTreasuryGovernanceAsyncInput<TAccountGovernance extends string = string, TAccountPlatformTreasury extends string = string, TAccountHookConfig extends string = string, TAccountLaunchConfig extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
|
|
21
|
+
governance: TransactionSigner<TAccountGovernance>;
|
|
22
|
+
platformTreasury?: Address<TAccountPlatformTreasury>;
|
|
23
|
+
hookConfig?: Address<TAccountHookConfig>;
|
|
24
|
+
launchConfig: Address<TAccountLaunchConfig>;
|
|
25
|
+
eventAuthority: Address<TAccountEventAuthority>;
|
|
26
|
+
program: Address<TAccountProgram>;
|
|
27
|
+
};
|
|
28
|
+
export declare function getAcceptTreasuryGovernanceInstructionAsync<TAccountGovernance extends string, TAccountPlatformTreasury extends string, TAccountHookConfig extends string, TAccountLaunchConfig extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof FLOOR_HOOK_PROGRAM_ADDRESS>(input: AcceptTreasuryGovernanceAsyncInput<TAccountGovernance, TAccountPlatformTreasury, TAccountHookConfig, TAccountLaunchConfig, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
29
|
+
programAddress?: TProgramAddress;
|
|
30
|
+
}): Promise<AcceptTreasuryGovernanceInstruction<TProgramAddress, TAccountGovernance, TAccountPlatformTreasury, TAccountHookConfig, TAccountLaunchConfig, TAccountEventAuthority, TAccountProgram>>;
|
|
31
|
+
export type AcceptTreasuryGovernanceInput<TAccountGovernance extends string = string, TAccountPlatformTreasury extends string = string, TAccountHookConfig extends string = string, TAccountLaunchConfig extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
|
|
32
|
+
governance: TransactionSigner<TAccountGovernance>;
|
|
33
|
+
platformTreasury: Address<TAccountPlatformTreasury>;
|
|
34
|
+
hookConfig: Address<TAccountHookConfig>;
|
|
35
|
+
launchConfig: Address<TAccountLaunchConfig>;
|
|
36
|
+
eventAuthority: Address<TAccountEventAuthority>;
|
|
37
|
+
program: Address<TAccountProgram>;
|
|
38
|
+
};
|
|
39
|
+
export declare function getAcceptTreasuryGovernanceInstruction<TAccountGovernance extends string, TAccountPlatformTreasury extends string, TAccountHookConfig extends string, TAccountLaunchConfig extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof FLOOR_HOOK_PROGRAM_ADDRESS>(input: AcceptTreasuryGovernanceInput<TAccountGovernance, TAccountPlatformTreasury, TAccountHookConfig, TAccountLaunchConfig, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
40
|
+
programAddress?: TProgramAddress;
|
|
41
|
+
}): AcceptTreasuryGovernanceInstruction<TProgramAddress, TAccountGovernance, TAccountPlatformTreasury, TAccountHookConfig, TAccountLaunchConfig, TAccountEventAuthority, TAccountProgram>;
|
|
42
|
+
export type ParsedAcceptTreasuryGovernanceInstruction<TProgram extends string = typeof FLOOR_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
43
|
+
programAddress: Address<TProgram>;
|
|
44
|
+
accounts: {
|
|
45
|
+
governance: TAccountMetas[0];
|
|
46
|
+
platformTreasury: TAccountMetas[1];
|
|
47
|
+
hookConfig: TAccountMetas[2];
|
|
48
|
+
launchConfig: TAccountMetas[3];
|
|
49
|
+
eventAuthority: TAccountMetas[4];
|
|
50
|
+
program: TAccountMetas[5];
|
|
51
|
+
};
|
|
52
|
+
data: AcceptTreasuryGovernanceInstructionData;
|
|
53
|
+
};
|
|
54
|
+
export declare function parseAcceptTreasuryGovernanceInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAcceptTreasuryGovernanceInstruction<TProgram, TAccountMetas>;
|
|
55
|
+
//# sourceMappingURL=acceptTreasuryGovernance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acceptTreasuryGovernance.d.ts","sourceRoot":"","sources":["../../../../../src/generated/client/floor_hook/instructions/acceptTreasuryGovernance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAgN,KAAK,WAAW,EAAE,KAAK,iBAAiB,EAAE,KAAK,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EAAE,KAAK,uBAAuB,EAAE,KAAK,mBAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,qBAAqB,EAAE,KAAK,kBAAkB,EAAE,KAAK,iBAAiB,EAAE,KAAK,eAAe,EAAE,MAAM,aAAa,CAAC;AAGziB,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,eAAO,MAAM,wCAAwC,EAAE,kBAA2E,CAAC;AAEnI,wBAAgB,6CAA6C,IAAI,kBAAkB,CAAkG;AAErL,MAAM,MAAM,mCAAmC,CAAC,QAAQ,SAAS,MAAM,GAAG,OAAO,0BAA0B,EAAE,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,wBAAwB,SAAS,MAAM,GAAG,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,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAChO,QAAQ,EAAE;QACV,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACnC,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACjC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACzB,CAAC;IACF,IAAI,EAAE,uCAAuC,CAAC;CAAE,CAAC;AAEjD,wBAAgB,wCAAwC,CAAC,QAAQ,SAAS,MAAM,EAAE,aAAa,SAAS,SAAS,WAAW,EAAE,EAAE,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,uBAAuB,CAAC,aAAa,CAAC,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,GAAG,yCAAyC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAWzT"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
import { combineCodec, fixDecoderSize, fixEncoderSize, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, transformEncoder } from '@solana/kit';
|
|
9
|
+
import { getAccountMetaFactory } from '@solana/kit/program-client-core';
|
|
10
|
+
import { findHookConfigPda, findPlatformTreasuryPda } from '../pdas/index.js';
|
|
11
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
12
|
+
export const ACCEPT_TREASURY_GOVERNANCE_DISCRIMINATOR = new Uint8Array([108, 248, 168, 54, 40, 251, 153, 230]);
|
|
13
|
+
export function getAcceptTreasuryGovernanceDiscriminatorBytes() { return fixEncoderSize(getBytesEncoder(), 8).encode(ACCEPT_TREASURY_GOVERNANCE_DISCRIMINATOR); }
|
|
14
|
+
export function getAcceptTreasuryGovernanceInstructionDataEncoder() {
|
|
15
|
+
return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)]]), (value) => ({ ...value, discriminator: ACCEPT_TREASURY_GOVERNANCE_DISCRIMINATOR }));
|
|
16
|
+
}
|
|
17
|
+
export function getAcceptTreasuryGovernanceInstructionDataDecoder() {
|
|
18
|
+
return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)]]);
|
|
19
|
+
}
|
|
20
|
+
export function getAcceptTreasuryGovernanceInstructionDataCodec() {
|
|
21
|
+
return combineCodec(getAcceptTreasuryGovernanceInstructionDataEncoder(), getAcceptTreasuryGovernanceInstructionDataDecoder());
|
|
22
|
+
}
|
|
23
|
+
export async function getAcceptTreasuryGovernanceInstructionAsync(input, config) {
|
|
24
|
+
// Program address.
|
|
25
|
+
const programAddress = config?.programAddress ?? FLOOR_HOOK_PROGRAM_ADDRESS;
|
|
26
|
+
// Original accounts.
|
|
27
|
+
const originalAccounts = { governance: { value: input.governance ?? null, isWritable: false }, platformTreasury: { value: input.platformTreasury ?? null, isWritable: true }, hookConfig: { value: input.hookConfig ?? null, isWritable: false }, launchConfig: { value: input.launchConfig ?? null, isWritable: false }, eventAuthority: { value: input.eventAuthority ?? null, isWritable: false }, program: { value: input.program ?? null, isWritable: false } };
|
|
28
|
+
const accounts = originalAccounts;
|
|
29
|
+
// Resolve default values.
|
|
30
|
+
if (!accounts.platformTreasury.value) {
|
|
31
|
+
accounts.platformTreasury.value = await findPlatformTreasuryPda({ programAddress });
|
|
32
|
+
}
|
|
33
|
+
if (!accounts.hookConfig.value) {
|
|
34
|
+
accounts.hookConfig.value = await findHookConfigPda({ programAddress });
|
|
35
|
+
}
|
|
36
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
|
|
37
|
+
return Object.freeze({ accounts: [getAccountMeta("governance", accounts.governance), getAccountMeta("platformTreasury", accounts.platformTreasury), getAccountMeta("hookConfig", accounts.hookConfig), getAccountMeta("launchConfig", accounts.launchConfig), getAccountMeta("eventAuthority", accounts.eventAuthority), getAccountMeta("program", accounts.program)], data: getAcceptTreasuryGovernanceInstructionDataEncoder().encode({}), programAddress });
|
|
38
|
+
}
|
|
39
|
+
export function getAcceptTreasuryGovernanceInstruction(input, config) {
|
|
40
|
+
// Program address.
|
|
41
|
+
const programAddress = config?.programAddress ?? FLOOR_HOOK_PROGRAM_ADDRESS;
|
|
42
|
+
// Original accounts.
|
|
43
|
+
const originalAccounts = { governance: { value: input.governance ?? null, isWritable: false }, platformTreasury: { value: input.platformTreasury ?? null, isWritable: true }, hookConfig: { value: input.hookConfig ?? null, isWritable: false }, launchConfig: { value: input.launchConfig ?? null, isWritable: false }, eventAuthority: { value: input.eventAuthority ?? null, isWritable: false }, program: { value: input.program ?? null, isWritable: false } };
|
|
44
|
+
const accounts = originalAccounts;
|
|
45
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
|
|
46
|
+
return Object.freeze({ accounts: [getAccountMeta("governance", accounts.governance), getAccountMeta("platformTreasury", accounts.platformTreasury), getAccountMeta("hookConfig", accounts.hookConfig), getAccountMeta("launchConfig", accounts.launchConfig), getAccountMeta("eventAuthority", accounts.eventAuthority), getAccountMeta("program", accounts.program)], data: getAcceptTreasuryGovernanceInstructionDataEncoder().encode({}), programAddress });
|
|
47
|
+
}
|
|
48
|
+
export function parseAcceptTreasuryGovernanceInstruction(instruction) {
|
|
49
|
+
if (instruction.accounts.length < 6) {
|
|
50
|
+
throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, { actualAccountMetas: instruction.accounts.length, expectedAccountMetas: 6 });
|
|
51
|
+
}
|
|
52
|
+
let accountIndex = 0;
|
|
53
|
+
const getNextAccount = () => {
|
|
54
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
55
|
+
accountIndex += 1;
|
|
56
|
+
return accountMeta;
|
|
57
|
+
};
|
|
58
|
+
return { programAddress: instruction.programAddress, accounts: { governance: getNextAccount(), platformTreasury: getNextAccount(), hookConfig: getNextAccount(), launchConfig: getNextAccount(), eventAuthority: getNextAccount(), program: getNextAccount() }, data: getAcceptTreasuryGovernanceInstructionDataDecoder().decode(instruction.data) };
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=acceptTreasuryGovernance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acceptTreasuryGovernance.js","sourceRoot":"","sources":["../../../../../src/generated/client/floor_hook/instructions/acceptTreasuryGovernance.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,yDAAyD,EAAE,WAAW,EAAE,gBAAgB,EAAgU,MAAM,aAAa,CAAC;AACziB,OAAO,EAAE,qBAAqB,EAAmC,MAAM,iCAAiC,CAAC;AACzG,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,MAAM,CAAC,MAAM,wCAAwC,GAAuB,IAAI,UAAU,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AAEnI,MAAM,UAAU,6CAA6C,KAAyB,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,wCAAwC,CAAC,CAAC,CAAC,CAAC;A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wCAAwC,CAAwE,WAAqH;IACnP,IAAI,WAAW,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,WAAW,CAAC,yDAAyD,EAAE,EAAE,kBAAkB,EAAE,WAAW,CAAC,QAAQ,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,EAAE,CAAC,CAAC;IACjK,CAAC;IACD,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,MAAM,cAAc,GAAG,GAAG,EAAE;QAC1B,MAAM,WAAW,GAAI,WAAW,CAAC,QAA0B,CAAC,YAAY,CAAE,CAAC;QAC3E,YAAY,IAAI,CAAC,CAAC;QAClB,OAAO,WAAW,CAAC;IACrB,CAAC,CAAA;IACC,OAAO,EAAE,cAAc,EAAE,WAAW,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,gBAAgB,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,iDAAiD,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;AACvV,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
|
|
9
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
10
|
+
import { type ActionResult, type ActionResultArgs, type PoolSnapshot, type PoolSnapshotArgs } from '../types/index.js';
|
|
11
|
+
export declare const AFTER_ACTIONS_DISCRIMINATOR: ReadonlyUint8Array;
|
|
12
|
+
export declare function getAfterActionsDiscriminatorBytes(): ReadonlyUint8Array;
|
|
13
|
+
export type AfterActionsInstruction<TProgram extends string = typeof FLOOR_HOOK_PROGRAM_ADDRESS, TAccountPoolSigner extends string | AccountMeta<string> = string, TAccountFloorPool extends string | AccountMeta<string> = string, TAccountTraderBucket extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountPoolSigner extends string ? ReadonlySignerAccount<TAccountPoolSigner> & AccountSignerMeta<TAccountPoolSigner> : TAccountPoolSigner, TAccountFloorPool extends string ? WritableAccount<TAccountFloorPool> : TAccountFloorPool, TAccountTraderBucket extends string ? ReadonlyAccount<TAccountTraderBucket> : TAccountTraderBucket, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
|
|
14
|
+
export type AfterActionsInstructionData = {
|
|
15
|
+
discriminator: ReadonlyUint8Array;
|
|
16
|
+
version: number;
|
|
17
|
+
phase: number;
|
|
18
|
+
round: number;
|
|
19
|
+
pool: Address;
|
|
20
|
+
post: PoolSnapshot;
|
|
21
|
+
supply0: bigint;
|
|
22
|
+
supply1: bigint;
|
|
23
|
+
hookClaims0: bigint;
|
|
24
|
+
hookClaims1: bigint;
|
|
25
|
+
results: Array<ActionResult>;
|
|
26
|
+
};
|
|
27
|
+
export type AfterActionsInstructionDataArgs = {
|
|
28
|
+
version: number;
|
|
29
|
+
phase: number;
|
|
30
|
+
round: number;
|
|
31
|
+
pool: Address;
|
|
32
|
+
post: PoolSnapshotArgs;
|
|
33
|
+
supply0: number | bigint;
|
|
34
|
+
supply1: number | bigint;
|
|
35
|
+
hookClaims0: number | bigint;
|
|
36
|
+
hookClaims1: number | bigint;
|
|
37
|
+
results: Array<ActionResultArgs>;
|
|
38
|
+
};
|
|
39
|
+
export declare function getAfterActionsInstructionDataEncoder(): Encoder<AfterActionsInstructionDataArgs>;
|
|
40
|
+
export declare function getAfterActionsInstructionDataDecoder(): Decoder<AfterActionsInstructionData>;
|
|
41
|
+
export declare function getAfterActionsInstructionDataCodec(): Codec<AfterActionsInstructionDataArgs, AfterActionsInstructionData>;
|
|
42
|
+
export type AfterActionsInput<TAccountPoolSigner extends string = string, TAccountFloorPool extends string = string, TAccountTraderBucket extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
|
|
43
|
+
poolSigner: TransactionSigner<TAccountPoolSigner>;
|
|
44
|
+
floorPool: Address<TAccountFloorPool>;
|
|
45
|
+
traderBucket: Address<TAccountTraderBucket>;
|
|
46
|
+
eventAuthority: Address<TAccountEventAuthority>;
|
|
47
|
+
program: Address<TAccountProgram>;
|
|
48
|
+
version: AfterActionsInstructionDataArgs["version"];
|
|
49
|
+
phase: AfterActionsInstructionDataArgs["phase"];
|
|
50
|
+
round: AfterActionsInstructionDataArgs["round"];
|
|
51
|
+
pool: AfterActionsInstructionDataArgs["pool"];
|
|
52
|
+
post: AfterActionsInstructionDataArgs["post"];
|
|
53
|
+
supply0: AfterActionsInstructionDataArgs["supply0"];
|
|
54
|
+
supply1: AfterActionsInstructionDataArgs["supply1"];
|
|
55
|
+
hookClaims0: AfterActionsInstructionDataArgs["hookClaims0"];
|
|
56
|
+
hookClaims1: AfterActionsInstructionDataArgs["hookClaims1"];
|
|
57
|
+
results: AfterActionsInstructionDataArgs["results"];
|
|
58
|
+
};
|
|
59
|
+
export declare function getAfterActionsInstruction<TAccountPoolSigner extends string, TAccountFloorPool extends string, TAccountTraderBucket extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof FLOOR_HOOK_PROGRAM_ADDRESS>(input: AfterActionsInput<TAccountPoolSigner, TAccountFloorPool, TAccountTraderBucket, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
60
|
+
programAddress?: TProgramAddress;
|
|
61
|
+
}): AfterActionsInstruction<TProgramAddress, TAccountPoolSigner, TAccountFloorPool, TAccountTraderBucket, TAccountEventAuthority, TAccountProgram>;
|
|
62
|
+
export type ParsedAfterActionsInstruction<TProgram extends string = typeof FLOOR_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
63
|
+
programAddress: Address<TProgram>;
|
|
64
|
+
accounts: {
|
|
65
|
+
poolSigner: TAccountMetas[0];
|
|
66
|
+
floorPool: TAccountMetas[1];
|
|
67
|
+
traderBucket: TAccountMetas[2];
|
|
68
|
+
eventAuthority: TAccountMetas[3];
|
|
69
|
+
program: TAccountMetas[4];
|
|
70
|
+
};
|
|
71
|
+
data: AfterActionsInstructionData;
|
|
72
|
+
};
|
|
73
|
+
export declare function parseAfterActionsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAfterActionsInstruction<TProgram, TAccountMetas>;
|
|
74
|
+
//# sourceMappingURL=afterActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"afterActions.d.ts","sourceRoot":"","sources":["../../../../../src/generated/client/floor_hook/instructions/afterActions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAkV,KAAK,WAAW,EAAE,KAAK,iBAAiB,EAAE,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,uBAAuB,EAAE,KAAK,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B,EAAE,eAAe,CAAC,EAAE,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAAI,uBAAuB,CAAC,eAAe,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,eAAe,CAAC,CAiB/lB;AAED,MAAM,MAAM,6BAA6B,CAAC,QAAQ,SAAS,MAAM,GAAG,OAAO,0BAA0B,EAAE,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IAAI;IAAE,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IACpN,QAAQ,EAAE;QACV,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC5B,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACjC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACzB,CAAC;IACF,IAAI,EAAE,2BAA2B,CAAC;CAAE,CAAC;AAErC,wBAAgB,4BAA4B,CAAC,QAAQ,SAAS,MAAM,EAAE,aAAa,SAAS,SAAS,WAAW,EAAE,EAAE,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,uBAAuB,CAAC,aAAa,CAAC,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,GAAG,6BAA6B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAWjS"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
import { combineCodec, fixDecoderSize, fixEncoderSize, getAddressDecoder, getAddressEncoder, getArrayDecoder, getArrayEncoder, getBytesDecoder, getBytesEncoder, getStructDecoder, getStructEncoder, getU64Decoder, getU64Encoder, getU8Decoder, getU8Encoder, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, transformEncoder } from '@solana/kit';
|
|
9
|
+
import { getAccountMetaFactory } from '@solana/kit/program-client-core';
|
|
10
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
11
|
+
import { getActionResultDecoder, getActionResultEncoder, getPoolSnapshotDecoder, getPoolSnapshotEncoder } from '../types/index.js';
|
|
12
|
+
export const AFTER_ACTIONS_DISCRIMINATOR = new Uint8Array([97, 150, 206, 96, 145, 2, 36, 0]);
|
|
13
|
+
export function getAfterActionsDiscriminatorBytes() { return fixEncoderSize(getBytesEncoder(), 8).encode(AFTER_ACTIONS_DISCRIMINATOR); }
|
|
14
|
+
export function getAfterActionsInstructionDataEncoder() {
|
|
15
|
+
return transformEncoder(getStructEncoder([['discriminator', fixEncoderSize(getBytesEncoder(), 8)], ['version', getU8Encoder()], ['phase', getU8Encoder()], ['round', getU8Encoder()], ['pool', getAddressEncoder()], ['post', getPoolSnapshotEncoder()], ['supply0', getU64Encoder()], ['supply1', getU64Encoder()], ['hookClaims0', getU64Encoder()], ['hookClaims1', getU64Encoder()], ['results', getArrayEncoder(getActionResultEncoder())]]), (value) => ({ ...value, discriminator: AFTER_ACTIONS_DISCRIMINATOR }));
|
|
16
|
+
}
|
|
17
|
+
export function getAfterActionsInstructionDataDecoder() {
|
|
18
|
+
return getStructDecoder([['discriminator', fixDecoderSize(getBytesDecoder(), 8)], ['version', getU8Decoder()], ['phase', getU8Decoder()], ['round', getU8Decoder()], ['pool', getAddressDecoder()], ['post', getPoolSnapshotDecoder()], ['supply0', getU64Decoder()], ['supply1', getU64Decoder()], ['hookClaims0', getU64Decoder()], ['hookClaims1', getU64Decoder()], ['results', getArrayDecoder(getActionResultDecoder())]]);
|
|
19
|
+
}
|
|
20
|
+
export function getAfterActionsInstructionDataCodec() {
|
|
21
|
+
return combineCodec(getAfterActionsInstructionDataEncoder(), getAfterActionsInstructionDataDecoder());
|
|
22
|
+
}
|
|
23
|
+
export function getAfterActionsInstruction(input, config) {
|
|
24
|
+
// Program address.
|
|
25
|
+
const programAddress = config?.programAddress ?? FLOOR_HOOK_PROGRAM_ADDRESS;
|
|
26
|
+
// Original accounts.
|
|
27
|
+
const originalAccounts = { poolSigner: { value: input.poolSigner ?? null, isWritable: false }, floorPool: { value: input.floorPool ?? null, isWritable: true }, traderBucket: { value: input.traderBucket ?? null, isWritable: false }, eventAuthority: { value: input.eventAuthority ?? null, isWritable: false }, program: { value: input.program ?? null, isWritable: false } };
|
|
28
|
+
const accounts = originalAccounts;
|
|
29
|
+
// Original args.
|
|
30
|
+
const args = { ...input, };
|
|
31
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
|
|
32
|
+
return Object.freeze({ accounts: [getAccountMeta("poolSigner", accounts.poolSigner), getAccountMeta("floorPool", accounts.floorPool), getAccountMeta("traderBucket", accounts.traderBucket), getAccountMeta("eventAuthority", accounts.eventAuthority), getAccountMeta("program", accounts.program)], data: getAfterActionsInstructionDataEncoder().encode(args), programAddress });
|
|
33
|
+
}
|
|
34
|
+
export function parseAfterActionsInstruction(instruction) {
|
|
35
|
+
if (instruction.accounts.length < 5) {
|
|
36
|
+
throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, { actualAccountMetas: instruction.accounts.length, expectedAccountMetas: 5 });
|
|
37
|
+
}
|
|
38
|
+
let accountIndex = 0;
|
|
39
|
+
const getNextAccount = () => {
|
|
40
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
41
|
+
accountIndex += 1;
|
|
42
|
+
return accountMeta;
|
|
43
|
+
};
|
|
44
|
+
return { programAddress: instruction.programAddress, accounts: { poolSigner: getNextAccount(), floorPool: getNextAccount(), traderBucket: getNextAccount(), eventAuthority: getNextAccount(), program: getNextAccount() }, data: getAfterActionsInstructionDataDecoder().decode(instruction.data) };
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=afterActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"afterActions.js","sourceRoot":"","sources":["../../../../../src/generated/client/floor_hook/instructions/afterActions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,yDAAyD,EAAE,WAAW,EAAE,gBAAgB,EAAqS,MAAM,aAAa,CAAC;AAChpB,OAAO,EAAE,qBAAqB,EAAmC,MAAM,iCAAiC,CAAC;AACzG,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,sBAAsB,EAAsF,MAAM,mBAAmB,CAAC;AAEvN,MAAM,CAAC,MAAM,2BAA2B,GAAuB,IAAI,UAAU,CAAC,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AAEjH,MAAM,UAAU,iCAAiC,KAAyB,OAAO,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC;AAS5J,MAAM,UAAU,qCAAqC;IACjD,OAAO,gBAAgB,CAAC,gBAAgB,CAAC,CAAC,CAAC,eAAe,EAAE,cAAc,CAAC,eAAe,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,CAAC,EAAE,C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,CAAC,MAAM,CAAC,IAAuC,CAAC,EAAE,cAAc,EAAoJ,CAAC,CAAC;AACziB,CAAC;AAYD,MAAM,UAAU,4BAA4B,CAAwE,WAAqH;IACvO,IAAI,WAAW,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,WAAW,CAAC,yDAAyD,EAAE,EAAE,kBAAkB,EAAE,WAAW,CAAC,QAAQ,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,EAAE,CAAC,CAAC;IACjK,CAAC;IACD,IAAI,YAAY,GAAG,CAAC,CAAC;IACrB,MAAM,cAAc,GAAG,GAAG,EAAE;QAC1B,MAAM,WAAW,GAAI,WAAW,CAAC,QAA0B,CAAC,YAAY,CAAE,CAAC;QAC3E,YAAY,IAAI,CAAC,CAAC;QAClB,OAAO,WAAW,CAAC;IACrB,CAAC,CAAA;IACC,OAAO,EAAE,cAAc,EAAE,WAAW,CAAC,cAAc,EAAE,QAAQ,EAAE,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,EAAE,cAAc,EAAE,cAAc,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,EAAE,IAAI,EAAE,qCAAqC,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;AACtS,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
|
|
9
|
+
import { FLOOR_HOOK_PROGRAM_ADDRESS } from '../programs/index.js';
|
|
10
|
+
import { type BalanceDelta, type BalanceDeltaArgs, type PoolSnapshot, type PoolSnapshotArgs, type SwapParams, type SwapParamsArgs } from '../types/index.js';
|
|
11
|
+
export declare const AFTER_SWAP_DISCRIMINATOR: ReadonlyUint8Array;
|
|
12
|
+
export declare function getAfterSwapDiscriminatorBytes(): ReadonlyUint8Array;
|
|
13
|
+
export type AfterSwapInstruction<TProgram extends string = typeof FLOOR_HOOK_PROGRAM_ADDRESS, TAccountPoolSigner extends string | AccountMeta<string> = string, TAccountFloorPool extends string | AccountMeta<string> = string, TAccountTraderBucket extends string | AccountMeta<string> = string, TAccountEventAuthority extends string | AccountMeta<string> = string, TAccountProgram extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountPoolSigner extends string ? ReadonlySignerAccount<TAccountPoolSigner> & AccountSignerMeta<TAccountPoolSigner> : TAccountPoolSigner, TAccountFloorPool extends string ? WritableAccount<TAccountFloorPool> : TAccountFloorPool, TAccountTraderBucket extends string ? ReadonlyAccount<TAccountTraderBucket> : TAccountTraderBucket, TAccountEventAuthority extends string ? ReadonlyAccount<TAccountEventAuthority> : TAccountEventAuthority, TAccountProgram extends string ? ReadonlyAccount<TAccountProgram> : TAccountProgram, ...TRemainingAccounts]>;
|
|
14
|
+
export type AfterSwapInstructionData = {
|
|
15
|
+
discriminator: ReadonlyUint8Array;
|
|
16
|
+
version: number;
|
|
17
|
+
phase: number;
|
|
18
|
+
round: number;
|
|
19
|
+
pool: Address;
|
|
20
|
+
sender: Address;
|
|
21
|
+
params: SwapParams;
|
|
22
|
+
pre: PoolSnapshot;
|
|
23
|
+
post: PoolSnapshot;
|
|
24
|
+
swapDelta: BalanceDelta;
|
|
25
|
+
beforeDeltaSpecified: bigint;
|
|
26
|
+
beforeDeltaUnspecified: bigint;
|
|
27
|
+
supply0: bigint;
|
|
28
|
+
supply1: bigint;
|
|
29
|
+
hookClaims0: bigint;
|
|
30
|
+
hookClaims1: bigint;
|
|
31
|
+
hookData: ReadonlyUint8Array;
|
|
32
|
+
};
|
|
33
|
+
export type AfterSwapInstructionDataArgs = {
|
|
34
|
+
version: number;
|
|
35
|
+
phase: number;
|
|
36
|
+
round: number;
|
|
37
|
+
pool: Address;
|
|
38
|
+
sender: Address;
|
|
39
|
+
params: SwapParamsArgs;
|
|
40
|
+
pre: PoolSnapshotArgs;
|
|
41
|
+
post: PoolSnapshotArgs;
|
|
42
|
+
swapDelta: BalanceDeltaArgs;
|
|
43
|
+
beforeDeltaSpecified: number | bigint;
|
|
44
|
+
beforeDeltaUnspecified: number | bigint;
|
|
45
|
+
supply0: number | bigint;
|
|
46
|
+
supply1: number | bigint;
|
|
47
|
+
hookClaims0: number | bigint;
|
|
48
|
+
hookClaims1: number | bigint;
|
|
49
|
+
hookData: ReadonlyUint8Array;
|
|
50
|
+
};
|
|
51
|
+
export declare function getAfterSwapInstructionDataEncoder(): Encoder<AfterSwapInstructionDataArgs>;
|
|
52
|
+
export declare function getAfterSwapInstructionDataDecoder(): Decoder<AfterSwapInstructionData>;
|
|
53
|
+
export declare function getAfterSwapInstructionDataCodec(): Codec<AfterSwapInstructionDataArgs, AfterSwapInstructionData>;
|
|
54
|
+
export type AfterSwapInput<TAccountPoolSigner extends string = string, TAccountFloorPool extends string = string, TAccountTraderBucket extends string = string, TAccountEventAuthority extends string = string, TAccountProgram extends string = string> = {
|
|
55
|
+
poolSigner: TransactionSigner<TAccountPoolSigner>;
|
|
56
|
+
floorPool: Address<TAccountFloorPool>;
|
|
57
|
+
traderBucket: Address<TAccountTraderBucket>;
|
|
58
|
+
eventAuthority: Address<TAccountEventAuthority>;
|
|
59
|
+
program: Address<TAccountProgram>;
|
|
60
|
+
version: AfterSwapInstructionDataArgs["version"];
|
|
61
|
+
phase: AfterSwapInstructionDataArgs["phase"];
|
|
62
|
+
round: AfterSwapInstructionDataArgs["round"];
|
|
63
|
+
pool: AfterSwapInstructionDataArgs["pool"];
|
|
64
|
+
sender: AfterSwapInstructionDataArgs["sender"];
|
|
65
|
+
params: AfterSwapInstructionDataArgs["params"];
|
|
66
|
+
pre: AfterSwapInstructionDataArgs["pre"];
|
|
67
|
+
post: AfterSwapInstructionDataArgs["post"];
|
|
68
|
+
swapDelta: AfterSwapInstructionDataArgs["swapDelta"];
|
|
69
|
+
beforeDeltaSpecified: AfterSwapInstructionDataArgs["beforeDeltaSpecified"];
|
|
70
|
+
beforeDeltaUnspecified: AfterSwapInstructionDataArgs["beforeDeltaUnspecified"];
|
|
71
|
+
supply0: AfterSwapInstructionDataArgs["supply0"];
|
|
72
|
+
supply1: AfterSwapInstructionDataArgs["supply1"];
|
|
73
|
+
hookClaims0: AfterSwapInstructionDataArgs["hookClaims0"];
|
|
74
|
+
hookClaims1: AfterSwapInstructionDataArgs["hookClaims1"];
|
|
75
|
+
hookData: AfterSwapInstructionDataArgs["hookData"];
|
|
76
|
+
};
|
|
77
|
+
export declare function getAfterSwapInstruction<TAccountPoolSigner extends string, TAccountFloorPool extends string, TAccountTraderBucket extends string, TAccountEventAuthority extends string, TAccountProgram extends string, TProgramAddress extends Address = typeof FLOOR_HOOK_PROGRAM_ADDRESS>(input: AfterSwapInput<TAccountPoolSigner, TAccountFloorPool, TAccountTraderBucket, TAccountEventAuthority, TAccountProgram>, config?: {
|
|
78
|
+
programAddress?: TProgramAddress;
|
|
79
|
+
}): AfterSwapInstruction<TProgramAddress, TAccountPoolSigner, TAccountFloorPool, TAccountTraderBucket, TAccountEventAuthority, TAccountProgram>;
|
|
80
|
+
export type ParsedAfterSwapInstruction<TProgram extends string = typeof FLOOR_HOOK_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
81
|
+
programAddress: Address<TProgram>;
|
|
82
|
+
accounts: {
|
|
83
|
+
poolSigner: TAccountMetas[0];
|
|
84
|
+
floorPool: TAccountMetas[1];
|
|
85
|
+
traderBucket: TAccountMetas[2];
|
|
86
|
+
eventAuthority: TAccountMetas[3];
|
|
87
|
+
program: TAccountMetas[4];
|
|
88
|
+
};
|
|
89
|
+
data: AfterSwapInstructionData;
|
|
90
|
+
};
|
|
91
|
+
export declare function parseAfterSwapInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAfterSwapInstruction<TProgram, TAccountMetas>;
|
|
92
|
+
//# sourceMappingURL=afterSwap.d.ts.map
|