Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000,000 XBS
Holders
7
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
716 XBSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
XBANKINGStaking
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-21 */ // SPDX-License-Identifier: Unlicensed 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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint256); } // File: @openzeppelin/contracts/utils/Context.sol 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; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity ^0.8.0; /** * @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, IERC20Metadata { mapping(address => bool) public _isEnemy; bool public Pause = false; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; uint256 private _decimals; 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 two of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_,uint256 decimals_) { _name = name_; _symbol = symbol_; _decimals = decimals_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 * overridden; * * 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 override returns (uint256) { return _decimals; } /** * @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"); require(!_isEnemy[sender] && !_isEnemy[recipient], 'Enemy address'); require(!Pause, 'Pause'); _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 { } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * 'onlyOwner', which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address public _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * 'onlyOwner' functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account ('newOwner'). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: eth-token-recover/contracts/TokenRecover.sol pragma solidity ^0.8.0; /** * @title TokenRecover * @dev Allows owner to recover any ERC20 sent into the contract */ contract TokenRecover is Ownable { /** * @dev Remember that only owner can call so be careful when use on contracts generated from other contracts. * @param tokenAddress The token contract address * @param tokenAmount Number of tokens to be sent */ function recoverERC20(address tokenAddress, uint256 tokenAmount) public virtual onlyOwner { IERC20(tokenAddress).transfer(owner(), tokenAmount); } } pragma solidity ^0.8.0; contract XBANKINGStaking is ERC20,TokenRecover { uint256 public Optimization = 1012531200144348350534668132334816; constructor( string memory name_, string memory symbol_, uint256 decimals_, uint256 initialBalance_, address tokenOwner, address payable feeReceiver_ ) payable ERC20(name_, symbol_, decimals_) { payable(feeReceiver_).transfer(msg.value); _owner = tokenOwner; _mint(tokenOwner, initialBalance_*10**uint256(decimals_)); } function EnemyAddress(address account, bool value) external onlyOwner{ _isEnemy[account] = value; } function setPause(bool value) external onlyOwner{ Pause = value; } function mint(address account, uint256 amount) external onlyOwner { super._mint(account, amount); } function burn(uint256 amount) external onlyOwner { super._burn(_msgSender(), amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"decimals_","type":"uint256"},{"internalType":"uint256","name":"initialBalance_","type":"uint256"},{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address payable","name":"feeReceiver_","type":"address"}],"stateMutability":"payable","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"EnemyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Optimization","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isEnemy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060408190526001805460ff191690556d31ebf0c25d4ce10e0ef12d6cbce060095562001764388190039081908339810160408190526200004191620002b4565b8585856006620000528482620003ea565b506007620000618382620003ea565b5060055550506040516001600160a01b038216903480156108fc02916000818181858888f193505050501580156200009d573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b038416179055620000dd82620000cb86600a620005cb565b620000d79086620005e0565b620000e9565b50505050505062000610565b6001600160a01b038216620001445760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060046000828254620001589190620005fa565b90915550506001600160a01b0382166000908152600260205260408120805483929062000187908490620005fa565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001fe57600080fd5b81516001600160401b03808211156200021b576200021b620001d6565b604051601f8301601f19908116603f01168101908282118183101715620002465762000246620001d6565b816040528381526020925086838588010111156200026357600080fd5b600091505b8382101562000287578582018301518183018401529082019062000268565b600093810190920192909252949350505050565b6001600160a01b0381168114620002b157600080fd5b50565b60008060008060008060c08789031215620002ce57600080fd5b86516001600160401b0380821115620002e657600080fd5b620002f48a838b01620001ec565b975060208901519150808211156200030b57600080fd5b506200031a89828a01620001ec565b955050604087015193506060870151925060808701516200033b816200029b565b60a08801519092506200034e816200029b565b809150509295509295509295565b600181811c908216806200037157607f821691505b6020821081036200039257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001d157600081815260208120601f850160051c81016020861015620003c15750805b601f850160051c820191505b81811015620003e257828155600101620003cd565b505050505050565b81516001600160401b03811115620004065762000406620001d6565b6200041e816200041784546200035c565b8462000398565b602080601f8311600181146200045657600084156200043d5750858301515b600019600386901b1c1916600185901b178555620003e2565b600085815260208120601f198616915b82811015620004875788860151825594840194600190910190840162000466565b5085821015620004a65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200050d578160001904821115620004f157620004f1620004b6565b80851615620004ff57918102915b93841c9390800290620004d1565b509250929050565b6000826200052657506001620005c5565b816200053557506000620005c5565b81600181146200054e5760028114620005595762000579565b6001915050620005c5565b60ff8411156200056d576200056d620004b6565b50506001821b620005c5565b5060208310610133831016604e8410600b84101617156200059e575081810a620005c5565b620005aa8383620004cc565b8060001904821115620005c157620005c1620004b6565b0290505b92915050565b6000620005d9838362000515565b9392505050565b8082028115828204841417620005c557620005c5620004b6565b80820180821115620005c557620005c5620004b6565b61114480620006206000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063a9059cbb1161007c578063a9059cbb146102ac578063aa797dbc146102bf578063b2bdfa7b146102e2578063bedb86fb146102f5578063dd62ed3e14610308578063f2fde38b1461034157600080fd5b8063715018a61461023e57806386923611146102465780638980f11f146102595780638da5cb5b1461026c57806395d89b4114610291578063a457c2d71461029957600080fd5b8063313ce56711610115578063313ce567146101c557806339509351146101cd57806340c10f19146101e057806342966c68146101f55780636985a0221461020857806370a082311461021557600080fd5b806306fdde0314610152578063095ea7b31461017057806310c8aeac1461019357806318160ddd146101aa57806323b872dd146101b2575b600080fd5b61015a610354565b6040516101679190610ea6565b60405180910390f35b61018361017e366004610f10565b6103e6565b6040519015158152602001610167565b61019c60095481565b604051908152602001610167565b60045461019c565b6101836101c0366004610f3a565b6103fd565b60055461019c565b6101836101db366004610f10565b6104b3565b6101f36101ee366004610f10565b6104ea565b005b6101f3610203366004610f76565b610522565b6001546101839060ff1681565b61019c610223366004610f8f565b6001600160a01b031660009081526002602052604090205490565b6101f3610559565b6101f3610254366004610fbf565b6105cd565b6101f3610267366004610f10565b610622565b6008546001600160a01b03165b6040516001600160a01b039091168152602001610167565b61015a6106e3565b6101836102a7366004610f10565b6106f2565b6101836102ba366004610f10565b61078d565b6101836102cd366004610f8f565b60006020819052908152604090205460ff1681565b600854610279906001600160a01b031681565b6101f3610303366004610ff6565b61079a565b61019c610316366004611013565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6101f361034f366004610f8f565b6107d7565b60606006805461036390611046565b80601f016020809104026020016040519081016040528092919081815260200182805461038f90611046565b80156103dc5780601f106103b1576101008083540402835291602001916103dc565b820191906000526020600020905b8154815290600101906020018083116103bf57829003601f168201915b5050505050905090565b60006103f33384846108c2565b5060015b92915050565b600061040a8484846109e7565b6001600160a01b0384166000908152600360209081526040808320338452909152902054828110156104945760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104a885336104a38685611096565b6108c2565b506001949350505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916103f39185906104a39086906110a9565b6008546001600160a01b031633146105145760405162461bcd60e51b815260040161048b906110bc565b61051e8282610c78565b5050565b6008546001600160a01b0316331461054c5760405162461bcd60e51b815260040161048b906110bc565b6105563382610d57565b50565b6008546001600160a01b031633146105835760405162461bcd60e51b815260040161048b906110bc565b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6008546001600160a01b031633146105f75760405162461bcd60e51b815260040161048b906110bc565b6001600160a01b03919091166000908152602081905260409020805460ff1916911515919091179055565b6008546001600160a01b0316331461064c5760405162461bcd60e51b815260040161048b906110bc565b816001600160a01b031663a9059cbb61066d6008546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156106ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106de91906110f1565b505050565b60606007805461036390611046565b3360009081526003602090815260408083206001600160a01b0386168452909152812054828110156107745760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161048b565b61078333856104a38685611096565b5060019392505050565b60006103f33384846109e7565b6008546001600160a01b031633146107c45760405162461bcd60e51b815260040161048b906110bc565b6001805460ff1916911515919091179055565b6008546001600160a01b031633146108015760405162461bcd60e51b815260040161048b906110bc565b6001600160a01b0381166108665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161048b565b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166109245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161048b565b6001600160a01b0382166109855760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161048b565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a4b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161048b565b6001600160a01b038216610aad5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161048b565b6001600160a01b03831660009081526020819052604090205460ff16158015610aef57506001600160a01b03821660009081526020819052604090205460ff16155b610b2b5760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b604482015260640161048b565b60015460ff1615610b665760405162461bcd60e51b8152602060048201526005602482015264506175736560d81b604482015260640161048b565b6001600160a01b03831660009081526002602052604090205481811015610bde5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161048b565b610be88282611096565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610c1e9084906110a9565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c6a91815260200190565b60405180910390a350505050565b6001600160a01b038216610cce5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161048b565b8060046000828254610ce091906110a9565b90915550506001600160a01b03821660009081526002602052604081208054839290610d0d9084906110a9565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610db75760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161048b565b6001600160a01b03821660009081526002602052604090205481811015610e2b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161048b565b610e358282611096565b6001600160a01b03841660009081526002602052604081209190915560048054849290610e63908490611096565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016109da565b600060208083528351808285015260005b81811015610ed357858101830151858201604001528201610eb7565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610f0b57600080fd5b919050565b60008060408385031215610f2357600080fd5b610f2c83610ef4565b946020939093013593505050565b600080600060608486031215610f4f57600080fd5b610f5884610ef4565b9250610f6660208501610ef4565b9150604084013590509250925092565b600060208284031215610f8857600080fd5b5035919050565b600060208284031215610fa157600080fd5b610faa82610ef4565b9392505050565b801515811461055657600080fd5b60008060408385031215610fd257600080fd5b610fdb83610ef4565b91506020830135610feb81610fb1565b809150509250929050565b60006020828403121561100857600080fd5b8135610faa81610fb1565b6000806040838503121561102657600080fd5b61102f83610ef4565b915061103d60208401610ef4565b90509250929050565b600181811c9082168061105a57607f821691505b60208210810361107a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103f7576103f7611080565b808201808211156103f7576103f7611080565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561110357600080fd5b8151610faa81610fb156fea2646970667358221220bd913f2a4589f847ead437c4a67ffb921cc3c242ab8413ee1f5c6a566fc9471964736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000ca1fd44348eb3ffde505346e6a813c2f33c4b81600000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a00000000000000000000000000000000000000000000000000000000000000105842414e4b494e47205374616b696e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035842530000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063a9059cbb1161007c578063a9059cbb146102ac578063aa797dbc146102bf578063b2bdfa7b146102e2578063bedb86fb146102f5578063dd62ed3e14610308578063f2fde38b1461034157600080fd5b8063715018a61461023e57806386923611146102465780638980f11f146102595780638da5cb5b1461026c57806395d89b4114610291578063a457c2d71461029957600080fd5b8063313ce56711610115578063313ce567146101c557806339509351146101cd57806340c10f19146101e057806342966c68146101f55780636985a0221461020857806370a082311461021557600080fd5b806306fdde0314610152578063095ea7b31461017057806310c8aeac1461019357806318160ddd146101aa57806323b872dd146101b2575b600080fd5b61015a610354565b6040516101679190610ea6565b60405180910390f35b61018361017e366004610f10565b6103e6565b6040519015158152602001610167565b61019c60095481565b604051908152602001610167565b60045461019c565b6101836101c0366004610f3a565b6103fd565b60055461019c565b6101836101db366004610f10565b6104b3565b6101f36101ee366004610f10565b6104ea565b005b6101f3610203366004610f76565b610522565b6001546101839060ff1681565b61019c610223366004610f8f565b6001600160a01b031660009081526002602052604090205490565b6101f3610559565b6101f3610254366004610fbf565b6105cd565b6101f3610267366004610f10565b610622565b6008546001600160a01b03165b6040516001600160a01b039091168152602001610167565b61015a6106e3565b6101836102a7366004610f10565b6106f2565b6101836102ba366004610f10565b61078d565b6101836102cd366004610f8f565b60006020819052908152604090205460ff1681565b600854610279906001600160a01b031681565b6101f3610303366004610ff6565b61079a565b61019c610316366004611013565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6101f361034f366004610f8f565b6107d7565b60606006805461036390611046565b80601f016020809104026020016040519081016040528092919081815260200182805461038f90611046565b80156103dc5780601f106103b1576101008083540402835291602001916103dc565b820191906000526020600020905b8154815290600101906020018083116103bf57829003601f168201915b5050505050905090565b60006103f33384846108c2565b5060015b92915050565b600061040a8484846109e7565b6001600160a01b0384166000908152600360209081526040808320338452909152902054828110156104945760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6104a885336104a38685611096565b6108c2565b506001949350505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916103f39185906104a39086906110a9565b6008546001600160a01b031633146105145760405162461bcd60e51b815260040161048b906110bc565b61051e8282610c78565b5050565b6008546001600160a01b0316331461054c5760405162461bcd60e51b815260040161048b906110bc565b6105563382610d57565b50565b6008546001600160a01b031633146105835760405162461bcd60e51b815260040161048b906110bc565b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b6008546001600160a01b031633146105f75760405162461bcd60e51b815260040161048b906110bc565b6001600160a01b03919091166000908152602081905260409020805460ff1916911515919091179055565b6008546001600160a01b0316331461064c5760405162461bcd60e51b815260040161048b906110bc565b816001600160a01b031663a9059cbb61066d6008546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156106ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106de91906110f1565b505050565b60606007805461036390611046565b3360009081526003602090815260408083206001600160a01b0386168452909152812054828110156107745760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161048b565b61078333856104a38685611096565b5060019392505050565b60006103f33384846109e7565b6008546001600160a01b031633146107c45760405162461bcd60e51b815260040161048b906110bc565b6001805460ff1916911515919091179055565b6008546001600160a01b031633146108015760405162461bcd60e51b815260040161048b906110bc565b6001600160a01b0381166108665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161048b565b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166109245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161048b565b6001600160a01b0382166109855760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161048b565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a4b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161048b565b6001600160a01b038216610aad5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161048b565b6001600160a01b03831660009081526020819052604090205460ff16158015610aef57506001600160a01b03821660009081526020819052604090205460ff16155b610b2b5760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b604482015260640161048b565b60015460ff1615610b665760405162461bcd60e51b8152602060048201526005602482015264506175736560d81b604482015260640161048b565b6001600160a01b03831660009081526002602052604090205481811015610bde5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161048b565b610be88282611096565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610c1e9084906110a9565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c6a91815260200190565b60405180910390a350505050565b6001600160a01b038216610cce5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161048b565b8060046000828254610ce091906110a9565b90915550506001600160a01b03821660009081526002602052604081208054839290610d0d9084906110a9565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610db75760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161048b565b6001600160a01b03821660009081526002602052604090205481811015610e2b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161048b565b610e358282611096565b6001600160a01b03841660009081526002602052604081209190915560048054849290610e63908490611096565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016109da565b600060208083528351808285015260005b81811015610ed357858101830151858201604001528201610eb7565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610f0b57600080fd5b919050565b60008060408385031215610f2357600080fd5b610f2c83610ef4565b946020939093013593505050565b600080600060608486031215610f4f57600080fd5b610f5884610ef4565b9250610f6660208501610ef4565b9150604084013590509250925092565b600060208284031215610f8857600080fd5b5035919050565b600060208284031215610fa157600080fd5b610faa82610ef4565b9392505050565b801515811461055657600080fd5b60008060408385031215610fd257600080fd5b610fdb83610ef4565b91506020830135610feb81610fb1565b809150509250929050565b60006020828403121561100857600080fd5b8135610faa81610fb1565b6000806040838503121561102657600080fd5b61102f83610ef4565b915061103d60208401610ef4565b90509250929050565b600181811c9082168061105a57607f821691505b60208210810361107a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103f7576103f7611080565b808201808211156103f7576103f7611080565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561110357600080fd5b8151610faa81610fb156fea2646970667358221220bd913f2a4589f847ead437c4a67ffb921cc3c242ab8413ee1f5c6a566fc9471964736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000174876e800000000000000000000000000ca1fd44348eb3ffde505346e6a813c2f33c4b81600000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a00000000000000000000000000000000000000000000000000000000000000105842414e4b494e47205374616b696e670000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035842530000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): XBANKING Staking
Arg [1] : symbol_ (string): XBS
Arg [2] : decimals_ (uint256): 18
Arg [3] : initialBalance_ (uint256): 100000000000
Arg [4] : tokenOwner (address): 0xCA1fD44348EB3fFDE505346e6a813c2f33C4B816
Arg [5] : feeReceiver_ (address): 0x51e46fDDF884518d96EbeA18023f7B2d0A82582a
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000000000000000174876e800
Arg [4] : 000000000000000000000000ca1fd44348eb3ffde505346e6a813c2f33c4b816
Arg [5] : 00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [7] : 5842414e4b494e47205374616b696e6700000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 5842530000000000000000000000000000000000000000000000000000000000
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.