SafeSwap

Verified contract

Active on Ethereum with 83 txns
Deployed by via 0x5709bdf6 at 12878592
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $13.46
0x8e0e27606f76fa37c1529ec016f06145911e0106707248d4e1ab3170369b03dc
0x703de1bf1b498eaf872235fddb23a711c9d795bfe75906ed37ed98b9daff2c68
0x00126ea582f14d82bfc0bbe44ebbaecce413f8b6b3bb798393831f1b378441d2
0xf4b5b5e0fe1fe220ad068fca1d8e3e4429c73090d46f104e35829cfa7fefa6b3
0x4ed2627a123f5db073ac0702e38d7dada4881899b07a61f24b3ef89c9a57f893
0x33acb0e150a55f9af3fee5072ead8a5f876034145c9f5452aab7a864bcaa4644
0x69bcba4ac634ff95022763c8b7e74b8e7269126979b5ef783e24a9f14126e61b
0x5459751d9428c634a2a87e35efb5b86c4390083c3c9626113407f96537e2fb31
0x5f5e71645f3a6dc0d88797dba0c5214f87a826f0560f5893ce34544bfedc68e7
0x428655f2f1615c1642a9b5c92178cecbb839abcda724931220dfb74277edd85d

Functions
Getter at block 20881398
ACTIVATOR_ROLE(view returns (bytes32)
0xec5aad7bdface20c35bc02d6d2d5760df981277427368525d634f4e2603ea192
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
HIDDEN_ERC721_SWAP_TYPEHASH(view returns (bytes32)
0x22eb06b067ef6305a65d8334d41817cd2fb49f43ee331996ed20687c8152e5ed
HIDDEN_SWAP_TYPEHASH(view returns (bytes32)
0x0f11af065228fe4d4a82a264c46914620a3a99413bfee68f390bd6a3ba05e2c2
NAME(view returns (string)
Kirobo Safe Swap
VERSION(view returns (string)
1
VERSION_NUMBER(view returns (uint8)
1
totalFees(view returns (uint256)
4000000000000000
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
State-modifying
autoRetrieve(address fromaddress toaddress token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHash
autoRetrieveERC721(address fromaddress tostruct SafeSwapSwapERC721Info info
deposit(address toaddress token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHashpayable 
depositERC721(address toaddress token0uint256 value0bytes tokenData0uint256 fees0address token1uint256 value1bytes tokenData1uint256 fees1bytes32 secretHashpayable 
grantRole(bytes32 roleaddress account
hiddenAutoRetrieve(address frombytes32 id1uint256 value
hiddenDeposit(bytes32 id1payable 
hiddenRetrieve(bytes32 id1uint256 value
hiddenSwap(address fromstruct SafeSwapSwapInfo infobytes secretpayable 
hiddenSwapERC721(address fromstruct SafeSwapSwapERC721Info infobytes secretpayable 
hiddenTimedDeposit(bytes32 id1uint64 availableAtuint64 expiresAtuint128 autoRetrieveFeespayable 
renounceRole(bytes32 roleaddress account
retrieve(address toaddress token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHash
retrieveERC721(address tostruct SafeSwapSwapERC721Info info
revokeRole(bytes32 roleaddress account
swap(address fromaddress token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHashbytes secretpayable 
swapERC721(address fromstruct SafeSwapSwapERC721Info infobytes secretpayable 
timedDeposit(address toaddress token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHashuint64 availableAtuint64 expiresAtuint128 autoRetrieveFeespayable 
timedDepositERC721(address tostruct SafeSwapSwapERC721Info infouint64 availableAtuint64 expiresAtuint128 autoRetrieveFeespayable 
transferERC20(address tokenaddress walletuint256 value
transferERC721(address tokenaddress walletuint256 tokenIdbytes data
transferFees(address walletuint256 value
Events
Deposited(address indexed fromaddress indexed toaddress indexed token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHash
ERC721Deposited(address indexed fromaddress indexed toaddress indexed token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHash
ERC721Retrieved(address indexed tokenaddress indexed fromaddress indexed tobytes32 iduint256 tokenId
ERC721Swapped(address indexed fromaddress indexed toaddress indexed token0uint256 value0address token1uint256 value1bytes32 id
ERC721TimedDeposited(address indexed fromaddress indexed toaddress indexed token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHashuint64 availableAtuint64 expiresAtuint128 autoRetrieveFees
HDeposited(address indexed fromuint256 valuebytes32 indexed id1
HERC721Swapped(address indexed fromaddress indexed tobytes32 indexed id1address token0uint256 value0address token1uint256 value1
HRetrieved(address indexed frombytes32 indexed id1uint256 value
HSwapped(address indexed fromaddress indexed tobytes32 indexed id1address token0uint256 value0address token1uint256 value1
HTimedDeposited(address indexed fromuint256 valuebytes32 indexed id1uint64 availableAtuint64 expiresAtuint128 autoRetrieveFees
Retrieved(address indexed fromaddress indexed tobytes32 indexed iduint256 value
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Swapped(address indexed fromaddress indexed tobytes32 indexed idaddress token0uint256 value0address token1uint256 value1
TimedDeposited(address indexed fromaddress indexed toaddress indexed token0uint256 value0uint256 fees0address token1uint256 value1uint256 fees1bytes32 secretHashuint64 availableAtuint64 expiresAtuint128 autoRetrieveFees
Constructor
constructor(address activator
Fallback and receive
receive(
Errors

This contract contains no error objects.