ETH Price: $3,695.92 (+1.16%)
Gas: 7.5 Gwei

Contract

0xa81E4bC05E57ad79514f56546992D46aDF6aD446
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...144886382022-03-30 16:35:26976 days ago1648658126IN
0xa81E4bC0...aDF6aD446
0 ETH0.0028013597.73429374

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FairXYZWallets

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-03-30
*/

// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

pragma solidity ^0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// @ Fair.xyz dev

pragma solidity 0.8.7;

contract FairXYZWallets is Ownable{
    
    address internal signer_address;

    address internal withdraw_address;

    constructor(address address_for_signer, address address_for_withdraw){
        signer_address = address_for_signer;
        withdraw_address = address_for_withdraw;
    }

    function view_signer() public view returns(address)
    {
        return(signer_address);
    }

    function view_withdraw() public view returns(address)
    {
        return(withdraw_address);
    }

    function change_signer(address new_address) public onlyOwner returns(address)
    {
        signer_address = new_address;
        return signer_address;
    }

    function change_withdraw(address new_address) public onlyOwner returns(address)
    {
        withdraw_address = new_address;
        return withdraw_address;
    }


}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"address_for_signer","type":"address"},{"internalType":"address","name":"address_for_withdraw","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"new_address","type":"address"}],"name":"change_signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"new_address","type":"address"}],"name":"change_withdraw","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"view_signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"view_withdraw","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506040516104ad3803806104ad83398101604081905261002f916100bd565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039384166001600160a01b031991821617909155600280549290931691161790556100f0565b80516001600160a01b03811681146100b857600080fd5b919050565b600080604083850312156100d057600080fd5b6100d9836100a1565b91506100e7602084016100a1565b90509250929050565b6103ae806100ff6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638a8e81121161005b5780638a8e8112146100c85780638da5cb5b146100d95780639797dfad146100ea578063f2fde38b146100fd57600080fd5b80633b658699146100825780636f9155b1146100ab578063715018a6146100be575b600080fd5b6001546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b61008f6100b9366004610313565b610110565b6100c6610167565b005b6002546001600160a01b031661008f565b6000546001600160a01b031661008f565b61008f6100f8366004610313565b6101db565b6100c661010b366004610313565b610229565b600080546001600160a01b031633146101445760405162461bcd60e51b815260040161013b90610343565b60405180910390fd5b50600280546001600160a01b0319166001600160a01b0392909216918217905590565b6000546001600160a01b031633146101915760405162461bcd60e51b815260040161013b90610343565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600080546001600160a01b031633146102065760405162461bcd60e51b815260040161013b90610343565b50600180546001600160a01b0319166001600160a01b0392909216918217905590565b6000546001600160a01b031633146102535760405162461bcd60e51b815260040161013b90610343565b6001600160a01b0381166102b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161013b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561032557600080fd5b81356001600160a01b038116811461033c57600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212209d2f5529c68ca6419802e2956d671ab59ef3c3a895b7fd23264605ed21452a2264736f6c63430008070033000000000000000000000000b403d77946b4ac4fc7ca2ee1059e73f1b72d6e93000000000000000000000000165cd37b4c644c2921454429e7f9358d18a45e14

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638a8e81121161005b5780638a8e8112146100c85780638da5cb5b146100d95780639797dfad146100ea578063f2fde38b146100fd57600080fd5b80633b658699146100825780636f9155b1146100ab578063715018a6146100be575b600080fd5b6001546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b61008f6100b9366004610313565b610110565b6100c6610167565b005b6002546001600160a01b031661008f565b6000546001600160a01b031661008f565b61008f6100f8366004610313565b6101db565b6100c661010b366004610313565b610229565b600080546001600160a01b031633146101445760405162461bcd60e51b815260040161013b90610343565b60405180910390fd5b50600280546001600160a01b0319166001600160a01b0392909216918217905590565b6000546001600160a01b031633146101915760405162461bcd60e51b815260040161013b90610343565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600080546001600160a01b031633146102065760405162461bcd60e51b815260040161013b90610343565b50600180546001600160a01b0319166001600160a01b0392909216918217905590565b6000546001600160a01b031633146102535760405162461bcd60e51b815260040161013b90610343565b6001600160a01b0381166102b85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161013b565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561032557600080fd5b81356001600160a01b038116811461033c57600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea26469706673582212209d2f5529c68ca6419802e2956d671ab59ef3c3a895b7fd23264605ed21452a2264736f6c63430008070033

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

000000000000000000000000b403d77946b4ac4fc7ca2ee1059e73f1b72d6e93000000000000000000000000165cd37b4c644c2921454429e7f9358d18a45e14

-----Decoded View---------------
Arg [0] : address_for_signer (address): 0xb403d77946B4Ac4FC7CA2EE1059e73f1b72D6e93
Arg [1] : address_for_withdraw (address): 0x165CD37b4C644C2921454429E7F9358d18A45e14

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000b403d77946b4ac4fc7ca2ee1059e73f1b72d6e93
Arg [1] : 000000000000000000000000165cd37b4c644c2921454429e7f9358d18a45e14


Deployed Bytecode Sourcemap

3236:871:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3546:98;3621:14;;-1:-1:-1;;;;;3621:14:0;3546:98;;;-1:-1:-1;;;;;469:32:1;;;451:51;;439:2;424:18;3546:98:0;;;;;;;3932:168;;;;;;:::i;:::-;;:::i;2635:148::-;;;:::i;:::-;;3652:102;3729:16;;-1:-1:-1;;;;;3729:16:0;3652:102;;1984:87;2030:7;2057:6;-1:-1:-1;;;;;2057:6:0;1984:87;;3762:162;;;;;;:::i;:::-;;:::i;2938:244::-;;;;;;:::i;:::-;;:::i;3932:168::-;4003:7;2057:6;;-1:-1:-1;;;;;2057:6:0;681:10;2204:23;2196:68;;;;-1:-1:-1;;;2196:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;4028:16:0::1;:30:::0;;-1:-1:-1;;;;;;4028:30:0::1;-1:-1:-1::0;;;;;4028:30:0;;;::::1;::::0;;::::1;::::0;;;3932:168::o;2635:148::-;2030:7;2057:6;-1:-1:-1;;;;;2057:6:0;681:10;2204:23;2196:68;;;;-1:-1:-1;;;2196:68:0;;;;;;;:::i;:::-;2742:1:::1;2726:6:::0;;2705:40:::1;::::0;-1:-1:-1;;;;;2726:6:0;;::::1;::::0;2705:40:::1;::::0;2742:1;;2705:40:::1;2773:1;2756:19:::0;;-1:-1:-1;;;;;;2756:19:0::1;::::0;;2635:148::o;3762:162::-;3831:7;2057:6;;-1:-1:-1;;;;;2057:6:0;681:10;2204:23;2196:68;;;;-1:-1:-1;;;2196:68:0;;;;;;;:::i;:::-;-1:-1:-1;3856:14:0::1;:28:::0;;-1:-1:-1;;;;;;3856:28:0::1;-1:-1:-1::0;;;;;3856:28:0;;;::::1;::::0;;::::1;::::0;;;3762:162::o;2938:244::-;2030:7;2057:6;-1:-1:-1;;;;;2057:6:0;681:10;2204:23;2196:68;;;;-1:-1:-1;;;2196:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3027:22:0;::::1;3019:73;;;::::0;-1:-1:-1;;;3019:73:0;;715:2:1;3019:73:0::1;::::0;::::1;697:21:1::0;754:2;734:18;;;727:30;793:34;773:18;;;766:62;-1:-1:-1;;;844:18:1;;;837:36;890:19;;3019:73:0::1;513:402:1::0;3019:73:0::1;3129:6;::::0;;3108:38:::1;::::0;-1:-1:-1;;;;;3108:38:0;;::::1;::::0;3129:6;::::1;::::0;3108:38:::1;::::0;::::1;3157:6;:17:::0;;-1:-1:-1;;;;;;3157:17:0::1;-1:-1:-1::0;;;;;3157:17:0;;;::::1;::::0;;;::::1;::::0;;2938:244::o;14:286:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:1;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:1:o;920:356::-;1122:2;1104:21;;;1141:18;;;1134:30;1200:34;1195:2;1180:18;;1173:62;1267:2;1252:18;;920:356::o

Swarm Source

ipfs://9d2f5529c68ca6419802e2956d671ab59ef3c3a895b7fd23264605ed21452a22

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.