XY3

Verified contract

Active on Ethereum with 10,070 txns
Deployed by via 0xb764c63e at 15636943
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $3.81
ERC-20
Value $0.04
ERC-20
--
 (#4683)
ERC-721
--
 (#4679)
ERC-721
--
 (#197)
ERC-721
--
 (#5307)
ERC-721
--
 (#14)
ERC-1555
--
 (#16)
ERC-1555
--
 (#145)
ERC-1555
--
0xe0b73f32f4f7dd0014cc6b01766e324a369a5cd7d8d04e3bf861c42c574d6d74
0xc23b3db820f42babe99b20f8039f7e6177b1e9a45a9690acc6f241fc25cc61c9
From
0xc0f6d0e1a3d4f872f2cc7f5830e9f48768d004238e965ed08d9f9f918119fc6c
From
0xf1e73ab6554a7f5ab644b222ff00003a91e5093619a0f1d72dd2f63cb2a12c76
0x9cecf72b240e200c347a70c640f4f5b9ef13b9564c0e9026a1e65eb4e6a8a8f6
0xe817bbb2d9693d01f98d10bc2843e0136ff1e9d81d0fabf4f4406bb490228189
0xb21966dae79b060212bac08b6dbee431ed2db974da4f845fdea862819fb9146d
0xde2b69ed6de0524a69e2dd1ba002ee158f27c09e7936cb0be3d2d08e5516858a
0x3dc810201b8ea12c6c0ba08d26b6f1246ca7026117329b93f9a3ce94d3864ca3
0x279abef05dddfbcf59ffe07ed6cda363d150f57484570c80818eed2086fa2c40

Functions
Getter at block 20878383
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
HUNDRED_PERCENT(view returns (uint16)
10000
MANAGER_ROLE(view returns (bytes32)
0xaf290d8680820aad922855f39b306097b20e28774d6c1ad35a20325630c3a02c
SIGNER_ROLE(view returns (bytes32)
0x2aeb38be3df14d720aeb10a2de6df09b0fb3cd5c5ec256283a22d4593110ca40
adminFeeReceiver(view returns (address)
0x1b4b3465b65fb87f869f8eb880ac28099ef43dee
adminShare(view returns (uint16)
0
delegate(view returns (address)
0xef887e8b1c06209f59e8ae55d0e625c937344376
maxBorrowDuration(view returns (uint256)
31536000
minBorrowDuration(view returns (uint256)
86400
paused(view returns (bool)
true
ticketToken(view returns (address)
0x0e258c84df0f8728ae4a6426ea5fd163eb6b9d1b
totalNumLoans(view returns (uint32)
4854
Read-only
getERC20Permit(address _erc20view returns (bool)
getERC721Permit(address _erc721view returns (bool)
getLoanState(uint32 _loanIdview returns (struct ILoanStatusLoanState)
getNonceUsed(address _useruint256 _nonceview returns (bool)
getRepayAmount(uint32 _loanIdview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTimestampCancelled(address _userview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
loanDetails(uint32view returns (uint256 borrowAmountuint256 repayAmountuint256 nftTokenIdaddress borrowAssetuint32 loanDurationuint16 adminShareuint64 loanStartaddress nftAssetaddress borrowerbool isCollection)
supportsInterface(bytes4 _interfaceIdview returns (bool)
State-modifying
borrow(struct Offer _offeruint256 _nftIdbool _isCollectionOfferstruct Signature _lenderSignaturestruct Signature _brokerSignature
cancelByNonce(uint256 _nonce
cancelByTimestamp(uint256 _timestamp
grantRole(bytes32 roleaddress account
liquidate(uint32 _loanId
onERC721Received(addressaddressuint256bytesreturns (bytes4)
pause(
renounceRole(bytes32 roleaddress account
repay(uint32 _loanId
revokeRole(bytes32 roleaddress account
setERC20Permits(address[] _erc20sbool[] _permits
setERC721Permits(address[] _erc721sbool[] _permits
unpause(
updateAdminFeeReceiver(address _newAdminFeeReceiver
updateAdminShare(uint16 _newAdminShare
updateMaxBorrowDuration(uint256 _newMaxBorrowDuration
updateMinBorrowDuration(uint256 _newMinBorrowDuration
Events
AdminFeeReceiverUpdated(address arg0
AdminFeeUpdated(uint16 newAdminFee
ERC20Permit(address indexed erc20Contractbool isPermitted
ERC721Permit(address indexed erc721Contractbool isPermitted
LoanLiquidated(uint32 indexed loanIdaddress indexed borroweraddress indexed lenderuint256 borrowAmountuint256 nftTokenIduint256 loanMaturityDateuint256 loanLiquidationDateaddress nftAsset
LoanRepaid(uint32 indexed loanIdaddress indexed borroweraddress indexed lenderuint256 borrowAmountuint256 nftTokenIduint256 repayAmountuint256 adminFeeaddress nftAssetaddress borrowAsset
LoanStarted(uint32 indexed loanIdaddress indexed borroweraddress indexed lenderuint256 noncestruct LoanDetail loanDetail
MaxBorrowDurationUpdated(uint256 newMaxBorrowDuration
MinBorrowDurationUpdated(uint256 newMinBorrowDuration
NonceCancelled(address lenderuint256 nonce
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TimeStampCancelled(address lenderuint256 timestamp
Unpaused(address account
UpdateStatus(uint32 indexed loanIduint64 indexed xy3NftIduint8 newStatus
Constructor
constructor(address _adminaddress _ticketTokenaddress _delegate
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.