FTM Price: $0.47 (+0.55%)
Gas: 52 GWei

Contract

0xd8321AA83Fb0a4ECd6348D4577431310A6E0814d
 

Multichain Info

Transaction Hash
Method
Block
From
To
Value
Approve765420422024-02-29 17:40:0918 mins ago1709228409IN
Geist Finance: GEIST Token
0 FTM0.0036344578.38626575
Approve765419602024-02-29 17:38:4920 mins ago1709228329IN
Geist Finance: GEIST Token
0 FTM0.0020444778.38626575
Transfer765256572024-02-29 12:46:515 hrs 12 mins ago1709210811IN
Geist Finance: GEIST Token
0 FTM0.00508396105.84538488
Approve765014872024-02-29 4:50:0413 hrs 8 mins ago1709182204IN
Geist Finance: GEIST Token
0 FTM0.00243196100.98684446
Approve765014702024-02-29 4:49:4213 hrs 9 mins ago1709182182IN
Geist Finance: GEIST Token
0 FTM0.00243313101.0355443
Approve764976932024-02-29 3:33:2914 hrs 25 mins ago1709177609IN
Geist Finance: GEIST Token
0 FTM0.00474521101.93808682
Approve764936302024-02-29 2:10:4115 hrs 48 mins ago1709172641IN
Geist Finance: GEIST Token
0 FTM0.0033968269.77293775
Approve764588712024-02-28 15:26:381 day 2 hrs ago1709133998IN
Geist Finance: GEIST Token
0 FTM0.0024916153.52551764
Transfer764502112024-02-28 10:50:591 day 7 hrs ago1709117459IN
Geist Finance: GEIST Token
0 FTM0.01251531395.34114059
Transfer764414552024-02-28 3:22:391 day 14 hrs ago1709090559IN
Geist Finance: GEIST Token
0 FTM0.0013592227.40429292
Transfer764391562024-02-28 1:19:211 day 16 hrs ago1709083161IN
Geist Finance: GEIST Token
0 FTM0.0007181524.04012967
Approve764204422024-02-27 13:51:102 days 4 hrs ago1709041870IN
Geist Finance: GEIST Token
0 FTM0.0032894770.6655013
Approve764120082024-02-27 11:00:052 days 6 hrs ago1709031605IN
Geist Finance: GEIST Token
0 FTM0.00568847102.23904978
Approve763879252024-02-27 2:30:252 days 15 hrs ago1709001025IN
Geist Finance: GEIST Token
0 FTM0.00244474101.51764356
Approve763842012024-02-27 1:27:402 days 16 hrs ago1708997260IN
Geist Finance: GEIST Token
0 FTM0.00501445103
Approve763825262024-02-27 0:55:362 days 17 hrs ago1708995336IN
Geist Finance: GEIST Token
0 FTM0.00260365102
Approve763625292024-02-26 18:00:292 days 23 hrs ago1708970429IN
Geist Finance: GEIST Token
0 FTM0.00331838130
Approve763624882024-02-26 17:59:492 days 23 hrs ago1708970389IN
Geist Finance: GEIST Token
0 FTM0.00331838130
Approve763616582024-02-26 17:42:163 days 16 mins ago1708969336IN
Geist Finance: GEIST Token
0 FTM0.00276598101
Approve763616062024-02-26 17:41:023 days 17 mins ago1708969262IN
Geist Finance: GEIST Token
0 FTM0.00257812101
Approve763441082024-02-26 11:26:233 days 6 hrs ago1708946783IN
Geist Finance: GEIST Token
0 FTM0.0027386100
Approve763439242024-02-26 11:22:503 days 6 hrs ago1708946570IN
Geist Finance: GEIST Token
0 FTM0.0025526100
Approve763409472024-02-26 10:22:523 days 7 hrs ago1708942972IN
Geist Finance: GEIST Token
0 FTM0.0024031699.79072994
Approve762814112024-02-25 14:27:114 days 3 hrs ago1708871231IN
Geist Finance: GEIST Token
0 FTM0.0022718189
Approve762800602024-02-25 14:03:274 days 3 hrs ago1708869807IN
Geist Finance: GEIST Token
0 FTM0.0017612969
View all transactions

Latest 1 internal transaction

Parent Txn Hash Block From To Value
184005152021-10-06 1:30:47876 days 16 hrs ago1633483847  Contract Creation0 FTM
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x708669...32814fE7
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
GeistToken

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at ftmscan.com on 2021-09-29
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;



// Part: IERC20

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
  /**
   * @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 `recipient`.
   *
   * Returns a boolean value indicating whether the operation succeeded.
   *
   * Emits a {Transfer} event.
   */
  function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
    address recipient,
    uint256 amount
  ) external returns (bool);

  /**
   * @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);
}

// Part: SafeMath

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
  /**
   * @dev Returns the addition of two unsigned integers, reverting on
   * overflow.
   *
   * Counterpart to Solidity's `+` operator.
   *
   * Requirements:
   * - Addition cannot overflow.
   */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a, 'SafeMath: addition overflow');

    return c;
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    return sub(a, b, 'SafeMath: subtraction overflow');
  }

  /**
   * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
   * overflow (when the result is negative).
   *
   * Counterpart to Solidity's `-` operator.
   *
   * Requirements:
   * - Subtraction cannot overflow.
   */
  function sub(
    uint256 a,
    uint256 b,
    string memory errorMessage
  ) internal pure returns (uint256) {
    require(b <= a, errorMessage);
    uint256 c = a - b;

    return c;
  }

  /**
   * @dev Returns the multiplication of two unsigned integers, reverting on
   * overflow.
   *
   * Counterpart to Solidity's `*` operator.
   *
   * Requirements:
   * - Multiplication cannot overflow.
   */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b, 'SafeMath: multiplication overflow');

    return c;
  }

  /**
   * @dev Returns the integer division of two unsigned integers. Reverts on
   * division by zero. The result is rounded towards zero.
   *
   * Counterpart to Solidity's `/` operator. Note: this function uses a
   * `revert` opcode (which leaves remaining gas untouched) while Solidity
   * uses an invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    return div(a, b, 'SafeMath: division by zero');
  }

  /**
   * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
   * division by zero. The result is rounded towards zero.
   *
   * Counterpart to Solidity's `/` operator. Note: this function uses a
   * `revert` opcode (which leaves remaining gas untouched) while Solidity
   * uses an invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function div(
    uint256 a,
    uint256 b,
    string memory errorMessage
  ) internal pure returns (uint256) {
    // Solidity only automatically asserts when dividing by 0
    require(b > 0, errorMessage);
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
   * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
   * Reverts when dividing by zero.
   *
   * Counterpart to Solidity's `%` operator. This function uses a `revert`
   * opcode (which leaves remaining gas untouched) while Solidity uses an
   * invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    return mod(a, b, 'SafeMath: modulo by zero');
  }

  /**
   * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
   * Reverts with custom message when dividing by zero.
   *
   * Counterpart to Solidity's `%` operator. This function uses a `revert`
   * opcode (which leaves remaining gas untouched) while Solidity uses an
   * invalid opcode to revert (consuming all remaining gas).
   *
   * Requirements:
   * - The divisor cannot be zero.
   */
  function mod(
    uint256 a,
    uint256 b,
    string memory errorMessage
  ) internal pure returns (uint256) {
    require(b != 0, errorMessage);
    return a % b;
  }
}

// File: GeistToken.sol

contract GeistToken is IERC20 {

    using SafeMath for uint256;

    string public constant symbol = "GEIST";
    string public constant name = "Geist.Finance Protocol Token";
    uint256 public constant decimals = 18;
    uint256 public override totalSupply;
    uint256 public immutable maxTotalSupply;
    address public minter;

    mapping(address => uint256) public override balanceOf;
    mapping(address => mapping(address => uint256)) public override allowance;

    constructor(uint256 _maxTotalSupply) {
        maxTotalSupply = _maxTotalSupply;
        emit Transfer(address(0), msg.sender, 0);
    }

    function setMinter(address _minter) external returns (bool) {
        require(minter == address(0));
        minter = _minter;
        return true;
    }

    function approve(address _spender, uint256 _value) external override returns (bool) {
        allowance[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }

    /** shared logic for transfer and transferFrom */
    function _transfer(address _from, address _to, uint256 _value) internal {
        require(balanceOf[_from] >= _value, "Insufficient balance");
        balanceOf[_from] = balanceOf[_from].sub(_value);
        balanceOf[_to] = balanceOf[_to].add(_value);
        emit Transfer(_from, _to, _value);
    }

    /**
        @notice Transfer tokens to a specified address
        @param _to The address to transfer to
        @param _value The amount to be transferred
        @return Success boolean
     */
    function transfer(address _to, uint256 _value) public override returns (bool) {
        _transfer(msg.sender, _to, _value);
        return true;
    }

    /**
        @notice Transfer tokens from one address to another
        @param _from The address which you want to send tokens from
        @param _to The address which you want to transfer to
        @param _value The amount of tokens to be transferred
        @return Success boolean
     */
    function transferFrom(
        address _from,
        address _to,
        uint256 _value
    )
        public
        override
        returns (bool)
    {
        uint256 allowed = allowance[_from][msg.sender];
        require(allowed >= _value, "Insufficient allowance");
        if (allowed != uint(-1)) {
            allowance[_from][msg.sender] = allowed.sub(_value);
        }
        _transfer(_from, _to, _value);
        return true;
    }

    function mint(address _to, uint256 _value) external returns (bool) {
        require(msg.sender == minter);
        balanceOf[_to] = balanceOf[_to].add(_value);
        totalSupply = totalSupply.add(_value);
        require(maxTotalSupply >= totalSupply);
        emit Transfer(address(0), _to, _value);
        return true;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063313ce5671161008c57806395d89b411161006657806395d89b4114610267578063a9059cbb1461026f578063dd62ed3e1461029b578063fca3b5aa146102c9576100cf565b8063313ce5671461020d57806340c10f191461021557806370a0823114610241576100cf565b806306fdde03146100d45780630754617214610151578063095ea7b31461017557806318160ddd146101b557806323b872dd146101cf5780632ab4d05214610205575b600080fd5b6100dc6102ef565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610159610328565b604080516001600160a01b039092168252519081900360200190f35b6101a16004803603604081101561018b57600080fd5b506001600160a01b038135169060200135610337565b604080519115158252519081900360200190f35b6101bd61039d565b60408051918252519081900360200190f35b6101a1600480360360608110156101e557600080fd5b506001600160a01b038135811691602081013590911690604001356103a3565b6101bd610463565b6101bd610487565b6101a16004803603604081101561022b57600080fd5b506001600160a01b03813516906020013561048c565b6101bd6004803603602081101561025757600080fd5b50356001600160a01b031661056b565b6100dc61057d565b6101a16004803603604081101561028557600080fd5b506001600160a01b03813516906020013561059e565b6101bd600480360360408110156102b157600080fd5b506001600160a01b03813581169160200135166105b4565b6101a1600480360360208110156102df57600080fd5b50356001600160a01b03166105d1565b6040518060400160405280601c81526020017f47656973742e46696e616e63652050726f746f636f6c20546f6b656e0000000081525081565b6001546001600160a01b031681565b3360008181526003602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60005481565b6001600160a01b038316600090815260036020908152604080832033845290915281205482811015610415576040805162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b604482015290519081900360640190fd5b600019811461044d57610428818461060d565b6001600160a01b03861660009081526003602090815260408083203384529091529020555b610458858585610656565b506001949350505050565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000081565b601281565b6001546000906001600160a01b031633146104a657600080fd5b6001600160a01b0383166000908152600260205260409020546104c99083610768565b6001600160a01b038416600090815260026020526040812091909155546104f09083610768565b60008190557f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000101561052157600080fd5b6040805183815290516001600160a01b038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a350600192915050565b60026020526000908152604090205481565b6040518060400160405280600581526020016411d15254d560da1b81525081565b60006105ab338484610656565b50600192915050565b600360209081526000928352604080842090915290825290205481565b6001546000906001600160a01b0316156105ea57600080fd5b50600180546001600160a01b0383166001600160a01b0319909116178155919050565b600061064f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506107c2565b9392505050565b6001600160a01b0383166000908152600260205260409020548111156106ba576040805162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b6001600160a01b0383166000908152600260205260409020546106dd908261060d565b6001600160a01b03808516600090815260026020526040808220939093559084168152205461070c9082610768565b6001600160a01b0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561064f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081848411156108515760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156108165781810151838201526020016107fe565b50505050905090810190601f1680156108435780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fea2646970667358221220fcfb75e0c86323f2a0d26fe8910ffee252362b1c8a9ad4be0572a404db6efed264736f6c63430007060033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Geist Finance is a decentralized, non-custodial liquidity market protocol operating on the Fantom Opera blockchain.

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.