FTM Price: $1.01 (+0.52%)
Gas: 111 GWei

Contract

0x3778A6903cd0D35B6D82e3d10cc677A5D2332a2D
 

Overview

FTM Balance

Fantom LogoFantom LogoFantom Logo0 FTM

FTM Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value

There are no matching entries

Please try again later

Latest 1 internal transaction

Parent Txn Hash Block From To Value
631556452023-05-27 3:48:21306 days ago1685159301  Contract Creation0 FTM
Loading...
Loading

Minimal Proxy Contract for 0x7f6fda0114f3adaf5ac338eda2b5762b5973e445

Contract Name:
Minter

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at ftmscan.com on 2022-11-28
*/

// Sources flattened with hardhat v2.12.2 https://hardhat.org

// File contracts/protocols/Minter.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

contract Minter {
    address public immutable factory;
    address public immutable xen;

    constructor(address _xen, address _factory) {
        xen = _xen;
        factory = _factory;
    }

    /**
     * @notice Call XEN contract directly
     * @dev This function can only be called by factory contract
     * @param data The calldata passed in when call XEN contract
     */
    function callXEN(bytes memory data) external {
        require(msg.sender == factory, "invalid caller");
        address xenAddress = xen;
        assembly {
            let succeeded := call(
                gas(),
                xenAddress,
                0,
                add(data, 0x20),
                mload(data),
                0,
                0
            )
        }
    }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_xen","type":"address"},{"internalType":"address","name":"_factory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"callXEN","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xen","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

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

Txn 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.