SofamonWearables
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
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "SofamonWearables"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "SofamonWearables"
ABI
ABI objects
Getter at block 22911378
creatorFeePercent() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
protocolFeeDestination() view returns (address)
0x0000000000000000000000000000000000000000
protocolFeePercent() view returns (uint256)
0
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
wearableOperator() view returns (address)
0x0000000000000000000000000000000000000000
wearableSigner() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getBuyPrice(bytes32 wearablesSubject, uint256 amount) view returns (uint256)
getBuyPriceAfterFee(bytes32 wearablesSubject, uint256 amount) view returns (uint256)
getPrice(uint256 supply, uint256 amount, uint256 totalSupply, uint256 curveFactor, uint256 initialPriceFactor, bool isBuy) pure returns (uint256)
getSellPrice(bytes32 wearablesSubject, uint256 amount) view returns (uint256)
getSellPriceAfterFee(bytes32 wearablesSubject, uint256 amount) view returns (uint256)
getUserNonce(address user) view returns (uint256)
nonces(address) view returns (uint256)
wearables(bytes32) view returns (address creator, string name, string category, string imageURI, struct SofamonWearablesWearableFactors factors, uint8 state)
wearablesBalance(bytes32, address) view returns (uint256)
wearablesSupply(bytes32) view returns (uint256)
State-modifying
Events acceptOwnership()
batchSetWearableSalesState(bytes32[] wearablesSubjects, uint8 saleState)
buyPrivateWearables(bytes32 wearablesSubject, uint256 amount, bytes signature) payable
buyWearables(bytes32 wearablesSubject, address receiver, uint256 amount) payable
createWearable(struct SofamonWearablesCreateWearableParams params)
initialize(address _wearableOperator, address _signer)
renounceOwnership()
sellPrivateWearables(bytes32 wearablesSubject, uint256 amount, bytes signature) payable
sellWearables(bytes32 wearablesSubject, uint256 amount) payable
setCreatorFeePercent(uint256 _feePercent)
setProtocolFeeDestination(address _feeDestination)
setProtocolFeePercent(uint256 _feePercent)
setWearableOperator(address _operator)
setWearableSalesState(bytes32 wearablesSubject, uint8 saleState)
setWearableSigner(address _signer)
transferOwnership(address newOwner)
transferWearables(bytes32 wearablesSubject, address from, address to, uint256 amount)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
CreatorFeePercentUpdated(uint256 feePercent)
Initialized(uint8 version)
NonceUpdated(address user, uint256 nonce)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ProtocolFeeDestinationUpdated(address feeDestination)
ProtocolFeePercentUpdated(uint256 feePercent)
Trade(address receiver, bytes32 subject, bool isBuy, bool isPublic, uint256 wearableAmount, uint256 ethAmount, uint256 protocolEthAmount, uint256 creatorEthAmount, uint256 supply)
Upgraded(address indexed implementation)
WearableCreated(address creator, bytes32 subject, string name, string category, string imageURI, struct SofamonWearablesWearableFactors factors, uint8 state)
WearableOperatorUpdated(address operator)
WearableSaleStateUpdated(bytes32 wearablesSubject, uint8 saleState)
WearableSignerUpdated(address signer)
WearableTransferred(address from, address to, bytes32 subject, uint256 amount)
constructor()
This contract contains no fallback and receive objects.
AmountNotMultipleOfBaseUnit()
IncorrectSender()
InsufficientBaseUnit()
InsufficientHoldings()
InsufficientPayment()
InvalidCurveFactor()
InvalidFeePercent()
InvalidInitialPriceFactor()
InvalidOperator()
InvalidReceiver()
InvalidSaleState()
InvalidSignature()
InvalidTotalSupply()
RefundFailed()
SendFundsFailed()
TotalSupplyExceeded()
TransferToZeroAddress()
WearableAlreadyCreated()
WearableNotCreated()