ERC-20
Overview
Max Total Supply
100,000,000 StakedShield
Holders
114
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.0000829400060345 StakedShieldValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
StakedShield
Compiler Version
v0.8.23+commit.f704f362
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-04-29 */ // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (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) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (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 private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (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 (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead 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 => 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}. * * All two 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 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 default value returned by this function, unless * it's 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 (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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, 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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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: * * - `account` 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; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(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"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - 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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File: contracts/StakedShield.sol pragma solidity ^0.8.9; contract StakedShield is Ownable, ERC20 { address public ShieldStakingContract; constructor(address staking_contract) ERC20("StakedShield", "StakedShield") { _mint(msg.sender, 100000000 * 10**18); ShieldStakingContract = staking_contract; } function setStakingContract(address new_contract) public onlyOwner { ShieldStakingContract = new_contract; } function _transfer( address from, address to, uint256 amount ) internal override { if (from != ShieldStakingContract && to != ShieldStakingContract) { require( false, "StakedShield : No transfers allowed unless to or from staking contract" ); } else { super._transfer(from, to, amount); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"staking_contract","type":"address"}],"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":"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":[],"name":"ShieldStakingContract","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":[],"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":[],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new_contract","type":"address"}],"name":"setStakingContract","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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
608060405234801562000010575f80fd5b5060405162000ef338038062000ef3833981016040819052620000339162000218565b6040518060400160405280600c81526020016b14dd185ad95914da1a595b1960a21b8152506040518060400160405280600c81526020016b14dd185ad95914da1a595b1960a21b8152506200009762000091620000fa60201b60201c565b620000fe565b6004620000a58382620002e4565b506005620000b48282620002e4565b505050620000d4336a52b7d2dcc80cd2e40000006200014d60201b60201c565b600680546001600160a01b0319166001600160a01b0392909216919091179055620003d6565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620001a85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060035f828254620001bb9190620003b0565b90915550506001600160a01b0382165f818152600160209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b5f6020828403121562000229575f80fd5b81516001600160a01b038116811462000240575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200027057607f821691505b6020821081036200028f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200021357805f5260205f20601f840160051c81016020851015620002bc5750805b601f840160051c820191505b81811015620002dd575f8155600101620002c8565b5050505050565b81516001600160401b0381111562000300576200030062000247565b62000318816200031184546200025b565b8462000295565b602080601f8311600181146200034e575f8415620003365750858301515b5f19600386901b1c1916600185901b178555620003a8565b5f85815260208120601f198616915b828110156200037e578886015182559484019460019091019084016200035d565b50858210156200039c57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b80820180821115620003d057634e487b7160e01b5f52601160045260245ffd5b92915050565b610b0f80620003e45f395ff3fe608060405234801561000f575f80fd5b50600436106100fb575f3560e01c80638da5cb5b11610093578063a9059cbb11610063578063a9059cbb1461020b578063dd62ed3e1461021e578063f2fde38b14610231578063f99c7b2614610244575f80fd5b80638da5cb5b146101b957806395d89b41146101dd5780639dd373b9146101e5578063a457c2d7146101f8575f80fd5b8063313ce567116100ce578063313ce56714610165578063395093511461017457806370a0823114610187578063715018a6146101af575f80fd5b806306fdde03146100ff578063095ea7b31461011d57806318160ddd1461014057806323b872dd14610152575b5f80fd5b610107610257565b6040516101149190610969565b60405180910390f35b61013061012b3660046109d0565b6102e7565b6040519015158152602001610114565b6003545b604051908152602001610114565b6101306101603660046109f8565b610300565b60405160128152602001610114565b6101306101823660046109d0565b610323565b610144610195366004610a31565b6001600160a01b03165f9081526001602052604090205490565b6101b7610344565b005b5f546001600160a01b03165b6040516001600160a01b039091168152602001610114565b610107610357565b6101b76101f3366004610a31565b610366565b6101306102063660046109d0565b610390565b6101306102193660046109d0565b61040f565b61014461022c366004610a51565b61041c565b6101b761023f366004610a31565b610446565b6006546101c5906001600160a01b031681565b60606004805461026690610a82565b80601f016020809104026020016040519081016040528092919081815260200182805461029290610a82565b80156102dd5780601f106102b4576101008083540402835291602001916102dd565b820191905f5260205f20905b8154815290600101906020018083116102c057829003601f168201915b5050505050905090565b5f336102f48185856104bf565b60019150505b92915050565b5f3361030d8582856105e2565b61031885858561065a565b506001949350505050565b5f336102f4818585610335838361041c565b61033f9190610aba565b6104bf565b61034c610718565b6103555f610771565b565b60606005805461026690610a82565b61036e610718565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b5f338161039d828661041c565b9050838110156104025760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61031882868684036104bf565b5f336102f481858561065a565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b61044e610718565b6001600160a01b0381166104b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103f9565b6104bc81610771565b50565b6001600160a01b0383166105215760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f9565b6001600160a01b0382166105825760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f9565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6105ed848461041c565b90505f19811461065457818110156106475760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103f9565b61065484848484036104bf565b50505050565b6006546001600160a01b0384811691161480159061068657506006546001600160a01b03838116911614155b156107085760405162461bcd60e51b815260206004820152604660248201527f5374616b6564536869656c64203a204e6f207472616e736665727320616c6c6f60448201527f77656420756e6c65737320746f206f722066726f6d207374616b696e6720636f6064820152651b9d1c9858dd60d21b608482015260a4016103f9565b6107138383836107c0565b505050565b5f546001600160a01b031633146103555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103f9565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166108245760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f9565b6001600160a01b0382166108865760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f9565b6001600160a01b0383165f90815260016020526040902054818110156108fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103f9565b6001600160a01b038085165f8181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061095c9086815260200190565b60405180910390a3610654565b5f602080835283518060208501525f5b8181101561099557858101830151858201604001528201610979565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146109cb575f80fd5b919050565b5f80604083850312156109e1575f80fd5b6109ea836109b5565b946020939093013593505050565b5f805f60608486031215610a0a575f80fd5b610a13846109b5565b9250610a21602085016109b5565b9150604084013590509250925092565b5f60208284031215610a41575f80fd5b610a4a826109b5565b9392505050565b5f8060408385031215610a62575f80fd5b610a6b836109b5565b9150610a79602084016109b5565b90509250929050565b600181811c90821680610a9657607f821691505b602082108103610ab457634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102fa57634e487b7160e01b5f52601160045260245ffdfea26469706673582212201d10119107321a1e78a41f4f26937845432371b652d2f125e436aa0536beaef964736f6c63430008170033000000000000000000000000a9fb0025f2d474890dffe70db24aa027310489cb
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100fb575f3560e01c80638da5cb5b11610093578063a9059cbb11610063578063a9059cbb1461020b578063dd62ed3e1461021e578063f2fde38b14610231578063f99c7b2614610244575f80fd5b80638da5cb5b146101b957806395d89b41146101dd5780639dd373b9146101e5578063a457c2d7146101f8575f80fd5b8063313ce567116100ce578063313ce56714610165578063395093511461017457806370a0823114610187578063715018a6146101af575f80fd5b806306fdde03146100ff578063095ea7b31461011d57806318160ddd1461014057806323b872dd14610152575b5f80fd5b610107610257565b6040516101149190610969565b60405180910390f35b61013061012b3660046109d0565b6102e7565b6040519015158152602001610114565b6003545b604051908152602001610114565b6101306101603660046109f8565b610300565b60405160128152602001610114565b6101306101823660046109d0565b610323565b610144610195366004610a31565b6001600160a01b03165f9081526001602052604090205490565b6101b7610344565b005b5f546001600160a01b03165b6040516001600160a01b039091168152602001610114565b610107610357565b6101b76101f3366004610a31565b610366565b6101306102063660046109d0565b610390565b6101306102193660046109d0565b61040f565b61014461022c366004610a51565b61041c565b6101b761023f366004610a31565b610446565b6006546101c5906001600160a01b031681565b60606004805461026690610a82565b80601f016020809104026020016040519081016040528092919081815260200182805461029290610a82565b80156102dd5780601f106102b4576101008083540402835291602001916102dd565b820191905f5260205f20905b8154815290600101906020018083116102c057829003601f168201915b5050505050905090565b5f336102f48185856104bf565b60019150505b92915050565b5f3361030d8582856105e2565b61031885858561065a565b506001949350505050565b5f336102f4818585610335838361041c565b61033f9190610aba565b6104bf565b61034c610718565b6103555f610771565b565b60606005805461026690610a82565b61036e610718565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b5f338161039d828661041c565b9050838110156104025760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61031882868684036104bf565b5f336102f481858561065a565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b61044e610718565b6001600160a01b0381166104b35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103f9565b6104bc81610771565b50565b6001600160a01b0383166105215760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f9565b6001600160a01b0382166105825760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f9565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6105ed848461041c565b90505f19811461065457818110156106475760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103f9565b61065484848484036104bf565b50505050565b6006546001600160a01b0384811691161480159061068657506006546001600160a01b03838116911614155b156107085760405162461bcd60e51b815260206004820152604660248201527f5374616b6564536869656c64203a204e6f207472616e736665727320616c6c6f60448201527f77656420756e6c65737320746f206f722066726f6d207374616b696e6720636f6064820152651b9d1c9858dd60d21b608482015260a4016103f9565b6107138383836107c0565b505050565b5f546001600160a01b031633146103555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103f9565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166108245760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f9565b6001600160a01b0382166108865760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f9565b6001600160a01b0383165f90815260016020526040902054818110156108fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103f9565b6001600160a01b038085165f8181526001602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061095c9086815260200190565b60405180910390a3610654565b5f602080835283518060208501525f5b8181101561099557858101830151858201604001528201610979565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146109cb575f80fd5b919050565b5f80604083850312156109e1575f80fd5b6109ea836109b5565b946020939093013593505050565b5f805f60608486031215610a0a575f80fd5b610a13846109b5565b9250610a21602085016109b5565b9150604084013590509250925092565b5f60208284031215610a41575f80fd5b610a4a826109b5565b9392505050565b5f8060408385031215610a62575f80fd5b610a6b836109b5565b9150610a79602084016109b5565b90509250929050565b600181811c90821680610a9657607f821691505b602082108103610ab457634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102fa57634e487b7160e01b5f52601160045260245ffdfea26469706673582212201d10119107321a1e78a41f4f26937845432371b652d2f125e436aa0536beaef964736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a9fb0025f2d474890dffe70db24aa027310489cb
-----Decoded View---------------
Arg [0] : staking_contract (address): 0xA9FB0025F2D474890dfFE70DB24aA027310489CB
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a9fb0025f2d474890dffe70db24aa027310489cb
Deployed Bytecode Sourcemap
20381:846:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9314:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11674:201;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;11674:201:0;1004:187:1;10443:108:0;10531:12;;10443:108;;;1342:25:1;;;1330:2;1315:18;10443:108:0;1196:177:1;12455:261:0;;;;;;:::i;:::-;;:::i;10285:93::-;;;10368:2;1853:36:1;;1841:2;1826:18;10285:93:0;1711:184:1;13125:238:0;;;;;;:::i;:::-;;:::i;10614:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;10715:18:0;10688:7;10715:18;;;:9;:18;;;;;;;10614:127;2769:103;;;:::i;:::-;;2128:87;2174:7;2201:6;-1:-1:-1;;;;;2201:6:0;2128:87;;;-1:-1:-1;;;;;2255:32:1;;;2237:51;;2225:2;2210:18;2128:87:0;2091:203:1;9533:104:0;;;:::i;20666:122::-;;;;;;:::i;:::-;;:::i;13866:436::-;;;;;;:::i;:::-;;:::i;10947:193::-;;;;;;:::i;:::-;;:::i;11203:151::-;;;;;;:::i;:::-;;:::i;3027:201::-;;;;;;:::i;:::-;;:::i;20428:36::-;;;;;-1:-1:-1;;;;;20428:36:0;;;9314:100;9368:13;9401:5;9394:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9314:100;:::o;11674:201::-;11757:4;759:10;11813:32;759:10;11829:7;11838:6;11813:8;:32::i;:::-;11863:4;11856:11;;;11674:201;;;;;:::o;12455:261::-;12552:4;759:10;12610:38;12626:4;759:10;12641:6;12610:15;:38::i;:::-;12659:27;12669:4;12675:2;12679:6;12659:9;:27::i;:::-;-1:-1:-1;12704:4:0;;12455:261;-1:-1:-1;;;;12455:261:0:o;13125:238::-;13213:4;759:10;13269:64;759:10;13285:7;13322:10;13294:25;759:10;13285:7;13294:9;:25::i;:::-;:38;;;;:::i;:::-;13269:8;:64::i;2769:103::-;2014:13;:11;:13::i;:::-;2834:30:::1;2861:1;2834:18;:30::i;:::-;2769:103::o:0;9533:104::-;9589:13;9622:7;9615:14;;;;;:::i;20666:122::-;2014:13;:11;:13::i;:::-;20744:21:::1;:36:::0;;-1:-1:-1;;;;;;20744:36:0::1;-1:-1:-1::0;;;;;20744:36:0;;;::::1;::::0;;;::::1;::::0;;20666:122::o;13866:436::-;13959:4;759:10;13959:4;14042:25;759:10;14059:7;14042:9;:25::i;:::-;14015:52;;14106:15;14086:16;:35;;14078:85;;;;-1:-1:-1;;;14078:85:0;;3378:2:1;14078:85:0;;;3360:21:1;3417:2;3397:18;;;3390:30;3456:34;3436:18;;;3429:62;-1:-1:-1;;;3507:18:1;;;3500:35;3552:19;;14078:85:0;;;;;;;;;14199:60;14208:5;14215:7;14243:15;14224:16;:34;14199:8;:60::i;10947:193::-;11026:4;759:10;11082:28;759:10;11099:2;11103:6;11082:9;:28::i;11203:151::-;-1:-1:-1;;;;;11319:18:0;;;11292:7;11319:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11203:151::o;3027:201::-;2014:13;:11;:13::i;:::-;-1:-1:-1;;;;;3116:22:0;::::1;3108:73;;;::::0;-1:-1:-1;;;3108:73:0;;3784:2:1;3108:73:0::1;::::0;::::1;3766:21:1::0;3823:2;3803:18;;;3796:30;3862:34;3842:18;;;3835:62;-1:-1:-1;;;3913:18:1;;;3906:36;3959:19;;3108:73:0::1;3582:402:1::0;3108:73:0::1;3192:28;3211:8;3192:18;:28::i;:::-;3027:201:::0;:::o;17859:346::-;-1:-1:-1;;;;;17961:19:0;;17953:68;;;;-1:-1:-1;;;17953:68:0;;4191:2:1;17953:68:0;;;4173:21:1;4230:2;4210:18;;;4203:30;4269:34;4249:18;;;4242:62;-1:-1:-1;;;4320:18:1;;;4313:34;4364:19;;17953:68:0;3989:400:1;17953:68:0;-1:-1:-1;;;;;18040:21:0;;18032:68;;;;-1:-1:-1;;;18032:68:0;;4596:2:1;18032:68:0;;;4578:21:1;4635:2;4615:18;;;4608:30;4674:34;4654:18;;;4647:62;-1:-1:-1;;;4725:18:1;;;4718:32;4767:19;;18032:68:0;4394:398:1;18032:68:0;-1:-1:-1;;;;;18113:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18165:32;;1342:25:1;;;18165:32:0;;1315:18:1;18165:32:0;;;;;;;17859:346;;;:::o;18496:419::-;18597:24;18624:25;18634:5;18641:7;18624:9;:25::i;:::-;18597:52;;-1:-1:-1;;18664:16:0;:37;18660:248;;18746:6;18726:16;:26;;18718:68;;;;-1:-1:-1;;;18718:68:0;;4999:2:1;18718:68:0;;;4981:21:1;5038:2;5018:18;;;5011:30;5077:31;5057:18;;;5050:59;5126:18;;18718:68:0;4797:353:1;18718:68:0;18830:51;18839:5;18846:7;18874:6;18855:16;:25;18830:8;:51::i;:::-;18586:329;18496:419;;;:::o;20797:427::-;20933:21;;-1:-1:-1;;;;;20925:29:0;;;20933:21;;20925:29;;;;:60;;-1:-1:-1;20964:21:0;;-1:-1:-1;;;;;20958:27:0;;;20964:21;;20958:27;;20925:60;20921:296;;;21002:137;;-1:-1:-1;;;21002:137:0;;5357:2:1;21002:137:0;;;5339:21:1;5396:2;5376:18;;;5369:30;5435:34;5415:18;;;5408:62;5506:34;5486:18;;;5479:62;-1:-1:-1;;;5557:19:1;;;5550:37;5604:19;;21002:137:0;5155:474:1;20921:296:0;21172:33;21188:4;21194:2;21198:6;21172:15;:33::i;:::-;20797:427;;;:::o;2293:132::-;2174:7;2201:6;-1:-1:-1;;;;;2201:6:0;759:10;2357:23;2349:68;;;;-1:-1:-1;;;2349:68:0;;5836:2:1;2349:68:0;;;5818:21:1;;;5855:18;;;5848:30;5914:34;5894:18;;;5887:62;5966:18;;2349:68:0;5634:356:1;3388:191:0;3462:16;3481:6;;-1:-1:-1;;;;;3498:17:0;;;-1:-1:-1;;;;;;3498:17:0;;;;;;3531:40;;3481:6;;;;;;;3531:40;;3462:16;3531:40;3451:128;3388:191;:::o;14772:806::-;-1:-1:-1;;;;;14869:18:0;;14861:68;;;;-1:-1:-1;;;14861:68:0;;6197:2:1;14861:68:0;;;6179:21:1;6236:2;6216:18;;;6209:30;6275:34;6255:18;;;6248:62;-1:-1:-1;;;6326:18:1;;;6319:35;6371:19;;14861:68:0;5995:401:1;14861:68:0;-1:-1:-1;;;;;14948:16:0;;14940:64;;;;-1:-1:-1;;;14940:64:0;;6603:2:1;14940:64:0;;;6585:21:1;6642:2;6622:18;;;6615:30;6681:34;6661:18;;;6654:62;-1:-1:-1;;;6732:18:1;;;6725:33;6775:19;;14940:64:0;6401:399:1;14940:64:0;-1:-1:-1;;;;;15090:15:0;;15068:19;15090:15;;;:9;:15;;;;;;15124:21;;;;15116:72;;;;-1:-1:-1;;;15116:72:0;;7007:2:1;15116:72:0;;;6989:21:1;7046:2;7026:18;;;7019:30;7085:34;7065:18;;;7058:62;-1:-1:-1;;;7136:18:1;;;7129:36;7182:19;;15116:72:0;6805:402:1;15116:72:0;-1:-1:-1;;;;;15224:15:0;;;;;;;:9;:15;;;;;;15242:20;;;15224:38;;15442:13;;;;;;;;;;:23;;;;;;15494:26;;;;;;15256:6;1342:25:1;;1330:2;1315:18;;1196:177;15494:26:0;;;;;;;;15533:37;20797:427;14:548:1;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2299:260::-;2367:6;2375;2428:2;2416:9;2407:7;2403:23;2399:32;2396:52;;;2444:1;2441;2434:12;2396:52;2467:29;2486:9;2467:29;:::i;:::-;2457:39;;2515:38;2549:2;2538:9;2534:18;2515:38;:::i;:::-;2505:48;;2299:260;;;;;:::o;2564:380::-;2643:1;2639:12;;;;2686;;;2707:61;;2761:4;2753:6;2749:17;2739:27;;2707:61;2814:2;2806:6;2803:14;2783:18;2780:38;2777:161;;2860:10;2855:3;2851:20;2848:1;2841:31;2895:4;2892:1;2885:15;2923:4;2920:1;2913:15;2777:161;;2564:380;;;:::o;2949:222::-;3014:9;;;3035:10;;;3032:133;;;3087:10;3082:3;3078:20;3075:1;3068:31;3122:4;3119:1;3112:15;3150:4;3147:1;3140:15
Swarm Source
ipfs://1d10119107321a1e78a41f4f26937845432371b652d2f125e436aa0536beaef9
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.