TRON GOBLIN
explorerv0.5-beta
MAINNET

BKBridgeRouter · Contract on Tron

Smart contract
UNVERIFIED · mainnet
{}
BKBridgeRouter
CONTRACT Unverified Non-proxy
Address TF4eMWEwDdweaB2M1mpeZfbBajRkb7jAyz
Verification Unverified
Standard CONTRACT
Creator
Creation tx
Deployed
Proxy No
Contract balance 0TRX on-chain
Total calls 0 lifetime triggers
Functions 48 12 read · 36 write
Bytecode 20.29Kbytes runtime
Deployed unverified
Contract interface
ABI · 48 fns
Unverified · bytecode + ABI only 48 functions · 13 events · 20,293 bytes
contract.abi.json
[
  {
    "inputs": [
      {
        "name": "_owner",
        "type": "address"
      }
    ],
    "stateMutability": "Nonpayable",
    "type": "Constructor"
  },
  {
    "name": "AccessTypeNotAvailable",
    "type": "Error"
  },
  {
    "name": "EthBalanceNotEnough",
    "type": "Error"
  },
  {
    "name": "InvalidAddress",
    "type": "Error"
  },
  {
    "name": "InvalidNonce",
    "type": "Error"
  },
  {
    "name": "NotOperator",
    "type": "Error"
  },
  {
    "name": "NotRelayer",
    "type": "Error"
  },
  {
    "name": "NotRouter",
    "type": "Error"
  },
  {
    "name": "NotSafe",
    "type": "Error"
  },
  {
    "name": "NotSender",
    "type": "Error"
  },
  {
    "name": "NotSigner",
    "type": "Error"
  },
  {
    "name": "NotVault",
    "type": "Error"
  },
  {
    "name": "NotVaultToken",
    "type": "Error"
  },
  {
    "name": "OrderAlreadyExist",
    "type": "Error"
  },
  {
    "name": "OrderAlreadySend",
    "type": "Error"
  },
  {
    "name": "OrderNotSend",
    "type": "Error"
  },
  {
    "name": "SwapInsuffenceOutPut",
    "type": "Error"
  },
  {
    "name": "SwapReceiverMisMatch",
    "type": "Error"
  },
  {
    "name": "TransferFailed",
    "type": "Error"
  },
  {
    "name": "WrongRefundAmount",
    "type": "Error"
  },
  {
    "name": "WrongRelayAmount",
    "type": "Error"
  },
  {
    "name": "WrongVaultReceiveToken",
    "type": "Error"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "orderStatus",
        "type": "uint256"
      },
      {
        "indexed": true,
        "name": "transferId",
        "type": "bytes32"
      },
      {
        "name": "vaultReceiver",
        "type": "address"
      },
      {
        "name": "sender",
        "type": "address"
      },
      {
        "name": "receiver",
        "type": "address"
      },
      {
        "name": "srcToken",
        "type": "address"
      },
      {
        "name": "dstToken",
        "type": "address"
      },
      {
        "name": "srcChainId",
        "type": "uint256"
      },
      {
        "name": "dstChainId",
        "type": "uint256"
      },
      {
        "name": "amount",
        "type": "uint256"
      },
      {
        "name": "timestamp",
        "type": "uint256"
      }
    ],
    "name": "BKBridge",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "indexed": true,
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "account",
        "type": "address"
      }
    ],
    "name": "Paused",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "asset",
        "type": "address"
      },
      {
        "name": "recipient",
        "type": "address"
      },
      {
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "RescueERC20",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "recipient",
        "type": "address"
      },
      {
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "RescueETH",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "newOperator",
        "type": "address"
      }
    ],
    "name": "SetOperator",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "relayers",
        "type": "address[]"
      },
      {
        "name": "isTrue",
        "type": "bool"
      }
    ],
    "name": "SetRelayers",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "routers",
        "type": "address[]"
      },
      {
        "name": "isTrue",
        "type": "bool"
      }
    ],
    "name": "SetRouters",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "newSafe",
        "type": "address"
      }
    ],
    "name": "SetSafe",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "newSigner",
        "type": "address"
      }
    ],
    "name": "SetSigner",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "newVault",
        "type": "address"
      }
    ],
    "name": "SetVault",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "newValutToken",
        "type": "address"
      }
    ],
    "name": "SetVaultToken",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "account",
        "type": "address"
      }
    ],
    "name": "Unpaused",
    "type": "Event"
  },
  {
    "inputs": [
      {
        "name": "_signInfo",
        "type": "tuple"
      },
      {
        "name": "_orderInfo",
        "type": "tuple"
      }
    ],
    "name": "cancel",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "name": "checkBridgeReady",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "isRelayer",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "bool"
      }
    ],
    "inputs": [
      {
        "type": "address"
      }
    ],
    "name": "isRouter",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "name": "operator",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "inputs": [
      {
        "type": "bytes32"
      }
    ],
    "name": "orderAmount",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "uint256"
      }
    ],
    "inputs": [
      {
        "type": "bytes32"
      }
    ],
    "name": "orderStatus",
    "stateMutability": "View",
    "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"
  },
  {
    "inputs": [
      {
        "name": "_signInfo",
        "type": "tuple"
      },
      {
        "name": "_orderInfo",
        "type": "tuple"
      },
      {
        "name": "_refundAmount",
        "type": "uint256"
      }
    ],
    "name": "refund",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_signInfo",
        "type": "tuple"
      },
      {
        "name": "_orderInfo",
        "type": "tuple"
      },
      {
        "name": "_relayAmount",
        "type": "uint256"
      }
    ],
    "name": "relay",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_signInfo",
        "type": "tuple"
      },
      {
        "name": "_orderInfo",
        "type": "tuple"
      },
      {
        "name": "_swapV1Info",
        "type": "tuple"
      },
      {
        "name": "_relayAmount",
        "type": "uint256"
      }
    ],
    "name": "relayV1",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_signInfo",
        "type": "tuple"
      },
      {
        "name": "_orderInfo",
        "type": "tuple"
      },
      {
        "name": "_swapV2Info",
        "type": "tuple"
      },
      {
        "name": "_relayAmount",
        "type": "uint256"
      }
    ],
    "name": "relayV2",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "name": "renounceOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "asset",
        "type": "address"
      }
    ],
    "name": "rescueERC20",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "name": "rescueETH",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "name": "safe",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_signInfo",
        "type": "tuple"
      },
      {
        "name": "_orderInfo",
        "type": "tuple"
      }
    ],
    "name": "send",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_signInfo",
        "type": "tuple"
      },
      {
        "name": "_orderInfo",
        "type": "tuple"
      },
      {
        "name": "_swapV1Info",
        "type": "tuple"
      }
    ],
    "name": "sendV1",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_signInfo",
        "type": "tuple"
      },
      {
        "name": "_orderInfo",
        "type": "tuple"
      },
      {
        "name": "_swapV2Info",
        "type": "tuple"
      }
    ],
    "name": "sendV2",
    "stateMutability": "Payable",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "_accessType",
        "type": "uint8"
      },
      {
        "name": "_inputs",
        "type": "bytes"
      }
    ],
    "name": "setAccess",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "name": "signer",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "inputs": [
      {
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "name": "unpause",
    "stateMutability": "Nonpayable",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "name": "vault",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "outputs": [
      {
        "type": "address"
      }
    ],
    "name": "vaultToken",
    "stateMutability": "View",
    "type": "Function"
  },
  {
    "stateMutability": "Payable",
    "type": "Receive"
  }
]
About this contract
overview

BKBridgeRouter is a smart contract on Tron. It has been called 0 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.