ETH Price: $3,151.52 (+2.62%)
Gas: 6 Gwei

Contract

0x585a4f4e377BA553ed2631626eA203DfbFEe37a5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x60808060186390782023-11-24 4:06:23148 days ago1700798783IN
 Create: ReimbursementProposal
0 ETH0.0038699524.31625803

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ReimbursementProposal

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 2 : ReimbursementProposal.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract ReimbursementProposal {
    address public constant developerAddress = 0x9Ff3C1Bea9ffB56a78824FE29f457F066257DD58;
    IERC20 public constant TORN = IERC20(0x77777FeDdddFfC19Ff86DB637967013e6C6A116C);
    uint256 public constant reimbursementAmount = 6467 ether; // check scripts/calculateReimbursement.ts

    function executeProposal() public {
        TORN.transfer(developerAddress, reimbursementAmount);
    }
}

File 3 of 2 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

Settings
{
  "remappings": [
    "@ens/contracts/=node_modules/@ensdomains/ens-contracts/contracts/",
    "@ensdomains/=node_modules/@ensdomains/",
    "@forge-std/=lib/forge-std/src/",
    "@gnosis.pm/=node_modules/@gnosis.pm/",
    "@gnosis/contracts/=node_modules/@gnosis.pm/safe-contracts/contracts/",
    "@gnosis/ido-contracts/=node_modules/@gnosis.pm/ido-contracts/contracts/",
    "@interfaces/=src/interfaces/",
    "@openzeppelin/=node_modules/@openzeppelin/",
    "@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/",
    "@openzeppelin/upgrades/=node_modules/@openzeppelin/upgrades-core/",
    "@proprietary/=src/proprietary/",
    "@root/=src/",
    "@torn-token/=node_modules/torn-token/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": true,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"TORN","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executeProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reimbursementAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60808060405234610016576101ea908161001c8239f35b600080fdfe60806040818152600436101561001457600080fd5b600091823560e01c9081631916adfe146101905750806332bf103914610162578063373058b81461007f5763caccd7f71461004e57600080fd5b3461007b578160031936011261007b5760209051739ff3c1bea9ffb56a78824fe29f457f066257dd588152f35b5080fd5b503461007b578160031936011261007b57805163a9059cbb60e01b8152739ff3c1bea9ffb56a78824fe29f457f066257dd58600482015269015e93a75c5d932c0000602482015290602082604481867377777feddddffc19ff86db637967013e6c6a116c5af18015610158576100f3578280f35b6020903d8211610150575b601f8201601f191683019067ffffffffffffffff82118483101761013c575260209082018290031261007b5751801515036101395738808280f35b80fd5b634e487b7160e01b85526041600452602485fd5b3d91506100fe565b81513d85823e3d90fd5b503461007b578160031936011261007b57602090517377777feddddffc19ff86db637967013e6c6a116c8152f35b83903461007b578160031936011261007b578069015e93a75c5d932c000060209252f3fea2646970667358221220764c00a08b25a86258ddbf33d3d9b96171b340726429c936dea8031b3560e78564736f6c63430008140033

Deployed Bytecode

0x60806040818152600436101561001457600080fd5b600091823560e01c9081631916adfe146101905750806332bf103914610162578063373058b81461007f5763caccd7f71461004e57600080fd5b3461007b578160031936011261007b5760209051739ff3c1bea9ffb56a78824fe29f457f066257dd588152f35b5080fd5b503461007b578160031936011261007b57805163a9059cbb60e01b8152739ff3c1bea9ffb56a78824fe29f457f066257dd58600482015269015e93a75c5d932c0000602482015290602082604481867377777feddddffc19ff86db637967013e6c6a116c5af18015610158576100f3578280f35b6020903d8211610150575b601f8201601f191683019067ffffffffffffffff82118483101761013c575260209082018290031261007b5751801515036101395738808280f35b80fd5b634e487b7160e01b85526041600452602485fd5b3d91506100fe565b81513d85823e3d90fd5b503461007b578160031936011261007b57602090517377777feddddffc19ff86db637967013e6c6a116c8152f35b83903461007b578160031936011261007b578069015e93a75c5d932c000060209252f3fea2646970667358221220764c00a08b25a86258ddbf33d3d9b96171b340726429c936dea8031b3560e78564736f6c63430008140033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.