- processRefuel(program: ScoreIDLProgram, tokenOwnerAccount: AsyncSigner<unknown>, playerAccount: AsyncSigner<unknown>, shipMint: PublicKey, fuelMint: PublicKey, fuelTokenAccountSource: PublicKey, fuelQuantity: BN): InstructionReturn
-
Parameters
-
-
tokenOwnerAccount: AsyncSigner<unknown>
-
playerAccount: AsyncSigner<unknown>
-
shipMint: PublicKey
-
fuelMint: PublicKey
-
fuelTokenAccountSource: PublicKey
-
fuelQuantity: BN
Returns InstructionReturn
Deposit fuel tokens into a user's escrow account.
Returns
InstructionReturn