BERA Price: $3.72 (+1.13%)

Contract

0x1cE0a25D13CE4d52071aE7e02Cf1F6606F4C79d3

Overview

BERA Balance

Berachain LogoBerachain LogoBerachain Logo0 BERA

BERA Value

$0.00

More Info

Private Name Tags

TokenTracker

Nectar (NECT) (@$1.00)

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Approve40794672025-04-23 8:48:3226 secs ago1745398112IN
Beraborrow: NECT Token
0 BERA0.000023160.5
Approve40794182025-04-23 8:46:562 mins ago1745398016IN
Beraborrow: NECT Token
0 BERA00.00000085
Approve40787122025-04-23 8:23:4225 mins ago1745396622IN
Beraborrow: NECT Token
0 BERA0.000006940.15000001
Approve40786282025-04-23 8:20:5728 mins ago1745396457IN
Beraborrow: NECT Token
0 BERA0.000004630.1
Approve40783642025-04-23 8:12:1736 mins ago1745395937IN
Beraborrow: NECT Token
0 BERA0.000023160.50000001
Approve40782402025-04-23 8:08:0940 mins ago1745395689IN
Beraborrow: NECT Token
0 BERA00.00000007
Approve40782352025-04-23 8:07:5841 mins ago1745395678IN
Beraborrow: NECT Token
0 BERA00.00000008
Approve40781102025-04-23 8:03:5245 mins ago1745395432IN
Beraborrow: NECT Token
0 BERA0.000000020.0012
Approve40778622025-04-23 7:55:4353 mins ago1745394943IN
Beraborrow: NECT Token
0 BERA0.000000330.00729903
Transfer40777562025-04-23 7:52:1556 mins ago1745394735IN
Beraborrow: NECT Token
0 BERA0.000000040.00120099
Approve40776792025-04-23 7:49:421 hrs ago1745394582IN
Beraborrow: NECT Token
0 BERA0.000000050.001201
Approve40772962025-04-23 7:37:021 hr ago1745393822IN
Beraborrow: NECT Token
0 BERA0.000000060.001329
Approve40771662025-04-23 7:32:451 hr ago1745393565IN
Beraborrow: NECT Token
0 BERA0.000023160.50000001
Approve40770702025-04-23 7:29:341 hr ago1745393374IN
Beraborrow: NECT Token
0 BERA0.000006990.150001
Approve40770372025-04-23 7:28:281 hr ago1745393308IN
Beraborrow: NECT Token
0 BERA00.00000007
Approve40768002025-04-23 7:20:391 hr ago1745392839IN
Beraborrow: NECT Token
0 BERA0.000023160.50000001
Approve40764212025-04-23 7:08:081 hr ago1745392088IN
Beraborrow: NECT Token
0 BERA0.000000250.00559813
Approve40761222025-04-23 6:58:121 hr ago1745391492IN
Beraborrow: NECT Token
0 BERA00.00000007
Approve40760622025-04-23 6:56:141 hr ago1745391374IN
Beraborrow: NECT Token
0 BERA0.000000050.001201
Approve40759242025-04-23 6:51:381 hr ago1745391098IN
Beraborrow: NECT Token
0 BERA0.000001860.04000001
Approve40759122025-04-23 6:51:141 hr ago1745391074IN
Beraborrow: NECT Token
0 BERA00.00000006
Approve40750602025-04-23 6:23:112 hrs ago1745389391IN
Beraborrow: NECT Token
0 BERA0.000000050.001201
Approve40749832025-04-23 6:20:392 hrs ago1745389239IN
Beraborrow: NECT Token
0 BERA0.000000030.001202
Approve40749782025-04-23 6:20:302 hrs ago1745389230IN
Beraborrow: NECT Token
0 BERA0.000000050.001201
Approve40749222025-04-23 6:18:382 hrs ago1745389118IN
Beraborrow: NECT Token
0 BERA0.000000050.001201
VIEW ADVANCED FILTER

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

Contract Source Code Verified (Exact Match)

Contract Name:
DebtToken

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion
File 1 of 8 : DebtToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.26;

import { IERC20, ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; 
import { IERC3156FlashBorrower } from "@openzeppelin/contracts/interfaces/IERC3156FlashBorrower.sol";
import "../interfaces/core/IBeraborrowCore.sol";

/**
    @title Beraborrow Debt Token "Nectar"
    @notice CDP minted against collateral deposits within `DenManager`.
            This contract has a 1:n relationship with multiple deployments of `DenManager`,
            each of which hold one collateral type which may be used to mint this token.
 */
contract DebtToken is ERC20 {
    string public constant version = "1";

    // --- ERC 3156 Data ---
    bytes32 private constant _RETURN_VALUE = keccak256("ERC3156FlashBorrower.onFlashLoan");

    // --- Data for EIP2612 ---

    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant permitTypeHash = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;
    // keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
    bytes32 private constant _TYPE_HASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f;

    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;

    mapping(address => uint256) private _nonces;

    IMetaBeraborrowCore private immutable _metaBeraborrowCore;
    address public gasPool;

    // --- Addresses ---
    /// @dev Whitelist of addresses that are allowed to mint and burn NECT.
    /// @dev Will make NECT multi-protocol in the future.
    mapping(address => bool) public liquidStabilityPools;
    mapping(address => bool) public borrowerOperations;
    mapping(address => bool) public factories;
    mapping(address => bool) public peripheries;
    mapping(address => bool) public denManagers;
    mapping(address => bool) public PSMBonds;

    // Amount of debt to be locked in gas pool on opening dens
    uint256 public DEBT_GAS_COMPENSATION;
    bool definitiveGasCompensation;

    event LiquidStabilityPoolWhitelisted(address indexed liquidStabilityPool, bool active);
    event BorrowerOperationsWhitelisted(address indexed borrowerOperations, bool active);
    event FactoryWhitelisted(address indexed factory, bool active);
    event PeripheryWhitelisted(address indexed periphery, bool active);
    event GasPoolSet(address indexed gasPool);
    event PSMBondSet(address indexed PSMBond);

    constructor(
        string memory _name,
        string memory _symbol,
        address _liquidStabilityPool,
        address _borrowerOperations,
        IMetaBeraborrowCore metaBeraborrowCore_,
        address _factory,
        address _gasPool,
        address _PSMBond,
        uint256 _gasCompensation
    ) ERC20(_name, _symbol) {
        if (_liquidStabilityPool == address(0) || _borrowerOperations == address(0) || _factory == address(0) || _gasPool == address(0)) {
            revert("Debt: 0 address");
        }

        liquidStabilityPools[_liquidStabilityPool] = true;
        borrowerOperations[_borrowerOperations] = true;
        factories[_factory] = true;
        PSMBonds[_PSMBond] = true;

        _metaBeraborrowCore = metaBeraborrowCore_;
        gasPool = _gasPool;

        DEBT_GAS_COMPENSATION = _gasCompensation;

        bytes32 hashedName = keccak256(bytes(_name));
        bytes32 hashedVersion = keccak256(bytes(version));

        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(_TYPE_HASH, hashedName, hashedVersion);
    }

    function enableDenManager(address _denManager) external {
        require(factories[msg.sender], "!Factory");
        denManagers[_denManager] = true;
    }

    // --- Functions for intra-Beraborrow calls ---

    function mintWithGasCompensation(address _account, uint256 _amount) external returns (bool) {
        require(borrowerOperations[msg.sender]);
        _mint(_account, _amount);
        _mint(gasPool, DEBT_GAS_COMPENSATION);

        return true;
    }

    function burnWithGasCompensation(address _account, uint256 _amount) external returns (bool) {
        require(borrowerOperations[msg.sender]);
        _burn(_account, _amount);
        _burn(gasPool, DEBT_GAS_COMPENSATION);

        return true;
    }

    function mint(address _account, uint256 _amount) external {
        require(borrowerOperations[msg.sender] || denManagers[msg.sender] || PSMBonds[msg.sender], "Debt: Caller not BO/DM");
        _mint(_account, _amount);
    }

    function burn(address _account, uint256 _amount) external {
        require(denManagers[msg.sender] || PSMBonds[msg.sender], "Debt: Caller not DenManager");
        _burn(_account, _amount);
    }
    
    function sendToPeriphery(address _sender, uint256 _amount) external {
        require(peripheries[msg.sender], "Debt: Caller not periphery");
        _transfer(_sender, msg.sender, _amount);
    }

    function sendToSP(address _sender, uint256 _amount) external {
        require(liquidStabilityPools[msg.sender], "Debt: Caller not StabilityPool");
        _transfer(_sender, msg.sender, _amount);
    }

    function returnFromPool(address _poolAddress, address _receiver, uint256 _amount) external {
        require(liquidStabilityPools[msg.sender] || denManagers[msg.sender], "Debt: Caller not DM/SP");
        _transfer(_poolAddress, _receiver, _amount);
    }

    // --- External functions ---

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _requireValidRecipient(recipient);
        return super.transfer(recipient, amount);
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _requireValidRecipient(recipient);
        return super.transferFrom(sender, recipient, amount);
    }

    // --- ERC 3156 Functions ---

    /**
     * @dev Returns the maximum amount of tokens available for loan.
     * @param token The address of the token that is requested.
     * @return The amount of token that can be loaned.
     */
    function maxFlashLoan(address token) public view returns (uint256) {
        return token == address(this) ? type(uint256).max - totalSupply() : 0;
    }

    /**
     * @dev Returns the fee applied when doing flash loans. This function calls
     * the {_flashFee} function which returns the fee applied when doing flash
     * loans.
     * @param token The token to be flash loaned.
     * @param amount The amount of tokens to be loaned.
     * @return The fees applied to the corresponding flash loan.
     */
    function flashFee(address token, uint256 amount) public view returns (uint256) {
        require(token == address(this), "ERC20FlashMint: wrong token");
        return _flashFee(amount);
    }

    /**
     * @dev Returns the fee applied when doing flash loans. By default this
     * implementation has 0 fees. This function can be overloaded to make
     * the flash loan mechanism deflationary.
     * @param amount The amount of tokens to be loaned.
     * @return The fees applied to the corresponding flash loan.
     */
    function _flashFee(uint256 amount) internal view returns (uint256) {
        uint effectiveFee = _metaBeraborrowCore.getPeripheryFlashLoanFee(msg.sender);

        return (amount * effectiveFee) / 1e4;
    }

    /**
     * @dev Performs a flash loan. New tokens are minted and sent to the
     * `receiver`, who is required to implement the {IERC3156FlashBorrower}
     * interface. By the end of the flash loan, the receiver is expected to own
     * amount + fee tokens and have them approved back to the token contract itself so
     * they can be burned.
     * @param receiver The receiver of the flash loan. Should implement the
     * {IERC3156FlashBorrower-onFlashLoan} interface.
     * @param token The token to be flash loaned. Only `address(this)` is
     * supported.
     * @param amount The amount of tokens to be loaned.
     * @param data An arbitrary datafield that is passed to the receiver.
     * @return `true` if the flash loan was successful.
     */
    // This function can reenter, but it doesn't pose a risk because it always preserves the property that the amount
    // minted at the beginning is always recovered and burned at the end, or else the entire function will revert.
    // slither-disable-next-line reentrancy-no-eth
    function flashLoan(
        IERC3156FlashBorrower receiver,
        address token,
        uint256 amount,
        bytes calldata data
    ) external returns (bool) {
        uint256 fee = flashFee(token, amount);
        require(amount <= maxFlashLoan(token), "ERC20FlashMint: amount exceeds maxFlashLoan");

        _mint(address(receiver), amount);
        require(
            receiver.onFlashLoan(msg.sender, token, amount, fee, data) == _RETURN_VALUE,
            "ERC20FlashMint: invalid return value"
        );
        _spendAllowance(address(receiver), address(this), amount + fee);
        _burn(address(receiver), amount);
        _transfer(address(receiver), _metaBeraborrowCore.feeReceiver(), fee);
        return true;
    }

    modifier onlyOwner() {
        require(_metaBeraborrowCore.owner() == msg.sender, "Caller not BeraborowCore::owner()");
        _;
    }

    // OnlyOwner setters

    /// @dev Allows NECT to be protocol transferable
    function whitelistLiquidStabilityPoolAddress(address _liquidStabilityPool, bool active) external onlyOwner {
        liquidStabilityPools[_liquidStabilityPool] = active;
        emit LiquidStabilityPoolWhitelisted(_liquidStabilityPool, active);
    }

    function whitelistBorrowerOperationsAddress(address _borrowerOperations, bool active) external onlyOwner {
        borrowerOperations[_borrowerOperations] = active;
        emit BorrowerOperationsWhitelisted(_borrowerOperations, active);
    }

    function whitelistFactoryAddress(address _factory, bool active) external onlyOwner {
        factories[_factory] = active;
        emit FactoryWhitelisted(_factory, active);
    }

    function whitelistPeripheryAddress(address _periphery, bool active) external onlyOwner {
        peripheries[_periphery] = active;
        emit PeripheryWhitelisted(_periphery, active);
    }

    function setGasPool(address _gasPool) external onlyOwner {
        gasPool = _gasPool;
        emit GasPoolSet(_gasPool);
    }

    function setDebtGasCompensation(uint256 _gasCompensation, bool _isFinalValue) external onlyOwner {
        require(!definitiveGasCompensation);

        DEBT_GAS_COMPENSATION = _gasCompensation;
        definitiveGasCompensation = _isFinalValue;
    }

    function whitelistPSMBond(address _PSMBond, bool active) external onlyOwner {
        PSMBonds[_PSMBond] = active;
        emit PSMBondSet(_PSMBond);
    }

    // --- EIP 2612 Functionality ---

    function DOMAIN_SEPARATOR() public view returns (bytes32) {
        if (block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        require(deadline >= block.timestamp, "Debt: expired deadline");
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR(),
                keccak256(abi.encode(permitTypeHash, owner, spender, amount, _nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress == owner, "Debt: invalid signature");
        _approve(owner, spender, amount);
    }

    function nonces(address owner) external view returns (uint256) {
        // FOR EIP 2612
        return _nonces[owner];
    }

    // --- Internal operations ---

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name_, bytes32 version_) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, name_, version_, block.chainid, address(this)));
    }

    // --- 'require' functions ---

    function _requireValidRecipient(address _recipient) internal view {
        require(
            _recipient != address(0) && _recipient != address(this),
            "Debt: Cannot transfer tokens directly to the Debt token contract or the zero address"
        );
        require(
            !denManagers[_recipient] && !borrowerOperations[_recipient],
            "Debt: Cannot transfer tokens directly to the DenManager or BorrowerOps"
        );
    }
}

File 2 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

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

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * 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) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 3 of 8 : IERC3156FlashBorrower.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (interfaces/IERC3156FlashBorrower.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC3156 FlashBorrower, as defined in
 * https://eips.ethereum.org/EIPS/eip-3156[ERC-3156].
 *
 * _Available since v4.1._
 */
interface IERC3156FlashBorrower {
    /**
     * @dev Receive a flash loan.
     * @param initiator The initiator of the loan.
     * @param token The loan currency.
     * @param amount The amount of tokens lent.
     * @param fee The additional amount of tokens to repay.
     * @param data Arbitrary data structure, intended to contain user-defined parameters.
     * @return The keccak256 hash of "IERC3156FlashBorrower.onFlashLoan"
     */
    function onFlashLoan(
        address initiator,
        address token,
        uint256 amount,
        uint256 fee,
        bytes calldata data
    ) external returns (bytes32);
}

File 4 of 8 : IBeraborrowCore.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.26;

import {IMetaBeraborrowCore} from "src/interfaces/core/IMetaBeraborrowCore.sol";

interface IBeraborrowCore {

    // --- Public variables ---
    function metaBeraborrowCore() external view returns (IMetaBeraborrowCore);
    function startTime() external view returns (uint256);
    function CCR() external view returns (uint256);
    function dmBootstrapPeriod() external view returns (uint64);
    function isPeriphery(address peripheryContract) external view returns (bool);

    // --- External functions ---

    function setPeripheryEnabled(address _periphery, bool _enabled) external;
    function setDMBootstrapPeriod(address dm, uint64 _bootstrapPeriod) external;
    function setNewCCR(uint256 _CCR) external;

    function priceFeed() external view returns (address);
    function owner() external view returns (address);
    function pendingOwner() external view returns (address);
    function guardian() external view returns (address);
    function manager() external view returns (address);
    function feeReceiver() external view returns (address);
    function paused() external view returns (bool);
    function lspBootstrapPeriod() external view returns (uint64);
    function getLspEntryFee(address rebalancer) external view returns (uint16);
    function getLspExitFee(address rebalancer) external view returns (uint16);
    function getPeripheryFlashLoanFee(address peripheryContract) external view returns (uint16);

    // --- Events ---
    event CCRSet(uint256 initialCCR);
    event DMBootstrapPeriodSet(address dm, uint64 bootstrapPeriod);
    event PeripheryEnabled(address indexed periphery, bool enabled);
}

File 5 of 8 : 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 6 of 8 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity 0.8.26;

interface IMetaBeraborrowCore {
    // ---------------------------------
    // Structures
    // ---------------------------------
    struct FeeInfo {
        bool existsForNect;
        uint16 nectFee;
    }

    struct RebalancerFeeInfo {
        bool exists;
        uint16 entryFee;
        uint16 exitFee;
    }

    // ---------------------------------
    // Public constants
    // ---------------------------------
    function OWNERSHIP_TRANSFER_DELAY() external view returns (uint256);
    function DEFAULT_FLASH_LOAN_FEE() external view returns (uint16);

    // ---------------------------------
    // Public state variables
    // ---------------------------------
    function nect() external view returns (address);
    function lspEntryFee() external view returns (uint16);
    function lspExitFee() external view returns (uint16);

    function feeReceiver() external view returns (address);
    function priceFeed() external view returns (address);
    function owner() external view returns (address);
    function pendingOwner() external view returns (address);
    function ownershipTransferDeadline() external view returns (uint256);
    function manager() external view returns (address);
    function guardian() external view returns (address);
    function paused() external view returns (bool);
    function lspBootstrapPeriod() external view returns (uint64);

    // ---------------------------------
    // External functions
    // ---------------------------------
    function setFeeReceiver(address _feeReceiver) external;
    function setPriceFeed(address _priceFeed) external;
    function setGuardian(address _guardian) external;
    function setManager(address _manager) external;

    /**
     * @notice Global pause/unpause
     *         Pausing halts new deposits/borrowing across the protocol
     */
    function setPaused(bool _paused) external;

    /**
     * @notice Extend or change the LSP bootstrap period,
     *         after which certain protocol mechanics change
     */
    function setLspBootstrapPeriod(uint64 _bootstrapPeriod) external;

    /**
     * @notice Set a custom flash-loan fee for a given periphery contract
     * @param _periphery Target contract that will get this custom fee
     * @param _nectFee Fee in basis points (bp)
     * @param _existsForNect Whether this custom fee is used when the caller = `nect`
     */
    function setPeripheryFlashLoanFee(address _periphery, uint16 _nectFee, bool _existsForNect) external;

    /**
     * @notice Begin the ownership transfer process
     * @param newOwner The address proposed to be the new owner
     */
    function commitTransferOwnership(address newOwner) external;

    /**
     * @notice Finish the ownership transfer, after the mandatory delay
     */
    function acceptTransferOwnership() external;

    /**
     * @notice Revoke a pending ownership transfer
     */
    function revokeTransferOwnership() external;

    /**
     * @notice Look up a custom flash-loan fee for a specific periphery contract
     * @param peripheryContract The contract that might have a custom fee
     * @return The flash-loan fee in basis points
     */
    function getPeripheryFlashLoanFee(address peripheryContract) external view returns (uint16);

    /**
     * @notice Set / override entry & exit fees for a special rebalancer contract
     */
    function setRebalancerFee(address _rebalancer, uint16 _entryFee, uint16 _exitFee) external;

    /**
     * @notice Set the LSP entry fee globally
     * @param _fee Fee in basis points
     */
    function setEntryFee(uint16 _fee) external;

    /**
     * @notice Set the LSP exit fee globally
     * @param _fee Fee in basis points
     */
    function setExitFee(uint16 _fee) external;

    /**
     * @notice Look up the LSP entry fee for a rebalancer
     * @param rebalancer Possibly has a special fee
     * @return The entry fee in basis points
     */
    function getLspEntryFee(address rebalancer) external view returns (uint16);

    /**
     * @notice Look up the LSP exit fee for a rebalancer
     * @param rebalancer Possibly has a special fee
     * @return The exit fee in basis points
     */
    function getLspExitFee(address rebalancer) external view returns (uint16);

    // ---------------------------------
    // Events
    // ---------------------------------
    event NewOwnerCommitted(address indexed owner, address indexed pendingOwner, uint256 deadline);
    event NewOwnerAccepted(address indexed oldOwner, address indexed newOwner);
    event NewOwnerRevoked(address indexed owner, address indexed revokedOwner);

    event FeeReceiverSet(address indexed feeReceiver);
    event PriceFeedSet(address indexed priceFeed);
    event GuardianSet(address indexed guardian);
    event ManagerSet(address indexed manager);
    event PeripheryFlashLoanFee(address indexed periphery, uint16 nectFee);
    event LSPBootstrapPeriodSet(uint64 bootstrapPeriod);
    event RebalancerFees(address indexed rebalancer, uint16 entryFee, uint16 exitFee);
    event EntryFeeSet(uint16 fee);
    event ExitFeeSet(uint16 fee);
    event Paused();
    event Unpaused();
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@openzeppelin-upgradeable/contracts/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "solady/=lib/solady/src/",
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "chimera/=lib/chimera/src/",
    "ds-test/=lib/chimera/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_liquidStabilityPool","type":"address"},{"internalType":"address","name":"_borrowerOperations","type":"address"},{"internalType":"contract IMetaBeraborrowCore","name":"metaBeraborrowCore_","type":"address"},{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_gasPool","type":"address"},{"internalType":"address","name":"_PSMBond","type":"address"},{"internalType":"uint256","name":"_gasCompensation","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"borrowerOperations","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"BorrowerOperationsWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"factory","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"FactoryWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"gasPool","type":"address"}],"name":"GasPoolSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"liquidStabilityPool","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"LiquidStabilityPoolWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"PSMBond","type":"address"}],"name":"PSMBondSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"periphery","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"PeripheryWhitelisted","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":"DEBT_GAS_COMPENSATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"PSMBonds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"borrowerOperations","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnWithGasCompensation","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"denManagers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_denManager","type":"address"}],"name":"enableDenManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"factories","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"flashFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC3156FlashBorrower","name":"receiver","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"flashLoan","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasPool","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":"","type":"address"}],"name":"liquidStabilityPools","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"maxFlashLoan","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintWithGasCompensation","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"peripheries","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"permitTypeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_poolAddress","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"returnFromPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendToPeriphery","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendToSP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_gasCompensation","type":"uint256"},{"internalType":"bool","name":"_isFinalValue","type":"bool"}],"name":"setDebtGasCompensation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gasPool","type":"address"}],"name":"setGasPool","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":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_borrowerOperations","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"whitelistBorrowerOperationsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"whitelistFactoryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidStabilityPool","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"whitelistLiquidStabilityPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_PSMBond","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"whitelistPSMBond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_periphery","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"whitelistPeripheryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610120604052348015610010575f80fd5b506040516128fb3803806128fb83398101604081905261002f916102db565b8888600361003d8382610435565b50600461004a8282610435565b5050506001600160a01b038716158061006a57506001600160a01b038616155b8061007c57506001600160a01b038416155b8061008e57506001600160a01b038316155b156100d15760405162461bcd60e51b815260206004820152600f60248201526e446562743a2030206164647265737360881b604482015260640160405180910390fd5b6001600160a01b038781165f9081526007602090815260408083208054600160ff1991821681179092558b8616855260088452828520805482168317905589861685526009845282852080548216831790558786168552600c8452938290208054909416811790935588841661010052600680546001600160a01b03191694881694909417909355600d8490558b518c82012083518085018552928352603160f81b9282019290925260c08281527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660e08190524660a081815286517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8187015280880187905260608101849052608081019290925230828201528651808303909101815292019094528051910120909190608052506104ef9950505050505050505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261023a575f80fd5b81516001600160401b0381111561025357610253610217565b604051601f8201601f19908116603f011681016001600160401b038111828210171561028157610281610217565b604052818152838201602001851015610298575f80fd5b8160208501602083015e5f918101602001919091529392505050565b6001600160a01b03811681146102c8575f80fd5b50565b80516102d6816102b4565b919050565b5f805f805f805f805f6101208a8c0312156102f4575f80fd5b89516001600160401b03811115610309575f80fd5b6103158c828d0161022b565b60208c0151909a5090506001600160401b03811115610332575f80fd5b61033e8c828d0161022b565b98505060408a015161034f816102b4565b965061035d60608b016102cb565b955061036b60808b016102cb565b945061037960a08b016102cb565b935061038760c08b016102cb565b925061039560e08b016102cb565b91505f6101008b01519050809150509295985092959850929598565b600181811c908216806103c557607f821691505b6020821081036103e357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561043057805f5260205f20601f840160051c8101602085101561040e5750805b601f840160051c820191505b8181101561042d575f815560010161041a565b50505b505050565b81516001600160401b0381111561044e5761044e610217565b6104628161045c84546103b1565b846103e9565b6020601f821160018114610494575f831561047d5750848201515b5f19600385901b1c1916600184901b17845561042d565b5f84815260208120601f198516915b828110156104c357878501518255602094850194600190920191016104a3565b50848210156104e057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b60805160a05160c05160e051610100516123976105645f395f81816107870152818161089601528181610ca401528181610dcf015281816110f5015281816111fc01528181611303015281816114000152611eba01525f610a0501525f6109e001525f61096501525f61098d01526123975ff3fe608060405234801561000f575f80fd5b5060043610610255575f3560e01c80637ecebe0011610140578063c0b94e9f116100bf578063d6c743ab11610084578063d6c743ab14610588578063d9d98ce4146105aa578063dd62ed3e146105bd578063e75b3ae7146105d0578063fa08b038146105e3578063fab526891461060e575f80fd5b8063c0b94e9f1461051a578063c8d053ea1461053c578063cfbca5ec1461054f578063d45d2d6814610562578063d505accf14610575575f80fd5b80639dc29fac116101055780639dc29fac146104bb5780639ed0db0e146104ce578063a457c2d7146104e1578063a9059cbb146104f4578063be24eaf114610507575f80fd5b80637ecebe00146104435780637f2ac9751461046b578063851775091461048d5780638cff5fbe146104a057806395d89b41146104b3575f80fd5b80633644e515116101d75780635cffe9de1161019c5780635cffe9de146103ad578063613255ab146103c05780636a2366af146103d35780636b543b68146103f55780636c7219e71461040857806370a082311461041b575f80fd5b80633644e51514610356578063395093511461035e57806340c10f19146103715780634ba4a28b1461038457806354fd4d501461038d575f80fd5b806323b872dd1161021d57806323b872dd146102ec57806324a8d34c146102ff57806326a153a5146103125780632db45bf014610325578063313ce56714610347575f80fd5b806306fdde0314610259578063095ea7b31461027757806310ce43bd1461029a57806318160ddd146102cf57806320c582be146102d7575b5f80fd5b610261610630565b60405161026e9190611f40565b60405180910390f35b61028a610285366004611f89565b6106c0565b604051901515815260200161026e565b6102c17f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405190815260200161026e565b6002546102c1565b6102ea6102e5366004611fb3565b6106d9565b005b61028a6102fa366004611fb3565b61075e565b6102ea61030d366004612005565b61077b565b6102ea610320366004612038565b61088a565b61028a610333366004612059565b600c6020525f908152604090205460ff1681565b6040516012815260200161026e565b6102c1610962565b61028a61036c366004611f89565b610a53565b6102ea61037f366004611f89565b610a74565b6102c1600d5481565b610261604051806040016040528060018152602001603160f81b81525081565b61028a6103bb366004612074565b610b0b565b6102c16103ce366004612059565b610d35565b61028a6103e1366004612059565b60076020525f908152604090205460ff1681565b6102ea610403366004611f89565b610d5a565b6102ea610416366004612005565b610dc3565b6102c1610429366004612059565b6001600160a01b03165f9081526020819052604090205490565b6102c1610451366004612059565b6001600160a01b03165f9081526005602052604090205490565b61028a610479366004612059565b600a6020525f908152604090205460ff1681565b61028a61049b366004611f89565b610eca565b61028a6104ae366004611f89565b610f10565b610261610f4d565b6102ea6104c9366004611f89565b610f5c565b6102ea6104dc366004612059565b610fdd565b61028a6104ef366004611f89565b611049565b61028a610502366004611f89565b6110ce565b6102ea610515366004612005565b6110e9565b61028a610528366004612059565b60086020525f908152604090205460ff1681565b6102ea61054a366004612005565b6111f0565b6102ea61055d366004612005565b6112f7565b6102ea610570366004612059565b6113f4565b6102ea61058336600461210d565b6114ed565b61028a610596366004612059565b600b6020525f908152604090205460ff1681565b6102c16105b8366004611f89565b6116f0565b6102c16105cb36600461217e565b611752565b6102ea6105de366004611f89565b61177c565b6006546105f6906001600160a01b031681565b6040516001600160a01b03909116815260200161026e565b61028a61061c366004612059565b60096020525f908152604090205460ff1681565b60606003805461063f906121b5565b80601f016020809104026020016040519081016040528092919081815260200182805461066b906121b5565b80156106b65780601f1061068d576101008083540402835291602001916106b6565b820191905f5260205f20905b81548152906001019060200180831161069957829003601f168201915b5050505050905090565b5f336106cd8185856117da565b60019150505b92915050565b335f9081526007602052604090205460ff16806107045750335f908152600b602052604090205460ff165b61074e5760405162461bcd60e51b81526020600482015260166024820152750446562743a2043616c6c6572206e6f7420444d2f53560541b60448201526064015b60405180910390fd5b6107598383836118fd565b505050565b5f61076883611aa1565b610773848484611c15565b949350505050565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080591906121ed565b6001600160a01b03161461082b5760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f818152600a6020908152604091829020805460ff191685151590811790915591519182527f0f3e23d9f4c143cfb9669f0f5414551da120d83e0a9d3f215787f9abeee4de9c91015b60405180910390a25050565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091491906121ed565b6001600160a01b03161461093a5760405162461bcd60e51b815260040161074590612208565b600e5460ff1615610949575f80fd5b600d91909155600e805460ff1916911515919091179055565b5f7f000000000000000000000000000000000000000000000000000000000000000046036109af57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b5f336106cd818585610a658383611752565b610a6f919061225d565b6117da565b335f9081526008602052604090205460ff1680610a9f5750335f908152600b602052604090205460ff165b80610ab85750335f908152600c602052604090205460ff165b610afd5760405162461bcd60e51b8152602060048201526016602482015275446562743a2043616c6c6572206e6f7420424f2f444d60501b6044820152606401610745565b610b078282611c2d565b5050565b5f80610b1786866116f0565b9050610b2286610d35565b851115610b855760405162461bcd60e51b815260206004820152602b60248201527f4552433230466c6173684d696e743a20616d6f756e742065786365656473206d60448201526a30bc233630b9b42637b0b760a91b6064820152608401610745565b610b8f8786611c2d565b6040516323e30c8b60e01b81527f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd9906001600160a01b038916906323e30c8b90610be79033908b908b9088908c908c90600401612270565b6020604051808303815f875af1158015610c03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2791906122c8565b14610c805760405162461bcd60e51b8152602060048201526024808201527f4552433230466c6173684d696e743a20696e76616c69642072657475726e2076604482015263616c756560e01b6064820152608401610745565b610c948730610c8f848961225d565b611cea565b610c9e8786611d5c565b610d28877f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663b3f006746040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2291906121ed565b836118fd565b5060019695505050505050565b5f6001600160a01b0382163014610d4c575f6106d3565b6002546106d3905f196122df565b335f908152600a602052604090205460ff16610db85760405162461bcd60e51b815260206004820152601a60248201527f446562743a2043616c6c6572206e6f74207065726970686572790000000000006044820152606401610745565b610b078233836118fd565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e4d91906121ed565b6001600160a01b031614610e735760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f81815260096020908152604091829020805460ff191685151590811790915591519182527f22beee31da954d00dc9ac528e6f845d3912b40ddb4ab6db620876632299374e7910161087e565b335f9081526008602052604081205460ff16610ee4575f80fd5b610eee8383611d5c565b600654600d54610f07916001600160a01b031690611d5c565b50600192915050565b335f9081526008602052604081205460ff16610f2a575f80fd5b610f348383611c2d565b600654600d54610f07916001600160a01b031690611c2d565b60606004805461063f906121b5565b335f908152600b602052604090205460ff1680610f875750335f908152600c602052604090205460ff165b610fd35760405162461bcd60e51b815260206004820152601b60248201527f446562743a2043616c6c6572206e6f742044656e4d616e6167657200000000006044820152606401610745565b610b078282611d5c565b335f9081526009602052604090205460ff166110265760405162461bcd60e51b815260206004820152600860248201526721466163746f727960c01b6044820152606401610745565b6001600160a01b03165f908152600b60205260409020805460ff19166001179055565b5f33816110568286611752565b9050838110156110b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610745565b6110c382868684036117da565b506001949350505050565b5f6110d883611aa1565b6110e28383611e8c565b9392505050565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061117391906121ed565b6001600160a01b0316146111995760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527faae17410fcabb9af97b361d2e164bbb6307097658c0281882774d70ca022f03a910161087e565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611256573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061127a91906121ed565b6001600160a01b0316146112a05760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f81815260076020908152604091829020805460ff191685151590811790915591519182527f70df214290d7c0aff431642b22bbf9b1e2ed6b449b1a5a33c653f5955a2baddf910161087e565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061138191906121ed565b6001600160a01b0316146113a75760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f818152600c6020526040808220805460ff1916851515179055517fc1cc2d3c419f3390db274f930e94d1bfc66b755ce3b7cd03eda830d313bcd87e9190a25050565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561145a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061147e91906121ed565b6001600160a01b0316146114a45760405162461bcd60e51b815260040161074590612208565b600680546001600160a01b0319166001600160a01b0383169081179091556040517f2e2d80f5010c461d5624860d67bb3ea4eae961857d70642f8677f684d22f31dd905f90a250565b428410156115365760405162461bcd60e51b8152602060048201526016602482015275446562743a206578706972656420646561646c696e6560501b6044820152606401610745565b5f61153f610962565b6001600160a01b0389165f90815260056020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c9290919061158c836122f2565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e0016040516020818303038152906040528051906020012060405160200161160592919061190160f01b81526002810192909252602282015260420190565b60408051601f1981840301815282825280516020918201205f80855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa15801561166d573d5f803e3d5ffd5b505050602060405103519050886001600160a01b0316816001600160a01b0316146116da5760405162461bcd60e51b815260206004820152601760248201527f446562743a20696e76616c6964207369676e61747572650000000000000000006044820152606401610745565b6116e58989896117da565b505050505050505050565b5f6001600160a01b03831630146117495760405162461bcd60e51b815260206004820152601b60248201527f4552433230466c6173684d696e743a2077726f6e6720746f6b656e00000000006044820152606401610745565b6110e282611e99565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b335f9081526007602052604090205460ff16610db85760405162461bcd60e51b815260206004820152601e60248201527f446562743a2043616c6c6572206e6f742053746162696c697479506f6f6c00006044820152606401610745565b6001600160a01b03831661183c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610745565b6001600160a01b03821661189d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610745565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166119615760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610745565b6001600160a01b0382166119c35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610745565b6001600160a01b0383165f9081526020819052604090205481811015611a3a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610745565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b6001600160a01b03811615801590611ac257506001600160a01b0381163014155b611b515760405162461bcd60e51b815260206004820152605460248201527f446562743a2043616e6e6f74207472616e7366657220746f6b656e732064697260448201527f6563746c7920746f20746865204465627420746f6b656e20636f6e7472616374606482015273206f7220746865207a65726f206164647265737360601b608482015260a401610745565b6001600160a01b0381165f908152600b602052604090205460ff16158015611b9157506001600160a01b0381165f9081526008602052604090205460ff16155b611c125760405162461bcd60e51b815260206004820152604660248201527f446562743a2043616e6e6f74207472616e7366657220746f6b656e732064697260448201527f6563746c7920746f207468652044656e4d616e61676572206f7220426f72726f6064820152657765724f707360d01b608482015260a401610745565b50565b5f33611c22858285611cea565b6110c38585856118fd565b6001600160a01b038216611c835760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610745565b8060025f828254611c94919061225d565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f611cf58484611752565b90505f198114611a9b5781811015611d4f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610745565b611a9b84848484036117da565b6001600160a01b038216611dbc5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610745565b6001600160a01b0382165f9081526020819052604090205481811015611e2f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610745565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b5f336106cd8185856118fd565b6040516339b6946960e21b81523360048201525f9081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063e6da51a490602401602060405180830381865afa158015611eff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f23919061230a565b61ffff169050612710611f36828561232b565b6110e29190612342565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114611c12575f80fd5b5f8060408385031215611f9a575f80fd5b8235611fa581611f75565b946020939093013593505050565b5f805f60608486031215611fc5575f80fd5b8335611fd081611f75565b92506020840135611fe081611f75565b929592945050506040919091013590565b80358015158114612000575f80fd5b919050565b5f8060408385031215612016575f80fd5b823561202181611f75565b915061202f60208401611ff1565b90509250929050565b5f8060408385031215612049575f80fd5b8235915061202f60208401611ff1565b5f60208284031215612069575f80fd5b81356110e281611f75565b5f805f805f60808688031215612088575f80fd5b853561209381611f75565b945060208601356120a381611f75565b935060408601359250606086013567ffffffffffffffff8111156120c5575f80fd5b8601601f810188136120d5575f80fd5b803567ffffffffffffffff8111156120eb575f80fd5b8860208284010111156120fc575f80fd5b959894975092955050506020019190565b5f805f805f805f60e0888a031215612123575f80fd5b873561212e81611f75565b9650602088013561213e81611f75565b95506040880135945060608801359350608088013560ff81168114612161575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f806040838503121561218f575f80fd5b823561219a81611f75565b915060208301356121aa81611f75565b809150509250929050565b600181811c908216806121c957607f821691505b6020821081036121e757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156121fd575f80fd5b81516110e281611f75565b60208082526021908201527f43616c6c6572206e6f742042657261626f726f77436f72653a3a6f776e6572286040820152602960f81b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106d3576106d3612249565b6001600160a01b03878116825286166020820152604081018590526060810184905260a0608082018190528101829052818360c08301375f81830160c090810191909152601f909201601f1916010195945050505050565b5f602082840312156122d8575f80fd5b5051919050565b818103818111156106d3576106d3612249565b5f6001820161230357612303612249565b5060010190565b5f6020828403121561231a575f80fd5b815161ffff811681146110e2575f80fd5b80820281158282048414176106d3576106d3612249565b5f8261235c57634e487b7160e01b5f52601260045260245ffd5b50049056fea26469706673582212201db6c08416326dbf625f73888eb78cfa9b58a5e36c946505fdcb56ed61bbc79664736f6c634300081a003300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc7000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000088d80a806b015a3047baf3e8d0a391b3d13e0c8000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000000000064e6563746172000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e45435400000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610255575f3560e01c80637ecebe0011610140578063c0b94e9f116100bf578063d6c743ab11610084578063d6c743ab14610588578063d9d98ce4146105aa578063dd62ed3e146105bd578063e75b3ae7146105d0578063fa08b038146105e3578063fab526891461060e575f80fd5b8063c0b94e9f1461051a578063c8d053ea1461053c578063cfbca5ec1461054f578063d45d2d6814610562578063d505accf14610575575f80fd5b80639dc29fac116101055780639dc29fac146104bb5780639ed0db0e146104ce578063a457c2d7146104e1578063a9059cbb146104f4578063be24eaf114610507575f80fd5b80637ecebe00146104435780637f2ac9751461046b578063851775091461048d5780638cff5fbe146104a057806395d89b41146104b3575f80fd5b80633644e515116101d75780635cffe9de1161019c5780635cffe9de146103ad578063613255ab146103c05780636a2366af146103d35780636b543b68146103f55780636c7219e71461040857806370a082311461041b575f80fd5b80633644e51514610356578063395093511461035e57806340c10f19146103715780634ba4a28b1461038457806354fd4d501461038d575f80fd5b806323b872dd1161021d57806323b872dd146102ec57806324a8d34c146102ff57806326a153a5146103125780632db45bf014610325578063313ce56714610347575f80fd5b806306fdde0314610259578063095ea7b31461027757806310ce43bd1461029a57806318160ddd146102cf57806320c582be146102d7575b5f80fd5b610261610630565b60405161026e9190611f40565b60405180910390f35b61028a610285366004611f89565b6106c0565b604051901515815260200161026e565b6102c17f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405190815260200161026e565b6002546102c1565b6102ea6102e5366004611fb3565b6106d9565b005b61028a6102fa366004611fb3565b61075e565b6102ea61030d366004612005565b61077b565b6102ea610320366004612038565b61088a565b61028a610333366004612059565b600c6020525f908152604090205460ff1681565b6040516012815260200161026e565b6102c1610962565b61028a61036c366004611f89565b610a53565b6102ea61037f366004611f89565b610a74565b6102c1600d5481565b610261604051806040016040528060018152602001603160f81b81525081565b61028a6103bb366004612074565b610b0b565b6102c16103ce366004612059565b610d35565b61028a6103e1366004612059565b60076020525f908152604090205460ff1681565b6102ea610403366004611f89565b610d5a565b6102ea610416366004612005565b610dc3565b6102c1610429366004612059565b6001600160a01b03165f9081526020819052604090205490565b6102c1610451366004612059565b6001600160a01b03165f9081526005602052604090205490565b61028a610479366004612059565b600a6020525f908152604090205460ff1681565b61028a61049b366004611f89565b610eca565b61028a6104ae366004611f89565b610f10565b610261610f4d565b6102ea6104c9366004611f89565b610f5c565b6102ea6104dc366004612059565b610fdd565b61028a6104ef366004611f89565b611049565b61028a610502366004611f89565b6110ce565b6102ea610515366004612005565b6110e9565b61028a610528366004612059565b60086020525f908152604090205460ff1681565b6102ea61054a366004612005565b6111f0565b6102ea61055d366004612005565b6112f7565b6102ea610570366004612059565b6113f4565b6102ea61058336600461210d565b6114ed565b61028a610596366004612059565b600b6020525f908152604090205460ff1681565b6102c16105b8366004611f89565b6116f0565b6102c16105cb36600461217e565b611752565b6102ea6105de366004611f89565b61177c565b6006546105f6906001600160a01b031681565b6040516001600160a01b03909116815260200161026e565b61028a61061c366004612059565b60096020525f908152604090205460ff1681565b60606003805461063f906121b5565b80601f016020809104026020016040519081016040528092919081815260200182805461066b906121b5565b80156106b65780601f1061068d576101008083540402835291602001916106b6565b820191905f5260205f20905b81548152906001019060200180831161069957829003601f168201915b5050505050905090565b5f336106cd8185856117da565b60019150505b92915050565b335f9081526007602052604090205460ff16806107045750335f908152600b602052604090205460ff165b61074e5760405162461bcd60e51b81526020600482015260166024820152750446562743a2043616c6c6572206e6f7420444d2f53560541b60448201526064015b60405180910390fd5b6107598383836118fd565b505050565b5f61076883611aa1565b610773848484611c15565b949350505050565b336001600160a01b03167f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc76001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e1573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061080591906121ed565b6001600160a01b03161461082b5760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f818152600a6020908152604091829020805460ff191685151590811790915591519182527f0f3e23d9f4c143cfb9669f0f5414551da120d83e0a9d3f215787f9abeee4de9c91015b60405180910390a25050565b336001600160a01b03167f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc76001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091491906121ed565b6001600160a01b03161461093a5760405162461bcd60e51b815260040161074590612208565b600e5460ff1615610949575f80fd5b600d91909155600e805460ff1916911515919091179055565b5f7f00000000000000000000000000000000000000000000000000000000000138de46036109af57507fe5a47ca0f5759b4b3628590b11a8b045073857abc619628a15fdd2af7568a2c890565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f6bb37859ac6f2ab8bfcd57a4dd8c002cf34fbdaedc41983a588b04ed3984ffd7828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b5f336106cd818585610a658383611752565b610a6f919061225d565b6117da565b335f9081526008602052604090205460ff1680610a9f5750335f908152600b602052604090205460ff165b80610ab85750335f908152600c602052604090205460ff165b610afd5760405162461bcd60e51b8152602060048201526016602482015275446562743a2043616c6c6572206e6f7420424f2f444d60501b6044820152606401610745565b610b078282611c2d565b5050565b5f80610b1786866116f0565b9050610b2286610d35565b851115610b855760405162461bcd60e51b815260206004820152602b60248201527f4552433230466c6173684d696e743a20616d6f756e742065786365656473206d60448201526a30bc233630b9b42637b0b760a91b6064820152608401610745565b610b8f8786611c2d565b6040516323e30c8b60e01b81527f439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd9906001600160a01b038916906323e30c8b90610be79033908b908b9088908c908c90600401612270565b6020604051808303815f875af1158015610c03573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2791906122c8565b14610c805760405162461bcd60e51b8152602060048201526024808201527f4552433230466c6173684d696e743a20696e76616c69642072657475726e2076604482015263616c756560e01b6064820152608401610745565b610c948730610c8f848961225d565b611cea565b610c9e8786611d5c565b610d28877f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc76001600160a01b031663b3f006746040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2291906121ed565b836118fd565b5060019695505050505050565b5f6001600160a01b0382163014610d4c575f6106d3565b6002546106d3905f196122df565b335f908152600a602052604090205460ff16610db85760405162461bcd60e51b815260206004820152601a60248201527f446562743a2043616c6c6572206e6f74207065726970686572790000000000006044820152606401610745565b610b078233836118fd565b336001600160a01b03167f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc76001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e4d91906121ed565b6001600160a01b031614610e735760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f81815260096020908152604091829020805460ff191685151590811790915591519182527f22beee31da954d00dc9ac528e6f845d3912b40ddb4ab6db620876632299374e7910161087e565b335f9081526008602052604081205460ff16610ee4575f80fd5b610eee8383611d5c565b600654600d54610f07916001600160a01b031690611d5c565b50600192915050565b335f9081526008602052604081205460ff16610f2a575f80fd5b610f348383611c2d565b600654600d54610f07916001600160a01b031690611c2d565b60606004805461063f906121b5565b335f908152600b602052604090205460ff1680610f875750335f908152600c602052604090205460ff165b610fd35760405162461bcd60e51b815260206004820152601b60248201527f446562743a2043616c6c6572206e6f742044656e4d616e6167657200000000006044820152606401610745565b610b078282611d5c565b335f9081526009602052604090205460ff166110265760405162461bcd60e51b815260206004820152600860248201526721466163746f727960c01b6044820152606401610745565b6001600160a01b03165f908152600b60205260409020805460ff19166001179055565b5f33816110568286611752565b9050838110156110b65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610745565b6110c382868684036117da565b506001949350505050565b5f6110d883611aa1565b6110e28383611e8c565b9392505050565b336001600160a01b03167f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc76001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561114f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061117391906121ed565b6001600160a01b0316146111995760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527faae17410fcabb9af97b361d2e164bbb6307097658c0281882774d70ca022f03a910161087e565b336001600160a01b03167f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc76001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611256573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061127a91906121ed565b6001600160a01b0316146112a05760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f81815260076020908152604091829020805460ff191685151590811790915591519182527f70df214290d7c0aff431642b22bbf9b1e2ed6b449b1a5a33c653f5955a2baddf910161087e565b336001600160a01b03167f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc76001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061138191906121ed565b6001600160a01b0316146113a75760405162461bcd60e51b815260040161074590612208565b6001600160a01b0382165f818152600c6020526040808220805460ff1916851515179055517fc1cc2d3c419f3390db274f930e94d1bfc66b755ce3b7cd03eda830d313bcd87e9190a25050565b336001600160a01b03167f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc76001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561145a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061147e91906121ed565b6001600160a01b0316146114a45760405162461bcd60e51b815260040161074590612208565b600680546001600160a01b0319166001600160a01b0383169081179091556040517f2e2d80f5010c461d5624860d67bb3ea4eae961857d70642f8677f684d22f31dd905f90a250565b428410156115365760405162461bcd60e51b8152602060048201526016602482015275446562743a206578706972656420646561646c696e6560501b6044820152606401610745565b5f61153f610962565b6001600160a01b0389165f90815260056020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c9290919061158c836122f2565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810187905260e0016040516020818303038152906040528051906020012060405160200161160592919061190160f01b81526002810192909252602282015260420190565b60408051601f1981840301815282825280516020918201205f80855291840180845281905260ff88169284019290925260608301869052608083018590529092509060019060a0016020604051602081039080840390855afa15801561166d573d5f803e3d5ffd5b505050602060405103519050886001600160a01b0316816001600160a01b0316146116da5760405162461bcd60e51b815260206004820152601760248201527f446562743a20696e76616c6964207369676e61747572650000000000000000006044820152606401610745565b6116e58989896117da565b505050505050505050565b5f6001600160a01b03831630146117495760405162461bcd60e51b815260206004820152601b60248201527f4552433230466c6173684d696e743a2077726f6e6720746f6b656e00000000006044820152606401610745565b6110e282611e99565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b335f9081526007602052604090205460ff16610db85760405162461bcd60e51b815260206004820152601e60248201527f446562743a2043616c6c6572206e6f742053746162696c697479506f6f6c00006044820152606401610745565b6001600160a01b03831661183c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610745565b6001600160a01b03821661189d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610745565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166119615760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610745565b6001600160a01b0382166119c35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610745565b6001600160a01b0383165f9081526020819052604090205481811015611a3a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610745565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b50505050565b6001600160a01b03811615801590611ac257506001600160a01b0381163014155b611b515760405162461bcd60e51b815260206004820152605460248201527f446562743a2043616e6e6f74207472616e7366657220746f6b656e732064697260448201527f6563746c7920746f20746865204465627420746f6b656e20636f6e7472616374606482015273206f7220746865207a65726f206164647265737360601b608482015260a401610745565b6001600160a01b0381165f908152600b602052604090205460ff16158015611b9157506001600160a01b0381165f9081526008602052604090205460ff16155b611c125760405162461bcd60e51b815260206004820152604660248201527f446562743a2043616e6e6f74207472616e7366657220746f6b656e732064697260448201527f6563746c7920746f207468652044656e4d616e61676572206f7220426f72726f6064820152657765724f707360d01b608482015260a401610745565b50565b5f33611c22858285611cea565b6110c38585856118fd565b6001600160a01b038216611c835760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610745565b8060025f828254611c94919061225d565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f611cf58484611752565b90505f198114611a9b5781811015611d4f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610745565b611a9b84848484036117da565b6001600160a01b038216611dbc5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610745565b6001600160a01b0382165f9081526020819052604090205481811015611e2f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610745565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b5f336106cd8185856118fd565b6040516339b6946960e21b81523360048201525f9081906001600160a01b037f00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc7169063e6da51a490602401602060405180830381865afa158015611eff573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f23919061230a565b61ffff169050612710611f36828561232b565b6110e29190612342565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114611c12575f80fd5b5f8060408385031215611f9a575f80fd5b8235611fa581611f75565b946020939093013593505050565b5f805f60608486031215611fc5575f80fd5b8335611fd081611f75565b92506020840135611fe081611f75565b929592945050506040919091013590565b80358015158114612000575f80fd5b919050565b5f8060408385031215612016575f80fd5b823561202181611f75565b915061202f60208401611ff1565b90509250929050565b5f8060408385031215612049575f80fd5b8235915061202f60208401611ff1565b5f60208284031215612069575f80fd5b81356110e281611f75565b5f805f805f60808688031215612088575f80fd5b853561209381611f75565b945060208601356120a381611f75565b935060408601359250606086013567ffffffffffffffff8111156120c5575f80fd5b8601601f810188136120d5575f80fd5b803567ffffffffffffffff8111156120eb575f80fd5b8860208284010111156120fc575f80fd5b959894975092955050506020019190565b5f805f805f805f60e0888a031215612123575f80fd5b873561212e81611f75565b9650602088013561213e81611f75565b95506040880135945060608801359350608088013560ff81168114612161575f80fd5b9699959850939692959460a0840135945060c09093013592915050565b5f806040838503121561218f575f80fd5b823561219a81611f75565b915060208301356121aa81611f75565b809150509250929050565b600181811c908216806121c957607f821691505b6020821081036121e757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156121fd575f80fd5b81516110e281611f75565b60208082526021908201527f43616c6c6572206e6f742042657261626f726f77436f72653a3a6f776e6572286040820152602960f81b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106d3576106d3612249565b6001600160a01b03878116825286166020820152604081018590526060810184905260a0608082018190528101829052818360c08301375f81830160c090810191909152601f909201601f1916010195945050505050565b5f602082840312156122d8575f80fd5b5051919050565b818103818111156106d3576106d3612249565b5f6001820161230357612303612249565b5060010190565b5f6020828403121561231a575f80fd5b815161ffff811681146110e2575f80fd5b80820281158282048414176106d3576106d3612249565b5f8261235c57634e487b7160e01b5f52601260045260245ffd5b50049056fea26469706673582212201db6c08416326dbf625f73888eb78cfa9b58a5e36c946505fdcb56ed61bbc79664736f6c634300081a0033

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

00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000000000000000000000000000000000000000dead00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc7000000000000000000000000000000000000000000000000000000000000dead000000000000000000000000088d80a806b015a3047baf3e8d0a391b3d13e0c8000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000000000064e6563746172000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e45435400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Nectar
Arg [1] : _symbol (string): NECT
Arg [2] : _liquidStabilityPool (address): 0x000000000000000000000000000000000000dEaD
Arg [3] : _borrowerOperations (address): 0x000000000000000000000000000000000000dEaD
Arg [4] : metaBeraborrowCore_ (address): 0x27393e8a6f8f2e32B870903279999C820E984DC7
Arg [5] : _factory (address): 0x000000000000000000000000000000000000dEaD
Arg [6] : _gasPool (address): 0x088D80A806b015a3047baF3e8D0A391B3D13e0c8
Arg [7] : _PSMBond (address): 0x000000000000000000000000000000000000dEaD
Arg [8] : _gasCompensation (uint256): 10000000000000000000

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [3] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [4] : 00000000000000000000000027393e8a6f8f2e32b870903279999c820e984dc7
Arg [5] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [6] : 000000000000000000000000088d80a806b015a3047baf3e8d0a391b3d13e0c8
Arg [7] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [8] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [10] : 4e65637461720000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [12] : 4e45435400000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
view all blocks produced

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

OVERVIEW

Beraborrow unlocks instant liquidity against Berachain assets through the first PoL powered stablecoin, Nectar.

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.