Contract 0x56439117379A53bE3CC2C55217251e2481B7a1C8

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x21f6d4805b6d386c3aef81be293d512f880069e9ea45f779a32492da0a1ddd3b0x60806040168168152021-09-10 11:49:24385 days 13 hrs ago0xac26f2e5144e2880fe35db6eae379c673dbeaaad IN  Create: InstaMemory0 FTM0.0371297
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x21f6d4805b6d386c3aef81be293d512f880069e9ea45f779a32492da0a1ddd3b168168152021-09-10 11:49:24385 days 13 hrs ago 0xac26f2e5144e2880fe35db6eae379c673dbeaaad  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InstaMemory

Compiler Version
v0.7.0+commit.9e61f92b

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : memory.sol
pragma solidity ^0.7.0;

/**
 * @title InstaMemory.
 * @dev Store Data For Cast Function.
 */

contract InstaMemory {

    // Memory Bytes (Smart Account Address => Storage ID => Bytes).
    mapping (address => mapping (uint => bytes32)) internal mbytes; // Use it to store execute data and delete in the same transaction
    // Memory Uint (Smart Account Address => Storage ID => Uint).
    mapping (address => mapping (uint => uint)) internal muint; // Use it to store execute data and delete in the same transaction
    // Memory Address (Smart Account Address => Storage ID => Address).
    mapping (address => mapping (uint => address)) internal maddr; // Use it to store execute data and delete in the same transaction

    /**
     * @dev Store Bytes.
     * @param _id Storage ID.
     * @param _byte bytes data to store.
    */
    function setBytes(uint _id, bytes32 _byte) public {
        mbytes[msg.sender][_id] = _byte;
    }

    /**
     * @dev Get Stored Bytes.
     * @param _id Storage ID.
    */
    function getBytes(uint _id) public returns (bytes32 _byte) {
        _byte = mbytes[msg.sender][_id];
        delete mbytes[msg.sender][_id];
    }

    /**
     * @dev Store Uint.
     * @param _id Storage ID.
     * @param _num uint data to store.
    */
    function setUint(uint _id, uint _num) public {
        muint[msg.sender][_id] = _num;
    }

    /**
     * @dev Get Stored Uint.
     * @param _id Storage ID.
    */
    function getUint(uint _id) public returns (uint _num) {
        _num = muint[msg.sender][_id];
        delete muint[msg.sender][_id];
    }

    /**
     * @dev Store Address.
     * @param _id Storage ID.
     * @param _addr Address data to store.
    */
    function setAddr(uint _id, address _addr) public {
        maddr[msg.sender][_id] = _addr;
    }

    /**
     * @dev Get Stored Address.
     * @param _id Storage ID.
    */
    function getAddr(uint _id) public returns (address _addr) {
        _addr = maddr[msg.sender][_id];
        delete maddr[msg.sender][_id];
    }

}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getAddr","outputs":[{"internalType":"address","name":"_addr","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getBytes","outputs":[{"internalType":"bytes32","name":"_byte","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getUint","outputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_addr","type":"address"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"bytes32","name":"_byte","type":"bytes32"}],"name":"setBytes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setUint","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506105c2806100206000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063455ded9e1461006757806357bc2ef31461009f57806361e3c944146100e1578063a9c70eaa14610119578063d81f84b71461015b578063eba36dbd146101b3575b600080fd5b61009d6004803603604081101561007d57600080fd5b810190808035906020019092919080359060200190929190505050610201565b005b6100cb600480360360208110156100b557600080fd5b8101908080359060200190929190505050610259565b6040518082815260200191505060405180910390f35b610117600480360360408110156100f757600080fd5b810190808035906020019092919080359060200190929190505050610305565b005b6101456004803603602081101561012f57600080fd5b810190808035906020019092919050505061035e565b6040518082815260200191505060405180910390f35b6101876004803603602081101561017157600080fd5b810190808035906020019092919050505061040c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101ff600480360360408110156101c957600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104f9565b005b806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020819055505050565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205490506000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009055919050565b80600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020819055505050565b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020549050600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009055919050565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055919050565b80600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505056fea26469706673582212204dd54f6b35f8771f63c5a0d2af1d85acdab729006864315a75938a3cb446061364736f6c63430007000033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.