Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
2,499,054.3791671875 PSI
Holders
17
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PSI
Compiler Version
v0.8.3+commit.8d00100c
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.3; import "./QuadraticBondingCurve.sol"; contract PSI is QuadraticBondingCurve { address public DEEP_GEMS_CONTRACT; constructor() QuadraticBondingCurve("PSI", "PSI", 5e15, // Curve scaling factor 2500000 * 1e18 // Total supply: 2,500,000 tokens ) {} function initialize(address deepGemsContract) public { require(DEEP_GEMS_CONTRACT == address(0), "already initialized"); DEEP_GEMS_CONTRACT = deepGemsContract; } // This calls the internal transfer function, bypassing the allowance // check when transferring psi to the deep gems contract. // It can only be called by the deep gems contract. function transferToDeepGems(address sender, uint256 amount) public { require( msg.sender == DEEP_GEMS_CONTRACT, "transferToDeepGems can only be called by the deep gems contract" ); _transfer(sender, DEEP_GEMS_CONTRACT, amount); } }
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.3; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; // import "hardhat/console.sol"; // Uses quadratic bonding curve integral formula from // https://blog.relevant.community/how-to-make-bonding-curves-for-continuous-token-models-3784653f8b17 abstract contract QuadraticBondingCurve is ERC20Burnable { constructor( string memory name, string memory symbol, uint256 scaling, uint256 supplyCap ) ERC20(name, symbol) { SCALING = scaling; SUPPLY_CAP = supplyCap; // Mint total supply to the contract's own address. // The bonding curve sells tokens out of this pool, instead of increasing token // supply by minting as most bonding curves do. This makes no difference to price, // but it means the total supply on sites such as Etherscan reflect the true total supply. _mint(address(this), supplyCap); } uint256 public SUPPLY_CAP; uint256 public SCALING; function safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, "ETH transfer failed"); } function quoteBuyRaw(uint256 tokensToBuy, uint256 currentTokensBought) public view returns (uint256) { uint256 newTokensBought = currentTokensBought + tokensToBuy; // How much is the pool's ether balance uint256 currentPoolBalance = (currentTokensBought * currentTokensBought * currentTokensBought) / 3; // How much the pool's ether balance will be after buying uint256 newPoolBalance = (newTokensBought * newTokensBought * newTokensBought) / 3; // How much it costs to buy tokensToBuy from the bonding curve uint256 numEther = newPoolBalance - currentPoolBalance; // Scale by 1e18^2 (ether precision) to cancel out exponentiation // Scales the number by a constant to get to the level we want // We add one wei to absorb rounding error return ((numEther / (1e18 * 1e18)) / SCALING) + 1; } // This function gives us the total number of tokens that are not // owned by the contract function totalBought() public view returns (uint256) { return SUPPLY_CAP - balanceOf(address(this)); } function quoteBuy(uint256 tokensToBuy) public view returns (uint256) { return quoteBuyRaw(tokensToBuy, totalBought()); } function buy(uint256 tokensToBuy) public payable { // CHECKS uint256 currentTokensBought = totalBought(); require( currentTokensBought + tokensToBuy <= SUPPLY_CAP, "Supply cap exceeded, no more tokens can be bought from the curve." ); uint256 numEther = quoteBuyRaw(tokensToBuy, currentTokensBought); require(numEther <= msg.value, "Did not send enough Ether"); // ACTIONS // Give bought tokens to buyer _transfer(address(this), msg.sender, tokensToBuy); // Send dust back to caller safeTransferETH(msg.sender, msg.value - numEther); } function quoteSellRaw(uint256 tokensToSell, uint256 currentTokensBought) public view returns (uint256) { uint256 newTokensBought = currentTokensBought - tokensToSell; // How much the pool's ether balance uint256 currentPoolBalance = (currentTokensBought * currentTokensBought * currentTokensBought) / 3; // How much the pool's ether balance will be after uint256 newPoolBalance = (newTokensBought * newTokensBought * newTokensBought) / 3; // How much you get when you sell tokensToSell to the bonding curve uint256 numEther = currentPoolBalance - newPoolBalance; // Scale by 1e18^2 (ether precision) to cancel out exponentiation // Scales the number by a constant to get to the level we want return ((numEther / (1e18 * 1e18)) / SCALING); } function quoteSell(uint256 tokensToSell) public view returns (uint256) { return quoteSellRaw(tokensToSell, totalBought()); } function sell(uint256 tokensToSell, uint256 minEther) public payable { // CHECKS uint256 numEther = quoteSell(tokensToSell); require( numEther >= minEther, "Number of Ether received would be lower than minEther" ); // ACTIONS // Take sold tokens from seller _transfer(msg.sender, address(this), tokensToSell); // Send proceeds to caller safeTransferETH(msg.sender, numEther); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), currentAllowance - amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overloaded; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": true, "runs": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEEP_GEMS_CONTRACT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SCALING","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToBuy","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"deepGemsContract","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToBuy","type":"uint256"}],"name":"quoteBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToBuy","type":"uint256"},{"internalType":"uint256","name":"currentTokensBought","type":"uint256"}],"name":"quoteBuyRaw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToSell","type":"uint256"}],"name":"quoteSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToSell","type":"uint256"},{"internalType":"uint256","name":"currentTokensBought","type":"uint256"}],"name":"quoteSellRaw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensToSell","type":"uint256"},{"internalType":"uint256","name":"minEther","type":"uint256"}],"name":"sell","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBought","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferToDeepGems","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600381526020016250534960e81b8152506040518060400160405280600381526020016250534960e81b8152506611c37937e080006a0211654585005212800000838381600390805190602001906200007892919062000199565b5080516200008e90600490602084019062000199565b50505060068290556005819055620000a73082620000b1565b50505050620002a1565b6001600160a01b0382166200010c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600260008282546200012091906200023f565b90915550506001600160a01b038216600090815260208190526040812080548392906200014f9084906200023f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001a79062000264565b90600052602060002090601f016020900481019282620001cb576000855562000216565b82601f10620001e657805160ff191683800117855562000216565b8280016001018555821562000216579182015b8281111562000216578251825591602001919060010190620001f9565b506200022492915062000228565b5090565b5b8082111562000224576000815560010162000229565b600082198211156200025f57634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200027957607f821691505b602082108114156200029b57634e487b7160e01b600052602260045260246000fd5b50919050565b61168e80620002b16000396000f3fe6080604052600436106101965760003560e01c80634e45899c116100e1578063a64190c41161008a578063d79875eb11610064578063d79875eb14610482578063d96a094a14610495578063dd62ed3e146104a8578063fe9b9ad5146104fb57610196565b8063a64190c414610422578063a9059cbb14610442578063c4d66de81461046257610196565b806379cc6790116100bb57806379cc6790146103cd57806395d89b41146103ed578063a457c2d71461040257610196565b80634e45899c1461032257806361d815fc1461037457806370a082311461038a57610196565b8063313ce5671161014357806342966c681161011d57806342966c68146102cb5780634a91f195146102ed5780634beb394c1461030257610196565b8063313ce5671461026f57806333bec21f1461028b57806339509351146102ab57610196565b80630cfccc83116101745780630cfccc831461022457806318160ddd1461023a57806323b872dd1461024f57610196565b806306fdde031461019b578063095ea7b3146101c65780630b6494ad146101f6575b600080fd5b3480156101a757600080fd5b506101b061051b565b6040516101bd91906114af565b60405180910390f35b3480156101d257600080fd5b506101e66101e1366004611431565b6105ad565b60405190151581526020016101bd565b34801561020257600080fd5b50610216610211366004611472565b6105c3565b6040519081526020016101bd565b34801561023057600080fd5b5061021660055481565b34801561024657600080fd5b50600254610216565b34801561025b57600080fd5b506101e661026a3660046113f6565b61065c565b34801561027b57600080fd5b50604051601281526020016101bd565b34801561029757600080fd5b506102166102a6366004611472565b610734565b3480156102b757600080fd5b506101e66102c6366004611431565b6107cd565b3480156102d757600080fd5b506102eb6102e636600461145a565b610811565b005b3480156102f957600080fd5b5061021661081e565b34801561030e57600080fd5b5061021661031d36600461145a565b610840565b34801561032e57600080fd5b5060075461034f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101bd565b34801561038057600080fd5b5061021660065481565b34801561039657600080fd5b506102166103a53660046113a3565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b3480156103d957600080fd5b506102eb6103e8366004611431565b610856565b3480156103f957600080fd5b506101b06108f7565b34801561040e57600080fd5b506101e661041d366004611431565b610906565b34801561042e57600080fd5b5061021661043d36600461145a565b6109c6565b34801561044e57600080fd5b506101e661045d366004611431565b6109d4565b34801561046e57600080fd5b506102eb61047d3660046113a3565b6109e1565b6102eb610490366004611472565b610a8e565b6102eb6104a336600461145a565b610b26565b3480156104b457600080fd5b506102166104c33660046113c4565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b34801561050757600080fd5b506102eb610516366004611431565b610c56565b60606003805461052a906115d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610556906115d5565b80156105a35780601f10610578576101008083540402835291602001916105a3565b820191906000526020600020905b81548152906001019060200180831161058657829003601f168201915b5050505050905090565b60006105ba338484610d0c565b50600192915050565b6000806105d0848461158e565b905060006003846105e18180611551565b6105eb9190611551565b6105f59190611518565b905060006003836106068180611551565b6106109190611551565b61061a9190611518565b90506000610628828461158e565b6006549091506106476ec097ce7bc90715b34b9f100000000083611518565b6106519190611518565b979650505050505050565b6000610669848484610e8c565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156107155760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6107298533610724868561158e565b610d0c565b506001949350505050565b6000806107418484611500565b905060006003846107528180611551565b61075c9190611551565b6107669190611518565b905060006003836107778180611551565b6107819190611551565b61078b9190611518565b90506000610799838361158e565b6006549091506107b86ec097ce7bc90715b34b9f100000000083611518565b6107c29190611518565b610651906001611500565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105ba918590610724908690611500565b61081b33826110fb565b50565b3060009081526020819052604081205460055461083b919061158e565b905090565b600061084e826102a661081e565b90505b919050565b600061086283336104c3565b9050818110156108d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e636500000000000000000000000000000000000000000000000000000000606482015260840161070c565b6108e88333610724858561158e565b6108f283836110fb565b505050565b60606004805461052a906115d5565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156109ad5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161070c565b6109bc3385610724868561158e565b5060019392505050565b600061084e8261021161081e565b60006105ba338484610e8c565b60075473ffffffffffffffffffffffffffffffffffffffff1615610a475760405162461bcd60e51b815260206004820152601360248201527f616c726561647920696e697469616c697a656400000000000000000000000000604482015260640161070c565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000610a99836109c6565b905081811015610b115760405162461bcd60e51b815260206004820152603560248201527f4e756d626572206f6620457468657220726563656976656420776f756c64206260448201527f65206c6f776572207468616e206d696e45746865720000000000000000000000606482015260840161070c565b610b1c333085610e8c565b6108f233826112b5565b6000610b3061081e565b600554909150610b408383611500565b1115610bda5760405162461bcd60e51b815260206004820152604160248201527f537570706c79206361702065786365656465642c206e6f206d6f726520746f6b60448201527f656e732063616e20626520626f756768742066726f6d2074686520637572766560648201527f2e00000000000000000000000000000000000000000000000000000000000000608482015260a40161070c565b6000610be68383610734565b905034811115610c385760405162461bcd60e51b815260206004820152601960248201527f446964206e6f742073656e6420656e6f75676820457468657200000000000000604482015260640161070c565b610c43303385610e8c565b6108f233610c51833461158e565b6112b5565b60075473ffffffffffffffffffffffffffffffffffffffff163314610ce35760405162461bcd60e51b815260206004820152603f60248201527f7472616e73666572546f4465657047656d732063616e206f6e6c79206265206360448201527f616c6c65642062792074686520646565702067656d7320636f6e747261637400606482015260840161070c565b600754610d0890839073ffffffffffffffffffffffffffffffffffffffff1683610e8c565b5050565b73ffffffffffffffffffffffffffffffffffffffff8316610d945760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff8216610e1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610f155760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff8216610f9e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020548181101561103a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161070c565b611044828261158e565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152602081905260408082209390935590851681529081208054849290611087908490611500565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110ed91815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff82166111845760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156112205760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161070c565b61122a828261158e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152602081905260408120919091556002805484929061126590849061158e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610e7f565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040516112ec9190611493565b60006040518083038185875af1925050503d8060008114611329576040519150601f19603f3d011682016040523d82523d6000602084013e61132e565b606091505b50509050806108f25760405162461bcd60e51b815260206004820152601360248201527f455448207472616e73666572206661696c656400000000000000000000000000604482015260640161070c565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085157600080fd5b6000602082840312156113b4578081fd5b6113bd8261137f565b9392505050565b600080604083850312156113d6578081fd5b6113df8361137f565b91506113ed6020840161137f565b90509250929050565b60008060006060848603121561140a578081fd5b6114138461137f565b92506114216020850161137f565b9150604084013590509250925092565b60008060408385031215611443578182fd5b61144c8361137f565b946020939093013593505050565b60006020828403121561146b578081fd5b5035919050565b60008060408385031215611484578182fd5b50508035926020909101359150565b600082516114a58184602087016115a5565b9190910192915050565b60006020825282518060208401526114ce8160408501602087016115a5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561151357611513611629565b500190565b60008261154c577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561158957611589611629565b500290565b6000828210156115a0576115a0611629565b500390565b60005b838110156115c05781810151838201526020016115a8565b838111156115cf576000848401525b50505050565b600181811c908216806115e957607f821691505b60208210811415611623577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212205bf99e9902a87a80160a3d99bdf26d7216f8dbe71eecb8cb857a66d45d1279b264736f6c63430008030033
Deployed Bytecode
0x6080604052600436106101965760003560e01c80634e45899c116100e1578063a64190c41161008a578063d79875eb11610064578063d79875eb14610482578063d96a094a14610495578063dd62ed3e146104a8578063fe9b9ad5146104fb57610196565b8063a64190c414610422578063a9059cbb14610442578063c4d66de81461046257610196565b806379cc6790116100bb57806379cc6790146103cd57806395d89b41146103ed578063a457c2d71461040257610196565b80634e45899c1461032257806361d815fc1461037457806370a082311461038a57610196565b8063313ce5671161014357806342966c681161011d57806342966c68146102cb5780634a91f195146102ed5780634beb394c1461030257610196565b8063313ce5671461026f57806333bec21f1461028b57806339509351146102ab57610196565b80630cfccc83116101745780630cfccc831461022457806318160ddd1461023a57806323b872dd1461024f57610196565b806306fdde031461019b578063095ea7b3146101c65780630b6494ad146101f6575b600080fd5b3480156101a757600080fd5b506101b061051b565b6040516101bd91906114af565b60405180910390f35b3480156101d257600080fd5b506101e66101e1366004611431565b6105ad565b60405190151581526020016101bd565b34801561020257600080fd5b50610216610211366004611472565b6105c3565b6040519081526020016101bd565b34801561023057600080fd5b5061021660055481565b34801561024657600080fd5b50600254610216565b34801561025b57600080fd5b506101e661026a3660046113f6565b61065c565b34801561027b57600080fd5b50604051601281526020016101bd565b34801561029757600080fd5b506102166102a6366004611472565b610734565b3480156102b757600080fd5b506101e66102c6366004611431565b6107cd565b3480156102d757600080fd5b506102eb6102e636600461145a565b610811565b005b3480156102f957600080fd5b5061021661081e565b34801561030e57600080fd5b5061021661031d36600461145a565b610840565b34801561032e57600080fd5b5060075461034f9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101bd565b34801561038057600080fd5b5061021660065481565b34801561039657600080fd5b506102166103a53660046113a3565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b3480156103d957600080fd5b506102eb6103e8366004611431565b610856565b3480156103f957600080fd5b506101b06108f7565b34801561040e57600080fd5b506101e661041d366004611431565b610906565b34801561042e57600080fd5b5061021661043d36600461145a565b6109c6565b34801561044e57600080fd5b506101e661045d366004611431565b6109d4565b34801561046e57600080fd5b506102eb61047d3660046113a3565b6109e1565b6102eb610490366004611472565b610a8e565b6102eb6104a336600461145a565b610b26565b3480156104b457600080fd5b506102166104c33660046113c4565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b34801561050757600080fd5b506102eb610516366004611431565b610c56565b60606003805461052a906115d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610556906115d5565b80156105a35780601f10610578576101008083540402835291602001916105a3565b820191906000526020600020905b81548152906001019060200180831161058657829003601f168201915b5050505050905090565b60006105ba338484610d0c565b50600192915050565b6000806105d0848461158e565b905060006003846105e18180611551565b6105eb9190611551565b6105f59190611518565b905060006003836106068180611551565b6106109190611551565b61061a9190611518565b90506000610628828461158e565b6006549091506106476ec097ce7bc90715b34b9f100000000083611518565b6106519190611518565b979650505050505050565b6000610669848484610e8c565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600160209081526040808320338452909152902054828110156107155760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6107298533610724868561158e565b610d0c565b506001949350505050565b6000806107418484611500565b905060006003846107528180611551565b61075c9190611551565b6107669190611518565b905060006003836107778180611551565b6107819190611551565b61078b9190611518565b90506000610799838361158e565b6006549091506107b86ec097ce7bc90715b34b9f100000000083611518565b6107c29190611518565b610651906001611500565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105ba918590610724908690611500565b61081b33826110fb565b50565b3060009081526020819052604081205460055461083b919061158e565b905090565b600061084e826102a661081e565b90505b919050565b600061086283336104c3565b9050818110156108d95760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f7760448201527f616e636500000000000000000000000000000000000000000000000000000000606482015260840161070c565b6108e88333610724858561158e565b6108f283836110fb565b505050565b60606004805461052a906115d5565b33600090815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152812054828110156109ad5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f000000000000000000000000000000000000000000000000000000606482015260840161070c565b6109bc3385610724868561158e565b5060019392505050565b600061084e8261021161081e565b60006105ba338484610e8c565b60075473ffffffffffffffffffffffffffffffffffffffff1615610a475760405162461bcd60e51b815260206004820152601360248201527f616c726561647920696e697469616c697a656400000000000000000000000000604482015260640161070c565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000610a99836109c6565b905081811015610b115760405162461bcd60e51b815260206004820152603560248201527f4e756d626572206f6620457468657220726563656976656420776f756c64206260448201527f65206c6f776572207468616e206d696e45746865720000000000000000000000606482015260840161070c565b610b1c333085610e8c565b6108f233826112b5565b6000610b3061081e565b600554909150610b408383611500565b1115610bda5760405162461bcd60e51b815260206004820152604160248201527f537570706c79206361702065786365656465642c206e6f206d6f726520746f6b60448201527f656e732063616e20626520626f756768742066726f6d2074686520637572766560648201527f2e00000000000000000000000000000000000000000000000000000000000000608482015260a40161070c565b6000610be68383610734565b905034811115610c385760405162461bcd60e51b815260206004820152601960248201527f446964206e6f742073656e6420656e6f75676820457468657200000000000000604482015260640161070c565b610c43303385610e8c565b6108f233610c51833461158e565b6112b5565b60075473ffffffffffffffffffffffffffffffffffffffff163314610ce35760405162461bcd60e51b815260206004820152603f60248201527f7472616e73666572546f4465657047656d732063616e206f6e6c79206265206360448201527f616c6c65642062792074686520646565702067656d7320636f6e747261637400606482015260840161070c565b600754610d0890839073ffffffffffffffffffffffffffffffffffffffff1683610e8c565b5050565b73ffffffffffffffffffffffffffffffffffffffff8316610d945760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff8216610e1d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610f155760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff8216610f9e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff83166000908152602081905260409020548181101561103a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161070c565b611044828261158e565b73ffffffffffffffffffffffffffffffffffffffff8086166000908152602081905260408082209390935590851681529081208054849290611087908490611500565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110ed91815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff82166111845760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161070c565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054818110156112205760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f6365000000000000000000000000000000000000000000000000000000000000606482015260840161070c565b61122a828261158e565b73ffffffffffffffffffffffffffffffffffffffff84166000908152602081905260408120919091556002805484929061126590849061158e565b909155505060405182815260009073ffffffffffffffffffffffffffffffffffffffff8516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610e7f565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040516112ec9190611493565b60006040518083038185875af1925050503d8060008114611329576040519150601f19603f3d011682016040523d82523d6000602084013e61132e565b606091505b50509050806108f25760405162461bcd60e51b815260206004820152601360248201527f455448207472616e73666572206661696c656400000000000000000000000000604482015260640161070c565b803573ffffffffffffffffffffffffffffffffffffffff8116811461085157600080fd5b6000602082840312156113b4578081fd5b6113bd8261137f565b9392505050565b600080604083850312156113d6578081fd5b6113df8361137f565b91506113ed6020840161137f565b90509250929050565b60008060006060848603121561140a578081fd5b6114138461137f565b92506114216020850161137f565b9150604084013590509250925092565b60008060408385031215611443578182fd5b61144c8361137f565b946020939093013593505050565b60006020828403121561146b578081fd5b5035919050565b60008060408385031215611484578182fd5b50508035926020909101359150565b600082516114a58184602087016115a5565b9190910192915050565b60006020825282518060208401526114ce8160408501602087016115a5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561151357611513611629565b500190565b60008261154c577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561158957611589611629565b500290565b6000828210156115a0576115a0611629565b500390565b60005b838110156115c05781810151838201526020016115a8565b838111156115cf576000848401525b50505050565b600181811c908216806115e957607f821691505b60208210811415611623577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea26469706673582212205bf99e9902a87a80160a3d99bdf26d7216f8dbe71eecb8cb857a66d45d1279b264736f6c63430008030033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.