CRO Price: $0.10 (-3.56%)

Contract

0x83aFB1C32E5637ACd0a452D87c3249f4a9F0013A

Overview

CRO Balance

Cronos Chain LogoCronos Chain LogoCronos Chain Logo0 CRO

CRO Value

$0.00

More Info

Private Name Tags

TokenTracker

FUL (FUL) (@$0.0065)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer144519672024-06-17 17:24:4718 mins ago1718645087IN
Fulcrom: FUL Token
0 CRO0.411458857,575
Approve144518092024-06-17 17:09:5933 mins ago1718644199IN
Fulcrom: FUL Token
0 CRO0.232889845,001.5
Approve144516012024-06-17 16:50:3452 mins ago1718643034IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Transfer144515882024-06-17 16:49:2153 mins ago1718642961IN
Fulcrom: FUL Token
0 CRO0.28406257,575
Approve144515652024-06-17 16:47:1256 mins ago1718642832IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Approve144512862024-06-17 16:21:031 hr ago1718641263IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Approve144508302024-06-17 15:38:202 hrs ago1718638700IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Transfer144507362024-06-17 15:29:332 hrs ago1718638173IN
Fulcrom: FUL Token
0 CRO0.5055,050
Approve144502712024-06-17 14:46:082 hrs ago1718635568IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Approve144500262024-06-17 14:23:173 hrs ago1718634197IN
Fulcrom: FUL Token
0 CRO0.233496485,047.045
Transfer144499642024-06-17 14:17:303 hrs ago1718633850IN
Fulcrom: FUL Token
0 CRO0.411458857,575
Approve144495872024-06-17 13:42:164 hrs ago1718631736IN
Fulcrom: FUL Token
0 CRO0.270420435,807.5
Approve144494382024-06-17 13:28:214 hrs ago1718630901IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Transfer144492692024-06-17 13:12:324 hrs ago1718629952IN
Fulcrom: FUL Token
0 CRO0.274163845,048.5
Approve144492452024-06-17 13:10:184 hrs ago1718629818IN
Fulcrom: FUL Token
0 CRO0.147313145,047.045
Transfer144492442024-06-17 13:10:124 hrs ago1718629812IN
Fulcrom: FUL Token
0 CRO0.187780355,047.045
Transfer144492362024-06-17 13:09:274 hrs ago1718629767IN
Fulcrom: FUL Token
0 CRO0.187895075,048.5
Approve144491652024-06-17 13:02:504 hrs ago1718629370IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Approve144486602024-06-17 12:15:435 hrs ago1718626543IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Approve144484132024-06-17 11:52:395 hrs ago1718625159IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Transfer144483992024-06-17 11:51:215 hrs ago1718625081IN
Fulcrom: FUL Token
0 CRO0.411549757,575
Approve144483542024-06-17 11:47:095 hrs ago1718624829IN
Fulcrom: FUL Token
0 CRO0.24213285,200
Approve144482702024-06-17 11:39:196 hrs ago1718624359IN
Fulcrom: FUL Token
0 CRO0.23514825,050
Approve144480902024-06-17 11:22:326 hrs ago1718623352IN
Fulcrom: FUL Token
0 CRO0.282177846,060
Transfer144479782024-06-17 11:12:066 hrs ago1718622726IN
Fulcrom: FUL Token
0 CRO0.411367957,575
View all transactions

Parent Transaction Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FUL

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion
File 1 of 9 : FUL.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../tokens/MintableBaseToken.sol";

contract FUL is MintableBaseToken {
    constructor() MintableBaseToken("FUL", "FUL", 0) {
    }

    function id() external pure returns (string memory _name) {
        return "FUL";
    }
}

File 2 of 9 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 3 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 4 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 5 of 9 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 6 of 9 : BaseToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

import "./interfaces/IBaseToken.sol";

contract BaseToken is IERC20, IBaseToken {
    using SafeERC20 for IERC20;

    string public name;
    string public symbol;
    uint8 public constant decimals = 18;

    uint256 public override totalSupply;

    address public gov;

    mapping (address => uint256) public balances;
    mapping (address => mapping (address => uint256)) public allowances;

    bool public inPrivateTransferMode;
    mapping (address => bool) public isHandler;

    event UpdateGov(address gov);
    event UpdateInfo(string name, string symbol);
    event SetHandler(address handler, bool active);
    event UpdatePrivateTransferMode(bool inPrivateTransferMode);

    modifier onlyGov() {
        require(msg.sender == gov, "BaseToken: forbidden");
        _;
    }

    constructor(string memory _name, string memory _symbol, uint256 _initialSupply) {
        name = _name;
        symbol = _symbol;
        gov = msg.sender;
        _mint(msg.sender, _initialSupply);
    }

    function setGov(address _gov) external onlyGov {
        require(_gov != address(0), "BaseToken: zero address");
        gov = _gov;
        emit UpdateGov(gov);
    }

    function setInfo(string memory _name, string memory _symbol) external onlyGov {
        name = _name;
        symbol = _symbol;
        emit UpdateInfo(_name, _symbol);
    }

    // to help users who accidentally send their tokens to this contract
    function withdrawToken(address _token, address _account, uint256 _amount) external override onlyGov {
        IERC20(_token).safeTransfer(_account, _amount);
    }

    function setInPrivateTransferMode(bool _inPrivateTransferMode) external override onlyGov {
        inPrivateTransferMode = _inPrivateTransferMode;
        emit UpdatePrivateTransferMode(_inPrivateTransferMode);
    }

    function setHandler(address _handler, bool _isActive) external onlyGov {
        require(_handler != address(0), "BaseToken: zero address");
        isHandler[_handler] = _isActive;
        emit SetHandler(_handler, _isActive);
    }

    function balanceOf(address _account) external view override returns (uint256) {
        return balances[_account];
    }

    function transfer(address _recipient, uint256 _amount) external override returns (bool) {
        _transfer(msg.sender, _recipient, _amount);
        return true;
    }

    function allowance(address _owner, address _spender) external view override returns (uint256) {
        return allowances[_owner][_spender];
    }

    function approve(address _spender, uint256 _amount) external override returns (bool) {
        _approve(msg.sender, _spender, _amount);
        return true;
    }

    function transferFrom(address _sender, address _recipient, uint256 _amount) external override returns (bool) {
        if (isHandler[msg.sender]) {
            _transfer(_sender, _recipient, _amount);
            return true;
        }
        require(allowances[_sender][msg.sender] >= _amount,  "BaseToken: transfer amount exceeds allowance");
        uint256 nextAllowance = allowances[_sender][msg.sender] - _amount;
        _approve(_sender, msg.sender, nextAllowance);
        _transfer(_sender, _recipient, _amount);
        return true;
    }

    function _mint(address _account, uint256 _amount) internal {
        require(_account != address(0), "BaseToken: mint to the zero address");

        totalSupply = totalSupply + _amount;
        balances[_account] = balances[_account] + _amount;

        emit Transfer(address(0), _account, _amount);
    }

    function _burn(address _account, uint256 _amount) internal {
        require(_account != address(0), "BaseToken: burn from the zero address");

        require(balances[_account] >= _amount, "BaseToken: burn amount exceeds balance");
        balances[_account] = balances[_account] - _amount;
        totalSupply = totalSupply - _amount;

        emit Transfer(_account, address(0), _amount);
    }

    function _transfer(address _sender, address _recipient, uint256 _amount) private {
        require(_sender != address(0), "BaseToken: transfer from the zero address");
        require(_recipient != address(0), "BaseToken: transfer to the zero address");

        if (inPrivateTransferMode) {
            require(isHandler[msg.sender], "BaseToken: msg.sender not whitelisted");
        }

        require(balances[_sender] >= _amount, "BaseToken: transfer amount exceeds balance");
        balances[_sender] = balances[_sender] - _amount;
        balances[_recipient] = balances[_recipient] + _amount;

        emit Transfer(_sender, _recipient,_amount);
    }

    function _approve(address _owner, address _spender, uint256 _amount) private {
        require(_owner != address(0), "BaseToken: approve from the zero address");
        require(_spender != address(0), "BaseToken: approve to the zero address");

        allowances[_owner][_spender] = _amount;

        emit Approval(_owner, _spender, _amount);
    }
}

File 7 of 9 : IBaseToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IBaseToken {
    function setInPrivateTransferMode(bool _inPrivateTransferMode) external;
    function withdrawToken(address _token, address _account, uint256 _amount) external;
}

File 8 of 9 : IMintable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IMintable {
    function isMinter(address _account) external returns (bool);
    function setMinter(address _minter, bool _isActive) external;
    function mint(address _account, uint256 _amount) external;
    function burn(address _account, uint256 _amount) external;
}

File 9 of 9 : MintableBaseToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./BaseToken.sol";
import "./interfaces/IMintable.sol";

contract MintableBaseToken is BaseToken, IMintable {

    mapping (address => bool) public override isMinter;

    constructor(string memory _name, string memory _symbol, uint256 _initialSupply) BaseToken(_name, _symbol, _initialSupply) {
    }

    modifier onlyMinter() {
        require(isMinter[msg.sender], "MintableBaseToken: forbidden");
        _;
    }

    function setMinter(address _minter, bool _isActive) external override onlyGov {
        isMinter[_minter] = _isActive;
    }

    function mint(address _account, uint256 _amount) external override onlyMinter {
        _mint(_account, _amount);
    }

    function burn(address _account, uint256 _amount) external override onlyMinter {
        _burn(_account, _amount);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"address","name":"handler","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"SetHandler","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"gov","type":"address"}],"name":"UpdateGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"}],"name":"UpdateInfo","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"inPrivateTransferMode","type":"bool"}],"name":"UpdatePrivateTransferMode","type":"event"},{"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":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowances","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":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"id","outputs":[{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"inPrivateTransferMode","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isHandler","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_gov","type":"address"}],"name":"setGov","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_handler","type":"address"},{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setHandler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_inPrivateTransferMode","type":"bool"}],"name":"setInPrivateTransferMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"setInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"},{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060408051808201825260038082526211955360ea1b60208084018290528451808601909552918452908301529060008282828062000051848262000231565b50600162000060838262000231565b50600380546001600160a01b031916339081179091556200008290826200008e565b50505050505062000325565b6001600160a01b038216620000f55760405162461bcd60e51b815260206004820152602360248201527f42617365546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b606482015260840160405180910390fd5b80600254620001059190620002fd565b6002556001600160a01b0382166000908152600460205260409020546200012e908290620002fd565b6001600160a01b0383166000818152600460205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90620001809085815260200190565b60405180910390a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001b757607f821691505b602082108103620001d857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022c57600081815260208120601f850160051c81016020861015620002075750805b601f850160051c820191505b81811015620002285782815560010162000213565b5050505b505050565b81516001600160401b038111156200024d576200024d6200018c565b62000265816200025e8454620001a2565b84620001de565b602080601f8311600181146200029d5760008415620002845750858301515b600019600386901b1c1916600185901b17855562000228565b600085815260208120601f198616915b82811015620002ce57888601518255948401946001909101908401620002ad565b5085821015620002ed5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200031f57634e487b7160e01b600052601160045260246000fd5b92915050565b61169d80620003356000396000f3fe608060405234801561001057600080fd5b50600436106101285760003560e01c806301e336671461012d57806306fdde0314610142578063095ea7b31461016057806312d43a511461018357806318160ddd146101a357806323b872dd146101ba57806327e235e3146101cd578063313ce567146101ed57806340c10f191461020757806346ea87af1461021a57806355b6ed5c1461023d5780635a47a1a71461026857806370a082311461027b57806395d89b41146102a45780639cb7de4b146102ac5780639dc29fac146102bf578063a9059cbb146102d2578063a923fc40146102e5578063aa271e1a146102f8578063af640d0f1461031b578063cf456ae71461033a578063cfad57a21461034d578063dd62ed3e14610360578063dfbaefb114610399575b600080fd5b61014061013b366004611113565b6103a6565b005b61014a6103f2565b604051610157919061119f565b60405180910390f35b61017361016e3660046111b2565b610480565b6040519015158152602001610157565b600354610196906001600160a01b031681565b60405161015791906111dc565b6101ac60025481565b604051908152602001610157565b6101736101c8366004611113565b610497565b6101ac6101db3660046111f0565b60046020526000908152604090205481565b6101f5601281565b60405160ff9091168152602001610157565b6101406102153660046111b2565b61058c565b6101736102283660046111f0565b60076020526000908152604090205460ff1681565b6101ac61024b36600461120b565b600560209081526000928352604080842090915290825290205481565b61014061027636600461124f565b6105c9565b6101ac6102893660046111f0565b6001600160a01b031660009081526004602052604090205490565b61014a61063b565b6101406102ba36600461126c565b610648565b6101406102cd3660046111b2565b6106fc565b6101736102e03660046111b2565b610735565b6101406102f3366004611345565b610742565b6101736103063660046111f0565b60086020526000908152604090205460ff1681565b60408051808201909152600381526211955360ea1b602082015261014a565b61014061034836600461126c565b6107b7565b61014061035b3660046111f0565b61080c565b6101ac61036e36600461120b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6006546101739060ff1681565b6003546001600160a01b031633146103d95760405162461bcd60e51b81526004016103d0906113a8565b60405180910390fd5b6103ed6001600160a01b03841683836108a8565b505050565b600080546103ff906113d6565b80601f016020809104026020016040519081016040528092919081815260200182805461042b906113d6565b80156104785780601f1061044d57610100808354040283529160200191610478565b820191906000526020600020905b81548152906001019060200180831161045b57829003601f168201915b505050505081565b600061048d3384846108fa565b5060015b92915050565b3360009081526007602052604081205460ff16156104c2576104ba848484610a28565b506001610585565b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156105385760405162461bcd60e51b815260206004820152602c602482015260008051602061162883398151915260448201526b647320616c6c6f77616e636560a01b60648201526084016103d0565b6001600160a01b0384166000908152600560209081526040808320338452909152812054610567908490611426565b90506105748533836108fa565b61057f858585610a28565b60019150505b9392505050565b3360009081526008602052604090205460ff166105bb5760405162461bcd60e51b81526004016103d090611439565b6105c58282610c6d565b5050565b6003546001600160a01b031633146105f35760405162461bcd60e51b81526004016103d0906113a8565b6006805460ff19168215159081179091556040519081527fe49c1f88d0bc68e3e6d2636db52f2284a27775a59bdf794345e6e7e18c028f66906020015b60405180910390a150565b600180546103ff906113d6565b6003546001600160a01b031633146106725760405162461bcd60e51b81526004016103d0906113a8565b6001600160a01b0382166106985760405162461bcd60e51b81526004016103d09061146f565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527fd373464a39404e5f98fdb4b152b8ba9a094561e97e5c4b4ea11eb18cd9e6695e91015b60405180910390a15050565b3360009081526008602052604090205460ff1661072b5760405162461bcd60e51b81526004016103d090611439565b6105c58282610d4f565b600061048d338484610a28565b6003546001600160a01b0316331461076c5760405162461bcd60e51b81526004016103d0906113a8565b600061077883826114ee565b50600161078582826114ee565b507f4472e4d749e8a54068b22737b49ce8e094d89348e65ac4a0a6a2b4a26358e97882826040516106f09291906115ad565b6003546001600160a01b031633146107e15760405162461bcd60e51b81526004016103d0906113a8565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6003546001600160a01b031633146108365760405162461bcd60e51b81526004016103d0906113a8565b6001600160a01b03811661085c5760405162461bcd60e51b81526004016103d09061146f565b600380546001600160a01b0319166001600160a01b0383169081179091556040517fe24c39186e9137521953beaa8446e71f55b8f12296984f9d4273ceb1af728d9091610630916111dc565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526103ed908490610ea4565b6001600160a01b0383166109615760405162461bcd60e51b815260206004820152602860248201527f42617365546f6b656e3a20617070726f76652066726f6d20746865207a65726f604482015267206164647265737360c01b60648201526084016103d0565b6001600160a01b0382166109c65760405162461bcd60e51b815260206004820152602660248201527f42617365546f6b656e3a20617070726f766520746f20746865207a65726f206160448201526564647265737360d01b60648201526084016103d0565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a905760405162461bcd60e51b815260206004820152602960248201527f42617365546f6b656e3a207472616e736665722066726f6d20746865207a65726044820152686f206164647265737360b81b60648201526084016103d0565b6001600160a01b038216610af65760405162461bcd60e51b815260206004820152602760248201527f42617365546f6b656e3a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b60648201526084016103d0565b60065460ff1615610b6e573360009081526007602052604090205460ff16610b6e5760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206d73672e73656e646572206e6f742077686974656c6044820152641a5cdd195960da1b60648201526084016103d0565b6001600160a01b038316600090815260046020526040902054811115610bd75760405162461bcd60e51b815260206004820152602a602482015260008051602061162883398151915260448201526964732062616c616e636560b01b60648201526084016103d0565b6001600160a01b038316600090815260046020526040902054610bfb908290611426565b6001600160a01b038085166000908152600460205260408082209390935590841681522054610c2b9082906115db565b6001600160a01b03808416600081815260046020526040908190209390935591519085169060008051602061164883398151915290610a1b9085815260200190565b6001600160a01b038216610ccf5760405162461bcd60e51b815260206004820152602360248201527f42617365546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103d0565b80600254610cdd91906115db565b6002556001600160a01b038216600090815260046020526040902054610d049082906115db565b6001600160a01b03831660008181526004602052604080822093909355915190919060008051602061164883398151915290610d439085815260200190565b60405180910390a35050565b6001600160a01b038216610db35760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206275726e2066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103d0565b6001600160a01b038216600090815260046020526040902054811115610e2a5760405162461bcd60e51b815260206004820152602660248201527f42617365546f6b656e3a206275726e20616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103d0565b6001600160a01b038216600090815260046020526040902054610e4e908290611426565b6001600160a01b038316600090815260046020526040902055600254610e75908290611426565b6002556040518181526000906001600160a01b0384169060008051602061164883398151915290602001610d43565b6000610ef9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f769092919063ffffffff16565b8051909150156103ed5780806020019051810190610f1791906115ee565b6103ed5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103d0565b6060610f858484600085610f8d565b949350505050565b606082471015610fee5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103d0565b6001600160a01b0385163b6110455760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103d0565b600080866001600160a01b03168587604051611061919061160b565b60006040518083038185875af1925050503d806000811461109e576040519150601f19603f3d011682016040523d82523d6000602084013e6110a3565b606091505b50915091506110b38282866110be565b979650505050505050565b606083156110cd575081610585565b8251156110dd5782518084602001fd5b8160405162461bcd60e51b81526004016103d0919061119f565b80356001600160a01b038116811461110e57600080fd5b919050565b60008060006060848603121561112857600080fd5b611131846110f7565b925061113f602085016110f7565b9150604084013590509250925092565b60005b8381101561116a578181015183820152602001611152565b50506000910152565b6000815180845261118b81602086016020860161114f565b601f01601f19169290920160200192915050565b6020815260006105856020830184611173565b600080604083850312156111c557600080fd5b6111ce836110f7565b946020939093013593505050565b6001600160a01b0391909116815260200190565b60006020828403121561120257600080fd5b610585826110f7565b6000806040838503121561121e57600080fd5b611227836110f7565b9150611235602084016110f7565b90509250929050565b801515811461124c57600080fd5b50565b60006020828403121561126157600080fd5b81356105858161123e565b6000806040838503121561127f57600080fd5b611288836110f7565b915060208301356112988161123e565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126112ca57600080fd5b81356001600160401b03808211156112e4576112e46112a3565b604051601f8301601f19908116603f0116810190828211818310171561130c5761130c6112a3565b8160405283815286602085880101111561132557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561135857600080fd5b82356001600160401b038082111561136f57600080fd5b61137b868387016112b9565b9350602085013591508082111561139157600080fd5b5061139e858286016112b9565b9150509250929050565b6020808252601490820152732130b9b2aa37b5b2b71d103337b93134b23232b760611b604082015260600190565b600181811c908216806113ea57607f821691505b60208210810361140a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561049157610491611410565b6020808252601c908201527b26b4b73a30b13632a130b9b2aa37b5b2b71d103337b93134b23232b760211b604082015260600190565b60208082526017908201527642617365546f6b656e3a207a65726f206164647265737360481b604082015260600190565b601f8211156103ed57600081815260208120601f850160051c810160208610156114c75750805b601f850160051c820191505b818110156114e6578281556001016114d3565b505050505050565b81516001600160401b03811115611507576115076112a3565b61151b8161151584546113d6565b846114a0565b602080601f83116001811461155057600084156115385750858301515b600019600386901b1c1916600185901b1785556114e6565b600085815260208120601f198616915b8281101561157f57888601518255948401946001909101908401611560565b508582101561159d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6040815260006115c06040830185611173565b82810360208401526115d28185611173565b95945050505050565b8082018082111561049157610491611410565b60006020828403121561160057600080fd5b81516105858161123e565b6000825161161d81846020870161114f565b919091019291505056fe42617365546f6b656e3a207472616e7366657220616d6f756e74206578636565ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e77f72f3a7487f046350b2679db7326b825ae10aa11100eed560254a938f4bf464736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101285760003560e01c806301e336671461012d57806306fdde0314610142578063095ea7b31461016057806312d43a511461018357806318160ddd146101a357806323b872dd146101ba57806327e235e3146101cd578063313ce567146101ed57806340c10f191461020757806346ea87af1461021a57806355b6ed5c1461023d5780635a47a1a71461026857806370a082311461027b57806395d89b41146102a45780639cb7de4b146102ac5780639dc29fac146102bf578063a9059cbb146102d2578063a923fc40146102e5578063aa271e1a146102f8578063af640d0f1461031b578063cf456ae71461033a578063cfad57a21461034d578063dd62ed3e14610360578063dfbaefb114610399575b600080fd5b61014061013b366004611113565b6103a6565b005b61014a6103f2565b604051610157919061119f565b60405180910390f35b61017361016e3660046111b2565b610480565b6040519015158152602001610157565b600354610196906001600160a01b031681565b60405161015791906111dc565b6101ac60025481565b604051908152602001610157565b6101736101c8366004611113565b610497565b6101ac6101db3660046111f0565b60046020526000908152604090205481565b6101f5601281565b60405160ff9091168152602001610157565b6101406102153660046111b2565b61058c565b6101736102283660046111f0565b60076020526000908152604090205460ff1681565b6101ac61024b36600461120b565b600560209081526000928352604080842090915290825290205481565b61014061027636600461124f565b6105c9565b6101ac6102893660046111f0565b6001600160a01b031660009081526004602052604090205490565b61014a61063b565b6101406102ba36600461126c565b610648565b6101406102cd3660046111b2565b6106fc565b6101736102e03660046111b2565b610735565b6101406102f3366004611345565b610742565b6101736103063660046111f0565b60086020526000908152604090205460ff1681565b60408051808201909152600381526211955360ea1b602082015261014a565b61014061034836600461126c565b6107b7565b61014061035b3660046111f0565b61080c565b6101ac61036e36600461120b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6006546101739060ff1681565b6003546001600160a01b031633146103d95760405162461bcd60e51b81526004016103d0906113a8565b60405180910390fd5b6103ed6001600160a01b03841683836108a8565b505050565b600080546103ff906113d6565b80601f016020809104026020016040519081016040528092919081815260200182805461042b906113d6565b80156104785780601f1061044d57610100808354040283529160200191610478565b820191906000526020600020905b81548152906001019060200180831161045b57829003601f168201915b505050505081565b600061048d3384846108fa565b5060015b92915050565b3360009081526007602052604081205460ff16156104c2576104ba848484610a28565b506001610585565b6001600160a01b03841660009081526005602090815260408083203384529091529020548211156105385760405162461bcd60e51b815260206004820152602c602482015260008051602061162883398151915260448201526b647320616c6c6f77616e636560a01b60648201526084016103d0565b6001600160a01b0384166000908152600560209081526040808320338452909152812054610567908490611426565b90506105748533836108fa565b61057f858585610a28565b60019150505b9392505050565b3360009081526008602052604090205460ff166105bb5760405162461bcd60e51b81526004016103d090611439565b6105c58282610c6d565b5050565b6003546001600160a01b031633146105f35760405162461bcd60e51b81526004016103d0906113a8565b6006805460ff19168215159081179091556040519081527fe49c1f88d0bc68e3e6d2636db52f2284a27775a59bdf794345e6e7e18c028f66906020015b60405180910390a150565b600180546103ff906113d6565b6003546001600160a01b031633146106725760405162461bcd60e51b81526004016103d0906113a8565b6001600160a01b0382166106985760405162461bcd60e51b81526004016103d09061146f565b6001600160a01b038216600081815260076020908152604091829020805460ff19168515159081179091558251938452908301527fd373464a39404e5f98fdb4b152b8ba9a094561e97e5c4b4ea11eb18cd9e6695e91015b60405180910390a15050565b3360009081526008602052604090205460ff1661072b5760405162461bcd60e51b81526004016103d090611439565b6105c58282610d4f565b600061048d338484610a28565b6003546001600160a01b0316331461076c5760405162461bcd60e51b81526004016103d0906113a8565b600061077883826114ee565b50600161078582826114ee565b507f4472e4d749e8a54068b22737b49ce8e094d89348e65ac4a0a6a2b4a26358e97882826040516106f09291906115ad565b6003546001600160a01b031633146107e15760405162461bcd60e51b81526004016103d0906113a8565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6003546001600160a01b031633146108365760405162461bcd60e51b81526004016103d0906113a8565b6001600160a01b03811661085c5760405162461bcd60e51b81526004016103d09061146f565b600380546001600160a01b0319166001600160a01b0383169081179091556040517fe24c39186e9137521953beaa8446e71f55b8f12296984f9d4273ceb1af728d9091610630916111dc565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526103ed908490610ea4565b6001600160a01b0383166109615760405162461bcd60e51b815260206004820152602860248201527f42617365546f6b656e3a20617070726f76652066726f6d20746865207a65726f604482015267206164647265737360c01b60648201526084016103d0565b6001600160a01b0382166109c65760405162461bcd60e51b815260206004820152602660248201527f42617365546f6b656e3a20617070726f766520746f20746865207a65726f206160448201526564647265737360d01b60648201526084016103d0565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610a905760405162461bcd60e51b815260206004820152602960248201527f42617365546f6b656e3a207472616e736665722066726f6d20746865207a65726044820152686f206164647265737360b81b60648201526084016103d0565b6001600160a01b038216610af65760405162461bcd60e51b815260206004820152602760248201527f42617365546f6b656e3a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b60648201526084016103d0565b60065460ff1615610b6e573360009081526007602052604090205460ff16610b6e5760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206d73672e73656e646572206e6f742077686974656c6044820152641a5cdd195960da1b60648201526084016103d0565b6001600160a01b038316600090815260046020526040902054811115610bd75760405162461bcd60e51b815260206004820152602a602482015260008051602061162883398151915260448201526964732062616c616e636560b01b60648201526084016103d0565b6001600160a01b038316600090815260046020526040902054610bfb908290611426565b6001600160a01b038085166000908152600460205260408082209390935590841681522054610c2b9082906115db565b6001600160a01b03808416600081815260046020526040908190209390935591519085169060008051602061164883398151915290610a1b9085815260200190565b6001600160a01b038216610ccf5760405162461bcd60e51b815260206004820152602360248201527f42617365546f6b656e3a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103d0565b80600254610cdd91906115db565b6002556001600160a01b038216600090815260046020526040902054610d049082906115db565b6001600160a01b03831660008181526004602052604080822093909355915190919060008051602061164883398151915290610d439085815260200190565b60405180910390a35050565b6001600160a01b038216610db35760405162461bcd60e51b815260206004820152602560248201527f42617365546f6b656e3a206275726e2066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103d0565b6001600160a01b038216600090815260046020526040902054811115610e2a5760405162461bcd60e51b815260206004820152602660248201527f42617365546f6b656e3a206275726e20616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103d0565b6001600160a01b038216600090815260046020526040902054610e4e908290611426565b6001600160a01b038316600090815260046020526040902055600254610e75908290611426565b6002556040518181526000906001600160a01b0384169060008051602061164883398151915290602001610d43565b6000610ef9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f769092919063ffffffff16565b8051909150156103ed5780806020019051810190610f1791906115ee565b6103ed5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103d0565b6060610f858484600085610f8d565b949350505050565b606082471015610fee5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103d0565b6001600160a01b0385163b6110455760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103d0565b600080866001600160a01b03168587604051611061919061160b565b60006040518083038185875af1925050503d806000811461109e576040519150601f19603f3d011682016040523d82523d6000602084013e6110a3565b606091505b50915091506110b38282866110be565b979650505050505050565b606083156110cd575081610585565b8251156110dd5782518084602001fd5b8160405162461bcd60e51b81526004016103d0919061119f565b80356001600160a01b038116811461110e57600080fd5b919050565b60008060006060848603121561112857600080fd5b611131846110f7565b925061113f602085016110f7565b9150604084013590509250925092565b60005b8381101561116a578181015183820152602001611152565b50506000910152565b6000815180845261118b81602086016020860161114f565b601f01601f19169290920160200192915050565b6020815260006105856020830184611173565b600080604083850312156111c557600080fd5b6111ce836110f7565b946020939093013593505050565b6001600160a01b0391909116815260200190565b60006020828403121561120257600080fd5b610585826110f7565b6000806040838503121561121e57600080fd5b611227836110f7565b9150611235602084016110f7565b90509250929050565b801515811461124c57600080fd5b50565b60006020828403121561126157600080fd5b81356105858161123e565b6000806040838503121561127f57600080fd5b611288836110f7565b915060208301356112988161123e565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126112ca57600080fd5b81356001600160401b03808211156112e4576112e46112a3565b604051601f8301601f19908116603f0116810190828211818310171561130c5761130c6112a3565b8160405283815286602085880101111561132557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561135857600080fd5b82356001600160401b038082111561136f57600080fd5b61137b868387016112b9565b9350602085013591508082111561139157600080fd5b5061139e858286016112b9565b9150509250929050565b6020808252601490820152732130b9b2aa37b5b2b71d103337b93134b23232b760611b604082015260600190565b600181811c908216806113ea57607f821691505b60208210810361140a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561049157610491611410565b6020808252601c908201527b26b4b73a30b13632a130b9b2aa37b5b2b71d103337b93134b23232b760211b604082015260600190565b60208082526017908201527642617365546f6b656e3a207a65726f206164647265737360481b604082015260600190565b601f8211156103ed57600081815260208120601f850160051c810160208610156114c75750805b601f850160051c820191505b818110156114e6578281556001016114d3565b505050505050565b81516001600160401b03811115611507576115076112a3565b61151b8161151584546113d6565b846114a0565b602080601f83116001811461155057600084156115385750858301515b600019600386901b1c1916600185901b1785556114e6565b600085815260208120601f198616915b8281101561157f57888601518255948401946001909101908401611560565b508582101561159d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6040815260006115c06040830185611173565b82810360208401526115d28185611173565b95945050505050565b8082018082111561049157610491611410565b60006020828403121561160057600080fd5b81516105858161123e565b6000825161161d81846020870161114f565b919091019291505056fe42617365546f6b656e3a207472616e7366657220616d6f756e74206578636565ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e77f72f3a7487f046350b2679db7326b825ae10aa11100eed560254a938f4bf464736f6c63430008110033

Block Transaction Gas Used Reward
view all blocks validated

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

OVERVIEW

Fulcrom is a decentralised perpetual exchange that allows users to trade leveraged positions with low fees and zero price impact, whilst having the peace of mind that all trades and collateral are stored transparently on-chain.

Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.