Skip to content
Verified contractPartial

EtherCartel

Address0x0b84edecb764299ca228e75bbcadd6ebfee91d4e
Balance

0.000055 ETH

 

Transactions

13,191

 

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,635,971
Creation transaction
0xf642b40317…c33296f2ad

Read18

  • ceoAddress() → (address)
  • getBalance() → (uint256)
  • initialized() → (bool)
  • calculateDrugBuy(uint256,uint256) → (uint256)
  • calculateTrade(uint256,uint256,uint256) → (uint256)
  • calculateDrugBuySimple(uint256) → (uint256)
  • calculateDrugSell(uint256) → (uint256)
  • devFee(uint256) → (uint256)
  • STARTING_KILOS() → (uint256)
  • DRUGS_TO_PRODUCE_1KILO() → (uint256)
  • claimedDrugs(address) → (uint256)
  • marketDrugs() → (uint256)
  • lastCollect(address) → (uint256)
  • referrals(address) → (address)
  • getMyDrugs() → (uint256)
  • getMyKilo() → (uint256)
  • Kilos(address) → (uint256)
  • getDrugsSinceLastCollect(address) → (uint256)

Write6

  • getFreeKilo()
  • seedMarket(uint256)
  • DrugDealer()
  • collectDrugs(address)
  • buyDrugs()
  • sellDrugs()

ABI as JSON

[
  {
    "name": "ceoAddress",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "getBalance",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "initialized",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "calculateDrugBuy",
    "type": "function",
    "inputs": [
      {
        "name": "eth",
        "type": "uint256"
      },
      {
        "name": "contractBalance",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "getFreeKilo",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "calculateTrade",
    "type": "function",
    "inputs": [
      {
        "name": "rt",
        "type": "uint256"
      },
      {
        "name": "rs",
        "type": "uint256"
      },
      {
        "name": "bs",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "calculateDrugBuySimple",
    "type": "function",
    "inputs": [
      {
        "name": "eth",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "calculateDrugSell",
    "type": "function",
    "inputs": [
      {
        "name": "drugs",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "seedMarket",
    "type": "function",
    "inputs": [
      {
        "name": "drugs",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "devFee",
    "type": "function",
    "inputs": [
      {
        "name": "amount",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "STARTING_KILOS",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "DRUGS_TO_PRODUCE_1KILO",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "claimedDrugs",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "marketDrugs",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "DrugDealer",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "lastCollect",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "collectDrugs",
    "type": "function",
    "inputs": [
      {
        "name": "ref",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "referrals",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "buyDrugs",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "getMyDrugs",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "getMyKilo",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "Kilos",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "sellDrugs",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "getDrugsSinceLastCollect",
    "type": "function",
    "inputs": [
      {
        "name": "adr",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.