Skip to content
Verified contractPartial

PresalePool

Address0xc52dfd2f0ee9bf433e6cddebefebae0627341c6c
Balance

0 ETH

 

Transactions

159

 

Compiler

solc 0.4.19

 

Same code

4 more contracts

 

Details

Compiler
solc 0.4.19+commit.c4cbbb05
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
5,748,038
Creation transaction
0x10865f45bb…53c3b7f955
Main copy (most transactions)
0x35ed4c6c…012fe57e

Read16

  • checkPoolBalance() → (uint256,uint256,uint256)
  • contractStage() → (uint8)
  • receiverAddress() → (address)
  • finalBalance() → (uint256)
  • nextContributionCap() → (uint256)
  • maxGasPrice() → (uint256)
  • ethRefundAmount(uint256) → (uint256)
  • checkAvailableTokens(address,address) → (uint256)
  • addressChangeBlock() → (uint256)
  • whitelistContract() → (address)
  • activeToken() → (address)
  • owner() → (address)
  • feePct() → (uint256)
  • checkContributorBalance(address) → (uint256,uint256,uint256)
  • contributionMin() → (uint256)
  • nextCapTime() → (uint256)

Write11

  • modifyNextCap(uint256,uint256)
  • submitPool(uint256)
  • enableTokenWithdrawals(address,bool)
  • withdraw(address)
  • modifyCap(uint256)
  • toggleWhitelist(bool)
  • setReceiverAddress(address)
  • modifyMaxContractBalance(uint256)
  • withdrawFor(address,address)
  • modifyIndividualCap(address,uint256)
  • tokenFallback(address,uint256,bytes)

Events8

  • ContributorBalanceChanged(address,uint256)
  • ReceiverAddressSet(address)
  • PoolSubmitted(address,uint256)
  • WithdrawalsOpen(address)
  • TokensWithdrawn(address,address,uint256)
  • EthRefundReceived(address,uint256)
  • EthRefunded(address,uint256)
  • ERC223Received(address,uint256)

ABI as JSON

[
  {
    "name": "checkPoolBalance",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "poolCap",
        "type": "uint256"
      },
      {
        "name": "balance",
        "type": "uint256"
      },
      {
        "name": "remaining",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "contractStage",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "receiverAddress",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "finalBalance",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "nextContributionCap",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "modifyNextCap",
    "type": "function",
    "inputs": [
      {
        "name": "time",
        "type": "uint256"
      },
      {
        "name": "cap",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "submitPool",
    "type": "function",
    "inputs": [
      {
        "name": "amountInWei",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "maxGasPrice",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "enableTokenWithdrawals",
    "type": "function",
    "inputs": [
      {
        "name": "tokenAddr",
        "type": "address"
      },
      {
        "name": "notDefault",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "withdraw",
    "type": "function",
    "inputs": [
      {
        "name": "tokenAddr",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "ethRefundAmount",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "checkAvailableTokens",
    "type": "function",
    "inputs": [
      {
        "name": "addr",
        "type": "address"
      },
      {
        "name": "tokenAddr",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "tokenAmount",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "addressChangeBlock",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "modifyCap",
    "type": "function",
    "inputs": [
      {
        "name": "cap",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "toggleWhitelist",
    "type": "function",
    "inputs": [
      {
        "name": "active",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "setReceiverAddress",
    "type": "function",
    "inputs": [
      {
        "name": "addr",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "whitelistContract",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "activeToken",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "feePct",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "modifyMaxContractBalance",
    "type": "function",
    "inputs": [
      {
        "name": "amount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "withdrawFor",
    "type": "function",
    "inputs": [
      {
        "name": "contributor",
        "type": "address"
      },
      {
        "name": "tokenAddr",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "checkContributorBalance",
    "type": "function",
    "inputs": [
      {
        "name": "addr",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "balance",
        "type": "uint256"
      },
      {
        "name": "cap",
        "type": "uint256"
      },
      {
        "name": "remaining",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "contributionMin",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "modifyIndividualCap",
    "type": "function",
    "inputs": [
      {
        "name": "addr",
        "type": "address"
      },
      {
        "name": "cap",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "tokenFallback",
    "type": "function",
    "inputs": [
      {
        "name": "from",
        "type": "address"
      },
      {
        "name": "value",
        "type": "uint256"
      },
      {
        "name": "data",
        "type": "bytes"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "nextCapTime",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "receiverAddr",
        "type": "address"
      },
      {
        "name": "contractCap",
        "type": "uint256"
      },
      {
        "name": "cap",
        "type": "uint256"
      },
      {
        "name": "fee",
        "type": "uint256"
      }
    ],
    "payable": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "fallback",
    "payable": true,
    "stateMutability": "payable"
  },
  {
    "name": "ContributorBalanceChanged",
    "type": "event",
    "inputs": [
      {
        "name": "contributor",
        "type": "address",
        "indexed": false
      },
      {
        "name": "totalBalance",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "ReceiverAddressSet",
    "type": "event",
    "inputs": [
      {
        "name": "_addr",
        "type": "address",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "PoolSubmitted",
    "type": "event",
    "inputs": [
      {
        "name": "receiver",
        "type": "address",
        "indexed": false
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "WithdrawalsOpen",
    "type": "event",
    "inputs": [
      {
        "name": "tokenAddr",
        "type": "address",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "TokensWithdrawn",
    "type": "event",
    "inputs": [
      {
        "name": "receiver",
        "type": "address",
        "indexed": false
      },
      {
        "name": "token",
        "type": "address",
        "indexed": false
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "EthRefundReceived",
    "type": "event",
    "inputs": [
      {
        "name": "sender",
        "type": "address",
        "indexed": false
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "EthRefunded",
    "type": "event",
    "inputs": [
      {
        "name": "receiver",
        "type": "address",
        "indexed": false
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "ERC223Received",
    "type": "event",
    "inputs": [
      {
        "name": "token",
        "type": "address",
        "indexed": false
      },
      {
        "name": "value",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.