ReferralController
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
1
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
Balances ($0.00)
No balances found for "ReferralController"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ReferralController"
ABI
ABI objects
Getter at block 22934529
MIN_EPOCH_DURATION() view returns (uint256)
86400
currentEpoch() view returns (uint256)
0
distributor() view returns (address)
0x0000000000000000000000000000000000000000
enableNextEpoch() view returns (bool)
false
epochDuration() view returns (uint256)
0
getNextEpoch() view returns (uint256 _nextEpochTimestamp)
0
lastEpochTimestamp() view returns (uint256)
0
oracle() view returns (address)
0x0000000000000000000000000000000000000000
orderHook() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
poolHook() view returns (address)
0x0000000000000000000000000000000000000000
referralRegistry() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
epochs(uint256 epoch) view returns (uint64 startTime, uint64 endTime, uint128 xenTWAP, uint256 totalFee)
users(uint256 epoch, address user) view returns (uint256 fee)
State-modifying
Events initialize(address _oracle, address _registry, uint256 _epochDuration)
nextEpoch()
renounceOwnership()
setDistributor(address _distributor)
setEnableNextEpoch(bool _enable)
setEpochDuration(uint256 _epochDuration)
setOracle(address _oracle)
setOrderHook(address _orderHook)
setPoolHook(address _poolHook)
setReferrer(address _referrer)
setReferrer(address _trader, address _referrer)
start(uint256 _startTime)
transferOwnership(address newOwner)
updateFee(address _trader, uint256 _fee)
DistributorSet(address indexed distributor)
EnableNextEpochSet(bool enable)
EpochDurationSet(uint256 epochDuration)
EpochEnded(uint256 indexed epoch)
EpochStarted(uint256 indexed epoch, uint64 startTime)
Initialized(uint8 version)
OracleSet(address indexed updater)
OrderHookSet(address orderHook)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolHookSet(address indexed poolHook)
TradingFeeUpdated(uint256 indexed epoch, address indexed trader, uint256 fee)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.