More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,581 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Send NFT | 21640221 | 7 hrs ago | IN | 0 ETH | 0.00034489 | ||||
Claim | 21640220 | 7 hrs ago | IN | 0.0055 ETH | 0.00020984 | ||||
Send NFT | 21636409 | 19 hrs ago | IN | 0 ETH | 0.00029092 | ||||
Claim | 21636408 | 19 hrs ago | IN | 0.0055 ETH | 0.00016679 | ||||
Send NFT | 21630072 | 41 hrs ago | IN | 0 ETH | 0.00038192 | ||||
Claim | 21630071 | 41 hrs ago | IN | 0.0055 ETH | 0.00019076 | ||||
Send NFT | 21622556 | 2 days ago | IN | 0 ETH | 0.00035531 | ||||
Claim | 21622555 | 2 days ago | IN | 0.0055 ETH | 0.00018099 | ||||
Send NFT | 21622142 | 2 days ago | IN | 0 ETH | 0.00036305 | ||||
Claim | 21622141 | 2 days ago | IN | 0.0055 ETH | 0.00021336 | ||||
Send NFT | 21621043 | 2 days ago | IN | 0 ETH | 0.00025893 | ||||
Claim | 21621042 | 2 days ago | IN | 0.0055 ETH | 0.00015316 | ||||
Send NFT | 21613998 | 3 days ago | IN | 0 ETH | 0.00023487 | ||||
Claim | 21613997 | 3 days ago | IN | 0.0055 ETH | 0.00013696 | ||||
Send NFT | 21610743 | 4 days ago | IN | 0 ETH | 0.00020421 | ||||
Claim | 21610742 | 4 days ago | IN | 0.0055 ETH | 0.00011065 | ||||
Send NFT | 21610296 | 4 days ago | IN | 0 ETH | 0.00026109 | ||||
Claim | 21610295 | 4 days ago | IN | 0.0055 ETH | 0.00015537 | ||||
Send NFT | 21610293 | 4 days ago | IN | 0 ETH | 0.00026388 | ||||
Claim | 21610292 | 4 days ago | IN | 0.0055 ETH | 0.00014575 | ||||
Send NFT | 21610273 | 4 days ago | IN | 0 ETH | 0.0002526 | ||||
Claim | 21610272 | 4 days ago | IN | 0.0055 ETH | 0.00014461 | ||||
Send NFT | 21609187 | 4 days ago | IN | 0 ETH | 0.00031612 | ||||
Claim | 21609186 | 4 days ago | IN | 0.0055 ETH | 0.00014863 | ||||
Add Multiple | 21607935 | 4 days ago | IN | 0 ETH | 0.00831772 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21640220 | 7 hrs ago | 0.0055 ETH | ||||
21636408 | 19 hrs ago | 0.0055 ETH | ||||
21630071 | 41 hrs ago | 0.0055 ETH | ||||
21622555 | 2 days ago | 0.0055 ETH | ||||
21622141 | 2 days ago | 0.0055 ETH | ||||
21621042 | 2 days ago | 0.0055 ETH | ||||
21613997 | 3 days ago | 0.0055 ETH | ||||
21610742 | 4 days ago | 0.0055 ETH | ||||
21610295 | 4 days ago | 0.0055 ETH | ||||
21610292 | 4 days ago | 0.0055 ETH | ||||
21610272 | 4 days ago | 0.0055 ETH | ||||
21609186 | 4 days ago | 0.0055 ETH | ||||
21604521 | 5 days ago | 0.0055 ETH | ||||
21601566 | 5 days ago | 0.0055 ETH | ||||
21601563 | 5 days ago | 0.0055 ETH | ||||
21599275 | 6 days ago | 0.0055 ETH | ||||
21597724 | 6 days ago | 0.0055 ETH | ||||
21597159 | 6 days ago | 0.0055 ETH | ||||
21596775 | 6 days ago | 0.0055 ETH | ||||
21592278 | 6 days ago | 0.0055 ETH | ||||
21587598 | 7 days ago | 0.0055 ETH | ||||
21585368 | 7 days ago | 0.0055 ETH | ||||
21585193 | 7 days ago | 0.0055 ETH | ||||
21583403 | 8 days ago | 0.0055 ETH | ||||
21583388 | 8 days ago | 0.0055 ETH |
Loading...
Loading
Contract Name:
StakeAwayNFT2
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract StakeAwayNFT2 is Ownable, Pausable, ReentrancyGuard { using Counters for Counters.Counter; Counters.Counter private nftIdCounter; address payable private managerAddress; uint256 private fixedFeeAmount; struct NFT { address stakingAddress; address payable sender; address contractAddress; uint256 tokenId; } // Mapping of nfts currently held in the contract. mapping(uint256 => NFT) private nfts; // Allow fee amount to be overridden on a contract-by-contract basis. mapping(address => uint256) private stakingFees; event Added(uint256 indexed nftId, address indexed contractAddress, uint256 indexed tokenId, address sender, address stakingAddress); event Removed(uint256 indexed nftId, address indexed contractAddress, uint256 indexed tokenId); event Claimed(address indexed stakingAddress, address indexed claimerAddress, uint256 indexed feeAmount); event PaymentSent(address indexed senderAddress, address indexed receiverAddress, uint256 amount); constructor(address payable managerAddress_, uint256 fixedFeeAmount_) { managerAddress = managerAddress_; fixedFeeAmount = fixedFeeAmount_; } function setManagerAddress(address payable managerAddress_) external onlyOwner { require(managerAddress_ != address(0), "Address missing"); managerAddress = managerAddress_; } function getManagerAddress() external view returns (address) { return managerAddress; } // fixedFeeAmount is in Wei function setFixedFeeAmount(uint256 fixedFeeAmount_) external onlyOwner { fixedFeeAmount = fixedFeeAmount_; } function getFixedFeeAmount() external view returns (uint256) { return fixedFeeAmount; } // Amounts are in Wei. function setStakingFeeAmount(address stakingAddress_, uint256 feeAmount_) external onlyOwner { require(stakingAddress_ != address(0), "Invalid address"); require(feeAmount_ > 0, "Invalid fee amount"); stakingFees[stakingAddress_] = feeAmount_; } function clearStakingFeeAmount(address stakingAddress_) external onlyOwner { uint256 feeAmount = stakingFees[stakingAddress_]; require(feeAmount > 0, "Invalid address"); delete stakingFees[stakingAddress_]; } function getStakingFeeAmount(address stakingAddress_) external view returns (uint256) { return stakingFees[stakingAddress_]; } function sendPayment(address payable receiverAddress) external payable nonReentrant onlyOwner { require(receiverAddress != address(0), "Address missing"); require(msg.value > 0, "Invalid amount"); (bool successFee,) = receiverAddress.call{value: msg.value}(""); require(successFee, "Payment failed"); emit PaymentSent(msg.sender, receiverAddress, msg.value); } function sendNFT(uint256 nftId, address receiverAddress) external nonReentrant onlyOwner { NFT memory nft = nfts[nftId]; require(nft.sender != address(0), "Invalid NFT"); require(receiverAddress != address(0), "Address missing"); delete nfts[nftId]; IERC721(nft.contractAddress).transferFrom(address(this), receiverAddress, nft.tokenId); emit Removed(nftId, nft.contractAddress, nft.tokenId); } // Return details about an NFT in the smart contract. function getNft(uint256 nftId) external view returns (NFT memory) { require(nfts[nftId].sender != address(0), "Invalid NFT"); return nfts[nftId]; } // Add an NFT to the smart contract. function add(address stakingAddress, address contractAddress, uint256 tokenId) external nonReentrant whenNotPaused { nftIdCounter.increment(); uint256 nftId = nftIdCounter.current(); NFT memory nft = NFT(stakingAddress, payable(msg.sender), contractAddress, tokenId); nfts[nftId] = nft; IERC721(contractAddress).transferFrom(msg.sender, address(this), tokenId); emit Added(nftId, contractAddress, tokenId, msg.sender, stakingAddress); } // Add mutiple NFTs from the same collection to the smart contract. function addMultiple(address stakingAddress, address contractAddress, uint256[] memory tokenIds) external nonReentrant whenNotPaused { uint256 no = tokenIds.length; require(no > 0 && no <= 50, "Invalid number"); for (uint256 i = 0; i < no; i++) { nftIdCounter.increment(); uint256 nftId = nftIdCounter.current(); NFT memory nft = NFT(stakingAddress, payable(msg.sender), contractAddress, tokenIds[i]); nfts[nftId] = nft; IERC721(contractAddress).transferFrom(msg.sender, address(this), tokenIds[i]); emit Added(nftId, contractAddress, tokenIds[i], msg.sender, stakingAddress); } } // Remove an NFT from the smart contract. function remove(uint256 nftId) external nonReentrant whenNotPaused { NFT memory nft = nfts[nftId]; require(nft.sender == msg.sender, "Invalid NFT"); delete nfts[nftId]; IERC721(nft.contractAddress).transferFrom(address(this), nft.sender, nft.tokenId); emit Removed(nftId, nft.contractAddress, nft.tokenId); } // Remove multiple NFTs from the smart contract. function removeMultiple(uint256[] memory nftIds) external nonReentrant whenNotPaused { uint256 no = nftIds.length; require(no > 0 && no <= 50, "Invalid number"); for (uint256 i = 0; i < no; i++) { NFT memory nft = nfts[nftIds[i]]; require(nft.sender == msg.sender, "Invalid NFT"); delete nfts[nftIds[i]]; IERC721(nft.contractAddress).transferFrom(address(this), nft.sender, nft.tokenId); emit Removed(nftIds[i], nft.contractAddress, nft.tokenId); } } function claim(address stakingAddress) external payable whenNotPaused { uint256 feeAmount = stakingFees[stakingAddress]; if (feeAmount == 0) { feeAmount = fixedFeeAmount; } require(msg.value == feeAmount, "Incorrect fee amount"); (bool successFee,) = managerAddress.call{value: feeAmount}(""); require(successFee, "Fee payment failed"); emit Claimed(stakingAddress, msg.sender, feeAmount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) 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 making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"managerAddress_","type":"address"},{"internalType":"uint256","name":"fixedFeeAmount_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":true,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"stakingAddress","type":"address"}],"name":"Added","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"stakingAddress","type":"address"},{"indexed":true,"internalType":"address","name":"claimerAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"Claimed","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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"senderAddress","type":"address"},{"indexed":true,"internalType":"address","name":"receiverAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"nftId","type":"uint256"},{"indexed":true,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Removed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"stakingAddress","type":"address"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingAddress","type":"address"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"addMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingAddress","type":"address"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingAddress_","type":"address"}],"name":"clearStakingFeeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getFixedFeeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getManagerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"getNft","outputs":[{"components":[{"internalType":"address","name":"stakingAddress","type":"address"},{"internalType":"address payable","name":"sender","type":"address"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"internalType":"struct StakeAwayNFT2.NFT","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"stakingAddress_","type":"address"}],"name":"getStakingFeeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"remove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"nftIds","type":"uint256[]"}],"name":"removeMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"},{"internalType":"address","name":"receiverAddress","type":"address"}],"name":"sendNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiverAddress","type":"address"}],"name":"sendPayment","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fixedFeeAmount_","type":"uint256"}],"name":"setFixedFeeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"managerAddress_","type":"address"}],"name":"setManagerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingAddress_","type":"address"},{"internalType":"uint256","name":"feeAmount_","type":"uint256"}],"name":"setStakingFeeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516117a33803806117a383398101604081905261002f916100c2565b61003833610072565b6000805460ff60a01b1916905560018055600380546001600160a01b0319166001600160a01b0393909316929092179091556004556100fc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100d557600080fd5b82516001600160a01b03811681146100ec57600080fd5b6020939093015192949293505050565b6116988061010b6000396000f3fe6080604052600436106101145760003560e01c80635c975abb116100a0578063c162d7da11610064578063c162d7da1461032c578063cec455fc1461034a578063dba817181461036a578063ece2b66f1461038a578063f2fde38b146103aa57600080fd5b80635c975abb14610288578063715018a6146102b257806374acc17c146102c75780638a7644a8146102e75780638da5cb5b146102fa57600080fd5b806341f63bfd116100e757806341f63bfd146101a85780634cc82215146102085780634ff43f2014610228578063551f8e2a1461024857806358d760bf1461026857600080fd5b8063128be95f146101195780631e83409a1461013d5780632c565f75146101525780634143190814610188575b600080fd5b34801561012557600080fd5b506004545b6040519081526020015b60405180910390f35b61015061014b366004611389565b6103ca565b005b34801561015e57600080fd5b5061012a61016d366004611389565b6001600160a01b031660009081526006602052604090205490565b34801561019457600080fd5b506101506101a3366004611389565b610518565b3480156101b457600080fd5b506101c86101c33660046113ad565b610568565b6040805182516001600160a01b03908116825260208085015182169083015283830151169181019190915260609182015191810191909152608001610134565b34801561021457600080fd5b506101506102233660046113ad565b610618565b34801561023457600080fd5b50610150610243366004611389565b610789565b34801561025457600080fd5b506101506102633660046113c6565b610804565b34801561027457600080fd5b506101506102833660046114b8565b610967565b34801561029457600080fd5b50600054600160a01b900460ff166040519015158152602001610134565b3480156102be57600080fd5b50610150610bba565b3480156102d357600080fd5b506101506102e236600461151a565b610bce565b6101506102f5366004611389565b610e0a565b34801561030657600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610134565b34801561033857600080fd5b506003546001600160a01b0316610314565b34801561035657600080fd5b506101506103653660046113ad565b610f5f565b34801561037657600080fd5b50610150610385366004611557565b610f6c565b34801561039657600080fd5b506101506103a5366004611587565b6110fd565b3480156103b657600080fd5b506101506103c5366004611389565b6111ae565b6103d2611224565b6001600160a01b038116600090815260066020526040812054908190036103f857506004545b8034146104435760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0819995948185b5bdd5b9d60621b60448201526064015b60405180910390fd5b6003546040516000916001600160a01b03169083908381818185875af1925050503d8060008114610490576040519150601f19603f3d011682016040523d82523d6000602084013e610495565b606091505b50509050806104db5760405162461bcd60e51b8152602060048201526012602482015271119959481c185e5b595b9d0819985a5b195960721b604482015260640161043a565b604051829033906001600160a01b038616907ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd399268390600090a4505050565b610520611271565b6001600160a01b0381166105465760405162461bcd60e51b815260040161043a906115b3565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600560205260409020600101546001600160a01b03166105c35760405162461bcd60e51b815260040161043a906115dc565b50600090815260056020908152604091829020825160808101845281546001600160a01b0390811682526001830154811693820193909352600282015490921692820192909252600390910154606082015290565b6106206112cb565b610628611224565b600081815260056020908152604091829020825160808101845281546001600160a01b039081168252600183015481169382018490526002830154169381019390935260030154606083015233146106925760405162461bcd60e51b815260040161043a906115dc565b600082815260056020908152604080832080546001600160a01b03199081168255600182018054821690556002820180549091169055600301929092558282015190830151606084015192516323b872dd60e01b81526001600160a01b03909216926323b872dd9261070a9230929091600401611601565b600060405180830381600087803b15801561072457600080fd5b505af1158015610738573d6000803e3d6000fd5b50505050806060015181604001516001600160a01b0316837f0feeda1016b10fd98eebb7281f3b49fabc750815c887b64f38d2eb7ce04b0c0f60405160405180910390a45061078660018055565b50565b610791611271565b6001600160a01b038116600090815260066020526040902054806107e95760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161043a565b506001600160a01b0316600090815260066020526040812055565b61080c6112cb565b610814611224565b610822600280546001019055565b600061082d60025490565b604080516080810182526001600160a01b038088168252336020808401828152898416858701818152606087018b815260008a8152600590955293889020875181549088166001600160a01b03199182161782559351600182018054918916918616919091179055905160028201805491909716931692909217909455905160039091015592516323b872dd60e01b8152939450909290916323b872dd916108dc919030908890600401611601565b600060405180830381600087803b1580156108f657600080fd5b505af115801561090a573d6000803e3d6000fd5b5050604080513381526001600160a01b0389811660208301528794508816925085917fcd47ddff2f51274b9324dc362eeca7585f8c88bfad174baf0c9f2e76a095f2d5910160405180910390a4505061096260018055565b505050565b61096f6112cb565b610977611224565b80518015801590610989575060328111155b6109c65760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210373ab6b132b960911b604482015260640161043a565b60005b81811015610baf576109df600280546001019055565b60006109ea60025490565b905060006040518060800160405280886001600160a01b03168152602001336001600160a01b03168152602001876001600160a01b03168152602001868581518110610a3857610a38611625565b602090810291909101810151909152600084815260058252604090819020835181546001600160a01b03199081166001600160a01b039283161783559385015160018301805486169183169190911790559184015160028201805490941690831617909255606083015160039092019190915586519192508716906323b872dd9033903090899088908110610acf57610acf611625565b60200260200101516040518463ffffffff1660e01b8152600401610af593929190611601565b600060405180830381600087803b158015610b0f57600080fd5b505af1158015610b23573d6000803e3d6000fd5b50505050848381518110610b3957610b39611625565b6020026020010151866001600160a01b0316837fcd47ddff2f51274b9324dc362eeca7585f8c88bfad174baf0c9f2e76a095f2d5338b604051610b929291906001600160a01b0392831681529116602082015260400190565b60405180910390a450508080610ba79061163b565b9150506109c9565b505061096260018055565b610bc2611271565b610bcc6000611324565b565b610bd66112cb565b610bde611224565b80518015801590610bf0575060328111155b610c2d5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210373ab6b132b960911b604482015260640161043a565b60005b81811015610dff57600060056000858481518110610c5057610c50611625565b6020908102919091018101518252818101929092526040908101600020815160808101835281546001600160a01b039081168252600183015481169482018590526002830154169281019290925260030154606082015291503314610cc75760405162461bcd60e51b815260040161043a906115dc565b60056000858481518110610cdd57610cdd611625565b6020908102919091018101518252818101929092526040908101600090812080546001600160a01b03199081168255600182018054821690556002820180549091169055600301558281015191830151606084015191516323b872dd60e01b81526001600160a01b03909316926323b872dd92610d61923092909190600401611601565b600060405180830381600087803b158015610d7b57600080fd5b505af1158015610d8f573d6000803e3d6000fd5b50505050806060015181604001516001600160a01b0316858481518110610db857610db8611625565b60200260200101517f0feeda1016b10fd98eebb7281f3b49fabc750815c887b64f38d2eb7ce04b0c0f60405160405180910390a45080610df78161163b565b915050610c30565b505061078660018055565b610e126112cb565b610e1a611271565b6001600160a01b038116610e405760405162461bcd60e51b815260040161043a906115b3565b60003411610e815760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161043a565b6000816001600160a01b03163460405160006040518083038185875af1925050503d8060008114610ece576040519150601f19603f3d011682016040523d82523d6000602084013e610ed3565b606091505b5050905080610f155760405162461bcd60e51b815260206004820152600e60248201526d14185e5b595b9d0819985a5b195960921b604482015260640161043a565b6040513481526001600160a01b0383169033907fd52bd61f7c422d441e024604f4517878fd3305d6acf0fe37baef23ed21af6bc99060200160405180910390a35061078660018055565b610f67611271565b600455565b610f746112cb565b610f7c611271565b600082815260056020908152604091829020825160808101845281546001600160a01b0390811682526001830154811693820184905260028301541693810193909352600301546060830152610fe45760405162461bcd60e51b815260040161043a906115dc565b6001600160a01b03821661100a5760405162461bcd60e51b815260040161043a906115b3565b60008381526005602052604080822080546001600160a01b031990811682556001820180548216905560028201805490911690556003019190915581810151606083015191516323b872dd60e01b81526001600160a01b03909116916323b872dd9161107d913091879190600401611601565b600060405180830381600087803b15801561109757600080fd5b505af11580156110ab573d6000803e3d6000fd5b50505050806060015181604001516001600160a01b0316847f0feeda1016b10fd98eebb7281f3b49fabc750815c887b64f38d2eb7ce04b0c0f60405160405180910390a4506110f960018055565b5050565b611105611271565b6001600160a01b03821661114d5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161043a565b600081116111925760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a590819995948185b5bdd5b9d60721b604482015260640161043a565b6001600160a01b03909116600090815260066020526040902055565b6111b6611271565b6001600160a01b03811661121b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043a565b61078681611324565b600054600160a01b900460ff1615610bcc5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161043a565b6000546001600160a01b03163314610bcc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161043a565b60026001540361131d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161043a565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461078657600080fd5b60006020828403121561139b57600080fd5b81356113a681611374565b9392505050565b6000602082840312156113bf57600080fd5b5035919050565b6000806000606084860312156113db57600080fd5b83356113e681611374565b925060208401356113f681611374565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261142e57600080fd5b8135602067ffffffffffffffff8083111561144b5761144b611407565b8260051b604051601f19603f8301168101818110848211171561147057611470611407565b60405293845285810183019383810192508785111561148e57600080fd5b83870191505b848210156114ad57813583529183019190830190611494565b979650505050505050565b6000806000606084860312156114cd57600080fd5b83356114d881611374565b925060208401356114e881611374565b9150604084013567ffffffffffffffff81111561150457600080fd5b6115108682870161141d565b9150509250925092565b60006020828403121561152c57600080fd5b813567ffffffffffffffff81111561154357600080fd5b61154f8482850161141d565b949350505050565b6000806040838503121561156a57600080fd5b82359150602083013561157c81611374565b809150509250929050565b6000806040838503121561159a57600080fd5b82356115a581611374565b946020939093013593505050565b6020808252600f908201526e41646472657373206d697373696e6760881b604082015260600190565b6020808252600b908201526a125b9d985b1a590813919560aa1b604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b634e487b7160e01b600052603260045260246000fd5b60006001820161165b57634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212200cd6346e240cb8782408609232ab1d36b7b92a921e678720cb325709b040d9ee64736f6c634300081300330000000000000000000000004c5b4b9201f2a8593408ada4cf0eb0bdd4830e71000000000000000000000000000000000000000000000000000c6f3b40b6c000
Deployed Bytecode
0x6080604052600436106101145760003560e01c80635c975abb116100a0578063c162d7da11610064578063c162d7da1461032c578063cec455fc1461034a578063dba817181461036a578063ece2b66f1461038a578063f2fde38b146103aa57600080fd5b80635c975abb14610288578063715018a6146102b257806374acc17c146102c75780638a7644a8146102e75780638da5cb5b146102fa57600080fd5b806341f63bfd116100e757806341f63bfd146101a85780634cc82215146102085780634ff43f2014610228578063551f8e2a1461024857806358d760bf1461026857600080fd5b8063128be95f146101195780631e83409a1461013d5780632c565f75146101525780634143190814610188575b600080fd5b34801561012557600080fd5b506004545b6040519081526020015b60405180910390f35b61015061014b366004611389565b6103ca565b005b34801561015e57600080fd5b5061012a61016d366004611389565b6001600160a01b031660009081526006602052604090205490565b34801561019457600080fd5b506101506101a3366004611389565b610518565b3480156101b457600080fd5b506101c86101c33660046113ad565b610568565b6040805182516001600160a01b03908116825260208085015182169083015283830151169181019190915260609182015191810191909152608001610134565b34801561021457600080fd5b506101506102233660046113ad565b610618565b34801561023457600080fd5b50610150610243366004611389565b610789565b34801561025457600080fd5b506101506102633660046113c6565b610804565b34801561027457600080fd5b506101506102833660046114b8565b610967565b34801561029457600080fd5b50600054600160a01b900460ff166040519015158152602001610134565b3480156102be57600080fd5b50610150610bba565b3480156102d357600080fd5b506101506102e236600461151a565b610bce565b6101506102f5366004611389565b610e0a565b34801561030657600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610134565b34801561033857600080fd5b506003546001600160a01b0316610314565b34801561035657600080fd5b506101506103653660046113ad565b610f5f565b34801561037657600080fd5b50610150610385366004611557565b610f6c565b34801561039657600080fd5b506101506103a5366004611587565b6110fd565b3480156103b657600080fd5b506101506103c5366004611389565b6111ae565b6103d2611224565b6001600160a01b038116600090815260066020526040812054908190036103f857506004545b8034146104435760405162461bcd60e51b8152602060048201526014602482015273125b98dbdc9c9958dd0819995948185b5bdd5b9d60621b60448201526064015b60405180910390fd5b6003546040516000916001600160a01b03169083908381818185875af1925050503d8060008114610490576040519150601f19603f3d011682016040523d82523d6000602084013e610495565b606091505b50509050806104db5760405162461bcd60e51b8152602060048201526012602482015271119959481c185e5b595b9d0819985a5b195960721b604482015260640161043a565b604051829033906001600160a01b038616907ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd399268390600090a4505050565b610520611271565b6001600160a01b0381166105465760405162461bcd60e51b815260040161043a906115b3565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600560205260409020600101546001600160a01b03166105c35760405162461bcd60e51b815260040161043a906115dc565b50600090815260056020908152604091829020825160808101845281546001600160a01b0390811682526001830154811693820193909352600282015490921692820192909252600390910154606082015290565b6106206112cb565b610628611224565b600081815260056020908152604091829020825160808101845281546001600160a01b039081168252600183015481169382018490526002830154169381019390935260030154606083015233146106925760405162461bcd60e51b815260040161043a906115dc565b600082815260056020908152604080832080546001600160a01b03199081168255600182018054821690556002820180549091169055600301929092558282015190830151606084015192516323b872dd60e01b81526001600160a01b03909216926323b872dd9261070a9230929091600401611601565b600060405180830381600087803b15801561072457600080fd5b505af1158015610738573d6000803e3d6000fd5b50505050806060015181604001516001600160a01b0316837f0feeda1016b10fd98eebb7281f3b49fabc750815c887b64f38d2eb7ce04b0c0f60405160405180910390a45061078660018055565b50565b610791611271565b6001600160a01b038116600090815260066020526040902054806107e95760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161043a565b506001600160a01b0316600090815260066020526040812055565b61080c6112cb565b610814611224565b610822600280546001019055565b600061082d60025490565b604080516080810182526001600160a01b038088168252336020808401828152898416858701818152606087018b815260008a8152600590955293889020875181549088166001600160a01b03199182161782559351600182018054918916918616919091179055905160028201805491909716931692909217909455905160039091015592516323b872dd60e01b8152939450909290916323b872dd916108dc919030908890600401611601565b600060405180830381600087803b1580156108f657600080fd5b505af115801561090a573d6000803e3d6000fd5b5050604080513381526001600160a01b0389811660208301528794508816925085917fcd47ddff2f51274b9324dc362eeca7585f8c88bfad174baf0c9f2e76a095f2d5910160405180910390a4505061096260018055565b505050565b61096f6112cb565b610977611224565b80518015801590610989575060328111155b6109c65760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210373ab6b132b960911b604482015260640161043a565b60005b81811015610baf576109df600280546001019055565b60006109ea60025490565b905060006040518060800160405280886001600160a01b03168152602001336001600160a01b03168152602001876001600160a01b03168152602001868581518110610a3857610a38611625565b602090810291909101810151909152600084815260058252604090819020835181546001600160a01b03199081166001600160a01b039283161783559385015160018301805486169183169190911790559184015160028201805490941690831617909255606083015160039092019190915586519192508716906323b872dd9033903090899088908110610acf57610acf611625565b60200260200101516040518463ffffffff1660e01b8152600401610af593929190611601565b600060405180830381600087803b158015610b0f57600080fd5b505af1158015610b23573d6000803e3d6000fd5b50505050848381518110610b3957610b39611625565b6020026020010151866001600160a01b0316837fcd47ddff2f51274b9324dc362eeca7585f8c88bfad174baf0c9f2e76a095f2d5338b604051610b929291906001600160a01b0392831681529116602082015260400190565b60405180910390a450508080610ba79061163b565b9150506109c9565b505061096260018055565b610bc2611271565b610bcc6000611324565b565b610bd66112cb565b610bde611224565b80518015801590610bf0575060328111155b610c2d5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210373ab6b132b960911b604482015260640161043a565b60005b81811015610dff57600060056000858481518110610c5057610c50611625565b6020908102919091018101518252818101929092526040908101600020815160808101835281546001600160a01b039081168252600183015481169482018590526002830154169281019290925260030154606082015291503314610cc75760405162461bcd60e51b815260040161043a906115dc565b60056000858481518110610cdd57610cdd611625565b6020908102919091018101518252818101929092526040908101600090812080546001600160a01b03199081168255600182018054821690556002820180549091169055600301558281015191830151606084015191516323b872dd60e01b81526001600160a01b03909316926323b872dd92610d61923092909190600401611601565b600060405180830381600087803b158015610d7b57600080fd5b505af1158015610d8f573d6000803e3d6000fd5b50505050806060015181604001516001600160a01b0316858481518110610db857610db8611625565b60200260200101517f0feeda1016b10fd98eebb7281f3b49fabc750815c887b64f38d2eb7ce04b0c0f60405160405180910390a45080610df78161163b565b915050610c30565b505061078660018055565b610e126112cb565b610e1a611271565b6001600160a01b038116610e405760405162461bcd60e51b815260040161043a906115b3565b60003411610e815760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a5908185b5bdd5b9d60921b604482015260640161043a565b6000816001600160a01b03163460405160006040518083038185875af1925050503d8060008114610ece576040519150601f19603f3d011682016040523d82523d6000602084013e610ed3565b606091505b5050905080610f155760405162461bcd60e51b815260206004820152600e60248201526d14185e5b595b9d0819985a5b195960921b604482015260640161043a565b6040513481526001600160a01b0383169033907fd52bd61f7c422d441e024604f4517878fd3305d6acf0fe37baef23ed21af6bc99060200160405180910390a35061078660018055565b610f67611271565b600455565b610f746112cb565b610f7c611271565b600082815260056020908152604091829020825160808101845281546001600160a01b0390811682526001830154811693820184905260028301541693810193909352600301546060830152610fe45760405162461bcd60e51b815260040161043a906115dc565b6001600160a01b03821661100a5760405162461bcd60e51b815260040161043a906115b3565b60008381526005602052604080822080546001600160a01b031990811682556001820180548216905560028201805490911690556003019190915581810151606083015191516323b872dd60e01b81526001600160a01b03909116916323b872dd9161107d913091879190600401611601565b600060405180830381600087803b15801561109757600080fd5b505af11580156110ab573d6000803e3d6000fd5b50505050806060015181604001516001600160a01b0316847f0feeda1016b10fd98eebb7281f3b49fabc750815c887b64f38d2eb7ce04b0c0f60405160405180910390a4506110f960018055565b5050565b611105611271565b6001600160a01b03821661114d5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015260640161043a565b600081116111925760405162461bcd60e51b8152602060048201526012602482015271125b9d985b1a590819995948185b5bdd5b9d60721b604482015260640161043a565b6001600160a01b03909116600090815260066020526040902055565b6111b6611271565b6001600160a01b03811661121b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161043a565b61078681611324565b600054600160a01b900460ff1615610bcc5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161043a565b6000546001600160a01b03163314610bcc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161043a565b60026001540361131d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161043a565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461078657600080fd5b60006020828403121561139b57600080fd5b81356113a681611374565b9392505050565b6000602082840312156113bf57600080fd5b5035919050565b6000806000606084860312156113db57600080fd5b83356113e681611374565b925060208401356113f681611374565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261142e57600080fd5b8135602067ffffffffffffffff8083111561144b5761144b611407565b8260051b604051601f19603f8301168101818110848211171561147057611470611407565b60405293845285810183019383810192508785111561148e57600080fd5b83870191505b848210156114ad57813583529183019190830190611494565b979650505050505050565b6000806000606084860312156114cd57600080fd5b83356114d881611374565b925060208401356114e881611374565b9150604084013567ffffffffffffffff81111561150457600080fd5b6115108682870161141d565b9150509250925092565b60006020828403121561152c57600080fd5b813567ffffffffffffffff81111561154357600080fd5b61154f8482850161141d565b949350505050565b6000806040838503121561156a57600080fd5b82359150602083013561157c81611374565b809150509250929050565b6000806040838503121561159a57600080fd5b82356115a581611374565b946020939093013593505050565b6020808252600f908201526e41646472657373206d697373696e6760881b604082015260600190565b6020808252600b908201526a125b9d985b1a590813919560aa1b604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b634e487b7160e01b600052603260045260246000fd5b60006001820161165b57634e487b7160e01b600052601160045260246000fd5b506001019056fea26469706673582212200cd6346e240cb8782408609232ab1d36b7b92a921e678720cb325709b040d9ee64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004c5b4b9201f2a8593408ada4cf0eb0bdd4830e71000000000000000000000000000000000000000000000000000c6f3b40b6c000
-----Decoded View---------------
Arg [0] : managerAddress_ (address): 0x4c5B4b9201f2A8593408aDA4cF0EB0bdd4830e71
Arg [1] : fixedFeeAmount_ (uint256): 3500000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004c5b4b9201f2a8593408ada4cf0eb0bdd4830e71
Arg [1] : 000000000000000000000000000000000000000000000000000c6f3b40b6c000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.