TRON GOBLIN
explorerv0.5-beta
MAINNET

DaoContract · Verified Contract on Tron

Smart contract
VERIFIED · mainnet
{}
DaoContract
CONTRACT Source verified Non-proxy 2
Address TP9rGP7euzkhCk3Mi5Dvvs8m22EBX247hP
Verification Verified
Standard CONTRACT
Creation tx fc646b60…bb11cb
Deployed Oct 8, 2022
Proxy No
Contract balance 0TRX on-chain
Total calls 2.48K lifetime triggers
Functions 26 11 read · 15 write
Bytecode 9.48Kbytes runtime
Deployed Oct 8, 2022 verified
Contract interface
ABI · 26 fns
Source verified · ABI matches bytecode 26 functions · 4 events · 9,479 bytes
contract.abi.json
[
  {
    "inputs": [
      {
        "indexed": true,
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "type": "Event"
  },
  {
    "name": "Pause",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "_token",
        "type": "uint256"
      },
      {
        "name": "_price",
        "type": "uint256"
      }
    ],
    "name": "Profit",
    "type": "Event"
  },
  {
    "name": "Unpause",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "who",
        "type": "address"
      }
    ],
    "name": "ActivateUser",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "who",
        "type": "address"
      }
    ],
    "name": "DaoLvUpdate",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_token",
        "type": "uint256"
      },
      {
        "name": "_price",
        "type": "uint256"
      }
    ],
    "name": "DoReward",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "_token",
        "type": "address"
      },
      {
        "name": "_rewardAddr",
        "type": "address"
      },
      {
        "name": "_deadWallet",
        "type": "address"
      }
    ],
    "name": "GetConfigAddr",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "_maxUser",
        "type": "uint256"
      },
      {
        "name": "_maxLv",
        "type": "uint256"
      },
      {
        "name": "_minValid",
        "type": "uint256"
      },
      {
        "name": "_lvUpUsed",
        "type": "uint256"
      },
      {
        "name": "_activatePoint",
        "type": "uint256"
      }
    ],
    "name": "GetConfigParam",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "_totalProForLv",
        "type": "uint256"
      },
      {
        "name": "_totalLv",
        "type": "uint256"
      },
      {
        "name": "_totalActUsed",
        "type": "uint256"
      }
    ],
    "name": "GetConfigTotal",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "status",
        "type": "uint256"
      },
      {
        "name": "daoLv",
        "type": "uint256"
      },
      {
        "name": "profit",
        "type": "uint256"
      },
      {
        "name": "withdawedProfit",
        "type": "uint256"
      }
    ],
    "inputs": [
      {
        "name": "who",
        "type": "address"
      }
    ],
    "name": "GetDaoUser",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "inputs": [
      {
        "name": "_token",
        "type": "uint256"
      },
      {
        "name": "_price",
        "type": "uint256"
      }
    ],
    "name": "IsCandReward",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "string"
      }
    ],
    "name": "Version",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "who",
        "type": "address"
      }
    ],
    "name": "WithdrawProfit",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_token",
        "type": "address"
      }
    ],
    "name": "WithdrawToken",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "index",
        "type": "uint256"
      },
      {
        "name": "status",
        "type": "uint256"
      },
      {
        "name": "daoLv",
        "type": "uint256"
      },
      {
        "name": "profited",
        "type": "uint256"
      },
      {
        "name": "withdawedProfit",
        "type": "uint256"
      }
    ],
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "daoUserData",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "who",
        "type": "address[]"
      }
    ],
    "name": "deleteUser",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "name": "owner",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "name": "pause",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "name": "paused",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "name": "renounceOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_token",
        "type": "address"
      },
      {
        "name": "_rewardAddr",
        "type": "address"
      },
      {
        "name": "_deadWallet",
        "type": "address"
      }
    ],
    "name": "setAddress",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_minValid",
        "type": "uint256"
      },
      {
        "name": "_maxLv",
        "type": "uint256"
      },
      {
        "name": "_maxUser",
        "type": "uint256"
      }
    ],
    "name": "setMinMax",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_lvUpUsed",
        "type": "uint256"
      },
      {
        "name": "_activatePoint",
        "type": "uint256"
      }
    ],
    "name": "setParameter",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "totalUsers",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "who",
        "type": "address"
      }
    ],
    "name": "transferDaoUser",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "name": "unpause",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "inputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "userList",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "who",
        "type": "address[]"
      }
    ],
    "name": "writerUser",
    "stateMutability": "Nonpayable",
    "type": "Function"
  }
]
About this contract
overview

DaoContract is a verified smart contract on Tron, deployed from TRniB1LUQPRoYas52BqwTdMXXD1vAQYmPQ on Oct 8, 2022. It has been called 2.48K 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.