VialExchangeV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "VialExchangeV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "VialExchangeV2"
ABI
ABI objects
Getter at block 21184696
DEAD_ADDRESS() view returns (address)
0x000000000000000000000000000000000000dead
getRewardInfo() view returns (address[] _rewardTokens, uint256[] _rewardTokenIds, uint256[] _remainRewardQuantities, uint256[] _totalRewardQuantities, uint256[] _timestampStartClaims, uint256[] _claimDurations)
(_rewardTokens=[], _rewardTokenIds=[], _remainRewardQuantities=[], _totalRewardQuantities=[], _timestampStartClaims=[], _claimDurations=[])
getRewardTokenIds() view returns (uint256[])
[]
getRewardTokenIdsBalance() view returns (address[] tokens, uint256[] tokenIds, uint256[] balances)
(tokens=[], tokenIds=[], balances=[])
getRewardTokenIdsQuantities() view returns (uint256[] tokenIds, uint256[] quantities)
(tokenIds=[], quantities=[])
maxExchange() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
vial() view returns (address)
0x0000000000000000000000000000000000000000
vialTokenId() view returns (uint256)
0
Read-only
claimDurations(uint256) view returns (uint256)
rewardQuantities(uint256) view returns (uint256)
rewardTokenIds(uint256) view returns (uint256)
rewardTokens(uint256) view returns (address)
rewardTotalQuantities(uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
timestampStartClaims(uint256) view returns (uint256)
State-modifying
Events addMoreReward(address _rewardToken, uint256 _rewardTokenId, uint256 _quantity, uint256 _startClaim, uint256 _duration)
changeRewardToken(address[] _rewardTokens, uint256[] _rewardTokenIds, uint256[] _rewardQuantities, uint256[] _timestampStartClaims, uint256[] _claimDurations)
changeVial(address _vial, uint256 _vialTokenId)
exchange(uint256 _vialAmount, uint256 _rewardIndex, address _rewardToken, uint256 _rewardTokenId)
initialize(address _vial, uint256 _vialTokenId, address[] _rewardTokens, uint256[] _rewardTokenIds, uint256[] _rewardQuantities, uint256[] _timestampStartClaims, uint256[] _claimDurations)
onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) returns (bytes4)
onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) returns (bytes4)
pauseExchange()
renounceOwnership()
resumeExchange()
transferOwnership(address newOwner)
updateMaxExchange(uint256 max)
updateRewardClaimTime(uint256 _index, uint256 _start, uint256 _duration)
updateRewardQuantities(uint256 _index, uint256 _newQuantity)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AddMoreReward(address rewardToken, uint256 rewardTokenId, uint256 quantity, uint256 startClaim, uint256 duration)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Exchange(address user, address vial, uint256 vialTokenId, uint256 vialAmount, address rewardToken, uint256 rewardTokenId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
RewardTokenlUpdated(bytes rewardTokens, bytes rewardTokenIds, bytes rewardQuantities, bytes timestampStartClaims, bytes claimDurations, address executor)
StopExchange()
Unpaused(address account)
UpdateRewardClaimTime(uint256 _index, uint256 _start, uint256 _duration)
UpdateRewardQuantities(uint256 _index, uint256 _newQuantity)
Upgraded(address indexed implementation)
VialUpdated(address vial, uint256 vialTokenId, address executor)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.