Source Code
Latest 25 from a total of 203 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Contribute | 42068623 | 60 days ago | IN | 0 ETH | 0.0000018 | ||||
| Contribute | 35628716 | 209 days ago | IN | 0 ETH | 0.00000045 | ||||
| Contribute | 35526439 | 212 days ago | IN | 0 ETH | 0.00000071 | ||||
| Contribute | 35487882 | 213 days ago | IN | 0 ETH | 0.00000004 | ||||
| Contribute | 35473992 | 213 days ago | IN | 0 ETH | 0.00000012 | ||||
| Contribute | 34862861 | 227 days ago | IN | 0 ETH | 0.00000011 | ||||
| Contribute | 34853713 | 227 days ago | IN | 0 ETH | 0.00000059 | ||||
| Contribute | 34241042 | 241 days ago | IN | 0 ETH | 0.0000089 | ||||
| Contribute | 34193514 | 243 days ago | IN | 0 ETH | 0.00000882 | ||||
| Contribute | 34155313 | 243 days ago | IN | 0 ETH | 0.00000255 | ||||
| Contribute | 34103515 | 245 days ago | IN | 0 ETH | 0.00000018 | ||||
| Contribute | 34064776 | 245 days ago | IN | 0 ETH | 0.00000065 | ||||
| Contribute | 33725712 | 253 days ago | IN | 0 ETH | 0.00000022 | ||||
| Contribute | 33634679 | 255 days ago | IN | 0 ETH | 0.00000164 | ||||
| Contribute | 33546451 | 257 days ago | IN | 0 ETH | 0.00000083 | ||||
| Contribute | 33299282 | 263 days ago | IN | 0 ETH | 0.00000092 | ||||
| Contribute | 33298294 | 263 days ago | IN | 0 ETH | 0.00000101 | ||||
| Contribute | 33286442 | 263 days ago | IN | 0 ETH | 0.00000065 | ||||
| Contribute | 33259313 | 264 days ago | IN | 0 ETH | 0.00000123 | ||||
| Contribute | 33244104 | 264 days ago | IN | 0 ETH | 0.00000219 | ||||
| Contribute | 33243998 | 264 days ago | IN | 0 ETH | 0.00000184 | ||||
| Contribute | 33243977 | 264 days ago | IN | 0 ETH | 0.00000186 | ||||
| Contribute | 33202180 | 265 days ago | IN | 0 ETH | 0.00000091 | ||||
| Contribute | 33202171 | 265 days ago | IN | 0 ETH | 0.00000097 | ||||
| Contribute | 33157073 | 266 days ago | IN | 0 ETH | 0.00000075 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
EzDepositor
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.24;
interface IPrizePool {
function prizeToken() external view returns (IERC20);
function contributePrizeTokens(address _prizeVault, uint256 _amount) external returns (uint256);
function getContributedBetween(address _vault, uint24 _startDrawIdInclusive, uint24 _endDrawIdInclusive) external view returns (uint256);
function getOpenDrawId() external view returns (uint24);
}
import { IERC20 } from "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/utils/SafeERC20.sol";
contract EzDepositor {
using SafeERC20 for IERC20;
function contribute(IPrizePool prizePool, address vault, uint256 amount) external {
IERC20 prizeToken = prizePool.prizeToken();
prizeToken.safeTransferFrom(msg.sender, address(prizePool), amount);
prizePool.contributePrizeTokens(vault, amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";
import {Address} from "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC-20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
/**
* @dev An operation with an ERC-20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
safeTransfer(token, to, value);
} else if (!token.transferAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
* has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferFromAndCallRelaxed(
IERC1363 token,
address from,
address to,
uint256 value,
bytes memory data
) internal {
if (to.code.length == 0) {
safeTransferFrom(token, from, to, value);
} else if (!token.transferFromAndCall(from, to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
* Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
* once without retrying, and relies on the returned value to be true.
*
* Reverts if the returned value is other than `true`.
*/
function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
forceApprove(token, to, value);
} else if (!token.approveAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @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);
if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*
* This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
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 value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` 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 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
import {Errors} from "./Errors.sol";
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
if (address(this).balance < amount) {
revert Errors.InsufficientBalance(address(this).balance, amount);
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert Errors.FailedCall();
}
}
/**
* @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 or custom error, it is bubbled
* up by this function (like regular Solidity function calls). However, if
* the call reverted with no returned reason, this function reverts with a
* {Errors.FailedCall} error.
*
* 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.
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0);
}
/**
* @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`.
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
if (address(this).balance < value) {
revert Errors.InsufficientBalance(address(this).balance, value);
}
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
* was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case
* of an unsuccessful call.
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata
) internal view returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
// only check if target is a contract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
if (returndata.length == 0 && target.code.length == 0) {
revert AddressEmptyCode(target);
}
return returndata;
}
}
/**
* @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
* revert reason or with a default {Errors.FailedCall} error.
*/
function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
return returndata;
}
}
/**
* @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.
*/
function _revert(bytes memory returndata) 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 Errors.FailedCall();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC1363.sol)
pragma solidity ^0.8.20;
import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";
/**
* @title IERC1363
* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
*
* Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
*/
interface IERC1363 is IERC20, IERC165 {
/*
* Note: the ERC-165 identifier for this interface is 0xb0202a11.
* 0xb0202a11 ===
* bytes4(keccak256('transferAndCall(address,uint256)')) ^
* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
* bytes4(keccak256('approveAndCall(address,uint256)')) ^
* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
*/
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @param data Additional data with no specified format, sent in call to `spender`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
/**
* @dev Collection of common custom errors used in multiple contracts
*
* IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.
* It is recommended to avoid relying on the error API for critical functionality.
*/
library Errors {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error InsufficientBalance(uint256 balance, uint256 needed);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedCall();
/**
* @dev The deployment failed.
*/
error FailedDeployment();
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../utils/introspection/IERC165.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../token/ERC20/IERC20.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"contract IPrizePool","name":"prizePool","type":"address"},{"internalType":"address","name":"vault","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"contribute","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052348015600e575f80fd5b506107a98061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c80638d4727091461002d575b5f80fd5b610047600480360381019061004291906104fc565b610049565b005b5f8373ffffffffffffffffffffffffffffffffffffffff1663d0ef024a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610093573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100b79190610587565b90506100e63385848473ffffffffffffffffffffffffffffffffffffffff16610168909392919063ffffffff16565b8373ffffffffffffffffffffffffffffffffffffffff1663eedfb45084846040518363ffffffff1660e01b81526004016101219291906105d0565b6020604051808303815f875af115801561013d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610161919061060b565b5050505050565b6101e4848573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161019d93929190610636565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506101ea565b50505050565b5f610214828473ffffffffffffffffffffffffffffffffffffffff1661027f90919063ffffffff16565b90505f81511415801561023857508080602001905181019061023691906106a0565b155b1561027a57826040517f5274afe700000000000000000000000000000000000000000000000000000000815260040161027191906106cb565b60405180910390fd5b505050565b606061028c83835f610294565b905092915050565b6060814710156102dd5747826040517fcf4791810000000000000000000000000000000000000000000000000000000081526004016102d49291906106e4565b60405180910390fd5b5f808573ffffffffffffffffffffffffffffffffffffffff168486604051610305919061075d565b5f6040518083038185875af1925050503d805f811461033f576040519150601f19603f3d011682016040523d82523d5f602084013e610344565b606091505b509150915061035486838361035f565b925050509392505050565b6060826103745761036f826103ec565b6103e4565b5f825114801561039a57505f8473ffffffffffffffffffffffffffffffffffffffff163b145b156103dc57836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016103d391906106cb565b60405180910390fd5b8190506103e5565b5b9392505050565b5f815111156103fe5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61045d82610434565b9050919050565b5f61046e82610453565b9050919050565b61047e81610464565b8114610488575f80fd5b50565b5f8135905061049981610475565b92915050565b6104a881610453565b81146104b2575f80fd5b50565b5f813590506104c38161049f565b92915050565b5f819050919050565b6104db816104c9565b81146104e5575f80fd5b50565b5f813590506104f6816104d2565b92915050565b5f805f6060848603121561051357610512610430565b5b5f6105208682870161048b565b9350506020610531868287016104b5565b9250506040610542868287016104e8565b9150509250925092565b5f61055682610453565b9050919050565b6105668161054c565b8114610570575f80fd5b50565b5f815190506105818161055d565b92915050565b5f6020828403121561059c5761059b610430565b5b5f6105a984828501610573565b91505092915050565b6105bb81610453565b82525050565b6105ca816104c9565b82525050565b5f6040820190506105e35f8301856105b2565b6105f060208301846105c1565b9392505050565b5f81519050610605816104d2565b92915050565b5f602082840312156106205761061f610430565b5b5f61062d848285016105f7565b91505092915050565b5f6060820190506106495f8301866105b2565b61065660208301856105b2565b61066360408301846105c1565b949350505050565b5f8115159050919050565b61067f8161066b565b8114610689575f80fd5b50565b5f8151905061069a81610676565b92915050565b5f602082840312156106b5576106b4610430565b5b5f6106c28482850161068c565b91505092915050565b5f6020820190506106de5f8301846105b2565b92915050565b5f6040820190506106f75f8301856105c1565b61070460208301846105c1565b9392505050565b5f81519050919050565b5f81905092915050565b8281835e5f83830152505050565b5f6107378261070b565b6107418185610715565b935061075181856020860161071f565b80840191505092915050565b5f610768828461072d565b91508190509291505056fea26469706673582212203edb2f44badf14ca3eb59a6805fc5039c8d14c92f83286e61cf0944dd296da4664736f6c63430008190033
Deployed Bytecode
0x608060405234801561000f575f80fd5b5060043610610029575f3560e01c80638d4727091461002d575b5f80fd5b610047600480360381019061004291906104fc565b610049565b005b5f8373ffffffffffffffffffffffffffffffffffffffff1663d0ef024a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610093573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906100b79190610587565b90506100e63385848473ffffffffffffffffffffffffffffffffffffffff16610168909392919063ffffffff16565b8373ffffffffffffffffffffffffffffffffffffffff1663eedfb45084846040518363ffffffff1660e01b81526004016101219291906105d0565b6020604051808303815f875af115801561013d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610161919061060b565b5050505050565b6101e4848573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161019d93929190610636565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506101ea565b50505050565b5f610214828473ffffffffffffffffffffffffffffffffffffffff1661027f90919063ffffffff16565b90505f81511415801561023857508080602001905181019061023691906106a0565b155b1561027a57826040517f5274afe700000000000000000000000000000000000000000000000000000000815260040161027191906106cb565b60405180910390fd5b505050565b606061028c83835f610294565b905092915050565b6060814710156102dd5747826040517fcf4791810000000000000000000000000000000000000000000000000000000081526004016102d49291906106e4565b60405180910390fd5b5f808573ffffffffffffffffffffffffffffffffffffffff168486604051610305919061075d565b5f6040518083038185875af1925050503d805f811461033f576040519150601f19603f3d011682016040523d82523d5f602084013e610344565b606091505b509150915061035486838361035f565b925050509392505050565b6060826103745761036f826103ec565b6103e4565b5f825114801561039a57505f8473ffffffffffffffffffffffffffffffffffffffff163b145b156103dc57836040517f9996b3150000000000000000000000000000000000000000000000000000000081526004016103d391906106cb565b60405180910390fd5b8190506103e5565b5b9392505050565b5f815111156103fe5780518082602001fd5b6040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61045d82610434565b9050919050565b5f61046e82610453565b9050919050565b61047e81610464565b8114610488575f80fd5b50565b5f8135905061049981610475565b92915050565b6104a881610453565b81146104b2575f80fd5b50565b5f813590506104c38161049f565b92915050565b5f819050919050565b6104db816104c9565b81146104e5575f80fd5b50565b5f813590506104f6816104d2565b92915050565b5f805f6060848603121561051357610512610430565b5b5f6105208682870161048b565b9350506020610531868287016104b5565b9250506040610542868287016104e8565b9150509250925092565b5f61055682610453565b9050919050565b6105668161054c565b8114610570575f80fd5b50565b5f815190506105818161055d565b92915050565b5f6020828403121561059c5761059b610430565b5b5f6105a984828501610573565b91505092915050565b6105bb81610453565b82525050565b6105ca816104c9565b82525050565b5f6040820190506105e35f8301856105b2565b6105f060208301846105c1565b9392505050565b5f81519050610605816104d2565b92915050565b5f602082840312156106205761061f610430565b5b5f61062d848285016105f7565b91505092915050565b5f6060820190506106495f8301866105b2565b61065660208301856105b2565b61066360408301846105c1565b949350505050565b5f8115159050919050565b61067f8161066b565b8114610689575f80fd5b50565b5f8151905061069a81610676565b92915050565b5f602082840312156106b5576106b4610430565b5b5f6106c28482850161068c565b91505092915050565b5f6020820190506106de5f8301846105b2565b92915050565b5f6040820190506106f75f8301856105c1565b61070460208301846105c1565b9392505050565b5f81519050919050565b5f81905092915050565b8281835e5f83830152505050565b5f6107378261070b565b6107418185610715565b935061075181856020860161071f565b80840191505092915050565b5f610768828461072d565b91508190509291505056fea26469706673582212203edb2f44badf14ca3eb59a6805fc5039c8d14c92f83286e61cf0944dd296da4664736f6c63430008190033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 32 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.