registerPartner(address partnerBeneficiary, uint256 partnerPercentage)on the PartnerRegistry (currently on mainnet at
partnerPercentageis out of 10^18 (i.e., 10% is 10^17 and 0.1% is 10^15 )
registerPartneris called, the registry will emit a
PartnerRegistered(address partnerContract)event (where
partnerContractis the address of the contract you've created).
partnerContractin your API request to the
payout()function on your partner contract. Anybody can call this, and it will payout the appropriate fees to the
partnerBeneficiaryand to Totle.
partnerPercentageof 0 and a
totlePercentageof 0 (which is used when one is not passed to the API). When a fee is selected, a default 50:50 profit split will be applied. If you expect large trading volumes then we're happy to discuss a custom fee structure.