Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TradingBeaconProxyDeployHelperFactory

Git Source

State Variables

BEACON

ITradingBeacon public immutable BEACON;

IMPL

TradingBeaconProxy immutable IMPL;

Functions

constructor

constructor(address _admin, address _mint, address _quotes, address _price, address _extras);

clone

function clone(address _impl, bytes memory _args) public returns (address instance);

create

function create(CreateArgs calldata _a) external returns (INineLivesTrading);

Events

DeploymentCompleted

event DeploymentCompleted(ITradingBeacon indexed beacon, TradingBeaconProxy indexed impl);

Structs

CreateArgs

struct CreateArgs {
    bytes8[] outcomes;
    address oracle;
    uint64 timeStart;
    uint64 timeEnding;
    address feeRecipient;
    address shareImpl;
    bool shouldBufferTime;
    uint64 feeCreator;
    uint64 feeMinter;
    uint64 feeLp;
    uint64 feeReferrer;
}