ETH Price: $3,405.42 (+6.68%)
Gas: 36 Gwei

Token

Congruent DAO Token (Gaas)
 

Overview

Max Total Supply

4,833.110561303 Gaas

Holders

349 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Filtered by Token Holder
mpampas.eth
Balance
0.000000446 Gaas

Value
$0.00
0xc300ae31dbc4581c3e7ef145c2c00e60fe48235d
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Congruent is focused on GovFi, which includes effectively capturing governance value, increasing governance participation, and improving governance efficiency. Gaas is a governance and value token. Users hold Gaas tokens to participate in Congruent’s governance and to receive income from Congruent.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Gaas

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Gaas.sol
// SPDX-License-Identifier: AGPL-3.0-or-later


pragma solidity 0.7.5;

import "../libs/ERC20Permit.sol";
import "../libs/VaultOwned.sol";
import "../libs/interface/IaGaas.sol";

contract Gaas is ERC20Permit, VaultOwned {

    using SafeMath for uint256;
	address aGaas;
	bool isLBPComplete = false;
	
	uint256 maxSupply = 1_000_000 * 10**9;
	
    constructor(address aGaas_) ERC20("Congruent DAO Token", "Gaas", 9) {
		aGaas = aGaas_;
    }
	
	function migration() external {
		uint256 userBalance = IERC20(aGaas).balanceOf(msg.sender);
        IaGaas(aGaas).burnFrom(msg.sender, userBalance);
		_mint(msg.sender , userBalance);
    }
	
	//enable transfer
	function completeLBP() external onlyOwner(){
		isLBPComplete = true;
	}

    function mint(address account_, uint256 amount_) external onlyVault() {
        if(_totalSupply + amount_ > maxSupply)
			amount_ = maxSupply - _totalSupply;
		_mint(account_, amount_);
    }
	
	function setMaxSupply(uint256 newMaxSupply) external onlyOwner(){
		maxSupply = newMaxSupply;
	}
	
	function transfer(address account_, uint256 amount_) public override returns (bool) {
        //only enable transfer after add liquidity
		require(isLBPComplete || tx.origin == owner(), "no transfer");
		return super.transfer(account_, amount_);
    }
	
	function transferFrom(address from_, address to_, uint256 amount_) public override returns (bool) {
        //only enable transfer after add liquidity
		require(isLBPComplete || tx.origin == owner(), "no transfer");
		return super.transferFrom(from_, to_, amount_);
    }
	
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(msg.sender, amount);
    }

    function burnFrom(address account_, uint256 amount_) public virtual {
        _burnFrom(account_, amount_);
    }

    function _burnFrom(address account_, uint256 amount_) internal virtual {
        uint256 decreasedAllowance_ =
            allowance(account_, msg.sender).sub(
                amount_,
                "ERC20: burn amount exceeds allowance"
            );

        _approve(account_, msg.sender, decreasedAllowance_);
        _burn(account_, amount_);
    }
}

File 2 of 11 : ERC20Permit.sol
// SPDX-License-Identifier: AGPL-3.0-or-later


pragma solidity 0.7.5;

import "./interface/IERC2612Permit.sol";
import "./ERC20.sol";
import "@openzeppelin/contracts/utils/Counters.sol";


abstract contract ERC20Permit is ERC20, IERC2612Permit {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    bytes32 public DOMAIN_SEPARATOR;

    constructor() {
        uint256 chainID;
        assembly {
            chainID := chainid()
        }

        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name())),
                keccak256(bytes("1")), // Version
                chainID,
                address(this)
            )
        );
    }

    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "Permit: expired deadline");

        bytes32 hashStruct =
            keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, amount, _nonces[owner].current(), deadline));

        bytes32 _hash = keccak256(abi.encodePacked(uint16(0x1901), DOMAIN_SEPARATOR, hashStruct));

        address signer = ecrecover(_hash, v, r, s);
        require(signer != address(0) && signer == owner, "ZeroSwapPermit: Invalid signature");

        _nonces[owner].increment();
        _approve(owner, spender, amount);
    }

    function nonces(address owner) public view override returns (uint256) {
        return _nonces[owner].current();
    }
}

File 3 of 11 : VaultOwned.sol
// SPDX-License-Identifier: AGPL-3.0-or-later


pragma solidity 0.7.5;

import "./Ownable.sol";

contract VaultOwned is Ownable {
    
  address internal _vault;

  function setVault( address vault_ ) external onlyOwner() returns ( bool ) {
    _vault = vault_;

    return true;
  }

  /**
   * @dev Returns the address of the current vault.
   */
  function vault() public view returns (address) {
    return _vault;
  }

  /**
   * @dev Throws if called by any account other than the vault.
   */
  modifier onlyVault() {
    require( _vault == msg.sender, "VaultOwned: caller is not the Vault" );
    _;
  }

}

File 4 of 11 : IaGaas.sol
// SPDX-License-Identifier: AGPL-3.0-or-later


pragma solidity 0.7.5;

interface IaGaas {
    function burnFrom(address account_, uint256 amount_) external;
}

File 5 of 11 : IERC2612Permit.sol
// SPDX-License-Identifier: AGPL-3.0-or-later


pragma solidity 0.7.5;

interface IERC2612Permit {

    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    function nonces(address owner) external view returns (uint256);
}

File 6 of 11 : ERC20.sol
// SPDX-License-Identifier: AGPL-3.0-or-later



pragma solidity 0.7.5;

import "./IERC20.sol";
import "./Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 internal _totalSupply;

    string private _name;
    string private _symbol;
	uint8 private _decimals;
	

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_, uint8 decimals_) {
        _name = name_;
        _symbol = symbol_;
		_decimals = decimals_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overloaded;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual 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;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address, address, uint256) internal virtual { }
}

File 7 of 11 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../math/SafeMath.sol";

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

File 8 of 11 : IERC20.sol
// SPDX-License-Identifier: AGPL-3.0-or-later


pragma solidity 0.7.5;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {

	/**
     * @dev Returns the decimals of token.
     */
	function decimals() external view returns (uint8);
	
    /**
     * @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 9 of 11 : Context.sol
// SPDX-License-Identifier: AGPL-3.0-or-later

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 10 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
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;
    }
}

File 11 of 11 : Ownable.sol
// SPDX-License-Identifier: AGPL-3.0-or-later

pragma solidity >=0.6.0 <0.8.0;

import "./Context.sol";
/**
 * @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 () internal {
        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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"aGaas_","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":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"completeLBP","outputs":[],"stateMutability":"nonpayable","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":"migration","outputs":[],"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vault_","type":"address"}],"name":"setVault","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"account_","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"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600a805460ff60a01b1916905566038d7ea4c68000600b553480156200002957600080fd5b5060405162001aea38038062001aea833981810160405260208110156200004f57600080fd5b5051604080518082018252601381527f436f6e677275656e742044414f20546f6b656e000000000000000000000000006020828101918252835180850190945260048452634761617360e01b908401528151919291600991620000b69160039190620002ae565b508151620000cc906004906020850190620002ae565b506005805460ff191660ff92909216919091179055504690507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200011062000210565b805160209182012060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606084015260808301939093523060a0808401919091528351808403909101815260c0909201909252805191012060075560006200019c620002aa565b600880546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600a80546001600160a01b0319166001600160a01b03929092169190911790556200035a565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015620002a05780601f106200027457610100808354040283529160200191620002a0565b820191906000526020600020905b8154815290600101906020018083116200028257829003601f168201915b5050505050905090565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620002e6576000855562000331565b82601f106200030157805160ff191683800117855562000331565b8280016001018555821562000331579182015b828111156200033157825182559160200191906001019062000314565b506200033f92915062000343565b5090565b5b808211156200033f576000815560010162000344565b611780806200036a6000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c80636f8b44b0116100de57806395d89b4111610097578063d505accf11610071578063d505accf1461049c578063dd62ed3e146104ed578063f2fde38b1461051b578063fbfa77cf146105415761018e565b806395d89b411461043c578063a457c2d714610444578063a9059cbb146104705761018e565b80636f8b44b01461037b57806370a0823114610398578063715018a6146103be57806379cc6790146103c65780637ecebe00146103f25780638da5cb5b146104185761018e565b8063313ce5671161014b57806340c10f191161012557806340c10f191461030457806342966c6814610330578063670b16e01461034d5780636817031b146103555761018e565b8063313ce567146102b25780633644e515146102d057806339509351146102d85761018e565b806306fdde0314610193578063095ea7b3146102105780631705a3bd1461025057806318160ddd1461025a57806323b872dd1461027457806330adf81f146102aa575b600080fd5b61019b610549565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d55781810151838201526020016101bd565b50505050905090810190601f1680156102025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61023c6004803603604081101561022657600080fd5b506001600160a01b0381351690602001356105df565b604080519115158252519081900360200190f35b6102586105fc565b005b6102626106ee565b60408051918252519081900360200190f35b61023c6004803603606081101561028a57600080fd5b506001600160a01b038135811691602081013590911690604001356106f4565b610262610779565b6102ba61079d565b6040805160ff9092168252519081900360200190f35b6102626107a6565b61023c600480360360408110156102ee57600080fd5b506001600160a01b0381351690602001356107ac565b6102586004803603604081101561031a57600080fd5b506001600160a01b0381351690602001356107f7565b6102586004803603602081101561034657600080fd5b5035610865565b61025861086f565b61023c6004803603602081101561036b57600080fd5b50356001600160a01b03166108dc565b6102586004803603602081101561039157600080fd5b503561095b565b610262600480360360208110156103ae57600080fd5b50356001600160a01b03166109b8565b6102586109d3565b610258600480360360408110156103dc57600080fd5b506001600160a01b038135169060200135610a75565b6102626004803603602081101561040857600080fd5b50356001600160a01b0316610a7f565b610420610aa6565b604080516001600160a01b039092168252519081900360200190f35b61019b610ab5565b61023c6004803603604081101561045a57600080fd5b506001600160a01b038135169060200135610b16565b61023c6004803603604081101561048657600080fd5b506001600160a01b038135169060200135610bae565b610258600480360360e08110156104b257600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135610c31565b6102626004803603604081101561050357600080fd5b506001600160a01b0381358116916020013516610e5e565b6102586004803603602081101561053157600080fd5b50356001600160a01b0316610e89565b610420610f82565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105d55780601f106105aa576101008083540402835291602001916105d5565b820191906000526020600020905b8154815290600101906020018083116105b857829003601f168201915b5050505050905090565b60006105f36105ec610f91565b8484610f95565b50600192915050565b600a54604080516370a0823160e01b815233600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d602081101561067157600080fd5b5051600a546040805163079cc67960e41b81523360048201526024810184905290519293506001600160a01b03909116916379cc67909160448082019260009290919082900301818387803b1580156106c957600080fd5b505af11580156106dd573d6000803e3d6000fd5b505050506106eb3382611081565b50565b60025490565b600a54600090600160a01b900460ff16806107275750610712610aa6565b6001600160a01b0316326001600160a01b0316145b610766576040805162461bcd60e51b815260206004820152600b60248201526a3737903a3930b739b332b960a91b604482015290519081900360640190fd5b610771848484611145565b949350505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b60075481565b60006105f36107b9610f91565b8484600160006107c7610f91565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205401610f95565b6009546001600160a01b031633146108405760405162461bcd60e51b81526004018080602001828103825260238152602001806116556023913960400191505060405180910390fd5b600b54816002540111156108575750600254600b54035b6108618282611081565b5050565b6106eb33826111f4565b610877610f91565b6008546001600160a01b039081169116146108c7576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b600a805460ff60a01b1916600160a01b179055565b60006108e6610f91565b6008546001600160a01b03908116911614610936576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b50600980546001600160a01b0383166001600160a01b03199091161790556001919050565b610963610f91565b6008546001600160a01b039081169116146109b3576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b600b55565b6001600160a01b031660009081526020819052604090205490565b6109db610f91565b6008546001600160a01b03908116911614610a2b576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b61086182826112fe565b6001600160a01b0381166000908152600660205260408120610aa09061134a565b92915050565b6008546001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105d55780601f106105aa576101008083540402835291602001916105d5565b60008060016000610b25610f91565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610b905760405162461bcd60e51b81526004018080602001828103825260258152602001806117266025913960400191505060405180910390fd5b610ba4610b9b610f91565b85858403610f95565b5060019392505050565b600a54600090600160a01b900460ff1680610be15750610bcc610aa6565b6001600160a01b0316326001600160a01b0316145b610c20576040805162461bcd60e51b815260206004820152600b60248201526a3737903a3930b739b332b960a91b604482015290519081900360640190fd5b610c2a838361134e565b9392505050565b83421115610c86576040805162461bcd60e51b815260206004820152601860248201527f5065726d69743a206578706972656420646561646c696e650000000000000000604482015290519081900360640190fd5b6001600160a01b03871660009081526006602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990899089908990610ccf9061134a565b604080516020808201979097526001600160a01b0395861681830152939094166060840152608083019190915260a082015260c08082018990528251808303909101815260e08201835280519084012060075461190160f01b610100840152610102830152610122808301829052835180840390910181526101428301808552815191860191909120600091829052610162840180865281905260ff8a166101828501526101a284018990526101c28401889052935191955092936001926101e280820193601f1981019281900390910190855afa158015610db5573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610deb5750896001600160a01b0316816001600160a01b0316145b610e265760405162461bcd60e51b815260040180806020018281038252602181526020018061160c6021913960400191505060405180910390fd5b6001600160a01b038a166000908152600660205260409020610e4790611362565b610e528a8a8a610f95565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610e91610f91565b6008546001600160a01b03908116911614610ee1576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b6001600160a01b038116610f265760405162461bcd60e51b815260040180806020018281038252602681526020018061159e6026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b031690565b3390565b6001600160a01b038316610fda5760405162461bcd60e51b81526004018080602001828103825260248152602001806117026024913960400191505060405180910390fd5b6001600160a01b03821661101f5760405162461bcd60e51b81526004018080602001828103825260228152602001806115c46022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0382166110dc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6110e860008383611345565b60028054820190556001600160a01b038216600081815260208181526040808320805486019055805185815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35050565b600061115284848461136b565b6001600160a01b038416600090815260016020526040812081611173610f91565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156111d55760405162461bcd60e51b815260040180806020018281038252602881526020018061162d6028913960400191505060405180910390fd5b6111e9856111e1610f91565b858403610f95565b506001949350505050565b6001600160a01b0382166112395760405162461bcd60e51b81526004018080602001828103825260218152602001806116bc6021913960400191505060405180910390fd5b61124582600083611345565b6001600160a01b0382166000908152602081905260409020548181101561129d5760405162461bcd60e51b815260040180806020018281038252602281526020018061157c6022913960400191505060405180910390fd5b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b600061132e82604051806060016040528060248152602001611698602491396113278633610e5e565b91906114c1565b905061133b833383610f95565b61134583836111f4565b505050565b5490565b60006105f361135b610f91565b848461136b565b80546001019055565b6001600160a01b0383166113b05760405162461bcd60e51b81526004018080602001828103825260258152602001806116dd6025913960400191505060405180910390fd5b6001600160a01b0382166113f55760405162461bcd60e51b81526004018080602001828103825260238152602001806115596023913960400191505060405180910390fd5b611400838383611345565b6001600160a01b038316600090815260208190526040902054818110156114585760405162461bcd60e51b81526004018080602001828103825260268152602001806115e66026913960400191505060405180910390fd5b6001600160a01b038085166000818152602081815260408083208787039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350505050565b600081848411156115505760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115155781810151838201526020016114fd565b50505050905090810190601f1680156115425780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655a65726f537761705065726d69743a20496e76616c6964207369676e617475726545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655661756c744f776e65643a2063616c6c6572206973206e6f7420746865205661756c744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bc50b89ef68a2f06af59d559c1f0b34d51210368caa7fa607493812dc775f4db64736f6c634300070500330000000000000000000000003250e701413896cf32a5bed36a148707d817a22e

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c80636f8b44b0116100de57806395d89b4111610097578063d505accf11610071578063d505accf1461049c578063dd62ed3e146104ed578063f2fde38b1461051b578063fbfa77cf146105415761018e565b806395d89b411461043c578063a457c2d714610444578063a9059cbb146104705761018e565b80636f8b44b01461037b57806370a0823114610398578063715018a6146103be57806379cc6790146103c65780637ecebe00146103f25780638da5cb5b146104185761018e565b8063313ce5671161014b57806340c10f191161012557806340c10f191461030457806342966c6814610330578063670b16e01461034d5780636817031b146103555761018e565b8063313ce567146102b25780633644e515146102d057806339509351146102d85761018e565b806306fdde0314610193578063095ea7b3146102105780631705a3bd1461025057806318160ddd1461025a57806323b872dd1461027457806330adf81f146102aa575b600080fd5b61019b610549565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d55781810151838201526020016101bd565b50505050905090810190601f1680156102025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61023c6004803603604081101561022657600080fd5b506001600160a01b0381351690602001356105df565b604080519115158252519081900360200190f35b6102586105fc565b005b6102626106ee565b60408051918252519081900360200190f35b61023c6004803603606081101561028a57600080fd5b506001600160a01b038135811691602081013590911690604001356106f4565b610262610779565b6102ba61079d565b6040805160ff9092168252519081900360200190f35b6102626107a6565b61023c600480360360408110156102ee57600080fd5b506001600160a01b0381351690602001356107ac565b6102586004803603604081101561031a57600080fd5b506001600160a01b0381351690602001356107f7565b6102586004803603602081101561034657600080fd5b5035610865565b61025861086f565b61023c6004803603602081101561036b57600080fd5b50356001600160a01b03166108dc565b6102586004803603602081101561039157600080fd5b503561095b565b610262600480360360208110156103ae57600080fd5b50356001600160a01b03166109b8565b6102586109d3565b610258600480360360408110156103dc57600080fd5b506001600160a01b038135169060200135610a75565b6102626004803603602081101561040857600080fd5b50356001600160a01b0316610a7f565b610420610aa6565b604080516001600160a01b039092168252519081900360200190f35b61019b610ab5565b61023c6004803603604081101561045a57600080fd5b506001600160a01b038135169060200135610b16565b61023c6004803603604081101561048657600080fd5b506001600160a01b038135169060200135610bae565b610258600480360360e08110156104b257600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135610c31565b6102626004803603604081101561050357600080fd5b506001600160a01b0381358116916020013516610e5e565b6102586004803603602081101561053157600080fd5b50356001600160a01b0316610e89565b610420610f82565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105d55780601f106105aa576101008083540402835291602001916105d5565b820191906000526020600020905b8154815290600101906020018083116105b857829003601f168201915b5050505050905090565b60006105f36105ec610f91565b8484610f95565b50600192915050565b600a54604080516370a0823160e01b815233600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561064757600080fd5b505afa15801561065b573d6000803e3d6000fd5b505050506040513d602081101561067157600080fd5b5051600a546040805163079cc67960e41b81523360048201526024810184905290519293506001600160a01b03909116916379cc67909160448082019260009290919082900301818387803b1580156106c957600080fd5b505af11580156106dd573d6000803e3d6000fd5b505050506106eb3382611081565b50565b60025490565b600a54600090600160a01b900460ff16806107275750610712610aa6565b6001600160a01b0316326001600160a01b0316145b610766576040805162461bcd60e51b815260206004820152600b60248201526a3737903a3930b739b332b960a91b604482015290519081900360640190fd5b610771848484611145565b949350505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60055460ff1690565b60075481565b60006105f36107b9610f91565b8484600160006107c7610f91565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205401610f95565b6009546001600160a01b031633146108405760405162461bcd60e51b81526004018080602001828103825260238152602001806116556023913960400191505060405180910390fd5b600b54816002540111156108575750600254600b54035b6108618282611081565b5050565b6106eb33826111f4565b610877610f91565b6008546001600160a01b039081169116146108c7576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b600a805460ff60a01b1916600160a01b179055565b60006108e6610f91565b6008546001600160a01b03908116911614610936576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b50600980546001600160a01b0383166001600160a01b03199091161790556001919050565b610963610f91565b6008546001600160a01b039081169116146109b3576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b600b55565b6001600160a01b031660009081526020819052604090205490565b6109db610f91565b6008546001600160a01b03908116911614610a2b576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b6008546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880546001600160a01b0319169055565b61086182826112fe565b6001600160a01b0381166000908152600660205260408120610aa09061134a565b92915050565b6008546001600160a01b031690565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105d55780601f106105aa576101008083540402835291602001916105d5565b60008060016000610b25610f91565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610b905760405162461bcd60e51b81526004018080602001828103825260258152602001806117266025913960400191505060405180910390fd5b610ba4610b9b610f91565b85858403610f95565b5060019392505050565b600a54600090600160a01b900460ff1680610be15750610bcc610aa6565b6001600160a01b0316326001600160a01b0316145b610c20576040805162461bcd60e51b815260206004820152600b60248201526a3737903a3930b739b332b960a91b604482015290519081900360640190fd5b610c2a838361134e565b9392505050565b83421115610c86576040805162461bcd60e51b815260206004820152601860248201527f5065726d69743a206578706972656420646561646c696e650000000000000000604482015290519081900360640190fd5b6001600160a01b03871660009081526006602052604081207f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c990899089908990610ccf9061134a565b604080516020808201979097526001600160a01b0395861681830152939094166060840152608083019190915260a082015260c08082018990528251808303909101815260e08201835280519084012060075461190160f01b610100840152610102830152610122808301829052835180840390910181526101428301808552815191860191909120600091829052610162840180865281905260ff8a166101828501526101a284018990526101c28401889052935191955092936001926101e280820193601f1981019281900390910190855afa158015610db5573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610deb5750896001600160a01b0316816001600160a01b0316145b610e265760405162461bcd60e51b815260040180806020018281038252602181526020018061160c6021913960400191505060405180910390fd5b6001600160a01b038a166000908152600660205260409020610e4790611362565b610e528a8a8a610f95565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610e91610f91565b6008546001600160a01b03908116911614610ee1576040805162461bcd60e51b81526020600482018190526024820152600080516020611678833981519152604482015290519081900360640190fd5b6001600160a01b038116610f265760405162461bcd60e51b815260040180806020018281038252602681526020018061159e6026913960400191505060405180910390fd5b6008546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b031690565b3390565b6001600160a01b038316610fda5760405162461bcd60e51b81526004018080602001828103825260248152602001806117026024913960400191505060405180910390fd5b6001600160a01b03821661101f5760405162461bcd60e51b81526004018080602001828103825260228152602001806115c46022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0382166110dc576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6110e860008383611345565b60028054820190556001600160a01b038216600081815260208181526040808320805486019055805185815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35050565b600061115284848461136b565b6001600160a01b038416600090815260016020526040812081611173610f91565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156111d55760405162461bcd60e51b815260040180806020018281038252602881526020018061162d6028913960400191505060405180910390fd5b6111e9856111e1610f91565b858403610f95565b506001949350505050565b6001600160a01b0382166112395760405162461bcd60e51b81526004018080602001828103825260218152602001806116bc6021913960400191505060405180910390fd5b61124582600083611345565b6001600160a01b0382166000908152602081905260409020548181101561129d5760405162461bcd60e51b815260040180806020018281038252602281526020018061157c6022913960400191505060405180910390fd5b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b600061132e82604051806060016040528060248152602001611698602491396113278633610e5e565b91906114c1565b905061133b833383610f95565b61134583836111f4565b505050565b5490565b60006105f361135b610f91565b848461136b565b80546001019055565b6001600160a01b0383166113b05760405162461bcd60e51b81526004018080602001828103825260258152602001806116dd6025913960400191505060405180910390fd5b6001600160a01b0382166113f55760405162461bcd60e51b81526004018080602001828103825260238152602001806115596023913960400191505060405180910390fd5b611400838383611345565b6001600160a01b038316600090815260208190526040902054818110156114585760405162461bcd60e51b81526004018080602001828103825260268152602001806115e66026913960400191505060405180910390fd5b6001600160a01b038085166000818152602081815260408083208787039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350505050565b600081848411156115505760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156115155781810151838201526020016114fd565b50505050905090810190601f1680156115425780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655a65726f537761705065726d69743a20496e76616c6964207369676e617475726545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63655661756c744f776e65643a2063616c6c6572206973206e6f7420746865205661756c744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220bc50b89ef68a2f06af59d559c1f0b34d51210368caa7fa607493812dc775f4db64736f6c63430007050033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000003250e701413896cf32a5bed36a148707d817a22e

-----Decoded View---------------
Arg [0] : aGaas_ (address): 0x3250e701413896Cf32a5BEd36A148707d817A22E

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003250e701413896cf32a5bed36a148707d817a22e


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.