Overview
FTM Balance
0 FTM
FTM Value
$0.00More Info
Private Name Tags
ContractCreator:
Sponsored
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
53028798 | 454 days ago | Contract Creation | 0 FTM |
Loading...
Loading
Minimal Proxy Contract for 0x7f6fda0114f3adaf5ac338eda2b5762b5973e445
Contract Name:
Minter
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *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 ) } } }
[{"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"}]
Loading...
Loading
Loading...
Loading
[ 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.