ETH Price: $2,733.35 (-4.19%)

Contract

0xD13F8C25CceD32cdfA79EB5eD654Ce3e484dCAF5
 
Transaction Hash
Method
Block
From
To
Set Governance147426602022-05-09 13:23:171004 days ago1652102597IN
0xD13F8C25...e484dCAF5
0 ETH0.0011370340.12552303
Execute147129712022-05-04 20:12:031009 days ago1651695123IN
0xD13F8C25...e484dCAF5
0 ETH0.0208391781.3105993
Execute147129672022-05-04 20:11:251009 days ago1651695085IN
0xD13F8C25...e484dCAF5
0 ETH0.0097761592.9813307
Execute147129642022-05-04 20:10:201009 days ago1651695020IN
0xD13F8C25...e484dCAF5
0 ETH0.0232906490.87577293
Execute147129582022-05-04 20:08:421009 days ago1651694922IN
0xD13F8C25...e484dCAF5
0 ETH0.0227251483.11958787
Execute147129522022-05-04 20:06:431009 days ago1651694803IN
0xD13F8C25...e484dCAF5
0 ETH0.0190200974.20939692
Execute147129432022-05-04 20:05:321009 days ago1651694732IN
0xD13F8C25...e484dCAF5
0 ETH0.0230112596.19968489
Execute147129392022-05-04 20:04:331009 days ago1651694673IN
0xD13F8C25...e484dCAF5
0 ETH0.020114778.48016229
Execute147129352022-05-04 20:02:421009 days ago1651694562IN
0xD13F8C25...e484dCAF5
0 ETH0.0147803657.66756032
Execute147129142022-05-04 19:59:251009 days ago1651694365IN
0xD13F8C25...e484dCAF5
0 ETH0.0154627156.5564911
Set Governance146732752022-04-28 14:03:261015 days ago1651154606IN
0xD13F8C25...e484dCAF5
0 ETH0.0019916970.2563383
Execute145317662022-04-06 10:19:131037 days ago1649240353IN
0xD13F8C25...e484dCAF5
0 ETH0.0031451857.75439885
Set Accumulator143144842022-03-03 14:21:301071 days ago1646317290IN
0xD13F8C25...e484dCAF5
0 ETH0.0020631167.98204844
Set Accumulator142107832022-02-15 12:45:521087 days ago1644929152IN
0xD13F8C25...e484dCAF5
0 ETH0.0015363950.62601633
Set Angle Deposi...142097592022-02-15 8:55:261088 days ago1644915326IN
0xD13F8C25...e484dCAF5
0 ETH0.0015420850.88726502
Claim Rewards141844292022-02-11 11:18:261091 days ago1644578306IN
0xD13F8C25...e484dCAF5
0 ETH0.012422658.60633814
Set Angle Deposi...140822292022-01-26 16:02:351107 days ago1643212955IN
0xD13F8C25...e484dCAF5
0 ETH0.01354683285.77404739
Create Lock140821422022-01-26 15:42:081107 days ago1643211728IN
0xD13F8C25...e484dCAF5
0 ETH0.0406622116.60650732

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
208795162024-10-02 18:09:59127 days ago1727892599
0xD13F8C25...e484dCAF5
0 ETH
208795162024-10-02 18:09:59127 days ago1727892599
0xD13F8C25...e484dCAF5
0 ETH
208795162024-10-02 18:09:59127 days ago1727892599
0xD13F8C25...e484dCAF5
0 ETH
208795162024-10-02 18:09:59127 days ago1727892599
0xD13F8C25...e484dCAF5
0 ETH
204534582024-08-04 6:40:59187 days ago1722753659
0xD13F8C25...e484dCAF5
0 ETH
204534582024-08-04 6:40:59187 days ago1722753659
0xD13F8C25...e484dCAF5
0 ETH
204534582024-08-04 6:40:59187 days ago1722753659
0xD13F8C25...e484dCAF5
0 ETH
204534582024-08-04 6:40:59187 days ago1722753659
0xD13F8C25...e484dCAF5
0 ETH
203673862024-07-23 6:17:59199 days ago1721715479
0xD13F8C25...e484dCAF5
0 ETH
203673862024-07-23 6:17:59199 days ago1721715479
0xD13F8C25...e484dCAF5
0 ETH
203673862024-07-23 6:17:59199 days ago1721715479
0xD13F8C25...e484dCAF5
0 ETH
203673862024-07-23 6:17:59199 days ago1721715479
0xD13F8C25...e484dCAF5
0 ETH
203642352024-07-22 19:44:11199 days ago1721677451
0xD13F8C25...e484dCAF5
0 ETH
203642352024-07-22 19:44:11199 days ago1721677451
0xD13F8C25...e484dCAF5
0 ETH
203642352024-07-22 19:44:11199 days ago1721677451
0xD13F8C25...e484dCAF5
0 ETH
203642352024-07-22 19:44:11199 days ago1721677451
0xD13F8C25...e484dCAF5
0 ETH
203551482024-07-21 13:15:35200 days ago1721567735
0xD13F8C25...e484dCAF5
0 ETH
203551482024-07-21 13:15:35200 days ago1721567735
0xD13F8C25...e484dCAF5
0 ETH
203551482024-07-21 13:15:35200 days ago1721567735
0xD13F8C25...e484dCAF5
0 ETH
203551482024-07-21 13:15:35200 days ago1721567735
0xD13F8C25...e484dCAF5
0 ETH
199113542024-05-20 13:11:59262 days ago1716210719
0xD13F8C25...e484dCAF5
0 ETH
199113542024-05-20 13:11:59262 days ago1716210719
0xD13F8C25...e484dCAF5
0 ETH
199113542024-05-20 13:11:59262 days ago1716210719
0xD13F8C25...e484dCAF5
0 ETH
199113542024-05-20 13:11:59262 days ago1716210719
0xD13F8C25...e484dCAF5
0 ETH
198420512024-05-10 20:33:47272 days ago1715373227
0xD13F8C25...e484dCAF5
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AngleLocker

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 7 : AngleLocker.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/IVeANGLE.sol";
import "./interfaces/IFeeDistributor.sol";
import "./interfaces/IAngleGaugeController.sol";

/// @title AngleLocker
/// @author StakeDAO
/// @notice Locks the ANGLE tokens to veANGLE contract
contract AngleLocker {
	using SafeERC20 for IERC20;
	using Address for address;

	/* ========== STATE VARIABLES ========== */
	address public governance;
	address public angleDepositor;
	address public accumulator;

	address public constant angle = address(0x31429d1856aD1377A8A0079410B297e1a9e214c2);
	address public constant veAngle = address(0x0C462Dbb9EC8cD1630f1728B2CFD2769d09f0dd5);
	address public feeDistributor = address(0x7F82ff050128e29Fd89D85d01b93246F744E62A0);
	address public gaugeController = address(0x9aD7e7b0877582E14c17702EecF49018DD6f2367);

	/* ========== EVENTS ========== */
	event LockCreated(address indexed user, uint256 value, uint256 duration);
	event TokenClaimed(address indexed user, uint256 value);
	event Voted(uint256 _voteId, address indexed _votingAddress, bool _support);
	event VotedOnGaugeWeight(address indexed _gauge, uint256 _weight);
	event Released(address indexed user, uint256 value);
	event GovernanceChanged(address indexed newGovernance);
	event AngleDepositorChanged(address indexed newAngleDepositor);
	event AccumulatorChanged(address indexed newAccumulator);
	event FeeDistributorChanged(address indexed newFeeDistributor);
	event GaugeControllerChanged(address indexed newGaugeController);

	/* ========== CONSTRUCTOR ========== */
	constructor(address _accumulator) {
		governance = msg.sender;
		accumulator = _accumulator;
		IERC20(angle).approve(veAngle, type(uint256).max);
	}

	/* ========== MODIFIERS ========== */
	modifier onlyGovernance() {
		require(msg.sender == governance, "!gov");
		_;
	}

	modifier onlyGovernanceOrAcc() {
		require(msg.sender == governance || msg.sender == accumulator, "!(gov||acc)");
		_;
	}

	modifier onlyGovernanceOrDepositor() {
		require(msg.sender == governance || msg.sender == angleDepositor, "!(gov||proxy||AngleDepositor)");
		_;
	}

	/* ========== MUTATIVE FUNCTIONS ========== */
	/// @notice Creates a lock by locking ANGLE token in the veAngle contract for the specified time
	/// @dev Can only be called by governance or proxy
	/// @param _value The amount of token to be locked
	/// @param _unlockTime The duration for which the token is to be locked
	function createLock(uint256 _value, uint256 _unlockTime) external onlyGovernanceOrDepositor {
		IVeANGLE(veAngle).create_lock(_value, _unlockTime);
		emit LockCreated(msg.sender, _value, _unlockTime);
	}

	/// @notice Increases the amount of ANGLE locked in veANGLE
	/// @dev The ANGLE needs to be transferred to this contract before calling
	/// @param _value The amount by which the lock amount is to be increased
	function increaseAmount(uint256 _value) external onlyGovernanceOrDepositor {
		IVeANGLE(veAngle).increase_amount(_value);
	}

	/// @notice Increases the duration for which ANGLE is locked in veANGLE for the user calling the function
	/// @param _unlockTime The duration in seconds for which the token is to be locked
	function increaseUnlockTime(uint256 _unlockTime) external onlyGovernanceOrDepositor {
		IVeANGLE(veAngle).increase_unlock_time(_unlockTime);
	}

	/// @notice Claim the token reward from the ANGLE fee Distributor passing the token as input parameter
	/// @param _recipient The address which will receive the claimed token reward
	function claimRewards(address _token, address _recipient) external onlyGovernanceOrAcc {
		uint256 claimed = IFeeDistributor(feeDistributor).claim();
		emit TokenClaimed(_recipient, claimed);
		IERC20(_token).safeTransfer(_recipient, claimed);
	}

	/// @notice Withdraw the ANGLE from veANGLE
	/// @dev call only after lock time expires
	/// @param _recipient The address which will receive the released ANGLE
	function release(address _recipient) external onlyGovernanceOrDepositor {
		IVeANGLE(veAngle).withdraw();
		uint256 balance = IERC20(angle).balanceOf(address(this));

		IERC20(angle).safeTransfer(_recipient, balance);
		emit Released(_recipient, balance);
	}

	/// @notice Vote on Angle Gauge Controller for a gauge with a given weight
	/// @param _gauge The gauge address to vote for
	/// @param _weight The weight with which to vote
	function voteGaugeWeight(address _gauge, uint256 _weight) external onlyGovernance {
		IAngleGaugeController(gaugeController).vote_for_gauge_weights(_gauge, _weight);
		emit VotedOnGaugeWeight(_gauge, _weight);
	}

	function setGovernance(address _governance) external onlyGovernance {
		governance = _governance;
		emit GovernanceChanged(_governance);
	}

	function setAngleDepositor(address _angleDepositor) external onlyGovernance {
		angleDepositor = _angleDepositor;
		emit AngleDepositorChanged(_angleDepositor);
	}

	function setFeeDistributor(address _newYD) external onlyGovernance {
		feeDistributor = _newYD;
		emit FeeDistributorChanged(_newYD);
	}

	function setGaugeController(address _gaugeController) external onlyGovernance {
		gaugeController = _gaugeController;
		emit GaugeControllerChanged(_gaugeController);
	}

	function setAccumulator(address _accumulator) external onlyGovernance {
		accumulator = _accumulator;
		emit AccumulatorChanged(_accumulator);
	}

	/// @notice execute a function
	/// @param to Address to sent the value to
	/// @param value Value to be sent
	/// @param data Call function data
	function execute(
		address to,
		uint256 value,
		bytes calldata data
	) external onlyGovernanceOrDepositor returns (bool, bytes memory) {
		(bool success, bytes memory result) = to.call{ value: value }(data);
		return (success, result);
	}
}

File 2 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 3 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 5 of 7 : IAngleGaugeController.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

interface IAngleGaugeController {
	function vote_for_gauge_weights(address, uint256) external;

	function vote(
		uint256,
		bool,
		bool
	) external; //voteId, support, executeIfDecided
}

File 6 of 7 : IFeeDistributor.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

interface IFeeDistributor {
	function claim() external returns (uint256);
}

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

pragma solidity 0.8.7;

interface IVeANGLE {
	struct LockedBalance {
		int128 amount;
		uint256 end;
	}

	function create_lock(uint256 _value, uint256 _unlock_time) external;

	function increase_amount(uint256 _value) external;

	function increase_unlock_time(uint256 _unlock_time) external;

	function withdraw() external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_accumulator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAccumulator","type":"address"}],"name":"AccumulatorChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAngleDepositor","type":"address"}],"name":"AngleDepositorChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newFeeDistributor","type":"address"}],"name":"FeeDistributorChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newGaugeController","type":"address"}],"name":"GaugeControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newGovernance","type":"address"}],"name":"GovernanceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"LockCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Released","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TokenClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_voteId","type":"uint256"},{"indexed":true,"internalType":"address","name":"_votingAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"_support","type":"bool"}],"name":"Voted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_gauge","type":"address"},{"indexed":false,"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"VotedOnGaugeWeight","type":"event"},{"inputs":[],"name":"accumulator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"angle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"angleDepositor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"name":"createLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"execute","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDistributor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gaugeController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"increaseAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"name":"increaseUnlockTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_accumulator","type":"address"}],"name":"setAccumulator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_angleDepositor","type":"address"}],"name":"setAngleDepositor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newYD","type":"address"}],"name":"setFeeDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gaugeController","type":"address"}],"name":"setGaugeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"veAngle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"voteGaugeWeight","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052737f82ff050128e29fd89d85d01b93246f744e62a0600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550739ad7e7b0877582e14c17702eecf49018dd6f2367600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000bb57600080fd5b506040516200252f3803806200252f8339818101604052810190620000e1919062000273565b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507331429d1856ad1377a8a0079410b297e1a9e214c273ffffffffffffffffffffffffffffffffffffffff1663095ea7b3730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401620001e7929190620002f9565b602060405180830381600087803b1580156200020257600080fd5b505af115801562000217573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023d9190620002a5565b5050620003a9565b600081519050620002568162000375565b92915050565b6000815190506200026d816200038f565b92915050565b6000602082840312156200028c576200028b62000370565b5b60006200029c8482850162000245565b91505092915050565b600060208284031215620002be57620002bd62000370565b5b6000620002ce848285016200025c565b91505092915050565b620002e28162000326565b82525050565b620002f38162000366565b82525050565b6000604082019050620003106000830185620002d7565b6200031f6020830184620002e8565b9392505050565b6000620003338262000346565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b620003808162000326565b81146200038c57600080fd5b50565b6200039a816200033a565b8114620003a657600080fd5b50565b61217680620003b96000396000f3fe608060405234801561001057600080fd5b50600436106101205760003560e01c806399eecb3b116100ad578063bbfe65f511610071578063bbfe65f5146102ce578063ccfc2e8d146102ea578063cecb13ac14610306578063cf3bac4114610322578063f1e42ccd1461034057610120565b806399eecb3b146102295780639b79c20414610247578063ab033ea914610265578063b52c05fe14610281578063b61d27f61461029d57610120565b806319165587116100f457806319165587146101995780635aa6e675146101b55780635d7e9bcb146101d3578063782e3b43146101ef5780637c616fe61461020d57610120565b806291d2b81461012557806303381154146101415780630d43e8ad1461015f57806315456eba1461017d575b600080fd5b61013f600480360381019061013a9190611949565b61035c565b005b610149610471565b6040516101569190611d28565b60405180910390f35b610167610497565b6040516101749190611d28565b60405180910390f35b61019760048036038101906101929190611a97565b6104bd565b005b6101b360048036038101906101ae9190611949565b610625565b005b6101bd6108b1565b6040516101ca9190611d28565b60405180910390f35b6101ed60048036038101906101e891906119b6565b6108d5565b005b6101f7610a44565b6040516102049190611d28565b60405180910390f35b61022760048036038101906102229190611a97565b610a5c565b005b610231610bc4565b60405161023e9190611d28565b60405180910390f35b61024f610bea565b60405161025c9190611d28565b60405180910390f35b61027f600480360381019061027a9190611949565b610c02565b005b61029b60048036038101906102969190611af1565b610d16565b005b6102b760048036038101906102b291906119f6565b610ed1565b6040516102c5929190611d6c565b60405180910390f35b6102e860048036038101906102e39190611949565b61103e565b005b61030460048036038101906102ff9190611949565b611152565b005b610320600480360381019061031b9190611949565b611267565b005b61032a61137c565b6040516103379190611d28565b60405180910390f35b61035a60048036038101906103559190611976565b6113a2565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e190611dbe565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fd50bbdff1b8665186b4159b8669a5d96e714f7682cf070b4afa119ac1de352d760405160405180910390a250565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806105645750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6105a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059a90611dfe565b60405180910390fd5b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd573ffffffffffffffffffffffffffffffffffffffff16634957677c826040518263ffffffff1660e01b81526004016105f09190611e7e565b600060405180830381600087803b15801561060a57600080fd5b505af115801561061e573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106cc5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61070b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070290611dfe565b60405180910390fd5b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd573ffffffffffffffffffffffffffffffffffffffff16633ccfd60b6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561076757600080fd5b505af115801561077b573d6000803e3d6000fd5b5050505060007331429d1856ad1377a8a0079410b297e1a9e214c273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107ce9190611d28565b60206040518083038186803b1580156107e657600080fd5b505afa1580156107fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081e9190611ac4565b905061085f82827331429d1856ad1377a8a0079410b297e1a9e214c273ffffffffffffffffffffffffffffffffffffffff166115ac9092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167fb21fb52d5749b80f3182f8c6992236b5e5576681880914484d7f4c9b062e619e826040516108a59190611e7e565b60405180910390a25050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095a90611dbe565b60405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d713632883836040518363ffffffff1660e01b81526004016109c0929190611d43565b600060405180830381600087803b1580156109da57600080fd5b505af11580156109ee573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff167f2fefa1cab32c5921347b6a8953244d5d1e3a3cdd7aa8be9783443dff698a361b82604051610a389190611e7e565b60405180910390a25050565b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd581565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b035750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990611dfe565b60405180910390fd5b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd573ffffffffffffffffffffffffffffffffffffffff1663eff7a612826040518263ffffffff1660e01b8152600401610b8f9190611e7e565b600060405180830381600087803b158015610ba957600080fd5b505af1158015610bbd573d6000803e3d6000fd5b5050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7331429d1856ad1377a8a0079410b297e1a9e214c281565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8790611dbe565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fa6a85f15b976d399f39ad43e515e75910bac714bc55eeff6131fb90780d6f74660405160405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610dbd5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df390611dfe565b60405180910390fd5b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd573ffffffffffffffffffffffffffffffffffffffff166365fc387383836040518363ffffffff1660e01b8152600401610e4b929190611e99565b600060405180830381600087803b158015610e6557600080fd5b505af1158015610e79573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f167357c41e38a45e1950f61b1f5accf902c878d83f1685f7f72fb666203ce0478383604051610ec5929190611e99565b60405180910390a25050565b6000606060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610f7c5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb290611dfe565b60405180910390fd5b6000808773ffffffffffffffffffffffffffffffffffffffff16878787604051610fe6929190611cf8565b60006040518083038185875af1925050503d8060008114611023576040519150601f19603f3d011682016040523d82523d6000602084013e611028565b606091505b5091509150818193509350505094509492505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390611dbe565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167e06e5c850e7b36680533e85d04030ad792eac886e126eba315c2a7db616706160405160405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d790611dbe565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fae5a12c29e496b092467a620746b9eaf4e0e231a631a4370c233b1fac38e8e2660405160405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90611dbe565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f76dc87d21cfee66d285c569296bc83491b75727ee3822c28eadbcdaf1b5d946f60405160405180910390a250565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114495750600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f90611e1e565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634e71d92d6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156114f457600080fd5b505af1158015611508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152c9190611ac4565b90508173ffffffffffffffffffffffffffffffffffffffff167fe42df0d9493dfd0d7f69902c895b94c190a53e8c27876a86f45e7c997d9d8f7c826040516115749190611e7e565b60405180910390a26115a782828573ffffffffffffffffffffffffffffffffffffffff166115ac9092919063ffffffff16565b505050565b61162d8363a9059cbb60e01b84846040516024016115cb929190611d43565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611632565b505050565b6000611694826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116f99092919063ffffffff16565b90506000815111156116f457808060200190518101906116b49190611a6a565b6116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea90611e5e565b60405180910390fd5b5b505050565b60606117088484600085611711565b90509392505050565b606082471015611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d90611dde565b60405180910390fd5b61175f85611825565b61179e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179590611e3e565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117c79190611d11565b60006040518083038185875af1925050503d8060008114611804576040519150601f19603f3d011682016040523d82523d6000602084013e611809565b606091505b5091509150611819828286611838565b92505050949350505050565b600080823b905060008111915050919050565b6060831561184857829050611898565b60008351111561185b5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f9190611d9c565b60405180910390fd5b9392505050565b6000813590506118ae816120fb565b92915050565b6000815190506118c381612112565b92915050565b60008083601f8401126118df576118de611f94565b5b8235905067ffffffffffffffff8111156118fc576118fb611f8f565b5b60208301915083600182028301111561191857611917611f99565b5b9250929050565b60008135905061192e81612129565b92915050565b60008151905061194381612129565b92915050565b60006020828403121561195f5761195e611fa3565b5b600061196d8482850161189f565b91505092915050565b6000806040838503121561198d5761198c611fa3565b5b600061199b8582860161189f565b92505060206119ac8582860161189f565b9150509250929050565b600080604083850312156119cd576119cc611fa3565b5b60006119db8582860161189f565b92505060206119ec8582860161191f565b9150509250929050565b60008060008060608587031215611a1057611a0f611fa3565b5b6000611a1e8782880161189f565b9450506020611a2f8782880161191f565b935050604085013567ffffffffffffffff811115611a5057611a4f611f9e565b5b611a5c878288016118c9565b925092505092959194509250565b600060208284031215611a8057611a7f611fa3565b5b6000611a8e848285016118b4565b91505092915050565b600060208284031215611aad57611aac611fa3565b5b6000611abb8482850161191f565b91505092915050565b600060208284031215611ada57611ad9611fa3565b5b6000611ae884828501611934565b91505092915050565b60008060408385031215611b0857611b07611fa3565b5b6000611b168582860161191f565b9250506020611b278582860161191f565b9150509250929050565b611b3a81611f05565b82525050565b611b4981611f17565b82525050565b6000611b5b8385611ee9565b9350611b68838584611f4d565b82840190509392505050565b6000611b7f82611ec2565b611b898185611ed8565b9350611b99818560208601611f5c565b611ba281611fa8565b840191505092915050565b6000611bb882611ec2565b611bc28185611ee9565b9350611bd2818560208601611f5c565b80840191505092915050565b6000611be982611ecd565b611bf38185611ef4565b9350611c03818560208601611f5c565b611c0c81611fa8565b840191505092915050565b6000611c24600483611ef4565b9150611c2f82611fb9565b602082019050919050565b6000611c47602683611ef4565b9150611c5282611fe2565b604082019050919050565b6000611c6a601d83611ef4565b9150611c7582612031565b602082019050919050565b6000611c8d600b83611ef4565b9150611c988261205a565b602082019050919050565b6000611cb0601d83611ef4565b9150611cbb82612083565b602082019050919050565b6000611cd3602a83611ef4565b9150611cde826120ac565b604082019050919050565b611cf281611f43565b82525050565b6000611d05828486611b4f565b91508190509392505050565b6000611d1d8284611bad565b915081905092915050565b6000602082019050611d3d6000830184611b31565b92915050565b6000604082019050611d586000830185611b31565b611d656020830184611ce9565b9392505050565b6000604082019050611d816000830185611b40565b8181036020830152611d938184611b74565b90509392505050565b60006020820190508181036000830152611db68184611bde565b905092915050565b60006020820190508181036000830152611dd781611c17565b9050919050565b60006020820190508181036000830152611df781611c3a565b9050919050565b60006020820190508181036000830152611e1781611c5d565b9050919050565b60006020820190508181036000830152611e3781611c80565b9050919050565b60006020820190508181036000830152611e5781611ca3565b9050919050565b60006020820190508181036000830152611e7781611cc6565b9050919050565b6000602082019050611e936000830184611ce9565b92915050565b6000604082019050611eae6000830185611ce9565b611ebb6020830184611ce9565b9392505050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000611f1082611f23565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015611f7a578082015181840152602081019050611f5f565b83811115611f89576000848401525b50505050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f21676f7600000000000000000000000000000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f2128676f767c7c70726f78797c7c416e676c654465706f7369746f7229000000600082015250565b7f2128676f767c7c61636329000000000000000000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b61210481611f05565b811461210f57600080fd5b50565b61211b81611f17565b811461212657600080fd5b50565b61213281611f43565b811461213d57600080fd5b5056fea264697066735822122026db0dfddb9f37ab7d202d94e20c72422c292f110110f7c7f74c7380d8a22bc064736f6c63430008070033000000000000000000000000f930ebbd05ef8b25b1797b9b2109ddc9b0d43063

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101205760003560e01c806399eecb3b116100ad578063bbfe65f511610071578063bbfe65f5146102ce578063ccfc2e8d146102ea578063cecb13ac14610306578063cf3bac4114610322578063f1e42ccd1461034057610120565b806399eecb3b146102295780639b79c20414610247578063ab033ea914610265578063b52c05fe14610281578063b61d27f61461029d57610120565b806319165587116100f457806319165587146101995780635aa6e675146101b55780635d7e9bcb146101d3578063782e3b43146101ef5780637c616fe61461020d57610120565b806291d2b81461012557806303381154146101415780630d43e8ad1461015f57806315456eba1461017d575b600080fd5b61013f600480360381019061013a9190611949565b61035c565b005b610149610471565b6040516101569190611d28565b60405180910390f35b610167610497565b6040516101749190611d28565b60405180910390f35b61019760048036038101906101929190611a97565b6104bd565b005b6101b360048036038101906101ae9190611949565b610625565b005b6101bd6108b1565b6040516101ca9190611d28565b60405180910390f35b6101ed60048036038101906101e891906119b6565b6108d5565b005b6101f7610a44565b6040516102049190611d28565b60405180910390f35b61022760048036038101906102229190611a97565b610a5c565b005b610231610bc4565b60405161023e9190611d28565b60405180910390f35b61024f610bea565b60405161025c9190611d28565b60405180910390f35b61027f600480360381019061027a9190611949565b610c02565b005b61029b60048036038101906102969190611af1565b610d16565b005b6102b760048036038101906102b291906119f6565b610ed1565b6040516102c5929190611d6c565b60405180910390f35b6102e860048036038101906102e39190611949565b61103e565b005b61030460048036038101906102ff9190611949565b611152565b005b610320600480360381019061031b9190611949565b611267565b005b61032a61137c565b6040516103379190611d28565b60405180910390f35b61035a60048036038101906103559190611976565b6113a2565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103e190611dbe565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fd50bbdff1b8665186b4159b8669a5d96e714f7682cf070b4afa119ac1de352d760405160405180910390a250565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806105645750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6105a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059a90611dfe565b60405180910390fd5b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd573ffffffffffffffffffffffffffffffffffffffff16634957677c826040518263ffffffff1660e01b81526004016105f09190611e7e565b600060405180830381600087803b15801561060a57600080fd5b505af115801561061e573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806106cc5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61070b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070290611dfe565b60405180910390fd5b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd573ffffffffffffffffffffffffffffffffffffffff16633ccfd60b6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561076757600080fd5b505af115801561077b573d6000803e3d6000fd5b5050505060007331429d1856ad1377a8a0079410b297e1a9e214c273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016107ce9190611d28565b60206040518083038186803b1580156107e657600080fd5b505afa1580156107fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081e9190611ac4565b905061085f82827331429d1856ad1377a8a0079410b297e1a9e214c273ffffffffffffffffffffffffffffffffffffffff166115ac9092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167fb21fb52d5749b80f3182f8c6992236b5e5576681880914484d7f4c9b062e619e826040516108a59190611e7e565b60405180910390a25050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610963576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095a90611dbe565b60405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d713632883836040518363ffffffff1660e01b81526004016109c0929190611d43565b600060405180830381600087803b1580156109da57600080fd5b505af11580156109ee573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff167f2fefa1cab32c5921347b6a8953244d5d1e3a3cdd7aa8be9783443dff698a361b82604051610a389190611e7e565b60405180910390a25050565b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd581565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b035750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990611dfe565b60405180910390fd5b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd573ffffffffffffffffffffffffffffffffffffffff1663eff7a612826040518263ffffffff1660e01b8152600401610b8f9190611e7e565b600060405180830381600087803b158015610ba957600080fd5b505af1158015610bbd573d6000803e3d6000fd5b5050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7331429d1856ad1377a8a0079410b297e1a9e214c281565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8790611dbe565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fa6a85f15b976d399f39ad43e515e75910bac714bc55eeff6131fb90780d6f74660405160405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610dbd5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df390611dfe565b60405180910390fd5b730c462dbb9ec8cd1630f1728b2cfd2769d09f0dd573ffffffffffffffffffffffffffffffffffffffff166365fc387383836040518363ffffffff1660e01b8152600401610e4b929190611e99565b600060405180830381600087803b158015610e6557600080fd5b505af1158015610e79573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f167357c41e38a45e1950f61b1f5accf902c878d83f1685f7f72fb666203ce0478383604051610ec5929190611e99565b60405180910390a25050565b6000606060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610f7c5750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb290611dfe565b60405180910390fd5b6000808773ffffffffffffffffffffffffffffffffffffffff16878787604051610fe6929190611cf8565b60006040518083038185875af1925050503d8060008114611023576040519150601f19603f3d011682016040523d82523d6000602084013e611028565b606091505b5091509150818193509350505094509492505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c390611dbe565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167e06e5c850e7b36680533e85d04030ad792eac886e126eba315c2a7db616706160405160405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d790611dbe565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fae5a12c29e496b092467a620746b9eaf4e0e231a631a4370c233b1fac38e8e2660405160405180910390a250565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90611dbe565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f76dc87d21cfee66d285c569296bc83491b75727ee3822c28eadbcdaf1b5d946f60405160405180910390a250565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114495750600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f90611e1e565b60405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634e71d92d6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156114f457600080fd5b505af1158015611508573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152c9190611ac4565b90508173ffffffffffffffffffffffffffffffffffffffff167fe42df0d9493dfd0d7f69902c895b94c190a53e8c27876a86f45e7c997d9d8f7c826040516115749190611e7e565b60405180910390a26115a782828573ffffffffffffffffffffffffffffffffffffffff166115ac9092919063ffffffff16565b505050565b61162d8363a9059cbb60e01b84846040516024016115cb929190611d43565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611632565b505050565b6000611694826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166116f99092919063ffffffff16565b90506000815111156116f457808060200190518101906116b49190611a6a565b6116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea90611e5e565b60405180910390fd5b5b505050565b60606117088484600085611711565b90509392505050565b606082471015611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d90611dde565b60405180910390fd5b61175f85611825565b61179e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179590611e3e565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117c79190611d11565b60006040518083038185875af1925050503d8060008114611804576040519150601f19603f3d011682016040523d82523d6000602084013e611809565b606091505b5091509150611819828286611838565b92505050949350505050565b600080823b905060008111915050919050565b6060831561184857829050611898565b60008351111561185b5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f9190611d9c565b60405180910390fd5b9392505050565b6000813590506118ae816120fb565b92915050565b6000815190506118c381612112565b92915050565b60008083601f8401126118df576118de611f94565b5b8235905067ffffffffffffffff8111156118fc576118fb611f8f565b5b60208301915083600182028301111561191857611917611f99565b5b9250929050565b60008135905061192e81612129565b92915050565b60008151905061194381612129565b92915050565b60006020828403121561195f5761195e611fa3565b5b600061196d8482850161189f565b91505092915050565b6000806040838503121561198d5761198c611fa3565b5b600061199b8582860161189f565b92505060206119ac8582860161189f565b9150509250929050565b600080604083850312156119cd576119cc611fa3565b5b60006119db8582860161189f565b92505060206119ec8582860161191f565b9150509250929050565b60008060008060608587031215611a1057611a0f611fa3565b5b6000611a1e8782880161189f565b9450506020611a2f8782880161191f565b935050604085013567ffffffffffffffff811115611a5057611a4f611f9e565b5b611a5c878288016118c9565b925092505092959194509250565b600060208284031215611a8057611a7f611fa3565b5b6000611a8e848285016118b4565b91505092915050565b600060208284031215611aad57611aac611fa3565b5b6000611abb8482850161191f565b91505092915050565b600060208284031215611ada57611ad9611fa3565b5b6000611ae884828501611934565b91505092915050565b60008060408385031215611b0857611b07611fa3565b5b6000611b168582860161191f565b9250506020611b278582860161191f565b9150509250929050565b611b3a81611f05565b82525050565b611b4981611f17565b82525050565b6000611b5b8385611ee9565b9350611b68838584611f4d565b82840190509392505050565b6000611b7f82611ec2565b611b898185611ed8565b9350611b99818560208601611f5c565b611ba281611fa8565b840191505092915050565b6000611bb882611ec2565b611bc28185611ee9565b9350611bd2818560208601611f5c565b80840191505092915050565b6000611be982611ecd565b611bf38185611ef4565b9350611c03818560208601611f5c565b611c0c81611fa8565b840191505092915050565b6000611c24600483611ef4565b9150611c2f82611fb9565b602082019050919050565b6000611c47602683611ef4565b9150611c5282611fe2565b604082019050919050565b6000611c6a601d83611ef4565b9150611c7582612031565b602082019050919050565b6000611c8d600b83611ef4565b9150611c988261205a565b602082019050919050565b6000611cb0601d83611ef4565b9150611cbb82612083565b602082019050919050565b6000611cd3602a83611ef4565b9150611cde826120ac565b604082019050919050565b611cf281611f43565b82525050565b6000611d05828486611b4f565b91508190509392505050565b6000611d1d8284611bad565b915081905092915050565b6000602082019050611d3d6000830184611b31565b92915050565b6000604082019050611d586000830185611b31565b611d656020830184611ce9565b9392505050565b6000604082019050611d816000830185611b40565b8181036020830152611d938184611b74565b90509392505050565b60006020820190508181036000830152611db68184611bde565b905092915050565b60006020820190508181036000830152611dd781611c17565b9050919050565b60006020820190508181036000830152611df781611c3a565b9050919050565b60006020820190508181036000830152611e1781611c5d565b9050919050565b60006020820190508181036000830152611e3781611c80565b9050919050565b60006020820190508181036000830152611e5781611ca3565b9050919050565b60006020820190508181036000830152611e7781611cc6565b9050919050565b6000602082019050611e936000830184611ce9565b92915050565b6000604082019050611eae6000830185611ce9565b611ebb6020830184611ce9565b9392505050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000611f1082611f23565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015611f7a578082015181840152602081019050611f5f565b83811115611f89576000848401525b50505050565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f21676f7600000000000000000000000000000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f2128676f767c7c70726f78797c7c416e676c654465706f7369746f7229000000600082015250565b7f2128676f767c7c61636329000000000000000000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b61210481611f05565b811461210f57600080fd5b50565b61211b81611f17565b811461212657600080fd5b50565b61213281611f43565b811461213d57600080fd5b5056fea264697066735822122026db0dfddb9f37ab7d202d94e20c72422c292f110110f7c7f74c7380d8a22bc064736f6c63430008070033

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

000000000000000000000000f930ebbd05ef8b25b1797b9b2109ddc9b0d43063

-----Decoded View---------------
Arg [0] : _accumulator (address): 0xF930EBBd05eF8b25B1797b9b2109DDC9B0d43063

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f930ebbd05ef8b25b1797b9b2109ddc9b0d43063


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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