0x659e6676d4d3b06805216bab17156d3bf17670a7
Verified contract
Proxy
Active on
Ethereum with 1 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.10)
Native
Value
$0.1
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.000031 | $3,160.67 |
$0.1 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18314063 | a year ago | | | 0 | 0.0070371978 |
ABI
ABI objects
Getter at block 21217723
baseToken() view returns (address)
0x0000000000000000000000000000000000000000
changeFee() view returns (uint56)
125
factory() view returns (address)
0xa16be8d32934a9aab272102ac4bb890481f4074e
feeRate() view returns (uint16)
100
flashFeeAndProtocolFee() view returns (uint256 feeAmount, uint256 protocolFeeAmount)
(feeAmount=12500000000000000, protocolFeeAmount=0)
flashFeeToken() view returns (address)
0x0000000000000000000000000000000000000000
initialized() view returns (bool)
true
merkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
nft() view returns (address)
0x32bb5a147b5371fd901aa4a72b7f82c58a87e36d
payRoyalties() view returns (bool)
false
price() view returns (uint256)
1030645653865917575
royaltyRegistry() view returns (address)
0xad2184fb5dbcfc05d8f056542fb25b04fa32a95d
stolenNftOracle() view returns (address)
0x190eb447e37489975d5de9977bf8ad6c9ae096f3
useStolenNftOracle() view returns (bool)
false
virtualBaseTokenReserves() view returns (uint128)
22412386060650349419
virtualNftReserves() view returns (uint128)
21745966692414832000
Read-only
availableForFlashLoan(address token, uint256 tokenId) view returns (bool)
buyQuote(uint256 outputAmount) view returns (uint256 netInputAmount, uint256 feeAmount, uint256 protocolFeeAmount)
changeFeeQuote(uint256 inputAmount) view returns (uint256 feeAmount, uint256 protocolFeeAmount)
flashFee(address, uint256) view returns (uint256)
sellQuote(uint256 inputAmount) view returns (uint256 netOutputAmount, uint256 feeAmount, uint256 protocolFeeAmount)
sumWeightsAndValidateProof(uint256[] tokenIds, uint256[] tokenWeights, struct PrivatePoolMerkleMultiProof proof) view returns (uint256)
State-modifying
Events buy(uint256[] tokenIds, uint256[] tokenWeights, struct PrivatePoolMerkleMultiProof proof) payable returns (uint256 netInputAmount, uint256 feeAmount, uint256 protocolFeeAmount)
change(uint256[] inputTokenIds, uint256[] inputTokenWeights, struct PrivatePoolMerkleMultiProof inputProof, struct IStolenNftOracleMessage[] stolenNftProofs, uint256[] outputTokenIds, uint256[] outputTokenWeights, struct PrivatePoolMerkleMultiProof outputProof) payable returns (uint256 feeAmount, uint256 protocolFeeAmount)
deposit(uint256[] tokenIds, uint256 baseTokenAmount) payable
execute(address target, bytes data) payable returns (bytes)
flashLoan(address receiver, address token, uint256 tokenId, bytes data) payable returns (bool)
initialize(address _baseToken, address _nft, uint128 _virtualBaseTokenReserves, uint128 _virtualNftReserves, uint56 _changeFee, uint16 _feeRate, bytes32 _merkleRoot, bool _useStolenNftOracle, bool _payRoyalties)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
sell(uint256[] tokenIds, uint256[] tokenWeights, struct PrivatePoolMerkleMultiProof proof, struct IStolenNftOracleMessage[] stolenNftProofs) returns (uint256 netOutputAmount, uint256 feeAmount, uint256 protocolFeeAmount)
setAllParameters(uint128 newVirtualBaseTokenReserves, uint128 newVirtualNftReserves, bytes32 newMerkleRoot, uint16 newFeeRate, bool newUseStolenNftOracle, bool newPayRoyalties, uint56 newChangeFee)
setChangeFee(uint56 _newChangeFee)
setFeeRate(uint16 newFeeRate)
setMerkleRoot(bytes32 newMerkleRoot)
setPayRoyalties(bool newPayRoyalties)
setUseStolenNftOracle(bool newUseStolenNftOracle)
setVirtualReserves(uint128 newVirtualBaseTokenReserves, uint128 newVirtualNftReserves)
withdraw(address _nft, uint256[] tokenIds, address token, uint256 tokenAmount)
Buy(uint256[] tokenIds, uint256[] tokenWeights, uint256 inputAmount, uint256 feeAmount, uint256 protocolFeeAmount, uint256 royaltyFeeAmount)
Change(uint256[] inputTokenIds, uint256[] inputTokenWeights, uint256[] outputTokenIds, uint256[] outputTokenWeights, uint256 feeAmount, uint256 protocolFeeAmount)
Deposit(uint256[] tokenIds, uint256 baseTokenAmount)
Initialize(address indexed baseToken, address indexed nft, uint128 virtualBaseTokenReserves, uint128 virtualNftReserves, uint56 changeFee, uint16 feeRate, bytes32 merkleRoot, bool useStolenNftOracle, bool payRoyalties)
Sell(uint256[] tokenIds, uint256[] tokenWeights, uint256 outputAmount, uint256 feeAmount, uint256 protocolFeeAmount, uint256 royaltyFeeAmount)
SetChangeFee(uint56 changeFee)
SetFeeRate(uint16 feeRate)
SetMerkleRoot(bytes32 merkleRoot)
SetPayRoyalties(bool payRoyalties)
SetUseStolenNftOracle(bool useStolenNftOracle)
SetVirtualReserves(uint128 virtualBaseTokenReserves, uint128 virtualNftReserves)
Withdraw(address indexed nft, uint256[] tokenIds, address token, uint256 amount)
This contract contains no constructor objects.
receive()
AlreadyInitialized()
FeeRateTooHigh()
FlashLoanFailed()
InsufficientInputWeight()
InvalidEthAmount()
InvalidMerkleProof()
InvalidRoyaltyFee()
InvalidTarget()
InvalidTokenWeights()
NotAvailableForFlashLoan()
PrivatePoolNftNotSupported()
Unauthorized()
VirtualReservesNotSet()