Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 4,057 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Lock | 16882576 | 1083 days ago | IN | 0 ETH | 0.0005182 | ||||
| Lock | 16882567 | 1083 days ago | IN | 0 ETH | 0.00055806 | ||||
| Salvage | 15724027 | 1245 days ago | IN | 0 ETH | 0.00095143 | ||||
| Claim | 15638141 | 1257 days ago | IN | 0 ETH | 0.00052878 | ||||
| Claim | 15638065 | 1257 days ago | IN | 0 ETH | 0.00052923 | ||||
| Claim | 15636934 | 1257 days ago | IN | 0 ETH | 0.00085728 | ||||
| Lock | 15624401 | 1259 days ago | IN | 0 ETH | 0.00118366 | ||||
| Claim | 15609773 | 1261 days ago | IN | 0 ETH | 0.0004777 | ||||
| Claim | 15595742 | 1263 days ago | IN | 0 ETH | 0.00032506 | ||||
| Claim | 15595742 | 1263 days ago | IN | 0 ETH | 0.00032514 | ||||
| Claim | 15595548 | 1263 days ago | IN | 0 ETH | 0.00034003 | ||||
| Claim | 15595543 | 1263 days ago | IN | 0 ETH | 0.00034014 | ||||
| Lock | 15572453 | 1266 days ago | IN | 0 ETH | 0.00061482 | ||||
| Claim | 15551173 | 1269 days ago | IN | 0 ETH | 0.00042816 | ||||
| Lock | 15521274 | 1273 days ago | IN | 0 ETH | 0.00285345 | ||||
| Lock | 15512566 | 1275 days ago | IN | 0 ETH | 0.00081682 | ||||
| Claim | 15497071 | 1277 days ago | IN | 0 ETH | 0.00075521 | ||||
| Claim | 15483702 | 1280 days ago | IN | 0 ETH | 0.00063452 | ||||
| Claim | 15473284 | 1281 days ago | IN | 0 ETH | 0.00052901 | ||||
| Claim | 15473269 | 1281 days ago | IN | 0 ETH | 0.00052916 | ||||
| Claim | 15473261 | 1281 days ago | IN | 0 ETH | 0.00079311 | ||||
| Claim | 15469698 | 1282 days ago | IN | 0 ETH | 0.00049322 | ||||
| Lock | 15467639 | 1282 days ago | IN | 0 ETH | 0.00104496 | ||||
| Lock | 15467622 | 1282 days ago | IN | 0 ETH | 0.00137277 | ||||
| Lock | 15463390 | 1283 days ago | IN | 0 ETH | 0.00119349 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TestnetAirdrop
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.13;
/***
*@title TestnetAirdrop
*@author InsureDAO
* SPDX-License-Identifier: MIT
*@notice modified from https://github.com/Uniswap/merkle-distributor
*/
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./interfaces/IInsureDepositor.sol";
import "./test/interfaces/pool/IOwnership.sol";
contract TestnetAirdrop {
using SafeERC20 for IERC20;
event Claimed(uint256 index, address account, uint256 amount, uint256 tax);
event Locked(uint256 index, address account, uint256 amount);
address public immutable token;
bytes32 public immutable merkleRoot;
uint256 public constant START = 1648684800; //2022-03-31 00:00:00 UTC
uint256 public constant TAX_PERIOD = 86400 * 365 / 4;
uint256 public constant CLAIM_DURATION = 86400 * 365 / 2;
uint256 public constant INIT_RATE = 500000; //50%
uint256 public constant DENOMINATOR = 1000000; //100%
uint256 public taxPool;
address public immutable vlinsure;
IOwnership public immutable ownership;
mapping(uint256 => uint256) private claimedBitMap;
modifier onlyOwner() {
require(
ownership.owner() == msg.sender,
"Caller is not allowed to operate"
);
_;
}
constructor(address token_, bytes32 merkleRoot_, address vlinsure_, address ownership_){
require(token_ != address(0), "zero address");
require(merkleRoot_ != bytes32(0), "zero bytes");
require(vlinsure_ != address(0), "zero address");
require(ownership_ != address(0), "zero address");
token = token_;
merkleRoot = merkleRoot_;
vlinsure = vlinsure_;
ownership = IOwnership(ownership_);
IERC20(token).safeApprove(vlinsure_, type(uint256).max);
}
function isClaimed(uint256 index) public view returns (bool) {
uint256 claimedWordIndex = index / 256;
uint256 claimedBitIndex = index % 256;
uint256 claimedWord = claimedBitMap[claimedWordIndex];
uint256 mask = (1 << claimedBitIndex);
return claimedWord & mask == mask;
}
function _setClaimed(uint256 index) private {
uint256 claimedWordIndex = index / 256;
uint256 claimedBitIndex = index % 256;
claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex);
}
function _checkin(uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof)private {
require(!isClaimed(index), 'MerkleDistributor: Drop already claimed.');
// Verify the merkle proof.
bytes32 node = keccak256(abi.encodePacked(index, account, amount));
require(MerkleProof.verify(merkleProof, merkleRoot, node), 'MerkleDistributor: Invalid proof.');
// Mark it claimed and send the token.
_setClaimed(index);
}
function claim(uint256 index, uint256 amount, bytes32[] calldata merkleProof) external {
/**
*@notice claim INSURE with tax dedaction.
* tax rate decreases from 50% to 0% within 3months linearly
*@param index markle data to be used to verify
*@param amount markle data to be used to verify
*@param merkleProof markle data to be used to verify
*/
//check merkle
_checkin(index, msg.sender, amount, merkleProof);
//check time
uint256 _time = block.timestamp;
uint256 END = START + TAX_PERIOD;
require(_time > START, "TOO EARLY");
require(_time < START + CLAIM_DURATION, "TOO LATE");
//calc tax
uint256 _tax;
if(_time < END){
unchecked{
uint256 _rate = INIT_RATE * (END - _time) / (TAX_PERIOD);
_tax = amount * _rate / DENOMINATOR;
amount -= _tax;
taxPool += _tax;
}
}
//airdrop
IERC20(token).safeTransfer(msg.sender, amount);
emit Claimed(index, msg.sender, amount, _tax);
}
function lock(uint256 index, uint256 amount, bytes32[] calldata merkleProof)external{
/**
*@notice claim vlINSURE without taxation
*@param index markle data to be used to verify
*@param amount markle data to be used to verify
*@param merkleProof markle data to be used to verify
*/
//check merkle
_checkin(index, msg.sender, amount, merkleProof);
//check time
uint256 _time = block.timestamp;
require(_time > START, "TOO EARLY");
require(_time < START + CLAIM_DURATION, "TOO LATE");
//lock and airdrop
IInsureDepositor(vlinsure).deposit(amount, false, false);
uint256 _amount = IERC20(vlinsure).balanceOf(address(this));
IERC20(vlinsure).safeTransfer(msg.sender, _amount);
emit Locked(index, msg.sender, amount);
}
function salvage() external onlyOwner{
/**
*@notice owner can rug-pull the unclaimed airdrop and pooled tax
*@dev transfer to the community treasure at the end.
*/
require(block.timestamp > START + CLAIM_DURATION, "Still in Claimable Period");
uint256 _amount = IERC20(token).balanceOf(address(this));
IERC20(token).transfer(msg.sender, _amount);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `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);
/**
* @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);
}// 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.5.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.
*/
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 Merklee 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)
}
}
}pragma solidity 0.8.13;
interface IInsureDepositor {
function deposit(uint256 _amount, bool _lock, bool _stake) external;
}pragma solidity 0.8.13;
//SPDX-License-Identifier: MIT
interface IOwnership {
function owner() external view returns (address);
function futureOwner() external view returns (address);
function commitTransferOwnership(address newOwner) external;
function acceptTransferOwnership() external;
}// 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": 200000
},
"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":"address","name":"token_","type":"address"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"},{"internalType":"address","name":"vlinsure_","type":"address"},{"internalType":"address","name":"ownership_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tax","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Locked","type":"event"},{"inputs":[],"name":"CLAIM_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INIT_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TAX_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownership","outputs":[{"internalType":"contract IOwnership","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salvage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"taxPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vlinsure","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6101006040523480156200001257600080fd5b5060405162001c4a38038062001c4a83398101604081905262000035916200056f565b6001600160a01b038416620000805760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b60448201526064015b60405180910390fd5b82620000bc5760405162461bcd60e51b815260206004820152600a6024820152697a65726f20627974657360b01b604482015260640162000077565b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015260640162000077565b6001600160a01b0381166200014a5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b604482015260640162000077565b6001600160a01b03848116608081905260a085905283821660c05290821660e05262000186908360001962000190602090811b62000a4a17901c565b5050505062000687565b8015806200020e5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015620001e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020c9190620005c3565b155b620002825760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000606482015260840162000077565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620002da918591620002df16565b505050565b60006200033b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620003bd60201b62000c4f179092919060201c565b805190915015620002da57808060200190518101906200035c9190620005dd565b620002da5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840162000077565b6060620003ce8484600085620003d8565b90505b9392505050565b6060824710156200043b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840162000077565b6001600160a01b0385163b620004945760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162000077565b600080866001600160a01b03168587604051620004b2919062000634565b60006040518083038185875af1925050503d8060008114620004f1576040519150601f19603f3d011682016040523d82523d6000602084013e620004f6565b606091505b5090925090506200050982828662000514565b979650505050505050565b6060831562000525575081620003d1565b825115620005365782518084602001fd5b8160405162461bcd60e51b815260040162000077919062000652565b80516001600160a01b03811681146200056a57600080fd5b919050565b600080600080608085870312156200058657600080fd5b620005918562000552565b935060208501519250620005a86040860162000552565b9150620005b86060860162000552565b905092959194509250565b600060208284031215620005d657600080fd5b5051919050565b600060208284031215620005f057600080fd5b81518015158114620003d157600080fd5b60005b838110156200061e57818101518382015260200162000604565b838111156200062e576000848401525b50505050565b600082516200064881846020870162000601565b9190910192915050565b60208152600082518060208401526200067381604085016020870162000601565b601f01601f19169190910160400192915050565b60805160a05160c05160e051611552620006f860003960008181610138015261026b015260008181610184015281816106d401528181610775015261081201526000818160fe0152610d9101526000818161022601528181610424015281816104dc01526109d301526115526000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063abcac4f41161008c578063ba9a061a11610066578063ba9a061a1461020c578063c28cc51d14610217578063fc0c546a14610221578063ff844a631461024857600080fd5b8063abcac4f4146101e6578063ae0b51df146101f0578063b12cbc761461020357600080fd5b80637946ac28116100c85780637946ac281461017f578063918f8674146101a65780639e34070f146101b0578063a3c2c435146101d357600080fd5b80631e534906146100ef5780632eb4a7ab146100f95780635d03147a14610133575b600080fd5b6100f7610252565b005b6101207f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b61015a7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161012a565b61015a7f000000000000000000000000000000000000000000000000000000000000000081565b610120620f424081565b6101c36101be36600461126d565b610562565b604051901515815260200161012a565b6100f76101e1366004611286565b6105a3565b61012062784ce081565b6100f76101fe366004611286565b610881565b61012060005481565b610120636244ef0081565b6101206207a12081565b61015a7f000000000000000000000000000000000000000000000000000000000000000081565b61012062f099c081565b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f89190611309565b73ffffffffffffffffffffffffffffffffffffffff161461037a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f43616c6c6572206973206e6f7420616c6c6f77656420746f206f70657261746560448201526064015b60405180910390fd5b61038b62f099c0636244ef0061136e565b42116103f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f5374696c6c20696e20436c61696d61626c6520506572696f64000000000000006044820152606401610371565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a49190611386565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af115801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e919061139f565b5050565b600080610571610100846113f0565b9050600061058161010085611404565b60009283526001602081905260409093205492901b9182169091149392505050565b6105b08433858585610c68565b42636244ef00811161061e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f544f4f204541524c5900000000000000000000000000000000000000000000006044820152606401610371565b61062f62f099c0636244ef0061136e565b8110610697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f544f4f204c4154450000000000000000000000000000000000000000000000006044820152606401610371565b6040517f95fb5f830000000000000000000000000000000000000000000000000000000081526004810185905260006024820181905260448201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16906395fb5f8390606401600060405180830381600087803b15801561072d57600080fd5b505af1158015610741573d6000803e3d6000fd5b50506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600092507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1691506370a0823190602401602060405180830381865afa1580156107d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f69190611386565b905061083973ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163383610e59565b604080518781523360208201529081018690527f55016b6cc60c3d15b7b1ebd0ab766c07b3082c98a5b4d1d7ff012a97652a4b1d9060600160405180910390a1505050505050565b61088e8433858585610c68565b4260006108a262784ce0636244ef0061136e565b9050636244ef008211610911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f544f4f204541524c5900000000000000000000000000000000000000000000006044820152606401610371565b61092262f099c0636244ef0061136e565b821061098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f544f4f204c4154450000000000000000000000000000000000000000000000006044820152606401610371565b6000818310156109b9575060008054620f424062784ce08585036207a120020488020490810190915594859003945b6109fa73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163388610e59565b60408051888152336020820152908101879052606081018290527fd9cb1e2714d65a111c0f20f060176ad657496bd47a3de04ec7c3d4ca232112ac9060800160405180910390a150505050505050565b801580610aea57506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190611386565b155b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000006064820152608401610371565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610c4a9084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610eaf565b505050565b6060610c5e8484600085610fbb565b90505b9392505050565b610c7185610562565b15610cfe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c654469737472696275746f723a2044726f7020616c72656164792060448201527f636c61696d65642e0000000000000000000000000000000000000000000000006064820152608401610371565b60408051602081018790527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b169181019190915260548101849052600090607401604051602081830303815290604052805190602001209050610dbc8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f000000000000000000000000000000000000000000000000000000000000000092508591506111519050565b610e48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f6660448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152608401610371565b610e5186611167565b505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610c4a9084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610bc8565b6000610f11826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c4f9092919063ffffffff16565b805190915015610c4a5780806020019051810190610f2f919061139f565b610c4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610371565b60608247101561104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610371565b73ffffffffffffffffffffffffffffffffffffffff85163b6110cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610371565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516110f49190611448565b60006040518083038185875af1925050503d8060008114611131576040519150601f19603f3d011682016040523d82523d6000602084013e611136565b606091505b50915091506111468282866111a6565b979650505050505050565b60008261115e85846111f9565b14949350505050565b6000611175610100836113f0565b9050600061118561010084611404565b600092835260016020819052604090932080549390911b9092179091555050565b606083156111b5575081610c61565b8251156111c55782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103719190611464565b600081815b845181101561126557600085828151811061121b5761121b6114b5565b602002602001015190508083116112415760008381526020829052604090209250611252565b600081815260208490526040902092505b508061125d816114e4565b9150506111fe565b509392505050565b60006020828403121561127f57600080fd5b5035919050565b6000806000806060858703121561129c57600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156112c257600080fd5b818701915087601f8301126112d657600080fd5b8135818111156112e557600080fd5b8860208260051b85010111156112fa57600080fd5b95989497505060200194505050565b60006020828403121561131b57600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610c6157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113815761138161133f565b500190565b60006020828403121561139857600080fd5b5051919050565b6000602082840312156113b157600080fd5b81518015158114610c6157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826113ff576113ff6113c1565b500490565b600082611413576114136113c1565b500690565b60005b8381101561143357818101518382015260200161141b565b83811115611442576000848401525b50505050565b6000825161145a818460208701611418565b9190910192915050565b6020815260008251806020840152611483816040850160208701611418565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036115155761151561133f565b506001019056fea2646970667358221220320502371aca5338b59d75a74e1e5c689bb4aa8a5f63020dd62389bd2c7a1ba864736f6c634300080d0033000000000000000000000000d83ae04c9ed29d6d3e6bf720c71bc7beb424393e1fa9a4c86dc2cac1b5202e262ec0e4acdb7012eacdfa1a5ec76c5bd4eb6bfa9a000000000000000000000000a12ab76a82d118e33682acb242180b4cc0d19e2900000000000000000000000056246e83f3148b05ce2d90b44fbb4e9fa9eaf5bb
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063abcac4f41161008c578063ba9a061a11610066578063ba9a061a1461020c578063c28cc51d14610217578063fc0c546a14610221578063ff844a631461024857600080fd5b8063abcac4f4146101e6578063ae0b51df146101f0578063b12cbc761461020357600080fd5b80637946ac28116100c85780637946ac281461017f578063918f8674146101a65780639e34070f146101b0578063a3c2c435146101d357600080fd5b80631e534906146100ef5780632eb4a7ab146100f95780635d03147a14610133575b600080fd5b6100f7610252565b005b6101207f1fa9a4c86dc2cac1b5202e262ec0e4acdb7012eacdfa1a5ec76c5bd4eb6bfa9a81565b6040519081526020015b60405180910390f35b61015a7f00000000000000000000000056246e83f3148b05ce2d90b44fbb4e9fa9eaf5bb81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161012a565b61015a7f000000000000000000000000a12ab76a82d118e33682acb242180b4cc0d19e2981565b610120620f424081565b6101c36101be36600461126d565b610562565b604051901515815260200161012a565b6100f76101e1366004611286565b6105a3565b61012062784ce081565b6100f76101fe366004611286565b610881565b61012060005481565b610120636244ef0081565b6101206207a12081565b61015a7f000000000000000000000000d83ae04c9ed29d6d3e6bf720c71bc7beb424393e81565b61012062f099c081565b3373ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000056246e83f3148b05ce2d90b44fbb4e9fa9eaf5bb73ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f89190611309565b73ffffffffffffffffffffffffffffffffffffffff161461037a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f43616c6c6572206973206e6f7420616c6c6f77656420746f206f70657261746560448201526064015b60405180910390fd5b61038b62f099c0636244ef0061136e565b42116103f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f5374696c6c20696e20436c61696d61626c6520506572696f64000000000000006044820152606401610371565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000907f000000000000000000000000d83ae04c9ed29d6d3e6bf720c71bc7beb424393e73ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015610480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a49190611386565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091507f000000000000000000000000d83ae04c9ed29d6d3e6bf720c71bc7beb424393e73ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af115801561053a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055e919061139f565b5050565b600080610571610100846113f0565b9050600061058161010085611404565b60009283526001602081905260409093205492901b9182169091149392505050565b6105b08433858585610c68565b42636244ef00811161061e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f544f4f204541524c5900000000000000000000000000000000000000000000006044820152606401610371565b61062f62f099c0636244ef0061136e565b8110610697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f544f4f204c4154450000000000000000000000000000000000000000000000006044820152606401610371565b6040517f95fb5f830000000000000000000000000000000000000000000000000000000081526004810185905260006024820181905260448201527f000000000000000000000000a12ab76a82d118e33682acb242180b4cc0d19e2973ffffffffffffffffffffffffffffffffffffffff16906395fb5f8390606401600060405180830381600087803b15801561072d57600080fd5b505af1158015610741573d6000803e3d6000fd5b50506040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600092507f000000000000000000000000a12ab76a82d118e33682acb242180b4cc0d19e2973ffffffffffffffffffffffffffffffffffffffff1691506370a0823190602401602060405180830381865afa1580156107d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f69190611386565b905061083973ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000a12ab76a82d118e33682acb242180b4cc0d19e29163383610e59565b604080518781523360208201529081018690527f55016b6cc60c3d15b7b1ebd0ab766c07b3082c98a5b4d1d7ff012a97652a4b1d9060600160405180910390a1505050505050565b61088e8433858585610c68565b4260006108a262784ce0636244ef0061136e565b9050636244ef008211610911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f544f4f204541524c5900000000000000000000000000000000000000000000006044820152606401610371565b61092262f099c0636244ef0061136e565b821061098a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f544f4f204c4154450000000000000000000000000000000000000000000000006044820152606401610371565b6000818310156109b9575060008054620f424062784ce08585036207a120020488020490810190915594859003945b6109fa73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000d83ae04c9ed29d6d3e6bf720c71bc7beb424393e163388610e59565b60408051888152336020820152908101879052606081018290527fd9cb1e2714d65a111c0f20f060176ad657496bd47a3de04ec7c3d4ca232112ac9060800160405180910390a150505050505050565b801580610aea57506040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190611386565b155b610b76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000006064820152608401610371565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610c4a9084907f095ea7b300000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610eaf565b505050565b6060610c5e8484600085610fbb565b90505b9392505050565b610c7185610562565b15610cfe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f4d65726b6c654469737472696275746f723a2044726f7020616c72656164792060448201527f636c61696d65642e0000000000000000000000000000000000000000000000006064820152608401610371565b60408051602081018790527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606087901b169181019190915260548101849052600090607401604051602081830303815290604052805190602001209050610dbc8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f1fa9a4c86dc2cac1b5202e262ec0e4acdb7012eacdfa1a5ec76c5bd4eb6bfa9a92508591506111519050565b610e48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f6660448201527f2e000000000000000000000000000000000000000000000000000000000000006064820152608401610371565b610e5186611167565b505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610c4a9084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401610bc8565b6000610f11826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c4f9092919063ffffffff16565b805190915015610c4a5780806020019051810190610f2f919061139f565b610c4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610371565b60608247101561104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610371565b73ffffffffffffffffffffffffffffffffffffffff85163b6110cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610371565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516110f49190611448565b60006040518083038185875af1925050503d8060008114611131576040519150601f19603f3d011682016040523d82523d6000602084013e611136565b606091505b50915091506111468282866111a6565b979650505050505050565b60008261115e85846111f9565b14949350505050565b6000611175610100836113f0565b9050600061118561010084611404565b600092835260016020819052604090932080549390911b9092179091555050565b606083156111b5575081610c61565b8251156111c55782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103719190611464565b600081815b845181101561126557600085828151811061121b5761121b6114b5565b602002602001015190508083116112415760008381526020829052604090209250611252565b600081815260208490526040902092505b508061125d816114e4565b9150506111fe565b509392505050565b60006020828403121561127f57600080fd5b5035919050565b6000806000806060858703121561129c57600080fd5b8435935060208501359250604085013567ffffffffffffffff808211156112c257600080fd5b818701915087601f8301126112d657600080fd5b8135818111156112e557600080fd5b8860208260051b85010111156112fa57600080fd5b95989497505060200194505050565b60006020828403121561131b57600080fd5b815173ffffffffffffffffffffffffffffffffffffffff81168114610c6157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156113815761138161133f565b500190565b60006020828403121561139857600080fd5b5051919050565b6000602082840312156113b157600080fd5b81518015158114610c6157600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826113ff576113ff6113c1565b500490565b600082611413576114136113c1565b500690565b60005b8381101561143357818101518382015260200161141b565b83811115611442576000848401525b50505050565b6000825161145a818460208701611418565b9190910192915050565b6020815260008251806020840152611483816040850160208701611418565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036115155761151561133f565b506001019056fea2646970667358221220320502371aca5338b59d75a74e1e5c689bb4aa8a5f63020dd62389bd2c7a1ba864736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d83ae04c9ed29d6d3e6bf720c71bc7beb424393e1fa9a4c86dc2cac1b5202e262ec0e4acdb7012eacdfa1a5ec76c5bd4eb6bfa9a000000000000000000000000a12ab76a82d118e33682acb242180b4cc0d19e2900000000000000000000000056246e83f3148b05ce2d90b44fbb4e9fa9eaf5bb
-----Decoded View---------------
Arg [0] : token_ (address): 0xd83AE04c9eD29d6D3E6Bf720C71bc7BeB424393E
Arg [1] : merkleRoot_ (bytes32): 0x1fa9a4c86dc2cac1b5202e262ec0e4acdb7012eacdfa1a5ec76c5bd4eb6bfa9a
Arg [2] : vlinsure_ (address): 0xA12ab76a82D118e33682AcB242180B4cc0d19E29
Arg [3] : ownership_ (address): 0x56246e83F3148B05Ce2D90B44fbb4e9fa9EAF5bb
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000d83ae04c9ed29d6d3e6bf720c71bc7beb424393e
Arg [1] : 1fa9a4c86dc2cac1b5202e262ec0e4acdb7012eacdfa1a5ec76c5bd4eb6bfa9a
Arg [2] : 000000000000000000000000a12ab76a82d118e33682acb242180b4cc0d19e29
Arg [3] : 00000000000000000000000056246e83f3148b05ce2d90b44fbb4e9fa9eaf5bb
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.