ETH Price: $2,818.92 (+7.40%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim186736762023-11-29 0:24:47344 days ago1701217487IN
0x1931c748...cEd0AF4fc
0 ETH0.0020946534.22366427
Claim182180012023-09-26 5:54:23408 days ago1695707663IN
0x1931c748...cEd0AF4fc
0 ETH0.000622327.48840817
Claim180557882023-09-03 11:51:59430 days ago1693741919IN
0x1931c748...cEd0AF4fc
0 ETH0.0007385311.1891387
Claim180106882023-08-28 4:14:47437 days ago1693196087IN
0x1931c748...cEd0AF4fc
0 ETH0.0010335712.4369564
Claim178573202023-08-06 17:11:23458 days ago1691341883IN
0x1931c748...cEd0AF4fc
0 ETH0.0011333117.17015476
Claim178519082023-08-05 22:59:47459 days ago1691276387IN
0x1931c748...cEd0AF4fc
0 ETH0.0011292913.58882301
Claim178213792023-08-01 16:34:47463 days ago1690907687IN
0x1931c748...cEd0AF4fc
0 ETH0.0019801530
Claim178186582023-08-01 7:28:35464 days ago1690874915IN
0x1931c748...cEd0AF4fc
0 ETH0.0014458317.39769814
Claim178163432023-07-31 23:41:59464 days ago1690846919IN
0x1931c748...cEd0AF4fc
0 ETH0.0019534723.50612103
Claim178159542023-07-31 22:23:47464 days ago1690842227IN
0x1931c748...cEd0AF4fc
0 ETH0.0022005326.47894748
Claim178131162023-07-31 12:53:35464 days ago1690808015IN
0x1931c748...cEd0AF4fc
0 ETH0.0015105422.88532375
Claim178124452023-07-31 10:38:47464 days ago1690799927IN
0x1931c748...cEd0AF4fc
0 ETH0.0011188116.95053271
Claim178123312023-07-31 10:15:35464 days ago1690798535IN
0x1931c748...cEd0AF4fc
0 ETH0.001670520.10110973
Claim178120142023-07-31 9:12:11465 days ago1690794731IN
0x1931c748...cEd0AF4fc
0 ETH0.0009944115.06577105
Claim178119112023-07-31 8:51:23465 days ago1690793483IN
0x1931c748...cEd0AF4fc
0 ETH0.001046615.85649893
Claim178117272023-07-31 8:14:11465 days ago1690791251IN
0x1931c748...cEd0AF4fc
0 ETH0.0012971415.60855888
Claim178117242023-07-31 8:13:35465 days ago1690791215IN
0x1931c748...cEd0AF4fc
0 ETH0.0010469715.86210687
Claim178087182023-07-30 22:07:47465 days ago1690754867IN
0x1931c748...cEd0AF4fc
0 ETH0.0013140315.81174489
Transfer Ownersh...178085582023-07-30 21:35:35465 days ago1690752935IN
0x1931c748...cEd0AF4fc
0 ETH0.0005709220
Set Allocations178085572023-07-30 21:35:23465 days ago1690752923IN
0x1931c748...cEd0AF4fc
0 ETH0.0088874420
0x60e06040178085562023-07-30 21:35:11465 days ago1690752911IN
 Create: TempleTeamPayments
0 ETH0.0258972220

Latest 18 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
186736762023-11-29 0:24:47344 days ago1701217487
0x1931c748...cEd0AF4fc
0 ETH
182180012023-09-26 5:54:23408 days ago1695707663
0x1931c748...cEd0AF4fc
0 ETH
180557882023-09-03 11:51:59430 days ago1693741919
0x1931c748...cEd0AF4fc
0 ETH
180106882023-08-28 4:14:47437 days ago1693196087
0x1931c748...cEd0AF4fc
0 ETH
178573202023-08-06 17:11:23458 days ago1691341883
0x1931c748...cEd0AF4fc
0 ETH
178519082023-08-05 22:59:47459 days ago1691276387
0x1931c748...cEd0AF4fc
0 ETH
178213792023-08-01 16:34:47463 days ago1690907687
0x1931c748...cEd0AF4fc
0 ETH
178186582023-08-01 7:28:35464 days ago1690874915
0x1931c748...cEd0AF4fc
0 ETH
178163432023-07-31 23:41:59464 days ago1690846919
0x1931c748...cEd0AF4fc
0 ETH
178159542023-07-31 22:23:47464 days ago1690842227
0x1931c748...cEd0AF4fc
0 ETH
178131162023-07-31 12:53:35464 days ago1690808015
0x1931c748...cEd0AF4fc
0 ETH
178124452023-07-31 10:38:47464 days ago1690799927
0x1931c748...cEd0AF4fc
0 ETH
178123312023-07-31 10:15:35464 days ago1690798535
0x1931c748...cEd0AF4fc
0 ETH
178120142023-07-31 9:12:11465 days ago1690794731
0x1931c748...cEd0AF4fc
0 ETH
178119112023-07-31 8:51:23465 days ago1690793483
0x1931c748...cEd0AF4fc
0 ETH
178117272023-07-31 8:14:11465 days ago1690791251
0x1931c748...cEd0AF4fc
0 ETH
178117242023-07-31 8:13:35465 days ago1690791215
0x1931c748...cEd0AF4fc
0 ETH
178087182023-07-30 22:07:47465 days ago1690754867
0x1931c748...cEd0AF4fc
0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TempleTeamPayments

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion
File 1 of 7 : TempleTeamPayments.sol
//SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity ^0.8.0;

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

contract TempleTeamPayments is Ownable {
    uint256 public immutable roundStartDate;
    uint256 public immutable roundEndDate;
    IERC20 public immutable TEMPLE;

    mapping(address => uint256) public allocation;
    mapping(address => uint256) public claimed;

    event Claimed(address indexed member, uint256 amount);

    constructor(IERC20 _TEMPLE, uint256 paymentPeriodInSeconds, uint256 startTimestamp) {
        roundStartDate = startTimestamp;
        roundEndDate = startTimestamp + paymentPeriodInSeconds;
        TEMPLE = _TEMPLE;
    }

    modifier addressExists(address _address) {
        require(allocation[_address] > 0, "TempleTeamPayments: Member not found");
        _;
    }

    function setAllocations(
        address[] memory _addresses,
        uint256[] memory _amounts
    ) external onlyOwner {
        require(
            _addresses.length == _amounts.length,
            "TempleTeamPayments: addresses and amounts must be the same length"
        );
        address addressZero = address(0);
        for (uint256 i = 0; i < _addresses.length; i++) {
            require(_addresses[i] != addressZero, "TempleTeamPayments: Address cannot be 0x0");
            allocation[_addresses[i]] = _amounts[i];
        }
    }

    function setAllocation(address _address, uint256 _amount) external onlyOwner {
        require(_address != address(0), "TempleTeamPayments: Address cannot be 0x0");
        allocation[_address] = _amount;
    }

    function pauseMember(address _address)
        external
        onlyOwner
        addressExists(_address)
    {
        allocation[_address] = claimed[_address];
    }

    function calculateClaimable(address _address)
        public
        view
        addressExists(_address)
        returns (uint256)
    {
        // allocation * portion_of_round_elapsed - total_claimed
        uint256 claimableAmount = (allocation[_address] *
            (block.timestamp - roundStartDate)) /
            (roundEndDate - roundStartDate) -
            claimed[_address];
        if (claimableAmount + claimed[_address] > allocation[_address]) {
            claimableAmount = allocation[_address] - claimed[_address];
        }
        return claimableAmount;
    }

    function claim() external addressExists(msg.sender) {
        uint256 claimable = calculateClaimable(msg.sender);
        require(claimable > 0, "TempleTeamPayments: Member has no TEMPLE to claim");

        claimed[msg.sender] += claimable;
        SafeERC20.safeTransfer(TEMPLE, msg.sender, claimable);
        emit Claimed(msg.sender, claimable);
    }

    function adhocPayment(address _to, uint256 _amount) external onlyOwner {
        require(_amount > 0, "TempleTeamPayments: Amount must be greater than 0");
        claimed[_to] += _amount;
        SafeERC20.safeTransfer(TEMPLE, _to, _amount);
        emit Claimed(_to, _amount);
    }

    function withdrawTempleBalance(address _to, uint256 _amount)
        external
        onlyOwner
    {
        require(_amount > 0, "TempleTeamPayments: Amount must be greater than 0");
        SafeERC20.safeTransfer(TEMPLE, _to, _amount);
    }
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 3 of 7 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 4 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 5 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 6 of 7 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://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");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 7 of 7 : 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": 999999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_TEMPLE","type":"address"},{"internalType":"uint256","name":"paymentPeriodInSeconds","type":"uint256"},{"internalType":"uint256","name":"startTimestamp","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"member","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"TEMPLE","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"adhocPayment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"calculateClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"pauseMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"roundEndDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roundStartDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"setAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTempleBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b50604051620017a2380380620017a28339810160408190526200003491620000b7565b6200003f3362000067565b6080819052620000508282620000fc565b60a05250506001600160a01b031660c05262000124565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600060608486031215620000cd57600080fd5b83516001600160a01b0381168114620000e557600080fd5b602085015160409095015190969495509392505050565b808201808211156200011e57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c0516116256200017d60003960008181610156015281816106320152818161081701526109190152600081816102670152610c2c01526000818160ff01528181610c0b0152610c5501526116256000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063adfc500b11610097578063d4cc2dd311610066578063d4cc2dd31461023c578063f2fde38b1461024f578063f73fae7114610262578063fe7b00071461028957600080fd5b8063adfc500b146101d6578063b81b8630146101e9578063c884ef8314610209578063cffc8e641461022957600080fd5b806350e23d00116100d357806350e23d0014610151578063715018a61461019d5780638da5cb5b146101a55780639076c166146101c357600080fd5b8063078fa339146100fa5780631ff64acd146101345780634e71d92d14610149575b600080fd5b6101217f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b610147610142366004611323565b61029c565b005b6101476104d0565b6101787f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161012b565b610147610692565b60005473ffffffffffffffffffffffffffffffffffffffff16610178565b6101476101d13660046113e3565b6106a6565b6101476101e43660046113e3565b61077a565b6101216101f736600461140d565b60016020526000908152604090205481565b61012161021736600461140d565b60026020526000908152604090205481565b6101476102373660046113e3565b610841565b61014761024a36600461140d565b610987565b61014761025d36600461140d565b610a76565b6101217f000000000000000000000000000000000000000000000000000000000000000081565b61012161029736600461140d565b610b2d565b6102a4610d4a565b8051825114610360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f54656d706c655465616d5061796d656e74733a2061646472657373657320616e60448201527f6420616d6f756e7473206d757374206265207468652073616d65206c656e677460648201527f6800000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b6000805b83518110156104ca578173ffffffffffffffffffffffffffffffffffffffff1684828151811061039657610396611428565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1603610441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f54656d706c655465616d5061796d656e74733a20416464726573732063616e6e60448201527f6f742062652030783000000000000000000000000000000000000000000000006064820152608401610357565b82818151811061045357610453611428565b60200260200101516001600086848151811061047157610471611428565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806104c290611486565b915050610364565b50505050565b3360008181526001602052604090205461056b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54656d706c655465616d5061796d656e74733a204d656d626572206e6f74206660448201527f6f756e64000000000000000000000000000000000000000000000000000000006064820152608401610357565b600061057633610b2d565b905060008111610608576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54656d706c655465616d5061796d656e74733a204d656d62657220686173206e60448201527f6f2054454d504c4520746f20636c61696d0000000000000000000000000000006064820152608401610357565b33600090815260026020526040812080548392906106279084906114be565b9091555061065890507f00000000000000000000000000000000000000000000000000000000000000003383610dcb565b60405181815233907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a906020015b60405180910390a25050565b61069a610d4a565b6106a46000610e5d565b565b6106ae610d4a565b73ffffffffffffffffffffffffffffffffffffffff8216610751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f54656d706c655465616d5061796d656e74733a20416464726573732063616e6e60448201527f6f742062652030783000000000000000000000000000000000000000000000006064820152608401610357565b73ffffffffffffffffffffffffffffffffffffffff909116600090815260016020526040902055565b610782610d4a565b60008111610812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54656d706c655465616d5061796d656e74733a20416d6f756e74206d7573742060448201527f62652067726561746572207468616e20300000000000000000000000000000006064820152608401610357565b61083d7f00000000000000000000000000000000000000000000000000000000000000008383610dcb565b5050565b610849610d4a565b600081116108d9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54656d706c655465616d5061796d656e74733a20416d6f756e74206d7573742060448201527f62652067726561746572207468616e20300000000000000000000000000000006064820152608401610357565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260408120805483929061090e9084906114be565b9091555061093f90507f00000000000000000000000000000000000000000000000000000000000000008383610dcb565b8173ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a8260405161068691815260200190565b61098f610d4a565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260409020548190610a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54656d706c655465616d5061796d656e74733a204d656d626572206e6f74206660448201527f6f756e64000000000000000000000000000000000000000000000000000000006064820152608401610357565b5073ffffffffffffffffffffffffffffffffffffffff16600090815260026020908152604080832054600190925290912055565b610a7e610d4a565b73ffffffffffffffffffffffffffffffffffffffff8116610b21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610357565b610b2a81610e5d565b50565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260408120548290610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54656d706c655465616d5061796d656e74733a204d656d626572206e6f74206660448201527f6f756e64000000000000000000000000000000000000000000000000000000006064820152608401610357565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040812054610c507f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006114d7565b610c7a7f0000000000000000000000000000000000000000000000000000000000000000426114d7565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260016020526040902054610caa91906114ea565b610cb49190611501565b610cbe91906114d7565b73ffffffffffffffffffffffffffffffffffffffff851660009081526001602090815260408083205460029092529091205491925090610cfe90836114be565b1115610d435773ffffffffffffffffffffffffffffffffffffffff8416600090815260026020908152604080832054600190925290912054610d4091906114d7565b90505b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146106a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610357565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e58908490610ed2565b505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610f34826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610fde9092919063ffffffff16565b805190915015610e585780806020019051810190610f52919061153c565b610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610357565b6060610fed8484600085610ff5565b949350505050565b606082471015611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610357565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516110b09190611582565b60006040518083038185875af1925050503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091506111038783838761110e565b979650505050505050565b606083156111a457825160000361119d5773ffffffffffffffffffffffffffffffffffffffff85163b61119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610357565b5081610fed565b610fed83838151156111b95781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610357919061159e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611263576112636111ed565b604052919050565b600067ffffffffffffffff821115611285576112856111ed565b5060051b60200190565b803573ffffffffffffffffffffffffffffffffffffffff811681146112b357600080fd5b919050565b600082601f8301126112c957600080fd5b813560206112de6112d98361126b565b61121c565b82815260059290921b840181019181810190868411156112fd57600080fd5b8286015b848110156113185780358352918301918301611301565b509695505050505050565b6000806040838503121561133657600080fd5b823567ffffffffffffffff8082111561134e57600080fd5b818501915085601f83011261136257600080fd5b813560206113726112d98361126b565b82815260059290921b8401810191818101908984111561139157600080fd5b948201945b838610156113b6576113a78661128f565b82529482019490820190611396565b965050860135925050808211156113cc57600080fd5b506113d9858286016112b8565b9150509250929050565b600080604083850312156113f657600080fd5b6113ff8361128f565b946020939093013593505050565b60006020828403121561141f57600080fd5b610d438261128f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114b7576114b7611457565b5060010190565b808201808211156114d1576114d1611457565b92915050565b818103818111156114d1576114d1611457565b80820281158282048414176114d1576114d1611457565b600082611537577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006020828403121561154e57600080fd5b81518015158114610d4357600080fd5b60005b83811015611579578181015183820152602001611561565b50506000910152565b6000825161159481846020870161155e565b9190910192915050565b60208152600082518060208401526115bd81604085016020870161155e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea264697066735822122097c1b232a2712373c8590b68d913d10f583468e7b96ba799e8f598b2a143ff1f64736f6c634300081200330000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000064c6d781

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063adfc500b11610097578063d4cc2dd311610066578063d4cc2dd31461023c578063f2fde38b1461024f578063f73fae7114610262578063fe7b00071461028957600080fd5b8063adfc500b146101d6578063b81b8630146101e9578063c884ef8314610209578063cffc8e641461022957600080fd5b806350e23d00116100d357806350e23d0014610151578063715018a61461019d5780638da5cb5b146101a55780639076c166146101c357600080fd5b8063078fa339146100fa5780631ff64acd146101345780634e71d92d14610149575b600080fd5b6101217f0000000000000000000000000000000000000000000000000000000064c6d78181565b6040519081526020015b60405180910390f35b610147610142366004611323565b61029c565b005b6101476104d0565b6101787f0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161012b565b610147610692565b60005473ffffffffffffffffffffffffffffffffffffffff16610178565b6101476101d13660046113e3565b6106a6565b6101476101e43660046113e3565b61077a565b6101216101f736600461140d565b60016020526000908152604090205481565b61012161021736600461140d565b60026020526000908152604090205481565b6101476102373660046113e3565b610841565b61014761024a36600461140d565b610987565b61014761025d36600461140d565b610a76565b6101217f0000000000000000000000000000000000000000000000000000000064c6d78b81565b61012161029736600461140d565b610b2d565b6102a4610d4a565b8051825114610360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604160248201527f54656d706c655465616d5061796d656e74733a2061646472657373657320616e60448201527f6420616d6f756e7473206d757374206265207468652073616d65206c656e677460648201527f6800000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b6000805b83518110156104ca578173ffffffffffffffffffffffffffffffffffffffff1684828151811061039657610396611428565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1603610441576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f54656d706c655465616d5061796d656e74733a20416464726573732063616e6e60448201527f6f742062652030783000000000000000000000000000000000000000000000006064820152608401610357565b82818151811061045357610453611428565b60200260200101516001600086848151811061047157610471611428565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806104c290611486565b915050610364565b50505050565b3360008181526001602052604090205461056b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54656d706c655465616d5061796d656e74733a204d656d626572206e6f74206660448201527f6f756e64000000000000000000000000000000000000000000000000000000006064820152608401610357565b600061057633610b2d565b905060008111610608576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54656d706c655465616d5061796d656e74733a204d656d62657220686173206e60448201527f6f2054454d504c4520746f20636c61696d0000000000000000000000000000006064820152608401610357565b33600090815260026020526040812080548392906106279084906114be565b9091555061065890507f0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f3383610dcb565b60405181815233907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a906020015b60405180910390a25050565b61069a610d4a565b6106a46000610e5d565b565b6106ae610d4a565b73ffffffffffffffffffffffffffffffffffffffff8216610751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f54656d706c655465616d5061796d656e74733a20416464726573732063616e6e60448201527f6f742062652030783000000000000000000000000000000000000000000000006064820152608401610357565b73ffffffffffffffffffffffffffffffffffffffff909116600090815260016020526040902055565b610782610d4a565b60008111610812576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54656d706c655465616d5061796d656e74733a20416d6f756e74206d7573742060448201527f62652067726561746572207468616e20300000000000000000000000000000006064820152608401610357565b61083d7f0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f8383610dcb565b5050565b610849610d4a565b600081116108d9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54656d706c655465616d5061796d656e74733a20416d6f756e74206d7573742060448201527f62652067726561746572207468616e20300000000000000000000000000000006064820152608401610357565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260408120805483929061090e9084906114be565b9091555061093f90507f0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f8383610dcb565b8173ffffffffffffffffffffffffffffffffffffffff167fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a8260405161068691815260200190565b61098f610d4a565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260409020548190610a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54656d706c655465616d5061796d656e74733a204d656d626572206e6f74206660448201527f6f756e64000000000000000000000000000000000000000000000000000000006064820152608401610357565b5073ffffffffffffffffffffffffffffffffffffffff16600090815260026020908152604080832054600190925290912055565b610a7e610d4a565b73ffffffffffffffffffffffffffffffffffffffff8116610b21576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610357565b610b2a81610e5d565b50565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600160205260408120548290610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54656d706c655465616d5061796d656e74733a204d656d626572206e6f74206660448201527f6f756e64000000000000000000000000000000000000000000000000000000006064820152608401610357565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040812054610c507f0000000000000000000000000000000000000000000000000000000064c6d7817f0000000000000000000000000000000000000000000000000000000064c6d78b6114d7565b610c7a7f0000000000000000000000000000000000000000000000000000000064c6d781426114d7565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260016020526040902054610caa91906114ea565b610cb49190611501565b610cbe91906114d7565b73ffffffffffffffffffffffffffffffffffffffff851660009081526001602090815260408083205460029092529091205491925090610cfe90836114be565b1115610d435773ffffffffffffffffffffffffffffffffffffffff8416600090815260026020908152604080832054600190925290912054610d4091906114d7565b90505b9392505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146106a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610357565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610e58908490610ed2565b505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610f34826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610fde9092919063ffffffff16565b805190915015610e585780806020019051810190610f52919061153c565b610e58576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610357565b6060610fed8484600085610ff5565b949350505050565b606082471015611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610357565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516110b09190611582565b60006040518083038185875af1925050503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b50915091506111038783838761110e565b979650505050505050565b606083156111a457825160000361119d5773ffffffffffffffffffffffffffffffffffffffff85163b61119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610357565b5081610fed565b610fed83838151156111b95781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610357919061159e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611263576112636111ed565b604052919050565b600067ffffffffffffffff821115611285576112856111ed565b5060051b60200190565b803573ffffffffffffffffffffffffffffffffffffffff811681146112b357600080fd5b919050565b600082601f8301126112c957600080fd5b813560206112de6112d98361126b565b61121c565b82815260059290921b840181019181810190868411156112fd57600080fd5b8286015b848110156113185780358352918301918301611301565b509695505050505050565b6000806040838503121561133657600080fd5b823567ffffffffffffffff8082111561134e57600080fd5b818501915085601f83011261136257600080fd5b813560206113726112d98361126b565b82815260059290921b8401810191818101908984111561139157600080fd5b948201945b838610156113b6576113a78661128f565b82529482019490820190611396565b965050860135925050808211156113cc57600080fd5b506113d9858286016112b8565b9150509250929050565b600080604083850312156113f657600080fd5b6113ff8361128f565b946020939093013593505050565b60006020828403121561141f57600080fd5b610d438261128f565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036114b7576114b7611457565b5060010190565b808201808211156114d1576114d1611457565b92915050565b818103818111156114d1576114d1611457565b80820281158282048414176114d1576114d1611457565b600082611537577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b60006020828403121561154e57600080fd5b81518015158114610d4357600080fd5b60005b83811015611579578181015183820152602001611561565b50506000910152565b6000825161159481846020870161155e565b9190910192915050565b60208152600082518060208401526115bd81604085016020870161155e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea264697066735822122097c1b232a2712373c8590b68d913d10f583468e7b96ba799e8f598b2a143ff1f64736f6c63430008120033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000064c6d781

-----Decoded View---------------
Arg [0] : _TEMPLE (address): 0x6B175474E89094C44Da98b954EedeAC495271d0F
Arg [1] : paymentPeriodInSeconds (uint256): 10
Arg [2] : startTimestamp (uint256): 1690752897

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [2] : 0000000000000000000000000000000000000000000000000000000064c6d781


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  ]

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.