ERC-20
Overview
Max Total Supply
2,678,042.623090282286770257 TRB
Holders
9,470 ( 0.074%)
Market
Price
$62.16 @ 0.026488 ETH (+2.73%)
Onchain Market Cap
$166,467,129.45
Circulating Supply Market Cap
$162,397,760.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | Binance | TRB-USDT | $62.03 0.0264503 Eth | $7,826,420.00 126,953.258 TRB | 17.5893% |
2 | BloFin | TRB-USDT | $61.96 0.0264108 Eth | $6,420,769.00 104,393.920 TRB | 14.4637% |
3 | Nami.Exchange | TRB-USDT | $62.01 0.0264208 Eth | $5,577,988.00 89,958.118 TRB | 12.4637% |
4 | Nami.Exchange | TRB-VNST | $62.07 0.0264482 Eth | $4,780,141.00 77,011.173 TRB | 10.6699% |
5 | BVOX | TRB-USDT | $61.93 0.0263867 Eth | $3,421,778.00 55,743.060 TRB | 7.7232% |
6 | WhiteBIT | TRB-USDT | $61.95 0.0264164 Eth | $2,960,864.00 47,792.758 TRB | 6.6217% |
7 | Bilaxy | TRB-USDT | $61.94 0.0264099 Eth | $2,537,767.00 40,974.360 TRB | 5.6770% |
8 | P2B | TRB-USDT | $61.96 0.0264077 Eth | $2,464,070.00 39,770.930 TRB | 5.5102% |
9 | Bibox | TRB-USDT | $61.93 0.0264074 Eth | $1,425,213.00 23,013.000 TRB | 3.1884% |
10 | OKX | TRB-USDT | $62.00 0.0264376 Eth | $1,394,264.00 22,592.055 TRB | 3.1301% |
11 | Websea | TRB-USDT | $61.98 0.0264294 Eth | $1,201,859.00 0.000 TRB | 0.0000% |
12 | Coinbase Exchange | TRB-USD | $61.54 0.0262158 Eth | $1,002,727.00 16,293.905 TRB | 2.2575% |
13 | Hotcoin | TRB-USDT | $61.91 0.0263899 Eth | $503,937.00 8,139.340 TRB | 1.1277% |
14 | Toobit | TRB-USDT | $61.94 0.0263910 Eth | $469,052.00 7,608.600 TRB | 1.0542% |
15 | Bitunix | TRB-USDT | $61.93 0.0263939 Eth | $468,130.00 7,559.530 TRB | 1.0474% |
16 | Bitvavo | TRB-EUR | $61.98 0.0264282 Eth | $403,057.00 6,502.989 TRB | 0.9010% |
17 | BitMart | TRB-USDT | $61.96 0.0264193 Eth | $377,763.00 6,097.020 TRB | 0.8447% |
18 | Binance | TRB-TRY | $62.28 0.0265313 Eth | $368,932.00 5,988.812 TRB | 0.8297% |
19 | Gate.io | TRB-USDT | $61.94 0.0264124 Eth | $305,963.00 4,937.379 TRB | 0.6841% |
20 | WhiteBIT | TRB-TRY | $62.05 0.0264582 Eth | $286,466.00 4,616.670 TRB | 0.6396% |
21 | bitcastle | TRB-USDT | $61.98 0.0264152 Eth | $233,134.00 3,781.300 TRB | 0.5239% |
22 | Tapbit | TRB-USDT | $61.95 0.0264065 Eth | $226,982.00 3,718.340 TRB | 0.5152% |
23 | HTX | TRB-USDT | $61.99 0.0264314 Eth | $221,851.00 3,624.110 TRB | 0.5021% |
24 | BYDFi | TRB-USDT | $61.96 0.0264108 Eth | $210,659.00 3,399.710 TRB | 0.4710% |
25 | BTSE | TRB-USDT | $62.00 0.0264377 Eth | $190,041.00 3,065.046 TRB | 0.4247% |
26 | Bitrue | TRB-USDT | $62.01 0.0264422 Eth | $184,747.00 2,979.170 TRB | 0.4128% |
27 | KuCoin | TRB-USDT | $62.02 0.0264334 Eth | $166,543.00 2,685.491 TRB | 0.3721% |
28 | Fairdesk | TRB-USDT | $62.01 0.0264216 Eth | $137,721.00 2,221.000 TRB | 0.3077% |
29 | Bitget | TRB-USDT | $62.08 0.0264721 Eth | $135,290.00 2,219.381 TRB | 0.3075% |
30 | PointPay | TRB-USDT | $62.09 0.0264557 Eth | $127,867.00 2,072.897 TRB | 0.2872% |
31 | BingX | TRB-USDT | $62.00 0.0264376 Eth | $124,248.00 2,020.936 TRB | 0.2800% |
32 | CoinCatch | TRB-USDT | $61.98 0.0264092 Eth | $107,049.00 1,752.169 TRB | 0.2428% |
33 | LBank | TRB-USDT | $61.98 0.0264283 Eth | $85,308.00 1,376.390 TRB | 0.1907% |
34 | P2B | TRB-USD | $62.03 0.0264390 Eth | $73,311.00 1,181.870 TRB | 0.1637% |
35 | DeGate | 0X88DF592F8EB5D7BD38BFEF7DEB0FBC02CF3778A0-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48 | $62.35 0.0264189 Eth | $72,005.00 853.924 0X88DF592F8EB5D7BD38BFEF7DEB0FBC02CF3778A0 | 0.1183% |
36 | Nominex | TRB-USDT | $62.00 0.0264166 Eth | $67,702.00 1,092.023 TRB | 0.1513% |
37 | Binance | TRB-USDC | $61.96 0.0264213 Eth | $64,078.00 1,041.608 TRB | 0.1443% |
38 | WhiteBIT | TRB-BTC | $62.03 0.0264493 Eth | $40,944.00 660.070 TRB | 0.0915% |
39 | WEEX | TRB-USDT | $61.95 0.0264069 Eth | $26,751.00 436.480 TRB | 0.0605% |
40 | XT.COM | TRB-USDT | $61.99 0.0264195 Eth | $23,503.00 381.237 TRB | 0.0528% |
41 | Phemex | TRB-USDT | $62.13 0.0264934 Eth | $22,443.00 361.209 TRB | 0.0500% |
42 | Bitlo | TRB-USDT | $62.21 0.0265069 Eth | $21,441.00 349.552 TRB | 0.0484% |
43 | Binance | TRB-BTC | $61.94 0.0264122 Eth | $16,877.30 272.732 TRB | 0.0378% |
44 | Kanga | TRB-USDT | $62.06 0.0264405 Eth | $15,676.69 0.000 TRB | 0.0000% |
45 | Bitlo | TRB-TRY | $62.24 0.0265210 Eth | $14,233.68 231.893 TRB | 0.0321% |
46 | TokoCrypto | TRB-USDT | $62.03 0.0264302 Eth | $12,257.40 197.609 TRB | 0.0274% |
47 | CEX.IO | TRB-USD | $62.05 0.0264468 Eth | $10,770.79 172.250 TRB | 0.0239% |
48 | CoinEx | TRB-USDT | $61.89 0.0263886 Eth | $9,736.34 159.034 TRB | 0.0220% |
49 | Pionex | TRB-USDT | $62.08 0.0264506 Eth | $8,998.86 145.713 TRB | 0.0202% |
50 | Binance | TRB-FDUSD | $62.40 0.0265821 Eth | $8,165.31 133.554 TRB | 0.0185% |
51 | Crypto.com Exchange | TRB-USDT | $61.94 0.0264094 Eth | $7,470.80 120.621 TRB | 0.0167% |
52 | Crypto.com Exchange | TRB-USD | $61.92 0.0264026 Eth | $5,163.01 83.382 TRB | 0.0116% |
53 | Cryptology | TRB-USDT | $61.99 0.0264333 Eth | $3,672.40 59.240 TRB | 0.0082% |
54 | KuCoin | TRB-BTC | $63.26 0.0269656 Eth | $2,967.76 46.910 TRB | 0.0065% |
55 | Bitkub | TRB-THB | $61.83 0.0263628 Eth | $1,892.71 30.614 TRB | 0.0042% |
56 | Nominex | TRB-TRY | $62.14 0.0264958 Eth | $1,448.36 23.309 TRB | 0.0032% |
57 | Mudrex | TRB-USDT | $61.95 0.0264065 Eth | $1,242.41 20.054 TRB | 0.0028% |
58 | Indodax | TRB-IDR | $61.75 0.0261351 Eth | $1,186.69 19.217 TRB | 0.0027% |
59 | CoinDCX | TRB-INR | $65.13 0.0277705 Eth | $1,019.44 0.000 TRB | 0.0000% |
60 | Mercado Bitcoin | TRB-BRL | $62.15 0.0264892 Eth | $773.13 12.440 TRB | 0.0017% |
61 | Nominex | TRB-USDC | $61.95 0.0264023 Eth | $494.51 7.983 TRB | 0.0011% |
62 | Uniswap V2 (Ethereum) | 0X88DF592F8EB5D7BD38BFEF7DEB0FBC02CF3778A0-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $62.53 0.0266640 Eth | $469.76 7.532 0X88DF592F8EB5D7BD38BFEF7DEB0FBC02CF3778A0 | 0.0010% |
63 | Gate.io | TRB-ETH | $61.98 0.0264266 Eth | $315.09 5.185 TRB | 0.0007% |
64 | HitBTC | TRB-USDT | $61.30 0.0260407 Eth | $298.85 4.875 TRB | 0.0007% |
65 | Uniswap V3 (Ethereum) | 0X88DF592F8EB5D7BD38BFEF7DEB0FBC02CF3778A0-0X92D6C1E31E14520E676A687F0A93788B716BEFF5 | $62.24 0.0261542 Eth | $169.12 6.014 0X88DF592F8EB5D7BD38BFEF7DEB0FBC02CF3778A0 | 0.0008% |
66 | Nominex | TRB-BTC | $61.94 0.0264018 Eth | $159.15 2.569 TRB | 0.0004% |
67 | Bittime | TRB-IDR | $62.34 0.0265623 Eth | $141.00 2.271 TRB | 0.0003% |
68 | NovaDAX | TRB-BRL | $60.74 0.0258993 Eth | $137.27 2.260 TRB | 0.0003% |
69 | Gate.io | TRB-USDC | $62.57 0.0266809 Eth | $130.64 2.139 TRB | 0.0003% |
70 | TokoCrypto | TRB-BTC | $62.65 0.0262821 Eth | $88.33 1.410 TRB | 0.0002% |
71 | Gate.io | TRB-TRY | $62.44 0.0266250 Eth | $85.62 1.371 TRB | 0.0002% |
72 | Energiswap | 0XA5526097203C4C3A9D8BD5810FF0A7C9AECE58C4-0XA55F26319462355474A9F2C8790860776A329AA4 | $62.27 0.0264875 Eth | $58.45 0.952 0XA5526097203C4C3A9D8BD5810FF0A7C9AECE58C4 | 0.0001% |
73 | CEX.IO | TRB-EUR | $62.24 0.0265266 Eth | $52.91 0.850 TRB | 0.0001% |
74 | CEX.IO | TRB-USDT | $62.04 0.0264408 Eth | $16.25 0.266 TRB | 0.0000% |
75 | Poloniex | TRB-USDT | $57.34 0.0244580 Eth | $9.09 0.158 TRB | 0.0000% |
Contract Name:
TellorMaster
Compiler Version
v0.7.4+commit.3f05b770
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.7.4; import "./TellorStorage.sol"; import "./TellorVariables.sol"; /** * @title Tellor Master * @dev This is the Master contract with all tellor getter functions and delegate call to Tellor. * The logic for the functions on this contract is saved on the TellorGettersLibrary, TellorTransfer, * TellorGettersLibrary, and TellorStake */ contract TellorMaster is TellorStorage, TellorVariables { event NewTellorAddress(address _newTellor); constructor(address _tContract, address _oTellor) { addresses[_OWNER] = msg.sender; addresses[_DEITY] = msg.sender; addresses[_TELLOR_CONTRACT] = _tContract; addresses[_OLD_TELLOR] = _oTellor; bytesVars[_CURRENT_CHALLENGE] = bytes32("1"); uints[_DIFFICULTY] = 100; uints[_TIME_TARGET] = 240; uints[_TARGET_MINERS] = 200; uints[_CURRENT_REWARD] = 1e18; uints[_DISPUTE_FEE] = 500e18; uints[_STAKE_AMOUNT] = 500e18; uints[_TIME_OF_LAST_NEW_VALUE] = block.timestamp - 240; currentMiners[0].value = 1; currentMiners[1].value = 2; currentMiners[2].value = 3; currentMiners[3].value = 4; currentMiners[4].value = 5; // Bootstraping Request Queue for (uint256 index = 1; index < 51; index++) { Request storage req = requestDetails[index]; req.apiUintVars[_REQUEST_Q_POSITION] = index; requestIdByRequestQIndex[index] = index; } assembly { sstore(_EIP_SLOT, _tContract) } emit NewTellorAddress(_tContract); } /** * @dev This function allows the Deity to set a new deity * @param _newDeity the new Deity in the contract */ function changeDeity(address _newDeity) external { require(msg.sender == addresses[_DEITY]); addresses[_DEITY] = _newDeity; } /** * @dev This function allows the owner to set a new _owner * @param _newOwner the new Owner in the contract */ function changeOwner(address _newOwner) external { require(msg.sender == addresses[_OWNER]); addresses[_OWNER] = _newOwner; } /** * @dev allows for the deity to make fast upgrades. Deity should be 0 address if decentralized * @param _tContract the address of the new Tellor Contract */ function changeTellorContract(address _tContract) external { require(msg.sender == addresses[_DEITY]); addresses[_TELLOR_CONTRACT] = _tContract; assembly { sstore(_EIP_SLOT, _tContract) } } /** * @dev This is the internal function that allows for delegate calls to the Tellor logic * contract address */ function _delegate(address implementation) internal virtual { // solhint-disable-next-line no-inline-assembly assembly { // Copy msg.data. We take full control of memory in this inline assembly // block because it will not return to Solidity code. We overwrite the // Solidity scratch pad at memory position 0. calldatacopy(0, 0, calldatasize()) // Call the implementation. // out and outsize are 0 because we don't know the size yet. let result := delegatecall( gas(), implementation, 0, calldatasize(), 0, 0 ) // Copy the returned data. returndatacopy(0, 0, returndatasize()) switch result // delegatecall returns 0 on error. case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } /** * @dev This is the fallback function that allows contracts to call the tellor * contract at the address stored */ fallback() external payable { address addr = addresses[_TELLOR_CONTRACT]; _delegate(addr); } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.4; /** * @title Tellor Oracle Storage Library * @dev Contains all the variables/structs used by Tellor */ contract TellorStorage { //Internal struct for use in proof-of-work submission struct Details { uint256 value; address miner; } struct Dispute { bytes32 hash; //unique hash of dispute: keccak256(_miner,_requestId,_timestamp) int256 tally; //current tally of votes for - against measure bool executed; //is the dispute settled bool disputeVotePassed; //did the vote pass? bool isPropFork; //true for fork proposal NEW address reportedMiner; //miner who submitted the 'bad value' will get disputeFee if dispute vote fails address reportingParty; //miner reporting the 'bad value'-pay disputeFee will get reportedMiner's stake if dispute vote passes address proposedForkAddress; //new fork address (if fork proposal) mapping(bytes32 => uint256) disputeUintVars; //Each of the variables below is saved in the mapping disputeUintVars for each disputeID //e.g. TellorStorageStruct.DisputeById[disputeID].disputeUintVars[keccak256("requestId")] //These are the variables saved in this mapping: // uint keccak256("requestId");//apiID of disputed value // uint keccak256("timestamp");//timestamp of disputed value // uint keccak256("value"); //the value being disputed // uint keccak256("minExecutionDate");//7 days from when dispute initialized // uint keccak256("numberOfVotes");//the number of parties who have voted on the measure // uint keccak256("blockNumber");// the blocknumber for which votes will be calculated from // uint keccak256("minerSlot"); //index in dispute array // uint keccak256("fee"); //fee paid corresponding to dispute mapping(address => bool) voted; //mapping of address to whether or not they voted } struct StakeInfo { uint256 currentStatus; //0-not Staked, 1=Staked, 2=LockedForWithdraw 3= OnDispute 4=ReadyForUnlocking 5=Unlocked uint256 startDate; //stake start date } //Internal struct to allow balances to be queried by blocknumber for voting purposes struct Checkpoint { uint128 fromBlock; // fromBlock is the block number that the value was generated from uint128 value; // value is the amount of tokens at a specific block number } struct Request { uint256[] requestTimestamps; //array of all newValueTimestamps requested mapping(bytes32 => uint256) apiUintVars; //Each of the variables below is saved in the mapping apiUintVars for each api request //e.g. requestDetails[_requestId].apiUintVars[keccak256("totalTip")] //These are the variables saved in this mapping: // uint keccak256("requestQPosition"); //index in requestQ // uint keccak256("totalTip");//bonus portion of payout mapping(uint256 => uint256) minedBlockNum; //[apiId][minedTimestamp]=>block.number //This the time series of finalValues stored by the contract where uint UNIX timestamp is mapped to value mapping(uint256 => uint256) finalValues; mapping(uint256 => bool) inDispute; //checks if API id is in dispute or finalized. mapping(uint256 => address[5]) minersByValue; mapping(uint256 => uint256[5]) valuesByTimestamp; } uint256[51] requestQ; //uint50 array of the top50 requests by payment amount uint256[] public newValueTimestamps; //array of all timestamps requested //Address fields in the Tellor contract are saved the addressVars mapping //e.g. addressVars[keccak256("tellorContract")] = address //These are the variables saved in this mapping: // address keccak256("tellorContract");//Tellor address // address keccak256("_owner");//Tellor Owner address // address keccak256("_deity");//Tellor Owner that can do things at will // address keccak256("pending_owner"); // The proposed new owner //uint fields in the Tellor contract are saved the uintVars mapping //e.g. uintVars[keccak256("decimals")] = uint //These are the variables saved in this mapping: // keccak256("decimals"); //18 decimal standard ERC20 // keccak256("disputeFee");//cost to dispute a mined value // keccak256("disputeCount");//totalHistoricalDisputes // keccak256("total_supply"); //total_supply of the token in circulation // keccak256("stakeAmount");//stakeAmount for miners (we can cut gas if we just hardcoded it in...or should it be variable?) // keccak256("stakerCount"); //number of parties currently staked // keccak256("timeOfLastNewValue"); // time of last challenge solved // keccak256("difficulty"); // Difficulty of current block // keccak256("currentTotalTips"); //value of highest api/timestamp PayoutPool // keccak256("currentRequestId"); //API being mined--updates with the ApiOnQ Id // keccak256("requestCount"); // total number of requests through the system // keccak256("slotProgress");//Number of miners who have mined this value so far // keccak256("miningReward");//Mining Reward in PoWo tokens given to all miners per value // keccak256("timeTarget"); //The time between blocks (mined Oracle values) // keccak256("_tblock"); // // keccak256("runningTips"); // VAriable to track running tips // keccak256("currentReward"); // The current reward // keccak256("devShare"); // The amount directed towards th devShare // keccak256("currentTotalTips"); // //This is a boolean that tells you if a given challenge has been completed by a given miner mapping(uint256 => uint256) requestIdByTimestamp; //minedTimestamp to apiId mapping(uint256 => uint256) requestIdByRequestQIndex; //link from payoutPoolIndex (position in payout pool array) to apiId mapping(uint256 => Dispute) public disputesById; //disputeId=> Dispute details mapping(bytes32 => uint256) public requestIdByQueryHash; // api bytes32 gets an id = to count of requests array mapping(bytes32 => uint256) public disputeIdByDisputeHash; //maps a hash to an ID for each dispute mapping(bytes32 => mapping(address => bool)) public minersByChallenge; Details[5] public currentMiners; //This struct is for organizing the five mined values to find the median mapping(address => StakeInfo) stakerDetails; //mapping from a persons address to their staking info mapping(uint256 => Request) requestDetails; mapping(bytes32 => uint256) public uints; mapping(bytes32 => address) public addresses; mapping(bytes32 => bytes32) public bytesVars; //ERC20 storage mapping(address => Checkpoint[]) public balances; mapping(address => mapping(address => uint256)) public _allowances; //Migration storage mapping(address => bool) public migrated; }
// SPDX-License-Identifier: MIT pragma solidity 0.7.4; // Helper contract to store hashes of variables contract TellorVariables { bytes32 constant _BLOCK_NUMBER = 0x4b4cefd5ced7569ef0d091282b4bca9c52a034c56471a6061afd1bf307a2de7c; //keccak256("_BLOCK_NUMBER"); bytes32 constant _CURRENT_CHALLENGE = 0xd54702836c9d21d0727ffacc3e39f57c92b5ae0f50177e593bfb5ec66e3de280; //keccak256("_CURRENT_CHALLENGE"); bytes32 constant _CURRENT_REQUESTID = 0xf5126bb0ac211fbeeac2c0e89d4c02ac8cadb2da1cfb27b53c6c1f4587b48020; //keccak256("_CURRENT_REQUESTID"); bytes32 constant _CURRENT_REWARD = 0xd415862fd27fb74541e0f6f725b0c0d5b5fa1f22367d9b78ec6f61d97d05d5f8; //keccak256("_CURRENT_REWARD"); bytes32 constant _CURRENT_TOTAL_TIPS = 0x09659d32f99e50ac728058418d38174fe83a137c455ff1847e6fb8e15f78f77a; //keccak256("_CURRENT_TOTAL_TIPS"); bytes32 constant _DEITY = 0x5fc094d10c65bc33cc842217b2eccca0191ff24148319da094e540a559898961; //keccak256("_DEITY"); bytes32 constant _DIFFICULTY = 0xf758978fc1647996a3d9992f611883adc442931dc49488312360acc90601759b; //keccak256("_DIFFICULTY"); bytes32 constant _DISPUTE_COUNT = 0x310199159a20c50879ffb440b45802138b5b162ec9426720e9dd3ee8bbcdb9d7; //keccak256("_DISPUTE_COUNT"); bytes32 constant _DISPUTE_FEE = 0x675d2171f68d6f5545d54fb9b1fb61a0e6897e6188ca1cd664e7c9530d91ecfc; //keccak256("_DISPUTE_FEE"); bytes32 constant _DISPUTE_ROUNDS = 0x6ab2b18aafe78fd59c6a4092015bddd9fcacb8170f72b299074f74d76a91a923; //keccak256("_DISPUTE_ROUNDS"); bytes32 constant _FEE = 0x1da95f11543c9b03927178e07951795dfc95c7501a9d1cf00e13414ca33bc409; //keccak256("FEE"); bytes32 constant _MIN_EXECUTION_DATE = 0x46f7d53798d31923f6952572c6a19ad2d1a8238d26649c2f3493a6d69e425d28; //keccak256("_MIN_EXECUTION_DATE"); bytes32 constant _MINER_SLOT = 0x6de96ee4d33a0617f40a846309c8759048857f51b9d59a12d3c3786d4778883d; //keccak256("_MINER_SLOT"); bytes32 constant _NUM_OF_VOTES = 0x1da378694063870452ce03b189f48e04c1aa026348e74e6c86e10738514ad2c4; //keccak256("_NUM_OF_VOTES"); bytes32 constant _OLD_TELLOR = 0x56e0987db9eaec01ed9e0af003a0fd5c062371f9d23722eb4a3ebc74f16ea371; //keccak256("_OLD_TELLOR"); bytes32 constant _ORIGINAL_ID = 0xed92b4c1e0a9e559a31171d487ecbec963526662038ecfa3a71160bd62fb8733; //keccak256("_ORIGINAL_ID"); bytes32 constant _OWNER = 0x7a39905194de50bde334d18b76bbb36dddd11641d4d50b470cb837cf3bae5def; //keccak256("_OWNER"); bytes32 constant _PAID = 0x29169706298d2b6df50a532e958b56426de1465348b93650fca42d456eaec5fc; //keccak256("_PAID"); bytes32 constant _PENDING_OWNER = 0x7ec081f029b8ac7e2321f6ae8c6a6a517fda8fcbf63cabd63dfffaeaafa56cc0; //keccak256("_PENDING_OWNER"); bytes32 constant _REQUEST_COUNT = 0x3f8b5616fa9e7f2ce4a868fde15c58b92e77bc1acd6769bf1567629a3dc4c865; //keccak256("_REQUEST_COUNT"); bytes32 constant _REQUEST_ID = 0x9f47a2659c3d32b749ae717d975e7962959890862423c4318cf86e4ec220291f; //keccak256("_REQUEST_ID"); bytes32 constant _REQUEST_Q_POSITION = 0xf68d680ab3160f1aa5d9c3a1383c49e3e60bf3c0c031245cbb036f5ce99afaa1; //keccak256("_REQUEST_Q_POSITION"); bytes32 constant _SLOT_PROGRESS = 0xdfbec46864bc123768f0d134913175d9577a55bb71b9b2595fda21e21f36b082; //keccak256("_SLOT_PROGRESS"); bytes32 constant _STAKE_AMOUNT = 0x5d9fadfc729fd027e395e5157ef1b53ef9fa4a8f053043c5f159307543e7cc97; //keccak256("_STAKE_AMOUNT"); bytes32 constant _STAKE_COUNT = 0x10c168823622203e4057b65015ff4d95b4c650b308918e8c92dc32ab5a0a034b; //keccak256("_STAKE_COUNT"); bytes32 constant _T_BLOCK = 0xf3b93531fa65b3a18680d9ea49df06d96fbd883c4889dc7db866f8b131602dfb; //keccak256("_T_BLOCK"); bytes32 constant _TALLY_DATE = 0xf9e1ae10923bfc79f52e309baf8c7699edb821f91ef5b5bd07be29545917b3a6; //keccak256("_TALLY_DATE"); bytes32 constant _TARGET_MINERS = 0x0b8561044b4253c8df1d9ad9f9ce2e0f78e4bd42b2ed8dd2e909e85f750f3bc1; //keccak256("_TARGET_MINERS"); bytes32 constant _TELLOR_CONTRACT = 0x0f1293c916694ac6af4daa2f866f0448d0c2ce8847074a7896d397c961914a08; //keccak256("_TELLOR_CONTRACT"); bytes32 constant _TELLOR_GETTERS = 0xabd9bea65759494fe86471c8386762f989e1f2e778949e94efa4a9d1c4b3545a; //keccak256("_TELLOR_GETTERS"); bytes32 constant _TIME_OF_LAST_NEW_VALUE = 0x2c8b528fbaf48aaf13162a5a0519a7ad5a612da8ff8783465c17e076660a59f1; //keccak256("_TIME_OF_LAST_NEW_VALUE"); bytes32 constant _TIME_TARGET = 0xd4f87b8d0f3d3b7e665df74631f6100b2695daa0e30e40eeac02172e15a999e1; //keccak256("_TIME_TARGET"); bytes32 constant _TIMESTAMP = 0x2f9328a9c75282bec25bb04befad06926366736e0030c985108445fa728335e5; //keccak256("_TIMESTAMP"); bytes32 constant _TOTAL_SUPPLY = 0xe6148e7230ca038d456350e69a91b66968b222bfac9ebfbea6ff0a1fb7380160; //keccak256("_TOTAL_SUPPLY"); bytes32 constant _TOTAL_TIP = 0x1590276b7f31dd8e2a06f9a92867333eeb3eddbc91e73b9833e3e55d8e34f77d; //keccak256("_TOTAL_TIP"); bytes32 constant _VALUE = 0x9147231ab14efb72c38117f68521ddef8de64f092c18c69dbfb602ffc4de7f47; //keccak256("_VALUE"); bytes32 constant _EIP_SLOT = 0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3; }
{ "optimizer": { "enabled": true, "runs": 999999 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_tContract","type":"address"},{"internalType":"address","name":"_oTellor","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_newTellor","type":"address"}],"name":"NewTellorAddress","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"_allowances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"addresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"balances","outputs":[{"internalType":"uint128","name":"fromBlock","type":"uint128"},{"internalType":"uint128","name":"value","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"bytesVars","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newDeity","type":"address"}],"name":"changeDeity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tContract","type":"address"}],"name":"changeTellorContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"currentMiners","outputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"miner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"disputeIdByDisputeHash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"disputesById","outputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"int256","name":"tally","type":"int256"},{"internalType":"bool","name":"executed","type":"bool"},{"internalType":"bool","name":"disputeVotePassed","type":"bool"},{"internalType":"bool","name":"isPropFork","type":"bool"},{"internalType":"address","name":"reportedMiner","type":"address"},{"internalType":"address","name":"reportingParty","type":"address"},{"internalType":"address","name":"proposedForkAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"migrated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"minersByChallenge","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"newValueTimestamps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"requestIdByQueryHash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"uints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610e27380380610e278339818101604052604081101561003357600080fd5b5080516020918201517fb5f7e7387e8e977cc9c4c9513388b0d7224264b9a0159cd8e8bdd84a9ed504c38054336001600160a01b031991821681179092557f437dd27c2043efdfef03344e9331c924985f7bd1752abef5ea93bdbfed685100805482169092179091557ffe10c9a395cce5a324df121072934b83aa2f3aa5f594428b2a75cf926b73fae8805482166001600160a01b03808616919091179091557fc930326aab6c1874fc004d856083a6ed34e057e064970b7effb48e8e6e8ca1278054909216908316179055603160f81b7f52cb9007c7c6068f8ef37039d4f232cbf5a28ff8d93a5983c4c0c27cd2f9bc0d55604690925260647f5bccd7373734898281f858d7562320d2cdfc0b17bd72f779686937174d1500255560f07f8156e704072c396780f8253d0562de28216b73a1503daa96e259b9cdd951d71c5560c87f2e2f0a18eb55ef91e37921b3810d7feeef7a855ddc7f4f4249ef03d7b887ae3155670de0b6b3a76400007fc2c579d641b643400780d5c7ce967b420034b9f66962a5ee405cf70e4cbed6bb55681b1ae4d6e2ef5000007f3e5522f19747f0f285b96ded572ac4128c3a764aea9f44058dc0afc9dda449868190557f167af83a0768d27540775cfef6d996eb63f8a61fcdfb26e654c18fb50960e3be557f2c8b528fbaf48aaf13162a5a0519a7ad5a612da8ff8783465c17e076660a59f16000524260ef19017f231bb0dc207f13dd4e565ebc32496c470e35391bd8d3b6649269ee2328e03118556001603a8190556002603c556003603e55600460405560056042559091905b60338110156102da5760008181526045602090815260408083207ff68d680ab3160f1aa5d9c3a1383c49e3e60bf3c0c031245cbb036f5ce99afaa184526001908101835281842085905584845260359092529091208290550161027c565b507f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3829055604080516001600160a01b038416815290517fc2d1449eb0b6547aa426e09d9942a77fa4fc8cd3296305b3163e22452e0bcb8d9181900360200190a15050610adb8061034c6000396000f3fe6080604052600436106100e85760003560e01c806362dd1d2a1161008a578063b59e14d411610059578063b59e14d414610434578063cbf1304d1461045e578063d01f4d9e146104e5578063db085beb1461050f576100e8565b806362dd1d2a14610337578063699f200f14610361578063a6f9dae1146103b4578063ae0a8279146103f4576100e8565b806347abd7f1116100c657806347abd7f11461023157806348b18e54146102735780634ba0a5ee146102cd5780635700242c1461030d576100e8565b8063024c2ddd146101555780631fd22364146101af578063438c0aa314610207575b7f0f1293c916694ac6af4daa2f866f0448d0c2ce8847074a7896d397c961914a0860005260476020527ffe10c9a395cce5a324df121072934b83aa2f3aa5f594428b2a75cf926b73fae85473ffffffffffffffffffffffffffffffffffffffff1661015281610596565b50005b34801561016157600080fd5b5061019d6004803603604081101561017857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166105ba565b60408051918252519081900360200190f35b3480156101bb57600080fd5b506101d9600480360360208110156101d257600080fd5b50356105d7565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301528051918290030190f35b34801561021357600080fd5b5061019d6004803603602081101561022a57600080fd5b503561060f565b34801561023d57600080fd5b506102716004803603602081101561025457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610630565b005b34801561027f57600080fd5b506102b96004803603604081101561029657600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff1661072b565b604080519115158252519081900360200190f35b3480156102d957600080fd5b506102b9600480360360208110156102f057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661074b565b34801561031957600080fd5b5061019d6004803603602081101561033057600080fd5b5035610760565b34801561034357600080fd5b5061019d6004803603602081101561035a57600080fd5b5035610772565b34801561036d57600080fd5b5061038b6004803603602081101561038457600080fd5b5035610784565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156103c057600080fd5b50610271600480360360208110156103d757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107ac565b34801561040057600080fd5b506102716004803603602081101561041757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108a7565b34801561044057600080fd5b5061019d6004803603602081101561045757600080fd5b50356109bf565b34801561046a57600080fd5b506104a46004803603604081101561048157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356109d1565b60405180836fffffffffffffffffffffffffffffffff168152602001826fffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b3480156104f157600080fd5b5061019d6004803603602081101561050857600080fd5b5035610a2a565b34801561051b57600080fd5b506105396004803603602081101561053257600080fd5b5035610a3c565b604080519889526020890197909752941515878701529215156060870152901515608086015273ffffffffffffffffffffffffffffffffffffffff90811660a086015290811660c08501521660e083015251908190036101000190f35b3660008037600080366000845af43d6000803e8080156105b5573d6000f35b3d6000fd5b604a60209081526000928352604080842090915290825290205481565b603a81600581106105e757600080fd5b60020201805460019091015490915073ffffffffffffffffffffffffffffffffffffffff1682565b6033818154811061061f57600080fd5b600091825260209091200154905081565b7f5fc094d10c65bc33cc842217b2eccca0191ff24148319da094e540a55989896160005260476020527f437dd27c2043efdfef03344e9331c924985f7bd1752abef5ea93bdbfed6851005473ffffffffffffffffffffffffffffffffffffffff16331461069c57600080fd5b7f5fc094d10c65bc33cc842217b2eccca0191ff24148319da094e540a55989896160005260476020527f437dd27c2043efdfef03344e9331c924985f7bd1752abef5ea93bdbfed68510080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b603960209081526000928352604080842090915290825290205460ff1681565b604b6020526000908152604090205460ff1681565b60376020526000908152604090205481565b60486020526000908152604090205481565b60476020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b7f7a39905194de50bde334d18b76bbb36dddd11641d4d50b470cb837cf3bae5def60005260476020527fb5f7e7387e8e977cc9c4c9513388b0d7224264b9a0159cd8e8bdd84a9ed504c35473ffffffffffffffffffffffffffffffffffffffff16331461081857600080fd5b7f7a39905194de50bde334d18b76bbb36dddd11641d4d50b470cb837cf3bae5def60005260476020527fb5f7e7387e8e977cc9c4c9513388b0d7224264b9a0159cd8e8bdd84a9ed504c380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b7f5fc094d10c65bc33cc842217b2eccca0191ff24148319da094e540a55989896160005260476020527f437dd27c2043efdfef03344e9331c924985f7bd1752abef5ea93bdbfed6851005473ffffffffffffffffffffffffffffffffffffffff16331461091357600080fd5b7f0f1293c916694ac6af4daa2f866f0448d0c2ce8847074a7896d397c961914a0860005260476020527ffe10c9a395cce5a324df121072934b83aa2f3aa5f594428b2a75cf926b73fae880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790557f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c355565b60466020526000908152604090205481565b604960205281600052604060002081815481106109ed57600080fd5b6000918252602090912001546fffffffffffffffffffffffffffffffff808216935070010000000000000000000000000000000090910416905082565b60386020526000908152604090205481565b603660205260009081526040902080546001820154600283015460038401546004909401549293919260ff8083169361010084048216936201000081049092169273ffffffffffffffffffffffffffffffffffffffff630100000090930483169291821691168856fea26469706673582212209e7d5a59bdd8f8e704c91d2ca1a695b4915f7cb34a29040a745079f8c4ba9f2c64736f6c6343000704003300000000000000000000000004b5129735b5d9b1b54109f2c4c06ea23b506a950000000000000000000000000ba45a8b5d5575935b8158a88c631e9f9c95a2e5
Deployed Bytecode
0x6080604052600436106100e85760003560e01c806362dd1d2a1161008a578063b59e14d411610059578063b59e14d414610434578063cbf1304d1461045e578063d01f4d9e146104e5578063db085beb1461050f576100e8565b806362dd1d2a14610337578063699f200f14610361578063a6f9dae1146103b4578063ae0a8279146103f4576100e8565b806347abd7f1116100c657806347abd7f11461023157806348b18e54146102735780634ba0a5ee146102cd5780635700242c1461030d576100e8565b8063024c2ddd146101555780631fd22364146101af578063438c0aa314610207575b7f0f1293c916694ac6af4daa2f866f0448d0c2ce8847074a7896d397c961914a0860005260476020527ffe10c9a395cce5a324df121072934b83aa2f3aa5f594428b2a75cf926b73fae85473ffffffffffffffffffffffffffffffffffffffff1661015281610596565b50005b34801561016157600080fd5b5061019d6004803603604081101561017857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166105ba565b60408051918252519081900360200190f35b3480156101bb57600080fd5b506101d9600480360360208110156101d257600080fd5b50356105d7565b6040805192835273ffffffffffffffffffffffffffffffffffffffff90911660208301528051918290030190f35b34801561021357600080fd5b5061019d6004803603602081101561022a57600080fd5b503561060f565b34801561023d57600080fd5b506102716004803603602081101561025457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610630565b005b34801561027f57600080fd5b506102b96004803603604081101561029657600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff1661072b565b604080519115158252519081900360200190f35b3480156102d957600080fd5b506102b9600480360360208110156102f057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661074b565b34801561031957600080fd5b5061019d6004803603602081101561033057600080fd5b5035610760565b34801561034357600080fd5b5061019d6004803603602081101561035a57600080fd5b5035610772565b34801561036d57600080fd5b5061038b6004803603602081101561038457600080fd5b5035610784565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156103c057600080fd5b50610271600480360360208110156103d757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166107ac565b34801561040057600080fd5b506102716004803603602081101561041757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108a7565b34801561044057600080fd5b5061019d6004803603602081101561045757600080fd5b50356109bf565b34801561046a57600080fd5b506104a46004803603604081101561048157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356109d1565b60405180836fffffffffffffffffffffffffffffffff168152602001826fffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b3480156104f157600080fd5b5061019d6004803603602081101561050857600080fd5b5035610a2a565b34801561051b57600080fd5b506105396004803603602081101561053257600080fd5b5035610a3c565b604080519889526020890197909752941515878701529215156060870152901515608086015273ffffffffffffffffffffffffffffffffffffffff90811660a086015290811660c08501521660e083015251908190036101000190f35b3660008037600080366000845af43d6000803e8080156105b5573d6000f35b3d6000fd5b604a60209081526000928352604080842090915290825290205481565b603a81600581106105e757600080fd5b60020201805460019091015490915073ffffffffffffffffffffffffffffffffffffffff1682565b6033818154811061061f57600080fd5b600091825260209091200154905081565b7f5fc094d10c65bc33cc842217b2eccca0191ff24148319da094e540a55989896160005260476020527f437dd27c2043efdfef03344e9331c924985f7bd1752abef5ea93bdbfed6851005473ffffffffffffffffffffffffffffffffffffffff16331461069c57600080fd5b7f5fc094d10c65bc33cc842217b2eccca0191ff24148319da094e540a55989896160005260476020527f437dd27c2043efdfef03344e9331c924985f7bd1752abef5ea93bdbfed68510080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b603960209081526000928352604080842090915290825290205460ff1681565b604b6020526000908152604090205460ff1681565b60376020526000908152604090205481565b60486020526000908152604090205481565b60476020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b7f7a39905194de50bde334d18b76bbb36dddd11641d4d50b470cb837cf3bae5def60005260476020527fb5f7e7387e8e977cc9c4c9513388b0d7224264b9a0159cd8e8bdd84a9ed504c35473ffffffffffffffffffffffffffffffffffffffff16331461081857600080fd5b7f7a39905194de50bde334d18b76bbb36dddd11641d4d50b470cb837cf3bae5def60005260476020527fb5f7e7387e8e977cc9c4c9513388b0d7224264b9a0159cd8e8bdd84a9ed504c380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b7f5fc094d10c65bc33cc842217b2eccca0191ff24148319da094e540a55989896160005260476020527f437dd27c2043efdfef03344e9331c924985f7bd1752abef5ea93bdbfed6851005473ffffffffffffffffffffffffffffffffffffffff16331461091357600080fd5b7f0f1293c916694ac6af4daa2f866f0448d0c2ce8847074a7896d397c961914a0860005260476020527ffe10c9a395cce5a324df121072934b83aa2f3aa5f594428b2a75cf926b73fae880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790557f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c355565b60466020526000908152604090205481565b604960205281600052604060002081815481106109ed57600080fd5b6000918252602090912001546fffffffffffffffffffffffffffffffff808216935070010000000000000000000000000000000090910416905082565b60386020526000908152604090205481565b603660205260009081526040902080546001820154600283015460038401546004909401549293919260ff8083169361010084048216936201000081049092169273ffffffffffffffffffffffffffffffffffffffff630100000090930483169291821691168856fea26469706673582212209e7d5a59bdd8f8e704c91d2ca1a695b4915f7cb34a29040a745079f8c4ba9f2c64736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000004b5129735b5d9b1b54109f2c4c06ea23b506a950000000000000000000000000ba45a8b5d5575935b8158a88c631e9f9c95a2e5
-----Decoded View---------------
Arg [0] : _tContract (address): 0x04B5129735b5d9B1B54109F2C4C06ea23B506a95
Arg [1] : _oTellor (address): 0x0Ba45A8b5d5575935B8158a88C631E9F9C95a2e5
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000004b5129735b5d9b1b54109f2c4c06ea23b506a95
Arg [1] : 0000000000000000000000000ba45a8b5d5575935b8158a88c631e9f9c95a2e5
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.