Skip to content
Verified contractPartial

Etheropoly

Address0xed2f35867a1afc19eeff7f0fbd7cd30c0c8c288a
Balance

0.661704 ETH

 

Transactions

1,345

 

Compiler

solc 0.4.21

 

Same code

Only this contract

 

Details

Compiler
solc 0.4.21+commit.dfe3193c
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
5,638,540
Creation transaction
0xba68fcb786…fef48cecad

Read21

  • dividendsOf(address) → (uint256)
  • name() → (string)
  • canAcceptTokens_(address) → (bool)
  • calculateTokensReceived(uint256) → (uint256)
  • totalSupply() → (uint256)
  • calculateEthereumReceived(uint256) → (uint256)
  • onlyAmbassadors() → (bool)
  • decimals() → (uint8)
  • etherToSendCharity() → (uint256)
  • sellPrice() → (uint256)
  • stakingRequirement() → (uint256)
  • myDividends(bool) → (uint256)
  • totalEthereumBalance() → (uint256)
  • balanceOf(address) → (uint256)
  • administrators(address) → (bool)
  • buyPrice() → (uint256)
  • totalEthCharityRecieved() → (uint256)
  • myTokens() → (uint256)
  • symbol() → (string)
  • giveEthCharityAddress() → (address)
  • totalEthCharityCollected() → (uint256)

Write14

  • setCanAcceptTokens(address,bool)
  • withdraw()
  • transferAndCall(address,uint256,bytes) → (bool)
  • payCharity()
  • setStakingRequirement(uint256)
  • setAdministrator(address,bool)
  • disableInitialStage()
  • transfer(address,uint256) → (bool)
  • setSymbol(string)
  • setName(string)
  • sell(uint256)
  • exit()
  • buy(address) → (uint256)
  • reinvest()

Events5

  • onTokenPurchase(address,uint256,uint256,address)
  • onTokenSell(address,uint256,uint256)
  • onReinvestment(address,uint256,uint256)
  • onWithdraw(address,uint256)
  • Transfer(address,address,uint256)

ABI as JSON

[
  {
    "name": "dividendsOf",
    "type": "function",
    "inputs": [
      {
        "name": "_customerAddress",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "name",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "canAcceptTokens_",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "calculateTokensReceived",
    "type": "function",
    "inputs": [
      {
        "name": "_ethereumToSpend",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "totalSupply",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "calculateEthereumReceived",
    "type": "function",
    "inputs": [
      {
        "name": "_tokensToSell",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "onlyAmbassadors",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "setCanAcceptTokens",
    "type": "function",
    "inputs": [
      {
        "name": "_address",
        "type": "address"
      },
      {
        "name": "_value",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "decimals",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "etherToSendCharity",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "withdraw",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "transferAndCall",
    "type": "function",
    "inputs": [
      {
        "name": "_to",
        "type": "address"
      },
      {
        "name": "_value",
        "type": "uint256"
      },
      {
        "name": "_data",
        "type": "bytes"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "payCharity",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "sellPrice",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "stakingRequirement",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "myDividends",
    "type": "function",
    "inputs": [
      {
        "name": "_includeReferralBonus",
        "type": "bool"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "totalEthereumBalance",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "balanceOf",
    "type": "function",
    "inputs": [
      {
        "name": "_customerAddress",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "administrators",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "setStakingRequirement",
    "type": "function",
    "inputs": [
      {
        "name": "_amountOfTokens",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "buyPrice",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "setAdministrator",
    "type": "function",
    "inputs": [
      {
        "name": "_identifier",
        "type": "address"
      },
      {
        "name": "_status",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "totalEthCharityRecieved",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "myTokens",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "symbol",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "disableInitialStage",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "transfer",
    "type": "function",
    "inputs": [
      {
        "name": "_toAddress",
        "type": "address"
      },
      {
        "name": "_amountOfTokens",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "giveEthCharityAddress",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "setSymbol",
    "type": "function",
    "inputs": [
      {
        "name": "_symbol",
        "type": "string"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "setName",
    "type": "function",
    "inputs": [
      {
        "name": "_name",
        "type": "string"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "totalEthCharityCollected",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "sell",
    "type": "function",
    "inputs": [
      {
        "name": "_amountOfTokens",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "exit",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "buy",
    "type": "function",
    "inputs": [
      {
        "name": "_referredBy",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "reinvest",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "constructor",
    "inputs": [],
    "payable": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "fallback",
    "payable": true,
    "stateMutability": "payable"
  },
  {
    "name": "onTokenPurchase",
    "type": "event",
    "inputs": [
      {
        "name": "customerAddress",
        "type": "address",
        "indexed": true
      },
      {
        "name": "incomingEthereum",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "tokensMinted",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "referredBy",
        "type": "address",
        "indexed": true
      }
    ],
    "anonymous": false
  },
  {
    "name": "onTokenSell",
    "type": "event",
    "inputs": [
      {
        "name": "customerAddress",
        "type": "address",
        "indexed": true
      },
      {
        "name": "tokensBurned",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "ethereumEarned",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "onReinvestment",
    "type": "event",
    "inputs": [
      {
        "name": "customerAddress",
        "type": "address",
        "indexed": true
      },
      {
        "name": "ethereumReinvested",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "tokensMinted",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "onWithdraw",
    "type": "event",
    "inputs": [
      {
        "name": "customerAddress",
        "type": "address",
        "indexed": true
      },
      {
        "name": "ethereumWithdrawn",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "Transfer",
    "type": "event",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "indexed": true
      },
      {
        "name": "to",
        "type": "address",
        "indexed": true
      },
      {
        "name": "tokens",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.