XY3

Verified contract

Active on Ethereum with 11,939 txns
Deployed by via 0xc3e238c6 at 16523600
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
ERC-20
Value $3.9
ERC-20
Value $0.01
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
 (#313)
ERC-721
--
 (#312)
ERC-721
--
 (#311)
ERC-721
--
 (#238)
ERC-721
--
0x66312a88c5c4b81ba14377aa1bcb0a387a7b616da084be5da9dce2d465af25bf
0xab7e3cd827ca10d56956fa574d6198ba23c3d58bcd5ec375db50fe23706e24b0
0xf7406a29eb78a569f0d1b206fa6f6cb71738b8d594b8af5e5c5e9f1936b1773a
0x51964681e22d8078f1534b267193ba1049523785f5bb3c4a2e01d5255ef0f928
From
0xd0618c7d708ee5170388c18218d7bf96faae1366e756930931615dafde004544
From
0x4ccf456da42969cf2daf9fe3bd446c7c615064ed5f4285b82cf498f927601e1b
From
0x32f45237be3cc6e86b807a06cbf59eec38693784671069aef35479865f2b7b54
0x333c6e1f9fb0d962f97f4639a4a16683f4371532488a8256377eed740eb7eaa6
0xa81664158678b4e0bbe455b99c7fba71d39a5749e1ea2b6203ab383c5a3865ff
0x7f134209f24ea30b781fa23351f96b1b2c10462ec293b3f8e2610c5eb3f49d82

Functions
Getter at block 21259494
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
HUNDRED_PERCENT(view returns (uint16)
10000
adminFeeReceiver(view returns (address)
0x1b4b3465b65fb87f869f8eb880ac28099ef43dee
adminShare(view returns (uint16)
1000
getAddressProvider(view returns (address)
0x21a619115f36de1a71b549e9081022fe84136f65
maxBorrowDuration(view returns (uint256)
31536000
minBorrowDuration(view returns (uint256)
86400
paused(view returns (bool)
true
totalNumLoans(view returns (uint32)
17056
Read-only
getAgentPermit(address _agentbytes4 _selectorview returns (bool)
getERC20Permit(address _erc20view returns (bool)
getERC721Permit(address _erc721view returns (bool)
getInterceptors(uint256 _queueIdaddress nftAssetuint256 tokenIdview returns (address[])
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 nftAssetbool isCollection)
loanIds(addressuint256view returns (uint32)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addInterceptor(uint256 _queueIdaddress _nftAssetuint256 _tokenId
adminClaimErc1155(address _toaddress[] tokensuint256[] tokenIdsuint256[] amounts
adminClaimErc20(address _toaddress[] tokensuint256[] amounts
adminClaimErc721(address _toaddress[] tokensuint256[] tokenIds
borrow(struct Offer _offeruint256 _nftIdbool _isCollectionOfferstruct Signature _lenderSignaturestruct Signature _brokerSignaturestruct CallData _extraDealreturns (uint32)
cancelByNonce(uint256 _nonce
cancelByTimestamp(uint256 _timestamp
deleteInterceptor(uint256 _queueIdaddress _nftAssetuint256 _tokenId
flashExecute(uint32 _loanIdaddress _targetbytes4 _selectorbytes _data
grantRole(bytes32 roleaddress account
liquidate(uint32 _loanId
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
pause(
purgeInterceptor(uint256 _queueIdaddress nftAssetuint256[] tokenIdsaddress interceptor
renounceRole(bytes32 roleaddress account
repay(address _senderbytes _param
repay(uint32 _loanId
revokeRole(bytes32 roleaddress account
setAgentPermits(address[] _agentsbytes4[] _selectorsbool[] _permits
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
AgentPermit(address indexed agentbytes4 selectorbool isPermitted
BorrowRefferal(uint32 indexed loanIdaddress indexed borroweruint256 referral
ERC20Approve(address indexed useraddress indexed erc20Contractuint256 amount
ERC20Permit(address indexed erc20Contractbool isPermitted
ERC721Approve(address indexed useraddress indexed erc721Contractbool isPermitted
ERC721Permit(address indexed erc721Contractbool isPermitted
ExecuteInterceptor(uint256 indexed queueIdaddress indexed nftAssetuint256 tokenIdaddress interceptorbool before
FlashExecute(uint32 indexed loanIdaddress nftuint256 nftTokenIdaddress flashTarget
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 loanDetailaddress targetbytes4 selector
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
ServiceFee(uint32 indexed loanIdaddress indexed targetuint16 serviceFeeRateuint256 feeAmount
TimeStampCancelled(address lenderuint256 timestamp
Unpaused(address account
UpdageInterceptor(uint256 indexed queueIdaddress indexed nftAssetuint256 tokenIdaddress interceptorbool add
UpdateStatus(uint32 indexed loanIduint64 indexed xy3NftIduint8 newStatus
Constructor
constructor(address _adminaddress _addressProvider
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.