Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 458 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 16775694 | 686 days ago | IN | 0 ETH | 0.00316435 | ||||
Claim | 16775681 | 686 days ago | IN | 0 ETH | 0.00308781 | ||||
Claim | 16707537 | 695 days ago | IN | 0 ETH | 0.00269827 | ||||
Claim | 16691281 | 698 days ago | IN | 0 ETH | 0.00553842 | ||||
Claim | 16689764 | 698 days ago | IN | 0 ETH | 0.00389529 | ||||
Claim | 16671369 | 701 days ago | IN | 0 ETH | 0.00470084 | ||||
Claim | 16659456 | 702 days ago | IN | 0 ETH | 0.00216158 | ||||
Claim | 16612214 | 709 days ago | IN | 0 ETH | 0.00155884 | ||||
Claim | 16466545 | 729 days ago | IN | 0 ETH | 0.00154333 | ||||
Claim | 16405745 | 738 days ago | IN | 0 ETH | 0.00545201 | ||||
Claim | 16393873 | 739 days ago | IN | 0 ETH | 0.00372588 | ||||
Claim | 16361666 | 744 days ago | IN | 0 ETH | 0.0017482 | ||||
Claim | 16358896 | 744 days ago | IN | 0 ETH | 0.00148267 | ||||
Claim | 16316156 | 750 days ago | IN | 0 ETH | 0.0014806 | ||||
Claim | 16269108 | 757 days ago | IN | 0 ETH | 0.00122123 | ||||
Claim | 16233076 | 762 days ago | IN | 0 ETH | 0.00147987 | ||||
Claim | 16220071 | 764 days ago | IN | 0 ETH | 0.00225787 | ||||
Claim | 16177228 | 770 days ago | IN | 0 ETH | 0.00332472 | ||||
Claim | 16160692 | 772 days ago | IN | 0 ETH | 0.00178537 | ||||
Claim | 16159795 | 772 days ago | IN | 0 ETH | 0.00173505 | ||||
Claim | 16156983 | 772 days ago | IN | 0 ETH | 0.0017027 | ||||
Claim | 16142431 | 774 days ago | IN | 0 ETH | 0.00170526 | ||||
Claim | 16140634 | 775 days ago | IN | 0 ETH | 0.00143534 | ||||
Claim | 16128042 | 776 days ago | IN | 0 ETH | 0.00174625 | ||||
Claim | 16084141 | 783 days ago | IN | 0 ETH | 0.00151333 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
UsdcRepayment
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract UsdcRepayment is Ownable, ReentrancyGuard { using SafeERC20 for IERC20; event Claim(address from, address to, address token, uint256 amount); event TokenSeized(address token, uint256 amount); event Paused(bool paused); event MerkleRootUpdated(bytes32 oldMerkleRoot, bytes32 newMerkleRoot); event ExcludedUpdated(address user, address token, uint256 amount); address public immutable USDC; bytes32 public merkleRoot; bool public paused; mapping(address => uint256) public excluded; mapping(address => bool) public claimed; address public creth2Repayment; constructor(bytes32 _merkleRoot, address _token) { merkleRoot = _merkleRoot; USDC = _token; } function claim(uint256 amount, bytes32[] memory proof) external { _claimAndTransfer(msg.sender, msg.sender, amount, proof); } function claimFor(address _address, uint256 amount, bytes32[] memory proof) external { require(msg.sender == creth2Repayment, "creth2Repayment contract only"); _claimAndTransfer(_address, _address, amount, proof); } // Like claim(), but transfer to `to` address. function claimAndTransfer(address to, uint256 amount, bytes32[] memory proof) external { _claimAndTransfer(msg.sender, to, amount, proof); } // Claim for a contract and transfer tokens to `to` address. function adminClaimAndTransfer(address from, address to, uint256 amount, bytes32[] memory proof) external onlyOwner { require(Address.isContract(from), "not a contract"); _claimAndTransfer(from, to, amount, proof); } function _claimAndTransfer(address from, address to, uint256 amount, bytes32[] memory proof) internal nonReentrant { require(claimed[from] == false, "claimed"); require(!paused, "claim paused"); // Check the Merkle proof. bytes32 leaf = keccak256(abi.encodePacked(from, amount)); bool verified = MerkleProof.verify(proof, merkleRoot, leaf); require(verified, "invalid amount"); // Update the storage. claimed[from] = true; if (amount > excluded[from]) { IERC20(USDC).transfer(to, amount - excluded[from]); emit Claim(from, to, USDC, amount - excluded[from]); } } function seize(address token, uint amount) external onlyOwner { IERC20(token).safeTransfer(owner(), amount); emit TokenSeized(token, amount); } function updateMerkleTree(bytes32 _merkleRoot) external onlyOwner { bytes32 oldMerkleRoot = merkleRoot; merkleRoot = _merkleRoot; emit MerkleRootUpdated(oldMerkleRoot, _merkleRoot); } function pause(bool _paused) external onlyOwner { require(paused != _paused, "invalid paused"); paused = _paused; emit Paused(_paused); } function setExcluded(address user, uint256 amount) external onlyOwner { require(!claimed[user], "already claimed"); if (amount != excluded[user]) { excluded[user] = amount; emit ExcludedUpdated(user, USDC, amount); } } function setCreth2Repayment(address _creth2Repayment) external onlyOwner { creth2Repayment = _creth2Repayment; } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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); } } } }
// SPDX-License-Identifier: MIT 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 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) { 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 = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ExcludedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"oldMerkleRoot","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"MerkleRootUpdated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"paused","type":"bool"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenSeized","type":"event"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"adminClaimAndTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimAndTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creth2Repayment","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excluded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"seize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_creth2Repayment","type":"address"}],"name":"setCreth2Repayment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"updateMerkleTree","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620026c8380380620026c883398181016040528101906200003791906200019e565b620000576200004b620000a460201b60201c565b620000ac60201b60201c565b60018081905550816002819055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505050506200025c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001818162000228565b92915050565b600081519050620001988162000242565b92915050565b60008060408385031215620001b857620001b762000223565b5b6000620001c88582860162000187565b9250506020620001db8582860162000170565b9150509250929050565b6000620001f28262000203565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200023381620001e5565b81146200023f57600080fd5b50565b6200024d81620001f9565b81146200025957600080fd5b50565b60805160601c6124386200029060003960008181610871015281816108af01528181610ef2015261100d01526124386000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80637c8fd2eb116100a257806391f744d51161007157806391f744d514610293578063c0f4709f146102af578063c884ef83146102cb578063eb9253c0146102fb578063f2fde38b1461031757610116565b80637c8fd2eb1461021f578063817dccf01461023b57806389a30271146102575780638da5cb5b1461027557610116565b8063407b155a116100e9578063407b155a1461018d578063429cead1146101a9578063486cdd06146101d95780635c975abb146101f7578063715018a61461021557610116565b806302329a291461011b5780630dd230fb146101375780632eb4a7ab146101535780632f52ebb714610171575b600080fd5b61013560048036038101906101309190611772565b610333565b005b610151600480360381019061014c9190611613565b610459565b005b61015b610519565b6040516101689190611c51565b60405180910390f35b61018b600480360381019061018691906117f9565b61051f565b005b6101a760048036038101906101a29190611703565b61052f565b005b6101c360048036038101906101be9190611613565b610540565b6040516101d09190611e57565b60405180910390f35b6101e1610558565b6040516101ee9190611b76565b60405180910390f35b6101ff61057e565b60405161020c9190611c36565b60405180910390f35b61021d610591565b005b61023960048036038101906102349190611703565b610619565b005b610255600480360381019061025091906116c3565b6106ba565b005b61025f6108ad565b60405161026c9190611b76565b60405180910390f35b61027d6108d1565b60405161028a9190611b76565b60405180910390f35b6102ad60048036038101906102a891906117cc565b6108fa565b005b6102c960048036038101906102c49190611640565b6109c1565b005b6102e560048036038101906102e09190611613565b610a97565b6040516102f29190611c36565b60405180910390f35b610315600480360381019061031091906116c3565b610ab7565b005b610331600480360381019061032c9190611613565b610ba2565b005b61033b610c9a565b73ffffffffffffffffffffffffffffffffffffffff166103596108d1565b73ffffffffffffffffffffffffffffffffffffffff16146103af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a690611dd7565b60405180910390fd5b801515600360009054906101000a900460ff1615151415610405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103fc90611d37565b60405180910390fd5b80600360006101000a81548160ff0219169083151502179055507f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd28160405161044e9190611c36565b60405180910390a150565b610461610c9a565b73ffffffffffffffffffffffffffffffffffffffff1661047f6108d1565b73ffffffffffffffffffffffffffffffffffffffff16146104d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104cc90611dd7565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60025481565b61052b33338484610ca2565b5050565b61053b33848484610ca2565b505050565b60046020528060005260406000206000915090505481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900460ff1681565b610599610c9a565b73ffffffffffffffffffffffffffffffffffffffff166105b76108d1565b73ffffffffffffffffffffffffffffffffffffffff161461060d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060490611dd7565b60405180910390fd5b610617600061109f565b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a090611cd7565b60405180910390fd5b6106b583848484610ca2565b505050565b6106c2610c9a565b73ffffffffffffffffffffffffffffffffffffffff166106e06108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072d90611dd7565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156107c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ba90611d57565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481146108a95780600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fc5f4d2d234f92ba130f00e7f3e58be87e8e741dda9be9dbc6747de98392d7aef827f0000000000000000000000000000000000000000000000000000000000000000836040516108a093929190611bd6565b60405180910390a15b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610902610c9a565b73ffffffffffffffffffffffffffffffffffffffff166109206108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096d90611dd7565b60405180910390fd5b60006002549050816002819055507ffd69edeceaf1d6832d935be1fba54ca93bf17e71520c6c9ffc08d6e9529f875781836040516109b5929190611c6c565b60405180910390a15050565b6109c9610c9a565b73ffffffffffffffffffffffffffffffffffffffff166109e76108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3490611dd7565b60405180910390fd5b610a4684611163565b610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c90611d17565b60405180910390fd5b610a9184848484610ca2565b50505050565b60056020528060005260406000206000915054906101000a900460ff1681565b610abf610c9a565b73ffffffffffffffffffffffffffffffffffffffff16610add6108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a90611dd7565b60405180910390fd5b610b65610b3e6108d1565b828473ffffffffffffffffffffffffffffffffffffffff166111769092919063ffffffff16565b7fb930d7c3c6896f70ea10a959f1d9a7c04e0467138efa4c7040570d4b8f4894b68282604051610b96929190611c0d565b60405180910390a15050565b610baa610c9a565b73ffffffffffffffffffffffffffffffffffffffff16610bc86108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1590611dd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8590611cf7565b60405180910390fd5b610c978161109f565b50565b600033905090565b60026001541415610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf90611e37565b60405180910390fd5b600260018190555060001515600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90611db7565b60405180910390fd5b600360009054906101000a900460ff1615610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca90611cb7565b60405180910390fd5b60008483604051602001610de8929190611b07565b6040516020818303038152906040528051906020012090506000610e0f83600254846111fc565b905080610e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4890611d77565b60405180910390fd5b6001600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054841115611090577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb86600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487610f789190611ef5565b6040518363ffffffff1660e01b8152600401610f95929190611c0d565b602060405180830381600087803b158015610faf57600080fd5b505af1158015610fc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe7919061179f565b507fc1405953cccdad6b442e266c84d66ad671e2534c6584f8e6ef92802f7ad294d586867f0000000000000000000000000000000000000000000000000000000000000000600460008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054886110779190611ef5565b6040516110879493929190611b91565b60405180910390a15b50506001808190555050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b6111f78363a9059cbb60e01b8484604051602401611195929190611c0d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506112b2565b505050565b60008082905060005b85518110156112a45760008682815181106112235761122261208f565b5b60200260200101519050808311611264578281604051602001611247929190611b33565b604051602081830303815290604052805190602001209250611290565b8083604051602001611277929190611b33565b6040516020818303038152906040528051906020012092505b50808061129c90611fdf565b915050611205565b508381149150509392505050565b6000611314826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166113799092919063ffffffff16565b90506000815111156113745780806020019051810190611334919061179f565b611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90611e17565b60405180910390fd5b5b505050565b60606113888484600085611391565b90509392505050565b6060824710156113d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cd90611d97565b60405180910390fd5b6113df85611163565b61141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590611df7565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516114479190611b5f565b60006040518083038185875af1925050503d8060008114611484576040519150601f19603f3d011682016040523d82523d6000602084013e611489565b606091505b50915091506114998282866114a5565b92505050949350505050565b606083156114b557829050611505565b6000835111156114c85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc9190611c95565b60405180910390fd5b9392505050565b600061151f61151a84611e97565b611e72565b90508083825260208201905082856020860282011115611542576115416120f2565b5b60005b85811015611572578161155888826115e9565b845260208401935060208301925050600181019050611545565b5050509392505050565b60008135905061158b816123a6565b92915050565b600082601f8301126115a6576115a56120ed565b5b81356115b684826020860161150c565b91505092915050565b6000813590506115ce816123bd565b92915050565b6000815190506115e3816123bd565b92915050565b6000813590506115f8816123d4565b92915050565b60008135905061160d816123eb565b92915050565b600060208284031215611629576116286120fc565b5b60006116378482850161157c565b91505092915050565b6000806000806080858703121561165a576116596120fc565b5b60006116688782880161157c565b94505060206116798782880161157c565b935050604061168a878288016115fe565b925050606085013567ffffffffffffffff8111156116ab576116aa6120f7565b5b6116b787828801611591565b91505092959194509250565b600080604083850312156116da576116d96120fc565b5b60006116e88582860161157c565b92505060206116f9858286016115fe565b9150509250929050565b60008060006060848603121561171c5761171b6120fc565b5b600061172a8682870161157c565b935050602061173b868287016115fe565b925050604084013567ffffffffffffffff81111561175c5761175b6120f7565b5b61176886828701611591565b9150509250925092565b600060208284031215611788576117876120fc565b5b6000611796848285016115bf565b91505092915050565b6000602082840312156117b5576117b46120fc565b5b60006117c3848285016115d4565b91505092915050565b6000602082840312156117e2576117e16120fc565b5b60006117f0848285016115e9565b91505092915050565b600080604083850312156118105761180f6120fc565b5b600061181e858286016115fe565b925050602083013567ffffffffffffffff81111561183f5761183e6120f7565b5b61184b85828601611591565b9150509250929050565b61185e81611f29565b82525050565b61187561187082611f29565b612028565b82525050565b61188481611f3b565b82525050565b61189381611f47565b82525050565b6118aa6118a582611f47565b61203a565b82525050565b60006118bb82611ec3565b6118c58185611ed9565b93506118d5818560208601611f7b565b80840191505092915050565b60006118ec82611ece565b6118f68185611ee4565b9350611906818560208601611f7b565b61190f81612101565b840191505092915050565b6000611927600c83611ee4565b91506119328261211f565b602082019050919050565b600061194a601d83611ee4565b915061195582612148565b602082019050919050565b600061196d602683611ee4565b915061197882612171565b604082019050919050565b6000611990600e83611ee4565b915061199b826121c0565b602082019050919050565b60006119b3600e83611ee4565b91506119be826121e9565b602082019050919050565b60006119d6600f83611ee4565b91506119e182612212565b602082019050919050565b60006119f9600e83611ee4565b9150611a048261223b565b602082019050919050565b6000611a1c602683611ee4565b9150611a2782612264565b604082019050919050565b6000611a3f600783611ee4565b9150611a4a826122b3565b602082019050919050565b6000611a62602083611ee4565b9150611a6d826122dc565b602082019050919050565b6000611a85601d83611ee4565b9150611a9082612305565b602082019050919050565b6000611aa8602a83611ee4565b9150611ab38261232e565b604082019050919050565b6000611acb601f83611ee4565b9150611ad68261237d565b602082019050919050565b611aea81611f71565b82525050565b611b01611afc82611f71565b612056565b82525050565b6000611b138285611864565b601482019150611b238284611af0565b6020820191508190509392505050565b6000611b3f8285611899565b602082019150611b4f8284611899565b6020820191508190509392505050565b6000611b6b82846118b0565b915081905092915050565b6000602082019050611b8b6000830184611855565b92915050565b6000608082019050611ba66000830187611855565b611bb36020830186611855565b611bc06040830185611855565b611bcd6060830184611ae1565b95945050505050565b6000606082019050611beb6000830186611855565b611bf86020830185611855565b611c056040830184611ae1565b949350505050565b6000604082019050611c226000830185611855565b611c2f6020830184611ae1565b9392505050565b6000602082019050611c4b600083018461187b565b92915050565b6000602082019050611c66600083018461188a565b92915050565b6000604082019050611c81600083018561188a565b611c8e602083018461188a565b9392505050565b60006020820190508181036000830152611caf81846118e1565b905092915050565b60006020820190508181036000830152611cd08161191a565b9050919050565b60006020820190508181036000830152611cf08161193d565b9050919050565b60006020820190508181036000830152611d1081611960565b9050919050565b60006020820190508181036000830152611d3081611983565b9050919050565b60006020820190508181036000830152611d50816119a6565b9050919050565b60006020820190508181036000830152611d70816119c9565b9050919050565b60006020820190508181036000830152611d90816119ec565b9050919050565b60006020820190508181036000830152611db081611a0f565b9050919050565b60006020820190508181036000830152611dd081611a32565b9050919050565b60006020820190508181036000830152611df081611a55565b9050919050565b60006020820190508181036000830152611e1081611a78565b9050919050565b60006020820190508181036000830152611e3081611a9b565b9050919050565b60006020820190508181036000830152611e5081611abe565b9050919050565b6000602082019050611e6c6000830184611ae1565b92915050565b6000611e7c611e8d565b9050611e888282611fae565b919050565b6000604051905090565b600067ffffffffffffffff821115611eb257611eb16120be565b5b602082029050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611f0082611f71565b9150611f0b83611f71565b925082821015611f1e57611f1d612060565b5b828203905092915050565b6000611f3482611f51565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015611f99578082015181840152602081019050611f7e565b83811115611fa8576000848401525b50505050565b611fb782612101565b810181811067ffffffffffffffff82111715611fd657611fd56120be565b5b80604052505050565b6000611fea82611f71565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561201d5761201c612060565b5b600182019050919050565b600061203382612044565b9050919050565b6000819050919050565b600061204f82612112565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f636c61696d207061757365640000000000000000000000000000000000000000600082015250565b7f63726574683252657061796d656e7420636f6e7472616374206f6e6c79000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f74206120636f6e7472616374000000000000000000000000000000000000600082015250565b7f696e76616c696420706175736564000000000000000000000000000000000000600082015250565b7f616c726561647920636c61696d65640000000000000000000000000000000000600082015250565b7f696e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f636c61696d656400000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6123af81611f29565b81146123ba57600080fd5b50565b6123c681611f3b565b81146123d157600080fd5b50565b6123dd81611f47565b81146123e857600080fd5b50565b6123f481611f71565b81146123ff57600080fd5b5056fea2646970667358221220f095aa33ed660ade576aa3ef50f1a5835ef316c97f1c72319dae7f7f2e202f3764736f6c63430008070033c9b1514c15275cafe27bbaada552aefd89e38c665eeb067f9315701c3d4932a6000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c80637c8fd2eb116100a257806391f744d51161007157806391f744d514610293578063c0f4709f146102af578063c884ef83146102cb578063eb9253c0146102fb578063f2fde38b1461031757610116565b80637c8fd2eb1461021f578063817dccf01461023b57806389a30271146102575780638da5cb5b1461027557610116565b8063407b155a116100e9578063407b155a1461018d578063429cead1146101a9578063486cdd06146101d95780635c975abb146101f7578063715018a61461021557610116565b806302329a291461011b5780630dd230fb146101375780632eb4a7ab146101535780632f52ebb714610171575b600080fd5b61013560048036038101906101309190611772565b610333565b005b610151600480360381019061014c9190611613565b610459565b005b61015b610519565b6040516101689190611c51565b60405180910390f35b61018b600480360381019061018691906117f9565b61051f565b005b6101a760048036038101906101a29190611703565b61052f565b005b6101c360048036038101906101be9190611613565b610540565b6040516101d09190611e57565b60405180910390f35b6101e1610558565b6040516101ee9190611b76565b60405180910390f35b6101ff61057e565b60405161020c9190611c36565b60405180910390f35b61021d610591565b005b61023960048036038101906102349190611703565b610619565b005b610255600480360381019061025091906116c3565b6106ba565b005b61025f6108ad565b60405161026c9190611b76565b60405180910390f35b61027d6108d1565b60405161028a9190611b76565b60405180910390f35b6102ad60048036038101906102a891906117cc565b6108fa565b005b6102c960048036038101906102c49190611640565b6109c1565b005b6102e560048036038101906102e09190611613565b610a97565b6040516102f29190611c36565b60405180910390f35b610315600480360381019061031091906116c3565b610ab7565b005b610331600480360381019061032c9190611613565b610ba2565b005b61033b610c9a565b73ffffffffffffffffffffffffffffffffffffffff166103596108d1565b73ffffffffffffffffffffffffffffffffffffffff16146103af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a690611dd7565b60405180910390fd5b801515600360009054906101000a900460ff1615151415610405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103fc90611d37565b60405180910390fd5b80600360006101000a81548160ff0219169083151502179055507f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd28160405161044e9190611c36565b60405180910390a150565b610461610c9a565b73ffffffffffffffffffffffffffffffffffffffff1661047f6108d1565b73ffffffffffffffffffffffffffffffffffffffff16146104d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104cc90611dd7565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60025481565b61052b33338484610ca2565b5050565b61053b33848484610ca2565b505050565b60046020528060005260406000206000915090505481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900460ff1681565b610599610c9a565b73ffffffffffffffffffffffffffffffffffffffff166105b76108d1565b73ffffffffffffffffffffffffffffffffffffffff161461060d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060490611dd7565b60405180910390fd5b610617600061109f565b565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a090611cd7565b60405180910390fd5b6106b583848484610ca2565b505050565b6106c2610c9a565b73ffffffffffffffffffffffffffffffffffffffff166106e06108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072d90611dd7565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156107c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ba90611d57565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481146108a95780600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fc5f4d2d234f92ba130f00e7f3e58be87e8e741dda9be9dbc6747de98392d7aef827f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48836040516108a093929190611bd6565b60405180910390a15b5050565b7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610902610c9a565b73ffffffffffffffffffffffffffffffffffffffff166109206108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096d90611dd7565b60405180910390fd5b60006002549050816002819055507ffd69edeceaf1d6832d935be1fba54ca93bf17e71520c6c9ffc08d6e9529f875781836040516109b5929190611c6c565b60405180910390a15050565b6109c9610c9a565b73ffffffffffffffffffffffffffffffffffffffff166109e76108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3490611dd7565b60405180910390fd5b610a4684611163565b610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c90611d17565b60405180910390fd5b610a9184848484610ca2565b50505050565b60056020528060005260406000206000915054906101000a900460ff1681565b610abf610c9a565b73ffffffffffffffffffffffffffffffffffffffff16610add6108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a90611dd7565b60405180910390fd5b610b65610b3e6108d1565b828473ffffffffffffffffffffffffffffffffffffffff166111769092919063ffffffff16565b7fb930d7c3c6896f70ea10a959f1d9a7c04e0467138efa4c7040570d4b8f4894b68282604051610b96929190611c0d565b60405180910390a15050565b610baa610c9a565b73ffffffffffffffffffffffffffffffffffffffff16610bc86108d1565b73ffffffffffffffffffffffffffffffffffffffff1614610c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1590611dd7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8590611cf7565b60405180910390fd5b610c978161109f565b50565b600033905090565b60026001541415610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf90611e37565b60405180910390fd5b600260018190555060001515600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610d83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7a90611db7565b60405180910390fd5b600360009054906101000a900460ff1615610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca90611cb7565b60405180910390fd5b60008483604051602001610de8929190611b07565b6040516020818303038152906040528051906020012090506000610e0f83600254846111fc565b905080610e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4890611d77565b60405180910390fd5b6001600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054841115611090577f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4873ffffffffffffffffffffffffffffffffffffffff1663a9059cbb86600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487610f789190611ef5565b6040518363ffffffff1660e01b8152600401610f95929190611c0d565b602060405180830381600087803b158015610faf57600080fd5b505af1158015610fc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe7919061179f565b507fc1405953cccdad6b442e266c84d66ad671e2534c6584f8e6ef92802f7ad294d586867f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48600460008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054886110779190611ef5565b6040516110879493929190611b91565b60405180910390a15b50506001808190555050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b6111f78363a9059cbb60e01b8484604051602401611195929190611c0d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506112b2565b505050565b60008082905060005b85518110156112a45760008682815181106112235761122261208f565b5b60200260200101519050808311611264578281604051602001611247929190611b33565b604051602081830303815290604052805190602001209250611290565b8083604051602001611277929190611b33565b6040516020818303038152906040528051906020012092505b50808061129c90611fdf565b915050611205565b508381149150509392505050565b6000611314826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166113799092919063ffffffff16565b90506000815111156113745780806020019051810190611334919061179f565b611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90611e17565b60405180910390fd5b5b505050565b60606113888484600085611391565b90509392505050565b6060824710156113d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cd90611d97565b60405180910390fd5b6113df85611163565b61141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590611df7565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516114479190611b5f565b60006040518083038185875af1925050503d8060008114611484576040519150601f19603f3d011682016040523d82523d6000602084013e611489565b606091505b50915091506114998282866114a5565b92505050949350505050565b606083156114b557829050611505565b6000835111156114c85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc9190611c95565b60405180910390fd5b9392505050565b600061151f61151a84611e97565b611e72565b90508083825260208201905082856020860282011115611542576115416120f2565b5b60005b85811015611572578161155888826115e9565b845260208401935060208301925050600181019050611545565b5050509392505050565b60008135905061158b816123a6565b92915050565b600082601f8301126115a6576115a56120ed565b5b81356115b684826020860161150c565b91505092915050565b6000813590506115ce816123bd565b92915050565b6000815190506115e3816123bd565b92915050565b6000813590506115f8816123d4565b92915050565b60008135905061160d816123eb565b92915050565b600060208284031215611629576116286120fc565b5b60006116378482850161157c565b91505092915050565b6000806000806080858703121561165a576116596120fc565b5b60006116688782880161157c565b94505060206116798782880161157c565b935050604061168a878288016115fe565b925050606085013567ffffffffffffffff8111156116ab576116aa6120f7565b5b6116b787828801611591565b91505092959194509250565b600080604083850312156116da576116d96120fc565b5b60006116e88582860161157c565b92505060206116f9858286016115fe565b9150509250929050565b60008060006060848603121561171c5761171b6120fc565b5b600061172a8682870161157c565b935050602061173b868287016115fe565b925050604084013567ffffffffffffffff81111561175c5761175b6120f7565b5b61176886828701611591565b9150509250925092565b600060208284031215611788576117876120fc565b5b6000611796848285016115bf565b91505092915050565b6000602082840312156117b5576117b46120fc565b5b60006117c3848285016115d4565b91505092915050565b6000602082840312156117e2576117e16120fc565b5b60006117f0848285016115e9565b91505092915050565b600080604083850312156118105761180f6120fc565b5b600061181e858286016115fe565b925050602083013567ffffffffffffffff81111561183f5761183e6120f7565b5b61184b85828601611591565b9150509250929050565b61185e81611f29565b82525050565b61187561187082611f29565b612028565b82525050565b61188481611f3b565b82525050565b61189381611f47565b82525050565b6118aa6118a582611f47565b61203a565b82525050565b60006118bb82611ec3565b6118c58185611ed9565b93506118d5818560208601611f7b565b80840191505092915050565b60006118ec82611ece565b6118f68185611ee4565b9350611906818560208601611f7b565b61190f81612101565b840191505092915050565b6000611927600c83611ee4565b91506119328261211f565b602082019050919050565b600061194a601d83611ee4565b915061195582612148565b602082019050919050565b600061196d602683611ee4565b915061197882612171565b604082019050919050565b6000611990600e83611ee4565b915061199b826121c0565b602082019050919050565b60006119b3600e83611ee4565b91506119be826121e9565b602082019050919050565b60006119d6600f83611ee4565b91506119e182612212565b602082019050919050565b60006119f9600e83611ee4565b9150611a048261223b565b602082019050919050565b6000611a1c602683611ee4565b9150611a2782612264565b604082019050919050565b6000611a3f600783611ee4565b9150611a4a826122b3565b602082019050919050565b6000611a62602083611ee4565b9150611a6d826122dc565b602082019050919050565b6000611a85601d83611ee4565b9150611a9082612305565b602082019050919050565b6000611aa8602a83611ee4565b9150611ab38261232e565b604082019050919050565b6000611acb601f83611ee4565b9150611ad68261237d565b602082019050919050565b611aea81611f71565b82525050565b611b01611afc82611f71565b612056565b82525050565b6000611b138285611864565b601482019150611b238284611af0565b6020820191508190509392505050565b6000611b3f8285611899565b602082019150611b4f8284611899565b6020820191508190509392505050565b6000611b6b82846118b0565b915081905092915050565b6000602082019050611b8b6000830184611855565b92915050565b6000608082019050611ba66000830187611855565b611bb36020830186611855565b611bc06040830185611855565b611bcd6060830184611ae1565b95945050505050565b6000606082019050611beb6000830186611855565b611bf86020830185611855565b611c056040830184611ae1565b949350505050565b6000604082019050611c226000830185611855565b611c2f6020830184611ae1565b9392505050565b6000602082019050611c4b600083018461187b565b92915050565b6000602082019050611c66600083018461188a565b92915050565b6000604082019050611c81600083018561188a565b611c8e602083018461188a565b9392505050565b60006020820190508181036000830152611caf81846118e1565b905092915050565b60006020820190508181036000830152611cd08161191a565b9050919050565b60006020820190508181036000830152611cf08161193d565b9050919050565b60006020820190508181036000830152611d1081611960565b9050919050565b60006020820190508181036000830152611d3081611983565b9050919050565b60006020820190508181036000830152611d50816119a6565b9050919050565b60006020820190508181036000830152611d70816119c9565b9050919050565b60006020820190508181036000830152611d90816119ec565b9050919050565b60006020820190508181036000830152611db081611a0f565b9050919050565b60006020820190508181036000830152611dd081611a32565b9050919050565b60006020820190508181036000830152611df081611a55565b9050919050565b60006020820190508181036000830152611e1081611a78565b9050919050565b60006020820190508181036000830152611e3081611a9b565b9050919050565b60006020820190508181036000830152611e5081611abe565b9050919050565b6000602082019050611e6c6000830184611ae1565b92915050565b6000611e7c611e8d565b9050611e888282611fae565b919050565b6000604051905090565b600067ffffffffffffffff821115611eb257611eb16120be565b5b602082029050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000611f0082611f71565b9150611f0b83611f71565b925082821015611f1e57611f1d612060565b5b828203905092915050565b6000611f3482611f51565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015611f99578082015181840152602081019050611f7e565b83811115611fa8576000848401525b50505050565b611fb782612101565b810181811067ffffffffffffffff82111715611fd657611fd56120be565b5b80604052505050565b6000611fea82611f71565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561201d5761201c612060565b5b600182019050919050565b600061203382612044565b9050919050565b6000819050919050565b600061204f82612112565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f636c61696d207061757365640000000000000000000000000000000000000000600082015250565b7f63726574683252657061796d656e7420636f6e7472616374206f6e6c79000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f74206120636f6e7472616374000000000000000000000000000000000000600082015250565b7f696e76616c696420706175736564000000000000000000000000000000000000600082015250565b7f616c726561647920636c61696d65640000000000000000000000000000000000600082015250565b7f696e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f636c61696d656400000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6123af81611f29565b81146123ba57600080fd5b50565b6123c681611f3b565b81146123d157600080fd5b50565b6123dd81611f47565b81146123e857600080fd5b50565b6123f481611f71565b81146123ff57600080fd5b5056fea2646970667358221220f095aa33ed660ade576aa3ef50f1a5835ef316c97f1c72319dae7f7f2e202f3764736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
c9b1514c15275cafe27bbaada552aefd89e38c665eeb067f9315701c3d4932a6000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0xc9b1514c15275cafe27bbaada552aefd89e38c665eeb067f9315701c3d4932a6
Arg [1] : _token (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : c9b1514c15275cafe27bbaada552aefd89e38c665eeb067f9315701c3d4932a6
Arg [1] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.000815 | 1,000 | $0.8145 |
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.