SportsAMM
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
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
27 additional
variables
Balances ($0.00)
No balances found for "SportsAMM"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SportsAMM"
ABI
ABI objects
Getter at block 22923677
TAG_NUMBER_PLAYERS() view returns (uint256)
10010
liquidityPool() view returns (address)
0x0000000000000000000000000000000000000000
manager() view returns (address)
0x0000000000000000000000000000000000000000
maxSupportedOdds() view returns (uint256)
0
max_spread() view returns (uint256)
0
minSupportedOdds() view returns (uint256)
0
min_spread() view returns (uint256)
0
minimalTimeLeftToMaturity() view returns (uint256)
0
multiCollateralOnOffRamp() view returns (address)
0x0000000000000000000000000000000000000000
multicollateralEnabled() view returns (bool)
false
nominatedOwner() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
parlayAMM() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
referrals() view returns (address)
0x0000000000000000000000000000000000000000
riskManager() view returns (address)
0x0000000000000000000000000000000000000000
sUSD() view returns (address)
0x0000000000000000000000000000000000000000
safeBox() view returns (address)
0x0000000000000000000000000000000000000000
safeBoxImpact() view returns (uint256)
0
sportAmmUtils() view returns (address)
0x0000000000000000000000000000000000000000
stakingThales() view returns (address)
0x0000000000000000000000000000000000000000
theRundownConsumer() view returns (address)
0x0000000000000000000000000000000000000000
thresholdForOddsUpdate() view returns (uint256)
0
wrapper() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
availableToBuyFromAMM(address market, uint8 position) view returns (uint256 _available)
availableToBuyFromAMMWithBaseOdds(address market, uint8 position, uint256 baseOdds, uint256 balance, bool useBalance) view returns (uint256 availableAmount)
buyFromAmmQuote(address market, uint8 position, uint256 amount) view returns (uint256 _quote)
buyFromAmmQuoteForParlayAMM(address market, uint8 position, uint256 amount) view returns (uint256 _quote)
buyFromAmmQuoteWithDifferentCollateral(address market, uint8 position, uint256 amount, address collateral) view returns (uint256 collateralQuote, uint256 sUSDToPay)
buyPriceImpact(address market, uint8 position, uint256 amount) view returns (int256 impact)
floorBaseOdds(uint256 baseOdds, address market) view returns (uint256)
getMarketDefaultOdds(address _market, bool isSell) view returns (uint256[] odds)
isMarketInAMMTrading(address market) view returns (bool isTrading)
min_spreadPerAddress(address) view returns (uint256)
obtainOdds(address _market, uint8 _position) view returns (uint256 oddsToReturn)
safeBoxFeePerAddress(address) view returns (uint256)
spentOnGame(address) view returns (uint256)
State-modifying
Events acceptOwnership()
buyFromAMM(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage)
buyFromAMMWithDifferentCollateral(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage, address collateral)
buyFromAMMWithDifferentCollateralAndReferrer(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage, address collateral, address _referrer)
buyFromAMMWithEthAndReferrer(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage, address collateral, address _referrer) payable
buyFromAMMWithReferrer(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage, address _referrer)
exerciseWithOfframp(address market, address collateral, bool toEth)
initNonReentrant()
initialize(address _owner, address _sUSD, uint256 _min_spread, uint256 _max_spread, uint256 _minimalTimeLeftToMaturity)
nominateNewOwner(address _owner)
setAddresses(address _safeBox, address _sUSD, address _theRundownConsumer, address _stakingThales, address _referrals, address _parlayAMM, address _wrapper, address _lp, address _riskManager)
setAmmUtils(address _ammUtils)
setMultiCollateralOnOffRamp(address _onramper, bool enabled)
setOwner(address _owner)
setParameters(uint256 _minimalTimeLeftToMaturity, uint256 _minSpread, uint256 _maxSpread, uint256 _minSupportedOdds, uint256 _maxSupportedOdds, uint256 _safeBoxImpact, uint256 _referrerFee, uint256 _threshold)
setPaused(bool _setPausing)
setSafeBoxFeeAndMinSpreadPerAddress(address _address, uint256 newSBFee, uint256 newMSFee)
setSportsPositionalMarketManager(address _manager)
transferOwnershipAtInit(address proxyAddress)
updateParlayVolume(address _account, uint256 _amount)
AddressesUpdated(address _safeBox, address _sUSD, address _theRundownConsumer, address _stakingThales, address _referrals, address _parlayAMM, address _wrapper, address _lp, address _riskManager)
BoughtFromAmm(address buyer, address market, uint8 position, uint256 amount, uint256 sUSDPaid, address susd, address asset)
ExercisedWithOfframp(address user, address market, address collateral, bool toEth, uint256 payout, uint256 payoutInCollateral)
OwnerChanged(address oldOwner, address newOwner)
OwnerNominated(address newOwner)
ParametersUpdated(uint256 _minimalTimeLeftToMaturity, uint256 _minSpread, uint256 _maxSpread, uint256 _minSupportedOdds, uint256 _maxSupportedOdds, uint256 _safeBoxImpact, uint256 _referrerFee, uint256 threshold)
Paused(address account)
ReferrerPaid(address refferer, address trader, uint256 amount, uint256 volume)
SetMultiCollateralOnOffRamp(address _onramper, bool enabled)
SetSportsPositionalMarketManager(address _manager)
Unpaused(address account)
This contract contains no constructor objects.
receive()
This contract contains no error objects.