TRON GOBLIN
explorerv0.5-beta
MAINNET

Router · Contract on Tron

Smart contract
UNVERIFIED · mainnet
{}
Router
CONTRACT Unverified Non-proxy
Address TUf3twkw1XS6LbUhexq8d45CiKAioxmoQ5
Verification Unverified
Standard CONTRACT
Creation tx 809e1bf0…81b18e
Deployed Sep 15, 2020
Proxy No
Contract balance 0TRX on-chain
Total calls 1.61K lifetime triggers
Functions 43 25 read · 18 write
Bytecode 22.77Kbytes runtime
Deployed Sep 15, 2020 unverified
Contract interface
ABI · 43 fns
Unverified · bytecode + ABI only 43 functions · 6 events · 22,774 bytes
contract.abi.json
[
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "topPlayerMultiplierDecimals",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "refParent",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "name": "getTRC20List",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "dailyCoefficientDecimal",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "constant": true,
    "name": "paused",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "__owner",
        "type": "address"
      }
    ],
    "name": "removeOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "refDecimals",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "topPlayersMultiplier",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint8"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "topPlayerIndex",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "lastTopPlayersRewardDistributionAt",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "constant": true,
    "name": "isOwner",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "uint256"
      }
    ],
    "name": "topPlayers",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "refDisabledTo",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_to",
        "type": "address"
      },
      {
        "name": "_amount",
        "type": "uint256"
      },
      {
        "name": "_token",
        "type": "address"
      }
    ],
    "name": "sendTRC20",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "playerRefCount",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "defaultTopMultiplier",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "whiteList_",
        "type": "address"
      }
    ],
    "name": "setTRC20List",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_to",
        "type": "address"
      },
      {
        "name": "_amount",
        "type": "uint256"
      },
      {
        "name": "_gasForTransfer",
        "type": "uint256"
      }
    ],
    "name": "sendTRX",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "addOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "stateMutability": "Nonpayable",
    "type": "Constructor"
  },
  {
    "payable": true,
    "name": "fallback",
    "stateMutability": "Payable",
    "type": "Fallback"
  },
  {
    "inputs": [
      {
        "name": "profit",
        "type": "uint256"
      },
      {
        "name": "revenue",
        "type": "uint256"
      },
      {
        "name": "lost",
        "type": "uint256"
      },
      {
        "name": "won",
        "type": "uint256"
      },
      {
        "name": "sentBack",
        "type": "uint256"
      },
      {
        "name": "wagered",
        "type": "uint256"
      },
      {
        "name": "sharedProfit",
        "type": "uint256"
      },
      {
        "name": "dailyCoefficient",
        "type": "uint256"
      }
    ],
    "name": "Tick",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "parent",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "child",
        "type": "address"
      }
    ],
    "name": "AddReferral",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "account",
        "type": "address"
      }
    ],
    "name": "Paused",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "account",
        "type": "address"
      }
    ],
    "name": "Unpaused",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipGiven",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "previousOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTaken",
    "type": "Event"
  },
  {
    "name": "pause",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "name": "unpause",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "addr",
        "type": "address"
      }
    ],
    "name": "isGame",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_game",
        "type": "address"
      }
    ],
    "name": "addGame",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_game",
        "type": "address"
      }
    ],
    "name": "removeGame",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "lastTick",
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "getLastTick",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "profit",
        "type": "uint256"
      },
      {
        "name": "revenue",
        "type": "uint256"
      },
      {
        "name": "lost",
        "type": "uint256"
      },
      {
        "name": "won",
        "type": "uint256"
      },
      {
        "name": "sentBack",
        "type": "uint256"
      },
      {
        "name": "wagered",
        "type": "uint256"
      },
      {
        "name": "sharedProfit",
        "type": "uint256"
      },
      {
        "name": "dailyCoefficient",
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "getDay",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "profit",
        "type": "uint256"
      },
      {
        "name": "revenue",
        "type": "uint256"
      },
      {
        "name": "lost",
        "type": "uint256"
      },
      {
        "name": "won",
        "type": "uint256"
      },
      {
        "name": "sentBack",
        "type": "uint256"
      },
      {
        "name": "wagered",
        "type": "uint256"
      },
      {
        "name": "sharedProfit",
        "type": "uint256"
      },
      {
        "name": "dailyCoefficient",
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "getYesterday",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_children",
        "type": "address[]"
      }
    ],
    "name": "deleteReferences",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_children",
        "type": "address[]"
      }
    ],
    "name": "disableReferences",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "multiplier",
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "player",
        "type": "address"
      }
    ],
    "name": "refMultiplier",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "win",
        "type": "bool"
      },
      {
        "name": "token",
        "type": "address"
      },
      {
        "name": "expectedValue",
        "type": "uint256"
      },
      {
        "name": "wager",
        "type": "uint256"
      },
      {
        "name": "reward",
        "type": "uint256"
      },
      {
        "name": "player",
        "type": "address"
      },
      {
        "name": "refAddr",
        "type": "address"
      }
    ],
    "name": "processGameResult",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "getCurrentRoundMultiplier",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "defaultValue",
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "getDefaultDailyCoefficientValue",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "coefficient",
        "type": "uint256"
      }
    ],
    "constant": true,
    "name": "getDailyCoefficient",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "name": "tokenValue",
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "wager",
        "type": "uint256"
      },
      {
        "name": "coef",
        "type": "uint256"
      },
      {
        "name": "miningPeriodRatio",
        "type": "uint256"
      },
      {
        "name": "totalBetYesterday",
        "type": "uint256"
      },
      {
        "name": "top",
        "type": "uint256"
      }
    ],
    "name": "calculate",
    "stateMutability": "Pure",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "constant": true,
    "name": "getWinrContract",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_contract",
        "type": "address"
      }
    ],
    "name": "setWinrContract",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_lottery",
        "type": "address"
      }
    ],
    "name": "setLottery",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_amount",
        "type": "uint256"
      },
      {
        "name": "_amountsTRC20",
        "type": "uint256[]"
      },
      {
        "name": "_tokens",
        "type": "address[]"
      }
    ],
    "name": "distributeProfit",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "top1",
        "type": "address"
      },
      {
        "name": "top2",
        "type": "address"
      },
      {
        "name": "top3",
        "type": "address"
      }
    ],
    "name": "setTopPlayers",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "constant": true,
    "inputs": [
      {
        "name": "player",
        "type": "address"
      }
    ],
    "name": "getTopPlayerMultiplier",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "defaultMultiplier",
        "type": "uint256"
      }
    ],
    "name": "setDefaultTopMultiplier",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "top1multiplier",
        "type": "uint8"
      },
      {
        "name": "top2multiplier",
        "type": "uint8"
      },
      {
        "name": "top3multiplier",
        "type": "uint8"
      }
    ],
    "name": "setTopPlayersMultipliers",
    "stateMutability": "Nonpayable",
    "type": "Function"
  }
]
About this contract
overview

Router is a smart contract on Tron, deployed from TRweQ9oPNbNKqfW9HyGnkUkta7JrZFAfZW on Sep 15, 2020. It has been called 1.61K 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.