Source Code
Overview
S Balance
S Value
$0.00| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
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 | ||||
|---|---|---|---|---|---|---|---|
| 60016901 | 17 days ago | 0 S | |||||
| 60016901 | 17 days ago | 0 S | |||||
| 60016901 | 17 days ago | 0 S | |||||
| 60016901 | 17 days ago | 0 S | |||||
| 59157332 | 28 days ago | 0 S | |||||
| 59157332 | 28 days ago | 0 S | |||||
| 59157332 | 28 days ago | 0 S | |||||
| 59157332 | 28 days ago | 0 S | |||||
| 59124295 | 29 days ago | 0 S | |||||
| 59124295 | 29 days ago | 0 S | |||||
| 58766747 | 33 days ago | 0 S | |||||
| 58766747 | 33 days ago | 0 S | |||||
| 58543582 | 36 days ago | 0 S | |||||
| 58543582 | 36 days ago | 0 S | |||||
| 57841037 | 44 days ago | 0 S | |||||
| 57841037 | 44 days ago | 0 S | |||||
| 57429138 | 49 days ago | 0 S | |||||
| 57429138 | 49 days ago | 0 S | |||||
| 57429138 | 49 days ago | 0 S | |||||
| 57429138 | 49 days ago | 0 S | |||||
| 56794345 | 57 days ago | 0 S | |||||
| 56794345 | 57 days ago | 0 S | |||||
| 56794345 | 57 days ago | 0 S | |||||
| 56794345 | 57 days ago | 0 S | |||||
| 56781647 | 57 days ago | 0 S |
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xdba93Cb4...347F46E39 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
PullRewardsTransferStrategy
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0
/* ———————————————————————————————————————————————————————————————————————————————— *
* _____ ______ ______ __ __ __ __ ______ __ __ *
* /\ __-. /\__ _\ /\ == \ /\ \ /\ "-.\ \ /\ \ /\__ _\ /\ \_\ \ *
* \ \ \/\ \ \/_/\ \/ \ \ __< \ \ \ \ \ \-. \ \ \ \ \/_/\ \/ \ \____ \ *
* \ \____- \ \_\ \ \_\ \_\ \ \_\ \ \_\\"\_\ \ \_\ \ \_\ \/\_____\ *
* \/____/ \/_/ \/_/ /_/ \/_/ \/_/ \/_/ \/_/ \/_/ \/_____/ *
* *
* ————————————————————————————————— dtrinity.org ————————————————————————————————— *
* *
* ▲ *
* ▲ ▲ *
* *
* ———————————————————————————————————————————————————————————————————————————————— *
* dTRINITY Protocol: https://github.com/dtrinity *
* ———————————————————————————————————————————————————————————————————————————————— */
pragma solidity ^0.8.20;
import {IPullRewardsTransferStrategy} from "../interfaces/IPullRewardsTransferStrategy.sol";
import {ITransferStrategyBase} from "../interfaces/ITransferStrategyBase.sol";
import {TransferStrategyBase} from "./TransferStrategyBase.sol";
import {GPv2SafeERC20} from "contracts/dlend/core/dependencies/gnosis/contracts/GPv2SafeERC20.sol";
import {IERC20} from "contracts/dlend/core/dependencies/openzeppelin/contracts/IERC20.sol";
/**
* @title PullRewardsTransferStrategy
* @notice Transfer strategy that pulls ERC20 rewards from an external account to the user address.
* The external account could be a smart contract or EOA that must approve to the PullRewardsTransferStrategy contract address.
* @author Aave
**/
contract PullRewardsTransferStrategy is
TransferStrategyBase,
IPullRewardsTransferStrategy
{
using GPv2SafeERC20 for IERC20;
address internal immutable REWARDS_VAULT;
constructor(
address incentivesController,
address rewardsAdmin,
address rewardsVault
) TransferStrategyBase(incentivesController, rewardsAdmin) {
REWARDS_VAULT = rewardsVault;
}
/// @inheritdoc TransferStrategyBase
function performTransfer(
address to,
address reward,
uint256 amount
)
external
override(TransferStrategyBase, ITransferStrategyBase)
onlyIncentivesController
returns (bool)
{
IERC20(reward).safeTransferFrom(REWARDS_VAULT, to, amount);
return true;
}
/// @inheritdoc IPullRewardsTransferStrategy
function getRewardsVault() external view returns (address) {
return REWARDS_VAULT;
}
}// SPDX-License-Identifier: LGPL-3.0-or-later
/* ———————————————————————————————————————————————————————————————————————————————— *
* _____ ______ ______ __ __ __ __ ______ __ __ *
* /\ __-. /\__ _\ /\ == \ /\ \ /\ "-.\ \ /\ \ /\__ _\ /\ \_\ \ *
* \ \ \/\ \ \/_/\ \/ \ \ __< \ \ \ \ \ \-. \ \ \ \ \/_/\ \/ \ \____ \ *
* \ \____- \ \_\ \ \_\ \_\ \ \_\ \ \_\\"\_\ \ \_\ \ \_\ \/\_____\ *
* \/____/ \/_/ \/_/ /_/ \/_/ \/_/ \/_/ \/_/ \/_/ \/_____/ *
* *
* ————————————————————————————————— dtrinity.org ————————————————————————————————— *
* *
* ▲ *
* ▲ ▲ *
* *
* ———————————————————————————————————————————————————————————————————————————————— *
* dTRINITY Protocol: https://github.com/dtrinity *
* ———————————————————————————————————————————————————————————————————————————————— */
pragma solidity ^0.8.20;
import {IERC20} from "../../openzeppelin/contracts/IERC20.sol";
/// @title Gnosis Protocol v2 Safe ERC20 Transfer Library
/// @author Gnosis Developers
/// @dev Gas-efficient version of Openzeppelin's SafeERC20 contract.
library GPv2SafeERC20 {
/// @dev Wrapper around a call to the ERC20 function `transfer` that reverts
/// also when the token returns `false`.
function safeTransfer(IERC20 token, address to, uint256 value) internal {
bytes4 selector_ = token.transfer.selector;
// solhint-disable-next-line no-inline-assembly
assembly {
let freeMemoryPointer := mload(0x40)
mstore(freeMemoryPointer, selector_)
mstore(
add(freeMemoryPointer, 4),
and(to, 0xffffffffffffffffffffffffffffffffffffffff)
)
mstore(add(freeMemoryPointer, 36), value)
if iszero(call(gas(), token, 0, freeMemoryPointer, 68, 0, 0)) {
returndatacopy(0, 0, returndatasize())
revert(0, returndatasize())
}
}
require(getLastTransferResult(token), "GPv2: failed transfer");
}
/// @dev Wrapper around a call to the ERC20 function `transferFrom` that
/// reverts also when the token returns `false`.
function safeTransferFrom(
IERC20 token,
address from,
address to,
uint256 value
) internal {
bytes4 selector_ = token.transferFrom.selector;
// solhint-disable-next-line no-inline-assembly
assembly {
let freeMemoryPointer := mload(0x40)
mstore(freeMemoryPointer, selector_)
mstore(
add(freeMemoryPointer, 4),
and(from, 0xffffffffffffffffffffffffffffffffffffffff)
)
mstore(
add(freeMemoryPointer, 36),
and(to, 0xffffffffffffffffffffffffffffffffffffffff)
)
mstore(add(freeMemoryPointer, 68), value)
if iszero(call(gas(), token, 0, freeMemoryPointer, 100, 0, 0)) {
returndatacopy(0, 0, returndatasize())
revert(0, returndatasize())
}
}
require(getLastTransferResult(token), "GPv2: failed transferFrom");
}
/// @dev Verifies that the last return was a successful `transfer*` call.
/// This is done by checking that the return data is either empty, or
/// is a valid ABI encoded boolean.
function getLastTransferResult(
IERC20 token
) private view returns (bool success) {
// NOTE: Inspecting previous return data requires assembly. Note that
// we write the return data to memory 0 in the case where the return
// data size is 32, this is OK since the first 64 bytes of memory are
// reserved by Solidy as a scratch space that can be used within
// assembly blocks.
// <https://docs.soliditylang.org/en/v0.7.6/internals/layout_in_memory.html>
// solhint-disable-next-line no-inline-assembly
assembly {
/// @dev Revert with an ABI encoded Solidity error with a message
/// that fits into 32-bytes.
///
/// An ABI encoded Solidity error has the following memory layout:
///
/// ------------+----------------------------------
/// byte range | value
/// ------------+----------------------------------
/// 0x00..0x04 | selector("Error(string)")
/// 0x04..0x24 | string offset (always 0x20)
/// 0x24..0x44 | string length
/// 0x44..0x64 | string value, padded to 32-bytes
function revertWithMessage(length, message) {
mstore(0x00, "\x08\xc3\x79\xa0")
mstore(0x04, 0x20)
mstore(0x24, length)
mstore(0x44, message)
revert(0x00, 0x64)
}
switch returndatasize()
// Non-standard ERC20 transfer without return.
case 0 {
// NOTE: When the return data size is 0, verify that there
// is code at the address. This is done in order to maintain
// compatibility with Solidity calling conventions.
// <https://docs.soliditylang.org/en/v0.7.6/control-structures.html#external-function-calls>
if iszero(extcodesize(token)) {
revertWithMessage(20, "GPv2: not a contract")
}
success := 1
}
// Standard ERC20 transfer returning boolean success value.
case 32 {
returndatacopy(0, 0, returndatasize())
// NOTE: For ABI encoding v1, any non-zero value is accepted
// as `true` for a boolean. In order to stay compatible with
// OpenZeppelin's `SafeERC20` library which is known to work
// with the existing ERC20 implementation we care about,
// make sure we return success for any non-zero return value
// from the `transfer*` call.
success := iszero(iszero(mload(0)))
}
default {
revertWithMessage(31, "GPv2: malformed transfer result")
}
}
}
}// SPDX-License-Identifier: AGPL-3.0
/* ———————————————————————————————————————————————————————————————————————————————— *
* _____ ______ ______ __ __ __ __ ______ __ __ *
* /\ __-. /\__ _\ /\ == \ /\ \ /\ "-.\ \ /\ \ /\__ _\ /\ \_\ \ *
* \ \ \/\ \ \/_/\ \/ \ \ __< \ \ \ \ \ \-. \ \ \ \ \/_/\ \/ \ \____ \ *
* \ \____- \ \_\ \ \_\ \_\ \ \_\ \ \_\\"\_\ \ \_\ \ \_\ \/\_____\ *
* \/____/ \/_/ \/_/ /_/ \/_/ \/_/ \/_/ \/_/ \/_/ \/_____/ *
* *
* ————————————————————————————————— dtrinity.org ————————————————————————————————— *
* *
* ▲ *
* ▲ ▲ *
* *
* ———————————————————————————————————————————————————————————————————————————————— *
* dTRINITY Protocol: https://github.com/dtrinity *
* ———————————————————————————————————————————————————————————————————————————————— */
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(
address owner,
address spender
) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
}// SPDX-License-Identifier: AGPL-3.0
/* ———————————————————————————————————————————————————————————————————————————————— *
* _____ ______ ______ __ __ __ __ ______ __ __ *
* /\ __-. /\__ _\ /\ == \ /\ \ /\ "-.\ \ /\ \ /\__ _\ /\ \_\ \ *
* \ \ \/\ \ \/_/\ \/ \ \ __< \ \ \ \ \ \-. \ \ \ \ \/_/\ \/ \ \____ \ *
* \ \____- \ \_\ \ \_\ \_\ \ \_\ \ \_\\"\_\ \ \_\ \ \_\ \/\_____\ *
* \/____/ \/_/ \/_/ /_/ \/_/ \/_/ \/_/ \/_/ \/_/ \/_____/ *
* *
* ————————————————————————————————— dtrinity.org ————————————————————————————————— *
* *
* ▲ *
* ▲ ▲ *
* *
* ———————————————————————————————————————————————————————————————————————————————— *
* dTRINITY Protocol: https://github.com/dtrinity *
* ———————————————————————————————————————————————————————————————————————————————— */
pragma solidity ^0.8.20;
import {ITransferStrategyBase} from "./ITransferStrategyBase.sol";
/**
* @title IPullRewardsTransferStrategy
* @author Aave
**/
interface IPullRewardsTransferStrategy is ITransferStrategyBase {
/**
* @return Address of the rewards vault
*/
function getRewardsVault() external view returns (address);
}// SPDX-License-Identifier: AGPL-3.0
/* ———————————————————————————————————————————————————————————————————————————————— *
* _____ ______ ______ __ __ __ __ ______ __ __ *
* /\ __-. /\__ _\ /\ == \ /\ \ /\ "-.\ \ /\ \ /\__ _\ /\ \_\ \ *
* \ \ \/\ \ \/_/\ \/ \ \ __< \ \ \ \ \ \-. \ \ \ \ \/_/\ \/ \ \____ \ *
* \ \____- \ \_\ \ \_\ \_\ \ \_\ \ \_\\"\_\ \ \_\ \ \_\ \/\_____\ *
* \/____/ \/_/ \/_/ /_/ \/_/ \/_/ \/_/ \/_/ \/_/ \/_____/ *
* *
* ————————————————————————————————— dtrinity.org ————————————————————————————————— *
* *
* ▲ *
* ▲ ▲ *
* *
* ———————————————————————————————————————————————————————————————————————————————— *
* dTRINITY Protocol: https://github.com/dtrinity *
* ———————————————————————————————————————————————————————————————————————————————— */
pragma solidity ^0.8.20;
interface ITransferStrategyBase {
event EmergencyWithdrawal(
address indexed caller,
address indexed token,
address indexed to,
uint256 amount
);
/**
* @dev Perform custom transfer logic via delegate call from source contract to a TransferStrategy implementation
* @param to Account to transfer rewards
* @param reward Address of the reward token
* @param amount Amount to transfer to the "to" address parameter
* @return Returns true bool if transfer logic succeeds
*/
function performTransfer(
address to,
address reward,
uint256 amount
) external returns (bool);
/**
* @return Returns the address of the Incentives Controller
*/
function getIncentivesController() external view returns (address);
/**
* @return Returns the address of the Rewards admin
*/
function getRewardsAdmin() external view returns (address);
/**
* @dev Perform an emergency token withdrawal only callable by the Rewards admin
* @param token Address of the token to withdraw funds from this contract
* @param to Address of the recipient of the withdrawal
* @param amount Amount of the withdrawal
*/
function emergencyWithdrawal(
address token,
address to,
uint256 amount
) external;
}// SPDX-License-Identifier: AGPL-3.0
/* ———————————————————————————————————————————————————————————————————————————————— *
* _____ ______ ______ __ __ __ __ ______ __ __ *
* /\ __-. /\__ _\ /\ == \ /\ \ /\ "-.\ \ /\ \ /\__ _\ /\ \_\ \ *
* \ \ \/\ \ \/_/\ \/ \ \ __< \ \ \ \ \ \-. \ \ \ \ \/_/\ \/ \ \____ \ *
* \ \____- \ \_\ \ \_\ \_\ \ \_\ \ \_\\"\_\ \ \_\ \ \_\ \/\_____\ *
* \/____/ \/_/ \/_/ /_/ \/_/ \/_/ \/_/ \/_/ \/_/ \/_____/ *
* *
* ————————————————————————————————— dtrinity.org ————————————————————————————————— *
* *
* ▲ *
* ▲ ▲ *
* *
* ———————————————————————————————————————————————————————————————————————————————— *
* dTRINITY Protocol: https://github.com/dtrinity *
* ———————————————————————————————————————————————————————————————————————————————— */
pragma solidity ^0.8.20;
import {ITransferStrategyBase} from "../interfaces/ITransferStrategyBase.sol";
import {GPv2SafeERC20} from "contracts/dlend/core/dependencies/gnosis/contracts/GPv2SafeERC20.sol";
import {IERC20} from "contracts/dlend/core/dependencies/openzeppelin/contracts/IERC20.sol";
/**
* @title TransferStrategyStorage
* @author Aave
**/
abstract contract TransferStrategyBase is ITransferStrategyBase {
using GPv2SafeERC20 for IERC20;
address internal immutable INCENTIVES_CONTROLLER;
address internal immutable REWARDS_ADMIN;
constructor(address incentivesController, address rewardsAdmin) {
INCENTIVES_CONTROLLER = incentivesController;
REWARDS_ADMIN = rewardsAdmin;
}
/**
* @dev Modifier for incentives controller only functions
*/
modifier onlyIncentivesController() {
require(
INCENTIVES_CONTROLLER == msg.sender,
"CALLER_NOT_INCENTIVES_CONTROLLER"
);
_;
}
/**
* @dev Modifier for reward admin only functions
*/
modifier onlyRewardsAdmin() {
require(msg.sender == REWARDS_ADMIN, "ONLY_REWARDS_ADMIN");
_;
}
/// @inheritdoc ITransferStrategyBase
function getIncentivesController()
external
view
override
returns (address)
{
return INCENTIVES_CONTROLLER;
}
/// @inheritdoc ITransferStrategyBase
function getRewardsAdmin() external view override returns (address) {
return REWARDS_ADMIN;
}
/// @inheritdoc ITransferStrategyBase
function performTransfer(
address to,
address reward,
uint256 amount
) external virtual returns (bool);
/// @inheritdoc ITransferStrategyBase
function emergencyWithdrawal(
address token,
address to,
uint256 amount
) external onlyRewardsAdmin {
IERC20(token).safeTransfer(to, amount);
emit EmergencyWithdrawal(msg.sender, token, to, amount);
}
}{
"evmVersion": "paris",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs",
"useLiteralContent": true
},
"optimizer": {
"enabled": true,
"runs": 200
},
"remappings": [],
"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":"incentivesController","type":"address"},{"internalType":"address","name":"rewardsAdmin","type":"address"},{"internalType":"address","name":"rewardsVault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdrawal","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getIncentivesController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"reward","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"performTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x60e060405234801561001057600080fd5b5060405161060f38038061060f83398101604081905261002f91610068565b6001600160a01b0392831660805290821660a0521660c0526100ab565b80516001600160a01b038116811461006357600080fd5b919050565b60008060006060848603121561007d57600080fd5b6100868461004c565b92506100946020850161004c565b91506100a26040850161004c565b90509250925092565b60805160a05160c0516105236100ec6000396000818160fb01526101ad01526000818160d501526101e80152600081816086015261012301526105236000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806316beb9821461005c57806375d26413146100845780638d8e5da7146100be578063c6255443146100d3578063e23ddec5146100f9575b600080fd5b61006f61006a3660046104b1565b61011f565b60405190151581526020015b60405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b03909116815260200161007b565b6100d16100cc3660046104b1565b6101dd565b005b7f00000000000000000000000000000000000000000000000000000000000000006100a6565b7f00000000000000000000000000000000000000000000000000000000000000006100a6565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331461019e5760405162461bcd60e51b815260206004820181905260248201527f43414c4c45525f4e4f545f494e43454e54495645535f434f4e54524f4c4c455260448201526064015b60405180910390fd5b6101d36001600160a01b0384167f000000000000000000000000000000000000000000000000000000000000000086856102ba565b5060019392505050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461024a5760405162461bcd60e51b815260206004820152601260248201527127a7262cafa922aba0a92229afa0a226a4a760711b6044820152606401610195565b61025e6001600160a01b038416838361035c565b816001600160a01b0316836001600160a01b0316336001600160a01b03167f7dc4ea712e6400e67a5abca1a983e5c420c386c19936dc120cd860b50b8e2579846040516102ad91815260200190565b60405180910390a4505050565b6040516323b872dd60e01b8082526001600160a01b038581166004840152841660248301526044820183905290600080606483828a5af16102ff573d6000803e3d6000fd5b50610309856103ed565b6103555760405162461bcd60e51b815260206004820152601960248201527f475076323a206661696c6564207472616e7366657246726f6d000000000000006044820152606401610195565b5050505050565b60405163a9059cbb60e01b8082526001600160a01b0384166004830152602482018390529060008060448382895af1610399573d6000803e3d6000fd5b506103a3846103ed565b6103e75760405162461bcd60e51b815260206004820152601560248201527423a83b191d103330b4b632b2103a3930b739b332b960591b6044820152606401610195565b50505050565b6000610412565b62461bcd60e51b600052602060045280602452508060445260646000fd5b3d801561045157602081146104825761044c7f475076323a206d616c666f726d6564207472616e7366657220726573756c7400601f6103f4565b61048f565b823b610479576104797311d41d8c8e881b9bdd08184818dbdb9d1c9858dd60621b60146103f4565b6001915061048f565b3d6000803e600051151591505b50919050565b80356001600160a01b03811681146104ac57600080fd5b919050565b6000806000606084860312156104c657600080fd5b6104cf84610495565b92506104dd60208501610495565b915060408401359050925092509256fea2646970667358221220dcbecae397b45cb4e7063348a1dfbde65989a9c792b7c0224f5309728590221164736f6c63430008140033000000000000000000000000cbcab2e82f1377d2cc5c2682d135c38e17febe65000000000000000000000000e83c188a7be46b90715c757a06cf917175f302620000000000000000000000004b4b5cc616be4cd1947b93f2304d36b3e80d3ef6
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100575760003560e01c806316beb9821461005c57806375d26413146100845780638d8e5da7146100be578063c6255443146100d3578063e23ddec5146100f9575b600080fd5b61006f61006a3660046104b1565b61011f565b60405190151581526020015b60405180910390f35b7f000000000000000000000000cbcab2e82f1377d2cc5c2682d135c38e17febe655b6040516001600160a01b03909116815260200161007b565b6100d16100cc3660046104b1565b6101dd565b005b7f000000000000000000000000e83c188a7be46b90715c757a06cf917175f302626100a6565b7f0000000000000000000000004b4b5cc616be4cd1947b93f2304d36b3e80d3ef66100a6565b60007f000000000000000000000000cbcab2e82f1377d2cc5c2682d135c38e17febe656001600160a01b0316331461019e5760405162461bcd60e51b815260206004820181905260248201527f43414c4c45525f4e4f545f494e43454e54495645535f434f4e54524f4c4c455260448201526064015b60405180910390fd5b6101d36001600160a01b0384167f0000000000000000000000004b4b5cc616be4cd1947b93f2304d36b3e80d3ef686856102ba565b5060019392505050565b336001600160a01b037f000000000000000000000000e83c188a7be46b90715c757a06cf917175f30262161461024a5760405162461bcd60e51b815260206004820152601260248201527127a7262cafa922aba0a92229afa0a226a4a760711b6044820152606401610195565b61025e6001600160a01b038416838361035c565b816001600160a01b0316836001600160a01b0316336001600160a01b03167f7dc4ea712e6400e67a5abca1a983e5c420c386c19936dc120cd860b50b8e2579846040516102ad91815260200190565b60405180910390a4505050565b6040516323b872dd60e01b8082526001600160a01b038581166004840152841660248301526044820183905290600080606483828a5af16102ff573d6000803e3d6000fd5b50610309856103ed565b6103555760405162461bcd60e51b815260206004820152601960248201527f475076323a206661696c6564207472616e7366657246726f6d000000000000006044820152606401610195565b5050505050565b60405163a9059cbb60e01b8082526001600160a01b0384166004830152602482018390529060008060448382895af1610399573d6000803e3d6000fd5b506103a3846103ed565b6103e75760405162461bcd60e51b815260206004820152601560248201527423a83b191d103330b4b632b2103a3930b739b332b960591b6044820152606401610195565b50505050565b6000610412565b62461bcd60e51b600052602060045280602452508060445260646000fd5b3d801561045157602081146104825761044c7f475076323a206d616c666f726d6564207472616e7366657220726573756c7400601f6103f4565b61048f565b823b610479576104797311d41d8c8e881b9bdd08184818dbdb9d1c9858dd60621b60146103f4565b6001915061048f565b3d6000803e600051151591505b50919050565b80356001600160a01b03811681146104ac57600080fd5b919050565b6000806000606084860312156104c657600080fd5b6104cf84610495565b92506104dd60208501610495565b915060408401359050925092509256fea2646970667358221220dcbecae397b45cb4e7063348a1dfbde65989a9c792b7c0224f5309728590221164736f6c63430008140033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in S
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.