Source Code
Latest 5 from a total of 5 transactions
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
FraxtalBooster
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "../interfaces/IStaker.sol";
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
/*
Main interface for the whitelisted proxy contract.
**This contract is meant to be able to be replaced for upgrade purposes. use IVoterProxy.operator() to always reference the current booster
*/
contract FraxtalBooster{
using SafeERC20 for IERC20;
address public immutable proxy;
address public immutable vefxs;
address public owner;
address public pendingOwner;
address public voteDelegate;
address public fxsDepositor;
bool public isShutdown;
constructor(address _proxy, address _vefxs) {
proxy = _proxy;
vefxs = _vefxs;
isShutdown = false;
owner = msg.sender;
voteDelegate = msg.sender;
}
/////// Owner Section /////////
modifier onlyOwner() {
require(owner == msg.sender, "!auth");
_;
}
modifier onlyDepositor() {
require(fxsDepositor == msg.sender, "!deposit");
_;
}
//set pending owner
function setPendingOwner(address _po) external onlyOwner{
pendingOwner = _po;
emit SetPendingOwner(_po);
}
function _proxyCall(address _to, bytes memory _data) internal{
(bool success,) = IStaker(proxy).execute(_to,uint256(0),_data);
require(success, "Proxy Call Fail");
}
//claim ownership
function acceptPendingOwner() external {
require(pendingOwner != address(0) && msg.sender == pendingOwner, "!p_owner");
owner = pendingOwner;
pendingOwner = address(0);
emit OwnerChanged(owner);
}
//shutdown this contract.
function shutdownSystem() external onlyOwner{
//This version of booster does not require any special steps before shutting down
//and can just immediately be set.
isShutdown = true;
emit Shutdown();
}
//set snapshot voting delegate
function setDelegate(address _delegateContract, address _delegate, bytes32 _space) external onlyOwner{
bytes memory data = abi.encodeWithSelector(bytes4(keccak256("setDelegate(bytes32,address)")), _space, _delegate);
_proxyCall(_delegateContract,data);
emit DelegateSet(_delegate);
}
//set on chain governance voting delegate
function setOnChainDelegate(address _delegateContract, address _delegate) external onlyOwner{
bytes memory data = abi.encodeWithSelector(bytes4(keccak256("delegate(address)")), _delegate);
_proxyCall(_delegateContract,data);
voteDelegate = _delegate;
emit OnChainDelegateSet(_delegate);
}
function castVote(address _votingContract, uint256 _proposalId, bool _support) external{
require(msg.sender == voteDelegate, "!voteDelegate");
bytes memory data = abi.encodeWithSelector(bytes4(keccak256("castVote(uint256,uint8)")), _proposalId, _support?uint8(1):uint8(0));
_proxyCall(_votingContract,data);
}
function setFxsDepositor(address _deposit) external onlyOwner{
fxsDepositor = _deposit;
emit SetFxsDepositor(_deposit);
}
//recover tokens on this contract
function recoverERC20(address _tokenAddress, uint256 _tokenAmount, address _withdrawTo) external onlyOwner{
IERC20(_tokenAddress).safeTransfer(_withdrawTo, _tokenAmount);
emit Recovered(_tokenAddress, _tokenAmount);
}
//recover tokens on the proxy
function recoverERC20FromProxy(address _tokenAddress, uint256 _tokenAmount, address _withdrawTo) external onlyOwner{
bytes memory data = abi.encodeWithSelector(bytes4(keccak256("transfer(address,uint256)")), _withdrawTo, _tokenAmount);
_proxyCall(_tokenAddress,data);
emit Recovered(_tokenAddress, _tokenAmount);
}
//create a new lock
function createLock(uint256 _value, uint128 _unlockTime) external onlyOwner{
bytes memory data = abi.encodeWithSelector(bytes4(keccak256("createLock(address,uint256,uint128)")), proxy, _value, _unlockTime);
_proxyCall(vefxs,data);
}
//arbitrary execute
function execute(address _to, bytes calldata _data) external onlyOwner{
_proxyCall(_to,_data);
}
//////// End Owner Section ///////////
//// Depositor ///
function increaseAmount(uint256 _value, uint128 _lockIndex) external onlyDepositor{
bytes memory data = abi.encodeWithSelector(bytes4(keccak256("increaseAmount(uint256,uint128)")), _value, _lockIndex);
_proxyCall(vefxs,data);
}
function increaseUnlockTime(uint128 _unlockTime, uint128 _lockIndex) external onlyDepositor{
bytes memory data = abi.encodeWithSelector(bytes4(keccak256("increaseUnlockTime(uint128,uint128)")), _unlockTime, _lockIndex);
_proxyCall(vefxs,data);
}
/// End Depositor ///
//claim and distribute fees
function claimFees() external {
}
/* ========== EVENTS ========== */
event SetPendingOwner(address indexed _address);
event SetFxsDepositor(address indexed _address);
event OwnerChanged(address indexed _address);
event Shutdown();
event DelegateSet(address indexed _address);
event OnChainDelegateSet(address indexed _address);
event Recovered(address indexed _token, uint256 _amount);
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
interface IStaker{
function createLock(uint256, uint256) external returns (bool);
function increaseAmount(uint256) external returns (bool);
function increaseTime(uint256) external returns (bool);
function release() external returns (bool);
function checkpointFeeRewards(address) external;
function claimFees(address,address,address) external returns (uint256);
function voteGaugeWeight(address,uint256) external returns (bool);
function operator() external view returns (address);
function execute(address _to, uint256 _value, bytes calldata _data) external returns (bool, bytes memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [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://consensys.net/diligence/blog/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.8.0/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);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../extensions/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;
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
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));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
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");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
* Revert on invalid signature.
*/
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");
require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation 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).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// 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 cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return
success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/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.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
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].
*
* CAUTION: See Security Considerations above.
*/
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.9.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);
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "london",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_proxy","type":"address"},{"internalType":"address","name":"_vefxs","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"DelegateSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"OnChainDelegateSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"SetFxsDepositor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"SetPendingOwner","type":"event"},{"anonymous":false,"inputs":[],"name":"Shutdown","type":"event"},{"inputs":[],"name":"acceptPendingOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_votingContract","type":"address"},{"internalType":"uint256","name":"_proposalId","type":"uint256"},{"internalType":"bool","name":"_support","type":"bool"}],"name":"castVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint128","name":"_unlockTime","type":"uint128"}],"name":"createLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fxsDepositor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint128","name":"_lockIndex","type":"uint128"}],"name":"increaseAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_unlockTime","type":"uint128"},{"internalType":"uint128","name":"_lockIndex","type":"uint128"}],"name":"increaseUnlockTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isShutdown","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"address","name":"_withdrawTo","type":"address"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"address","name":"_withdrawTo","type":"address"}],"name":"recoverERC20FromProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegateContract","type":"address"},{"internalType":"address","name":"_delegate","type":"address"},{"internalType":"bytes32","name":"_space","type":"bytes32"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_deposit","type":"address"}],"name":"setFxsDepositor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegateContract","type":"address"},{"internalType":"address","name":"_delegate","type":"address"}],"name":"setOnChainDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_po","type":"address"}],"name":"setPendingOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shutdownSystem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vefxs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"voteDelegate","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60c060405234801561001057600080fd5b506040516113b03803806113b083398101604081905261002f91610091565b6001600160a01b039182166080521660a0526003805460ff60a01b1916905560008054336001600160a01b031991821681179092556002805490911690911790556100c4565b80516001600160a01b038116811461008c57600080fd5b919050565b600080604083850312156100a457600080fd5b6100ad83610075565b91506100bb60208401610075565b90509250929050565b60805160a0516112b26100fe6000396000818161019701526106fc0152600081816102d80152818161065f0152610b3001526112b26000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806399f4a389116100b8578063cbca603b1161007c578063cbca603b14610287578063d294f0931461014f578063d579bb531461029a578063e13d7f98146102ad578063e30c3978146102c0578063ec556889146102d357600080fd5b806399f4a389146102225780639f00332b1461022a578063b51609b41461023d578063bf86d69014610250578063c42069ec1461027457600080fd5b80636a32eb51116100ff5780636a32eb511461019257806378dfd771146101d65780638bd45c0b146101e95780638da5cb5b146101fc578063929edf451461020f57600080fd5b806312d320c51461013c5780631cff79cd14610151578063354af9191461016457806338178d951461016c5780633b788da91461017f575b600080fd5b61014f61014a366004610ebc565b6102fa565b005b61014f61015f366004610efc565b6103d6565b61014f610445565b61014f61017a366004610f7f565b6104ad565b61014f61018d366004610fb2565b610570565b6101b97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b61014f6101e4366004611005565b610628565b61014f6101f7366004611028565b610721565b6000546101b9906001600160a01b031681565b61014f61021d366004611005565b610795565b61014f610820565b6002546101b9906001600160a01b031681565b61014f61024b36600461104a565b6108cc565b60035461026490600160a01b900460ff1681565b60405190151581526020016101cd565b61014f610282366004611028565b610952565b6003546101b9906001600160a01b031681565b61014f6102a836600461104a565b6109c6565b61014f6102bb366004611086565b610a8a565b6001546101b9906001600160a01b031681565b6101b97f000000000000000000000000000000000000000000000000000000000000000081565b6002546001600160a01b031633146103495760405162461bcd60e51b815260206004820152600d60248201526c21766f746544656c656761746560981b60448201526064015b60405180910390fd5b60007f567813887e9a02f0fdc9e5cce34dad3f5e8ac785aa0259ba5d30339dd056cd23838361037957600061037c565b60015b604051602481019290925260ff16604482015260640160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506103d08482610b16565b50505050565b6000546001600160a01b031633146104005760405162461bcd60e51b8152600401610340906110b0565b6104408383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610b1692505050565b505050565b6000546001600160a01b0316331461046f5760405162461bcd60e51b8152600401610340906110b0565b6003805460ff60a01b1916600160a01b1790556040517f4426aa1fb73e391071491fcfe21a88b5c38a0a0333a1f6e77161470439704cf890600090a1565b6000546001600160a01b031633146104d75760405162461bcd60e51b8152600401610340906110b0565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166317066a5760e21b1790526105248382610b16565b600280546001600160a01b0319166001600160a01b0384169081179091556040517ffe3d977891d8a37d81321b525b70781640d7bca89d42a9ca844204831a87944390600090a2505050565b6000546001600160a01b0316331461059a5760405162461bcd60e51b8152600401610340906110b0565b60408051602481018390526001600160a01b0384166044808301919091528251808303909101815260649091019091526020810180516001600160e01b03166317b0dca160e31b1790526105ee8482610b16565b6040516001600160a01b038416907f2bb25fbb42d8e727aa4821b933cc09877ef371e86860cb18c52f8fda3cf18b5c90600090a250505050565b6000546001600160a01b031633146106525760405162461bcd60e51b8152600401610340906110b0565b6040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166024820152604481018390526001600160801b03821660648201526000907fd41a464133141ad9a62a86a751990b0402488da126f9cfb9ae3724bced06cbd4906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506104407f000000000000000000000000000000000000000000000000000000000000000082610b16565b6000546001600160a01b0316331461074b5760405162461bcd60e51b8152600401610340906110b0565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f28a9fab4be0ec9a4ff10f809e2518b59aef027b50370cad6ad265196e124188f90600090a250565b6003546001600160a01b031633146107da5760405162461bcd60e51b81526020600482015260086024820152670859195c1bdcda5d60c21b6044820152606401610340565b604051602481018390526001600160801b03821660448201526000907f929edf45814a1ade0d0329dc744addf3c0d1b80d5e6797a553437076f6ddf071906064016106c3565b6001546001600160a01b03161580159061084457506001546001600160a01b031633145b61087b5760405162461bcd60e51b815260206004820152600860248201526710b82fb7bbb732b960c11b6044820152606401610340565b60018054600080546001600160a01b0383166001600160a01b031991821681178355921690925560405190917fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3691a2565b6000546001600160a01b031633146108f65760405162461bcd60e51b8152600401610340906110b0565b61090a6001600160a01b0384168284610bf2565b826001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288360405161094591815260200190565b60405180910390a2505050565b6000546001600160a01b0316331461097c5760405162461bcd60e51b8152600401610340906110b0565b600180546001600160a01b0319166001600160a01b0383169081179091556040517f5f4861af37461865f168c6e320428b3141f409a1763bd61b6359d38ad38ae74c90600090a250565b6000546001600160a01b031633146109f05760405162461bcd60e51b8152600401610340906110b0565b604080516001600160a01b038316602482015260448082018590528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a418482610b16565b836001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa2884604051610a7c91815260200190565b60405180910390a250505050565b6003546001600160a01b03163314610acf5760405162461bcd60e51b81526020600482015260086024820152670859195c1bdcda5d60c21b6044820152606401610340565b6040516001600160801b038084166024830152821660448201526000907fe13d7f9836fd7ce83aee2e23d60e8d95cbfe226d3629a20990f64fdb01ed3486906064016106c3565b604051635b0e93fb60e11b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b61d27f690610b6990869085908790600401611127565b6000604051808303816000875af1158015610b88573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bb0919081019061116d565b509050806104405760405162461bcd60e51b815260206004820152600f60248201526e141c9bde1e4810d85b1b0811985a5b608a1b6044820152606401610340565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261044092869291600091610c82918516908490610d02565b9050805160001480610ca3575080806020019051810190610ca39190611230565b6104405760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610340565b6060610d118484600085610d19565b949350505050565b606082471015610d7a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610340565b600080866001600160a01b03168587604051610d96919061124d565b60006040518083038185875af1925050503d8060008114610dd3576040519150601f19603f3d011682016040523d82523d6000602084013e610dd8565b606091505b5091509150610de987838387610df4565b979650505050505050565b60608315610e60578251610e59576001600160a01b0385163b610e595760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610340565b5081610d11565b610d118383815115610e755781518083602001fd5b8060405162461bcd60e51b81526004016103409190611269565b80356001600160a01b0381168114610ea657600080fd5b919050565b8015158114610eb957600080fd5b50565b600080600060608486031215610ed157600080fd5b610eda84610e8f565b9250602084013591506040840135610ef181610eab565b809150509250925092565b600080600060408486031215610f1157600080fd5b610f1a84610e8f565b9250602084013567ffffffffffffffff80821115610f3757600080fd5b818601915086601f830112610f4b57600080fd5b813581811115610f5a57600080fd5b876020828501011115610f6c57600080fd5b6020830194508093505050509250925092565b60008060408385031215610f9257600080fd5b610f9b83610e8f565b9150610fa960208401610e8f565b90509250929050565b600080600060608486031215610fc757600080fd5b610fd084610e8f565b9250610fde60208501610e8f565b9150604084013590509250925092565b80356001600160801b0381168114610ea657600080fd5b6000806040838503121561101857600080fd5b82359150610fa960208401610fee565b60006020828403121561103a57600080fd5b61104382610e8f565b9392505050565b60008060006060848603121561105f57600080fd5b61106884610e8f565b92506020840135915061107d60408501610e8f565b90509250925092565b6000806040838503121561109957600080fd5b6110a283610fee565b9150610fa960208401610fee565b602080825260059082015264042c2eae8d60db1b604082015260600190565b60005b838110156110ea5781810151838201526020016110d2565b838111156103d05750506000910152565b600081518084526111138160208601602086016110cf565b601f01601f19169290920160200192915050565b60018060a01b038416815282602082015260606040820152600061114e60608301846110fb565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561118057600080fd5b825161118b81610eab565b602084015190925067ffffffffffffffff808211156111a957600080fd5b818501915085601f8301126111bd57600080fd5b8151818111156111cf576111cf611157565b604051601f8201601f19908116603f011681019083821181831017156111f7576111f7611157565b8160405282815288602084870101111561121057600080fd5b6112218360208301602088016110cf565b80955050505050509250929050565b60006020828403121561124257600080fd5b815161104381610eab565b6000825161125f8184602087016110cf565b9190910192915050565b60208152600061104360208301846110fb56fea2646970667358221220108cf565d9947bdd34e00ae163749596f35c80c47da42e576f4e868fced838cd64736f6c634300080a003300000000000000000000000059cfcd384746ec3035299d90782be065e466800b000000000000000000000000007fd070a7e1b0fa1364044a373ac1339bad89cf
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c806399f4a389116100b8578063cbca603b1161007c578063cbca603b14610287578063d294f0931461014f578063d579bb531461029a578063e13d7f98146102ad578063e30c3978146102c0578063ec556889146102d357600080fd5b806399f4a389146102225780639f00332b1461022a578063b51609b41461023d578063bf86d69014610250578063c42069ec1461027457600080fd5b80636a32eb51116100ff5780636a32eb511461019257806378dfd771146101d65780638bd45c0b146101e95780638da5cb5b146101fc578063929edf451461020f57600080fd5b806312d320c51461013c5780631cff79cd14610151578063354af9191461016457806338178d951461016c5780633b788da91461017f575b600080fd5b61014f61014a366004610ebc565b6102fa565b005b61014f61015f366004610efc565b6103d6565b61014f610445565b61014f61017a366004610f7f565b6104ad565b61014f61018d366004610fb2565b610570565b6101b97f000000000000000000000000007fd070a7e1b0fa1364044a373ac1339bad89cf81565b6040516001600160a01b0390911681526020015b60405180910390f35b61014f6101e4366004611005565b610628565b61014f6101f7366004611028565b610721565b6000546101b9906001600160a01b031681565b61014f61021d366004611005565b610795565b61014f610820565b6002546101b9906001600160a01b031681565b61014f61024b36600461104a565b6108cc565b60035461026490600160a01b900460ff1681565b60405190151581526020016101cd565b61014f610282366004611028565b610952565b6003546101b9906001600160a01b031681565b61014f6102a836600461104a565b6109c6565b61014f6102bb366004611086565b610a8a565b6001546101b9906001600160a01b031681565b6101b97f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b81565b6002546001600160a01b031633146103495760405162461bcd60e51b815260206004820152600d60248201526c21766f746544656c656761746560981b60448201526064015b60405180910390fd5b60007f567813887e9a02f0fdc9e5cce34dad3f5e8ac785aa0259ba5d30339dd056cd23838361037957600061037c565b60015b604051602481019290925260ff16604482015260640160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506103d08482610b16565b50505050565b6000546001600160a01b031633146104005760405162461bcd60e51b8152600401610340906110b0565b6104408383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610b1692505050565b505050565b6000546001600160a01b0316331461046f5760405162461bcd60e51b8152600401610340906110b0565b6003805460ff60a01b1916600160a01b1790556040517f4426aa1fb73e391071491fcfe21a88b5c38a0a0333a1f6e77161470439704cf890600090a1565b6000546001600160a01b031633146104d75760405162461bcd60e51b8152600401610340906110b0565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166317066a5760e21b1790526105248382610b16565b600280546001600160a01b0319166001600160a01b0384169081179091556040517ffe3d977891d8a37d81321b525b70781640d7bca89d42a9ca844204831a87944390600090a2505050565b6000546001600160a01b0316331461059a5760405162461bcd60e51b8152600401610340906110b0565b60408051602481018390526001600160a01b0384166044808301919091528251808303909101815260649091019091526020810180516001600160e01b03166317b0dca160e31b1790526105ee8482610b16565b6040516001600160a01b038416907f2bb25fbb42d8e727aa4821b933cc09877ef371e86860cb18c52f8fda3cf18b5c90600090a250505050565b6000546001600160a01b031633146106525760405162461bcd60e51b8152600401610340906110b0565b6040516001600160a01b037f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b166024820152604481018390526001600160801b03821660648201526000907fd41a464133141ad9a62a86a751990b0402488da126f9cfb9ae3724bced06cbd4906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506104407f000000000000000000000000007fd070a7e1b0fa1364044a373ac1339bad89cf82610b16565b6000546001600160a01b0316331461074b5760405162461bcd60e51b8152600401610340906110b0565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f28a9fab4be0ec9a4ff10f809e2518b59aef027b50370cad6ad265196e124188f90600090a250565b6003546001600160a01b031633146107da5760405162461bcd60e51b81526020600482015260086024820152670859195c1bdcda5d60c21b6044820152606401610340565b604051602481018390526001600160801b03821660448201526000907f929edf45814a1ade0d0329dc744addf3c0d1b80d5e6797a553437076f6ddf071906064016106c3565b6001546001600160a01b03161580159061084457506001546001600160a01b031633145b61087b5760405162461bcd60e51b815260206004820152600860248201526710b82fb7bbb732b960c11b6044820152606401610340565b60018054600080546001600160a01b0383166001600160a01b031991821681178355921690925560405190917fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3691a2565b6000546001600160a01b031633146108f65760405162461bcd60e51b8152600401610340906110b0565b61090a6001600160a01b0384168284610bf2565b826001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288360405161094591815260200190565b60405180910390a2505050565b6000546001600160a01b0316331461097c5760405162461bcd60e51b8152600401610340906110b0565b600180546001600160a01b0319166001600160a01b0383169081179091556040517f5f4861af37461865f168c6e320428b3141f409a1763bd61b6359d38ad38ae74c90600090a250565b6000546001600160a01b031633146109f05760405162461bcd60e51b8152600401610340906110b0565b604080516001600160a01b038316602482015260448082018590528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a418482610b16565b836001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa2884604051610a7c91815260200190565b60405180910390a250505050565b6003546001600160a01b03163314610acf5760405162461bcd60e51b81526020600482015260086024820152670859195c1bdcda5d60c21b6044820152606401610340565b6040516001600160801b038084166024830152821660448201526000907fe13d7f9836fd7ce83aee2e23d60e8d95cbfe226d3629a20990f64fdb01ed3486906064016106c3565b604051635b0e93fb60e11b81526000906001600160a01b037f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b169063b61d27f690610b6990869085908790600401611127565b6000604051808303816000875af1158015610b88573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bb0919081019061116d565b509050806104405760405162461bcd60e51b815260206004820152600f60248201526e141c9bde1e4810d85b1b0811985a5b608a1b6044820152606401610340565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649084015261044092869291600091610c82918516908490610d02565b9050805160001480610ca3575080806020019051810190610ca39190611230565b6104405760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610340565b6060610d118484600085610d19565b949350505050565b606082471015610d7a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610340565b600080866001600160a01b03168587604051610d96919061124d565b60006040518083038185875af1925050503d8060008114610dd3576040519150601f19603f3d011682016040523d82523d6000602084013e610dd8565b606091505b5091509150610de987838387610df4565b979650505050505050565b60608315610e60578251610e59576001600160a01b0385163b610e595760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610340565b5081610d11565b610d118383815115610e755781518083602001fd5b8060405162461bcd60e51b81526004016103409190611269565b80356001600160a01b0381168114610ea657600080fd5b919050565b8015158114610eb957600080fd5b50565b600080600060608486031215610ed157600080fd5b610eda84610e8f565b9250602084013591506040840135610ef181610eab565b809150509250925092565b600080600060408486031215610f1157600080fd5b610f1a84610e8f565b9250602084013567ffffffffffffffff80821115610f3757600080fd5b818601915086601f830112610f4b57600080fd5b813581811115610f5a57600080fd5b876020828501011115610f6c57600080fd5b6020830194508093505050509250925092565b60008060408385031215610f9257600080fd5b610f9b83610e8f565b9150610fa960208401610e8f565b90509250929050565b600080600060608486031215610fc757600080fd5b610fd084610e8f565b9250610fde60208501610e8f565b9150604084013590509250925092565b80356001600160801b0381168114610ea657600080fd5b6000806040838503121561101857600080fd5b82359150610fa960208401610fee565b60006020828403121561103a57600080fd5b61104382610e8f565b9392505050565b60008060006060848603121561105f57600080fd5b61106884610e8f565b92506020840135915061107d60408501610e8f565b90509250925092565b6000806040838503121561109957600080fd5b6110a283610fee565b9150610fa960208401610fee565b602080825260059082015264042c2eae8d60db1b604082015260600190565b60005b838110156110ea5781810151838201526020016110d2565b838111156103d05750506000910152565b600081518084526111138160208601602086016110cf565b601f01601f19169290920160200192915050565b60018060a01b038416815282602082015260606040820152600061114e60608301846110fb565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561118057600080fd5b825161118b81610eab565b602084015190925067ffffffffffffffff808211156111a957600080fd5b818501915085601f8301126111bd57600080fd5b8151818111156111cf576111cf611157565b604051601f8201601f19908116603f011681019083821181831017156111f7576111f7611157565b8160405282815288602084870101111561121057600080fd5b6112218360208301602088016110cf565b80955050505050509250929050565b60006020828403121561124257600080fd5b815161104381610eab565b6000825161125f8184602087016110cf565b9190910192915050565b60208152600061104360208301846110fb56fea2646970667358221220108cf565d9947bdd34e00ae163749596f35c80c47da42e576f4e868fced838cd64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000059cfcd384746ec3035299d90782be065e466800b000000000000000000000000007fd070a7e1b0fa1364044a373ac1339bad89cf
-----Decoded View---------------
Arg [0] : _proxy (address): 0x59CFCD384746ec3035299D90782Be065e466800B
Arg [1] : _vefxs (address): 0x007FD070a7E1B0fA1364044a373Ac1339bAD89CF
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000059cfcd384746ec3035299d90782be065e466800b
Arg [1] : 000000000000000000000000007fd070a7e1b0fa1364044a373ac1339bad89cf
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in FRAX
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.