Contract 0xbafee71d40babc12a3d0b2b8937ee62d3a070835

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0xb06d4485c78a1ba46495dc3355421a05cbe83d316985c25f6bfade96cc2c114b97095512021-08-03 9:14:1914 hrs 32 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0x66ea516a10774a216f24e4e1421c538953e35db5e4e468292dde990648fcc9fd97095442021-08-03 9:13:5814 hrs 33 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0x44e91f55b2abd73bc7fcca26d2a183efa00722ce51c8fd05cc8ccdf6618dc20097095382021-08-03 9:13:4014 hrs 33 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171402
0xf674dde21f7389dbf1f91d4351fc99af45c4ce72b44f2c97621a0eeee13bbc8197095312021-08-03 9:13:1914 hrs 33 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171336
0x8aae4c1f04111bc8760921581ac657f0b96c9895110ce8457968bd5cec5d4da797095242021-08-03 9:12:5814 hrs 34 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0x0032ae61a9b4a6d9ea3e55eb5affb9fe5322a8704137465aba29fc11e12a1d4d97095172021-08-03 9:12:3714 hrs 34 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171402
0x58c856ab76a216e6773d170d41498da1f9ae9f5e957f490dab92c3b6cb7b87ee97095102021-08-03 9:12:1614 hrs 34 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171138
0x30aa896643e3c9eb51a649777b589c00cab0ffbe6d945697b66caf3085bcceb497095042021-08-03 9:11:5814 hrs 35 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171336
0xd9ce6523aa3e97b5a567108fced8ff381c843ff4719a2a53e67287dccf82c0f597094972021-08-03 9:11:3714 hrs 35 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171336
0xd41e2b5e24547a138c3e2f0c8744370011855e73e37da1cf31db579e4cfe475697094902021-08-03 9:11:1614 hrs 35 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0xc367284269433dafa5cb20a0a0dd6b61ba73bd2628b27885871dea69cce1348a97094832021-08-03 9:10:5514 hrs 36 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171204
0xbdda708afddbadda880d1992297d9f74a71d6e7cf302da87327001b2ed72e41997094762021-08-03 9:10:3414 hrs 36 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171336
0x8f7b4170b5f674499d0c466992f7fe6d0cf0d53580d7cc9b29f88f047a1a629397094692021-08-03 9:10:1314 hrs 37 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0xea436c1d7c7ef1db8302f22ffe8198a8ef5b76af046fda6bf2b9db946d656fce97094622021-08-03 9:09:5214 hrs 37 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171336
0xac72fd80b6a0cfe08e50b89dd39566445cb95d15832b114414155df6fb578bed97094562021-08-03 9:09:3414 hrs 37 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171402
0x7eeae876b4d51e6c568c3354cbb4996583f42c89d5ed667b8c780ee496b5547c97094492021-08-03 9:09:1314 hrs 38 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0xcd1ae43d11981de1495d80fa56e19bc47578b4270f6f747ea5f8f05c739f34df97094422021-08-03 9:08:5214 hrs 38 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0xd5c40974bf08cb9a7606d4a5177676c0f6fd9f1ccf2371c7157befdcb7e7190d97094352021-08-03 9:08:3114 hrs 38 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171204
0x155b1f8e0c48c5c582e476e9ef84cac84e7dd793d25230b6f7fceca413c4862197094292021-08-03 9:08:1314 hrs 39 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171204
0xe2b5ba11160f638d91bb2f05e7452669585201d923c7f0f0425521846e325fb597094222021-08-03 9:07:5214 hrs 39 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171336
0xb1503091367cc120dd984f2b2981a09dbb36c88ea4110454a32ba12c646c1b9997094152021-08-03 9:07:3114 hrs 39 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0x5ea58a27883895b2661cdede01f63299776bab3c2e58f24f70f987339f02021997094082021-08-03 9:07:1014 hrs 40 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.00017127
0x05ee59c287ee1b4f1c9f744bf7e1a6cb55a546881e62513915b1dbb352e4816197094012021-08-03 9:06:4914 hrs 40 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171402
0x66b1e2db76bc19c520ea747fc604264041847821542e55e53260e4f526b4284897093952021-08-03 9:06:2914 hrs 40 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171336
0x42d91ae9d856f629857142925f413369df2103e2ab65f2abed73f233ceb1a8f097093892021-08-03 9:06:1014 hrs 41 mins ago0x642a5724ad95f863dc2980aa6a728d7e2380bc24 IN  0xbafee71d40babc12a3d0b2b8937ee62d3a0708350 BNB0.000171204
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DIACoinmarketcapOracle

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at BscScan.com on 2021-03-04
*/

/**
 *Submitted for verification at Etherscan.io on 2020-12-15
*/

pragma solidity 0.7.4;                                                                                                                                                                                                                      
                                                                                   
contract DIACoinmarketcapOracle {                                                  
    mapping (string => uint256) public values;                                     
    address oracleUpdater;                                                         
                                                                                   
    event OracleUpdate(string key, uint128 value, uint128 timestamp);              
    event UpdaterAddressChange(address newUpdater);                                
                                                                                   
    constructor() {                                                                
        oracleUpdater = msg.sender;                                                
    }                                                                              
                                                                                   
    function setValue(string memory key, uint128 value, uint128 timestamp) public {
        require(msg.sender == oracleUpdater);                                      
        uint256 cValue = (((uint256)(value)) << 128) + timestamp;                  
        values[key] = cValue;                                                      
        emit OracleUpdate(key, value, timestamp);                                  
    }                                                                              
                                                                                   
    function getValue(string memory key) public view returns (uint128, uint128) {
        uint256 cValue = values[key];                                              
        uint128 timestamp = (uint128)(cValue % 2**128);                            
        uint128 value = (uint128)(cValue >> 128);                                  
        return (value, timestamp);                                                 
    }                                                                              
                                                                                   
    function updateOracleUpdaterAddress(address newOracleUpdaterAddress) public {
        require(msg.sender == oracleUpdater);                                      
        oracleUpdater = newOracleUpdaterAddress;                                   
        emit UpdaterAddressChange(newOracleUpdaterAddress);                        
    }                                                                              
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"uint128","name":"value","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"timestamp","type":"uint128"}],"name":"OracleUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newUpdater","type":"address"}],"name":"UpdaterAddressChange","type":"event"},{"inputs":[{"internalType":"string","name":"key","type":"string"}],"name":"getValue","outputs":[{"internalType":"uint128","name":"","type":"uint128"},{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"key","type":"string"},{"internalType":"uint128","name":"value","type":"uint128"},{"internalType":"uint128","name":"timestamp","type":"uint128"}],"name":"setValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOracleUpdaterAddress","type":"address"}],"name":"updateOracleUpdaterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"values","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600180546001600160a01b0319163317905561054d806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea2646970667358221220a89b814b45b72c8521dd8b21f1d45abc05f039cc17d21511a375a8e97307422064736f6c63430007040033

Deployed ByteCode Sourcemap

394:2547:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;483:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;483:41:0;;-1:-1:-1;483:41:0;;-1:-1:-1;;;;;483:41:0:i;:::-;;;;;;;;;;;;;;;;2521:339;;;;;;;;;;;;;;;;-1:-1:-1;2521:339:0;-1:-1:-1;;;;;2521:339:0;;:::i;:::-;;1333:426;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1333:426:0;;-1:-1:-1;;;;;;;1333:426:0;;;;;-1:-1:-1;1333:426:0;;;;;;;;;-1:-1:-1;1333:426:0;;-1:-1:-1;1333:426:0:i;1928:424::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1928:424:0;;-1:-1:-1;1928:424:0;;-1:-1:-1;;;;;1928:424:0:i;:::-;;;;;-1:-1:-1;;;;;1928:424:0;;;;;;-1:-1:-1;;;;;1928:424:0;;;;;;;;;;;;;;;;483:41;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2521:339::-;2630:13;;-1:-1:-1;;;;;2630:13:0;2616:10;:27;2608:36;;;;;;2693:13;:39;;-1:-1:-1;;;;;2693:39:0;;-1:-1:-1;;;;;;2693:39:0;;;;;;;;2783:45;;;;;;;;;;;;;;;;2521:339;:::o;1333:426::-;1444:13;;-1:-1:-1;;;;;1444:13:0;1430:10;:27;1422:36;;;;;;1507:14;1554:9;-1:-1:-1;;;;;1524:39:0;1547:3;1536:5;-1:-1:-1;;;;;1526:16:0;1525:25;;1524:39;1507:56;;1606:6;1592;1599:3;1592:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1592:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1592:11:0;;;;;;;;;;;;;;;;-1:-1:-1;1592:11:0;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;1682:35:0;;;;;;;;;;;;;;;;-1:-1:-1;;1682:35:0;;;;;;;;;;;;;;;;;;;;1592:11;;1682:35;;;;;;;;;;-1:-1:-1;1682:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1333:426;;;;:::o;1928:424::-;1986:7;1995;2015:14;2032:6;2039:3;2032:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2032:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2032:11:0;;;;;;;;;;;;;;;;-1:-1:-1;2032:11:0;;;;;;;;;;;2221:3;2211:13;;;;-1:-1:-1;;;;;2130:15:0;;;;-1:-1:-1;2211:13:0;-1:-1:-1;;;;;1928:424:0:o

Swarm Source

ipfs://a89b814b45b72c8521dd8b21f1d45abc05f039cc17d21511a375a8e973074220
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.