PancakeSwap · Contract on Tron
Smart contract
UNVERIFIED · mainnet
{}
PancakeSwap
Address TNPhPmgLibos3Pi4LtRT1yMzDuvAatzgBU
Contract balance 0TRX on-chain
Total calls 0 lifetime triggers
Functions 15 6 read · 9 write
Bytecode 9.19Kbytes runtime
Deployed — unverified
Contract interface
ABI · 15 fns
contract.abi.json
[
{
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"outputs": [
{
"type": "address"
}
],
"name": "WETH",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_poolsPath",
"type": "address"
},
{
"name": "_secondPath",
"type": "address[]"
},
{
"name": "_secondPoolsPath",
"type": "address[]"
}
],
"name": "addRoute",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"name": "_firstAmountOut",
"type": "uint256"
},
{
"name": "_amountsOut",
"type": "uint256[]"
}
],
"inputs": [
{
"name": "_routeIdx",
"type": "uint256"
},
{
"name": "_amountIn",
"type": "uint256"
}
],
"name": "getAmountsOut",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"name": "getOwner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "__routeID",
"type": "uint256"
},
{
"name": "__amountIn",
"type": "uint256"
},
{
"name": "__amountOut",
"type": "uint256"
}
],
"inputs": [
{
"name": "_amountInMin",
"type": "uint256"
},
{
"name": "_amountInMax",
"type": "uint256"
},
{
"name": "_step",
"type": "uint256"
},
{
"name": "_startRoute",
"type": "uint256"
},
{
"name": "_endRoute",
"type": "uint256"
}
],
"name": "getProfitableRoute",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "_rRoute",
"type": "tuple"
}
],
"inputs": [
{
"name": "_routeID",
"type": "uint256"
}
],
"name": "getRoute",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "_length",
"type": "uint256"
}
],
"name": "getRouteLength",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_amountIn",
"type": "uint256"
},
{
"name": "_routeID",
"type": "uint256"
}
],
"name": "process",
"stateMutability": "Payable",
"type": "Function"
},
{
"name": "removeAllRoute",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"name": "removeRoute",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_threshold",
"type": "uint256"
}
],
"name": "setThreshold",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_amountIn",
"type": "uint256"
},
{
"name": "_routeID",
"type": "uint256"
}
],
"name": "testProcess",
"stateMutability": "Payable",
"type": "Function"
},
{
"inputs": [
{
"name": "_amountIn",
"type": "uint256"
},
{
"name": "_routeID",
"type": "uint256"
}
],
"name": "testSecondProcess",
"stateMutability": "Payable",
"type": "Function"
},
{
"inputs": [
{
"name": "_dest",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"name": "withdrawNativeToken",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_dest",
"type": "address"
},
{
"name": "_token",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"name": "withdrawToken",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"stateMutability": "Payable",
"type": "Receive"
}
]About this contract
overview
PancakeSwap is a smart contract on Tron. It has been called 0 times.
This contract is not source-verified, so only its on-chain bytecode and ABI are available. Read calls still run live against the node. Write calls require a signed wallet transaction — wallet support is coming soon.