-
Notifications
You must be signed in to change notification settings - Fork 8
335 referral system #197
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
Open
quent043
wants to merge
100
commits into
main
Choose a base branch
from
335-referral_system
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
335 referral system #197
Changes from all commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
ed6d77d
First draft on TalentLayerServiceV2.sol
quent043 8ad8fda
First draft on TalentLayerEscrowV2.sol
quent043 25d5f65
Added new functions in TalentLayerServiceV2.sol
quent043 a71195c
Added new functions in TalentLayerServiceV2.sol
quent043 1683046
Removed fields from tests
quent043 7407a52
Updated updateService function
quent043 d083d9c
Updated tests
quent043 b630bc5
Updated delegation tests
quent043 f3bfa51
Updated audit tests
quent043 d72be64
Updated load tests
quent043 fe78b13
Updated platform verification tests
quent043 4e3e1c6
Updated pausable escrow verification tests
quent043 2265b07
Updated delegation tests
quent043 e5ae868
Revers commit on original contracts
quent043 035a392
Updated serviceCompletion.ts tests
quent043 338c460
Updated disputeResolution.ts tests
quent043 f52e7e5
Added tests for new functions.
quent043 5f4aab5
Added an event
quent043 f9a6de8
Updated tests with events emissions
quent043 14c6fee
Added missing assertions + event assertions
quent043 d8d6f0c
Fixed nat spec
quent043 68e8c23
Added indexed in event
quent043 b37c9c7
Refactored Contract upgrades naming & organization
quent043 6ca051f
Refactored tests to fit new naming
quent043 e02ba9d
Added new function to TalentLayerService.sol contract
quent043 6133da9
Updated tests
quent043 cc3e7ed
Renamed contract variable
quent043 392fa20
Added new test for new function
quent043 7ed97d8
Added id check
quent043 cb39a5b
Added id check tests
quent043 56d642f
Removed rateToken from service metadata
quent043 4cab0d9
Added 2 new fields to Transaction
quent043 a26caaf
Added referralAmount in fees calculations
quent043 7a4ba1c
Added referralAmount in fees distribution
quent043 176369d
Added test on new fee calculation
quent043 a8a243a
Fixed arythmetic bug
quent043 ef36da3
Gas saving
quent043 fda6026
Added test 1 for referral release using ETH
quent043 d5291d9
Modified Escrow transfer function for referral amount
quent043 754725e
Added tests for release function using ERC20 & ETH
quent043 ecefa0c
Had to add "uint256 totalAmount" field
quent043 a7cf324
Remove only
quent043 1110ae3
Reworded
quent043 882461b
Recatored variables order in Transaction struct
quent043 2473716
Updated escrow interface
quent043 88049a8
Update ReferralAmountReleased event
quent043 8015bb8
Updated Service Interface
quent043 dd0d1a7
Refactored Escrow contract: last version
quent043 21543e7
Small gas optimization
quent043 1fe877b
Added require statement + 2 pending features
quent043 95ce758
Modified comments
quent043 7494ba1
Removed createServiceWithReferral function & event
quent043 6906e6f
Updated tests
quent043 3b36de5
Removed token from service update
quent043 c4bb785
Updated tests
quent043 f805f95
Removed createProposalWithReferrer
quent043 9330f92
Updated tests
quent043 d499ac5
Removed comment
quent043 04ad7a5
Renamed variables, removed "rate"
quent043 0f95e33
Updated tests
quent043 02de40f
Created archive interfaces
quent043 5c1d36c
Refactored into ternary
quent043 de4a60d
Quick refacto
quent043 6a68d11
Added referrerBalance mapping instead of transferring balance directl…
quent043 064ff85
Updated tests
quent043 5cee3ca
Fixed variable mistake
quent043 d2adcbd
Added 2 require statements
quent043 7d6a409
Updated tests
quent043 b750fbf
Rename variables with "rate" (could not upgrade)
quent043 0b5a479
Update tests
quent043 dca9904
Moved new mapping to bottom of variables sections
quent043 688858a
Modified new events names
quent043 30b3254
Moved a function in Service contract
quent043 ba62899
Fixed a bug in escrow contract
quent043 f21c3b2
Update Service Interface
quent043 e1c5143
Update Escrow Interface
quent043 8805587
Renamed events
quent043 a74368d
Updated tests with correct tests + args
quent043 a3e49af
Removed isValid check for referral balance view
quent043 4d60193
amount => rateAmount
quent043 8263d23
Remove require statement
quent043 6c2113c
Added deploy script for V1 upgrade test
quent043 fd2022c
First draft on V1 migration test
quent043 7f9bd58
Added tests on services 1 & 2
quent043 31010fc
Added tests on services 3
quent043 05a458c
Revert address update
quent043 7f94981
Finalized referral upgrade tests
quent043 f25d1b5
Final check on Escrow NatSpec
quent043 f4d13f0
Final check on Service NatSpec
quent043 5fed205
Updated Escrow contract to modify fee calculation
quent043 118fa86
Updated tests
quent043 8f90926
Reverted changes in json files
quent043 7f84e7a
Update Natspec
quent043 cf3b865
Merge main
quent043 0de07fc
Added missing + !
quent043 be86269
Updated updateService function
quent043 fcd1153
Updated Playground
quent043 797bd99
Reverted updateService change
quent043 ba0c363
Added optimizations to Service variable calls
quent043 51bd676
Fixed error
quent043 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.