SpeedMarketsAMM
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
21 additional
variables
Balances ($0.00)
No balances found for "SpeedMarketsAMM"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SpeedMarketsAMM"
ABI
ABI objects
Getter at block 22741759
addressManager() view returns (address)
0x0000000000000000000000000000000000000000
lastPauseTime() view returns (uint256)
0
lpFee() view returns (uint256)
0
maxBuyinAmount() view returns (uint256)
0
maxSkewImpact() view returns (uint256)
0
maximalTimeToMaturity() view returns (uint256)
0
maximumPriceDelay() view returns (uint64)
0
maximumPriceDelayForResolving() view returns (uint64)
0
minBuyinAmount() view returns (uint256)
0
minimalTimeToMaturity() view returns (uint256)
0
multicollateralEnabled() view returns (bool)
false
nominatedOwner() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
sUSD() view returns (address)
0x0000000000000000000000000000000000000000
safeBoxImpact() view returns (uint256)
0
skewSlippage() view returns (uint256)
0
speedMarketMastercopy() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
activeMarkets(uint256 index, uint256 pageSize) view returns (address[])
activeMarketsPerUser(uint256 index, uint256 pageSize, address user) view returns (address[])
assetToPythId(bytes32) view returns (bytes32)
canResolveMarket(address market) view returns (bool)
currentRiskPerAsset(bytes32) view returns (uint256)
currentRiskPerAssetAndDirection(bytes32, uint8) view returns (uint256)
getLengths(address user) view returns (uint256[5])
getParams(bytes32 asset) view returns (struct ISpeedMarketsAMMParams)
lpFees(uint256) view returns (uint256)
marketHasCreatedAtAttribute(address) view returns (bool)
marketHasFeeAttribute(address) view returns (bool)
maturedMarkets(uint256 index, uint256 pageSize) view returns (address[])
maturedMarketsPerUser(uint256 index, uint256 pageSize, address user) view returns (address[])
maxRiskPerAsset(bytes32) view returns (uint256)
maxRiskPerAssetAndDirection(bytes32, uint8) view returns (uint256)
supportedAsset(bytes32) view returns (bool)
timeThresholdsForFees(uint256) view returns (uint256)
whitelistedAddresses(address) view returns (bool)
State-modifying
Events acceptOwnership()
addToWhitelist(address _whitelistAddress, bool _flag)
createNewMarket(struct SpeedMarketsAMMCreateMarketParams _params)
initNonReentrant()
initialize(address _owner, address _sUSD)
nominateNewOwner(address _owner)
resolveMarket(address market, bytes[] priceUpdateData) payable
resolveMarketAsOwner(address _market, int64 _finalPrice)
resolveMarketManually(address _market, int64 _finalPrice)
resolveMarketManuallyBatch(address[] markets, int64[] finalPrices)
resolveMarketWithOfframp(address market, bytes[] priceUpdateData, address collateral, bool toEth) payable
resolveMarketsBatch(address[] markets, bytes[] priceUpdateData) payable
setAMMAddresses(address _mastercopy, address _speedMarketsAMMUtils, address _addressManager)
setAssetToPythID(bytes32 asset, bytes32 pythId)
setLPFeeParams(uint256[] _timeThresholds, uint256[] _lpFees, uint256 _lpFee)
setLimitParams(uint256 _minBuyinAmount, uint256 _maxBuyinAmount, uint256 _minimalTimeToMaturity, uint256 _maximalTimeToMaturity, uint64 _maximumPriceDelay, uint64 _maximumPriceDelayForResolving)
setMaxRisks(bytes32 asset, uint256 _maxRiskPerAsset, uint256 _maxRiskPerAssetAndDirection)
setMultiCollateralOnOffRampEnabled(bool _enabled)
setOwner(address _owner)
setPaused(bool _paused)
setSafeBoxAndMaxSkewImpact(uint256 _safeBoxImpact, uint256 _maxSkewImpact, uint256 _skewSlippage)
setSupportedAsset(bytes32 asset, bool _supported)
transferAmount(address _destination, uint256 _amount)
transferOwnershipAtInit(address proxyAddress)
AMMAddressesChanged(address _mastercopy, address _speedMarketsAMMUtils, address _addressManager)
AddedIntoWhitelist(address _whitelistAddress, bool _flag)
AmountTransfered(address _destination, uint256 _amount)
LimitParamsChanged(uint256 _minBuyinAmount, uint256 _maxBuyinAmount, uint256 _minimalTimeToMaturity, uint256 _maximalTimeToMaturity, uint256 _maximumPriceDelay, uint256 _maximumPriceDelayForResolving)
MarketCreated(address _market, address _user, bytes32 _asset, uint256 _strikeTime, int64 _strikePrice, uint8 _direction, uint256 _buyinAmount)
MarketCreatedWithFees(address _market, address _user, bytes32 _asset, uint256 _strikeTime, int64 _strikePrice, uint8 _direction, uint256 _buyinAmount, uint256 _safeBoxImpact, uint256 _lpFee)
MarketResolved(address _market, uint8 _result, bool _userIsWinner)
MultiCollateralOnOffRampEnabled(bool _enabled)
OwnerChanged(address oldOwner, address newOwner)
OwnerNominated(address newOwner)
PauseChanged(bool isPaused)
ReferrerPaid(address refferer, address trader, uint256 amount, uint256 volume)
SafeBoxAndMaxSkewImpactChanged(uint256 _safeBoxImpact, uint256 _maxSkewImpact, uint256 _skewSlippage)
SetAssetToPythID(bytes32 asset, bytes32 pythId)
SetLPFeeParams(uint256[] _timeThresholds, uint256[] _lpFees, uint256 _lpFee)
SetMaxRisks(bytes32 asset, uint256 _maxRiskPerAsset, uint256 _maxRiskPerAssetAndDirection)
SetSupportedAsset(bytes32 asset, bool _supported)
This contract contains no constructor objects.
receive()
This contract contains no error objects.