IBlast.sol
Methods
claimAllGas(address,address)
Solidity
function claimAllGas(address contractAddress, address recipientOfGas) external nonpayable returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
recipientOfGas | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
claimAllYield(address,address)
Solidity
function claimAllYield(address contractAddress, address recipientOfYield) external nonpayable returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
recipientOfYield | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
claimGas(address,address,uint256,uint256)
Solidity
function claimGas(address contractAddress, address recipientOfGas, uint256 gasToClaim, uint256 gasSecondsToConsume) external nonpayable returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
recipientOfGas | address | undefined |
gasToClaim | uint256 | undefined |
gasSecondsToConsume | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
claimGasAtMinClaimRate(address,address,uint256)
Solidity
function claimGasAtMinClaimRate(address contractAddress, address recipientOfGas, uint256 minClaimRateBips) external nonpayable returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
recipientOfGas | address | undefined |
minClaimRateBips | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
claimMaxGas(address,address)
Solidity
function claimMaxGas(address contractAddress, address recipientOfGas) external nonpayable returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
recipientOfGas | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
claimYield(address,address,uint256)
Solidity
function claimYield(address contractAddress, address recipientOfYield, uint256 amount) external nonpayable returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
recipientOfYield | address | undefined |
amount | uint256 | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
configure(uint8,uint8,address)
Solidity
function configure(enum IBlast.YieldMode _yield, enum IBlast.GasMode gasMode, address governor) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_yield | enum IBlast.YieldMode | undefined |
gasMode | enum IBlast.GasMode | undefined |
governor | address | undefined |
configureAutomaticYield()
Solidity
function configureAutomaticYield() external nonpayable
configureAutomaticYieldOnBehalf(address)
Solidity
function configureAutomaticYieldOnBehalf(address contractAddress) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
configureClaimableGas()
Solidity
function configureClaimableGas() external nonpayable
configureClaimableGasOnBehalf(address)
Solidity
function configureClaimableGasOnBehalf(address contractAddress) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
configureClaimableYield()
Solidity
function configureClaimableYield() external nonpayable
configureClaimableYieldOnBehalf(address)
Solidity
function configureClaimableYieldOnBehalf(address contractAddress) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
configureContract(address,uint8,uint8,address)
Solidity
function configureContract(address contractAddress, enum IBlast.YieldMode _yield, enum IBlast.GasMode gasMode, address governor) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
_yield | enum IBlast.YieldMode | undefined |
gasMode | enum IBlast.GasMode | undefined |
governor | address | undefined |
configureGovernor(address)
Solidity
function configureGovernor(address _governor) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_governor | address | undefined |
configureGovernorOnBehalf(address,address)
Solidity
function configureGovernorOnBehalf(address _newGovernor, address contractAddress) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_newGovernor | address | undefined |
contractAddress | address | undefined |
configureVoidGas()
Solidity
function configureVoidGas() external nonpayable
configureVoidGasOnBehalf(address)
Solidity
function configureVoidGasOnBehalf(address contractAddress) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
configureVoidYield()
Solidity
function configureVoidYield() external nonpayable
configureVoidYieldOnBehalf(address)
Solidity
function configureVoidYieldOnBehalf(address contractAddress) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
readClaimableYield(address)
Solidity
function readClaimableYield(address contractAddress) external view returns (uint256)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
readGasParams(address)
Solidity
function readGasParams(address contractAddress) external view returns (uint256 etherSeconds, uint256 etherBalance, uint256 lastUpdated, enum IBlast.GasMode)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
Returns
Name | Type | Description |
---|---|---|
etherSeconds | uint256 | undefined |
etherBalance | uint256 | undefined |
lastUpdated | uint256 | undefined |
_3 | enum IBlast.GasMode | undefined |
readYieldConfiguration(address)
Solidity
function readYieldConfiguration(address contractAddress) external view returns (uint8)
Parameters
Name | Type | Description |
---|---|---|
contractAddress | address | undefined |
Returns
Name | Type | Description |
---|---|---|
_0 | uint8 | undefined |