Logo

hh_vault

Back to IDL RegistryView on Explorer
NameArgumentsAccounts
initVault
  • nonceu8
  • platformIndexPlatform
  • depositTicketAmountu64
  • lockupExpiryu64
  • entryDeadlineu64
  • poolIdOption<u8>
  • vaultAccountisMut
  • collateralAccount
  • collateralMint
  • poolAccount
  • poolMint
  • eventSet
  • payerisSigner
  • rent
  • systemProgram
  • sponsorMint
initPlayerState
  • nonceu8
  • playerPubkeypublicKey
  • playerStateisMut
  • vault
  • payerisSigner
  • rent
  • systemProgram
initSponsorState
  • nonceu8
  • sponsorPubkeypublicKey
  • sponsorisMut
  • vault
  • payerisSigner
  • rent
  • systemProgram
closeSponsorState
    • sponsorStateisMut
    • sponsorisMut
    • vault
    • clock
    depositNullPlayer
      • commonPlayerAccounts
      depositNullSponsor
      • amountu64
      • commonSponsorAccounts
      withdrawNullPlayer
        • commonPlayerAccounts
        withdrawNullSponsor
          • commonSponsorAccounts
          depositApricotPlayer
          • pageIdu16
          • commonPlayerAccounts
          • apricotAccounts
          depositApricotSponsor
          • amountu64
          • pageIdu16
          • commonSponsorAccounts
          • apricotAccounts
          withdrawApricotPlayer
            • commonPlayerAccounts
            • apricotAccounts
            withdrawApricotSponsor
              • commonSponsorAccounts
              • apricotAccounts
              depositPortPlayer
                • commonPlayerAccounts
                • portAccounts
                depositPortSponsor
                • amountu64
                • commonSponsorAccounts
                • portAccounts
                withdrawAllPort
                • amountOption<u64>
                • vaultisMut
                • vaultCollateralisMut
                • poolAccountisMut
                • poolMintisMut
                • reserveisMut
                • reserveLiquiditySupplyisMut
                • lendingMarket
                • lendingMarketAuthority
                • portProgram
                • reserveLiquidityOracle
                • clock
                • tokenProgram
                withdrawPortPlayer
                  • commonPlayerAccounts
                  • portAccounts
                  withdrawPlayerV2
                    • commonPlayerAccounts
                    withdrawPortSponsor
                      • commonSponsorAccounts
                      • portAccounts
                      withdrawSponsorV2
                        • commonSponsorAccounts
                        initRewardInfo
                        • nonceu8
                        • vaultisMut
                        • rewardAccount
                        • rewardInfoisMut
                        • payerisSigner
                        • rent
                        • systemProgram
                        claimRewardNull
                          • commonAccounts
                          claimRewardApricot
                            • commonAccounts
                            • apricotAccounts
                            claimRewardPort
                              • commonAccounts
                              • portAccounts
                              claimRewardPortV2
                                • commonAccounts
                                • poolAccount
                                mintGameToken
                                  • vault
                                  • eventSet
                                  • playerStateisMut
                                  • userTokenisMut
                                  • userRoiInfoisMut
                                  • userisSigner
                                  • userTokenMintisMut
                                  • tokenProgram
                                  • parimutuelProgram