SubjectFactory

Verified contract

Implementation

Active on Base with 1 txns
Deployed by via 0x40756b52 at 17568961
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "SubjectFactory"

0x8a33b2fd3a566b1db794aff66101eb40b52f313513613415f90d21d2f0ff4e7b
From

Functions
Getter at block 21754332
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ONBOARDING_ROLE(view returns (bytes32)
0x41ab08329fb0a2935fa2b8b127e3380ff152b38c9f016ae14226bf4decc87466
PAUSE_ROLE(view returns (bytes32)
0x139c2898040ef16910dc9f44dc697df79363da767d8bc92f2e310312b816e46d
PCT_BASE(view returns (uint256)
1000000000000000000
UPDATE_AUCTION_ROLE(view returns (bytes32)
0x45f7b643fd10623d0b12c447334501abf01def0d0be34bc6ba70ebe4fab8dd24
UPDATE_BENEFICIARY_ROLE(view returns (bytes32)
0xf7ea2b80c7b6a2cab2c11d2290cb005c3748397358a25e17113658c83b732593
UPDATE_FEES_ROLE(view returns (bytes32)
0x5f9be2932ed3a723f295a763be1804c7ebfd1a41c1348fb8bdf5be1c5cdca822
auctionDuration(view returns (uint256)
259200
auctionOrderCancellationDuration(view returns (uint256)
259200
easyAuction(view returns (address)
0xe9d8b7e7d5d8acf98e5152cc5c91aa4b6ee1fbf0
feeBeneficiary(view returns (address)
0x7f472aaa6492a07bffbe98664a11f76615150584
moxieBondingCurve(view returns (address)
0x02bdb83be769351771dcdd30b51c141b0bd5ff41
paused(view returns (bool)
false
protocolFeePct(view returns (uint256)
50000000000000000
subjectFeePct(view returns (uint256)
50000000000000000
token(view returns (address)
0x8c9037d1ef5c6d1f6816278c7aaf5491d24cd527
tokenManager(view returns (address)
0xfc86e1df300d1f1fa03c2d27c1815b36c3e396b1
Read-only
auctions(address subjectview returns (uint256 auctionIduint256 auctionEndDateuint256 initialSupply)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
finalizeSubjectOnboarding(address _subjectuint256 _buyAmountuint32 _reserveRatio
grantRole(bytes32 roleaddress account
initialize(address _owneraddress _tokenManageraddress _moxieBondingCurveaddress _tokenaddress _easyAuctionstruct ISubjectFactoryFeeInput _feeInputaddress _feeBeneficiaryuint256 _auctionDurationuint256 _auctionOrderCancellationDuration
initiateSubjectOnboarding(address _subjectstruct ISubjectFactorySubjectAuctionInput _auctionInputreturns (uint256)
pause(
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
unpause(
updateAuctionTime(uint256 _auctionDurationuint256 _auctionOrderCancellationDuration
updateFeeBeneficiary(address _feeBeneficiary
updateFees(struct ISubjectFactoryFeeInput _feeInput
Events
Initialized(uint64 version
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SubjectOnboardingFinished(address indexed _subjectaddress indexed _subjectTokenuint256 _auctionIduint256 _bondingSupplyuint256 _bondingAmountuint256 _protocolFeeuint256 _subjectFeeuint256 _subjectFeeInSubjectToken
SubjectOnboardingInitiated(address indexed _subjectaddress indexed _subjectTokenuint256 _auctionAmountaddress _biddingTokenuint256 auctionEndDateuint256 _auctionId
Unpaused(address account
UpdateAuctionParam(uint256 _auctionDurationuint256 _auctionOrderCancellationDuration
UpdateBeneficiary(address _beneficiary
UpdateFees(uint256 _protocolFeePctuint256 _subjectFeePct
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
EnforcedPause(
ExpectedPause(
FailedInnerCall(
InvalidInitialization(
NotInitializing(
SafeERC20FailedOperation(address token
SubjectFactory_AuctionAlreadyCreated(
SubjectFactory_AuctionNotCreated(
SubjectFactory_AuctionNotDoneYet(
SubjectFactory_BuyAmountTooLess(
SubjectFactory_InvalidAuctionContract(
SubjectFactory_InvalidAuctionDuration(
SubjectFactory_InvalidAuctionOrderCancellationDuration(
SubjectFactory_InvalidBeneficiary(
SubjectFactory_InvalidFeePercentage(
SubjectFactory_InvalidMoxieBondingCurve(
SubjectFactory_InvalidOwner(
SubjectFactory_InvalidReserveRatio(
SubjectFactory_InvalidSubject(
SubjectFactory_InvalidToken(
SubjectFactory_InvalidTokenManager(