ERC20Minter

Verified contract

Active on Base with 179,525 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $3.81
ERC-20
Value $0.23
ERC-20
Value $0.21
ERC-20
Value $0.02
ERC-20
Value $0.01
ERC-20
Value $0.01
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0xa6a7df73f59e358264845fe5083878a44e55b648188c5817eb7c27219ca820d0
0x526fab66597cdf0d484a084bf309bbf23012ba8497118de1e284a9a744e9b770
0xb3eaf761a18ec498157dd7dc01b8a50747507ce4affe8db63b075c663a4417e5
0x489841f75e0cb927c58099b43d4d7d8bd75e97fdf9ec7e9a4774b3c53d2aaaa4
0xec350216edf750e2dfbbdb60d9568b68af4076942ee9f382240ff9ba4f041fbe
0x4ad5619d1008f9a95ca58d0d72ea6a6bc25272a073ee59a5fdd508bb2f6fe00c
0xe4fe1df194022e2abac2ed833e0a628c94304c6cdae1294b2668f3f89606763c
0xc5cb3eadc1fb84a92cccda911ca282e47672949283c1391c8e7cf632a5f6f2fa
0x3225c037fe20fad80cb5141fbdc24110174af1ff9c14b508e74810e447753ed8
0xc8c91964ec899968230729775de04e599687b1a53af167fd580d0a9363446e42

Functions
Getter at block 22732287
contractName(pure returns (string)
ERC20 Minter
contractURI(pure returns (string)
https://github.com/ourzora/zora-protocol/
contractVersion(pure returns (string)
1.0.0
totalRewardPct(pure returns (uint256)
5
zoraRewardRecipientAddress(view returns (address)
0x7bf90111ad7c22bec9e9dff8a01a44713cc1b1b6
Read-only
computePaidMintRewards(uint256 totalRewardpure returns (struct IERC20MinterRewardsSettings)
computeReward(uint256 totalRewarduint256 rewardPctpure returns (uint256)
computeTotalReward(uint256 totalValuepure returns (uint256)
getCreateReferral(address tokenContractuint256 tokenIdview returns (address createReferral)
getFirstMinter(address tokenContractuint256 tokenIdview returns (address firstMinter)
getMintedPerWallet(address tokenContractuint256 tokenIdaddress walletview returns (uint256)
requestMint(addressuint256uint256uint256bytespure returns (struct ICreatorCommandsCommandSet)
sale(address tokenContractuint256 tokenIdview returns (struct IERC20MinterSalesConfig)
supportsInterface(bytes4 interfaceIdpure returns (bool)
State-modifying
initialize(address _zoraRewardRecipientAddress
mint(address mintTouint256 quantityaddress tokenAddressuint256 tokenIduint256 totalValueaddress currencyaddress mintReferralstring comment
resetSale(uint256 tokenId
setSale(uint256 tokenIdstruct IERC20MinterSalesConfig salesConfig
setZoraRewardsRecipient(address recipient
Events
ERC20MinterInitialized(uint256 rewardPercentage
ERC20RewardsDeposit(address indexed createReferraladdress indexed mintReferraladdress indexed firstMinteraddress zoraaddress collectionaddress currencyuint256 tokenIduint256 createReferralRewarduint256 mintReferralRewarduint256 firstMinterRewarduint256 zoraReward
MintComment(address indexed senderaddress indexed tokenContractuint256 indexed tokenIduint256 quantitystring comment
SaleSet(address indexed mediaContractuint256 indexed tokenIdstruct IERC20MinterSalesConfig salesConfig
ZoraRewardsRecipientSet(address indexed prevRecipientaddress indexed newRecipient
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressZero(
AlreadyInitialized(
ERC20TransferSlippage(
InvalidCurrency(
OnlyZoraRewardsRecipient(
PricePerTokenTooLow(
RequestMintInvalidUseMint(
SaleEnded(
SaleHasNotStarted(
UserExceedsMintLimit(address useruint256 limituint256 requestedAmount
WrongValueSent(