Spend less on fees, more on crypto. Buy crypto easily with MoonPay Balance. 20M+ users trust MoonPay worldwide.
Ready to onboard to Ethereum? With MetaMask Portfolio, you're in control.
Don’t invest unless you’re prepared to lose all the money you invest.
Ready to simplify your web3 experience? Try the all-in-one web3 app trusted by millions worldwide.
Available on 9 networks: Ethereum mainnet, Linea, Polygon, Optimism, BNB Chain, zkSync Era, Base, Avalanche.
Everyday giveaways up to 100 ETH, Lucky Spins. Deposit BONUS 300% and Cashbacks!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Slots, Roulette, Poker & more - Proud sponsors of UFC, Everton & StakeF1 team!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Anonymous play on awesome games - sign up now for 25 free jackpot spins - worth $100s!
100s of games, generous bonuses, 20+ years of trusted gaming. Join CryptoWins & start winning today!
Overview
ETH Balance
Eth Value
$3.40 (@ $3,404.75/ETH)Token Holdings
Could not find any matches!
- ERC-20 Tokens (47)0 1INCH1INCH Token (1INCH)$0.00@0.403924.2736818 BALBalancer (BAL)$64.33@2.650 LINKChainLink To... (LINK)$0.00@24.2210.02472095 DPIDefiPulse In... (DPI)$1,558.94@155.510 GRTGraph Token (GRT)$0.00@0.22111 ISLAInsula (ISLA)$0.02@0.01860 KNCKyberNetwork (KNC)$0.00@0.56381,991.24941761 LRCLoopringCoin... (LRC)$424.23@0.21314.48298169 MLNMelon Token (MLN)$300.41@20.7421218.14346898 MTAMeta (MTA)$6.59@0.03020 NUNuCypher (NU)$0.00@0.0941291.35199201 OMGOMG Network (OMG)$102.70@0.35250.00000001 renBTCrenBTC (renBTC)$0.00@89,042.002,310.85576927 RENRepublic (REN)$68.09@0.0295164.29270009 SUSHISushiToken (SUSHI)$249.72@1.52137.90154845 SNXSynthetix Ne... (SNX)$289.59@2.100.00300952 TBTCtBTC (TBTC)$278.97@92,695.48845.76433941 UMAUMA Voting T... (UMA)$15.91@2.760 UNIUniswap (UNI)$0.00@14.200.04964622 YFIyearn.financ... (YFI)$446.30@8,989.542,438.62698335 ZRXZRX (ZRX)$1,162.29@0.47668.72492047 AAVEAave Token (AAVE)$3,321.49@380.69303.24398915 BNTBancor (BNT)$216.16@0.71280 BATBAT (BAT)$0.00@0.23256.06404957 COMPCompound (COMP)$512.59@84.530 CRVCurve DAO To... (CRV)$0.00@0.9311165.67523818 DAIDai Stableco... (DAI)$165.84@1.0010.74765283 MKRMaker (MKR)$1,215.14@1,625.270 MATICMatic Token (MATIC)$0.00@0.50070 USDPPax Dollar (USDP)$0.00@0.99982.373949 USDTTether USD (USDT)$2.37@0.99870 TUSDTrueUSD (TUSD)$0.00@1.001615.569767 USDCUSDC (USDC)$615.57@1.000.00000001 WBTCWrapped BTC (WBTC)$0.00@94,168.000 WETHWrapped Ethe... (WETH)$0.00@3,404.754730,000 $ Evmosia.comERC-20: $ E... ($ Evm...)0.06121 CGIERC-20: Coin... (CGI)0.00823526 DGLDDigital Gold16.11425737 REPReputation$8.09@0.50210.08504422 wDGLDwrapped-DGLD30 TokenERC-20 TOKEN*[Suspicious]1.4 TokenERC-20 TOKEN*[Suspicious]1.5 TokenERC-20 TOKEN*[Suspicious]0.7 TokenERC-20 TOKEN*[Suspicious]1,500 TokenERC-20 TOKEN*[Suspicious]777 TokenERC-20 TOKEN*[Suspicious]500 TokenERC-20 TOKEN*[Spam]NFT Tokens (26)aave-token.netAave Mysterybox NFTERC-1155claim rewards on aprgraph.comaprgraph.comERC-1155claim rewards on apyclink.comapyclink.comERC-1155claim rewards on apyusd.comapyusd.comERC-1155claim rewards on linkrewards.orglinkrewards.orgERC-1155claim rewards on snxtoken.comsnxtoken.comERC-1155claim rewards on staave.netstaave.netERC-1155claim rewards on wrappedbtc.netwrappedbtc.netERC-1155ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]
- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Analytics
- Multichain Portfolio
- Cards New
Advanced Filter- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Latest 25 from a total of 54 transactions
Transaction Hash MethodBlockFromToWithdraw 18029447 2023-08-30 19:18:35 481 days ago 1693423115 IN 0 ETH$0.00 0.02308749 25.79913991 Withdraw 17386629 2023-06-01 14:43:35 571 days ago 1685630615 IN 0 ETH$0.00 0.00346133 33.14093973 Withdraw 15723626 2022-10-11 8:18:47 804 days ago 1665476327 IN 0 ETH$0.00 0.0351848 23.13567578 Withdraw 15688570 2022-10-06 10:49:23 809 days ago 1665053363 IN 0 ETH$0.00 0.00030901 5.87360657 Withdraw 15688567 2022-10-06 10:48:47 809 days ago 1665053327 IN 0 ETH$0.00 0.00027604 5.87360657 Withdraw 15688566 2022-10-06 10:48:35 809 days ago 1665053315 IN 0 ETH$0.00 0.00029575 5.87360657 Withdraw 15688564 2022-10-06 10:48:11 809 days ago 1665053291 IN 0 ETH$0.00 0.00034846 5.87360657 Withdraw 15688563 2022-10-06 10:47:47 809 days ago 1665053267 IN 0 ETH$0.00 0.00027954 5.87360657 Withdraw 15688561 2022-10-06 10:47:23 809 days ago 1665053243 IN 0 ETH$0.00 0.0003314 5.87360657 Withdraw 15565565 2022-09-19 5:45:11 826 days ago 1663566311 IN 0 ETH$0.00 0.0002337 4.14199135 Transfer 15563957 2022-09-19 0:20:35 827 days ago 1663546835 IN 0.001 ETH$3.40 0.00024303 11.55127741 Change Admin 15563727 2022-09-18 23:33:59 827 days ago 1663544039 IN 0 ETH$0.00 0.00012636 5.85744698 Approve 15563727 2022-09-18 23:33:59 827 days ago 1663544039 IN 0 ETH$0.00 0.00008921 4.09058559 Withdraw 15560234 2022-09-18 11:47:59 827 days ago 1663501679 IN 0 ETH$0.00 0.00019084 4.26261434 Mint 15522741 2022-09-12 19:55:45 833 days ago 1663012545 IN 0 ETH$0.00 0.00042143 19.87439879 Withdraw 15508122 2022-09-10 9:46:06 835 days ago 1662803166 IN 0 ETH$0.00 0.00836345 7.05865343 Withdraw 15508046 2022-09-10 9:26:14 835 days ago 1662801974 IN 0 ETH$0.00 0.00040764 6.59108987 Withdraw 15479348 2022-09-05 18:17:46 840 days ago 1662401866 IN 0 ETH$0.00 0.0004867 10.87107783 Withdraw 15479339 2022-09-05 18:16:07 840 days ago 1662401767 IN 0 ETH$0.00 0.00052076 10.24534148 Withdraw 14617412 2022-04-19 19:20:07 979 days ago 1650396007 IN 0 ETH$0.00 0.00332623 74.33266888 Withdraw 14520196 2022-04-04 15:02:22 994 days ago 1649084542 IN 0 ETH$0.00 0.01248017 73.45341788 Withdraw 14420850 2022-03-20 3:30:35 1009 days ago 1647747035 IN 0 ETH$0.00 0.00134626 30.07 Withdraw 14420850 2022-03-20 3:30:35 1009 days ago 1647747035 IN 0 ETH$0.00 0.00097571 30.07 Withdraw 14420631 2022-03-20 2:34:42 1009 days ago 1647743682 IN 0 ETH$0.00 0.00097571 30.07 Withdraw 14420629 2022-03-20 2:33:47 1009 days ago 1647743627 IN 0 ETH$0.00 0.00134626 30.07 Latest 25 internal transactions (View All)
Advanced mode:Parent Transaction Hash Block FromTo15508046 2022-09-10 9:26:14 835 days ago 1662801974 120.51989838 ETH$410,340.69 14617412 2022-04-19 19:20:07 979 days ago 1650396007 0.07666448 ETH$261.02 13929546 2022-01-03 1:20:29 1086 days ago 1641172829 0.00671446 ETH$22.86 13891870 2021-12-28 5:35:03 1091 days ago 1640669703 0.00650122 ETH$22.14 13867022 2021-12-24 9:13:37 1095 days ago 1640337217 0.02193361 ETH$74.68 13847052 2021-12-21 6:54:38 1098 days ago 1640069678 0.00175 ETH$5.96 13839626 2021-12-20 3:27:59 1099 days ago 1639970879 0.00875 ETH$29.79 13834823 2021-12-19 9:46:58 1100 days ago 1639907218 0.00626904 ETH$21.34 13834773 2021-12-19 9:36:54 1100 days ago 1639906614 0.0062747 ETH$21.36 13834760 2021-12-19 9:34:53 1100 days ago 1639906493 0.00627546 ETH$21.37 13833642 2021-12-19 5:24:12 1100 days ago 1639891452 0.0000875 ETH$0.30 13829205 2021-12-18 12:47:35 1101 days ago 1639831655 0.0256375 ETH$87.29 13798895 2021-12-13 19:53:37 1106 days ago 1639425217 85.56449159 ETH$291,326.10 13789306 2021-12-12 8:45:49 1107 days ago 1639298749 0.0004375 ETH$1.49 13788624 2021-12-12 6:10:28 1107 days ago 1639289428 0.00000875 ETH$0.03 13781972 2021-12-11 5:20:52 1108 days ago 1639200052 0.000875 ETH$2.98 13780565 2021-12-11 0:15:07 1109 days ago 1639181707 0.0013125 ETH$4.47 13771834 2021-12-09 15:34:20 1110 days ago 1639064060 0.035 ETH$119.17 13768858 2021-12-09 4:03:09 1110 days ago 1639022589 0.00875 ETH$29.79 13748615 2021-12-05 22:23:50 1114 days ago 1638743030 0.00002625 ETH$0.09 13746335 2021-12-05 13:30:18 1114 days ago 1638711018 0.00875 ETH$29.79 13743522 2021-12-05 2:57:44 1114 days ago 1638673064 0.000875 ETH$2.98 13731430 2021-12-03 4:11:26 1116 days ago 1638504686 0.0175 ETH$59.58 13717013 2021-11-30 20:52:09 1119 days ago 1638305529 0.0000875 ETH$0.30 13716896 2021-11-30 20:23:41 1119 days ago 1638303821 0.019075 ETH$64.95 Loading...LoadingContract Name:FeeDistributor
Compiler Versionv0.6.12+commit.27d51765
Contract Source Code (Solidity)
- library SafeMath
- - function add(uint256 a, uint256 b)
- - function sub(uint256 a, uint256 b)
- - function sub(uint256 a, uint256 b, st ...
- - function mul(uint256 a, uint256 b)
- - function div(uint256 a, uint256 b)
- - function div(uint256 a, uint256 b, st ...
- - function mod(uint256 a, uint256 b)
- - function mod(uint256 a, uint256 b, st ...
- interface IERC20
- - function totalSupply()
- - function balanceOf(address account)
- - function transfer(address recipient, ...
- - function allowance(address owner, add ...
- - function approve(address spender, uin ...
- - function transferFrom(address sender, ...
- library Address
- - function isContract(address account)
- - function sendValue(address payable re ...
- - function functionCall(address target, ...
- - function functionCall(address target, ...
- - function functionCallWithValue(addres ...
- - function functionCallWithValue(addres ...
- - function functionStaticCall(address t ...
- - function functionStaticCall(address t ...
- - function _verifyCallResult(bool succe ...
- library SafeERC20
- - function safeTransfer(IERC20 token, a ...
- - function safeTransferFrom(IERC20 toke ...
- - function safeApprove(IERC20 token, ad ...
- - function safeIncreaseAllowance(IERC20 ...
- - function safeDecreaseAllowance(IERC20 ...
- - function _callOptionalReturn(IERC20 t ...
- library Constants
- contract FeeDistributor *
- - function withdraw(IERC20[] calldata t ...
- - function tokenBalance(IERC20 token)
- - function earned(IERC20 token, address ...
- - function available(IERC20 token, addr ...
- - function _transfer(IERC20 token, uint ...
/** *Submitted for verification at Etherscan.io on 2021-01-06 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @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 SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/Constants.sol pragma solidity ^0.6.0; library Constants { address internal constant ETH = 0x0000000000000000000000000000000000000000; } // File: contracts/FeeDistributor.sol pragma solidity ^0.6.0; contract FeeDistributor { using SafeMath for uint256; using SafeERC20 for IERC20; using Address for address; using Address for address payable; event Withdrawal(IERC20[] tokens, address indexed recipient); uint256 public immutable totalShares; // recipient => number of shares mapping(address => uint256) public shares; // Total amount of tokens that have been withdrawn mapping(IERC20 => uint256) internal _totalWithdrawn; // Total amount of tokens that have been withdrawn by a recipient mapping(IERC20 => mapping(address => uint256)) internal _withdrawn; constructor(address[] memory recipients, uint256[] memory _shares) public { require(recipients.length != 0, "EMPTY_RECIPIENTS"); require(recipients.length == _shares.length, "RECIPIENT_SHARE_LEN"); uint256 _totalShares; for (uint256 i = 0; i < recipients.length; i++) { require(_shares[i] != 0, "INVALID_SHARES"); address recipient = recipients[i]; require(recipient != address(0), "INVALID_RECIPIENT"); require(shares[recipient] == 0, "DUPLICATE_RECIPIENT"); uint256 newRecipientShares = _shares[i]; _totalShares = _totalShares.add(newRecipientShares); shares[recipient] = newRecipientShares; } totalShares = _totalShares; } /// @dev Receives ether fallback() external payable {} /** * @dev Withdraws the specified tokens or ETH * @param tokens Array of tokens to withdraw * @param tokens Array of amounts to withdraw for each token */ function withdraw(IERC20[] calldata tokens) external { for (uint256 i = 0; i < tokens.length; i++) { IERC20 token = tokens[i]; uint256 amount = available(token, msg.sender); _withdrawn[token][msg.sender] += amount; _totalWithdrawn[token] += amount; _transfer(token, amount); } emit Withdrawal(tokens, msg.sender); } /** * @dev Returns the amount of ETH or ERC20 tokens held by this contract * @param token Token address (address(0) for ETH) */ function tokenBalance(IERC20 token) public view returns (uint256) { if (address(token) == Constants.ETH) { return address(this).balance; } else { return token.balanceOf(address(this)); } } /** * @dev Returns the total amount of ETH or ERC20 tokens that a recipient has earned * @param token Token address (address(0) for ETH) * @param recipient Address of the recipient */ function earned(IERC20 token, address recipient) public view returns (uint256) { uint256 totalReceived = tokenBalance(token).add(_totalWithdrawn[token]); return totalReceived.mul(shares[recipient]).div(totalShares); } /** * @dev Returns the amount of ETH or ERC20 tokens a recipient can withdraw * @param token Token address (address(0) for ETH) * @param recipient Address of the recipient */ function available(IERC20 token, address recipient) public view returns (uint256) { return earned(token, recipient).sub(_withdrawn[token][recipient]); } /** * @dev Internal function that transfers ETH or ERC20 tokens * @param token Token address (address(0) for ETH) * @param amount Amount of tokens or ETH to transfer */ function _transfer(IERC20 token, uint256 amount) internal { if (address(token) == Constants.ETH) { msg.sender.sendValue(amount); } else { token.safeTransfer(msg.sender, amount); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IERC20[]","name":"tokens","type":"address[]"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"Withdrawal","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"tokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20[]","name":"tokens","type":"address[]"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040516200121d3803806200121d833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82518660208202830111640100000000821117156200008c57600080fd5b82525081516020918201928201910280838360005b83811015620000bb578181015183820152602001620000a1565b5050505090500160405260200180516040519392919084640100000000821115620000e557600080fd5b908301906020820185811115620000fb57600080fd5b82518660208202830111640100000000821117156200011957600080fd5b82525081516020918201928201910280838360005b83811015620001485781810151838201526020016200012e565b50505050905001604052505050815160001415620001a0576040805162461bcd60e51b815260206004820152601060248201526f454d5054595f524543495049454e545360801b604482015290519081900360640190fd5b8051825114620001f7576040805162461bcd60e51b815260206004820152601360248201527f524543495049454e545f53484152455f4c454e00000000000000000000000000604482015290519081900360640190fd5b6000805b83518110156200039b578281815181106200021257fe5b60200260200101516000141562000261576040805162461bcd60e51b815260206004820152600e60248201526d494e56414c49445f53484152455360901b604482015290519081900360640190fd5b60008482815181106200027057fe5b6020026020010151905060006001600160a01b0316816001600160a01b03161415620002d7576040805162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015290519081900360640190fd5b6001600160a01b0381166000908152602081905260409020541562000343576040805162461bcd60e51b815260206004820152601360248201527f4455504c49434154455f524543495049454e5400000000000000000000000000604482015290519081900360640190fd5b60008483815181106200035257fe5b60200260200101519050620003768185620003a860201b620005451790919060201c565b6001600160a01b039092166000908152602081905260409020559150600101620001fb565b50608052506200040a9050565b60008282018381101562000403576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b608051610df36200042a6000398061028552806102c25250610df36000f3fe6080604052600436106100655760003560e01c8063bd5dec9811610043578063bd5dec981461011e578063ce7c2ac21461019b578063eedc966a146101db57610065565b8063211dc32d146100675780633a98ef39146100c1578063bbe430de146100d6575b005b34801561007357600080fd5b506100af6004803603604081101561008a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661021b565b60408051918252519081900360200190f35b3480156100cd57600080fd5b506100af6102c0565b3480156100e257600080fd5b506100af600480360360408110156100f957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166102e4565b34801561012a57600080fd5b506100656004803603602081101561014157600080fd5b81019060208101813564010000000081111561015c57600080fd5b82018360208201111561016e57600080fd5b8035906020019184602083028401116401000000008311171561019057600080fd5b509092509050610334565b3480156101a757600080fd5b506100af600480360360208110156101be57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661046f565b3480156101e757600080fd5b506100af600480360360208110156101fe57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610481565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205481906102569061025086610481565b90610545565b73ffffffffffffffffffffffffffffffffffffffff84166000908152602081905260409020549091506102b6907f0000000000000000000000000000000000000000000000000000000000000000906102b09084906105b9565b9061062c565b9150505b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b73ffffffffffffffffffffffffffffffffffffffff808316600090815260026020908152604080832093851683529290529081205461032d90610327858561021b565b9061066e565b9392505050565b60005b818110156103d257600083838381811061034d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600061037882336102e4565b73ffffffffffffffffffffffffffffffffffffffff831660008181526002602090815260408083203384528252808320805486019055928252600190522080548201905590506103c882826106b0565b5050600101610337565b503373ffffffffffffffffffffffffffffffffffffffff167faccd1e9602ed0fde9ec661925cfd2b998a57862a6f7519760106b303d21ef25d838360405180806020018281038252848482818152602001925060200280828437600083820152604051601f9091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169092018290039550909350505050a25050565b60006020819052908152604090205481565b600073ffffffffffffffffffffffffffffffffffffffff82166104a5575047610540565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b15801561051157600080fd5b505afa158015610525573d6000803e3d6000fd5b505050506040513d602081101561053b57600080fd5b505190505b919050565b60008282018381101561032d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826105c8575060006102ba565b828202828482816105d557fe5b041461032d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610d736021913960400191505060405180910390fd5b600061032d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506106ff565b600061032d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506107bb565b73ffffffffffffffffffffffffffffffffffffffff82166106da576106d5338261082f565b6106fb565b6106fb73ffffffffffffffffffffffffffffffffffffffff8316338361095a565b5050565b600081836107a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561076a578181015183820152602001610752565b50505050905090810190601f1680156107975780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816107b157fe5b0495945050505050565b60008184841115610827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815283516024840152835190928392604490910191908501908083836000831561076a578181015183820152602001610752565b505050900390565b8047101561089e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b60405160009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d80600081146108f6576040519150601f19603f3d011682016040523d82523d6000602084013e6108fb565b606091505b5050905080610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180610d13603a913960400191505060405180910390fd5b505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526109559084906060610a44826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610aba9092919063ffffffff16565b80519091501561095557808060200190516020811015610a6357600080fd5b5051610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180610d94602a913960400191505060405180910390fd5b6060610ac98484600085610ad1565b949350505050565b606082471015610b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610d4d6026913960400191505060405180910390fd5b610b3585610c8c565b610ba057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310610c0a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610bcd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610c6c576040519150601f19603f3d011682016040523d82523d6000602084013e610c71565b606091505b5091509150610c81828286610c92565b979650505050505050565b3b151590565b60608315610ca157508161032d565b825115610cb15782518084602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815284516024840152845185939192839260440191908501908083836000831561076a57818101518382015260200161075256fe416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122049202c187ccd4dd4416cb6cf436738655c43cfdfe0718c51389c3a0c079e20c764736f6c634300060c0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000213400000000000000000000000000000000000000000000000000000000000005dcDeployed Bytecode
0x6080604052600436106100655760003560e01c8063bd5dec9811610043578063bd5dec981461011e578063ce7c2ac21461019b578063eedc966a146101db57610065565b8063211dc32d146100675780633a98ef39146100c1578063bbe430de146100d6575b005b34801561007357600080fd5b506100af6004803603604081101561008a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661021b565b60408051918252519081900360200190f35b3480156100cd57600080fd5b506100af6102c0565b3480156100e257600080fd5b506100af600480360360408110156100f957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166102e4565b34801561012a57600080fd5b506100656004803603602081101561014157600080fd5b81019060208101813564010000000081111561015c57600080fd5b82018360208201111561016e57600080fd5b8035906020019184602083028401116401000000008311171561019057600080fd5b509092509050610334565b3480156101a757600080fd5b506100af600480360360208110156101be57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661046f565b3480156101e757600080fd5b506100af600480360360208110156101fe57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610481565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604081205481906102569061025086610481565b90610545565b73ffffffffffffffffffffffffffffffffffffffff84166000908152602081905260409020549091506102b6907f0000000000000000000000000000000000000000000000000000000000002710906102b09084906105b9565b9061062c565b9150505b92915050565b7f000000000000000000000000000000000000000000000000000000000000271081565b73ffffffffffffffffffffffffffffffffffffffff808316600090815260026020908152604080832093851683529290529081205461032d90610327858561021b565b9061066e565b9392505050565b60005b818110156103d257600083838381811061034d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050600061037882336102e4565b73ffffffffffffffffffffffffffffffffffffffff831660008181526002602090815260408083203384528252808320805486019055928252600190522080548201905590506103c882826106b0565b5050600101610337565b503373ffffffffffffffffffffffffffffffffffffffff167faccd1e9602ed0fde9ec661925cfd2b998a57862a6f7519760106b303d21ef25d838360405180806020018281038252848482818152602001925060200280828437600083820152604051601f9091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169092018290039550909350505050a25050565b60006020819052908152604090205481565b600073ffffffffffffffffffffffffffffffffffffffff82166104a5575047610540565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b15801561051157600080fd5b505afa158015610525573d6000803e3d6000fd5b505050506040513d602081101561053b57600080fd5b505190505b919050565b60008282018381101561032d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000826105c8575060006102ba565b828202828482816105d557fe5b041461032d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610d736021913960400191505060405180910390fd5b600061032d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506106ff565b600061032d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506107bb565b73ffffffffffffffffffffffffffffffffffffffff82166106da576106d5338261082f565b6106fb565b6106fb73ffffffffffffffffffffffffffffffffffffffff8316338361095a565b5050565b600081836107a5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561076a578181015183820152602001610752565b50505050905090810190601f1680156107975780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816107b157fe5b0495945050505050565b60008184841115610827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815283516024840152835190928392604490910191908501908083836000831561076a578181015183820152602001610752565b505050900390565b8047101561089e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b60405160009073ffffffffffffffffffffffffffffffffffffffff84169083908381818185875af1925050503d80600081146108f6576040519150601f19603f3d011682016040523d82523d6000602084013e6108fb565b606091505b5050905080610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180610d13603a913960400191505060405180910390fd5b505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526109559084906060610a44826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610aba9092919063ffffffff16565b80519091501561095557808060200190516020811015610a6357600080fd5b5051610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180610d94602a913960400191505060405180910390fd5b6060610ac98484600085610ad1565b949350505050565b606082471015610b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610d4d6026913960400191505060405180910390fd5b610b3585610c8c565b610ba057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310610c0a57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610bcd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610c6c576040519150601f19603f3d011682016040523d82523d6000602084013e610c71565b606091505b5091509150610c81828286610c92565b979650505050505050565b3b151590565b60608315610ca157508161032d565b825115610cb15782518084602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815284516024840152845185939192839260440191908501908083836000831561076a57818101518382015260200161075256fe416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122049202c187ccd4dd4416cb6cf436738655c43cfdfe0718c51389c3a0c079e20c764736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf90000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000213400000000000000000000000000000000000000000000000000000000000005dc
-----Decoded View---------------
Arg [0] : recipients (address[]): 0x11eDedebF63bef0ea2d2D071bdF88F71543ec6fB,0x56178a0d5F301bAf6CF3e1Cd53d9863437345Bf9
Arg [1] : _shares (uint256[]): 8500,1500
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 00000000000000000000000011ededebf63bef0ea2d2d071bdf88f71543ec6fb
Arg [4] : 00000000000000000000000056178a0d5f301baf6cf3e1cd53d9863437345bf9
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 0000000000000000000000000000000000000000000000000000000000002134
Arg [7] : 00000000000000000000000000000000000000000000000000000000000005dcDeployed Bytecode Sourcemap
19239:3840:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21949:272;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21949:272:0;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;19479:36;;;;;;;;;;;;;:::i;22433:198::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22433:198:0;;;;;;;;;;;:::i;20911:412::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20911:412:0;;-1:-1:-1;20911:412:0;-1:-1:-1;20911:412:0;:::i;19562:41::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19562:41:0;;;;:::i;21482:246::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21482:246:0;;;;:::i;21949:272::-;22119:22;;;22046:7;22119:22;;;:15;:22;;;;;;22046:7;;22095:47;;:19;22135:5;22095:12;:19::i;:::-;:23;;:47::i;:::-;22178:17;;;:6;:17;;;;;;;;;;;22071:71;;-1:-1:-1;22160:53:0;;22201:11;;22160:36;;22071:71;;22160:17;:36::i;:::-;:40;;:53::i;:::-;22153:60;;;21949:272;;;;;:::o;19479:36::-;;;:::o;22433:198::-;22594:17;;;;22533:7;22594:17;;;:10;:17;;;;;;;;:28;;;;;;;;;;;;22565:58;;:24;22605:5;22612:9;22565:6;:24::i;:::-;:28;;:58::i;:::-;22558:65;22433:198;-1:-1:-1;;;22433:198:0:o;20911:412::-;20980:9;20975:295;20995:17;;;20975:295;;;21034:12;21049:6;;21056:1;21049:9;;;;;;;;;;;;;;;21034:24;;21073:14;21090:28;21100:5;21107:10;21090:9;:28::i;:::-;21133:17;;;;;;;:10;:17;;;;;;;;21151:10;21133:29;;;;;;;:39;;;;;;21187:22;;;-1:-1:-1;21187:22:0;;;:32;;;;;;21073:45;-1:-1:-1;21234:24:0;21144:5;21073:45;21234:9;:24::i;:::-;-1:-1:-1;;21014:3:0;;20975:295;;;;21304:10;21285:30;;;21296:6;;21285:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21285:30:0;;-1:-1:-1;;;;21285:30:0;20911:412;;:::o;19562:41::-;;;;;;;;;;;;;;:::o;21482:246::-;21539:7;21563:31;;;21559:162;;-1:-1:-1;21618:21:0;21611:28;;21559:162;21679:30;;;;;;21703:4;21679:30;;;;;;:15;;;;;;:30;;;;;;;;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21679:30:0;;-1:-1:-1;21559:162:0;21482:246;;;:::o;964:181::-;1022:7;1054:5;;;1078:6;;;;1070:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2318:471;2376:7;2621:6;2617:47;;-1:-1:-1;2651:1:0;2644:8;;2617:47;2688:5;;;2692:1;2688;:5;:1;2712:5;;;;;:10;2704:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3265:132;3323:7;3350:39;3354:1;3357;3350:39;;;;;;;;;;;;;;;;;:3;:39::i;1428:136::-;1486:7;1513:43;1517:1;1520;1513:43;;;;;;;;;;;;;;;;;:3;:43::i;22837:239::-;22910:31;;;22906:163;;22958:28;:10;22979:6;22958:20;:28::i;:::-;22906:163;;;23019:38;:18;;;23038:10;23050:6;23019:18;:38::i;:::-;22837:239;;:::o;3893:278::-;3979:7;4014:12;4007:5;3999:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4038:9;4054:1;4050;:5;;;;;;;3893:278;-1:-1:-1;;;;;3893:278:0:o;1867:192::-;1953:7;1989:12;1981:6;;;;1973:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2025:5:0;;;1867:192::o;10358:397::-;10473:6;10448:21;:31;;10440:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10623:35;;10605:12;;10623:14;;;;10646:6;;10605:12;10623:35;10605:12;10623:35;10646:6;10623:14;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10604:54;;;10677:7;10669:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10358:397;;;:::o;15918:177::-;16028:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16051:23;16028:58;;;16001:86;;16021:5;;18647:23;18673:69;18701:4;18673:69;;;;;;;;;;;;;;;;;18681:5;18673:27;;;;:69;;;;;:::i;:::-;18757:17;;18647:95;;-1:-1:-1;18757:21:0;18753:224;;18899:10;18888:30;;;;;;;;;;;;;;;-1:-1:-1;18888:30:0;18880:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11919:195;12022:12;12054:52;12076:6;12084:4;12090:1;12093:12;12054:21;:52::i;:::-;12047:59;11919:195;-1:-1:-1;;;;11919:195:0:o;12971:530::-;13098:12;13156:5;13131:21;:30;;13123:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13223:18;13234:6;13223:10;:18::i;:::-;13215:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13349:12;13363:23;13390:6;:11;;13410:5;13418:4;13390:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13348:75;;;;13441:52;13459:7;13468:10;13480:12;13441:17;:52::i;:::-;13434:59;12971:530;-1:-1:-1;;;;;;;12971:530:0:o;9001:422::-;9368:20;9407:8;;;9001:422::o;14507:742::-;14622:12;14651:7;14647:595;;;-1:-1:-1;14682:10:0;14675:17;;14647:595;14796:17;;:21;14792:439;;15059:10;15053:17;15120:15;15107:10;15103:2;15099:19;15092:44;15007:148;15195:20;;;;;;;;;;;;;;;;;;;;15202:12;;15195:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://49202c187ccd4dd4416cb6cf436738655c43cfdfe0718c51389c3a0c079e20c7
Loading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingMultichain Portfolio | 30 Chains
Chain Token Portfolio % Price Amount Value ETH 30.12% $380.69 8.7249 $3,321.49 ETH 14.14% $155.51 10.0247 $1,558.94 ETH 11.02% $1,625.27 0.7477 $1,215.14 ETH 10.54% $0.476618 2,438.627 $1,162.29 ETH 5.58% $1 615.5698 $615.57 ETH 4.65% $84.53 6.064 $512.59 ETH 4.05% $8,989.54 0.0496 $446.3 ETH 3.85% $0.213049 1,991.2494 $424.23 ETH 2.72% $20.74 14.483 $300.41 ETH 2.63% $2.1 137.9015 $289.59 ETH 2.53% $92,695.49 0.00300952 $278.97 ETH 2.26% $1.52 164.2927 $249.72 ETH 1.96% $0.712831 303.244 $216.16 ETH 1.50% $1 165.6752 $165.84 ETH 0.93% $0.352497 291.352 $102.7 ETH 0.62% $0.029464 2,310.8558 $68.09 ETH 0.58% $2.65 24.2737 $64.33 ETH 0.14% $2.76 5.7643 $15.91 ETH 0.07% $0.50207 16.1143 $8.09 ETH 0.06% $0.030229 218.1435 $6.59 ETH Ether (ETH)0.03% $3,404.75 0.001 $3.4 ETH 0.02% $0.998732 2.3739 $2.37 OP <0.01% $3,404.66 0.00001 $0.034047 Loading...Loading[ Download: CSV Export ][ Download: CSV Export ]A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity), AbiReencodingHeadOverflowWithStaticArrayCleanup (medium-severity), DirtyBytesArrayToStorage (low-severity), DataLocationChangeInInternalOverride (very low-severity), NestedCalldataArrayAbiReencodingSizeValidation (very low-severity), SignedImmutables (very low-severity), ABIDecodeTwoDimensionalArrayMemory (very low-severity), KeccakCaching (medium-severity), EmptyByteArrayCopy (medium-severity), DynamicArrayCleanup (medium-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.SignIn
Address Cards
To use this feature, please login to your Etherscan account and return to this page.Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.