Partner
Partner
Methods
companyBeneficiary
function companyBeneficiary() external view returns (address payable)
Returns
Name | Type | Description |
---|---|---|
_0 | address payable | undefined |
companyPercentage
function companyPercentage() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
getTotalFeePercentage
function getTotalFeePercentage() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
init
function init(contract PartnerRegistry _registry, address payable _overrideCompanyBeneficiary, uint256 _overrideCompanyPercentage, address payable _partnerBeneficiary, uint256 _partnerPercentage) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
_registry | contract PartnerRegistry | undefined |
_overrideCompanyBeneficiary | address payable | undefined |
_overrideCompanyPercentage | uint256 | undefined |
_partnerBeneficiary | address payable | undefined |
_partnerPercentage | uint256 | undefined |
overrideCompanyBeneficiary
function overrideCompanyBeneficiary() external view returns (address payable)
Returns
Name | Type | Description |
---|---|---|
_0 | address payable | undefined |
overrideCompanyPercentage
function overrideCompanyPercentage() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
partnerBeneficiary
function partnerBeneficiary() external view returns (address payable)
Returns
Name | Type | Description |
---|---|---|
_0 | address payable | undefined |
partnerPercentage
function partnerPercentage() external view returns (uint256)
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
payout
function payout(address[] tokens) external nonpayable
Parameters
Name | Type | Description |
---|---|---|
tokens | address[] | undefined |
registry
function registry() external view returns (contract PartnerRegistry)
Returns
Name | Type | Description |
---|---|---|
_0 | contract PartnerRegistry | undefined |
Events
LogPayout
event LogPayout(address[] tokens, uint256[] amount)
Parameters
Name | Type | Description |
---|---|---|
tokens | address[] | undefined |
amount | uint256[] | undefined |