More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
FeeRecipientV2
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 800 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.26; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract FeeRecipientV2 { using SafeERC20 for IERC20; address public owner; address public feeManager; mapping(address => uint256) public recipientShares; address[] public recipients; event Send(address token, address recipient, uint256 amount); event SendNative(address recipient, uint256 amount); event RecipientAdded(address recipient, uint256 share); event RecipientRemoved(address recipient); event ShareUpdated(address recipient, uint256 share); event OwnershipTransferred(address oldOwner, address newOwner); event FeeManagerTransferred(address oldFeeManager, address newFeeManager); event RescueERC20(address token, address to, uint256 amount); constructor(address _owner, address _feeManager) { owner = _owner; feeManager = _feeManager; } function addRecipient(address _recipient, uint256 _share) external onlyOwner { require(_recipient != address(0), "Cannot add zero address as recipient"); require(!isRecipient(_recipient), "Recipient already added"); recipients.push(_recipient); recipientShares[_recipient] = _share; emit RecipientAdded(_recipient, _share); } function isRecipient(address _address) public view returns (bool) { for (uint256 i = 0; i < recipients.length; i++) { if (recipients[i] == _address) { return true; } } return false; } function removeRecipient(address _recipient) external onlyOwner returns (bool) { for (uint256 i = 0; i < recipients.length; i++) { if (recipients[i] == _recipient) { recipientShares[_recipient] = 0; recipients[i] = recipients[recipients.length - 1]; recipients.pop(); emit RecipientRemoved(_recipient); return true; } } revert("Recipient not found"); } function setRecipientShare(address _recipient, uint256 _share) external onlyOwner { require(isRecipient(_recipient), "Address is not a valid recipient"); require(_share > 0, "Share must be greater than 0"); recipientShares[_recipient] = _share; emit ShareUpdated(_recipient, _share); } function sendToken(address[] calldata tokens) external onlyFeeManagerOrRecipient { uint256 totalShares = 0; uint256 precisionFactor = 10**36; // Calculate the total shares for (uint256 i = 0; i < recipients.length; i++) { totalShares = totalShares + recipientShares[recipients[i]]; } // Process each token for (uint256 t = 0; t < tokens.length; t++) { address token = tokens[t]; uint256 totalAmount = IERC20(token).balanceOf(address(this)); // Distribute token according to the shares for (uint256 i = 0; i < recipients.length; i++) { address recipient = recipients[i]; uint256 share = recipientShares[recipient]; uint256 amountToSend = totalAmount * share * precisionFactor / totalShares / precisionFactor; if (amountToSend > 0) { IERC20(token).safeTransfer(recipient, amountToSend); emit Send(token, recipient, amountToSend); } } } } function sendNative() external onlyFeeManagerOrRecipient { uint256 totalShares = 0; uint256 precisionFactor = 10**36; uint256 totalAmount = address(this).balance; require(totalAmount > 0, "No native balance to distribute"); // Calculate the total shares for (uint256 i = 0; i < recipients.length; i++) { totalShares = totalShares + recipientShares[recipients[i]]; } // Distribute native tokens according to the shares for (uint256 i = 0; i < recipients.length; i++) { address recipient = recipients[i]; uint256 share = recipientShares[recipient]; uint256 amountToSend = totalAmount * share * precisionFactor / totalShares / precisionFactor; if (amountToSend > 0) { (bool success, ) = payable(recipient).call{value: amountToSend}(""); require(success, "Native transfer failed"); emit SendNative(recipient, amountToSend); } } } function transferOwnership(address newOwner) external onlyOwner { require(newOwner != address(0), "New owner cannot be the zero address"); require(newOwner != owner, "New owner must be different"); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } function transferFeeManager(address newFeeManager) external onlyOwner { require(newFeeManager != address(0), "New fee manager cannot be the zero address"); require(newFeeManager != feeManager, "New fee manager must be different"); emit FeeManagerTransferred(feeManager, newFeeManager); feeManager = newFeeManager; } function rescueERC20(address tokenAddress, address to, uint256 amount) external onlyOwner { IERC20(tokenAddress).safeTransfer(to, amount); emit RescueERC20(tokenAddress, to, amount); } // Add ability to receive ETH receive() external payable {} modifier onlyOwner { require(msg.sender == owner, "only owner"); _; } modifier onlyFeeManager { require(msg.sender == feeManager, "only fee manager"); _; } modifier onlyFeeManagerOrRecipient() { require(msg.sender == feeManager || isRecipient(msg.sender), "Caller is not fee manager or recipient"); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; import {IERC20Permit} from "../extensions/IERC20Permit.sol"; import {Address} from "../../../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; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } }
{ "remappings": [ "@ensdomains/=lib/v4-periphery/lib/v4-core/node_modules/@ensdomains/", "@openzeppelin/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/", "@openzeppelin/contracts/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/contracts/", "@uniswap/v4-core/=lib/v4-periphery/lib/v4-core/", "ds-test/=lib/v4-periphery/lib/v4-core/lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-gas-snapshot/=lib/v4-periphery/lib/forge-gas-snapshot/src/", "forge-std/=lib/forge-std/src/", "hardhat/=lib/v4-periphery/lib/v4-core/node_modules/hardhat/", "openzeppelin-contracts/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/", "permit2/=lib/v4-periphery/lib/permit2/", "solmate/=lib/v4-periphery/lib/v4-core/lib/solmate/", "v4-core/=lib/v4-periphery/lib/v4-core/src/", "v4-periphery/=lib/v4-periphery/" ], "optimizer": { "enabled": true, "runs": 800 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "cancun", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_feeManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldFeeManager","type":"address"},{"indexed":false,"internalType":"address","name":"newFeeManager","type":"address"}],"name":"FeeManagerTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"}],"name":"RecipientAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"}],"name":"RecipientRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RescueERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Send","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendNative","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"}],"name":"ShareUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_share","type":"uint256"}],"name":"addRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isRecipient","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"recipientShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"recipients","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"removeRecipient","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"sendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_share","type":"uint256"}],"name":"setRecipientShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newFeeManager","type":"address"}],"name":"transferFeeManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052348015600e575f80fd5b50604051611590380380611590833981016040819052602b916074565b5f80546001600160a01b039384166001600160a01b0319918216179091556001805492909316911617905560a0565b80516001600160a01b0381168114606f575f80fd5b919050565b5f80604083850312156084575f80fd5b608b83605a565b9150609760208401605a565b90509250929050565b6114e3806100ad5f395ff3fe6080604052600436106100d1575f3560e01c8063949d393f1161007c578063d0fb020311610057578063d0fb020314610230578063d1bc76a11461024f578063f2fde38b1461026e578063f79822431461028d575f80fd5b8063949d393f146101b9578063b2118a8d146101f2578063cf5b90f014610211575f80fd5b806385017419116100ac57806385017419146101455780638c5143ea146101645780638da5cb5b14610183575f80fd5b80630aab3491146100dc57806312a29198146100f2578063649585df14610126575f80fd5b366100d857005b5f80fd5b3480156100e7575f80fd5b506100f06102ac565b005b3480156100fd575f80fd5b5061011161010c3660046112c6565b610551565b60405190151581526020015b60405180910390f35b348015610131575f80fd5b506100f06101403660046112df565b610737565b348015610150575f80fd5b506100f061015f3660046112c6565b610879565b34801561016f575f80fd5b5061011161017e3660046112c6565b610a0c565b34801561018e575f80fd5b505f546101a1906001600160a01b031681565b6040516001600160a01b03909116815260200161011d565b3480156101c4575f80fd5b506101e46101d33660046112c6565b60026020525f908152604090205481565b60405190815260200161011d565b3480156101fd575f80fd5b506100f061020c366004611307565b610a68565b34801561021c575f80fd5b506100f061022b366004611341565b610b12565b34801561023b575f80fd5b506001546101a1906001600160a01b031681565b34801561025a575f80fd5b506101a16102693660046113b2565b610d8c565b348015610279575f80fd5b506100f06102883660046112c6565b610db4565b348015610298575f80fd5b506100f06102a73660046112df565b610f20565b6001546001600160a01b03163314806102c957506102c933610a0c565b6103295760405162461bcd60e51b815260206004820152602660248201527f43616c6c6572206973206e6f7420666565206d616e61676572206f72207265636044820152651a5c1a595b9d60d21b60648201526084015b60405180910390fd5b5f6ec097ce7bc90715b34b9f100000000047806103885760405162461bcd60e51b815260206004820152601f60248201527f4e6f206e61746976652062616c616e636520746f2064697374726962757465006044820152606401610320565b5f5b6003548110156103e25760025f600383815481106103aa576103aa6113c9565b5f9182526020808320909101546001600160a01b031683528201929092526040019020546103d890856113f1565b935060010161038a565b505f5b60035481101561054b575f60038281548110610403576104036113c9565b5f9182526020808320909101546001600160a01b031680835260029091526040822054909250908587816104378589611404565b6104419190611404565b61044b919061141b565b610455919061141b565b90508015610540575f836001600160a01b0316826040515f6040518083038185875af1925050503d805f81146104a6576040519150601f19603f3d011682016040523d82523d5f602084013e6104ab565b606091505b50509050806104fc5760405162461bcd60e51b815260206004820152601660248201527f4e6174697665207472616e73666572206661696c6564000000000000000000006044820152606401610320565b604080516001600160a01b0386168152602081018490527fd6681058c96118739550776f69e8932654e1b0424f31b71e1dfa0bbc05ddd63e910160405180910390a1505b5050506001016103e5565b50505050565b5f80546001600160a01b031633146105985760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b5f5b6003548110156106e957826001600160a01b0316600382815481106105c1576105c16113c9565b5f918252602090912001546001600160a01b0316036106e1576001600160a01b0383165f90815260026020526040812055600380546106029060019061143a565b81548110610612576106126113c9565b5f91825260209091200154600380546001600160a01b03909216918390811061063d5761063d6113c9565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060038054806106795761067961144d565b5f8281526020908190205f19908301810180546001600160a01b03191690559091019091556040516001600160a01b03851681527f8176fc5412eb5076fee7f1a264915b808c24d495c2698c189030e5200e707d25910160405180910390a150600192915050565b60010161059a565b5060405162461bcd60e51b815260206004820152601360248201527f526563697069656e74206e6f7420666f756e64000000000000000000000000006044820152606401610320565b919050565b5f546001600160a01b0316331461077d5760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b61078682610a0c565b6107d25760405162461bcd60e51b815260206004820181905260248201527f41646472657373206973206e6f7420612076616c696420726563697069656e746044820152606401610320565b5f81116108215760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e2030000000006044820152606401610320565b6001600160a01b0382165f81815260026020908152604091829020849055815192835282018390527f465bc1e774b3c331b04932a22f9781dbb864defe943d70548ba9b8af6c528b5c91015b60405180910390a15050565b5f546001600160a01b031633146108bf5760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b6001600160a01b03811661093b5760405162461bcd60e51b815260206004820152602a60248201527f4e657720666565206d616e616765722063616e6e6f7420626520746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610320565b6001546001600160a01b03908116908216036109a35760405162461bcd60e51b815260206004820152602160248201527f4e657720666565206d616e61676572206d75737420626520646966666572656e6044820152601d60fa1b6064820152608401610320565b600154604080516001600160a01b03928316815291831660208301527f458ac19feaabeca5cd95975f380b25f9a7027fb8b06827543e60b42bf165aa50910160405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f805b600354811015610a6057826001600160a01b031660038281548110610a3657610a366113c9565b5f918252602090912001546001600160a01b031603610a585750600192915050565b600101610a0f565b505f92915050565b5f546001600160a01b03163314610aae5760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b610ac26001600160a01b03841683836110ad565b604080516001600160a01b038086168252841660208201529081018290527f9b793652de97f04c5168920587bad4b1c6345295a8f5ad31c59ff946a26f91d29060600160405180910390a1505050565b6001546001600160a01b0316331480610b2f5750610b2f33610a0c565b610b8a5760405162461bcd60e51b815260206004820152602660248201527f43616c6c6572206973206e6f7420666565206d616e61676572206f72207265636044820152651a5c1a595b9d60d21b6064820152608401610320565b5f6ec097ce7bc90715b34b9f1000000000815b600354811015610bf55760025f60038381548110610bbd57610bbd6113c9565b5f9182526020808320909101546001600160a01b03168352820192909252604001902054610beb90846113f1565b9250600101610b9d565b505f5b83811015610d85575f858583818110610c1357610c136113c9565b9050602002016020810190610c2891906112c6565b6040516370a0823160e01b81523060048201529091505f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c939190611461565b90505f5b600354811015610d7a575f60038281548110610cb557610cb56113c9565b5f9182526020808320909101546001600160a01b03168083526002909152604082205490925090878981610ce98589611404565b610cf39190611404565b610cfd919061141b565b610d07919061141b565b90508015610d6f57610d236001600160a01b03871684836110ad565b604080516001600160a01b038089168252851660208201529081018290527f93eb3c629eb575edaf0252e4f9fc0c5ccada50496f8c1d32f0f93a65a8257eb59060600160405180910390a15b505050600101610c97565b505050600101610bf8565b5050505050565b60038181548110610d9b575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f546001600160a01b03163314610dfa5760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b6001600160a01b038116610e5c5760405162461bcd60e51b8152602060048201526024808201527f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164646044820152637265737360e01b6064820152608401610320565b5f546001600160a01b0390811690821603610eb95760405162461bcd60e51b815260206004820152601b60248201527f4e6577206f776e6572206d75737420626520646966666572656e7400000000006044820152606401610320565b5f54604080516001600160a01b03928316815291831660208301527f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0910160405180910390a15f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314610f665760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b6001600160a01b038216610fc85760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420616464207a65726f20616464726573732061732072656369706044820152631a595b9d60e21b6064820152608401610320565b610fd182610a0c565b1561101e5760405162461bcd60e51b815260206004820152601760248201527f526563697069656e7420616c72656164792061646465640000000000000000006044820152606401610320565b60038054600181019091557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0384169081179091555f81815260026020908152604091829020849055815192835282018390527f79e1204b22e0669817ad586b72c3139f6c32afa18749b53228050f4c7f696467910161086d565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b179052611114908490611119565b505050565b5f61112d6001600160a01b0384168361117a565b905080515f1415801561115157508080602001905181019061114f9190611478565b155b1561111457604051635274afe760e01b81526001600160a01b0384166004820152602401610320565b606061118783835f611190565b90505b92915050565b6060814710156111b55760405163cd78605960e01b8152306004820152602401610320565b5f80856001600160a01b031684866040516111d09190611497565b5f6040518083038185875af1925050503d805f811461120a576040519150601f19603f3d011682016040523d82523d5f602084013e61120f565b606091505b509150915061121f86838361122b565b925050505b9392505050565b6060826112405761123b82611287565b611224565b815115801561125757506001600160a01b0384163b155b1561128057604051639996b31560e01b81526001600160a01b0385166004820152602401610320565b5080611224565b8051156112975780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b0381168114610732575f80fd5b5f602082840312156112d6575f80fd5b611187826112b0565b5f80604083850312156112f0575f80fd5b6112f9836112b0565b946020939093013593505050565b5f805f60608486031215611319575f80fd5b611322846112b0565b9250611330602085016112b0565b929592945050506040919091013590565b5f8060208385031215611352575f80fd5b823567ffffffffffffffff811115611368575f80fd5b8301601f81018513611378575f80fd5b803567ffffffffffffffff81111561138e575f80fd5b8560208260051b84010111156113a2575f80fd5b6020919091019590945092505050565b5f602082840312156113c2575f80fd5b5035919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561118a5761118a6113dd565b808202811582820484141761118a5761118a6113dd565b5f8261143557634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561118a5761118a6113dd565b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215611471575f80fd5b5051919050565b5f60208284031215611488575f80fd5b81518015158114611224575f80fd5b5f82518060208501845e5f92019182525091905056fea26469706673582212205bb22747cd031f796749e3353794bf1f9d564a50a0d570f65b930b660a4f326964736f6c634300081a003300000000000000000000000071e7d05be74ff748c45402c06a941c822d756dc50000000000000000000000008ec9f5d1d44b49431ddbdaed9bad2dabd4920f37
Deployed Bytecode
0x6080604052600436106100d1575f3560e01c8063949d393f1161007c578063d0fb020311610057578063d0fb020314610230578063d1bc76a11461024f578063f2fde38b1461026e578063f79822431461028d575f80fd5b8063949d393f146101b9578063b2118a8d146101f2578063cf5b90f014610211575f80fd5b806385017419116100ac57806385017419146101455780638c5143ea146101645780638da5cb5b14610183575f80fd5b80630aab3491146100dc57806312a29198146100f2578063649585df14610126575f80fd5b366100d857005b5f80fd5b3480156100e7575f80fd5b506100f06102ac565b005b3480156100fd575f80fd5b5061011161010c3660046112c6565b610551565b60405190151581526020015b60405180910390f35b348015610131575f80fd5b506100f06101403660046112df565b610737565b348015610150575f80fd5b506100f061015f3660046112c6565b610879565b34801561016f575f80fd5b5061011161017e3660046112c6565b610a0c565b34801561018e575f80fd5b505f546101a1906001600160a01b031681565b6040516001600160a01b03909116815260200161011d565b3480156101c4575f80fd5b506101e46101d33660046112c6565b60026020525f908152604090205481565b60405190815260200161011d565b3480156101fd575f80fd5b506100f061020c366004611307565b610a68565b34801561021c575f80fd5b506100f061022b366004611341565b610b12565b34801561023b575f80fd5b506001546101a1906001600160a01b031681565b34801561025a575f80fd5b506101a16102693660046113b2565b610d8c565b348015610279575f80fd5b506100f06102883660046112c6565b610db4565b348015610298575f80fd5b506100f06102a73660046112df565b610f20565b6001546001600160a01b03163314806102c957506102c933610a0c565b6103295760405162461bcd60e51b815260206004820152602660248201527f43616c6c6572206973206e6f7420666565206d616e61676572206f72207265636044820152651a5c1a595b9d60d21b60648201526084015b60405180910390fd5b5f6ec097ce7bc90715b34b9f100000000047806103885760405162461bcd60e51b815260206004820152601f60248201527f4e6f206e61746976652062616c616e636520746f2064697374726962757465006044820152606401610320565b5f5b6003548110156103e25760025f600383815481106103aa576103aa6113c9565b5f9182526020808320909101546001600160a01b031683528201929092526040019020546103d890856113f1565b935060010161038a565b505f5b60035481101561054b575f60038281548110610403576104036113c9565b5f9182526020808320909101546001600160a01b031680835260029091526040822054909250908587816104378589611404565b6104419190611404565b61044b919061141b565b610455919061141b565b90508015610540575f836001600160a01b0316826040515f6040518083038185875af1925050503d805f81146104a6576040519150601f19603f3d011682016040523d82523d5f602084013e6104ab565b606091505b50509050806104fc5760405162461bcd60e51b815260206004820152601660248201527f4e6174697665207472616e73666572206661696c6564000000000000000000006044820152606401610320565b604080516001600160a01b0386168152602081018490527fd6681058c96118739550776f69e8932654e1b0424f31b71e1dfa0bbc05ddd63e910160405180910390a1505b5050506001016103e5565b50505050565b5f80546001600160a01b031633146105985760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b5f5b6003548110156106e957826001600160a01b0316600382815481106105c1576105c16113c9565b5f918252602090912001546001600160a01b0316036106e1576001600160a01b0383165f90815260026020526040812055600380546106029060019061143a565b81548110610612576106126113c9565b5f91825260209091200154600380546001600160a01b03909216918390811061063d5761063d6113c9565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060038054806106795761067961144d565b5f8281526020908190205f19908301810180546001600160a01b03191690559091019091556040516001600160a01b03851681527f8176fc5412eb5076fee7f1a264915b808c24d495c2698c189030e5200e707d25910160405180910390a150600192915050565b60010161059a565b5060405162461bcd60e51b815260206004820152601360248201527f526563697069656e74206e6f7420666f756e64000000000000000000000000006044820152606401610320565b919050565b5f546001600160a01b0316331461077d5760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b61078682610a0c565b6107d25760405162461bcd60e51b815260206004820181905260248201527f41646472657373206973206e6f7420612076616c696420726563697069656e746044820152606401610320565b5f81116108215760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e2030000000006044820152606401610320565b6001600160a01b0382165f81815260026020908152604091829020849055815192835282018390527f465bc1e774b3c331b04932a22f9781dbb864defe943d70548ba9b8af6c528b5c91015b60405180910390a15050565b5f546001600160a01b031633146108bf5760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b6001600160a01b03811661093b5760405162461bcd60e51b815260206004820152602a60248201527f4e657720666565206d616e616765722063616e6e6f7420626520746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610320565b6001546001600160a01b03908116908216036109a35760405162461bcd60e51b815260206004820152602160248201527f4e657720666565206d616e61676572206d75737420626520646966666572656e6044820152601d60fa1b6064820152608401610320565b600154604080516001600160a01b03928316815291831660208301527f458ac19feaabeca5cd95975f380b25f9a7027fb8b06827543e60b42bf165aa50910160405180910390a1600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f805b600354811015610a6057826001600160a01b031660038281548110610a3657610a366113c9565b5f918252602090912001546001600160a01b031603610a585750600192915050565b600101610a0f565b505f92915050565b5f546001600160a01b03163314610aae5760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b610ac26001600160a01b03841683836110ad565b604080516001600160a01b038086168252841660208201529081018290527f9b793652de97f04c5168920587bad4b1c6345295a8f5ad31c59ff946a26f91d29060600160405180910390a1505050565b6001546001600160a01b0316331480610b2f5750610b2f33610a0c565b610b8a5760405162461bcd60e51b815260206004820152602660248201527f43616c6c6572206973206e6f7420666565206d616e61676572206f72207265636044820152651a5c1a595b9d60d21b6064820152608401610320565b5f6ec097ce7bc90715b34b9f1000000000815b600354811015610bf55760025f60038381548110610bbd57610bbd6113c9565b5f9182526020808320909101546001600160a01b03168352820192909252604001902054610beb90846113f1565b9250600101610b9d565b505f5b83811015610d85575f858583818110610c1357610c136113c9565b9050602002016020810190610c2891906112c6565b6040516370a0823160e01b81523060048201529091505f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c939190611461565b90505f5b600354811015610d7a575f60038281548110610cb557610cb56113c9565b5f9182526020808320909101546001600160a01b03168083526002909152604082205490925090878981610ce98589611404565b610cf39190611404565b610cfd919061141b565b610d07919061141b565b90508015610d6f57610d236001600160a01b03871684836110ad565b604080516001600160a01b038089168252851660208201529081018290527f93eb3c629eb575edaf0252e4f9fc0c5ccada50496f8c1d32f0f93a65a8257eb59060600160405180910390a15b505050600101610c97565b505050600101610bf8565b5050505050565b60038181548110610d9b575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f546001600160a01b03163314610dfa5760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b6001600160a01b038116610e5c5760405162461bcd60e51b8152602060048201526024808201527f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164646044820152637265737360e01b6064820152608401610320565b5f546001600160a01b0390811690821603610eb95760405162461bcd60e51b815260206004820152601b60248201527f4e6577206f776e6572206d75737420626520646966666572656e7400000000006044820152606401610320565b5f54604080516001600160a01b03928316815291831660208301527f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0910160405180910390a15f80546001600160a01b0319166001600160a01b0392909216919091179055565b5f546001600160a01b03163314610f665760405162461bcd60e51b815260206004820152600a60248201526937b7363c9037bbb732b960b11b6044820152606401610320565b6001600160a01b038216610fc85760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420616464207a65726f20616464726573732061732072656369706044820152631a595b9d60e21b6064820152608401610320565b610fd182610a0c565b1561101e5760405162461bcd60e51b815260206004820152601760248201527f526563697069656e7420616c72656164792061646465640000000000000000006044820152606401610320565b60038054600181019091557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0384169081179091555f81815260026020908152604091829020849055815192835282018390527f79e1204b22e0669817ad586b72c3139f6c32afa18749b53228050f4c7f696467910161086d565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b179052611114908490611119565b505050565b5f61112d6001600160a01b0384168361117a565b905080515f1415801561115157508080602001905181019061114f9190611478565b155b1561111457604051635274afe760e01b81526001600160a01b0384166004820152602401610320565b606061118783835f611190565b90505b92915050565b6060814710156111b55760405163cd78605960e01b8152306004820152602401610320565b5f80856001600160a01b031684866040516111d09190611497565b5f6040518083038185875af1925050503d805f811461120a576040519150601f19603f3d011682016040523d82523d5f602084013e61120f565b606091505b509150915061121f86838361122b565b925050505b9392505050565b6060826112405761123b82611287565b611224565b815115801561125757506001600160a01b0384163b155b1561128057604051639996b31560e01b81526001600160a01b0385166004820152602401610320565b5080611224565b8051156112975780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b0381168114610732575f80fd5b5f602082840312156112d6575f80fd5b611187826112b0565b5f80604083850312156112f0575f80fd5b6112f9836112b0565b946020939093013593505050565b5f805f60608486031215611319575f80fd5b611322846112b0565b9250611330602085016112b0565b929592945050506040919091013590565b5f8060208385031215611352575f80fd5b823567ffffffffffffffff811115611368575f80fd5b8301601f81018513611378575f80fd5b803567ffffffffffffffff81111561138e575f80fd5b8560208260051b84010111156113a2575f80fd5b6020919091019590945092505050565b5f602082840312156113c2575f80fd5b5035919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561118a5761118a6113dd565b808202811582820484141761118a5761118a6113dd565b5f8261143557634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561118a5761118a6113dd565b634e487b7160e01b5f52603160045260245ffd5b5f60208284031215611471575f80fd5b5051919050565b5f60208284031215611488575f80fd5b81518015158114611224575f80fd5b5f82518060208501845e5f92019182525091905056fea26469706673582212205bb22747cd031f796749e3353794bf1f9d564a50a0d570f65b930b660a4f326964736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000071e7d05be74ff748c45402c06a941c822d756dc50000000000000000000000008ec9f5d1d44b49431ddbdaed9bad2dabd4920f37
-----Decoded View---------------
Arg [0] : _owner (address): 0x71E7D05bE74fF748c45402c06A941c822d756dc5
Arg [1] : _feeManager (address): 0x8Ec9F5d1d44b49431ddbdAEd9bad2dAbD4920f37
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000071e7d05be74ff748c45402c06a941c822d756dc5
Arg [1] : 0000000000000000000000008ec9f5d1d44b49431ddbdaed9bad2dabd4920f37
Loading...
Loading
Loading...
Loading
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.