TRON GOBLIN
explorerv0.5-beta
MAINNET
block #83,185,938

TNS · Verified Contract on Tron

Smart contract
VERIFIED · mainnet
TNS logo
TNS Wrapped TNS (TNS)
TRC20 Source verified Token contract Non-proxy 1
Address TYhugcYXR7HpX91q5Ld3UxTmECagLEgxbN
Token page
Verification Verified
Standard TRC20
Creation tx 26ef9f11…51c6c2
Deployed Mar 13, 2021
Proxy No
Contract balance 0TRX on-chain
Total calls 209.03K lifetime triggers
Token holders 4,596 addresses
Total supply 11.33MTNS 8 decimals
Market cap fully diluted
Contract interface
ABI · 23 fns
Source verified · ABI matches bytecode 23 functions · 8 events · 5,022 bytes
contract.abi.json
[
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "name": "abcContract",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "string"
      }
    ],
    "constant": true,
    "name": "name",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "inputs": [
      {
        "name": "guy",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "totalSupply",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "inputs": [
      {
        "name": "src",
        "type": "address"
      },
      {
        "name": "dst",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "withdraw",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint8"
      }
    ],
    "constant": true,
    "name": "decimals",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "totalSupply_",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "claim",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "abc",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "deposit",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "user",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "setClaim",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "guy",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "name": "renounceOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "pledge",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "claimAmount",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "name": "owner",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "constant": true,
    "name": "isOwner",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "string"
      }
    ],
    "constant": true,
    "name": "symbol",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "inputs": [
      {
        "name": "dst",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "inputs": [
      {
        "name": "guy",
        "type": "address"
      }
    ],
    "name": "approve",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "src",
        "type": "address"
      },
      {
        "name": "guy",
        "type": "address"
      }
    ],
    "name": "allowance",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "guy",
        "type": "address"
      }
    ],
    "name": "claimOf",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_abcContract",
        "type": "address"
      }
    ],
    "stateMutability": "Nonpayable",
    "type": "Constructor"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "src",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "guy",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "src",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "dst",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "dst",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "Deposit",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "src",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "Withdrawal",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "src",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "Pledge",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "src",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "SetClaim",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "src",
        "type": "address"
      },
      {
        "name": "sad",
        "type": "uint256"
      }
    ],
    "name": "Claim",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "type": "Event"
  }
]
About this contract
overview

TNS is the verified TRC20 contract behind Wrapped TNS (TNS) on Tron, deployed from TG5vCSZB2UdVJqqZZXKnM7TtKPb8ZTsR7e on Mar 13, 2021. It has been called 209.03K times.

The ABI matches the on-chain bytecode, so the Read tab above runs live view calls against the node (no gas, no signature). The verified Solidity source is viewable on TronScan ↗. Write calls require a signed wallet transaction — wallet support is coming soon.