IPCVDripController
Functions
setSource
function setSource(
contract IPCVDeposit newSource
) external
Parameters
Name | Type | Description |
---|---|---|
newSource | contract IPCVDeposit |
setTarget
function setTarget(
contract IPCVDeposit newTarget
) external
Parameters
Name | Type | Description |
---|---|---|
newTarget | contract IPCVDeposit |
setDripAmount
function setDripAmount(
uint256 newDripAmount
) external
Parameters
Name | Type | Description |
---|---|---|
newDripAmount | uint256 |
drip
function drip() external
source
function source() external returns (contract IPCVDeposit)
target
function target() external returns (contract IPCVDeposit)
dripAmount
function dripAmount() external returns (uint256)
dripEligible
function dripEligible() external returns (bool)
Events
SourceUpdate
event SourceUpdate(
address oldSource,
address newSource
)
Parameters
Name | Type | Description |
---|---|---|
oldSource | address | |
newSource | address |
TargetUpdate
event TargetUpdate(
address oldTarget,
address newTarget
)
Parameters
Name | Type | Description |
---|---|---|
oldTarget | address | |
newTarget | address |
DripAmountUpdate
event DripAmountUpdate(
uint256 oldDripAmount,
uint256 newDripAmount
)
Parameters
Name | Type | Description |
---|---|---|
oldDripAmount | uint256 | |
newDripAmount | uint256 |
Dripped
event Dripped(
address source,
address target,
uint256 amount
)
Parameters
Name | Type | Description |
---|---|---|
source | address | |
target | address | |
amount | uint256 |