Contract 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e36

Contract Overview

Balance:
0 BNB
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xcec020c9b516fbb6680460ea46dc1050841f467393bbebdc26716012e12e9f94Set Orakuru Core...91218492021-05-24 12:32:36241 days 17 hrs ago0x10245774478567edf9b610d44aa488dec950d22e IN  0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB0.00045605
0x340f77310e5ad543668c6b37db07e463a9f82177798f011edbc1925759e5f0aeSet Staking Addr91218422021-05-24 12:32:15241 days 17 hrs ago0x10245774478567edf9b610d44aa488dec950d22e IN  0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB0.00045648
0x3bf8f32a5e5cd2ef3b7e6c40e8c76890627b92cc1c4a41d7a7f944b650f907bd0x60a0604091218362021-05-24 12:31:57241 days 17 hrs ago0x10245774478567edf9b610d44aa488dec950d22e IN  Create: AddressRegistry0 BNB0.00353188
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x90cd0f73c8231b41ac0214697074ae3a693b6ba6c11aaa0cf9fc878a7d1f4d6995271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0xc86645920b65d7e6a84031785a22825be993e94925171f13816e7f863068cdfb95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x072431e7f9545e0a9f60964eb4290f4d25958ee23ed43516dcf670d35d55debf95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x694e4cb7aac4c011932939ea4bfe2b7107e08009260d957180bb51422897d55295271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0xc33d327703b3e01eae6bd9c4484e0774fdb7489be56daac75493624b60b3ea0c95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x7fd652330a2dccbe8e8d05c61aa1e2996b35610547121aa614d666566259318995271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0xfce302677e86164c3fabd04b5565d9249c5eed03af9c1463bbd0578724886b9595271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x015f9117e5cae59cd8c093a9a4eca7af3886433cd84bfd7e99d1145bb309c53595271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0xf41b6c1566c231e8a5b0a638f881f7370e509c26d90a51cca83e9c8f902cac2d95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x6f7f7cae083f0585fc9ef34abe3a8cc8fbea72e3c6a60dfbc73cd8e53b94dd1695271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x8d697a55e3ca93c32bcbe7e7e5fb25a9e9b8ea56d4bc984e8feef7219f1d562595271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x2a917f8ec5b6ac64ec54217bbf4ae0c56a2d062d2818a150cf6547859e23e70b95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x8a3887baf0238ef964bc4bde8e4d888e76d8e924048aaf1df752c3389b831a6b95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0xaf8d7787ae5b65c8346d232a3f02e7b95ea50b3cf32dc8380f362e9bca8dbb1595271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0xe2f92b0a798019fc6116dfd11187f424dc3d2d2335d116a219560cd66ff7db7f95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x898ac0edcd48882ff127dde7d8f1e25f5a92f52e20673025348e2cf448e40ed595271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x6012e6c149856abdf6789d824051f8eed7ab326ede41fc6fcd8b5479aef69e6a95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0xbe1c2418040168a3da62923a5fc4b221535f21d6dfe907ffa3c37bb2c7d2b8f995271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x461d55fea5658cfbe9b6c5ba3fbd712ba7ca43ae2e73302b8b5b12d56ecdde8595271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x770c2be033e7f9bfa4dd3423ebc40dbf7d6280aeaf3451d55829fd73d57c34e995271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x0e45578fb79d8e81faf29efca6b75cea7cc434457dbb9da94b3da958437745c195271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0xea94ca20a5dc9956258f08cc08385cbf1cb192f5dd28d13e77341345110306fe95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x65e61c5d042c7bbec385ca43c5c262ab1e954046c91dc3d53446c4fb9e717eab95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x54700e0338d00fdb19f6730a7966487657f000af341526bb0c940552c0291b4b95271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
0x8c4bdb15ebbb85e4e38bd963b4d34bb8320341a052707a67820c03fe213eed9995271572021-06-07 15:12:38227 days 14 hrs ago 0x16a5be448afb23a80b1020a82739a527e0e99e54 0xe7aee14972cd1f5737737b1bd88a7dd9e24c3e360 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AddressRegistry

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 2 of 4 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 3 of 4 : AddressRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IAddressRegistry} from "./interfaces/IAddressRegistry.sol";

contract AddressRegistry is IAddressRegistry, Ownable {
    address private orakuruCoreAddr;
    address private stakingAddr;

    address private immutable ORK;

    event CoreAddressUpdated(address prevAddr, address newAddr);
    event StakingAddressUpdated(address prevAddr, address newAddr);

    constructor(address _orkTokenAddr) {
        ORK = _orkTokenAddr;
    }

    function getOrakuruCoreAddr() external view override returns (address) {
        return orakuruCoreAddr;
    }

    function setOrakuruCoreAddr(address _newAddr) external onlyOwner {
        require(_newAddr != address(0), "Invalid address");

        emit CoreAddressUpdated(orakuruCoreAddr, _newAddr);
        orakuruCoreAddr = _newAddr;
    }

    function getStakingAddr() external view override returns (address) {
        return stakingAddr;
    }

    function setStakingAddr(address _newAddr) external onlyOwner {
        require(_newAddr != address(0), "Invalid address");

        emit StakingAddressUpdated(stakingAddr, _newAddr);
        stakingAddr = _newAddr;
    }

    function getOrkTokenAddr() external view override returns (address) {
        return ORK;
    }
}

File 4 of 4 : IAddressRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

interface IAddressRegistry {
    function getOrakuruCoreAddr() external view returns (address);

    function getStakingAddr() external view returns (address);

    function getOrkTokenAddr() external view returns (address);
}

Settings
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_orkTokenAddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"prevAddr","type":"address"},{"indexed":false,"internalType":"address","name":"newAddr","type":"address"}],"name":"CoreAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"prevAddr","type":"address"},{"indexed":false,"internalType":"address","name":"newAddr","type":"address"}],"name":"StakingAddressUpdated","type":"event"},{"inputs":[],"name":"getOrakuruCoreAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOrkTokenAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakingAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddr","type":"address"}],"name":"setOrakuruCoreAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddr","type":"address"}],"name":"setStakingAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b506040516105c73803806105c783398101604081905261002f91610085565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060601b6001600160601b0319166080526100b3565b600060208284031215610096578081fd5b81516001600160a01b03811681146100ac578182fd5b9392505050565b60805160601c6104f76100d0600039600060f701526104f76000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100e4578063cc566de9146100f5578063d3cca9401461011b578063f2fde38b1461012e57600080fd5b80631d1e74801461008d57806337b1d6bc146100a2578063703d8997146100cb578063715018a6146100dc575b600080fd5b6100a061009b36600461045e565b610141565b005b6002546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b6001546001600160a01b03166100af565b6100a0610225565b6000546001600160a01b03166100af565b7f00000000000000000000000000000000000000000000000000000000000000006100af565b6100a061012936600461045e565b610299565b6100a061013c36600461045e565b610374565b6000546001600160a01b031633146101745760405162461bcd60e51b815260040161016b9061048c565b60405180910390fd5b6001600160a01b0381166101bc5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161016b565b600154604080516001600160a01b03928316815291831660208301527fdde629c245a46564f6dd6f97117cb7587dc4e9f19fd6bc608c453743e6185eb2910160405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461024f5760405162461bcd60e51b815260040161016b9061048c565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146102c35760405162461bcd60e51b815260040161016b9061048c565b6001600160a01b03811661030b5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161016b565b600254604080516001600160a01b03928316815291831660208301527f03fbfa1263b46c684780f3c24be11a2e189a59bedf0e316a7eae861cc769eb4f910160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461039e5760405162461bcd60e51b815260040161016b9061048c565b6001600160a01b0381166104035760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161016b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561046f578081fd5b81356001600160a01b0381168114610485578182fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220a638bc8d280552257a903cda5da1fc4f96e328bd03120b29fbee89e45995906064736f6c63430008040033000000000000000000000000cfcb7fa4fe14e3ecdd9b234f1e648da4281abd17

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000cfcb7fa4fe14e3ecdd9b234f1e648da4281abd17
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000cfcb7fa4fe14e3ecdd9b234f1e648da4281abd17


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading