Verified contractPartial
PlayerToken
Address0x3f4c4e3fc8d607ccb1f20b18fa07623cda3df41a
- Balance
0.001 ETH
- Transactions
12
- Compiler
solc 0.4.24
- Same code
73 more contracts
Details
- Compiler
- solc 0.4.24+commit.e67f0147
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,776,899
- Creation transaction
- 0x7f8d050471…0fc924d5df
- Main copy (most transactions)
- 0xab85a9c2…3f7cc2da
Read24
- calculateTokenSellPrice(uint256) → (uint256,uint256,uint256)
- name() → (string)
- calculateTokenBuyPrice(uint256) → (uint256,uint256,uint256,uint256,uint256)
- totalSupply() → (uint256)
- buySellPrices() → (uint256,uint256)
- calculateTokenOnlyBuyPrice(uint256) → (uint256)
- decimals() → (uint8)
- initialTokenPrice_() → (uint256)
- portfolioSummary(address) → (uint256,int256,uint256)
- tokenHoldersByIndex() → (address[],uint256[])
- incrementalTokenPrice_() → (uint256)
- totalCost(address) → (int256)
- paused() → (bool)
- balanceOf(address) → (uint256)
- exchangeContract_() → (address)
- owner() → (address)
- tokenHolders(uint256) → (address)
- symbol() → (string)
- addressToTokenHolderIndex(address) → (uint256)
- totalTokenHolders() → (uint256)
- originalOwner_() → (address)
- calculateTokenOnlySellPrice(uint256) → (uint256)
- allowance(address,address) → (uint256)
- playerId_() → (uint256)
Write14
- approve(address,uint256) → (bool)
- setBuyDividendPercentageFee(uint8)
- sellTokens(uint8)
- setOwner(address)
- setExchangeContractAddress(address)
- transferFrom(address,address,uint256) → (bool)
- unpause()
- buyTokens(uint8,address)
- pause()
- setOriginalOwner(uint256,address)
- transfer(address,uint256) → (bool)
- setSellDividendPercentageFee(uint8)
- setPlayerId(uint256)
- setBCFContractAddress(address)
Events4
- PlayerTokenBuy(address,address,uint256,uint256,string)
- PlayerTokenSell(address,uint256,uint256,string)
- Transfer(address,address,uint256)
- Approval(address,address,uint256)
ABI as JSON
[
{
"name": "calculateTokenSellPrice",
"type": "function",
"inputs": [
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "_totalSellerProceeds",
"type": "uint256"
},
{
"name": "_processingFee",
"type": "uint256"
},
{
"name": "_dividendPoolFee",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "name",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "calculateTokenBuyPrice",
"type": "function",
"inputs": [
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "_totalCost",
"type": "uint256"
},
{
"name": "_processingFee",
"type": "uint256"
},
{
"name": "_originalOwnerFee",
"type": "uint256"
},
{
"name": "_dividendPoolFee",
"type": "uint256"
},
{
"name": "_referrerFee",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "approve",
"type": "function",
"inputs": [
{
"name": "_spender",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setBuyDividendPercentageFee",
"type": "function",
"inputs": [
{
"name": "_dividendPoolFee",
"type": "uint8"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "sellTokens",
"type": "function",
"inputs": [
{
"name": "_amount",
"type": "uint8"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setOwner",
"type": "function",
"inputs": [
{
"name": "newOwner",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "totalSupply",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "setExchangeContractAddress",
"type": "function",
"inputs": [
{
"name": "_exchangeContract",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "transferFrom",
"type": "function",
"inputs": [
{
"name": "_from",
"type": "address"
},
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "buySellPrices",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "_buyPrice",
"type": "uint256"
},
{
"name": "_sellPrice",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "calculateTokenOnlyBuyPrice",
"type": "function",
"inputs": [
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "decimals",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint8"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "initialTokenPrice_",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "portfolioSummary",
"type": "function",
"inputs": [
{
"name": "_address",
"type": "address"
}
],
"outputs": [
{
"name": "_tokenBalance",
"type": "uint256"
},
{
"name": "_cost",
"type": "int256"
},
{
"name": "_value",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "unpause",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "tokenHoldersByIndex",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "_addresses",
"type": "address[]"
},
{
"name": "_shares",
"type": "uint256[]"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "incrementalTokenPrice_",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "buyTokens",
"type": "function",
"inputs": [
{
"name": "_amount",
"type": "uint8"
},
{
"name": "_referredBy",
"type": "address"
}
],
"outputs": [],
"payable": true,
"constant": false,
"stateMutability": "payable"
},
{
"name": "totalCost",
"type": "function",
"inputs": [
{
"name": "",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "int256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "paused",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "balanceOf",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "exchangeContract_",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "pause",
"type": "function",
"inputs": [],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "owner",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "tokenHolders",
"type": "function",
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "symbol",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "setOriginalOwner",
"type": "function",
"inputs": [
{
"name": "_playerCardId",
"type": "uint256"
},
{
"name": "_address",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "addressToTokenHolderIndex",
"type": "function",
"inputs": [
{
"name": "",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "transfer",
"type": "function",
"inputs": [
{
"name": "_to",
"type": "address"
},
{
"name": "_value",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bool"
}
],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "totalTokenHolders",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "setSellDividendPercentageFee",
"type": "function",
"inputs": [
{
"name": "_dividendPoolFee",
"type": "uint8"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "originalOwner_",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "calculateTokenOnlySellPrice",
"type": "function",
"inputs": [
{
"name": "_amount",
"type": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "allowance",
"type": "function",
"inputs": [
{
"name": "_owner",
"type": "address"
},
{
"name": "_spender",
"type": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"name": "setPlayerId",
"type": "function",
"inputs": [
{
"name": "_playerId",
"type": "uint256"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "setBCFContractAddress",
"type": "function",
"inputs": [
{
"name": "_address",
"type": "address"
}
],
"outputs": [],
"payable": false,
"constant": false,
"stateMutability": "nonpayable"
},
{
"name": "playerId_",
"type": "function",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"constant": true,
"stateMutability": "view"
},
{
"type": "constructor",
"inputs": [
{
"name": "_name",
"type": "string"
},
{
"name": "_symbol",
"type": "string"
},
{
"name": "_startPrice",
"type": "uint256"
},
{
"name": "_incrementalPrice",
"type": "uint256"
},
{
"name": "_owner",
"type": "address"
},
{
"name": "_exchangeContract",
"type": "address"
},
{
"name": "_playerId",
"type": "uint256"
},
{
"name": "_promoSharesQuantity",
"type": "uint8"
}
],
"payable": true,
"stateMutability": "payable"
},
{
"name": "PlayerTokenBuy",
"type": "event",
"inputs": [
{
"name": "buyer",
"type": "address",
"indexed": true
},
{
"name": "referrer",
"type": "address",
"indexed": true
},
{
"name": "tokens",
"type": "uint256",
"indexed": false
},
{
"name": "cost",
"type": "uint256",
"indexed": false
},
{
"name": "symbol",
"type": "string",
"indexed": false
}
],
"anonymous": false
},
{
"name": "PlayerTokenSell",
"type": "event",
"inputs": [
{
"name": "seller",
"type": "address",
"indexed": true
},
{
"name": "tokens",
"type": "uint256",
"indexed": false
},
{
"name": "value",
"type": "uint256",
"indexed": false
},
{
"name": "symbol",
"type": "string",
"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
},
{
"name": "Approval",
"type": "event",
"inputs": [
{
"name": "tokenOwner",
"type": "address",
"indexed": true
},
{
"name": "spender",
"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.