跳到主要内容

IJBPayoutRedemptionPaymentTerminal3_1

Git Source

Inherits: IJBPaymentTerminal, IJBPayoutTerminal3_1, IJBAllowanceTerminal3_1, IJBRedemptionTerminal, IJBFeeHoldingTerminal

Functions

projects

function projects() external view returns (IJBProjects);

splitsStore

function splitsStore() external view returns (IJBSplitsStore);

directory

function directory() external view returns (IJBDirectory);

prices

function prices() external view returns (IJBPrices);

store

function store() external view returns (IJBSingleTokenPaymentTerminalStore);

baseWeightCurrency

function baseWeightCurrency() external view returns (uint256);

payoutSplitsGroup

function payoutSplitsGroup() external view returns (uint256);

heldFeesOf

function heldFeesOf(uint256 _projectId) external view returns (JBFee[] memory);

fee

function fee() external view returns (uint256);

feeGauge

function feeGauge() external view returns (IJBFeeGauge);

isFeelessAddress

function isFeelessAddress(address _contract) external view returns (bool);

migrate

function migrate(uint256 _projectId, IJBPaymentTerminal _to) external returns (uint256 balance);

processFees

function processFees(uint256 _projectId) external;

setFee

function setFee(uint256 _fee) external;

setFeeGauge

function setFeeGauge(IJBFeeGauge _feeGauge) external;

setFeelessAddress

function setFeelessAddress(address _contract, bool _flag) external;

Events

AddToBalance

event AddToBalance(
uint256 indexed projectId, uint256 amount, uint256 refundedFees, string memo, bytes metadata, address caller
);

Migrate

event Migrate(uint256 indexed projectId, IJBPaymentTerminal indexed to, uint256 amount, address caller);

DistributePayouts

event DistributePayouts(
uint256 indexed fundingCycleConfiguration,
uint256 indexed fundingCycleNumber,
uint256 indexed projectId,
address beneficiary,
uint256 amount,
uint256 distributedAmount,
uint256 fee,
uint256 beneficiaryDistributionAmount,
bytes metadata,
address caller
);

UseAllowance

event UseAllowance(
uint256 indexed fundingCycleConfiguration,
uint256 indexed fundingCycleNumber,
uint256 indexed projectId,
address beneficiary,
uint256 amount,
uint256 distributedAmount,
uint256 netDistributedamount,
string memo,
bytes metadata,
address caller
);

HoldFee

event HoldFee(
uint256 indexed projectId,
uint256 indexed amount,
uint256 indexed fee,
uint256 feeDiscount,
address beneficiary,
address caller
);

ProcessFee

event ProcessFee(
uint256 indexed projectId, uint256 indexed amount, bool indexed wasHeld, address beneficiary, address caller
);

RefundHeldFees

event RefundHeldFees(
uint256 indexed projectId,
uint256 indexed amount,
uint256 indexed refundedFees,
uint256 leftoverAmount,
address caller
);

Pay

event Pay(
uint256 indexed fundingCycleConfiguration,
uint256 indexed fundingCycleNumber,
uint256 indexed projectId,
address payer,
address beneficiary,
uint256 amount,
uint256 beneficiaryTokenCount,
string memo,
bytes metadata,
address caller
);

DelegateDidPay

event DelegateDidPay(IJBPayDelegate indexed delegate, JBDidPayData data, uint256 delegatedAmount, address caller);

RedeemTokens

event RedeemTokens(
uint256 indexed fundingCycleConfiguration,
uint256 indexed fundingCycleNumber,
uint256 indexed projectId,
address holder,
address beneficiary,
uint256 tokenCount,
uint256 reclaimedAmount,
string memo,
bytes metadata,
address caller
);

DelegateDidRedeem

event DelegateDidRedeem(
IJBRedemptionDelegate indexed delegate, JBDidRedeemData data, uint256 delegatedAmount, address caller
);

DistributeToPayoutSplit

event DistributeToPayoutSplit(
uint256 indexed projectId,
uint256 indexed domain,
uint256 indexed group,
JBSplit split,
uint256 amount,
uint256 netAmount,
address caller
);

SetFee

event SetFee(uint256 fee, address caller);

SetFeeGauge

event SetFeeGauge(IJBFeeGauge indexed feeGauge, address caller);

SetFeelessAddress

event SetFeelessAddress(address indexed addrs, bool indexed flag, address caller);

PayoutReverted

event PayoutReverted(uint256 indexed projectId, JBSplit split, uint256 amount, bytes reason, address caller);

FeeReverted

event FeeReverted(
uint256 indexed projectId, uint256 indexed feeProjectId, uint256 amount, bytes reason, address caller
);