Skip to main content

IPCVDripController

Functions

setSource

function setSource(
contract IPCVDeposit newSource
) external

Parameters

NameTypeDescription
newSourcecontract IPCVDeposit

setTarget

function setTarget(
contract IPCVDeposit newTarget
) external

Parameters

NameTypeDescription
newTargetcontract IPCVDeposit

setDripAmount

function setDripAmount(
uint256 newDripAmount
) external

Parameters

NameTypeDescription
newDripAmountuint256

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

NameTypeDescription
oldSourceaddress
newSourceaddress

TargetUpdate

event TargetUpdate(
address oldTarget,
address newTarget
)

Parameters

NameTypeDescription
oldTargetaddress
newTargetaddress

DripAmountUpdate

event DripAmountUpdate(
uint256 oldDripAmount,
uint256 newDripAmount
)

Parameters

NameTypeDescription
oldDripAmountuint256
newDripAmountuint256

Dripped

event Dripped(
address source,
address target,
uint256 amount
)

Parameters

NameTypeDescription
sourceaddress
targetaddress
amountuint256