MOVR Price: $22.00 (+2.86%)
Gas: 1 GWei

Contract

0x3718bC4389cC4d960CeDF9ff68e96c731BC8f685

Overview

MOVR Balance

MOVR Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Deactivate Profi...62231132024-02-26 12:21:3631 days ago1708950096IN
RomeDAO: Conscription
0 MOVR0.000147982.75
Deactivate Profi...62231122024-02-26 12:21:2431 days ago1708950084IN
RomeDAO: Conscription
0 MOVR0.000236672.75
Deactivate Profi...61004102024-02-07 15:20:3050 days ago1707319230IN
RomeDAO: Conscription
0 MOVR0.000236672.75
Deactivate Profi...61001332024-02-07 14:20:0650 days ago1707315606IN
RomeDAO: Conscription
0 MOVR0.00027863.2372095
Deactivate Profi...58317502023-12-28 20:44:4291 days ago1703796282IN
RomeDAO: Conscription
0 MOVR0.000278673.23795969
Deactivate Profi...57759092023-12-20 9:08:25100 days ago1703063305IN
RomeDAO: Conscription
0 MOVR0.000253672.9475
Deactivate Profi...57629192023-12-18 10:00:00102 days ago1702893600IN
RomeDAO: Conscription
0 MOVR0.000236672.75
Deactivate Profi...57048002023-12-09 17:18:12110 days ago1702142292IN
RomeDAO: Conscription
0 MOVR0.000253672.9475
Deactivate Profi...55813642023-11-21 14:58:00128 days ago1700578680IN
RomeDAO: Conscription
0 MOVR0.000257783
Deactivate Profi...53835182023-10-23 17:10:54157 days ago1698081054IN
RomeDAO: Conscription
0 MOVR0.000236672.75
Deactivate Profi...53070712023-10-12 16:57:30168 days ago1697129850IN
RomeDAO: Conscription
0 MOVR0.000253672.9475
Deactivate Profi...50565802023-09-07 6:37:00204 days ago1694068620IN
RomeDAO: Conscription
0 MOVR0.000251312.9475
Deactivate Profi...48438852023-08-07 22:46:24234 days ago1691448384IN
RomeDAO: Conscription
0 MOVR0.000251312.9475
Deactivate Profi...43157622023-05-25 14:38:24308 days ago1685025504IN
RomeDAO: Conscription
0 MOVR0.00015422.75
Deactivate Profi...37211802023-02-28 16:40:06394 days ago1677602406IN
RomeDAO: Conscription
0 MOVR0.000140182.5
Deactivate Profi...37014602023-02-25 20:52:18397 days ago1677358338IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37014342023-02-25 20:47:06397 days ago1677358026IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37014162023-02-25 20:43:30397 days ago1677357810IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37013932023-02-25 20:38:54397 days ago1677357534IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37013692023-02-25 20:34:00397 days ago1677357240IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37013442023-02-25 20:28:48397 days ago1677356928IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37013272023-02-25 20:25:00397 days ago1677356700IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37012982023-02-25 20:19:06397 days ago1677356346IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37012432023-02-25 20:08:06397 days ago1677355686IN
RomeDAO: Conscription
0 MOVR0.000112142
Deactivate Profi...37007862023-02-25 18:34:30397 days ago1677350070IN
RomeDAO: Conscription
0 MOVR0.000140182.5
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RomeConscription

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 9999 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 8 : RomeConscription.sol
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "./interfaces/IRomeConscription.sol";
import "./types/Policy.sol";

interface IsROME {
    function gonsForBalance( uint amount ) external view returns ( uint );
    function balanceForGons( uint gons ) external view returns ( uint );
}

contract RomeConscription is IRomeConscription, Policy, Pausable {
  using SafeERC20 for IERC20;

  address public sROME;

  mapping(address => bool) public managers; // access control for certain functions

  uint256 public lockupAmount; // amount of sROME to lock up for a profile

  bool isLocked; // lock for deactivating profile during campaign

  // Character Profile
  struct Profile {
    bytes32 name; // name of the user character attached to wallet
    bytes32 house; // Id of the house (in the array)
    uint256 classId; // classId for the user (position in the classes array)
    uint256 gons; // gons debt to user. Non zero when profile is activated
  }
  mapping(address => Profile) public profiles; // user profiles by wallet address

  // Houses
  mapping(bytes32 => uint) public getIdForHouse; // increment uint for each new house
  uint public totalHouses; // total number of houses.

  // Classes
  bytes32[] public classes; // an array of available classes. *** PUSH ONLY ***

  // Names
  mapping(bytes32 => bool) public isUniqueName; // mapping to check if a name is unique

  modifier campaignLock() {
    require(!isLocked, "Rome Conscription: Campaign is Locked");
    _;
  }

  modifier onlyManaging() {
    require(managers[msg.sender], "Rome Conscription: msg.sender is not a manager");
    _;
  }

  constructor(address sROME_, uint256 lockupAmount_) {
    require(sROME_ != address(0), "Constructor: address zero not allowed");
    sROME = sROME_;
    lockupAmount = lockupAmount_;

    getIdForHouse["VAGABOND"] = 1;
    emit HouseCreated("VAGABOND", msg.sender, 1, block.timestamp);
    getIdForHouse["SEMPRONIA"] = 2;
    emit HouseCreated("SEMPRONIA", msg.sender, 2, block.timestamp);
    getIdForHouse["CONSUL"] = 3;
    emit HouseCreated("CONSUL", msg.sender, 3, block.timestamp);
    getIdForHouse["GRAPES"] = 4;
    emit HouseCreated("GRAPES", msg.sender, 4, block.timestamp);
    getIdForHouse["CHAOS"] = 5;
    emit HouseCreated("CHAOS", msg.sender, 5, block.timestamp);
    getIdForHouse["KEK"] = 6;
    emit HouseCreated("KEK", msg.sender, 6, block.timestamp);
    totalHouses = 6;

    classes.push("INFANTRY");
    emit ClassCreated("INFANTRY", 0);
    classes.push("ARCHER");
    emit ClassCreated("ARCHER", 1);
    classes.push("CAVALRY");
    emit ClassCreated("CAVALRY", 2);
    
  }


  ///////////////////////////////////////////////////////
  //               OWNER CALLED FUNCTIONS              //
  ///////////////////////////////////////////////////////

  // adds a new class name
  function addClass(bytes32 newClass_) external onlyPolicy {
    verifyName(newClass_);
    newClass_ = upper(newClass_);
    for (uint i=0; i < classes.length; i++) {
      require (newClass_ != classes[i], "Cannot addClass(): Class already exists");
    }
    classes.push(newClass_);
    emit ClassCreated(newClass_, classes.length - 1);
  }

  function changeSROME(address sROME_) external onlyPolicy {
    require(sROME_ != address(0), "cannot changeSROME(): address zero not allowed");
    sROME = sROME_;
    emit sRomeUpdated(sROME_);
  }

  function changeLockupAmount(uint256 newLockupAmount_) external onlyPolicy {
    require(newLockupAmount_ != 0, "cannot changeLockupAmount(): zero lockup not allowed");
    lockupAmount = newLockupAmount_;
    emit LockupAmountUpdated(newLockupAmount_);
  }

  function changeManaging(address who, bool isManaging) external onlyPolicy {
    require(who != address(0), "cannot changeManaging(): address zero not allowed");
    managers[who] = isManaging;
    emit ManagementChanged(who, isManaging);
  }

  function lock() external onlyPolicy returns(bool){
    isLocked = true;
    return isLocked;
  }

  function unlock() external onlyPolicy returns(bool){
    isLocked = false;
    return isLocked;
  }

  function rescueTokens(address token_, address recipient_, uint256 amount_) external returns(bool){
    require(
      token_ != address(0) && recipient_ != address(0), "rescueTokens(): cannot be address zero"
    );
    require(token_ != sROME, "rescueTokens(): cannot rescue sROME");
    require(amount_ != 0, "rescueTokens(): amount must be greater than zero");

    IERC20( token_ ).safeTransfer(recipient_,amount_);
    
    emit TokensRescued(token_,recipient_,amount_);
    return true;
  }


  ///////////////////////////////////////////////////////
  //                USER CALLED FUNCTIONS              //
  ///////////////////////////////////////////////////////


  function createProfile(
    bytes32 name_,
    bytes32 house_, 
    uint256 classId_  
  ) external override whenNotPaused returns(bytes32,bytes32,uint256,address,uint256){
    // 1. ensure profile doesn't exist for user
    Profile memory user = profiles[msg.sender];
    require(user.name == bytes32(0), "cannot createProfile(): user already exists");
    require(!isUniqueName[name_], "cannot createProfile(): name already exists");
    verifyName(name_);

    // 2. ensure that the house exists
    require(getIdForHouse[house_] != 0, "cannot createProfile(): house does not exist");

    // 3. ensure that the class exists
    require(classId_ < classes.length, "cannot createProfile(): class does not exist");

    // 4. create a new user w/ the passed in params and save it to the profile mapping
    profiles[msg.sender] = Profile(name_, house_, classId_, IsROME( sROME ).gonsForBalance( lockupAmount ));
    // mark name as used
    isUniqueName[name_] = true;

    // 5. transfer sROME
    IERC20( sROME ).safeTransferFrom( msg.sender, address(this), lockupAmount );
    emit ProfileCreated(name_, house_, classId_, msg.sender, block.timestamp);
    return (name_, house_, classId_, msg.sender, block.timestamp);
  }

  // profile activated when gons non zero
  function activateProfile() external override whenNotPaused {
    Profile memory user = profiles[msg.sender];
    // 1. ensure profile does exist
    require(user.name != bytes32(0), "cannot activateProfile(): user does not exist");
    // 2. ensure profile is not active
    require(user.gons == 0, "cannot activateProfile(): profile already active");

    // 3. activate profile by setting gons
    profiles[msg.sender].gons = IsROME( sROME ).gonsForBalance( lockupAmount );

    // 4. transfer sRome into contract
    IERC20( sROME ).safeTransferFrom( msg.sender, address(this), lockupAmount );
    emit ProfileActivated(msg.sender,block.timestamp);
  }

  // profile deactivated when goins zero
  function deactivateProfile() external override campaignLock whenNotPaused {
    Profile memory user = profiles[msg.sender];
    // 1. ensure profile does exist
    require(user.name != bytes32(0), "cannot activateProfile(): user does not exist");
    // 2. ensure profile is active
    require(user.gons != 0, "cannot activateProfile(): profile already inactive");

    // 3. activate profile by setting gons
    profiles[msg.sender].gons = 0;

    // 4. transfer sRome into contract
    IERC20( sROME ).safeTransfer( msg.sender, IsROME( sROME ).balanceForGons( user.gons ) );
    emit ProfileDeactivated(msg.sender, block.timestamp);
  }
  function changeHouse(bytes32 newHouse_) external override whenNotPaused {
    // 1. ensure profile exists for user
    Profile memory user = profiles[msg.sender];
    require(user.name != bytes32(0), "cannot changeHouse(): user does not exist");

    bytes32 oldHouse = user.house;

    // 2. verify the house exists, then change the house
    require(getIdForHouse[newHouse_] != 0, "cannot changeHouse(): house does not exist");

    profiles[msg.sender].house = newHouse_;
    emit HouseChanged(oldHouse, newHouse_, msg.sender);
  }


  ///////////////////////////////////////////////////////
  //              MANAGER CALLED FUNCTIONS             //
  ///////////////////////////////////////////////////////


  function createHouse(bytes32 newHouse_) external override onlyManaging whenNotPaused {
    // 1. ensure that the user exists
    require(getIdForHouse[newHouse_] == 0, "cannot createHouse(): house already exists");
    verifyName(newHouse_);
    
    // 2. increment the totalHouses (update the state first) then save houseId
    totalHouses++;
    getIdForHouse[newHouse_] = totalHouses;
      // so the Id of the third house is 3, fifth house is 5, so on...

    emit HouseCreated(newHouse_, msg.sender, totalHouses, block.timestamp);
  }
  function changeName(bytes32 newName_, address recipient_) external override onlyManaging whenNotPaused {
    // 1. ensure profile exists for user
    Profile memory user = profiles[recipient_];
    require(user.name != bytes32(0), "cannot changeName(): user does not exist");
    require(!isUniqueName[newName_], "cannot changeName(): name already exists");

    bytes32 oldName = user.name;

    // 2. verify the new name is legit, then change the name
    verifyName(newName_);
    isUniqueName[oldName] = false;
    isUniqueName[newName_] = true;
    profiles[recipient_].name = newName_;
    emit NameChanged(oldName, newName_, recipient_);
  }

  // check if the name is legit
  function verifyName(bytes32 newName_) internal pure {
    require(newName_ != bytes32(0), "cannot verifyName(): name cannot be empty"); // check that the name is not empty

    for (uint i=0; i < 32; i++) {
      bytes1 char = newName_[i];
      require(
        (char >= 0x30 && char <= 0x39) || // "0-9"
        (char >= 0x61 && char <= 0x7A) || // "a-z"
        (char >= 0x41 && char <= 0x5A) || // "A-Z"
        (char == 0x60 || char == 0x2E || char == 0x2D || char == 0x00),
        "cannot verifyName(): only alphanumeric, dot, dash, or underscore"
      );
    }
  }
  // converts to uppercase
  function upper(bytes32 _base) internal pure returns (bytes32) {
      bytes memory _baseBytes = abi.encodePacked(_base);
      for (uint i = 0; i < _baseBytes.length; i++) {
          _baseBytes[i] = _upper(_baseBytes[i]);
      }
      return bytes32(_baseBytes);
  }

  function _upper(bytes1 _b1) private pure returns (bytes1) {
      if (_b1 >= 0x61 && _b1 <= 0x7A) {
          return bytes1(uint8(_b1) - 32);
      }
      return _b1;
  }
  ///////////////////////////////////////////////////////
  //                  VIEWS FUNCTIONS                  //
  ///////////////////////////////////////////////////////


  function getClassLength() external override view returns(uint256) {
    return classes.length;
  }
  function getClasses() external override view returns(bytes32[] memory) {
    uint256 classLength = classes.length;
    bytes32[] memory arr = new bytes32[](classLength);
    for (uint i = 0; i<classLength;i++) {
      arr[i] = classes[i];
    }
    return arr;
  }
}

File 2 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 3 of 8 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        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 4 of 8 : IRomeConscription.sol
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.7;

interface IRomeConscription {

    event ClassCreated(bytes32 className, uint256 indexed classId);
    event TokensRescued(address indexed token, address recipient, uint256 amount);
    event sRomeUpdated(address newSRomeContract);
    event LockupAmountUpdated(uint256 newLockupAmount);
    event ManagementChanged(address managerAddress, bool indexed isManager);
    event HouseCreated(
        bytes32 house, 
        address creatorAddress, 
        uint256 indexed houseId, 
        uint256 timestampCreated
    );
    event ProfileCreated(
        bytes32 characterName, 
        bytes32 indexed house, 
        uint256 indexed classId,
        address indexed userAddress, 
        uint256 timestampCreated
    );
    event ProfileActivated(address indexed userAddress,uint256 timestampActivated);
    event ProfileDeactivated(address indexed userAddress,uint256 timestampDeactivated);
    event HouseChanged(bytes32 oldHouse, bytes32 newHouse, address indexed userAddress);

    function createProfile(
        bytes32 name_,
        bytes32 house_,
        uint256 classId_
    ) external returns(bytes32,bytes32,uint256,address,uint256);

    function activateProfile() external;

    function deactivateProfile() external;

    function createHouse(bytes32 newHouse_) external;

    function changeHouse(bytes32 newHouse_) external;
    
    function changeName(bytes32 newName_,address recipient_) external;

    function getClassLength() external returns(uint256);
    
    function getClasses() external returns(bytes32[] memory);

    





    event NameChanged(bytes32 oldName, bytes32 newName, address indexed userAddress);

}

File 5 of 8 : Policy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

interface IPolicy {
  function policy() external view returns (address);

  function renouncePolicy() external;

  function pushPolicy( address newOwner_ ) external;

  function pullPolicy() external;
}

contract Policy is IPolicy {

    address internal _owner;
    address internal _newOwner;

    event OwnershipPushed(address indexed previousOwner, address indexed newOwner);
    event OwnershipPulled(address indexed previousOwner, address indexed newOwner);

    constructor () {
        _owner = msg.sender;
        emit OwnershipPushed( address(0), _owner );
    }

    function policy() public view override returns (address) {
        return _owner;
    }

    modifier onlyPolicy() {
        require( _owner == msg.sender, "Ownable: caller is not the owner" );
        _;
    }

    function renouncePolicy() public virtual override onlyPolicy() {
        emit OwnershipPushed( _owner, address(0) );
        _owner = address(0);
    }

    function pushPolicy( address newOwner_ ) public virtual override onlyPolicy() {
        require( newOwner_ != address(0), "Ownable: new owner is the zero address");
        emit OwnershipPushed( _owner, newOwner_ );
        _newOwner = newOwner_;
    }

    function pullPolicy() public virtual override {
        require( msg.sender == _newOwner, "Ownable: must be new owner to pull");
        emit OwnershipPulled( _owner, _newOwner );
        _owner = _newOwner;
    }
}

File 6 of 8 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

File 7 of 8 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 9999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"sROME_","type":"address"},{"internalType":"uint256","name":"lockupAmount_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"className","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"classId","type":"uint256"}],"name":"ClassCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"oldHouse","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"newHouse","type":"bytes32"},{"indexed":true,"internalType":"address","name":"userAddress","type":"address"}],"name":"HouseChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"house","type":"bytes32"},{"indexed":false,"internalType":"address","name":"creatorAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"houseId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestampCreated","type":"uint256"}],"name":"HouseCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newLockupAmount","type":"uint256"}],"name":"LockupAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"managerAddress","type":"address"},{"indexed":true,"internalType":"bool","name":"isManager","type":"bool"}],"name":"ManagementChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"oldName","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"newName","type":"bytes32"},{"indexed":true,"internalType":"address","name":"userAddress","type":"address"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPulled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPushed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestampActivated","type":"uint256"}],"name":"ProfileActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"characterName","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"house","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"classId","type":"uint256"},{"indexed":true,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestampCreated","type":"uint256"}],"name":"ProfileCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestampDeactivated","type":"uint256"}],"name":"ProfileDeactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newSRomeContract","type":"address"}],"name":"sRomeUpdated","type":"event"},{"inputs":[],"name":"activateProfile","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newClass_","type":"bytes32"}],"name":"addClass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newHouse_","type":"bytes32"}],"name":"changeHouse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLockupAmount_","type":"uint256"}],"name":"changeLockupAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"},{"internalType":"bool","name":"isManaging","type":"bool"}],"name":"changeManaging","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newName_","type":"bytes32"},{"internalType":"address","name":"recipient_","type":"address"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sROME_","type":"address"}],"name":"changeSROME","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"classes","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newHouse_","type":"bytes32"}],"name":"createHouse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"name_","type":"bytes32"},{"internalType":"bytes32","name":"house_","type":"bytes32"},{"internalType":"uint256","name":"classId_","type":"uint256"}],"name":"createProfile","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deactivateProfile","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getClassLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClasses","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"getIdForHouse","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"isUniqueName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockupAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"managers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"policy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"profiles","outputs":[{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"bytes32","name":"house","type":"bytes32"},{"internalType":"uint256","name":"classId","type":"uint256"},{"internalType":"uint256","name":"gons","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pullPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"pushPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renouncePolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"rescueTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sROME","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalHouses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200357538038062003575833981016040819052620000349162000564565b600080546001600160a01b0319163390811782556040519091907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908290a36001805460ff60a01b191690556001600160a01b038216620000e95760405162461bcd60e51b815260206004820152602560248201527f436f6e7374727563746f723a2061646472657373207a65726f206e6f7420616c6044820152641b1bddd95960da1b606482015260840160405180910390fd5b600280546001600160a01b0384166001600160a01b0319909116179055600481905567159051d05093d39160c21b600052600760205260017f3d6aff1f27723d809d955c6c425feb17c584198d4f7f6e9ecdde9a1565904df381905560405160008051602062003515833981519152906200018c903390429067159051d05093d39160c21b81526001600160a01b03929092166020830152604082015260600190565b60405180910390a26853454d50524f4e494160b81b600052600760205260027f6d77d76427b9dcd1186d5249c2699c707501ab22523d13461fefbab59ac28b2681905560405160008051602062003515833981519152906200021790339042906853454d50524f4e494160b81b81526001600160a01b03929092166020830152604082015260600190565b60405180910390a26510d3d394d55360d21b600052600760205260037f63bf1437d448089c99a5cde05735db069b6576a94457b2bc1b7309433e1a866581905560405160008051602062003515833981519152906200029c90339042906510d3d394d55360d21b81526001600160a01b03929092166020830152604082015260600190565b60405180910390a26547524150455360d01b600052600760205260047f6a9c3e401fd97a8f4c6fb77c2da1e403eed961827408b0e2f5296f45494557d681905560405160008051602062003515833981519152906200032190339042906547524150455360d01b81526001600160a01b03929092166020830152604082015260600190565b60405180910390a2644348414f5360d81b600052600760205260057f21e88c56fcecea863cf3b9e627e9b116dadae312b4e68d16691b25d3ce21c77a8190556040516000805160206200351583398151915290620003a49033904290644348414f5360d81b81526001600160a01b03929092166020830152604082015260600190565b60405180910390a2624b454b60e81b600052600760205260067fd061a4833696c90315d79038e2c5ede98ff5705a0d58dc6d8256488771443e0a8190556040516000805160206200351583398151915290620004239033904290624b454b60e81b81526001600160a01b03929092166020830152604082015260600190565b60405180910390a2600660085560098054600181018255600091825267494e46414e54525960c01b600080516020620035558339815191529091015560405160008051602062003535833981519152906200048c9067494e46414e54525960c01b815260200190565b60405180910390a260098054600181810183556000929092526520a921a422a960d11b60008051602062003555833981519152909101556040516000805160206200353583398151915290620004ee906520a921a422a960d11b815260200190565b60405180910390a26009805460018101825560009190915266434156414c525960c81b60008051602062003555833981519152909101556040516002906000805160206200353583398151915290620005549066434156414c525960c81b815260200190565b60405180910390a25050620005a0565b600080604083850312156200057857600080fd5b82516001600160a01b03811681146200059057600080fd5b6020939093015192949293505050565b612f6580620005b06000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063a15ad077116100f9578063bfcc6da811610097578063ed3a28cb11610071578063ed3a28cb1461040a578063f83d08ba1461041d578063fb86b09a14610425578063fdff9b4d1461047657600080fd5b8063bfcc6da8146103cf578063c435d4a9146103d7578063cea9d26f146103f757600080fd5b8063b5882605116100d3578063b58826051461034b578063baa10edb1461035e578063bbe1562714610371578063bc4ed96b146103c657600080fd5b8063a15ad07714610328578063a4b239801461033b578063a69df4b51461034357600080fd5b80635beede0811610166578063817dbe9f11610140578063817dbe9f146102d75780638371f94b146102ea5780639831e9e7146102fd5780639f6f5c2f1461030557600080fd5b80635beede08146102805780635c975abb146102885780638147f558146102b757600080fd5b80630ce3c615116101a25780630ce3c6151461023b578063162d8afb1461024e57806320a17bca146102655780632311c9ae1461026d57600080fd5b80630193a955146101c95780630505c8c9146101e757806305c12e3014610226575b600080fd5b6101d1610499565b6040516101de9190612b9e565b60405180910390f35b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101de565b610239610234366004612c0b565b610545565b005b610239610249366004612c26565b6106b4565b61025760085481565b6040519081526020016101de565b6102396108ae565b61023961027b366004612c26565b610bd8565b610239610d79565b60015474010000000000000000000000000000000000000000900460ff165b60405190151581526020016101de565b6002546102019073ffffffffffffffffffffffffffffffffffffffff1681565b6102576102e5366004612c26565b610e99565b6102396102f8366004612c26565b610eba565b610239610fc9565b6102a7610313366004612c26565b600a6020526000908152604090205460ff1681565b610239610336366004612c0b565b611274565b6102396113f1565b6102a76114c7565b610239610359366004612c26565b61153f565b61023961036c366004612c50565b611726565b6103a661037f366004612c0b565b60066020526000908152604090208054600182015460028301546003909301549192909184565b6040805194855260208501939093529183015260608201526080016101de565b61025760045481565b600954610257565b6102576103e5366004612c26565b60076020526000908152604090205481565b6102a7610405366004612c87565b611884565b610239610418366004612cc3565b611ab5565b6102a7611d8b565b610438610433366004612cef565b611e07565b6040805195865260208601949094529284019190915273ffffffffffffffffffffffffffffffffffffffff166060830152608082015260a0016101de565b6102a7610484366004612c0b565b60036020526000908152604090205460ff1681565b60095460609060008167ffffffffffffffff8111156104ba576104ba612d1b565b6040519080825280602002602001820160405280156104e3578160200160208202803683370190505b50905060005b8281101561053e576009818154811061050457610504612d4a565b906000526020600020015482828151811061052157610521612d4a565b60209081029190910101528061053681612da8565b9150506104e9565b5092915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146105b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811661063a5760405162461bcd60e51b815260206004820152602e60248201527f63616e6e6f74206368616e676553524f4d4528293a2061646472657373207a6560448201527f726f206e6f7420616c6c6f77656400000000000000000000000000000000000060648201526084016105a8565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527feb37565db8d751eeaec9c489b6aed36fb7791dedb5715a702e485c5a80a0382b906020015b60405180910390a150565b60015474010000000000000000000000000000000000000000900460ff161561071f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b33600090815260066020908152604091829020825160808101845281548082526001830154938201939093526002820154938101939093526003015460608301526107d25760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f74206368616e6765486f75736528293a207573657220646f65732060448201527f6e6f74206578697374000000000000000000000000000000000000000000000060648201526084016105a8565b6020808201516000848152600790925260409091205461085a5760405162461bcd60e51b815260206004820152602a60248201527f63616e6e6f74206368616e6765486f75736528293a20686f75736520646f657360448201527f206e6f742065786973740000000000000000000000000000000000000000000060648201526084016105a8565b3360008181526006602090815260409182902060010186905581518481529081018690527fa263a31cca785e613b138b187ff5311837ea644e710a679dee538786d965a797910160405180910390a2505050565b60055460ff16156109275760405162461bcd60e51b815260206004820152602560248201527f526f6d6520436f6e736372697074696f6e3a2043616d706169676e206973204c60448201527f6f636b656400000000000000000000000000000000000000000000000000000060648201526084016105a8565b60015474010000000000000000000000000000000000000000900460ff16156109925760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b3360009081526006602090815260409182902082516080810184528154808252600183015493820193909352600282015493810193909352600301546060830152610a455760405162461bcd60e51b815260206004820152602d60248201527f63616e6e6f7420616374697661746550726f66696c6528293a2075736572206460448201527f6f6573206e6f742065786973740000000000000000000000000000000000000060648201526084016105a8565b6060810151610abc5760405162461bcd60e51b815260206004820152603260248201527f63616e6e6f7420616374697661746550726f66696c6528293a2070726f66696c60448201527f6520616c726561647920696e616374697665000000000000000000000000000060648201526084016105a8565b3360008181526006602052604080822060030191909155600254606084015191517f7965d56d0000000000000000000000000000000000000000000000000000000081526004810192909252610b9f929173ffffffffffffffffffffffffffffffffffffffff90911690637965d56d9060240160206040518083038186803b158015610b4757600080fd5b505afa158015610b5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7f9190612de1565b60025473ffffffffffffffffffffffffffffffffffffffff169190612251565b60405142815233907fe73be80e107f661162e3ba617cba0149e57d12f70ff385e0c8db64a47dab4ec8906020015b60405180910390a250565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c3f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b610c488161232a565b610c5181612724565b905060005b600954811015610d055760098181548110610c7357610c73612d4a565b9060005260206000200154821415610cf35760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f7420616464436c61737328293a20436c61737320616c726561647960448201527f206578697374730000000000000000000000000000000000000000000000000060648201526084016105a8565b80610cfd81612da8565b915050610c56565b50600980546001818101835560008390527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af9091018390559054610d499190612dfa565b6040518281527f9a7a39ac24662c11be8f060552f2783d23e4951aab7528f3150a027f061806fd90602001610bcd565b60015473ffffffffffffffffffffffffffffffffffffffff163314610e065760405162461bcd60e51b815260206004820152602260248201527f4f776e61626c653a206d757374206265206e6577206f776e657220746f20707560448201527f6c6c00000000000000000000000000000000000000000000000000000000000060648201526084016105a8565b6001546000805460405173ffffffffffffffffffffffffffffffffffffffff93841693909116917faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d91a3600154600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60098181548110610ea957600080fd5b600091825260209091200154905081565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b80610f945760405162461bcd60e51b815260206004820152603460248201527f63616e6e6f74206368616e67654c6f636b7570416d6f756e7428293a207a657260448201527f6f206c6f636b7570206e6f7420616c6c6f77656400000000000000000000000060648201526084016105a8565b60048190556040518181527fb22fd4bb1c5aa41b4e30e9187bc13ea3481a696fcc0ed457cd5bf701a38afa18906020016106a9565b60015474010000000000000000000000000000000000000000900460ff16156110345760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b33600090815260066020908152604091829020825160808101845281548082526001830154938201939093526002820154938101939093526003015460608301526110e75760405162461bcd60e51b815260206004820152602d60248201527f63616e6e6f7420616374697661746550726f66696c6528293a2075736572206460448201527f6f6573206e6f742065786973740000000000000000000000000000000000000060648201526084016105a8565b60608101511561115f5760405162461bcd60e51b815260206004820152603060248201527f63616e6e6f7420616374697661746550726f66696c6528293a2070726f66696c60448201527f6520616c7265616479206163746976650000000000000000000000000000000060648201526084016105a8565b600254600480546040517f1bd396740000000000000000000000000000000000000000000000000000000081529182015273ffffffffffffffffffffffffffffffffffffffff90911690631bd396749060240160206040518083038186803b1580156111ca57600080fd5b505afa1580156111de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112029190612de1565b336000818152600660205260409020600301919091556004546002546112429273ffffffffffffffffffffffffffffffffffffffff9091169130906127f5565b60405142815233907f9cf6c4218422304700891f32795474321a25b2083024a0e8a1897a28f1c798cf90602001610bcd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146112db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b73ffffffffffffffffffffffffffffffffffffffff81166113645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105a8565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba91a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000805473ffffffffffffffffffffffffffffffffffffffff16331461152f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b506005805460ff19169055600090565b3360009081526003602052604090205460ff166115c45760405162461bcd60e51b815260206004820152602e60248201527f526f6d6520436f6e736372697074696f6e3a206d73672e73656e64657220697360448201527f206e6f742061206d616e6167657200000000000000000000000000000000000060648201526084016105a8565b60015474010000000000000000000000000000000000000000900460ff161561162f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b600081815260076020526040902054156116b15760405162461bcd60e51b815260206004820152602a60248201527f63616e6e6f7420637265617465486f75736528293a20686f75736520616c726560448201527f616479206578697374730000000000000000000000000000000000000000000060648201526084016105a8565b6116ba8161232a565b600880549060006116ca83612da8565b90915550506008546000828152600760209081526040918290208390558151848152339181019190915242918101919091527fbd93e7da01c3b32d48b0300dccdfbc468b4ff5566e93250eb7da6b03c9e291e190606001610bcd565b60005473ffffffffffffffffffffffffffffffffffffffff16331461178d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b73ffffffffffffffffffffffffffffffffffffffff82166118165760405162461bcd60e51b815260206004820152603160248201527f63616e6e6f74206368616e67654d616e6167696e6728293a206164647265737360448201527f207a65726f206e6f7420616c6c6f77656400000000000000000000000000000060648201526084016105a8565b73ffffffffffffffffffffffffffffffffffffffff8216600081815260036020908152604091829020805460ff1916851515908117909155915192835290917f3862304b7039509aa5ceead23d8809fbf2bb793b18ddb0421ee090061720799f910160405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff8416158015906118c0575073ffffffffffffffffffffffffffffffffffffffff831615155b6119325760405162461bcd60e51b815260206004820152602660248201527f726573637565546f6b656e7328293a2063616e6e6f742062652061646472657360448201527f73207a65726f000000000000000000000000000000000000000000000000000060648201526084016105a8565b60025473ffffffffffffffffffffffffffffffffffffffff858116911614156119c35760405162461bcd60e51b815260206004820152602360248201527f726573637565546f6b656e7328293a2063616e6e6f742072657363756520735260448201527f4f4d45000000000000000000000000000000000000000000000000000000000060648201526084016105a8565b81611a365760405162461bcd60e51b815260206004820152603060248201527f726573637565546f6b656e7328293a20616d6f756e74206d757374206265206760448201527f726561746572207468616e207a65726f0000000000000000000000000000000060648201526084016105a8565b611a5773ffffffffffffffffffffffffffffffffffffffff85168484612251565b6040805173ffffffffffffffffffffffffffffffffffffffff8581168252602082018590528616917f77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4910160405180910390a25060015b9392505050565b3360009081526003602052604090205460ff16611b3a5760405162461bcd60e51b815260206004820152602e60248201527f526f6d6520436f6e736372697074696f6e3a206d73672e73656e64657220697360448201527f206e6f742061206d616e6167657200000000000000000000000000000000000060648201526084016105a8565b60015474010000000000000000000000000000000000000000900460ff1615611ba55760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602090815260409182902082516080810184528154808252600183015493820193909352600282015493810193909352600301546060830152611c6e5760405162461bcd60e51b815260206004820152602860248201527f63616e6e6f74206368616e67654e616d6528293a207573657220646f6573206e60448201527f6f7420657869737400000000000000000000000000000000000000000000000060648201526084016105a8565b6000838152600a602052604090205460ff1615611cf35760405162461bcd60e51b815260206004820152602860248201527f63616e6e6f74206368616e67654e616d6528293a206e616d6520616c7265616460448201527f792065786973747300000000000000000000000000000000000000000000000060648201526084016105a8565b8051611cfe8461232a565b6000818152600a60209081526040808320805460ff199081169091558784528184208054909116600117905573ffffffffffffffffffffffffffffffffffffffff8616808452600683529281902087905580518481529182018790527fade98a82a641c9104afabd211b8e4eaff4332a020c7ae9fc664cd7afad540026910160405180910390a250505050565b6000805473ffffffffffffffffffffffffffffffffffffffff163314611df35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b506005805460ff1916600190811790915590565b6000806000806000611e3460015460ff740100000000000000000000000000000000000000009091041690565b15611e815760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b336000908152600660209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015215611f355760405162461bcd60e51b815260206004820152602b60248201527f63616e6e6f742063726561746550726f66696c6528293a207573657220616c7260448201527f656164792065786973747300000000000000000000000000000000000000000060648201526084016105a8565b6000898152600a602052604090205460ff1615611fba5760405162461bcd60e51b815260206004820152602b60248201527f63616e6e6f742063726561746550726f66696c6528293a206e616d6520616c7260448201527f656164792065786973747300000000000000000000000000000000000000000060648201526084016105a8565b611fc38961232a565b6000888152600760205260409020546120445760405162461bcd60e51b815260206004820152602c60248201527f63616e6e6f742063726561746550726f66696c6528293a20686f75736520646f60448201527f6573206e6f74206578697374000000000000000000000000000000000000000060648201526084016105a8565b60095487106120bb5760405162461bcd60e51b815260206004820152602c60248201527f63616e6e6f742063726561746550726f66696c6528293a20636c61737320646f60448201527f6573206e6f74206578697374000000000000000000000000000000000000000060648201526084016105a8565b604080516080810182528a8152602081018a90528082018990526002546004805493517f1bd39674000000000000000000000000000000000000000000000000000000008152908101939093529091606083019173ffffffffffffffffffffffffffffffffffffffff1690631bd396749060240160206040518083038186803b15801561214757600080fd5b505afa15801561215b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217f9190612de1565b90523360008181526006602090815260408083208551815585830151600180830191909155868301516002808401919091556060909701516003909201919091558e8452600a909252909120805460ff1916909117905560045491546122009273ffffffffffffffffffffffffffffffffffffffff909116919030906127f5565b604080518a8152426020820152339189918b917f5c3576cf5deb4137058a7fe50a8282405e50aaed6a4d001246e884128609c3dc910160405180910390a45096979596509394339450429350915050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526123259084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612859565b505050565b8061239d5760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f74207665726966794e616d6528293a206e616d652063616e6e6f7460448201527f20626520656d707479000000000000000000000000000000000000000000000060648201526084016105a8565b60005b60208110156127205760008282602081106123bd576123bd612d4a565b1a60f81b90507f30000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061245757507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b806124f157507f61000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216108015906124f157507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b8061258b57507f41000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061258b57507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b8061269957507f60000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216148061262257507f2e000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216145b8061266e57507f2d000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216145b8061269957507fff000000000000000000000000000000000000000000000000000000000000008116155b61270d576040805162461bcd60e51b81526020600482015260248101919091527f63616e6e6f74207665726966794e616d6528293a206f6e6c7920616c7068616e60448201527f756d657269632c20646f742c20646173682c206f7220756e64657273636f726560648201526084016105a8565b508061271881612da8565b9150506123a0565b5050565b6000808260405160200161273a91815260200190565b604051602081830303815290604052905060005b81518110156127eb5761279882828151811061276c5761276c612d4a565b01602001517fff000000000000000000000000000000000000000000000000000000000000001661294b565b8282815181106127aa576127aa612d4a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350806127e381612da8565b91505061274e565b50611aae81612e11565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526128539085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016122a3565b50505050565b60006128bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612a029092919063ffffffff16565b80519091501561232557808060200190518101906128d99190612e56565b6123255760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016105a8565b60007f61000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008316108015906129e157507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000831611155b156129fe576129f5602060f884901c612e73565b60f81b92915050565b5090565b6060612a118484600085612a19565b949350505050565b606082471015612a915760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016105a8565b843b612adf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105a8565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612b089190612ec2565b60006040518083038185875af1925050503d8060008114612b45576040519150601f19603f3d011682016040523d82523d6000602084013e612b4a565b606091505b5091509150612b5a828286612b65565b979650505050505050565b60608315612b74575081611aae565b825115612b845782518084602001fd5b8160405162461bcd60e51b81526004016105a89190612ede565b6020808252825182820181905260009190848201906040850190845b81811015612bd657835183529284019291840191600101612bba565b50909695505050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612c0657600080fd5b919050565b600060208284031215612c1d57600080fd5b611aae82612be2565b600060208284031215612c3857600080fd5b5035919050565b8015158114612c4d57600080fd5b50565b60008060408385031215612c6357600080fd5b612c6c83612be2565b91506020830135612c7c81612c3f565b809150509250929050565b600080600060608486031215612c9c57600080fd5b612ca584612be2565b9250612cb360208501612be2565b9150604084013590509250925092565b60008060408385031215612cd657600080fd5b82359150612ce660208401612be2565b90509250929050565b600080600060608486031215612d0457600080fd5b505081359360208301359350604090920135919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612dda57612dda612d79565b5060010190565b600060208284031215612df357600080fd5b5051919050565b600082821015612e0c57612e0c612d79565b500390565b80516020808301519190811015612e50577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8160200360031b1b821691505b50919050565b600060208284031215612e6857600080fd5b8151611aae81612c3f565b600060ff821660ff841680821015612e8d57612e8d612d79565b90039392505050565b60005b83811015612eb1578181015183820152602001612e99565b838111156128535750506000910152565b60008251612ed4818460208701612e96565b9190910192915050565b6020815260008251806020840152612efd816040850160208701612e96565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220e4693d7a6eb117daecc85f3e537a10820f33194b6fadf0381d6697ba114649f964736f6c63430008090033bd93e7da01c3b32d48b0300dccdfbc468b4ff5566e93250eb7da6b03c9e291e19a7a39ac24662c11be8f060552f2783d23e4951aab7528f3150a027f061806fd6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af00000000000000000000000089f52002e544585b42f8c7cf557609ca4c8ce12a0000000000000000000000000000000000000000000000000000000013ab6680

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063a15ad077116100f9578063bfcc6da811610097578063ed3a28cb11610071578063ed3a28cb1461040a578063f83d08ba1461041d578063fb86b09a14610425578063fdff9b4d1461047657600080fd5b8063bfcc6da8146103cf578063c435d4a9146103d7578063cea9d26f146103f757600080fd5b8063b5882605116100d3578063b58826051461034b578063baa10edb1461035e578063bbe1562714610371578063bc4ed96b146103c657600080fd5b8063a15ad07714610328578063a4b239801461033b578063a69df4b51461034357600080fd5b80635beede0811610166578063817dbe9f11610140578063817dbe9f146102d75780638371f94b146102ea5780639831e9e7146102fd5780639f6f5c2f1461030557600080fd5b80635beede08146102805780635c975abb146102885780638147f558146102b757600080fd5b80630ce3c615116101a25780630ce3c6151461023b578063162d8afb1461024e57806320a17bca146102655780632311c9ae1461026d57600080fd5b80630193a955146101c95780630505c8c9146101e757806305c12e3014610226575b600080fd5b6101d1610499565b6040516101de9190612b9e565b60405180910390f35b60005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101de565b610239610234366004612c0b565b610545565b005b610239610249366004612c26565b6106b4565b61025760085481565b6040519081526020016101de565b6102396108ae565b61023961027b366004612c26565b610bd8565b610239610d79565b60015474010000000000000000000000000000000000000000900460ff165b60405190151581526020016101de565b6002546102019073ffffffffffffffffffffffffffffffffffffffff1681565b6102576102e5366004612c26565b610e99565b6102396102f8366004612c26565b610eba565b610239610fc9565b6102a7610313366004612c26565b600a6020526000908152604090205460ff1681565b610239610336366004612c0b565b611274565b6102396113f1565b6102a76114c7565b610239610359366004612c26565b61153f565b61023961036c366004612c50565b611726565b6103a661037f366004612c0b565b60066020526000908152604090208054600182015460028301546003909301549192909184565b6040805194855260208501939093529183015260608201526080016101de565b61025760045481565b600954610257565b6102576103e5366004612c26565b60076020526000908152604090205481565b6102a7610405366004612c87565b611884565b610239610418366004612cc3565b611ab5565b6102a7611d8b565b610438610433366004612cef565b611e07565b6040805195865260208601949094529284019190915273ffffffffffffffffffffffffffffffffffffffff166060830152608082015260a0016101de565b6102a7610484366004612c0b565b60036020526000908152604090205460ff1681565b60095460609060008167ffffffffffffffff8111156104ba576104ba612d1b565b6040519080825280602002602001820160405280156104e3578160200160208202803683370190505b50905060005b8281101561053e576009818154811061050457610504612d4a565b906000526020600020015482828151811061052157610521612d4a565b60209081029190910101528061053681612da8565b9150506104e9565b5092915050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146105b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff811661063a5760405162461bcd60e51b815260206004820152602e60248201527f63616e6e6f74206368616e676553524f4d4528293a2061646472657373207a6560448201527f726f206e6f7420616c6c6f77656400000000000000000000000000000000000060648201526084016105a8565b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527feb37565db8d751eeaec9c489b6aed36fb7791dedb5715a702e485c5a80a0382b906020015b60405180910390a150565b60015474010000000000000000000000000000000000000000900460ff161561071f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b33600090815260066020908152604091829020825160808101845281548082526001830154938201939093526002820154938101939093526003015460608301526107d25760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f74206368616e6765486f75736528293a207573657220646f65732060448201527f6e6f74206578697374000000000000000000000000000000000000000000000060648201526084016105a8565b6020808201516000848152600790925260409091205461085a5760405162461bcd60e51b815260206004820152602a60248201527f63616e6e6f74206368616e6765486f75736528293a20686f75736520646f657360448201527f206e6f742065786973740000000000000000000000000000000000000000000060648201526084016105a8565b3360008181526006602090815260409182902060010186905581518481529081018690527fa263a31cca785e613b138b187ff5311837ea644e710a679dee538786d965a797910160405180910390a2505050565b60055460ff16156109275760405162461bcd60e51b815260206004820152602560248201527f526f6d6520436f6e736372697074696f6e3a2043616d706169676e206973204c60448201527f6f636b656400000000000000000000000000000000000000000000000000000060648201526084016105a8565b60015474010000000000000000000000000000000000000000900460ff16156109925760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b3360009081526006602090815260409182902082516080810184528154808252600183015493820193909352600282015493810193909352600301546060830152610a455760405162461bcd60e51b815260206004820152602d60248201527f63616e6e6f7420616374697661746550726f66696c6528293a2075736572206460448201527f6f6573206e6f742065786973740000000000000000000000000000000000000060648201526084016105a8565b6060810151610abc5760405162461bcd60e51b815260206004820152603260248201527f63616e6e6f7420616374697661746550726f66696c6528293a2070726f66696c60448201527f6520616c726561647920696e616374697665000000000000000000000000000060648201526084016105a8565b3360008181526006602052604080822060030191909155600254606084015191517f7965d56d0000000000000000000000000000000000000000000000000000000081526004810192909252610b9f929173ffffffffffffffffffffffffffffffffffffffff90911690637965d56d9060240160206040518083038186803b158015610b4757600080fd5b505afa158015610b5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7f9190612de1565b60025473ffffffffffffffffffffffffffffffffffffffff169190612251565b60405142815233907fe73be80e107f661162e3ba617cba0149e57d12f70ff385e0c8db64a47dab4ec8906020015b60405180910390a250565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c3f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b610c488161232a565b610c5181612724565b905060005b600954811015610d055760098181548110610c7357610c73612d4a565b9060005260206000200154821415610cf35760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f7420616464436c61737328293a20436c61737320616c726561647960448201527f206578697374730000000000000000000000000000000000000000000000000060648201526084016105a8565b80610cfd81612da8565b915050610c56565b50600980546001818101835560008390527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af9091018390559054610d499190612dfa565b6040518281527f9a7a39ac24662c11be8f060552f2783d23e4951aab7528f3150a027f061806fd90602001610bcd565b60015473ffffffffffffffffffffffffffffffffffffffff163314610e065760405162461bcd60e51b815260206004820152602260248201527f4f776e61626c653a206d757374206265206e6577206f776e657220746f20707560448201527f6c6c00000000000000000000000000000000000000000000000000000000000060648201526084016105a8565b6001546000805460405173ffffffffffffffffffffffffffffffffffffffff93841693909116917faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d91a3600154600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909216919091179055565b60098181548110610ea957600080fd5b600091825260209091200154905081565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b80610f945760405162461bcd60e51b815260206004820152603460248201527f63616e6e6f74206368616e67654c6f636b7570416d6f756e7428293a207a657260448201527f6f206c6f636b7570206e6f7420616c6c6f77656400000000000000000000000060648201526084016105a8565b60048190556040518181527fb22fd4bb1c5aa41b4e30e9187bc13ea3481a696fcc0ed457cd5bf701a38afa18906020016106a9565b60015474010000000000000000000000000000000000000000900460ff16156110345760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b33600090815260066020908152604091829020825160808101845281548082526001830154938201939093526002820154938101939093526003015460608301526110e75760405162461bcd60e51b815260206004820152602d60248201527f63616e6e6f7420616374697661746550726f66696c6528293a2075736572206460448201527f6f6573206e6f742065786973740000000000000000000000000000000000000060648201526084016105a8565b60608101511561115f5760405162461bcd60e51b815260206004820152603060248201527f63616e6e6f7420616374697661746550726f66696c6528293a2070726f66696c60448201527f6520616c7265616479206163746976650000000000000000000000000000000060648201526084016105a8565b600254600480546040517f1bd396740000000000000000000000000000000000000000000000000000000081529182015273ffffffffffffffffffffffffffffffffffffffff90911690631bd396749060240160206040518083038186803b1580156111ca57600080fd5b505afa1580156111de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112029190612de1565b336000818152600660205260409020600301919091556004546002546112429273ffffffffffffffffffffffffffffffffffffffff9091169130906127f5565b60405142815233907f9cf6c4218422304700891f32795474321a25b2083024a0e8a1897a28f1c798cf90602001610bcd565b60005473ffffffffffffffffffffffffffffffffffffffff1633146112db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b73ffffffffffffffffffffffffffffffffffffffff81166113645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105a8565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba91a3600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1633146114585760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000805473ffffffffffffffffffffffffffffffffffffffff16331461152f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b506005805460ff19169055600090565b3360009081526003602052604090205460ff166115c45760405162461bcd60e51b815260206004820152602e60248201527f526f6d6520436f6e736372697074696f6e3a206d73672e73656e64657220697360448201527f206e6f742061206d616e6167657200000000000000000000000000000000000060648201526084016105a8565b60015474010000000000000000000000000000000000000000900460ff161561162f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b600081815260076020526040902054156116b15760405162461bcd60e51b815260206004820152602a60248201527f63616e6e6f7420637265617465486f75736528293a20686f75736520616c726560448201527f616479206578697374730000000000000000000000000000000000000000000060648201526084016105a8565b6116ba8161232a565b600880549060006116ca83612da8565b90915550506008546000828152600760209081526040918290208390558151848152339181019190915242918101919091527fbd93e7da01c3b32d48b0300dccdfbc468b4ff5566e93250eb7da6b03c9e291e190606001610bcd565b60005473ffffffffffffffffffffffffffffffffffffffff16331461178d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b73ffffffffffffffffffffffffffffffffffffffff82166118165760405162461bcd60e51b815260206004820152603160248201527f63616e6e6f74206368616e67654d616e6167696e6728293a206164647265737360448201527f207a65726f206e6f7420616c6c6f77656400000000000000000000000000000060648201526084016105a8565b73ffffffffffffffffffffffffffffffffffffffff8216600081815260036020908152604091829020805460ff1916851515908117909155915192835290917f3862304b7039509aa5ceead23d8809fbf2bb793b18ddb0421ee090061720799f910160405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff8416158015906118c0575073ffffffffffffffffffffffffffffffffffffffff831615155b6119325760405162461bcd60e51b815260206004820152602660248201527f726573637565546f6b656e7328293a2063616e6e6f742062652061646472657360448201527f73207a65726f000000000000000000000000000000000000000000000000000060648201526084016105a8565b60025473ffffffffffffffffffffffffffffffffffffffff858116911614156119c35760405162461bcd60e51b815260206004820152602360248201527f726573637565546f6b656e7328293a2063616e6e6f742072657363756520735260448201527f4f4d45000000000000000000000000000000000000000000000000000000000060648201526084016105a8565b81611a365760405162461bcd60e51b815260206004820152603060248201527f726573637565546f6b656e7328293a20616d6f756e74206d757374206265206760448201527f726561746572207468616e207a65726f0000000000000000000000000000000060648201526084016105a8565b611a5773ffffffffffffffffffffffffffffffffffffffff85168484612251565b6040805173ffffffffffffffffffffffffffffffffffffffff8581168252602082018590528616917f77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4910160405180910390a25060015b9392505050565b3360009081526003602052604090205460ff16611b3a5760405162461bcd60e51b815260206004820152602e60248201527f526f6d6520436f6e736372697074696f6e3a206d73672e73656e64657220697360448201527f206e6f742061206d616e6167657200000000000000000000000000000000000060648201526084016105a8565b60015474010000000000000000000000000000000000000000900460ff1615611ba55760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b73ffffffffffffffffffffffffffffffffffffffff811660009081526006602090815260409182902082516080810184528154808252600183015493820193909352600282015493810193909352600301546060830152611c6e5760405162461bcd60e51b815260206004820152602860248201527f63616e6e6f74206368616e67654e616d6528293a207573657220646f6573206e60448201527f6f7420657869737400000000000000000000000000000000000000000000000060648201526084016105a8565b6000838152600a602052604090205460ff1615611cf35760405162461bcd60e51b815260206004820152602860248201527f63616e6e6f74206368616e67654e616d6528293a206e616d6520616c7265616460448201527f792065786973747300000000000000000000000000000000000000000000000060648201526084016105a8565b8051611cfe8461232a565b6000818152600a60209081526040808320805460ff199081169091558784528184208054909116600117905573ffffffffffffffffffffffffffffffffffffffff8616808452600683529281902087905580518481529182018790527fade98a82a641c9104afabd211b8e4eaff4332a020c7ae9fc664cd7afad540026910160405180910390a250505050565b6000805473ffffffffffffffffffffffffffffffffffffffff163314611df35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105a8565b506005805460ff1916600190811790915590565b6000806000806000611e3460015460ff740100000000000000000000000000000000000000009091041690565b15611e815760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105a8565b336000908152600660209081526040918290208251608081018452815480825260018301549382019390935260028201549381019390935260030154606083015215611f355760405162461bcd60e51b815260206004820152602b60248201527f63616e6e6f742063726561746550726f66696c6528293a207573657220616c7260448201527f656164792065786973747300000000000000000000000000000000000000000060648201526084016105a8565b6000898152600a602052604090205460ff1615611fba5760405162461bcd60e51b815260206004820152602b60248201527f63616e6e6f742063726561746550726f66696c6528293a206e616d6520616c7260448201527f656164792065786973747300000000000000000000000000000000000000000060648201526084016105a8565b611fc38961232a565b6000888152600760205260409020546120445760405162461bcd60e51b815260206004820152602c60248201527f63616e6e6f742063726561746550726f66696c6528293a20686f75736520646f60448201527f6573206e6f74206578697374000000000000000000000000000000000000000060648201526084016105a8565b60095487106120bb5760405162461bcd60e51b815260206004820152602c60248201527f63616e6e6f742063726561746550726f66696c6528293a20636c61737320646f60448201527f6573206e6f74206578697374000000000000000000000000000000000000000060648201526084016105a8565b604080516080810182528a8152602081018a90528082018990526002546004805493517f1bd39674000000000000000000000000000000000000000000000000000000008152908101939093529091606083019173ffffffffffffffffffffffffffffffffffffffff1690631bd396749060240160206040518083038186803b15801561214757600080fd5b505afa15801561215b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217f9190612de1565b90523360008181526006602090815260408083208551815585830151600180830191909155868301516002808401919091556060909701516003909201919091558e8452600a909252909120805460ff1916909117905560045491546122009273ffffffffffffffffffffffffffffffffffffffff909116919030906127f5565b604080518a8152426020820152339189918b917f5c3576cf5deb4137058a7fe50a8282405e50aaed6a4d001246e884128609c3dc910160405180910390a45096979596509394339450429350915050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526123259084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152612859565b505050565b8061239d5760405162461bcd60e51b815260206004820152602960248201527f63616e6e6f74207665726966794e616d6528293a206e616d652063616e6e6f7460448201527f20626520656d707479000000000000000000000000000000000000000000000060648201526084016105a8565b60005b60208110156127205760008282602081106123bd576123bd612d4a565b1a60f81b90507f30000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061245757507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b806124f157507f61000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216108015906124f157507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b8061258b57507f41000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061258b57507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b8061269957507f60000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216148061262257507f2e000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216145b8061266e57507f2d000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008216145b8061269957507fff000000000000000000000000000000000000000000000000000000000000008116155b61270d576040805162461bcd60e51b81526020600482015260248101919091527f63616e6e6f74207665726966794e616d6528293a206f6e6c7920616c7068616e60448201527f756d657269632c20646f742c20646173682c206f7220756e64657273636f726560648201526084016105a8565b508061271881612da8565b9150506123a0565b5050565b6000808260405160200161273a91815260200190565b604051602081830303815290604052905060005b81518110156127eb5761279882828151811061276c5761276c612d4a565b01602001517fff000000000000000000000000000000000000000000000000000000000000001661294b565b8282815181106127aa576127aa612d4a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350806127e381612da8565b91505061274e565b50611aae81612e11565b60405173ffffffffffffffffffffffffffffffffffffffff808516602483015283166044820152606481018290526128539085907f23b872dd00000000000000000000000000000000000000000000000000000000906084016122a3565b50505050565b60006128bb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612a029092919063ffffffff16565b80519091501561232557808060200190518101906128d99190612e56565b6123255760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016105a8565b60007f61000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008316108015906129e157507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000831611155b156129fe576129f5602060f884901c612e73565b60f81b92915050565b5090565b6060612a118484600085612a19565b949350505050565b606082471015612a915760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016105a8565b843b612adf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105a8565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051612b089190612ec2565b60006040518083038185875af1925050503d8060008114612b45576040519150601f19603f3d011682016040523d82523d6000602084013e612b4a565b606091505b5091509150612b5a828286612b65565b979650505050505050565b60608315612b74575081611aae565b825115612b845782518084602001fd5b8160405162461bcd60e51b81526004016105a89190612ede565b6020808252825182820181905260009190848201906040850190845b81811015612bd657835183529284019291840191600101612bba565b50909695505050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612c0657600080fd5b919050565b600060208284031215612c1d57600080fd5b611aae82612be2565b600060208284031215612c3857600080fd5b5035919050565b8015158114612c4d57600080fd5b50565b60008060408385031215612c6357600080fd5b612c6c83612be2565b91506020830135612c7c81612c3f565b809150509250929050565b600080600060608486031215612c9c57600080fd5b612ca584612be2565b9250612cb360208501612be2565b9150604084013590509250925092565b60008060408385031215612cd657600080fd5b82359150612ce660208401612be2565b90509250929050565b600080600060608486031215612d0457600080fd5b505081359360208301359350604090920135919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612dda57612dda612d79565b5060010190565b600060208284031215612df357600080fd5b5051919050565b600082821015612e0c57612e0c612d79565b500390565b80516020808301519190811015612e50577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8160200360031b1b821691505b50919050565b600060208284031215612e6857600080fd5b8151611aae81612c3f565b600060ff821660ff841680821015612e8d57612e8d612d79565b90039392505050565b60005b83811015612eb1578181015183820152602001612e99565b838111156128535750506000910152565b60008251612ed4818460208701612e96565b9190910192915050565b6020815260008251806020840152612efd816040850160208701612e96565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea2646970667358221220e4693d7a6eb117daecc85f3e537a10820f33194b6fadf0381d6697ba114649f964736f6c63430008090033

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

00000000000000000000000089f52002e544585b42f8c7cf557609ca4c8ce12a0000000000000000000000000000000000000000000000000000000013ab6680

-----Decoded View---------------
Arg [0] : sROME_ (address): 0x89F52002E544585b42F8c7Cf557609CA4c8ce12A
Arg [1] : lockupAmount_ (uint256): 330000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000089f52002e544585b42f8c7cf557609ca4c8ce12a
Arg [1] : 0000000000000000000000000000000000000000000000000000000013ab6680


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

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