Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17321965 | 478 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
PendleLocker
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol"; import "openzeppelin-contracts/token/ERC20/IERC20.sol"; import "../interfaces/IVePendle.sol"; import "../interfaces/IPendleFeeDistributor.sol"; /// @title Pendle Locker /// @author StakeDAO /// @notice Locks the PENDLE tokens to vePENDLE contract contract PendleLocker { using SafeERC20 for IERC20; /* ========== STATE VARIABLES ========== */ address public governance; address public pendleDepositor; address public accumulator; address public constant TOKEN = 0x808507121B80c02388fAd14726482e061B8da827; address public constant VOTING_ESCROW = 0x4f30A9D41B80ecC5B94306AB4364951AE3170210; address public feeDistributor = 0x8C237520a8E14D658170A633D96F8e80764433b9; /* ========== EVENTS ========== */ event LockCreated(address indexed user, uint256 value, uint256 duration); event TokenClaimed(address indexed user, uint256 value); event VotedOnGaugeWeight(address indexed _gauge, uint256 _weight); event Released(address indexed user, uint256 value); event GovernanceChanged(address indexed newGovernance); event PendleDepositorChanged(address indexed newApwDepositor); event AccumulatorChanged(address indexed newAccumulator); event FeeDistributorChanged(address indexed newFeeDistributor); /* ========== CONSTRUCTOR ========== */ constructor(address _governance, address _accumulator) { governance = _governance; accumulator = _accumulator; IERC20(TOKEN).approve(VOTING_ESCROW, 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 == pendleDepositor, "!(gov||PendleDepositor)" ); _; } /* ========== MUTATIVE FUNCTIONS ========== */ /// @notice Creates a lock by locking PENDLE token in the VEPENDLE 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( uint128 _value, uint128 _unlockTime ) external onlyGovernance { IVePendle(VOTING_ESCROW).increaseLockPosition(_value, _unlockTime); emit LockCreated(msg.sender, _value, _unlockTime); } /// @notice Increases the amount of PENDLE locked in VEPENDLE /// @dev The PENDLE needs to be transferred to this contract before calling /// @param _value The amount by which the lock amount is to be increased function increaseAmount(uint128 _value) external onlyGovernanceOrDepositor { (, uint128 expiry) = IVePendle(VOTING_ESCROW).positionData(address(this)); IVePendle(VOTING_ESCROW).increaseLockPosition(_value, expiry); } /// @notice Increases the duration for which PENDLE is locked in VEPENDLE for the user calling the function /// @param _unlockTime The duration in seconds for which the token is to be locked function increaseUnlockTime( uint128 _unlockTime ) external onlyGovernanceOrDepositor { IVePendle(VOTING_ESCROW).increaseLockPosition(0, _unlockTime); } /// @notice Claim the token reward from the PENDLE fee Distributor passing the tokens as input parameter /// @param _recipient The address which will receive the claimed token reward function claimRewards( address _recipient, address[] calldata _pools ) external onlyGovernanceOrAcc { (uint256 totalAmount,) = IPendleFeeDistributor(feeDistributor) .claimProtocol(_recipient, _pools); emit TokenClaimed(_recipient, totalAmount); } /// @notice Withdraw the PENDLE from VEPENDLE /// @dev call only after lock time expires /// @param _recipient The address which will receive the released PENDLE function release(address _recipient) external onlyGovernance { IVePendle(VOTING_ESCROW).withdraw(); uint256 balance = IERC20(TOKEN).balanceOf(address(this)); IERC20(TOKEN).safeTransfer(_recipient, balance); emit Released(_recipient, balance); } /// @notice Set new governance address /// @param _governance governance address function setGovernance(address _governance) external onlyGovernance { governance = _governance; emit GovernanceChanged(_governance); } /// @notice Set the PENDLE Depositor /// @param _pendleDepositor PENDLE deppositor address function setPendleDepositor( address _pendleDepositor ) external onlyGovernance { pendleDepositor = _pendleDepositor; emit PendleDepositorChanged(_pendleDepositor); } /// @notice Set the fee distributor /// @param _newFD fee distributor address function setFeeDistributor(address _newFD) external onlyGovernance { feeDistributor = _newFD; emit FeeDistributorChanged(_newFD); } /// @notice Set the accumulator /// @param _accumulator accumulator address 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 onlyGovernance returns (bool, bytes memory) { (bool success, bytes memory result) = to.call{value: value}(data); return (success, result); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// 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); }
pragma solidity 0.8.7; interface IVePendle { event BroadcastTotalSupply(VeBalance newTotalSupply, uint256[] chainIds); event BroadcastUserPosition(address indexed user, uint256[] chainIds); event Initialized(uint8 version); event NewLockPosition(address indexed user, uint128 amount, uint128 expiry); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); event Withdraw(address indexed user, uint128 amount); struct Checkpoint { uint128 timestamp; VeBalance value; } struct VeBalance { uint128 bias; uint128 slope; } function MAX_LOCK_TIME() external view returns (uint128); function MIN_LOCK_TIME() external view returns (uint128); function WEEK() external view returns (uint128); function addDestinationContract( address _address, uint256 _chainId ) external payable; function approxDstExecutionGas() external view returns (uint256); function balanceOf(address user) external view returns (uint128); function broadcastTotalSupply(uint256[] memory chainIds) external payable; function broadcastUserPosition( address user, uint256[] memory chainIds ) external payable; function claimOwnership() external; function getAllDestinationContracts() external view returns (uint256[] memory chainIds, address[] memory addrs); function getBroadcastPositionFee( uint256[] memory chainIds ) external view returns (uint256 fee); function getBroadcastSupplyFee( uint256[] memory chainIds ) external view returns (uint256 fee); function getUserHistoryAt( address user, uint256 index ) external view returns (Checkpoint memory); function getUserHistoryLength(address user) external view returns (uint256); function increaseLockPosition( uint128 additionalAmountToLock, uint128 newExpiry ) external returns (uint128 newVeBalance); function increaseLockPositionAndBroadcast( uint128 additionalAmountToLock, uint128 newExpiry, uint256[] memory chainIds ) external payable returns (uint128 newVeBalance); function lastSlopeChangeAppliedAt() external view returns (uint128); function owner() external view returns (address); function pendingOwner() external view returns (address); function pendle() external view returns (address); function pendleMsgSendEndpoint() external view returns (address); function positionData( address ) external view returns (uint128 amount, uint128 expiry); function setApproxDstExecutionGas(uint256 gas) external; function slopeChanges(uint128) external view returns (uint128); function totalSupplyAndBalanceCurrent( address user ) external returns (uint128, uint128); function totalSupplyAt(uint128) external view returns (uint128); function totalSupplyCurrent() external returns (uint128); function totalSupplyStored() external view returns (uint128); function transferOwnership( address newOwner, bool direct, bool renounce ) external; function withdraw() external returns (uint128 amount); }
pragma solidity 0.8.7; interface IPendleFeeDistributor { // ========================= STRUCT ========================= struct UpdateProtocolStruct { address user; bytes32[] proof; address[] pools; uint256[] topUps; } // ========================= EVENTS ========================= /// @notice Emit when a new merkleRoot is set & the fee is funded by the governance event SetMerkleRootAndFund(bytes32 indexed merkleRoot, uint256 amountFunded); /// @notice Emit when an user claims their fees event Claimed(address indexed user, uint256 amountOut); /// @notice Emit when the Pendle team populates data for a protocol event UpdateProtocolClaimable(address indexed user, uint256 sumTopUp); // ========================= FUNCTIONS ========================= /** * @notice Submit total fee and proof to claim outstanding amount. Fee will be sent as raw ETH, so receiver should be an EOA or have receive() function. */ function claimRetail( address receiver, uint256 totalAccrued, bytes32[] calldata proof ) external returns (uint256 amountOut); /** * @notice Claim all outstanding fees for the specified pools. This function is intended for use by protocols that have contacted the Pendle team. Note that the fee will be sent in raw ETH, so the receiver should be an EOA or have a receive() function. * @notice Protocols should not use claimRetail, as it can make getProtocolFeeData unreliable. */ function claimProtocol(address receiver, address[] calldata pools) external returns (uint256 totalAmountOut, uint256[] memory amountsOut); ///@notice Returns the claimable fees per pool. This function is only available if the Pendle ///team has specifically set up the data. function getProtocolClaimables(address user, address[] calldata pools) external view returns (uint256[] memory claimables); ///@notice Returns the lifetime totalAccrued fees for protocols. This function is only available ///if the Pendle team has specifically set up the data. function getProtocolTotalAccrued(address user) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
{ "remappings": [ "AddressBook/=lib/AddressBook/src/", "addressBook/=lib/AddressBook/src/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_governance","type":"address"},{"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":"newFeeDistributor","type":"address"}],"name":"FeeDistributorChanged","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":"newApwDepositor","type":"address"}],"name":"PendleDepositorChanged","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":true,"internalType":"address","name":"_gauge","type":"address"},{"indexed":false,"internalType":"uint256","name":"_weight","type":"uint256"}],"name":"VotedOnGaugeWeight","type":"event"},{"inputs":[],"name":"TOKEN","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VOTING_ESCROW","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accumulator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"address[]","name":"_pools","type":"address[]"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_value","type":"uint128"},{"internalType":"uint128","name":"_unlockTime","type":"uint128"}],"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":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"_value","type":"uint128"}],"name":"increaseAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_unlockTime","type":"uint128"}],"name":"increaseUnlockTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pendleDepositor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"_newFD","type":"address"}],"name":"setFeeDistributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pendleDepositor","type":"address"}],"name":"setPendleDepositor","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600380546001600160a01b031916738c237520a8e14d658170a633d96f8e80764433b91790553480156200003757600080fd5b5060405162001437380380620014378339810160408190526200005a9162000154565b600080546001600160a01b038481166001600160a01b031992831617909255600280549284169290911691909117905560405163095ea7b360e01b8152734f30a9d41b80ecc5b94306ab4364951ae31702106004820152600019602482015273808507121b80c02388fad14726482e061b8da8279063095ea7b390604401602060405180830381600087803b158015620000f357600080fd5b505af115801562000108573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200012e91906200018c565b505050620001b7565b80516001600160a01b03811681146200014f57600080fd5b919050565b600080604083850312156200016857600080fd5b620001738362000137565b9150620001836020840162000137565b90509250929050565b6000602082840312156200019f57600080fd5b81518015158114620001b057600080fd5b9392505050565b61127080620001c76000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063675637c711610097578063b61d27f611610066578063b61d27f614610218578063c66e569414610239578063ccfc2e8d1461024c578063cecb13ac1461025f57600080fd5b8063675637c7146101c457806382bfefc8146101d7578063a5fb6391146101f2578063ab033ea91461020557600080fd5b80631f87f333116100d35780631f87f333146101705780632026ffa31461018b5780634e3430ca1461019e5780635aa6e675146101b157600080fd5b806303381154146101055780630d43e8ad1461013557806319165587146101485780631d2e38251461015d575b600080fd5b600254610118906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b600354610118906001600160a01b031681565b61015b610156366004610e01565b610272565b005b600154610118906001600160a01b031681565b610118734f30a9d41b80ecc5b94306ab4364951ae317021081565b61015b610199366004610e23565b61041a565b61015b6101ac366004610f52565b610551565b600054610118906001600160a01b031681565b61015b6101d2366004610f52565b6106dc565b61011873808507121b80c02388fad14726482e061b8da82781565b61015b610200366004610e01565b6107dd565b61015b610213366004610e01565b610851565b61022b610226366004610ea9565b6108c3565b60405161012c929190611190565b61015b610247366004610f8c565b610961565b61015b61025a366004610e01565b610a63565b61015b61026d366004610e01565b610ad7565b6000546001600160a01b031633146102a55760405162461bcd60e51b815260040161029c906111be565b60405180910390fd5b734f30a9d41b80ecc5b94306ab4364951ae31702106001600160a01b0316633ccfd60b6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156102f457600080fd5b505af1158015610308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032c9190610f6f565b506040516370a0823160e01b815230600482015260009073808507121b80c02388fad14726482e061b8da827906370a082319060240160206040518083038186803b15801561037a57600080fd5b505afa15801561038e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b29190610ff4565b90506103d373808507121b80c02388fad14726482e061b8da8278383610b4b565b816001600160a01b03167fb21fb52d5749b80f3182f8c6992236b5e5576681880914484d7f4c9b062e619e8260405161040e91815260200190565b60405180910390a25050565b6000546001600160a01b031633148061043d57506002546001600160a01b031633145b6104775760405162461bcd60e51b815260206004820152600b60248201526a2128676f767c7c6163632960a81b604482015260640161029c565b600354604051600162525fcd60e11b031981526000916001600160a01b03169063ff5b4066906104af90879087908790600401611136565b600060405180830381600087803b1580156104c957600080fd5b505af11580156104dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610505919081019061100d565b509050836001600160a01b03167fe42df0d9493dfd0d7f69902c895b94c190a53e8c27876a86f45e7c997d9d8f7c8260405161054391815260200190565b60405180910390a250505050565b6000546001600160a01b031633148061057457506001546001600160a01b031633145b6105ba5760405162461bcd60e51b81526020600482015260176024820152762128676f767c7c50656e646c654465706f7369746f722960481b604482015260640161029c565b6040516332dad3cf60e21b8152306004820152600090734f30a9d41b80ecc5b94306ab4364951ae31702109063cb6b4f3c90602401604080518083038186803b15801561060657600080fd5b505afa15801561061a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063e9190610fc5565b6040516364090f6160e11b81526001600160801b03808616600483015282166024820152909250734f30a9d41b80ecc5b94306ab4364951ae3170210915063c8121ec290604401602060405180830381600087803b15801561069f57600080fd5b505af11580156106b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d79190610f6f565b505050565b6000546001600160a01b03163314806106ff57506001546001600160a01b031633145b6107455760405162461bcd60e51b81526020600482015260176024820152762128676f767c7c50656e646c654465706f7369746f722960481b604482015260640161029c565b6040516364090f6160e11b8152600060048201526001600160801b0382166024820152734f30a9d41b80ecc5b94306ab4364951ae31702109063c8121ec290604401602060405180830381600087803b1580156107a157600080fd5b505af11580156107b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d99190610f6f565b5050565b6000546001600160a01b031633146108075760405162461bcd60e51b815260040161029c906111be565b600180546001600160a01b0319166001600160a01b0383169081179091556040517f39e1daae6232c73c30a673065dc522d04ba625b493b92d10218b3f609beb805590600090a250565b6000546001600160a01b0316331461087b5760405162461bcd60e51b815260040161029c906111be565b600080546001600160a01b0319166001600160a01b038316908117825560405190917fa6a85f15b976d399f39ad43e515e75910bac714bc55eeff6131fb90780d6f74691a250565b600080546060906001600160a01b031633146108f15760405162461bcd60e51b815260040161029c906111be565b600080876001600160a01b031687878760405161090f92919061110a565b60006040518083038185875af1925050503d806000811461094c576040519150601f19603f3d011682016040523d82523d6000602084013e610951565b606091505b5090999098509650505050505050565b6000546001600160a01b0316331461098b5760405162461bcd60e51b815260040161029c906111be565b6040516364090f6160e11b81526001600160801b03808416600483015282166024820152734f30a9d41b80ecc5b94306ab4364951ae31702109063c8121ec290604401602060405180830381600087803b1580156109e857600080fd5b505af11580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190610f6f565b50604080516001600160801b0380851682528316602082015233917f167357c41e38a45e1950f61b1f5accf902c878d83f1685f7f72fb666203ce047910161040e565b6000546001600160a01b03163314610a8d5760405162461bcd60e51b815260040161029c906111be565b600380546001600160a01b0319166001600160a01b0383169081179091556040517fae5a12c29e496b092467a620746b9eaf4e0e231a631a4370c233b1fac38e8e2690600090a250565b6000546001600160a01b03163314610b015760405162461bcd60e51b815260040161029c906111be565b600280546001600160a01b0319166001600160a01b0383169081179091556040517f76dc87d21cfee66d285c569296bc83491b75727ee3822c28eadbcdaf1b5d946f90600090a250565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908401526106d792869291600091610bdb918516908490610c58565b8051909150156106d75780806020019051810190610bf99190610f30565b6106d75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161029c565b6060610c678484600085610c6f565b949350505050565b606082471015610cd05760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161029c565b600080866001600160a01b03168587604051610cec919061111a565b60006040518083038185875af1925050503d8060008114610d29576040519150601f19603f3d011682016040523d82523d6000602084013e610d2e565b606091505b5091509150610d3f87838387610d4a565b979650505050505050565b60608315610db6578251610daf576001600160a01b0385163b610daf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161029c565b5081610c67565b610c678383815115610dcb5781518083602001fd5b8060405162461bcd60e51b815260040161029c91906111ab565b80356001600160a01b0381168114610dfc57600080fd5b919050565b600060208284031215610e1357600080fd5b610e1c82610de5565b9392505050565b600080600060408486031215610e3857600080fd5b610e4184610de5565b9250602084013567ffffffffffffffff80821115610e5e57600080fd5b818601915086601f830112610e7257600080fd5b813581811115610e8157600080fd5b8760208260051b8501011115610e9657600080fd5b6020830194508093505050509250925092565b60008060008060608587031215610ebf57600080fd5b610ec885610de5565b935060208501359250604085013567ffffffffffffffff80821115610eec57600080fd5b818701915087601f830112610f0057600080fd5b813581811115610f0f57600080fd5b886020828501011115610f2157600080fd5b95989497505060200194505050565b600060208284031215610f4257600080fd5b81518015158114610e1c57600080fd5b600060208284031215610f6457600080fd5b8135610e1c81611222565b600060208284031215610f8157600080fd5b8151610e1c81611222565b60008060408385031215610f9f57600080fd5b8235610faa81611222565b91506020830135610fba81611222565b809150509250929050565b60008060408385031215610fd857600080fd5b8251610fe381611222565b6020840151909250610fba81611222565b60006020828403121561100657600080fd5b5051919050565b6000806040838503121561102057600080fd5b8251915060208084015167ffffffffffffffff8082111561104057600080fd5b818601915086601f83011261105457600080fd5b8151818111156110665761106661120c565b8060051b604051601f19603f8301168101818110858211171561108b5761108b61120c565b604052828152858101935084860182860187018b10156110aa57600080fd5b600095505b838610156110cd5780518552600195909501949386019386016110af565b508096505050505050509250929050565b600081518084526110f68160208601602086016111dc565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b6000825161112c8184602087016111dc565b9190910192915050565b6001600160a01b03848116825260406020808401829052908301849052600091859160608501845b87811015611183578361117086610de5565b168252938201939082019060010161115e565b5098975050505050505050565b8215158152604060208201526000610c6760408301846110de565b602081526000610e1c60208301846110de565b60208082526004908201526310b3b7bb60e11b604082015260600190565b60005b838110156111f75781810151838201526020016111df565b83811115611206576000848401525b50505050565b634e487b7160e01b600052604160045260246000fd5b6001600160801b038116811461123757600080fd5b5056fea26469706673582212208b51233def93058a2340824125f7a316c5dff741e075a3d8e487b63de168e06164736f6c63430008070033000000000000000000000000000755fbe4a24d7478bfcfc1e561afce82d1ff62000000000000000000000000f930ebbd05ef8b25b1797b9b2109ddc9b0d43063
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063675637c711610097578063b61d27f611610066578063b61d27f614610218578063c66e569414610239578063ccfc2e8d1461024c578063cecb13ac1461025f57600080fd5b8063675637c7146101c457806382bfefc8146101d7578063a5fb6391146101f2578063ab033ea91461020557600080fd5b80631f87f333116100d35780631f87f333146101705780632026ffa31461018b5780634e3430ca1461019e5780635aa6e675146101b157600080fd5b806303381154146101055780630d43e8ad1461013557806319165587146101485780631d2e38251461015d575b600080fd5b600254610118906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b600354610118906001600160a01b031681565b61015b610156366004610e01565b610272565b005b600154610118906001600160a01b031681565b610118734f30a9d41b80ecc5b94306ab4364951ae317021081565b61015b610199366004610e23565b61041a565b61015b6101ac366004610f52565b610551565b600054610118906001600160a01b031681565b61015b6101d2366004610f52565b6106dc565b61011873808507121b80c02388fad14726482e061b8da82781565b61015b610200366004610e01565b6107dd565b61015b610213366004610e01565b610851565b61022b610226366004610ea9565b6108c3565b60405161012c929190611190565b61015b610247366004610f8c565b610961565b61015b61025a366004610e01565b610a63565b61015b61026d366004610e01565b610ad7565b6000546001600160a01b031633146102a55760405162461bcd60e51b815260040161029c906111be565b60405180910390fd5b734f30a9d41b80ecc5b94306ab4364951ae31702106001600160a01b0316633ccfd60b6040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156102f457600080fd5b505af1158015610308573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032c9190610f6f565b506040516370a0823160e01b815230600482015260009073808507121b80c02388fad14726482e061b8da827906370a082319060240160206040518083038186803b15801561037a57600080fd5b505afa15801561038e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b29190610ff4565b90506103d373808507121b80c02388fad14726482e061b8da8278383610b4b565b816001600160a01b03167fb21fb52d5749b80f3182f8c6992236b5e5576681880914484d7f4c9b062e619e8260405161040e91815260200190565b60405180910390a25050565b6000546001600160a01b031633148061043d57506002546001600160a01b031633145b6104775760405162461bcd60e51b815260206004820152600b60248201526a2128676f767c7c6163632960a81b604482015260640161029c565b600354604051600162525fcd60e11b031981526000916001600160a01b03169063ff5b4066906104af90879087908790600401611136565b600060405180830381600087803b1580156104c957600080fd5b505af11580156104dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610505919081019061100d565b509050836001600160a01b03167fe42df0d9493dfd0d7f69902c895b94c190a53e8c27876a86f45e7c997d9d8f7c8260405161054391815260200190565b60405180910390a250505050565b6000546001600160a01b031633148061057457506001546001600160a01b031633145b6105ba5760405162461bcd60e51b81526020600482015260176024820152762128676f767c7c50656e646c654465706f7369746f722960481b604482015260640161029c565b6040516332dad3cf60e21b8152306004820152600090734f30a9d41b80ecc5b94306ab4364951ae31702109063cb6b4f3c90602401604080518083038186803b15801561060657600080fd5b505afa15801561061a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063e9190610fc5565b6040516364090f6160e11b81526001600160801b03808616600483015282166024820152909250734f30a9d41b80ecc5b94306ab4364951ae3170210915063c8121ec290604401602060405180830381600087803b15801561069f57600080fd5b505af11580156106b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d79190610f6f565b505050565b6000546001600160a01b03163314806106ff57506001546001600160a01b031633145b6107455760405162461bcd60e51b81526020600482015260176024820152762128676f767c7c50656e646c654465706f7369746f722960481b604482015260640161029c565b6040516364090f6160e11b8152600060048201526001600160801b0382166024820152734f30a9d41b80ecc5b94306ab4364951ae31702109063c8121ec290604401602060405180830381600087803b1580156107a157600080fd5b505af11580156107b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d99190610f6f565b5050565b6000546001600160a01b031633146108075760405162461bcd60e51b815260040161029c906111be565b600180546001600160a01b0319166001600160a01b0383169081179091556040517f39e1daae6232c73c30a673065dc522d04ba625b493b92d10218b3f609beb805590600090a250565b6000546001600160a01b0316331461087b5760405162461bcd60e51b815260040161029c906111be565b600080546001600160a01b0319166001600160a01b038316908117825560405190917fa6a85f15b976d399f39ad43e515e75910bac714bc55eeff6131fb90780d6f74691a250565b600080546060906001600160a01b031633146108f15760405162461bcd60e51b815260040161029c906111be565b600080876001600160a01b031687878760405161090f92919061110a565b60006040518083038185875af1925050503d806000811461094c576040519150601f19603f3d011682016040523d82523d6000602084013e610951565b606091505b5090999098509650505050505050565b6000546001600160a01b0316331461098b5760405162461bcd60e51b815260040161029c906111be565b6040516364090f6160e11b81526001600160801b03808416600483015282166024820152734f30a9d41b80ecc5b94306ab4364951ae31702109063c8121ec290604401602060405180830381600087803b1580156109e857600080fd5b505af11580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190610f6f565b50604080516001600160801b0380851682528316602082015233917f167357c41e38a45e1950f61b1f5accf902c878d83f1685f7f72fb666203ce047910161040e565b6000546001600160a01b03163314610a8d5760405162461bcd60e51b815260040161029c906111be565b600380546001600160a01b0319166001600160a01b0383169081179091556040517fae5a12c29e496b092467a620746b9eaf4e0e231a631a4370c233b1fac38e8e2690600090a250565b6000546001600160a01b03163314610b015760405162461bcd60e51b815260040161029c906111be565b600280546001600160a01b0319166001600160a01b0383169081179091556040517f76dc87d21cfee66d285c569296bc83491b75727ee3822c28eadbcdaf1b5d946f90600090a250565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908401526106d792869291600091610bdb918516908490610c58565b8051909150156106d75780806020019051810190610bf99190610f30565b6106d75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161029c565b6060610c678484600085610c6f565b949350505050565b606082471015610cd05760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161029c565b600080866001600160a01b03168587604051610cec919061111a565b60006040518083038185875af1925050503d8060008114610d29576040519150601f19603f3d011682016040523d82523d6000602084013e610d2e565b606091505b5091509150610d3f87838387610d4a565b979650505050505050565b60608315610db6578251610daf576001600160a01b0385163b610daf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161029c565b5081610c67565b610c678383815115610dcb5781518083602001fd5b8060405162461bcd60e51b815260040161029c91906111ab565b80356001600160a01b0381168114610dfc57600080fd5b919050565b600060208284031215610e1357600080fd5b610e1c82610de5565b9392505050565b600080600060408486031215610e3857600080fd5b610e4184610de5565b9250602084013567ffffffffffffffff80821115610e5e57600080fd5b818601915086601f830112610e7257600080fd5b813581811115610e8157600080fd5b8760208260051b8501011115610e9657600080fd5b6020830194508093505050509250925092565b60008060008060608587031215610ebf57600080fd5b610ec885610de5565b935060208501359250604085013567ffffffffffffffff80821115610eec57600080fd5b818701915087601f830112610f0057600080fd5b813581811115610f0f57600080fd5b886020828501011115610f2157600080fd5b95989497505060200194505050565b600060208284031215610f4257600080fd5b81518015158114610e1c57600080fd5b600060208284031215610f6457600080fd5b8135610e1c81611222565b600060208284031215610f8157600080fd5b8151610e1c81611222565b60008060408385031215610f9f57600080fd5b8235610faa81611222565b91506020830135610fba81611222565b809150509250929050565b60008060408385031215610fd857600080fd5b8251610fe381611222565b6020840151909250610fba81611222565b60006020828403121561100657600080fd5b5051919050565b6000806040838503121561102057600080fd5b8251915060208084015167ffffffffffffffff8082111561104057600080fd5b818601915086601f83011261105457600080fd5b8151818111156110665761106661120c565b8060051b604051601f19603f8301168101818110858211171561108b5761108b61120c565b604052828152858101935084860182860187018b10156110aa57600080fd5b600095505b838610156110cd5780518552600195909501949386019386016110af565b508096505050505050509250929050565b600081518084526110f68160208601602086016111dc565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b6000825161112c8184602087016111dc565b9190910192915050565b6001600160a01b03848116825260406020808401829052908301849052600091859160608501845b87811015611183578361117086610de5565b168252938201939082019060010161115e565b5098975050505050505050565b8215158152604060208201526000610c6760408301846110de565b602081526000610e1c60208301846110de565b60208082526004908201526310b3b7bb60e11b604082015260600190565b60005b838110156111f75781810151838201526020016111df565b83811115611206576000848401525b50505050565b634e487b7160e01b600052604160045260246000fd5b6001600160801b038116811461123757600080fd5b5056fea26469706673582212208b51233def93058a2340824125f7a316c5dff741e075a3d8e487b63de168e06164736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000755fbe4a24d7478bfcfc1e561afce82d1ff62000000000000000000000000f930ebbd05ef8b25b1797b9b2109ddc9b0d43063
-----Decoded View---------------
Arg [0] : _governance (address): 0x000755Fbe4A24d7478bfcFC1E561AfCE82d1ff62
Arg [1] : _accumulator (address): 0xF930EBBd05eF8b25B1797b9b2109DDC9B0d43063
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000755fbe4a24d7478bfcfc1e561afce82d1ff62
Arg [1] : 000000000000000000000000f930ebbd05ef8b25b1797b9b2109ddc9b0d43063
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.