Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
2
votes
2
answers
2k
views
Using OpenZepplin Payment Splitter with ERC-2981 for royalties
I am trying to implement ERC2981 for royalties but want to use OpenZepplins Payment Splitter to split the royalty amount to two different addresses with two different amounts. …
1
vote
Accepted
Using OpenZepplin Payment Splitter with ERC-2981 for royalties
I created a separate contract using the code from PaymentSplitter.sol and passed that in for the royalties. … Below are the methods I added to my BohoNFT contract.
/// @notice Allows to set the royalties on the contract
/// @param value Updated royalties (between 0 and 10000)
function setRoyalties(address recipient …