ERC20Keys
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
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
Balances ($0.00)
No balances found for "ERC20Keys"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ERC20Keys"
ABI
ABI objects
Getter at block 23585698
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 feeDestination, uint256 feePercent)
(feeDestination=0x0000000000000000000000000000000000000000, feePercent=0)
getHoldersFeePercent() view returns (uint256)
0
getPaymentToken() view returns (address)
0x0000000000000000000000000000000000000000
getProtocolFeeDestination() view returns (address)
0x0000000000000000000000000000000000000000
getProtocolFeeInfo() view returns (address feeDestination, uint256 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 feeDestination, uint256 feePercent)
(feeDestination=0x0000000000000000000000000000000000000000, feePercent=0)
getSubjectFeePercent() view returns (uint256)
0
getTradeVolume() view returns (uint256)
0
Read-only
getBuyPrice(uint256 _amount) view returns (uint256)
getBuyPrice(uint256 _supply, uint256 _amount) pure returns (uint256)
getBuyPriceAfterFee(uint256 _amount) view returns (uint256)
getBuyPriceAfterFee(uint256 _supply, uint256 _amount, uint256 _protocolFeePercent, uint256 _holdersFeePercent, uint256 _subjectFeePercent) pure returns (uint256)
getPrice(uint256 supply, uint256 amount) pure returns (uint256)
getRole(address operator) view returns (uint256)
getSellPrice(uint256 _amount) view returns (uint256)
getSellPrice(uint256 _supply, uint256 _amount) pure returns (uint256)
getSellPriceAfterFee(uint256 _amount) view returns (uint256)
getSellPriceAfterFee(uint256 _supply, uint256 _amount, uint256 _protocolFeePercent, uint256 _holdersFeePercent, uint256 _subjectFeePercent) pure returns (uint256)
getSharesBalance(address _holder) view returns (uint256 balance)
isFeatureEnabled(uint256 required) view returns (bool)
isOperatorInRole(address operator, uint256 required) view returns (bool)
isSenderInRole(uint256 required) view returns (bool)
State-modifying
Events buyKeys(uint256 amount) payable
buyKeysTo(uint256 amount, address beneficiary) payable
buyShares(uint256 amount) payable
buySharesTo(uint256 amount, address beneficiary) payable
disableHoldersFee()
postConstruct(address _owner, struct TradeableSharesSharesSubject _sharesSubject, address _protocolFeeDestination, uint64 _protocolFeePercent, address _holdersFeeDestination, uint64 _holdersFeePercent, uint64 _subjectFeePercent, uint256 _amount, address _beneficiary, address _paymentToken)
sellKeys(uint256 amount)
sellKeysTo(uint256 amount, address beneficiary)
sellShares(uint256 amount)
sellSharesTo(uint256 amount, address beneficiary)
updateFeatures(uint256 _mask)
updateProtocolFeeDestination(address _protocolFeeDestination)
updateRole(address operator, uint256 role)
updateSharesSubject(struct TradeableSharesSharesSubject _sharesSubject)
updateSharesSubject(struct TradeableSharesSharesSubject _sharesSubject, address _factory)
HoldersFeeDisabled(uint256 oldProtocolFeePercent, uint256 newProtocolFeePercent)
ProtocolFeeDestinationUpdated(address oldProtocolFeeDestination, address newProtocolFeeDestination)
RoleUpdated(address indexed operator, uint256 requested, uint256 assigned)
SharesSubjectUpdated(struct TradeableSharesSharesSubject oldSubject, struct TradeableSharesSharesSubject newSubject, address factory)
Trade(address indexed beneficiary, address indexed issuer, bool indexed isBuy, uint256 sharesAmount, uint256 paidAmount, uint256 protocolFeeAmount, uint256 holdersFeeAmount, uint256 subjectFeeAmount, uint256 supply)
constructor(address _owner, struct TradeableSharesSharesSubject _sharesSubject, address _protocolFeeDestination, uint64 _protocolFeePercent, address _holdersFeeDestination, uint64 _holdersFeePercent, uint64 _subjectFeePercent, uint256 _amount, address _beneficiary, address _paymentToken)
This contract contains no fallback and receive objects.
This contract contains no error objects.