Skip to main content

Partner

Partner

Methods

companyBeneficiary

function companyBeneficiary() external view returns (address payable)

Returns

NameTypeDescription
_0address payableundefined

companyPercentage

function companyPercentage() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

getTotalFeePercentage

function getTotalFeePercentage() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

init

function init(contract PartnerRegistry _registry, address payable _overrideCompanyBeneficiary, uint256 _overrideCompanyPercentage, address payable _partnerBeneficiary, uint256 _partnerPercentage) external nonpayable

Parameters

NameTypeDescription
_registrycontract PartnerRegistryundefined
_overrideCompanyBeneficiaryaddress payableundefined
_overrideCompanyPercentageuint256undefined
_partnerBeneficiaryaddress payableundefined
_partnerPercentageuint256undefined

overrideCompanyBeneficiary

function overrideCompanyBeneficiary() external view returns (address payable)

Returns

NameTypeDescription
_0address payableundefined

overrideCompanyPercentage

function overrideCompanyPercentage() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

partnerBeneficiary

function partnerBeneficiary() external view returns (address payable)

Returns

NameTypeDescription
_0address payableundefined

partnerPercentage

function partnerPercentage() external view returns (uint256)

Returns

NameTypeDescription
_0uint256undefined

payout

function payout(address[] tokens) external nonpayable

Parameters

NameTypeDescription
tokensaddress[]undefined

registry

function registry() external view returns (contract PartnerRegistry)

Returns

NameTypeDescription
_0contract PartnerRegistryundefined

Events

LogPayout

event LogPayout(address[] tokens, uint256[] amount)

Parameters

NameTypeDescription
tokensaddress[]undefined
amountuint256[]undefined