Unifi (uSUN) · Contract on Tron
Smart contract
UNVERIFIED · mainnet
U
Contract balance 27,202TRX on-chain
Total calls 9.08K lifetime triggers
Token holders 323 addresses
Total supply 75.25uSUN 18 decimals
Market cap — fully diluted
Contract interface
ABI · 61 fns
contract.abi.json
[
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "FeeState",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "string"
}
],
"constant": true,
"name": "name",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "approve",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"payable": true,
"inputs": [
{
"name": "tradingTokenAmount",
"type": "uint256"
}
],
"name": "InitDepositSupply",
"stateMutability": "Payable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"payable": true,
"name": "DepositSupply",
"stateMutability": "Payable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
}
],
"name": "totalProfitOf",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "totalSupply",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "tokenAddress",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "transferOtherTokens",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "tradingTokenDecimals",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"inputs": [
{
"name": "amount",
"type": "uint256"
},
{
"name": "exchangeAddress",
"type": "address"
}
],
"name": "SellAndBuy",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getPoolState",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "from",
"type": "address"
},
{
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "transferFrom",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "isAdmin",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "pendingFeeEarn",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "liquidityTokenAmount",
"type": "uint256"
}
],
"name": "WithdrawSupply",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "isOwner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "amount",
"type": "uint256"
}
],
"name": "getEstimatedSellReceiveAmount",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint8"
}
],
"constant": true,
"name": "decimals",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "addedValue",
"type": "uint256"
}
],
"name": "increaseAllowance",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "Fees",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getSTATE",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getPercentFactor",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
}
],
"name": "stateOf",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"name": "ClaimFee",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "getUPTokenAddr",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"inputs": [
{
"name": "amount",
"type": "uint256"
}
],
"name": "Sell",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "SeedBuyRate",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "updateUPTokenAddr",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "MaxRatio",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"payable": true,
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "Buy",
"stateMutability": "Payable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "amount",
"type": "uint256"
}
],
"name": "getEstimatedBuyReceiveAmount",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "getTradingTokenAddr",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "addAdmin",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
}
],
"name": "balanceOf",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "fieldName",
"type": "string"
},
{
"name": "amount",
"type": "uint256"
}
],
"name": "updateValues",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getMaxTransaction",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
},
{
"type": "uint256"
}
],
"constant": true,
"name": "GetTokenData",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"constant": true,
"inputs": [
{
"name": "fee",
"type": "uint256"
}
],
"name": "updateFeeState",
"stateMutability": "View",
"type": "Function"
},
{
"name": "renounceAdmin",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "string"
}
],
"constant": true,
"name": "symbol",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getPrice",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "PoolState",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getBasefactor",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "baseAmount",
"type": "uint256"
}
],
"name": "getTradingTokenToDeposit",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "buySellTRC20FEE",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "BlockchainBaseDecimal",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "spender",
"type": "address"
},
{
"name": "subtractedValue",
"type": "uint256"
}
],
"name": "decreaseAllowance",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getMaxRatio",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "transfer",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "PercentFactor",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "Basefactor",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "STATE",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "FEE",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getFeeState",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getSeedBuyRate",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "account",
"type": "address"
}
],
"name": "getAddressFeeState",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "bool"
}
],
"inputs": [
{
"name": "buySeedAddres",
"type": "address"
}
],
"name": "setSeedDexAddress",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "owner",
"type": "address"
},
{
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "MinTransaction",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getFEE",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "getDecimals",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "token_addr",
"type": "address"
},
{
"name": "token_addr_UP",
"type": "address"
},
{
"name": "decimals",
"type": "uint8"
},
{
"name": "name",
"type": "string"
},
{
"name": "tradingTokenDecimal",
"type": "uint8"
}
],
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "owner",
"type": "address"
},
{
"indexed": true,
"name": "spender",
"type": "address"
},
{
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "buyer",
"type": "address"
},
{
"indexed": true,
"name": "sold",
"type": "uint256"
},
{
"indexed": true,
"name": "bought",
"type": "uint256"
},
{
"name": "price",
"type": "uint256"
},
{
"name": "fee",
"type": "uint256"
}
],
"name": "TokenPurchase",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "buyer",
"type": "address"
},
{
"indexed": true,
"name": "sold",
"type": "uint256"
},
{
"indexed": true,
"name": "bought",
"type": "uint256"
},
{
"name": "price",
"type": "uint256"
},
{
"name": "fee",
"type": "uint256"
}
],
"name": "TokenSold",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "provider",
"type": "address"
},
{
"indexed": true,
"name": "token_amount",
"type": "uint256"
},
{
"indexed": true,
"name": "base_token_amount",
"type": "uint256"
}
],
"name": "DepositSupplyEvent",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "provider",
"type": "address"
},
{
"indexed": true,
"name": "token_amount",
"type": "uint256"
}
],
"name": "WithdrawSupplyEvent",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "provider",
"type": "address"
},
{
"indexed": true,
"name": "token_amount",
"type": "uint256"
}
],
"name": "ClaimFeeEvent",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
}
],
"name": "AdminAdded",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
}
],
"name": "AdminRemoved",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "account",
"type": "address"
}
],
"name": "OwnerAdded",
"type": "Event"
}
]About this contract
overview
Unifi is the TRC20 contract behind uSUN (uSUN) on Tron, deployed from THa1BCEcQKcuZbpTsZp4QL598rKU182dDW on Sep 11, 2020. It has been called 9.08K 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.