465 txs
467 calls
constructor
No constructor.
functions
getMicroFeeWei
viewfunction getMicroFeeWei(uint256 quantity) view returns (uint256)
microManager
viewfunction microManager() view returns (address)
owner
viewfunction owner() view returns (address)
editManager
nonpayablefunction editManager(address _manager)
init
nonpayablefunction init(bytes initPayload) returns (bool)
renounceOwnership
nonpayablefunction renounceOwnership()
requestPresale
payablefunction requestPresale(address nftAddress, uint256 quantity, bytes32[] merkleProof) payable
requestPurchase
payablefunction requestPurchase(address nftAddress, uint256 quantity) payable
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
events
FeePayout
event FeePayout(uint256 MicroMintFeeWei, address MicroFeeRecipient, bool success)
FundsWithdrawn
event FundsWithdrawn(address indexed sender, address indexed fundsRecipient, uint256 fund)
NewCollectionMinted
event NewCollectionMinted(address indexed sender, address indexed contractAddress, uint256 quantity)
OwnershipTransferred
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
errors
PaymentFailed
error PaymentFailed()
PurchaseWrongPrice
error PurchaseWrongPrice(uint256 correctPrice)
Unauthorized
error Unauthorized()
creation bytecode
0x608060405234801561001057600080fd5b5061001a33610023565b60018055610073565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f0d806100826000396000f3fe6080604052600436106100865760003560e01c8063715018a611610059578063715018a61461013b57806387031fe5146101505780638da5cb5b14610170578063cd5954fc1461018e578063f2fde38b146101a157600080fd5b80630e21ea061461008b5780634ddf47d4146100c85780635e752eb4146100f8578063616985ed1461010d575b600080fd5b34801561009757600080fd5b506002546100ab906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100d457600080fd5b506100e86100e3366004610abf565b6101c1565b60405190151581526020016100bf565b61010b610106366004610b85565b610238565b005b34801561011957600080fd5b5061012d610128366004610bb1565b61036a565b6040519081526020016100bf565b34801561014757600080fd5b5061010b6104e7565b34801561015c57600080fd5b5061010b61016b366004610bca565b61051d565b34801561017c57600080fd5b506000546001600160a01b03166100ab565b61010b61019c366004610be7565b610553565b3480156101ad57600080fd5b5061010b6101bc366004610bca565b610684565b600254600090600160a01b900460ff16156101ee576040516282b42960e81b815260040160405180910390fd5b600080838060200190518101906102059190610c83565b9150915061021282610684565b61021b8161071c565b50506002805460ff60a01b1916600160a01b179055506001919050565b60026001540361028f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600155336102a081848461073e565b6040516346f4991160e11b81526001600160a01b03828116600483015260248201849052841690638de93222906044016020604051808303816000875af11580156102ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103139190610cbd565b50826001600160a01b0316816001600160a01b03167fa7b01104a6b6c5840d976794ca3cdc03532966d0b58b7799a9202d093e152ad08460405161035991815260200190565b60405180910390a350506001805550565b60008160000361037c57506000919050565b600260009054906101000a90046001600160a01b03166001600160a01b031663a89ae4ba6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f39190610cd6565b6001600160a01b031663f5d7816161048284600260009054906101000a90046001600160a01b03166001600160a01b0316630c1119bb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047c9190610cbd565b90610833565b6040518263ffffffff1660e01b81526004016104a091815260200190565b602060405180830381865afa1580156104bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e19190610cbd565b92915050565b6000546001600160a01b031633146105115760405162461bcd60e51b815260040161028690610cf3565b61051b6000610846565b565b6000546001600160a01b031633146105475760405162461bcd60e51b815260040161028690610cf3565b6105508161071c565b50565b6002600154036105a55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610286565b6002600155336105b681868661073e565b6040516341def22360e11b81526001600160a01b038616906383bde446906105e8908490889088908890600401610d28565b6020604051808303816000875af1158015610607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062b9190610cbd565b50846001600160a01b0316816001600160a01b03167fa7b01104a6b6c5840d976794ca3cdc03532966d0b58b7799a9202d093e152ad08660405161067191815260200190565b60405180910390a3505060018055505050565b6000546001600160a01b031633146106ae5760405162461bcd60e51b815260040161028690610cf3565b6001600160a01b0381166107135760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610286565b61055081610846565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000826001600160a01b03166390aa0b0f6040518163ffffffff1660e01b815260040161012060405180830381865afa15801561077f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a39190610dcb565b905060006107be83836060015161083390919063ffffffff16565b905060006107cb8461036a565b905060006107d98383610896565b9050803410156107ff5760405163c5a8df2f60e01b815260048101829052602401610286565b610808826108a2565b610816838560400151610968565b5061082a8761082534846109de565b6109ea565b50505050505050565b600061083f8284610e89565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600061083f8284610ea8565b6002546040805163c5f956af60e01b815290516000926001600160a01b03169163c5f956af9160048083019260209291908290030181865afa1580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109109190610cd6565b905061091c81836109ea565b604080518381526001600160a01b038316602082015260018183015290517f7d91e6735310f2a10253c2b777a07cdd5bce000456de934af23dfc9e4aea7f879181900360600190a15050565b60006001600160a01b038216158061097e575082155b1561098b575060006104e1565b61099582846109ea565b6040518381526001600160a01b0383169033907fa92ff919b850e4909ab2261d907ef955f11bc1716733a6cbece38d163a69af8a9060200160405180910390a350600192915050565b600061083f8284610ec0565b8015610a7b576000826001600160a01b031682620334505a11610a0d575a610a12565b620334505b6040519091906000818181858888f193505050503d8060008114610a52576040519150601f19603f3d011682016040523d82523d6000602084013e610a57565b606091505b5050905080610a79576040516307a4ced160e51b815260040160405180910390fd5b505b5050565b634e487b7160e01b600052604160045260246000fd5b604051610120810167ffffffffffffffff81118282101715610ab957610ab9610a7f565b60405290565b600060208284031215610ad157600080fd5b813567ffffffffffffffff80821115610ae957600080fd5b818401915084601f830112610afd57600080fd5b813581811115610b0f57610b0f610a7f565b604051601f8201601f19908116603f01168101908382118183101715610b3757610b37610a7f565b81604052828152876020848701011115610b5057600080fd5b826020860160208301376000928101602001929092525095945050505050565b6001600160a01b038116811461055057600080fd5b60008060408385031215610b9857600080fd5b8235610ba381610b70565b946020939093013593505050565b600060208284031215610bc357600080fd5b5035919050565b600060208284031215610bdc57600080fd5b813561083f81610b70565b60008060008060608587031215610bfd57600080fd5b8435610c0881610b70565b935060208501359250604085013567ffffffffffffffff80821115610c2c57600080fd5b818701915087601f830112610c4057600080fd5b813581811115610c4f57600080fd5b8860208260051b8501011115610c6457600080fd5b95989497505060200194505050565b8051610c7e81610b70565b919050565b60008060408385031215610c9657600080fd5b8251610ca181610b70565b6020840151909250610cb281610b70565b809150509250929050565b600060208284031215610ccf57600080fd5b5051919050565b600060208284031215610ce857600080fd5b815161083f81610b70565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6001600160a01b038516815260208101849052606060408201819052810182905260006001600160fb1b03831115610d5f57600080fd5b8260051b808560808501376000920160800191825250949350505050565b805167ffffffffffffffff81168114610c7e57600080fd5b805161ffff81168114610c7e57600080fd5b805163ffffffff81168114610c7e57600080fd5b80518015158114610c7e57600080fd5b60006101208284031215610dde57600080fd5b610de6610a95565b610def83610d7d565b8152610dfd60208401610d95565b6020820152610e0e60408401610c73565b604082015260608301516060820152610e2960808401610da7565b6080820152610e3a60a08401610d7d565b60a0820152610e4b60c08401610d7d565b60c082015260e083015160e0820152610100610e68818501610dbb565b908201529392505050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610ea357610ea3610e73565b500290565b60008219821115610ebb57610ebb610e73565b500190565b600082821015610ed257610ed2610e73565b50039056fea26469706673582212204249af9b144b650f6966e2624c92d4f232477644682858ea854c112a43763fe864736f6c634300080d0033