Skip to content
Verified contractExact

Hashmint

Address0xfc4d3a5b6a58732ef6c7a45c53fe5bb88ea2719b
Balance

0 ETH

 

Transactions

4

 

Compiler

solc 0.7.0

 

Same code

Only this contract

 

Details

Compiler
solc 0.7.0+commit.9e61f92b
Language
solidity
Optimization
No
EVM version
istanbul
License
Not stated
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
12,250,772
Creation transaction
0xa2757dde0b…b6eee5d492

Hashmint.sol

pragma solidity 0.7.0;

// import "./Hashcards/HC.sol";

interface Hashcards {
    function mintCardDelegate(uint256 _noOfCards, address _receiver) external;
}

contract Hashmint {
    Hashcards public hashcard;
    address owner;
    
    constructor(Hashcards _hashcard) {
        hashcard = _hashcard;
        owner = msg.sender;
    }
    
    function getHashcards(uint256[] memory _nfts, address[] memory _recipients) external {
        require(_nfts.length == _recipients.length, "!length");
        require(msg.sender == owner);
        
        for(uint256 i = 0; i < _nfts.length; i++) {
            hashcard.mintCardDelegate(_nfts[i], _recipients[i]);
        }
    }
}
Compiler settingsShow
{
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "evmVersion": "istanbul",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.