XDEFI Badges
Verified contract
Active on
Ethereum with 8,164 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($670,041.64)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
XDEFI | ERC-20 | 10.845608M | $0.06178 |
$670,041.64 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21238558 | 8 days ago | | | 0 | 0.0017737081 | |
| 21233639 | 8 days ago | | | 0 | 0.00045318921 | |
| 21223940 | 10 days ago | | | 0 | 0.0012997900 | |
| 21223930 | 10 days ago | | | 0 | 0.0013682000 | |
| 21223922 | 10 days ago | | | 0 | 0.0016979415 | |
| 21220716 | 10 days ago | | | 0 | 0.00091922715 | |
| 21211328 | 11 days ago | | | 0 | 0.00073084244 | |
| 21177024 | 16 days ago | | | 0 | 0.0018700022 | |
| 21108850 | a month ago | | | 0 | 0.00046871830 | |
| 21107623 | a month ago | | | 0 | 0.0012337274 |
ABI
ABI objects
Getter at block 21292472
DOMAIN_SEPARATOR() view returns (bytes32)
0x5e45f0ffc5dd07026136d7ab4929cc6765dd281e0a5a02560cff3c5913411960
MINIMUM_UNITS() view returns (uint256)
1000000000000000000
baseURI() view returns (string)
https://staking-api.xdefi.io/
contractURI() view returns (string contractURI_)
https://staking-api.xdefi.io/info
distributableXDEFI() view returns (uint256)
2799756626038681850934392
inEmergencyMode() view returns (bool)
true
name() view returns (string)
XDEFI Badges
owner() view returns (address)
0x11998af21307e9561cf8c131f8fb9be754615d3f
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
symbol() view returns (string)
bXDEFI
totalDepositedXDEFI() view returns (uint256)
8045850953733029052457980
totalSupply() view returns (uint256)
2868
totalUnits() view returns (uint256)
15572198193214283952060206
xdefi() view returns (address)
0x72b886d09c117654ab7da13a14d603001de0b777
Read-only
attributesOf(uint256 tokenId_) view returns (uint256 tier_, uint256 credits_, uint256 withdrawable_, uint256 expiry_)
balanceOf(address owner) view returns (uint256)
bonusMultiplierOf(uint256) view returns (uint256)
consumePermitNonce(uint256) view returns (uint256)
creditsOf(uint256) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getBonusMultiplierOf(uint256 tokenId_) view returns (uint256 bonusMultiplier_)
getCredits(uint256 amount_, uint256 duration_) pure returns (uint256 credits_)
getTier(uint256 credits_) pure returns (uint256 tier_)
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
positionOf(uint256 tokenId_) view returns (struct IXDEFIDistributionPosition position_)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 index) view returns (uint256)
tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)
tokenURI(uint256 tokenId_) view returns (string tokenURI_)
withdrawableOf(uint256 tokenId_) view returns (uint256 withdrawableXDEFI_)
State-modifying
Events acceptOwnership()
activateEmergencyMode()
approve(address to, uint256 tokenId)
consume(uint256 tokenId_, uint256 amount_) returns (uint256 remainingCredits_)
consumeWithPermit(uint256 tokenId_, uint256 amount_, uint256 limit_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns (uint256 remainingCredits_)
emergencyUnlock(uint256 tokenId_, address destination_) returns (uint256 amountUnlocked_)
lock(uint256 amount_, uint256 duration_, uint256 bonusMultiplier_, address destination_) returns (uint256 tokenId_)
lockWithPermit(uint256 amount_, uint256 duration_, uint256 bonusMultiplier_, address destination_, uint256 deadline_, uint8 v_, bytes32 r_, bytes32 s_) returns (uint256 tokenId_)
merge(uint256[] tokenIds_) returns (uint256 tokenId_, uint256 credits_)
proposeOwnership(address newOwner_)
relock(uint256 tokenId_, uint256 lockAmount_, uint256 duration_, uint256 bonusMultiplier_, address destination_) returns (uint256 amountUnlocked_, uint256 newTokenId_)
relockBatch(uint256[] tokenIds_, uint256 lockAmount_, uint256 duration_, uint256 bonusMultiplier_, address destination_) returns (uint256 amountUnlocked_, uint256 newTokenId_)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)
setApprovalForAll(address operator, bool approved)
setBaseURI(string baseURI_)
setLockPeriods(uint256[] durations_, uint256[] multipliers_)
transferFrom(address from, address to, uint256 tokenId)
unlock(uint256 tokenId_, address destination_) returns (uint256 amountUnlocked_)
unlockBatch(uint256[] tokenIds_, address destination_) returns (uint256 amountUnlocked_)
updateDistribution()
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BaseURISet(string baseURI)
CreditsConsumed(uint256 indexed tokenId, address indexed consumer, uint256 amount)
DistributionUpdated(address indexed caller, uint256 amount)
EmergencyModeActivated()
LockPeriodSet(uint256 indexed duration, uint256 indexed bonusMultiplier)
LockPositionCreated(uint256 indexed tokenId, address indexed owner, uint256 amount, uint256 indexed duration)
LockPositionWithdrawn(uint256 indexed tokenId, address indexed owner, uint256 amount)
OwnershipAccepted(address indexed previousOwner, address indexed owner)
OwnershipProposed(address indexed owner, address indexed pendingOwner)
TokensMerged(uint256[] mergedTokenIds, uint256 tokenId, uint256 credits)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
constructor(address xdefi_, string baseURI_)
This contract contains no fallback and receive objects.
BeyondConsumeLimit()
CannotUnlock()
ConsumePermitExpired()
EmptyArray()
IncorrectBonusMultiplier()
InsufficientAmountUnlocked()
InsufficientCredits()
InvalidConsumePermit()
InvalidDuration()
InvalidMultiplier()
InvalidToken()
LockResultsInTooFewUnits()
LockingIsDisabled()
MustMergeMultiple()
NoReentering()
NoUnitSupply()
NotApprovedOrOwnerOfToken()
NotInEmergencyMode()
PositionAlreadyUnlocked()
PositionStillLocked()
TokenDoesNotExist()
Unauthorized()