ETH Price: $3,159.03 (-4.68%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint Crew With A...215232572024-12-31 15:10:3532 days ago1735657835IN
0x258432C7...Ce65765E3
0 ETH0.0036906121.92264895
Mint Crew With A...213702892024-12-10 6:23:2353 days ago1733811803IN
0x258432C7...Ce65765E3
0 ETH0.0024713713.32743993
Mint Crew With A...209757102024-10-16 4:23:23108 days ago1729052603IN
0x258432C7...Ce65765E3
0 ETH0.0020579412.22444645
Mint Crew With A...209470402024-10-12 4:08:23112 days ago1728706103IN
0x258432C7...Ce65765E3
0 ETH0.001473838.76014375
Mint Crew With A...209252412024-10-09 3:07:47115 days ago1728443267IN
0x258432C7...Ce65765E3
0 ETH0.0028384715.31569501
Mint Crew With A...209251632024-10-09 2:52:11115 days ago1728442331IN
0x258432C7...Ce65765E3
0 ETH0.0031383716.93388985
Mint Crew With A...207258362024-09-11 7:19:23143 days ago1726039163IN
0x258432C7...Ce65765E3
0 ETH0.000485232.61673135
Mint Crew With A...206071322024-08-25 17:36:11160 days ago1724607371IN
0x258432C7...Ce65765E3
0 ETH0.000239341.42175505
Mint Crew With A...206071312024-08-25 17:35:59160 days ago1724607359IN
0x258432C7...Ce65765E3
0 ETH0.000246771.4658929
Mint Crew With A...206071302024-08-25 17:35:47160 days ago1724607347IN
0x258432C7...Ce65765E3
0 ETH0.000248361.47532874
Mint Crew With A...206071292024-08-25 17:35:35160 days ago1724607335IN
0x258432C7...Ce65765E3
0 ETH0.000248931.47869287
Mint Crew With A...206071282024-08-25 17:35:23160 days ago1724607323IN
0x258432C7...Ce65765E3
0 ETH0.000243331.44554575
Mint Crew With A...206068172024-08-25 16:32:23160 days ago1724603543IN
0x258432C7...Ce65765E3
0 ETH0.000180681.07326527
Mint Crew With A...206068162024-08-25 16:32:11160 days ago1724603531IN
0x258432C7...Ce65765E3
0 ETH0.00017841.05975019
Mint Crew With A...206068152024-08-25 16:31:59160 days ago1724603519IN
0x258432C7...Ce65765E3
0 ETH0.000185481.10180025
Mint Crew With A...206068142024-08-25 16:31:47160 days ago1724603507IN
0x258432C7...Ce65765E3
0 ETH0.00017061.16728068
Mint Crew With A...206068122024-08-25 16:31:23160 days ago1724603483IN
0x258432C7...Ce65765E3
0 ETH0.000184251.09459081
Mint Crew With A...206041572024-08-25 7:36:47160 days ago1724571407IN
0x258432C7...Ce65765E3
0 ETH0.000207311.11790192
Mint Crew With A...205814472024-08-22 3:24:59163 days ago1724297099IN
0x258432C7...Ce65765E3
0 ETH0.000206531.22771573
Mint Crew With A...205790282024-08-21 19:17:23164 days ago1724267843IN
0x258432C7...Ce65765E3
0 ETH0.000425392.29533577
Mint Crew With A...205766502024-08-21 11:18:23164 days ago1724239103IN
0x258432C7...Ce65765E3
0 ETH0.000208411.23798179
Mint Crew With A...205766472024-08-21 11:17:47164 days ago1724239067IN
0x258432C7...Ce65765E3
0 ETH0.000186121.10560203
Mint Crew With A...205766402024-08-21 11:16:23164 days ago1724238983IN
0x258432C7...Ce65765E3
0 ETH0.000200781.08268207
Mint Crew With A...205494542024-08-17 16:11:35168 days ago1723911095IN
0x258432C7...Ce65765E3
0 ETH0.000373162.55318358
Mint Crew With A...205494072024-08-17 16:02:11168 days ago1723910531IN
0x258432C7...Ce65765E3
0 ETH0.000494192.66488597
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
215232572024-12-31 15:10:3532 days ago1735657835
0x258432C7...Ce65765E3
0 ETH
215232572024-12-31 15:10:3532 days ago1735657835
0x258432C7...Ce65765E3
0 ETH
215232572024-12-31 15:10:3532 days ago1735657835
0x258432C7...Ce65765E3
0 ETH
215232572024-12-31 15:10:3532 days ago1735657835
0x258432C7...Ce65765E3
0 ETH
215232572024-12-31 15:10:3532 days ago1735657835
0x258432C7...Ce65765E3
0 ETH
213702892024-12-10 6:23:2353 days ago1733811803
0x258432C7...Ce65765E3
0 ETH
213702892024-12-10 6:23:2353 days ago1733811803
0x258432C7...Ce65765E3
0 ETH
213702892024-12-10 6:23:2353 days ago1733811803
0x258432C7...Ce65765E3
0 ETH
213702892024-12-10 6:23:2353 days ago1733811803
0x258432C7...Ce65765E3
0 ETH
213702892024-12-10 6:23:2353 days ago1733811803
0x258432C7...Ce65765E3
0 ETH
209757102024-10-16 4:23:23108 days ago1729052603
0x258432C7...Ce65765E3
0 ETH
209757102024-10-16 4:23:23108 days ago1729052603
0x258432C7...Ce65765E3
0 ETH
209757102024-10-16 4:23:23108 days ago1729052603
0x258432C7...Ce65765E3
0 ETH
209757102024-10-16 4:23:23108 days ago1729052603
0x258432C7...Ce65765E3
0 ETH
209757102024-10-16 4:23:23108 days ago1729052603
0x258432C7...Ce65765E3
0 ETH
209470402024-10-12 4:08:23112 days ago1728706103
0x258432C7...Ce65765E3
0 ETH
209470402024-10-12 4:08:23112 days ago1728706103
0x258432C7...Ce65765E3
0 ETH
209470402024-10-12 4:08:23112 days ago1728706103
0x258432C7...Ce65765E3
0 ETH
209470402024-10-12 4:08:23112 days ago1728706103
0x258432C7...Ce65765E3
0 ETH
209470402024-10-12 4:08:23112 days ago1728706103
0x258432C7...Ce65765E3
0 ETH
209252412024-10-09 3:07:47115 days ago1728443267
0x258432C7...Ce65765E3
0 ETH
209252412024-10-09 3:07:47115 days ago1728443267
0x258432C7...Ce65765E3
0 ETH
209252412024-10-09 3:07:47115 days ago1728443267
0x258432C7...Ce65765E3
0 ETH
209252412024-10-09 3:07:47115 days ago1728443267
0x258432C7...Ce65765E3
0 ETH
209252412024-10-09 3:07:47115 days ago1728443267
0x258432C7...Ce65765E3
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArvadCrewSale

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
istanbul EvmVersion, None license
File 1 of 10 : ArvadCrewSale.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/IAsteroidToken.sol";
import "../interfaces/IAsteroidFeatures.sol";
import "../interfaces/IAsteroidScans.sol";
import "../interfaces/ICrewToken.sol";
import "../interfaces/ICrewFeatures.sol";


/**
 * @dev Manages the second sale including both asteroids and crew distribution for the first 11,100
 */
contract ArvadCrewSale is Ownable {
  IAsteroidToken asteroids;
  IAsteroidFeatures astFeatures;
  IAsteroidScans scans;
  ICrewToken crew;
  ICrewFeatures crewFeatures;

  // Mapping from asteroidId to bool whether it's been used to generate a crew member
  mapping (uint => bool) private _asteroidsUsed;

  uint public saleStartTime; // in seconds since epoch
  uint public baseAsteroidPrice;
  uint public baseLotPrice;
  uint public startScanCount; // count of total purchases when the sale starts
  uint public endScanCount; // count of total purchases after which to stop the sale

  event SaleCreated(uint indexed start, uint asteroidPrice, uint lotPrice, uint startCount, uint endCount);
  event SaleCancelled(uint indexed start);
  event AsteroidUsed(uint indexed asteroidId, uint indexed crewId);

  /**
   * @param _asteroids Reference to the AsteroidToken contract address
   * @param _astFeatures Reference to the AsteroidFeatures contract address
   * @param _scans Reference to the AsteroidScans contract address
   * @param _crew Reference to the CrewToken contract address
   * @param _crewFeatures Reference to the CrewFeatures contract address
   */
  constructor(
    IAsteroidToken _asteroids,
    IAsteroidFeatures _astFeatures,
    IAsteroidScans _scans,
    ICrewToken _crew,
    ICrewFeatures _crewFeatures
  ) {
    asteroids = _asteroids;
    astFeatures = _astFeatures;
    scans = _scans;
    crew = _crew;
    crewFeatures = _crewFeatures;
  }

  /**
   * @dev Sets the initial parameters for the sale
   * @param _startTime Seconds since epoch to start the sale
   * @param _perAsteroid Price in wei per asteroid
   * @param _perLot Additional price per asteroid multiplied by the surface area of the asteroid
   * @param _startScanCount Starting scan count for the sale, impacts which collection is minted for crew
   * @param _endScanCount End the sale once this scan order is reached
   */
  function createSale(
    uint _startTime,
    uint _perAsteroid,
    uint _perLot,
    uint _startScanCount,
    uint _endScanCount
  ) external onlyOwner {
    saleStartTime = _startTime;
    baseAsteroidPrice = _perAsteroid;
    baseLotPrice = _perLot;
    startScanCount = _startScanCount;
    endScanCount = _endScanCount;
    emit SaleCreated(saleStartTime, baseAsteroidPrice, baseLotPrice, startScanCount, endScanCount);
  }

  /**
   * @dev Cancels a future or ongoing sale
   **/
  function cancelSale() external onlyOwner {
    require(saleStartTime > 0, "ArvadCrewSale: no sale defined");
    _cancelSale();
  }

  /**
   * @dev Retrieve the price for the given asteroid which includes a base price and a price scaled by surface area
   * @param _tokenId ERC721 token ID of the asteroid
   */
  function getAsteroidPrice(uint _tokenId) public view returns (uint) {
    require(baseAsteroidPrice > 0 && baseLotPrice > 0, "ArvadCrewSale: base prices must be set");
    uint radius = astFeatures.getRadius(_tokenId);
    uint lots = (radius * radius) / 250000;
    return baseAsteroidPrice + (baseLotPrice * lots);
  }

  /**
   * @dev Purchase an asteroid
   * @param _asteroidId ERC721 token ID of the asteroid
   **/
  function buyAsteroid(uint _asteroidId) external payable {
    require(block.timestamp >= saleStartTime, "ArvadCrewSale: no active sale");
    require(msg.value == getAsteroidPrice(_asteroidId), "ArvadCrewSale: incorrect amount of Ether sent");
    uint scanCount = scans.scanOrderCount();
    require(scanCount < endScanCount, "ArvadCrewSale: sale has completed");

    asteroids.mint(_msgSender(), _asteroidId);
    scans.recordScanOrder(_asteroidId);

    // Complete sale if no more crew members available
    if (scanCount == (endScanCount - 1)) {
      _cancelSale();
      unlockCitizens();
    }
  }

  /**
   * @dev Mints a crew member with an existing, already purchased asteroid
   * @param _asteroidId The ERC721 tokenID of the asteroid
   */
  function mintCrewWithAsteroid(uint _asteroidId) external {
    require(asteroids.ownerOf(_asteroidId) == _msgSender(), "ArvadCrewSale: caller must own the asteroid");
    require(!_asteroidsUsed[_asteroidId], "ArvadCrewSale: asteroid has already been used to mint crew");
    uint scanOrder = scans.getScanOrder(_asteroidId);
    require(scanOrder > 0 && scanOrder <= endScanCount, "ArvadCrewSale: crew not mintable with this asteroid");
    uint scanCount = scans.scanOrderCount();
    require(scanOrder <= startScanCount || scanCount >= endScanCount, "ArvadCrewSale: Scanning citizens not unlocked");

    // Mint crew token and record asteroid usage
    uint crewId = crew.mint(_msgSender());

    if (scanOrder <= startScanCount) {
      // Record crew as Arvad Specialists (collection #1) in CrewFeatures
      crewFeatures.setToken(crewId, 1, (250000 - _asteroidId) * (250000 - _asteroidId) / 25000000);
    } else {
      // Record crew as Arvad Citizens (collection #2) in CrewFeatures
      crewFeatures.setToken(crewId, 2, (250000 - _asteroidId) * (250000 - _asteroidId) / 25000000);
    }

    _asteroidsUsed[_asteroidId] = true;
    emit AsteroidUsed(_asteroidId, crewId);
  }

  /**
   * @dev Withdraw Ether from the contract to owner address
   */
  function withdraw() external onlyOwner {
    uint balance = address(this).balance;
    _msgSender().transfer(balance);
  }

  /**
   * @dev Unlocks Arvad Citizens attribute generation by setting a seed. Can be called by anyone.
   */
  function unlockCitizens() internal {
    require(scans.scanOrderCount() >= endScanCount, "ArvadCrewSale: all asteroids must be sold first");
    bytes32 seed = blockhash(block.number - 1);
    crewFeatures.setGeneratorSeed(2, seed);
  }

  /**
   * @dev Unlocks Arvad Citizens attribute generation before all asteroids are sold as a backup
   */
  function emergencyUnlockCitizens() external onlyOwner {
    bytes32 seed = blockhash(block.number - 1);
    crewFeatures.setGeneratorSeed(2, seed);
  }

  /**
   * @dev Internal sale cancellation method
   */
  function _cancelSale() private {
    emit SaleCancelled(saleStartTime);
    saleStartTime = 0;
    baseAsteroidPrice = 0;
    baseLotPrice = 0;
  }
}

File 2 of 10 : IAsteroidFeatures.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;


interface IAsteroidFeatures {

  function getAsteroidSeed(uint _asteroidId) external pure returns (bytes32);

  function getRadius(uint _asteroidId) external pure returns (uint);

  function getSpectralType(uint _asteroidId) external pure returns (uint);

  function getSpectralTypeBySeed(bytes32 _seed) external pure returns (uint);

  function getOrbitalElements(uint _asteroidId) external pure returns (uint[6] memory orbitalElements);

  function getOrbitalElementsBySeed(bytes32 _seed) external pure returns (uint[6] memory orbitalElements);
}

File 3 of 10 : IAsteroidScans.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;


interface IAsteroidScans {

  function scanOrderCount() external returns (uint);

  function recordScanOrder(uint _asteroidId) external;

  function getScanOrder(uint _asteroidId) external view returns(uint);

  function setInitialBonuses(uint[] calldata _asteroidIds, uint[] calldata _bonuses) external;

  function finalizeScan(uint _asteroidId) external;

  function retrieveScan(uint _asteroidId) external view returns (uint);
}

File 4 of 10 : IAsteroidToken.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";


interface IAsteroidToken is IERC721 {

  function mint(address _to, uint _tokenId) external;

  function burn(address _owner, uint _tokenId) external;

  function ownerOf(uint tokenId) external override view returns (address);
}

File 5 of 10 : ICrewFeatures.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;


interface ICrewFeatures {

  function setGeneratorSeed(uint _collId, bytes32 _seed) external;

  function setToken(uint _crewId, uint _collId, uint _mod) external;
}

File 6 of 10 : ICrewToken.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";


interface ICrewToken is IERC721 {

  function mint(address _to) external returns (uint);

  function ownerOf(uint256 tokenId) external override view returns (address);
}

File 7 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 8 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 9 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

import "../../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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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 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);

    /**
      * @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;
}

File 10 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IAsteroidToken","name":"_asteroids","type":"address"},{"internalType":"contract IAsteroidFeatures","name":"_astFeatures","type":"address"},{"internalType":"contract IAsteroidScans","name":"_scans","type":"address"},{"internalType":"contract ICrewToken","name":"_crew","type":"address"},{"internalType":"contract ICrewFeatures","name":"_crewFeatures","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"asteroidId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"crewId","type":"uint256"}],"name":"AsteroidUsed","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":true,"internalType":"uint256","name":"start","type":"uint256"}],"name":"SaleCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"start","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"asteroidPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lotPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startCount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endCount","type":"uint256"}],"name":"SaleCreated","type":"event"},{"inputs":[],"name":"baseAsteroidPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseLotPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_asteroidId","type":"uint256"}],"name":"buyAsteroid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cancelSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_perAsteroid","type":"uint256"},{"internalType":"uint256","name":"_perLot","type":"uint256"},{"internalType":"uint256","name":"_startScanCount","type":"uint256"},{"internalType":"uint256","name":"_endScanCount","type":"uint256"}],"name":"createSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyUnlockCitizens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endScanCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getAsteroidPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_asteroidId","type":"uint256"}],"name":"mintCrewWithAsteroid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startScanCount","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051611d67380380611d67833981810160405260a081101561003357600080fd5b810190808051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050600061007c61026960201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35084600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050610271565b600033905090565b611ae7806102806000396000f3fe6080604052600436106100e85760003560e01c80638da5cb5b1161008a578063d6215b9211610059578063d6215b921461030f578063e7e104901461033a578063eb06819414610351578063f2fde38b1461037c576100e8565b80638da5cb5b1461023a578063993cd5631461027b578063ae3908b5146102a9578063c486de3a146102d4576100e8565b806350e63f7e116100c657806350e63f7e146101925780636b3ff734146101e1578063715018a6146101f857806386437a401461020f576100e8565b806309c20c07146100ed5780631cbaee2d146101505780633ccfd60b1461017b575b600080fd5b3480156100f957600080fd5b5061014e600480360360a081101561011057600080fd5b8101908080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506103cd565b005b34801561015c57600080fd5b50610165610500565b6040518082815260200191505060405180910390f35b34801561018757600080fd5b50610190610506565b005b34801561019e57600080fd5b506101cb600480360360208110156101b557600080fd5b810190808035906020019092919050505061060b565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f661074c565b005b34801561020457600080fd5b5061020d61089d565b005b34801561021b57600080fd5b50610224610a0a565b6040518082815260200191505060405180910390f35b34801561024657600080fd5b5061024f610a10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102a76004803603602081101561029157600080fd5b8101908080359060200190929190505050610a39565b005b3480156102b557600080fd5b506102be610d75565b6040518082815260200191505060405180910390f35b3480156102e057600080fd5b5061030d600480360360208110156102f757600080fd5b8101908080359060200190929190505050610d7b565b005b34801561031b57600080fd5b50610324611402565b6040518082815260200191505060405180910390f35b34801561034657600080fd5b5061034f611408565b005b34801561035d57600080fd5b50610366611539565b6040518082815260200191505060405180910390f35b34801561038857600080fd5b506103cb6004803603602081101561039f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061153f565b005b6103d5611731565b73ffffffffffffffffffffffffffffffffffffffff166103f3610a10565b73ffffffffffffffffffffffffffffffffffffffff161461047c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b84600781905550836008819055508260098190555081600a8190555080600b819055506007547f6688114a9b77bcf97076216092c6794f7c541749631612664980599eaff1f532600854600954600a54600b546040518085815260200184815260200183815260200182815260200194505050505060405180910390a25050505050565b60075481565b61050e611731565b73ffffffffffffffffffffffffffffffffffffffff1661052c610a10565b73ffffffffffffffffffffffffffffffffffffffff16146105b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60004790506105c2611731565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610607573d6000803e3d6000fd5b5050565b60008060085411801561062057506000600954115b610675576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806119f66026913960400191505060405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636b082eed846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156106ea57600080fd5b505afa1580156106fe573d6000803e3d6000fd5b505050506040513d602081101561071457600080fd5b8101908080519060200190929190505050905060006203d0908283028161073757fe5b04905080600954026008540192505050919050565b610754611731565b73ffffffffffffffffffffffffffffffffffffffff16610772610a10565b73ffffffffffffffffffffffffffffffffffffffff16146107fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060014303409050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf39eaf26002836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561088257600080fd5b505af1158015610896573d6000803e3d6000fd5b5050505050565b6108a5611731565b73ffffffffffffffffffffffffffffffffffffffff166108c3610a10565b73ffffffffffffffffffffffffffffffffffffffff161461094c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60085481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600754421015610ab1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f41727661644372657753616c653a206e6f206163746976652073616c6500000081525060200191505060405180910390fd5b610aba8161060b565b3414610b11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180611a1c602d913960400191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3d96ad96040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610b7d57600080fd5b505af1158015610b91573d6000803e3d6000fd5b505050506040513d6020811015610ba757600080fd5b81019080805190602001909291905050509050600b548110610c14576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806119d56021913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610c5a611731565b846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610cae57600080fd5b505af1158015610cc2573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166322053d17836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610d3b57600080fd5b505af1158015610d4f573d6000803e3d6000fd5b505050506001600b5403811415610d7157610d68611739565b610d70611782565b5b5050565b60095481565b610d83611731565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e0c57600080fd5b505afa158015610e20573d6000803e3d6000fd5b505050506040513d6020811015610e3657600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1614610eb3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806119aa602b913960400191505060405180910390fd5b6006600082815260200190815260200160002060009054906101000a900460ff1615610f2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180611a78603a913960400191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663034c6063836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f9f57600080fd5b505afa158015610fb3573d6000803e3d6000fd5b505050506040513d6020811015610fc957600080fd5b81019080805190602001909291905050509050600081118015610fee5750600b548111155b611043576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806119246033913960400191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3d96ad96040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156110af57600080fd5b505af11580156110c3573d6000803e3d6000fd5b505050506040513d60208110156110d957600080fd5b81019080805190602001909291905050509050600a54821115806110ff5750600b548110155b611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061197d602d913960400191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a62784261119c611731565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156111e857600080fd5b505af11580156111fc573d6000803e3d6000fd5b505050506040513d602081101561121257600080fd5b81019080805190602001909291905050509050600a5483116112ea57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166394a5dbb182600163017d7840886203d09003896203d09003028161128857fe5b046040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050600060405180830381600087803b1580156112cd57600080fd5b505af11580156112e1573d6000803e3d6000fd5b505050506113a2565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166394a5dbb182600263017d7840886203d09003896203d09003028161134457fe5b046040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050600060405180830381600087803b15801561138957600080fd5b505af115801561139d573d6000803e3d6000fd5b505050505b60016006600086815260200190815260200160002060006101000a81548160ff02191690831515021790555080847f90b6f3d686644a41985457fd239b060dbfa1453d924ed71704777da7f06b17fa60405160405180910390a350505050565b600a5481565b611410611731565b73ffffffffffffffffffffffffffffffffffffffff1661142e610a10565b73ffffffffffffffffffffffffffffffffffffffff16146114b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006007541161152f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f41727661644372657753616c653a206e6f2073616c6520646566696e6564000081525060200191505060405180910390fd5b611537611739565b565b600b5481565b611547611731565b73ffffffffffffffffffffffffffffffffffffffff16611565610a10565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611674576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806119576026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6007547f2c56893f6f6026d19bd17b7d05c9f15c522de1ae2b1c3a825f91a73c799321f260405160405180910390a2600060078190555060006008819055506000600981905550565b600b54600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3d96ad96040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156117ef57600080fd5b505af1158015611803573d6000803e3d6000fd5b505050506040513d602081101561181957600080fd5b81019080805190602001909291905050501015611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180611a49602f913960400191505060405180910390fd5b600060014303409050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf39eaf26002836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561190857600080fd5b505af115801561191c573d6000803e3d6000fd5b505050505056fe41727661644372657753616c653a2063726577206e6f74206d696e7461626c65207769746820746869732061737465726f69644f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737341727661644372657753616c653a205363616e6e696e6720636974697a656e73206e6f7420756e6c6f636b656441727661644372657753616c653a2063616c6c6572206d757374206f776e207468652061737465726f696441727661644372657753616c653a2073616c652068617320636f6d706c6574656441727661644372657753616c653a206261736520707269636573206d7573742062652073657441727661644372657753616c653a20696e636f727265637420616d6f756e74206f662045746865722073656e7441727661644372657753616c653a20616c6c2061737465726f696473206d75737420626520736f6c6420666972737441727661644372657753616c653a2061737465726f69642068617320616c7265616479206265656e207573656420746f206d696e742063726577a26469706673582212200f0e0335b254a1ea35af093ddf675a89ea0ff78575d45e1bfa50584e988fb55164736f6c634300070600330000000000000000000000006e4c6d9b0930073e958abd2aba516b885260b8ff00000000000000000000000099ce24101bc957a0d02ec65ab7e3b507fee42a130000000000000000000000009b811024635626bc37e5d294b384077ab25dcf62000000000000000000000000746db7b1728af413c4e2b98216c6171b2fc9d00e000000000000000000000000f17fd8d6cfe43b5c79597f8325bcc4dc8d60672a

Deployed Bytecode

0x6080604052600436106100e85760003560e01c80638da5cb5b1161008a578063d6215b9211610059578063d6215b921461030f578063e7e104901461033a578063eb06819414610351578063f2fde38b1461037c576100e8565b80638da5cb5b1461023a578063993cd5631461027b578063ae3908b5146102a9578063c486de3a146102d4576100e8565b806350e63f7e116100c657806350e63f7e146101925780636b3ff734146101e1578063715018a6146101f857806386437a401461020f576100e8565b806309c20c07146100ed5780631cbaee2d146101505780633ccfd60b1461017b575b600080fd5b3480156100f957600080fd5b5061014e600480360360a081101561011057600080fd5b8101908080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506103cd565b005b34801561015c57600080fd5b50610165610500565b6040518082815260200191505060405180910390f35b34801561018757600080fd5b50610190610506565b005b34801561019e57600080fd5b506101cb600480360360208110156101b557600080fd5b810190808035906020019092919050505061060b565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f661074c565b005b34801561020457600080fd5b5061020d61089d565b005b34801561021b57600080fd5b50610224610a0a565b6040518082815260200191505060405180910390f35b34801561024657600080fd5b5061024f610a10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102a76004803603602081101561029157600080fd5b8101908080359060200190929190505050610a39565b005b3480156102b557600080fd5b506102be610d75565b6040518082815260200191505060405180910390f35b3480156102e057600080fd5b5061030d600480360360208110156102f757600080fd5b8101908080359060200190929190505050610d7b565b005b34801561031b57600080fd5b50610324611402565b6040518082815260200191505060405180910390f35b34801561034657600080fd5b5061034f611408565b005b34801561035d57600080fd5b50610366611539565b6040518082815260200191505060405180910390f35b34801561038857600080fd5b506103cb6004803603602081101561039f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061153f565b005b6103d5611731565b73ffffffffffffffffffffffffffffffffffffffff166103f3610a10565b73ffffffffffffffffffffffffffffffffffffffff161461047c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b84600781905550836008819055508260098190555081600a8190555080600b819055506007547f6688114a9b77bcf97076216092c6794f7c541749631612664980599eaff1f532600854600954600a54600b546040518085815260200184815260200183815260200182815260200194505050505060405180910390a25050505050565b60075481565b61050e611731565b73ffffffffffffffffffffffffffffffffffffffff1661052c610a10565b73ffffffffffffffffffffffffffffffffffffffff16146105b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60004790506105c2611731565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610607573d6000803e3d6000fd5b5050565b60008060085411801561062057506000600954115b610675576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806119f66026913960400191505060405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636b082eed846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156106ea57600080fd5b505afa1580156106fe573d6000803e3d6000fd5b505050506040513d602081101561071457600080fd5b8101908080519060200190929190505050905060006203d0908283028161073757fe5b04905080600954026008540192505050919050565b610754611731565b73ffffffffffffffffffffffffffffffffffffffff16610772610a10565b73ffffffffffffffffffffffffffffffffffffffff16146107fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060014303409050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf39eaf26002836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561088257600080fd5b505af1158015610896573d6000803e3d6000fd5b5050505050565b6108a5611731565b73ffffffffffffffffffffffffffffffffffffffff166108c3610a10565b73ffffffffffffffffffffffffffffffffffffffff161461094c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60085481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600754421015610ab1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f41727661644372657753616c653a206e6f206163746976652073616c6500000081525060200191505060405180910390fd5b610aba8161060b565b3414610b11576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180611a1c602d913960400191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3d96ad96040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610b7d57600080fd5b505af1158015610b91573d6000803e3d6000fd5b505050506040513d6020811015610ba757600080fd5b81019080805190602001909291905050509050600b548110610c14576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806119d56021913960400191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19610c5a611731565b846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610cae57600080fd5b505af1158015610cc2573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166322053d17836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610d3b57600080fd5b505af1158015610d4f573d6000803e3d6000fd5b505050506001600b5403811415610d7157610d68611739565b610d70611782565b5b5050565b60095481565b610d83611731565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610e0c57600080fd5b505afa158015610e20573d6000803e3d6000fd5b505050506040513d6020811015610e3657600080fd5b810190808051906020019092919050505073ffffffffffffffffffffffffffffffffffffffff1614610eb3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806119aa602b913960400191505060405180910390fd5b6006600082815260200190815260200160002060009054906101000a900460ff1615610f2a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180611a78603a913960400191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663034c6063836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015610f9f57600080fd5b505afa158015610fb3573d6000803e3d6000fd5b505050506040513d6020811015610fc957600080fd5b81019080805190602001909291905050509050600081118015610fee5750600b548111155b611043576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806119246033913960400191505060405180910390fd5b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3d96ad96040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156110af57600080fd5b505af11580156110c3573d6000803e3d6000fd5b505050506040513d60208110156110d957600080fd5b81019080805190602001909291905050509050600a54821115806110ff5750600b548110155b611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061197d602d913960400191505060405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636a62784261119c611731565b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156111e857600080fd5b505af11580156111fc573d6000803e3d6000fd5b505050506040513d602081101561121257600080fd5b81019080805190602001909291905050509050600a5483116112ea57600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166394a5dbb182600163017d7840886203d09003896203d09003028161128857fe5b046040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050600060405180830381600087803b1580156112cd57600080fd5b505af11580156112e1573d6000803e3d6000fd5b505050506113a2565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166394a5dbb182600263017d7840886203d09003896203d09003028161134457fe5b046040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050600060405180830381600087803b15801561138957600080fd5b505af115801561139d573d6000803e3d6000fd5b505050505b60016006600086815260200190815260200160002060006101000a81548160ff02191690831515021790555080847f90b6f3d686644a41985457fd239b060dbfa1453d924ed71704777da7f06b17fa60405160405180910390a350505050565b600a5481565b611410611731565b73ffffffffffffffffffffffffffffffffffffffff1661142e610a10565b73ffffffffffffffffffffffffffffffffffffffff16146114b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006007541161152f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f41727661644372657753616c653a206e6f2073616c6520646566696e6564000081525060200191505060405180910390fd5b611537611739565b565b600b5481565b611547611731565b73ffffffffffffffffffffffffffffffffffffffff16611565610a10565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611674576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806119576026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6007547f2c56893f6f6026d19bd17b7d05c9f15c522de1ae2b1c3a825f91a73c799321f260405160405180910390a2600060078190555060006008819055506000600981905550565b600b54600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3d96ad96040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156117ef57600080fd5b505af1158015611803573d6000803e3d6000fd5b505050506040513d602081101561181957600080fd5b81019080805190602001909291905050501015611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180611a49602f913960400191505060405180910390fd5b600060014303409050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf39eaf26002836040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b15801561190857600080fd5b505af115801561191c573d6000803e3d6000fd5b505050505056fe41727661644372657753616c653a2063726577206e6f74206d696e7461626c65207769746820746869732061737465726f69644f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737341727661644372657753616c653a205363616e6e696e6720636974697a656e73206e6f7420756e6c6f636b656441727661644372657753616c653a2063616c6c6572206d757374206f776e207468652061737465726f696441727661644372657753616c653a2073616c652068617320636f6d706c6574656441727661644372657753616c653a206261736520707269636573206d7573742062652073657441727661644372657753616c653a20696e636f727265637420616d6f756e74206f662045746865722073656e7441727661644372657753616c653a20616c6c2061737465726f696473206d75737420626520736f6c6420666972737441727661644372657753616c653a2061737465726f69642068617320616c7265616479206265656e207573656420746f206d696e742063726577a26469706673582212200f0e0335b254a1ea35af093ddf675a89ea0ff78575d45e1bfa50584e988fb55164736f6c63430007060033

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

0000000000000000000000006e4c6d9b0930073e958abd2aba516b885260b8ff00000000000000000000000099ce24101bc957a0d02ec65ab7e3b507fee42a130000000000000000000000009b811024635626bc37e5d294b384077ab25dcf62000000000000000000000000746db7b1728af413c4e2b98216c6171b2fc9d00e000000000000000000000000f17fd8d6cfe43b5c79597f8325bcc4dc8d60672a

-----Decoded View---------------
Arg [0] : _asteroids (address): 0x6e4c6D9B0930073e958ABd2ABa516b885260b8Ff
Arg [1] : _astFeatures (address): 0x99Ce24101bc957A0d02EC65AB7e3B507Fee42a13
Arg [2] : _scans (address): 0x9b811024635626bc37E5d294B384077AB25DCF62
Arg [3] : _crew (address): 0x746Db7B1728aF413C4e2b98216C6171B2FC9D00e
Arg [4] : _crewFeatures (address): 0xF17Fd8d6Cfe43B5c79597f8325BcC4dC8D60672a

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000006e4c6d9b0930073e958abd2aba516b885260b8ff
Arg [1] : 00000000000000000000000099ce24101bc957a0d02ec65ab7e3b507fee42a13
Arg [2] : 0000000000000000000000009b811024635626bc37e5d294b384077ab25dcf62
Arg [3] : 000000000000000000000000746db7b1728af413c4e2b98216c6171b2fc9d00e
Arg [4] : 000000000000000000000000f17fd8d6cfe43b5c79597f8325bcc4dc8d60672a


Deployed Bytecode Sourcemap

439:6119:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2365:430;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;748:25;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5614:122;;;;;;;;;;;;;:::i;:::-;;3170:320;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6198:151;;;;;;;;;;;;;:::i;:::-;;1717:145:6;;;;;;;;;;;;;:::i;:::-;;803:29:5;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1085:85:6;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3594:606:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;836:24;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4350:1188;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;864:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2855:131;;;;;;;;;;;;;:::i;:::-;;943:24;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2011:240:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2365:430:5;1308:12:6;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2542:10:5::1;2526:13;:26;;;;2578:12;2558:17;:32;;;;2611:7;2596:12;:22;;;;2641:15;2624:14;:32;;;;2677:13;2662:12;:28;;;;2713:13;;2701:89;2728:17;;2747:12;;2761:14;;2777:12;;2701:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2365:430:::0;;;;;:::o;748:25::-;;;;:::o;5614:122::-;1308:12:6;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5659:12:5::1;5674:21;5659:36;;5701:12;:10;:12::i;:::-;:21;;:30;5723:7;5701:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;1367:1:6;5614:122:5:o:0;3170:320::-;3232:4;3272:1;3252:17;;:21;:41;;;;;3292:1;3277:12;;:16;3252:41;3244:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3342:11;3356;;;;;;;;;;;:21;;;3378:8;3356:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3342:45;;3393:9;3425:6;3415;3406;:15;3405:26;;;;;;3393:38;;3480:4;3465:12;;:19;3444:17;;:41;3437:48;;;;3170:320;;;:::o;6198:151::-;1308:12:6;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6258:12:5::1;6298:1;6283:12;:16;6273:27;6258:42;;6306:12;;;;;;;;;;;:29;;;6336:1;6339:4;6306:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1367:1:6;6198:151:5:o:0;1717:145:6:-;1308:12;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1823:1:::1;1786:40;;1807:6;::::0;::::1;;;;;;;;1786:40;;;;;;;;;;;;1853:1;1836:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;1717:145::o:0;803:29:5:-;;;;:::o;1085:85:6:-;1131:7;1157:6;;;;;;;;;;;1150:13;;1085:85;:::o;3594:606:5:-;3683:13;;3664:15;:32;;3656:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3757:29;3774:11;3757:16;:29::i;:::-;3744:9;:42;3736:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3842:14;3859:5;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3842:39;;3907:12;;3895:9;:24;3887:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3964:9;;;;;;;;;;;:14;;;3979:12;:10;:12::i;:::-;3993:11;3964:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4011:5;;;;;;;;;;;:21;;;4033:11;4011:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4140:1;4125:12;;:16;4111:9;:31;4107:89;;;4152:13;:11;:13::i;:::-;4173:16;:14;:16::i;:::-;4107:89;3594:606;;:::o;836:24::-;;;;:::o;4350:1188::-;4455:12;:10;:12::i;:::-;4421:46;;:9;;;;;;;;;;;:17;;;4439:11;4421:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:46;;;4413:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4530:14;:27;4545:11;4530:27;;;;;;;;;;;;;;;;;;;;;4529:28;4521:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4626:14;4643:5;;;;;;;;;;;:18;;;4662:11;4643:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4626:48;;4700:1;4688:9;:13;:42;;;;;4718:12;;4705:9;:25;;4688:42;4680:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4792:14;4809:5;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4792:39;;4858:14;;4845:9;:27;;:56;;;;4889:12;;4876:9;:25;;4845:56;4837:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5007:11;5021:4;;;;;;;;;;;:9;;;5031:12;:10;:12::i;:::-;5021:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5007:37;;5068:14;;5055:9;:27;5051:398;;5166:12;;;;;;;;;;;:21;;;5188:6;5196:1;5249:8;5234:11;5225:6;:20;5209:11;5200:6;:20;5199:47;:58;;;;;;5166:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5051:398;;;5350:12;;;;;;;;;;;:21;;;5372:6;5380:1;5433:8;5418:11;5409:6;:20;5393:11;5384:6;:20;5383:47;:58;;;;;;5350:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5051:398;5485:4;5455:14;:27;5470:11;5455:27;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;5526:6;5513:11;5500:33;;;;;;;;;;4350:1188;;;;:::o;864:26::-;;;;:::o;2855:131::-;1308:12:6;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2926:1:5::1;2910:13;;:17;2902:60;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;2968:13;:11;:13::i;:::-;2855:131::o:0;943:24::-;;;;:::o;2011:240:6:-;1308:12;:10;:12::i;:::-;1297:23;;:7;:5;:7::i;:::-;:23;;;1289:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2119:1:::1;2099:22;;:8;:22;;;;2091:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2208:8;2179:38;;2200:6;::::0;::::1;;;;;;;;2179:38;;;;;;;;;;;;2236:8;2227:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;2011:240:::0;:::o;598:104:9:-;651:15;685:10;678:17;;598:104;:::o;6409:147:5:-;6465:13;;6451:28;;;;;;;;;;6501:1;6485:13;:17;;;;6528:1;6508:17;:21;;;;6550:1;6535:12;:16;;;;6409:147::o;5850:236::-;5925:12;;5899:5;;;;;;;;;;;:20;;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:38;;5891:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5995:12;6035:1;6020:12;:16;6010:27;5995:42;;6043:12;;;;;;;;;;;:29;;;6073:1;6076:4;6043:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5850:236;:::o

Swarm Source

ipfs://0f0e0335b254a1ea35af093ddf675a89ea0ff78575d45e1bfa50584e988fb551

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.