Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platformFeeBPS and platformPerTxFlatFee to SAMInfo #292

Merged
merged 2 commits into from
Jul 6, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add platformFeeBPS and platformPerTxFlatFee to SAMInfo
  • Loading branch information
Vectorized committed Jul 6, 2023
commit de57bb859131d4e4503c0f96877d403c1f0ae166
2 changes: 2 additions & 0 deletions contracts/modules/SAMV1_1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ contract SAMV1_1 is ISAMV1_1, Ownable {
info.affiliateFeeBPS = data.affiliateFeeBPS;
info.goldenEggFeeBPS = data.goldenEggFeeBPS;
info.affiliateMerkleRoot = data.affiliateMerkleRoot;
info.platformFeeBPS = platformFeeBPS;
info.platformPerTxFlatFee = platformPerTxFlatFee;
}

/**
Expand Down
2 changes: 2 additions & 0 deletions contracts/modules/interfaces/ISAMV1_1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ struct SAMInfo {
uint16 affiliateFeeBPS;
uint16 goldenEggFeeBPS;
bytes32 affiliateMerkleRoot;
uint16 platformFeeBPS;
uint96 platformPerTxFlatFee;
}

/**
Expand Down
Loading