ERC20Keys

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x33b71ae3 at 11993950
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 1 additional slot

No balances found for "ERC20Keys"

No transactions found for "ERC20Keys"


Functions
Getter at block 22774581
ROLE_ACCESS_MANAGER(view returns (uint256)
57896044618658097711785492504343953926634992332820282019728792003956564819968
ROLE_HOLDERS_FEE_MANAGER(view returns (uint32)
131072
ROLE_PROTOCOL_FEE_MANAGER(view returns (uint32)
65536
ROLE_SHARES_SUBJECT_MANAGER(view returns (uint32)
524288
ROLE_UPGRADE_MANAGER(view returns (uint256)
28948022309329048855892746252171976963317496166410141009864396001978282409984
features(view returns (uint256)
0
getHoldersFeeDestination(view returns (address)
0x0000000000000000000000000000000000000000
getHoldersFeeInfo(view returns (address feeDestinationuint256 feePercent)
(feeDestination=0x0000000000000000000000000000000000000000, feePercent=0)
getHoldersFeePercent(view returns (uint256)
0
getPaymentToken(view returns (address)
0x0000000000000000000000000000000000000000
getProtocolFeeDestination(view returns (address)
0x0000000000000000000000000000000000000000
getProtocolFeeInfo(view returns (address feeDestinationuint256 feePercent)
(feeDestination=0x0000000000000000000000000000000000000000, feePercent=0)
getProtocolFeePercent(view returns (uint256)
0
getSharesIssuer(view returns (address nftOwner)
0x0000000000000000000000000000000000000000
getSharesSubject(view returns (struct TradeableSharesSharesSubject)
(0x0000000000000000000000000000000000000000, 0)
getSharesSupply(view returns (uint256 supply)
0
getSubjectFeeInfo(view returns (address feeDestinationuint256 feePercent)
(feeDestination=0x0000000000000000000000000000000000000000, feePercent=0)
getSubjectFeePercent(view returns (uint256)
0
getTradeVolume(view returns (uint256)
0
Read-only
getBuyPrice(uint256 _amountview returns (uint256)
getBuyPrice(uint256 _supplyuint256 _amountpure returns (uint256)
getBuyPriceAfterFee(uint256 _amountview returns (uint256)
getBuyPriceAfterFee(uint256 _supplyuint256 _amountuint256 _protocolFeePercentuint256 _holdersFeePercentuint256 _subjectFeePercentpure returns (uint256)
getPrice(uint256 supplyuint256 amountpure returns (uint256)
getRole(address operatorview returns (uint256)
getSellPrice(uint256 _amountview returns (uint256)
getSellPrice(uint256 _supplyuint256 _amountpure returns (uint256)
getSellPriceAfterFee(uint256 _amountview returns (uint256)
getSellPriceAfterFee(uint256 _supplyuint256 _amountuint256 _protocolFeePercentuint256 _holdersFeePercentuint256 _subjectFeePercentpure returns (uint256)
getSharesBalance(address _holderview returns (uint256 balance)
isFeatureEnabled(uint256 requiredview returns (bool)
isOperatorInRole(address operatoruint256 requiredview returns (bool)
isSenderInRole(uint256 requiredview returns (bool)
State-modifying
buyKeys(uint256 amountpayable 
buyKeysTo(uint256 amountaddress beneficiarypayable 
buyShares(uint256 amountpayable 
buySharesTo(uint256 amountaddress beneficiarypayable 
disableHoldersFee(
postConstruct(address _ownerstruct TradeableSharesSharesSubject _sharesSubjectaddress _protocolFeeDestinationuint64 _protocolFeePercentaddress _holdersFeeDestinationuint64 _holdersFeePercentuint64 _subjectFeePercentuint256 _amountaddress _beneficiaryaddress _paymentToken
sellKeys(uint256 amount
sellKeysTo(uint256 amountaddress beneficiary
sellShares(uint256 amount
sellSharesTo(uint256 amountaddress beneficiary
updateFeatures(uint256 _mask
updateProtocolFeeDestination(address _protocolFeeDestination
updateRole(address operatoruint256 role
updateSharesSubject(struct TradeableSharesSharesSubject _sharesSubject
updateSharesSubject(struct TradeableSharesSharesSubject _sharesSubjectaddress _factory
Events
HoldersFeeDisabled(uint256 oldProtocolFeePercentuint256 newProtocolFeePercent
ProtocolFeeDestinationUpdated(address oldProtocolFeeDestinationaddress newProtocolFeeDestination
RoleUpdated(address indexed operatoruint256 requesteduint256 assigned
SharesSubjectUpdated(struct TradeableSharesSharesSubject oldSubjectstruct TradeableSharesSharesSubject newSubjectaddress factory
Trade(address indexed beneficiaryaddress indexed issuerbool indexed isBuyuint256 sharesAmountuint256 paidAmountuint256 protocolFeeAmountuint256 holdersFeeAmountuint256 subjectFeeAmountuint256 supply
Constructor
constructor(address _ownerstruct TradeableSharesSharesSubject _sharesSubjectaddress _protocolFeeDestinationuint64 _protocolFeePercentaddress _holdersFeeDestinationuint64 _holdersFeePercentuint64 _subjectFeePercentuint256 _amountaddress _beneficiaryaddress _paymentToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.