VialExchangeV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x5a3662b1 at 14749756
Slot
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

No balances found for "VialExchangeV2"

No transactions found for "VialExchangeV2"


Functions
Getter at block 21184696
DEAD_ADDRESS(view returns (address)
0x000000000000000000000000000000000000dead
getRewardInfo(view returns (address[] _rewardTokensuint256[] _rewardTokenIdsuint256[] _remainRewardQuantitiesuint256[] _totalRewardQuantitiesuint256[] _timestampStartClaimsuint256[] _claimDurations)
(_rewardTokens=[], _rewardTokenIds=[], _remainRewardQuantities=[], _totalRewardQuantities=[], _timestampStartClaims=[], _claimDurations=[])
getRewardTokenIds(view returns (uint256[])
[]
getRewardTokenIdsBalance(view returns (address[] tokensuint256[] tokenIdsuint256[] balances)
(tokens=[], tokenIds=[], balances=[])
getRewardTokenIdsQuantities(view returns (uint256[] tokenIdsuint256[] 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(uint256view returns (uint256)
rewardQuantities(uint256view returns (uint256)
rewardTokenIds(uint256view returns (uint256)
rewardTokens(uint256view returns (address)
rewardTotalQuantities(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
timestampStartClaims(uint256view returns (uint256)
State-modifying
addMoreReward(address _rewardTokenuint256 _rewardTokenIduint256 _quantityuint256 _startClaimuint256 _duration
changeRewardToken(address[] _rewardTokensuint256[] _rewardTokenIdsuint256[] _rewardQuantitiesuint256[] _timestampStartClaimsuint256[] _claimDurations
changeVial(address _vialuint256 _vialTokenId
exchange(uint256 _vialAmountuint256 _rewardIndexaddress _rewardTokenuint256 _rewardTokenId
initialize(address _vialuint256 _vialTokenIdaddress[] _rewardTokensuint256[] _rewardTokenIdsuint256[] _rewardQuantitiesuint256[] _timestampStartClaimsuint256[] _claimDurations
onERC1155BatchReceived(address operatoraddress fromuint256[] idsuint256[] valuesbytes datareturns (bytes4)
onERC1155Received(address operatoraddress fromuint256 iduint256 valuebytes datareturns (bytes4)
pauseExchange(
renounceOwnership(
resumeExchange(
transferOwnership(address newOwner
updateMaxExchange(uint256 max
updateRewardClaimTime(uint256 _indexuint256 _startuint256 _duration
updateRewardQuantities(uint256 _indexuint256 _newQuantity
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AddMoreReward(address rewardTokenuint256 rewardTokenIduint256 quantityuint256 startClaimuint256 duration
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Exchange(address useraddress vialuint256 vialTokenIduint256 vialAmountaddress rewardTokenuint256 rewardTokenId
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RewardTokenlUpdated(bytes rewardTokensbytes rewardTokenIdsbytes rewardQuantitiesbytes timestampStartClaimsbytes claimDurationsaddress executor
StopExchange(
Unpaused(address account
UpdateRewardClaimTime(uint256 _indexuint256 _startuint256 _duration
UpdateRewardQuantities(uint256 _indexuint256 _newQuantity
Upgraded(address indexed implementation
VialUpdated(address vialuint256 vialTokenIdaddress executor
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.