NFT SwapRelay

Verified contract

Active on Ethereum with 526 txns
Deployed by via 0x7ce905c7 at 14489420
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
 (#2995)
ERC-721
--
0x58259dd9ba6755ea61a6a7044790f97658539d8fd0130824b7cde79ba0688f03
0x859413acbdc542e6bede8d44ff60ca220c882b8a8406c03cfe3974a237d0281c
0x7841cbfc7dfdaa6a98b243497031605a28408acc4c84d56f40d64c29fc93faf7
0x5b3d8d5190827602e7cddffc674e849e1ffbb8547631b5eab4e13632925fd3e5
0x4658a3c776da9c3733e3cd99f99c1966e784f469a8975c5bb1c7a8167441ef08
0xe8009b66c41a8484e6a42a41665ae7b36877953fdf5c82e1165693c1e531b8c4
0x4a8f000dd943d064c67ec259c4bd8354066e667150812f2487b6ad59d40ec180
0xbff18cf5231e772a14fd85ea28782fe28477dc3700c82386ea6db99d98fd6844
0x1a639ac3f875f767be6bd9c93ed272bbcbe050b6c66c962b028af2d9045a03f6
0x26ea695c8ba17d178abe66314e5be0ff0f0e701de89782acbab5067fbb217611

Functions
Getter at block 21319899
ADMIN(view returns (uint8)
1
SWAPPERS(view returns (uint8)
7
bwtype(view returns (uint256)
34
bwver(view returns (uint256)
88
name(view returns (string)
NFT SwapRelay
swapNonce(view returns (uint256)
391
swappersNeeded(view returns (uint256)
1
Read-only
isAdmin(address accountview returns (bool)
isSwapper(address accountview returns (bool)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
swapDone(bytes32view returns (bool)
swapRelayers(bytes32 swapIdview returns (address[])
swapsDone(bytes32[] swapIdsview returns (bool[])
State-modifying
addAdmin(address account
addSwapper(address account
removeAdmin(address account
removeSwapper(address account
setSwappersNeeded(uint256 count
swapFromChain(address relayContractuint256 fromChainIduint256 sourceSwapNonceaddress sourceTokenContractaddress tokenContractaddress fromaddress tobytes32 swapIduint256[] tokenIds
swapToChain(address tokenContractuint256 toChainIdaddress touint256[] tokenIds
withdraw(
withdrawTokens(address token
Events
AddedToGroup(uint8 indexed groupIdaddress indexed account
RemovedFromGroup(uint8 indexed groupIdaddress indexed account
Swap(bytes32 indexed swapIdaddress indexed swapperuint256 indexed count
SwapFromChain(address tokenContractaddress indexed fromaddress indexed tobytes32 indexed swapIduint256 fromChainIduint256[] tokenIds
SwapToChain(uint256 toChainIduint256 swapNonceaddress tokenContractaddress indexed fromaddress indexed tobytes32 indexed swapIduint256[] tokenIds
SwappersNeededUpdate(uint256 indexed count
Constructor
constructor(uint256 _swappersNeeded
Fallback and receive

This contract contains no fallback and receive objects.

Errors
SwapIdMismatch(