Verified contractPartialMIT
FirstPresale
Address0xec035e0323afbbf65726a4e87dc8defbf13f2ba8
- Balance
0 ETH
- Transactions
33
- Compiler
solc 0.7.3
- Same code
Only this contract
Details
- Compiler
- solc 0.7.3+commit.9bfce1f6
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 13,571,631
- Creation transaction
- 0xa6bc7b0434…977408559e
- Libraries
- contracts/combat-dragons/presale-data/firstPresaleData.sol:PresaleData0x9bc8…70fe2a
Read6
- AMOUNT_PER_ADDRESS() → (uint256)
- PRICE() → (uint256)
- beginningOfSale() → (uint256)
- cDragons() → (address)
- mintedByAddress(address) → (uint256)
- owner() → (address)
Write5
- mintNFT(uint256)
- removeDustFunds()
- removeFunds()
- renounceOwnership()
- transferOwnership(address)
Events1
- OwnershipTransferred(address,address)
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_cDragons",
"type": "address",
"internalType": "address"
},
{
"name": "_beginningOfSale",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"name": "AMOUNT_PER_ADDRESS",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "PRICE",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "beginningOfSale",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "cDragons",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract ICombatDragons"
}
],
"stateMutability": "view"
},
{
"name": "mintNFT",
"type": "function",
"inputs": [
{
"name": "numberOfcDragonss",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "mintedByAddress",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "removeDustFunds",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "removeFunds",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "receive",
"stateMutability": "payable"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.