Verified contractExactMIT
PeakOfTechnologyNFTICO
Address0x1faf71afc5f343a2b303aee467b60130f8020d2d
- Balance
0 ETH
- Transactions
1,144
- Compiler
solc 0.8.7
- Same code
Only this contract
Details
- Compiler
- solc 0.8.7+commit.e28d00a7
- Language
- solidity
- Optimization
- No
- EVM version
- london
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 13,733,679
- Creation transaction
- 0xc5035d5b7d…665116cadc
Read18
- cap() → (uint256)
- capReached() → (bool)
- closingTime() → (uint256)
- contributions(address) → (uint256)
- currentMinted() → (uint256)
- getUserContribution(address) → (uint256)
- hasClosed() → (bool)
- investorHardCap() → (uint256)
- isOpen() → (bool)
- minted() → (uint256)
- openingTime() → (uint256)
- owner() → (address)
- rate() → (uint256)
- secondaryTime() → (uint256)
- stage() → (uint8)
- token() → (address)
- wallet() → (address)
- weiRaised() → (uint256)
Write5
- buyNFT(address,uint256)
- extendTime(uint256)
- finalization()
- renounceOwnership()
- transferOwnership(address)
Events3
- OwnershipTransferred(address,address)
- TimedCrowdsaleExtended(uint256,uint256)
- TokensPurchased(address,address,uint256)
ABI as JSON
[
{
"type": "constructor",
"inputs": [
{
"name": "_wallet",
"type": "address",
"internalType": "address payable"
},
{
"name": "_token",
"type": "address",
"internalType": "contract IPeakOfTechnology"
},
{
"name": "_cap",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_openingTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_secondaryTime",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_closingTime",
"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": "TimedCrowdsaleExtended",
"type": "event",
"inputs": [
{
"name": "prevClosingTime",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "newClosingTime",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "TokensPurchased",
"type": "event",
"inputs": [
{
"name": "purchaser",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "beneficiary",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "mintAmount",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"name": "buyNFT",
"type": "function",
"inputs": [
{
"name": "beneficiary",
"type": "address",
"internalType": "address"
},
{
"name": "mintAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"name": "cap",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "capReached",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "closingTime",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "contributions",
"type": "function",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "currentMinted",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "extendTime",
"type": "function",
"inputs": [
{
"name": "closingTime",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "finalization",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "getUserContribution",
"type": "function",
"inputs": [
{
"name": "_beneficiary",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "hasClosed",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "investorHardCap",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "isOpen",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"name": "minted",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "openingTime",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"name": "rate",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "renounceOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "secondaryTime",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"name": "stage",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8",
"internalType": "enum PeakOfTechnologyNFTICO.CrowdsaleStage"
}
],
"stateMutability": "view"
},
{
"name": "token",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IPeakOfTechnology"
}
],
"stateMutability": "view"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"name": "wallet",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address payable"
}
],
"stateMutability": "view"
},
{
"name": "weiRaised",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.