FractonSwap

Verified contract

Active on Ethereum with 10,651 txns
Deployed by via 0x2cf15fff at 15062546
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $620.21
ERC-20
Value $6.32
ERC-20
Value $4.72
ERC-20
Value $0.31
ERC-20
Value $0
 (#0)
ERC-1555
--
ERC-20
--
ERC-20
--
 (#0)
ERC-1555
--
 (#0)
ERC-1555
--
0xf608c3f1bee60d7e430051eb56848ed3efec42932731549fdb54326187078b7d
0xd8f565ab9f293d72440d4529e93fabd65a31f65109897ef425b3be8e942fd708
0x84fe36c8f4f4ba9995474dc1eea268f7014f74f1213c84ef3de43c4be3397651
0x825b7e1ad94f6bcf8cfec843532fc6d10a3b221a915dcda21985c7a630a14e50
0xfdf05deb83b66dfca04ea244056072e137a737c988a6f10c844fe1927d49cead
0xbfa47e005e361a6c8010dd7ebb294cfbe6d64d4e71d9c980ef50a5f8784ebc46
0x3e1840207d40b4bff27486d82cbb76028ef040fcef0a877ff0e829d35046b774
0x532a60fb4766151d1ff1fb55da9490ac1d34cf6c4ddc35e009fe2bd8a97aa62f
0xbccb2729863c2f4d9a4b135bc3c996f2fb9a29e3a61c74016f7f1371cc5ae55d
0xe0a2fc5005cb015428175652c3d6803b1bed425396687b91cb19063110edce0a

Functions
Getter at block 21159433
callbackGasLimit(view returns (uint32)
1000000
fftTax(view returns (uint256)
3000000000000000000
keyHash(view returns (bytes32)
0x9fe0eebf5e446e3c998ec9bb19951541aee00bb90ea201ae456421a2ded86805
nftTax(view returns (uint256)
3
numWords(view returns (uint32)
1
owner(view returns (address)
0x22a15393ec07b9cb2e80334f085a00b4769c71df
requestConfirmations(view returns (uint16)
3
subscriptionId(view returns (uint64)
204
swapRate(view returns (uint256)
1000000000000000000000
tokenFactory(view returns (address)
0x3aec3113a09627af7c9039954d8592ff0bc20c25
vrfRescuer(view returns (address)
0x87374cd9258dd964390608cc30b4bdc71597e962
Read-only
NFTIds(addressuint256view returns (uint256)
NFTtoMiniNFT(addressview returns (address)
chainLinkRequests(uint256view returns (address senderaddress nft)
miniNFTtoFFT(addressview returns (address)
numberOfNFT(address NFTContractview returns (uint256)
s_randomWords(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
emergencyUpdateVrf(address vrfCoordinator_
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(address operatoraddress fromuint256 tokenIdbytes datareturns (bytes4)
poolClaim(address miniNFTContractuint256 tokenIDreturns (bool)
rawFulfillRandomWords(uint256 requestIduint256[] randomWords
renounceOwnership(
swapFFTtoMiniNFT(address miniNFTContractuint256 miniNFTAmountreturns (bool)
swapMiniNFTtoFFT(address miniNFTContractuint256 tokenIDuint256 amountreturns (bool)
swapMiniNFTtoNFT(address NFTContractreturns (bool)
swapNFTtoMiniNFT(address NFTContractaddress fromOwneruint256 tokenIdreturns (bool)
transferOwnership(address newOwner
updateCallbackGasLimit(uint32 gasLimit_returns (bool)
updateFactory(address factory_returns (bool)
updatePoolRelation(address miniNFTaddress FFTaddress NFTreturns (bool)
updateTax(uint256 fftTax_uint256 nftTax_returns (bool)
updateVrfSubscriptionId(uint64 subscriptionId_returns (bool)
withdrawERC1155(address airdropContractuint256 tokenIduint256 amountreturns (bool)
withdrawERC20(address projectuint256 amountreturns (bool)
withdrawERC721(address airdropContractuint256 tokenIdreturns (bool)
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolClaim(address owneraddress miniNFTcontractuint256 tokenID
SendChainlinkVRF(uint256 requestIdaddress senderaddress NFTContract
SwapFFTtoMiniNFT(address owneraddress miniNFTcontractuint256 miniNFTAmount
SwapMiniNFTtoFFT(address owneraddress miniNFTcontractuint256 tokenIDuint256 miniNFTAmount
SwapMiniNFTtoNFT(address owneraddress NFTContractuint256 NFTID
UpdateFactory(address factory
UpdatePoolRelation(address editoraddress miniNFTaddress FFTaddress NFT
UpdateTax(uint256 fftTaxuint256 nftTax
Constructor
constructor(address vrfCoordinator_address vrfRescuer_bytes32 keyHash_uint64 subscriptionId_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
OnlyCoordinatorCanFulfill(address haveaddress want