Contract 0x7f3584b047e3c23fC7fF1Fb2aC55130ac2162e20

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x86a75b7f963bbc2806e96e0e30fd8031972b000e3f2948fa18540661c00e3cd2Set Cr Token214431472021-11-16 15:54:2568 days 5 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.00163257535
0x98fd79206575f76cb9851761a94562495638cea2b73016a5f273ca68d6fad7c5Set Cr Token214396052021-11-16 13:41:0968 days 7 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.00181915539
0x74c763b4c3d21e32480865613170e79841c95d32fcdbf34f8574e05596379810Set A Token214395982021-11-16 13:40:5568 days 7 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.00163026535
0x4af961885caabfc2ce6e4ff7e3fd2562c5dcf0ba8fd0421ea405ad4613957a6aSet Cr Token168750532021-07-15 5:05:47192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000466450041.0000001
0x2999aa7e6b8462b3155b4f02317cecc8cc25381d8b7ae04c805357a5905d6942Set Cr Token168750492021-07-15 5:05:39192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000466450041.0000001
0xc96a1ad0f7bda5ccbfeefe7e34bfd10a407624670b4d28ffe49db113596fdb57Set Cr Token168750452021-07-15 5:05:31192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000466450041.0000001
0x3c7ed3fa0116c3444aad7815a0e18a57d60426d2bb8c94aff30b452adb62d683Set Cr Token168750412021-07-15 5:05:23192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000466450041.0000001
0x63b71740dd8b81a949672212fb3dc417362330c26014970d0f42a18dbc84e67eSet Cr Token168750372021-07-15 5:05:15192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000466450041.0000001
0xf04759edacc1c8706e4e08bd56f11e646c00dacea1d6088d9ff70aefb2c6bd0cSet Cr Token168750342021-07-15 5:05:09192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000466450041.0000001
0x6e1fafa30ba1d2f81189926a6c2a339a4c9d4767c608e3f70d366c544a264671Set A Token168750302021-07-15 5:05:01192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000465790041.0000001
0x862cba11de7aa836964ae12db65645a7b18fd01f92770dc71cf8550189562f93Set A Token168750272021-07-15 5:04:55192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000465790041.0000001
0xc1dc37ddbce11c337b45af4e5365dcf06f50b7616fdb7a0ae8f1eb3f1d0429c3Set A Token168750232021-07-15 5:04:47192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000465790041.0000001
0xe3cd5e022774b696bbaf9b60f5b20f1eec40f86d73f026c3a160ae2b4e155267Set A Token168750192021-07-15 5:04:39192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000465790041.0000001
0x26eee36075826618ca416af2cef2ce8add871001dd226935c8a33de7a5158a50Set A Token168750152021-07-15 5:04:31192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000465790041.0000001
0x442e2f07d31e97610b89d76f91b607ef1a122d87e6e38d234d1e03a8500005eaSet A Token168750122021-07-15 5:04:25192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  0x7f3584b047e3c23fc7ff1fb2ac55130ac2162e200 MATIC0.0000465790041.0000001
0x593869cb074fc06bc99fdff9fcbdee38046dad11e55474f6b9e99632ae3575d80x60806040168750082021-07-15 5:04:17192 days 16 hrs ago0xb0dd96118594903bacb2746eb228550c10b2b1da IN  Create: Memory0 MATIC0.0003459680341.0000001
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Memory

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 3 : 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 3 : 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 3 : Memory.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";

contract Memory is Ownable {
	mapping(address => address) aTokens;
	mapping(address => address) crTokens;
	mapping(uint256 => uint256) values;

	function getUint(uint256 id) external view returns (uint256) {
		return values[id];
	}

	function setUint(uint256 id, uint256 _value) external {
		values[id] = _value;
	}

	function getAToken(address asset) external view returns (address) {
		return aTokens[asset];
	}

	function setAToken(address asset, address _aToken) external onlyOwner {
		aTokens[asset] = _aToken;
	}

	function getCrToken(address asset) external view returns (address) {
		return crTokens[asset];
	}

	function setCrToken(address asset, address _crToken) external onlyOwner {
		crTokens[asset] = _crToken;
	}
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getAToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"}],"name":"getCrToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getUint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"asset","type":"address"},{"internalType":"address","name":"_aToken","type":"address"}],"name":"setAToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"address","name":"_crToken","type":"address"}],"name":"setCrToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setUint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506104d9806100616000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063a1e26f4b11610066578063a1e26f4b1461011c578063a9c70eaa1461012f578063b11489f41461015d578063d6fc887a14610189578063f2fde38b1461019c57600080fd5b806361e3c94414610098578063715018a6146100ba578063732a52ee146100c25780638da5cb5b1461010b575b600080fd5b6100b86100a636600461044d565b60009182526003602052604090912055565b005b6100b86101af565b6100ee6100d03660046103e2565b6001600160a01b039081166000908152600160205260409020541690565b6040516001600160a01b0390911681526020015b60405180910390f35b6000546001600160a01b03166100ee565b6100b861012a366004610403565b61022c565b61014f61013d366004610435565b60009081526003602052604090205490565b604051908152602001610102565b6100ee61016b3660046103e2565b6001600160a01b039081166000908152600260205260409020541690565b6100b8610197366004610403565b610284565b6100b86101aa3660046103e2565b6102dc565b6000546001600160a01b031633146101e25760405162461bcd60e51b81526004016101d99061046e565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146102565760405162461bcd60e51b81526004016101d99061046e565b6001600160a01b03918216600090815260016020526040902080546001600160a01b03191691909216179055565b6000546001600160a01b031633146102ae5760405162461bcd60e51b81526004016101d99061046e565b6001600160a01b03918216600090815260026020526040902080546001600160a01b03191691909216179055565b6000546001600160a01b031633146103065760405162461bcd60e51b81526004016101d99061046e565b6001600160a01b03811661036b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101d9565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b80356001600160a01b03811681146103dd57600080fd5b919050565b6000602082840312156103f3578081fd5b6103fc826103c6565b9392505050565b60008060408385031215610415578081fd5b61041e836103c6565b915061042c602084016103c6565b90509250929050565b600060208284031215610446578081fd5b5035919050565b6000806040838503121561045f578182fd5b50508035926020909101359150565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea264697066735822122075b62be54c3ec0394c0a385caeef0b6062aae927222f855eb7f800b78b16a75d64736f6c63430008040033

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.