More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 167 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Sell Defi Apes | 19797227 | 244 days ago | IN | 0 ETH | 0.00108034 | ||||
Transfer Ownersh... | 19783797 | 246 days ago | IN | 0 ETH | 0.00047465 | ||||
Withdraw Defi Ap... | 19783792 | 246 days ago | IN | 0 ETH | 0.00744062 | ||||
Withdraw Defi Ap... | 19783653 | 246 days ago | IN | 0 ETH | 0.06409741 | ||||
Transfer Ownersh... | 19783649 | 246 days ago | IN | 0 ETH | 0.00033444 | ||||
Buy Defi Apes | 19781139 | 246 days ago | IN | 0 ETH | 0.00070291 | ||||
Buy Defi Apes | 19773342 | 247 days ago | IN | 0 ETH | 0.00057556 | ||||
Sell Defi Apes | 19762097 | 249 days ago | IN | 0 ETH | 0.00221237 | ||||
Sell Defi Apes | 19673950 | 261 days ago | IN | 0 ETH | 0.00626319 | ||||
Sell Defi Apes | 19474974 | 289 days ago | IN | 0 ETH | 0.0033277 | ||||
Sell Defi Apes | 19467476 | 290 days ago | IN | 0 ETH | 0.00273809 | ||||
Sell Defi Apes | 19467280 | 290 days ago | IN | 0 ETH | 0.01498284 | ||||
Sell Defi Apes | 19445679 | 293 days ago | IN | 0 ETH | 0.00361568 | ||||
Sell Defi Apes | 19410927 | 298 days ago | IN | 0 ETH | 0.0086678 | ||||
Sell Defi Apes | 19049866 | 349 days ago | IN | 0 ETH | 0.00334395 | ||||
Sell Defi Apes | 19033947 | 351 days ago | IN | 0 ETH | 0.00612924 | ||||
Sell Defi Apes | 19033907 | 351 days ago | IN | 0 ETH | 0.00618574 | ||||
Sell Defi Apes | 19006320 | 355 days ago | IN | 0 ETH | 0.00554357 | ||||
Adjust Buy Price | 18958961 | 361 days ago | IN | 0 ETH | 0.00077376 | ||||
Sell Defi Apes | 18949465 | 363 days ago | IN | 0 ETH | 0.00501566 | ||||
Sell Defi Apes | 18949457 | 363 days ago | IN | 0 ETH | 0.00544379 | ||||
Sell Defi Apes | 18941739 | 364 days ago | IN | 0 ETH | 0.01088696 | ||||
Sell Defi Apes | 18934293 | 365 days ago | IN | 0 ETH | 0.00431636 | ||||
Sell Defi Apes | 18934281 | 365 days ago | IN | 0 ETH | 0.00443429 | ||||
Sell Defi Apes | 18934268 | 365 days ago | IN | 0 ETH | 0.00827198 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ConcreteJungle
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; contract ConcreteJungle is Ownable, Pausable { IERC721 public immutable defiApes; IERC20 public immutable apeFi; uint256 public sellPrice = 100_000e18; uint256 public buyPrice = 500_000e18; event Buy(address indexed buyer, uint256[] tokenIds); event Sell(address indexed seller, uint256[] tokenIds); event BuyPriceUpdated(uint256 indexed buyPrice); event SellPriceUpdated(uint256 indexed sellprice); constructor(address defiApes_, address apeFi_) { defiApes = IERC721(defiApes_); apeFi = IERC20(apeFi_); } modifier onlyEOA() { require(msg.sender == tx.origin, "EOA only"); _; } /* ========== MUTATIVE FUNCTIONS ========== */ function sellDefiApes(uint256[] memory tokenIds) public whenNotPaused onlyEOA { for (uint256 i = 0; i < tokenIds.length;) { uint256 tokenId = tokenIds[i]; require(defiApes.ownerOf(tokenId) == msg.sender, "not owner"); defiApes.transferFrom(msg.sender, address(this), tokenId); unchecked { i++; } } uint256 amount = tokenIds.length * sellPrice; require(apeFi.balanceOf(address(this)) >= amount, "insufficient balance"); apeFi.transfer(msg.sender, amount); emit Sell(msg.sender, tokenIds); } function buyDefiApes(uint256[] memory tokenIds) public whenNotPaused onlyEOA { for (uint256 i = 0; i < tokenIds.length;) { uint256 tokenId = tokenIds[i]; require(defiApes.ownerOf(tokenId) == address(this), "not owner"); defiApes.transferFrom(address(this), msg.sender, tokenId); unchecked { i++; } } uint256 amount = tokenIds.length * buyPrice; require(apeFi.balanceOf(msg.sender) >= amount, "insufficient balance"); apeFi.transferFrom(msg.sender, address(this), amount); emit Buy(msg.sender, tokenIds); } /* ========== RESTRICTED FUNCTIONS ========== */ function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function withdrawDefiApes(uint256[] memory tokenIds) external onlyOwner { for (uint256 i = 0; i < tokenIds.length;) { uint256 tokenId = tokenIds[i]; require(defiApes.ownerOf(tokenId) == address(this), "not owner"); defiApes.transferFrom(address(this), owner(), tokenId); unchecked { i++; } } } function withdrawApeFi(uint256 amount) external onlyOwner { require(apeFi.balanceOf(address(this)) >= amount, "insufficient balance"); apeFi.transfer(owner(), amount); } function adjustSellPrice(uint256 newSellPrice) external onlyOwner { require(newSellPrice > 0, "invalid price"); sellPrice = newSellPrice; emit SellPriceUpdated(newSellPrice); } function adjustBuyPrice(uint256 newBuyPrice) external onlyOwner { require(newBuyPrice > 0, "invalid price"); buyPrice = newBuyPrice; emit BuyPriceUpdated(newBuyPrice); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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); }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"defiApes_","type":"address"},{"internalType":"address","name":"apeFi_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"buyPrice","type":"uint256"}],"name":"BuyPriceUpdated","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":"seller","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"Sell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"sellprice","type":"uint256"}],"name":"SellPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"newBuyPrice","type":"uint256"}],"name":"adjustBuyPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSellPrice","type":"uint256"}],"name":"adjustSellPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"apeFi","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"buyDefiApes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defiApes","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"sellDefiApes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawApeFi","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"withdrawDefiApes","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405269152d02c7e14af68000006001556969e10de76676d080000060025534801561002c57600080fd5b506040516113ad3803806113ad83398101604081905261004b916100e4565b61005433610078565b6000805460ff60a01b191690556001600160a01b039182166080521660a052610117565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100df57600080fd5b919050565b600080604083850312156100f757600080fd5b610100836100c8565b915061010e602084016100c8565b90509250929050565b60805160a05161121d61019060003960008181610215015281816104ff0152818161059f015281816108900152818161092301528181610c3a0152610cdf01526000818161016801528181610389015281816104530152818161069f0152818161075401528181610ac40152610b8e015261121d6000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063e44596c511610066578063e44596c5146101fd578063ec3b20ea14610210578063f2fde38b14610237578063f6bb9b4d1461024a57600080fd5b80638da5cb5b146101b35780639a6032f6146101c4578063c76f491e146101d7578063c9e0c61b146101ea57600080fd5b8063715018a6116100d3578063715018a61461015b57806375af91f6146101635780638456cb59146101a25780638620410b146101aa57600080fd5b806301462e24146101055780633f4ba83a1461011a5780634b750334146101225780635c975abb1461013e575b600080fd5b610118610113366004610f6d565b61025d565b005b6101186102dd565b61012b60015481565b6040519081526020015b60405180910390f35b600054600160a01b900460ff166040519015158152602001610135565b6101186102ef565b61018a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610135565b610118610301565b61012b60025481565b6000546001600160a01b031661018a565b6101186101d2366004610f9c565b610311565b6101186101e5366004610f9c565b610661565b6101186101f8366004610f6d565b6107f6565b61011861020b366004610f6d565b610871565b61018a7f000000000000000000000000000000000000000000000000000000000000000081565b61011861024536600461106f565b6109d3565b610118610258366004610f9c565b610a4c565b610265610d8e565b600081116102aa5760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420707269636560981b60448201526064015b60405180910390fd5b600281905560405181907f93446c60acefc3ffe0b1d147be7677c1bcbab6e22f199efcd96e0ee489993c3390600090a250565b6102e5610d8e565b6102ed610de8565b565b6102f7610d8e565b6102ed6000610e3d565b610309610d8e565b6102ed610e8d565b610319610ed0565b3332146103535760405162461bcd60e51b8152602060048201526008602482015267454f41206f6e6c7960c01b60448201526064016102a1565b60005b81518110156104cb57600082828151811061037357610373611093565b60200260200101519050306001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016103d591815260200190565b602060405180830381865afa1580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041691906110a9565b6001600160a01b03161461043c5760405162461bcd60e51b81526004016102a1906110c6565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd9061048c903090339086906004016110e9565b600060405180830381600087803b1580156104a657600080fd5b505af11580156104ba573d6000803e3d6000fd5b505060019093019250610356915050565b50600060025482516104dd919061110d565b6040516370a0823160e01b815233600482015290915081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056a919061113a565b10156105885760405162461bcd60e51b81526004016102a190611153565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd906105d8903390309086906004016110e9565b6020604051808303816000875af11580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190611181565b50336001600160a01b03167fb48e035c83771b4d2631244bdc5b397fac119344e91b7d42c59a0c01803916708360405161065591906111a3565b60405180910390a25050565b610669610d8e565b60005b81518110156107f257600082828151811061068957610689611093565b60200260200101519050306001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016106eb91815260200190565b602060405180830381865afa158015610708573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072c91906110a9565b6001600160a01b0316146107525760405162461bcd60e51b81526004016102a1906110c6565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166323b872dd306107946000546001600160a01b031690565b846040518463ffffffff1660e01b81526004016107b3939291906110e9565b600060405180830381600087803b1580156107cd57600080fd5b505af11580156107e1573d6000803e3d6000fd5b50506001909301925061066c915050565b5050565b6107fe610d8e565b6000811161083e5760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420707269636560981b60448201526064016102a1565b600181905560405181907f47ba9e2d0afda74c45bf0c1d7014e68fc279010028f7f854ffa5ab1a6156ea5d90600090a250565b610879610d8e565b6040516370a0823160e01b815230600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156108df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610903919061113a565b10156109215760405162461bcd60e51b81526004016102a190611153565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb6109626000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156109af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f29190611181565b6109db610d8e565b6001600160a01b038116610a405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102a1565b610a4981610e3d565b50565b610a54610ed0565b333214610a8e5760405162461bcd60e51b8152602060048201526008602482015267454f41206f6e6c7960c01b60448201526064016102a1565b60005b8151811015610c06576000828281518110610aae57610aae611093565b60200260200101519050336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e836040518263ffffffff1660e01b8152600401610b1091815260200190565b602060405180830381865afa158015610b2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5191906110a9565b6001600160a01b031614610b775760405162461bcd60e51b81526004016102a1906110c6565b6040516323b872dd60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906323b872dd90610bc7903390309086906004016110e9565b600060405180830381600087803b158015610be157600080fd5b505af1158015610bf5573d6000803e3d6000fd5b505060019093019250610a91915050565b5060006001548251610c18919061110d565b6040516370a0823160e01b815230600482015290915081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610c81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca5919061113a565b1015610cc35760405162461bcd60e51b81526004016102a190611153565b60405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d549190611181565b50336001600160a01b03167fd863f3e9b277f2766716084d82bea6dacaba10c489fe76712269a64fdcfa9c918360405161065591906111a3565b6000546001600160a01b031633146102ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102a1565b610df0610f1d565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610e95610ed0565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e203390565b600054600160a01b900460ff16156102ed5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102a1565b600054600160a01b900460ff166102ed5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102a1565b600060208284031215610f7f57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610faf57600080fd5b823567ffffffffffffffff80821115610fc757600080fd5b818501915085601f830112610fdb57600080fd5b813581811115610fed57610fed610f86565b8060051b604051601f19603f8301168101818110858211171561101257611012610f86565b60405291825284820192508381018501918883111561103057600080fd5b938501935b8285101561104e57843584529385019392850192611035565b98975050505050505050565b6001600160a01b0381168114610a4957600080fd5b60006020828403121561108157600080fd5b813561108c8161105a565b9392505050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156110bb57600080fd5b815161108c8161105a565b6020808252600990820152683737ba1037bbb732b960b91b604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600081600019048311821515161561113557634e487b7160e01b600052601160045260246000fd5b500290565b60006020828403121561114c57600080fd5b5051919050565b602080825260149082015273696e73756666696369656e742062616c616e636560601b604082015260600190565b60006020828403121561119357600080fd5b8151801515811461108c57600080fd5b6020808252825182820181905260009190848201906040850190845b818110156111db578351835292840192918401916001016111bf565b5090969550505050505056fea2646970667358221220b3e4048b5c18b1a9e0c4ce938c925880d62ac06caaf7c3e20f90bc0a0c099bba64736f6c634300080a00330000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e68790000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063e44596c511610066578063e44596c5146101fd578063ec3b20ea14610210578063f2fde38b14610237578063f6bb9b4d1461024a57600080fd5b80638da5cb5b146101b35780639a6032f6146101c4578063c76f491e146101d7578063c9e0c61b146101ea57600080fd5b8063715018a6116100d3578063715018a61461015b57806375af91f6146101635780638456cb59146101a25780638620410b146101aa57600080fd5b806301462e24146101055780633f4ba83a1461011a5780634b750334146101225780635c975abb1461013e575b600080fd5b610118610113366004610f6d565b61025d565b005b6101186102dd565b61012b60015481565b6040519081526020015b60405180910390f35b600054600160a01b900460ff166040519015158152602001610135565b6101186102ef565b61018a7f0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e687981565b6040516001600160a01b039091168152602001610135565b610118610301565b61012b60025481565b6000546001600160a01b031661018a565b6101186101d2366004610f9c565b610311565b6101186101e5366004610f9c565b610661565b6101186101f8366004610f6d565b6107f6565b61011861020b366004610f6d565b610871565b61018a7f0000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d81565b61011861024536600461106f565b6109d3565b610118610258366004610f9c565b610a4c565b610265610d8e565b600081116102aa5760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420707269636560981b60448201526064015b60405180910390fd5b600281905560405181907f93446c60acefc3ffe0b1d147be7677c1bcbab6e22f199efcd96e0ee489993c3390600090a250565b6102e5610d8e565b6102ed610de8565b565b6102f7610d8e565b6102ed6000610e3d565b610309610d8e565b6102ed610e8d565b610319610ed0565b3332146103535760405162461bcd60e51b8152602060048201526008602482015267454f41206f6e6c7960c01b60448201526064016102a1565b60005b81518110156104cb57600082828151811061037357610373611093565b60200260200101519050306001600160a01b03167f0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e68796001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016103d591815260200190565b602060405180830381865afa1580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041691906110a9565b6001600160a01b03161461043c5760405162461bcd60e51b81526004016102a1906110c6565b6040516323b872dd60e01b81526001600160a01b037f0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e687916906323b872dd9061048c903090339086906004016110e9565b600060405180830381600087803b1580156104a657600080fd5b505af11580156104ba573d6000803e3d6000fd5b505060019093019250610356915050565b50600060025482516104dd919061110d565b6040516370a0823160e01b815233600482015290915081906001600160a01b037f0000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d16906370a0823190602401602060405180830381865afa158015610546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056a919061113a565b10156105885760405162461bcd60e51b81526004016102a190611153565b6040516323b872dd60e01b81526001600160a01b037f0000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d16906323b872dd906105d8903390309086906004016110e9565b6020604051808303816000875af11580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190611181565b50336001600160a01b03167fb48e035c83771b4d2631244bdc5b397fac119344e91b7d42c59a0c01803916708360405161065591906111a3565b60405180910390a25050565b610669610d8e565b60005b81518110156107f257600082828151811061068957610689611093565b60200260200101519050306001600160a01b03167f0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e68796001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016106eb91815260200190565b602060405180830381865afa158015610708573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072c91906110a9565b6001600160a01b0316146107525760405162461bcd60e51b81526004016102a1906110c6565b7f0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e68796001600160a01b03166323b872dd306107946000546001600160a01b031690565b846040518463ffffffff1660e01b81526004016107b3939291906110e9565b600060405180830381600087803b1580156107cd57600080fd5b505af11580156107e1573d6000803e3d6000fd5b50506001909301925061066c915050565b5050565b6107fe610d8e565b6000811161083e5760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420707269636560981b60448201526064016102a1565b600181905560405181907f47ba9e2d0afda74c45bf0c1d7014e68fc279010028f7f854ffa5ab1a6156ea5d90600090a250565b610879610d8e565b6040516370a0823160e01b815230600482015281907f0000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d6001600160a01b0316906370a0823190602401602060405180830381865afa1580156108df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610903919061113a565b10156109215760405162461bcd60e51b81526004016102a190611153565b7f0000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d6001600160a01b031663a9059cbb6109626000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156109af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f29190611181565b6109db610d8e565b6001600160a01b038116610a405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102a1565b610a4981610e3d565b50565b610a54610ed0565b333214610a8e5760405162461bcd60e51b8152602060048201526008602482015267454f41206f6e6c7960c01b60448201526064016102a1565b60005b8151811015610c06576000828281518110610aae57610aae611093565b60200260200101519050336001600160a01b03167f0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e68796001600160a01b0316636352211e836040518263ffffffff1660e01b8152600401610b1091815260200190565b602060405180830381865afa158015610b2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5191906110a9565b6001600160a01b031614610b775760405162461bcd60e51b81526004016102a1906110c6565b6040516323b872dd60e01b81526001600160a01b037f0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e687916906323b872dd90610bc7903390309086906004016110e9565b600060405180830381600087803b158015610be157600080fd5b505af1158015610bf5573d6000803e3d6000fd5b505060019093019250610a91915050565b5060006001548251610c18919061110d565b6040516370a0823160e01b815230600482015290915081906001600160a01b037f0000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d16906370a0823190602401602060405180830381865afa158015610c81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca5919061113a565b1015610cc35760405162461bcd60e51b81526004016102a190611153565b60405163a9059cbb60e01b8152336004820152602481018290527f0000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d6001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d549190611181565b50336001600160a01b03167fd863f3e9b277f2766716084d82bea6dacaba10c489fe76712269a64fdcfa9c918360405161065591906111a3565b6000546001600160a01b031633146102ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102a1565b610df0610f1d565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610e95610ed0565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e203390565b600054600160a01b900460ff16156102ed5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102a1565b600054600160a01b900460ff166102ed5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102a1565b600060208284031215610f7f57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610faf57600080fd5b823567ffffffffffffffff80821115610fc757600080fd5b818501915085601f830112610fdb57600080fd5b813581811115610fed57610fed610f86565b8060051b604051601f19603f8301168101818110858211171561101257611012610f86565b60405291825284820192508381018501918883111561103057600080fd5b938501935b8285101561104e57843584529385019392850192611035565b98975050505050505050565b6001600160a01b0381168114610a4957600080fd5b60006020828403121561108157600080fd5b813561108c8161105a565b9392505050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156110bb57600080fd5b815161108c8161105a565b6020808252600990820152683737ba1037bbb732b960b91b604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600081600019048311821515161561113557634e487b7160e01b600052601160045260246000fd5b500290565b60006020828403121561114c57600080fd5b5051919050565b602080825260149082015273696e73756666696369656e742062616c616e636560601b604082015260600190565b60006020828403121561119357600080fd5b8151801515811461108c57600080fd5b6020808252825182820181905260009190848201906040850190845b818110156111db578351835292840192918401916001016111bf565b5090969550505050505056fea2646970667358221220b3e4048b5c18b1a9e0c4ce938c925880d62ac06caaf7c3e20f90bc0a0c099bba64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e68790000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d
-----Decoded View---------------
Arg [0] : defiApes_ (address): 0x3C6FBc94288f5af5201085948DdB18aDED2E6879
Arg [1] : apeFi_ (address): 0x4332f8A38f14BD3D8D1553aF27D7c7Ac6C27278D
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c6fbc94288f5af5201085948ddb18aded2e6879
Arg [1] : 0000000000000000000000004332f8a38f14bd3d8d1553af27d7c7ac6c27278d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.