Skip to content
Verified contractPartial

Bitsale

Address0x0236a87c79ab2ae936be8d8384daf1080098e622
Balance

0 ETH

 

Transactions

8

 

Compiler

solc 0.4.15

 

Same code

1 more contract

 

Details

Compiler
solc 0.4.15+commit.8b45bddb
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
4,478,926
Creation transaction
0x3219877f35…df8f453ae0

Read14

  • name() → (string)
  • totalSupply() → (uint256)
  • difficulty() → (uint256)
  • decimals() → (uint8)
  • sellPrice() → (uint256)
  • currentChallenge() → (bytes32)
  • standard() → (string)
  • balanceOf(address) → (uint256)
  • timeOfLastProof() → (uint256)
  • buyPrice() → (uint256)
  • symbol() → (string)
  • frozenAccount(address) → (bool)
  • allowance(address,address) → (uint256)
  • admin() → (address)

Write11

  • setPrices(uint256,uint256)
  • approve(address,uint256) → (bool)
  • transferFrom(address,address,uint256) → (bool)
  • transferAdminship(address)
  • proofOfWork(uint256)
  • mintToken(address,uint256)
  • giveBlockreward()
  • buy()
  • transfer(address,uint256)
  • sell(uint256)
  • freezeAccount(address,bool)

Events2

  • FrozenFund(address,bool)
  • Transfer(address,address,uint256)

ABI as JSON

[
  {
    "name": "setPrices",
    "type": "function",
    "inputs": [
      {
        "name": "newSellPrice",
        "type": "uint256"
      },
      {
        "name": "newBuyPrice",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "name",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "approve",
    "type": "function",
    "inputs": [
      {
        "name": "_spender",
        "type": "address"
      },
      {
        "name": "_value",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "success",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false
  },
  {
    "name": "totalSupply",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "difficulty",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "transferFrom",
    "type": "function",
    "inputs": [
      {
        "name": "_from",
        "type": "address"
      },
      {
        "name": "_to",
        "type": "address"
      },
      {
        "name": "_value",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "success",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": false
  },
  {
    "name": "decimals",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint8"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "sellPrice",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "currentChallenge",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bytes32"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "standard",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "transferAdminship",
    "type": "function",
    "inputs": [
      {
        "name": "newAdmin",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "proofOfWork",
    "type": "function",
    "inputs": [
      {
        "name": "nonce",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "balanceOf",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "mintToken",
    "type": "function",
    "inputs": [
      {
        "name": "target",
        "type": "address"
      },
      {
        "name": "mintedAmount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "timeOfLastProof",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "buyPrice",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "giveBlockreward",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "symbol",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "buy",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": true,
    "constant": false
  },
  {
    "name": "transfer",
    "type": "function",
    "inputs": [
      {
        "name": "_to",
        "type": "address"
      },
      {
        "name": "_value",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "frozenAccount",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "allowance",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      },
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "sell",
    "type": "function",
    "inputs": [
      {
        "name": "amount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "freezeAccount",
    "type": "function",
    "inputs": [
      {
        "name": "target",
        "type": "address"
      },
      {
        "name": "freeze",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "admin",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "type": "constructor",
    "inputs": [],
    "payable": false
  },
  {
    "name": "FrozenFund",
    "type": "event",
    "inputs": [
      {
        "name": "target",
        "type": "address",
        "indexed": false
      },
      {
        "name": "frozen",
        "type": "bool",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "Transfer",
    "type": "event",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "indexed": true
      },
      {
        "name": "to",
        "type": "address",
        "indexed": true
      },
      {
        "name": "value",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.