Skip to main content

FeeAllocationLibrary

FeeAllocationRecipientNotFound

error FeeAllocationRecipientNotFound()

FeeAllocationPendingFeesOutOfRange

error FeeAllocationPendingFeesOutOfRange()

_makePtr

function _makePtr(
struct FeeAllocationSchema schema,
address _recipient
) internal pure returns (
struct FeeAllocationPtr
)

getUnchecked

function getUnchecked(
struct FeeAllocationSchema schema,
address _recipient
) internal pure returns (
struct FeeAllocationPtr
)

resolve

function resolve(
struct FeeAllocationSchema schema,
address _recipient
) internal view returns (
struct FeeAllocationPtr
)

update

function update(
struct FeeAllocationSchema schema,
struct FeeAllocation props
) internal returns (
struct FeeAllocationPtr
)

all

function all(struct FeeAllocationSchema schema) internal view returns (struct FeeAllocationPtr[] result)

allIds

function allIds(struct FeeAllocationSchema schema) internal view returns (address[] result)

_insertId

function _insertId(struct FeeAllocationSchema schema, address _recipient) internal

_removeId

function _removeId(struct FeeAllocationSchema schema, address _recipient) internal

has

function has(struct FeeAllocationSchema schema, address _recipient) internal view returns (bool)

length

function length(struct FeeAllocationSchema schema) internal view returns (uint256)

_setRecipient

function _setRecipient(struct FeeAllocationPtr ptr, address value) internal

recipient

function recipient(struct FeeAllocationPtr ptr) internal view returns (address)

feeRatio

function feeRatio(struct FeeAllocationPtr ptr) internal view returns (FPUnsigned)

setFeeRatio

function setFeeRatio(struct FeeAllocationPtr ptr, FPUnsigned value) internal

pendingFees

function pendingFees(struct FeeAllocationPtr ptr) internal view returns (FPUnsigned)

_setPendingFees

function _setPendingFees(struct FeeAllocationPtr ptr, FPUnsigned value) internal

updatePendingFeesIncrease

function updatePendingFeesIncrease(struct FeeAllocationPtr ptr, FPUnsigned value) internal

updatePendingFeesIncreaseWei

function updatePendingFeesIncreaseWei(struct FeeAllocationPtr ptr, uint256 value) internal

updatePendingFeesDecrease

function updatePendingFeesDecrease(struct FeeAllocationPtr ptr, FPUnsigned value) internal

updatePendingFeesDecreaseWei

function updatePendingFeesDecreaseWei(struct FeeAllocationPtr ptr, uint256 value) internal

distributionType

function distributionType(struct FeeAllocationPtr ptr) internal view returns (enum DistributionType)

setDistributionType

function setDistributionType(struct FeeAllocationPtr ptr, enum DistributionType value) internal

remove

function remove(struct FeeAllocationSchema schema, address _recipient) internal