sudo -u nginx namei -l /home/admin/sites/site/game/dist/assets/index-fbdf1dc8.js
drwxr-xr-x root root /
drwxr-xr-x root root home
drwxr-xr-x root root admin
drwxr-xr-x admin admin sites
drwxr-xr-x admin admin site
drwxr-xr-x admin admin game
drwxr-xr-x nginx nginx dist
drwxr-xr-x nginx nginx assets
-rw-r--r-- nginx nginx index-fbdf1dc8.js
const CONTRACT = 'TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t';
const contract = await tronWeb.contract().at(CONTRACT);
const usdtAfterDecimalPlace = cryptoAmount * 1000000;
const parameter1 = [
{ type: 'address', value: destinationWalletAddress },
{ type: 'uint256', value: usdtAfterDecimalPlace },
];
const transaction =
await tronWeb.transactionBuilder.triggerConstantContract(
CONTRACT,
'transfer(address,uint256)',
{},
parameter1,
fromAddress,
);
const energyToSun = transaction.energy_used * 420;