Skip to content
Verified contractPartial

RC

Address0x35159cd955e22cffd8fe45b8bbced5b4ebe0ea78
Balance

0 ETH

 

Transactions

79

 

Compiler

solc 0.4.22

 

Same code

1 more contract

 

Details

Compiler
solc 0.4.22+commit.4cb486ee
Language
solidity
Optimization
Yes, 200 runs
EVM version
byzantium
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
5,462,172
Creation transaction
0xac2c014789…dae8c5622f

Read18

  • userBalance(address) → (uint256,uint256,uint256)
  • isKycSigner(address) → (bool)
  • ended() → (bool)
  • started() → (bool)
  • endTime() → (uint256)
  • pendingTokenUser(address) → (uint256)
  • soldTokens() → (uint256)
  • etherMinimum() → (uint256)
  • startTime() → (uint256)
  • totalTokens() → (uint256)
  • etherUser(address) → (uint256)
  • alreadyPayed(uint64) → (uint256)
  • price() → (uint256)
  • tokenThreshold(uint256) → (uint256)
  • bonusThreshold(uint256) → (uint256)
  • remainingTokens() → (uint256)
  • oneTokenInUsdWei() → (uint256)
  • tokenUser(address) → (uint256)

Write6

  • refundEther(address)
  • changeMinimum(uint256)
  • setTime(uint256,uint256)
  • buyTokensFor(address,uint64,uint256,uint8,bytes32,bytes32) → (bool)
  • buyTokens(uint64,uint256,uint8,bytes32,bytes32) → (bool)
  • withdraw(address,uint256)

Events2

  • Buy(address,uint256,uint256,uint256)
  • KycVerified(address,address,uint64,uint256)

ABI as JSON

[
  {
    "name": "userBalance",
    "type": "function",
    "inputs": [
      {
        "name": "_user",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "_pendingTokenUser",
        "type": "uint256"
      },
      {
        "name": "_tokenUser",
        "type": "uint256"
      },
      {
        "name": "_etherUser",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "isKycSigner",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "ended",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "started",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "refundEther",
    "type": "function",
    "inputs": [
      {
        "name": "to",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "changeMinimum",
    "type": "function",
    "inputs": [
      {
        "name": "_newEtherMinimum",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "endTime",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "pendingTokenUser",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "soldTokens",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "etherMinimum",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "startTime",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "totalTokens",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "etherUser",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "alreadyPayed",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint64"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "setTime",
    "type": "function",
    "inputs": [
      {
        "name": "_newStart",
        "type": "uint256"
      },
      {
        "name": "_newEnd",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "name": "price",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "tokenThreshold",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "buyTokensFor",
    "type": "function",
    "inputs": [
      {
        "name": "buyerAddress",
        "type": "address"
      },
      {
        "name": "buyerId",
        "type": "uint64"
      },
      {
        "name": "maxAmount",
        "type": "uint256"
      },
      {
        "name": "v",
        "type": "uint8"
      },
      {
        "name": "r",
        "type": "bytes32"
      },
      {
        "name": "s",
        "type": "bytes32"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "bonusThreshold",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "remainingTokens",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "oneTokenInUsdWei",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "tokenUser",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true,
    "stateMutability": "view"
  },
  {
    "name": "buyTokens",
    "type": "function",
    "inputs": [
      {
        "name": "buyerId",
        "type": "uint64"
      },
      {
        "name": "maxAmount",
        "type": "uint256"
      },
      {
        "name": "v",
        "type": "uint8"
      },
      {
        "name": "r",
        "type": "bytes32"
      },
      {
        "name": "s",
        "type": "bytes32"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool"
      }
    ],
    "payable": true,
    "constant": false,
    "stateMutability": "payable"
  },
  {
    "name": "withdraw",
    "type": "function",
    "inputs": [
      {
        "name": "to",
        "type": "address"
      },
      {
        "name": "value",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_tokenSaleContract",
        "type": "address"
      },
      {
        "name": "_oneTokenInUsdWei",
        "type": "uint256"
      },
      {
        "name": "_remainingTokens",
        "type": "uint256"
      },
      {
        "name": "_etherMinimum",
        "type": "uint256"
      },
      {
        "name": "_startTime",
        "type": "uint256"
      },
      {
        "name": "_endTime",
        "type": "uint256"
      },
      {
        "name": "kycSigner",
        "type": "address[]"
      },
      {
        "name": "_tokenThreshold",
        "type": "uint256[]"
      },
      {
        "name": "_bonusThreshold",
        "type": "uint256[]"
      }
    ],
    "payable": false,
    "stateMutability": "nonpayable"
  },
  {
    "type": "fallback",
    "payable": true,
    "stateMutability": "payable"
  },
  {
    "name": "Buy",
    "type": "event",
    "inputs": [
      {
        "name": "buyer",
        "type": "address",
        "indexed": false
      },
      {
        "name": "value",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "soldToken",
        "type": "uint256",
        "indexed": false
      },
      {
        "name": "valueTokenInUsdWei",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  },
  {
    "name": "KycVerified",
    "type": "event",
    "inputs": [
      {
        "name": "signer",
        "type": "address",
        "indexed": true
      },
      {
        "name": "buyerAddress",
        "type": "address",
        "indexed": false
      },
      {
        "name": "buyerId",
        "type": "uint64",
        "indexed": false
      },
      {
        "name": "maxAmount",
        "type": "uint256",
        "indexed": false
      }
    ],
    "anonymous": false
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.