ETH Price: $3,414.31 (+3.45%)

Contract

0x275f5Ad03be0Fa221B4C6649B8AeE09a42D9412A
 
Transaction Hash
Method
Block
From
To
Approve212514552024-11-23 15:52:231 hr ago1732377143IN
Digitalax: MONA Token
0 ETH0.0009434420.45711542
Approve212471222024-11-23 1:22:3515 hrs ago1732324955IN
Digitalax: MONA Token
0 ETH0.0005968112.94441474
Approve212416692024-11-22 7:06:2334 hrs ago1732259183IN
Digitalax: MONA Token
0 ETH0.000383778.32585648
Approve212416672024-11-22 7:05:5934 hrs ago1732259159IN
Digitalax: MONA Token
0 ETH0.00036888.0012297
Approve212405752024-11-22 3:26:2337 hrs ago1732245983IN
Digitalax: MONA Token
0 ETH0.000455899.80880904
Transfer212392902024-11-21 23:07:4742 hrs ago1732230467IN
Digitalax: MONA Token
0 ETH0.0005983912.74977647
Approve212385242024-11-21 20:34:1144 hrs ago1732221251IN
Digitalax: MONA Token
0 ETH0.0008867719.089239
Transfer212384572024-11-21 20:20:4745 hrs ago1732220447IN
Digitalax: MONA Token
0 ETH0.0006385921.42229501
Transfer212384322024-11-21 20:15:4745 hrs ago1732220147IN
Digitalax: MONA Token
0 ETH0.0012566924.31410137
Transfer212321562024-11-20 23:13:472 days ago1732144427IN
Digitalax: MONA Token
0 ETH0.000430219.16873427
Approve212310282024-11-20 19:27:112 days ago1732130831IN
Digitalax: MONA Token
0 ETH0.0008769718.98618929
Approve212308772024-11-20 18:56:472 days ago1732129007IN
Digitalax: MONA Token
0 ETH0.0007805116.89789504
Approve212273872024-11-20 7:13:473 days ago1732086827IN
Digitalax: MONA Token
0 ETH0.000353427.66356118
Approve212241992024-11-19 20:33:473 days ago1732048427IN
Digitalax: MONA Token
0 ETH0.0009743920.9918038
Approve212203022024-11-19 7:32:114 days ago1732001531IN
Digitalax: MONA Token
0 ETH0.000437929.49568771
Approve212199182024-11-19 6:15:114 days ago1731996911IN
Digitalax: MONA Token
0 ETH0.0005099510.97203594
Approve212118322024-11-18 3:12:235 days ago1731899543IN
Digitalax: MONA Token
0 ETH0.0003134812.95707279
Approve212117662024-11-18 2:58:595 days ago1731898739IN
Digitalax: MONA Token
0 ETH0.0005151211.08324858
Approve212115702024-11-18 2:19:475 days ago1731896387IN
Digitalax: MONA Token
0 ETH0.0005368911.56645829
Approve212090822024-11-17 18:00:475 days ago1731866447IN
Digitalax: MONA Token
0 ETH0.0006305513.65142766
Approve212016872024-11-16 17:15:357 days ago1731777335IN
Digitalax: MONA Token
0 ETH0.0006452813.9956268
Approve212006312024-11-16 13:43:237 days ago1731764603IN
Digitalax: MONA Token
0 ETH0.000354914.66924769
Approve212006172024-11-16 13:40:357 days ago1731764435IN
Digitalax: MONA Token
0 ETH0.000312812.92888476
Approve211990512024-11-16 8:26:117 days ago1731745571IN
Digitalax: MONA Token
0 ETH0.0005116611.09752152
Transfer211964522024-11-15 23:43:597 days ago1731714239IN
Digitalax: MONA Token
0 ETH0.0004400514.75593999
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
194846382024-03-21 17:53:11246 days ago1711043591
Digitalax: MONA Token
0.00071234 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MONA

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-29
*/

// File @openzeppelin/contracts/token/ERC20/[email protected]



pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


// File @openzeppelin/contracts/math/[email protected]



pragma solidity ^0.6.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 @openzeppelin/contracts/GSN/[email protected]



pragma solidity ^0.6.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 @openzeppelin/contracts/utils/[email protected]



pragma solidity ^0.6.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256`
 * (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(value)));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint256(_at(set._inner, index)));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}


// File @openzeppelin/contracts/utils/[email protected]



pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// File @openzeppelin/contracts/access/[email protected]



pragma solidity ^0.6.0;



/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// File contracts/DigitalaxAccessControls.sol

pragma solidity 0.6.12;

/**
 * @notice Access Controls contract for the Digitalax Platform
 * @author BlockRocket.tech
 */
contract DigitalaxAccessControls is AccessControl {
    /// @notice Role definitions
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant SMART_CONTRACT_ROLE = keccak256("SMART_CONTRACT_ROLE");

    /// @notice Events for adding and removing various roles
    event AdminRoleGranted(
        address indexed beneficiary,
        address indexed caller
    );

    event AdminRoleRemoved(
        address indexed beneficiary,
        address indexed caller
    );

    event MinterRoleGranted(
        address indexed beneficiary,
        address indexed caller
    );

    event MinterRoleRemoved(
        address indexed beneficiary,
        address indexed caller
    );

    event SmartContractRoleGranted(
        address indexed beneficiary,
        address indexed caller
    );

    event SmartContractRoleRemoved(
        address indexed beneficiary,
        address indexed caller
    );

    /**
     * @notice The deployer is automatically given the admin role which will allow them to then grant roles to other addresses
     */
    constructor() public {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

    /////////////
    // Lookups //
    /////////////

    /**
     * @notice Used to check whether an address has the admin role
     * @param _address EOA or contract being checked
     * @return bool True if the account has the role or false if it does not
     */
    function hasAdminRole(address _address) external view returns (bool) {
        return hasRole(DEFAULT_ADMIN_ROLE, _address);
    }

    /**
     * @notice Used to check whether an address has the minter role
     * @param _address EOA or contract being checked
     * @return bool True if the account has the role or false if it does not
     */
    function hasMinterRole(address _address) external view returns (bool) {
        return hasRole(MINTER_ROLE, _address);
    }

    /**
     * @notice Used to check whether an address has the smart contract role
     * @param _address EOA or contract being checked
     * @return bool True if the account has the role or false if it does not
     */
    function hasSmartContractRole(address _address) external view returns (bool) {
        return hasRole(SMART_CONTRACT_ROLE, _address);
    }

    ///////////////
    // Modifiers //
    ///////////////

    /**
     * @notice Grants the admin role to an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract receiving the new role
     */
    function addAdminRole(address _address) external {
        grantRole(DEFAULT_ADMIN_ROLE, _address);
        emit AdminRoleGranted(_address, _msgSender());
    }

    /**
     * @notice Removes the admin role from an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract affected
     */
    function removeAdminRole(address _address) external {
        revokeRole(DEFAULT_ADMIN_ROLE, _address);
        emit AdminRoleRemoved(_address, _msgSender());
    }

    /**
     * @notice Grants the minter role to an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract receiving the new role
     */
    function addMinterRole(address _address) external {
        grantRole(MINTER_ROLE, _address);
        emit MinterRoleGranted(_address, _msgSender());
    }

    /**
     * @notice Removes the minter role from an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract affected
     */
    function removeMinterRole(address _address) external {
        revokeRole(MINTER_ROLE, _address);
        emit MinterRoleRemoved(_address, _msgSender());
    }

    /**
     * @notice Grants the smart contract role to an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract receiving the new role
     */
    function addSmartContractRole(address _address) external {
        grantRole(SMART_CONTRACT_ROLE, _address);
        emit SmartContractRoleGranted(_address, _msgSender());
    }

    /**
     * @notice Removes the smart contract role from an address
     * @dev The sender must have the admin role
     * @param _address EOA or contract affected
     */
    function removeSmartContractRole(address _address) external {
        revokeRole(SMART_CONTRACT_ROLE, _address);
        emit SmartContractRoleRemoved(_address, _msgSender());
    }
}


// File contracts/MONA.sol

pragma solidity ^0.6.12;




/**
 * @notice Mona Governance Token = ERC20 + mint + burn.
 * @author Adrian Guerrera (deepyr)
 * @author Attr: BokkyPooBah (c) The Optino Project
 * @dev https://github.com/ogDAO/Governance/
 */

// SPDX-License-Identifier: GPLv2
contract MONA is Context, IERC20  {
    using SafeMath for uint;

    string _symbol;
    string  _name;
    uint8 _decimals;
    uint _totalSupply;
    mapping(address => uint) balances;

    mapping(address => mapping(address => uint)) allowed;
    uint public cap;
    bool public freezeCap;

    DigitalaxAccessControls public accessControls;

    event CapUpdated(uint256 cap, bool freezeCap);

    constructor(
        string memory symbol_,
        string memory name_,
        uint8 decimals_,
        DigitalaxAccessControls accessControls_,
        address tokenOwner,
        uint256 initialSupply
    ) 
        public 
    {
        _symbol = symbol_;
        _name = name_;
        _decimals = decimals_;
        accessControls = accessControls_;
        balances[tokenOwner] = initialSupply;
        _totalSupply = initialSupply;
        emit Transfer(address(0), tokenOwner, _totalSupply);
    }

    function symbol() external view returns (string memory) {
        return _symbol;
    }
    function name() external view returns (string memory) {
        return _name;
    }
    function decimals() external view returns (uint8) {
        return _decimals;
    }
    function totalSupply() override external view returns (uint) {
        return _totalSupply.sub(balances[address(0)]);
    }
    function balanceOf(address tokenOwner) override external view returns (uint balance) {
        return balances[tokenOwner];
    }
    function transfer(address to, uint tokens) override external returns (bool success) {
        balances[_msgSender()] = balances[_msgSender()].sub(tokens);
        balances[to] = balances[to].add(tokens);
        emit Transfer(_msgSender(), to, tokens);
        return true;
    }
    function approve(address spender, uint tokens) override external returns (bool success) {
        allowed[_msgSender()][spender] = tokens;
        emit Approval(_msgSender(), spender, tokens);
        return true;
    }
    function transferFrom(address from, address to, uint tokens) override external returns (bool success) {
        balances[from] = balances[from].sub(tokens);
        allowed[from][_msgSender()] = allowed[from][_msgSender()].sub(tokens);
        balances[to] = balances[to].add(tokens);
        emit Transfer(from, to, tokens);
        return true;
    }
    function allowance(address tokenOwner, address spender) override external view returns (uint remaining) {
        return allowed[tokenOwner][spender];
    }

    function setCap(uint _cap, bool _freezeCap) external  {
        require(
            accessControls.hasAdminRole(_msgSender()),
            "MONA.setCap: Sender must be admin"
        );
        require(_freezeCap || _cap >= _totalSupply, "Cap less than totalSupply");
        require(!freezeCap, "Cap frozen");
        (cap, freezeCap) = (_cap, _freezeCap);
        emit CapUpdated(cap, freezeCap);
    }

    function availableToMint() external view returns (uint tokens) {
        if (accessControls.hasMinterRole(_msgSender())) {
            if (cap > 0) {
                tokens = cap.sub(_totalSupply.sub(balances[address(0)]));
            } else {
                tokens = uint(-1);
            }
        } 
    }

    function mint(address tokenOwner, uint tokens) external returns (bool success) {
        require(
            accessControls.hasMinterRole(_msgSender()),
            "MONA.mint: Sender must have permission to mint"
        );
        require(cap == 0 || _totalSupply + tokens <= cap, "Cap exceeded");
        balances[tokenOwner] = balances[tokenOwner].add(tokens);
        _totalSupply = _totalSupply.add(tokens);
        emit Transfer(address(0), tokenOwner, tokens);
        return true;
    }
    function burn(uint tokens) external returns (bool success) {
        balances[_msgSender()] = balances[_msgSender()].sub(tokens);
        _totalSupply = _totalSupply.sub(tokens);
        emit Transfer(_msgSender(), address(0), tokens);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"contract DigitalaxAccessControls","name":"accessControls_","type":"address"},{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"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":false,"internalType":"uint256","name":"cap","type":"uint256"},{"indexed":false,"internalType":"bool","name":"freezeCap","type":"bool"}],"name":"CapUpdated","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":"accessControls","outputs":[{"internalType":"contract DigitalaxAccessControls","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableToMint","outputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeCap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"},{"internalType":"bool","name":"_freezeCap","type":"bool"}],"name":"setCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200114138038062001141833981810160405260c08110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b506040908152602082810151918301516060840151608090940151885193965090945091620001ce916000919089019062000275565b508451620001e490600190602088019062000275565b506002805460ff191660ff861617905560078054610100600160a81b0319166101006001600160a01b038681169190910291909117909155821660008181526004602090815260408083208590556003859055805185815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350505050505062000311565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002b857805160ff1916838001178555620002e8565b82800160010185558215620002e8579182015b82811115620002e8578251825591602001919060010190620002cb565b50620002f6929150620002fa565b5090565b5b80821115620002f65760008155600101620002fb565b610e2080620003216000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806342966c6811610097578063748365ef11610066578063748365ef146102de57806395d89b4114610302578063a9059cbb1461030a578063dd62ed3e1461033657610100565b806342966c681461028b57806351955a0e146102a857806370a08231146102b057806374601c3c146102d657610100565b806323b872dd116100d357806323b872dd14610203578063313ce56714610239578063355274ea1461025757806340c10f191461025f57610100565b806306fdde0314610105578063095ea7b314610182578063156d3a46146101c257806318160ddd146101e9575b600080fd5b61010d610364565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b0381351690602001356103fa565b604080519115158252519081900360200190f35b6101e7600480360360408110156101d857600080fd5b5080359060200135151561048a565b005b6101f1610648565b60408051918252519081900360200190f35b6101ae6004803603606081101561021957600080fd5b506001600160a01b03813581169160208101359091169060400135610685565b6102416107a7565b6040805160ff9092168252519081900360200190f35b6101f16107b0565b6101ae6004803603604081101561027557600080fd5b506001600160a01b0381351690602001356107b6565b6101ae600480360360208110156102a157600080fd5b5035610954565b6101ae6109dc565b6101f1600480360360208110156102c657600080fd5b50356001600160a01b03166109e5565b6101f1610a00565b6102e6610aea565b604080516001600160a01b039092168252519081900360200190f35b61010d610afe565b6101ae6004803603604081101561032057600080fd5b506001600160a01b038135169060200135610b5f565b6101f16004803603604081101561034c57600080fd5b506001600160a01b0381358116916020013516610c12565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156103ef5780601f106103c4576101008083540402835291602001916103ef565b820191906000526020600020905b8154815290600101906020018083116103d257829003601f168201915b505050505090505b90565b60008160056000610409610c3d565b6001600160a01b0390811682526020808301939093526040918201600090812091881680825291909352912091909155610441610c3d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a350600192915050565b60075461010090046001600160a01b031663c395fcb36104a8610c3d565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156104e557600080fd5b505afa1580156104f9573d6000803e3d6000fd5b505050506040513d602081101561050f57600080fd5b505161054c5760405162461bcd60e51b8152600401808060200182810382526021815260200180610dca6021913960400191505060405180910390fd5b808061055a57506003548210155b6105ab576040805162461bcd60e51b815260206004820152601960248201527f436170206c657373207468616e20746f74616c537570706c7900000000000000604482015290519081900360640190fd5b60075460ff16156105f0576040805162461bcd60e51b815260206004820152600a60248201526921b0b810333937bd32b760b11b604482015290519081900360640190fd5b6007805460ff1916821515179081905560068390556040805184815260ff9092161515602083015280517f5ccbef86c2b45d438491635b517911230f8ef84521dd19d85290980f9d0e6d859281900390910190a15050565b600080805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec5460035461068091610c41565b905090565b6001600160a01b0383166000908152600460205260408120546106a89083610c41565b6001600160a01b038516600090815260046020908152604080832093909355600590529081206106fd918491906106dd610c3d565b6001600160a01b0316815260208101919091526040016000205490610c41565b6001600160a01b03851660009081526005602052604081209061071e610c3d565b6001600160a01b03908116825260208083019390935260409182016000908120949094558616835260049091529020546107589083610c8a565b6001600160a01b038085166000818152600460209081526040918290209490945580518681529051919392881692600080516020610daa83398151915292918290030190a35060019392505050565b60025460ff1690565b60065481565b60075460009061010090046001600160a01b031663099db0176107d7610c3d565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561081457600080fd5b505afa158015610828573d6000803e3d6000fd5b505050506040513d602081101561083e57600080fd5b505161087b5760405162461bcd60e51b815260040180806020018281038252602e815260200180610d7c602e913960400191505060405180910390fd5b60065415806108905750600654826003540111155b6108d0576040805162461bcd60e51b815260206004820152600c60248201526b10d85c08195e18d95959195960a21b604482015290519081900360640190fd5b6001600160a01b0383166000908152600460205260409020546108f39083610c8a565b6001600160a01b0384166000908152600460205260409020556003546109199083610c8a565b6003556040805183815290516001600160a01b03851691600091600080516020610daa8339815191529181900360200190a350600192915050565b600061096682600460006106dd610c3d565b60046000610972610c3d565b6001600160a01b031681526020810191909152604001600020556003546109999083610c41565b60035560006109a6610c3d565b6001600160a01b0316600080516020610daa833981519152846040518082815260200191505060405180910390a3506001919050565b60075460ff1681565b6001600160a01b031660009081526004602052604090205490565b60075460009061010090046001600160a01b031663099db017610a21610c3d565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610a5e57600080fd5b505afa158015610a72573d6000803e3d6000fd5b505050506040513d6020811015610a8857600080fd5b5051156103f75760065415610ae3576000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec54600354610adc91610ad39190610c41565b60065490610c41565b90506103f7565b5060001990565b60075461010090046001600160a01b031681565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103ef5780601f106103c4576101008083540402835291602001916103ef565b6000610b7182600460006106dd610c3d565b60046000610b7d610c3d565b6001600160a01b0390811682526020808301939093526040918201600090812094909455861683526004909152902054610bb79083610c8a565b6001600160a01b038416600081815260046020526040902091909155610bdb610c3d565b6001600160a01b0316600080516020610daa833981519152846040518082815260200191505060405180910390a350600192915050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b3390565b6000610c8383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ce4565b9392505050565b600082820183811015610c83576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115610d735760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d38578181015183820152602001610d20565b50505050905090810190601f168015610d655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fe4d4f4e412e6d696e743a2053656e646572206d7573742068617665207065726d697373696f6e20746f206d696e74ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef4d4f4e412e7365744361703a2053656e646572206d7573742062652061646d696ea264697066735822122002d5822b424f47668d72a080a60ffced4b12502fbb0dcac47e5f90a39a36c58464736f6c634300060c003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000003df7f2b0904a92c754178874796fa64aaf8a762000000000000000000000000eff2dd24930d5eda4720af333a55dbb1cfa4ed2d0000000000000000000000000000000000000000000000410d586a20a4c0000000000000000000000000000000000000000000000000000000000000000000044d4f4e410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084d6f6e6176616c65000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c806342966c6811610097578063748365ef11610066578063748365ef146102de57806395d89b4114610302578063a9059cbb1461030a578063dd62ed3e1461033657610100565b806342966c681461028b57806351955a0e146102a857806370a08231146102b057806374601c3c146102d657610100565b806323b872dd116100d357806323b872dd14610203578063313ce56714610239578063355274ea1461025757806340c10f191461025f57610100565b806306fdde0314610105578063095ea7b314610182578063156d3a46146101c257806318160ddd146101e9575b600080fd5b61010d610364565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b0381351690602001356103fa565b604080519115158252519081900360200190f35b6101e7600480360360408110156101d857600080fd5b5080359060200135151561048a565b005b6101f1610648565b60408051918252519081900360200190f35b6101ae6004803603606081101561021957600080fd5b506001600160a01b03813581169160208101359091169060400135610685565b6102416107a7565b6040805160ff9092168252519081900360200190f35b6101f16107b0565b6101ae6004803603604081101561027557600080fd5b506001600160a01b0381351690602001356107b6565b6101ae600480360360208110156102a157600080fd5b5035610954565b6101ae6109dc565b6101f1600480360360208110156102c657600080fd5b50356001600160a01b03166109e5565b6101f1610a00565b6102e6610aea565b604080516001600160a01b039092168252519081900360200190f35b61010d610afe565b6101ae6004803603604081101561032057600080fd5b506001600160a01b038135169060200135610b5f565b6101f16004803603604081101561034c57600080fd5b506001600160a01b0381358116916020013516610c12565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156103ef5780601f106103c4576101008083540402835291602001916103ef565b820191906000526020600020905b8154815290600101906020018083116103d257829003601f168201915b505050505090505b90565b60008160056000610409610c3d565b6001600160a01b0390811682526020808301939093526040918201600090812091881680825291909352912091909155610441610c3d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a350600192915050565b60075461010090046001600160a01b031663c395fcb36104a8610c3d565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156104e557600080fd5b505afa1580156104f9573d6000803e3d6000fd5b505050506040513d602081101561050f57600080fd5b505161054c5760405162461bcd60e51b8152600401808060200182810382526021815260200180610dca6021913960400191505060405180910390fd5b808061055a57506003548210155b6105ab576040805162461bcd60e51b815260206004820152601960248201527f436170206c657373207468616e20746f74616c537570706c7900000000000000604482015290519081900360640190fd5b60075460ff16156105f0576040805162461bcd60e51b815260206004820152600a60248201526921b0b810333937bd32b760b11b604482015290519081900360640190fd5b6007805460ff1916821515179081905560068390556040805184815260ff9092161515602083015280517f5ccbef86c2b45d438491635b517911230f8ef84521dd19d85290980f9d0e6d859281900390910190a15050565b600080805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec5460035461068091610c41565b905090565b6001600160a01b0383166000908152600460205260408120546106a89083610c41565b6001600160a01b038516600090815260046020908152604080832093909355600590529081206106fd918491906106dd610c3d565b6001600160a01b0316815260208101919091526040016000205490610c41565b6001600160a01b03851660009081526005602052604081209061071e610c3d565b6001600160a01b03908116825260208083019390935260409182016000908120949094558616835260049091529020546107589083610c8a565b6001600160a01b038085166000818152600460209081526040918290209490945580518681529051919392881692600080516020610daa83398151915292918290030190a35060019392505050565b60025460ff1690565b60065481565b60075460009061010090046001600160a01b031663099db0176107d7610c3d565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561081457600080fd5b505afa158015610828573d6000803e3d6000fd5b505050506040513d602081101561083e57600080fd5b505161087b5760405162461bcd60e51b815260040180806020018281038252602e815260200180610d7c602e913960400191505060405180910390fd5b60065415806108905750600654826003540111155b6108d0576040805162461bcd60e51b815260206004820152600c60248201526b10d85c08195e18d95959195960a21b604482015290519081900360640190fd5b6001600160a01b0383166000908152600460205260409020546108f39083610c8a565b6001600160a01b0384166000908152600460205260409020556003546109199083610c8a565b6003556040805183815290516001600160a01b03851691600091600080516020610daa8339815191529181900360200190a350600192915050565b600061096682600460006106dd610c3d565b60046000610972610c3d565b6001600160a01b031681526020810191909152604001600020556003546109999083610c41565b60035560006109a6610c3d565b6001600160a01b0316600080516020610daa833981519152846040518082815260200191505060405180910390a3506001919050565b60075460ff1681565b6001600160a01b031660009081526004602052604090205490565b60075460009061010090046001600160a01b031663099db017610a21610c3d565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610a5e57600080fd5b505afa158015610a72573d6000803e3d6000fd5b505050506040513d6020811015610a8857600080fd5b5051156103f75760065415610ae3576000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec54600354610adc91610ad39190610c41565b60065490610c41565b90506103f7565b5060001990565b60075461010090046001600160a01b031681565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103ef5780601f106103c4576101008083540402835291602001916103ef565b6000610b7182600460006106dd610c3d565b60046000610b7d610c3d565b6001600160a01b0390811682526020808301939093526040918201600090812094909455861683526004909152902054610bb79083610c8a565b6001600160a01b038416600081815260046020526040902091909155610bdb610c3d565b6001600160a01b0316600080516020610daa833981519152846040518082815260200191505060405180910390a350600192915050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b3390565b6000610c8383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610ce4565b9392505050565b600082820183811015610c83576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115610d735760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610d38578181015183820152602001610d20565b50505050905090810190601f168015610d655780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fe4d4f4e412e6d696e743a2053656e646572206d7573742068617665207065726d697373696f6e20746f206d696e74ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef4d4f4e412e7365744361703a2053656e646572206d7573742062652061646d696ea264697066735822122002d5822b424f47668d72a080a60ffced4b12502fbb0dcac47e5f90a39a36c58464736f6c634300060c0033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001200000000000000000000000003df7f2b0904a92c754178874796fa64aaf8a762000000000000000000000000eff2dd24930d5eda4720af333a55dbb1cfa4ed2d0000000000000000000000000000000000000000000000410d586a20a4c0000000000000000000000000000000000000000000000000000000000000000000044d4f4e410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084d6f6e6176616c65000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : symbol_ (string): MONA
Arg [1] : name_ (string): Monavale
Arg [2] : decimals_ (uint8): 18
Arg [3] : accessControls_ (address): 0x03DF7F2B0904a92c754178874796fa64aaF8A762
Arg [4] : tokenOwner (address): 0xEFf2dd24930D5eDA4720Af333a55DBB1CfA4ED2D
Arg [5] : initialSupply (uint256): 1200000000000000000000

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000003df7f2b0904a92c754178874796fa64aaf8a762
Arg [4] : 000000000000000000000000eff2dd24930d5eda4720af333a55dbb1cfa4ed2d
Arg [5] : 0000000000000000000000000000000000000000000000410d586a20a4c00000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4d4f4e4100000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 4d6f6e6176616c65000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

35926:4077:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36974:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37714:223;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37714:223:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;38473:414;;;;;;;;;;;;;;;;-1:-1:-1;38473:414:0;;;;;;;;;:::i;:::-;;37156:125;;;:::i;:::-;;;;;;;;;;;;;;;;37943:358;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37943:358:0;;;;;;;;;;;;;;;;;:::i;37065:85::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36187:15;;;:::i;39221:506::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39221:506:0;;;;;;;;:::i;39733:267::-;;;;;;;;;;;;;;;;-1:-1:-1;39733:267:0;;:::i;36209:21::-;;;:::i;37287:131::-;;;;;;;;;;;;;;;;-1:-1:-1;37287:131:0;-1:-1:-1;;;;;37287:131:0;;:::i;38895:318::-;;;:::i;36239:45::-;;;:::i;:::-;;;;-1:-1:-1;;;;;36239:45:0;;;;;;;;;;;;;;36879:89;;;:::i;37424:284::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;37424:284:0;;;;;;;;:::i;38307:158::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38307:158:0;;;;;;;;;;:::i;36974:85::-;37046:5;37039:12;;;;;;;;-1:-1:-1;;37039:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37013:13;;37039:12;;37046:5;;37039:12;;37046:5;37039:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36974:85;;:::o;37714:223::-;37788:12;37846:6;37813:7;:21;37821:12;:10;:12::i;:::-;-1:-1:-1;;;;;37813:21:0;;;;;;;;;;;;;;;;;-1:-1:-1;37813:21:0;;;:30;;;;;;;;;;;;:39;;;;37877:12;:10;:12::i;:::-;-1:-1:-1;;;;;37868:39:0;;37900:6;37868:39;;;;;;;;;;;;;;;;;;-1:-1:-1;37925:4:0;37714:223;;;;:::o;38473:414::-;38560:14;;;;;-1:-1:-1;;;;;38560:14:0;:27;38588:12;:10;:12::i;:::-;38560:41;;;;;;;;;;;;;-1:-1:-1;;;;;38560:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38560:41:0;38538:124;;;;-1:-1:-1;;;38538:124:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38681:10;:34;;;;38703:12;;38695:4;:20;;38681:34;38673:72;;;;;-1:-1:-1;;;38673:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38765:9;;;;38764:10;38756:33;;;;;-1:-1:-1;;;38756:33:0;;;;;;;;;;;;-1:-1:-1;;;38756:33:0;;;;;;;;;;;;;;;38806:9;38800:37;;-1:-1:-1;;38800:37:0;;;;;;;;;38801:3;38800:37;;;38853:26;;;;;;38800:37;38869:9;;;38853:26;;;;;;;;;;;;;;;;;;38473:414;;:::o;37156:125::-;37211:4;37252:20;;;:8;:20;;;;37235:12;;:38;;:16;:38::i;:::-;37228:45;;37156:125;:::o;37943:358::-;-1:-1:-1;;;;;38073:14:0;;38031:12;38073:14;;;:8;:14;;;;;;:26;;38092:6;38073:18;:26::i;:::-;-1:-1:-1;;;;;38056:14:0;;;;;;:8;:14;;;;;;;;:43;;;;38140:7;:13;;;;;:39;;38172:6;;38140:13;38154:12;:10;:12::i;:::-;-1:-1:-1;;;;;38140:27:0;;;;;;;;;;;;-1:-1:-1;38140:27:0;;;:31;:39::i;:::-;-1:-1:-1;;;;;38110:13:0;;;;;;:7;:13;;;;;;38124:12;:10;:12::i;:::-;-1:-1:-1;;;;;38110:27:0;;;;;;;;;;;;;;;;;-1:-1:-1;38110:27:0;;;:69;;;;38205:12;;;;:8;:12;;;;;;:24;;38222:6;38205:16;:24::i;:::-;-1:-1:-1;;;;;38190:12:0;;;;;;;:8;:12;;;;;;;;;:39;;;;38245:26;;;;;;;38190:12;;38245:26;;;;-1:-1:-1;;;;;;;;;;;38245:26:0;;;;;;;;-1:-1:-1;38289:4:0;37943:358;;;;;:::o;37065:85::-;37133:9;;;;37065:85;:::o;36187:15::-;;;;:::o;39221:506::-;39333:14;;39286:12;;39333:14;;;-1:-1:-1;;;;;39333:14:0;:28;39362:12;:10;:12::i;:::-;39333:42;;;;;;;;;;;;;-1:-1:-1;;;;;39333:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39333:42:0;39311:138;;;;-1:-1:-1;;;39311:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39468:3;;:8;;:40;;;39505:3;;39495:6;39480:12;;:21;:28;;39468:40;39460:65;;;;;-1:-1:-1;;;39460:65:0;;;;;;;;;;;;-1:-1:-1;;;39460:65:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;39559:20:0;;;;;;:8;:20;;;;;;:32;;39584:6;39559:24;:32::i;:::-;-1:-1:-1;;;;;39536:20:0;;;;;;:8;:20;;;;;:55;39617:12;;:24;;39634:6;39617:16;:24::i;:::-;39602:12;:39;39657:40;;;;;;;;-1:-1:-1;;;;;39657:40:0;;;39674:1;;-1:-1:-1;;;;;;;;;;;39657:40:0;;;;;;;;-1:-1:-1;39715:4:0;39221:506;;;;:::o;39733:267::-;39778:12;39828:34;39855:6;39828:8;:22;39837:12;:10;:12::i;39828:34::-;39803:8;:22;39812:12;:10;:12::i;:::-;-1:-1:-1;;;;;39803:22:0;;;;;;;;;;;;-1:-1:-1;39803:22:0;:59;39888:12;;:24;;39905:6;39888:16;:24::i;:::-;39873:12;:39;39959:1;39937:12;:10;:12::i;:::-;-1:-1:-1;;;;;39928:42:0;-1:-1:-1;;;;;;;;;;;39963:6:0;39928:42;;;;;;;;;;;;;;;;;;-1:-1:-1;39988:4:0;39733:267;;;:::o;36209:21::-;;;;;;:::o;37287:131::-;-1:-1:-1;;;;;37390:20:0;37358:12;37390:20;;;:8;:20;;;;;;;37287:131::o;38895:318::-;38973:14;;38945:11;;38973:14;;;-1:-1:-1;;;;;38973:14:0;:28;39002:12;:10;:12::i;:::-;38973:42;;;;;;;;;;;;;-1:-1:-1;;;;;38973:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38973:42:0;38969:236;;;39036:3;;:7;39032:162;;39098:20;;;:8;:20;;;;39081:12;;39073:47;;39081:38;;:12;:16;:38::i;:::-;39073:3;;;:7;:47::i;:::-;39064:56;;39032:162;;;-1:-1:-1;;;38895:318:0;:::o;36239:45::-;;;;;;-1:-1:-1;;;;;36239:45:0;;:::o;36879:89::-;36953:7;36946:14;;;;;;;;-1:-1:-1;;36946:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36920:13;;36946:14;;36953:7;;36946:14;;36953:7;36946:14;;;;;;;;;;;;;;;;;;;;;;;;37424:284;37494:12;37544:34;37571:6;37544:8;:22;37553:12;:10;:12::i;37544:34::-;37519:8;:22;37528:12;:10;:12::i;:::-;-1:-1:-1;;;;;37519:22:0;;;;;;;;;;;;;;;;;-1:-1:-1;37519:22:0;;;:59;;;;37604:12;;;;:8;:12;;;;;;:24;;37621:6;37604:16;:24::i;:::-;-1:-1:-1;;;;;37589:12:0;;;;;;:8;:12;;;;;:39;;;;37653:12;:10;:12::i;:::-;-1:-1:-1;;;;;37644:34:0;-1:-1:-1;;;;;;;;;;;37671:6:0;37644:34;;;;;;;;;;;;;;;;;;-1:-1:-1;37696:4:0;37424:284;;;;:::o;38307:158::-;-1:-1:-1;;;;;38429:19:0;;;38395:14;38429:19;;;:7;:19;;;;;;;;:28;;;;;;;;;;;;;38307:158::o;8836:106::-;8924:10;8836:106;:::o;4206:136::-;4264:7;4291:43;4295:1;4298;4291:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4284:50;4206:136;-1:-1:-1;;;4206:136:0:o;3742:181::-;3800:7;3832:5;;;3856:6;;;;3848:46;;;;;-1:-1:-1;;;3848:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;4645:192;4731:7;4767:12;4759:6;;;;4751:29;;;;-1:-1:-1;;;4751:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4803:5:0;;;4645:192::o

Swarm Source

ipfs://02d5822b424f47668d72a080a60ffced4b12502fbb0dcac47e5f90a39a36c584

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

DIGITALAX is a digital fashion NFT engine built on the Ethereum network. It aims to offer digital fashion NFT house for all gaming, VR and metaverses in the crypto ecosystem.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.