Verified contractPartial
GenericCrowdsale
Address0xcdf35c3fe4ccfacb3b1bbedfe71ca3a5ff6f2db1
- Balance
0 ETH
- Transactions
12
- Compiler
solc 0.4.18
- Same code
1 more contract
Details
- Compiler
- solc 0.4.18+commit.9cf6e910
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,278,428
- Creation transaction
- 0xf3069dcb3d…1da6944a22
- Main copy (most transactions)
- 0xfdcee7a3…67e865dd
Read22
- started() → (uint256)
- balances(address) → (uint256)
- ceilTokens(uint256) → (uint256)
- minPurchase() → (uint256)
- beneficiary() → (address)
- preIcoTokenPrice(uint256) → (uint8)
- icoTokenPrice(uint256) → (uint8)
- finishTime() → (uint256)
- devTokensHolder() → (address)
- tokenReward() → (address)
- advisorsTokensHolder() → (address)
- amountRaised() → (uint256)
- owner() → (address)
- price() → (uint256)
- successed() → (bool)
- discounts(uint256) → (uint256,uint256)
- tokenFallback(address,uint256,bytes)
- getDiscountOf(uint256) → (uint256)
- state() → (uint8)
- hardFundingGoal() → (uint256)
- newOwnerCandidate() → (address)
- softFundingGoal() → (uint256)
Write12
- preIco(uint256,uint256,uint256,uint256[],uint256[])
- ico(uint256,uint256,uint256,uint256,uint256[],uint256[])
- withdrawFunding()
- emergencyUnpause()
- emergencyPause()
- foreignPurchase(address,uint256)
- acceptOwnership()
- finishSale()
- sendAdvisorsTokens() → (address)
- claimRefund()
- sendDevTokens() → (address)
- transferOwnership(address)
Events7
- TokenPurchased(address,uint256,uint256,uint256)
- PreIcoLimitReached(uint256)
- SoftGoalReached(uint256)
- HardGoalReached(uint256)
- Debug(uint256)
- OwnershipRequested(address,address)
- OwnershipTransferred(address,address)
ABI as JSON
[
{
"name": "started",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "preIco",
"type": "function",
"inputs": [
{
"name": "hardFundingGoalInEthers",
"type": "uint256"
},
{
"name": "minPurchaseInFinney",
"type": "uint256"
},
{
"name": "costOfEachToken",
"type": "uint256"
},
{
"name": "discountEthers",
"type": "uint256[]"
},
{
"name": "discountValues",
"type": "uint256[]"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "balances",
"type": "function",
"inputs": [
{
"name": "",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "ceilTokens",
"type": "function",
"inputs": [
{
"name": "num",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "pure"
},
{
"name": "ico",
"type": "function",
"inputs": [
{
"name": "softFundingGoalInEthers",
"type": "uint256"
},
{
"name": "hardFundingGoalInEthers",
"type": "uint256"
},
{
"name": "minPurchaseInFinney",
"type": "uint256"
},
{
"name": "costOfEachToken",
"type": "uint256"
},
{
"name": "discountEthers",
"type": "uint256[]"
},
{
"name": "discountValues",
"type": "uint256[]"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "withdrawFunding",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "minPurchase",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "beneficiary",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "preIcoTokenPrice",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "icoTokenPrice",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "emergencyUnpause",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "emergencyPause",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "foreignPurchase",
"type": "function",
"inputs": [
{
"name": "user",
"type": "address"
},
{
"name": "amount",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "finishTime",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "devTokensHolder",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "tokenReward",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "advisorsTokensHolder",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "acceptOwnership",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "amountRaised",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "finishSale",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "sendAdvisorsTokens",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "price",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "successed",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "claimRefund",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "discounts",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "amount",
"type": "uint256"
},
{
"name": "value",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "tokenFallback",
"type": "function",
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
},
{
"name": "_data",
"type": "bytes"
}
],
"outputs": [],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "getDiscountOf",
"type": "function",
"inputs": [
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "state",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "sendDevTokens",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "hardFundingGoal",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "newOwnerCandidate",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "softFundingGoal",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transferOwnership",
"type": "function",
"inputs": [
{
"name": "_newOwnerCandidate",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"type": "constructor",
"inputs": [
{
"name": "ifSuccessfulSendTo",
"type": "address"
},
{
"name": "addressOfTokenUsedAsReward",
"type": "address"
}
],
"payable": false,
"stateMutability": "nonpayable"
},
{
"type": "fallback",
"payable": true,
"stateMutability": "payable"
},
{
"name": "TokenPurchased",
"type": "event",
"inputs": [
{
"name": "investor",
"type": "address",
"indexed": false
},
{
"name": "sum",
"type": "uint256",
"indexed": false
},
{
"name": "tokensCount",
"type": "uint256",
"indexed": false
},
{
"name": "discountTokens",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "PreIcoLimitReached",
"type": "event",
"inputs": [
{
"name": "totalAmountRaised",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "SoftGoalReached",
"type": "event",
"inputs": [
{
"name": "totalAmountRaised",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "HardGoalReached",
"type": "event",
"inputs": [
{
"name": "totalAmountRaised",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "Debug",
"type": "event",
"inputs": [
{
"name": "num",
"type": "uint256",
"indexed": false
}
],
"anonymous": false
},
{
"name": "OwnershipRequested",
"type": "event",
"inputs": [
{
"name": "_by",
"type": "address",
"indexed": true
},
{
"name": "_to",
"type": "address",
"indexed": true
}
],
"anonymous": false
},
{
"name": "OwnershipTransferred",
"type": "event",
"inputs": [
{
"name": "_from",
"type": "address",
"indexed": true
},
{
"name": "_to",
"type": "address",
"indexed": true
}
],
"anonymous": false
}
]Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.