ETH Price: $2,638.14 (-0.75%)

Contract

0x97ae437EdBACA2DB40CfF2E0436B894Ff72988AF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Create180592692023-09-03 23:34:11423 days ago1693784051IN
0x97ae437E...Ff72988AF
0.00099674 ETH0.0267603312.91843029
Create168773342023-03-21 16:55:59589 days ago1679417759IN
0x97ae437E...Ff72988AF
7.5 ETH0.0586872228.45264832
Create167931402023-03-09 20:53:23601 days ago1678395203IN
0x97ae437E...Ff72988AF
0 ETH0.156967674.41011173
Create166736262023-02-21 1:29:47618 days ago1676942987IN
0x97ae437E...Ff72988AF
0 ETH0.0366450120.81357896
Create166272252023-02-14 13:16:11624 days ago1676380571IN
0x97ae437E...Ff72988AF
0.2 ETH0.0256838715.78494747
Create165976812023-02-10 10:12:23629 days ago1676023943IN
0x97ae437E...Ff72988AF
0 ETH0.0451588421.40780688
Create160977192022-12-02 14:28:11698 days ago1669991291IN
0x97ae437E...Ff72988AF
0 ETH0.024208913.87132099
Create160919672022-12-01 19:13:11699 days ago1669921991IN
0x97ae437E...Ff72988AF
0 ETH0.0245179513.93441562
Create160256072022-11-22 12:40:35709 days ago1669120835IN
0x97ae437E...Ff72988AF
0.01 ETH0.0224554813.93831919
Create160255982022-11-22 12:38:47709 days ago1669120727IN
0x97ae437E...Ff72988AF
0.01 ETH0.0289870513.95718629
Create159829202022-11-16 13:35:23714 days ago1668605723IN
0x97ae437E...Ff72988AF
0 ETH0.0316228415.07742119
Create159028982022-11-05 9:23:59726 days ago1667640239IN
0x97ae437E...Ff72988AF
3.55 ETH0.0173308310.7458182
Create156513652022-10-01 5:57:11761 days ago1664603831IN
0x97ae437E...Ff72988AF
0 ETH0.012379767.08901746
Create156513592022-10-01 5:55:59761 days ago1664603759IN
0x97ae437E...Ff72988AF
0 ETH0.013097587.50006542
Create155204002022-09-12 10:35:48780 days ago1662978948IN
0x97ae437E...Ff72988AF
0.2 ETH0.017797198.62149866
Create155071392022-09-10 5:47:45782 days ago1662788865IN
0x97ae437E...Ff72988AF
0 ETH0.0215155610.13084221
Create154880062022-09-07 3:29:28785 days ago1662521368IN
0x97ae437E...Ff72988AF
0 ETH0.0278792315.84388696
Create153714102022-08-19 12:57:55804 days ago1660913875IN
0x97ae437E...Ff72988AF
4.8 ETH0.0295807518.17980328
Create151782022022-07-20 7:34:05834 days ago1658302445IN
0x97ae437E...Ff72988AF
4 ETH0.0495578630.72742394
Create151721822022-07-19 9:12:58835 days ago1658221978IN
0x97ae437E...Ff72988AF
0.5 ETH0.015424969.53890776
Create151465712022-07-15 9:57:38839 days ago1657879058IN
0x97ae437E...Ff72988AF
0 ETH0.0281754316.15887995
Set Owner151461922022-07-15 8:34:29839 days ago1657874069IN
0x97ae437E...Ff72988AF
0 ETH0.0005125715.88191746
Set Strategy151461472022-07-15 8:24:38839 days ago1657873478IN
0x97ae437E...Ff72988AF
0 ETH0.0005818811.32051004
Set Strategy151461472022-07-15 8:24:38839 days ago1657873478IN
0x97ae437E...Ff72988AF
0 ETH0.0005817411.32051004
Set Implements151461392022-07-15 8:23:35839 days ago1657873415IN
0x97ae437E...Ff72988AF
0 ETH0.0003610211.18005013
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
180592692023-09-03 23:34:11423 days ago1693784051
0x97ae437E...Ff72988AF
0.00099674 ETH
180592692023-09-03 23:34:11423 days ago1693784051
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
168773342023-03-21 16:55:59589 days ago1679417759
0x97ae437E...Ff72988AF
7.5 ETH
168773342023-03-21 16:55:59589 days ago1679417759
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
167931402023-03-09 20:53:23601 days ago1678395203
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
166736262023-02-21 1:29:47618 days ago1676942987
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
166272252023-02-14 13:16:11624 days ago1676380571
0x97ae437E...Ff72988AF
0.2 ETH
166272252023-02-14 13:16:11624 days ago1676380571
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
165976812023-02-10 10:12:23629 days ago1676023943
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
160977192022-12-02 14:28:11698 days ago1669991291
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
160919672022-12-01 19:13:11699 days ago1669921991
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
160256072022-11-22 12:40:35709 days ago1669120835
0x97ae437E...Ff72988AF
0.01 ETH
160256072022-11-22 12:40:35709 days ago1669120835
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
160255982022-11-22 12:38:47709 days ago1669120727
0x97ae437E...Ff72988AF
0.01 ETH
160255982022-11-22 12:38:47709 days ago1669120727
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
159829202022-11-16 13:35:23714 days ago1668605723
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
159028982022-11-05 9:23:59726 days ago1667640239
0x97ae437E...Ff72988AF
3.55 ETH
159028982022-11-05 9:23:59726 days ago1667640239
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
156513652022-10-01 5:57:11761 days ago1664603831
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
156513592022-10-01 5:55:59761 days ago1664603759
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
155204002022-09-12 10:35:48780 days ago1662978948
0x97ae437E...Ff72988AF
0.2 ETH
155204002022-09-12 10:35:48780 days ago1662978948
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
155071392022-09-10 5:47:45782 days ago1662788865
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
154880062022-09-07 3:29:28785 days ago1662521368
0x97ae437E...Ff72988AF
 Contract Creation0 ETH
153714102022-08-19 12:57:55804 days ago1660913875
0x97ae437E...Ff72988AF
4.8 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
XFactory

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, BSD-3-Clause license
/**
 *Submitted for verification at Etherscan.io on 2021-06-23
*/

// File: contracts/XFactory/storage/XFactorySlot.sol
pragma solidity ^0.6.12;

 /**
  * @title BiFi-X XFactorySlot contract
  * @notice For prevent proxy storage variable mismatch
  * @author BiFi-X(seinmyung25, Miller-kk, tlatkdgus1, dongchangYoo)
  */
contract XFactorySlot {
  address public storageAddr;
  address public _implements;
  address public _storage;

  address public owner;
  address public NFT;

  address public bifiManagerAddr;
  address public uniswapV2Addr;

  address public bifiAddr;
  address public wethAddr;

  // bifi fee variable
  uint256 fee;
  uint256 discountBase;
}

// File: contracts/XFactory/XFactory.sol
// SPDX-License-Identifier: BSD-3-Clause
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;

 /**
  * @title BiFi-X XFactory proxy contract
  * @author BiFi-X(seinmyung25, Miller-kk, tlatkdgus1, dongchangYoo)
  */
contract XFactory is XFactorySlot {
  /**
	* @dev Constructor
	* @param implementsAddr The address of XFactoryExternal logic contract
  * @param _storageAddr The address of XFactory data storage
  * @param _bifiManagerAddr The address of bifi manager
  * @param _uniswapV2Addr The address of uniswap v2
  * @param _bifiAddr The address of bifi token
  * @param _wethAddr The address of weth token
  * @param _fee The amount of static bifi-x fee
  * @param _discountBase The minimum amount hold to get a flashloan fee discount
	*/
  constructor(
    address implementsAddr,
    address _storageAddr,
    address _bifiManagerAddr,
    address _uniswapV2Addr,
    address _bifiAddr,
    address _wethAddr,
    uint256 _fee,
    uint256 _discountBase
  )
  public {
    owner = msg.sender;
    _implements = implementsAddr;
    storageAddr = _storageAddr;

    // set slot
    bifiManagerAddr = _bifiManagerAddr;
    uniswapV2Addr = _uniswapV2Addr;
    bifiAddr = _bifiAddr;
    wethAddr = _wethAddr;
    fee = _fee;
    discountBase = _discountBase;
  }

  fallback() external payable {
    address addr = _implements;
    assembly {
      calldatacopy(0, 0, calldatasize())
      let result := delegatecall(gas(), addr, 0, calldatasize(), 0, 0)
      returndatacopy(0, 0, returndatasize())
      switch result
      case 0 { revert(0, returndatasize()) }
      default { return(0, returndatasize()) }
    }
  }

  receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"implementsAddr","type":"address"},{"internalType":"address","name":"_storageAddr","type":"address"},{"internalType":"address","name":"_bifiManagerAddr","type":"address"},{"internalType":"address","name":"_uniswapV2Addr","type":"address"},{"internalType":"address","name":"_bifiAddr","type":"address"},{"internalType":"address","name":"_wethAddr","type":"address"},{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"uint256","name":"_discountBase","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"NFT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_implements","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_storage","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bifiAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bifiManagerAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"storageAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Addr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wethAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040516103e43803806103e483398101604081905261002f916100d3565b60038054336001600160a01b0319918216179091556001805482166001600160a01b039a8b16179055600080548216988a169890981790975560058054881696891696909617909555600680548716948816949094179093556007805486169287169290921790915560088054909416941693909317909155600991909155600a55610160565b80516001600160a01b03811681146100cd57600080fd5b92915050565b600080600080600080600080610100898b0312156100ef578384fd5b6100f98a8a6100b6565b97506101088a60208b016100b6565b96506101178a60408b016100b6565b95506101268a60608b016100b6565b94506101358a60808b016100b6565b93506101448a60a08b016100b6565b60c08a015160e0909a0151989b979a5095989497939692505050565b6102758061016f6000396000f3fe60806040526004361061009a5760003560e01c80638da5cb5b11610069578063c3fb90d61161004e578063c3fb90d614610165578063eb2cff321461017a578063ee1ed8231461018f576100a1565b80638da5cb5b1461013b57806397df573e14610150576100a1565b806307059523146100d1578063207d8670146100fc5780637c0b8de2146101115780637d5aa5f414610126576100a1565b366100a157005b6001546001600160a01b03163660008037600080366000845af43d6000803e8080156100cc573d6000f35b3d6000fd5b3480156100dd57600080fd5b506100e66101a4565b6040516100f3919061022b565b60405180910390f35b34801561010857600080fd5b506100e66101b3565b34801561011d57600080fd5b506100e66101c2565b34801561013257600080fd5b506100e66101d1565b34801561014757600080fd5b506100e66101e0565b34801561015c57600080fd5b506100e66101ef565b34801561017157600080fd5b506100e66101fe565b34801561018657600080fd5b506100e661020d565b34801561019b57600080fd5b506100e661021c565b6005546001600160a01b031681565b6001546001600160a01b031681565b6004546001600160a01b031681565b6008546001600160a01b031681565b6003546001600160a01b031681565b6000546001600160a01b031681565b6002546001600160a01b031681565b6006546001600160a01b031681565b6007546001600160a01b031681565b6001600160a01b039190911681526020019056fea26469706673582212209fe4198b9135cd973e7caacf2723d709a2f3090ca22c182354fb180e9e21d21164736f6c634300060c0033000000000000000000000000ddabbffbbfaa1bed070f3a6deb6033f94d8c8f26000000000000000000000000836c3afe6104066da3b2d3c244f66d6698623ba9000000000000000000000000913f2dee2746cda2ab34106c47abc4a8f4e36fa50000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002791bfd60d232150bff86b39b7146c0eaaa2ba81000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000001b1ae4d6e2ef50000000000000000000000000000000000000000000000000021e19e0c9bab2400000

Deployed Bytecode

0x60806040526004361061009a5760003560e01c80638da5cb5b11610069578063c3fb90d61161004e578063c3fb90d614610165578063eb2cff321461017a578063ee1ed8231461018f576100a1565b80638da5cb5b1461013b57806397df573e14610150576100a1565b806307059523146100d1578063207d8670146100fc5780637c0b8de2146101115780637d5aa5f414610126576100a1565b366100a157005b6001546001600160a01b03163660008037600080366000845af43d6000803e8080156100cc573d6000f35b3d6000fd5b3480156100dd57600080fd5b506100e66101a4565b6040516100f3919061022b565b60405180910390f35b34801561010857600080fd5b506100e66101b3565b34801561011d57600080fd5b506100e66101c2565b34801561013257600080fd5b506100e66101d1565b34801561014757600080fd5b506100e66101e0565b34801561015c57600080fd5b506100e66101ef565b34801561017157600080fd5b506100e66101fe565b34801561018657600080fd5b506100e661020d565b34801561019b57600080fd5b506100e661021c565b6005546001600160a01b031681565b6001546001600160a01b031681565b6004546001600160a01b031681565b6008546001600160a01b031681565b6003546001600160a01b031681565b6000546001600160a01b031681565b6002546001600160a01b031681565b6006546001600160a01b031681565b6007546001600160a01b031681565b6001600160a01b039190911681526020019056fea26469706673582212209fe4198b9135cd973e7caacf2723d709a2f3090ca22c182354fb180e9e21d21164736f6c634300060c0033

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

000000000000000000000000ddabbffbbfaa1bed070f3a6deb6033f94d8c8f26000000000000000000000000836c3afe6104066da3b2d3c244f66d6698623ba9000000000000000000000000913f2dee2746cda2ab34106c47abc4a8f4e36fa50000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000002791bfd60d232150bff86b39b7146c0eaaa2ba81000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000000000000000000000000001b1ae4d6e2ef50000000000000000000000000000000000000000000000000021e19e0c9bab2400000

-----Decoded View---------------
Arg [0] : implementsAddr (address): 0xDdABBfFBbFaa1bed070f3a6Deb6033f94D8c8F26
Arg [1] : _storageAddr (address): 0x836C3aFe6104066da3b2d3C244f66d6698623ba9
Arg [2] : _bifiManagerAddr (address): 0x913F2DEe2746CdA2ab34106c47aBC4a8f4e36fa5
Arg [3] : _uniswapV2Addr (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [4] : _bifiAddr (address): 0x2791BfD60D232150Bff86b39B7146c0eaAA2BA81
Arg [5] : _wethAddr (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [6] : _fee (uint256): 500000000000000000000
Arg [7] : _discountBase (uint256): 10000000000000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000ddabbffbbfaa1bed070f3a6deb6033f94d8c8f26
Arg [1] : 000000000000000000000000836c3afe6104066da3b2d3c244f66d6698623ba9
Arg [2] : 000000000000000000000000913f2dee2746cda2ab34106c47abc4a8f4e36fa5
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [4] : 0000000000000000000000002791bfd60d232150bff86b39b7146c0eaaa2ba81
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : 00000000000000000000000000000000000000000000001b1ae4d6e2ef500000
Arg [7] : 00000000000000000000000000000000000000000000021e19e0c9bab2400000


Deployed Bytecode Sourcemap

899:1492:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2039:11;;-1:-1:-1;;;;;2039:11:0;2094:14;2024:12;;2075:34;2179:1;2176;2160:14;2157:1;2151:4;2144:5;2131:50;2210:16;2207:1;2204;2189:38;2242:6;2256:38;;;;2322:16;2319:1;2312:27;2256:38;2275:16;2272:1;2265:27;431:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;320:26;;;;;;;;;;;;;:::i;406:18::-;;;;;;;;;;;;;:::i;529:23::-;;;;;;;;;;;;;:::i;381:20::-;;;;;;;;;;;;;:::i;289:26::-;;;;;;;;;;;;;:::i;351:23::-;;;;;;;;;;;;;:::i;466:28::-;;;;;;;;;;;;;:::i;501:23::-;;;;;;;;;;;;;:::i;431:30::-;;;-1:-1:-1;;;;;431:30:0;;:::o;320:26::-;;;-1:-1:-1;;;;;320:26:0;;:::o;406:18::-;;;-1:-1:-1;;;;;406:18:0;;:::o;529:23::-;;;-1:-1:-1;;;;;529:23:0;;:::o;381:20::-;;;-1:-1:-1;;;;;381:20:0;;:::o;289:26::-;;;-1:-1:-1;;;;;289:26:0;;:::o;351:23::-;;;-1:-1:-1;;;;;351:23:0;;:::o;466:28::-;;;-1:-1:-1;;;;;466:28:0;;:::o;501:23::-;;;-1:-1:-1;;;;;501:23:0;;:::o;125:222:-1:-;-1:-1;;;;;514:54;;;;76:37;;252:2;237:18;;223:124::o

Swarm Source

ipfs://9fe4198b9135cd973e7caacf2723d709a2f3090ca22c182354fb180e9e21d211

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.