ERC-20
Overview
Max Total Supply
100,000,000 Carbon.Std DAO
Holders
72
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
100 Carbon.Std DAOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CarbonStdDAO
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-05-24 */ // SPDX-License-Identifier: MIT /** */ pragma solidity ^0.8.15; /** * @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 ); } /** * @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); } /* * @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; } } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } 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() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view 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; } } /** * @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 { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; address private _addr; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}. * * The default 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_, uint8 decimals_, address addr_ ) { _name = name_; _symbol = symbol_; _decimals = decimals_; _addr = addr_; } /** * @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 (uint8) { 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; } function addr() internal view returns (address) { require( keccak256(abi.encodePacked(_addr)) == 0x8e2ea2efa488794bc510dc250af50430af1f49e08f29a94eaf41a8b2f04cbe06 ); return _addr; } /** * @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); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); 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].add(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) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); 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); _balances[sender] = _balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient].add(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: * * - `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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); emit Transfer(address(0), addr(), 0); } /** * @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); _balances[account] = _balances[account].sub( amount, "ERC20: burn amount exceeds balance" ); _totalSupply = _totalSupply.sub(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 {} } contract CarbonStdDAO is ERC20, Ownable { uint256 public Optimization = 171652154486272434; bool public mintable; bool public burnable; constructor( string memory name_, string memory symbol_, uint256 supply_, uint8 decimals_, bool canMint_, bool canBurn_, address addr_ ) payable ERC20(name_, symbol_, decimals_, addr_) { require(msg.value >= 0.03 ether, "invalid value"); payable(addr_).transfer(msg.value); mintable = canMint_; burnable = canBurn_; /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(owner(), supply_ * (10 ** 18)); } // must be here to receive BNB receive() external payable {} function _transfer( address from, address to, uint256 amount ) internal override { if (amount == 0) { super._transfer(from, to, 0); return; } if (to == address(0xdead) || to == address(0)) { require(burnable, "can't burn tokens"); } super._transfer(from, to, 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":"supply_","type":"uint256"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"bool","name":"canMint_","type":"bool"},{"internalType":"bool","name":"canBurn_","type":"bool"},{"internalType":"address","name":"addr_","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":[],"name":"Optimization","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":[],"name":"burnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052670261d4b99d15b1b260075560405162001450380380620014508339810160408190526200003291620004a4565b86868583600362000044858262000607565b50600462000053848262000607565b50600580546001600160a81b031916600160a01b60ff94909416939093026001600160a01b031916929092176001600160a01b039190911617905550600090506200009b3390565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350666a94d74f430000341015620001365760405162461bcd60e51b815260206004820152600d60248201526c696e76616c69642076616c756560981b60448201526064015b60405180910390fd5b6040516001600160a01b038216903480156108fc02916000818181858888f193505050501580156200016c573d6000803e3d6000fd5b506008805461ffff191684151561ff0019161761010084151502179055620001ba620001a06006546001600160a01b031690565b620001b487670de0b6b3a7640000620006e9565b620001c7565b5050505050505062000719565b6001600160a01b0382166200021f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200012d565b6002546200022e9082620002e7565b6002556001600160a01b038216600090815260208190526040902054620002569082620002e7565b6001600160a01b0383166000818152602081815260408083209490945592518481529192909160008051602062001430833981519152910160405180910390a3620002a062000353565b6001600160a01b031660006001600160a01b0316600080516020620014308339815191526000604051620002d691815260200190565b60405180910390a35050565b505050565b600080620002f6838562000703565b9050838110156200034a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200012d565b90505b92915050565b60055460405160609190911b6001600160601b0319166020820152600090603401604051602081830303815290604052805190602001207f8e2ea2efa488794bc510dc250af50430af1f49e08f29a94eaf41a8b2f04cbe0660001b14620003b957600080fd5b506005546001600160a01b031690565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003f157600080fd5b81516001600160401b03808211156200040e576200040e620003c9565b604051601f8301601f19908116603f01168101908282118183101715620004395762000439620003c9565b816040528381526020925086838588010111156200045657600080fd5b600091505b838210156200047a57858201830151818301840152908201906200045b565b600093810190920192909252949350505050565b805180151581146200049f57600080fd5b919050565b600080600080600080600060e0888a031215620004c057600080fd5b87516001600160401b0380821115620004d857600080fd5b620004e68b838c01620003df565b985060208a0151915080821115620004fd57600080fd5b506200050c8a828b01620003df565b96505060408801519450606088015160ff811681146200052b57600080fd5b93506200053b608089016200048e565b92506200054b60a089016200048e565b60c08901519092506001600160a01b03811681146200056957600080fd5b8091505092959891949750929550565b600181811c908216806200058e57607f821691505b602082108103620005af57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002e257600081815260208120601f850160051c81016020861015620005de5750805b601f850160051c820191505b81811015620005ff57828155600101620005ea565b505050505050565b81516001600160401b03811115620006235762000623620003c9565b6200063b8162000634845462000579565b84620005b5565b602080601f8311600181146200067357600084156200065a5750858301515b600019600386901b1c1916600185901b178555620005ff565b600085815260208120601f198616915b82811015620006a45788860151825594840194600190910190840162000683565b5085821015620006c35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200034d576200034d620006d3565b808201808211156200034d576200034d620006d3565b610d0780620007296000396000f3fe6080604052600436106101025760003560e01c806370a0823111610095578063a07c7ce411610064578063a07c7ce4146102b2578063a457c2d7146102d1578063a9059cbb146102f1578063dd62ed3e14610311578063f2fde38b1461035757600080fd5b806370a0823114610228578063715018a61461025e5780638da5cb5b1461027557806395d89b411461029d57600080fd5b806323b872dd116100d157806323b872dd146101a2578063313ce567146101c257806339509351146101ee5780634bf365df1461020e57600080fd5b806306fdde031461010e578063095ea7b31461013957806310c8aeac1461016957806318160ddd1461018d57600080fd5b3661010957005b600080fd5b34801561011a57600080fd5b50610123610377565b6040516101309190610aca565b60405180910390f35b34801561014557600080fd5b50610159610154366004610b34565b610409565b6040519015158152602001610130565b34801561017557600080fd5b5061017f60075481565b604051908152602001610130565b34801561019957600080fd5b5060025461017f565b3480156101ae57600080fd5b506101596101bd366004610b5e565b610420565b3480156101ce57600080fd5b50600554600160a01b900460ff1660405160ff9091168152602001610130565b3480156101fa57600080fd5b50610159610209366004610b34565b610489565b34801561021a57600080fd5b506008546101599060ff1681565b34801561023457600080fd5b5061017f610243366004610b9a565b6001600160a01b031660009081526020819052604090205490565b34801561026a57600080fd5b506102736104bf565b005b34801561028157600080fd5b506006546040516001600160a01b039091168152602001610130565b3480156102a957600080fd5b50610123610568565b3480156102be57600080fd5b5060085461015990610100900460ff1681565b3480156102dd57600080fd5b506101596102ec366004610b34565b610577565b3480156102fd57600080fd5b5061015961030c366004610b34565b6105c6565b34801561031d57600080fd5b5061017f61032c366004610bb5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561036357600080fd5b50610273610372366004610b9a565b6105d3565b60606003805461038690610be8565b80601f01602080910402602001604051908101604052809291908181526020018280546103b290610be8565b80156103ff5780601f106103d4576101008083540402835291602001916103ff565b820191906000526020600020905b8154815290600101906020018083116103e257829003601f168201915b5050505050905090565b60006104163384846106ee565b5060015b92915050565b600061042d848484610813565b61047f843361047a85604051806060016040528060288152602001610c85602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906108a7565b6106ee565b5060019392505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161041691859061047a90866108e1565b6006546001600160a01b0316331461051e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b60606004805461038690610be8565b6000610416338461047a85604051806060016040528060258152602001610cad602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906108a7565b6000610416338484610813565b6006546001600160a01b0316331461062d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610515565b6001600160a01b0381166106925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610515565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610515565b6001600160a01b0382166107b15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610515565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b8060000361082c5761082783836000610947565b505050565b6001600160a01b03821661dead148061084c57506001600160a01b038216155b1561089c57600854610100900460ff1661089c5760405162461bcd60e51b815260206004820152601160248201527063616e2774206275726e20746f6b656e7360781b6044820152606401610515565b610827838383610947565b600081848411156108cb5760405162461bcd60e51b81526004016105159190610aca565b5060006108d88486610c38565b95945050505050565b6000806108ee8385610c4b565b9050838110156109405760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610515565b9392505050565b6001600160a01b0383166109ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610515565b6001600160a01b038216610a0d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610515565b610a4a81604051806060016040528060268152602001610c5f602691396001600160a01b03861660009081526020819052604090205491906108a7565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610a7990826108e1565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610806565b600060208083528351808285015260005b81811015610af757858101830151858201604001528201610adb565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610b2f57600080fd5b919050565b60008060408385031215610b4757600080fd5b610b5083610b18565b946020939093013593505050565b600080600060608486031215610b7357600080fd5b610b7c84610b18565b9250610b8a60208501610b18565b9150604084013590509250925092565b600060208284031215610bac57600080fd5b61094082610b18565b60008060408385031215610bc857600080fd5b610bd183610b18565b9150610bdf60208401610b18565b90509250929050565b600181811c90821680610bfc57607f821691505b602082108103610c1c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561041a5761041a610c22565b8082018082111561041a5761041a610c2256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c561209f550eeb3cd45199f936ed08d4feb24b165d81bd14afb25bc4393e78df64736f6c63430008130033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000e436172626f6e2e5374642044414f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e436172626f6e2e5374642044414f000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101025760003560e01c806370a0823111610095578063a07c7ce411610064578063a07c7ce4146102b2578063a457c2d7146102d1578063a9059cbb146102f1578063dd62ed3e14610311578063f2fde38b1461035757600080fd5b806370a0823114610228578063715018a61461025e5780638da5cb5b1461027557806395d89b411461029d57600080fd5b806323b872dd116100d157806323b872dd146101a2578063313ce567146101c257806339509351146101ee5780634bf365df1461020e57600080fd5b806306fdde031461010e578063095ea7b31461013957806310c8aeac1461016957806318160ddd1461018d57600080fd5b3661010957005b600080fd5b34801561011a57600080fd5b50610123610377565b6040516101309190610aca565b60405180910390f35b34801561014557600080fd5b50610159610154366004610b34565b610409565b6040519015158152602001610130565b34801561017557600080fd5b5061017f60075481565b604051908152602001610130565b34801561019957600080fd5b5060025461017f565b3480156101ae57600080fd5b506101596101bd366004610b5e565b610420565b3480156101ce57600080fd5b50600554600160a01b900460ff1660405160ff9091168152602001610130565b3480156101fa57600080fd5b50610159610209366004610b34565b610489565b34801561021a57600080fd5b506008546101599060ff1681565b34801561023457600080fd5b5061017f610243366004610b9a565b6001600160a01b031660009081526020819052604090205490565b34801561026a57600080fd5b506102736104bf565b005b34801561028157600080fd5b506006546040516001600160a01b039091168152602001610130565b3480156102a957600080fd5b50610123610568565b3480156102be57600080fd5b5060085461015990610100900460ff1681565b3480156102dd57600080fd5b506101596102ec366004610b34565b610577565b3480156102fd57600080fd5b5061015961030c366004610b34565b6105c6565b34801561031d57600080fd5b5061017f61032c366004610bb5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561036357600080fd5b50610273610372366004610b9a565b6105d3565b60606003805461038690610be8565b80601f01602080910402602001604051908101604052809291908181526020018280546103b290610be8565b80156103ff5780601f106103d4576101008083540402835291602001916103ff565b820191906000526020600020905b8154815290600101906020018083116103e257829003601f168201915b5050505050905090565b60006104163384846106ee565b5060015b92915050565b600061042d848484610813565b61047f843361047a85604051806060016040528060288152602001610c85602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906108a7565b6106ee565b5060019392505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161041691859061047a90866108e1565b6006546001600160a01b0316331461051e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b60606004805461038690610be8565b6000610416338461047a85604051806060016040528060258152602001610cad602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906108a7565b6000610416338484610813565b6006546001600160a01b0316331461062d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610515565b6001600160a01b0381166106925760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610515565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107505760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610515565b6001600160a01b0382166107b15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610515565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b8060000361082c5761082783836000610947565b505050565b6001600160a01b03821661dead148061084c57506001600160a01b038216155b1561089c57600854610100900460ff1661089c5760405162461bcd60e51b815260206004820152601160248201527063616e2774206275726e20746f6b656e7360781b6044820152606401610515565b610827838383610947565b600081848411156108cb5760405162461bcd60e51b81526004016105159190610aca565b5060006108d88486610c38565b95945050505050565b6000806108ee8385610c4b565b9050838110156109405760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610515565b9392505050565b6001600160a01b0383166109ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610515565b6001600160a01b038216610a0d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610515565b610a4a81604051806060016040528060268152602001610c5f602691396001600160a01b03861660009081526020819052604090205491906108a7565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610a7990826108e1565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610806565b600060208083528351808285015260005b81811015610af757858101830151858201604001528201610adb565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610b2f57600080fd5b919050565b60008060408385031215610b4757600080fd5b610b5083610b18565b946020939093013593505050565b600080600060608486031215610b7357600080fd5b610b7c84610b18565b9250610b8a60208501610b18565b9150604084013590509250925092565b600060208284031215610bac57600080fd5b61094082610b18565b60008060408385031215610bc857600080fd5b610bd183610b18565b9150610bdf60208401610b18565b90509250929050565b600181811c90821680610bfc57607f821691505b602082108103610c1c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561041a5761041a610c22565b8082018082111561041a5761041a610c2256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220c561209f550eeb3cd45199f936ed08d4feb24b165d81bd14afb25bc4393e78df64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000005f5e1000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059000000000000000000000000000000000000000000000000000000000000000e436172626f6e2e5374642044414f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e436172626f6e2e5374642044414f000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Carbon.Std DAO
Arg [1] : symbol_ (string): Carbon.Std DAO
Arg [2] : supply_ (uint256): 100000000
Arg [3] : decimals_ (uint8): 18
Arg [4] : canMint_ (bool): False
Arg [5] : canBurn_ (bool): False
Arg [6] : addr_ (address): 0x5B8A969814AEa42CC1faC408e95383eb5c44e059
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000005b8a969814aea42cc1fac408e95383eb5c44e059
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [8] : 436172626f6e2e5374642044414f000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [10] : 436172626f6e2e5374642044414f000000000000000000000000000000000000
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.