JBETHPaymentTerminal3_1
Manages all inflows and outflows of ETH funds into the protocol ecosystem.
Mainnet: 0xFA391De95Fcbcd3157268B91d8c7af083E607A5C
Goerli: 0x0baCb87Cf7DbDdde2299D92673A938E067a9eb29
Inherits: JBPayoutRedemptionPaymentTerminal3_1
Inherits from:
JBPayoutRedemptionPaymentTerminal3_1: Generic terminal managing all inflows and outflows of funds into the protocol ecosystem.
Functions
_balance
Checks the balance of tokens in this contract.
function _balance() internal view override returns (uint256);
Returns
| Name | Type | Description | 
|---|---|---|
<none> | uint256 | The contract's balance, as a fixed point number with the same amount of decimals as this terminal. | 
constructor
constructor(
    uint256 _baseWeightCurrency,
    IJBOperatorStore _operatorStore,
    IJBProjects _projects,
    IJBDirectory _directory,
    IJBSplitsStore _splitsStore,
    IJBPrices _prices,
    IJBSingleTokenPaymentTerminalStore _store,
    address _owner
)
    JBPayoutRedemptionPaymentTerminal3_1(
        JBTokens.ETH,
        18,
        JBCurrencies.ETH,
        _baseWeightCurrency,
        JBSplitsGroups.ETH_PAYOUT,
        _operatorStore,
        _projects,
        _directory,
        _splitsStore,
        _prices,
        _store,
        _owner
    );
Parameters
| Name | Type | Description | 
|---|---|---|
_baseWeightCurrency | uint256 | The currency to base token issuance on. | 
_operatorStore | IJBOperatorStore | A contract storing operator assignments. | 
_projects | IJBProjects | A contract which mints ERC-721's that represent project ownership and transfers. | 
_directory | IJBDirectory | A contract storing directories of terminals and controllers for each project. | 
_splitsStore | IJBSplitsStore | A contract that stores splits for each project. | 
_prices | IJBPrices | A contract that exposes price feeds. | 
_store | IJBSingleTokenPaymentTerminalStore | A contract that stores the terminal's data. | 
_owner | address | The address that will own this contract. | 
_transferFrom
Transfers tokens.
function _transferFrom(address _from, address payable _to, uint256 _amount) internal override;
Parameters
| Name | Type | Description | 
|---|---|---|
_from | address | The address from which the transfer should originate. | 
_to | address payable | The address to which the transfer should go. | 
_amount | uint256 | The amount of the transfer, as a fixed point number with the same number of decimals as this terminal. |