SAM

Verified contract

Active on Ethereum with 2,897 txns
Deployed by via 0xbf446ccf at 16902669
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $48,229.15
0xcf0c09ea2277b9dc0e10209f833a47a24a6a95a806d45cf6e901516ed8e4c8a8
0xf7e2ad4cb75ae45c95cd943d0dee82f50ac512de196457d81016f19635afa256
0x60d0a5feef897d853bf3c59ce940161474d6ee78c8eb36163dd19b79dcf2df6f
0x8fca4b2a392276e67f56675b4049fbdb5d894805c3893b7f9d690e35a017d578
0x296b0ab3bf9e2e1c10b0e11c2b9e807996f0f1e6ea409318a679d7245301253d
0xa37f38f2852f165d304ca05850baea76024697568f55803a7aa87244630caf3d
0xec20f95dba83ddc0f896a47a09b739be480f9f10a53f604a0b6647baa130a561
0xa74890984059d6c86cad45bb6bc0cd74d787b5bda02ccc54b3526a7a00af8337
0xed9f5ba6436271cf04f927588dbfea936b122ead5cb3360565ec5d6469450f45
0x62d841f5e29e50adb6e03498183b0de8bb4c647108c9250356126accefbc4bac

Functions
Getter at block 21307184
BPS_DENOMINATOR(view returns (uint16)
10000
MAX_AFFILIATE_FEE_BPS(view returns (uint16)
500
MAX_ARTIST_FEE_BPS(view returns (uint16)
1000
MAX_GOLDEN_EGG_FEE_BPS(view returns (uint16)
500
MAX_PLATFORM_FEE_BPS(view returns (uint16)
500
approvedEditionFactories(view returns (address[])
[0xAef3e8c8723D9c31863BE8dE54dF2668Ef7c4B89]
moduleInterfaceId(pure returns (bytes4)
0xa3c2dbc7
owner(view returns (address result)
0x858a92511485715cfb754f397a7894b7724c7abd
ownershipHandoverValidFor(view returns (uint64)
172800
platformFeeAddress(view returns (address)
0x858a92511485715cfb754f397a7894b7724c7abd
platformFeeBPS(view returns (uint16)
250
platformFeesAccrued(view returns (uint128)
1211306960379843250
Read-only
affiliateFeesAccrued(addressview returns (uint128)
affiliateMerkleRoot(address editionview returns (bytes32)
goldenEggFeeRecipient(address editionview returns (address recipient)
goldenEggFeesAccrued(address editionview returns (uint128)
isAffiliated(address editionaddress affiliateview returns (bool)
isAffiliatedWithProof(address editionaddress affiliatebytes32[] affiliateProofview returns (bool)
ownershipHandoverExpiresAt(address pendingOwnerview returns (uint256 result)
samInfo(address editionview returns (struct SAMInfo info)
supportsInterface(bytes4 interfaceIdpure returns (bool)
totalBuyPriceAndFees(address editionuint32 supplyForwardOffsetuint32 quantityview returns (uint256 totaluint256 platformFeeuint256 artistFeeuint256 goldenEggFeeuint256 affiliateFee)
totalSellPrice(address editionuint32 supplyBackwardOffsetuint32 quantityview returns (uint256 total)
totalValue(address editionuint32 fromSupplyuint32 quantityview returns (uint256 total)
State-modifying
buy(address editionaddress touint32 quantityaddress affiliatebytes32[] affiliateProofuint256 attributonIdpayable 
cancelOwnershipHandover(payable 
completeOwnershipHandover(address pendingOwnerpayable 
create(address editionuint96 basePriceuint128 linearPriceSlopeuint128 inflectionPriceuint32 inflectionPointuint32 maxSupplyuint32 buyFreezeTimeuint16 artistFeeBPSuint16 goldenEggFeeBPSuint16 affiliateFeeBPSaddress editionBybytes32 editionSalt
renounceOwnership(payable 
requestOwnershipHandover(payable 
sell(address editionuint256[] tokenIdsuint256 minimumPayoutaddress payoutTouint256 attributonId
setAffiliateFee(address editionuint16 bps
setAffiliateMerkleRoot(address editionbytes32 root
setApprovedEditionFactories(address[] factories
setArtistFee(address editionuint16 bps
setBasePrice(address editionuint96 basePrice
setBuyFreezeTime(address editionuint32 buyFreezeTime
setGoldenEggFee(address editionuint16 bps
setInflectionPoint(address editionuint32 inflectionPoint
setInflectionPrice(address editionuint128 inflectionPrice
setLinearPriceSlope(address editionuint128 linearPriceSlope
setMaxSupply(address editionuint32 maxSupply
setPlatformFee(uint16 bps
setPlatformFeeAddress(address addr
transferOwnership(address newOwnerpayable 
withdrawForAffiliate(address affiliate
withdrawForGoldenEgg(address edition
withdrawForPlatform(
Events
AffiliateFeeSet(address indexed editionuint16 bps
AffiliateFeesWithdrawn(address indexed affiliateuint256 accrued
AffiliateMerkleRootSet(address indexed editionbytes32 root
ApprovedEditionFactoriesSet(address[] factories
ArtistFeeSet(address indexed editionuint16 bps
BasePriceSet(address indexed editionuint96 basePrice
Bought(address indexed editionaddress indexed buyeruint256 fromTokenIduint32 fromCurveSupplyuint32 quantityuint128 totalPaymentuint128 platformFeeuint128 artistFeeuint128 goldenEggFeeuint128 affiliateFeeaddress affiliatebool affiliateduint256 indexed attributionId
BuyFreezeTimeSet(address indexed editionuint32 buyFreezeTime
Created(address indexed editionuint96 basePriceuint128 linearPriceSlopeuint128 inflectionPriceuint32 inflectionPointuint32 maxSupplyuint32 buyFreezeTimeuint16 artistFeeBPSuint16 goldenEggFeeBPSuint16 affiliateFeeBPS
GoldenEggFeeSet(address indexed editionuint16 bps
GoldenEggFeesWithdrawn(address indexed editionaddress indexed receipientuint128 accrued
InflectionPointSet(address indexed editionuint32 inflectionPoint
InflectionPriceSet(address indexed editionuint128 inflectionPrice
LinearPriceSlopeSet(address indexed editionuint128 linearPriceSlope
MaxSupplySet(address indexed editionuint32 maxSupply
OwnershipHandoverCanceled(address indexed pendingOwner
OwnershipHandoverRequested(address indexed pendingOwner
OwnershipTransferred(address indexed oldOwneraddress indexed newOwner
PlatformFeeAddressSet(address addr
PlatformFeeSet(uint16 bps
PlatformFeesWithdrawn(uint128 accrued
Sold(address indexed editionaddress indexed selleruint32 fromCurveSupplyuint256[] tokenIdsuint128 totalPayoutuint256 indexed attributionId
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BurnZeroQuantity(
BuyIsFrozen(
ExceedsMaxSupply(uint32 available
InSAMPhase(
InflectionPointIsZero(
InflectionPriceIsZero(
InsufficientPayout(uint256 payoutuint256 required
InsufficientSupply(uint256 availableuint256 required
InvalidAffiliate(
InvalidAffiliateFeeBPS(
InvalidArtistFeeBPS(
InvalidBuyFreezeTime(
InvalidGoldenEggFeeBPS(
InvalidMaxSupply(
InvalidPlatformFeeBPS(
MintZeroQuantity(
NewOwnerIsZeroAddress(
NoHandoverRequest(
PlatformFeeAddressIsZero(
SAMAlreadyExists(
SAMDoesNotExist(
UnapprovedEdition(
Unauthorized(
Underpaid(uint256 paiduint256 required