ThalesAMM
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
14 additional
variables
Balances ($0.00)
No balances found for "ThalesAMM"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ThalesAMM"
ABI
ABI objects
Getter at block 22326431
capPerMarket() view returns (uint256)
0
curveOnrampEnabled() view returns (bool)
false
curveSUSD() view returns (address)
0x0000000000000000000000000000000000000000
dai() view returns (address)
0x0000000000000000000000000000000000000000
lastPauseTime() view returns (uint256)
0
liquidityPool() view returns (address)
0x0000000000000000000000000000000000000000
manager() view returns (address)
0x0000000000000000000000000000000000000000
maxAllowedPegSlippagePercentage() view returns (uint256)
0
maxSupportedPrice() view returns (uint256)
0
max_spread() view returns (uint256)
0
minSupportedPrice() view returns (uint256)
0
min_spread() view returns (uint256)
0
minimalTimeLeftToMaturity() view returns (uint256)
0
nominatedOwner() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
priceFeed() view returns (address)
0x0000000000000000000000000000000000000000
referrals() view returns (address)
0x0000000000000000000000000000000000000000
referrerFee() view returns (uint256)
0
sUSD() view returns (address)
0x0000000000000000000000000000000000000000
safeBox() view returns (address)
0x0000000000000000000000000000000000000000
safeBoxImpact() view returns (uint256)
0
stakingThales() view returns (address)
0x0000000000000000000000000000000000000000
usdc() view returns (address)
0x0000000000000000000000000000000000000000
usdt() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
availableToBuyFromAMM(address market, uint8 position) view returns (uint256 _available)
availableToSellToAMM(address market, uint8 position) view returns (uint256 _available)
buyFromAmmQuote(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 _priceImpact)
getCapPerAsset(bytes32 asset) view returns (uint256 _cap)
impliedVolatilityPerAsset(bytes32) view returns (uint256)
isMarketInAMMTrading(address market) view returns (bool isTrading)
min_spreadPerAddress(address) view returns (uint256)
price(address market, uint8 position) view returns (uint256 priceToReturn)
safeBoxFeePerAddress(address) view returns (uint256)
sellPriceImpact(address market, uint8 position, uint256 amount) view returns (uint256 _impact)
sellToAmmQuote(address market, uint8 position, uint256 amount) view returns (uint256 _quote)
spentOnMarket(address) view returns (uint256)
whitelistedAddresses(address) view returns (bool)
State-modifying
Events acceptOwnership()
buyFromAMM(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage) returns (uint256)
buyFromAMMWithDifferentCollateralAndReferrer(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage, address collateral, address _referrer) returns (uint256)
buyFromAMMWithReferrer(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage, address _referrer) returns (uint256)
initNonReentrant()
initialize(address _owner, address _priceFeed, address _sUSD, uint256 _capPerMarket, address _deciMath, uint256 _min_spread, uint256 _max_spread, uint256 _minimalTimeLeftToMaturity)
nominateNewOwner(address _owner)
retrieveSUSDAmount(address account, uint256 amount)
sellToAMM(address market, uint8 position, uint256 amount, uint256 expectedPayout, uint256 additionalSlippage) returns (uint256)
setAmmUtils(address _ammUtils)
setCapPerAsset(bytes32 asset, uint256 _cap)
setCurveSUSD(address _curveSUSD, address _dai, address _usdc, address _usdt, bool _curveOnrampEnabled, uint256 _maxAllowedPegSlippagePercentage)
setImpliedVolatilityPerAsset(bytes32 asset, uint256 _impliedVolatility)
setLiquidityPool(address _liquidityPool)
setMinMaxSpread(uint256 _minspread, uint256 _maxspread)
setMinMaxSupportedPriceAndCap(uint256 _minSupportedPrice, uint256 _maxSupportedPrice, uint256 _capPerMarket)
setMinSpreadPerAddress(address _address, uint256 newFee)
setMinimalTimeLeftToMaturity(uint256 _minimalTimeLeftToMaturity)
setOwner(address _owner)
setPaused(bool _paused)
setPositionalMarketManager(address _manager)
setPriceFeedAndSUSD(address _priceFeed, address _sUSD)
setSafeBoxData(address _safeBox, uint256 _safeBoxImpact)
setSafeBoxFeePerAddress(address _address, uint256 newFee)
setStakingThalesAndReferrals(address _stakingThales, address _referrals, uint256 _referrerFee)
setWhitelistedAddress(address _address, bool enabled)
transferOwnershipAtInit(address proxyAddress)
transferTokens(address[] tokens, address account, uint256 amount, bool all)
BoughtFromAmm(address buyer, address market, uint8 position, uint256 amount, uint256 sUSDPaid, address susd, address asset)
BoughtOptionType(address buyer, uint256 sUSDPaid, bool inTheMoney)
BoughtWithDiscount(address buyer, uint256 amount, uint256 sUSDPaid)
OwnerChanged(address oldOwner, address newOwner)
OwnerNominated(address newOwner)
PauseChanged(bool isPaused)
ReferrerPaid(address refferer, address trader, uint256 amount, uint256 volume)
SetCapPerAsset(bytes32 asset, uint256 _cap)
SetImpliedVolatilityPerAsset(bytes32 asset, uint256 _impliedVolatility)
SetMaxSpread(uint256 _spread)
SetMinMaxSupportedPriceCapPerMarket(uint256 minPrice, uint256 maxPrice, uint256 capPerMarket)
SetMinSpread(uint256 _spread)
SetMinimalTimeLeftToMaturity(uint256 _minimalTimeLeftToMaturity)
SetPositionalMarketManager(address _manager)
SetPriceFeed(address _priceFeed)
SetSUSD(address sUSD)
SetSafeBox(address _safeBox)
SetSafeBoxImpact(uint256 _safeBoxImpact)
SoldToAMM(address seller, address market, uint8 position, uint256 amount, uint256 sUSDPaid, address susd, address asset)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.