Source Code
Latest 14 from a total of 14 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Shutdown System | 6972196 | 562 days ago | IN | 0 FRAX | 0.00000022 | ||||
| Claim Fees | 6645262 | 570 days ago | IN | 0 FRAX | 0.00000178 | ||||
| Set Vefxs Distro | 6645252 | 570 days ago | IN | 0 FRAX | 0.00000272 | ||||
| Claim Fees | 6645184 | 570 days ago | IN | 0 FRAX | 0.00000182 | ||||
| Claim Fees | 4401196 | 622 days ago | IN | 0 FRAX | 0.00000184 | ||||
| Claim Fees | 4071081 | 630 days ago | IN | 0 FRAX | 0.00000047 | ||||
| Execute | 3945054 | 632 days ago | IN | 0 FRAX | 0.00000092 | ||||
| Claim Fees | 3790574 | 636 days ago | IN | 0 FRAX | 0.00000127 | ||||
| Claim Fees | 3707661 | 638 days ago | IN | 0 FRAX | 0.00000061 | ||||
| Claim Fees | 3707154 | 638 days ago | IN | 0 FRAX | 0.0000007 | ||||
| Set Fxs Deposito... | 3707142 | 638 days ago | IN | 0 FRAX | 0.00000086 | ||||
| Set Fee Info | 3707139 | 638 days ago | IN | 0 FRAX | 0.00000093 | ||||
| Set Extra Distro | 3707136 | 638 days ago | IN | 0 FRAX | 0.0000009 | ||||
| Set Vefxs Distro | 3707133 | 638 days ago | IN | 0 FRAX | 0.00000095 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers.
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | ||||
|---|---|---|---|---|---|---|---|
| 6972199 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6971286 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX | |||||
| 6970573 | 562 days ago | 0 FRAX |
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 "../interfaces/IRewardDistribution.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;
address public vefxsRewardDistribution;
address public vefxsFeeToken;
address public cvxfxsRewardReceiver;
address public extraRewardDistribution;
address public bridgeReceiver;
uint256 public platformVefxsFees;
address public platformReceiver;
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);
}
function setVefxsDistro(address _distro, address _feeToken, address _cvxFeeReceiver) external onlyOwner{
require(_distro != address(0),"invalid");
require(_feeToken != address(0),"invalid");
require(_cvxFeeReceiver != address(0),"invalid");
vefxsRewardDistribution = _distro;
vefxsFeeToken = _feeToken;
cvxfxsRewardReceiver = _cvxFeeReceiver;
emit SetVefxsDistro(_distro, _feeToken, _cvxFeeReceiver);
}
function setExtraDistro(address _distro, address _bridgeReceiver) external onlyOwner{
require(_distro != address(0),"invalid");
require(vefxsFeeToken != address(0),"!feeToken");
extraRewardDistribution = _distro;
bridgeReceiver = _bridgeReceiver;
IERC20(vefxsFeeToken).approve(extraRewardDistribution,type(uint256).max);
emit SetExtraDistro(_distro,_bridgeReceiver);
}
function setFeeInfo(address _platformReceiver, uint256 _fee) external onlyOwner{
require(_platformReceiver != address(0),"invalid receiver");
require(_fee <= 1e17, "invalid fee");
platformReceiver = _platformReceiver;
platformVefxsFees = _fee;
emit SetFeeInfo(_platformReceiver, _fee);
}
//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 {
uint256 _balance = IERC20(vefxsFeeToken).balanceOf(proxy);
bytes memory data = abi.encodeWithSelector(bytes4(keccak256("getYield()")));
_proxyCall(vefxsRewardDistribution,data);
_balance = IERC20(vefxsFeeToken).balanceOf(proxy) - _balance;
uint256 platformshare = _balance * platformVefxsFees / 10000;
data = abi.encodeWithSelector(bytes4(keccak256("transfer(address,uint256)")), platformReceiver, platformshare);
_proxyCall(vefxsFeeToken,data);
emit ClaimFees(platformReceiver,platformshare);
_balance -= platformshare;
data = abi.encodeWithSelector(bytes4(keccak256("transfer(address,uint256)")), cvxfxsRewardReceiver, _balance);
_proxyCall(vefxsFeeToken,data);
emit ClaimFees(cvxfxsRewardReceiver, _balance);
//pull rewards from bridge
uint256 bridgeBalance = IERC20(vefxsFeeToken).balanceOf(bridgeReceiver);
data = abi.encodeWithSelector(bytes4(keccak256("withdrawTo(address,uint256,address)")),vefxsFeeToken,bridgeBalance,address(this));
_proxyCall(bridgeReceiver,data);
//enqueue rewards
IRewardDistribution(extraRewardDistribution).queueNewRewards(bridgeBalance);
//claim rewards
data = abi.encodeWithSelector(bytes4(keccak256("getReward(address)")), address(this));
_proxyCall(extraRewardDistribution,data);
IERC20(vefxsFeeToken).safeTransfer(cvxfxsRewardReceiver, IERC20(vefxsFeeToken).balanceOf(address(this)));
}
/* ========== EVENTS ========== */
event SetPendingOwner(address indexed _address);
event SetFxsDepositor(address indexed _address);
event SetVefxsDistro(address indexed _vefxsdistro, address _token, address _receiver);
event SetExtraDistro(address indexed _distro, address _bridgeReceiver);
event SetFeeInfo(address indexed _platformreceiver, uint256 _fee);
event ClaimFees(address indexed _receiver, uint256 _amount );
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
pragma solidity 0.8.10;
interface IRewardDistribution{
function getReward(address _claimTo) external returns(bool);
function queueNewRewards(uint256 _rewards) external returns(bool);
function totalSupply() external view returns (uint256);
function balanceOf(address _account) external view returns (uint256);
}// 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":"_receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ClaimFees","type":"event"},{"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":"_distro","type":"address"},{"indexed":false,"internalType":"address","name":"_bridgeReceiver","type":"address"}],"name":"SetExtraDistro","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_platformreceiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"SetFeeInfo","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":[{"indexed":true,"internalType":"address","name":"_vefxsdistro","type":"address"},{"indexed":false,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"address","name":"_receiver","type":"address"}],"name":"SetVefxsDistro","type":"event"},{"anonymous":false,"inputs":[],"name":"Shutdown","type":"event"},{"inputs":[],"name":"acceptPendingOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bridgeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"cvxfxsRewardReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"extraRewardDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"platformReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformVefxsFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_distro","type":"address"},{"internalType":"address","name":"_bridgeReceiver","type":"address"}],"name":"setExtraDistro","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_platformReceiver","type":"address"},{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFeeInfo","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":[{"internalType":"address","name":"_distro","type":"address"},{"internalType":"address","name":"_feeToken","type":"address"},{"internalType":"address","name":"_cvxFeeReceiver","type":"address"}],"name":"setVefxsDistro","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":"vefxsFeeToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vefxsRewardDistribution","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
60c06040523480156200001157600080fd5b5060405162001f0b38038062001f0b833981016040819052620000349162000098565b6001600160a01b039182166080521660a052600a805460ff60a01b1916905560008054336001600160a01b03199182168117909255600280549091169091179055620000d0565b80516001600160a01b03811681146200009357600080fd5b919050565b60008060408385031215620000ac57600080fd5b620000b7836200007b565b9150620000c7602084016200007b565b90509250929050565b60805160a051611df2620001196000396000818161029b0152610afc01526000818161043d01528181610a5f01528181610de001528181610eb201526115640152611df26000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063929edf451161010f578063cbca603b116100a2578063e30c397811610071578063e30c39781461040e578063e771575114610421578063ec55688914610438578063f5cb282a1461045f57600080fd5b8063cbca603b146103cd578063d294f093146103e0578063d579bb53146103e8578063e13d7f98146103fb57600080fd5b8063b20cc6a4116100de578063b20cc6a414610370578063b51609b414610383578063bf86d69014610396578063c42069ec146103ba57600080fd5b8063929edf451461032f57806399f4a389146103425780639e8bc92a1461034a5780639f00332b1461035d57600080fd5b80633b788da91161018757806378dfd7711161015657806378dfd771146102e3578063875b9ae7146102f65780638bd45c0b146103095780638da5cb5b1461031c57600080fd5b80633b788da9146102835780636a32eb51146102965780636d11b8a5146102bd5780637739eb42146102d057600080fd5b80631cff79cd116101c35780631cff79cd1461024257806322f24bec14610255578063354af9191461026857806338178d951461027057600080fd5b80630a208972146101ea5780630f2097c01461021a57806312d320c51461022f575b600080fd5b6008546101fd906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61022d6102283660046118df565b610472565b005b61022d61023d36600461191a565b61058f565b61022d61025036600461195a565b610666565b6004546101fd906001600160a01b031681565b61022d6106d5565b61022d61027e3660046119dd565b61073d565b61022d610291366004611a10565b610800565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b61022d6102cb3660046119dd565b6108b8565b6007546101fd906001600160a01b031681565b61022d6102f1366004611a63565b610a28565b6006546101fd906001600160a01b031681565b61022d610317366004611a86565b610b21565b6000546101fd906001600160a01b031681565b61022d61033d366004611a63565b610b95565b61022d610c20565b600a546101fd906001600160a01b031681565b6002546101fd906001600160a01b031681565b6005546101fd906001600160a01b031681565b61022d610391366004611aa8565b610ccc565b600a546103aa90600160a01b900460ff1681565b6040519015158152602001610211565b61022d6103c8366004611a86565b610d52565b6003546101fd906001600160a01b031681565b61022d610dc6565b61022d6103f6366004611aa8565b6112e8565b61022d610409366004611ae4565b6113ac565b6001546101fd906001600160a01b031681565b61042a60095481565b604051908152602001610211565b6101fd7f000000000000000000000000000000000000000000000000000000000000000081565b61022d61046d366004611b0e565b611438565b6000546001600160a01b031633146104a55760405162461bcd60e51b815260040161049c90611b48565b60405180910390fd5b6001600160a01b0382166104ee5760405162461bcd60e51b815260206004820152601060248201526f34b73b30b634b2103932b1b2b4bb32b960811b604482015260640161049c565b67016345785d8a00008111156105345760405162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015260640161049c565b600a80546001600160a01b0319166001600160a01b03841690811790915560098290556040518281527fcbc58c704c1bf4b5c4bc61fc2a87feccba3adc71846e5a529dad2be7012fe90b906020015b60405180910390a25050565b6002546001600160a01b031633146105d95760405162461bcd60e51b815260206004820152600d60248201526c21766f746544656c656761746560981b604482015260640161049c565b60007f567813887e9a02f0fdc9e5cce34dad3f5e8ac785aa0259ba5d30339dd056cd23838361060957600061060c565b60015b604051602481019290925260ff16604482015260640160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050610660848261154a565b50505050565b6000546001600160a01b031633146106905760405162461bcd60e51b815260040161049c90611b48565b6106d08383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061154a92505050565b505050565b6000546001600160a01b031633146106ff5760405162461bcd60e51b815260040161049c90611b48565b600a805460ff60a01b1916600160a01b1790556040517f4426aa1fb73e391071491fcfe21a88b5c38a0a0333a1f6e77161470439704cf890600090a1565b6000546001600160a01b031633146107675760405162461bcd60e51b815260040161049c90611b48565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166317066a5760e21b1790526107b4838261154a565b600280546001600160a01b0319166001600160a01b0384169081179091556040517ffe3d977891d8a37d81321b525b70781640d7bca89d42a9ca844204831a87944390600090a2505050565b6000546001600160a01b0316331461082a5760405162461bcd60e51b815260040161049c90611b48565b60408051602481018390526001600160a01b0384166044808301919091528251808303909101815260649091019091526020810180516001600160e01b03166317b0dca160e31b17905261087e848261154a565b6040516001600160a01b038416907f2bb25fbb42d8e727aa4821b933cc09877ef371e86860cb18c52f8fda3cf18b5c90600090a250505050565b6000546001600160a01b031633146108e25760405162461bcd60e51b815260040161049c90611b48565b6001600160a01b0382166109085760405162461bcd60e51b815260040161049c90611b67565b6005546001600160a01b031661094c5760405162461bcd60e51b815260206004820152600960248201526810b332b2aa37b5b2b760b91b604482015260640161049c565b600780546001600160a01b038481166001600160a01b031992831681179093556008805485831693169290921790915560055460405163095ea7b360e01b815260048101939093526000196024840152169063095ea7b3906044016020604051808303816000875af11580156109c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ea9190611b88565b506040516001600160a01b0382811682528316907f8c606cbbbd5994a055de0871efcbd6933cf298770d401ead8e6b5f26335caf4f90602001610583565b6000546001600160a01b03163314610a525760405162461bcd60e51b815260040161049c90611b48565b6040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166024820152604481018390526001600160801b03821660648201526000907fd41a464133141ad9a62a86a751990b0402488da126f9cfb9ae3724bced06cbd4906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506106d07f00000000000000000000000000000000000000000000000000000000000000008261154a565b6000546001600160a01b03163314610b4b5760405162461bcd60e51b815260040161049c90611b48565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f28a9fab4be0ec9a4ff10f809e2518b59aef027b50370cad6ad265196e124188f90600090a250565b6003546001600160a01b03163314610bda5760405162461bcd60e51b81526020600482015260086024820152670859195c1bdcda5d60c21b604482015260640161049c565b604051602481018390526001600160801b03821660448201526000907f929edf45814a1ade0d0329dc744addf3c0d1b80d5e6797a553437076f6ddf07190606401610ac3565b6001546001600160a01b031615801590610c4457506001546001600160a01b031633145b610c7b5760405162461bcd60e51b815260206004820152600860248201526710b82fb7bbb732b960c11b604482015260640161049c565b60018054600080546001600160a01b0383166001600160a01b031991821681178355921690925560405190917fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3691a2565b6000546001600160a01b03163314610cf65760405162461bcd60e51b815260040161049c90611b48565b610d0a6001600160a01b0384168284611626565b826001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa2883604051610d4591815260200190565b60405180910390a2505050565b6000546001600160a01b03163314610d7c5760405162461bcd60e51b815260040161049c90611b48565b600180546001600160a01b0319166001600160a01b0383169081179091556040517f5f4861af37461865f168c6e320428b3141f409a1763bd61b6359d38ad38ae74c90600090a250565b6005546040516370a0823160e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260009216906370a0823190602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190611ba5565b604080516004808252602482019092526020810180516001600160e01b0316637c26287160e01b179052905491925090610e98906001600160a01b03168261154a565b6005546040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152849216906370a0823190602401602060405180830381865afa158015610f02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f269190611ba5565b610f309190611bd4565b9150600061271060095484610f459190611beb565b610f4f9190611c0a565b600a54604080516001600160a01b03928316602482015260448082018590528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052600554909450919250610fae91168361154a565b600a546040518281526001600160a01b03909116907f1fdd0020358893559713def8b42cad661ffbc755d1a264594027921442bb56a09060200160405180910390a2610ffa8184611bd4565b600654604080516001600160a01b03928316602482015260448082018590528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052600554929550935061105891168361154a565b6006546040518481526001600160a01b03909116907f1fdd0020358893559713def8b42cad661ffbc755d1a264594027921442bb56a09060200160405180910390a26005546008546040516370a0823160e01b81526001600160a01b03918216600482015260009291909116906370a0823190602401602060405180830381865afa1580156110eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110f9190611ba5565b600554604080516001600160a01b03928316602482015260448101849052306064808301919091528251808303909101815260849091019091526020810180516001600160e01b031663627160f360e11b17905260085490955091925061117791168461154a565b60075460405163590a41f560e01b8152600481018390526001600160a01b039091169063590a41f5906024016020604051808303816000875af11580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190611b88565b506040513060248201527fc00007b0b14ce14d1d8e20828982c1e51944313ec54b52ee46020e0e016774959060440160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152600754909350611260906001600160a01b03168461154a565b6006546005546040516370a0823160e01b8152306004820152610660926001600160a01b039081169216906370a0823190602401602060405180830381865afa1580156112b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d59190611ba5565b6005546001600160a01b03169190611626565b6000546001600160a01b031633146113125760405162461bcd60e51b815260040161049c90611b48565b604080516001600160a01b038316602482015260448082018590528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611363848261154a565b836001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288460405161139e91815260200190565b60405180910390a250505050565b6003546001600160a01b031633146113f15760405162461bcd60e51b81526020600482015260086024820152670859195c1bdcda5d60c21b604482015260640161049c565b6040516001600160801b038084166024830152821660448201526000907fe13d7f9836fd7ce83aee2e23d60e8d95cbfe226d3629a20990f64fdb01ed348690606401610ac3565b6000546001600160a01b031633146114625760405162461bcd60e51b815260040161049c90611b48565b6001600160a01b0383166114885760405162461bcd60e51b815260040161049c90611b67565b6001600160a01b0382166114ae5760405162461bcd60e51b815260040161049c90611b67565b6001600160a01b0381166114d45760405162461bcd60e51b815260040161049c90611b67565b600480546001600160a01b038581166001600160a01b03199283168117909355600580548683169084168117909155600680549286169290931682179092556040805192835260208301919091527f6d6a8c29ce8da52532ca9cf01e942a8df6441c35ea8aed5d4078da410e5daf789101610d45565b604051635b0e93fb60e11b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b61d27f69061159d90869085908790600401611c84565b6000604051808303816000875af11580156115bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115e49190810190611cca565b509050806106d05760405162461bcd60e51b815260206004820152600f60248201526e141c9bde1e4810d85b1b0811985a5b608a1b604482015260640161049c565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908401526106d0928692916000916116b6918516908490611736565b90508051600014806116d75750808060200190518101906116d79190611b88565b6106d05760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161049c565b6060611745848460008561174d565b949350505050565b6060824710156117ae5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161049c565b600080866001600160a01b031685876040516117ca9190611d8d565b60006040518083038185875af1925050503d8060008114611807576040519150601f19603f3d011682016040523d82523d6000602084013e61180c565b606091505b509150915061181d87838387611828565b979650505050505050565b6060831561189457825161188d576001600160a01b0385163b61188d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161049c565b5081611745565b61174583838151156118a95781518083602001fd5b8060405162461bcd60e51b815260040161049c9190611da9565b80356001600160a01b03811681146118da57600080fd5b919050565b600080604083850312156118f257600080fd5b6118fb836118c3565b946020939093013593505050565b801515811461191757600080fd5b50565b60008060006060848603121561192f57600080fd5b611938846118c3565b925060208401359150604084013561194f81611909565b809150509250925092565b60008060006040848603121561196f57600080fd5b611978846118c3565b9250602084013567ffffffffffffffff8082111561199557600080fd5b818601915086601f8301126119a957600080fd5b8135818111156119b857600080fd5b8760208285010111156119ca57600080fd5b6020830194508093505050509250925092565b600080604083850312156119f057600080fd5b6119f9836118c3565b9150611a07602084016118c3565b90509250929050565b600080600060608486031215611a2557600080fd5b611a2e846118c3565b9250611a3c602085016118c3565b9150604084013590509250925092565b80356001600160801b03811681146118da57600080fd5b60008060408385031215611a7657600080fd5b82359150611a0760208401611a4c565b600060208284031215611a9857600080fd5b611aa1826118c3565b9392505050565b600080600060608486031215611abd57600080fd5b611ac6846118c3565b925060208401359150611adb604085016118c3565b90509250925092565b60008060408385031215611af757600080fd5b611b0083611a4c565b9150611a0760208401611a4c565b600080600060608486031215611b2357600080fd5b611b2c846118c3565b9250611b3a602085016118c3565b9150611adb604085016118c3565b602080825260059082015264042c2eae8d60db1b604082015260600190565b6020808252600790820152661a5b9d985b1a5960ca1b604082015260600190565b600060208284031215611b9a57600080fd5b8151611aa181611909565b600060208284031215611bb757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082821015611be657611be6611bbe565b500390565b6000816000190483118215151615611c0557611c05611bbe565b500290565b600082611c2757634e487b7160e01b600052601260045260246000fd5b500490565b60005b83811015611c47578181015183820152602001611c2f565b838111156106605750506000910152565b60008151808452611c70816020860160208601611c2c565b601f01601f19169290920160200192915050565b60018060a01b0384168152826020820152606060408201526000611cab6060830184611c58565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611cdd57600080fd5b8251611ce881611909565b602084015190925067ffffffffffffffff80821115611d0657600080fd5b818501915085601f830112611d1a57600080fd5b815181811115611d2c57611d2c611cb4565b604051601f8201601f19908116603f01168101908382118183101715611d5457611d54611cb4565b81604052828152886020848701011115611d6d57600080fd5b611d7e836020830160208801611c2c565b80955050505050509250929050565b60008251611d9f818460208701611c2c565b9190910192915050565b602081526000611aa16020830184611c5856fea264697066735822122092cb3dd91371c9d89f718e51e4434c83e434395e613de81bf290d92a911efa7064736f6c634300080a003300000000000000000000000059cfcd384746ec3035299d90782be065e466800b000000000000000000000000007fd070a7e1b0fa1364044a373ac1339bad89cf
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063929edf451161010f578063cbca603b116100a2578063e30c397811610071578063e30c39781461040e578063e771575114610421578063ec55688914610438578063f5cb282a1461045f57600080fd5b8063cbca603b146103cd578063d294f093146103e0578063d579bb53146103e8578063e13d7f98146103fb57600080fd5b8063b20cc6a4116100de578063b20cc6a414610370578063b51609b414610383578063bf86d69014610396578063c42069ec146103ba57600080fd5b8063929edf451461032f57806399f4a389146103425780639e8bc92a1461034a5780639f00332b1461035d57600080fd5b80633b788da91161018757806378dfd7711161015657806378dfd771146102e3578063875b9ae7146102f65780638bd45c0b146103095780638da5cb5b1461031c57600080fd5b80633b788da9146102835780636a32eb51146102965780636d11b8a5146102bd5780637739eb42146102d057600080fd5b80631cff79cd116101c35780631cff79cd1461024257806322f24bec14610255578063354af9191461026857806338178d951461027057600080fd5b80630a208972146101ea5780630f2097c01461021a57806312d320c51461022f575b600080fd5b6008546101fd906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61022d6102283660046118df565b610472565b005b61022d61023d36600461191a565b61058f565b61022d61025036600461195a565b610666565b6004546101fd906001600160a01b031681565b61022d6106d5565b61022d61027e3660046119dd565b61073d565b61022d610291366004611a10565b610800565b6101fd7f000000000000000000000000007fd070a7e1b0fa1364044a373ac1339bad89cf81565b61022d6102cb3660046119dd565b6108b8565b6007546101fd906001600160a01b031681565b61022d6102f1366004611a63565b610a28565b6006546101fd906001600160a01b031681565b61022d610317366004611a86565b610b21565b6000546101fd906001600160a01b031681565b61022d61033d366004611a63565b610b95565b61022d610c20565b600a546101fd906001600160a01b031681565b6002546101fd906001600160a01b031681565b6005546101fd906001600160a01b031681565b61022d610391366004611aa8565b610ccc565b600a546103aa90600160a01b900460ff1681565b6040519015158152602001610211565b61022d6103c8366004611a86565b610d52565b6003546101fd906001600160a01b031681565b61022d610dc6565b61022d6103f6366004611aa8565b6112e8565b61022d610409366004611ae4565b6113ac565b6001546101fd906001600160a01b031681565b61042a60095481565b604051908152602001610211565b6101fd7f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b81565b61022d61046d366004611b0e565b611438565b6000546001600160a01b031633146104a55760405162461bcd60e51b815260040161049c90611b48565b60405180910390fd5b6001600160a01b0382166104ee5760405162461bcd60e51b815260206004820152601060248201526f34b73b30b634b2103932b1b2b4bb32b960811b604482015260640161049c565b67016345785d8a00008111156105345760405162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015260640161049c565b600a80546001600160a01b0319166001600160a01b03841690811790915560098290556040518281527fcbc58c704c1bf4b5c4bc61fc2a87feccba3adc71846e5a529dad2be7012fe90b906020015b60405180910390a25050565b6002546001600160a01b031633146105d95760405162461bcd60e51b815260206004820152600d60248201526c21766f746544656c656761746560981b604482015260640161049c565b60007f567813887e9a02f0fdc9e5cce34dad3f5e8ac785aa0259ba5d30339dd056cd23838361060957600061060c565b60015b604051602481019290925260ff16604482015260640160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091529050610660848261154a565b50505050565b6000546001600160a01b031633146106905760405162461bcd60e51b815260040161049c90611b48565b6106d08383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061154a92505050565b505050565b6000546001600160a01b031633146106ff5760405162461bcd60e51b815260040161049c90611b48565b600a805460ff60a01b1916600160a01b1790556040517f4426aa1fb73e391071491fcfe21a88b5c38a0a0333a1f6e77161470439704cf890600090a1565b6000546001600160a01b031633146107675760405162461bcd60e51b815260040161049c90611b48565b604080516001600160a01b0383166024808301919091528251808303909101815260449091019091526020810180516001600160e01b03166317066a5760e21b1790526107b4838261154a565b600280546001600160a01b0319166001600160a01b0384169081179091556040517ffe3d977891d8a37d81321b525b70781640d7bca89d42a9ca844204831a87944390600090a2505050565b6000546001600160a01b0316331461082a5760405162461bcd60e51b815260040161049c90611b48565b60408051602481018390526001600160a01b0384166044808301919091528251808303909101815260649091019091526020810180516001600160e01b03166317b0dca160e31b17905261087e848261154a565b6040516001600160a01b038416907f2bb25fbb42d8e727aa4821b933cc09877ef371e86860cb18c52f8fda3cf18b5c90600090a250505050565b6000546001600160a01b031633146108e25760405162461bcd60e51b815260040161049c90611b48565b6001600160a01b0382166109085760405162461bcd60e51b815260040161049c90611b67565b6005546001600160a01b031661094c5760405162461bcd60e51b815260206004820152600960248201526810b332b2aa37b5b2b760b91b604482015260640161049c565b600780546001600160a01b038481166001600160a01b031992831681179093556008805485831693169290921790915560055460405163095ea7b360e01b815260048101939093526000196024840152169063095ea7b3906044016020604051808303816000875af11580156109c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ea9190611b88565b506040516001600160a01b0382811682528316907f8c606cbbbd5994a055de0871efcbd6933cf298770d401ead8e6b5f26335caf4f90602001610583565b6000546001600160a01b03163314610a525760405162461bcd60e51b815260040161049c90611b48565b6040516001600160a01b037f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b166024820152604481018390526001600160801b03821660648201526000907fd41a464133141ad9a62a86a751990b0402488da126f9cfb9ae3724bced06cbd4906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506106d07f000000000000000000000000007fd070a7e1b0fa1364044a373ac1339bad89cf8261154a565b6000546001600160a01b03163314610b4b5760405162461bcd60e51b815260040161049c90611b48565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f28a9fab4be0ec9a4ff10f809e2518b59aef027b50370cad6ad265196e124188f90600090a250565b6003546001600160a01b03163314610bda5760405162461bcd60e51b81526020600482015260086024820152670859195c1bdcda5d60c21b604482015260640161049c565b604051602481018390526001600160801b03821660448201526000907f929edf45814a1ade0d0329dc744addf3c0d1b80d5e6797a553437076f6ddf07190606401610ac3565b6001546001600160a01b031615801590610c4457506001546001600160a01b031633145b610c7b5760405162461bcd60e51b815260206004820152600860248201526710b82fb7bbb732b960c11b604482015260640161049c565b60018054600080546001600160a01b0383166001600160a01b031991821681178355921690925560405190917fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3691a2565b6000546001600160a01b03163314610cf65760405162461bcd60e51b815260040161049c90611b48565b610d0a6001600160a01b0384168284611626565b826001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa2883604051610d4591815260200190565b60405180910390a2505050565b6000546001600160a01b03163314610d7c5760405162461bcd60e51b815260040161049c90611b48565b600180546001600160a01b0319166001600160a01b0383169081179091556040517f5f4861af37461865f168c6e320428b3141f409a1763bd61b6359d38ad38ae74c90600090a250565b6005546040516370a0823160e01b81526001600160a01b037f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b8116600483015260009216906370a0823190602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190611ba5565b604080516004808252602482019092526020810180516001600160e01b0316637c26287160e01b179052905491925090610e98906001600160a01b03168261154a565b6005546040516370a0823160e01b81526001600160a01b037f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b81166004830152849216906370a0823190602401602060405180830381865afa158015610f02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f269190611ba5565b610f309190611bd4565b9150600061271060095484610f459190611beb565b610f4f9190611c0a565b600a54604080516001600160a01b03928316602482015260448082018590528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052600554909450919250610fae91168361154a565b600a546040518281526001600160a01b03909116907f1fdd0020358893559713def8b42cad661ffbc755d1a264594027921442bb56a09060200160405180910390a2610ffa8184611bd4565b600654604080516001600160a01b03928316602482015260448082018590528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052600554929550935061105891168361154a565b6006546040518481526001600160a01b03909116907f1fdd0020358893559713def8b42cad661ffbc755d1a264594027921442bb56a09060200160405180910390a26005546008546040516370a0823160e01b81526001600160a01b03918216600482015260009291909116906370a0823190602401602060405180830381865afa1580156110eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110f9190611ba5565b600554604080516001600160a01b03928316602482015260448101849052306064808301919091528251808303909101815260849091019091526020810180516001600160e01b031663627160f360e11b17905260085490955091925061117791168461154a565b60075460405163590a41f560e01b8152600481018390526001600160a01b039091169063590a41f5906024016020604051808303816000875af11580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190611b88565b506040513060248201527fc00007b0b14ce14d1d8e20828982c1e51944313ec54b52ee46020e0e016774959060440160408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152600754909350611260906001600160a01b03168461154a565b6006546005546040516370a0823160e01b8152306004820152610660926001600160a01b039081169216906370a0823190602401602060405180830381865afa1580156112b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d59190611ba5565b6005546001600160a01b03169190611626565b6000546001600160a01b031633146113125760405162461bcd60e51b815260040161049c90611b48565b604080516001600160a01b038316602482015260448082018590528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611363848261154a565b836001600160a01b03167f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288460405161139e91815260200190565b60405180910390a250505050565b6003546001600160a01b031633146113f15760405162461bcd60e51b81526020600482015260086024820152670859195c1bdcda5d60c21b604482015260640161049c565b6040516001600160801b038084166024830152821660448201526000907fe13d7f9836fd7ce83aee2e23d60e8d95cbfe226d3629a20990f64fdb01ed348690606401610ac3565b6000546001600160a01b031633146114625760405162461bcd60e51b815260040161049c90611b48565b6001600160a01b0383166114885760405162461bcd60e51b815260040161049c90611b67565b6001600160a01b0382166114ae5760405162461bcd60e51b815260040161049c90611b67565b6001600160a01b0381166114d45760405162461bcd60e51b815260040161049c90611b67565b600480546001600160a01b038581166001600160a01b03199283168117909355600580548683169084168117909155600680549286169290931682179092556040805192835260208301919091527f6d6a8c29ce8da52532ca9cf01e942a8df6441c35ea8aed5d4078da410e5daf789101610d45565b604051635b0e93fb60e11b81526000906001600160a01b037f00000000000000000000000059cfcd384746ec3035299d90782be065e466800b169063b61d27f69061159d90869085908790600401611c84565b6000604051808303816000875af11580156115bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115e49190810190611cca565b509050806106d05760405162461bcd60e51b815260206004820152600f60248201526e141c9bde1e4810d85b1b0811985a5b608a1b604482015260640161049c565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908401526106d0928692916000916116b6918516908490611736565b90508051600014806116d75750808060200190518101906116d79190611b88565b6106d05760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161049c565b6060611745848460008561174d565b949350505050565b6060824710156117ae5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161049c565b600080866001600160a01b031685876040516117ca9190611d8d565b60006040518083038185875af1925050503d8060008114611807576040519150601f19603f3d011682016040523d82523d6000602084013e61180c565b606091505b509150915061181d87838387611828565b979650505050505050565b6060831561189457825161188d576001600160a01b0385163b61188d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161049c565b5081611745565b61174583838151156118a95781518083602001fd5b8060405162461bcd60e51b815260040161049c9190611da9565b80356001600160a01b03811681146118da57600080fd5b919050565b600080604083850312156118f257600080fd5b6118fb836118c3565b946020939093013593505050565b801515811461191757600080fd5b50565b60008060006060848603121561192f57600080fd5b611938846118c3565b925060208401359150604084013561194f81611909565b809150509250925092565b60008060006040848603121561196f57600080fd5b611978846118c3565b9250602084013567ffffffffffffffff8082111561199557600080fd5b818601915086601f8301126119a957600080fd5b8135818111156119b857600080fd5b8760208285010111156119ca57600080fd5b6020830194508093505050509250925092565b600080604083850312156119f057600080fd5b6119f9836118c3565b9150611a07602084016118c3565b90509250929050565b600080600060608486031215611a2557600080fd5b611a2e846118c3565b9250611a3c602085016118c3565b9150604084013590509250925092565b80356001600160801b03811681146118da57600080fd5b60008060408385031215611a7657600080fd5b82359150611a0760208401611a4c565b600060208284031215611a9857600080fd5b611aa1826118c3565b9392505050565b600080600060608486031215611abd57600080fd5b611ac6846118c3565b925060208401359150611adb604085016118c3565b90509250925092565b60008060408385031215611af757600080fd5b611b0083611a4c565b9150611a0760208401611a4c565b600080600060608486031215611b2357600080fd5b611b2c846118c3565b9250611b3a602085016118c3565b9150611adb604085016118c3565b602080825260059082015264042c2eae8d60db1b604082015260600190565b6020808252600790820152661a5b9d985b1a5960ca1b604082015260600190565b600060208284031215611b9a57600080fd5b8151611aa181611909565b600060208284031215611bb757600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082821015611be657611be6611bbe565b500390565b6000816000190483118215151615611c0557611c05611bbe565b500290565b600082611c2757634e487b7160e01b600052601260045260246000fd5b500490565b60005b83811015611c47578181015183820152602001611c2f565b838111156106605750506000910152565b60008151808452611c70816020860160208601611c2c565b601f01601f19169290920160200192915050565b60018060a01b0384168152826020820152606060408201526000611cab6060830184611c58565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215611cdd57600080fd5b8251611ce881611909565b602084015190925067ffffffffffffffff80821115611d0657600080fd5b818501915085601f830112611d1a57600080fd5b815181811115611d2c57611d2c611cb4565b604051601f8201601f19908116603f01168101908382118183101715611d5457611d54611cb4565b81604052828152886020848701011115611d6d57600080fd5b611d7e836020830160208801611c2c565b80955050505050509250929050565b60008251611d9f818460208701611c2c565b9190910192915050565b602081526000611aa16020830184611c5856fea264697066735822122092cb3dd91371c9d89f718e51e4434c83e434395e613de81bf290d92a911efa7064736f6c634300080a0033
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.