If you are owner of a vesting contract, you have the ability to stake your locked TON from the contract to a single nominator pool. The conditions for this to be possible are:
You must be the owner of the vesting contract
The single nomination pool owner must be the vesting contract address
The single nomination pool address must be whitelisted on the contract. This is to be done by the vesting contract sender (the wallet that created the contract)
If you are the sender of a vesting contract, you can whitelist addresses to it. For example you wouild need to whitelist the address of the single nominator pool in order for the vesting contract owner to stake his TON to it.
import { Integration } from"@kilnfi/sdk/lib/types/integrations";constfs=require('fs');constapiSecret=fs.readFileSync(__dirname +'/fireblocks_secret.key','utf8');constvault:Integration= { provider:'fireblocks', fireblocksApiKey:'YOUR_API_USER_KEY',// your fireblocks API user key fireblocksSecretKey: apiSecret,// your fireblocks private key (generated with your CSR file and your API user) vaultId:7// your fireblocks vault id};consttxSigned=awaitk.ton.sign(vault, tx);
Broadcast
Broadcast a signed transaction.
consttxHash=awaitk.ton.broadcast(txSigned);
Get transaction status
Get the transaction status of a broadcasted transaction by providing its transaction hash.