TRON GOBLIN
explorerv0.5-beta
MAINNET

CryptoFriends · Verified Contract on Tron

Smart contract
VERIFIED · mainnet
{}
CryptoFriends
CONTRACT Source verified Non-proxy
Address TMBQFtWgfGnmbis96fcAtrH6Zr5nctxGSD
Verification Verified
Standard CONTRACT
Creation tx 2f4963de…eb9168
Deployed Aug 26, 2019
Proxy No
Contract balance 3,616TRX on-chain
Total calls 220.37K lifetime triggers
Functions 18 14 read · 4 write
Bytecode 7.45Kbytes runtime
Deployed Aug 26, 2019 verified
Contract interface
ABI · 18 fns
Source verified · ABI matches bytecode 18 functions · 5 events · 7,445 bytes
contract.abi.json
[
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "_user",
        "type": "address"
      }
    ],
    "name": "findFreeReferrer",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "userRefComplete",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "getRefDepth",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "name": "manager",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address[]"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "_user",
        "type": "address"
      }
    ],
    "name": "viewUserReferral",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "levelExpired",
        "type": "uint256[8]"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "_user",
        "type": "address"
      }
    ],
    "name": "viewUserLevelExpired",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "LEVEL_PRICE",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "profitStat",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "name": "owner",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "name": "ownerWallet",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "userList",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "currUserID",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "isExist",
        "type": "bool"
      },
      {
        "name": "id",
        "type": "uint256"
      },
      {
        "name": "referrerID",
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "users",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "findFirstFreeReferrer",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "payable": true,
    "inputs": [
      {
        "name": "_referrer",
        "type": "address"
      }
    ],
    "name": "regUser",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "levelStat",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "payable": true,
    "inputs": [
      {
        "name": "_level",
        "type": "uint256"
      }
    ],
    "name": "buyLevel",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_manager",
        "type": "address"
      }
    ],
    "stateMutability": "Nonpayable",
    "type": "Constructor"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "_user",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "_referrer",
        "type": "address"
      },
      {
        "name": "_time",
        "type": "uint256"
      }
    ],
    "name": "regLevelEvent",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "_user",
        "type": "address"
      },
      {
        "name": "_level",
        "type": "uint256"
      },
      {
        "name": "_time",
        "type": "uint256"
      }
    ],
    "name": "buyLevelEvent",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "_user",
        "type": "address"
      },
      {
        "name": "_level",
        "type": "uint256"
      },
      {
        "name": "_time",
        "type": "uint256"
      }
    ],
    "name": "prolongateLevelEvent",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "_user",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "_referral",
        "type": "address"
      },
      {
        "name": "_level",
        "type": "uint256"
      },
      {
        "name": "_time",
        "type": "uint256"
      }
    ],
    "name": "getMoneyForLevelEvent",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "_user",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "_referral",
        "type": "address"
      },
      {
        "name": "_level",
        "type": "uint256"
      },
      {
        "name": "_time",
        "type": "uint256"
      }
    ],
    "name": "lostMoneyForLevelEvent",
    "type": "Event"
  }
]
About this contract
overview

CryptoFriends is a verified smart contract on Tron, deployed from TGrjxs8wfBpFigYFP1XqNeMpfLFo8ofPQJ on Aug 26, 2019. It has been called 220.37K 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.