FluxAggregator · Contract on Tron
Smart contract
UNVERIFIED · mainnet
{}
FluxAggregator
Address TPag2KdCca1Pmeg23d3iR5dK6WNq9EzLW9
Contract balance 0TRX on-chain
Total calls 0 lifetime triggers
Functions 41 27 read · 14 write
Bytecode 18.97Kbytes runtime
Deployed — unverified
Contract interface
ABI · 41 fns
contract.abi.json
[
{
"inputs": [
{
"name": "_jst",
"type": "address"
},
{
"name": "_paymentAmount",
"type": "uint128"
},
{
"name": "_timeout",
"type": "uint32"
},
{
"name": "_validator",
"type": "address"
},
{
"name": "_minSubmissionValue",
"type": "int256"
},
{
"name": "_maxSubmissionValue",
"type": "int256"
},
{
"name": "_decimals",
"type": "uint8"
},
{
"name": "_description",
"type": "string"
}
],
"stateMutability": "Nonpayable",
"type": "Constructor"
},
{
"inputs": [
{
"indexed": true,
"name": "current",
"type": "int256"
},
{
"indexed": true,
"name": "roundId",
"type": "uint256"
},
{
"name": "updatedAt",
"type": "uint256"
}
],
"name": "AnswerUpdated",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "amount",
"type": "uint256"
}
],
"name": "AvailableFundsUpdated",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "roundId",
"type": "uint256"
},
{
"indexed": true,
"name": "startedBy",
"type": "address"
},
{
"name": "startedAt",
"type": "uint256"
}
],
"name": "NewRound",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "oracle",
"type": "address"
},
{
"name": "admin",
"type": "address"
},
{
"name": "newAdmin",
"type": "address"
}
],
"name": "OracleAdminUpdateRequested",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "oracle",
"type": "address"
},
{
"indexed": true,
"name": "newAdmin",
"type": "address"
}
],
"name": "OracleAdminUpdated",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "oracle",
"type": "address"
},
{
"indexed": true,
"name": "whitelisted",
"type": "bool"
}
],
"name": "OraclePermissionsUpdated",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
}
],
"name": "OwnershipTransferRequested",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "from",
"type": "address"
},
{
"indexed": true,
"name": "to",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "requester",
"type": "address"
},
{
"name": "authorized",
"type": "bool"
},
{
"name": "delay",
"type": "uint32"
}
],
"name": "RequesterPermissionsSet",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "paymentAmount",
"type": "uint128"
},
{
"indexed": true,
"name": "minSubmissionCount",
"type": "uint32"
},
{
"indexed": true,
"name": "maxSubmissionCount",
"type": "uint32"
},
{
"name": "restartDelay",
"type": "uint32"
},
{
"name": "timeout",
"type": "uint32"
}
],
"name": "RoundDetailsUpdated",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "submission",
"type": "int256"
},
{
"indexed": true,
"name": "round",
"type": "uint32"
},
{
"indexed": true,
"name": "oracle",
"type": "address"
}
],
"name": "SubmissionReceived",
"type": "Event"
},
{
"inputs": [
{
"indexed": true,
"name": "previous",
"type": "address"
},
{
"indexed": true,
"name": "current",
"type": "address"
}
],
"name": "ValidatorUpdated",
"type": "Event"
},
{
"inputs": [
{
"name": "_oracle",
"type": "address"
}
],
"name": "acceptAdmin",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"name": "acceptOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint128"
}
],
"constant": true,
"name": "allocatedFunds",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint128"
}
],
"constant": true,
"name": "availableFunds",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_removed",
"type": "address[]"
},
{
"name": "_added",
"type": "address[]"
},
{
"name": "_addedAdmins",
"type": "address[]"
},
{
"name": "_minSubmissions",
"type": "uint32"
},
{
"name": "_maxSubmissions",
"type": "uint32"
},
{
"name": "_restartDelay",
"type": "uint32"
}
],
"name": "changeOracles",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint8"
}
],
"constant": true,
"name": "decimals",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "string"
}
],
"constant": true,
"name": "description",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"inputs": [
{
"name": "_oracle",
"type": "address"
}
],
"name": "getAdmin",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "int256"
}
],
"constant": true,
"inputs": [
{
"name": "_roundId",
"type": "uint256"
}
],
"name": "getAnswer",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address[]"
}
],
"constant": true,
"name": "getOracles",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "roundId",
"type": "uint80"
},
{
"name": "answer",
"type": "int256"
},
{
"name": "startedAt",
"type": "uint256"
},
{
"name": "updatedAt",
"type": "uint256"
},
{
"name": "answeredInRound",
"type": "uint80"
}
],
"constant": true,
"inputs": [
{
"name": "_roundId",
"type": "uint80"
}
],
"name": "getRoundData",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_roundId",
"type": "uint256"
}
],
"name": "getTimestamp",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "jstToken",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "int256"
}
],
"constant": true,
"name": "latestAnswer",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "latestRound",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "roundId",
"type": "uint80"
},
{
"name": "answer",
"type": "int256"
},
{
"name": "startedAt",
"type": "uint256"
},
{
"name": "updatedAt",
"type": "uint256"
},
{
"name": "answeredInRound",
"type": "uint80"
}
],
"constant": true,
"name": "latestRoundData",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "latestTimestamp",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint32"
}
],
"constant": true,
"name": "maxSubmissionCount",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "int256"
}
],
"constant": true,
"name": "maxSubmissionValue",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint32"
}
],
"constant": true,
"name": "minSubmissionCount",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "int256"
}
],
"constant": true,
"name": "minSubmissionValue",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"type": "address"
},
{
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"name": "onTokenTransfer",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint8"
}
],
"constant": true,
"name": "oracleCount",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"name": "_eligibleToSubmit",
"type": "bool"
},
{
"name": "_roundId",
"type": "uint32"
},
{
"name": "_latestSubmission",
"type": "int256"
},
{
"name": "_startedAt",
"type": "uint64"
},
{
"name": "_timeout",
"type": "uint64"
},
{
"name": "_availableFunds",
"type": "uint128"
},
{
"name": "_oracleCount",
"type": "uint8"
},
{
"name": "_paymentAmount",
"type": "uint128"
}
],
"constant": true,
"inputs": [
{
"name": "_oracle",
"type": "address"
},
{
"name": "_queriedRoundId",
"type": "uint32"
}
],
"name": "oracleRoundState",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "owner",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint128"
}
],
"constant": true,
"name": "paymentAmount",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint80"
}
],
"name": "requestNewRound",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint32"
}
],
"constant": true,
"name": "restartDelay",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_requester",
"type": "address"
},
{
"name": "_authorized",
"type": "bool"
},
{
"name": "_delay",
"type": "uint32"
}
],
"name": "setRequesterPermissions",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_newValidator",
"type": "address"
}
],
"name": "setValidator",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_roundId",
"type": "uint256"
},
{
"name": "_submission",
"type": "int256"
}
],
"name": "submit",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint32"
}
],
"constant": true,
"name": "timeout",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_oracle",
"type": "address"
},
{
"name": "_newAdmin",
"type": "address"
}
],
"name": "transferAdmin",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_to",
"type": "address"
}
],
"name": "transferOwnership",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"name": "updateAvailableFunds",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_paymentAmount",
"type": "uint128"
},
{
"name": "_minSubmissions",
"type": "uint32"
},
{
"name": "_maxSubmissions",
"type": "uint32"
},
{
"name": "_restartDelay",
"type": "uint32"
},
{
"name": "_timeout",
"type": "uint32"
}
],
"name": "updateFutureRounds",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "address"
}
],
"constant": true,
"name": "validator",
"stateMutability": "View",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"name": "version",
"stateMutability": "View",
"type": "Function"
},
{
"inputs": [
{
"name": "_recipient",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"name": "withdrawFunds",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"inputs": [
{
"name": "_oracle",
"type": "address"
},
{
"name": "_recipient",
"type": "address"
},
{
"name": "_amount",
"type": "uint256"
}
],
"name": "withdrawPayment",
"stateMutability": "Nonpayable",
"type": "Function"
},
{
"outputs": [
{
"type": "uint256"
}
],
"constant": true,
"inputs": [
{
"name": "_oracle",
"type": "address"
}
],
"name": "withdrawablePayment",
"stateMutability": "View",
"type": "Function"
}
]About this contract
overview
FluxAggregator 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.