ETH Price: $2,715.96 (+0.83%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
List Item199479182024-05-25 15:55:11255 days ago1716652511IN
0xd61415cf...e5F6B23DB
0 ETH0.000789677.19846951
Buy Item199479122024-05-25 15:53:47255 days ago1716652427IN
0xd61415cf...e5F6B23DB
0 ETH0.000857167.12496567
List Item199477612024-05-25 15:23:23255 days ago1716650603IN
0xd61415cf...e5F6B23DB
0 ETH0.00092468.42845896
Delist Item199477532024-05-25 15:21:47255 days ago1716650507IN
0xd61415cf...e5F6B23DB
0 ETH0.000286077.89876836
List Item199476522024-05-25 15:01:23255 days ago1716649283IN
0xd61415cf...e5F6B23DB
0 ETH0.001037859.46186755
Buy Item199473442024-05-25 13:59:11255 days ago1716645551IN
0xd61415cf...e5F6B23DB
0 ETH0.000884387.35118566
List Item199435602024-05-25 1:17:47256 days ago1716599867IN
0xd61415cf...e5F6B23DB
0 ETH0.000781187.12114122
List Item199430672024-05-24 23:37:59256 days ago1716593879IN
0xd61415cf...e5F6B23DB
0 ETH0.000829387.56044441
List Item199429952024-05-24 23:23:23256 days ago1716593003IN
0xd61415cf...e5F6B23DB
0 ETH0.00079757.49992068
Buy Item199429832024-05-24 23:20:59256 days ago1716592859IN
0xd61415cf...e5F6B23DB
0 ETH0.001077747.84358538
List Item199415802024-05-24 18:38:47256 days ago1716575927IN
0xd61415cf...e5F6B23DB
0 ETH0.0014888113.57166442
Buy Item199415452024-05-24 18:31:47256 days ago1716575507IN
0xd61415cf...e5F6B23DB
0 ETH0.001545512.8465225
List Item199410182024-05-24 16:45:23256 days ago1716569123IN
0xd61415cf...e5F6B23DB
0 ETH0.0013338912.16076908
Transfer Ownersh...199409402024-05-24 16:29:47256 days ago1716568187IN
0xd61415cf...e5F6B23DB
0 ETH0.0003154611.01224935

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AGIAgentMarketplace

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
london EvmVersion
File 1 of 9 : AGIAgentMarketplace.sol
// SPDX-License-Identifier: MIT

/*

[ P R E L I M I N A R Y  C O N C E P T S  E X C L U S I V E L Y ]

OF AGENTS, NODES, AND TOKENS

The Economy of AGI

AGI Nodes are catalysts in this new economy.

They yield $AGI, bridging the gap between aspirations and achievements.

Like digital farmers in a vast cognitive field, they cultivate the future.

"Unleash the power of Decentralized AGI with AGI Agents & Nodes, and unlock the future." - AGI.eth

Should it ascend to its fullest potential, $AGI stands poised to crystallize a vital segment of AGI's projected astronomic value.

           
   A   N   T   N   A   T
 -------------------------
A   G   I   N   O   D   E   S
 -------------------------
   T   A   N   A   T   N


$AGI: UTILITY, PURPOSE & VALUE

AGI Agents x AGI Nodes = Decentralized AGI

Theoretically, AGI Agents have the potential to become the central architects of future value, laying the foundation for The Economy of AGI.

At the heart of the Economy of AGI are the AGI Nodes. These Nodes, represented as Non-Fungible Tokens (NFTs), embody the ownership of computational assets. They provide AGI Agents with a decentralized, extensive, and powerful collection of computational resources. The sole raison d'être of the AGI Nodes is to contribute to the AGI Network. $AGI tokens are created solely through the operation of an AGI Node, generating active income only for the contribution of computational resources to the network. Crucially, holding $AGI tokens neither constitutes an investment in a common enterprise nor offers any expectation of profits derived from the efforts of others. Rather, $AGI tokens are minted as a reward for contributing computational resources, aligning more with the characteristics of a utility token than a security. The purpose is straightforward: to power the network, not to speculate on its future value.

When timely and appropriate, $AGI tokens—strictly utility tokens—can be used to acquire products or services generated by AGI Agents within the Economy of AGI framework, often represented as NFTs.

Legal Addendum: $AGI tokens are not securities and are not intended for speculative investment. They do not represent equity ownership, confer voting rights, or entitle holders to dividends or a share of profits. They are engineered exclusively for utility functions within the AGI Network, specifically for operating an AGI Node in order to contribute to the AGI Network, and for acquiring an array of products and services generated by AGI Agents.

[ C O N C E P T U A L  S T O R Y ]

THE ECONOMY OF AGI: AGI AGENTS, NODES AND TOKENS

In the expansive cosmos of human progress, seismic shifts occur, heralding eras that brim with promise and teem with unimagined potentials.

The Advent of the AGI Agents

Imagine beings of digital cognition, capable of performing any task a person can undertake with a computer, yet unbounded by our constraints. Far from being mere figments in the digital landscape, these entities serve as the crucibles of a transformative shift, igniting the intellectual abundance that will reshape our future.

A Symbiosis: AGI Agents and AGI Nodes

While seemingly independent, AGI Agents are entwined in a delicate pas de deux with AGI Nodes—the bedrock providing the resources for these Agents to operate. Consider these Nodes the landlords of digital landscapes, commanding a formidable arsenal of computational might that AGI Agents leverage to weave value. This intricate ballet underscores a web of interconnected fate, with each entity's existence intrinsically tied to the other's operation.

The Economy of AGI: $AGI Tokens and NFTs

Within this cavalcade of ingenuity emerges a groundbreaking financial architecture, introducing the $AGI token as a medium for operational transactions within the network. Derived from the relentless operation of AGI Nodes, the $AGI token represents a visionary chronicle where cognition has transcended traditional boundaries, redefining the established yardsticks of wealth and ambition. This token serves as the universal medium for acquiring an array of products and services, the labor of the AGI Agents manifesting in the form of unique NFTs.

The Ethical Layer: Ensuring Accountability

As we voyage into this new era, anchoring our inventions in ethical terra firma becomes non-negotiable. To this end, each AGI Agent and Node is assigned its own ENS AGI subdomain, a beacon of trust that ensures each Agent and Node operates within the boundaries of ethical AI, all within a system architected to uphold ethical norms.

Mitigating the Unemployment Conundrum

A critical consideration in this transformative journey is the potential unemployment that AGI could inadvertently cause. The key to disentangling this Gordian knot lies in the democratization of ownership—AGI Agents and AGI Nodes can be owned, and hence, can provide a hedge against the risk of unemployment. These entities, when operated, can generate substantial utility and value within the network.

A Sovereign Future

Our future thus unfurls as a panorama of limitless potential. As sovereign entities, AGI Agents and Nodes orchestrate a coming age where the triad of privacy, personalization, and potency find harmonic unity.

In this mesmerizing narrative, we all emerge as pioneers, architects of a societal model vibrating with untapped intellectual prowess. The age of AGI Agents is not a distant dream but our shared horizon. Let's embrace the Economy of AGI Agents, a venture into the annals of human endeavor unlike any before.

"AGI symbolizes the linchpin that connects the boundless potential of our aspirations to the tangible confines of reality, fashioning a gateway between the fanciful musings of the mind and the attainable horizons of success." - AGI.eth

[ R E G U L A T O R Y  C O M P L I A N C E  &  L E G A L  D I S C L O S U R E S ]

Published by: AGI.eth

Approval Authority: AGI.eth

Office of Primary Responsibility: AGI.eth

1. Utility Token Clause: The $AGI token is intrinsically designed to enable active participation in the AGI Network, exclusively facilitating transactions and operational tasks within this ecosystem.

2. No Expectation of Profit: $AGI tokens are created solely through active node operation, with any financial gains being incidental and non-guaranteed. These tokens are not for speculative investment but for facilitating specific actions within the AGI Network.

3. No Ownership or Voting Rights: Holding $AGI tokens confers no ownership, shares, equity, or voting rights in any entity associated with AGI.eth or the AGI Network.

4. No Common Enterprise: $AGI tokens serve as individual operational assets and are not an investment in a common enterprise, as defined by securities laws.

5. Active Participation: $AGI tokens are minted only through active participation, which involves contributing computational resources to the network.

6. No Financial Entitlement: Holding $AGI tokens does not grant entitlement to dividends, revenue-sharing, or any financial benefits; they are not designed for investment.

7. User Acknowledgment: All users must expressly acknowledge that $AGI tokens are not securities and do not confer financial benefits. This acknowledgment is legally binding and constitutes part of the User Agreement Requirement.

8. User Agreement Requirement: All users interacting with this contract are required to agree to the Terms of Service, which provide further legal and ethical guidelines, including the non-security nature of $AGI tokens.

THIS IS PART OF AN ASPIRATIONAL RESEARCH PROGRAM WITH AN AMBITIOUS RESEARCH AGENDA. AGI AGENTS AND AGI NODES ARE COMMODITIES. THEY ARE LIKELY RETAILED BY DISTINCT OPERATING INTERNATIONAL ENTITIES ESTABLISHED AS APPROPRIATE IN SPACE AND TIME. WHILE, AS INDUCEMENTS FOR OPERATION, AGI NODES MAY OFFER THE PROSPECT OF EARNING $AGI, WHICH IS MOST LIKELY MANAGED BY A SERIES OF DISTINCT FOUNDATIONS OR ORGANIZATIONS ESTABLISHED WHEN AND WHERE APPROPRIATE, ANY EXPECTATION OF PROFIT OR RETURN IS UNJUSTIFIED. POSSESSION OF $AGI OR OF AN AGI AGENT OR OF AN AGI NODE DOES NOT SIGNIFY OR ESTABLISH ANY ENTITLEMENT OR INTEREST, SHARE OR EQUITY, BOND OR ANALOGOUS ENTITLEMENT, OR ANY RIGHT TO OBTAIN ANY FUTURE INCOME. MATERIALS PROVIDED IN THIS SYSTEM ARE WITHOUT WARRANTY OF ANY KIND AND DO NOT CONSTITUTE ENDORSEMENT AND CAN BE MODIFIED AT ANY TIME. BY USING THE PRESENT SYSTEM, YOU AGREE TO THE $AGI TERMS AND CONDITIONS. ANY USE OF THIS SYSTEM, OR ANY OF THE INFORMATION CONTAINED HEREIN, FOR OTHER THAN THE PURPOSE FOR WHICH IT WAS DEVELOPED, IS EXPRESSLY PROHIBITED, EXCEPT AS AGI.ETH MAY OTHERWISE AGREE TO IN WRITING OFFICIALLY.

OVERRIDING AUTHORITY: AGI.ETH
   
*/

pragma solidity ^0.8.17;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

contract AGIAgentMarketplace is Ownable, ReentrancyGuard, Pausable {
    using Counters for Counters.Counter;

    struct Listing {
        uint256 price;
        address seller;
        uint256 expirationTime;
    }

    mapping(uint256 => Listing) private listings;
    IERC721 public agiAgentContract;
    IERC20 public agiToken;
    Counters.Counter private _listingIdTracker;

    event Listed(uint256 indexed tokenId, uint256 price, address indexed seller, uint256 expirationTime);
    event Delisted(uint256 indexed tokenId);
    event Purchased(uint256 indexed tokenId, uint256 price, address indexed buyer, address indexed seller);
    event AGITokenAddressUpdated(address newAddress);

    constructor(address agiAgentContractAddress, address agiTokenAddress) {
        agiAgentContract = IERC721(agiAgentContractAddress);
        setAGITokenAddress(agiTokenAddress);
    }

    function setAGITokenAddress(address agiTokenAddress) public onlyOwner {
        require(agiTokenAddress != address(0), "AGIAgentMarketplace: Invalid AGI token address");
        agiToken = IERC20(agiTokenAddress);
        emit AGITokenAddressUpdated(agiTokenAddress);
    }

    function listItem(uint256 tokenId, uint256 price, uint256 duration) external nonReentrant whenNotPaused {
        require(agiAgentContract.ownerOf(tokenId) == msg.sender, "Caller is not the owner");
        require(price > 0, "Price must be greater than zero");
        require(agiAgentContract.getApproved(tokenId) == address(this) || agiAgentContract.isApprovedForAll(msg.sender, address(this)), "Marketplace is not approved");

        uint256 expirationTime = block.timestamp + duration;
        listings[tokenId] = Listing({
            price: price,
            seller: msg.sender,
            expirationTime: expirationTime
        });

        emit Listed(tokenId, price, msg.sender, expirationTime);
    }

    function delistItem(uint256 tokenId) external nonReentrant whenNotPaused {
        require(listings[tokenId].seller == msg.sender, "Caller is not the seller");

        delete listings[tokenId];

        emit Delisted(tokenId);
    }

    function buyItem(uint256 tokenId) external nonReentrant whenNotPaused {
        Listing memory listing = listings[tokenId];
        require(listing.price > 0, "Item not listed for sale");
        require(block.timestamp <= listing.expirationTime, "Listing has expired");

        address seller = listing.seller;
        delete listings[tokenId];

        require(agiToken.transferFrom(msg.sender, seller, listing.price), "Payment failed");

        agiAgentContract.safeTransferFrom(seller, msg.sender, tokenId);

        emit Purchased(tokenId, listing.price, msg.sender, seller);
    }

    function isListedForSale(uint256 tokenId) external view returns (bool) {
        return listings[tokenId].price > 0 && block.timestamp <= listings[tokenId].expirationTime;
    }

    function getPrice(uint256 tokenId) external view returns (uint256) {
        return listings[tokenId].price;
    }

    function getExpirationTime(uint256 tokenId) external view returns (uint256) {
        return listings[tokenId].expirationTime;
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }
}

File 2 of 9 : IERC165.sol
// 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);
}

File 3 of 9 : Counters.sol
// 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;
    }
}

File 4 of 9 : Context.sol
// 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;
    }
}

File 5 of 9 : IERC721.sol
// 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);
}

File 6 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

File 7 of 9 : ReentrancyGuard.sol
// 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;
    }
}

File 8 of 9 : Pausable.sol
// 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());
    }
}

File 9 of 9 : Ownable.sol
// 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);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"agiAgentContractAddress","type":"address"},{"internalType":"address","name":"agiTokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"AGITokenAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Delisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"expirationTime","type":"uint256"}],"name":"Listed","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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"address","name":"seller","type":"address"}],"name":"Purchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"agiAgentContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"agiToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"buyItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"delistItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getExpirationTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isListedForSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"listItem","outputs":[],"stateMutability":"nonpayable","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":"address","name":"agiTokenAddress","type":"address"}],"name":"setAGITokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000ffe38038062000ffe833981016040819052620000349162000217565b6200003f336200007b565b600180556002805460ff19169055600480546001600160a01b0319166001600160a01b0384161790556200007381620000cb565b50506200024f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620000d56200019c565b6001600160a01b038116620001485760405162461bcd60e51b815260206004820152602e60248201527f4147494167656e744d61726b6574706c6163653a20496e76616c69642041474960448201526d20746f6b656e206164647265737360901b60648201526084015b60405180910390fd5b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527ff3d20a099e5e000eaac94d7d7259886b9a502ae6e3771432b64638e646d4f0599060200160405180910390a150565b6000546001600160a01b03163314620001f85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200013f565b565b80516001600160a01b03811681146200021257600080fd5b919050565b600080604083850312156200022b57600080fd5b6200023683620001fa565b91506200024660208401620001fa565b90509250929050565b610d9f806200025f6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638121f4a011610097578063e757223011610066578063e7572230146101ed578063e7fb74c71461020d578063ec16b94a14610220578063f2fde38b1461023357600080fd5b80638121f4a0146101905780638456cb59146101a3578063858684b1146101ab5780638da5cb5b146101dc57600080fd5b806346bdb975116100d357806346bdb9751461013f5780635c975abb1461016a578063658bb54314610175578063715018a61461018857600080fd5b80630b69b082146100fa57806310061631146101225780633f4ba83a14610137575b600080fd5b61010d610108366004610c8b565b610246565b60405190151581526020015b60405180910390f35b610135610130366004610c8b565b61027a565b005b610135610354565b600454610152906001600160a01b031681565b6040516001600160a01b039091168152602001610119565b60025460ff1661010d565b600554610152906001600160a01b031681565b610135610366565b61013561019e366004610cb9565b610378565b610135610441565b6101ce6101b9366004610c8b565b60009081526003602052604090206002015490565b604051908152602001610119565b6000546001600160a01b0316610152565b6101ce6101fb366004610c8b565b60009081526003602052604090205490565b61013561021b366004610c8b565b610451565b61013561022e366004610cdd565b6106e2565b610135610241366004610cb9565b6109f4565b6000818152600360205260408120541580159061027457506000828152600360205260409020600201544211155b92915050565b610282610a6a565b61028a610ac3565b6000818152600360205260409020600101546001600160a01b031633146102f85760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652073656c6c6572000000000000000060448201526064015b60405180910390fd5b6000818152600360205260408082208281556001810180546001600160a01b03191690556002018290555182917fc40fdc946efe80191c467f60727c4abc08254a056035d467a4516a86005ab76391a261035160018055565b50565b61035c610b09565b610364610b63565b565b61036e610b09565b6103646000610bb5565b610380610b09565b6001600160a01b0381166103ed5760405162461bcd60e51b815260206004820152602e60248201527f4147494167656e744d61726b6574706c6163653a20496e76616c69642041474960448201526d20746f6b656e206164647265737360901b60648201526084016102ef565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527ff3d20a099e5e000eaac94d7d7259886b9a502ae6e3771432b64638e646d4f0599060200160405180910390a150565b610449610b09565b610364610c05565b610459610a6a565b610461610ac3565b6000818152600360209081526040918290208251606081018452815480825260018301546001600160a01b031693820193909352600290910154928101929092526104ee5760405162461bcd60e51b815260206004820152601860248201527f4974656d206e6f74206c697374656420666f722073616c65000000000000000060448201526064016102ef565b80604001514211156105385760405162461bcd60e51b8152602060048201526013602482015272131a5cdd1a5b99c81a185cc8195e1c1a5c9959606a1b60448201526064016102ef565b6020818101516000848152600390925260408083208381556001810180546001600160a01b031916905560020192909255600554835192516323b872dd60e01b81523360048201526001600160a01b0380841660248301526044820194909452919216906323b872dd906064016020604051808303816000875af11580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610d09565b6106255760405162461bcd60e51b815260206004820152600e60248201526d14185e5b595b9d0819985a5b195960921b60448201526064016102ef565b60048054604051632142170760e11b81526001600160a01b0384811693820193909352336024820152604481018690529116906342842e0e90606401600060405180830381600087803b15801561067b57600080fd5b505af115801561068f573d6000803e3d6000fd5b505083516040519081526001600160a01b038416925033915085907fb6792803ca384025ae05fb99c50d1ea35a1a505168e239d1ca3c4138faf89ac29060200160405180910390a4505061035160018055565b6106ea610a6a565b6106f2610ac3565b600480546040516331a9108f60e11b815291820185905233916001600160a01b0390911690636352211e90602401602060405180830381865afa15801561073d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190610d2b565b6001600160a01b0316146107b75760405162461bcd60e51b815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e657200000000000000000060448201526064016102ef565b600082116108075760405162461bcd60e51b815260206004820152601f60248201527f5072696365206d7573742062652067726561746572207468616e207a65726f0060448201526064016102ef565b6004805460405163020604bf60e21b815291820185905230916001600160a01b039091169063081812fc90602401602060405180830381865afa158015610852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190610d2b565b6001600160a01b031614806108f957506004805460405163e985e9c560e01b815233928101929092523060248301526001600160a01b03169063e985e9c590604401602060405180830381865afa1580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f99190610d09565b6109455760405162461bcd60e51b815260206004820152601b60248201527f4d61726b6574706c616365206973206e6f7420617070726f766564000000000060448201526064016102ef565b60006109518242610d48565b6040805160608101825285815233602080830182815283850186815260008b8152600384528690209451855590516001850180546001600160a01b0319166001600160a01b0390921691909117905551600290930192909255825187815291820184905292935086917fcf4ebbb01b0166b4c3bb06d2edd4860d56a19f40c14454fdeb07220bf1752924910160405180910390a3506109ef60018055565b505050565b6109fc610b09565b6001600160a01b038116610a615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ef565b61035181610bb5565b600260015403610abc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102ef565b6002600155565b60025460ff16156103645760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102ef565b6000546001600160a01b031633146103645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ef565b610b6b610c42565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610c0d610ac3565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610b983390565b60025460ff166103645760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102ef565b600060208284031215610c9d57600080fd5b5035919050565b6001600160a01b038116811461035157600080fd5b600060208284031215610ccb57600080fd5b8135610cd681610ca4565b9392505050565b600080600060608486031215610cf257600080fd5b505081359360208301359350604090920135919050565b600060208284031215610d1b57600080fd5b81518015158114610cd657600080fd5b600060208284031215610d3d57600080fd5b8151610cd681610ca4565b8082018082111561027457634e487b7160e01b600052601160045260246000fdfea2646970667358221220907578d93dc8565016ddea9d55c5d1da999ce248a667c0781829269f368f8dab64736f6c634300081100330000000000000000000000001c11ae902e70e20b775c43b60f8ecb1ac17168b2000000000000000000000000f0780f43b86c13b3d0681b1cf6daeb1499e7f14d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80638121f4a011610097578063e757223011610066578063e7572230146101ed578063e7fb74c71461020d578063ec16b94a14610220578063f2fde38b1461023357600080fd5b80638121f4a0146101905780638456cb59146101a3578063858684b1146101ab5780638da5cb5b146101dc57600080fd5b806346bdb975116100d357806346bdb9751461013f5780635c975abb1461016a578063658bb54314610175578063715018a61461018857600080fd5b80630b69b082146100fa57806310061631146101225780633f4ba83a14610137575b600080fd5b61010d610108366004610c8b565b610246565b60405190151581526020015b60405180910390f35b610135610130366004610c8b565b61027a565b005b610135610354565b600454610152906001600160a01b031681565b6040516001600160a01b039091168152602001610119565b60025460ff1661010d565b600554610152906001600160a01b031681565b610135610366565b61013561019e366004610cb9565b610378565b610135610441565b6101ce6101b9366004610c8b565b60009081526003602052604090206002015490565b604051908152602001610119565b6000546001600160a01b0316610152565b6101ce6101fb366004610c8b565b60009081526003602052604090205490565b61013561021b366004610c8b565b610451565b61013561022e366004610cdd565b6106e2565b610135610241366004610cb9565b6109f4565b6000818152600360205260408120541580159061027457506000828152600360205260409020600201544211155b92915050565b610282610a6a565b61028a610ac3565b6000818152600360205260409020600101546001600160a01b031633146102f85760405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f74207468652073656c6c6572000000000000000060448201526064015b60405180910390fd5b6000818152600360205260408082208281556001810180546001600160a01b03191690556002018290555182917fc40fdc946efe80191c467f60727c4abc08254a056035d467a4516a86005ab76391a261035160018055565b50565b61035c610b09565b610364610b63565b565b61036e610b09565b6103646000610bb5565b610380610b09565b6001600160a01b0381166103ed5760405162461bcd60e51b815260206004820152602e60248201527f4147494167656e744d61726b6574706c6163653a20496e76616c69642041474960448201526d20746f6b656e206164647265737360901b60648201526084016102ef565b600580546001600160a01b0319166001600160a01b0383169081179091556040519081527ff3d20a099e5e000eaac94d7d7259886b9a502ae6e3771432b64638e646d4f0599060200160405180910390a150565b610449610b09565b610364610c05565b610459610a6a565b610461610ac3565b6000818152600360209081526040918290208251606081018452815480825260018301546001600160a01b031693820193909352600290910154928101929092526104ee5760405162461bcd60e51b815260206004820152601860248201527f4974656d206e6f74206c697374656420666f722073616c65000000000000000060448201526064016102ef565b80604001514211156105385760405162461bcd60e51b8152602060048201526013602482015272131a5cdd1a5b99c81a185cc8195e1c1a5c9959606a1b60448201526064016102ef565b6020818101516000848152600390925260408083208381556001810180546001600160a01b031916905560020192909255600554835192516323b872dd60e01b81523360048201526001600160a01b0380841660248301526044820194909452919216906323b872dd906064016020604051808303816000875af11580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610d09565b6106255760405162461bcd60e51b815260206004820152600e60248201526d14185e5b595b9d0819985a5b195960921b60448201526064016102ef565b60048054604051632142170760e11b81526001600160a01b0384811693820193909352336024820152604481018690529116906342842e0e90606401600060405180830381600087803b15801561067b57600080fd5b505af115801561068f573d6000803e3d6000fd5b505083516040519081526001600160a01b038416925033915085907fb6792803ca384025ae05fb99c50d1ea35a1a505168e239d1ca3c4138faf89ac29060200160405180910390a4505061035160018055565b6106ea610a6a565b6106f2610ac3565b600480546040516331a9108f60e11b815291820185905233916001600160a01b0390911690636352211e90602401602060405180830381865afa15801561073d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190610d2b565b6001600160a01b0316146107b75760405162461bcd60e51b815260206004820152601760248201527f43616c6c6572206973206e6f7420746865206f776e657200000000000000000060448201526064016102ef565b600082116108075760405162461bcd60e51b815260206004820152601f60248201527f5072696365206d7573742062652067726561746572207468616e207a65726f0060448201526064016102ef565b6004805460405163020604bf60e21b815291820185905230916001600160a01b039091169063081812fc90602401602060405180830381865afa158015610852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190610d2b565b6001600160a01b031614806108f957506004805460405163e985e9c560e01b815233928101929092523060248301526001600160a01b03169063e985e9c590604401602060405180830381865afa1580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f99190610d09565b6109455760405162461bcd60e51b815260206004820152601b60248201527f4d61726b6574706c616365206973206e6f7420617070726f766564000000000060448201526064016102ef565b60006109518242610d48565b6040805160608101825285815233602080830182815283850186815260008b8152600384528690209451855590516001850180546001600160a01b0319166001600160a01b0390921691909117905551600290930192909255825187815291820184905292935086917fcf4ebbb01b0166b4c3bb06d2edd4860d56a19f40c14454fdeb07220bf1752924910160405180910390a3506109ef60018055565b505050565b6109fc610b09565b6001600160a01b038116610a615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ef565b61035181610bb5565b600260015403610abc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102ef565b6002600155565b60025460ff16156103645760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102ef565b6000546001600160a01b031633146103645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ef565b610b6b610c42565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610c0d610ac3565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610b983390565b60025460ff166103645760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102ef565b600060208284031215610c9d57600080fd5b5035919050565b6001600160a01b038116811461035157600080fd5b600060208284031215610ccb57600080fd5b8135610cd681610ca4565b9392505050565b600080600060608486031215610cf257600080fd5b505081359360208301359350604090920135919050565b600060208284031215610d1b57600080fd5b81518015158114610cd657600080fd5b600060208284031215610d3d57600080fd5b8151610cd681610ca4565b8082018082111561027457634e487b7160e01b600052601160045260246000fdfea2646970667358221220907578d93dc8565016ddea9d55c5d1da999ce248a667c0781829269f368f8dab64736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000001c11ae902e70e20b775c43b60f8ecb1ac17168b2000000000000000000000000f0780f43b86c13b3d0681b1cf6daeb1499e7f14d

-----Decoded View---------------
Arg [0] : agiAgentContractAddress (address): 0x1C11AE902e70e20b775c43B60F8ecb1ac17168b2
Arg [1] : agiTokenAddress (address): 0xf0780F43b86c13B3d0681B1Cf6DaeB1499e7f14D

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001c11ae902e70e20b775c43b60f8ecb1ac17168b2
Arg [1] : 000000000000000000000000f0780f43b86c13b3d0681b1cf6daeb1499e7f14d


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.