Contract API
BribeFactory
Stateless factory for Bribes.
Loading…
Browse documentation
Contract API
Stateless factory for Bribes.
Loading…
Contract API
Stateless factory for Bribes.
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/core/BribeFactory.sol
Artifact: out/BribeFactory.sol/BribeFactory.json
Deploys a Bribe controlled by the calling Resonance contract.
Public, ownerless, and stateless. Each Bribe binds its immutable Resonance authority to msg.sender.
Public ABI: 1 function, 0 events, 0 custom errors, 0 constructors, 0 receive entries, 0 fallback entries.
createBribe()function createBribe() external returns (contract Bribe bribe);Deploys a new empty Bribe controlled by the calling Resonance. The caller needs deployed code; externally owned accounts and contracts under construction are rejected.
Returns
bribe: Newly deployed Bribe controlled by msg.sender.