Contract API
MineDeployer
Stateless creation deployer; holds no storage and retains no authority.
Loading…
Browse documentation
Contract API
Stateless creation deployer; holds no storage and retains no authority.
Loading…
Contract API
Stateless creation deployer; holds no storage and retains no authority.
This reference is generated from the repository contracts. Check the deployed version before using a signature or constant. The audit covers a specific source revision.
Source: src/launch/MineDeployer.sol
Artifact: out/MineDeployer.sol/MineDeployer.json
Deploys Mine contracts without retaining ownership or mutable state.
Public ABI: 1 function, 0 events, 0 custom errors, 0 constructors, 0 receive entries, 0 fallback entries.
deploy(address,address,address,address,(uint256,uint256,uint256))function deploy(contract Coin coin, contract IERC20 usdg, address fund, address resonanceRouter, struct Mine.EmissionConfig emissionConfig) external returns (contract Mine mine);Deploys a Mine with the caller as initial owner and permanent fee source. The caller must expose protocolFeeRecipient() and protocolFeeBps() for paid mining.
Parameters
coin: Coin minted as mining emission.emissionConfig: Immutable schedule validated by the Mine constructor.fund: Fund forbidden from becoming a mining beneficiary.resonanceRouter: Initial destination for mining revenue; the Mine owner may replace it for future payments.usdg: Token used to pay for the mining slot.Returns
mine: Newly deployed Mine.