FractonSwap

Verified contract

Active on Ethereum with 10,669 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 $437.25
ERC-20
Value $4.55
ERC-20
Value $4.46
ERC-20
Value $0.19
ERC-20
Value $0
 (#0)
ERC-1555
--
ERC-20
--
ERC-20
--
 (#0)
ERC-1555
--
 (#0)
ERC-1555
--
0xe27ff32da839b8bb4a66fb647988b88a51f5df6cf0a6945b53be349c208be61d
0xc9405c480bb2cac36a2330cef871d03eecd19f1b5c1dedbcb0752a15030cac41
0x015a2fd4c990187c9443b1492950d22febf5c28148fa21cdf4ad232d0a238130
0x28fd98c44581ff3c415f129904b54d3a6ed9cefcd7264d9f24836dad1f7f2c29
0x5d05b1763725863d4d98a752a983aeeedce8a6b9f82ba136a137c48d82b05590
0x3097c1f3637c42da01e19cc59ad1b79289d153991be9efe164aef665ffc6caf3
0x0c2aa7d41c74279d10ffc36ef8b85288df308cf0d81cc2b52e680106f60eeb6b
0xf73914d7716db954550d78f1c161572d9270ad1dfbe573d0ae23e80c8848c791
0x2b65c3de24712de8774b0702463b37db225a3bdea292a48b0f859597865cbb72
0xf8495739ea38b9ca9047be397b4fa87c113807a466a9a68ef8ab30bd8d09920b

Functions
Getter at block 21260416
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