Contract 0x467719aD09025FcC6cF6F8311755809d45a5E5f3 2

Token Contract 
 

Contract Overview

Axelar Network: AXL Token
Balance:
0 Ether

EtherValue:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value
0xc2c9b3777e9126a51ec5c6f81bd2ef0ee19071f7bb97d1d54f8af7cdb940e763Transfer(pending)2023-02-07 15:48:1525 mins ago0x71225d106556fc19fee100b8549f735c80cc19a7 IN Axelar Network: AXL Token0 Ether(Pending)(Pending)
0x98471290fe3c36bad221a1fccff3f2c0ebaa9d92a85fbbf266f54a94ba90679bTransfer(pending)2023-02-05 2:11:162 days 14 hrs ago0x399373bf7847a859731db84412e893243555e856 IN Axelar Network: AXL Token0 Ether(Pending)(Pending)
0x2322d23a5a81a978f1884a8273f8dc7727aad4e2b40510572e235c5f12be8cfcTransfer(pending)2023-02-05 2:00:582 days 14 hrs ago0xb0ad188130677574a16a3d773040912b69a6f40f IN Axelar Network: AXL Token0 Ether(Pending)(Pending)
0x905b12e4c8f18aee95d2403d641883e13fde036d6e61f3b8dc8eb71f5ebb7a0aTransfer(pending)2023-02-05 1:47:012 days 14 hrs ago0xdf01d0a14cfea4af3a7c8ae460b14c19b5df39bf IN Axelar Network: AXL Token0 Ether(Pending)(Pending)
0x24950d256b5eb613a992621fc0f984a12f3e31a1d5f7e1cafd3fc4fb87fb655dTransfer165780142023-02-07 16:12:111 min ago0xdfd05771943f2afc4809c250cb8e70924add1e3a IN  Axelar Network: AXL Token0 Ether0.0023132677.9637952
0x13149375d1ddb3019328476e6a8553534637abd56ea985e136681a6d6dce6c66Transfer165779922023-02-07 16:07:475 mins ago0x75ccce242ae18dd2575f52b59bd4637280d5a100 IN  Axelar Network: AXL Token0 Ether0.00402278 78.04118039
0xa60d5a95818000ed6d57bc10139aa15e5e2b3353b8f8cab3fcb80e6178b4b456Transfer165779882023-02-07 16:06:596 mins ago0x90e34f5df30f0510d32bb5e35816a2204e241feb IN  Axelar Network: AXL Token0 Ether0.00310394 66.36483309
0x7ad8627ad25fb8cc4285299c2e068e7c493ea3fdba1f72e02dcb2b40b4688487Transfer165779812023-02-07 16:05:357 mins ago0x387cf0506614713f7d36afaca5be680c6ab80be1 IN  Axelar Network: AXL Token0 Ether0.00356115103.38058631
0x6ccef4f4caedb9120c887fdb36aff00f5c6df8d9bca785f206349dfe5d6cfbeaTransfer165779202023-02-07 15:53:2319 mins ago0x4dc97aa4df312034e1608ab2468c09e81c779b03 IN  Axelar Network: AXL Token0 Ether0.00125913 42.4536
0x21c61a9f8f6ea1e06d9d03141cafb6fd87bdf06ad3c611776c6d8016c637c166Transfer165779082023-02-07 15:50:5922 mins ago0x387cf0506614713f7d36afaca5be680c6ab80be1 IN  Axelar Network: AXL Token0 Ether0.0017420550.57208184
0x7b6857b388aa1d7ec7632ad23e25b5298a9a4888f6e7ace53bdf2dc0a7315f1fTransfer165779022023-02-07 15:49:4723 mins ago0x6302532725dd1b33022b2d42b0d82bffd2982d1c IN  Axelar Network: AXL Token0 Ether0.0010766836.3022075
0x94a19ef8d6eb21ea63981cef71ff3979742d966bdd829fe87253fb3ed14749d2Transfer165778862023-02-07 15:46:3526 mins ago0x091d23de14e6cc4b8bbd4eeeb17cd71a68df8bee IN  Axelar Network: AXL Token0 Ether0.00159377 34.09356315
0x438c10676922695884ddb857b253729385b8c9a6fce3fcea1bfb6fc25e707885Transfer165778832023-02-07 15:45:5927 mins ago0x091d23de14e6cc4b8bbd4eeeb17cd71a68df8bee IN  Axelar Network: AXL Token0 Ether0.0017731 34.38980314
0xc499d0216e84cbe737bd57c97aa2d6fdf8c602acec5fb104941aa14475dc6623Transfer165778802023-02-07 15:45:2327 mins ago0x091d23de14e6cc4b8bbd4eeeb17cd71a68df8bee IN  Axelar Network: AXL Token0 Ether0.00176304 34.19471642
0xb1b2f66fbf6723c186a03228c547d219f906231a5abb52f703ad8bdcb1240034Transfer165778792023-02-07 15:45:1128 mins ago0xdfd05771943f2afc4809c250cb8e70924add1e3a IN  Axelar Network: AXL Token0 Ether0.001196840.3357862
0x261b66bc1083f0a2a3222859613dd31b6a90d52bbca15e0ba186b2c15a818c7bTransfer165778582023-02-07 15:40:5932 mins ago0xd3766625130b1636dd3f2a7b11cb8613d10b0f46 IN  Axelar Network: AXL Token0 Ether0.0013292444.8175403
0x059cbaa0090a7a3ca7d79f724590f8baee7940c352172fe2ba50761ab9408930Transfer165778572023-02-07 15:40:4732 mins ago0x90e34f5df30f0510d32bb5e35816a2204e241feb IN  Axelar Network: AXL Token0 Ether0.00180538 38.60052625
0x1f1e729abaf19095443de292bd39cbd31624948df6e6057b8ec4f29d2118e4afTransfer165778352023-02-07 15:36:2336 mins ago0xb0cdfdd151eb4066ef7f47a93f6739e44534f785 IN  Axelar Network: AXL Token0 Ether0.0032620563.26830132
0x705661d628a308dc88d05f6eefc132bdd8aad7bfe636770608dd311fa78983e6Transfer165778182023-02-07 15:32:4740 mins ago0x9bd561dda14427d17d687d97fe44c3f237e70b95 IN  Axelar Network: AXL Token0 Ether0.00142157 47.9112
0x4b373bd794990001f4b53fd3b4b0c777c86b7e7d08c6bdd3d74d9b3dfa3120b1Transfer165777852023-02-07 15:26:1147 mins ago0x752b354a393949fbd4291d2000dabe338913802f IN  Axelar Network: AXL Token0 Ether0.0019782857.40984472
0xb70bb9f792378cb262e8ab8d8dca3099d12ca2448e8fead8c9fc0060d967d9e1Transfer165777772023-02-07 15:24:3548 mins agoGate.io IN  Axelar Network: AXL Token0 Ether0.00241203 46.7712228
0x32c1873ea91170ca544ed148699f958b394407175d46b74c6f75e7174d69c8fcTransfer165777692023-02-07 15:22:5950 mins ago0x1deb121694a4da36d43e7f64de08bba788702765 IN  Axelar Network: AXL Token0 Ether0.0010854336.5971154
0x2801c970f656b3abec232108d834bbd884f327f38d46c36c4108d2fedc1b5c09Transfer165777572023-02-07 15:20:3552 mins ago0xb0cdfdd151eb4066ef7f47a93f6739e44534f785 IN  Axelar Network: AXL Token0 Ether0.0027189952.73556633
0x62967ec0250f52d36062d773475a7275ee34caa7c805b707dae48feb2a6d7eb2Transfer165777402023-02-07 15:17:1156 mins agoMEXC: Mexc.com IN  Axelar Network: AXL Token0 Ether0.0022685944
0x78ead69821e53589d0040772944245a9e9986189a2883514c302071ad6774a7eTransfer165777372023-02-07 15:16:3556 mins ago0xb0cdfdd151eb4066ef7f47a93f6739e44534f785 IN  Axelar Network: AXL Token0 Ether0.0019123155.49547071
[ Download CSV Export 

OVERVIEW

Axelar delivers secure cross-chain communication for Web3. Its infrastructure enables dApp users to interact with any asset or application, on any chain, with one click. Axelar is an overlay network, delivering Turing-complete message passing via proof-of-stake and permissionless protocols.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xf5d0a60c56f3666d7b15ff9bdea8570efe6aa5616009f4cc2e3730799bfb97e7154355182022-08-29 17:51:05161 days 22 hrs ago Axelar: Gateway  Contract Creation0 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BurnableMintableCappedERC20

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-29
*/

// Sources flattened with hardhat v2.9.9 https://hardhat.org

// File contracts/interfaces/IAxelarGateway.sol

// SPDX-License-Identifier: MIT

pragma solidity 0.8.9;

interface IAxelarGateway {
    /**********\
    |* Errors *|
    \**********/

    error NotSelf();
    error NotProxy();
    error InvalidCodeHash();
    error SetupFailed();
    error InvalidAuthModule();
    error InvalidTokenDeployer();
    error InvalidAmount();
    error InvalidChainId();
    error InvalidCommands();
    error TokenDoesNotExist(string symbol);
    error TokenAlreadyExists(string symbol);
    error TokenDeployFailed(string symbol);
    error TokenContractDoesNotExist(address token);
    error BurnFailed(string symbol);
    error MintFailed(string symbol);
    error InvalidSetMintLimitsParams();
    error ExceedMintLimit(string symbol);

    /**********\
    |* Events *|
    \**********/

    event TokenSent(address indexed sender, string destinationChain, string destinationAddress, string symbol, uint256 amount);

    event ContractCall(
        address indexed sender,
        string destinationChain,
        string destinationContractAddress,
        bytes32 indexed payloadHash,
        bytes payload
    );

    event ContractCallWithToken(
        address indexed sender,
        string destinationChain,
        string destinationContractAddress,
        bytes32 indexed payloadHash,
        bytes payload,
        string symbol,
        uint256 amount
    );

    event Executed(bytes32 indexed commandId);

    event TokenDeployed(string symbol, address tokenAddresses);

    event ContractCallApproved(
        bytes32 indexed commandId,
        string sourceChain,
        string sourceAddress,
        address indexed contractAddress,
        bytes32 indexed payloadHash,
        bytes32 sourceTxHash,
        uint256 sourceEventIndex
    );

    event ContractCallApprovedWithMint(
        bytes32 indexed commandId,
        string sourceChain,
        string sourceAddress,
        address indexed contractAddress,
        bytes32 indexed payloadHash,
        string symbol,
        uint256 amount,
        bytes32 sourceTxHash,
        uint256 sourceEventIndex
    );

    event TokenMintLimitUpdated(string symbol, uint256 limit);

    event OperatorshipTransferred(bytes newOperatorsData);

    event Upgraded(address indexed implementation);

    /********************\
    |* Public Functions *|
    \********************/

    function sendToken(
        string calldata destinationChain,
        string calldata destinationAddress,
        string calldata symbol,
        uint256 amount
    ) external;

    function callContract(
        string calldata destinationChain,
        string calldata contractAddress,
        bytes calldata payload
    ) external;

    function callContractWithToken(
        string calldata destinationChain,
        string calldata contractAddress,
        bytes calldata payload,
        string calldata symbol,
        uint256 amount
    ) external;

    function isContractCallApproved(
        bytes32 commandId,
        string calldata sourceChain,
        string calldata sourceAddress,
        address contractAddress,
        bytes32 payloadHash
    ) external view returns (bool);

    function isContractCallAndMintApproved(
        bytes32 commandId,
        string calldata sourceChain,
        string calldata sourceAddress,
        address contractAddress,
        bytes32 payloadHash,
        string calldata symbol,
        uint256 amount
    ) external view returns (bool);

    function validateContractCall(
        bytes32 commandId,
        string calldata sourceChain,
        string calldata sourceAddress,
        bytes32 payloadHash
    ) external returns (bool);

    function validateContractCallAndMint(
        bytes32 commandId,
        string calldata sourceChain,
        string calldata sourceAddress,
        bytes32 payloadHash,
        string calldata symbol,
        uint256 amount
    ) external returns (bool);

    /***********\
    |* Getters *|
    \***********/

    function authModule() external view returns (address);

    function tokenDeployer() external view returns (address);

    function tokenMintLimit(string memory symbol) external view returns (uint256);

    function tokenMintAmount(string memory symbol) external view returns (uint256);

    function allTokensFrozen() external view returns (bool);

    function implementation() external view returns (address);

    function tokenAddresses(string memory symbol) external view returns (address);

    function tokenFrozen(string memory symbol) external view returns (bool);

    function isCommandExecuted(bytes32 commandId) external view returns (bool);

    function adminEpoch() external view returns (uint256);

    function adminThreshold(uint256 epoch) external view returns (uint256);

    function admins(uint256 epoch) external view returns (address[] memory);

    /*******************\
    |* Admin Functions *|
    \*******************/

    function setTokenMintLimits(string[] calldata symbols, uint256[] calldata limits) external;

    function upgrade(
        address newImplementation,
        bytes32 newImplementationCodeHash,
        bytes calldata setupParams
    ) external;

    /**********************\
    |* External Functions *|
    \**********************/

    function setup(bytes calldata params) external;

    function execute(bytes calldata input) external;
}


// File contracts/interfaces/IERC20Burn.sol


interface IERC20Burn {
    function burn(bytes32 salt) external;
}


// File contracts/interfaces/IERC20BurnFrom.sol


interface IERC20BurnFrom {
    function burnFrom(address account, uint256 amount) external;
}


// File contracts/interfaces/IERC20.sol


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    error InvalidAccount();

    /**
     * @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 contracts/interfaces/IERC20Permit.sol


interface IERC20Permit {
    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function nonces(address account) external view returns (uint256);

    function permit(
        address issuer,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}


// File contracts/interfaces/IOwnable.sol


interface IOwnable {
    error NotOwner();
    error InvalidOwner();

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    function owner() external view returns (address);

    function transferOwnership(address newOwner) external;
}


// File contracts/interfaces/IMintableCappedERC20.sol




interface IMintableCappedERC20 is IERC20, IERC20Permit, IOwnable {
    error CapExceeded();

    function cap() external view returns (uint256);

    function mint(address account, uint256 amount) external;
}


// File contracts/interfaces/IBurnableMintableCappedERC20.sol


interface IBurnableMintableCappedERC20 is IERC20Burn, IERC20BurnFrom, IMintableCappedERC20 {
    function depositAddress(bytes32 salt) external view returns (address);

    function burn(bytes32 salt) external;

    function burnFrom(address account, uint256 amount) external;
}


// File contracts/ERC20.sol


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

    mapping(address => mapping(address => uint256)) public override allowance;

    uint256 public override totalSupply;

    string public name;
    string public symbol;

    uint8 public immutable decimals;

    /**
     * @dev Sets the values for {name}, {symbol}, and {decimals}.
     */
    constructor(
        string memory name_,
        string memory symbol_,
        uint8 decimals_
    ) {
        name = name_;
        symbol = symbol_;
        decimals = decimals_;
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) external virtual override returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) external virtual override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

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

        if (_allowance != type(uint256).max) {
            _approve(sender, msg.sender, _allowance - amount);
        }

        _transfer(sender, recipient, amount);

        return true;
    }

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

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

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

        balanceOf[sender] -= amount;
        balanceOf[recipient] += amount;
        emit Transfer(sender, recipient, amount);
    }

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

        totalSupply += amount;
        balanceOf[account] += amount;
        emit Transfer(address(0), account, amount);
    }

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

        balanceOf[account] -= amount;
        totalSupply -= amount;
        emit Transfer(account, address(0), amount);
    }

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

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


// File contracts/ERC20Permit.sol


abstract contract ERC20Permit is IERC20, IERC20Permit, ERC20 {
    error PermitExpired();
    error InvalidS();
    error InvalidV();
    error InvalidSignature();

    bytes32 public immutable DOMAIN_SEPARATOR;

    string private constant EIP191_PREFIX_FOR_EIP712_STRUCTURED_DATA = '\x19\x01';

    // keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)')
    bytes32 private constant DOMAIN_TYPE_SIGNATURE_HASH = bytes32(0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f);

    // keccak256('Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)')
    bytes32 private constant PERMIT_SIGNATURE_HASH = bytes32(0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9);

    mapping(address => uint256) public nonces;

    constructor(string memory name) {
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(DOMAIN_TYPE_SIGNATURE_HASH, keccak256(bytes(name)), keccak256(bytes('1')), block.chainid, address(this))
        );
    }

    function permit(
        address issuer,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        if (block.timestamp > deadline) revert PermitExpired();

        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) revert InvalidS();

        if (v != 27 && v != 28) revert InvalidV();

        bytes32 digest = keccak256(
            abi.encodePacked(
                EIP191_PREFIX_FOR_EIP712_STRUCTURED_DATA,
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_SIGNATURE_HASH, issuer, spender, value, nonces[issuer]++, deadline))
            )
        );

        address recoveredAddress = ecrecover(digest, v, r, s);

        if (recoveredAddress != issuer) revert InvalidSignature();

        // _approve will revert if issuer is address(0x0)
        _approve(issuer, spender, value);
    }
}


// File contracts/Ownable.sol


abstract contract Ownable is IOwnable {
    address public owner;

    constructor() {
        owner = msg.sender;
        emit OwnershipTransferred(address(0), msg.sender);
    }

    modifier onlyOwner() {
        if (owner != msg.sender) revert NotOwner();

        _;
    }

    function transferOwnership(address newOwner) external virtual onlyOwner {
        if (newOwner == address(0)) revert InvalidOwner();

        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }
}


// File contracts/MintableCappedERC20.sol


contract MintableCappedERC20 is IMintableCappedERC20, ERC20, ERC20Permit, Ownable {
    uint256 public immutable cap;

    constructor(
        string memory name,
        string memory symbol,
        uint8 decimals,
        uint256 capacity
    ) ERC20(name, symbol, decimals) ERC20Permit(name) Ownable() {
        cap = capacity;
    }

    function mint(address account, uint256 amount) external onlyOwner {
        uint256 capacity = cap;

        _mint(account, amount);

        if (capacity == 0) return;

        if (totalSupply > capacity) revert CapExceeded();
    }
}


// File contracts/DepositHandler.sol


contract DepositHandler {
    error IsLocked();
    error NotContract();

    uint256 internal constant IS_NOT_LOCKED = uint256(1);
    uint256 internal constant IS_LOCKED = uint256(2);

    uint256 internal _lockedStatus = IS_NOT_LOCKED;

    modifier noReenter() {
        if (_lockedStatus == IS_LOCKED) revert IsLocked();

        _lockedStatus = IS_LOCKED;
        _;
        _lockedStatus = IS_NOT_LOCKED;
    }

    function execute(address callee, bytes calldata data) external noReenter returns (bool success, bytes memory returnData) {
        if (callee.code.length == 0) revert NotContract();
        (success, returnData) = callee.call(data);
    }

    // NOTE: The gateway should always destroy the `DepositHandler` in the same runtime context that deploys it.
    function destroy(address etherDestination) external noReenter {
        selfdestruct(payable(etherDestination));
    }
}


// File contracts/BurnableMintableCappedERC20.sol


contract BurnableMintableCappedERC20 is IBurnableMintableCappedERC20, MintableCappedERC20 {
    constructor(
        string memory name,
        string memory symbol,
        uint8 decimals,
        uint256 capacity
    ) MintableCappedERC20(name, symbol, decimals, capacity) {}

    function depositAddress(bytes32 salt) public view returns (address) {
        /* Convert a hash which is bytes32 to an address which is 20-byte long
        according to https://docs.soliditylang.org/en/v0.8.1/control-structures.html?highlight=create2#salted-contract-creations-create2 */
        return
            address(
                uint160(
                    uint256(
                        keccak256(
                            abi.encodePacked(bytes1(0xff), owner, salt, keccak256(abi.encodePacked(type(DepositHandler).creationCode)))
                        )
                    )
                )
            );
    }

    function burn(bytes32 salt) external onlyOwner {
        address account = depositAddress(salt);
        _burn(account, balanceOf[account]);
    }

    function burnFrom(address account, uint256 amount) external onlyOwner {
        uint256 _allowance = allowance[account][msg.sender];
        if (_allowance != type(uint256).max) {
            _approve(account, msg.sender, _allowance - amount);
        }
        _burn(account, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"capacity","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CapExceeded","type":"error"},{"inputs":[],"name":"InvalidAccount","type":"error"},{"inputs":[],"name":"InvalidOwner","type":"error"},{"inputs":[],"name":"InvalidS","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"InvalidV","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"PermitExpired","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"depositAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"issuer","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b5060405162001837380380620018378339810160408190526200003491620002e1565b83838383838484848260039080519060200190620000549291906200016e565b5081516200006a9060049060208501906200016e565b5060ff166080908152835160208086019190912060408051808201825260018152603160f81b9084015280517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f938101939093528201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606082015246918101919091523060a082015260c0019150620001029050565b60408051601f1981840301815290829052805160209091012060a052600680546001600160a01b0319163390811790915591506000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360c05250620003a995505050505050565b8280546200017c906200036c565b90600052602060002090601f016020900481019282620001a05760008555620001eb565b82601f10620001bb57805160ff1916838001178555620001eb565b82800160010185558215620001eb579182015b82811115620001eb578251825591602001919060010190620001ce565b50620001f9929150620001fd565b5090565b5b80821115620001f95760008155600101620001fe565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023c57600080fd5b81516001600160401b038082111562000259576200025962000214565b604051601f8301601f19908116603f0116810190828211818310171562000284576200028462000214565b81604052838152602092508683858801011115620002a157600080fd5b600091505b83821015620002c55785820183015181830184015290820190620002a6565b83821115620002d75760008385830101525b9695505050505050565b60008060008060808587031215620002f857600080fd5b84516001600160401b03808211156200031057600080fd5b6200031e888389016200022a565b955060208701519150808211156200033557600080fd5b5062000344878288016200022a565b935050604085015160ff811681146200035c57600080fd5b6060959095015193969295505050565b600181811c908216806200038157607f821691505b60208210811415620003a357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051611450620003e760003960008181610265015261067301526000818161028c01526108de0152600061020101526114506000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806340c10f19116100d857806395d89b411161008c578063d505accf11610066578063d505accf14610368578063dd62ed3e1461037b578063f2fde38b146103a657600080fd5b806395d89b411461033a578063a457c2d714610342578063a9059cbb1461035557600080fd5b806379cc6790116100bd57806379cc6790146102f45780637ecebe00146103075780638da5cb5b1461032757600080fd5b806340c10f19146102c157806370a08231146102d457600080fd5b8063313ce5671161012f578063355274ea11610114578063355274ea146102605780633644e5151461028757806339509351146102ae57600080fd5b8063313ce567146101fc57806331eecaf41461023557600080fd5b8063095ea7b311610160578063095ea7b3146101af57806318160ddd146101d257806323b872dd146101e957600080fd5b806306fdde031461017c57806308a1eee11461019a575b600080fd5b6101846103b9565b6040516101919190610e5d565b60405180910390f35b6101ad6101a8366004610e90565b610447565b005b6101c26101bd366004610ec5565b6104a8565b6040519015158152602001610191565b6101db60025481565b604051908152602001610191565b6101c26101f7366004610eef565b6104be565b6102237f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610191565b610248610243366004610e90565b610515565b6040516001600160a01b039091168152602001610191565b6101db7f000000000000000000000000000000000000000000000000000000000000000081565b6101db7f000000000000000000000000000000000000000000000000000000000000000081565b6101c26102bc366004610ec5565b61060f565b6101ad6102cf366004610ec5565b610646565b6101db6102e2366004610f2b565b60006020819052908152604090205481565b6101ad610302366004610ec5565b6106e7565b6101db610315366004610f2b565b60056020526000908152604090205481565b600654610248906001600160a01b031681565b610184610758565b6101c2610350366004610ec5565b610765565b6101c2610363366004610ec5565b61079c565b6101ad610376366004610f4d565b6107a9565b6101db610389366004610fc0565b600160209081526000928352604080842090915290825290205481565b6101ad6103b4366004610f2b565b610a6c565b600380546103c690610ff3565b80601f01602080910402602001604051908101604052809291908181526020018280546103f290610ff3565b801561043f5780601f106104145761010080835404028352916020019161043f565b820191906000526020600020905b81548152906001019060200180831161042257829003601f168201915b505050505081565b6006546001600160a01b03163314610472576040516330cd747160e01b815260040160405180910390fd5b600061047d82610515565b6001600160a01b0381166000908152602081905260409020549091506104a4908290610b4b565b5050565b60006104b5338484610bfe565b50600192915050565b6001600160a01b038316600090815260016020908152604080832033845290915281205460001981146104ff576104ff85336104fa8685611044565b610bfe565b61050a858585610c9b565b506001949350505050565b6006546040516000917fff00000000000000000000000000000000000000000000000000000000000000916001600160a01b0390911690849061055a60208201610e20565b601f1982820381018352601f90910116604081905261057c919060200161105b565b604051602081830303815290604052805190602001206040516020016105f194939291907fff0000000000000000000000000000000000000000000000000000000000000094909416845260609290921b6bffffffffffffffffffffffff191660018401526015830152603582015260550190565b60408051601f19818403018152919052805160209091012092915050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104b59185906104fa908690611077565b6006546001600160a01b03163314610671576040516330cd747160e01b815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000061069c8383610d77565b806106a657505050565b8060025411156106e2576040517fa4875a4900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b6006546001600160a01b03163314610712576040516330cd747160e01b815260040160405180910390fd5b6001600160a01b0382166000908152600160209081526040808320338452909152902054600019811461074e5761074e83336104fa8585611044565b6106e28383610b4b565b600480546103c690610ff3565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104b59185906104fa908690611044565b60006104b5338484610c9b565b834211156107e3576040517f1a15a3cc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a081111561083d576040517f40c1e74800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8260ff16601b1415801561085557508260ff16601c14155b1561088c576040517f119bce3900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080518082018252600281527f19010000000000000000000000000000000000000000000000000000000000006020808301919091526001600160a01b038a166000908152600590915291822080547f0000000000000000000000000000000000000000000000000000000000000000917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918c918c918c91886109308361108f565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e00160405160208183030381529060405280519060200120604051602001610994939291906110aa565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa1580156109ff573d6000803e3d6000fd5b505050602060405103519050886001600160a01b0316816001600160a01b031614610a56576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a61898989610bfe565b505050505050505050565b6006546001600160a01b03163314610a97576040516330cd747160e01b815260040160405180910390fd5b6001600160a01b038116610ad7576040517f49e27cff00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001600160a01b038216610b7257604051630da30f6560e31b815260040160405180910390fd5b6001600160a01b03821660009081526020819052604081208054839290610b9a908490611044565b925050819055508060026000828254610bb39190611044565b90915550506040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a35050565b6001600160a01b0383161580610c1b57506001600160a01b038216155b15610c3957604051630da30f6560e31b815260040160405180910390fd5b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383161580610cb857506001600160a01b038216155b15610cd657604051630da30f6560e31b815260040160405180910390fd5b6001600160a01b03831660009081526020819052604081208054839290610cfe908490611044565b90915550506001600160a01b03821660009081526020819052604081208054839290610d2b908490611077565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c8e91815260200190565b6001600160a01b038216610d9e57604051630da30f6560e31b815260040160405180910390fd5b8060026000828254610db09190611077565b90915550506001600160a01b03821660009081526020819052604081208054839290610ddd908490611077565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610bf2565b610349806110d283390190565b60005b83811015610e48578181015183820152602001610e30565b83811115610e57576000848401525b50505050565b6020815260008251806020840152610e7c816040850160208701610e2d565b601f01601f19169190910160400192915050565b600060208284031215610ea257600080fd5b5035919050565b80356001600160a01b0381168114610ec057600080fd5b919050565b60008060408385031215610ed857600080fd5b610ee183610ea9565b946020939093013593505050565b600080600060608486031215610f0457600080fd5b610f0d84610ea9565b9250610f1b60208501610ea9565b9150604084013590509250925092565b600060208284031215610f3d57600080fd5b610f4682610ea9565b9392505050565b600080600080600080600060e0888a031215610f6857600080fd5b610f7188610ea9565b9650610f7f60208901610ea9565b95506040880135945060608801359350608088013560ff81168114610fa357600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610fd357600080fd5b610fdc83610ea9565b9150610fea60208401610ea9565b90509250929050565b600181811c9082168061100757607f821691505b6020821081141561102857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156110565761105661102e565b500390565b6000825161106d818460208701610e2d565b9190910192915050565b6000821982111561108a5761108a61102e565b500190565b60006000198214156110a3576110a361102e565b5060010190565b600084516110bc818460208901610e2d565b9190910192835250602082015260400191905056fe6080604052600160005534801561001557600080fd5b50610324806100256000396000f3fe608060405234801561001057600080fd5b50600436106100355760003560e01c8062f55d9d1461003a5780631cff79cd1461004f575b600080fd5b61004d6100483660046101da565b610079565b005b61006261005d3660046101fc565b6100bb565b60405161007092919061027f565b60405180910390f35b6002600054141561009d5760405163caa30f5560e01b815260040160405180910390fd5b600260005573ffffffffffffffffffffffffffffffffffffffff8116ff5b60006060600260005414156100e35760405163caa30f5560e01b815260040160405180910390fd5b600260005573ffffffffffffffffffffffffffffffffffffffff85163b610136576040517f6f7c43f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16848460405161015d9291906102de565b6000604051808303816000865af19150503d806000811461019a576040519150601f19603f3d011682016040523d82523d6000602084013e61019f565b606091505b50600160005590969095509350505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146101d557600080fd5b919050565b6000602082840312156101ec57600080fd5b6101f5826101b1565b9392505050565b60008060006040848603121561021157600080fd5b61021a846101b1565b9250602084013567ffffffffffffffff8082111561023757600080fd5b818601915086601f83011261024b57600080fd5b81358181111561025a57600080fd5b87602082850101111561026c57600080fd5b6020830194508093505050509250925092565b821515815260006020604081840152835180604085015260005b818110156102b557858101830151858201606001528201610299565b818111156102c7576000606083870101525b50601f01601f191692909201606001949350505050565b818382376000910190815291905056fea264697066735822122032cb5e746816b7fac95205c068b30da37bd40119a57265be331c162cae74712464736f6c63430008090033a264697066735822122004e80ab7b1784de1e4f1eb3b6da0f7a49eea6f1fc7876ba739aa91d7c37db17d64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064178656c61720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000341584c0000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064178656c61720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000341584c0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Axelar
Arg [1] : symbol (string): AXL
Arg [2] : decimals (uint8): 6
Arg [3] : capacity (uint256): 0

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4178656c61720000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 41584c0000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

22158:1406:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11601:18;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23107:149;;;;;;:::i;:::-;;:::i;:::-;;12684:169;;;;;;:::i;:::-;;:::i;:::-;;;1475:14:1;;1468:22;1450:41;;1438:2;1423:18;12684:169:0;1310:187:1;11557:35:0;;;;;;;;;1648:25:1;;;1636:2;1621:18;11557:35:0;1502:177:1;13335:415:0;;;;;;:::i;:::-;;:::i;11655:31::-;;;;;;;;2189:4:1;2177:17;;;2159:36;;2147:2;2132:18;11655:31:0;2017:184:1;22450:649:0;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2370:55:1;;;2352:74;;2340:2;2325:18;22450:649:0;2206:226:1;20612:28:0;;;;;18032:41;;;;;14159:211;;;;;;:::i;:::-;;:::i;20879:241::-;;;;;;:::i;:::-;;:::i;11413:53::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;23264:297;;;;;;:::i;:::-;;:::i;18647:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;19993:20;;;;;-1:-1:-1;;;;;19993:20:0;;;11626;;;:::i;14873:221::-;;;;;;:::i;:::-;;:::i;12189:175::-;;;;;;:::i;:::-;;:::i;18925:979::-;;;;;;:::i;:::-;;:::i;11475:73::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;20245:222;;;;;;:::i;:::-;;:::i;11601:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23107:149::-;20177:5;;-1:-1:-1;;;;;20177:5:0;20186:10;20177:19;20173:42;;20205:10;;-1:-1:-1;;;20205:10:0;;;;;;;;;;;20173:42;23165:15:::1;23183:20;23198:4;23183:14;:20::i;:::-;-1:-1:-1::0;;;;;23229:18:0;::::1;:9;:18:::0;;;::::1;::::0;;;;;;;23165:38;;-1:-1:-1;23214:34:0::1;::::0;23165:38;;23214:5:::1;:34::i;:::-;23154:102;23107:149:::0;:::o;12684:169::-;12769:4;12786:37;12795:10;12807:7;12816:6;12786:8;:37::i;:::-;-1:-1:-1;12841:4:0;12684:169;;;;:::o;13335:415::-;-1:-1:-1;;;;;13515:17:0;;13477:4;13515:17;;;:9;:17;;;;;;;;13533:10;13515:29;;;;;;;;-1:-1:-1;;13561:31:0;;13557:113;;13609:49;13618:6;13626:10;13638:19;13651:6;13638:10;:19;:::i;:::-;13609:8;:49::i;:::-;13682:36;13692:6;13700:9;13711:6;13682:9;:36::i;:::-;-1:-1:-1;13738:4:0;;13335:415;-1:-1:-1;;;;13335:415:0:o;22450:649::-;22931:5;;22971:33;;22509:7;;22917:12;;-1:-1:-1;;;;;22931:5:0;;;;22938:4;;22971:33;;;;;:::i;:::-;-1:-1:-1;;22971:33:0;;;;;;;;;;;;;;;;22954:51;;22971:33;;22954:51;;:::i;:::-;;;;;;;;;;;;;22944:62;;;;;;22900:107;;;;;;;;;;5048:66:1;5036:79;;;;5024:92;;5153:2;5149:15;;;;-1:-1:-1;;5145:53:1;5141:1;5132:11;;5125:74;5224:2;5215:12;;5208:28;5261:2;5252:12;;5245:28;5298:2;5289:12;;4813:494;22900:107:0;;;;-1:-1:-1;;22900:107:0;;;;;;;;;22860:174;;22900:107;22860:174;;;;;22450:649;-1:-1:-1;;22450:649:0:o;14159:211::-;14275:10;14249:4;14296:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;14296:30:0;;;;;;;;;;14249:4;;14266:74;;14287:7;;14296:43;;14329:10;;14296:43;:::i;20879:241::-;20177:5;;-1:-1:-1;;;;;20177:5:0;20186:10;20177:19;20173:42;;20205:10;;-1:-1:-1;;;20205:10:0;;;;;;;;;;;20173:42;20975:3:::1;20991:22;20997:7:::0;21006:6;20991:5:::1;:22::i;:::-;21030:13:::0;21026:26:::1;;21045:7;23154:102;23107:149:::0;:::o;21026:26::-:1;21082:8;21068:11;;:22;21064:48;;;21099:13;;;;;;;;;;;;;;21064:48;20945:175;20879:241:::0;;:::o;23264:297::-;20177:5;;-1:-1:-1;;;;;20177:5:0;20186:10;20177:19;20173:42;;20205:10;;-1:-1:-1;;;20205:10:0;;;;;;;;;;;20173:42;-1:-1:-1;;;;;23366:18:0;::::1;23345;23366::::0;;;:9:::1;:18;::::0;;;;;;;23385:10:::1;23366:30:::0;;;;;;;;-1:-1:-1;;23411:31:0;::::1;23407:114;;23459:50;23468:7:::0;23477:10:::1;23489:19;23502:6:::0;23489:10;:19:::1;:::i;23459:50::-;23531:22;23537:7;23546:6;23531:5;:22::i;11626:20::-:0;;;;;;;:::i;14873:221::-;14994:10;14968:4;15015:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;15015:30:0;;;;;;;;;;14968:4;;14985:79;;15006:7;;15015:48;;15048:15;;15015:48;:::i;12189:175::-;12277:4;12294:40;12304:10;12316:9;12327:6;12294:9;:40::i;18925:979::-;19150:8;19132:15;:26;19128:54;;;19167:15;;;;;;;;;;;;;;19128:54;19212:66;19199:79;;19195:102;;;19287:10;;;;;;;;;;;;;;19195:102;19314:1;:7;;19319:2;19314:7;;:18;;;;;19325:1;:7;;19330:2;19325:7;;19314:18;19310:41;;;19341:10;;;;;;;;;;;;;;19310:41;19440:40;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19602:14:0;;19364;19602;;;:6;:14;;;;;;:16;;19499;;18571:66;;19578:6;;19586:7;;19595:5;;19364:14;19602:16;;;:::i;:::-;;;;-1:-1:-1;19544:85:0;;;;;;5872:25:1;;;;-1:-1:-1;;;;;5994:15:1;;;5974:18;;;5967:43;6046:15;;;;6026:18;;;6019:43;6078:18;;;6071:34;6121:19;;;6114:35;6165:19;;;6158:35;;;5844:19;;19544:85:0;;;;;;;;;;;;19534:96;;;;;;19405:240;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;19405:240:0;;;;;;;;;19381:275;;19405:240;19381:275;;;;19669:24;19696:26;;;;;;;;;6875:25:1;;;6948:4;6936:17;;6916:18;;;6909:45;;;;6970:18;;;6963:34;;;7013:18;;;7006:34;;;19381:275:0;;-1:-1:-1;19669:24:0;19696:26;;6847:19:1;;19696:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19669:53;;19759:6;-1:-1:-1;;;;;19739:26:0;:16;-1:-1:-1;;;;;19739:26:0;;19735:57;;19774:18;;;;;;;;;;;;;;19735:57;19864:32;19873:6;19881:7;19890:5;19864:8;:32::i;:::-;19117:787;;18925:979;;;;;;;:::o;20245:222::-;20177:5;;-1:-1:-1;;;;;20177:5:0;20186:10;20177:19;20173:42;;20205:10;;-1:-1:-1;;;20205:10:0;;;;;;;;;;;20173:42;-1:-1:-1;;;;;20332:22:0;::::1;20328:49;;20363:14;;;;;;;;;;;;;;20328:49;20416:5;::::0;20395:37:::1;::::0;-1:-1:-1;;;;;20395:37:0;;::::1;::::0;20416:5:::1;::::0;20395:37:::1;::::0;20416:5:::1;::::0;20395:37:::1;20443:5;:16:::0;;;::::1;-1:-1:-1::0;;;;;20443:16:0;;;::::1;::::0;;;::::1;::::0;;20245:222::o;16807:260::-;-1:-1:-1;;;;;16887:21:0;;16883:50;;16917:16;;-1:-1:-1;;;16917:16:0;;;;;;;;;;;16883:50;-1:-1:-1;;;;;16946:18:0;;:9;:18;;;;;;;;;;:28;;16968:6;;16946:9;:28;;16968:6;;16946:28;:::i;:::-;;;;;;;;17000:6;16985:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;17022:37:0;;1648:25:1;;;17048:1:0;;-1:-1:-1;;;;;17022:37:0;;;;;1636:2:1;1621:18;17022:37:0;;;;;;;;16807:260;;:::o;17505:304::-;-1:-1:-1;;;;;17637:19:0;;;;:44;;-1:-1:-1;;;;;;17660:21:0;;;17637:44;17633:73;;;17690:16;;-1:-1:-1;;;17690:16:0;;;;;;;;;;;17633:73;-1:-1:-1;;;;;17719:16:0;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:34;;;17769:32;;1648:25:1;;;17769:32:0;;1621:18:1;17769:32:0;;;;;;;;17505:304;;;:::o;15584:348::-;-1:-1:-1;;;;;15720:20:0;;;;:47;;-1:-1:-1;;;;;;15744:23:0;;;15720:47;15716:76;;;15776:16;;-1:-1:-1;;;15776:16:0;;;;;;;;;;;15716:76;-1:-1:-1;;;;;15805:17:0;;:9;:17;;;;;;;;;;:27;;15826:6;;15805:9;:27;;15826:6;;15805:27;:::i;:::-;;;;-1:-1:-1;;;;;;;15843:20:0;;:9;:20;;;;;;;;;;:30;;15867:6;;15843:9;:30;;15867:6;;15843:30;:::i;:::-;;;;;;;;15906:9;-1:-1:-1;;;;;15889:35:0;15898:6;-1:-1:-1;;;;;15889:35:0;;15917:6;15889:35;;;;1648:25:1;;1636:2;1621:18;;1502:177;16214:260:0;-1:-1:-1;;;;;16294:21:0;;16290:50;;16324:16;;-1:-1:-1;;;16324:16:0;;;;;;;;;;;16290:50;16368:6;16353:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;16385:18:0;;:9;:18;;;;;;;;;;:28;;16407:6;;16385:9;:28;;16407:6;;16385:28;:::i;:::-;;;;-1:-1:-1;;16429:37:0;;1648:25:1;;;-1:-1:-1;;;;;16429:37:0;;;16446:1;;16429:37;;1636:2:1;1621:18;16429:37:0;1502:177:1;-1:-1:-1;;;;;;;;:::o;14:258:1:-;86:1;96:113;110:6;107:1;104:13;96:113;;;186:11;;;180:18;167:11;;;160:39;132:2;125:10;96:113;;;227:6;224:1;221:13;218:48;;;262:1;253:6;248:3;244:16;237:27;218:48;;14:258;;;:::o;277:383::-;426:2;415:9;408:21;389:4;458:6;452:13;501:6;496:2;485:9;481:18;474:34;517:66;576:6;571:2;560:9;556:18;551:2;543:6;539:15;517:66;:::i;:::-;644:2;623:15;-1:-1:-1;;619:29:1;604:45;;;;651:2;600:54;;277:383;-1:-1:-1;;277:383:1:o;665:180::-;724:6;777:2;765:9;756:7;752:23;748:32;745:52;;;793:1;790;783:12;745:52;-1:-1:-1;816:23:1;;665:180;-1:-1:-1;665:180:1:o;850:196::-;918:20;;-1:-1:-1;;;;;967:54:1;;957:65;;947:93;;1036:1;1033;1026:12;947:93;850:196;;;:::o;1051:254::-;1119:6;1127;1180:2;1168:9;1159:7;1155:23;1151:32;1148:52;;;1196:1;1193;1186:12;1148:52;1219:29;1238:9;1219:29;:::i;:::-;1209:39;1295:2;1280:18;;;;1267:32;;-1:-1:-1;;;1051:254:1:o;1684:328::-;1761:6;1769;1777;1830:2;1818:9;1809:7;1805:23;1801:32;1798:52;;;1846:1;1843;1836:12;1798:52;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;1684:328;;;;;:::o;2619:186::-;2678:6;2731:2;2719:9;2710:7;2706:23;2702:32;2699:52;;;2747:1;2744;2737:12;2699:52;2770:29;2789:9;2770:29;:::i;:::-;2760:39;2619:186;-1:-1:-1;;;2619:186:1:o;2810:693::-;2921:6;2929;2937;2945;2953;2961;2969;3022:3;3010:9;3001:7;2997:23;2993:33;2990:53;;;3039:1;3036;3029:12;2990:53;3062:29;3081:9;3062:29;:::i;:::-;3052:39;;3110:38;3144:2;3133:9;3129:18;3110:38;:::i;:::-;3100:48;;3195:2;3184:9;3180:18;3167:32;3157:42;;3246:2;3235:9;3231:18;3218:32;3208:42;;3300:3;3289:9;3285:19;3272:33;3345:4;3338:5;3334:16;3327:5;3324:27;3314:55;;3365:1;3362;3355:12;3314:55;2810:693;;;;-1:-1:-1;2810:693:1;;;;3388:5;3440:3;3425:19;;3412:33;;-1:-1:-1;3492:3:1;3477:19;;;3464:33;;2810:693;-1:-1:-1;;2810:693:1:o;3508:260::-;3576:6;3584;3637:2;3625:9;3616:7;3612:23;3608:32;3605:52;;;3653:1;3650;3643:12;3605:52;3676:29;3695:9;3676:29;:::i;:::-;3666:39;;3724:38;3758:2;3747:9;3743:18;3724:38;:::i;:::-;3714:48;;3508:260;;;;;:::o;3773:437::-;3852:1;3848:12;;;;3895;;;3916:61;;3970:4;3962:6;3958:17;3948:27;;3916:61;4023:2;4015:6;4012:14;3992:18;3989:38;3986:218;;;-1:-1:-1;;;4057:1:1;4050:88;4161:4;4158:1;4151:15;4189:4;4186:1;4179:15;3986:218;;3773:437;;;:::o;4215:184::-;-1:-1:-1;;;4264:1:1;4257:88;4364:4;4361:1;4354:15;4388:4;4385:1;4378:15;4404:125;4444:4;4472:1;4469;4466:8;4463:34;;;4477:18;;:::i;:::-;-1:-1:-1;4514:9:1;;4404:125::o;4534:274::-;4663:3;4701:6;4695:13;4717:53;4763:6;4758:3;4751:4;4743:6;4739:17;4717:53;:::i;:::-;4786:16;;;;;4534:274;-1:-1:-1;;4534:274:1:o;5312:128::-;5352:3;5383:1;5379:6;5376:1;5373:13;5370:39;;;5389:18;;:::i;:::-;-1:-1:-1;5425:9:1;;5312:128::o;5445:135::-;5484:3;-1:-1:-1;;5505:17:1;;5502:43;;;5525:18;;:::i;:::-;-1:-1:-1;5572:1:1;5561:13;;5445:135::o;6204:439::-;6391:3;6429:6;6423:13;6445:53;6491:6;6486:3;6479:4;6471:6;6467:17;6445:53;:::i;:::-;6520:16;;;;6545:21;;;-1:-1:-1;6593:4:1;6582:16;;6575:32;6634:2;6623:14;;6204:439;-1:-1:-1;6204:439:1:o

Swarm Source

ipfs://04e80ab7b1784de1e4f1eb3b6da0f7a49eea6f1fc7876ba739aa91d7c37db17d
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.