ETH Price: $3,395.17 (+1.49%)

Contract

0x31D782B9181922080CCC369c83ffaDAc5447f954
 

Overview

ETH Balance

0.096838195 ETH

Eth Value

$328.78 (@ $3,395.17/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Erc20187700542023-12-12 12:18:11382 days ago1702383491IN
0x31D782B9...c5447f954
0 ETH0.0033069541.29201448
Withdraw Eth187330112023-12-07 7:44:59387 days ago1701935099IN
0x31D782B9...c5447f954
0 ETH0.0025065336.04349773
Withdraw Erc20163007502022-12-30 23:05:23728 days ago1672441523IN
0x31D782B9...c5447f954
0 ETH0.0025789532.2018738
Withdraw Eth163007132022-12-30 22:57:59728 days ago1672441079IN
0x31D782B9...c5447f954
0 ETH0.0020449729.40631443
Set Team Member ...161887902022-12-15 8:06:11744 days ago1671091571IN
0x31D782B9...c5447f954
0 ETH0.0003675612.64775895
Set Team Member ...161887872022-12-15 8:05:35744 days ago1671091535IN
0x31D782B9...c5447f954
0 ETH0.0003712312.79365304
Set Team Member ...161887852022-12-15 8:05:11744 days ago1671091511IN
0x31D782B9...c5447f954
0 ETH0.0003794913.08796053
Set Team Member ...161887792022-12-15 8:03:59744 days ago1671091439IN
0x31D782B9...c5447f954
0 ETH0.0003495712.04777508
Withdraw Erc20154540292022-09-01 16:57:15849 days ago1662051435IN
0x31D782B9...c5447f954
0 ETH0.00197719.9120588
Withdraw Eth154540252022-09-01 16:55:55849 days ago1662051355IN
0x31D782B9...c5447f954
0 ETH0.0013425416.87846255
Withdraw Erc20153922872022-08-22 20:11:06858 days ago1661199066IN
0x31D782B9...c5447f954
0 ETH0.0028357824.36514323
Withdraw Eth153922782022-08-22 20:09:15858 days ago1661198955IN
0x31D782B9...c5447f954
0 ETH0.0024254630.49283541
Transfer152745262022-08-04 7:22:59877 days ago1659597779IN
0x31D782B9...c5447f954
0.0315 ETH0.000437120.76001276
Withdraw Erc20152151132022-07-26 1:08:38886 days ago1658797718IN
0x31D782B9...c5447f954
0 ETH0.0089638953.45608954
Withdraw Eth151886742022-07-21 22:28:51890 days ago1658442531IN
0x31D782B9...c5447f954
0 ETH0.0012816716.11318617
Withdraw Eth151308032022-07-12 23:23:24899 days ago1657668204IN
0x31D782B9...c5447f954
0 ETH0.001115314.02153012
Transfer151278902022-07-12 12:48:03900 days ago1657630083IN
0x31D782B9...c5447f954
0.24975 ETH0.0005318225.25892868
Transfer150173392022-06-24 8:12:21918 days ago1656058341IN
0x31D782B9...c5447f954
2.446275 ETH0.000450421.39181138
Withdraw Eth149802962022-06-17 17:03:25925 days ago1655485405IN
0x31D782B9...c5447f954
0 ETH0.01539663193.5661653
Transfer149651202022-06-15 2:26:35927 days ago1655259995IN
0x31D782B9...c5447f954
5.74425 ETH0.0010134848.13506126
Transfer149206752022-06-07 11:55:50935 days ago1654602950IN
0x31D782B9...c5447f954
0.036081 ETH0.0007236434.3691636
Transfer148992172022-06-03 20:36:35938 days ago1654288595IN
0x31D782B9...c5447f954
14.08141425 ETH0.0013765865.38064086
Withdraw Eth148874452022-06-01 22:41:06940 days ago1654123266IN
0x31D782B9...c5447f954
0 ETH0.0074043393.08708298
Transfer148457882022-05-26 3:48:56947 days ago1653536936IN
0x31D782B9...c5447f954
4.94415 ETH0.0007162734.0193667
Transfer148439792022-05-25 20:43:01947 days ago1653511381IN
0x31D782B9...c5447f954
0.042975 ETH0.0012459659.17662037
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
213333882024-12-05 2:43:2323 days ago1733366603
0x31D782B9...c5447f954
0.004425 ETH
208828412024-10-03 5:16:5986 days ago1727932619
0x31D782B9...c5447f954
0.001305 ETH
208677862024-10-01 2:54:1188 days ago1727751251
0x31D782B9...c5447f954
0.001305 ETH
203329332024-07-18 10:53:35163 days ago1721300015
0x31D782B9...c5447f954
0.0000851 ETH
202289012024-07-03 22:14:35177 days ago1720044875
0x31D782B9...c5447f954
0.00009199 ETH
201919712024-06-28 18:27:35182 days ago1719599255
0x31D782B9...c5447f954
0.00010899 ETH
198939912024-05-18 2:55:11224 days ago1716000911
0x31D782B9...c5447f954
0.0075 ETH
198869542024-05-17 3:16:11225 days ago1715915771
0x31D782B9...c5447f954
0.0002295 ETH
198801452024-05-16 4:26:35226 days ago1715833595
0x31D782B9...c5447f954
0.0075 ETH
198755322024-05-15 12:58:35227 days ago1715777915
0x31D782B9...c5447f954
0.005025 ETH
198706582024-05-14 20:39:11227 days ago1715719151
0x31D782B9...c5447f954
0.000345 ETH
198651452024-05-14 2:02:59228 days ago1715652179
0x31D782B9...c5447f954
0.000345 ETH
198322502024-05-09 11:40:59233 days ago1715254859
0x31D782B9...c5447f954
0.00375 ETH
198143562024-05-06 23:35:23235 days ago1715038523
0x31D782B9...c5447f954
0.00032899 ETH
196687162024-04-16 14:44:11256 days ago1713278651
0x31D782B9...c5447f954
0.00032949 ETH
195665192024-04-02 7:05:35270 days ago1712041535
0x31D782B9...c5447f954
0.00150649 ETH
193688552024-03-05 12:06:23298 days ago1709640383
0x31D782B9...c5447f954
0.0004465 ETH
192307912024-02-15 3:56:59317 days ago1707969419
0x31D782B9...c5447f954
0.00861742 ETH
192111732024-02-12 9:52:35320 days ago1707731555
0x31D782B9...c5447f954
0.01125 ETH
192107442024-02-12 8:26:23320 days ago1707726383
0x31D782B9...c5447f954
0.01125 ETH
190950072024-01-27 2:42:11336 days ago1706323331
0x31D782B9...c5447f954
0.00054 ETH
190949362024-01-27 2:27:59336 days ago1706322479
0x31D782B9...c5447f954
0.000895 ETH
190931402024-01-26 20:25:11336 days ago1706300711
0x31D782B9...c5447f954
0.00032494 ETH
190930282024-01-26 20:02:47336 days ago1706299367
0x31D782B9...c5447f954
0.00032495 ETH
190478092024-01-20 11:34:23343 days ago1705750463
0x31D782B9...c5447f954
0.00044 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AngryApeArmyTreasury

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : AngryApeArmyTreasury.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

error WithdrawalFailedTeamMemberA();
error WithdrawalFailedTeamMemberB();
error WithdrawalFailedTeamMemberC();
error WithdrawalFailedTeamMemberD();
error WithdrawalFailedTeamMemberE();
error ZeroBalance();
error ZeroAddress();

contract AngryApeArmyTreasury is Ownable {
    using SafeMath for uint256;

    address public teamMemberA;
    address public teamMemberB;
    address public teamMemberC;
    address public teamMemberD;
    address public teamMemberE;

    constructor() {
        teamMemberA = 0x6ab71C2025442B694C8585aCe2fc06D877469D30;
        teamMemberB = 0x901FC05c4a4bC027a8979089D716b6793052Cc16;
        teamMemberC = 0x45f14c6F6649D1D4Cb3dD501811Ab7263285eaa3;
        teamMemberD = 0x672A7EC8fC186f6C9aa32d98C896821182907b08;
        teamMemberE = 0x5FA988805E792B6cA0466B2dbb52693b2DEfF33F;
    }

    receive() external payable {}

    function calculateSplit(uint256 balance)
        public
        pure
        returns (
            uint256 teamMemberAAmount,
            uint256 teamMemberBAmount,
            uint256 teamMemberCAmount,
            uint256 teamMemberDAmount,
            uint256 teamMemberEAmount
        )
    {
        uint256 rest = balance;
        teamMemberAAmount = (balance * 7000) / 10000; //70% | 5.25% of OpenSea resell
        rest -= teamMemberAAmount;

        teamMemberBAmount = (balance * 2000) / 10000; //20% | 1.50% of OpenSea resell
        rest -= teamMemberBAmount;

        teamMemberCAmount = (balance * 330) / 10000; //3.3% | 0.2475% of OpenSea resells
        rest -= teamMemberCAmount;

        teamMemberDAmount = (balance * 330) / 10000; //3.3% | 0.2475% of OpenSea resells
        rest -= teamMemberDAmount;

        teamMemberEAmount = rest; //3.4% | 0.255% of OpenSea resells
    }

    function withdrawErc20(IERC20 token) external onlyOwner {
        uint256 totalBalance = token.balanceOf(address(this));
        if (totalBalance == 0) revert ZeroBalance();

        (
            uint256 teamMemberAAmount,
            uint256 teamMemberBAmount,
            uint256 teamMemberCAmount,
            uint256 teamMemberDAmount,
            uint256 teamMemberEAmount
        ) = calculateSplit(totalBalance);

        if (!token.transfer(teamMemberA, teamMemberAAmount))
            revert WithdrawalFailedTeamMemberA();

        if (!token.transfer(teamMemberB, teamMemberBAmount))
            revert WithdrawalFailedTeamMemberB();

        if (!token.transfer(teamMemberC, teamMemberCAmount))
            revert WithdrawalFailedTeamMemberC();

        if (!token.transfer(teamMemberD, teamMemberDAmount))
            revert WithdrawalFailedTeamMemberD();

        if (!token.transfer(teamMemberE, teamMemberEAmount))
            revert WithdrawalFailedTeamMemberE();
    }

    function withdrawEth() external onlyOwner {
        uint256 totalBalance = address(this).balance;
        if (totalBalance == 0) revert ZeroBalance();

        (
            uint256 teamMemberAAmount,
            uint256 teamMemberBAmount,
            uint256 teamMemberCAmount,
            uint256 teamMemberDAmount,
            uint256 teamMemberEAmount
        ) = calculateSplit(totalBalance);

        if (!payable(teamMemberA).send(teamMemberAAmount))
            revert WithdrawalFailedTeamMemberA();

        if (!payable(teamMemberB).send(teamMemberBAmount))
            revert WithdrawalFailedTeamMemberB();

        if (!payable(teamMemberC).send(teamMemberCAmount))
            revert WithdrawalFailedTeamMemberC();

        if (!payable(teamMemberD).send(teamMemberDAmount))
            revert WithdrawalFailedTeamMemberD();

        if (!payable(teamMemberE).send(teamMemberEAmount))
            revert WithdrawalFailedTeamMemberE();
    }

    function setTeamMemberA(address address_) external onlyOwner {
        if (address_ == address(0)) revert ZeroAddress();
        teamMemberA = address_;
    }

    function setTeamMemberB(address address_) external onlyOwner {
        if (address_ == address(0)) revert ZeroAddress();
        teamMemberB = address_;
    }

    function setTeamMemberC(address address_) external onlyOwner {
        if (address_ == address(0)) revert ZeroAddress();
        teamMemberC = address_;
    }

    function setTeamMemberD(address address_) external onlyOwner {
        if (address_ == address(0)) revert ZeroAddress();
        teamMemberD = address_;
    }

    function setTeamMemberE(address address_) external onlyOwner {
        if (address_ == address(0)) revert ZeroAddress();
        teamMemberE = address_;
    }
}

File 2 of 5 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

    /**
     * @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 a - b;
    }

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^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 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WithdrawalFailedTeamMemberA","type":"error"},{"inputs":[],"name":"WithdrawalFailedTeamMemberB","type":"error"},{"inputs":[],"name":"WithdrawalFailedTeamMemberC","type":"error"},{"inputs":[],"name":"WithdrawalFailedTeamMemberD","type":"error"},{"inputs":[],"name":"WithdrawalFailedTeamMemberE","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroBalance","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"calculateSplit","outputs":[{"internalType":"uint256","name":"teamMemberAAmount","type":"uint256"},{"internalType":"uint256","name":"teamMemberBAmount","type":"uint256"},{"internalType":"uint256","name":"teamMemberCAmount","type":"uint256"},{"internalType":"uint256","name":"teamMemberDAmount","type":"uint256"},{"internalType":"uint256","name":"teamMemberEAmount","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"setTeamMemberA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"setTeamMemberB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"setTeamMemberC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"setTeamMemberD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"setTeamMemberE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMemberA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMemberB","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMemberC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMemberD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamMemberE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5061001a336100c1565b600180546001600160a01b0319908116736ab71c2025442b694c8585ace2fc06d877469d301790915560028054821673901fc05c4a4bc027a8979089d716b6793052cc161790556003805482167345f14c6f6649d1d4cb3dd501811ab7263285eaa317905560048054821673672a7ec8fc186f6c9aa32d98c896821182907b0817905560058054909116735fa988805e792b6ca0466b2dbb52693b2deff33f179055610111565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610e90806101206000396000f3fe6080604052600436106100f75760003560e01c80638d6237811161008a578063c7e42b1b11610059578063c7e42b1b146102b2578063e75e9284146102d2578063ee16993c146102f2578063f2fde38b1461031257600080fd5b80638d623781146102175780638da5cb5b1461025f5780639346b00b1461027d578063a0ef91df1461029d57600080fd5b8063715018a6116100c6578063715018a6146101a25780637a351542146101b75780637dd8a188146101d757806382ce8c15146101f757600080fd5b8063057ff38c146101035780633d04e2ac14610125578063478e85a0146101625780635d6fdec31461018257600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e366004610d31565b610332565b005b34801561013157600080fd5b50600454610145906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561016e57600080fd5b50600154610145906001600160a01b031681565b34801561018e57600080fd5b5061012361019d366004610d31565b6103ae565b3480156101ae57600080fd5b50610123610421565b3480156101c357600080fd5b506101236101d2366004610d31565b610457565b3480156101e357600080fd5b50600254610145906001600160a01b031681565b34801561020357600080fd5b50600554610145906001600160a01b031681565b34801561022357600080fd5b50610237610232366004610d74565b6104ca565b604080519586526020860194909452928401919091526060830152608082015260a001610159565b34801561026b57600080fd5b506000546001600160a01b0316610145565b34801561028957600080fd5b50610123610298366004610d31565b61057a565b3480156102a957600080fd5b506101236105ed565b3480156102be57600080fd5b506101236102cd366004610d31565b6107b8565b3480156102de57600080fd5b506101236102ed366004610d31565b610bd3565b3480156102fe57600080fd5b50600354610145906001600160a01b031681565b34801561031e57600080fd5b5061012361032d366004610d31565b610c46565b6000546001600160a01b031633146103655760405162461bcd60e51b815260040161035c90610da4565b60405180910390fd5b6001600160a01b03811661038c5760405163d92e233d60e01b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103d85760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b0381166103ff5760405163d92e233d60e01b815260040160405180910390fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461044b5760405162461bcd60e51b815260040161035c90610da4565b6104556000610ce1565b565b6000546001600160a01b031633146104815760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b0381166104a85760405163d92e233d60e01b815260040160405180910390fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600080808080856127106104e082611b58610df9565b6104ea9190610dd9565b95506104f68682610e18565b9050612710610507886107d0610df9565b6105119190610dd9565b945061051d8582610e18565b905061271061052e8861014a610df9565b6105389190610dd9565b93506105448482610e18565b90506127106105558861014a610df9565b61055f9190610dd9565b925061056b8382610e18565b90508091505091939590929450565b6000546001600160a01b031633146105a45760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b0381166105cb5760405163d92e233d60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146106175760405162461bcd60e51b815260040161035c90610da4565b47806106365760405163334ab3f560e11b815260040160405180910390fd5b6000806000806000610647866104ca565b600154604051959a50939850919650945092506001600160a01b03169086156108fc029087906000818181858888f1935050505061069857604051632494b6d560e21b815260040160405180910390fd5b6002546040516001600160a01b039091169085156108fc029086906000818181858888f193505050506106de57604051638355dc7b60e01b815260040160405180910390fd5b6003546040516001600160a01b039091169084156108fc029085906000818181858888f193505050506107245760405163a2413e2760e01b815260040160405180910390fd5b6004546040516001600160a01b039091169083156108fc029084906000818181858888f1935050505061076a5760405163da93be6f60e01b815260040160405180910390fd5b6005546040516001600160a01b039091169082156108fc029083906000818181858888f193505050506107b057604051632f5500ab60e21b815260040160405180910390fd5b505050505050565b6000546001600160a01b031633146107e25760405162461bcd60e51b815260040161035c90610da4565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561082457600080fd5b505afa158015610838573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085c9190610d8c565b90508061087c5760405163334ab3f560e11b815260040160405180910390fd5b600080600080600061088d866104ca565b60015460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101879052959a509398509196509450925088169063a9059cbb90604401602060405180830381600087803b1580156108e757600080fd5b505af11580156108fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091f9190610d54565b61093c57604051632494b6d560e21b815260040160405180910390fd5b60025460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018690529088169063a9059cbb90604401602060405180830381600087803b15801561098a57600080fd5b505af115801561099e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c29190610d54565b6109df57604051638355dc7b60e01b815260040160405180910390fd5b60035460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018590529088169063a9059cbb90604401602060405180830381600087803b158015610a2d57600080fd5b505af1158015610a41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a659190610d54565b610a825760405163a2413e2760e01b815260040160405180910390fd5b6004805460405163a9059cbb60e01b81526001600160a01b03918216928101929092526024820184905288169063a9059cbb90604401602060405180830381600087803b158015610ad257600080fd5b505af1158015610ae6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0a9190610d54565b610b275760405163da93be6f60e01b815260040160405180910390fd5b60055460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529088169063a9059cbb90604401602060405180830381600087803b158015610b7557600080fd5b505af1158015610b89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bad9190610d54565b610bca57604051632f5500ab60e21b815260040160405180910390fd5b50505050505050565b6000546001600160a01b03163314610bfd5760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b038116610c245760405163d92e233d60e01b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610c705760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b038116610cd55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161035c565b610cde81610ce1565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610d42578081fd5b8135610d4d81610e45565b9392505050565b600060208284031215610d65578081fd5b81518015158114610d4d578182fd5b600060208284031215610d85578081fd5b5035919050565b600060208284031215610d9d578081fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082610df457634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610e1357610e13610e2f565b500290565b600082821015610e2a57610e2a610e2f565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610cde57600080fdfea26469706673582212207725d6f962a1dca9c3f3e565da1ecc2cec1399dc2c3052f719147a7d98782cab64736f6c63430008040033

Deployed Bytecode

0x6080604052600436106100f75760003560e01c80638d6237811161008a578063c7e42b1b11610059578063c7e42b1b146102b2578063e75e9284146102d2578063ee16993c146102f2578063f2fde38b1461031257600080fd5b80638d623781146102175780638da5cb5b1461025f5780639346b00b1461027d578063a0ef91df1461029d57600080fd5b8063715018a6116100c6578063715018a6146101a25780637a351542146101b75780637dd8a188146101d757806382ce8c15146101f757600080fd5b8063057ff38c146101035780633d04e2ac14610125578063478e85a0146101625780635d6fdec31461018257600080fd5b366100fe57005b600080fd5b34801561010f57600080fd5b5061012361011e366004610d31565b610332565b005b34801561013157600080fd5b50600454610145906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561016e57600080fd5b50600154610145906001600160a01b031681565b34801561018e57600080fd5b5061012361019d366004610d31565b6103ae565b3480156101ae57600080fd5b50610123610421565b3480156101c357600080fd5b506101236101d2366004610d31565b610457565b3480156101e357600080fd5b50600254610145906001600160a01b031681565b34801561020357600080fd5b50600554610145906001600160a01b031681565b34801561022357600080fd5b50610237610232366004610d74565b6104ca565b604080519586526020860194909452928401919091526060830152608082015260a001610159565b34801561026b57600080fd5b506000546001600160a01b0316610145565b34801561028957600080fd5b50610123610298366004610d31565b61057a565b3480156102a957600080fd5b506101236105ed565b3480156102be57600080fd5b506101236102cd366004610d31565b6107b8565b3480156102de57600080fd5b506101236102ed366004610d31565b610bd3565b3480156102fe57600080fd5b50600354610145906001600160a01b031681565b34801561031e57600080fd5b5061012361032d366004610d31565b610c46565b6000546001600160a01b031633146103655760405162461bcd60e51b815260040161035c90610da4565b60405180910390fd5b6001600160a01b03811661038c5760405163d92e233d60e01b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146103d85760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b0381166103ff5760405163d92e233d60e01b815260040160405180910390fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461044b5760405162461bcd60e51b815260040161035c90610da4565b6104556000610ce1565b565b6000546001600160a01b031633146104815760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b0381166104a85760405163d92e233d60e01b815260040160405180910390fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600080808080856127106104e082611b58610df9565b6104ea9190610dd9565b95506104f68682610e18565b9050612710610507886107d0610df9565b6105119190610dd9565b945061051d8582610e18565b905061271061052e8861014a610df9565b6105389190610dd9565b93506105448482610e18565b90506127106105558861014a610df9565b61055f9190610dd9565b925061056b8382610e18565b90508091505091939590929450565b6000546001600160a01b031633146105a45760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b0381166105cb5760405163d92e233d60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146106175760405162461bcd60e51b815260040161035c90610da4565b47806106365760405163334ab3f560e11b815260040160405180910390fd5b6000806000806000610647866104ca565b600154604051959a50939850919650945092506001600160a01b03169086156108fc029087906000818181858888f1935050505061069857604051632494b6d560e21b815260040160405180910390fd5b6002546040516001600160a01b039091169085156108fc029086906000818181858888f193505050506106de57604051638355dc7b60e01b815260040160405180910390fd5b6003546040516001600160a01b039091169084156108fc029085906000818181858888f193505050506107245760405163a2413e2760e01b815260040160405180910390fd5b6004546040516001600160a01b039091169083156108fc029084906000818181858888f1935050505061076a5760405163da93be6f60e01b815260040160405180910390fd5b6005546040516001600160a01b039091169082156108fc029083906000818181858888f193505050506107b057604051632f5500ab60e21b815260040160405180910390fd5b505050505050565b6000546001600160a01b031633146107e25760405162461bcd60e51b815260040161035c90610da4565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561082457600080fd5b505afa158015610838573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085c9190610d8c565b90508061087c5760405163334ab3f560e11b815260040160405180910390fd5b600080600080600061088d866104ca565b60015460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101879052959a509398509196509450925088169063a9059cbb90604401602060405180830381600087803b1580156108e757600080fd5b505af11580156108fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091f9190610d54565b61093c57604051632494b6d560e21b815260040160405180910390fd5b60025460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018690529088169063a9059cbb90604401602060405180830381600087803b15801561098a57600080fd5b505af115801561099e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c29190610d54565b6109df57604051638355dc7b60e01b815260040160405180910390fd5b60035460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018590529088169063a9059cbb90604401602060405180830381600087803b158015610a2d57600080fd5b505af1158015610a41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a659190610d54565b610a825760405163a2413e2760e01b815260040160405180910390fd5b6004805460405163a9059cbb60e01b81526001600160a01b03918216928101929092526024820184905288169063a9059cbb90604401602060405180830381600087803b158015610ad257600080fd5b505af1158015610ae6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0a9190610d54565b610b275760405163da93be6f60e01b815260040160405180910390fd5b60055460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529088169063a9059cbb90604401602060405180830381600087803b158015610b7557600080fd5b505af1158015610b89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bad9190610d54565b610bca57604051632f5500ab60e21b815260040160405180910390fd5b50505050505050565b6000546001600160a01b03163314610bfd5760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b038116610c245760405163d92e233d60e01b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610c705760405162461bcd60e51b815260040161035c90610da4565b6001600160a01b038116610cd55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161035c565b610cde81610ce1565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610d42578081fd5b8135610d4d81610e45565b9392505050565b600060208284031215610d65578081fd5b81518015158114610d4d578182fd5b600060208284031215610d85578081fd5b5035919050565b600060208284031215610d9d578081fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082610df457634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610e1357610e13610e2f565b500290565b600082821015610e2a57610e2a610e2f565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610cde57600080fdfea26469706673582212207725d6f962a1dca9c3f3e565da1ecc2cec1399dc2c3052f719147a7d98782cab64736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.