ETH Price: $2,564.07 (-1.59%)
Gas: 3 Gwei

Contract

0xeA94F0FfFAA4F1C17ba190F5Df3B738eDCD43228
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Submit Trade97888242020-04-01 22:41:051592 days ago1585780865IN
0xeA94F0Ff...eDCD43228
0 ETH0.000225981
Submit Trade97883172020-04-01 21:02:061592 days ago1585774926IN
0xeA94F0Ff...eDCD43228
0 ETH0.000649496
Submit Trade97882952020-04-01 20:56:531592 days ago1585774613IN
0xeA94F0Ff...eDCD43228
0 ETH0.000108241
Submit Trade60326362018-07-26 9:24:302208 days ago1532597070IN
0xeA94F0Ff...eDCD43228
0 ETH0.002986585
Submit Trade60325312018-07-26 8:58:412208 days ago1532595521IN
0xeA94F0Ff...eDCD43228
0 ETH0.003950195
Submit Trade60323922018-07-26 8:22:492208 days ago1532593369IN
0xeA94F0Ff...eDCD43228
0 ETH0.002840945
Submit Trade60323582018-07-26 8:13:522208 days ago1532592832IN
0xeA94F0Ff...eDCD43228
0 ETH0.003672965
Submit Trade60323042018-07-26 8:00:042208 days ago1532592004IN
0xeA94F0Ff...eDCD43228
0 ETH0.003182195
Submit Trade60322652018-07-26 7:51:522208 days ago1532591512IN
0xeA94F0Ff...eDCD43228
0 ETH0.003181875
Submit Trade60322512018-07-26 7:49:222208 days ago1532591362IN
0xeA94F0Ff...eDCD43228
0 ETH0.00312785
Submit Trade60322282018-07-26 7:44:032208 days ago1532591043IN
0xeA94F0Ff...eDCD43228
0 ETH0.003844375
Submit Trade60320682018-07-26 7:06:312208 days ago1532588791IN
0xeA94F0Ff...eDCD43228
0 ETH0.003698935
Submit Trade60320082018-07-26 6:53:432208 days ago1532588023IN
0xeA94F0Ff...eDCD43228
0 ETH0.003701165
Submit Trade60320042018-07-26 6:52:422208 days ago1532587962IN
0xeA94F0Ff...eDCD43228
0 ETH0.003182295
Submit Trade60319942018-07-26 6:49:382208 days ago1532587778IN
0xeA94F0Ff...eDCD43228
0 ETH0.003182085
Submit Trade60319902018-07-26 6:48:542208 days ago1532587734IN
0xeA94F0Ff...eDCD43228
0 ETH0.00280835
Submit Trade60319782018-07-26 6:45:532208 days ago1532587553IN
0xeA94F0Ff...eDCD43228
0 ETH0.00387795
Submit Trade60319732018-07-26 6:44:302208 days ago1532587470IN
0xeA94F0Ff...eDCD43228
0 ETH0.002840945
Submit Trade60319702018-07-26 6:43:592208 days ago1532587439IN
0xeA94F0Ff...eDCD43228
0 ETH0.002841735
Submit Trade60319702018-07-26 6:43:592208 days ago1532587439IN
0xeA94F0Ff...eDCD43228
0 ETH0.003225235
Submit Trade60319532018-07-26 6:40:262208 days ago1532587226IN
0xeA94F0Ff...eDCD43228
0 ETH0.003258345
Submit Trade60319042018-07-26 6:27:172208 days ago1532586437IN
0xeA94F0Ff...eDCD43228
0 ETH0.003673685
Submit Trade60319002018-07-26 6:26:122208 days ago1532586372IN
0xeA94F0Ff...eDCD43228
0 ETH0.003387775
Submit Trade60318252018-07-26 6:06:472208 days ago1532585207IN
0xeA94F0Ff...eDCD43228
0 ETH0.003387565
Submit Trade60318022018-07-26 6:02:302208 days ago1532584950IN
0xeA94F0Ff...eDCD43228
0 ETH0.003180785
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
97888242020-04-01 22:41:051592 days ago1585780865
0xeA94F0Ff...eDCD43228
1.975 ETH
97888242020-04-01 22:41:051592 days ago1585780865
0xeA94F0Ff...eDCD43228
1.975 ETH
97888242020-04-01 22:41:051592 days ago1585780865
0xeA94F0Ff...eDCD43228
1.975 ETH
97883172020-04-01 21:02:061592 days ago1585774926
0xeA94F0Ff...eDCD43228
1.975 ETH
97883172020-04-01 21:02:061592 days ago1585774926
0xeA94F0Ff...eDCD43228
1.975 ETH
97883172020-04-01 21:02:061592 days ago1585774926
0xeA94F0Ff...eDCD43228
1.975 ETH
97882952020-04-01 20:56:531592 days ago1585774613
0xeA94F0Ff...eDCD43228
1.975 ETH
97882952020-04-01 20:56:531592 days ago1585774613
0xeA94F0Ff...eDCD43228
1.975 ETH
97882952020-04-01 20:56:531592 days ago1585774613
0xeA94F0Ff...eDCD43228
1.975 ETH
60326362018-07-26 9:24:302208 days ago1532597070
0xeA94F0Ff...eDCD43228
0.00377462 ETH
60326362018-07-26 9:24:302208 days ago1532597070
0xeA94F0Ff...eDCD43228
1.24 ETH
60326362018-07-26 9:24:302208 days ago1532597070
0xeA94F0Ff...eDCD43228
1.24377462 ETH
60326362018-07-26 9:24:302208 days ago1532597070
0xeA94F0Ff...eDCD43228
1.24 ETH
60326362018-07-26 9:24:302208 days ago1532597070
0xeA94F0Ff...eDCD43228
1.24 ETH
60325312018-07-26 8:58:412208 days ago1532595521
0xeA94F0Ff...eDCD43228
1.23708485 ETH
60325312018-07-26 8:58:412208 days ago1532595521
0xeA94F0Ff...eDCD43228
1.24 ETH
60325312018-07-26 8:58:412208 days ago1532595521
0xeA94F0Ff...eDCD43228
1.24 ETH
60323922018-07-26 8:22:492208 days ago1532593369
0xeA94F0Ff...eDCD43228
0.00357102 ETH
60323922018-07-26 8:22:492208 days ago1532593369
0xeA94F0Ff...eDCD43228
1.145 ETH
60323922018-07-26 8:22:492208 days ago1532593369
0xeA94F0Ff...eDCD43228
1.14857102 ETH
60323922018-07-26 8:22:492208 days ago1532593369
0xeA94F0Ff...eDCD43228
1.145 ETH
60323922018-07-26 8:22:492208 days ago1532593369
0xeA94F0Ff...eDCD43228
1.145 ETH
60323582018-07-26 8:13:522208 days ago1532592832
0xeA94F0Ff...eDCD43228
0.19428899 ETH
60323582018-07-26 8:13:522208 days ago1532592832
0xeA94F0Ff...eDCD43228
0.195 ETH
60323582018-07-26 8:13:522208 days ago1532592832
0xeA94F0Ff...eDCD43228
0.195 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Arbitrage

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 5000000 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-07-16
*/

pragma solidity ^0.4.23;

// File: contracts/interface/IArbitrage.sol

/*

  Copyright 2018 Contra Labs Inc.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity 0.4.24;
 

interface IArbitrage {
    function executeArbitrage(
      address token,
      uint256 amount,
      address dest,
      bytes data
    )
      external
      returns (bool);
}

// File: contracts/interface/IBank.sol

/*

  Copyright 2018 Contra Labs Inc.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity 0.4.24;


contract IBank {
    function totalSupplyOf(address token) public view returns (uint256 balance);
    function borrowFor(address token, address borrower, uint256 amount) public;
    function repay(address token, uint256 amount) external payable;
}

// File: openzeppelin-solidity/contracts/ReentrancyGuard.sol

/**
 * @title Helps contracts guard agains reentrancy attacks.
 * @author Remco Bloemen <remco@2π.com>
 * @notice If you mark a function `nonReentrant`, you should also
 * mark it `external`.
 */
contract ReentrancyGuard {

  /**
   * @dev We use a single lock for the whole contract.
   */
  bool private reentrancyLock = false;

  /**
   * @dev Prevents a contract from calling itself, directly or indirectly.
   * @notice If you mark a function `nonReentrant`, you should also
   * mark it `external`. Calling one nonReentrant function from
   * another is not supported. Instead, you can implement a
   * `private` function doing the actual work, and a `external`
   * wrapper marked as `nonReentrant`.
   */
  modifier nonReentrant() {
    require(!reentrancyLock);
    reentrancyLock = true;
    _;
    reentrancyLock = false;
  }

}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    // Gas optimization: this is cheaper than asserting 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  constructor() public {
    owner = msg.sender;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  /**
   * @dev Allows the current owner to relinquish control of the contract.
   */
  function renounceOwnership() public onlyOwner {
    emit OwnershipRenounced(owner);
    owner = address(0);
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function transferOwnership(address _newOwner) public onlyOwner {
    _transferOwnership(_newOwner);
  }

  /**
   * @dev Transfers control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function _transferOwnership(address _newOwner) internal {
    require(_newOwner != address(0));
    emit OwnershipTransferred(owner, _newOwner);
    owner = _newOwner;
  }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender)
    public view returns (uint256);

  function transferFrom(address from, address to, uint256 value)
    public returns (bool);

  function approve(address spender, uint256 value) public returns (bool);
  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

// File: contracts/FlashLender.sol

/*

  Copyright 2018 Contra Labs Inc.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity 0.4.24;







// @title FlashLender: Borrow from the bank and enforce repayment by the end of transaction execution.
// @author Rich McAteer <[email protected]>, Max Wolff <[email protected]>
contract FlashLender is ReentrancyGuard, Ownable {
    using SafeMath for uint256;

    string public version = '0.1';
    address public bank;
    uint256 public fee;
    
    /**
    * @dev Verify that the borrowed tokens are returned to the bank plus a fee by the end of transaction execution.
    * @param token Address of the token to for arbitrage. 0x0 for Ether.
    * @param amount Amount borrowed.
    */
    modifier isArbitrage(address token, uint256 amount) {
        uint256 balance = IBank(bank).totalSupplyOf(token);
        uint256 feeAmount = amount.mul(fee).div(10 ** 18); 
        _;
        require(IBank(bank).totalSupplyOf(token) >= (balance.add(feeAmount)));
    }

    constructor(address _bank, uint256 _fee) public {
        bank = _bank;
        fee = _fee;
    }

    /**
    * @dev Borrow from the bank on behalf of an arbitrage contract and execute the arbitrage contract's callback function.
    * @param token Address of the token to borrow. 0x0 for Ether.
    * @param amount Amount to borrow.
    * @param dest Address of the account to receive arbitrage profits.
    * @param data The data to execute the arbitrage trade.
    */
    function borrow(
        address token,
        uint256 amount,
        address dest,
        bytes data
    )
        external
        nonReentrant
        isArbitrage(token, amount)
        returns (bool)
    {
        // Borrow from the bank and send to the arbitrageur.
        IBank(bank).borrowFor(token, msg.sender, amount);
        // Call the arbitrageur's execute arbitrage method.
        return IArbitrage(msg.sender).executeArbitrage(token, amount, dest, data);
    }

    /**
    * @dev Allow the owner to set the bank address.
    * @param _bank Address of the bank.
    */
    function setBank(address _bank) external onlyOwner {
        bank = _bank;
    }

    /**
    * @dev Allow the owner to set the fee.
    * @param _fee Fee to borrow, as a percentage of principal borrowed. 18 decimals of precision (e.g., 10^18 = 100% fee).
    */
    function setFee(uint256 _fee) external onlyOwner {
        fee = _fee;
    }

}

// File: contracts/example/ExternalCall.sol

/*

  Copyright 2018 Contra Labs Inc.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity 0.4.24;

contract ExternalCall {
    // Source: https://github.com/gnosis/MultiSigWallet/blob/master/contracts/MultiSigWallet.sol
    // call has been separated into its own function in order to take advantage
    // of the Solidity's code generator to produce a loop that copies tx.data into memory.
    function external_call(address destination, uint value, uint dataLength, bytes data) internal returns (bool) {
        bool result;
        assembly {
            let x := mload(0x40)   // "Allocate" memory for output (0x40 is where "free memory" pointer is stored by convention)
            let d := add(data, 32) // First 32 bytes are the padded length of data, so exclude that
            result := call(
                sub(gas, 34710),   // 34710 is the value that solidity is currently emitting
                                   // It includes callGas (700) + callVeryLow (3, to pay for SUB) + callValueTransferGas (9000) +
                                   // callNewAccountGas (25000, in case the destination address does not exist and needs creating)
                destination,
                value,
                d,
                dataLength,        // Size of the input (in bytes) - this is what fixes the padding problem
                x,
                0                  // Output is ignored, therefore the output size is zero
            )
        }
        return result;
    }
}

// File: contracts/example/Arbitrage.sol

/*

  Copyright 2018 Contra Labs Inc.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

*/

pragma solidity 0.4.24;








// @title Arbitrage: Borrow Ether or ERC20 tokens to execute an arbitrage opportunity.
// @author Rich McAteer <[email protected]>, Max Wolff <[email protected]>
contract Arbitrage is IArbitrage, ExternalCall {
    using SafeMath for uint256;

    address public lender;
    address public tradeExecutor;
    address constant public ETH = 0x0;
    uint256 constant public MAX_UINT = 2 ** 256 - 1;

    modifier onlyLender() {
        require(msg.sender == lender);
        _;
    }

    constructor(address _lender, address _tradeExecutor) public {
        lender = _lender;
        tradeExecutor = _tradeExecutor; 
    }

    // Receive ETH from bank.
    function () payable public {}

    /**
    * @dev Borrow from flash lender to execute arbitrage trade. 
    * @param token Address of the token to borrow. 0x0 for Ether.
    * @param amount Amount to borrow.
    * @param dest Address of the account to receive arbitrage profits.
    * @param data The data to execute the arbitrage trade.
    */
    function submitTrade(address token, uint256 amount, address dest, bytes data) external {
        FlashLender(lender).borrow(token, amount, dest, data);
    }

    /**
    * @dev Callback from flash lender. Executes arbitrage trade.
    * @param token Address of the borrowed token. 0x0 for Ether.
    * @param amount Amount borrowed.
    * @param dest Address of the account to receive arbitrage profits.
    * @param data The data to execute the arbitrage trade.
    */
    function executeArbitrage(
        address token,
        uint256 amount,
        address dest,
        bytes data
    )
        external
        onlyLender 
        returns (bool)
    {
        uint256 value = 0;
        if (token == ETH) {
            value = amount;
        } else {
            // Send tokens to Trade Executor
            ERC20(token).transfer(tradeExecutor, amount);
        }

        // Execute the trades.
        external_call(tradeExecutor, value, data.length, data);

        // Determine the amount to repay.
        uint256 repayAmount = getRepayAmount(amount);

        address bank = FlashLender(lender).bank();

        // Repay the bank and collect remaining profits.
        if (token == ETH) {
            IBank(bank).repay.value(repayAmount)(token, repayAmount);
            dest.transfer(address(this).balance);
        } else {
            if (ERC20(token).allowance(this, bank) < repayAmount) {
                ERC20(token).approve(bank, MAX_UINT);
            }
            IBank(bank).repay(token, repayAmount);
            uint256 balance = ERC20(token).balanceOf(this);
            require(ERC20(token).transfer(dest, balance));
        }

        return true;
    }

    /** 
    * @dev Calculate the amount owed after borrowing.
    * @param amount Amount used to calculate repayment amount.
    */ 
    function getRepayAmount(uint256 amount) public view returns (uint256) {
        uint256 fee = FlashLender(lender).fee();
        uint256 feeAmount = amount.mul(fee).div(10 ** 18);
        return amount.add(feeAmount);
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"getRepayAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"},{"name":"dest","type":"address"},{"name":"data","type":"bytes"}],"name":"executeArbitrage","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tradeExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lender","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_UINT","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"},{"name":"amount","type":"uint256"},{"name":"dest","type":"address"},{"name":"data","type":"bytes"}],"name":"submitTrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_lender","type":"address"},{"name":"_tradeExecutor","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b50604051604080610bc883398101604052805160209091015160008054600160a060020a03938416600160a060020a03199182161790915560018054939092169216919091179055610b61806100676000396000f3006080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ec32f9c81146100845780637b0f6f18146100ae5780638322fff214610107578063a7f0701114610145578063bcead63e1461015a578063e5b5019a1461016f578063f3d791ea14610184575b005b34801561009057600080fd5b5061009c6004356101c9565b60408051918252519081900360200190f35b3480156100ba57600080fd5b506100f36004803573ffffffffffffffffffffffffffffffffffffffff90811691602480359260443516916064359182019101356102c3565b604080519115158252519081900360200190f35b34801561011357600080fd5b5061011c610980565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561015157600080fd5b5061011c610985565b34801561016657600080fd5b5061011c6109a1565b34801561017b57600080fd5b5061009c6109bd565b34801561019057600080fd5b506100826004803573ffffffffffffffffffffffffffffffffffffffff90811691602480359260443516916064359182019101356109e1565b60008060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ddca3f436040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561025357600080fd5b505af1158015610267573d6000803e3d6000fd5b505050506040513d602081101561027d57600080fd5b505191506102a9670de0b6b3a764000061029d868563ffffffff610ac116565b9063ffffffff610af016565b90506102bb848263ffffffff610b0516565b949350505050565b60008054819081908190819073ffffffffffffffffffffffffffffffffffffffff1633146102f057600080fd5b6000935073ffffffffffffffffffffffffffffffffffffffff8a161515610319578893506103c2565b600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018c90529051918c169163a9059cbb916044808201926020929091908290030181600087803b15801561039557600080fd5b505af11580156103a9573d6000803e3d6000fd5b505050506040513d60208110156103bf57600080fd5b50505b600154604080516020601f8a018190048102820181019092528881526104179273ffffffffffffffffffffffffffffffffffffffff169187918a918c9083908190840183828082843750610b12945050505050565b50610421896101c9565b92506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166376cdb03b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104a857600080fd5b505af11580156104bc573d6000803e3d6000fd5b505050506040513d60208110156104d257600080fd5b5051915073ffffffffffffffffffffffffffffffffffffffff8a1615156105f9578173ffffffffffffffffffffffffffffffffffffffff166322867d78848c866040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506000604051808303818588803b15801561059657600080fd5b505af11580156105aa573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff8c169350303180156108fc02935091506000818181858888f193505050501580156105f3573d6000803e3d6000fd5b50610970565b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8481166024830152915185928d169163dd62ed3e9160448083019260209291908290030181600087803b15801561067157600080fd5b505af1158015610685573d6000803e3d6000fd5b505050506040513d602081101561069b57600080fd5b5051101561076857604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60248301529151918c169163095ea7b3916044808201926020929091908290030181600087803b15801561073b57600080fd5b505af115801561074f573d6000803e3d6000fd5b505050506040513d602081101561076557600080fd5b50505b8173ffffffffffffffffffffffffffffffffffffffff166322867d788b856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561080b57600080fd5b505af115801561081f573d6000803e3d6000fd5b5050604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8e1693506370a08231925060248083019260209291908290030181600087803b15801561089157600080fd5b505af11580156108a5573d6000803e3d6000fd5b505050506040513d60208110156108bb57600080fd5b5051604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b81166004830152602482018490529151929350908c169163a9059cbb916044808201926020929091908290030181600087803b15801561093957600080fd5b505af115801561094d573d6000803e3d6000fd5b505050506040513d602081101561096357600080fd5b5051151561097057600080fd5b5060019998505050505050505050565b600081565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b6000546040517fc046d9b500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830190815260248301889052868216604484015260806064840190815260848401869052919093169263c046d9b592899289928992899289929160a40184848082843782019150509650505050505050602060405180830381600087803b158015610a8e57600080fd5b505af1158015610aa2573d6000803e3d6000fd5b505050506040513d6020811015610ab857600080fd5b50505050505050565b6000821515610ad257506000610aea565b50818102818382811515610ae257fe5b0414610aea57fe5b92915050565b60008183811515610afd57fe5b049392505050565b81810182811015610aea57fe5b6000806040516020840160008287838a8c6187965a03f1989750505050505050505600a165627a7a723058207d50cac878dbd51a3a4f12c10f286266a62dcc9f8876c6fc857a5d61b3f02ff9002900000000000000000000000057d586906cb1b995dfce24730906f59d60490ff600000000000000000000000066c16e9524e4143c63fca51a2cbe3cc18944c794

Deployed Bytecode

0x6080604052600436106100825763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ec32f9c81146100845780637b0f6f18146100ae5780638322fff214610107578063a7f0701114610145578063bcead63e1461015a578063e5b5019a1461016f578063f3d791ea14610184575b005b34801561009057600080fd5b5061009c6004356101c9565b60408051918252519081900360200190f35b3480156100ba57600080fd5b506100f36004803573ffffffffffffffffffffffffffffffffffffffff90811691602480359260443516916064359182019101356102c3565b604080519115158252519081900360200190f35b34801561011357600080fd5b5061011c610980565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561015157600080fd5b5061011c610985565b34801561016657600080fd5b5061011c6109a1565b34801561017b57600080fd5b5061009c6109bd565b34801561019057600080fd5b506100826004803573ffffffffffffffffffffffffffffffffffffffff90811691602480359260443516916064359182019101356109e1565b60008060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ddca3f436040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561025357600080fd5b505af1158015610267573d6000803e3d6000fd5b505050506040513d602081101561027d57600080fd5b505191506102a9670de0b6b3a764000061029d868563ffffffff610ac116565b9063ffffffff610af016565b90506102bb848263ffffffff610b0516565b949350505050565b60008054819081908190819073ffffffffffffffffffffffffffffffffffffffff1633146102f057600080fd5b6000935073ffffffffffffffffffffffffffffffffffffffff8a161515610319578893506103c2565b600154604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018c90529051918c169163a9059cbb916044808201926020929091908290030181600087803b15801561039557600080fd5b505af11580156103a9573d6000803e3d6000fd5b505050506040513d60208110156103bf57600080fd5b50505b600154604080516020601f8a018190048102820181019092528881526104179273ffffffffffffffffffffffffffffffffffffffff169187918a918c9083908190840183828082843750610b12945050505050565b50610421896101c9565b92506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166376cdb03b6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b1580156104a857600080fd5b505af11580156104bc573d6000803e3d6000fd5b505050506040513d60208110156104d257600080fd5b5051915073ffffffffffffffffffffffffffffffffffffffff8a1615156105f9578173ffffffffffffffffffffffffffffffffffffffff166322867d78848c866040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001925050506000604051808303818588803b15801561059657600080fd5b505af11580156105aa573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff8c169350303180156108fc02935091506000818181858888f193505050501580156105f3573d6000803e3d6000fd5b50610970565b604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8481166024830152915185928d169163dd62ed3e9160448083019260209291908290030181600087803b15801561067157600080fd5b505af1158015610685573d6000803e3d6000fd5b505050506040513d602081101561069b57600080fd5b5051101561076857604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60248301529151918c169163095ea7b3916044808201926020929091908290030181600087803b15801561073b57600080fd5b505af115801561074f573d6000803e3d6000fd5b505050506040513d602081101561076557600080fd5b50505b8173ffffffffffffffffffffffffffffffffffffffff166322867d788b856040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561080b57600080fd5b505af115801561081f573d6000803e3d6000fd5b5050604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8e1693506370a08231925060248083019260209291908290030181600087803b15801561089157600080fd5b505af11580156108a5573d6000803e3d6000fd5b505050506040513d60208110156108bb57600080fd5b5051604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8b81166004830152602482018490529151929350908c169163a9059cbb916044808201926020929091908290030181600087803b15801561093957600080fd5b505af115801561094d573d6000803e3d6000fd5b505050506040513d602081101561096357600080fd5b5051151561097057600080fd5b5060019998505050505050505050565b600081565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b6000546040517fc046d9b500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830190815260248301889052868216604484015260806064840190815260848401869052919093169263c046d9b592899289928992899289929160a40184848082843782019150509650505050505050602060405180830381600087803b158015610a8e57600080fd5b505af1158015610aa2573d6000803e3d6000fd5b505050506040513d6020811015610ab857600080fd5b50505050505050565b6000821515610ad257506000610aea565b50818102818382811515610ae257fe5b0414610aea57fe5b92915050565b60008183811515610afd57fe5b049392505050565b81810182811015610aea57fe5b6000806040516020840160008287838a8c6187965a03f1989750505050505050505600a165627a7a723058207d50cac878dbd51a3a4f12c10f286266a62dcc9f8876c6fc857a5d61b3f02ff90029

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

00000000000000000000000057d586906cb1b995dfce24730906f59d60490ff600000000000000000000000066c16e9524e4143c63fca51a2cbe3cc18944c794

-----Decoded View---------------
Arg [0] : _lender (address): 0x57d586906Cb1b995DFcE24730906F59D60490ff6
Arg [1] : _tradeExecutor (address): 0x66c16E9524E4143C63FcA51A2cbE3cC18944c794

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000057d586906cb1b995dfce24730906f59d60490ff6
Arg [1] : 00000000000000000000000066c16e9524e4143c63fca51a2cbe3cc18944c794


Swarm Source

bzzr://7d50cac878dbd51a3a4f12c10f286266a62dcc9f8876c6fc857a5d61b3f02ff9

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  ]
[ 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.