Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 33 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Deposit For | 15033774 | 1347 days ago | IN | 0 ETH | 0.00288062 | ||||
| Deposit For | 15027295 | 1348 days ago | IN | 0 ETH | 0.00170789 | ||||
| Deposit For | 15017471 | 1350 days ago | IN | 0 ETH | 0.0026519 | ||||
| Deposit For | 15015542 | 1351 days ago | IN | 0 ETH | 0.00246682 | ||||
| Deposit For | 14965965 | 1359 days ago | IN | 0 ETH | 0.00347639 | ||||
| Deposit For | 14937911 | 1364 days ago | IN | 0 ETH | 0.00626762 | ||||
| Deposit For | 14935309 | 1365 days ago | IN | 0 ETH | 0.0066708 | ||||
| Deposit For | 14935297 | 1365 days ago | IN | 0 ETH | 0.00797944 | ||||
| Deposit For | 14924664 | 1366 days ago | IN | 0 ETH | 0.00661349 | ||||
| Deposit For | 14919965 | 1367 days ago | IN | 0 ETH | 0.00468951 | ||||
| Deposit For | 14918574 | 1367 days ago | IN | 0 ETH | 0.00409179 | ||||
| Deposit For | 14918499 | 1367 days ago | IN | 0 ETH | 0.00792056 | ||||
| Deposit For | 14907293 | 1369 days ago | IN | 0 ETH | 0.00347019 | ||||
| Deposit For | 14894552 | 1371 days ago | IN | 0 ETH | 0.00731681 | ||||
| Deposit For | 14894136 | 1372 days ago | IN | 0 ETH | 0.00817404 | ||||
| Deposit For | 14893887 | 1372 days ago | IN | 0 ETH | 0.00617138 | ||||
| Deposit For | 14893768 | 1372 days ago | IN | 0 ETH | 0.00413974 | ||||
| Deposit For | 14891148 | 1372 days ago | IN | 0 ETH | 0.00617648 | ||||
| Deposit For | 14884557 | 1373 days ago | IN | 0 ETH | 0.00560266 | ||||
| Deposit For | 14883742 | 1373 days ago | IN | 0 ETH | 0.00368293 | ||||
| Deposit For | 14882928 | 1373 days ago | IN | 0 ETH | 0.00226262 | ||||
| Deposit For | 14882909 | 1373 days ago | IN | 0 ETH | 0.00335433 | ||||
| Deposit For | 14872802 | 1375 days ago | IN | 0 ETH | 0.00298702 | ||||
| Deposit For | 14872137 | 1375 days ago | IN | 0 ETH | 0.0023607 | ||||
| Deposit For | 14870655 | 1375 days ago | IN | 0 ETH | 0.00154983 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Presale
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//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/utils/cryptography/MerkleProof.sol";
/**
* @dev Little 'm' mVP Presale contract
*
* Designed to capture the expected investor user flow (including vesting).
*/
contract Presale is Ownable {
/// @dev Is the round open
bool public isOpen = true;
/// @dev Hard cap on round
uint256 public immutable hardCap;
/// @dev vesting cliff duration, kicks in after the token
/// is created and set (ie, after setIssuedToken is called)
uint256 public immutable vestingCliffDuration;
/// @dev when the vesting starts
uint256 public immutable vestingDuration;
/// @dev what token are we accepting as part of the raise
IERC20 public immutable raiseToken;
/// @dev Where do funds raised get sent
address public immutable daoMultisig;
/// @dev merkle root that captures all valid invite codes
bytes32 public immutable inviteCodesMerkleRoot;
/// @dev Where do funds raised get sent
/// TODO: discuss/decide if this should be a packed array bitMap for
/// gas efficiency (may not matter if most presales have < 100 or
/// so participants). Needs some tests
mapping(bytes => bool) public claimedInvites;
/// @dev what token are we issueing as per vesting conditions
/// not immutable as we expect to set this once we complete the presale
IERC20 public issuedToken;
/// @dev when the vesting starts
uint256 public issuedTokenAtTimestamp;
mapping(address => uint256) public allocation;
uint256 public totalAllocated;
mapping(address => uint256) public claimed;
uint256 public totalClaimed;
event Deposited(address account, uint256 amount);
event Claimed(address account, uint256 amount);
constructor(
uint256 _hardCap,
bytes32 _inviteCodesMerkleRoot,
uint256 _vestingCliffDuration,
uint256 _vestingDuration,
IERC20 _raiseToken,
address _daoMultisig
) {
hardCap = _hardCap;
inviteCodesMerkleRoot = _inviteCodesMerkleRoot;
vestingCliffDuration = _vestingCliffDuration;
vestingDuration = _vestingDuration;
raiseToken = _raiseToken;
daoMultisig = _daoMultisig;
}
function depositFor(address account, uint256 amount, bytes memory inviteCode, bytes32[] calldata merkleProof) external {
require(account != address(0), "Presale: Address cannot be 0x0");
require(isOpen, "Presale: Round closed");
require(hardCap > totalAllocated, "Presale: Round closed, goal reached");
require(!claimedInvites[inviteCode], "Presale: Invite code has been used");
require(MerkleProof.verify(merkleProof, inviteCodesMerkleRoot, keccak256(inviteCode)), "Presale: Invalid invite code");
uint256 remainingAllocation = hardCap - totalAllocated;
if (remainingAllocation < amount) {
amount = remainingAllocation;
}
allocation[account] += amount;
totalAllocated += amount;
claimedInvites[inviteCode] = true;
SafeERC20.safeTransferFrom(raiseToken, msg.sender, daoMultisig, amount);
emit Deposited(account, amount);
}
function calculateClaimable(address account) public view returns (uint256 share, uint256 amount)
{
if (address(issuedToken) == address(0)) {
return (0,0);
}
if (totalAllocated == totalClaimed) {
return (0,0);
}
uint256 vestingStartTimestamp = issuedTokenAtTimestamp + vestingCliffDuration;
if (block.timestamp < vestingStartTimestamp) {
return (0,0);
}
uint256 currentVestingDuration = block.timestamp - vestingStartTimestamp;
if (currentVestingDuration > vestingDuration) {
currentVestingDuration = vestingDuration;
}
share = ((allocation[account] * currentVestingDuration) / vestingDuration) - claimed[account];
amount = share * issuedToken.balanceOf(address(this)) / (totalAllocated - totalClaimed);
}
function claimFor(address account) external {
(uint256 share, uint256 claimable) = calculateClaimable(account);
claimed[account] += share;
totalClaimed += share;
SafeERC20.safeTransfer(issuedToken, account, claimable);
emit Claimed(account, claimable);
}
/// @dev owner only. set issued token. Can only be called once
/// and kicks of vesting
function setIssuedToken(IERC20 _issuedToken) external onlyOwner {
require(address(issuedToken) == address(0), "Presale: Issued token already sent");
issuedToken = _issuedToken;
issuedTokenAtTimestamp = block.timestamp;
}
/// @dev owner only. Close round
function closeRound() external onlyOwner {
isOpen = false;
}
}// 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);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.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));
}
}
/**
* @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");
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*
* WARNING: You should avoid using leaf values that are 64 bytes long prior to
* hashing, or use a hash function other than keccak256 for hashing leaves.
* This is because the concatenation of a sorted pair of internal nodes in
* the merkle tree could be reinterpreted as a leaf value.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}// 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;
}
}// 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);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(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) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason 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 {
// 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
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}{
"optimizer": {
"enabled": true,
"runs": 999999
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"_hardCap","type":"uint256"},{"internalType":"bytes32","name":"_inviteCodesMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_vestingCliffDuration","type":"uint256"},{"internalType":"uint256","name":"_vestingDuration","type":"uint256"},{"internalType":"contract IERC20","name":"_raiseToken","type":"address"},{"internalType":"address","name":"_daoMultisig","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposited","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":[{"internalType":"address","name":"","type":"address"}],"name":"allocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"calculateClaimable","outputs":[{"internalType":"uint256","name":"share","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"claimedInvites","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"daoMultisig","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"inviteCode","type":"bytes"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"depositFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hardCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inviteCodesMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"issuedToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"issuedTokenAtTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raiseToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_issuedToken","type":"address"}],"name":"setIssuedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vestingCliffDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6101406040526000805460ff60a01b1916600160a01b1790553480156200002557600080fd5b5060405162001b2138038062001b218339810160408190526200004891620000da565b62000053336200008a565b6080959095526101209390935260a09190915260c0526001600160601b0319606091821b811660e05291901b166101005262000156565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008060008060008060c08789031215620000f3578182fd5b8651955060208701519450604087015193506060870151925060808701516200011c816200013d565b60a08801519092506200012f816200013d565b809150509295509295509295565b6001600160a01b03811681146200015357600080fd5b50565b60805160a05160c05160e05160601c6101005160601c61012051611936620001eb6000396000818161018c01526108ce0152600081816103630152610a650152600081816102ac0152610a430152600081816101db01528181610e3201528181610e5b0152610eaf0152600081816102020152610de00152600081816103e101528181610735015261096301526119366000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c80638da5cb5b116100d8578063d54ad2a11161008c578063f2fde38b11610066578063f2fde38b146103c9578063fb86a404146103dc578063fe7b00071461040357600080fd5b8063d54ad2a1146103a5578063ddeae033146103ae578063e278fe6f146103c157600080fd5b8063b81b8630116100bd578063b81b86301461033e578063c0d0aa691461035e578063c884ef831461038557600080fd5b80638da5cb5b146102f2578063abc0f1a81461031057600080fd5b806345f7f2491161013a5780635def1d7e116101145780635def1d7e146102ce578063715018a6146102d757806372190c5f146102df57600080fd5b806345f7f2491461026957806347535d7b146102725780634da60aa5146102a757600080fd5b80631514617e1161016b5780631514617e146101d65780633a95234a146101fd578063417d845c1461022457600080fd5b80630817e882146101875780630e9eb56d146101c1575b600080fd5b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b6101d46101cf3660046115d4565b61042b565b005b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6002546102449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b8565b6101ae60055481565b6000546102979074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020016101b8565b6102447f000000000000000000000000000000000000000000000000000000000000000081565b6101ae60035481565b6101d46105a2565b6101d46102ed3660046115f0565b61062f565b60005473ffffffffffffffffffffffffffffffffffffffff16610244565b61029761031e3660046116be565b805160208183018101805160018252928201919093012091525460ff1681565b6101ae61034c3660046115d4565b60046020526000908152604090205481565b6102447f000000000000000000000000000000000000000000000000000000000000000081565b6101ae6103933660046115d4565b60066020526000908152604090205481565b6101ae60075481565b6101d46103bc3660046115d4565b610ae1565b6101d4610bbd565b6101d46103d73660046115d4565b610c68565b6101ae7f000000000000000000000000000000000000000000000000000000000000000081565b6104166104113660046115d4565b610d98565b604080519283526020830191909152016101b8565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60025473ffffffffffffffffffffffffffffffffffffffff1615610557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f50726573616c653a2049737375656420746f6b656e20616c726561647920736560448201527f6e7400000000000000000000000000000000000000000000000000000000000060648201526084016104a8565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905542600355565b60005473ffffffffffffffffffffffffffffffffffffffff163314610623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a8565b61062d6000610fbe565b565b73ffffffffffffffffffffffffffffffffffffffff85166106ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726573616c653a20416464726573732063616e6e6f7420626520307830000060448201526064016104a8565b60005474010000000000000000000000000000000000000000900460ff16610730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f50726573616c653a20526f756e6420636c6f736564000000000000000000000060448201526064016104a8565b6005547f0000000000000000000000000000000000000000000000000000000000000000116107e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f50726573616c653a20526f756e6420636c6f7365642c20676f616c207265616360448201527f686564000000000000000000000000000000000000000000000000000000000060648201526084016104a8565b6001836040516107f19190611709565b9081526040519081900360200190205460ff1615610891576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f50726573616c653a20496e7669746520636f646520686173206265656e20757360448201527f656400000000000000000000000000000000000000000000000000000000000060648201526084016104a8565b6108f682828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050865160208801207f000000000000000000000000000000000000000000000000000000000000000092509050611033565b61095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f50726573616c653a20496e76616c696420696e7669746520636f64650000000060448201526064016104a8565b60006005547f000000000000000000000000000000000000000000000000000000000000000061098c9190611804565b90508481101561099a578094505b73ffffffffffffffffffffffffffffffffffffffff8616600090815260046020526040812080548792906109cf908490611776565b9250508190555084600560008282546109e89190611776565b9250508190555060018085604051610a009190611709565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909216919091179055610a8a7f0000000000000000000000000000000000000000000000000000000000000000337f00000000000000000000000000000000000000000000000000000000000000008861104b565b6040805173ffffffffffffffffffffffffffffffffffffffff88168152602081018790527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4910160405180910390a1505050505050565b600080610aed83610d98565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260066020526040812080549395509193508492610b27908490611776565b925050819055508160076000828254610b409190611776565b9091555050600254610b699073ffffffffffffffffffffffffffffffffffffffff16848361112d565b6040805173ffffffffffffffffffffffffffffffffffffffff85168152602081018390527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a1505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a8565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ce9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a8565b73ffffffffffffffffffffffffffffffffffffffff8116610d8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104a8565b610d9581610fbe565b50565b600254600090819073ffffffffffffffffffffffffffffffffffffffff16610dc557506000928392509050565b6007546005541415610ddc57506000928392509050565b60007f0000000000000000000000000000000000000000000000000000000000000000600354610e0c9190611776565b905080421015610e225750600093849350915050565b6000610e2e8242611804565b90507f0000000000000000000000000000000000000000000000000000000000000000811115610e7b57507f00000000000000000000000000000000000000000000000000000000000000005b73ffffffffffffffffffffffffffffffffffffffff85166000908152600660209081526040808320546004909252909120547f000000000000000000000000000000000000000000000000000000000000000090610eda9084906117c7565b610ee4919061178e565b610eee9190611804565b9350600754600554610f009190611804565b6002546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b158015610f6957600080fd5b505afa158015610f7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa191906116f1565b610fab90866117c7565b610fb5919061178e565b92505050915091565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826110408584611188565b1490505b9392505050565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526111279085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611223565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526111839084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064016110a5565b505050565b600081815b845181101561121b5760008582815181106111d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116111f75760008381526020829052604090209250611208565b600081815260208490526040902092505b508061121381611847565b91505061118d565b509392505050565b6000611285826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661132f9092919063ffffffff16565b80519091501561118357808060200190518101906112a3919061169e565b611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016104a8565b606061133e8484600085611346565b949350505050565b6060824710156113d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016104a8565b73ffffffffffffffffffffffffffffffffffffffff85163b611456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104a8565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161147f9190611709565b60006040518083038185875af1925050503d80600081146114bc576040519150601f19603f3d011682016040523d82523d6000602084013e6114c1565b606091505b50915091506114d18282866114dc565b979650505050505050565b606083156114eb575081611044565b8251156114fb5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a89190611725565b600082601f83011261153f578081fd5b813567ffffffffffffffff8082111561155a5761155a6118af565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156115a0576115a06118af565b816040528381528660208588010111156115b8578485fd5b8360208701602083013792830160200193909352509392505050565b6000602082840312156115e5578081fd5b8135611044816118de565b600080600080600060808688031215611607578081fd5b8535611612816118de565b945060208601359350604086013567ffffffffffffffff80821115611635578283fd5b61164189838a0161152f565b94506060880135915080821115611656578283fd5b818801915088601f830112611669578283fd5b813581811115611677578384fd5b8960208260051b850101111561168b578384fd5b9699959850939650602001949392505050565b6000602082840312156116af578081fd5b81518015158114611044578182fd5b6000602082840312156116cf578081fd5b813567ffffffffffffffff8111156116e5578182fd5b61133e8482850161152f565b600060208284031215611702578081fd5b5051919050565b6000825161171b81846020870161181b565b9190910192915050565b602081526000825180602084015261174481604085016020870161181b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561178957611789611880565b500190565b6000826117c2577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117ff576117ff611880565b500290565b60008282101561181657611816611880565b500390565b60005b8381101561183657818101518382015260200161181e565b838111156111275750506000910152565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561187957611879611880565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114610d9557600080fdfea264697066735822122074d3e11f78082b6d6f8619ed157b86023345246d58d65c451bb641ff8ad2acac64736f6c634300080400330000000000000000000000000000000000000000000000000000002e90edd00030942dc8b7704d1e2a40a03208f3ef6286d2d32ab702fd677738b8b551457bc70000000000000000000000000000000000000000000000000000000001e187e00000000000000000000000000000000000000000000000000000000001e187e0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000007a77daea5ca35a83bf529b9d72740fb965ccc5e6
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101825760003560e01c80638da5cb5b116100d8578063d54ad2a11161008c578063f2fde38b11610066578063f2fde38b146103c9578063fb86a404146103dc578063fe7b00071461040357600080fd5b8063d54ad2a1146103a5578063ddeae033146103ae578063e278fe6f146103c157600080fd5b8063b81b8630116100bd578063b81b86301461033e578063c0d0aa691461035e578063c884ef831461038557600080fd5b80638da5cb5b146102f2578063abc0f1a81461031057600080fd5b806345f7f2491161013a5780635def1d7e116101145780635def1d7e146102ce578063715018a6146102d757806372190c5f146102df57600080fd5b806345f7f2491461026957806347535d7b146102725780634da60aa5146102a757600080fd5b80631514617e1161016b5780631514617e146101d65780633a95234a146101fd578063417d845c1461022457600080fd5b80630817e882146101875780630e9eb56d146101c1575b600080fd5b6101ae7f30942dc8b7704d1e2a40a03208f3ef6286d2d32ab702fd677738b8b551457bc781565b6040519081526020015b60405180910390f35b6101d46101cf3660046115d4565b61042b565b005b6101ae7f0000000000000000000000000000000000000000000000000000000001e187e081565b6101ae7f0000000000000000000000000000000000000000000000000000000001e187e081565b6002546102449073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101b8565b6101ae60055481565b6000546102979074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020016101b8565b6102447f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b6101ae60035481565b6101d46105a2565b6101d46102ed3660046115f0565b61062f565b60005473ffffffffffffffffffffffffffffffffffffffff16610244565b61029761031e3660046116be565b805160208183018101805160018252928201919093012091525460ff1681565b6101ae61034c3660046115d4565b60046020526000908152604090205481565b6102447f0000000000000000000000007a77daea5ca35a83bf529b9d72740fb965ccc5e681565b6101ae6103933660046115d4565b60066020526000908152604090205481565b6101ae60075481565b6101d46103bc3660046115d4565b610ae1565b6101d4610bbd565b6101d46103d73660046115d4565b610c68565b6101ae7f0000000000000000000000000000000000000000000000000000002e90edd00081565b6104166104113660046115d4565b610d98565b604080519283526020830191909152016101b8565b60005473ffffffffffffffffffffffffffffffffffffffff1633146104b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60025473ffffffffffffffffffffffffffffffffffffffff1615610557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f50726573616c653a2049737375656420746f6b656e20616c726561647920736560448201527f6e7400000000000000000000000000000000000000000000000000000000000060648201526084016104a8565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905542600355565b60005473ffffffffffffffffffffffffffffffffffffffff163314610623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a8565b61062d6000610fbe565b565b73ffffffffffffffffffffffffffffffffffffffff85166106ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f50726573616c653a20416464726573732063616e6e6f7420626520307830000060448201526064016104a8565b60005474010000000000000000000000000000000000000000900460ff16610730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f50726573616c653a20526f756e6420636c6f736564000000000000000000000060448201526064016104a8565b6005547f0000000000000000000000000000000000000000000000000000002e90edd000116107e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f50726573616c653a20526f756e6420636c6f7365642c20676f616c207265616360448201527f686564000000000000000000000000000000000000000000000000000000000060648201526084016104a8565b6001836040516107f19190611709565b9081526040519081900360200190205460ff1615610891576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f50726573616c653a20496e7669746520636f646520686173206265656e20757360448201527f656400000000000000000000000000000000000000000000000000000000000060648201526084016104a8565b6108f682828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050865160208801207f30942dc8b7704d1e2a40a03208f3ef6286d2d32ab702fd677738b8b551457bc792509050611033565b61095c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f50726573616c653a20496e76616c696420696e7669746520636f64650000000060448201526064016104a8565b60006005547f0000000000000000000000000000000000000000000000000000002e90edd00061098c9190611804565b90508481101561099a578094505b73ffffffffffffffffffffffffffffffffffffffff8616600090815260046020526040812080548792906109cf908490611776565b9250508190555084600560008282546109e89190611776565b9250508190555060018085604051610a009190611709565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909216919091179055610a8a7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48337f0000000000000000000000007a77daea5ca35a83bf529b9d72740fb965ccc5e68861104b565b6040805173ffffffffffffffffffffffffffffffffffffffff88168152602081018790527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4910160405180910390a1505050505050565b600080610aed83610d98565b73ffffffffffffffffffffffffffffffffffffffff8516600090815260066020526040812080549395509193508492610b27908490611776565b925050819055508160076000828254610b409190611776565b9091555050600254610b699073ffffffffffffffffffffffffffffffffffffffff16848361112d565b6040805173ffffffffffffffffffffffffffffffffffffffff85168152602081018390527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a1505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a8565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ce9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104a8565b73ffffffffffffffffffffffffffffffffffffffff8116610d8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104a8565b610d9581610fbe565b50565b600254600090819073ffffffffffffffffffffffffffffffffffffffff16610dc557506000928392509050565b6007546005541415610ddc57506000928392509050565b60007f0000000000000000000000000000000000000000000000000000000001e187e0600354610e0c9190611776565b905080421015610e225750600093849350915050565b6000610e2e8242611804565b90507f0000000000000000000000000000000000000000000000000000000001e187e0811115610e7b57507f0000000000000000000000000000000000000000000000000000000001e187e05b73ffffffffffffffffffffffffffffffffffffffff85166000908152600660209081526040808320546004909252909120547f0000000000000000000000000000000000000000000000000000000001e187e090610eda9084906117c7565b610ee4919061178e565b610eee9190611804565b9350600754600554610f009190611804565b6002546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a082319060240160206040518083038186803b158015610f6957600080fd5b505afa158015610f7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa191906116f1565b610fab90866117c7565b610fb5919061178e565b92505050915091565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826110408584611188565b1490505b9392505050565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526111279085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611223565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526111839084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064016110a5565b505050565b600081815b845181101561121b5760008582815181106111d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116111f75760008381526020829052604090209250611208565b600081815260208490526040902092505b508061121381611847565b91505061118d565b509392505050565b6000611285826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661132f9092919063ffffffff16565b80519091501561118357808060200190518101906112a3919061169e565b611183576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016104a8565b606061133e8484600085611346565b949350505050565b6060824710156113d8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016104a8565b73ffffffffffffffffffffffffffffffffffffffff85163b611456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104a8565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161147f9190611709565b60006040518083038185875af1925050503d80600081146114bc576040519150601f19603f3d011682016040523d82523d6000602084013e6114c1565b606091505b50915091506114d18282866114dc565b979650505050505050565b606083156114eb575081611044565b8251156114fb5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a89190611725565b600082601f83011261153f578081fd5b813567ffffffffffffffff8082111561155a5761155a6118af565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156115a0576115a06118af565b816040528381528660208588010111156115b8578485fd5b8360208701602083013792830160200193909352509392505050565b6000602082840312156115e5578081fd5b8135611044816118de565b600080600080600060808688031215611607578081fd5b8535611612816118de565b945060208601359350604086013567ffffffffffffffff80821115611635578283fd5b61164189838a0161152f565b94506060880135915080821115611656578283fd5b818801915088601f830112611669578283fd5b813581811115611677578384fd5b8960208260051b850101111561168b578384fd5b9699959850939650602001949392505050565b6000602082840312156116af578081fd5b81518015158114611044578182fd5b6000602082840312156116cf578081fd5b813567ffffffffffffffff8111156116e5578182fd5b61133e8482850161152f565b600060208284031215611702578081fd5b5051919050565b6000825161171b81846020870161181b565b9190910192915050565b602081526000825180602084015261174481604085016020870161181b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561178957611789611880565b500190565b6000826117c2577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156117ff576117ff611880565b500290565b60008282101561181657611816611880565b500390565b60005b8381101561183657818101518382015260200161181e565b838111156111275750506000910152565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561187957611879611880565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff81168114610d9557600080fdfea264697066735822122074d3e11f78082b6d6f8619ed157b86023345246d58d65c451bb641ff8ad2acac64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000002e90edd00030942dc8b7704d1e2a40a03208f3ef6286d2d32ab702fd677738b8b551457bc70000000000000000000000000000000000000000000000000000000001e187e00000000000000000000000000000000000000000000000000000000001e187e0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000007a77daea5ca35a83bf529b9d72740fb965ccc5e6
-----Decoded View---------------
Arg [0] : _hardCap (uint256): 200000000000
Arg [1] : _inviteCodesMerkleRoot (bytes32): 0x30942dc8b7704d1e2a40a03208f3ef6286d2d32ab702fd677738b8b551457bc7
Arg [2] : _vestingCliffDuration (uint256): 31557600
Arg [3] : _vestingDuration (uint256): 31557600
Arg [4] : _raiseToken (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [5] : _daoMultisig (address): 0x7a77daeA5cA35a83BF529B9d72740fB965cCC5E6
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000002e90edd000
Arg [1] : 30942dc8b7704d1e2a40a03208f3ef6286d2d32ab702fd677738b8b551457bc7
Arg [2] : 0000000000000000000000000000000000000000000000000000000001e187e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000001e187e0
Arg [4] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [5] : 0000000000000000000000007a77daea5ca35a83bf529b9d72740fb965ccc5e6
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 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.